/*
 Theme Name: Astra Child
 Theme URI: https://wpastra.com/
 Description: Child theme for Astra
 Author: Your Name
 Author URI: https://yourwebsite.com/
 Template: astra
 Version: 1.0.0
 Text Domain: astra-child
*/

/* Footer */
.product-highlighted {
    border: 1px dashed #e4a911;
    background-color: #fff7e0;
    padding: 15px;
    border-radius: 6px;
}

.site-footer #block-9,
.site-footer a.menu-link,
.site-footer .textwidget {
    font-size: 14px;
}

/* Footer Quick Links: add > before menu items */
.site-footer .widget_nav_menu .menu>li>a {
    position: relative;
    padding-left: 16px;
    display: inline-block;
    color: #909090;
}

.textwidget {
    color: #909090;
}

.site-footer .widget-title {
    color: #e4a911 !important;
}

.site-footer .widget_nav_menu .menu>li>a::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #909090;
    /* change color if needed */
    font-weight: 600;
}

.site-footer .widget_nav_menu .menu>li>a:hover {
    color: #e4a911;
}

.site-footer .widget_nav_menu .menu>li>a:hover::before {
    color: #e4a911;
    /* change color on hover if needed */
}

.ast-footer-social-1-wrap .ast-builder-social-element {
    border: 1px solid #777777 !important;
}

.ast-footer-social-1-wrap .ast-builder-social-element:hover {
    border: 1px solid #e4a911 !important;
}

.site-footer .widget_nav_menu .widget-title {
    color: #e4a911 !important;
}

/* Footer contact info wrapper */
.footer-contact-info {
    font-size: 14px;
    line-height: 1.8;
    color: #909090;
}

/* Each row */
.footer-contact-info p {
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Icons */
.footer-contact-info i {
    color: #909090;
    min-width: 16px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-contact-info i:hover {
    color: #e4a911;
}

/* For inline phone numbers */
.footer-contact-info .phone-numbers-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-contact-info .phone-numbers-inline .separator {
    color: #666;
    margin: 0 2px;
}

.contact-item.phone-container {
    display: flex;
    gap: 5px;
    align-items: center;
}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-4"].footer-widget-area-inner a {
    color: #909090 !important;
}

.footer-widget-area[data-section="sidebar-widgets-footer-widget-4"].footer-widget-area-inner a:hover {
    color: #e4a911 !important;
}

.footer-contact-info p:not(:first-child):hover i,
.footer-contact-info p:not(:first-child):hover a {
    color: #e4a911;
}

.footer-contact-info p:first-child {
    cursor: default;
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row,
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-section {
    gap: 10px !important;
}

.site-footer section#media_image-1 {
    margin: 0 0 10px 0 !important;
}

@media (max-width: 921px) {
    .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
        padding-bottom: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Header menu style */

.single-product header .ast-mobile-header-wrap .custom-logo-link img {
    max-width: 250px;
    width: 180px;
}

/* Header menu hover & active styles */
.site-header .main-header-menu>li>a {
    border: 1px solid transparent;
    padding: 10px 15px;
    /* adjust if needed */
    transition: all 0.3s ease;
}

/* Hover state */
.site-header .main-header-menu>li>a:hover {
    border: 1px solid #e4a911;
    color: #e4a911 !important;
    padding: 10px 15px !important;
    border-radius: 5px;
}

.site-header .main-header-menu>li>a {
    padding: 10px 15px !important;
}

/* Active / current menu item */
.site-header .main-header-menu>li.current-menu-item>a,
.site-header .main-header-menu>li.current_page_item>a,
.site-header .main-header-menu>li.current-menu-ancestor>a {
    border: 1px solid #e4a911;
    color: #e4a911 !important;
    padding: 10px 15px !important;
    border-radius: 5px;
}

.ast-builder-menu .main-navigation>ul {
    gap: 10px !important;
}

.ast-desktop .ast-primary-header-bar .main-header-menu>.menu-item {
    line-height: 20px !important;
}


/* Home page banner image */
.elementor-485 .elementor-element.elementor-element-b557d7d>.elementor-widget-container {
    border: 10px solid white;
    border-radius: 15px;
}

/* ===================== */
/* Product list design */
/* ===================== */
/* Products Archive */
.products-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 25px !important;
}

.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile: 1 column */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.product-item {
    border: 1px solid #eee;
    background-color: #ffffff;
    padding: 20px !important;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.product-image:hover img {
    transform: scale(1.05);
}

.product-title {
    font-size: 20px;
    margin: 10px 0;
}

.product-title a {
    text-decoration: none;
    color: #e4a911 !important;
}

.product-title a:hover {
    color: #34A203 !important;
}

.product-excerpt {
    font-size: 16px;
    color: #424242;
}

.product-categories {
    margin: 10px 0;
}

.category {
    display: inline-block;
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.85em;
    margin-right: 5px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background: #e4a911;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #e4a911;
}

.read-more:hover {
    background: white;
    border: 1px solid #e4a911;
    color: #e4a911;
}

/* Single Product */
.product-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 40px 20px;
}

@media (max-width: 768px) {
    .product-content-wrapper {
        grid-template-columns: 1fr;
    }
}

.product-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #ffffff;
}

.product-breadcrumb a {
    color: #e4a911;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    text-decoration: underline;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
/* ===================== */
/* Product Gallery Images - FIXED FOR CLARITY */
/* ===================== */

.product-gallery {
    margin: 30px 0;
}

.product-gallery h3 {
    font-size: 24px;
    color: #e4a911;
    margin-bottom: 20px;
}

/* Gallery grid - UNIFORM SIZE */
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-grid-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gallery-grid-item img {
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.gallery-grid-item:hover img {
    border-color: #e4a911;
    transform: scale(1.02);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.gallery-grid-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: white;
    font-size: 32px;
}

/* Responsive gallery */
@media (max-width: 768px) {
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-grid-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-thumbs {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid-item img {
        height: 250px;
    }
}
.product-title_detail {
    font-size: 30px;
    color: #e4a911;
    text-align: center;
}

.product-description {
    line-height: 1.6;
    margin: 20px 0;
}

/* 
.additional-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
} */

/* .related-products {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #c9c9c9;
    
}

.related-products h2{
    font-size: 30px;
}
.related-products h4{
    font-size: 20px;
}
.related-products h4:hover{
	color:#34A203;
}
/* .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-item {
    text-align: center;
}

.related-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom:10px;
} */
/* .related-grid-container {
    margin-top:20px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	    scrollbar-color: #d7d7d7 #efefef;
	/* Smooth scrolling on iOS */
/* padding: 0 20px; Padding to compensate for negative margin 
}

.related-grid {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping 
    gap: 15px;
    padding: 10px 0;
    min-width: min-content; /* Ensure grid doesn't shrink 
}

.related-item {
    padding:10px;
    background-color: #ffffff;
    border-radius: 5px;
    flex: 0 0 auto; /* Don't grow or shrink 
    width: 180px; /* Fixed width for each item 
    max-width: 45%; /* Responsive max width 
}
.related-img{
    overflow: hidden;
}
.related-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
     object-fit: cover; 
    object-position: center;
    transition: transform 0.3s ease;
}
.related-item img:hover {
transform: scale(1.05);
}
.related-item h4 {
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
	font-weight:400;
}  */
/* 
/* Desktop view - show as grid */
/* @media (min-width: 768px) {
    .related-grid-container {
        overflow: visible;
        
        padding: 0;
    }
    
    .related-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        flex-wrap: wrap;
        gap: 20px;
        padding: 0;
    }
    
    .related-item {
        width: 100%;
        max-width: 100%;
    }
}  */


.related-products {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #c9c9c9;
}

.related-products h2 {
    font-size: 30px;
}

.related-products h4 {
    font-size: 20px;
}

.related-products h4:hover {
    color: #34A203;
}

/* Slider Wrapper */
.related-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

/* Slider Container */
.related-grid-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scrollbar-color: #d7d7d7 #efefef;
    flex: 1;
    scroll-behavior: smooth;
    /* Smooth scrolling */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.related-grid-container::-webkit-scrollbar {
    height: 6px;
}

.related-grid-container::-webkit-scrollbar-track {
    background: #efefef;
    border-radius: 10px;
}

.related-grid-container::-webkit-scrollbar-thumb {
    background: #d7d7d7;
    border-radius: 10px;
}

/* Slider Grid */
.related-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding: 10px 5px;
    min-width: min-content;
}

/* Product Items */
.related-item {
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    flex: 0 0 auto;
    width: 190px;
    /*max-width: 45%; */
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}

.related-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.related-img {
    overflow: hidden;
    border-radius: 5px;
    height: 150px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.related-item img:hover {
    transform: scale(1.05);
}

.related-item h4 {
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    font-weight: 400;
}

/* Slider Arrows */
.slider-arrow {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 10px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /*     transition: all 0.3s ease; */
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.slider-arrow:hover {
    background: #e4a911;
    border-color: #e4a911;
    /*     transform: scale(1.1); */
    box-shadow: 0 4px 12px rgba(228, 169, 17, 0.3);
}

.slider-arrow:hover span {
    color: #fff;
}

.slider-arrow span {
    font-size: 20px;
    margin-top: -2px;
    color: #333;
    /*     transition: color 0.3s ease; */
    font-weight: bold;
}

.slider-arrow-left span {
    margin-right: 2px;
    /* Visual alignment */
}

.slider-arrow-right span {
    margin-left: 2px;
    /* Visual alignment */
}

/* Arrow states */
.slider-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.slider-arrow.disabled:hover {
    background: #fff;
    border-color: #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-arrow.disabled:hover span {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* .slider-arrow {
        display: none; /* Hide arrows on mobile 
    } */

    .related-slider-wrapper {
        gap: 0;
    }

    /* .related-item {
        width: 160px;
    } */
}

@media (max-width: 480px) {
    /* .related-item {
        width: 140px;
        max-width: 40%;
    } */
}


/* Pagination */
.products-pagination {
    margin-top: 40px;
    text-align: center;
}

.page-numbers {
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
}

.page-numbers.current {
    background: #e4a911;
    color: white;
    border-color: #e4a911;
}

/*Contact Form Button*/
.Contactform-btn input[type="submit"] {
    background-color: #e4a911;
    color: #FFFFFF;
    fill: #FFFFFF;
    border: 1px solid #e4a911;
    border-radius: 5px;
    font-weight: 400;
    /* transition: all 0.3s ease; */
    font-size: 16px;
    line-height: 16px;
    text-decoration: none;
    padding: 17px 34px 17px 34px;
    /* min-width: 150px; */
    /* height: 52px; */
}

.single-product .main-navigation a.menu-link {
    color: #000000;
}

@media only screen and (max-width: 768px) {
    .single-product .main-navigation a.menu-link {
        color: #424242 !important;
    }
}

/* Hover effect */
.Contactform-btn input[type="submit"]:hover {
    background-color: #FFFFFF;
    color: #e4a911;
    fill: #e4a911;
    border-color: #e4a911;
}

/* Remove CF7 default outline */
.Contactform-btn input[type="submit"]:focus {
    outline: none;
}

/* =============== */
/* Product page style */
/* =============== */

/* Products Filter Styles */
.products-filters {
    /* margin-bottom: 30px; */
    padding: 20px 0;
    /* background: #ffffff; */
    border-radius: 8px;
    /* border: 1px solid #e9ecef; */
    display: flex;
    /* align-items: flex-end; */
    width: fit-content;
}

.products-filters.bottom-filters {
    margin-top: 30px;
    margin-bottom: 0;
}

.filter-group.category-filter-group {
    /* flex: 1; */
    min-width: 250px;
    display: flex;
    align-items: center;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #e4a911 !important;
    font-size: 16px;
}

/* Custom Dropdown Styling */
.filter-group select {
    width: 250px;
    padding: 12px 40px 12px 15px;
    margin: 0 20px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #424242;
    cursor: pointer;

    /* Remove default styling */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Border and background */
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background-color: white;

    /* Custom arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;

    /* Transition */
    transition: all 0.2s ease;
}

/* Dropdown states */
.filter-group select:hover {
    border-color: #cbd5e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-group select:focus {
    outline: none;
    border-color: #e4a911;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.15);
}

/* For Firefox */
@-moz-document url-prefix() {
    .filter-group select {
        text-indent: 0.01px;
        text-overflow: '';
        padding-right: 35px;
    }
}

/* For Internet Explorer */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .filter-group select::-ms-expand {
        display: none;
    }
}

/* Option styling (limited browser support) */
.filter-group select option {
    padding: 12px;
    background-color: white;
    color: #424242;
}

.filter-group select option:checked {
    background-color: #e4a911;
    color: white;
}

.clear-filters {
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    transition: all 0.3s;
    height: 46px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
}

.clear-filters:hover {
    background: #f8f9fa;
    color: #424242;
    text-decoration: none;
    border-color: #cbd5e0;
}

/* Product Categories Display */
.product-categories {
    margin: 10px 0;
    font-size: 16px;
}

.product-category-tag {
    display: inline-block;
    padding: 3px 8px;
    margin: 2px;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

.product-category-tag:hover {
    background: #e4a911;
    color: white;
}

/* Loading State */
.products-shortcode-wrapper.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.products-shortcode-wrapper.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #e4a911;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* No Products Found */
.no-products-found {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #ddd;
}

.no-products-found p {
    margin-bottom: 10px;
    color: #666;
}

.no-products-found a {
    color: #e4a911;
    text-decoration: none;
}

.no-products-found a:hover {
    text-decoration: underline;
}

/* Pagination Styles */
.products-pagination {
    margin-top: 30px;
    text-align: center;
}

.page-numbers-div {
    display: inline-block;
}

.page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: white;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
}

.page-numbers:hover,
.page-numbers.current {
    border-color: #e4a911;
    background: #e4a911;
    color: white;
}

.page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

.page-numbers.dots:hover {
    background: transparent;
    color: #666;
}

.page-numbers.prev,
.page-numbers.next {
    padding: 8px 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-filters {
        flex-direction: column;
        align-items: stretch;
        width: 100% !important;
    }

    .filter-group.category-filter-group {
        min-width: 100%;
        margin-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group label {
        margin-bottom: 8px;
    }

    .filter-group select {
        width: 100%;
        margin: 0;
    }

    .clear-filters {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .page-numbers {
        padding: 6px 12px;
        margin: 0 3px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    /* .products-filters {
        padding: 15px;
    } */

    .filter-group select {
        font-size: 13px;
        padding: 10px 35px 10px 12px;
    }

    .page-numbers {
        padding: 5px 10px;
        margin: 0 2px;
        font-size: 12px;
    }
}


/*=========================== */
/* Product detail Page */
/* ========================== */
.additional-details p {
    color: #424242 !important;
}

.gallery-columns-3 {
    display: none;
}

/* Gallery Grid Container */
.gallery-grid-container {
    margin: 40px 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Gallery Grid Content */
.gallery-grid-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

/* Gallery Grid Item */
.gallery-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1;
    transition: all 0.3s ease;
    background: #f5f5f5;
    width: 100%;
}

.gallery-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-grid-item:hover img {
    transform: scale(1.05);
}

/* Gallery Item Overlay */
.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-grid-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: white;
    font-size: 32px;
    font-weight: bold;
}

/* Load More Button */
.gallery-load-more-container {
    text-align: center;
    margin: 40px 0;
    width: 100%;
    padding: 0 15px;
}

.gallery-load-more-btn {
    background-color: #e4a911;
    color: white;
    border: none;
    padding: 17px 34px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 200px;
    width: auto;
    display: inline-block;
    border: 1px solid #e4a911;
}

.gallery-load-more-btn:hover:not(:disabled) {
    background: #ffffff;
    color: #e4a911;
    border: 1px solid #e4a911;
    /*     transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); */
}

.gallery-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.gallery-load-more-btn:disabled:hover {
    background-color: #bd8804;
}

.gallery-load-more-btn:active:not(:disabled) {
    transform: translateY(0);
}

/* Lightbox Styles */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.lightbox-close:hover {
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.7);
}

.lightbox-content {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: calc(100vh - 150px);
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    object-fit: contain;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    max-width: 90%;
    width: 100%;
    box-sizing: border-box;
}

.lightbox-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Dragging cursor for gallery */
.grabbing {
    cursor: grabbing;
}

/* Animation for newly loaded items */
.gallery-grid-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Body overflow when lightbox is open */
body.lightbox-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ========================== */
/* Responsive Styles */
/* ========================== */

/* Desktop - Large screens */
@media (min-width: 1400px) {

    .gallery-grid-content {
        gap: 25px;
    }
}

/* Desktop - Standard */
@media (max-width: 1200px) {
    .gallery-grid-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .gallery-grid-container {
        margin: 30px 0;

    }

    .gallery-grid-content {
        gap: 18px;
        margin-bottom: 25px;
    }

    .gallery-load-more-container {
        margin: 30px 0;
    }

    .gallery-item-overlay span {
        font-size: 28px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .product-single {
        padding: 20px 10px;
    }

    /* .gallery-grid-container {
        margin: 25px 0;
        padding: 0 15px;
    }
     */
    .gallery-grid-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 20px;
    }

    .gallery-grid-item {
        border-radius: 6px;
    }

    .gallery-item-overlay span {
        font-size: 24px;
    }

    .gallery-load-more-container {
        margin: 25px 0;
    }

    .gallery-load-more-btn {
        padding: 12px 30px;
        font-size: 15px;
        min-width: 180px;
    }

    /* Lightbox mobile adjustments */
    .gallery-lightbox {
        padding: 15px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 35px;
    }

    .lightbox-img {
        max-height: calc(100vh - 120px);
    }

    .lightbox-caption {
        font-size: 14px;
        padding: 12px;
        margin-top: 15px;
    }

    .lightbox-nav {
        padding: 0 15px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 35px;
    }
}

/* Mobile Landscape */
@media (max-width: 640px) {


    .gallery-grid-content {
        gap: 12px;
    }

    .gallery-grid-item {
        border-radius: 5px;
    }

    .gallery-load-more-btn {
        padding: 11px 25px;
        font-size: 14px;
        min-width: 160px;
        width: 100%;
        max-width: 300px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .lightbox-nav {
        padding: 0 10px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 30px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .gallery-grid-content {
        /* grid-template-columns: 1fr; */
        gap: 10px;
        max-width: 100%;
    }

    .gallery-grid-item {
        aspect-ratio: 4/3;
        max-width: 100%;
        margin: 0 auto;
    }

    .gallery-item-overlay span {
        font-size: 20px;
    }

    .gallery-load-more-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 140px;
        border-radius: 3px;
    }

    /* Lightbox mobile portrait */
    .gallery-lightbox {
        padding: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 25px;
        background: rgba(0, 0, 0, 0.7);
    }

    .lightbox-img {
        max-height: calc(100vh - 100px);
    }

    .lightbox-caption {
        font-size: 13px;
        padding: 10px;
        margin-top: 10px;
        border-radius: 3px;
    }

    .lightbox-nav {
        padding: 0 8px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 25px;
    }
}

/* Small Mobile Devices */
@media (max-width: 360px) {


    .gallery-grid-content {
        gap: 8px;
    }

    .gallery-grid-item {
        aspect-ratio: 1;
        border-radius: 4px;
    }

    .gallery-load-more-btn {
        padding: 9px 18px;
        font-size: 13px;
        min-width: 130px;
    }

    .lightbox-close {
        width: 30px;
        height: 30px;
        font-size: 20px;
        top: 5px;
        right: 5px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .lightbox-caption {
        font-size: 12px;
        padding: 8px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .gallery-grid-item:hover {
        transform: none;
        box-shadow: none;
    }

    .gallery-grid-item:hover img {
        transform: none;
    }

    .gallery-grid-item:active {
        transform: scale(0.98);
    }

    .gallery-item-overlay {
        opacity: 0.7;
    }

    .gallery-load-more-btn:hover:not(:disabled) {
        transform: none;
        box-shadow: none;
    }

    .gallery-load-more-btn:active:not(:disabled) {
        transform: scale(0.98);
    }

    .lightbox-prev:hover,
    .lightbox-next:hover {
        transform: none;
    }

    .lightbox-prev:active,
    .lightbox-next:active {
        transform: scale(1.1);
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .gallery-grid-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {

    .gallery-lightbox,
    .gallery-load-more-container,
    .gallery-item-overlay {
        display: none !important;
    }

    .gallery-grid-content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }

    .gallery-grid-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .gallery-grid-item,
    .gallery-grid-item img,
    .gallery-item-overlay,
    .gallery-load-more-btn,
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        transition: none !important;
        animation: none !important;
    }

    .gallery-grid-item {
        opacity: 1 !important;
    }
}




/* Banner for product page */
.custom-product-banner {
    background: url('http://arleneimpex.com/wp-content/uploads/2025/12/Intersped-banner.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-color: black;
    /* Fallback color */

    padding: 150px 50px 50px 50px;
    margin-top: -150px;
    color: white;
    position: relative;
}

/* Black overlay */
.custom-product-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black with 50% opacity */
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    /* Content above the overlay */
}

.single-product .ast-primary-header-bar {
    background-color: transparent;
    background-image: none;
}

.single-product .page-title {
    margin-bottom: 10px !important;
    font-weight: 600;
}

.single-product .main-navigation a.menu-link {
    color: #ffffff !important;
}

.single-product .banner-content {
    text-align: center;
}

.ast-separate-container .ast-article-single:not(.ast-related-post) {
    background-color: unset !important;
}

.site-footer .textwidget {
    color: #e4a911;
}

.single-product-article {
    padding: 10px 0;
}

textarea {
    resize: vertical;
    /* only up & down */
    height: 150px;

}

/* Testimonial style */
/* Box shadow for Strong Testimonials */
.strong-view .testimonial {
    padding: 20px;
    border-radius: 8px;
    background: #ffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;

}

.testimonial-name {
    color: #E4A911;
}

.strong-view.wpmtst-default .wpmtst-testimonial-field {
    text-align: left !important;
}

.wpmslider-pager-link::before {
    width: 20px !important;
    height: 10px !important;
}

.strong-view.controls-type-sides-outside {
    padding: 0 20px !important
}

.strong-view.pager-style-buttons .wpmslider-pager-link:hover:before,
.strong-view.controls-style-buttons3:not(.rtl) .wpmslider-prev:hover:before,
.strong-view.controls-style-buttons3:not(.rtl) .wpmslider-next:hover:before {
    background: #e4a911 !important;
}

.strong-view.controls-type-sides-outside .wpmslider-prev,
.strong-view.controls-type-sides-outside .wpmslider-next {
    top: calc(50% - 45px) !important;
}

/* 404 Page */

.ast-404-home-link {
    text-align: center;
    margin: 20px 0 10px 0;
}

.ast-404-home-link .button {
    display: inline-block;
    padding: 12px 35px;
    background-color: #e4a911;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: 16px;
    border:1px solid #e4a911;
}

.ast-404-home-link .button:hover {
    color:#e4a911;
    border:1px solid #e4a911;
    background-color: #ffffff;
}

section.error-404.not-found {
    padding: 20px;
}

.error404 .page-header .page-title {
    color: #e4a911 !important;
}