@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #fff;
  --ink: #111;
  --muted: #575550;
  --line: #dfdcd7;
  --studio: #f0ece4;
  --hero: #eeece7;
  --accent: #825139;
  --accent-soft: #efe3d6;
  --action: #24211d;
  --action-ink: #fffcf6;
  --dock: #201e1a;
  --dock-text: #f8f4ed;
  --dock-muted: #d3c8b9;
  --dock-line: #5e574e;
  --sans: "Instrument Sans", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --shell: min(100% - 96px, 1360px);
  --header-offset: 88px;
  --mode-marble: url("images/watches-marbre-blanc.png");
  --marble-opacity: .75;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0d;
  --surface: #151518;
  --ink: #f5f5f7;
  --muted: #bbb5ac;
  --line: #3a3836;
  --studio: #322e27;
  --hero: #222225;
  --accent: #e0b895;
  --accent-soft: #392b22;
  --action: #eee3d2;
  --action-ink: #211a15;
  --dock-line: #665a4f;
  --mode-marble: url("images/watches-marbre-noir.png");
  --marble-opacity: .65;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-offset); }
body { margin: 0; min-height: 100dvh; isolation: isolate; color: var(--ink); background: var(--bg); font: 16px/1.5 var(--sans); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--mode-marble) center top / cover no-repeat;
  opacity: var(--marble-opacity);
}
body.has-dock { padding-bottom: var(--dock-space, 120px); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button { background: none; }
button:disabled { cursor: not-allowed; }
button:disabled:not(.lot-submit) { opacity: .46; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 10px 14px; background: var(--surface); }
.shell { width: var(--shell); margin-inline: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .96; letter-spacing: -.025em; }
h1 { font-size: clamp(48px, 7vw, 104px); }
h2 { font-size: clamp(36px, 4.65vw, 64px); }
input:not([type="radio"]), select, textarea {
  min-width: 0; min-height: 45px; width: 100%; padding: 8px 11px; background: var(--surface);
  color: var(--ink); border: 1px solid var(--line); border-radius: 6px;
}
textarea { resize: vertical; }
input::placeholder { color: var(--muted); opacity: 1; }
input[type="number"] { font-variant-numeric: tabular-nums; }
.primary, .outline-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 47px;
  max-width: 100%; padding: 9px 18px; border: 1px solid var(--action); border-radius: 99px;
  color: var(--action-ink); background: var(--action); font-size: 15px; font-weight: 650; text-align: center;
}
.primary:hover:not(:disabled) { filter: brightness(1.13); }
.outline-button { color: var(--ink); border-color: var(--line); background: transparent; }
.outline-button:hover { border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); border: 0; font-weight: 600; text-decoration: underline; text-underline-offset: .27em; }
.text-link:hover, .footer a:hover { color: var(--accent); }
.muted { color: var(--muted); }

.masthead { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(15px); }
.mast-inner { min-height: 72px; display: grid; grid-template-columns: auto 1fr minmax(0, auto); align-items: center; gap: clamp(18px, 3vw, 44px); }
.wordmark { display: inline-flex; align-items: baseline; gap: 6px; flex: none; font: 400 35px/.85 var(--serif); letter-spacing: .004em; white-space: nowrap; }
.wordmark small { color: var(--accent); font: 700 9px/1 var(--sans); letter-spacing: .15em; }
.wordmark img { width: 92px; height: auto; }
[data-theme="light"] .wordmark img { filter: invert(1); }
.main-nav, .header-actions, .social-nav { display: flex; align-items: center; gap: 12px; }
.main-nav { gap: clamp(12px, 2.2vw, 32px); }
.main-nav a { display: inline-flex; align-items: center; min-height: 42px; white-space: nowrap; color: var(--muted); font-size: 14px; font-weight: 600; }
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; }
.main-nav #bulk-link { color: var(--accent); }
.header-actions { gap: 7px; justify-content: flex-end; }
.header-search { display: flex; align-items: center; position: relative; }
.header-search input { width: clamp(183px, 19vw, 280px); padding: 9px 12px 9px 36px; border-radius: 99px; font-size: 14px; }
.header-search svg { position: absolute; left: 13px; z-index: 1; pointer-events: none; width: 18px; height: 18px; }
.icon-button { display: inline-flex; position: relative; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 0 7px; border: 1px solid transparent; border-radius: 50%; color: var(--ink); }
.icon-button:hover { background: var(--accent-soft); }
.icon-button svg, .header-search svg, .theme-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.toolbar-count { position: absolute; top: 1px; right: 0; display: grid; min-width: 16px; height: 16px; padding-inline: 3px; place-content: center; border-radius: 12px; background: var(--action); color: var(--action-ink); font-size: 9px; font-weight: 650; }
.theme-toggle {
  position: relative; display: inline-grid; grid-template-columns: repeat(2, 1fr);
  place-items: center; width: 66px; min-height: 36px; flex: none;
  padding: 3px; border: 1px solid var(--line); border-radius: 99px;
  color: var(--ink); background: var(--surface);
}
.theme-toggle:hover { background: var(--accent-soft); }
.theme-toggle svg { position: relative; width: 15px; height: 15px; }
.theme-thumb {
  position: absolute; top: 3px; left: 3px; width: 28px; height: 28px;
  border-radius: 50%; background: #c6a87c; transition: transform .25s;
}
[data-theme="dark"] .theme-thumb { transform: translateX(30px); }
[data-theme="light"] .theme-sun, [data-theme="dark"] .theme-moon { color: #18140e; }
.social-nav a { display: grid; width: 34px; min-height: 40px; place-items: center; }
.social-nav svg { width: 17px; }
.order-link { font-weight: 600; font-size: 14px; }
.order-link:hover { text-decoration: underline; text-underline-offset: .2em; }

.hero { display: grid; grid-template-columns: 1fr 1.14fr; margin-top: clamp(20px, 4vw, 54px); overflow: hidden; border-radius: 12px; background: var(--studio); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px, 5vw, 76px); }
.hero h1 { font-size: clamp(64px, 8.2vw, 126px); }
.hero h1 span { color: var(--accent); }
.hero-copy p { margin: 20px 0 26px; max-width: 37ch; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 19px; }
.hero-products {
  --hero-columns: 4;
  --hero-gap: 6px;
  display: flex; flex-wrap: wrap; align-content: center; justify-content: center;
  gap: var(--hero-gap); min-width: 0; padding: 8px; background: var(--studio);
}
.hero-product {
  position: relative; display: grid; place-items: center; min-width: 0;
  flex: 0 0 calc((100% - (var(--hero-columns) - 1) * var(--hero-gap)) / var(--hero-columns));
  aspect-ratio: 1;
  overflow: hidden; border-radius: 6px;
  background: radial-gradient(ellipse at 55% 30%, var(--surface), var(--hero));
}
.hero-product img {
  position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain;
  transition: transform .35s ease; filter: drop-shadow(0 10px 9px #22160029);
}
.hero-product:hover img { transform: scale(1.06); }
.hero-product:focus-visible { outline-offset: -4px; }
.hero-arrow {
  position: absolute; right: 9px; bottom: 9px;
  display: grid; place-items: center; width: 26px; height: 26px;
  border: 1px solid color-mix(in srgb, var(--ink) 24%, transparent); border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  color: var(--accent); font-size: 13px; line-height: 1;
}
@media (max-width: 1000px) {
  .hero-products { --hero-columns: 3; }
}
.home-selection { margin-top: clamp(42px, 6vw, 86px); }
.home-selection > h2 { margin-bottom: 18px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.home-categories, .products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-category { min-width: 0; }
.home-category > span:last-child { display: flex; justify-content: space-between; align-items: center; padding: 8px 3px; font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; }
.home-category > span:last-child::after { content: "↗"; font-weight: 400; }
.home-category:hover > span:last-child { color: var(--accent); }
.product-photo { display: grid; position: relative; place-items: center; overflow: hidden; background: var(--studio); border-radius: 8px; }
.product-photo img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; transition: transform .38s ease; }
.photo-placeholder { color: var(--muted); text-align: center; font-size: 13px; }
.home-category .photo { aspect-ratio: 1.35; }
.home-category:nth-child(2) .photo, .home-category:nth-child(4) .photo { background: color-mix(in srgb, var(--hero) 42%, var(--studio)); }
.home-category:hover img, .card:hover img { transform: scale(1.045); }
.card { position: relative; min-width: 0; }
.card .photo { aspect-ratio: 1.08; }
.card-open { display: block; }
.card-body { display: grid; gap: 2px; padding: 9px 1px 5px; }
.card-title { font-weight: 600; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.card-meta { color: var(--muted); font-size: 13px; }
.card-open:hover .card-title { color: var(--accent); }
.card-save { position: absolute; right: 8px; top: 8px; min-width: 39px; min-height: 39px; background: color-mix(in srgb, var(--surface) 93%, transparent); border: 1px solid var(--line); font: 23px/1 Arial, sans-serif; }
.card-save[aria-pressed="true"] { color: var(--accent); }
.enquiry-block { margin-top: clamp(50px, 7vw, 95px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 17px; background: var(--accent-soft); padding: clamp(20px,4vw,45px); border-radius: 9px; }
.enquiry-block h2 { font-size: clamp(34px,4vw,49px); }
.enquiry-block p { margin-top: 8px; color: var(--muted); }

.catalogue, .product-page, .cart-page { padding-top: clamp(27px, 4.8vw, 64px); }
.catalogue-heading h1 { font-size: clamp(48px, 6vw, 81px); }
.catalogue-heading p { max-width: 68ch; margin-top: 9px; color: var(--muted); }
.category-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.category-tabs button, .active-filters button { min-height: 42px; border: 1px solid var(--line); border-radius: 99px; padding: 7px 15px; font-weight: 600; color: var(--ink); }
.category-tabs button:hover, .active-filters button:hover { border-color: var(--accent); }
.category-tabs button[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: var(--action-ink); }
.filter-panel { border-block: 1px solid var(--line); margin-top: 16px; }
.filter-panel summary { padding: 11px 0; font-weight: 650; }
.filters { display: grid; grid-template-columns: minmax(236px, 1.65fr) repeat(4, minmax(0, 1fr)); gap: 10px; align-items: start; padding: 2px 0 15px; }
.filters label, .filter-label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.filters select { font-size: 14px; }
.gender-tabs { margin-top: 4px; gap: 3px; }
.gender-tabs button { font-size: 12px; min-height: 36px; padding: 6px 9px; }
.results, .section-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.results { margin: 14px 0; color: var(--muted); font-size: 14px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.active-filters button { font-size: 13px; min-height: 31px; padding: 4px 10px; }
.empty { padding: clamp(22px,6vw,58px); border: 1px solid var(--line); border-radius: 9px; text-align: center; }
.empty .primary { margin-top: 12px; }
.more-products { display: flex; width: fit-content; margin: 23px auto 0; }

.back-link { margin-bottom: 16px; font-size: 14px; }
.detail-content { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: clamp(25px, 5vw, 84px); align-items: start; }
.product-recommendations {
  margin-top: clamp(36px, 6vw, 76px);
  padding-top: clamp(22px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.product-recommendations h2 { margin: 0 0 18px; }
.detail-visual { min-width: 0; }
.detail-visual .product-photo { aspect-ratio: 1.15; }
.gallery-stage { position: relative; }
.gallery-stage > button { position: absolute; right: 10px; bottom: 10px; background: var(--surface); border-color: var(--line); border-radius: 99px; font-size: 14px; }
.gallery-controls { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 5px 0; color: var(--muted); font-size: 14px; }
.gallery-controls .icon-button { font-size: 25px; }
.gallery-thumbs { display: flex; align-items: center; overflow: auto; gap: 6px; padding: 3px; }
.gallery-thumb { flex: 0 0 60px; padding: 0; border: 1px solid var(--line); border-radius: 6px; }
.gallery-thumb .photo { aspect-ratio: 1; border-radius: 5px; }
.gallery-thumb[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.detail-copy h1 { font-size: clamp(47px, 6.6vw, 91px); margin: 8px 0 10px; overflow-wrap: anywhere; }
.detail-copy .card-meta { font-size: 14px; }
.variant-selector { display: grid; gap: 5px; margin-top: 16px; font-size: 14px; font-weight: 650; }
.purchase-panel { margin: 16px 0; padding-block: 15px; border-block: 1px solid var(--line); }
.purchase-panel form { display: grid; gap: 10px; margin-top: 9px; }
.purchase-panel .muted, .purchase-panel [role="status"] { font-size: 14px; }
.purchase-panel [role="status"]:not(:empty) { margin-top: 10px; font-weight: 600; color: var(--accent); }
.purchase-panel button[type="submit"] { min-height: 50px; }
.purchase-title { font-weight: 650; font-size: 15px; }
.purchase-sizes { padding: 0; margin: 0; border: 0; min-width: 0; }
.purchase-sizes legend { padding: 0; font-size: 14px; margin-bottom: 6px; font-weight: 650; }
.size-options, .size-matrix { display: grid; grid-template-columns: repeat(auto-fit,minmax(49px,1fr)); gap: 5px; }
.size-options label, .size-matrix label { min-width: 0; display: grid; text-align: center; gap: 4px; position: relative; }
.size-options label span { min-height: 42px; padding: 7px 2px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font-size: 14px; }
.size-options input:checked + span { background: var(--action); border-color: var(--action); color: var(--action-ink); }
.size-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.size-matrix label { font-size: 13px; font-weight: 600; }
.size-matrix input { padding: 7px 4px; text-align: center; }
.detail-actions,.order-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.order-alternative { display: inline-block; margin-top: 12px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

.cart-page { max-width: 900px; }
.cart-page h1 { font-size: clamp(51px, 7vw, 87px); }
#cart-summary { color: var(--muted); margin: 8px 0 15px; }
.cart-row { display: grid; align-items: center; grid-template-columns: minmax(0,1fr) 76px auto; gap: 12px; border-top: 1px solid var(--line); padding-block: 9px; }
.cart-item { display: grid; grid-template-columns: 73px minmax(0,1fr); gap: 9px; align-items: center; min-width: 0; }
.cart-item .photo { aspect-ratio: 1; }
.cart-item a { font-weight: 650; overflow-wrap: anywhere; }
.cart-item a:hover { text-decoration: underline; }
.cart-row label { display: grid; gap: 4px; font-size: 12px; }
.cart-row button { min-height: 41px; font-size: 13px; }
.cart-row.cart-row-shared { grid-template-columns: minmax(0, 1fr) auto; }
.cart-shared-quantity { white-space: nowrap; }
.cart-order { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.cart-order textarea, #order-preview textarea { display: block; margin-block: 5px 9px; }
#cart-preview, #order-preview, #cart-status, #order-status { margin-top: 9px; }
.cart-empty { color: var(--muted); border-top: 1px solid var(--line); padding: 15px 0; }
@media (max-width: 690px), (pointer: coarse) {
  /* Keep Safari from zooming in when a quantity field receives focus. */
  .size-matrix input[type="number"],
  .cart-row input[type="number"] { font-size: 16px; }
}

.wholesale-dock {
  position: fixed; z-index: 6; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px 22px; align-items: center;
  width: min(100% - 36px, 1040px); padding: 14px 18px; border: 1px solid var(--dock-line); border-radius: 14px;
  color: var(--dock-text); background: var(--dock); box-shadow: 0 12px 35px #0e090642;
}
.lot-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; }
.lot-heading span { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.lot-progress progress { display: block; width: 100%; margin: 6px 0 5px; height: 5px; overflow: hidden; border: 0; border-radius: 9px; background: var(--dock-line); appearance: none; accent-color: #e6c6a9; }
.lot-progress progress::-webkit-progress-bar { background: var(--dock-line); }
.lot-progress progress::-webkit-progress-value { background: #e6c6a9; }
.lot-progress progress::-moz-progress-bar { background: #e6c6a9; }
.lot-progress p { color: var(--dock-muted); font-size: 13px; }
.lot-actions { display: flex; align-items: center; justify-content: flex-end; gap: 11px; }
.dock-link { padding: 6px 3px; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; white-space: nowrap; }
.lot-submit { border-color: #e6c6a9; color: #221c17; background: #e6c6a9; font-size: 14px; white-space: nowrap; }
.lot-submit:disabled { border-color: var(--dock-line); background: var(--dock-line); color: var(--dock-text); }

.footer { margin-top: clamp(48px,7vw,94px); padding: 28px 0; border-top: 1px solid var(--line); }
.footer-inner, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 25px; }
.footer-inner { justify-content: space-between; }
.footer nav { color: var(--muted); font-size: 14px; }
dialog { width: min(100% - 28px,620px); max-height: 90dvh; padding: 18px; position: fixed; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--surface); }
dialog::backdrop { background: #120e0cba; }
body:has(dialog[open]) { overflow: hidden; }
.close { position: absolute; top: 6px; right: 7px; font-size: 23px; z-index: 1; background: var(--surface); border-color: var(--line); }
.share-content { display: grid; gap: 9px; padding-top: 15px; }
.share-content h2 { font-size: 40px; padding-right: 35px; }
.share-content .primary { justify-self: start; }
.image-dialog { width: min(100% - 28px,970px); padding: 0; background: var(--studio); }
.image-dialog img { width: 100%; height: min(77dvh,800px); object-fit: contain; }
.order-section { max-width: 820px; padding-top: clamp(28px,6vw,75px); padding-bottom: 30px; }
.order-section h1 { font-size: clamp(50px,7vw,83px); }
.order-intro { margin: 12px 0; color: var(--muted); max-width: 69ch; }
.order-section form { margin-top: 19px; }
.order-section label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.order-fields, .selection-fields { border: 0; padding: 0; min-width: 0; margin: 10px 0; }
.order-fields, .selection-item { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.selection-fields legend { font-weight: 650; padding: 0; }
.selection-item { border-bottom: 1px solid var(--line); margin-bottom: 8px; padding-block: 9px; }
.selection-item :is(h2,p) { grid-column: 1 / -1; }
.selection-item h2 { font-size: 29px; }
.order-section .order-actions { margin-top: 10px; }
.order-steps { padding-left: 25px; margin: 19px 0 24px; }
.order-steps li, .order-faq details { border-bottom: 1px solid var(--line); padding: 11px 0; }
.order-steps p, .order-faq p { color: var(--muted); }
.order-help-cta { margin-top: 14px; }

@media (max-width: 1050px) {
  :root { --shell: calc(100% - 54px); --header-offset: 131px; }
  .mast-inner { grid-template-columns: auto 1fr; gap: 3px 14px; padding-top: 8px; }
  .main-nav { grid-row: 2; grid-column: span 2; }
  .site-index .header-actions { grid-column: 2; grid-row: 1; }
  .filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .filters > div { grid-column: span 2; }
  .hero-copy { padding: max(24px, 4vw); }
  .hero h1 { font-size: clamp(57px,9vw,106px); }
  .hero .primary { white-space: normal; }
}
@media (max-width: 690px) {
  :root { --shell: calc(100% - 28px); }
  .mast-inner { min-height: 0; gap: 3px 10px; }
  .site-index .header-actions { display: contents; }
  .site-index .header-search { grid-column: span 2; grid-row: 2; }
  .site-index .header-search input { width: 100%; min-height: 39px; }
  .site-index #theme { grid-column: 2; grid-row: 1; justify-self: end; margin-right: 85px; }
  .site-index #favorites { grid-column: 2; grid-row: 1; justify-self: end; margin-right: 42px; }
  .site-index .header-cart { grid-column: 2; grid-row: 1; justify-self: end; }
  .main-nav { grid-row: 3; gap: 19px; overflow-x: auto; }
  .main-nav a { font-size: 13px; min-height: 36px; }
  .wordmark { font-size: 30px; }
  .mast-inner .social-nav { display: none; }
  .order-link { font-size: 12px; }
  .header-actions .primary { font-size: 12px; min-height: 40px; padding-inline: 10px; }
  .hero { grid-template-columns: 1fr; margin-top: 14px; }
  .hero-products { --hero-columns: 2; }
  .hero-copy { padding: 23px 20px 20px; }
  .hero h1 { font-size: clamp(53px,14vw,89px); }
  .hero h1 br { display: none; }
  .hero-copy p { margin: 12px 0 14px; }
  .hero-actions { gap: 9px 14px; }
  .hero .primary, .hero .text-link { font-size: 13px; }
  .hero .primary { min-height: 42px; padding-inline: 12px; }
  .home-categories, .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .card-body { padding-top: 6px; }
  .card-meta { font-size: 12px; }
  .card-title { font-size: 15px; }
  .category-tabs button { font-size: 13px; padding: 6px 10px; min-height: 37px; }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-content { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .similar-products {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 44%);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 5px 5px 12px;
  }
  .similar-products .card { scroll-snap-align: start; }
  .detail-copy h1 { margin-top: 5px; }
  .detail-visual .product-photo { aspect-ratio: 1.35; }
  .size-options,.size-matrix { grid-template-columns: repeat(auto-fit,minmax(46px,1fr)); }
  .wholesale-dock { width: calc(100% - 18px); padding: 9px 12px; gap: 6px; grid-template-columns: minmax(0,1fr); }
  .lot-actions { justify-content: space-between; }
  .lot-submit { min-height: 38px; padding: 4px 10px; }
  .lot-heading { font-size: 14px; }
  .lot-progress p { font-size: 12px; }
  .cart-row { gap: 6px; grid-template-columns: minmax(0,1fr) 58px auto; }
  .cart-item { grid-template-columns: 40px minmax(0,1fr); gap: 5px; font-size: 14px; }
  .cart-row button { padding: 5px 7px; }
  .cart-row input { padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Configurateur */
:root {
  --config-gold: #9c751a;
  --swatch-outline: #665639;
}
:root[data-theme="dark"] {
  --config-gold: #d4af37;
  --swatch-outline: #b69048;
}
.home-categories { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.config-card-caption { color: var(--config-gold); font-size: .73rem; }
.configurator, .config-selectors { display: grid; gap: .85rem; }
.config-axis { margin: 0; padding: 0; border: 0; min-width: 0; }
.config-axis legend { margin-bottom: .42rem; font-size: .84rem; font-weight: 650; }
.config-options { display: flex; flex-wrap: wrap; gap: .4rem; }
.config-option {
  display: inline-flex; gap: .4rem; align-items: center; min-height: 36px;
  padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 99px;
  color: var(--ink); background: var(--surface); font-size: .79rem; text-align: left;
}
.config-fixed { color: var(--muted); font-size: .82rem; }
.config-swatch {
  display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--swatch-outline) 55%, transparent);
  background: linear-gradient(145deg, var(--swatch-light), var(--swatch-dark));
}
.config-mini { width: 24px; height: 24px; object-fit: contain; }
.config-summary { font-size: .82rem; line-height: 1.4; overflow-wrap: anywhere; }
.config-preview {
  display: flex; flex-direction: column; justify-content: center;
  text-align: center; padding: 24px; gap: .65rem; background: var(--studio);
}
.config-preview strong { font-weight: 550; }
.config-preview p { font-size: .82rem; }
@media (max-width: 800px) { .home-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

:root { --studio: #e9e9e8; }
:root[data-theme="dark"] { --studio: #2e2e30; }


/* Paliers de remise du lot */
.lot-tiers {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 7px 0 5px;
  list-style: none;
}
.lot-tier {
  padding: 2px 6px; border: 1px solid var(--dock-line); border-radius: 6px;
  color: var(--dock-muted); font-size: 11px; line-height: 1.4; white-space: nowrap;
}
.lot-tier[aria-current="step"] { border-color: #e6c6a9; color: var(--dock-text); }
.lot-tier.is-reached { color: #2f2113; background: #e6c6a9; border-color: #e6c6a9; }
.lot-reward {
  position: absolute; inset-inline-end: 0; bottom: calc(100% + 10px);
  display: flex; align-items: center; gap: 11px;
  width: min(390px, 100%); padding: 11px 12px;
  border: 1px solid #d5ab69; border-radius: 12px; color: #2b1d0d;
  background: linear-gradient(120deg, #fff5e3, #f8d59b); box-shadow: 0 8px 26px #150f0860;
  animation: lot-reward-enter .5s cubic-bezier(.15,.9,.3,1.18) both;
}
.lot-reward strong { font-size: .9rem; }
.lot-reward p { font-size: .82rem; margin-top: 2px; }
.lot-reward-mark {
  width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center;
  border-radius: 50%; background: #f3bb64; font-size: 1.35rem;
  animation: lot-reward-sparkle .7s ease-out both;
}
#lot-reward-close {
  margin-inline-start: auto; align-self: flex-start; flex: 0 0 auto;
  border: 0; background: transparent; padding: 0 8px; min-height: 30px;
  color: #2b1d0d; font-size: 1.3rem; line-height: 1;
}
@keyframes lot-reward-enter {
  from { opacity: 0; transform: translateY(13px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes lot-reward-sparkle {
  0% { transform: scale(.4) rotate(-35deg); }
  65% { transform: scale(1.13) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .lot-reward, .lot-reward-mark { animation: none; }
}

/* Fiches configurables */
.config-choice { display: inline-flex; position: relative; cursor: pointer; min-width: 0; max-width: 100%; }
.config-choice > input.sr-only { top: 50%; left: 50%; margin: 0; }
.config-choice .config-option { min-height: 42px; overflow-wrap: anywhere; }
.config-choice:hover .config-option { border-color: var(--config-gold); }
.config-choice input:checked + .config-option {
  background: var(--accent-soft);
  border-color: var(--config-gold);
  box-shadow: inset 0 0 0 1px var(--config-gold);
  font-weight: 650;
}
.config-choice input:focus-visible + .config-option {
  outline: 2px solid var(--config-gold);
  outline-offset: 3px;
}
.config-reference { border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; }
.config-reference summary { cursor: pointer; font-size: .85rem; font-weight: 650; }
.config-reference { margin-top: .55rem; }
.config-reference .gallery-stage { margin-top: .55rem; }
.config-reference > p { font-size: .78rem; margin-top: .4rem; overflow-wrap: anywhere; }
.config-live-preview .config-preview { padding: clamp(12px, 3vw, 22px); gap: .55rem; }
.config-preview-status { font-size: .77rem; color: var(--muted); }
.config-samples { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: .35rem .7rem; margin: 0; }
.config-sample { min-width: 0; }
.config-sample dt { font-size: .72rem; color: var(--muted); }
.config-sample dd { display: flex; justify-content: center; align-items: center; gap: .24rem; margin: 0; font-size: .79rem; }
.config-samples .config-swatch { width: .9rem; height: .9rem; }
@media (max-width: 690px), (max-width: 960px) and (pointer: coarse) {
  .detail-content:has(> .is-configurable) {
    grid-template-columns: minmax(0, 1fr);
    --live-preview-height: min(56.25vw, 33svh);
  }
  .detail-visual.is-configurable {
    position: sticky;
    top: var(--mode-header-height, var(--header-offset));
    z-index: 4;
    padding-block: 4px;
    background: var(--bg);
  }
  .is-configurable .gallery-stage .product-photo {
    width: 100%;
    max-height: 33svh;
    aspect-ratio: 16 / 9;
  }
  .is-configurable .product-gallery { position: relative; }
  .is-configurable .gallery-controls {
    position: absolute;
    inset: 0 8px;
    justify-content: space-between;
    margin: 0;
    pointer-events: none;
  }
  .is-configurable .gallery-controls .icon-button {
    pointer-events: auto;
    border-radius: 50%;
    background: var(--surface);
  }
  .is-configurable .gallery-controls span,
  .is-configurable .gallery-thumbs { display: none; }
  .detail-content:has(> .is-configurable) .detail-copy :is(.config-choice, .atelier-step, .atelier-nav button, .purchase-sizes input, .purchase-sizes label, .purchase-size-request, .purchase-size-request input) {
    scroll-margin-top: calc(var(--mode-header-height, var(--header-offset)) + var(--live-preview-height) + 32px);
  }
  .config-summary:empty { display: none; }
}

.bracelet-style-icon {
  display: inline-block; flex: 0 0 25px; width: 25px; height: 13px;
  border: 1px solid var(--swatch-outline); border-radius: 4px; background: var(--studio);
}
.bracelet-style-icon[data-style="1 tour"] {
  background: repeating-linear-gradient(45deg, var(--line) 0 3px, var(--studio) 3px 6px);
}
.bracelet-style-icon[data-style="Lien"] {
  background: repeating-linear-gradient(90deg, var(--line) 0 5px, var(--studio) 5px 8px);
}
.bracelet-style-icon[data-style="Multichaînes"] {
  background: repeating-linear-gradient(0deg, var(--line) 0 2px, var(--studio) 2px 4px);
}
.bracelet-style-icon[data-style="Ligne de pierres"] {
  background: radial-gradient(circle, var(--swatch-outline) 0 1.5px, transparent 2px) 0 0 / 6px 6px, var(--studio);
}

/* Navigation de l'atelier. Un seul groupe de choix reste ouvert à la fois. */
.atelier-steps { display: flex; flex-wrap: wrap; gap: .35rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.atelier-step { font: inherit; font-size: .86rem; background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 999px; padding: .5rem .85rem; min-height: 44px; cursor: pointer; }
.atelier-step[aria-current="step"] { color: var(--ink); border-color: var(--config-gold); background: var(--accent-soft); }
.atelier-nav { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.atelier-nav button { min-height: 44px; }
.atelier-nav button:disabled { opacity: .35; cursor: default; }
.atelier-counter { color: var(--muted); font-size: .82rem; }
.atelier-stage { min-width: 0; }
.force10-configurator .config-options {
  max-height: 19rem; overflow: auto; overscroll-behavior: contain; padding: 3px;
}
.cart-row .cart-item-text { grid-template-columns: minmax(0, 1fr); }
.configurator [hidden], .config-live-preview [hidden] { display: none !important; }
.config-option:has(.config-mini) { flex-direction: column; border-radius: .75rem; width: clamp(88px, 11vw, 122px); text-align: center; height: 100%; }
.config-mini { width: 100%; height: 56px; object-fit: contain; }
.configurator .config-axis legend { font-size: 1.05rem; }
.configurator .config-option { min-height: 44px; }

.purchase-size-request {
  display: grid;
  gap: 5px;
  max-width: 24rem;
}
.purchase-size-request input {
  width: 100%;
  padding: 8px 10px;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}
