/* White and Gold Theme Overrides */

/* General Body and Text */
body {
    background-color: #FFFFFF !important;
    color: #333333 !important;
}

/* Headers */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: #D4AF37 !important;
    /* Gold */
}

/* Header Area */
.header-area.header-transparent {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 5px 0 !important;
    position: relative !important;
}

.main-nav>li>a {
    height: 60px !important;
    line-height: 60px !important;
    font-size: 14px !important;
}

.sticky-header.sticky .main-nav>li>a {
    height: 50px !important;
    line-height: 50px !important;
}

.header-logo img {
    max-height: 50px !important;
    width: auto !important;
}

.sticky-header.sticky {
    background-color: #FFFFFF !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.main-nav>li>a {
    color: #000000 !important;
}

.main-nav>li>a:hover {
    color: #D4AF37 !important;
}

/* Header Action Buttons */
.header-action-btn,
.header-action-btn .icon {
    color: #000000 !important;
}

.header-action-btn:hover,
.header-action-btn:hover .icon {
    color: #D4AF37 !important;
}

/* Override inline styles for icons if possible, or target them specifically */
.header-action-btn i {
    color: #000000 !important;
}

.header-action-btn span {
    color: #000000 !important;
}

/* Cart Count Badge */
.cart-count {
    background-color: #D4AF37 !important;
    color: #000000 !important;
}

/* Mobile Menu Button */
.header-menu-btn span {
    background-color: #000000 !important;
}

/* Dropdowns */
.main-nav .has-submenu .submenu-nav,
.main-nav .has-submenu .submenu-nav-mega {
    background-color: #FFFFFF !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #f0f0f0;
}

.main-nav .has-submenu .submenu-nav>li>a,
.main-nav .has-submenu .submenu-nav-mega>li>a {
    color: #333333 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.main-nav .has-submenu .submenu-nav>li>a:hover,
.main-nav .has-submenu .submenu-nav-mega>li>a:hover {
    color: #D4AF37 !important;
}

/* Off-canvas Menu */
.off-canvas-wrapper.offcanvas {
    background-color: #FFFFFF !important;
}

.off-canvas-wrapper .offcanvas-body {
    scrollbar-color: #f0f0f0 #FFFFFF !important;
}

.off-canvas-wrapper .offcanvas-body::-webkit-scrollbar-track {
    background: #FFFFFF !important;
}

.off-canvas-wrapper .offcanvas-body::-webkit-scrollbar-thumb {
    background-color: #f0f0f0 !important;
    border: 2px solid #FFFFFF !important;
}

.off-canvas-wrapper .btn-menu-close {
    color: #000000 !important;
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.off-canvas-wrapper .btn-menu-close:hover {
    color: #D4AF37 !important;
    background-color: #f9f9f9 !important;
}

.offcanvas-menu-nav li a {
    color: #000000 !important;
}

.offcanvas-menu-nav li a:hover {
    color: #D4AF37 !important;
}

.offcanvas-menu-nav li ul {
    border-left: 1px solid #f0f0f0 !important;
}

.offcanvas-menu-nav a:not(:only-child):after {
    color: #000000 !important;
}

.offcanvas-menu-nav .active>a:not(:only-child):after {
    color: #D4AF37 !important;
}

/* Category Responsive Styles */
@media (max-width: 768px) {
    .category-hero-content {
        padding: 1rem 0 !important;
        text-align: center !important;
    }

    .category-hero-image {
        margin-top: 2rem !important;
    }

    .category-hero-image img {
        max-width: 400px !important;
    }
}

/* Alert/Notification Styles */
.alert-success {
    background-color: #D4AF37 !important;
    color: #FFFFFF !important;
    border-color: #B8860B !important;
}

.alert-danger {
    background-color: #FFFFFF !important;
    color: #dc3545 !important;
    border: 1px solid #dc3545 !important;
}

.btn-close {
    filter: brightness(0) invert(1) !important;
    opacity: 0.8 !important;
}

/* Footer White Theme */
.footer-area,
.footer-main,
.footer-bottom {
    background-color: #FFFFFF !important;
    color: #000000 !important;
}

.footer-area {
    border-top: 1px solid #f0f0f0 !important;
}

.footer-main .widget-title {
    color: #D4AF37 !important;
}

.footer-main .widget-nav li a,
.footer-area a,
.widget-contact .contact-info-item p,
.widget-contact .contact-info-item .address-text,
.widget-about .desc,
.copyright {
    color: #000000 !important;
}

.footer-main .widget-nav li a:hover,
.footer-area a:hover {
    color: #D4AF37 !important;
}

.footer-bottom {
    border-top: 1px solid #f0f0f0 !important;
}

.widget-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.widget-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    color: #D4AF37 !important;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

.widget-social a:hover {
    transform: translateY(-3px);
    color: #000000 !important;
}

.footer-main .widget-social a+a {
    margin-left: 0 !important;
}

.widget-social a[href*="facebook"]:hover {
    color: #1877f2 !important;
}

.widget-social a[href*="instagram"]:hover {
    color: #e6683c !important;
}

.widget-contact .contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.widget-contact .contact-info-item i {
    color: #D4AF37;
    margin-right: 12px;
    margin-top: 4px;
    font-size: 16px;
    min-width: 20px;
    flex-shrink: 0;
}

.widget-contact .contact-info-item .address-text {
    line-height: 1.6 !important;
    font-size: 14px !important;
}

.widget-contact .contact-info-item p {
    margin: 0;
    line-height: 1.6 !important;
    font-size: 14px !important;
}

/* Hero Slider */
.hero-slider-area {
    overflow: hidden !important;
    margin-top: 50px !important;
}

.hero-slide-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    height: 312px !important;
    /* Mobile height */
    min-height: auto !important;
}

.hero-slider-container img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    /* object-fit: cover !important; */
    /* Cover the whole section */
}

@media (min-width: 992px) {
    .hero-slider-area {
        margin-top: 10px !important;
    }

    .hero-slide-item {
        height: 700px !important;
        /* Desktop height */
        min-height: auto !important;
    }
}

/* Swiper Navigation Custom Styles */
.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.8);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 24px;
}

.hero-slider-prev {
    left: 30px;
}

.hero-slider-next {
    right: 30px;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: #D4AF37;
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-pagination {
    bottom: 30px !important;
}

.hero-slider-pagination .swiper-pagination-current {
    color: #D4AF37;
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-slider-pagination .swiper-pagination-total {
    color: #333;
}

.hero-two-slide-item {
    background-color: #f4f4f4 !important;
}

/* Products */
.product-item .product-info .title a {
    color: #333333 !important;
}

.product-item .product-info .title a:hover {
    color: #D4AF37 !important;
}

.product-item .product-action .product-action-btn {
    background-color: #FFFFFF !important;
    color: #D4AF37 !important;
    border-color: #D4AF37 !important;
}

.product-item .product-action .product-action-btn:hover {
    background-color: #D4AF37 !important;
    color: #FFFFFF !important;
}

.flag-new {
    background-color: #D4AF37 !important;
    color: #FFFFFF !important;
    font-size: 13px !important;
    padding: 5px 12px 6px !important;
    border-radius: 50px !important;
    line-height: 1 !important;
    top: 20px !important;
    right: 20px !important;
}

@media only screen and (min-width: 992px) and (max-width: 1199px),
only screen and (min-width: 768px) and (max-width: 991px),
only screen and (max-width: 767px) {
    .flag-new {
        font-size: 12px !important;
        padding: 4px 10px 5px !important;
    }
}

@media only screen and (max-width: 575px) {
    .flag-new {
        font-size: 11px !important;
        padding: 2px 8px 3px !important;
        top: 5px !important;
        right: 5px !important;
    }
}

.rating i {
    color: #D4AF37 !important;
}

/* Product Price Styles */
.prices {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-old {
    color: #999999 !important;
    text-decoration: line-through !important;
    font-size: 14px !important;
}

.price {
    color: #D4AF37 !important;
    font-weight: 600 !important;
}

.sale-badge {
    background: #D4AF37 !important;
    color: #FFFFFF !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    font-size: 10px !important;
    font-weight: bold !important;
    letter-spacing: 0.5px !important;
}

/* Pagination */
.pagination .page-link {
    color: #333333 !important;
    background-color: #FFFFFF !important;
    border-color: #e5e5e5 !important;
}

.pagination .page-link:hover,
.pagination .page-link.active {
    background-color: #D4AF37 !important;
    color: #FFFFFF !important;
    border-color: #D4AF37 !important;
}

/* Sidebar Widgets */
.product-sidebar-widget {
    background-color: #ffffff !important;
    border: 1px solid #eee !important;
}

/* Unified Category Styles */
.category-hero-banner {
    background-color: #f9f9f9 !important;
    padding: 60px 0 !important;
}

.category-hero-title {
    color: #333 !important;
}

.category-hero-subtitle {
    color: #D4AF37 !important;
}

.hero-badge .badge {
    background-color: #D4AF37 !important;
    color: #fff !important;
}

/* Alert/Notification Styles */
.alert-success {
    background-color: #D4AF37 !important;
    color: #FFFFFF !important;
    border-color: #B8860B !important;
}

.alert-danger {
    background-color: #FFFFFF !important;
    color: #dc3545 !important;
    border: 1px solid #dc3545 !important;
}

.btn-close {
    filter: brightness(0) invert(1) !important;
    opacity: 0.8 !important;
}

/* Utility Classes */
.text-gold {
    color: #D4AF37 !important;
}

.bg-gold {
    background-color: #D4AF37 !important;
}

.text-dark {
    color: #333333 !important;
}

.bg-light {
    background-color: #f9f9f9 !important;
}

.bg-white {
    background-color: #FFFFFF !important;
}

/* Product Details Specific Styles */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}

.btn-add-to-cart {
    background-color: #D4AF37 !important;
    border-color: #D4AF37 !important;
    color: black !important;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    min-width: 150px;
}

.btn-add-to-cart:hover {
    background-color: #B8860B !important;
    border-color: #B8860B !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-add-to-cart:disabled {
    background-color: #ccc !important;
    border-color: #ccc !important;
    cursor: not-allowed;
}

/* Offcanvas Cart Buttons */
.btn-total {
    background-color: #D4AF37 !important;
    border-color: #D4AF37 !important;
    color: #FFFFFF !important;
    display: block;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
    padding: 12px 0;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-total:hover {
    background-color: #B8860B !important;
    border-color: #B8860B !important;
    color: #FFFFFF !important;
}

.product-benefits-content,
.product-usage-content {
    padding: 20px 0;
}

.product-bullet-list {
    list-style: none;
    padding-left: 0;
}

.product-bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.product-bullet-list li:before {
    content: "•";
    color: #D4AF37;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Auth Pages (Login/Signup) */
.auth-page-header {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #eee !important;
}

.auth-section {
    background-color: #FFFFFF !important;
}

.auth-card {
    background-color: #FFFFFF !important;
    color: #333 !important;
    border-radius: 15px !important;
    border: 0 !important;
}

.auth-input-group-text {
    background-color: #ffffff !important;
    border-color: #ddd !important;
    color: #D4AF37 !important;
    border-right: none !important;
}

.auth-form-control {
    background-color: #ffffff !important;
    border-color: #ddd !important;
    color: #333 !important;
    border-left: none !important;
}

.auth-form-control:focus {
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25) !important;
    outline: none !important;
}

.auth-btn-toggle {
    border-color: #ddd !important;
    color: #D4AF37 !important;
}

.auth-btn-primary {
    background: #D4AF37 !important;
    border: none !important;
    color: black !important;
    font-weight: bold !important;
    padding: 12px !important;
    border-radius: 8px !important;
}

.auth-btn-primary:hover {
    background: #B8860B !important;
    color: white !important;
}

.auth-btn-outline {
    border-color: #D4AF37 !important;
    color: #D4AF37 !important;
}

.auth-btn-outline:hover {
    background-color: #D4AF37 !important;
    color: #FFFFFF !important;
}

.auth-link {
    color: #D4AF37 !important;
    text-decoration: none !important;
}

.auth-link:hover {
    color: #B8860B !important;
}

.auth-divider {
    border-color: #333 !important;
}

.auth-info-icon {
    color: #D4AF37 !important;
}

.auth-alert-info {
    background-color: #f8f9fa !important;
    border-color: #D4AF37 !important;
    color: #333 !important;
}

/* Search Page Specifics */
.search-hero-banner {
    background: #FFFFFF !important;
    border-bottom: 1px solid #eee !important;
}

.search-form-section {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #eee !important;
}

.search-input-group {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    border: 1px solid #eee !important;
}

.search-form-control {
    background-color: #FFFFFF !important;
    color: #333333 !important;
    border: none !important;
}

.product-item-card {
    background-color: #FFFFFF !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.btn-action-gold {
    background-color: #D4AF37 !important;
    color: black !important;
}

.btn-action-gold:hover {
    background-color: #B8860B !important;
    color: white !important;
}

.search-input {
    background-color: #FFFFFF !important;
    color: #333333 !important;
    border: none !important;
}

.btn-search-primary {
    background-color: #D4AF37 !important;
    color: black !important;
    border: none !important;
    font-weight: bold !important;
}

.search-results-section {
    background-color: #FFFFFF !important;
}

.search-product-item {
    background-color: #FFFFFF !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* Hero Slider Titles */
.hero-slide-title-gold {
    background: linear-gradient(to right, #D4AF37, #B8860B) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 800 !important;
    font-size: 3.5rem !important;
}

/* Modals */
.modal-content {
    background-color: #FFFFFF !important;
    border: 1px solid #D4AF37 !important;
    border-radius: 10px !important;
}

.modal-header {
    border-bottom: 1px solid #eee !important;
}

.modal-footer {
    border-top: 1px solid #eee !important;
}

.modal-title {
    color: #D4AF37 !important;
}

.close,
.btn-close {
    color: #333 !important;
    opacity: 1 !important;
}

/* Form Controls in Modals */
.modal-content .form-control {
    background-color: #fff !important;
    border: 1px solid #eee !important;
    color: #333 !important;
}

.modal-content .form-control:focus {
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25) !important;
}

/* Sidebar Widgets Extended */
.product-sidebar-widget .product-widget-title {
    color: #D4AF37 !important;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    position: relative;
}

.product-sidebar-widget .product-widget-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #D4AF37;
}

.product-widget-search form button {
    color: #D4AF37 !important;
}

.product-widget-search form button:hover {
    color: #333333 !important;
}

.product-widget-category li a {
    color: #333333 !important;
}

.product-widget-category li a:hover {
    color: #D4AF37 !important;
}

.product-widget-category li a span {
    color: #999999 !important;
}

.product-widget-tags li a {
    font-weight: bold !important;
    padding: 12px !important;
    border-radius: 8px !important;
}

.auth-btn-primary:hover {
    background: #B8860B !important;
    color: white !important;
}

.auth-btn-outline {
    border-color: #D4AF37 !important;
    color: #D4AF37 !important;
}

.auth-btn-outline:hover {
    background-color: #D4AF37 !important;
    color: #FFFFFF !important;
}

.auth-link {
    color: #D4AF37 !important;
    text-decoration: none !important;
}

.auth-link:hover {
    color: #B8860B !important;
}

.auth-divider {
    border-color: #333 !important;
}

.auth-info-icon {
    color: #D4AF37 !important;
}

.auth-alert-info {
    background-color: #f8f9fa !important;
    border-color: #D4AF37 !important;
    color: #333 !important;
}

/* Search Page Specifics */
.search-hero-banner {
    background: #FFFFFF !important;
    border-bottom: 1px solid #eee !important;
}

.search-form-section {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #eee !important;
}

.search-input-group {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    border: 1px solid #eee !important;
}

.search-form-control {
    background-color: #FFFFFF !important;
    color: #333333 !important;
    border: none !important;
}

.product-item-card {
    background-color: #FFFFFF !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.btn-action-gold {
    background-color: #D4AF37 !important;
    color: black !important;
}

.btn-action-gold:hover {
    background-color: #B8860B !important;
    color: white !important;
}

.search-input {
    background-color: #FFFFFF !important;
    color: #333333 !important;
    border: none !important;
}

.btn-search-primary {
    background-color: #D4AF37 !important;
    color: black !important;
    border: none !important;
    font-weight: bold !important;
}

.search-results-section {
    background-color: #FFFFFF !important;
}

.search-product-item {
    background-color: #FFFFFF !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* Hero Slider Titles */
.hero-slide-title-gold {
    background: linear-gradient(to right, #D4AF37, #B8860B) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 800 !important;
    font-size: 3.5rem !important;
}

/* Modals */
.modal-content {
    background-color: #FFFFFF !important;
    border: 1px solid #D4AF37 !important;
    border-radius: 10px !important;
}

.modal-header {
    border-bottom: 1px solid #eee !important;
}

.modal-footer {
    border-top: 1px solid #eee !important;
}

.modal-title {
    color: #D4AF37 !important;
}

.close,
.btn-close {
    color: #333 !important;
    opacity: 1 !important;
}

/* Form Controls in Modals */
.modal-content .form-control {
    background-color: #fff !important;
    border: 1px solid #eee !important;
    color: #333 !important;
}

.modal-content .form-control:focus {
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25) !important;
}

/* Sidebar Widgets Extended */
.product-sidebar-widget .product-widget-title {
    color: #D4AF37 !important;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    position: relative;
}

.product-sidebar-widget .product-widget-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #D4AF37;
}

.product-widget-search form button {
    color: #D4AF37 !important;
}

.product-widget-search form button:hover {
    color: #333333 !important;
}

.product-widget-category li a {
    color: #333333 !important;
}

.product-widget-category li a:hover {
    color: #D4AF37 !important;
}

.product-widget-category li a span {
    color: #999999 !important;
}

.product-widget-tags li a {
    color: #666666 !important;
    background-color: #f9f9f9 !important;
    border: 1px solid #e5e5e5 !important;
}

.product-widget-tags li a:hover {
    background-color: #D4AF37 !important;
    color: #FFFFFF !important;
    border-color: #D4AF37 !important;
}

/* Price Filter Widget */
.ui-slider-horizontal .ui-slider-range {
    background: #D4AF37 !important;
}

.ui-slider .ui-slider-handle {
    border-color: #D4AF37 !important;
    background: #FFFFFF !important;
}

/* Product Image Gallery */
.product-gallery {
    width: 100%;
}

.gallery-main-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gallery-main-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
    color: #333;
}

.gallery-nav:hover {
    background: #D4AF37;
    color: #fff;
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

.gallery-zoom-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.8);
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
}

.gallery-thumbnails {
    margin-top: 15px;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail-item {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-item:hover {
    border-color: #eee;
}

.thumbnail-item.active {
    border-color: #D4AF37;
}

@media (max-width: 575px) {
    .gallery-nav {
        width: 32px;
        height: 32px;
    }

    .thumbnails-grid {
        gap: 6px;
    }
}

/* Product Item Square Thumbnails and Hover Effect */
.product-item .product-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #f8f9fa;
    border-radius: 12px;
}

.product-item .product-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-item .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-item .product-thumb .secondary-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.1);
}

.product-item:hover .product-thumb .primary-image {
    opacity: 0;
    transform: scale(1.1);
}

.product-item:hover .product-thumb .secondary-image {
    opacity: 1;
    transform: scale(1);
}

/* If no secondary image, zoom the primary one */
.product-item:hover .product-thumb img:only-child {
    opacity: 1;
    transform: scale(1.1);
}

/* Ensure product info has some space */
.product-item .product-info {
    padding: 15px 5px;
}

/* Contact Page Image Adjustments */
.contact-left-img img {
    max-width: 85% !important;
    margin-top: 60px !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Video Section Styles */
.video-ratio {
    position: relative;
    width: 100%;
    padding-bottom: 177.77%;
    /* 9:16 Vertical Aspect Ratio */
    height: 0;
}

.video-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}