:root {
  --ink: #1c1915;
  --lime: #85c440;
  --lime-dark: #6ea332;
  --cream: #f8f6f1;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: #e6e0d4;
  --muted: #6f6a62;
  --sale: #b42318;
  --yellow: #fff3c4;
  --navy: #00254b;
  --shadow: 0 16px 40px rgba(28, 25, 21, 0.08);
  --header: 118px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --max: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--ink); color: #fff;
  padding: 8px 12px; z-index: 100; border-radius: 6px;
}
.skip:focus { top: 8px; }

.announce {
  background: var(--ink); color: #fff; overflow: hidden; height: 38px;
  display: flex; align-items: center; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
}
.marquee { display: flex; gap: 0; width: max-content; animation: slide 32s linear infinite; }
.marquee span { padding: 0 28px; white-space: nowrap; }
.marquee span::before { content: "·"; margin-right: 28px; color: var(--lime); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

body.nav-open .site-header { z-index: 80; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 246, 241, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  max-width: var(--max); margin: 0 auto; padding: 14px 20px 6px;
  display: flex; align-items: center; justify-content: space-between; position: relative; min-height: 72px; gap: 8px;
}
.wordmark {
  font-weight: 800; font-size: 28px; letter-spacing: -0.045em;
  color: var(--ink); line-height: 1; white-space: nowrap;
}
.header-row .wordmark {
  position: absolute; left: 50%; transform: translateX(-50%); text-align: center;
}
.wordmark small { display: block; font-size: 10px; letter-spacing: 0.22em; font-weight: 700; text-align: center; margin-top: 4px; text-transform: uppercase; color: var(--muted); }
.nav-toggle, .icon-btn {
  width: 42px; height: 42px; border: 0; background: transparent; border-radius: 50%;
  display: grid; place-items: center; position: relative;
}
.nav-toggle { display: none; }
.mobile-only { display: none; }
.icon-btn:hover, .nav-toggle:hover { background: rgba(28,25,21,0.06); }
.icon-btn svg, .nav-toggle svg { width: 22px; height: 22px; }
.tools { display: flex; align-items: center; gap: 2px; margin-left: auto; position: relative; z-index: 1; }
.badge-count {
  position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: var(--lime); color: var(--ink); font-size: 10px;
  font-weight: 800; display: grid; place-items: center;
}
.badge-count:empty, .badge-count[data-n="0"] { display: none; }
.primary-nav {
  max-width: var(--max); margin: 0 auto; padding: 0 12px 10px;
  display: flex; justify-content: center; gap: 4px; flex-wrap: wrap;
}
.primary-nav > a, .nav-drop > button.nav-link {
  background: none; border: 0; padding: 8px 12px; font-size: 13px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px;
}
.primary-nav > a:hover, .nav-drop > button.nav-link:hover,
.primary-nav > a[aria-current="page"] { background: #fff; }
.nav-drop { position: relative; }
.mega {
  display: none; position: absolute; left: 50%; transform: translateX(-50%);
  top: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 18px; min-width: 680px;
  grid-template-columns: repeat(3, 1fr); gap: 16px; z-index: 30;
}
.nav-drop:hover .mega, .nav-drop:focus-within .mega { display: grid; }
.mega h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.mega a { display: block; padding: 6px 0; font-weight: 700; font-size: 14px; color: #3a342c; }
.mega a:hover { color: var(--ink); }

.hero { position: relative; background: #efe8d8; overflow: hidden; }
#hero-track { display: flex; width: 100%; min-width: 0; }
.hero-slide { flex: 0 0 100%; min-width: 100%; position: relative; }
.hero-slide img { width: 100%; height: min(52vw, 520px); object-fit: cover; object-position: left center; }
.hero-hit {
  position: absolute; left: 6%; bottom: 10%; 
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff;
  box-shadow: var(--shadow); font-size: 22px;
}
.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); }
.hero-dots button[aria-current="true"] { background: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 28px 20px; }
.cats { display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px; min-width: 0; }
.cat { text-align: center; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.cat img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #fff; margin-bottom: 8px; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(28,25,21,.06); }
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust div { padding: 14px 10px; text-align: center; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; }
.ribbon {
  background: var(--lime); color: var(--ink); overflow: hidden; max-width: 100%; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; font-size: 13px;
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 28px; letter-spacing: -0.03em; font-weight: 800; }
.section-head p, .kicker { margin: 4px 0 0; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; font-weight: 800; }
.linkish { font-weight: 800; border-bottom: 1px solid var(--ink); font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 14px; }
.card { background: transparent; }
.card-media { position: relative; background: #fff; border-radius: 8px; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 2/3; object-fit: cover; background: #f3efe6; }
.card-media .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; z-index: 1; }
.card:hover .alt { opacity: 1; }
.card h3 { margin: 10px 0 4px; font-size: 14px; font-weight: 700; line-height: 1.35; min-height: 2.7em; }
.price { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-weight: 800; }
.price s { color: var(--muted); font-weight: 700; font-size: 13px; }
.price .now { color: var(--ink); }
.off {
  position: absolute; left: 8px; top: 8px; z-index: 2; background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 7px; border-radius: 999px; letter-spacing: 0.04em;
}
.wish {
  position: absolute; right: 8px; top: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
}
.wish[aria-pressed="true"] { background: var(--ink); color: #fff; }
.stars { color: #e0a100; font-size: 12px; letter-spacing: 1px; }

.gender { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gender a { position: relative; border-radius: 16px; overflow: hidden; min-height: 280px; background: #efe8d8; }
.gender img { width: 100%; height: 420px; object-fit: cover; }
.gender span {
  position: absolute; left: 20px; bottom: 20px; background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 999px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px;
}
.ages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ages a { background: var(--yellow); border-radius: 16px; overflow: hidden; text-align: center; padding-bottom: 12px; font-weight: 800; }
.ages img { width: 100%; height: 240px; object-fit: cover; object-position: top; }
.perks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: center; }
.perks div { background: #fff; border-radius: 16px; padding: 18px 10px; }
.perk-ico { width: 54px; height: 54px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; }
.journal { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.journal article { background: #fff; border-radius: 16px; overflow: hidden; }
.journal img { width: 100%; height: 220px; object-fit: cover; }
.journal div { padding: 14px 14px 18px; }
.journal h3 { margin: 0 0 8px; font-size: 18px; }
.looks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.looks img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.promise { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); }
.promise div { padding: 22px 16px; text-align: center; }
.promise strong { display: block; margin-top: 6px; letter-spacing: 0.06em; font-size: 13px; }

.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 10px; }
.foot-grid { max-width: var(--max); margin: 0 auto; padding: 36px 20px 20px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h2 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 10px; }
.site-footer a, .site-footer p { display: block; padding: 4px 0; color: #3c3832; font-weight: 650; font-size: 14px; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.fine { border-top: 1px solid var(--line); padding: 14px 20px 22px; text-align: center; color: var(--muted); font-size: 13px; }
.mail { font-weight: 800; color: var(--ink) !important; }

.btn, button.btn, a.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--lime); color: var(--ink); border: 0; border-radius: 999px;
  padding: 12px 20px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px;
}
.btn:hover { background: var(--lime-dark); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #000; }
.btn.ghost { background: #fff; border: 1px solid var(--ink); }
.btn.full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.page-title { padding: 18px 0 6px; }
.page-title h1 { margin: 0; font-size: 36px; letter-spacing: -0.03em; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.crumbs a { text-decoration: underline; }

.toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 8px 0 16px; flex-wrap: wrap; }
.toolbar select, .field input, .field select, .field textarea {
  border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 12px 12px; width: 100%; font-weight: 650;
}
.layout { display: grid; grid-template-columns: 240px 1fr; gap: 22px; }
.filters { background: #fff; border-radius: 16px; padding: 14px; height: fit-content; }
.filters h2 { font-size: 14px; margin: 12px 0 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.filters label { display: flex; gap: 8px; align-items: center; padding: 4px 0; font-weight: 700; font-size: 14px; }

.pdp { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; }
.gallery img { width: 100%; aspect-ratio: 2/3; object-fit: cover; background: #fff; border-radius: 12px; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { border: 2px solid transparent; padding: 0; background: #fff; border-radius: 8px; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 72px; height: 96px; object-fit: cover; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.sizes button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; font-weight: 800; }
.sizes button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 18px; }
.qty input { width: 42px; border: 0; text-align: center; font-weight: 800; background: transparent; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.note { background: #fff; border-radius: 12px; padding: 12px 14px; color: #3c3832; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.4em; font-size: 22px; }
.prose p, .prose li { font-weight: 600; color: #2c2823; }
.prose ul { padding-left: 18px; }

.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.cart-table th, .cart-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table img { width: 72px; height: 96px; object-fit: cover; border-radius: 8px; }
.summary { background: #fff; border-radius: 16px; padding: 16px; }
.summary row, .sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.split { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 18px; }
.field { margin-bottom: 12px; }
.field span { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.err { color: var(--sale); font-size: 13px; font-weight: 700; min-height: 1.1em; }
.ok { background: #eef8df; border: 1px solid #c6e39a; padding: 12px 14px; border-radius: 12px; }
.panel { background: #fff; border-radius: 16px; padding: 18px; }
.auth { max-width: 480px; margin: 10px auto 30px; }
.center-links { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-top: 10px; }
.center-links a { text-decoration: underline; }

.search-pop, .drawer, .nav-scrim {
  position: fixed; inset: 0; background: rgba(28,25,21,.45); z-index: 60; display: none;
}
.search-pop.open, .drawer.open, .nav-scrim.open { display: block; }
.search-box, .drawer-panel {
  background: var(--cream); height: 100%; width: min(420px, 100%); margin-left: auto;
  padding: 18px; overflow: auto; box-shadow: var(--shadow);
}
.search-box { width: min(720px, 100%); margin: 0 auto; height: auto; max-height: 80vh; border-radius: 0 0 16px 16px; }
.search-hit { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.search-hit img { width: 64px; height: 84px; object-fit: cover; border-radius: 6px; }
.faq details { background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; }
.faq summary { font-weight: 800; cursor: pointer; }
.cookie-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 16px;
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cookie-bar a { color: var(--lime); text-decoration: underline; }
.switch { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(5, 1fr); }
  .journal { grid-template-columns: 1fr 1fr; }
  .looks { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(3, 1fr); }
  .wordmark { font-size: 24px; }
}
@media (max-width: 989px) {
  .nav-toggle { display: grid; }
  .primary-nav {
    display: none; position: fixed; z-index: 70; inset: 0 auto 0 0; width: min(340px, 88vw);
    background: var(--cream); flex-direction: column; align-items: stretch; padding: 18px;
    overflow: auto; border-right: 1px solid var(--line);
  }
  body.nav-open .primary-nav { display: flex; }
  .mega { position: static; transform: none; min-width: 0; display: none; box-shadow: none; padding: 0 0 8px 10px; border: 0; background: transparent; }
  .nav-drop.open .mega { display: block; }
  .gender, .split, .pdp, .layout, .foot-grid { grid-template-columns: 1fr; }
  .ages { grid-template-columns: 1fr 1fr; }
  .promise, .trust { grid-template-columns: 1fr 1fr; }
  .hero-slide img { height: 78vw; min-height: 220px; object-position: left center; }
  #open-search, a[aria-label="Account"], a[aria-label="Wishlist"] { display: none; }
  .mobile-only { display: block; }
  .journal { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px 8px; }
  .cats { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 6px; width: 100%; max-width: 100%; }
  .cat { flex: 0 0 86px; }
  .card h3 { font-size: 13px; min-height: 0; }
  .section-head h2, .page-title h1 { font-size: 26px; }
  .wordmark { font-size: 16px; letter-spacing: -0.05em; }
  .wordmark small { display: none; }
  .header-row { min-height: 56px; padding: 8px 8px 4px; }
  .icon-btn, .nav-toggle { width: 34px; height: 34px; }
  .wrap { padding: 18px 12px; }
  .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display: none; }
  .gender img { height: 280px; }
  .hero-arrow { width: 36px; height: 36px; }
  .looks { grid-template-columns: 1fr 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  html { scroll-behavior: auto; }
}
