/* ============================
   Selekta — Maison de sélection
   Luxe éditorial · esprit togolais
   Encre chaude / Ivoire / Or
   Touches : vert, or et rouge du drapeau,
   motif inspiré du kenté ewe
   ============================ */

:root {
    --ink: #15100B;
    --ink-soft: #231A11;
    --ivory: #F9F3E8;
    --ivory-deep: #F0E6D2;
    --paper: #FFFDF8;
    --gold: #C49A3A;
    --gold-deep: #8F6B1E;
    --gold-light: #EBD9A8;
    --stone: #6E6455;
    --stone-light: #9C927F;
    --line: #E6DAC2;
    --line-dark: rgba(255, 244, 220, .14);

    --togo-green: #0A5C3A;
    --togo-green-deep: #07442B;
    --togo-gold: #E0AE2F;
    --togo-red: #B3202E;

    --color-success: #0A5C3A;
    --color-warning: #9A6B10;
    --color-danger: #B3202E;
    --color-info: #3E5A78;

    --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

    --max-width: 1240px;
    --nav-h: 76px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --track: .18em;

    /* Motif kenté : bandes tissées + sergé */
    --kente:
        repeating-linear-gradient(45deg, rgba(21, 16, 11, .30) 0 2px, transparent 2px 8px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, .16) 0 2px, transparent 2px 8px),
        repeating-linear-gradient(90deg,
            var(--togo-green) 0 30px,
            var(--togo-gold) 30px 38px,
            var(--togo-red) 38px 68px,
            var(--ink) 68px 74px,
            var(--togo-gold) 74px 82px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    background: var(--ivory);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a { color: var(--ink); text-decoration: none; transition: color .25s; }
a:hover { color: var(--togo-green); }
img { max-width: 100%; display: block; }
::selection { background: var(--togo-green); color: var(--gold-light); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
main.page-shell { min-height: calc(100vh - 260px); }

/* ---- Kenté ---- */
.kente-bar { height: 10px; background: var(--kente); }
.kente-top { height: 6px; background: var(--kente); }

/* ---- Motion ---- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes glow { 0%, 100% { opacity: .7; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.05); } }
@keyframes line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes weave { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 0 0, 0 0, 164px 0; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Navbar ---- */
.navbar {
    background: rgba(249, 243, 232, .9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.navbar-brand { display: flex; align-items: baseline; flex-shrink: 0; color: var(--ink); }
.navbar-brand:hover { color: var(--ink); }
.brand-icon { display: none; }
.brand-text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.7rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    padding-left: .32em;
}
.navbar-links { display: flex; align-items: center; gap: 10px 32px; flex-wrap: wrap; justify-content: flex-end; }
.navbar-links > a:not(.btn) {
    color: var(--ink);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: var(--track);
    position: relative;
    padding: 6px 0;
}
.navbar-links > a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--kente);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.navbar-links > a:not(.btn):hover { color: var(--ink); }
.navbar-links > a:not(.btn):hover::after { transform: scaleX(1); }

.user-menu { display: flex; align-items: center; gap: 12px; padding-left: 24px; border-left: 1px solid var(--line); }
.user-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold-deep);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 600;
}
.user-name { font-size: .72rem; text-transform: uppercase; letter-spacing: var(--track); color: var(--stone); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: var(--track);
    border: 1px solid var(--ink);
    border-radius: 0;
    cursor: pointer;
    background: transparent;
    color: var(--ink);
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
    line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-primary:hover { background: var(--togo-green); border-color: var(--togo-green); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-danger { background: transparent; color: var(--togo-red); border-color: rgba(179, 32, 46, .45); }
.btn-danger:hover { background: var(--togo-red); color: #fff; border-color: var(--togo-red); }
.btn-whatsapp { background: transparent; color: var(--togo-green); border-color: var(--togo-green); }
.btn-whatsapp:hover { background: var(--togo-green); color: #fff; border-color: var(--togo-green); }
.btn-sm { padding: 10px 20px; font-size: .66rem; }
.btn-lg { padding: 18px 44px; }
.btn-full { width: 100%; }

/* ---- Hero ---- */
.hero {
    position: relative;
    isolation: isolate;
    min-height: min(90vh, 780px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: var(--ivory);
    background: var(--ink);
}
/* soleil couchant sur l'horizon de Lomé */
.hero::before {
    content: "";
    position: absolute;
    left: 50%; bottom: -46%;
    width: min(110vw, 1100px);
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    z-index: -1;
    background: radial-gradient(circle, rgba(224, 174, 47, .55) 0%, rgba(196, 154, 58, .24) 38%, transparent 66%);
    animation: glow 10s ease-in-out infinite;
}
.hero-visual {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 50% 45% at 50% 30%, rgba(196, 154, 58, .14), transparent 70%),
        linear-gradient(180deg, #15100B 0%, #1D140B 100%);
}
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(224, 174, 47, .08) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(224, 174, 47, .08) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 0%, transparent 78%);
            mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 0%, transparent 78%);
}
.hero-visual::after {
    content: "";
    position: absolute;
    inset: 28px 28px 38px;
    border: 1px solid rgba(224, 174, 47, .26);
    pointer-events: none;
}
.hero-content {
    width: 100%;
    max-width: 900px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 96px 32px 56px;
    animation: rise 1.1s var(--ease) both;
}
.hero-eyebrow {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .42em;
    color: var(--togo-gold);
    margin-bottom: 34px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
    content: "";
    width: 48px; height: 1px;
    background: var(--togo-gold);
    opacity: .7;
    animation: line-grow 1.4s var(--ease) .3s both;
}
.hero-brand {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3.4rem, 10vw, 7.5rem);
    letter-spacing: .26em;
    padding-left: .26em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 28px;
}
.hero-headline {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.5rem, 3.2vw, 2.3rem);
    line-height: 1.3;
    color: var(--gold-light);
    max-width: 24ch;
    margin: 0 auto 20px;
}
.hero-tagline { font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(249, 243, 232, .55); margin-bottom: 48px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero .btn-primary { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.hero .btn-primary:hover { background: var(--togo-gold); border-color: var(--togo-gold); color: var(--ink); }
.hero .btn-outline { color: var(--ivory); border-color: rgba(249, 243, 232, .4); }
.hero .btn-outline:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.hero-cities {
    padding: 0 24px 40px;
    font-size: .64rem;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: rgba(235, 217, 168, .6);
    display: flex;
    gap: 10px 22px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-cities span + span::before { content: "◆"; font-size: .5rem; color: var(--togo-gold); margin-right: 22px; vertical-align: middle; }
.hero-band { width: 100%; height: 14px; background: var(--kente); animation: weave 14s linear infinite; }

/* ---- Sections ---- */
.section { padding: 96px 0 24px; animation: rise .9s var(--ease) both; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow { display: block; font-size: .68rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    text-align: center;
    margin-bottom: 14px;
}
.section-title::after { content: ""; display: block; width: 84px; height: 6px; background: var(--kente); margin: 24px auto 0; }
.section-lead { text-align: center; color: var(--stone); font-weight: 300; max-width: 48ch; margin: 0 auto 56px; }
.section-more { text-align: center; margin-top: 56px; }

.page-header {
    padding: 72px 0 52px;
    text-align: center;
    border-bottom: 1px solid var(--line);
    margin-bottom: 56px;
    position: relative;
    animation: rise .8s var(--ease) both;
}
.page-header::after { content: ""; position: absolute; left: 50%; bottom: -3px; transform: translateX(-50%); width: 96px; height: 6px; background: var(--kente); }
.page-header h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; margin-bottom: 14px; }
.page-header p { color: var(--stone); font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; }

/* ---- Categories ---- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    counter-reset: cat;
}
.category-card {
    counter-increment: cat;
    position: relative;
    padding: 44px 28px 36px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background .5s var(--ease);
    overflow: hidden;
}
.category-card::before {
    content: "0" counter(cat);
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: .12em;
    margin-bottom: 40px;
}
.category-card::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 6px;
    background: var(--kente);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .45s var(--ease);
}
.category-card:hover { background: var(--togo-green-deep); text-decoration: none; }
.category-card:hover::after { transform: scaleY(1); }
.category-card:hover .category-name { color: var(--ivory); }
.category-card:hover .category-count { color: var(--togo-gold); }
.category-icon { display: none; }
.category-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; line-height: 1.15; color: var(--ink); transition: color .5s; }
.category-count { font-size: .66rem; text-transform: uppercase; letter-spacing: .22em; color: var(--stone-light); transition: color .5s; }

/* ---- Product Cards ---- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 56px 32px; }
.product-card { display: block; color: var(--ink); background: transparent; border: none; overflow: hidden; }
.product-card:hover { color: var(--ink); text-decoration: none; }
.product-card-media { overflow: hidden; display: block; position: relative; }
.product-card-media::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 6px;
    background: var(--kente);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s var(--ease);
}
.product-card:hover .product-card-media::after { transform: scaleX(1); }
.product-card-image, .product-card-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
    background: var(--ivory-deep);
}
.product-card-image { transition: transform 1.2s var(--ease); }
/* motif en losanges façon pagne, pour les produits sans photo */
.product-card-image-placeholder, .product-image-placeholder {
    background:
        radial-gradient(circle at 50% 46%, rgba(224, 174, 47, .38), transparent 52%),
        linear-gradient(45deg, rgba(143, 107, 30, .16) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(143, 107, 30, .16) 1px, transparent 1px),
        linear-gradient(160deg, #F3E9D3, #E8D9B8);
    background-size: auto, 26px 26px, 26px 26px, auto;
    position: relative;
}
.product-card-image-placeholder::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(143, 107, 30, .35);
}
.product-card:hover .product-card-image { transform: scale(1.05); }
.product-card-body { padding: 22px 0 0; text-align: center; }
.product-card-category { font-size: .64rem; color: var(--togo-green); text-transform: uppercase; letter-spacing: .3em; font-weight: 500; }
.product-card-name { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.2; margin: 8px 0 6px; }
.product-card-store { font-size: .68rem; text-transform: uppercase; letter-spacing: .2em; color: var(--stone-light); }
.product-card-footer { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 14px; }
.product-card-price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--gold-deep); letter-spacing: .04em; }

/* ---- Store Cards ---- */
.stores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.store-card { display: block; padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); transition: background .5s var(--ease); }
.store-card:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
.store-card-body { display: flex; align-items: center; gap: 24px; }
.store-card-logo {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold-deep);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    flex-shrink: 0;
    text-transform: uppercase;
    transition: background .5s, color .5s, border-color .5s;
}
.store-card:hover .store-card-logo { background: var(--togo-green); color: var(--gold-light); border-color: var(--togo-green); }
.store-card-info h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; line-height: 1.15; }
.store-card-location, .store-card-count { font-size: .66rem; text-transform: uppercase; letter-spacing: .22em; color: var(--stone-light); margin-top: 6px; }
.store-card-location { color: var(--togo-green); }

/* ---- Piliers ---- */
.pillars { counter-reset: pillar; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--paper); }
.pillar { counter-increment: pillar; padding: 44px 32px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.pillar::before { content: "0" counter(pillar); display: block; font-family: var(--font-display); font-size: 1rem; color: var(--gold); letter-spacing: .12em; margin-bottom: 28px; }
.pillar h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.15; margin-bottom: 12px; }
.pillar p { color: var(--stone); font-weight: 300; font-size: .95rem; }

/* ---- Bandeau créateurs ---- */
.cta-band { position: relative; margin-top: 112px; background: var(--ink); color: var(--ivory); text-align: center; overflow: hidden; }
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 120%, rgba(224, 174, 47, .30), transparent 65%),
        linear-gradient(45deg, rgba(224, 174, 47, .06) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(224, 174, 47, .06) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
}
.cta-band-inner { position: relative; padding: 104px 32px; max-width: 760px; margin: 0 auto; }
.cta-band .section-eyebrow { color: var(--togo-gold); }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.12; margin-bottom: 18px; }
.cta-band h2 em { font-style: italic; color: var(--gold-light); }
.cta-band p { color: rgba(249, 243, 232, .6); font-weight: 300; margin-bottom: 40px; }
.cta-band .btn-primary { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.cta-band .btn-primary:hover { background: var(--togo-gold); border-color: var(--togo-gold); color: var(--ink); }

/* ---- Product Detail ---- */
.breadcrumb { padding: 28px 0 0; font-size: .66rem; text-transform: uppercase; letter-spacing: .22em; color: var(--stone-light); }
.breadcrumb a { color: var(--stone); }
.breadcrumb a:hover { color: var(--togo-green); }

.product-detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; padding: 48px 0 96px; align-items: start; animation: rise .9s var(--ease) both; }
.product-gallery { display: grid; gap: 16px; }
.product-image { width: 100%; background: var(--ivory-deep); }
.product-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-deep);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
}
.product-info { position: sticky; top: calc(var(--nav-h) + 32px); }
.product-info h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.08; margin-bottom: 22px; }
.product-price { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.price-current { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; letter-spacing: .03em; color: var(--gold-deep); }
.price-old { font-size: 1rem; color: var(--stone-light); text-decoration: line-through; margin-left: 16px; }
.product-description-short { color: var(--stone); font-weight: 300; font-size: 1.05rem; margin-bottom: 32px; }
.product-meta { margin-bottom: 36px; border-top: 1px solid var(--line); }
.meta-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.meta-label { font-size: .66rem; text-transform: uppercase; letter-spacing: .24em; color: var(--stone-light); }
.product-description-long { font-weight: 300; color: var(--stone); line-height: 1.95; max-width: 62ch; }
.product-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---- Store Page ---- */
.store-header { padding: 80px 0 56px; text-align: center; border-bottom: 1px solid var(--line); margin-bottom: 64px; position: relative; }
.store-header::after { content: ""; position: absolute; left: 50%; bottom: -3px; transform: translateX(-50%); width: 96px; height: 6px; background: var(--kente); }
.store-header h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 18px; }
.store-description { color: var(--stone); font-weight: 300; margin: 0 auto 16px; max-width: 56ch; }
.store-meta { font-size: .68rem; text-transform: uppercase; letter-spacing: .26em; color: var(--togo-green); }

/* ---- Badges ---- */
.badge { display: inline-block; padding: 4px 12px; border: 1px solid currentColor; border-radius: 0; font-size: .6rem; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; background: transparent; }
.badge-success { color: var(--togo-green); }
.badge-warning { color: var(--color-warning); }
.badge-danger { color: var(--togo-red); }
.badge-muted { color: var(--stone-light); }
.badge-info { color: var(--color-info); }

/* ---- Auth ---- */
.auth-page { display: flex; justify-content: center; padding: 88px 0 120px; animation: rise .9s var(--ease) both; }
.auth-card { background: var(--paper); padding: 72px 56px 56px; width: 100%; max-width: 500px; border: 1px solid var(--line); position: relative; }
.auth-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--kente); }
.auth-card h1 { font-family: var(--font-display); font-weight: 400; font-size: 2.5rem; text-align: center; line-height: 1.1; margin-bottom: 10px; }
.auth-subtitle { text-align: center; color: var(--stone); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 44px; }
.auth-link { text-align: center; margin-top: 32px; font-size: .85rem; color: var(--stone); }
.auth-link a { color: var(--ink); border-bottom: 1px solid var(--togo-gold); padding-bottom: 1px; }

/* ---- Forms ---- */
.form-group { margin-bottom: 26px; }
.form-group label { display: block; font-size: .64rem; font-weight: 500; text-transform: uppercase; letter-spacing: .24em; color: var(--stone); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink);
    transition: border-color .3s;
}
.form-group textarea { resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--stone-light); font-weight: 300; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-bottom-color: var(--togo-green); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-card { background: var(--paper); border: 1px solid var(--line); padding: 48px; max-width: 680px; position: relative; }
.form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--kente); }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 36px; }
.checkbox-label { display: flex !important; align-items: center; gap: 12px; cursor: pointer; text-transform: none !important; letter-spacing: .02em !important; font-size: .9rem !important; }
.checkbox-label input[type="checkbox"] { width: auto; accent-color: var(--togo-green); }
.form-hint { font-size: .78rem; color: var(--stone-light); margin-top: 8px; font-weight: 300; }

/* ---- Alerts ---- */
.alert { padding: 16px 22px; font-size: .88rem; margin-bottom: 28px; border: 1px solid; border-left-width: 3px; background: var(--paper); }
.alert-error { color: var(--togo-red); border-color: var(--togo-red); }
.alert-info { color: var(--color-info); border-color: var(--color-info); }
.alert-success { color: var(--togo-green); border-color: var(--togo-green); }

/* ---- Tables ---- */
.table-container { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
.table th, .table td { padding: 20px 24px; text-align: left; font-size: .9rem; }
.table th { font-size: .62rem; font-weight: 500; text-transform: uppercase; letter-spacing: .24em; color: var(--stone); background: var(--ivory); border-bottom: 1px solid var(--line); }
.table td { border-bottom: 1px solid var(--line); font-weight: 300; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background .3s; }
.table tbody tr:hover { background: var(--ivory); }
.table-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---- Admin / Stats ---- */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 64px; background: var(--paper); }
.stat-card { padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.stat-value { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; line-height: 1.05; color: var(--togo-green); }
.stat-label { display: block; margin-top: 12px; font-size: .62rem; text-transform: uppercase; letter-spacing: .26em; color: var(--stone-light); }
.stat-card-warning .stat-value { color: var(--gold-deep); }

.review-card { background: var(--paper); border: 1px solid var(--line); padding: 48px; max-width: 680px; position: relative; }
.review-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--kente); }
.review-card h1 { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; margin-bottom: 32px; }
.review-details { margin-bottom: 40px; }
.detail-row { margin-bottom: 22px; }
.detail-label { display: block; margin-bottom: 4px; font-size: .62rem; text-transform: uppercase; letter-spacing: .24em; color: var(--stone-light); }

/* ---- Dashboard ---- */
.dashboard-store-card { background: var(--ink); color: var(--ivory); padding: 44px 48px 52px; margin-bottom: 40px; position: relative; overflow: hidden; }
.dashboard-store-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--kente); }
.dashboard-store-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.dashboard-store-header h2 { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; }
.dashboard-store-card p { color: rgba(249, 243, 232, .65); font-weight: 300; margin-bottom: 18px; }
.dashboard-store-meta { display: flex; gap: 24px; font-size: .66rem; text-transform: uppercase; letter-spacing: .22em; color: var(--togo-gold); }
.dashboard-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

/* ---- Catalogue Layout ---- */
.catalogue-layout { display: grid; grid-template-columns: 250px 1fr; gap: 72px; padding-bottom: 96px; }
.catalogue-filters { align-self: start; position: sticky; top: calc(var(--nav-h) + 32px); padding-right: 8px; }
.filter-group { margin-bottom: 28px; }
.filter-group label { display: block; font-size: .62rem; text-transform: uppercase; letter-spacing: .26em; color: var(--stone); margin-bottom: 8px; }
.filter-group input, .filter-group select { width: 100%; padding: 10px 0; border: none; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-family: var(--font-body); font-size: .95rem; font-weight: 300; color: var(--ink); }
.filter-group input:focus, .filter-group select:focus { outline: none; border-bottom-color: var(--togo-green); }

/* ---- Pagination ---- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 64px 0 0; }
.pagination-info { font-size: .66rem; text-transform: uppercase; letter-spacing: .26em; color: var(--stone); }

/* ---- Empty State ---- */
.empty-state { text-align: center; padding: 96px 20px; animation: fade .6s ease both; }
.empty-state h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; margin-bottom: 12px; }
.empty-state p { color: var(--stone); font-weight: 300; margin-bottom: 32px; }

/* ---- Footer ---- */
.footer { background: var(--ink); color: var(--ivory); margin-top: 120px; }
.footer-flush { margin-top: 0; }
.footer .container { padding-top: 88px; padding-bottom: 36px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; padding-bottom: 56px; margin-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand-icon { display: none; }
.footer-brand > span:not(.brand-icon) { font-family: var(--font-display); font-size: 2rem; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; }
.footer-tagline { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--togo-gold); }
.footer-links { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 10px; }
.footer-links a { color: rgba(249, 243, 232, .7); font-size: .68rem; text-transform: uppercase; letter-spacing: .24em; }
.footer-links a:hover { color: var(--togo-gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(249, 243, 232, .42); }
.footer-bottom p { margin: 0; }
.footer-akpe { font-family: var(--font-display); font-style: italic; font-size: 1rem; letter-spacing: .06em; text-transform: none; color: var(--gold-light); }

/* ---- Cart / Checkout ---- */
.cart-table th, .cart-table td { padding: 24px; }
.cart-item-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.cart-item-store { font-size: .64rem; text-transform: uppercase; letter-spacing: .2em; color: var(--stone-light); }
.cart-summary { background: var(--paper); border: 1px solid var(--line); padding: 40px 44px; margin-top: 40px; position: relative; }
.cart-summary::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--kente); }
.cart-summary-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .68rem; text-transform: uppercase; letter-spacing: .26em; color: var(--stone); }
.cart-total { font-family: var(--font-display); font-size: 2rem; font-weight: 600; letter-spacing: .03em; text-transform: none; color: var(--gold-deep); }
.cart-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; justify-content: flex-end; }

.checkout-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; padding-bottom: 96px; align-items: start; }
.checkout-layout .form-card { max-width: none; }
.checkout-layout .section-title { text-align: left; font-size: 2rem; }
.checkout-layout .section-title::after { margin-left: 0; }
.checkout-line { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checkout-line-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.checkout-total-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 24px; font-size: .68rem; text-transform: uppercase; letter-spacing: .26em; color: var(--stone); }

/* ---- Orders ---- */
.order-status-form { display: inline-flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.order-status-form select { padding: 10px 14px; border: 1px solid var(--line); background: var(--paper); font-family: var(--font-body); font-size: .9rem; }
.order-summary-card { background: var(--paper); border: 1px solid var(--line); padding: 40px 44px; margin-bottom: 48px; position: relative; }
.order-summary-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--kente); }
.order-summary-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; margin-bottom: 24px; }
.order-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.order-info-label { display: block; margin-bottom: 4px; font-size: .62rem; text-transform: uppercase; letter-spacing: .24em; color: var(--stone-light); }
.order-info-value { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.order-note { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.order-note p { font-weight: 300; color: var(--stone); }

h2 { font-family: var(--font-display); font-weight: 400; }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
    .product-detail { grid-template-columns: 1fr; gap: 40px; }
    .product-info, .catalogue-filters { position: static; }
    .catalogue-layout { grid-template-columns: 1fr; gap: 40px; }
    .checkout-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .navbar-inner { height: auto; min-height: var(--nav-h); padding: 14px 0; flex-wrap: wrap; justify-content: center; }
    .navbar-links { justify-content: center; gap: 8px 20px; }
    .brand-text { font-size: 1.4rem; }
    .user-menu { border-left: none; padding-left: 0; }
    .user-name { display: none; }
    .hero { min-height: 84vh; }
    .hero-visual::after { inset: 14px 14px 24px; }
    .hero-content { padding: 72px 24px 48px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-cities { letter-spacing: .2em; }
    .section { padding-top: 64px; }
    .form-row, .order-info-grid { grid-template-columns: 1fr; }
    .form-card, .auth-card, .review-card, .order-summary-card, .cart-summary { padding: 36px 24px; }
    .footer-inner { flex-direction: column; }
    .dashboard-store-card { padding: 32px 24px 40px; }
    .table th, .table td { padding: 14px 12px; }
    .cta-band-inner { padding: 72px 24px; }
    .contact-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
}

/* ── Static pages ── */
.content-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 48px 40px;
    margin-bottom: 40px;
}
.content-section { margin-bottom: 40px; }
.content-section:last-child { margin-bottom: 0; }
.content-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--ink);
}
.content-section p {
    line-height: 1.8;
    color: var(--stone);
    max-width: 680px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}
.step-card {
    background: var(--ivory);
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--paper);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--ink);
}
.step-card p {
    font-size: .9rem;
    color: var(--stone);
    line-height: 1.6;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
}
.contact-info h2, .contact-form-wrapper h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--ink);
}
.contact-item {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--stone-light);
}
.contact-item a {
    color: var(--gold-deep);
    text-decoration: none;
}
.contact-item a:hover { text-decoration: underline; }
