/* ==========================================================================
   MENPOL — Brand site stylesheet
   Direction: "Modern DTC" — warm neutral ground, ink type, image-led,
   deliberately unlike the blue-on-white Amazon listing look.
   No external font/CDN dependency. Single file.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:        #FAF7F2;
  --surface:   #FFFFFF;
  --sand:      #F1EAE0;
  --sand-2:    #E8DFD2;
  --ink:       #16140F;
  --ink-2:     #4A453C;
  --muted:     #8B8477;
  --line:      #E4DCD0;
  --line-2:    #D6CCBC;
  --accent:    #2F5D4B;
  --accent-2:  #24493B;
  --warn:      #8A4B22;

  --radius:    16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --maxw: 1240px;
  --gap:  24px;

  --shadow-sm: 0 1px 2px rgba(22,20,15,.04), 0 2px 8px rgba(22,20,15,.04);
  --shadow-md: 0 4px 12px rgba(22,20,15,.06), 0 12px 32px rgba(22,20,15,.06);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--sand { background: var(--sand); }
.section--ink   { background: var(--ink); color: #F6F2EA; }
.section--ink .lead, .section--ink .muted { color: #C9C0B0; }

/* ---------- Typography ---------- */
.h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); line-height: 1.04; letter-spacing: -0.025em; font-weight: 800; }
.h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
}
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head .h2 + .lead { margin-top: 16px; }
.stack-8  > * + * { margin-top: 8px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .95rem; letter-spacing: -0.005em;
  border: 1.5px solid transparent; transition: transform .12s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 32px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 68px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand__mark {
  font-size: 1.32rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase;
}
.brand__tag {
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: .9rem; font-weight: 600; color: var(--ink-2);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.header-cta { margin-left: 4px; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-2);
  border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: .85rem;
}

/* ---------- Announcement ---------- */
.announce {
  background: var(--ink); color: #F0EBE1;
  font-size: .82rem; letter-spacing: .02em; text-align: center;
  padding: 9px 16px;
}
.announce strong { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 76px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__copy .h1 + .lead { margin-top: 22px; }
.hero__copy .btn-row { margin-top: 32px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px;
  font-size: .84rem; color: var(--ink-2); font-weight: 600;
}
.hero__meta li { display: flex; align-items: center; gap: 8px; }
.hero__meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.hero__media {
  border-radius: var(--radius); overflow: hidden; background: var(--sand);
  box-shadow: var(--shadow-md); aspect-ratio: 4 / 5;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255,255,255,.94); border-radius: var(--radius-sm);
  padding: 12px 16px; box-shadow: var(--shadow-sm);
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
}

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust__item { padding: 26px 22px; border-right: 1px solid var(--line); }
.trust__item:last-child { border-right: 0; }
.trust__item b { display: block; font-size: .98rem; font-weight: 800; letter-spacing: -0.01em; }
.trust__item span { display: block; margin-top: 6px; font-size: .84rem; color: var(--muted); line-height: 1.5; }

/* ---------- Product grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }

.pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.pcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-2); }
.pcard__media { background: var(--sand); aspect-ratio: 4 / 3; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.pcard__kicker { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pcard__name { font-size: 1.06rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.012em; }
.pcard__desc { font-size: .9rem; color: var(--ink-2); flex: 1; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.price { font-size: 1.06rem; font-weight: 800; letter-spacing: -0.01em; }
.price small { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.link-arrow { font-size: .88rem; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* ---------- Feature / steps ---------- */
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.feature__num { font-size: .74rem; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.feature h3 { margin-top: 12px; }
.feature p { margin-top: 10px; font-size: .92rem; color: var(--ink-2); }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.step { counter-increment: s; }
.step::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  color: var(--accent); margin-bottom: 12px;
}

/* ---------- PDP ---------- */
.pdp { padding: 34px 0 84px; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 8px; }

.pdp__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: start; }
.gallery { position: sticky; top: 92px; }
.gallery__main {
  background: var(--sand); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1 / 1; border: 1px solid var(--line);
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button {
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; aspect-ratio: 1 / 1; padding: 0;
}
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp__title { font-size: clamp(1.3rem, 2.5vw, 1.72rem); line-height: 1.24; letter-spacing: -0.018em; font-weight: 800; }
.pdp__sub { margin-top: 12px; font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 16px; }
.rating { font-weight: 700; color: var(--ink-2); }
.price-block { display: flex; align-items: baseline; gap: 12px; margin-top: 20px; }
.price-block .now { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.price-block .was { color: var(--muted); text-decoration: line-through; }
.price-note { margin-top: 8px; font-size: .82rem; color: var(--accent); font-weight: 700; }

.opt { margin-top: 26px; }
.opt__label { font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.opt__label b { color: var(--ink); letter-spacing: 0; text-transform: none; font-size: .95rem; margin-left: 6px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.swatch {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line-2); background: var(--surface);
  border-radius: var(--radius-pill); padding: 9px 16px 9px 10px;
  font-size: .88rem; font-weight: 600;
}
.swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch__dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(22,20,15,.18); flex: none; }
.swatch--pack .swatch__dot {
  border-radius: 5px; width: 26px; height: 18px;
  background-image: linear-gradient(90deg, currentColor 0 33%, transparent 33% 66%, currentColor 66%);
  opacity: .85;
}

.size-select {
  margin-top: 12px; width: 100%; appearance: none;
  background: var(--surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%2316140F' stroke-width='2'/></svg>") no-repeat right 18px center;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 15px 46px 15px 16px; font-size: .98rem; font-weight: 600; color: var(--ink);
}
.size-select:hover { border-color: var(--ink); }
.opt__hint { margin-top: 10px; font-size: .84rem; color: var(--ink-2); }
.opt__hint a { border-bottom: 1.5px solid var(--accent); font-weight: 700; }

.buy-row { margin-top: 24px; display: grid; gap: 12px; }
.buy-row .btn { width: 100%; }
.fulfil { margin-top: 14px; font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }

.acc { margin-top: 34px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-weight: 700; font-size: .98rem; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.25rem; font-weight: 600; color: var(--muted); line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc__body { padding: 0 0 22px; }
.acc__body ul { display: grid; gap: 12px; }
.acc__body li { position: relative; padding-left: 22px; font-size: .93rem; color: var(--ink-2); }
.acc__body li::before {
  content: ""; position: absolute; left: 0; top: .56em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
}

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
table.tbl { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .9rem; }
table.tbl caption { text-align: left; padding: 18px 20px 0; font-weight: 800; font-size: .98rem; }
table.tbl th, table.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
table.tbl thead th {
  background: var(--sand); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 800; color: var(--ink-2); white-space: nowrap;
}
table.tbl tbody th { font-weight: 700; background: var(--surface); }
table.tbl tbody tr:nth-child(even) td { background: #FCFAF6; }
table.tbl tbody tr:last-child th, table.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl-note { padding: 14px 20px 18px; font-size: .84rem; color: var(--muted); }

.spec-table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.spec-table th, .spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; font-weight: 700; color: var(--ink-2); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- Callouts, note, compare ---------- */
.note {
  background: var(--sand); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; font-size: .91rem; color: var(--ink-2);
}
.note b { color: var(--ink); }
.badge {
  display: inline-block; padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.badge--outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  border: 1px solid var(--line-2); border-radius: var(--radius-pill);
  padding: 9px 16px; font-size: .85rem; font-weight: 600; color: var(--ink-2); background: var(--surface);
}

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; }
.faq details + details { margin-top: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .faq__body { padding-bottom: 24px; font-size: .94rem; color: var(--ink-2); }
.faq .faq__body p + p { margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #CFC6B7; padding: 68px 0 34px; }
.site-footer a { color: #E8E1D5; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .brand__mark { color: #fff; }
.footer__about { margin-top: 16px; font-size: .88rem; line-height: 1.65; color: #B7AD9C; max-width: 34ch; }
.footer h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 800; margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer li a { font-size: .9rem; }
.footer__bottom {
  margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between;
  font-size: .78rem; color: #9A9080;
}
.footer__disclaimer { margin-top: 22px; font-size: .76rem; line-height: 1.6; color: #8A8071; max-width: 88ch; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { gap: 40px; }
  .pdp__grid { gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(1), .trust__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .gallery { position: static; }
  .pdp__grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__media { aspect-ratio: 4 / 3; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px;
  }
  .nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header-cta { margin-left: 12px; }
  .header-cta .btn { padding: 10px 16px; font-size: .82rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .pdp__title { font-size: 1.2rem; }
}
@media (max-width: 420px) {
  .brand__tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .announce, .buy-row, .thumbs, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
