/* 
   Gowri Pooja Stores - Custom Design System
   Refrence: Mathrudevo Bavha Theme Aesthetic
*/

:root {
    --primary-saffron: #FF9933;
    --secondary-gold: #D4AF37;
    --accent-red: #8B0000;
    --dark-maroon: #4A0404;
    --light-cream: #FFFDF5;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light-cream);
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .spiritual-font {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--dark-maroon);
}

/* Typography Helpers */
.text-gold {
    color: var(--secondary-gold);
}
.text-saffron {
    color: var(--primary-saffron);
}
.text-maroon {
    color: var(--dark-maroon);
}
.bg-saffron {
    background-color: var(--primary-saffron);
    color: white;
}
.bg-maroon {
    background-color: var(--dark-maroon);
    color: white;
}
.bg-cream {
    background-color: var(--light-cream);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

/* Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--accent-red), var(--dark-maroon));
    color: white !important;
    border: 1px solid var(--secondary-gold);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-premium:hover {
    background: linear-gradient(135deg, var(--primary-saffron), var(--secondary-gold));
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-premium {
    background: transparent;
    color: var(--dark-maroon) !important;
    border: 2px solid var(--dark-maroon);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-outline-premium:hover {
    background-color: var(--dark-maroon);
    color: white !important;
    transform: translateY(-2px);
}

/* Header & Navbar */
.top-bar {
    background-color: var(--dark-maroon);
    color: #fff;
    font-size: 13px;
    border-bottom: 1px solid var(--secondary-gold);
}
.top-bar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}
.top-bar a:hover {
    color: var(--primary-saffron);
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--secondary-gold);
    transition: var(--transition);
    z-index: 1030;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-maroon) !important;
    margin: 0 8px;
    position: relative;
    font-size: 15px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-saffron);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    width: 100%;
}

/* Search Bar Customization */
.search-form-navbar {
    max-width: 350px;
    width: 100%;
}
.search-form-navbar .form-control {
    border-radius: 50px 0 0 50px;
    border: 1px solid #ced4da;
    border-right: none;
    padding-left: 20px;
    font-size: 14px;
}
.search-form-navbar .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-saffron);
}
.search-form-navbar .btn {
    border-radius: 0 50px 50px 0;
    background-color: var(--primary-saffron);
    border: 1px solid var(--primary-saffron);
    color: white;
    padding-right: 18px;
    padding-left: 14px;
    transition: var(--transition);
}
.search-form-navbar .btn:hover {
    background-color: var(--dark-maroon);
    border-color: var(--dark-maroon);
}

/* Cart Icon Badge */
.cart-icon-wrapper {
    position: relative;
    color: var(--dark-maroon);
    font-size: 22px;
    transition: var(--transition);
}
.cart-icon-wrapper:hover {
    color: var(--primary-saffron);
    transform: scale(1.1);
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent-red);
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50px;
    padding: 2px 6px;
    border: 1.5px solid white;
}

/* Hero Slider */
.hero-section {
    position: relative;
    background-color: var(--dark-maroon);
    overflow: hidden;
}
.hero-swiper {
    width: 100%;
    height: 75vh;
    min-height: 480px;
}
.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(74, 4, 4, 0.85) 0%, rgba(74, 4, 4, 0.6) 40%, rgba(255, 153, 51, 0.2) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}
.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

/* Category Cards */
.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    z-index: 1;
}
.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    z-index: -2;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(74, 4, 4, 0.85) 90%);
    z-index: -1;
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.category-card:hover .category-card-bg {
    transform: scale(1.1);
}
.category-card h4 {
    color: var(--white);
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    font-weight: bold;
}
.category-card span {
    color: var(--secondary-gold);
    font-size: 14px;
    font-weight: 600;
}

/* Custom WooCommerce Cards */
.custom-product-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 28px 16px 16px 16px; /* Added spacing at the top of the card */
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.custom-product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.3); /* Gold tint border on hover */
}
.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-red);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    z-index: 5;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.wishlist-btn:hover {
    color: var(--accent-red);
    transform: scale(1.1);
}
.product-image-wrapper {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: #fcfcfc;
    border-radius: 10px;
}
.product-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}
.custom-product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}
.rating-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: bold;
    color: #333;
    box-shadow: var(--shadow-sm);
}
.product-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-maroon);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
    margin-bottom: 4px;
}
.product-brand {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}
.price-block {
    margin-bottom: 8px;
}
.current-price {
    font-weight: 700;
    font-size: 18px;
    color: #111;
}
.current-price .woocommerce-Price-amount {
    color: #111;
}
.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
    margin-left: 6px;
}
.save-text {
    font-size: 12px;
    color: #2e7d32;
    font-weight: 700;
}
.variant-select-wrapper {
    background-color: var(--light-cream);
    border: 1px solid var(--secondary-gold);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark-maroon);
    font-weight: 500;
    transition: var(--transition);
}
.variant-select-wrapper:hover {
    background-color: var(--primary-saffron);
    color: white;
    border-color: var(--primary-saffron);
}
.variant-select-wrapper:hover .text-dark,
.variant-select-wrapper:hover .text-muted {
    color: white !important;
}

/* Single Product Details */
.single-product-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}
.sp-title {
    font-family: 'Cinzel', serif;
    color: var(--dark-maroon);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 10px;
}
.sp-brand {
    font-size: 14px;
    color: var(--secondary-gold) !important;
    font-weight: 600;
}
.sp-rating-score {
    background-color: var(--primary-saffron) !important;
}
.sp-price-wrap {
    border-top: 1px solid #eee;
    padding-top: 15px;
}
.sp-current-price {
    font-size: 2.2rem !important;
    color: var(--accent-red) !important;
}
.sp-discount-pill {
    background-color: var(--accent-red) !important;
    color: white !important;
}
.sp-save-text {
    font-size: 14px;
}
.default-wc-gallery-wrapper {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 10px;
}
.mobile-sticky-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
}
@media (max-width: 991px) {
    .mobile-sticky-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
        background: white !important;
        margin-top: 0 !important;
        border-top: 2px solid var(--secondary-gold);
    }
}

/* Tabs Override */
.woocommerce-tabs ul.tabs {
    border-bottom: 2px solid var(--secondary-gold) !important;
}
.woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
}
.woocommerce-tabs ul.tabs li.active a {
    color: var(--accent-red) !important;
    font-weight: bold;
}
.woocommerce-tabs ul.tabs li a {
    font-family: 'Cinzel', serif;
    color: var(--dark-maroon) !important;
    font-size: 16px;
}
.woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 20px 0;
}

/* Why Choose Us Cards */
.value-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.2);
}
.value-icon {
    font-size: 40px;
    color: var(--primary-saffron);
    margin-bottom: 20px;
}

/* Combo/Festival Kits Showcase Banner */
.special-showcase-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    color: white;
    box-shadow: var(--shadow-md);
}
.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 4, 4, 0.95) 0%, rgba(255, 153, 51, 0.8) 100%);
    z-index: 1;
}
.showcase-content {
    position: relative;
    z-index: 2;
    padding: 60px;
}

/* Trust Section */
.trust-metric {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-gold);
    line-height: 1;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    color: white;
    box-shadow: var(--shadow-lg);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 105px;
    background-color: var(--secondary-gold) !important;
    color: white !important;
    border: none;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}
.back-to-top:hover {
    background-color: var(--accent-red) !important;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Footer Section */
footer {
    background-color: var(--dark-maroon);
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 0 20px;
    border-top: 4px solid var(--secondary-gold);
}
footer h5 {
    color: var(--secondary-gold);
    margin-bottom: 25px;
    font-weight: 700;
}
footer .footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 12px;
}
footer .footer-link:hover {
    color: var(--primary-saffron);
    padding-left: 8px;
}
footer hr {
    border-color: rgba(255,255,255,0.1);
}

/* Translate Customizer */
.goog-te-gadget {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0px !important;
    color: transparent !important;
}
.goog-te-gadget .goog-te-combo {
    color: var(--dark-maroon) !important;
    border: 1px solid var(--secondary-gold);
    border-radius: 20px;
    padding: 4px 12px;
    outline: none;
    background-color: var(--white);
    font-size: 13px !important;
    margin: 0 !important;
}
.goog-logo-link, .goog-te-gadget img, .goog-te-banner-frame.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important; 
}

/* ==========================================================================
   Custom Product Page Gallery & Swiper/Flexslider Styling
   ========================================================================== */
.woocommerce-product-gallery {
    position: relative;
    width: 100% !important;
}

.woocommerce-product-gallery__wrapper {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.woocommerce-product-gallery__image {
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 12px;
}

/* Float the native magnifying glass / trigger */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 99;
    background: var(--white) !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--dark-maroon) !important;
    text-decoration: none;
}

.woocommerce-product-gallery__trigger:hover {
    background: var(--primary-saffron) !important;
    color: var(--white) !important;
    transform: scale(1.08);
}

.woocommerce-product-gallery .flex-viewport {
    border-radius: 12px;
}

/* Horizontal Gallery Thumbnail list below main image */
ol.flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 0 0 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

ol.flex-control-thumbs li {
    width: calc(25% - 9px) !important;
    float: none !important;
    margin: 0 !important;
    cursor: pointer;
}

ol.flex-control-thumbs li img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
}

ol.flex-control-thumbs li img:hover,
ol.flex-control-thumbs li img.flex-active {
    border-color: var(--primary-saffron) !important;
    opacity: 1;
    transform: scale(1.03);
}

/* ==========================================================================
   Premium Quantity Selector Styling
   ========================================================================== */
.quantity-custom-label {
    margin-top: 15px;
}

.quantity.custom-qty-container {
    display: inline-flex !important;
    align-items: center;
    border: 2px solid var(--secondary-gold);
    border-radius: 50px;
    padding: 4px;
    background-color: var(--white);
    margin-bottom: 25px !important;
    box-shadow: var(--shadow-sm);
}

.quantity.custom-qty-container .qty-btn {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-maroon);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.quantity.custom-qty-container .qty-btn:hover {
    background-color: var(--light-cream);
    color: var(--primary-saffron);
}

.quantity.custom-qty-container input.qty {
    width: 50px !important;
    height: 36px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: var(--dark-maroon) !important;
    outline: none !important;
    background: transparent !important;
    -moz-appearance: textfield;
}

/* Hide standard scroll arrow UI on input number */
.quantity.custom-qty-container input.qty::-webkit-outer-spin-button,
.quantity.custom-qty-container input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ==========================================================================
   Premium Themed Toast Notification System
   ========================================================================== */
.custom-toast-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    width: calc(100% - 50px);
}

.custom-toast {
    background: rgba(74, 4, 4, 0.96); /* Elegant Maroon backdrop */
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--secondary-gold);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
}

.custom-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.custom-toast.hide {
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-toast .toast-icon {
    font-size: 22px;
    color: #25d366; /* Auspicious green */
}

.custom-toast.info .toast-icon {
    color: var(--primary-saffron);
}

.custom-toast .toast-message {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    flex-grow: 1;
}

.custom-toast .toast-message a.toast-view-cart-link {
    color: var(--primary-saffron) !important;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    border: 1px solid var(--primary-saffron);
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 8px;
    display: inline-block;
    transition: var(--transition);
}

.custom-toast .toast-message a.toast-view-cart-link:hover {
    background-color: var(--primary-saffron);
    color: white !important;
}

.custom-toast .toast-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: var(--transition);
}

.custom-toast .toast-close-btn:hover {
    color: white;
}

/* ==========================================================================
   Mobile Bottom Quick Navigation
   ========================================================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(74, 4, 4, 0.98); /* Solid Dark Maroon */
    backdrop-filter: blur(10px);
    border-top: 3.5px solid var(--secondary-gold);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1040;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.15);
    padding: 0 10px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    background: transparent;
    padding: 8px 0;
    flex-grow: 1;
    line-height: 1.2;
}

.mobile-nav-item i {
    font-size: 18px;
    margin-bottom: 4px;
    transition: var(--transition);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--primary-saffron) !important;
}

.mobile-nav-item.active i {
    transform: translateY(-2px);
    color: var(--primary-saffron);
}

/* Mobile Nav Cart Badge */
.mobile-nav-item .mobile-cart-badge {
    position: absolute;
    top: 3px;
    right: 50%;
    margin-right: -24px;
    font-size: 9px;
    font-weight: bold;
    border-radius: 50px;
    padding: 1px 5px;
    border: 1px solid var(--dark-maroon);
    background-color: var(--primary-saffron);
    color: white;
}

/* Mobile Search Overlay */
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(74, 4, 4, 0.98);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-30px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
}

.mobile-search-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.search-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-overlay-header h5 {
    color: var(--secondary-gold) !important;
}

.btn-close-search {
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-search:hover {
    color: var(--primary-saffron);
}

.search-overlay-body {
    padding: 30px 24px;
    flex-grow: 1;
}

.search-overlay-body .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white !important;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
    padding: 12px 16px;
}

.search-overlay-body .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-overlay-body .form-control:focus {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-saffron);
}

.search-overlay-body .btn {
    border-radius: 0 8px 8px 0;
}

.bg-glass {
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}
.bg-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-saffron) !important;
    border-color: var(--primary-saffron) !important;
}

/* ==========================================================================
   Shop Sidebar & Widget Styles
   ========================================================================== */
.shop-sidebar-desktop .widget {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.shop-sidebar-desktop .widget:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.shop-filter-widget ul li {
    margin-bottom: 10px;
}

.shop-filter-widget ul li a {
    color: #555;
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px;
}

.shop-filter-widget ul li a:hover {
    color: var(--primary-saffron) !important;
    padding-left: 4px;
}

.shop-filter-widget ul li a.text-saffron {
    color: var(--primary-saffron) !important;
}

.shop-filter-widget .badge {
    font-size: 11px;
    padding: 5px 10px;
}

/* ==========================================================================
   Responsive Page Padding Offsets
   ========================================================================== */
@media (max-width: 768px) {
    body {
        padding-bottom: 75px !important; /* Offset content for mobile quick nav */
    }
    
    .whatsapp-float {
        bottom: 80px !important; /* Floating icons lift above bottom nav bar */
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
    
    .back-to-top {
        bottom: 80px !important;
        right: 90px !important;
        width: 44px;
        height: 44px;
    }
}

/* ==========================================================================
   Fix WooCommerce Layout Squeezing and Enforce Bootstrap columns
   ========================================================================== */
.woocommerce-result-count {
    float: left;
    margin-bottom: 1.5rem !important;
    color: var(--dark-maroon);
    font-weight: 500;
}

.woocommerce-ordering {
    float: right;
    margin-bottom: 1.5rem !important;
}

.woocommerce-ordering select.orderby {
    padding: 8px 36px 8px 16px;
    border: 1px solid var(--secondary-gold);
    border-radius: 20px;
    background-color: var(--white);
    color: var(--dark-maroon);
    font-weight: 500;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234A0404' width='18px' height='18px'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.woocommerce-ordering select.orderby:hover,
.woocommerce-ordering select.orderby:focus {
    border-color: var(--primary-saffron);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 576px) {
    .woocommerce-result-count,
    .woocommerce-ordering {
        float: none !important;
        text-align: center;
        margin-bottom: 1rem !important;
        width: 100%;
    }
    .woocommerce-ordering select.orderby {
        width: 100%;
    }
}

.woocommerce ul.products.row,
.woocommerce-page ul.products.row,
.woocommerce div.products.row,
.woocommerce-page div.products.row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -12px !important;
    margin-left: -12px !important;
    margin-top: 24px !important; /* Added space above the product grid */
    padding: 0 !important;
    list-style: none !important;
    clear: both !important;
}

/* Wishlist Active & Theme Customizations */
.wishlist-btn i.fa-solid,
.wishlist-btn.active i {
    color: var(--accent-red) !important;
}

.wishlist-icon-wrapper:hover {
    color: var(--primary-saffron) !important;
    transform: scale(1.1);
}

.wishlist-remove-btn {
    background: transparent;
    border: 1px solid #ddd;
    color: #888;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 12px;
    transition: var(--transition);
}
.wishlist-remove-btn:hover {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
}

/* Remove absolute float constraints and width overrides from WooCommerce default stylesheets */
.woocommerce ul.products.row li.product,
.woocommerce-page ul.products.row li.product,
.woocommerce div.products.row .product,
.woocommerce-page div.products.row .product {
    float: none !important;
    margin: 0 0 24px 0 !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Explicitly enforce Bootstrap widths under the products grid row container */
.woocommerce .products.row .col-6,
.woocommerce-page .products.row .col-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

@media (min-width: 768px) {
    .woocommerce .products.row .col-md-4,
    .woocommerce-page .products.row .col-md-4 {
        width: 33.33333333% !important;
        flex: 0 0 33.33333333% !important;
        max-width: 33.33333333% !important;
    }
}

@media (min-width: 992px) {
    .woocommerce .products.row .col-lg-3,
    .woocommerce-page .products.row .col-lg-3 {
        width: 25% !important;
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}

/* Swiper Products Carousel Navigation Styles */
.products-swiper .swiper-button-next,
.products-swiper .swiper-button-prev {
    color: var(--dark-maroon) !important;
    background-color: rgba(255, 255, 255, 0.9);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--secondary-gold);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.products-swiper .swiper-button-next::after,
.products-swiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.products-swiper .swiper-button-next:hover,
.products-swiper .swiper-button-prev:hover {
    color: white !important;
    background-color: var(--primary-saffron);
    border-color: var(--primary-saffron);
    transform: scale(1.08);
    box-shadow: var(--shadow-md);
}

@media (max-width: 576px) {
    .products-swiper .swiper-button-next,
    .products-swiper .swiper-button-prev {
        display: none !important;
    }
}

