/* Style Kaki v2 — minimalist fashion boutique (ala Zalora / Love Bonito): white space, tall photos,
   wide-tracked uppercase type (Jost), black UI, red only for sale prices */
:root {
  --ink: #111111;
  --ink-2: #4a4a4a;
  --muted: #8c8c8c;
  --line: #e8e8e8;
  --bg: #ffffff;
  --soft: #f6f5f3;
  --sale: #c8102e;
  --font: "Jost", "Futura", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --track: .14em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-weight: 400; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

.disclosure-bar { background: var(--ink); color: #fff; font-size: 11.5px; letter-spacing: .08em; text-align: center; padding: 8px 16px; }

/* ---------- header: wordmark centred, category text-nav underneath ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; grid-column: 2; justify-self: center; }
.brand-mark { display: none; }
.brand-name { font-size: 26px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; margin-right: -.32em; }
.search { grid-column: 3; justify-self: end; position: relative; width: 100%; max-width: 280px; }
.search svg { position: absolute; right: 2px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: var(--ink); }
.search input { width: 100%; height: 38px; padding: 0 28px 0 2px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; outline: none; font-size: 13.5px; }
.search input::placeholder { color: var(--muted); }
.header-links { grid-column: 1; grid-row: 1; justify-self: start; display: flex; gap: 22px; font-size: 12.5px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; }
.header-links a { padding: 6px 0; border-bottom: 1px solid transparent; }
.header-links a:first-child { color: var(--sale); }
.header-links a:hover { border-color: currentColor; }

.cat-nav { display: flex; justify-content: flex-start; gap: 26px; overflow-x: auto; padding: 0 0 14px; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav > :first-child { margin-left: auto; }
.cat-nav > :last-child { margin-right: auto; }
.cat-pill { flex-shrink: 0; border: 0; background: none; padding: 4px 0; font-size: 12px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); cursor: pointer; white-space: nowrap; border-bottom: 1.5px solid transparent; }
.cat-pill:hover { color: var(--ink); }
.cat-pill.active { color: var(--ink); border-color: var(--ink); }
.cat-pill small { display: none; }

/* ---------- hero: full-bleed row of tall product photos + white copy panel ---------- */
.hero { padding: 0 0 8px; }
.hero-inner { position: relative; }
.hero-showcase { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--soft); }
.hero-showcase .tile { position: relative; overflow: hidden; background: #fff; }
.hero-showcase .tile:nth-child(n+6) { display: none; }
.hero-showcase img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s ease; }
.hero-showcase .tile:hover img { transform: scale(1.04); }
.hero-showcase .tile span { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--sale); font-size: 12px; font-weight: 500; letter-spacing: .06em; padding: 4px 8px; }
.hero-copy { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); background: rgba(255, 255, 255, .96); padding: 34px 38px 32px; text-align: center; }
.eyebrow { margin: 0 0 12px; font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero h1 { font-weight: 400; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; margin: 0 0 14px; }
.lead { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0 auto 22px; max-width: 440px; font-weight: 300; }
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 0; margin-top: 26px; }
.hero-stats div { padding: 4px 34px; text-align: center; border-left: 1px solid var(--line); }
.hero-stats div:first-child { border-left: 0; }
.hero-stats strong { display: block; font-size: 22px; font-weight: 500; letter-spacing: .02em; }
.hero-stats span { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 30px; border-radius: 0; font-weight: 500; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #333; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ---------- sections ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 64px 0 22px; }
.kicker { margin: 0 0 6px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.section-head h2 { margin: 0; font-weight: 400; font-size: 30px; letter-spacing: .04em; text-transform: uppercase; }
.section-head p { margin: 6px 0 0; font-size: 13.5px; }
.see-all { font-size: 12px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 2px; white-space: nowrap; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail > * { scroll-snap-align: start; }

/* ---------- catalog ---------- */
.catalog { padding-bottom: 80px; }
.toolbar { display: flex; gap: 12px; align-items: center; }
.select { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
.select select { height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 0; background: #fff; font-size: 13px; cursor: pointer; color: var(--ink); }
.filter-toggle { display: none; height: 40px; padding: 0 18px; }
.catalog-body { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: 140px; }
.filter-group { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-group h3 { font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 0; padding: 6px 11px; font-size: 12.5px; cursor: pointer; color: var(--ink-2); }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; height: 38px; padding: 0 8px; border: 1px solid var(--line); border-radius: 0; background: #fff; outline: none; }
.price-range input:focus { border-color: var(--ink); }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 4px 0; cursor: pointer; }
.check input { accent-color: var(--ink); width: 15px; height: 15px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 34px 20px; }

/* ---------- product card: tall photo, no frame, quiet text ---------- */
.card { position: relative; display: flex; flex-direction: column; background: transparent; cursor: pointer; }
.card-img { position: relative; aspect-ratio: 3 / 4; background: var(--soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.badge-disc { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--sale); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; padding: 3px 7px; }
.badge-off { position: absolute; bottom: 10px; left: 10px; background: rgba(17, 17, 17, .85); color: #fff; font-size: 9.5px; font-weight: 500; padding: 3px 7px; letter-spacing: .14em; text-transform: uppercase; }
.card-body { padding: 12px 0 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-shop { font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; order: -1; }
.card-title { font-size: 13.5px; line-height: 1.45; margin: 0; font-weight: 400; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.card-title a { color: inherit; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 500; font-size: 15px; color: var(--sale); letter-spacing: .02em; }
.price-old { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }
.meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 2px; }
.stars { color: var(--ink); font-weight: 500; }
.stars b { color: var(--ink); font-weight: 500; }
.skeleton { background: linear-gradient(90deg, #f1f0ed 25%, #f9f8f6 50%, #f1f0ed 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; aspect-ratio: .6; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 15px; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- modal ---------- */
.product-modal { width: min(1040px, calc(100vw - 24px)); max-height: calc(100vh - 32px); border: none; border-radius: 0; padding: 0; background: #fff; overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.product-modal::backdrop { background: rgba(0, 0, 0, .4); }
.modal-close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; width: 40px; height: 40px; border: 0; background: #fff; font-size: 26px; font-weight: 300; cursor: pointer; }
.pm-body { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; padding: 32px; }
.pm-gallery .main { aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); }
.pm-gallery .main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 60px; height: 76px; overflow: hidden; border: 1px solid var(--line); padding: 0; cursor: pointer; background: #fff; }
.thumbs button.active { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pm-info h2, .product-page h1 { font-weight: 400; font-size: 26px; line-height: 1.3; letter-spacing: .01em; margin: 10px 0 16px; }
.pm-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.pm-price .price { font-size: 28px; }
.pm-price .save { color: var(--sale); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--sale); padding: 3px 8px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; }
.facts div { padding: 6px 10px; text-align: center; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts strong { display: block; font-size: 18px; font-weight: 500; }
.facts span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.shop-line { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 18px; flex-wrap: wrap; color: var(--ink-2); }
.tag { font-size: 10.5px; font-weight: 500; padding: 3px 8px; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: #fff; }
.tag.green { background: var(--soft); color: var(--ink); }
.pm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pm-actions .btn-primary { flex: 1; height: 54px; }
.pm-note { font-size: 12px; color: var(--muted); margin: 12px 0 18px; }
.desc { font-size: 14px; line-height: 1.75; color: var(--ink-2); white-space: pre-line; border-top: 1px solid var(--line); padding-top: 16px; max-height: 260px; overflow: auto; font-weight: 300; }
.related { grid-column: 1 / -1; }
.related h3 { font-weight: 400; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; margin: 10px 0 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--soft); color: var(--ink-2); padding: 60px 0 44px; margin-top: 56px; border-top: 1px solid var(--line); }
.site-footer .muted { color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.site-footer .brand { justify-content: flex-start; }
.site-footer .brand-name { font-size: 20px; }
.footer-note h4, .footer-cats h4 { font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px; color: var(--ink); }
.footer-cats { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 26px; }
.footer-cats a { display: inline-block; margin: 0 22px 10px 0; font-size: 13px; color: var(--ink-2); }
.footer-cats a:hover { color: var(--ink); text-decoration: underline; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 0; background: #fff; font-size: 16px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
body.view-list .hero, body.view-list .rail-section { display: none; }

/* ---------- static pages ---------- */
.static-main { padding-top: 28px; padding-bottom: 64px; min-height: 60vh; }
.static-page .header-inner { grid-template-columns: 1fr auto 1fr; }
.crumbs-nav { font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: 18px; }
.crumbs-nav a { color: var(--ink); }
.product-page { background: #fff; }
.summary { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); font-weight: 300; }
.desc-title { font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin: 28px 0 10px; }
.product-page .desc { max-height: none; }
.take { font-size: 15.5px; line-height: 1.75; color: var(--ink); background: var(--soft); padding: 18px 22px; margin: 0; font-weight: 300; }
.take-points { margin: 0 0 8px; padding: 0; list-style: none; font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.take-points li { padding: 9px 0 9px 22px; position: relative; border-bottom: 1px solid var(--line); }
.take-points li::before { content: "—"; position: absolute; left: 0; top: 9px; color: var(--muted); }
.related-static h2, .cat-hero h1 { font-weight: 400; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; margin: 52px 0 20px; }
.cat-hero { text-align: center; padding: 34px 20px 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.cat-hero h1 { font-size: 38px; margin: 0 0 12px; }
.cat-hero a { text-decoration: underline; }
.subcats { font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.cat-intro { max-width: 760px; line-height: 1.8; color: var(--ink-2); margin: 12px auto 0; font-weight: 300; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-showcase { grid-template-columns: repeat(4, 1fr); }
  .hero-showcase .tile:nth-child(n+5) { display: none; }
  .rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; }
}
@media (max-width: 900px) {
  .catalog-body { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters { display: none; position: static; border: 1px solid var(--line); padding: 18px; }
  .filters.open { display: block; }
  .pm-body { grid-template-columns: 1fr; padding: 18px; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { position: static; transform: none; width: auto; padding: 26px 16px 4px; }
  .hero-showcase { grid-template-columns: repeat(3, 1fr); }
  .hero-showcase .tile:nth-child(n+4) { display: none; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .header-inner { grid-template-columns: auto 1fr; height: 60px; gap: 12px; }
  .brand { grid-column: 1; justify-self: start; }
  .brand-name { font-size: 18px; letter-spacing: .24em; }
  .search { grid-column: 2; max-width: none; }
  .header-links { display: none; }
  .cat-nav { justify-content: flex-start; gap: 20px; }
  .hero-showcase { grid-template-columns: repeat(2, 1fr); }
  .hero-showcase .tile:nth-child(n+3) { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-stats div { padding: 4px 14px; }
  .hero-stats strong { font-size: 18px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .rail { grid-auto-columns: 44%; gap: 12px; }
  .catalog-head { flex-direction: column; align-items: stretch; }
  .toolbar { justify-content: space-between; }
  .section-head { margin-top: 48px; }
  .section-head h2 { font-size: 22px; }
  .cat-hero h1 { font-size: 28px; }
}

/* ---------- guides & articles (/guides/) — shared block, inherits each site's colours ---------- */
.guide { max-width: 860px; margin: 0 auto; line-height: 1.75; }
.guide-head h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 6px 0 10px; }
.guide-meta { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; }
.guide h2 { font-size: 24px; line-height: 1.25; margin: 38px 0 12px; }
.guide p, .guide li { font-size: 16px; }
.guide-body ul { padding-left: 22px; }
.answer { border: 1.5px solid var(--line); border-left-width: 5px; border-radius: 10px; padding: 16px 20px; margin: 0 0 26px; }
.answer p { margin: 0; }
.answer .answer-h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cmp-wrap { overflow-x: auto; margin: 0 0 8px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.cmp th, .cmp td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cmp th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cmp td.n, .cmp th.n { text-align: right; white-space: nowrap; }
.cmp td a { display: flex; align-items: center; gap: 10px; }
.cmp td img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 6px; flex-shrink: 0; }
.pick { display: grid; grid-template-columns: 200px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pick-img img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; }
.pick-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 4px; color: var(--muted); }
.pick h3 { font-size: 18px; line-height: 1.4; margin: 0 0 6px; }
.pick-meta { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.pick-meta .price { font-size: 17px; }
.pick-watch { font-size: 14.5px !important; color: var(--muted); }
.pick-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.pick-cta .btn { height: 44px; padding: 0 18px; font-size: 13.5px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.faq details p { margin: 8px 0 0; }
.guide-links ul { padding-left: 20px; }
.guide-links li { margin: 4px 0; }
.guide-links a, .featured-in a { text-decoration: underline; text-underline-offset: 3px; }
.featured-in { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.guide-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 30px; }
.guide-card { display: flex; flex-direction: column; gap: 6px; border: 1.5px solid var(--line); border-radius: 12px; padding: 18px; }
.guide-card strong { font-size: 17px; line-height: 1.35; }
.guide-card > span:last-child { font-size: 14px; color: var(--muted); line-height: 1.55; }
.footer-guides-h { width: 100%; margin: 18px 0 10px !important; }
@media (max-width: 680px) { .pick { grid-template-columns: 96px 1fr; gap: 14px; } .guide h2 { font-size: 21px; } }

/* ---------- /ig/ link-in-bio page ---------- */
.ig-hero input { width: 100%; max-width: 360px; height: 46px; margin-top: 10px; padding: 0 14px; font-size: 16px; border: 1.5px solid var(--line); border-radius: 10px; }
.ig-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ig-item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; }
.ig-item[hidden] { display: none; }
.ig-img { position: relative; }
.ig-img img { width: 110px; height: 110px; object-fit: contain; background: #fff; border-radius: 8px; }
.ig-code { position: absolute; left: 4px; top: 4px; background: rgba(0, 0, 0, .78); color: #fff; font-weight: 700; font-size: 13px; padding: 2px 8px; border-radius: 6px; }
.ig-body h2 { font-size: 14.5px; line-height: 1.4; margin: 0 0 6px; }
.ig-body .btn { height: 40px; padding: 0 16px; font-size: 13px; }
