:root {
  color-scheme: dark;
  --ink: #090909;
  --panel: #11110f;
  --panel-raised: #171715;
  --ivory: #f2eee6;
  --muted: #aaa69e;
  --line: rgba(242, 238, 230, 0.16);
  --accent: #c7a76a;
  --image-bg: #dedbd6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.announcement {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 76px;
  align-items: center;
  padding: 0 3vw;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 3rem);
  color: #d4d0c8;
  font-size: 0.84rem;
}

nav a,
.footer-brand {
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible,
.footer-brand:hover,
.footer-brand:focus-visible {
  color: var(--accent);
}

.header-status {
  justify-self: end;
  border: 1px solid var(--line);
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-shell {
  display: grid;
  max-width: 1540px;
  min-height: calc(100vh - 110px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.16fr) minmax(410px, 0.84fr);
}

.gallery {
  position: sticky;
  top: 76px;
  display: flex;
  height: calc(100vh - 76px);
  min-height: 650px;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: var(--image-bg);
  color: var(--ink);
}

.edition-mark {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  display: flex;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.edition-mark span:last-child {
  color: #796b4c;
}

.image-stage {
  position: relative;
  display: grid;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  place-items: center;
  padding: 2.25rem 1.5rem 1rem;
}

.image-stage img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 760px;
  object-fit: contain;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: saturate(0.82) contrast(1.03);
}

.gallery-controls {
  position: relative;
  z-index: 4;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(9, 9, 9, 0.18);
  background: var(--image-bg);
}

.view-button {
  position: relative;
  min-height: 58px;
  border: 0;
  border-right: 1px solid rgba(9, 9, 9, 0.18);
  background: transparent;
  color: #4b4a46;
  cursor: pointer;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  touch-action: manipulation;
  text-transform: uppercase;
}

.view-button:last-child {
  border-right: 0;
}

.view-button:hover,
.view-button:focus-visible,
.view-button.is-active {
  background: var(--ink);
  color: var(--ivory);
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6.5rem) clamp(2rem, 5vw, 5.5rem);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(199, 167, 106, 0.045), transparent 34%),
    var(--ink);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}

h1 {
  max-width: 8ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 5.4vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.price {
  margin: 0.3rem 0 0;
  color: var(--ivory);
  font-size: 1.15rem;
  font-weight: 760;
  white-space: nowrap;
}

.lead {
  max-width: 37rem;
  margin: 1.35rem 0 0;
  color: #c3bfb7;
  font-size: 1.02rem;
}

.product-facts {
  display: grid;
  margin: 2rem 0;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.product-facts div {
  min-width: 0;
  padding: 0.85rem;
  border-right: 1px solid var(--line);
}

.product-facts div:last-child {
  border-right: 0;
}

.product-facts span,
.product-facts strong {
  display: block;
}

.product-facts span {
  margin-bottom: 0.25rem;
  color: #7f7c76;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-facts strong {
  overflow-wrap: anywhere;
  font-size: 0.87rem;
  font-weight: 650;
}

.size-picker {
  margin: 0;
  padding: 0;
  border: 0;
}

.size-picker legend {
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  font-weight: 750;
}

.sizes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.sizes button {
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ivory);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 750;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.sizes button:hover,
.sizes button:focus-visible,
.sizes button[aria-pressed="true"] {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--ink);
}

.selection-status {
  min-height: 1.4em;
  margin: 0.6rem 0 0;
  color: #817e77;
  font-size: 0.78rem;
}

.checkout-block {
  margin-top: 1.25rem;
}

.checkout-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid #706c63;
  background: #262521;
  color: #9e9a91;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.checkout-button[aria-disabled="false"] {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--ink);
  cursor: pointer;
}

.checkout-button[aria-disabled="false"]:hover,
.checkout-button[aria-disabled="false"]:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.checkout-button[aria-disabled="true"] {
  cursor: not-allowed;
}

.checkout-block p {
  margin: 0.65rem 0 0;
  color: #77746e;
  font-size: 0.78rem;
  text-align: center;
}

.details-list {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 1.05rem 2rem 1.05rem 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  right: 0.15rem;
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: -0.2rem 0 1.2rem;
  color: #aaa69e;
  font-size: 0.9rem;
}

.brand-statement {
  display: grid;
  min-height: 44vh;
  place-items: center;
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(199, 167, 106, 0.1), transparent 38%),
    #0d0d0c;
  text-align: center;
}

.brand-statement p {
  max-width: 18ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 6vw, 6rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand-statement span {
  margin-top: 1.5rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.22em;
}

footer {
  display: grid;
  max-width: 1540px;
  margin: 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 3vw;
  color: #77746e;
  font-size: 0.78rem;
}

.footer-brand {
  color: var(--ivory);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

footer p:last-child {
  justify-self: end;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .product-shell {
    grid-template-columns: 1fr;
  }

  .product-info {
    order: -1;
    min-height: auto;
    padding: 3.5rem max(1.25rem, 5vw);
    border-left: 0;
  }

  .gallery {
    position: relative;
    top: auto;
    height: min(82vh, 760px);
    min-height: 580px;
    margin-top: 1.25rem;
  }

  h1 {
    max-width: none;
    font-size: clamp(3.4rem, 11vw, 6rem);
  }
}

@media (max-width: 620px) {
  .announcement {
    min-height: 42px;
    padding: 0.35rem 0.75rem;
    font-size: 0.64rem;
    line-height: 1.3;
  }

  .site-header {
    min-height: 64px;
    padding: 0 1rem;
  }

  .brand {
    gap: 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.11em;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .header-status {
    max-width: 9rem;
    padding: 0;
    border: 0;
    font-size: 0.62rem;
    text-align: right;
  }

  .product-info {
    padding: 2.75rem 1rem 3rem;
  }

  .title-row {
    display: block;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .price {
    margin-top: 1rem;
  }

  .product-facts {
    grid-template-columns: 1fr;
  }

  .product-facts div {
    display: grid;
    grid-template-columns: 5rem 1fr;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-facts div:last-child {
    border-bottom: 0;
  }

  .product-facts span {
    margin: 0;
  }

  .sizes {
    gap: 0.35rem;
  }

  .sizes button {
    min-height: 46px;
  }

  .gallery {
    height: clamp(340px, 100vw, 500px);
    min-height: 340px;
  }

  .image-stage {
    padding: 2.3rem 0.25rem 0.5rem;
  }

  .edition-mark {
    top: 1rem;
    left: 1rem;
  }

  .view-button {
    min-height: 54px;
  }

  .brand-statement {
    min-height: 36vh;
    padding: 4rem 1rem;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 2rem 1rem;
    text-align: left;
  }

  footer p:last-child {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.title-copy { min-width: 0; }
.edition-title { display: block; margin-top: 1rem; font-family: Inter, ui-sans-serif, sans-serif; font-size: 1rem; font-weight: 650; letter-spacing: 0.04em; line-height: 1.4; }
.edition-subtitle { margin: 0.75rem 0 0; color: var(--accent); font-size: 0.85rem; line-height: 1.5; }

/* Product photography and editorial sections */
#produit, #details, #livraison { scroll-margin-top: 95px; }
.image-stage { padding: 0; background: #d8d7d5; }
.image-stage img { mix-blend-mode: normal; filter: none; max-height: none; }
.image-stage img.is-detail { object-fit: cover; object-position: 56% 26%; transform: scale(2.4); transform-origin: 56% 26%; }
.gallery-controls { grid-template-columns: repeat(4, 1fr); }
.checkout-block p { color: var(--muted); }
.lifestyle-section { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; padding: 100px 5vw; gap: clamp(32px, 6vw, 100px); align-items: center; }
.lifestyle-section > img { display:block; width:100%; height:auto; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 4.2vw, 4.5rem); font-weight:400; line-height:1.08; letter-spacing:-.035em; margin:0 0 24px; }
.editorial-copy > p:not(.eyebrow), .brand-story > p:not(.eyebrow) { color:var(--muted); line-height:1.8; }
.style-facts { margin:32px 0; }
.style-facts div { padding:16px 0; border-top:1px solid var(--line); }
.style-facts dt { font-size:.8rem; text-transform:uppercase; letter-spacing:.1em; color:var(--accent); }
.style-facts dd { margin:6px 0 0; color:#c3bfb7; font-size:.94rem; }
.text-link { display:inline-block; border-bottom:1px solid var(--accent); padding-bottom:6px; }
.campaign { position:relative; display:grid; grid-template-columns:1fr 1fr; align-items:center; background:#13110d; max-width:1540px; margin:0 auto; overflow:hidden; }
.campaign > img { width:100%; height:auto; display:block; }
.campaign-copy { padding:clamp(32px, 6vw, 90px); }
.campaign-copy .checkout-button { margin-top:36px; max-width:360px; }
.brand-story { max-width:850px; padding:100px 24px; margin:auto; text-align:center; }
.brand-story span { display:block; margin-top:32px; color:var(--accent); font-size:.7rem; letter-spacing:.22em; }
.order-section { border-top:1px solid var(--line); background:#10100e; padding:60px 5vw 80px; }
.order-assurances { display:grid; grid-template-columns:repeat(3,1fr); max-width:1200px; margin:auto; gap:40px; }
.order-assurances h3 { font-size:.95rem; margin:0 0 8px; }
.order-assurances p { color:var(--muted); font-size:.88rem; margin:0; }
.final-order { max-width:520px; margin:70px auto 0; text-align:center; }
.final-price { font-size:1.3rem; }
.final-price span { display:block; font-size:.85rem; color:var(--muted); margin-top:5px; }
@media(max-width:980px) {
 .gallery { height:auto; min-height:0; }
 .image-stage { aspect-ratio:4/5; flex:none; }
 .image-stage img { position:absolute; inset:0; }
 .lifestyle-section { padding:64px 5vw; gap:32px; }
 .campaign-copy { padding:32px; }
}
@media(max-width:620px) {
 .gallery { height:auto; min-height:0; }
 .view-button { font-size:.65rem; letter-spacing:.06em; min-height:52px; }
 .lifestyle-section { grid-template-columns:1fr; padding:48px 16px; }
 .campaign { grid-template-columns:1fr; }
 .campaign-copy { padding:32px 20px 40px; }
 .campaign-copy .checkout-button { max-width:none; }
 .brand-story { padding:64px 20px; }
 .order-assurances { grid-template-columns:1fr; gap:24px; }
 .order-assurances > div { border-bottom:1px solid var(--line); padding-bottom:24px; }
 .order-section { padding:40px 20px 56px; }
 .final-order { margin-top:48px; }
}

/* Header checkout and contact */
a.header-status { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:.55rem .8rem; border:1px solid var(--accent); color:var(--ivory); cursor:pointer; }
a.header-status:hover, a.header-status:focus-visible { background:var(--ivory); color:var(--ink); border-color:var(--ivory); }
footer .footer-contact { grid-column:1 / -1; justify-self:start; }
.footer-contact a { color:var(--ivory); text-decoration:underline; text-underline-offset:3px; }
.footer-contact a:hover { color:var(--accent); }
