/* ==========================================================================
   Mashla Bazar — Modern Universal E-Commerce Theme & Design System
   Modern Luxe Emerald, Slate & Amber Palette
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Cinzel:wght@700&display=swap');

:root {
    --color-primary: #0A5C36;
    --color-primary-hover: #074729;
    --color-primary-light: rgba(10, 92, 54, 0.08);
    --color-secondary: #F59E0B;
    --color-accent: #10B981;
    --color-bg: #F8FAFC;
    --color-card: #FFFFFF;
    --color-text: #0F172A;
    --color-muted: #64748B;
    --color-button: #0A5C36;
    --color-header-bg: #FFFFFF;
    --color-footer-bg: #0F172A;
    --color-badge: #E11D48;
    --border-radius-base: 12px;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-royal: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-subtle: 0 2px 12px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 12px 30px rgba(10, 92, 54, 0.12);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Body */
body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 60px; /* Space for mobile sticky bottom bar */
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-font {
    font-family: var(--font-royal);
    letter-spacing: 0.5px;
    font-weight: 800;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-primary-hover);
}

/* Top Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #074729 0%, #0A5C36 50%, #074729 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 0;
    letter-spacing: 0.3px;
}

/* Navbar & Header */
.main-header {
    background-color: var(--color-header-bg);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: var(--transition-smooth);
}

.brand-logo-text {
    font-family: var(--font-royal);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo-icon {
    width: 34px;
    height: 34px;
    fill: var(--color-secondary);
}

.search-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-input {
    border-radius: 50px;
    padding-left: 42px;
    padding-right: 45px;
    border: 1.5px solid #e5e7eb;
    background-color: #f9fafb;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.search-input:focus {
    background-color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-light);
}

.search-icon-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted);
    pointer-events: none;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e7eb;
    margin-top: 8px;
    z-index: 1050;
    display: none;
    max-height: 420px;
    overflow-y: auto;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f3f4f6;
    transition: var(--transition-smooth);
}

.search-item:hover {
    background-color: var(--color-primary-light);
}

.search-item-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 12px;
}

/* Nav Links */
.nav-link-custom {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

/* Buttons & Badges */
.btn-primary-custom {
    background-color: var(--color-button);
    border-color: var(--color-button);
    color: #fff;
    font-weight: 600;
    border-radius: var(--border-radius-base);
    padding: 10px 22px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(10, 92, 54, 0.25);
}

.btn-primary-custom:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(10, 92, 54, 0.35);
}

.btn-outline-custom {
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    border-radius: var(--border-radius-base);
    padding: 8px 18px;
    background: transparent;
    transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    margin-top: 0 !important;
    border: none !important;
}

.hero-slider {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
    margin-top: 0 !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.hero-slide {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center right;
    color: #fff;
    padding: 80px 0;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 24, 23, 0.92) 0%, rgba(26, 24, 23, 0.70) 48%, rgba(26, 24, 23, 0.20) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 0 15px;
}

.hero-tag {
    display: inline-block;
    background: rgba(217, 119, 6, 0.25);
    border: 1px solid #D97706;
    color: #FBBF24;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 44px;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 17px;
    color: #e5e7eb;
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-slider .carousel-indicators [data-bs-target] {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255,255,255,0.4);
    border: none;
    transition: all 0.3s ease;
}

.hero-slider .carousel-indicators .active {
    width: 42px;
    background-color: #fff;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    margin: 0 20px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.7);
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-slide {
        min-height: 400px;
        padding: 50px 0;
        background-position: center;
    }
    .hero-slide::before {
        background: linear-gradient(180deg, rgba(26, 24, 23, 0.85) 0%, rgba(26, 24, 23, 0.92) 100%);
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        display: none;
    }
}

/* =========================================================
   CIRCULAR MEDALLION CATEGORIES (Reference Gold Ring & Floating Badges)
   ========================================================= */
.category-medallion-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 4px;
}

.category-medallion-disc {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #FFFFFF 40%, #FAF7F2 100%);
    border: 3px solid #C49869;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 6px auto 10px;
}

.category-medallion-card:hover .category-medallion-disc {
    border-color: #D97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25), 0 10px 24px rgba(196, 152, 105, 0.35);
    transform: translateY(-4px);
}

.category-origin-badge {
    position: absolute;
    top: -4px;
    right: 4px;
    background: linear-gradient(135deg, #966138 0%, #7C4A25 100%);
    color: #FFFFFF;
    font-size: 8.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    transition: transform 0.25s ease;
}

.category-medallion-card:hover .category-origin-badge {
    transform: scale(1.06);
    background: linear-gradient(135deg, #B46927 0%, #966138 100%);
}

.category-disc-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    padding: 12px;
}

.category-medallion-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.35s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}

.category-medallion-card:hover .category-medallion-img {
    transform: scale(1.1);
}

.category-medallion-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.35;
    text-align: center;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.category-medallion-card:hover .category-medallion-title {
    color: var(--color-primary, #0A5C36);
}

/* Category Grid Card & Modern Category Pods (Compact Gap & Smooth Micro-Interactions) */
.category-pod-card {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 14px 10px 12px;
    height: 100%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.category-pod-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary, #0A5C36);
    box-shadow: 0 12px 24px -4px rgba(10, 92, 54, 0.14), 0 4px 8px -2px rgba(10, 92, 54, 0.06);
    background: #FFFFFF;
}

.category-pod-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #BBF7D0;
    transition: all 0.3s ease;
    padding: 3px;
    margin: 0 auto;
}

.category-pod-card:hover .category-pod-avatar {
    transform: scale(1.08);
    border-color: var(--color-primary, #0A5C36);
    background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
}

.category-pod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-pod-title {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
    transition: color 0.2s ease;
    margin-top: 4px;
}

.category-pod-card:hover .category-pod-title {
    color: var(--color-primary, #0A5C36);
}

.category-pod-link {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    transition: all 0.2s ease;
}

.category-pod-card:hover .category-pod-link {
    color: var(--color-primary, #0A5C36);
    transform: translateX(2px);
}

.category-card {
    background: #fff;
    border-radius: var(--border-radius-base);
    padding: 18px 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: var(--transition-smooth);
    display: block;
    box-shadow: var(--shadow-subtle);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.category-img-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #bbf7d0;
    transition: var(--transition-smooth);
}

.category-card:hover .category-img-wrapper {
    transform: scale(1.08);
    border-color: var(--color-primary);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

/* Product Card — Universal Modern E-Commerce Card */
.product-card {
    background: var(--color-card);
    border-radius: var(--border-radius-base);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

.product-thumb-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: #f8fafc;
    overflow: hidden;
}

.product-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-thumb-img {
    transform: scale(1.06);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge-discount {
    background-color: var(--color-badge);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.badge-organic {
    background-color: var(--color-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
}

.wishlist-btn-floating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    color: #94a3b8;
    transition: var(--transition-smooth);
    z-index: 3;
    cursor: pointer;
}

.wishlist-btn-floating:hover, .wishlist-btn-floating.active {
    color: #e11d48;
    background: #fff;
    transform: scale(1.1);
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-region-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.product-title:hover {
    color: var(--color-primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #f59e0b;
    margin-bottom: 10px;
}

.rating-count {
    color: var(--color-muted);
    font-size: 11px;
}

.product-weight-badge {
    font-size: 12px;
    color: #475569;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 12px;
    width: fit-content;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 12px;
}

.current-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
}

.mrp-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

/* =========================================================
   MODERN UNIVERSAL REFERENCE PRODUCT CARD SYSTEM
   ========================================================= */
.ref-product-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    padding: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ref-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(10, 92, 54, 0.08);
    border-color: #CBD5E1;
}

.ref-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    background: #F8FAFC;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.ref-thumb-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.ref-thumb-img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.06));
}

.ref-product-card:hover .ref-thumb-img {
    transform: scale(1.06);
}

/* Discount Badge: Rose/Coral Pill Badge */
.ref-badge-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #E11D48;
    color: #FFFFFF;
    padding: 4px 7px;
    border-radius: 6px;
    text-align: center;
    line-height: 1.1;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.25);
}

.ref-discount-num {
    display: block;
    font-size: 11px;
    font-weight: 700;
}

.ref-discount-lbl {
    display: block;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Veg Dot Symbol */
.ref-veg-mark {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    border: 1.5px solid #16A34A;
    border-radius: 3px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.ref-veg-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16A34A;
    display: block;
}

/* Floating Wishlist Button */
.ref-wishlist-btn {
    position: absolute;
    top: 30px;
    right: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #94A3B8;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 3;
    transition: all 0.2s ease;
}

.ref-wishlist-btn:hover, .ref-wishlist-btn.active {
    color: #E11D48;
    background: #FFFFFF;
    transform: scale(1.1);
}

/* Modern Emerald ADD Button */
.ref-add-container {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ref-btn-add {
    background: var(--color-primary);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    border: none;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(10, 92, 54, 0.25);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-btn-add:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 92, 54, 0.35);
    color: #FFFFFF;
}

.ref-options-count {
    font-size: 10px;
    color: #64748B;
    margin-top: 2px;
    font-weight: 500;
    text-align: center;
}

/* Product Info Area */
.ref-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ref-origin-circle {
    border: 1px solid #10B981;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--color-primary);
    background: #ECFDF5;
    margin-bottom: 6px;
}

.ref-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.35;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 36px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ref-title:hover {
    color: var(--color-primary);
}

.ref-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #D97706;
    margin-bottom: 4px;
}

.ref-star {
    color: #F59E0B;
}

.ref-rating-count {
    color: #64748B;
    font-weight: 500;
}

.ref-savings {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    min-height: 18px;
}

.ref-variant-select {
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    background-color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    width: 80px;
    color: #334155;
    cursor: pointer;
}

.ref-price-section {
    margin-top: auto;
}

.ref-price-pill {
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
    border-radius: 6px;
    padding: 3px 10px;
    font-weight: 700;
    font-size: 15px;
    color: var(--color-primary);
    display: inline-block;
}

.ref-mrp-price {
    font-size: 12px;
    color: #94A3B8;
    text-decoration: line-through;
    margin-top: 3px;
}

.save-percent {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Slide-Over Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: #fff;
    z-index: 1070;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    padding: 18px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

.free-shipping-bar {
    background: #fdf6ec;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    margin-bottom: 15px;
}

.shipping-progress {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 6px;
}

.shipping-progress-fill {
    height: 100%;
    background: #166534;
    transition: width 0.4s ease;
}

/* Quantity Stepper */
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    border: none;
    background: #f9fafb;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    color: var(--color-text);
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background: #e5e7eb;
}

.qty-input {
    width: 40px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    outline: none;
}

/* Cart Drawer Recommendations & Variant Pills */
.rec-var-pill {
    transition: all 0.2s ease;
    border-color: #d1d5db;
    color: #4b5563;
    font-weight: 500;
}

.rec-var-pill:hover,
.rec-var-pill.active {
    background-color: #1f2937 !important;
    border-color: #1f2937 !important;
    color: #ffffff !important;
}

.rec-add-btn {
    transition: all 0.2s ease;
}

.rec-add-btn:hover {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
}

/* Trust Badges Section */
.trust-badge-item {
    text-align: center;
    padding: 24px 18px;
    background: #fff;
    border-radius: var(--border-radius-base);
    border: 1px solid #e2e8f0;
    transition: var(--transition-smooth);
}

.trust-badge-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.trust-icon {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

/* Product Detail Page Gallery & Zoom */
.product-main-gallery-img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-subtle);
    cursor: zoom-in;
}

.variant-btn-pill {
    padding: 8px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.variant-btn-pill.active, .variant-btn-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

/* Sticky Mobile Bottom Navigation */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1030;
}

.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #4b5563;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.mobile-bottom-item.active, .mobile-bottom-item:hover {
    color: var(--color-primary);
}

.mobile-bottom-icon {
    font-size: 18px;
    margin-bottom: 2px;
}

@media (min-width: 992px) {
    .mobile-bottom-bar {
        display: none;
    }
}

/* Footer Styling */
.main-footer {
    background-color: var(--color-footer-bg);
    color: #94a3b8;
    padding-top: 60px;
    padding-bottom: 30px;
    font-size: 14px;
}

.footer-heading {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.footer-link {
    color: #94a3b8;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--color-secondary);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    margin-top: 45px;
    font-size: 13px;
    color: #64748b;
}
