/* ═══════════════════════════════════════════════════════════════════
   MEERA BAGS — Design System & Stylesheet
   Premium Handmade Bags E-Commerce
   Color Palette: Warm artisan tones (gold, brown, cream)
   Typography: Playfair Display (headings) + Inter (body)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ──────────────────────────────────────── */
:root {
    /* Primary Palette */
    --primary: #B8860B;
    --primary-dark: #8B6914;
    --primary-light: #DAA520;
    --primary-glow: rgba(184, 134, 11, 0.15);

    /* Secondary / Accent */
    --secondary: #8B4513;
    --secondary-dark: #6B3410;
    --accent: #D4A574;
    --accent-light: #E8D5C0;

    /* Backgrounds */
    --bg: #FDF8F2;
    --bg-alt: #F5EDE3;
    --bg-card: #FFFFFF;
    --bg-dark: #1A0F08;

    /* Text */
    --text: #2C1810;
    --text-secondary: #6B5B50;
    --text-muted: #9B8A7E;
    --text-light: #C4B5A8;
    --text-on-dark: #FDF8F2;

    /* Functional */
    --success: #2E7D32;
    --warning: #F57C00;
    --danger: #C62828;
    --info: #1565C0;

    /* WhatsApp */
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;

    /* Borders & Shadows */
    --border: #E8DDD2;
    --border-light: #F0E8DE;
    --shadow-sm: 0 1px 3px rgba(44, 24, 16, 0.06);
    --shadow-md: 0 4px 12px rgba(44, 24, 16, 0.08);
    --shadow-lg: 0 8px 30px rgba(44, 24, 16, 0.12);
    --shadow-xl: 0 16px 48px rgba(44, 24, 16, 0.16);
    --shadow-glow: 0 0 20px rgba(184, 134, 11, 0.2);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

/* ─── Container ──────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: var(--primary);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

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

.btn--whatsapp {
    background: var(--whatsapp);
    color: #fff;
    border-color: var(--whatsapp);
}

.btn--whatsapp:hover {
    background: var(--whatsapp-dark);
    color: #fff;
    border-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

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

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

.btn--full {
    width: 100%;
}


/* ══════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(253, 248, 242, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition);
}

.navbar--scrolled {
    box-shadow: var(--shadow-md);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: var(--space-lg);
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar__logo-icon {
    font-size: 1.6rem;
}

.navbar__logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.navbar__logo-text span {
    color: var(--primary);
}

/* Search */
.navbar__search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 400px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
}

.navbar__search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: #fff;
}

.navbar__search-input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    outline: none;
}

.navbar__search-input::placeholder {
    color: var(--text-muted);
}

.navbar__search-btn {
    padding: 10px 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.navbar__search-btn:hover {
    color: var(--primary);
}

/* Nav Links */
.navbar__nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar__link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.navbar__link:hover {
    color: var(--primary);
    background: var(--primary-glow);
}

/* Mobile Toggle */
.navbar__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.navbar__toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1A0F08 0%, #2C1810 40%, #3D2519 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(184, 134, 11, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(218, 165, 32, 0.1) 0%, transparent 50%);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(184,134,11,0.06)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-4xl) 0;
}

.hero__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(184, 134, 11, 0.15);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: var(--radius-xl);
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-lg);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-lg);
    line-height: 1.15;
}

.hero__title em {
    color: var(--primary-light);
    font-style: italic;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--accent-light);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.hero__cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}


/* ══════════════════════════════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════════════════════════════ */
.trust-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-xl) 0;
}

.trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
}

.trust-bar__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.trust-bar__item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
}

.trust-bar__item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}


/* ══════════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════════ */
.section {
    padding: var(--space-4xl) 0;
}

.section--alt {
    background: var(--bg-alt);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section__badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-glow);
    border-radius: var(--radius-xl);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.section__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

.section__cta {
    text-align: center;
    margin-top: var(--space-2xl);
}


/* ══════════════════════════════════════════════════════════════════
   PRODUCT GRID & CARDS
   ══════════════════════════════════════════════════════════════════ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-xl);
}

.product-grid--listing {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

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

.product-card__image-link {
    display: block;
}

.product-card__image-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--bg-alt);
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--bg-alt), var(--accent-light));
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    z-index: 2;
}

.product-card__badge--sale {
    background: var(--danger);
    color: #fff;
}

.product-card__badge--sold-out {
    background: var(--text);
    color: #fff;
}

.product-card__info {
    padding: var(--space-lg);
}

.product-card__category {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-card__name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-card__name a {
    color: var(--text);
    text-decoration: none;
}

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

.product-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.product-card__price-current {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.product-card__price-compare {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}


/* ══════════════════════════════════════════════════════════════════
   CATEGORY CARDS
   ══════════════════════════════════════════════════════════════════ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-xl);
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all var(--transition);
    aspect-ratio: 3 / 4;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.category-card__image-wrap {
    position: absolute;
    inset: 0;
}

.category-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover .category-card__image {
    transform: scale(1.08);
}

.category-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
}

.category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 15, 8, 0.85) 0%, transparent 60%);
}

.category-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    z-index: 1;
}

.category-card__name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.category-card__count {
    font-size: 0.85rem;
    color: var(--accent-light);
}


/* ══════════════════════════════════════════════════════════════════
   BRAND STORY
   ══════════════════════════════════════════════════════════════════ */
.brand-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.brand-story__content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.brand-story__content .section__title {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.brand-story__content .section__badge {
    text-align: left;
}

.brand-story__card {
    background: linear-gradient(135deg, var(--bg-dark), #2C1810);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.brand-story__stat {
    text-align: center;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    background: rgba(184, 134, 11, 0.1);
    border: 1px solid rgba(184, 134, 11, 0.2);
}

.brand-story__number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.brand-story__label {
    font-size: 0.9rem;
    color: var(--accent-light);
}


/* ══════════════════════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════════════════════ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    padding: var(--space-4xl) 0;
    text-align: center;
}

.cta-banner__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #fff;
    margin-bottom: var(--space-md);
}

.cta-banner__text {
    font-size: 1.1rem;
    color: var(--accent-light);
    max-width: 550px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}


/* ══════════════════════════════════════════════════════════════════
   PAGE HEADER / BREADCRUMB
   ══════════════════════════════════════════════════════════════════ */
.page-header {
    background: var(--bg-alt);
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--border-light);
}

.page-header--compact {
    padding: var(--space-lg) 0;
}

.page-header__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: var(--space-sm);
}

.page-header__count {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.page-header__subtitle {
    color: var(--text-secondary);
    margin-top: 4px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
}

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

.breadcrumb__sep {
    color: var(--text-light);
}

.breadcrumb__current {
    color: var(--text-secondary);
    font-weight: 500;
}


/* ══════════════════════════════════════════════════════════════════
   LISTING LAYOUT (sidebar + grid)
   ══════════════════════════════════════════════════════════════════ */
.listing-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-2xl);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-4xl);
}

.listing-main {
    min-width: 0;
}

/* Filters Sidebar */
.filters {
    position: sticky;
    top: 90px;
    align-self: start;
}

.filters__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.filters__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.filters__close {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-muted);
}

.filters__group {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-light);
}

.filters__group-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.filters__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filters__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.filters__link:hover {
    background: var(--primary-glow);
    color: var(--primary);
}

.filters__link--active {
    background: var(--primary-glow);
    color: var(--primary);
    font-weight: 600;
}

.filters__count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.filters__price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-md);
}

.filters__input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    background: var(--bg-card);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition-fast);
}

.filters__input:focus {
    border-color: var(--primary);
}

.filters__separator {
    color: var(--text-muted);
}

.filters__apply {
    width: 100%;
}

.filters__clear {
    display: block;
    text-align: center;
    padding: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.filters__clear:hover {
    background: rgba(198, 40, 40, 0.08);
    color: var(--danger);
}

/* Listing Controls */
.listing-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.listing-controls__filter-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.listing-controls__sort {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.listing-controls__sort label {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.listing-controls__select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    outline: none;
}


/* ══════════════════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════════════════ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: var(--space-3xl);
    flex-wrap: wrap;
}

.pagination__pages {
    display: flex;
    gap: 4px;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.pagination__link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination__link--current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination__link--prev,
.pagination__link--next {
    padding: 0 16px;
}


/* ══════════════════════════════════════════════════════════════════
   PRODUCT DETAIL
   ══════════════════════════════════════════════════════════════════ */
.product-detail {
    padding: var(--space-2xl) 0 var(--space-4xl);
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

/* Gallery */
.gallery__main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-alt);
    aspect-ratio: 1;
}

.gallery__main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    font-size: 5rem;
    background: linear-gradient(135deg, var(--bg-alt), var(--accent-light));
}

.gallery__placeholder p {
    font-size: 1rem;
    color: var(--text-muted);
}

.gallery__badge {
    top: 16px !important;
    left: 16px !important;
    font-size: 0.9rem !important;
    padding: 8px 16px !important;
}

.gallery__thumbs {
    display: flex;
    gap: 10px;
    margin-top: var(--space-md);
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: none;
    padding: 0;
}

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

.gallery__thumb:hover {
    border-color: var(--primary-light);
}

.gallery__thumb--active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

/* Product Info */
.product-detail__category {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.product-detail__name {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.product-detail__price-block {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
}

.product-detail__price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.product-detail__compare-price {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 10px;
}

.product-detail__discount {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 10px;
    background: rgba(198, 40, 40, 0.1);
    color: var(--danger);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
}

.product-detail__tax-note {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Stock Badge */
.product-detail__stock {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-badge--in {
    background: rgba(46, 125, 50, 0.1);
    color: var(--success);
}

.stock-badge--out {
    background: rgba(198, 40, 40, 0.1);
    color: var(--danger);
}

.stock-badge--low {
    background: rgba(245, 124, 0, 0.1);
    color: var(--warning);
    font-weight: 500;
}

.stock-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    animation: pulse-dot 2s infinite;
}

.stock-badge--in .stock-badge__dot {
    background: var(--success);
}

.stock-badge--out .stock-badge__dot {
    background: var(--danger);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Description */
.product-detail__description {
    margin-bottom: var(--space-xl);
}

.product-detail__description h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.product-detail__description p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Actions */
.product-detail__actions {
    margin-bottom: var(--space-xl);
}

/* Trust */
.product-detail__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-alt);
    border-radius: var(--radius-md);
}

.product-detail__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.product-detail__trust-item span {
    font-size: 1.1rem;
}


/* ══════════════════════════════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
}

.empty-state__icon {
    font-size: 4rem;
    display: block;
    margin-bottom: var(--space-lg);
}

.empty-state__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.empty-state__text {
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto var(--space-xl);
}


/* ══════════════════════════════════════════════════════════════════
   CONTENT PAGES (About, Privacy, etc.)
   ══════════════════════════════════════════════════════════════════ */
.content-page {
    max-width: 780px;
}

.content-page__body h2 {
    font-size: 1.4rem;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary-glow);
}

.content-page__body h2:first-child {
    margin-top: 0;
}

.content-page__body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.content-page__body ul,
.content-page__body ol {
    list-style: disc;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.content-page__body li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.content-page__cta {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
}


/* ══════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info h2,
.contact-form-wrap h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.contact-info__items {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-info__item {
    display: flex;
    gap: var(--space-md);
}

.contact-info__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info__item strong {
    display: block;
    margin-bottom: 2px;
}

.contact-info__item p {
    margin: 0;
    font-size: 0.9rem;
}

/* Form */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-card);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}


/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.footer {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-md);
}

.footer__desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__heading {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-light);
    margin-bottom: var(--space-lg);
}

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

.footer__links li {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer__links a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

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

.footer__bottom {
    padding-top: var(--space-xl);
    text-align: center;
}

.footer__bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ══════════════════════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ══════════════════════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
    animation: whatsapp-pulse 3s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__tooltip {
    position: absolute;
    right: 72px;
    background: var(--bg-dark);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.08); }
}


/* ══════════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════════ */
.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in:nth-child(2) { animation-delay: 0.15s; }
.animate-fade-in:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-in:nth-child(4) { animation-delay: 0.45s; }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .navbar__nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(253, 248, 242, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-xl);
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--transition);
        overflow-y: auto;
    }

    .navbar__nav.active {
        transform: translateX(0);
    }

    .navbar__nav .navbar__link {
        padding: 14px 16px;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__search {
        max-width: 300px;
    }

    .listing-layout {
        grid-template-columns: 1fr;
    }

    .filters {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        background: var(--bg);
        padding: var(--space-xl);
        overflow-y: auto;
    }

    .filters.active {
        display: block;
    }

    .filters__close {
        display: block;
    }

    .listing-controls__filter-btn {
        display: flex;
    }

    .brand-story__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .product-detail__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }

    .navbar__search {
        display: none;
    }

    .trust-bar__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .trust-bar__item {
        padding: var(--space-sm);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .product-card__info {
        padding: var(--space-md);
    }

    .product-card__name {
        font-size: 0.9rem;
    }

    .product-card__price-current {
        font-size: 1rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .hero {
        min-height: 70vh;
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .product-detail__trust {
        grid-template-columns: 1fr;
    }

    .gallery__thumb {
        width: 60px;
        height: 60px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .trust-bar__grid {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: 2rem;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .product-detail__price {
        font-size: 1.6rem;
    }
}

/* ─── Mobile Bottom Navigation (App-like Navigation) ──────────────── */
.mobile-bottom-nav {
    display: none; /* Hide on desktop */
}

@media (max-width: 768px) {
    body {
        padding-bottom: 75px !important; /* Extra space at the bottom for fixed nav */
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65px;
        background-color: var(--bg-card);
        border-top: 1px solid var(--border-light);
        box-shadow: 0 -4px 16px rgba(44, 24, 16, 0.08);
        z-index: 999;
        justify-content: space-around;
        align-items: center;
        padding: 5px 10px;
    }

    .mobile-bottom-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--text-secondary);
        font-size: 0.72rem;
        font-weight: 500;
        width: 25%;
        height: 100%;
        transition: all var(--transition-fast);
        gap: 2px;
    }

    .mobile-bottom-nav__icon {
        font-size: 1.3rem;
        transition: transform var(--transition-fast);
    }

    .mobile-bottom-nav__item--active {
        color: var(--primary);
        font-weight: 700;
    }

    .mobile-bottom-nav__item--active .mobile-bottom-nav__icon {
        transform: translateY(-2px) scale(1.1);
    }

    .mobile-bottom-nav__badge {
        position: absolute;
        top: -6px;
        right: -8px;
        background-color: var(--primary);
        color: white;
        font-size: 0.65rem;
        font-weight: 700;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid var(--bg-card);
        line-height: 1;
    }

    /* Move WhatsApp Float up to prevent overlapping with Bottom Nav */
    .whatsapp-float {
        bottom: 85px !important;
    }
}

/* Touch Device Click Scaling */
.btn:active,
.mobile-bottom-nav__item:active {
    transform: scale(0.96);
}

