.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Adjust spacing between items */
}

.category-item {
    position: relative;
    width: calc(33.33% - 20px);
    overflow: hidden;
    padding: 10px;
    margin: 10px 10px;
    box-sizing: border-box;
    border: 1px solid #0a65ab;
    border-radius: 5px;
    height: 270px;
}

.category-image {
    height: 200px; /* Uniform height */
    width: 100%; /* Full width */
    background-size: contain; /* Change to cover for better fill */
    background-repeat: no-repeat; /* Prevent image from repeating */
    background-position: center; /* Center the image */
    transition: transform 0.6s ease; /* Slower transition for zoom effect */
}

.category-name {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0px;
    text-align: center;
    width: 100%;
    z-index: 1;
    color: #ffffff;
    font-weight: bold;
    background: #0a65ab;
}

/* Apply zoom effect on hover */
.category-item:hover .category-image {
    transform: scale(1.1); /* Zoom in effect */
}

#show-more {
    margin: 3% auto; /* Center the button */
    padding: 10px 20px;
    background: #0073aa; /* Button color */
    color: white;
    border: none;
    cursor: pointer;
    display: block;
    text-align: center;
}



.sidebar-custom-categories {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #0a65ab; /* Optional: Add a border */
    background-color: #f9f9f9; /* Optional: Add a background color */
    border-radius: 5px; /* Optional: Add rounded corners */
}
.sidebar-category-name a {
    color: #0a65ab;
}
.sidebar-category-item {
    margin: 15px 0;
    padding: 10px;
    border-bottom: 1px solid #eee; /* Optional: Add a bottom border */
}

.sidebar-category-name {
    font-weight: bold;
    margin-left: 10px;
    color: #0a65ab;
}

.sidebar-toggle-plus {
    cursor: pointer;
    font-weight: bold;
    /* margin-right: 1px; */
    color: #0a65ab; /* Change color as needed */
}

.sidebar-product-list {
    padding-left: 20px;
    margin-top: 10px; /* Add space above the product list */
}

.sidebar-product-list ul {
    padding-left: 0; /* Remove default padding from the ul */
    list-style: none; /* Remove bullet points */
}

.sidebar-product-list li {
    margin: 5px 0; /* Add margin to list items */
}

.sidebar-product-list li a {
    text-decoration: none; /* Remove underline from links */
    color: #333; /* Change color as needed */
}

.sidebar-product-list li a:hover {
    text-decoration: underline; /* Add underline on hover */
}

span.sidebar-toggle-plus {
    font-size: large;
    font-weight: 900;
}

.sidebar-product-list ul {
    padding-left: 0; /* Remove default padding from the ul */
    list-style-type: none; /* Remove bullet points */
}

.sidebar-product-list li {
    margin: 5px 0; /* Add margin to list items */
}


.sidebar-product-list {
    padding-left: 45px; /* Space before product list */
    margin-top: 10px; /* Add space above the product list */
}

.sidebar-product-list ul {
    padding-left: 0; /* Remove default padding from the ul */
    list-style-type: disc; /* Use disc for bullet points */
}

.sidebar-product-list li {
    margin: 5px 0; /* Add margin to list items */
    max-width: 200px; /* Ensure it doesn't exceed the width of the parent */
    overflow-wrap: break-word; /* Allow long words to break to a new line */
}

.sidebar-product-list li a {
    text-decoration: none; /* Remove underline from links */
    color: #333; /* Change color as needed */
}

.sidebar-product-list li a:hover {
    text-decoration: underline; /* Add underline on hover */
}



.custom-product-list {
    display: flex;
    flex-wrap: wrap;
}

.custom-product-item {
    width: calc(33.33% - 20px);
    margin: 10px;
    background: #fff;
    border: 1px solid #0a65ab;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex; /* Enable flexbox layout */
    flex-direction: column; /* Stack children vertically */
    justify-content: flex-start; /* Start aligning content at the top */
    height: 270px; /* Set a fixed height (adjust as needed) */
    position: relative; /* For positioning children */
}

.custom-product-item img {
    max-width: 100%; /* Ensure the image fits within the item */
    height: 200px; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Space between image and title */
}

.custom-product-item:hover {
    transform: scale(1.05);
}

.product-title {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    width: 100%;
    padding: 5px 0; /* Add padding for spacing */
    background: #0073aa;
    margin-top: auto; /* Push title to the bottom */
    position: absolute; /* Position title absolutely */
    bottom: 0; /* Align title to the bottom */
    left: 0; /* Align title to the left */
    right: 0; /* Align title to the right */
}


.Product-header{
    text-align: center;
    color: #0a65ab;
    font-size: x-large;
    font-weight: 600;
}




.custom-product-container {
    padding: 20px;
}

.product-details h1 {
    font-size: 24px;
    margin: 0;
}

.product-acf-fields {
    margin-top: 20px;
}

.related-products {
    margin-top: 40px;
}

.related-product-list {
    display: flex;
    flex-wrap: wrap;
}

.related-product-list li {
    margin: 10px;
    list-style: none;
}

.related-product-list img {
    max-width: 100px;
}



.related-product-item {
    width: 23%; /* Adjust based on your layout */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    /* padding: 10px; */
    text-align: center;
    transition: transform 0.3s ease; /* Add transition */
    overflow: hidden; /* To ensure image doesn't overflow */
}

.related-product-item:hover {
    transform: scale(1.05); /* Zoom effect on hover */
}

.related-product-item img {
    max-width: 100%; /* Ensure images are responsive */
    height: 300px;    /* Maintain aspect ratio */
    transition: transform 0.3s ease; /* Add transition for image */
}

.related-product-item:hover img {
    transform: scale(1.1); /* Zoom effect on image hover */
}



.acf-field-group {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px; /* Spacing between sections */
}

.acf-field {
    flex: 1 1 30%; /* Adjust width for three fields per row */
    box-sizing: border-box;
    padding: 10px; /* Padding for each field */
    /* border: 1px solid #ddd; Optional border */
    margin: 5px; /* Space between fields */
    border-radius: 5px; /* Optional rounded corners */
}



.zoom-image {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.zoom-image:hover {
    transform: scale(1.2 ); /* Larger zoom effect */
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
}

.modal-content {
    margin: 0 auto;
    padding: 20px;
    /* border: 1px solid #888; */
    /* width: 80%; */
    text-align: center;
}

.modal-image {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #ccc;
    text-decoration: none;
    cursor: pointer;
}


h2.acfheading {
    border-bottom: 1px solid;
    padding: 1px 6px 4px 6px;
    background: #0a65ab;
    color: white;
}


.toggle-header {
    display: flex; /* Flexbox for alignment */
    justify-content: space-between; /* Space between title and toggle sign */
    cursor: pointer; /* Change cursor to pointer */
    margin: 10px 0; /* Margin for spacing */
}

.toggle-sign {
    margin-left: 10px; /* Space between text and sign */
    font-weight: bold; /* Make the sign bold */
}

.toggle-content {
    display: none; /* Initially hidden */
    width: 100%; /* Full width */
    margin-top: 10px; /* Space above the content */
    /* border-top: 1px solid #ddd; Optional top border for separation */
    padding-top: 10px; /* Padding for the content */
    flex-wrap: wrap;
}

.toggle-content .acf-field-group {
    display: flex; /* Maintain the same layout as before */
    flex-wrap: wrap; /* Wrap fields as necessary */
    margin: 0; /* Reset margin */
}


.quote-button-container {
    display: flex;
    justify-content: center; /* Centers horizontally */
    margin-top: 20px; /* Space above the button */
}

#request-quote {
    /* Add any additional styling for the button if needed */
    padding: 10px 20px; /* Padding for the button */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor */
    color: #0a65ab;
}

#request-quote:hover {
    background-color: #0073aa; /* Button color */
    color: white; /* Text color */
}

.page-id-4467 .sidebar-custom-categories{
    margin: 10px 0;
}


div#quoteModal .modal-content{
    background: #0a65ab;
    margin: 50px auto;
    border-radius: 5px;
}


button#wpforms-submit-3986 {
    background: white;
    color: black;
}