/* SheinCode — Phase 1 design system
   Editorial fashion: white / black / neutral grey. Fraunces (display serif) + Inter (sans).
   Hand-written, no build step. Mobile-first. */

:root {
    --ink: #111111;
    --ink-soft: #3d3d3d;
    --grey: #6f6f6f;
    --grey-light: #ececec;
    --grey-bg: #f6f6f4;
    --line: #e2e2de;
    --paper: #ffffff;
    --accent: #111111;
    --success-bg: #eef7ee;
    --success-ink: #1e5b23;
    --error-bg: #fdeeee;
    --error-ink: #8c1f1f;
    --serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
a { color: var(--ink); }
.text-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: block; border-radius: 4px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-name em { font-style: italic; font-weight: 400; }
.brand-name.light { color: #fff; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
    text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-soft);
    padding: 7px 10px; border-radius: 999px;
}
.main-nav a:hover { color: var(--ink); background: var(--grey-bg); }
.main-nav a.active { color: #fff; background: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; text-decoration: none; font-weight: 600; font-size: .95rem;
    padding: 12px 22px; border-radius: 999px; border: 1px solid var(--ink); cursor: pointer;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--grey-bg); }
.btn-small { padding: 7px 14px; font-size: .85rem; }
.btn-block { width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); text-align: left; }
.hero-eyebrow, .section-eyebrow {
    text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700; color: var(--grey); margin: 0 0 14px;
}
.hero-title { font-size: clamp(2.6rem, 7.2vw, 4.6rem); margin: 0 0 20px; font-weight: 600; }
.hero-title em { font-style: italic; font-weight: 400; }
.hero-sub { font-size: 1.13rem; color: var(--ink-soft); max-width: 640px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: .88rem; color: var(--grey); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-grey { background: var(--grey-bg); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 10px; }
.section-sub { color: var(--ink-soft); margin: 0; }
.section-foot { margin-top: 22px; }

/* ---------- Page hero (section pages) ---------- */
.page-hero { padding: 56px 0 8px; }
.page-hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.2rem); margin: 0 0 14px; }
.page-sub { color: var(--ink-soft); max-width: 700px; font-size: 1.08rem; }

/* ---------- Coupon cards ---------- */
.coupon-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 820px) { .coupon-grid { grid-template-columns: repeat(3, 1fr); } }
.coupon-card {
    border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: #fff;
    display: flex; flex-direction: column; gap: 8px; position: relative;
}
.coupon-card.featured { border: 2px solid var(--ink); }
.coupon-flag {
    position: absolute; top: -11px; left: 18px; background: var(--ink); color: #fff;
    font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    padding: 3px 10px; border-radius: 999px; margin: 0;
}
.coupon-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 700; color: var(--grey); margin: 0; }
.coupon-code { font-family: var(--serif); font-size: 2rem; font-weight: 700; letter-spacing: .04em; margin: 0; }
.coupon-title { font-size: 1.05rem; margin: 0; font-family: var(--sans); font-weight: 600; }
.coupon-blurb { color: var(--ink-soft); font-size: .94rem; margin: 0; }
.coupon-terms { margin: 6px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: .88rem; }
.coupon-checked { margin: auto 0 0; padding-top: 12px; font-size: .85rem; font-weight: 600; color: var(--success-ink); }

/* ---------- Tiers / fine print ---------- */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 26px; }
@media (min-width: 820px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier { border: 1px dashed #b9b9b3; border-radius: 12px; padding: 18px 14px; text-align: center; background: #fff; }
.tier span { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; }
.fine-print { color: var(--ink-soft); font-size: .95rem; padding-left: 20px; }
.fine-print li { margin-bottom: 8px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.step-num {
    font-family: var(--serif); font-size: 1.5rem; font-weight: 700; line-height: 1;
    border: 1px solid var(--ink); border-radius: 999px; width: 42px; height: 42px; flex: none;
    display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin: 0 0 6px; font-size: 1.05rem; font-family: var(--sans); font-weight: 600; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 10px 12px; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); }
.at-a-glance { margin-top: 40px; }

/* ---------- Collections / guides ---------- */
.collection-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 8px; }
@media (min-width: 820px) { .collection-grid { grid-template-columns: 1fr 1fr; } }
.collection-card {
    display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: #fff;
}
.collection-card:hover { border-color: var(--ink); }
.collection-card.muted { background: var(--grey-bg); color: var(--ink-soft); }
.collection-season { text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 700; color: var(--grey); margin: 0 0 8px; }
.collection-card h3 { margin: 0 0 8px; font-size: 1.35rem; }
.collection-card p { margin: 0 0 8px; color: var(--ink-soft); font-size: .95rem; }
.collection-status { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink) !important; }
.guide-list { display: grid; gap: 18px; }
.guide-card { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: #fff; }
.guide-card.muted { background: var(--grey-bg); }
.guide-card h2 { margin: 0 0 8px; font-size: 1.4rem; }
.guide-card h2 a { text-decoration: none; }
.guide-card h2 a:hover { text-decoration: underline; }
.guide-card p { color: var(--ink-soft); margin: 0 0 10px; }

/* ---------- Empty states ---------- */
.empty-state { border: 1px solid var(--line); border-radius: 14px; padding: 30px; background: #fff; }
.empty-state .empty-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin: 0 0 8px; }
.empty-state p { color: var(--ink-soft); margin: 0 0 14px; max-width: 640px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--ink); color: #fff; padding: 56px 0; }
.newsletter h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.newsletter p { color: #cfcfc9; margin: 0; max-width: 520px; }
.newsletter .section-eyebrow { color: #9a9a93; }
.newsletter-inner { display: grid; gap: 26px; }
@media (min-width: 820px) { .newsletter-inner { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
    flex: 1 1 240px; padding: 13px 16px; border-radius: 999px; border: 1px solid #444;
    background: #1c1c1c; color: #fff; font-size: .95rem; font-family: var(--sans);
}
.newsletter-form input::placeholder { color: #8b8b84; }
.newsletter-form button {
    padding: 13px 24px; border-radius: 999px; border: 1px solid #fff; background: #fff; color: var(--ink);
    font-weight: 700; font-size: .95rem; cursor: pointer; font-family: var(--sans);
}
.newsletter-form button:hover { background: var(--grey-light); }
.form-success { background: var(--success-bg); color: var(--success-ink) !important; border-radius: 10px; padding: 12px 16px; margin-bottom: 14px !important; font-weight: 600; }
.form-error { color: #ffb4b4 !important; margin-top: 10px !important; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0c0c0c; color: #bcbcb6; padding: 48px 0 36px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.footer-note { font-size: .88rem; max-width: 760px; margin: 0 0 12px; }
.footer-note strong { color: #fff; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; margin: 22px 0 14px; }
.footer-nav a { color: #e6e6e0; text-decoration: none; font-size: .9rem; font-weight: 500; }
.footer-nav a:hover { text-decoration: underline; }
.footer-copy { font-size: .82rem; color: #7c7c76; margin: 0; }

/* ---------- Admin ---------- */
.admin-body { background: var(--grey-bg); }
.admin-header { background: #fff; border-bottom: 1px solid var(--line); }
.admin-tag { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 9px; vertical-align: middle; }
.admin-user { font-size: .88rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.inline-form { display: inline; }
.admin-main { padding-top: 34px; padding-bottom: 60px; }
.admin-h1 { font-size: 2rem; margin: 0 0 6px; }
.admin-h2 { font-size: 1.35rem; margin: 34px 0 14px; }
.admin-sub { color: var(--ink-soft); max-width: 720px; margin: 0 0 8px; }
.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
@media (min-width: 820px) { .admin-stats { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.stat-num { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; margin: 0; }
.stat-label { color: var(--grey); font-size: .82rem; margin: 2px 0 0; }
.module-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .module-grid { grid-template-columns: repeat(3, 1fr); } }
.module-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.module-top { display: flex; justify-content: space-between; align-items: baseline; }
.module-card h3 { margin: 0; font-size: 1.1rem; }
.module-count { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.module-card p { color: var(--ink-soft); font-size: .9rem; margin: 6px 0 0; }
.module-phase { display: inline-block; font-size: .68rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey) !important; border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; margin-top: 12px !important; }
.admin-foot { margin-top: 30px; font-size: .9rem; }
.admin-login { max-width: 400px; margin: 8vh auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px; }
.admin-login h1 { font-size: 1.6rem; margin: 16px 0 4px; }
.admin-form { display: grid; gap: 8px; margin-top: 18px; }
.admin-form label { font-size: .85rem; font-weight: 600; }
.admin-form label.check { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.admin-form input[type="email"], .admin-form input[type="password"] {
    padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: .95rem; font-family: var(--sans); margin-bottom: 8px; width: 100%;
}
.form-error-box { background: var(--error-bg); color: var(--error-ink); border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin-top: 14px; }
.form-error-box p { margin: 0; }

/* ================= Phase 2: outfits, viewer, admin manager ================= */

/* Season filter + outfit cards */
.season-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.season-filter a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; color: var(--ink); text-decoration: none; background: #fff; }
.season-filter a.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.outfit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 900px) { .outfit-grid { grid-template-columns: repeat(4, 1fr); } }
.outfit-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.outfit-card-media { display: block; aspect-ratio: 2 / 3; background: var(--grey-bg); overflow: hidden; }
.outfit-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.outfit-card-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-family: var(--serif); font-size: 1.4rem; color: var(--grey); letter-spacing: .04em; }
.outfit-card-body { padding: 14px 16px 16px; }
.outfit-card-body h3 { margin: 4px 0 6px; font-size: 1.05rem; line-height: 1.3; }
.outfit-card-body h3 a { color: var(--ink); text-decoration: none; }
.outfit-card-meta { font-size: .85rem; color: var(--ink-soft); margin: 0; }

/* Carousel viewer */
.carousel-viewer { position: relative; max-width: 480px; margin: 0 auto 10px; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 14px; border: 1px solid var(--line); scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.carousel-slide img { width: 100%; display: block; cursor: zoom-in; }
.carousel-btn { position: absolute; top: 42%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink-soft); background: transparent; padding: 0; cursor: pointer; }
.carousel-dots button.active { background: var(--ink); }
.carousel-hint { text-align: center; font-size: .8rem; color: var(--ink-soft); margin: 6px 0 0; }

/* Look blocks + item codes */
.look-block { margin-top: 44px; }
.look-layout { display: grid; gap: 20px; }
@media (min-width: 860px) { .look-layout { grid-template-columns: 340px 1fr; } }
.look-board { margin: 0; }
.look-board img { width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block; cursor: zoom-in; }
.look-board figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }
.items-table, .admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.items-table th, .items-table td, .admin-table th, .admin-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.items-table th, .admin-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.code-chip { font-family: ui-monospace, Menlo, monospace; font-weight: 700; background: var(--ink); color: #fff; border: none; border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: .9rem; }
.code-chip .copy-hint { font-family: var(--sans); font-weight: 500; font-size: .72rem; opacity: .75; margin-left: 6px; text-transform: uppercase; letter-spacing: .05em; }
.code-note { font-size: .88rem; color: var(--ink-soft); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,10,10,.92); display: flex; align-items: center; justify-content: center; z-index: 100; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 14px; right: 18px; background: transparent; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* Admin: nav, filters, tables, forms */
.admin-nav { display: flex; gap: 18px; padding: 10px 0 12px; flex-wrap: wrap; }
.admin-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .92rem; }
.admin-nav a.active { color: var(--ink); text-decoration: underline; }
.admin-flash { background: var(--success-bg); color: var(--success-ink); border-radius: 10px; padding: 10px 14px; }
.admin-errors { background: var(--error-bg); color: var(--error-ink); border-radius: 10px; padding: 10px 16px; margin-bottom: 14px; }
.admin-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 14px; align-items: center; }
.admin-filters input[type="search"], .admin-filters select, .admin-form input[type="text"], .admin-form select {
    border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; font: inherit; font-size: .92rem; background: #fff;
}
.admin-table { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.admin-table.stats-table th { text-transform: none; letter-spacing: 0; font-size: .92rem; color: var(--ink); width: 220px; }
.admin-thumb { width: 44px; height: 60px; object-fit: cover; border-radius: 6px; display: block; }
.img-missing-badge { font-size: .75rem; color: var(--ink-soft); border: 1px dashed var(--line); border-radius: 6px; padding: 4px 6px; display: inline-block; }
.status-badge { border-radius: 999px; padding: 3px 9px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--grey-light); color: var(--ink); }
.status-published { background: var(--ink); color: #fff; }
.muted-text { color: var(--ink-soft); font-size: .85em; }
.admin-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; max-width: 760px; }
.admin-form input[type="text"], .admin-form select { width: 100%; margin-top: 4px; }
.admin-form .form-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.admin-form .checkbox-label { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; padding-bottom: 8px; }
.admin-image-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 860px) { .admin-image-grid { grid-template-columns: repeat(4, 1fr); } }
.admin-image { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.admin-image img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.admin-image .img-missing { aspect-ratio: 2/3; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); background: var(--grey-bg); font-size: .85rem; }
.admin-image figcaption { padding: 8px 10px; font-size: .82rem; }
.admin-look { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 16px; }
.admin-look h3 { margin-top: 0; }

/* Pagination (Laravel default markup, lightly dressed) */
nav[role="navigation"] { margin-top: 22px; font-size: .9rem; }
nav[role="navigation"] svg { width: 18px; height: 18px; vertical-align: middle; }
nav[role="navigation"] a, nav[role="navigation"] span[aria-current] { padding: 4px 8px; }

/* ---------- Phase 3: coupon actions, posts, comments ---------- */
.coupon-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.coupon-actions .btn.copied { background: var(--success-ink); border-color: var(--success-ink); color: #fff; }

.post-cover { margin: 0 0 26px; }
.post-cover img { width: 100%; border-radius: 14px; display: block; }
.post-meta { color: var(--grey); font-size: .85rem; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

.article-body { font-size: 1.02rem; }
.article-body h2 { font-size: 1.55rem; margin: 34px 0 10px; }
.article-body h3 { font-size: 1.2rem; margin: 26px 0 8px; }
.article-body p { margin: 0 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 14px; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body dl { margin: 0 0 16px; }
.article-body dt { font-weight: 700; margin-top: 14px; }
.article-body dd { margin: 4px 0 0; color: var(--ink-soft); }
.article-body blockquote { margin: 18px 0; padding: 4px 18px; border-left: 3px solid var(--ink); color: var(--ink-soft); }
.article-body img { max-width: 100%; border-radius: 10px; }
.article-body table { margin-bottom: 16px; }

.comments { padding: 10px 0 56px; }
.comment { border-top: 1px solid var(--line); padding: 14px 0; }
.comment-meta { font-size: .88rem; color: var(--grey); margin: 0 0 4px; }
.comment-body { margin: 0; white-space: pre-wrap; }
.comment-notice { background: var(--success-bg); color: var(--success-ink); border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.comment-form { display: grid; gap: 10px; margin-top: 22px; max-width: 560px; }
.comment-form label { font-size: .9rem; font-weight: 600; display: grid; gap: 5px; }
.comment-form input[type="text"], .comment-form textarea {
    font-family: var(--sans); font-size: .95rem; padding: 10px 12px;
    border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted-text { color: var(--grey); }

/* ---------- Phase 3 admin ---------- */
.admin-form textarea, .admin-form input[type="url"], .admin-form input[type="number"],
.admin-form input[type="date"], .admin-form input[type="datetime-local"] {
    font-family: var(--sans); font-size: .95rem; padding: 9px 11px;
    border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); width: 100%; margin-top: 4px;
}
.admin-form textarea.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; }
.admin-form label { display: block; }
.inline-form { display: inline; }
.inline-form button { vertical-align: middle; }
.comment-body-cell { max-width: 420px; white-space: pre-wrap; }
.comment-actions { white-space: nowrap; }

/* ---- Phase 4: language switcher, translation notice, AI review, 404 ---- */
.lang-switcher { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 13px; }
.lang-switcher a { color: inherit; opacity: .62; text-decoration: none; }
.lang-switcher a:hover { opacity: 1; text-decoration: underline; }
.lang-switcher .lang-current { font-weight: 700; }
.site-footer .lang-switcher { margin: 14px 0 6px; }

.translation-notice { border: 1px solid #e3e0d8; background: #faf8f2; border-radius: 10px; padding: 10px 16px; margin: 0 0 22px; }
.translation-notice p { margin: 0; font-size: 14px; }

.conf-badge { display: inline-block; min-width: 34px; text-align: center; padding: 2px 8px; border-radius: 999px; font-weight: 700; font-size: 12.5px; background: #eee; color: #333; }
.conf-badge.conf-high { background: #111; color: #fff; }
.conf-badge.conf-mid { background: #d9d4c7; color: #333; }
.conf-badge.conf-low { background: #f0ede6; color: #777; }

.sugg-group { margin-bottom: 34px; }
.ocr-text { white-space: pre-wrap; word-break: break-word; font-size: 13.5px; }
.translation-block { border-top: 1px solid #e5e5e5; padding: 14px 0 6px; margin-top: 10px; }
.translation-block h3 { margin: 0 0 10px; font-size: 16px; }

[dir="rtl"] .text-link, [dir="rtl"] .section-foot a { unicode-bidi: plaintext; }
[dir="rtl"] .coupon-grid, [dir="rtl"] .outfit-grid, [dir="rtl"] .collection-grid { direction: rtl; }
[dir="rtl"] .carousel-track { direction: ltr; } /* slide order stays as authored */

/* ---------- Phase 5: hero featured-carousels showcase ---------- */
.hero-grid { display: grid; gap: 40px; }
.hero-copy { min-width: 0; }

.hero-showcase {
    --peek1x: 10px; --peek2x: 18px; --peek1y: -12px; --peek2y: -20px;
    min-width: 0; padding-top: 24px; padding-inline-end: 20px;
}
.hero-stack { position: relative; aspect-ratio: 2 / 3; max-width: 345px; margin-inline: auto; }
.hero-slide {
    position: absolute; inset: 0; margin: 0; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--line); background: var(--grey-bg);
    opacity: 0; pointer-events: none;
    transition: opacity .7s ease, transform .7s ease;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide.is-active { opacity: 1; z-index: 3; pointer-events: auto; }
.hero-slide.is-behind-1 { opacity: 1; z-index: 2; transform: translate(var(--peek1x), var(--peek1y)) rotate(2deg); }
.hero-slide.is-behind-2 { opacity: 1; z-index: 1; transform: translate(var(--peek2x), var(--peek2y)) rotate(4deg); }

.hero-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column; gap: 2px;
    padding: 52px 20px 18px; color: #fff;
    background: linear-gradient(to top, rgba(8,8,8,.82) 0%, rgba(8,8,8,.45) 55%, rgba(8,8,8,0) 100%);
    opacity: 0; visibility: hidden; transition: opacity .45s ease .15s, visibility 0s linear .6s;
}
.hero-slide.is-active .hero-caption { opacity: 1; visibility: visible; transition: opacity .45s ease .15s; }
.hero-caption-title { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.25; }
.hero-caption-meta { font-size: .86rem; color: #e8e8e3; }
.hero-caption-link { color: #fff; font-weight: 700; font-size: .93rem; text-decoration: underline; text-underline-offset: 3px; margin-top: 8px; align-self: flex-start; }
.hero-caption-link:hover { text-decoration-thickness: 2px; }

.hero-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.hero-arrow {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center; padding: 0 0 3px;
}
.hero-arrow:hover { border-color: var(--ink); }
.hero-dots { display: flex; gap: 6px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink-soft); background: transparent; padding: 0; cursor: pointer; }
.hero-dot.active { background: var(--ink); }
.hero-arrow:focus-visible, .hero-dot:focus-visible, .hero-caption-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

@media (min-width: 960px) {
    .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
    .hero-showcase { --peek1x: 12px; --peek2x: 23px; --peek1y: -11px; --peek2y: -18px; padding-top: 21px; padding-inline-end: 29px; }
    .hero-stack { max-width: 322px; margin-inline-start: auto; margin-inline-end: 0; }
    .hero-controls { justify-content: flex-end; padding-inline-end: 0; }
}

/* RTL: the peek leans the other way; arrows mirror. */
[dir="rtl"] .hero-showcase { --peek1x: -8px; --peek2x: -14px; }
@media (min-width: 960px) { [dir="rtl"] .hero-showcase { --peek1x: -12px; --peek2x: -23px; } }
[dir="rtl"] .hero-arrow { transform: scaleX(-1); }
[dir="rtl"] .hero-caption-link { unicode-bidi: plaintext; }

@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-caption { transition: none; }
}

/* ============================================================
   Phase 5 — Ordered vs Got + public accounts
   ============================================================ */
.vs-wrap{max-width:1060px}
.auth-card{max-width:440px;margin:0 auto;background:#fff;border:1px solid #e7e4dc;border-radius:14px;padding:28px}
.auth-card h1{font-family:var(--serif);font-size:1.7rem;margin:0 0 6px}
.auth-card .auth-sub{color:#6d6d66;margin:0 0 20px}
.vs-form label{display:block;font-weight:600;font-size:.9rem;margin:0 0 14px}
.vs-form input[type=text],.vs-form input[type=email],.vs-form input[type=password],.vs-form input[type=url],.vs-form input[type=number],.vs-form textarea,.vs-form select{display:block;width:100%;margin-top:6px;padding:10px 12px;border:1px solid #cfccc2;border-radius:9px;font:inherit;font-weight:400;background:#fff;box-sizing:border-box}
.vs-form .hint{font-weight:400;font-size:.82rem;color:#7c7c76;margin-top:5px}
.vs-form .check{display:flex;gap:10px;align-items:flex-start;font-weight:400}
.vs-form .check input{margin-top:3px}
.vs-form fieldset{border:1px solid #e7e4dc;border-radius:14px;padding:20px;margin:0 0 22px;background:#fff}
.vs-form legend{font-family:var(--serif);font-size:1.15rem;font-weight:600;padding:0 8px}
.vs-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.vs-tab{border:1px solid #cfccc2;background:#fff;border-radius:999px;padding:8px 16px;cursor:pointer;font:inherit;font-weight:600;font-size:.9rem}
.vs-tab.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.vs-lookup-result{display:none;align-items:center;gap:14px;border:1px solid #e7e4dc;border-radius:12px;padding:12px;margin-top:10px}
.vs-lookup-result img{width:64px;height:84px;object-fit:cover;border-radius:8px}
.vs-lookup-msg{font-size:.88rem;margin-top:8px}
.vs-lookup-msg.ok{color:#1d7a3a}.vs-lookup-msg.warn{color:#9a6a00}
.vs-star-pick{display:flex;gap:6px;flex-wrap:wrap}
.vs-star-pick label{border:1px solid #cfccc2;border-radius:10px;padding:8px 12px;cursor:pointer;font-weight:500;margin:0}
.vs-star-pick input{accent-color:var(--ink)}
.vs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px}
.vs-card{background:#fff;border:1px solid #e7e4dc;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.vs-split{display:flex;position:relative;aspect-ratio:2/1.15;background:#f3f1ea}
.vs-split img{width:50%;height:100%;object-fit:cover}
.vs-split .vs-badge{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:var(--ink);color:#fff;font-weight:700;font-size:.78rem;letter-spacing:.08em;border-radius:999px;padding:6px 11px;border:2px solid #fff}
.vs-split .vs-tag{position:absolute;top:8px;font-size:.68rem;font-weight:700;letter-spacing:.07em;background:rgba(17,17,17,.78);color:#fff;padding:3px 8px;border-radius:6px}
.vs-split .vs-tag.l{left:8px}.vs-split .vs-tag.r{right:8px}
.vs-card-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.vs-card-body h3{margin:0;font-size:1.05rem}
.vs-card-body h3 a{color:inherit;text-decoration:none}
.vs-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:.83rem;color:#6d6d66}
.vs-stars{color:var(--ink);letter-spacing:2px;font-size:.95rem}
.vs-stars .off{color:#d8d4c8}
.vs-fit-badge{background:#f3f1ea;border-radius:999px;padding:3px 10px;font-weight:600;color:#44443f}
.vs-community-badge{background:var(--ink);color:#fff;border-radius:999px;padding:3px 10px;font-weight:700}
.vs-author{display:flex;gap:8px;align-items:center;font-size:.85rem;color:#6d6d66;margin-top:auto}
.vs-avatar{width:26px;height:26px;border-radius:50%;object-fit:cover}
.vs-avatar-initial{width:26px;height:26px;border-radius:50%;background:var(--ink);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem}
.vs-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-bottom:22px}
.vs-filters label{font-size:.85rem;font-weight:600}
.vs-filters select{display:block;margin-top:5px;padding:8px 10px;border:1px solid #cfccc2;border-radius:8px;font:inherit}
.vs-compare{position:relative;overflow:hidden;border-radius:14px;--pos:50%;aspect-ratio:4/3.4;background:#f3f1ea;touch-action:none;user-select:none}
.vs-compare img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.vs-compare .got-img{clip-path:inset(0 0 0 var(--pos))}
.vs-compare .cmp-label{position:absolute;top:10px;z-index:3;font-size:.7rem;font-weight:700;letter-spacing:.08em;background:rgba(17,17,17,.78);color:#fff;padding:4px 9px;border-radius:6px}
.vs-compare .cmp-label.l{left:10px}.vs-compare .cmp-label.r{right:10px}
.vs-compare .cmp-handle{position:absolute;top:0;bottom:0;left:var(--pos);width:2px;background:#fff;z-index:2;box-shadow:0 0 0 1px rgba(0,0,0,.25)}
.vs-compare .cmp-knob{position:absolute;top:50%;left:var(--pos);transform:translate(-50%,-50%);z-index:3;width:38px;height:38px;border-radius:50%;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:center;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.3);font-size:.85rem}
.vs-thumbs{display:flex;gap:10px;margin-top:12px}
.vs-thumbs button{border:2px solid transparent;border-radius:10px;padding:0;cursor:pointer;background:none}
.vs-thumbs button.active{border-color:var(--ink)}
.vs-thumbs img{width:74px;height:92px;object-fit:cover;border-radius:8px;display:block}
.vs-panel{background:#fff;border:1px solid #e7e4dc;border-radius:14px;padding:20px;margin-bottom:18px}
.vs-panel h3{margin:0 0 10px;font-family:var(--serif)}
.vs-score-big{font-family:var(--serif);font-size:2.4rem;font-weight:700;line-height:1}
.vs-rate-picker{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}
.vs-rate-picker button{width:40px;height:40px;border-radius:10px;border:1px solid #cfccc2;background:#fff;font:inherit;font-weight:700;cursor:pointer}
.vs-rate-picker button.mine{background:var(--ink);color:#fff;border-color:var(--ink)}
.vs-rate-picker button:hover{border-color:var(--ink)}
.vs-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.vs-fact{background:#f8f7f2;border-radius:10px;padding:12px}
.vs-fact .k{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#7c7c76}
.vs-fact .v{font-weight:600;margin-top:3px}
.vs-fit-meter{display:flex;gap:5px;margin-top:6px}
.vs-fit-meter span{flex:1;text-align:center;font-size:.72rem;font-weight:600;padding:6px 2px;border-radius:7px;background:#eeece4;color:#8a887e}
.vs-fit-meter span.on{background:var(--ink);color:#fff}
.vs-get-item{background:var(--ink);color:#fff;border-radius:14px;padding:22px;margin-bottom:18px}
.vs-get-item h3{font-family:var(--serif);margin:0 0 6px;color:#fff}
.vs-get-item p{color:#d9d7cd;margin:0 0 12px;font-size:.92rem}
.vs-get-item .code-chip{background:#fff;color:var(--ink);font-size:1rem;padding:9px 14px}
.vs-get-item .fine-print{color:#a9a79b}
.vs-item-row{display:flex;gap:14px;align-items:center}
.vs-item-row img{width:56px;height:72px;object-fit:cover;border-radius:8px}
.vs-banner{border-radius:12px;padding:14px 18px;margin-bottom:18px;font-weight:600}
.vs-banner.pending{background:#fdf3d8;border:1px solid #ecd28a}
.vs-banner.rejected{background:#fbe4e0;border:1px solid #eda79b}
.vs-status-badge{font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;border-radius:999px;padding:4px 10px}
.vs-status-badge.pending{background:#fdf3d8;color:#7a5c00}
.vs-status-badge.approved{background:#e2f4e5;color:#1d7a3a}
.vs-status-badge.rejected{background:#fbe4e0;color:#a52a1c}
.account-post{display:flex;gap:14px;background:#fff;border:1px solid #e7e4dc;border-radius:12px;padding:14px;margin-bottom:12px;align-items:center;flex-wrap:wrap}
.account-post img{width:52px;height:64px;object-fit:cover;border-radius:8px}
.account-post .grow{flex:1;min-width:180px}
.flash-ok{background:#e2f4e5;border:1px solid #a9d8b2;color:#14532d;border-radius:10px;padding:12px 16px;margin-bottom:16px}
.kept-photo{display:inline-block;margin:0 10px 10px 0;text-align:center;font-size:.8rem}
.kept-photo img{width:84px;height:104px;object-fit:cover;border-radius:8px;display:block;margin-bottom:4px}

/* ---------- Freshness rule: solo hero (no fresh published carousels) ----------
   When the showcase is empty the hero is a clean single column — the copy
   keeps a comfortable measure instead of stretching the full grid. */
.hero-grid--solo .hero-copy { max-width: 46rem; }
@media (min-width: 960px) {
    .hero-grid--solo { grid-template-columns: 1fr; }
}
/* ---------- Language dropdown (header + footer) ---------- */
.lang-dropdown { position: relative; flex: none; }
.lang-toggle {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--sans); font-size: .9rem; font-weight: 500; line-height: 1;
    color: var(--ink-soft); background: transparent;
    border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 13px; cursor: pointer; white-space: nowrap;
}
.lang-toggle:hover { color: var(--ink); background: var(--grey-bg); }
.lang-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lang-globe { flex: none; }
.lang-name { font-weight: 600; color: var(--ink); }
.lang-chevron { flex: none; transition: transform .18s ease; }
.lang-dropdown.open .lang-chevron { transform: rotate(180deg); }
.lang-menu {
    display: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
    min-width: 196px; margin: 0; padding: 6px; list-style: none; text-align: start;
    background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 14px 34px rgba(17,17,17,.13); z-index: 60;
}
.lang-dropdown.open .lang-menu { display: block; }
/* No-JS fallback: the menu opens while focus is inside the control. The
   inline script flags <html class="js">, which disables this rule so the
   scripted open/close (incl. Esc) stays in charge. */
html:not(.js) .lang-dropdown:focus-within .lang-menu { display: block; }
.lang-option {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px; border-radius: 8px;
    font-size: .92rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
}
a.lang-option:hover { background: var(--grey-bg); color: var(--ink); }
.lang-option.is-current { color: var(--ink); font-weight: 700; }
.lang-check { display: inline-block; width: 15px; flex: none; text-align: center; color: var(--grey); font-size: .8rem; }
.site-footer .lang-dropdown { margin: 14px 0 10px; }
.site-footer .lang-toggle { color: #e6e6e0; border-color: rgba(255,255,255,.35); }
.site-footer .lang-toggle:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-footer .lang-name { color: #fff; }
.lang-dropdown-footer .lang-menu { top: auto; bottom: calc(100% + 8px); }
@media (max-width: 900px) {
    .lang-name { display: none; }
}
@media (max-width: 560px) {
    .lang-word { display: none; }
    .lang-toggle { padding: 8px 10px; }
}

/* ---------- Phase 5 integration: header account cluster ---------- */
.header-account { display: flex; align-items: center; gap: 4px; flex: none; }
.header-account .account-link {
    text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-soft);
    padding: 7px 10px; border-radius: 999px; white-space: nowrap;
}
.header-account .account-link:hover { color: var(--ink); background: var(--grey-bg); }
.header-account .account-cta {
    text-decoration: none; font-size: .9rem; font-weight: 600; color: #fff; white-space: nowrap;
    background: var(--ink); border: 1px solid var(--ink); padding: 7px 14px; border-radius: 999px;
}
.header-account .account-cta:hover { opacity: .87; }
.header-account .account-user {
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
    font-size: .92rem; font-weight: 600; color: var(--ink);
    padding: 4px 12px 4px 4px; border-radius: 999px;
}
[dir="rtl"] .header-account .account-user { padding: 4px 4px 4px 12px; }
.header-account .account-user:hover { background: var(--grey-bg); }
.header-account .account-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block; flex: none; }
.header-account .account-avatar-initial {
    width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; flex: none;
    display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700;
}
.header-account form { margin: 0; display: inline-flex; }
.header-account .account-logout {
    background: none; border: 0; font: inherit; cursor: pointer; white-space: nowrap;
    font-size: .92rem; font-weight: 500; color: var(--ink-soft); padding: 7px 10px; border-radius: 999px;
}
.header-account .account-logout:hover { color: var(--ink); background: var(--grey-bg); }
@media (max-width: 560px) {
    .header-account .account-user .account-name { display: none; }
}

/* ---------- Hero showcase tune (owner 2026-11-07): 15% smaller, eyebrow centered over the card ---------- */
.hero-stack { max-width: 293px; }
.hero-showcase { --peek1x: 9px; --peek2x: 15px; --peek1y: -10px; --peek2y: -17px; padding-top: 20px; padding-inline-end: 17px; }
.hero-showcase .hero-eyebrow { text-align: center; max-width: 293px; margin-inline: auto; }
[dir="rtl"] .hero-showcase { --peek1x: -7px; --peek2x: -12px; }
@media (min-width: 960px) {
    .hero-stack { max-width: 274px; }
    .hero-showcase { --peek1x: 10px; --peek2x: 20px; --peek1y: -9px; --peek2y: -15px; padding-top: 18px; padding-inline-end: 25px; }
    .hero-showcase .hero-eyebrow { max-width: 274px; margin-inline-start: auto; margin-inline-end: 0; }
    [dir="rtl"] .hero-showcase { --peek1x: -10px; --peek2x: -20px; }
}

/* ---------- Outfit detail viewer tune (owner 2026-11-07): inline carousel viewer ~50% smaller (480px -> 240px wide, height follows image ratio). Tap-to-zoom lightbox intentionally untouched and stays full-size. ---------- */
.carousel-viewer { max-width: 240px; }


/* ---------- Footer disclosures: click-to-reveal (owner 2026-11-07) ---------- */
.footer-disclosure { margin: 0 0 10px; }
.footer-disclosure summary { cursor: pointer; list-style: none; display: inline-flex; align-items: baseline; gap: 8px; }
.footer-disclosure summary::-webkit-details-marker { display: none; }
.footer-disclosure summary::after { content: "+"; font-weight: 700; opacity: .65; }
.footer-disclosure[open] summary::after { content: "\2013"; }
.footer-disclosure .footer-note { margin-top: 6px; }


/* ---------- Format polish (owner 2026-11-07): solid sticky header, comments measure + panel, footer rhythm ----------
   Sticky header: fully solid background so scrolled content never ghosts
   through; scroll padding keeps anchored sections (e.g. #comments) clear
   of the tall two-row header. */
.site-header { background: var(--paper); backdrop-filter: none; box-shadow: 0 10px 24px -22px rgba(17,17,17,.45); }
html { scroll-padding-top: 136px; }
@media (max-width: 720px) { html { scroll-padding-top: 198px; } }

/* Comments: readable measure now comes from .wrap.narrow in the partial;
   panel-styled form matching the site's other panels, tidier list rhythm. */
.comments { padding: 44px 0 64px; border-top: 1px solid var(--line); }
.comments h2 { margin: 0 0 18px; }
.comment { padding: 16px 2px; }
.comment-form {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 22px; margin-top: 26px; max-width: 640px; gap: 12px;
}
.comment-form p { margin: 0; }
.comment-form input[type="text"]:focus, .comment-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }

/* Footer: brand -> nav -> legal -> bottom row. Even spacing rhythm,
   hairline dividers, legal lines quieter than nav. */
.site-footer { padding: 56px 0 40px; }
.footer-brand { margin-bottom: 26px; }
.footer-nav { margin: 0 0 32px; gap: 10px 22px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; margin-bottom: 28px; }
.footer-disclosure { margin: 0 0 8px; }
.footer-disclosure summary { font-size: .84rem; color: #a8a8a2; }
.footer-disclosure .footer-note { font-size: .86rem; }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px 20px; flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px;
}
.site-footer .footer-bottom .lang-dropdown { margin: 0; }


/* ---------- Footer amendment (owner 2026-11-07): disclosure toggles sit in the
   bottom row next to the language selector; when opened, a disclosure drops
   to its own full-width line beneath the row (never squeezed inside it). --- */
.footer-bottom { align-items: center; }
.footer-bottom .footer-disclosure { flex: none; margin: 0; }
.footer-bottom .footer-disclosure[open] { flex: 0 0 100%; order: 10; }
.footer-bottom .footer-disclosure .footer-note { max-width: 760px; }
.footer-bottom .footer-copy { margin-inline-start: auto; }


/* ---------- Footer disclosure toggle stability (owner 2026-11-07) ---------- */
.footer-disclosure summary { white-space: nowrap; }
.footer-disclosure summary::after {
    content: "+";
    display: inline-block;
    width: 1em;
    flex: none;
    text-align: center;
    transition: transform .18s ease;
}
.footer-disclosure[open] summary::after {
    content: "+";
    transform: rotate(45deg);
}

/* ---------- Homepage rebalance (2026-11-07): outfits browse row, Ordered vs Got CTAs, compact codes band ---------- */
.browse-label { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin: 0 0 10px; }
.browse-chips { margin-bottom: 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.codes-band-grid { grid-template-columns: minmax(0, 430px); justify-content: center; }
@media (min-width: 820px) { .codes-band-grid { grid-template-columns: minmax(0, 430px); } }


/* ---------- Look blocks: one canonical format (owner 2026-11-07) ---------- */
.look-layout { gap: 24px; }
@media (min-width: 860px) { .look-layout { grid-template-columns: 400px 1fr; } }
.look-media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; aspect-ratio: 4 / 3; }
.look-photo { margin: 0; height: 100%; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; background: var(--grey-bg); }
.look-photo img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.look-photo--empty { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.4rem; color: var(--grey); letter-spacing: .04em; }
.looks-note { margin: 26px 0 0; }


/* ---------- Items table overflow fix (owner 2026-11-07) ----------
   Source garment names include space-less tokens up to 100 chars.
   With the default auto table layout, one such token forced its look's
   table to ~872px, stretching the look grid past the viewport and
   clipping that look's COPY chips. Fixed layout + wrap-anywhere keeps
   every look's table at exactly the container width, with identical
   column geometry on every look: piece wraps, type stays compact,
   the product-code chip column is always fully on-screen. */
.look-layout > .look-media,
.look-layout > .look-items { min-width: 0; }
.look-items .items-table { table-layout: fixed; max-width: 100%; }
.look-items .items-table th:nth-child(2),
.look-items .items-table td:nth-child(2) { width: 92px; }
.look-items .items-table th:nth-child(3),
.look-items .items-table td:nth-child(3) { width: 168px; }
.look-items .items-table td { overflow-wrap: anywhere; }
.look-items .code-chip { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 560px) {
    .look-items .items-table th,
    .look-items .items-table td { padding: 8px 6px; }
    .look-items .items-table th:nth-child(2),
    .look-items .items-table td:nth-child(2) { width: 78px; }
    .look-items .items-table th:nth-child(3),
    .look-items .items-table td:nth-child(3) { width: 128px; }
    .look-items .code-chip { padding: 6px 8px; font-size: .85rem; }
}


/* ---------- Outfit page design pass (owner 2026-11-07) ----------
   One rhythm for the whole page: look blocks chunked by hairlines with a
   set heading size; a single-photo look centers its frame (the same 2/3
   frame as each half of a photo+board pair) instead of leaving a dead
   half-cell; the codes explainer reads as one designed note; About and
   Related get the peer-section heading size and spacing used site-wide. */
.look-block h2 { font-size: 1.5rem; margin: 0 0 18px; }
.look-block + .look-block { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.look-media--single { display: flex; justify-content: center; }
.look-media--single .look-photo { flex: none; width: auto; height: 100%; aspect-ratio: 2 / 3; }
.looks-note { background: var(--grey-bg); border-radius: 12px; padding: 14px 18px; max-width: 840px; }
.about-block { margin-top: 54px; }
.about-block h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 12px; }
.about-block p { color: var(--ink-soft); max-width: 720px; }
.related-head { margin-top: 54px; }
.look-items .items-table td:nth-child(2) { text-transform: capitalize; }

/* ---------- Hero showcase tune 2 (owner 2026-11-07): a bit bigger + higher in the hero ---------- */
.hero { padding-top: 40px; }
.hero-stack { max-width: 330px; }
.hero-showcase { padding-top: 6px; }
.hero-showcase .hero-eyebrow { max-width: 330px; }
@media (min-width: 960px) {
    .hero-grid { align-items: start; }
    .hero-stack { max-width: 315px; }
    .hero-showcase { padding-top: 2px; }
    .hero-showcase .hero-eyebrow { max-width: 315px; }
}

/* ---------- Header redesign + mobile sweep (owner 2026-11-07) ----------
   Header: ONE bar on desktop (brand / nav / compact language / account);
   at <=1200px the nav moves into a hamburger panel (.site-header.nav-open).
   Mobile sweep: form controls at 16px (no iOS focus zoom), primary tap
   targets >= 44px, honeypot no longer parked off-screen (it inflated the
   RTL scroll width to ~10,000px), and the framework pagination (dead
   Tailwind classes, both blocks always visible) is styled + split by
   breakpoint. Desktop-verified geometry from earlier passes is untouched. */

/* --- Header: one row --- */
.site-header .header-inner { max-width: 1240px; flex-wrap: nowrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.site-header .brand { padding: 4px 0; }
.site-header .brand-mark { width: 36px; height: 36px; }
.site-header .brand-name { font-size: 1.3rem; }
.site-header .main-nav { flex-wrap: nowrap; gap: 2px; min-width: 0; }
.site-header .main-nav a { font-size: .88rem; padding: 7px 8px; white-space: nowrap; }
.site-header .lang-word { display: none; } /* header language: globe + current language only */
.nav-toggle { display: none; }
.nav-panel-account { display: none; }
html { scroll-padding-top: 78px; }

/* --- Honeypot: invisible without off-screen positioning (no scrollable
       overflow in LTR or RTL; still a plain field in the DOM for bots) --- */
.hp-field { position: absolute; left: auto; right: auto; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; opacity: 0; pointer-events: none; clip-path: inset(50%); overflow: hidden; }

/* --- Pagination (framework default markup; its utility classes have no
       styles on this site, so both the small-screen and large-screen
       blocks rendered at once, unstyled, with ~24px targets) --- */
nav[role="navigation"] { margin-top: 30px; }
nav[role="navigation"] > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
nav[role="navigation"] p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
nav[role="navigation"] a { text-decoration: none; }
nav[role="navigation"] .inline-flex:not(:has(> span)) {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 10px 13px; border: 1px solid var(--line);
    border-radius: 8px; background: #fff; color: var(--ink);
    font-size: .92rem; line-height: 1.25;
}
nav[role="navigation"] .inline-flex:has(> span) { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; }
nav[role="navigation"] [aria-current="page"] .inline-flex { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
nav[role="navigation"] [aria-disabled="true"] .inline-flex { color: var(--grey); background: var(--grey-bg); }
@media (max-width: 720px) { nav[role="navigation"] > div + div { display: none; } }
@media (min-width: 721px) { nav[role="navigation"] > div:first-child { display: none; } }

/* --- <=1200px: hamburger header + mobile sweep --- */
@media (max-width: 1200px) {
    .site-header .header-inner { gap: 8px; padding-top: 8px; padding-bottom: 8px; justify-content: flex-start; }
    .site-header .lang-dropdown { margin-inline-start: auto; }
    .site-header .lang-toggle { min-height: 44px; }
    .header-account .account-link { padding: 11px 10px; }
    .header-account .account-cta { display: none; }      /* lives in the panel */
    .header-account .account-logout { display: none; }   /* lives in the panel */
    .header-account .account-user .account-name { display: none; }

    .nav-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; flex: none; cursor: pointer;
        background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0;
    }
    .nav-toggle-box { display: flex; flex-direction: column; gap: 5px; }
    .nav-toggle-box span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
    .site-header.nav-open .nav-toggle-box span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.nav-open .nav-toggle-box span:nth-child(2) { opacity: 0; }
    .site-header.nav-open .nav-toggle-box span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .site-header .main-nav { display: none; }
    .site-header.nav-open .main-nav {
        display: flex; position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: var(--paper); border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 24px -18px rgba(17,17,17,.28);
        padding: 10px 20px 16px; max-height: calc(100vh - 62px); overflow-y: auto;
    }
    .site-header.nav-open .main-nav a { padding: 12px; font-size: 1rem; border-radius: 10px; }
    .nav-panel-account { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
    .nav-panel-account form { margin: 0; }
    .nav-panel-account .panel-logout {
        background: none; border: 0; font: inherit; cursor: pointer; text-align: start;
        padding: 12px; font-size: 1rem; border-radius: 10px; color: var(--ink-soft); width: 100%;
    }
    .nav-panel-account .panel-cta { background: var(--ink); color: #fff; font-weight: 600; }

    /* No-JS fallback: nav stacks under the bar instead of disappearing */
    html:not(.js) .site-header .header-inner { flex-wrap: wrap; }
    html:not(.js) .site-header .main-nav { display: flex; position: static; order: 5; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 4px 0 8px; }
    html:not(.js) .site-header .main-nav a { padding: 12px; font-size: 1rem; }
    html:not(.js) .nav-toggle { display: none; }

    html { scroll-padding-top: 72px; }

    /* No iOS focus zoom on form controls */
    input, select, textarea { font-size: 16px; }
    select { min-height: 44px; }

    /* Primary tap targets >= 44px */
    .btn, .btn-small { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .code-chip { padding: 11px 12px; }
    .carousel-btn { width: 44px; height: 44px; }
    .hero-arrow { width: 44px; height: 44px; }
    .season-filter a { min-height: 44px; display: inline-flex; align-items: center; }
    .hero-caption-link { padding-top: 10px; padding-bottom: 10px; }

    /* Dot buttons: 9px visual dot, 26px hit area */
    .hero-dots, .carousel-dots { gap: 2px; }
    .hero-dot, .carousel-dots button {
        width: 26px; height: 26px; border: 0; background: transparent;
        position: relative; padding: 0; cursor: pointer; border-radius: 50%;
    }
    .hero-dot::after, .carousel-dots button::after {
        content: ""; position: absolute; left: 50%; top: 50%;
        width: 9px; height: 9px; transform: translate(-50%, -50%);
        border-radius: 50%; border: 1px solid var(--ink-soft); background: transparent;
    }
    .hero-dot.active, .carousel-dots button.active { background: transparent; }
    .hero-dot.active::after, .carousel-dots button.active::after { background: var(--ink); }
}

/* ---------- Nav diet (owner 2026-11-07): 4 primary links + "More" ----------
   Desktop keeps Home / Promo Codes / Outfits / Ordered vs Got visible;
   SHEIN Hauls / Fashion Guides / Trending Finds live in a "More" dropdown
   (language-dropdown mechanics). The mobile panel flattens the dropdown
   back into the full 7-link list. */
.nav-more { position: relative; display: inline-flex; }
.nav-more-toggle {
    font: inherit; font-size: .88rem; font-weight: 500; color: var(--ink-soft);
    background: none; border: 0; padding: 7px 8px; border-radius: 999px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.nav-more-toggle:hover { color: var(--ink); background: var(--grey-bg); }
.nav-more-toggle.active { color: #fff; background: var(--ink); }
.nav-more-chevron { transition: transform .18s ease; }
.nav-more.open .nav-more-chevron { transform: rotate(180deg); }
.nav-more-menu {
    display: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 70;
    min-width: 200px; flex-direction: column; gap: 2px; padding: 6px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 18px 34px -18px rgba(17,17,17,.35);
}
.nav-more.open .nav-more-menu { display: flex; }
html:not(.js) .nav-more:focus-within .nav-more-menu { display: flex; }
.site-header .nav-more-menu a { padding: 9px 12px; border-radius: 8px; font-size: .92rem; }

@media (max-width: 1200px) {
    /* Panel: the dropdown wrapper dissolves, its links join the list */
    .site-header .main-nav .nav-more { display: contents; }
    .site-header .main-nav .nav-more-toggle { display: none; }
    .site-header .main-nav .nav-more-menu {
        position: static; display: flex; flex-direction: column; gap: 2px;
        min-width: 0; padding: 0; border: 0; box-shadow: none; background: transparent;
    }
}

/* ---------- Mobile fix pack (2026-11-07): anti-zoom strength + small-screen header fit ----------
   The 16px form rule needs !important: per-form class rules (newsletter,
   comment, auth, vs filters) set .85–.95rem on the controls themselves and
   beat a bare element selector. Scoped to <=1200px so desktop is untouched.
   The <=560px header tightening stops the RTL bar overflowing by ~22px
   (longer Arabic account labels + the 44px menu button). */
@media (max-width: 1200px) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    select, textarea { font-size: 16px !important; }
}
@media (max-width: 560px) {
    .site-header .header-inner { gap: 6px; }
    .site-header .brand { gap: 8px; }
    .site-header .brand-mark { width: 30px; height: 30px; }
    .site-header .brand-name { font-size: 1.12rem; }
    .site-header .lang-toggle { padding: 8px 7px; }
    .header-account .account-link { padding: 11px 6px; }
}

/* ---------- Mobile fix pack 2 (2026-11-07): footer language toggle + vs code chip ---------- */
@media (max-width: 1200px) {
    .site-footer .lang-toggle { min-height: 44px; }
    .vs-get-item .code-chip { padding-top: 13px; padding-bottom: 13px; }
}

/* ---------- Hero title tune (owner 2026-11-07): smaller, so both halves fit on 2 lines ---------- */
.hero-title { font-size: clamp(2.1rem, 4.3vw, 2.9rem); }
@media (max-width: 560px) {
    .hero-title { font-size: 1.92rem; }
}

/* ---------- Admin format pass (2026-11-07): pagination polish in admin scope,
   stat grid that fits any card count, nav pills, cover placeholder tile,
   unbreakable dates, consistent filter inputs, vs moderation classes.
   NOTE: the admin layout now versions app.css (?v=filemtime) like the public
   layout, so the CDN can no longer serve the admin a stale sheet — that stale
   sheet was the root cause of the giant pagination chevron screenshot. --- */

/* Pagination — admin scope only; public pagination rules above untouched.
   Pins the chevron size and sets admin density on the framework markup. */
.admin-body nav[aria-label="Pagination Navigation"] { margin-top: 26px; }
.admin-body nav[aria-label="Pagination Navigation"] svg { width: 16px; height: 16px; flex: none; display: block; }
.admin-body nav[aria-label="Pagination Navigation"] p { font-size: .85rem; color: var(--ink-soft); }
.admin-body nav[aria-label="Pagination Navigation"] p .font-medium { color: var(--ink); font-weight: 600; }
.admin-body nav[aria-label="Pagination Navigation"] .inline-flex:not(:has(> span)) { min-height: 36px; padding: 6px 11px; font-size: .88rem; }
.admin-body nav[aria-label="Pagination Navigation"] a.inline-flex:hover { background: var(--grey-bg); }

/* Stat cards: fill the row whatever the count (screens use 3, 4, 5 or 6) */
@media (min-width: 820px) {
    .admin-stats { grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }
}

/* Admin nav as pills — the same language as the public season filter */
.admin-nav { gap: 8px; padding: 12px 0 14px; }
.admin-nav a { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; color: var(--ink-soft); }
.admin-nav a:hover { border-color: var(--ink); color: var(--ink); }
.admin-nav a.active { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }

/* Missing-cover placeholder: a tile the same size as a real thumbnail */
.img-missing-badge {
    display: inline-flex; align-items: center; justify-content: center; text-align: center;
    width: 44px; height: 60px; padding: 2px; box-sizing: border-box;
    background: var(--grey-bg); border: 1px dashed var(--line); border-radius: 6px;
    font-size: .66rem; line-height: 1.2; color: var(--ink-soft);
}

/* Dates and codes never wrap mid-value */
.admin-body .nowrap { white-space: nowrap; }

/* Filter bars: text/number inputs dressed like search/select */
.admin-filters input[type="text"], .admin-filters input[type="number"] {
    border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; font: inherit; font-size: .92rem; background: #fff;
}

/* Ordered vs Got moderation panel (extracted from inline styles;
   the panel shell itself is dressed by the shared .vs-panel rule) */
.admin-vs-flex { display: flex; gap: 16px; flex-wrap: wrap; }
.admin-vs-media { display: flex; gap: 6px; }
.admin-vs-media img { width: 110px; height: 140px; object-fit: cover; border-radius: 8px; }
.admin-vs-main { flex: 1; min-width: 260px; }
.admin-vs-main h3 { margin: 0 0 4px; }
.admin-vs-meta { margin: 0 0 6px; }
.admin-vs-body { margin: 0 0 8px; }
.admin-vs-thumbs { display: flex; gap: 6px; margin: 0 0 8px; }
.admin-vs-thumbs img { width: 52px; height: 64px; object-fit: cover; border-radius: 6px; }
.admin-vs-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.admin-vs-reject { display: flex; gap: 6px; }
.admin-inline-input { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: .9rem; }
.admin-vs-report { color: #a52a1c; }

/* ---------- Analytics actions (2026-11-08): exclusion toggle + reset ---------- */
.analytics-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 16px 0 8px; }
.btn-danger { background: #fff; color: #a52a1c; border-color: #a52a1c; }
.btn-danger:hover { background: #a52a1c; color: #fff; }
