/* ==============================================================
   TAXIN — main storefront stylesheet
   Mobile-first · black & white premium fashion system
   ============================================================== */

:root {
    --ink: #0a0a0a;
    --ink-2: #1c1c1a;
    --paper: #ffffff;
    --off: #f6f6f4;
    --off-2: #efefec;
    --line: #e5e5e2;
    --line-2: #d4d4d0;
    --mut: #6f6f6a;
    --mut-2: #9a9a94;
    --success: #1a7f37;
    --danger: #c62828;
    --warning: #9a6700;
    --info: #175cd3;
    --radius: 2px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --shadow-1: 0 1px 2px rgba(10, 10, 10, .05), 0 4px 16px rgba(10, 10, 10, .06);
    --shadow-2: 0 8px 40px rgba(10, 10, 10, .14);
    --header-h: 56px;
    --bottom-nav-h: 60px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.icon { flex-shrink: 0; }

/* ---------------- Typography ---------------- */
.display { font-family: var(--display); font-weight: 500; }
.eyebrow { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--mut); font-weight: 600; }
.h1 { font-size: clamp(30px, 6vw, 56px); }
.h2 { font-size: clamp(22px, 4vw, 34px); }
.h3 { font-size: clamp(18px, 3vw, 24px); }

/* ---------------- Layout ---------------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
main { min-height: 60vh; padding-bottom: calc(var(--bottom-nav-h) + 24px); }
.section { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head .sub { color: var(--mut); font-size: 13.5px; margin-top: 4px; }
.section-link { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 2px; white-space: nowrap; }
.section-link:hover { opacity: .6; }
@media (min-width: 768px) { .section { padding: 64px 0; } }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 12px 26px;
    background: var(--ink); color: var(--paper);
    font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    border: 1px solid var(--ink); border-radius: var(--radius);
    transition: all .22s var(--ease);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.btn-ghost:hover { background: transparent; color: var(--mut); }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 11px; }
.btn-lg { min-height: 54px; padding: 15px 36px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn.is-loading::after {
    content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent;
    border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Badges & chips ---------------- */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; white-space: nowrap; }
.badge-neutral { background: var(--off-2); color: var(--ink-2); }
.badge-success { background: #e6f4ea; color: var(--success); }
.badge-danger  { background: #fdecea; color: var(--danger); }
.badge-warning { background: #fff3d6; color: var(--warning); }
.badge-info    { background: #e7f0fe; color: var(--info); }
.badge-accent  { background: var(--ink); color: var(--paper); }
.badge-dark    { background: var(--ink); color: var(--paper); }

/* ---------------- Forms ---------------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.field .req { color: var(--danger); }
.input, select.input, textarea.input {
    width: 100%; padding: 12px 14px; background: var(--paper);
    border: 1px solid var(--line-2); border-radius: var(--radius);
    font-size: 15px; transition: border-color .2s;
    min-height: 46px;
}
.input:focus { outline: none; border-color: var(--ink); }
textarea.input { min-height: 110px; resize: vertical; }
.field-error { color: var(--danger); font-size: 12.5px; margin-top: 4px; }
.field-hint { color: var(--mut); font-size: 12.5px; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }

.checkbox { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; min-height: 44px; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--ink); flex-shrink: 0; }

/* quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; transition: background .2s; }
.qty button:hover { background: var(--off); }
.qty input { width: 46px; height: 44px; text-align: center; border: none; font-weight: 600; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------------- Announcement bar ---------------- */
.announce { background: var(--ink); color: var(--paper); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; position: relative; z-index: 60; height: 36px; display: flex; align-items: center; justify-content: center; padding: 0 12px; }
.announce p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------- Header ---------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-1); }

/* ---------------- Immersive transparent header (homepage with hero) ---------------- */
body.has-hero .site-header:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    color: #fff;
}
body.has-hero .site-header.is-scrolled {
    background: rgba(255, 255, 255, .97);
    border-bottom-color: var(--line);
}
body.has-hero .site-header:not(.is-scrolled) .header-logo img { filter: brightness(0) invert(1); }
body.has-hero .site-header:not(.is-scrolled) .header-btn { color: #fff; }
body.has-hero .site-header:not(.is-scrolled) .header-btn:hover { background: rgba(255, 255, 255, .16); }
body.has-hero .site-header:not(.is-scrolled) .cart-count { background: #fff; color: var(--ink); }
@media (min-width: 1024px) {
    body.has-hero .site-header:not(.is-scrolled) .desktop-nav > li > a { color: #fff; border-bottom-color: transparent; }
    body.has-hero .site-header:not(.is-scrolled) .desktop-nav > li > a:hover,
    body.has-hero .site-header:not(.is-scrolled) .desktop-nav > li:hover > a { border-bottom-color: #fff; }
}
.header-row { display: flex; align-items: center; gap: 6px; height: var(--header-h); }
.header-logo { font-weight: 800; letter-spacing: .34em; font-size: 17px; text-transform: uppercase; padding: 4px 2px; }
.header-logo img { height: 26px; width: auto; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.header-btn {
    position: relative; width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: 50%; transition: background .2s;
}
.header-btn:hover { background: var(--off); }
.cart-count {
    position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
    background: var(--ink); color: var(--paper); border-radius: 9px;
    font-size: 10px; font-weight: 700; display: grid; place-items: center;
    transition: transform .25s var(--ease);
}
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* desktop nav */
.desktop-nav { display: none; }
@media (min-width: 1024px) {
    :root { --header-h: 68px; }
    .header-row { gap: 20px; }
    .desktop-nav { display: flex; align-items: center; gap: 4px; }
    .desktop-nav > li > a {
        display: inline-flex; align-items: center; gap: 5px; height: 68px; padding: 0 13px;
        font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
        border-bottom: 2px solid transparent; transition: border-color .2s;
    }
    .desktop-nav > li > a:hover, .desktop-nav > li:hover > a { border-bottom-color: var(--ink); }
    .has-mega { position: relative; }
    .mega {
        position: absolute; top: 100%; left: -20px; z-index: 55;
        background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-2);
        padding: 26px 28px; display: none; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 36px;
        min-width: 480px; animation: fadeDown .25s var(--ease);
    }
    .has-mega:hover .mega, .has-mega:focus-within .mega { display: grid; }
    .mega-col h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); margin-bottom: 10px; }
    .mega-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--ink-2); transition: transform .2s, color .2s; }
    .mega-col a:hover { color: var(--ink); transform: translateX(3px); }
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(6px); } }

/* ---------------- Mobile drawer menu ---------------- */
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, .45); opacity: 0; transition: opacity .3s; }
.drawer-panel {
    position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px);
    background: var(--paper); transform: translateX(-102%);
    transition: transform .32s var(--ease); overflow-y: auto; display: flex; flex-direction: column;
}
.drawer-panel.right { left: auto; right: 0; transform: translateX(102%); }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; padding: 10px 0 30px; }
.menu-group { padding: 8px 0; border-bottom: 1px solid var(--line); }
.menu-group > a, .menu-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 18px; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.menu-toggle .icon { transition: transform .25s; color: var(--mut); }
.menu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.menu-sub { display: none; padding: 0 18px 10px; }
.menu-sub.is-open { display: block; animation: fadeIn .25s; }
.menu-sub a { display: block; padding: 9px 0 9px 12px; color: var(--ink-2); font-size: 14px; border-left: 2px solid var(--line); }
.menu-sub a:hover { border-left-color: var(--ink); }
.menu-plain { padding: 8px 0; border-bottom: 1px solid var(--line); }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------------- Search overlay ---------------- */
.search-overlay { position: fixed; inset: 0; z-index: 95; background: var(--paper); display: none; flex-direction: column; }
.search-overlay.is-open { display: flex; animation: fadeIn .2s; }
.search-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.search-bar form { flex: 1; display: flex; }
.search-bar input { flex: 1; border: none; font-size: 17px; background: transparent; padding: 12px 0; }
.search-bar input:focus { outline: none; }
.search-body { flex: 1; overflow-y: auto; padding: 18px 16px 40px; }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.search-tags a, .search-tags button { font-size: 12.5px; padding: 8px 14px; background: var(--off); border-radius: 20px; letter-spacing: .04em; }
.search-tags a:hover { background: var(--ink); color: var(--paper); }
.search-results { display: grid; gap: 12px; }
.search-result { display: flex; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.search-result img { width: 62px; height: 78px; object-fit: cover; background: var(--off); }
.search-result .sr-name { font-size: 14.5px; font-weight: 600; }
.search-result .sr-price { font-size: 13.5px; color: var(--mut); margin-top: 2px; }
.search-empty { text-align: center; color: var(--mut); padding: 48px 20px; }

/* ---------------- Bottom navigation (mobile) ---------------- */
.bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-around; align-items: stretch;
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
    height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
}
.bottom-nav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: var(--mut); font-size: 10px; font-weight: 600; letter-spacing: .04em;
    position: relative; transition: color .2s; -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}
.bottom-nav a .icon { transition: transform .25s var(--ease); }
.bottom-nav a.active { color: var(--ink); }
.bottom-nav a.active .icon { transform: translateY(-1px) scale(1.08); }
.bottom-nav a.active::before { content: ''; position: absolute; top: -4px; width: 18px; height: 2px; background: var(--ink); }
.bottom-nav a:active .icon { transform: scale(.85); }
.bottom-nav .cart-count { top: 0; right: calc(50% - 22px); }
@media (min-width: 1024px) { .bottom-nav { display: none; } main { padding-bottom: 32px; } }


/* Homepage: no bottom navigation — immersive app-like landing */
body[data-page="home"] .bottom-nav { display: none; }
body[data-page="home"] main { padding-bottom: 24px; }


/* ---------------- Hero (full screen) ---------------- */
.hero { position: relative; overflow: hidden; background: var(--ink); }
body.has-hero .hero {
    height: 100vh;
    height: 100svh;
    margin-top: calc(-1 * var(--header-h));
}
body.has-hero.has-announce .hero {
    height: calc(100vh - 36px);
    height: calc(100svh - 36px);
}
.hero-track { display: flex; height: 100%; transition: transform .55s var(--ease); }
.hero-slide { position: relative; min-width: 100%; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; will-change: transform; animation: heroZoom 16s var(--ease) infinite; }
@keyframes heroZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}
.hero-overlay { position: absolute; inset: 0; background: rgba(10, 10, 10, .35); }
.hero-content {
    position: absolute; inset: auto 0 0 0; padding: 0 20px max(84px, 11vh); color: var(--paper);
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 720px;
}
.hero-slide[data-align="center"] .hero-content { align-items: center; text-align: center; }
.hero-slide[data-align="right"] .hero-content { align-items: flex-end; text-align: right; }
.hero-kicker { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; opacity: .85; }
.hero-title { font-family: var(--display); font-size: clamp(32px, 8vw, 64px); line-height: 1.05; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.hero-desc { font-size: 14.5px; max-width: 460px; opacity: .9; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.hero-dots { position: absolute; bottom: 40px; right: 20px; display: flex; gap: 8px; z-index: 5; }
.hero-slide[data-align="right"] ~ .hero-dots, .hero-slide[data-align="center"] ~ .hero-dots { right: 20px; }
.hero-dot { width: 22px; height: 3px; background: rgba(255, 255, 255, .4); transition: background .3s, width .3s; }
.hero-dot.active { background: #fff; width: 34px; }
@media (min-width: 768px) {
    .hero-content { bottom: auto; top: 50%; transform: translateY(-50%); padding: 0 48px; }
    .hero-slide[data-align="center"] .hero-content { left: 50%; transform: translate(-50%, -50%); }
    .hero-desc { font-size: 16px; }
    .hero-dots { bottom: 28px; right: 48px; }
}

/* ---------------- Product grid & cards ---------------- */
.grid-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
@media (min-width: 768px) { .grid-products { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; } }
@media (min-width: 1024px) { .grid-products { grid-template-columns: repeat(4, 1fr); } }

.product-card { position: relative; display: flex; flex-direction: column; }
.pc-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--off); border-radius: var(--radius); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .5s; }
.pc-hover { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
    .product-card:hover .pc-media img { transform: scale(1.05); }
    .product-card:hover .pc-hover { opacity: 1; }
}
.pc-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: var(--ink); color: var(--paper); font-size: 10.5px; font-weight: 700;
    letter-spacing: .1em; padding: 4px 8px; text-transform: uppercase;
}
.pc-badge-new { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.pc-badge-oos { background: var(--mut); }
.pc-body { padding: 10px 2px 0; display: flex; flex-direction: column; gap: 2px; }
.pc-name { font-size: 13.5px; font-weight: 500; letter-spacing: .01em; }
.pc-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-card { position: relative; }
.pc-rating { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--mut); }
.pc-price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.pc-price .now { font-size: 14.5px; font-weight: 700; }
.pc-price .was { font-size: 12.5px; color: var(--mut-2); text-decoration: line-through; }
.stars { display: inline-flex; gap: 1px; color: #d9b44a; }
.stars .star.is-filled { fill: #d9b44a; color: #d9b44a; }

/* ---------------- Category & promo sections ---------------- */
.grid-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .grid-cats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.cat-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--off); border-radius: var(--radius); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); filter: saturate(.85); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .cat-label {
    position: absolute; left: 12px; bottom: 12px; right: 12px;
    background: rgba(255, 255, 255, .95); padding: 10px 14px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.promo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.promo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; opacity: .88; }
.promo-content { position: absolute; inset: auto 0 0 0; padding: 24px 20px; color: var(--paper); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.promo-content .h2 { font-family: var(--display); }
@media (min-width: 768px) { .promo img { aspect-ratio: 21 / 8; } .promo-content { inset: 0; padding: 40px; justify-content: center; } }

.brand-story { display: grid; gap: 24px; align-items: center; }
.brand-story .bs-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--off); }
.brand-story .bs-media img { width: 100%; height: 100%; object-fit: cover; }
.brand-story .bs-copy .eyebrow { margin-bottom: 12px; display: block; }
.brand-story .bs-copy p { color: var(--ink-2); }
@media (min-width: 768px) { .brand-story { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* reviews */
.review-cards { display: grid; gap: 12px; }
@media (min-width: 768px) { .review-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.review-card { border: 1px solid var(--line); padding: 20px; border-radius: var(--radius); background: var(--paper); }
.review-card .rc-title { font-weight: 600; margin: 8px 0 4px; }
.review-card p { font-size: 14px; color: var(--ink-2); }
.review-card .rc-meta { font-size: 12px; color: var(--mut); }

/* ---------------- Newsletter ---------------- */
.newsletter { background: var(--off); padding: 44px 0; border-radius: var(--radius); text-align: center; }
.newsletter form { display: flex; gap: 8px; max-width: 460px; margin: 18px auto 0; }
.newsletter input { flex: 1; }
@media (min-width: 768px) { .newsletter { padding: 64px 32px; } }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #b9b9b4; margin-top: 56px; padding: 44px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) { .site-footer { margin-top: 96px; padding-bottom: 28px; } }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer-brand .logo { color: var(--paper); font-weight: 800; letter-spacing: .34em; font-size: 19px; text-transform: uppercase; margin-bottom: 14px; display: inline-block; }
.footer-brand .logo img { height: 26px; }
.footer-brand p { font-size: 13.5px; color: #8f8f8a; max-width: 300px; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #3a3a38; border-radius: 50%; transition: all .25s; }
.footer-social a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.footer-col h4 { color: var(--paper); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: 13.5px; color: #b9b9b4; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--paper); transform: translateX(3px); }
.footer-bottom { border-top: 1px solid #2c2c2a; margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; font-size: 12px; color: #8f8f8a; }
.footer-bottom .pay-note { display: inline-flex; align-items: center; gap: 7px; }

/* ---------------- Breadcrumbs ---------------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--mut); letter-spacing: .04em; text-transform: uppercase; padding: 14px 0; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { opacity: .5; }

/* ---------------- Page heads ---------------- */
.page-head { padding: 26px 0 8px; }
.page-head h1 { font-family: var(--display); font-size: clamp(26px, 5vw, 42px); }
.page-head .sub { color: var(--mut); margin-top: 6px; font-size: 14px; }

/* ---------------- Shop: toolbar & filters ---------------- */
.shop-toolbar {
    position: sticky; top: var(--header-h); z-index: 40;
    display: flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line); padding: 8px 0;
}
.toolbar-count { font-size: 12.5px; color: var(--mut); }
.toolbar-spacer { flex: 1; }
.toolbar-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--radius); }
.toolbar-btn:hover { border-color: var(--ink); }
select.toolbar-btn { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }

.active-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 0; }
.active-filters .af { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; background: var(--off); padding: 5px 8px 5px 12px; border-radius: 20px; }
.active-filters .af:hover { background: var(--ink); color: var(--paper); }

.shop-layout { display: grid; grid-template-columns: 1fr; gap: 20px; padding-top: 18px; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 240px 1fr; gap: 40px; } }
.shop-layout > *, .co-layout > *, .cart-layout > *, .acc-layout > * { min-width: 0; max-width: 100%; }
.filters-panel { display: none; }
.drawer .filters-panel { display: block; }
@media (min-width: 1024px) { .filters-panel { display: block; position: sticky; top: calc(var(--header-h) + 60px); align-self: start; max-height: calc(100vh - 160px); overflow-y: auto; padding-right: 8px; } }
.filter-group { border-bottom: 1px solid var(--line); padding: 4px 0 16px; margin-bottom: 4px; }
.filter-group summary {
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
    font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 12px 0; list-style: none;
}
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary .icon { transition: transform .25s; color: var(--mut); }
.filter-group[open] summary .icon { transform: rotate(180deg); }
.filter-options { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-options label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 20px; cursor: pointer; transition: all .2s; min-height: 36px; }
.filter-options label:hover { border-color: var(--ink); }
.filter-options input { display: none; }
.filter-options input:checked + span { font-weight: 700; }
.filter-options label:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); }
.price-inputs { display: flex; gap: 8px; align-items: center; }
.price-inputs .input { padding: 9px 10px; min-height: 40px; }

.load-more-wrap { text-align: center; margin: 30px 0 6px; }

/* ---------------- Product page ---------------- */
.pdp { display: grid; grid-template-columns: 1fr; gap: 22px; padding-top: 8px; min-width: 0; }
@media (min-width: 1024px) { .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }
.pdp-gallery-main { position: relative; background: var(--off); aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); min-width: 0; }
.pdp-gallery-main img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: center; cursor: zoom-in; transition: transform .35s var(--ease); }
.pdp-gallery-main.is-zoomed img { transform: scale(1.9); cursor: zoom-out; }
.pdp-thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 8px; scrollbar-width: none; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumbs button { flex: 0 0 62px; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); opacity: .6; transition: all .2s; }
.pdp-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs button.active { opacity: 1; border-color: var(--ink); }
.pdp-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; max-width: 100%; }
.pdp-cat { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mut); font-weight: 600; }
.pdp-title { font-family: var(--display); font-size: clamp(24px, 5vw, 36px); }
.pdp-price { display: flex; align-items: baseline; gap: 12px; }
.pdp-price .now { font-size: 24px; font-weight: 700; }
.pdp-price .was { color: var(--mut-2); text-decoration: line-through; font-size: 17px; }
.pdp-price .save { color: var(--danger); font-size: 13px; font-weight: 700; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--mut); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.variant-group { margin-bottom: 6px; }
.variant-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; display: flex; justify-content: space-between; }
.variant-label .selected { color: var(--mut); font-weight: 500; text-transform: none; letter-spacing: 0; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.vopt {
    min-width: 48px; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; border-radius: var(--radius);
    transition: all .2s; position: relative;
}
.vopt:hover { border-color: var(--ink); }
.vopt.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.vopt.color-opt { width: 44px; height: 44px; padding: 0; border-radius: 50%; overflow: hidden; position: relative; }
.vopt.color-opt .swatch { width: 34px; height: 34px; border: none; }
.vopt.color-opt.selected { border: 2px solid var(--ink); }
.vopt.color-opt.selected::after { content: ''; position: absolute; inset: 0; border: 2px solid #fff; border-radius: 50%; }
.vopt.unavailable { opacity: .35; text-decoration: line-through; }
.pdp-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.pdp-actions .row { display: flex; gap: 10px; }
.pdp-stock { font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.pdp-stock.in { color: var(--success); } .pdp-stock.out { color: var(--danger); }
.pdp-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 1px solid var(--line); padding: 14px; border-radius: var(--radius); margin-top: 6px; }
.pdp-trust div { display: flex; gap: 9px; align-items: center; font-size: 12.5px; color: var(--ink-2); }

.pdp-tabs { margin-top: 14px; }
.pdp-tabs .tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.pdp-tabs .tab { padding: 12px 16px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); border-bottom: 2px solid transparent; white-space: nowrap; }
.pdp-tabs .tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel { display: none; padding: 16px 0; font-size: 14.5px; color: var(--ink-2); overflow-wrap: anywhere; min-width: 0; }
.tab-panel.active { display: block; animation: fadeIn .3s; }
.tab-panel table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tab-panel table td { padding: 8px 4px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.tab-panel table td:first-child { color: var(--mut); width: 40%; }

/* sticky mobile add to cart */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
    z-index: 70; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 10px 14px;
    transform: translateY(130%); transition: transform .3s var(--ease);
    display: flex; gap: 10px; align-items: center; max-width: 100%;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .sc-price { font-weight: 700; font-size: 15px; white-space: nowrap; }
.sticky-cta .btn { flex: 1; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ---------------- Cart page ---------------- */
.cart-page { padding-top: 10px; }
.cart-list { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 88px 1fr; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; position: relative; }
.cart-item img { width: 88px; height: 112px; object-fit: cover; background: var(--off); }
.ci-name { font-weight: 600; font-size: 14.5px; }
.ci-variant { font-size: 12.5px; color: var(--mut); margin: 2px 0 8px; }
.ci-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ci-price { font-weight: 700; }
.ci-remove { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--mut); border-radius: 50%; }
.ci-remove:hover { color: var(--danger); background: var(--off); }
.cart-summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 18px; }
.cart-summary h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 17px; font-weight: 700; color: var(--ink); }
.sum-row .free-tag { color: var(--success); font-weight: 600; }
.coupon-form { display: flex; gap: 8px; margin: 14px 0 4px; }
.coupon-form .input { flex: 1; text-transform: uppercase; letter-spacing: .08em; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; background: #e6f4ea; color: var(--success); font-size: 13px; padding: 9px 12px; margin-top: 8px; border-radius: var(--radius); }
.cart-cross-sell { margin-top: 34px; }
@media (min-width: 1024px) {
    .cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
    .cart-summary { position: sticky; top: calc(var(--header-h) + 20px); margin-top: 0; }
}

/* ---------------- Checkout ---------------- */
.co-layout { display: grid; grid-template-columns: 1fr; gap: 22px; padding-top: 12px; }
@media (min-width: 1024px) { .co-layout { grid-template-columns: 1fr 420px; gap: 48px; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.card-head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.card-head h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.card-head .step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.card-body { padding: 18px; }
.co-items { display: grid; gap: 12px; }
.co-item { display: flex; gap: 12px; align-items: center; }
.co-item img { width: 56px; height: 72px; object-fit: cover; background: var(--off); border-radius: var(--radius); }
.co-item .ci-name { font-size: 13.5px; }
.co-item .ci-variant { margin: 1px 0; }
.payment-option { display: flex; gap: 14px; align-items: flex-start; border: 2px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer; transition: border-color .2s; }
.payment-option.selected { border-color: var(--ink); }
.payment-option .po-check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); margin-top: 2px; display: grid; place-items: center; flex-shrink: 0; }
.payment-option.selected .po-check { border-color: var(--ink); }
.payment-option.selected .po-check::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.cod-note { display: flex; gap: 10px; background: var(--off); border-radius: var(--radius); padding: 12px 14px; font-size: 13px; color: var(--ink-2); margin-top: 14px; }
.co-sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.co-submit { margin-top: 14px; }

/* order success */
.success-hero { text-align: center; padding: 48px 16px 24px; }
.success-check { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; color: #fff; animation: popIn .5s var(--ease); }
.success-check svg { width: 38px; height: 38px; }
@keyframes popIn { 0% { transform: scale(0); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.success-order-no { font-family: var(--display); font-size: 24px; letter-spacing: .04em; margin: 4px 0; }
.success-card { max-width: 560px; margin: 20px auto 0; text-align: left; }

/* ---------------- Auth pages ---------------- */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 30px 16px 90px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .card-body { padding: 28px 22px; }
.auth-logo { text-align: center; font-weight: 800; letter-spacing: .34em; text-transform: uppercase; font-size: 20px; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--mut); font-size: 13.5px; margin-bottom: 22px; }
.auth-alt { text-align: center; font-size: 13.5px; margin-top: 18px; color: var(--mut); }
.auth-alt a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- Account ---------------- */
.acc-layout { display: grid; grid-template-columns: 1fr; gap: 20px; padding-top: 16px; }
@media (min-width: 1024px) { .acc-layout { grid-template-columns: 250px 1fr; gap: 40px; } }
.acc-side { display: none; }
@media (min-width: 1024px) { .acc-side { display: block; } .acc-side-inner { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; } }
.acc-user { padding: 20px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.acc-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.acc-user .au-name { font-weight: 700; font-size: 14.5px; }
.acc-user .au-email { font-size: 12px; color: var(--mut); word-break: break-all; }
.acc-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 20px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line); transition: all .2s; }
.acc-nav a:hover { background: var(--off); color: var(--ink); }
.acc-nav a.active { background: var(--ink); color: var(--paper); font-weight: 700; }
.acc-nav a .icon { color: var(--mut); }
.acc-nav a.active .icon { color: var(--paper); }
.acc-nav a.danger { color: var(--danger); }
.acc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.acc-head h1 { font-family: var(--display); font-size: clamp(24px, 4vw, 34px); }
.acc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .acc-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.stat-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat-card .sc-num { font-size: 24px; font-weight: 800; margin-top: 6px; }
.stat-card .sc-label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); font-weight: 600; display: flex; align-items: center; gap: 8px; }

/* order list */
.order-list { display: grid; gap: 12px; }
.order-row { border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; transition: border-color .2s; }
.order-row:hover { border-color: var(--ink); }
.order-row .or-no { font-weight: 700; font-size: 14px; }
.order-row .or-date { font-size: 12px; color: var(--mut); }
.order-row .or-total { font-weight: 700; margin-left: auto; }
.order-thumbs { display: flex; gap: 6px; }
.order-thumbs img { width: 40px; height: 52px; object-fit: cover; border-radius: 2px; background: var(--off); }

/* timeline */
.timeline { position: relative; margin: 8px 0 8px 6px; padding-left: 26px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-step { position: relative; padding: 0 0 22px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -26px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2); z-index: 1; }
.tl-step.done .tl-dot { background: var(--ink); border-color: var(--ink); }
.tl-step.current .tl-dot { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 10, 10, .12); }
.tl-step.current .tl-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); position: absolute; inset: 2px; }
.tl-name { font-size: 13.5px; font-weight: 700; }
.tl-step:not(.done):not(.current) .tl-name { color: var(--mut-2); font-weight: 500; }
.tl-date { font-size: 12px; color: var(--mut); }

/* address cards */
.address-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .address-grid { grid-template-columns: 1fr 1fr; } }
.address-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: relative; }
.address-card .ac-default { position: absolute; top: 12px; right: 12px; }
.address-card p { margin: 0 0 4px; font-size: 13.5px; color: var(--ink-2); }
.address-card .ac-name { font-weight: 700; color: var(--ink); }

/* empty states */
.empty-state { text-align: center; padding: 60px 20px; color: var(--mut); }
.empty-state .icon { margin: 0 auto 14px; opacity: .4; }
.empty-state h3 { color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.empty-state .btn { margin-top: 18px; }

/* ---------------- CMS / contact ---------------- */
.prose { max-width: 760px; margin: 0 auto; padding: 26px 0 40px; }
.prose h2 { font-family: var(--display); font-size: 26px; margin: 34px 0 12px; }
.prose h3 { font-size: 19px; margin: 26px 0 10px; }
.prose p, .prose ul { color: var(--ink-2); font-size: 15.5px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li { margin: 6px 0; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding: 20px 0 50px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info-item .icon { margin-top: 3px; color: var(--mut); }

/* ---------------- Toasts ---------------- */
.toast-region { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--bottom-nav-h) + 16px + env(safe-area-inset-bottom, 0px)); z-index: 200; display: flex; flex-direction: column; gap: 8px; width: min(94vw, 420px); }
@media (min-width: 1024px) { .toast-region { bottom: 24px; } }
.toast {
    display: flex; align-items: center; gap: 10px;
    background: var(--ink); color: var(--paper);
    padding: 13px 16px; border-radius: var(--radius); font-size: 13.5px;
    box-shadow: var(--shadow-2); animation: toastIn .3s var(--ease);
}
.toast.leaving { animation: toastOut .25s forwards; }
.toast .icon { flex-shrink: 0; }
.toast-success .icon { color: #7ee2a8; }
.toast-error .icon { color: #ff9d9d; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ---------------- Modal ---------------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(10, 10, 10, .55); display: none; align-items: flex-end; justify-content: center; }
@media (min-width: 640px) { .modal-backdrop { align-items: center; } }
.modal-backdrop.is-open { display: flex; animation: fadeIn .2s; }
.modal {
    background: var(--paper); width: 100%; max-width: 480px; border-radius: 6px 6px 0 0;
    max-height: 88vh; overflow-y: auto; animation: sheetUp .3s var(--ease);
}
@media (min-width: 640px) { .modal { border-radius: 6px; animation: popIn .25s var(--ease); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); }
.modal-head h3 { font-size: 15px; font-weight: 700; }
.modal-body { padding: 20px; }
.modal-foot { display: flex; gap: 10px; padding: 0 20px 20px; }
@keyframes sheetUp { from { transform: translateY(60px); opacity: 0; } }

/* ---------------- Skeletons ---------------- */
.skeleton { position: relative; overflow: hidden; background: var(--off-2); border-radius: var(--radius); }
.skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------------- Star input ---------------- */
.stars-input { cursor: pointer; }
.stars-input .star { padding: 3px; transition: transform .15s; }
.stars-input .star:hover { transform: scale(1.2); }

/* ---------------- Pagination ---------------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; border-radius: var(--radius); padding: 0 8px; }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }

/* ---------------- Flash messages ---------------- */
.flash { padding: 13px 16px; border-radius: var(--radius); font-size: 14px; margin: 12px 0; display: flex; gap: 10px; align-items: flex-start; }
.flash-success { background: #e6f4ea; color: #14532d; }
.flash-error { background: #fdecea; color: var(--danger); }
.flash-info { background: #e7f0fe; color: var(--info); }
