/* cf-html-v6 · OBA Outils store theme.
   Warm cream field, ink type, amber utility accents, mono micro-labels,
   square product frames, sale corner badges and a four-column footer.
   The palette arrives from skin-tokens.css; the sand ramp below is shared by
   every skin that ships this template (neutral tones, not skin identity). */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --header-h: 64px;
  --shop-max: 1240px;
  --shop-gap: 20px;
  --shop-radius: 2px;
  --shop-paper: #FBF7EE;
  --shop-sand: #E9E1CF;
  --shop-line: #D9CFBA;
  --shop-muted: #6B6450;
  --shop-muted-deep: #5F5947;
  --shop-bg: var(--skin-bg, #F3EEE2);
  --shop-text: var(--skin-text, #191813);
  --shop-accent: var(--skin-accent, #E8A81C);
  --shop-heading: var(--skin-heading, Archivo, Helvetica Neue, sans-serif);
  --shop-body: var(--skin-body, Inter, system-ui, sans-serif);
  --shop-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --shop-hairline: color-mix(in srgb, var(--shop-text) 18%, transparent);
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--shop-bg);
  color: var(--shop-text);
  font-family: var(--shop-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--shop-heading);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
::selection { background: var(--shop-accent); color: var(--shop-text); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; top: 0; left: 0;
}
.skip:focus {
  width: auto; height: auto; margin: 0; clip: auto; overflow: visible;
  padding: 8px 14px; z-index: 60; background: var(--shop-text); color: var(--shop-bg);
  font-family: var(--shop-mono); font-size: 12px;
}

/* ---------- utility strip ---------- */
.utility { background: var(--shop-text); color: var(--shop-bg); }
.utility__inner {
  max-width: var(--shop-max); margin: 0 auto; padding: 8px 16px;
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between;
}
.utility__item {
  margin: 0; font-family: var(--shop-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
}

/* ---------- header ---------- */
.shop-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--shop-bg); border-bottom: 1px solid var(--shop-line);
}
.shop-header__bar {
  max-width: var(--shop-max); margin: 0 auto; padding: 0 16px;
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.shop-brand {
  font-family: var(--shop-heading); font-weight: 800; font-size: 20px;
  text-transform: uppercase; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; padding: 6px 0;
}
.shop-nav { display: flex; align-items: center; gap: 20px; flex: 1 1 auto; flex-wrap: wrap; min-width: 0; }
.shop-nav__all {
  font-family: var(--shop-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; text-decoration: none;
  border-bottom: 2px solid var(--shop-accent); padding-bottom: 2px; white-space: nowrap;
}
.shop-nav__list { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; min-width: 0; }
.shop-nav__list a {
  font-family: var(--shop-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; text-decoration: none; color: var(--shop-muted-deep);
}
.shop-nav__list a:hover, .shop-nav__all:hover { color: var(--shop-text); }
.shop-search { position: relative; display: flex; order: 3; flex: 1 1 240px; max-width: 360px; }
.shop-search input {
  flex: 1 1 auto; min-width: 0; padding: 9px 12px; font: inherit; font-size: 13px;
  border: 1px solid var(--shop-line); border-radius: 0; background: var(--shop-paper); color: inherit;
}
.shop-search input::placeholder { color: var(--shop-muted); font-family: var(--shop-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.shop-search button {
  padding: 0 16px; border: 1px solid var(--shop-text); border-left: 0; border-radius: 0; cursor: pointer;
  background: var(--shop-accent); color: var(--shop-text);
  font-family: var(--shop-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
}
.search-results {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: var(--shop-paper);
  border: 1px solid var(--shop-text); box-shadow: 6px 6px 0 var(--shop-hairline);
  padding: 6px; z-index: 45; max-height: 60vh; overflow: auto;
}
.search-results a {
  display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px;
  text-decoration: none; font-size: 14px;
}
.search-results a:hover { background: var(--shop-sand); }
.search-results .empty { padding: 10px; margin: 0; color: var(--shop-muted); font-family: var(--shop-mono); font-size: 12px; }
.shop-cart {
  text-decoration: none; font-family: var(--shop-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  border: 1px solid var(--shop-text); padding: 9px 14px; order: 4; white-space: nowrap;
}
.shop-cart:hover { background: var(--shop-text); color: var(--shop-bg); }
.shop-header__toggle {
  display: none; cursor: pointer; border: 1px solid var(--shop-text); padding: 9px 12px;
  font-family: var(--shop-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
}
.menu-check { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- type helpers ---------- */
.kicker {
  margin: 0 0 14px; font-family: var(--shop-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--shop-muted-deep);
}
.kicker::before {
  content: ""; display: inline-block; width: 18px; height: 2px;
  background: var(--shop-accent); margin-right: 10px; vertical-align: middle;
}

/* ---------- hero ---------- */
.hero {
  max-width: var(--shop-max); margin: 32px auto 0; padding: 0 16px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0; align-items: stretch;
}
.hero__media { border: 1px solid var(--shop-text); background: var(--shop-paper); overflow: hidden; max-width: 100%; }
.hero__media img { display: block; width: 100%; height: auto; max-width: 100%; }
.hero__image { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.hero__panel {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 40px; border: 1px solid var(--shop-text); border-left: 0;
  background: var(--shop-paper);
}
.hero__panel--plain { grid-column: 1 / -1; border-left: 1px solid var(--shop-text); padding: 56px 40px; }
.hero__title {
  font-size: clamp(38px, 6vw, 76px); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.03em; margin: 0 0 14px; max-width: 14ch;
}
.hero__lede { margin: 0 0 26px; max-width: 40ch; color: var(--shop-muted-deep); font-size: 15px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--shop-radius); text-decoration: none;
  font-family: var(--shop-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.1em; border: 1px solid var(--shop-text); align-self: flex-start;
}
.button--solid { background: var(--shop-accent); color: var(--shop-text); }
.button--solid:hover { background: var(--shop-text); color: var(--shop-bg); }
.button--ghost { background: transparent; color: var(--shop-text); }
.button--ghost:hover { background: var(--shop-paper); }

/* ---------- sections ---------- */
.section { max-width: var(--shop-max); margin: 60px auto; padding: 0 16px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--shop-line);
}
.section-head__title {
  margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 800; text-transform: uppercase;
}
.section-head .kicker { margin-bottom: 8px; }
.section-head__link {
  font-family: var(--shop-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid var(--shop-accent); padding-bottom: 2px;
}
.section-head__link:hover { color: var(--shop-muted-deep); }
.category-grid { display: grid; gap: var(--shop-gap); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.category-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  min-height: 150px; padding: 20px; text-decoration: none;
  border: 1px solid var(--shop-line); border-radius: var(--shop-radius);
  background: var(--shop-paper);
  border-top: 3px solid var(--shop-accent);
}
.category-card:hover { border-color: var(--shop-text); border-top-color: var(--shop-text); }
.category-card__kicker {
  font-family: var(--shop-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--shop-muted);
}
.category-card__name {
  font-family: var(--shop-heading); font-size: 21px; font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1;
}
.category-card__cta { font-family: var(--shop-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.product-grid { display: grid; gap: var(--shop-gap); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.product-card { display: flex; flex-direction: column; gap: 12px; }
.product-card__media {
  position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1;
  border: 1px solid var(--shop-line); border-radius: var(--shop-radius);
  background: var(--shop-paper);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card__media:hover img { transform: scale(1.03); }
.product-card .image-placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%;
  font-family: var(--shop-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--shop-muted);
}
.badge {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: var(--shop-accent); color: var(--shop-text);
  border: 1px solid var(--shop-text); padding: 4px 9px;
  font-family: var(--shop-mono); font-size: 11px; letter-spacing: 0.06em;
}
.product-card__info h3 {
  margin: 0 0 4px; font-family: var(--shop-body); font-size: 15px;
  font-weight: 600; letter-spacing: 0; line-height: 1.35;
}
.product-card__info h3 a { text-decoration: none; }
.product-card__info h3 a:hover { text-decoration: underline; text-decoration-color: var(--shop-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.price { margin: 0; font-family: var(--shop-mono); font-size: 14px; letter-spacing: -0.01em; }
.price s { color: var(--shop-muted); margin-right: 8px; }

/* ---------- collection ---------- */
.breadcrumb {
  max-width: var(--shop-max); margin: 22px auto 0; padding: 0 16px;
  display: flex; gap: 10px; font-family: var(--shop-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--shop-muted-deep);
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--shop-text); }
.collection-head { max-width: var(--shop-max); margin: 26px auto 0; padding: 0 16px; }
.collection-head__title {
  margin: 0; font-size: clamp(32px, 5vw, 56px); font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.03em;
}
.collection-head__lede { margin: 12px 0 0; max-width: 56ch; color: var(--shop-muted-deep); font-size: 15px; }

/* ---------- pdp ---------- */
.pdp {
  max-width: var(--shop-max); margin: 34px auto 64px; padding: 0 16px;
  display: grid; gap: 40px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}
.pdp__media {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1;
  border: 1px solid var(--shop-text); border-radius: var(--shop-radius);
  background: var(--shop-paper);
}
.pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp__media .image-placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%;
  font-family: var(--shop-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--shop-muted);
}
.pdp__title { margin: 0 0 14px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.pdp__price { margin: 0 0 20px; font-family: var(--shop-mono); font-size: 26px; }
.pdp__price s { color: var(--shop-muted); font-size: 18px; margin-right: 10px; }
.pdp__note {
  margin: 0 0 24px; max-width: 46ch; padding-top: 18px;
  border-top: 1px solid var(--shop-line); color: var(--shop-muted-deep); font-size: 14px;
}
.buy-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.pdp__source {
  display: inline-block; font-family: var(--shop-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none;
  border-bottom: 2px solid var(--shop-accent); padding-bottom: 2px;
}
.pdp__source:hover { color: var(--shop-muted-deep); }

/* ---------- assurance strip (field direction) ---------- */
.assurance { background: var(--shop-text); color: var(--shop-bg); }
.assurance__inner {
  max-width: var(--shop-max); margin: 0 auto; padding: 18px 16px;
  display: grid; gap: 14px 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.assurance__item {
  margin: 0; font-family: var(--shop-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
}

/* ---------- footer ---------- */
.shop-footer { margin-top: 80px; padding: 48px 16px 24px; background: var(--shop-text); color: var(--shop-bg); }
.shop-footer__inner {
  max-width: var(--shop-max); margin: 0 auto;
  display: grid; gap: 36px; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
}
.shop-footer__mark {
  margin: 0 0 10px; font-family: var(--shop-heading); font-size: 22px;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em;
}
.shop-footer__note { margin: 0; max-width: 34ch; font-size: 13px; color: color-mix(in srgb, var(--shop-bg) 72%, transparent); }
.shop-footer__cols { display: contents; }
.shop-footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.shop-footer__title {
  margin: 0 0 5px; padding-bottom: 8px; font-family: var(--shop-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  border-bottom: 1px solid color-mix(in srgb, var(--shop-bg) 26%, transparent);
}
.shop-footer__col a { text-decoration: none; color: color-mix(in srgb, var(--shop-bg) 82%, transparent); font-size: 14px; }
.shop-footer__col a:hover { color: var(--shop-accent); }
.shop-footer__col p { margin: 0; color: color-mix(in srgb, var(--shop-bg) 72%, transparent); }
.shop-footer__legal {
  max-width: var(--shop-max); margin: 40px auto 0; padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--shop-bg) 20%, transparent);
  font-family: var(--shop-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--shop-bg) 62%, transparent);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero__panel { border-left: 1px solid var(--shop-text); border-top: 0; padding: 32px 24px; }
  .shop-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .shop-nav {
    display: none; order: 5; width: 100%; flex-direction: column; align-items: flex-start; gap: 12px;
    padding: 16px 0; border-top: 1px solid var(--shop-line);
  }
  .menu-check:checked ~ .shop-nav { display: flex; }
  .shop-nav__list { flex-direction: column; gap: 10px; }
  .shop-header__toggle { display: inline-block; }
  .shop-search { order: 6; width: 100%; max-width: none; flex-basis: 100%; }
  .shop-cart { order: 2; margin-left: auto; }
  .hero { margin-top: 20px; }
  .hero__image { min-height: 200px; }
  .hero__panel, .hero__panel--plain { padding: 24px 20px; }
  .hero__title { font-size: clamp(30px, 10vw, 42px); }
  .section { margin: 36px auto; }
  .section-head { flex-wrap: wrap; align-items: flex-start; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pdp { margin-top: 24px; gap: 24px; }
  .shop-footer__inner { grid-template-columns: 1fr; }
  .shop-footer__legal { margin-top: 28px; }
}

/* Horizontal overflow fix (2026-11-30 visual gate: responsive.overflow):
   long serif words and the hero image push scrollWidth past the viewport at
   390/1440. Fix the layout itself; do not mask with overflow-x:hidden. */
h1, h2, h3, .hero__title, .category-card__name { overflow-wrap: anywhere; word-break: normal; }
.banner, .hero, .shop-section, .product-grid, .category-grid { min-width: 0; max-width: 100%; }
.product-grid > *, .category-grid > * { min-width: 0; }
img { max-width: 100%; height: auto; }
