/* ══════════════════════════════════════════════════════════════════
   AshokaFoods — Master Design System & Storefront Stylesheet
   ══════════════════════════════════════════════════════════════════ */

:root {
    --accent: #825201;            /* Neon amber/honey deep gold */
    --accent-light: #ffbe4f;      /* Lighter vibrant amber for hovers */
    --accent-dark: #583600;       /* Dark honey */
    --accent-glow: rgba(130, 82, 1, 0.22);
    --bg: #fdfdf8;                /* Light warm heritage ivory background */
    --bg-alt: #f9f8ed;            /* Slightly softer cream for strips */
    --surface: #fae9aa;           /* Warm soft golden surface */
    --surface-card: #ffffff;      /* Clean pure white card surface */
    --surface-hover: #fffdf5;     /* Card hover */
    --border: rgba(130, 82, 1, 0.14); /* Subtle organic amber border */
    --border-strong: rgba(130, 82, 1, 0.35);
    --text: #2c1e05;              /* Deep rich espresso text */
    --text2: #6e5c3e;             /* Secondary warm neutral text */
    --text3: #9b8a6d;             /* Subtle tertiary text */
    --font-head: 'IBM Plex Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    --shadow-sm: 0 2px 8px rgba(130, 82, 1, 0.06);
    --shadow-md: 0 8px 24px rgba(130, 82, 1, 0.08);
    --shadow-lg: 0 16px 36px rgba(130, 82, 1, 0.12);
    --shadow-glow: 0 10px 30px rgba(130, 82, 1, 0.25);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Typography ─────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
    letter-spacing: -0.02em;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* ── Layout Containers ──────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-main {
    flex: 1 0 auto;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    user-select: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-danger {
    background: #e53935;
    color: #ffffff;
}
.btn-danger:hover {
    background: #c62828;
}

/* ── Announcement Top Bar ───────────────────────────────────── */
.top-bar {
    background-color: var(--accent);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-link {
    color: rgba(255, 255, 255, 0.92);
}
.top-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.hot-deal-link {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-weight: 700;
}

.sep {
    opacity: 0.4;
}

/* ── Navigation Header ──────────────────────────────────────── */
.site-header {
    background: rgba(253, 253, 248, 0.94);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 78px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.brand-logo-img {
    height: 44px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    margin-bottom: 4px;
}

.drawer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.drawer-brand-logo-img {
    height: 32px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

.logo-icon {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(130, 82, 1, 0.2));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.accent-text {
    color: var(--accent);
}

.logo-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

/* Search Input */
.header-search {
    flex: 1;
    max-width: 380px;
    position: relative;
    display: flex;
    align-items: center;
}

.header-search input {
    width: 100%;
    padding: 10px 42px 10px 18px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border);
    background-color: var(--surface-card);
    color: var(--text);
    font-size: 0.88rem;
    transition: var(--transition);
}

.header-search input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.header-search button {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text2);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.header-search button:hover {
    color: var(--accent);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-item {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text2);
    position: relative;
    padding: 6px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--accent);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.cart-trigger {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--surface-card);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
}

.cart-trigger:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--accent);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    height: 20px;
    min-width: 20px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border: 2px solid #ffffff;
}

/* User Menu Dropdown */
.user-dropdown-wrapper {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    padding: 5px 12px 5px 6px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
}

.user-btn:hover {
    border-color: var(--accent);
}

.avatar-initials {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: var(--surface-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 8px;
    display: none;
    z-index: 1050;
    animation: fadeInSlide 0.2s ease;
}

.user-dropdown-menu.open {
    display: block;
}

.user-dropdown-header {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-dropdown-header small {
    color: var(--text3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.role-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
    margin-top: 4px;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border);
    margin: 6px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text2);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--bg);
    color: var(--accent);
}

.admin-link-item {
    color: var(--accent);
    font-weight: 700;
}

.text-danger {
    color: #d32f2f !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
    padding: 8px;
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
}

/* Mobile Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--surface-card);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
}

.mobile-nav-drawer.open {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.drawer-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text2);
}

.mobile-search {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}

.mobile-search input {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
}

.mobile-search button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-links a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text);
}

.drawer-links a:hover {
    background: var(--bg);
    color: var(--accent);
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero-section {
    padding: 42px 0 28px;
    background: radial-gradient(circle at 80% 20%, rgba(250, 233, 170, 0.30) 0%, rgba(253, 253, 248, 1) 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-tag-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.hero-since-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #78350f 0%, #92400e 45%, #b45309 100%);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 1.08rem;
    font-weight: 800;
    font-family: var(--font-head);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(120, 53, 15, 0.28), 0 0 0 1px rgba(250, 233, 170, 0.5);
    border: 2px solid #fae9aa;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-since-badge:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(120, 53, 15, 0.35), 0 0 0 2px #fae9aa;
}

.hero-since-badge .since-crown {
    font-size: 1.35rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--surface);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--border);
    margin-bottom: 0;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.12;
    color: var(--text);
    margin-bottom: 18px;
}

.hero-headline span {
    color: var(--accent);
    display: inline-block;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text2);
    margin-bottom: 24px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text2);
    font-weight: 600;
}

/* Hero Carousel Showcase Slider */
.hero-visual {
    position: relative;
    user-select: none;
}

.hero-carousel-container {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

.hero-carousel-slides {
    position: relative;
    width: 100%;
    min-height: 500px;
}

.hero-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
    pointer-events: none;
}

.hero-carousel-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3.5px solid rgba(255, 255, 255, 0.9);
    background: #ffffff;
}

.hero-image-wrapper .slide-link {
    display: block;
    width: 100%;
    border-radius: calc(var(--radius-lg) - 3px);
    overflow: hidden;
}

.hero-image-wrapper .slide-link img {
    width: 100%;
    height: 480px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .slide-link img {
    transform: scale(1.03);
}

/* Family Product Slide Specialization */
.hero-family-slide .hero-image-wrapper {
    background: #f7f6fb;
    overflow: visible;
}

.hero-family-slide .hero-image-wrapper .slide-link {
    background: #f7f6fb;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius-lg) - 3px);
    overflow: hidden;
}

.hero-family-slide img.hero-family-img {
    object-fit: contain;
    background: transparent;
    width: 100%;
    height: 480px;
    max-height: 480px;
    object-position: center 36%;
    padding: 10px 14px 44px;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-family-slide .hero-image-wrapper:hover img.hero-family-img {
    transform: scale(1.02);
}

.btn-explore-family {
    background: var(--accent);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 8px var(--accent-glow);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-explore-family:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--accent-glow);
    color: #ffffff !important;
}

.floating-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    background: rgba(130, 82, 1, 0.94);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(130, 82, 1, 0.28);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2.5s infinite;
    z-index: 5;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.floating-badge img {
    width: 18px !important;
    height: 16px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 4px !important;
    position: static !important;
}

.floating-card-bottom {
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid var(--border);
    gap: 14px;
    z-index: 5;
}

.floating-card-info {
    overflow: hidden;
    flex: 1;
}

.floating-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.floating-card-title a {
    color: inherit;
    transition: var(--transition);
}

.floating-card-title a:hover {
    color: var(--accent);
}

.floating-card-subtitle {
    font-size: 0.8rem;
    color: var(--text2);
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-card-action {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.floating-price {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    white-space: nowrap;
}

.carousel-cart-btn {
    padding: 8px 16px;
    background: var(--accent);
    color: #ffffff !important;
    text-decoration: none !important;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px var(--accent-glow);
    white-space: nowrap;
}

.carousel-cart-btn:hover {
    background: var(--accent-dark);
    color: #ffffff !important;
    transform: scale(1.05);
}

/* Carousel Navigation Arrows */
.hero-carousel-arrow {
    position: absolute;
    top: calc(50% - 24px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-size: 1.9rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(44, 30, 5, 0.12);
    transition: var(--transition);
    z-index: 10;
    padding-bottom: 4px;
}

@media (hover: hover) and (min-width: 769px) {
    .hero-carousel-arrow:hover {
        background: var(--accent);
        color: #ffffff;
        border-color: var(--accent);
        transform: scale(1.12);
        box-shadow: var(--shadow-glow);
    }
}

.hero-prev {
    left: -22px;
}

.hero-next {
    right: -22px;
}

/* Carousel Indicator Dots */
.hero-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    position: relative;
    z-index: 6;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-pill);
    background: var(--border-strong);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.hero-dot.active {
    width: 28px;
    background: var(--accent);
    box-shadow: 0 2px 8px var(--accent-glow);
}

/* ── Feature Strip ──────────────────────────────────────────── */
.feature-strip {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.feature-strip-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background-color: var(--surface-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.feature-info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.feature-info p {
    font-size: 0.78rem;
    color: var(--text2);
    line-height: 1.3;
}

/* ── Section Headers ────────────────────────────────────────── */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 30px;
}

.section-header-left {
    text-align: left;
    margin: 0 0 32px;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
}

.section-desc {
    color: var(--text2);
    font-size: 1rem;
}

/* ── Category Grid ──────────────────────────────────────────── */
.categories-section {
    padding: 36px 0 32px;
}

.category-slider-wrapper {
    position: relative;
    width: 100%;
}

.category-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 10px 4px 16px;
    margin: -10px -4px -16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-grid::-webkit-scrollbar {
    display: none;
}

/* Single row of exactly six categories on desktop view */
.category-card {
    flex: 0 0 calc((100% - 100px) / 6);
    min-width: calc((100% - 100px) / 6);
    max-width: calc((100% - 100px) / 6);
    box-sizing: border-box;
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 14px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 1200px) and (min-width: 769px) {
    .category-card {
        flex: 0 0 calc((100% - 60px) / 4);
        min-width: calc((100% - 60px) / 4);
        max-width: calc((100% - 60px) / 4);
    }
}

.category-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

/* Category Slider Desktop Navigation Arrows */
.category-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid var(--border);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.category-prev-btn {
    left: -20px;
}

.category-next-btn {
    right: -20px;
}

.category-slider-arrow:hover:not(:disabled):not(.is-disabled) {
    background: #ffffff;
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 22px rgba(217, 119, 6, 0.28);
}

.category-slider-arrow:active:not(:disabled):not(.is-disabled) {
    transform: translateY(-50%) scale(0.95);
}

.category-slider-arrow.is-disabled,
.category-slider-arrow:disabled {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.85);
}

@media (max-width: 768px) {
    .category-slider-arrow {
        display: none !important;
    }
}

/* Category Icon Badge & Compound Icons */
.category-icon-badge {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: radial-gradient(circle at 32% 32%, #ffffff 0%, #fae9aa 100%);
    border: 2px solid rgba(217, 119, 6, 0.22);
    box-shadow: 0 8px 20px rgba(130, 82, 1, 0.08);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.cat-badge-honeymixdryfruits {
    background: radial-gradient(circle at 30% 30%, #fffdf4 0%, #fed7aa 55%, #fde68a 100%);
    border-color: rgba(217, 119, 6, 0.3);
}

.cat-badge-rawdryfruits {
    background: radial-gradient(circle at 30% 30%, #fff7ed 0%, #fed7aa 60%, #fdba74 100%);
    border-color: rgba(234, 88, 12, 0.28);
}

.cat-badge-seedmixes,
.cat-badge-seeds {
    background: radial-gradient(circle at 30% 30%, #f7fdf7 0%, #dcfce7 60%, #bbf7d0 100%);
    border-color: rgba(22, 101, 52, 0.25);
}

.cat-badge-mouthfreshner {
    background: radial-gradient(circle at 30% 30%, #f0fdf4 0%, #e0f2fe 60%, #bae6fd 100%);
    border-color: rgba(14, 116, 144, 0.28);
}

.cat-badge-dryfruitmixes,
.cat-badge-dryfruitcombos {
    background: radial-gradient(circle at 30% 30%, #fdf2f8 0%, #fce7f3 60%, #fbcfe8 100%);
    border-color: rgba(219, 39, 119, 0.28);
}

.cat-badge-snacks {
    background: radial-gradient(circle at 30% 30%, #fffbeb 0%, #fef3c7 60%, #fde047 100%);
    border-color: rgba(202, 138, 4, 0.28);
}

.category-card:hover .category-icon-badge {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 26px rgba(130, 82, 1, 0.16);
}

.cat-icon-main {
    font-size: 2.35rem;
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
}

.cat-icon-sub {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #fae9aa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
}

.cat-badge-seedmixes .cat-icon-sub,
.cat-badge-seeds .cat-icon-sub {
    border-color: #86efac;
}

.cat-badge-mouthfreshner .cat-icon-sub {
    border-color: #7dd3fc;
}

.cat-badge-rawdryfruits .cat-icon-sub {
    border-color: #fdba74;
}

.cat-badge-dryfruitcombos .cat-icon-sub,
.cat-badge-dryfruitmixes .cat-icon-sub {
    border-color: #f472b6;
}

.cat-badge-snacks .cat-icon-sub {
    border-color: #facc15;
}

.category-card:hover .cat-icon-main {
    transform: scale(1.12) rotate(4deg);
}

.category-card:hover .cat-icon-sub {
    transform: scale(1.16) rotate(-8deg);
}

.cat-icon-img {
    width: 84px;
    height: 84px;
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
    pointer-events: none;
}

.category-card:hover .cat-icon-img {
    transform: scale(1.08) rotate(3deg);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.15) rotate(6deg);
}

.category-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text);
}

/* Desktop default: mobile slider dots hidden */
.category-slider-dots {
    display: none !important;
}

/* ── Product Card & Grid ────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.featured-products-section {
    padding: 40px 0 32px;
}

.new-arrivals-section {
    padding: 32px 0 60px;
}

.product-card {
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

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

.product-card-top {
    position: relative;
    overflow: hidden;
    background-color: #faf8f0;
    aspect-ratio: 1 / 1;
}

.product-card-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Product Badges */
.badge-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    z-index: 2;
    text-transform: uppercase;
}

.badge-tag.NEW {
    background-color: #0284c7;
    color: #ffffff;
}

.badge-tag.HOT {
    background-color: #ea580c;
    color: #ffffff;
}

.badge-tag.SALE {
    background-color: #16a34a;
    color: #ffffff;
}

.badge-tag.OUT_OF_STOCK,
.badge-tag.out-of-stock {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

/* ── Product Card Quick Share Button ────────────────────────── */
.btn-card-share {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    cursor: pointer;
    z-index: 4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.btn-card-share:hover {
    background: #ffffff;
    color: var(--accent);
    transform: scale(1.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    border-color: var(--accent-glow);
}

.btn-card-share svg {
    transition: transform 0.2s ease;
}

.btn-card-share:hover svg {
    transform: rotate(15deg);
}

.product-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.product-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7em;
}

.product-card-title a:hover {
    color: var(--accent);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #d97706;
    margin-bottom: 12px;
}

.star-icons {
    letter-spacing: 1px;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
}

.product-card-bottom {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    gap: 12px;
}

.product-pricing {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
}

.old-price {
    font-size: 0.82rem;
    color: var(--text3);
    text-decoration: line-through;
}

.btn-add-cart {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    background-color: var(--accent);
    color: #ffffff;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.btn-add-cart:hover {
    background-color: var(--accent-dark);
    transform: scale(1.04);
}

/* ── Deal of the Day ────────────────────────────────────────── */
.deal-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fae9aa 0%, #f6deb0 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.deal-banner {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.9fr;
    gap: 36px;
    align-items: center;
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(130, 82, 1, 0.18);
}

.deal-tag {
    display: inline-block;
    background-color: #ea580c;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.deal-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text);
}

.deal-desc {
    color: var(--text2);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.countdown-box {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: var(--radius);
    text-align: center;
    min-width: 64px;
}

.countdown-num {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1.1;
}

.countdown-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text3);
}

.deal-image-col {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.deal-image-col img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.deal-price-col {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.deal-price-col .price-box {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.deal-price-col .large-price {
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent);
}

.deal-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text2);
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials-section {
    padding: 48px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    color: #eab308;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--surface);
    color: var(--accent);
    font-family: var(--font-head);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    border: 2px solid var(--accent);
}

.user-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.user-info span {
    font-size: 0.8rem;
    color: var(--text3);
}

/* ── Newsletter Section ─────────────────────────────────────── */
.newsletter-section {
    background-color: var(--accent);
    color: #ffffff;
    padding: 70px 0;
}

.newsletter-content {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    color: #ffffff;
    font-size: 2.3rem;
    margin-bottom: 14px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    background: #ffffff;
    padding: 6px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
}

.newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 20px;
    font-size: 0.95rem;
    color: var(--text);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    border-radius: var(--radius-pill);
    background-color: var(--accent);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--accent-dark);
}

/* ── Shop Page ──────────────────────────────────────────────── */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    padding: 40px 0 80px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text3);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text3);
    text-decoration: none;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.breadcrumb .sep,
.breadcrumb span:not([class]):not(:last-child) {
    color: var(--text3);
    opacity: 0.55;
    font-size: 0.75rem;
    margin: 0 1px;
}

.breadcrumb .breadcrumb-current,
.breadcrumb span:last-child {
    color: var(--text2);
    font-weight: 600;
}

.sidebar-filter {
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 100px;
    align-self: start;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 16px;
}

.filter-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text2);
    cursor: pointer;
}

.custom-checkbox input[type="radio"],
.custom-checkbox input[type="checkbox"] {
    accent-color: var(--accent);
    margin-right: 8px;
    cursor: pointer;
}

.filter-count {
    font-size: 0.78rem;
    background: var(--bg);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    color: var(--text3);
}

.shop-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.sort-select-wrapper select {
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border);
    background-color: var(--surface-card);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.sort-select-wrapper select:focus {
    outline: none;
    border-color: var(--accent);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--surface-card);
    border-radius: var(--radius);
    border: 1.5px dashed var(--border);
}

.empty-state-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: inline-block;
}

.empty-state h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text2);
    margin-bottom: 24px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border);
    background: var(--surface-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
}

.page-btn:hover, .page-btn.active {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* ── Product Details Page ───────────────────────────────────── */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    padding: 30px 0 70px;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

/* Main Interactive Stage */
.product-gallery-stage {
    position: relative;
    background: var(--surface-card);
    border-radius: 20px;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    user-select: none;
}

.product-gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.product-gallery-stage:hover img {
    transform: scale(1.025);
}

/* Circular Prev / Next Navigation Arrows */
.gallery-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.gallery-prev-btn {
    left: 14px;
}

.gallery-next-btn {
    right: 14px;
}

.gallery-arrow-btn:hover {
    background: #ffffff;
    color: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
}

.gallery-arrow-btn:active {
    transform: translateY(-50%) scale(0.96);
}

/* Counter Pill Badge (1 / 4) */
.gallery-counter-pill {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 10;
    line-height: 1;
}

/* Zoom Fullscreen Trigger Icon */
.gallery-zoom-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.gallery-zoom-badge:hover {
    background: #ffffff;
    color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

/* Thumbnail Strip (Up to 8 Cards Slider) */
.product-gallery-thumbs-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    width: 100%;
    position: relative;
}

.product-gallery-thumbs {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 3px 2px 4px 2px;
}

.product-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.gallery-thumb-card {
    position: relative;
    flex: 0 0 calc((100% - 30px) / 4);
    max-width: calc((100% - 30px) / 4);
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface-card);
    border: 2.5px solid #e2e8f0;
    padding: 0;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.gallery-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #f8fafc;
}

.gallery-thumb-card:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gallery-thumb-card.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow), 0 4px 14px rgba(130, 82, 1, 0.18);
    transform: translateY(-2px);
}

/* Thumbnail Left / Right Arrow Buttons */
.thumb-nav-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    color: #334155;
    padding: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    user-select: none;
}

.thumb-nav-btn:hover:not(:disabled) {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(130, 82, 1, 0.2);
}

.thumb-nav-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.thumb-nav-btn:disabled {
    opacity: 0.28;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* Lightbox Modal */
.gallery-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 28, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.gallery-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-stage {
    max-width: 820px;
    max-height: 82vh;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-stage img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    display: block;
}

.lightbox-close-btn {
    position: fixed;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1000000;
}

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

.lightbox-arrow-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 2.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1000000;
    padding-bottom: 4px;
}

.lightbox-prev-btn {
    left: 24px;
}

.lightbox-next-btn {
    right: 24px;
}

.lightbox-arrow-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 999px;
    letter-spacing: 0.8px;
}

@media (max-width: 480px) {
    .product-gallery-thumbs-wrapper {
        gap: 6px;
        margin-top: 10px;
    }
    .product-gallery-thumbs {
        gap: 8px;
    }
    .gallery-thumb-card {
        flex: 0 0 calc((100% - 24px) / 4);
        max-width: calc((100% - 24px) / 4);
        border-radius: 10px;
    }
    .thumb-nav-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }
    .thumb-nav-btn svg {
        width: 14px;
        height: 14px;
    }
    .gallery-arrow-btn {
        width: 36px;
        height: 36px;
    }
}

.product-main-image {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 1 / 1;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail-title {
    font-size: 2.2rem;
    line-height: 1.2;
}

.product-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 8px 0 16px;
    flex-wrap: wrap;
}

.product-rating {
    order: 1;
    display: inline-flex;
    align-items: center;
}

.product-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.product-rating-link .star-icons {
    color: #f59e0b;
    letter-spacing: 1px;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
}

.product-rating-link .rating-val {
    font-weight: 700;
    color: var(--text);
}

.product-rating-link .review-count-label {
    color: var(--text3);
    font-size: 0.85rem;
    white-space: nowrap;
}

.stock-status {
    order: 2;
    font-size: 0.85rem;
    font-weight: 700;
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-product-quick-share {
    order: 3;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.product-detail-price .main-price {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.product-detail-price .strike-price {
    font-size: 1.15rem;
    color: var(--text3);
    text-decoration: line-through;
    line-height: 1;
}

.save-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    background: #fef08a;
    color: #854d0e;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.product-detail-desc {
    font-size: 1.05rem;
    color: var(--text2);
    line-height: 1.7;
}

.qty-control-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qty-input-group {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface-card);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: var(--bg);
    color: var(--accent);
}

.qty-field {
    width: 48px;
    height: 40px;
    text-align: center;
    border: none;
    font-weight: 800;
    font-size: 1rem;
    background: transparent;
}

.qty-field:focus {
    outline: none;
}

.detail-actions-row {
    display: flex;
    gap: 14px;
}

.product-specs-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}

.spec-item span {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
}

.spec-item strong {
    font-size: 0.82rem;
    color: var(--text);
    display: block;
}

.spec-item small {
    font-size: 0.72rem;
    color: var(--text3);
}

/* ── Product Detail Page Share Section ──────────────────────── */
.product-detail-share-box {
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.product-detail-share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.product-detail-share-header strong {
    font-size: 0.92rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-detail-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.btn-share-channel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.btn-share-channel.whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.28);
}
.btn-share-channel.whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.btn-share-channel.facebook {
    background: #1877f2;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(24, 119, 242, 0.28);
}
.btn-share-channel.facebook:hover {
    background: #0d65d9;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(24, 119, 242, 0.4);
    color: #ffffff;
}

.btn-share-channel.twitter {
    background: #0f1419;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(15, 20, 25, 0.25);
}
.btn-share-channel.twitter:hover {
    background: #272c30;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(15, 20, 25, 0.35);
    color: #ffffff;
}

.btn-share-channel.copy-link {
    background: var(--bg-alt);
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-share-channel.copy-link:hover {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-share-channel.native-more {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
}
.btn-share-channel.native-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}

.btn-product-quick-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    color: var(--text);
    border: 1.5px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-product-quick-share:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ── Related Products Showcase (You May Also Enjoy) ────────── */
.related-products-section {
    margin-top: 50px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.related-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.related-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    margin: 4px 0 0;
    letter-spacing: -0.02em;
}

.related-swipe-hint {
    display: none;
}

.related-products-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .related-products-slider {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* ── Global Share Modal ─────────────────────────────────────── */
.share-modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.share-modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.share-modal-card {
    background: #ffffff !important;
    color: #1e293b !important;
    border-radius: 20px;
    max-width: 460px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s ease;
    animation: shareModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shareModalPop {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.share-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}

.share-modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a !important;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.share-modal-close {
    background: #f1f5f9;
    border: none;
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.15s ease;
}

.share-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.share-prod-preview {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 20px;
}

.share-prod-img {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.share-prod-info {
    flex: 1;
    min-width: 0;
}

.share-prod-info h4 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a !important;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-prod-price {
    font-size: 0.86rem;
    color: #d97706;
    font-weight: 800;
}

.share-copy-box {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.share-copy-input {
    flex: 1;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: #334155;
    outline: none;
}

.share-copy-btn {
    background: #d97706;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.share-copy-btn:hover {
    background: #b45309;
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.share-channel-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #334155 !important;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-channel-btn:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.share-channel-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
}

.share-channel-btn.sc-wa .share-channel-icon { background: #25d366; }
.share-channel-btn.sc-fb .share-channel-icon { background: #1877f2; }
.share-channel-btn.sc-tw .share-channel-icon { background: #0f1419; }
.share-channel-btn.sc-tg .share-channel-icon { background: #229ed9; }
.share-channel-btn.sc-mail .share-channel-icon { background: #ea4335; }

/* ── Cart Page ──────────────────────────────────────────────── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 36px;
    padding: 30px 0 80px;
    align-items: start;
}

.cart-table-wrapper {
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    background: var(--bg);
    padding: 16px 20px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text2);
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--border);
}

.cart-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-table tr:hover {
    background-color: var(--surface-hover);
}

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border);
}

.cart-item-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cart-item-name a:hover {
    color: var(--accent);
}

.cart-item-cat {
    font-size: 0.78rem;
    color: var(--text3);
}

.cart-unit-price {
    font-weight: 700;
    color: var(--accent);
}

.cart-subtotal-price {
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--text);
    font-size: 1.05rem;
}

.btn-remove-item {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 1.25rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-remove-item:hover {
    background-color: #fee2e2;
}

/* Order Summary Sidebar */
.order-summary-sidebar {
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-sm);
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text2);
}

.shipping-progress-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
}

.progress-bar-wrap {
    height: 6px;
    background: rgba(130, 82, 1, 0.15);
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin-top: 6px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: var(--radius-pill);
    transition: width 0.3s ease;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 2px solid var(--border);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}

.summary-total-price {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: var(--accent);
}

.coupon-box {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.coupon-box input {
    flex: 1;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    font-size: 0.85rem;
}

.coupon-box button {
    padding: 8px 16px;
    border-radius: var(--radius-pill);
}

.secure-badge {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text3);
    margin-top: 16px;
}

/* ── Checkout Page ──────────────────────────────────────────── */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 30px 0 80px;
    align-items: start;
}

.checkout-step-card {
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.step-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.step-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent);
    color: #ffffff;
    font-family: var(--font-head);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
@media (max-width: 768px) {
    .form-grid-3 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background-color: var(--surface-card);
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Payment Method Cards */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.payment-method-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-method-card:hover, .payment-method-card.active {
    border-color: var(--accent);
    background: var(--surface-hover);
}

.payment-method-card input[type="radio"] {
    accent-color: var(--accent);
}

/* Checkout Review List */
.review-item-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
}

.review-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.review-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

/* ── My Account Dashboard ───────────────────────────────────── */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    padding: 40px 0 80px;
    align-items: start;
}

.account-sidebar {
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-sm);
}

.account-user-card {
    background: linear-gradient(135deg, var(--surface) 0%, #f6deb0 100%);
    padding: 28px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.account-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border: 3px solid #ffffff;
    box-shadow: var(--shadow-md);
}

.account-nav-list {
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 4px;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text2);
    transition: var(--transition);
}

.account-nav-item:hover, .account-nav-item.active {
    background-color: var(--accent);
    color: #ffffff;
}

.account-nav-item.account-nav-admin {
    color: var(--accent);
    font-weight: 800;
    background-color: rgba(130, 82, 1, 0.08);
    border: 1.5px dashed rgba(130, 82, 1, 0.35);
}

.account-nav-item.account-nav-admin:hover {
    background-color: var(--accent) !important;
    color: #ffffff !important;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(130, 82, 1, 0.25);
}

.account-nav-item.text-danger {
    color: #dc2626 !important;
}

.account-nav-item.text-danger:hover {
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
}

.account-content-card {
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.account-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

/* ── Orders History (Desktop Table & Mobile Flexible Cards) ─── */
.orders-desktop-view {
    display: block;
}

.orders-mobile-view {
    display: none;
}

.orders-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.orders-history-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
    background: var(--surface-card);
}

.orders-history-table th {
    background-color: var(--surface);
    color: var(--text2);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 16px;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.orders-history-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.orders-history-table tr:last-child td {
    border-bottom: none;
}

.orders-history-table tr:hover {
    background-color: rgba(250, 233, 170, 0.08);
}

.order-num-cell {
    white-space: nowrap;
}

.order-number-text {
    color: var(--accent);
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 800;
    display: block;
}

.order-payment-pill {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 2px 8px;
    color: var(--text2);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.order-date-text {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
    display: block;
    white-space: nowrap;
}

.order-time-text {
    font-size: 0.74rem;
    color: var(--text3);
    display: block;
    margin-top: 2px;
}

/* Product list stack within order table cell & cards */
.order-products-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-product-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-product-img-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.order-product-img-wrap:hover {
    transform: scale(1.06);
    border-color: var(--accent);
}

.order-product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-product-icon-fallback {
    font-size: 1.5rem;
    line-height: 1;
}

.order-product-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.order-product-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    line-height: 1.35;
    transition: color 0.2s ease;
    word-break: break-word;
}

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

.order-product-qty {
    font-size: 0.76rem;
    color: var(--text3);
    font-weight: 600;
}

.order-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid currentColor;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* Mobile Orders Card Flow */
.order-mobile-card {
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-mobile-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.order-mobile-num-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.order-mobile-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0;
}

.order-mobile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* ── Auth Cards (Login & Register) ──────────────────────────── */
.auth-page-wrapper {
    padding: 60px 20px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text2);
    font-size: 0.95rem;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text2);
}

.auth-footer a {
    color: var(--accent);
    font-weight: 700;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.alert-danger {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #f87171;
}

.alert-success {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

/* ── Global Footer ──────────────────────────────────────────── */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
    gap: 40px;
}

.brand-desc {
    color: var(--text2);
    font-size: 0.9rem;
    margin: 16px 0 20px;
}

.contact-info p {
    font-size: 0.85rem;
    color: var(--text2);
    margin-bottom: 6px;
}

.contact-info a {
    color: var(--text2);
    text-decoration: none;
    transition: color 0.18s ease;
}

.contact-info a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.footer-social-wrap {
    margin-top: 16px;
}

.footer-social-title {
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 8px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid transparent;
}

.social-icon-btn.instagram {
    background: #fdf2f8;
    color: #db2777;
    border-color: #fbcfe8;
}

.social-icon-btn.instagram:hover {
    background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
}

.social-icon-btn.facebook {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.social-icon-btn.facebook:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.footer-col-social.mobile-only {
    display: none !important;
}

.footer-social-desktop {
    display: block;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text2);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-badge-item .badge-icon {
    font-size: 1.5rem;
}

.trust-badge-item strong {
    font-size: 0.85rem;
    display: block;
    color: var(--text);
}

.trust-badge-item small {
    font-size: 0.75rem;
    color: var(--text3);
}

.footer-bottom {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text2);
}

.payment-methods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-icon {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text2);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: #ffffff;
    color: var(--text);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-lg);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.success {
    border-left-color: #16a34a;
}

.toast.error {
    border-left-color: #dc2626;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* ── Responsive Media Queries (Tablet & Phone Optimization) ── */

/* Mobile Navigation Backdrop */
.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 30, 5, 0.55);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Filter Toggle Button for Shop */
.mobile-filter-toggle-btn {
    display: none;
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--border);
    padding: 14px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent);
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mobile-filter-toggle-btn:hover {
    border-color: var(--accent);
    background: var(--surface-hover);
}

.filter-toggle-indicator {
    font-size: 0.82rem;
    color: var(--text3);
    font-weight: 600;
}

/* ── 1. Tablets & Small Laptops (<= 1024px) ─────────────────── */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    /* Switch Navigation to Mobile Toggle */
    .nav-links, .header-search {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .header-inner {
        height: 70px;
    }
    .brand-logo-img {
        height: 38px;
        max-width: 175px;
    }

    /* Hero Section */
    .hero-section {
        padding: 40px 0 50px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-visual {
        order: 1;
    }
    .hero-text-col {
        order: 2;
        text-align: center;
    }
    .hero-sub {
        margin: 0 auto 28px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-carousel-slides {
        min-height: 420px;
    }
    .hero-image-wrapper .slide-link img {
        height: 380px;
    }
    .hero-prev {
        left: -12px;
    }
    .hero-next {
        right: -12px;
    }

    /* Grids */
    .feature-strip-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Deal of the Day Banner */
    .deal-banner {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 28px;
        text-align: center;
    }
    .deal-image-col img {
        height: 280px;
    }
    .deal-banner .countdown-container {
        justify-content: center;
    }
    .deal-banner div[style*="display:flex"] {
        justify-content: center;
    }

    /* Shop Page Catalog */
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0 60px;
    }
    .mobile-filter-toggle-btn {
        display: flex;
    }
    .sidebar-filter {
        display: none;
        position: static;
        width: 100%;
        margin-bottom: 24px;
    }
    .sidebar-filter.active {
        display: block;
        animation: fadeInSlide 0.25s ease;
    }

    /* Product Details */
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .product-gallery {
        position: static;
        max-width: 520px;
        margin: 0 auto;
    }

    /* Cart & Checkout Layouts */
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .order-summary-sidebar {
        position: static;
    }
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* My Account */
    .account-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .account-sidebar {
        position: static;
    }
    .account-nav-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 8px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* ── 2. Mobile Phones (<= 768px) ───────────────────────────── */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Header & Top Bar */
    .top-bar-content {
        justify-content: center;
        text-align: center;
        font-size: 0.76rem;
    }
    .top-bar-right {
        display: none;
    }
    .site-header .header-inner {
        height: 64px;
    }
    .brand-logo-img {
        height: 32px;
        max-width: 140px;
    }
    .logo-main {
        font-size: 1.25rem;
    }
    .logo-icon {
        font-size: 1.6rem;
    }
    .logo-tag {
        font-size: 0.65rem;
    }
    .user-name-label {
        display: none;
    }
    .user-btn {
        padding: 4px;
    }
    .hide-mobile {
        display: none !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 20px 0 32px;
    }
    .hero-section .container.hero-grid {
        padding-left: 8px !important;
        padding-right: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .hero-visual {
        order: 1;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .hero-text-col {
        display: none !important;
    }
    .hero-headline {
        font-size: clamp(2rem, 7vw, 2.6rem);
    }
    .hero-sub {
        font-size: 0.98rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-tag-row {
        justify-content: center;
        gap: 8px;
        margin-bottom: 14px;
    }
    .hero-since-badge {
        font-size: 0.92rem;
        padding: 8px 16px;
    }
    .hero-since-badge .since-crown {
        font-size: 1.15rem;
    }
    .hero-tag {
        font-size: 0.74rem;
        padding: 5px 12px;
    }
    .hero-stats {
        justify-content: center;
        gap: 14px 20px;
        flex-wrap: wrap;
    }
    .stat-num {
        font-size: 1.4rem;
    }
    .hero-carousel-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
    .hero-carousel-slides {
        min-height: auto;
        width: 100% !important;
    }
    .hero-carousel-slide {
        width: 100% !important;
    }
    .hero-image-wrapper {
        width: 100% !important;
        aspect-ratio: 16 / 11;
        height: auto !important;
        border-radius: var(--radius-lg);
        background: #ffffff;
    }
    .hero-image-wrapper .slide-link {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: calc(var(--radius-lg) - 3px);
        overflow: hidden;
    }
    .hero-image-wrapper .slide-link img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 16 / 11;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    .hero-family-slide .hero-image-wrapper {
        aspect-ratio: 16 / 12 !important;
        background: #f7f6fb !important;
        overflow: visible !important;
    }
    .hero-family-slide .hero-image-wrapper .slide-link {
        background: #f7f6fb !important;
        border-radius: calc(var(--radius-lg) - 3px) !important;
        overflow: hidden !important;
    }
    .hero-family-slide img.hero-family-img {
        object-fit: contain !important;
        object-position: center 25% !important;
        padding: 6px 10px 40px !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }
    .hero-family-slide .floating-badge,
    .hero-family-badge {
        display: none !important;
    }
    .hero-carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }
    .hero-carousel-arrow:hover,
    .hero-carousel-arrow:focus {
        background: rgba(255, 255, 255, 0.94);
        color: var(--text);
        border-color: var(--border);
        transform: translateY(-50%);
        box-shadow: 0 4px 14px rgba(44, 30, 5, 0.12);
    }
    .hero-carousel-arrow:active,
    .hero-carousel-arrow.is-tapped {
        background: var(--accent) !important;
        color: #ffffff !important;
        border-color: var(--accent) !important;
        transform: translateY(-50%) scale(0.92) !important;
        box-shadow: 0 2px 12px var(--accent-glow) !important;
    }
    .hero-prev {
        left: 8px !important;
        z-index: 10;
    }
    .hero-next {
        right: 8px !important;
        z-index: 10;
    }
    .hero-carousel-dots {
        margin-top: 32px;
        margin-bottom: 4px;
    }
    .floating-badge {
        font-size: 0.78rem;
        padding: 6px 12px;
        top: 14px;
        right: 14px;
    }
    .floating-badge img {
        width: 18px !important;
        height: 16px !important;
        max-width: 18px !important;
        max-height: 18px !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        display: inline-block !important;
        vertical-align: middle !important;
        margin-right: 4px !important;
        position: static !important;
    }
    .floating-card-bottom {
        left: 8px !important;
        right: 8px !important;
        bottom: -16px;
        padding: 12px 14px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
    }
    .floating-card-title {
        font-size: 0.85rem;
    }
    .floating-card-subtitle {
        font-size: 0.72rem;
    }
    .floating-price {
        font-size: 1.05rem;
    }
    .carousel-cart-btn {
        padding: 6px 10px;
        font-size: 0.76rem;
    }

    /* Feature Strip - Hidden in mobile view */
    .feature-strip {
        display: none !important;
    }

    /* Category Mobile Horizontal Slider (Original Circular Badges) */
    .categories-section {
        padding: 36px 0 24px;
        overflow: hidden;
    }

    .category-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 16px !important;
        padding: 8px 6px 12px !important;
        margin: 0 !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-grid::-webkit-scrollbar {
        display: none !important;
    }

    body .categories-section .category-card,
    body.theme-diwali .categories-section .category-card,
    body.theme-sankranthi .categories-section .category-card {
        flex: 0 0 calc((100% - 32px) / 3) !important;
        min-width: 100px !important;
        max-width: 130px !important;
        scroll-snap-align: start;
        text-decoration: none;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
        transition: transform 0.2s ease;
    }

    .category-card:hover,
    .category-card:focus {
        transform: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .category-card:active {
        transform: scale(0.95) !important;
    }

    /* Original Circular Category Icon Badges on Mobile */
    .category-icon-badge {
        display: flex !important;
        width: 82px !important;
        height: 82px !important;
        margin-bottom: 10px !important;
        flex-shrink: 0;
    }

    .cat-icon-main {
        font-size: 2rem !important;
    }

    .cat-icon-sub {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.05rem !important;
        right: -3px !important;
        bottom: -3px !important;
    }

    .cat-icon-img {
        width: 76px !important;
        height: 76px !important;
        max-width: 95% !important;
        max-height: 95% !important;
    }

    .category-card h3 {
        font-size: 0.9rem !important;
        font-weight: 800 !important;
        color: var(--text) !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        text-align: center !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Mobile Slider Indicator Dots (· ⊙ · ·) */
    .category-slider-dots {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 14px;
    }

    .cat-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #cbd5e1;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .cat-dot.active {
        width: 14px;
        height: 14px;
        background: transparent;
        border: 1.8px solid var(--text, #1f2937);
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .cat-dot.active::after {
        content: '';
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--text, #1f2937);
    }

    .featured-products-section {
        padding: 20px 0 10px !important;
    }

    .new-arrivals-section {
        padding: 10px 0 28px !important;
    }

    .section-header {
        margin: 0 auto 20px !important;
    }

    .section-title {
        font-size: 1.65rem !important;
        margin-bottom: 6px !important;
    }

    .section-desc {
        font-size: 0.88rem !important;
    }

    /* Product Grid - 2 columns on all mobile screens */
    .product-grid, .product-grid-4 {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .product-card {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        border-radius: var(--radius, 14px) !important;
        overflow: hidden !important;
    }
    .product-card-top {
        aspect-ratio: 1 / 1 !important;
        position: relative;
        overflow: hidden;
    }
    .product-card-top img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .product-card-body {
        padding: 12px;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
    }
    .product-card-title {
        font-size: 0.88rem;
        height: 2.5em;
        margin-bottom: 4px;
        line-height: 1.25;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .product-card-bottom {
        border-top: none !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .product-pricing {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }
    .current-price {
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--accent);
    }
    .old-price {
        font-size: 0.75rem;
    }
    .btn-add-cart {
        width: 100%;
        justify-content: center;
        padding: 8px 10px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    .product-rating {
        order: 1 !important;
        font-size: 0.78rem;
        margin-top: 6px !important;
        margin-bottom: 2px !important;
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
    }
    .star-icons {
        letter-spacing: 2px !important;
        white-space: nowrap !important;
    }

    /* Deal Section */
    .deal-section {
        padding: 50px 0;
    }
    .deal-banner {
        padding: 24px 18px;
        gap: 22px;
    }
    .deal-image-col {
        order: 1;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 8px;
        background: transparent;
        border: none;
        box-shadow: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .deal-image-col img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: contain;
        border-radius: var(--radius);
        filter: drop-shadow(0 6px 16px rgba(130, 82, 1, 0.15));
        display: block;
        padding: 0;
    }
    .deal-info-col {
        order: 2;
    }
    .deal-price-col {
        order: 3;
    }
    .deal-title {
        font-size: 1.5rem;
    }
    .deal-price-col .large-price {
        font-size: 1.8rem;
    }
    .countdown-box {
        min-width: 52px;
        padding: 8px 10px;
    }
    .countdown-num {
        font-size: 1.15rem;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 50px 0;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .testimonial-card {
        padding: 22px;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 48px 0;
    }
    .newsletter-content h2 {
        font-size: 1.7rem;
    }
    .newsletter-form {
        flex-direction: column;
        border-radius: var(--radius);
        padding: 10px;
    }
    .newsletter-form button {
        width: 100%;
    }

    /* Forms & Checkouts */
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
    .checkout-step-card {
        padding: 20px 16px;
    }

    /* Cart Table Mobile Responsive Card Flow */
    .cart-table-wrapper {
        border: none;
        background: transparent;
    }
    .cart-table {
        display: block;
        width: 100%;
    }
    .cart-table thead {
        display: none;
    }
    .cart-table tbody {
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }
    .cart-table tr {
        display: block;
        background: var(--surface-card);
        border: 1.5px solid var(--border);
        border-radius: var(--radius);
        padding: 16px;
        box-shadow: var(--shadow-sm);
        position: relative;
    }
    .cart-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
        border: none;
    }
    .cart-table td:nth-child(2)::before {
        content: "Unit Price";
        font-size: 0.82rem;
        color: var(--text3);
        font-weight: 600;
    }
    .cart-table td:nth-child(3)::before {
        content: "Quantity";
        font-size: 0.82rem;
        color: var(--text3);
        font-weight: 600;
    }
    .cart-table td:nth-child(4)::before {
        content: "Subtotal";
        font-size: 0.82rem;
        color: var(--text3);
        font-weight: 700;
    }
    .cart-table td:first-child {
        padding-top: 0;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border);
    }
    .cart-table td:last-child {
        position: absolute;
        top: 14px;
        right: 14px;
        padding: 0;
    }
    .cart-product-cell {
        gap: 12px;
    }
    .cart-thumb {
        width: 60px;
        height: 60px;
    }

    /* Orders History Mobile Toggle */
    .orders-desktop-view {
        display: none !important;
    }
    .orders-mobile-view {
        display: flex !important;
        flex-direction: column;
        gap: 14px;
    }
    .account-content-card {
        padding: 20px 14px;
    }
    .account-nav-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 6px;
    }
    .account-nav-item {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    /* Auth & Account Cards */
    .auth-card {
        padding: 24px 18px;
        border-radius: var(--radius);
    }
    .auth-header h1 {
        font-size: 1.6rem;
    }

    /* Mobile Breadcrumbs - Clean Single-Line Aligned Trail */
    .breadcrumb {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        gap: 6px !important;
        font-size: 0.8rem !important;
        line-height: 1 !important;
        margin-bottom: 16px !important;
        padding: 4px 0 6px !important;
    }

    .breadcrumb::-webkit-scrollbar {
        display: none !important;
    }

    .breadcrumb a,
    .breadcrumb span {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        line-height: 1.2 !important;
        vertical-align: middle !important;
    }

    .breadcrumb .sep,
    .breadcrumb span:not([class]):not(:last-child) {
        font-size: 0.72rem !important;
        opacity: 0.5 !important;
        margin: 0 1px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    .breadcrumb .breadcrumb-current,
    .breadcrumb span:last-child {
        color: var(--text2) !important;
        font-weight: 600 !important;
    }

    /* Product Detail Page */
    .product-detail-title {
        font-size: 1.6rem;
    }
    .product-specs-box {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: left;
    }
    .spec-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .spec-item span {
        font-size: 1.6rem;
        margin-bottom: 0;
    }
    .detail-actions-row {
        flex-direction: column;
        gap: 10px;
    }
    .detail-actions-row .btn {
        width: 100%;
    }

    /* Product Detail Meta Row (Ratings, Share, In Stock) */
    .product-meta-row {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px 10px !important;
        margin: 8px 0 14px !important;
    }

    .product-rating {
        order: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        min-width: 0 !important;
    }

    .product-rating-link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        white-space: nowrap !important;
        font-size: 0.82rem !important;
    }

    .product-rating-link .star-icons {
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        letter-spacing: 1px !important;
        font-size: 0.92rem !important;
        line-height: 1 !important;
        color: #f59e0b !important;
    }

    .product-rating-link .rating-val {
        font-weight: 700 !important;
        color: var(--text) !important;
        font-size: 0.88rem !important;
    }

    .product-rating-link .review-count-label {
        color: var(--text3) !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
    }

    .btn-product-quick-share {
        order: 2 !important;
        margin-left: auto !important;
        padding: 5px 12px !important;
        font-size: 0.78rem !important;
        border-radius: 999px !important;
        flex-shrink: 0 !important;
        height: 28px !important;
    }

    .stock-status {
        order: 3 !important;
        width: 100% !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
        margin-top: -2px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    /* Product Detail Price Row & Save Discount Badge */
    .product-detail-price {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 12px 0 !important;
        flex-wrap: wrap !important;
    }

    .product-detail-price .main-price {
        font-size: 1.85rem !important;
        line-height: 1 !important;
    }

    .product-detail-price .strike-price {
        font-size: 1.05rem !important;
        line-height: 1 !important;
        color: var(--text3) !important;
    }

    .save-badge {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        background: #fef08a !important;
        color: #854d0e !important;
        font-size: 0.74rem !important;
        font-weight: 800 !important;
        padding: 3.5px 9px !important;
        border-radius: 999px !important;
        line-height: 1 !important;
        letter-spacing: 0.2px !important;
        flex-shrink: 0 !important;
    }

    /* Customer Reviews Rating Stars on Mobile */
    .review-card-top {
        gap: 10px !important;
        align-items: flex-start !important;
    }

    .reviewer-profile {
        gap: 10px !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .reviewer-name {
        font-size: 0.92rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .review-stars-pill {
        padding: 4px 10px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .review-stars-icons {
        font-size: 0.92rem !important;
        letter-spacing: 1px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        line-height: 1 !important;
    }

    /* Related Products Section - Compact Mobile Horizontal Slider */
    .related-products-section {
        margin-top: 30px !important;
        padding-top: 18px !important;
        border-top: 1px solid var(--border);
        overflow: hidden !important;
    }

    .related-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 12px !important;
    }

    .related-header .section-tag {
        font-size: 0.68rem !important;
        padding: 2px 8px !important;
        margin-bottom: 2px !important;
        display: inline-block !important;
    }

    .related-title {
        font-size: 1.25rem !important;
        margin: 2px 0 0 !important;
        letter-spacing: -0.01em !important;
    }

    .related-swipe-hint {
        display: inline-flex !important;
        align-items: center;
        gap: 3px;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--accent);
        background: rgba(217, 119, 6, 0.08);
        padding: 3px 8px;
        border-radius: 999px;
    }

    .related-products-slider {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 12px !important;
        padding: 4px 12px 14px !important;
        margin-left: -12px !important;
        margin-right: -12px !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .related-products-slider::-webkit-scrollbar {
        display: none !important;
    }

    .related-products-slider .related-product-card {
        flex: 0 0 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        width: 160px !important;
        scroll-snap-align: start;
        border-radius: 14px !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        background: var(--surface-card) !important;
        border: 1.5px solid var(--border) !important;
        overflow: hidden !important;
    }

    .related-products-slider .related-product-card .product-card-top {
        height: 145px !important;
        min-height: 145px !important;
        max-height: 145px !important;
        position: relative !important;
        overflow: hidden !important;
        border-radius: 12px 12px 0 0 !important;
        background: #f8fafc;
    }

    .related-products-slider .related-product-card .product-card-top a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .related-products-slider .related-product-card .product-card-top img {
        width: 100% !important;
        height: 145px !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }

    .related-products-slider .related-product-card .badge-tag {
        font-size: 0.62rem !important;
        padding: 2px 6px !important;
        top: 8px !important;
        left: 8px !important;
        border-radius: 4px !important;
        letter-spacing: 0.3px !important;
    }

    .related-products-slider .related-product-card .btn-card-share {
        width: 26px !important;
        height: 26px !important;
        top: 8px !important;
        right: 8px !important;
        padding: 0 !important;
        border-radius: 50% !important;
    }

    .related-products-slider .related-product-card .btn-card-share svg {
        width: 12px !important;
        height: 12px !important;
    }

    .related-products-slider .related-product-card .product-card-body {
        padding: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
        justify-content: space-between !important;
        gap: 6px !important;
    }

    .related-products-slider .related-product-card .product-category-label {
        font-size: 0.65rem !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    .related-products-slider .related-product-card .product-card-title {
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        height: 2.5em !important;
        margin-bottom: 4px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .related-products-slider .related-product-card .product-card-bottom {
        margin-top: auto !important;
        padding-top: 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }

    .related-products-slider .related-product-card .product-pricing {
        display: flex !important;
        align-items: baseline !important;
        gap: 6px !important;
    }

    .related-products-slider .related-product-card .current-price {
        font-size: 0.95rem !important;
        font-weight: 800 !important;
    }

    .related-products-slider .related-product-card .old-price {
        font-size: 0.72rem !important;
    }

    .related-products-slider .related-product-card .btn-add-cart,
    .related-products-slider .related-product-card .btn-notify-me {
        width: 100% !important;
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        justify-content: center !important;
        height: 30px !important;
        line-height: 1 !important;
    }

    /* Footer */
    .footer-top {
        padding: 40px 0 28px;
    }
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px 16px;
    }
    .footer-col.brand-col {
        grid-column: 1 / -1;
    }
    .footer-logo-img {
        height: 40px;
        max-width: 180px;
        margin-bottom: 8px;
    }
    .footer-col-links {
        grid-column: 1;
    }
    .footer-col-collections {
        grid-column: 2;
    }
    .footer-social-desktop {
        display: none !important;
    }
    .footer-col-trust {
        grid-column: 1 / -1;
    }
    .footer-col-trust.has-social-sibling {
        grid-column: 1 !important;
    }
    .footer-col-trust.has-social-sibling .trust-badges {
        gap: 10px;
    }
    .footer-col-trust.has-social-sibling .trust-badge-item {
        gap: 8px;
        align-items: flex-start;
    }
    .footer-col-trust.has-social-sibling .trust-badge-item .badge-icon {
        font-size: 1.15rem;
        line-height: 1;
        margin-top: 2px;
    }
    .footer-col-trust.has-social-sibling .trust-badge-item strong {
        font-size: 0.78rem;
        line-height: 1.25;
    }
    .footer-col-trust.has-social-sibling .trust-badge-item small {
        font-size: 0.68rem;
        line-height: 1.2;
    }
    .footer-col-social.mobile-only {
        display: block !important;
        grid-column: 2 !important;
    }
    .footer-col-social .footer-title {
        font-size: 0.98rem;
        margin-bottom: 12px;
    }
    .footer-col-social .footer-social-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    .footer-col-social .social-icon-btn {
        width: 100%;
        justify-content: center;
        padding: 7px 12px;
        font-size: 0.78rem;
    }
    .footer-title {
        font-size: 0.98rem;
        margin-bottom: 12px;
    }
    .footer-links {
        gap: 9px;
    }
    .footer-links a {
        font-size: 0.83rem;
        line-height: 1.35;
        word-break: break-word;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .payment-methods {
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .brand-logo-img {
        height: 28px;
        max-width: 125px;
    }
    .featured-products-section {
        padding: 16px 0 6px !important;
    }
    .new-arrivals-section {
        padding: 6px 0 24px !important;
    }
    .section-header {
        margin: 0 auto 16px !important;
    }
    .section-title {
        font-size: 1.45rem !important;
    }
    .product-grid, .product-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .related-products-slider .related-product-card {
        flex: 0 0 148px !important;
        min-width: 148px !important;
        max-width: 148px !important;
        width: 148px !important;
    }
    .related-products-slider .related-product-card .product-card-top,
    .related-products-slider .related-product-card .product-card-top img {
        height: 135px !important;
        min-height: 135px !important;
        max-height: 135px !important;
    }
    .hero-carousel-container {
        max-width: 100% !important;
        width: 100% !important;
    }
    .floating-card-bottom {
        padding: 10px 12px;
        bottom: -14px;
        left: 6px;
        right: 6px;
    }
    .floating-card-title {
        font-size: 0.8rem;
    }
    .floating-price {
        font-size: 0.95rem;
    }
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    .product-detail-price {
        gap: 6px !important;
        padding: 10px 0 !important;
    }
    .product-detail-price .main-price {
        font-size: 1.68rem !important;
    }
    .product-detail-price .strike-price {
        font-size: 0.95rem !important;
    }
    .save-badge {
        font-size: 0.70rem !important;
        padding: 3px 8px !important;
    }
}

@media (max-width: 380px) {
    .product-grid, .product-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .product-card-body {
        padding: 10px 8px !important;
    }
    .product-card-title {
        font-size: 0.82rem !important;
        height: 2.5em !important;
    }
    .product-pricing {
        gap: 6px !important;
    }
    .current-price {
        font-size: 0.98rem !important;
    }
    .old-price {
        font-size: 0.72rem !important;
    }
    .btn-add-cart {
        padding: 7px 6px !important;
        font-size: 0.76rem !important;
    }
    .product-rating {
        font-size: 0.72rem !important;
    }
    .badge-tag {
        top: 6px !important;
        left: 6px !important;
        font-size: 0.62rem !important;
        padding: 2px 6px !important;
    }
    .btn-card-share {
        top: 6px !important;
        right: 6px !important;
        width: 28px !important;
        height: 28px !important;
    }
    .product-detail-price {
        gap: 5px !important;
        padding: 9px 0 !important;
    }
    .product-detail-price .main-price {
        font-size: 1.52rem !important;
    }
    .product-detail-price .strike-price {
        font-size: 0.88rem !important;
    }
    .save-badge {
        font-size: 0.66rem !important;
        padding: 2.5px 7px !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   RATINGS & REVIEWS SYSTEM (Product Page & My Orders)
   ══════════════════════════════════════════════════════════════════ */

/* Reviews Summary Header Card */
.reviews-summary-card {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 36px;
    align-items: center;
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 36px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.rating-big-col {
    text-align: center;
    padding-right: 28px;
    border-right: 1.5px solid var(--border);
}

.rating-big-num {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    font-family: var(--font-head);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.rating-big-scale {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text3);
}

.rating-stars-gold {
    color: #eab308;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin: 8px 0 4px;
}

.rating-count-sub {
    font-size: 0.85rem;
    color: var(--text2);
    font-weight: 600;
}

/* Breakdown Bars */
.breakdown-bars-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.breakdown-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.86rem;
}

.breakdown-star-label {
    min-width: 48px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 2px;
}

.breakdown-bar-track {
    flex: 1;
    height: 9px;
    background: rgba(130, 82, 1, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.breakdown-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, var(--accent));
    border-radius: 999px;
    transition: width 0.4s ease;
}

.breakdown-bar-count {
    min-width: 32px;
    text-align: right;
    font-weight: 700;
    color: var(--text2);
    font-size: 0.82rem;
}

/* Reviews Call to Action */
.reviews-cta-col {
    padding-left: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.reviews-cta-col p {
    font-size: 0.85rem;
    color: var(--text2);
    max-width: 180px;
    margin: 0;
}

/* Review Form Wrap (Product Detail) */
.product-review-form-wrap {
    background: var(--surface-card);
    border: 1.5px solid var(--accent);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(130, 82, 1, 0.08);
    animation: fadeIn 0.3s ease;
}

/* Interactive Star Rating Picker */
.star-rating-picker {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.interactive-stars {
    display: inline-flex;
    gap: 4px;
}

.star-picker-icon {
    font-size: 1.85rem;
    color: #d1d5db;
    cursor: pointer;
    transition: transform 0.15s ease, color 0.15s ease;
    user-select: none;
    line-height: 1;
}

.star-picker-icon:hover {
    transform: scale(1.22);
}

.star-picker-icon.filled {
    color: #f59e0b;
    text-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

/* Review Cards List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.review-item-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-item-card:hover {
    border-color: rgba(130, 82, 1, 0.3);
    box-shadow: var(--shadow-md);
}

.review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 16px;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #a86c07 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.reviewer-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviewer-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.reviewer-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.verified-buyer-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 999px;
}

.review-date {
    font-size: 0.78rem;
    color: var(--text3);
    font-weight: 500;
}

.review-stars-pill {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.review-stars-icons {
    color: #f59e0b;
    font-size: 1.05rem;
    letter-spacing: 2px;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.review-headline {
    margin: 0 0 8px 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text);
}

.review-body-text {
    margin: 0;
    color: var(--text2);
    font-size: 0.94rem;
    line-height: 1.6;
}

/* ── My Orders Review Buttons & Styling ─────────────────────── */
.order-product-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.order-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fffbeb;
    color: var(--accent);
    border: 1.2px solid rgba(130, 82, 1, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.3;
}

.order-review-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 2px 6px rgba(130, 82, 1, 0.25);
    transform: translateY(-1px);
}

.order-review-btn.reviewed {
    background: #ecfdf5;
    color: #059669;
    border-color: #a7f3d0;
}

.order-review-btn.reviewed:hover {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

/* ── Rate & Review Modal (Frontend) ─────────────────────────── */
.order-review-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 12, 4, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    animation: fadeIn 0.25s ease;
}

.order-review-modal-overlay.active {
    display: flex;
}

.order-review-modal-card {
    background: var(--surface-card);
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.order-review-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--surface) 0%, #f7e0b5 100%);
    border-bottom: 1px solid var(--border);
}

.order-review-modal-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-head);
}

.order-review-modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--text2);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.2s;
}

.order-review-modal-close:hover {
    color: var(--accent);
    background: rgba(130, 82, 1, 0.1);
}

.order-review-modal-body {
    padding: 22px 24px 16px;
    max-height: 75vh;
    overflow-y: auto;
}

.modal-product-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.modal-product-thumb {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border);
}

.modal-product-thumb-fallback {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: #fae9aa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.modal-product-name {
    margin: 0 0 3px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.modal-verified-tag {
    font-size: 0.72rem;
    color: #059669;
    font-weight: 700;
}

.order-review-modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 14px 24px 18px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reviews-summary-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 24px 20px;
        text-align: center;
    }
    .rating-big-col {
        border-right: none;
        border-bottom: 1.5px solid var(--border);
        padding-right: 0;
        padding-bottom: 18px;
    }
    .reviews-cta-col {
        padding-left: 0;
        border-top: 1.5px solid var(--border);
        padding-top: 16px;
    }
    .review-item-card {
        padding: 18px 18px;
    }
    .order-product-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* ── Out of Stock & Notify Me Features ────────────────────────── */
.stock-status.out-of-stock {
    color: #dc2626 !important;
    font-weight: 700;
}
.stock-status.out-of-stock span {
    color: #dc2626 !important;
}

/* Notify Me Button on Product Cards */
.btn-notify-me {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    background: #fef2f2;
    color: #dc2626;
    border: 1.5px solid #fca5a5;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}
.btn-notify-me:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
    transform: translateY(-1px);
}
.btn-notify-me.notified {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border-color: #6ee7b7 !important;
    cursor: default;
    pointer-events: none;
}

/* Product Detail Out of Stock Section */
.product-out-of-stock-box {
    background: #fff5f5;
    border: 1.5px solid #fecdd3;
    border-radius: var(--radius);
    padding: 24px;
    margin: 20px 0;
}
.product-out-of-stock-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.product-out-of-stock-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.product-out-of-stock-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #991b1b;
    margin: 0;
}
.product-out-of-stock-desc {
    color: #7f1d1d;
    font-size: 0.88rem;
    margin: 0 0 16px;
    line-height: 1.45;
}
.product-notify-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-notify-inputs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.product-notify-inputs .form-control {
    flex: 1;
    min-width: 200px;
    background: #ffffff;
}

/* Modal for Quick Notify Me from Product Cards */
.notify-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.notify-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}
.notify-modal-card {
    background: var(--surface-card, #ffffff);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 16px);
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}
.notify-modal-backdrop.active .notify-modal-card {
    transform: scale(1);
}
.notify-modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-alt, #fafaf9);
}
.notify-modal-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.notify-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text3);
    line-height: 1;
    padding: 4px;
    transition: color 0.15s;
}
.notify-modal-close:hover {
    color: #dc2626;
}
.notify-modal-body {
    padding: 24px;
}
.notify-prod-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.notify-prod-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}
.notify-prod-info h4 {
    margin: 0 0 2px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.notify-prod-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #dc2626;
    background: #fee2e2;
    padding: 2px 7px;
    border-radius: 999px;
}


