:root {
  --black: #14141a;
  --ink: #1c1c22;
  --muted: #6b6f76;
  --line: #e6e6e9;
  --bg-alt: #f6f6f7;
  --whatsapp: #25d366;
  --radius: 10px;
  --sheet-radius: 22px;
  --wrap: 1180px;
  --bar-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .btn, .logo-text { letter-spacing: -0.01em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 8px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
h2.center { max-width: 640px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 30px; width: auto; display: block; }
.logo-text { font-weight: 800; font-size: 20px; letter-spacing: .04em; display: inline-block; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}
.nav-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}
.hero-content {
  position: relative;
  color: #fff;
  padding: 60px 20px;
}
.hero-content .eyebrow { color: #d8d8dc; }
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  max-width: 720px;
}
.hero .lead {
  max-width: 520px;
  color: #eaeaec;
  font-size: 17px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
}
.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 14px;
  flex-shrink: 0;
}

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-text h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.split-media img { border-radius: var(--radius); width: 100%; }

/* Features */
.feature-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; }
.feature-card p { color: var(--muted); font-size: 15px; }

/* Product grid / cards */
.product-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.product-card-media {
  background: var(--bg-alt);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-card-body { padding: 16px 18px 20px; }
.product-card .ref { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.product-card h3 { font-size: 18px; margin: 2px 0 8px; font-weight: 800; }
.product-card .color {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.price-block { display: flex; flex-direction: row; align-items: baseline; gap: 8px; }
.price-current { font-size: 18px; font-weight: 800; }
.price-old { font-size: 12px; font-weight: 600; color: #d92d20; text-decoration: line-through; }
.swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
  display: inline-block;
}

/* Breadcrumb (desktop only — mobile uses the overlay back/wishlist icons instead) */
.breadcrumb {
  display: none;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--ink); }

/* Product detail — mobile-first: full-bleed image + overlapping sheet + fixed bottom action bar */
.product-detail { display: block; }

.gallery { position: relative; }
.gallery-topbar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  cursor: pointer;
}
.gallery-main {
  background: var(--bg-alt);
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 20px 0;
}
.thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  background: var(--bg-alt);
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.thumb.active { border-color: var(--black); }

.buy-sheet {
  background: #fff;
  border-radius: var(--sheet-radius) var(--sheet-radius) 0 0;
  margin-top: -20px;
  position: relative;
  box-shadow: 0 -10px 24px rgba(0,0,0,.05);
}
.buy-box { padding-top: 22px; padding-bottom: calc(var(--bar-height) + 4px); }
.buy-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.buy-box h1 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }

.desc { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.desc-full { color: var(--muted); font-size: 15px; }
.see-more {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-size: 15px;
}

.choose-color { margin-bottom: 4px; }
.choose-color .label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.swatches { display: flex; gap: 12px; }
.swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
}
.swatch-btn.active { border-color: var(--black); }

/* Checkout form — dashed "cut line" border, like a ticket */
.checkout-form {
  margin: 20px 0 6px;
  padding: 20px;
  border: 2px dashed #c7c9d1;
  border-radius: var(--radius);
  background: #fff;
}
.checkout-form h2 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
}
.order-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #c7c9d1;
}
.order-summary-photo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--bg-alt);
  object-fit: contain;
  padding: 4px;
}
.order-summary-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 120px;
}
.order-summary-name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-summary-total { font-size: 13px; font-weight: 800; color: var(--muted); }
.badge-shipping {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e0433d;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  animation: shake-badge 3s ease-in-out infinite;
}
.badge-shipping svg { flex-shrink: 0; }
@keyframes shake-badge {
  0%, 92%, 100% { transform: translateX(0) rotate(0deg); }
  93% { transform: translateX(-2px) rotate(-4deg); }
  94% { transform: translateX(2px) rotate(4deg); }
  95% { transform: translateX(-2px) rotate(-3deg); }
  96% { transform: translateX(2px) rotate(3deg); }
  97% { transform: translateX(-1px) rotate(-1deg); }
  98% { transform: translateX(0) rotate(0deg); }
}
.checkout-form form { display: flex; flex-direction: column; gap: 12px; }
.checkout-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.checkout-form input {
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--bg-alt);
}
.checkout-form input:focus { outline: 2px solid var(--black); outline-offset: 1px; }
.btn-block { width: 100%; margin-top: 4px; }

/* Bottom action bar — fixed on mobile so the page behaves like an app, inline on desktop */
.buy-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  transition: transform .35s cubic-bezier(.32,.72,0,1), opacity .3s ease;
}
.buy-actions.is-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
.btn-buy { flex: 1; cursor: pointer; }

/* Order sheet — slides up from the bottom when "Acheter" is tapped */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,15,18,.5);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }

.order-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 71;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 14px 22px calc(22px + env(safe-area-inset-bottom));
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 -20px 50px rgba(20,20,26,.16);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.32,.72,0,1);
}
.order-sheet.is-open { transform: translateY(0); }

.order-sheet-handle {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  margin: 0 auto 18px;
}
.order-sheet-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-alt);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.order-sheet-close:hover { background: var(--black); color: #fff; }

.order-sheet-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
}
.order-sheet-photo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  object-fit: contain;
  padding: 6px;
}
.order-sheet-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.order-sheet-ref {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.order-sheet-name {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-sheet-badge-row { margin-bottom: 18px; }

.order-sheet-summary {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.summary-row .free-tag { color: #16874e; font-weight: 700; }
.summary-row.total {
  border-top: 1px dashed #d6d7dc;
  margin-top: 3px;
  padding-top: 11px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.order-sheet form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.field-input { position: relative; display: flex; align-items: center; }
.field-input svg {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}
.order-sheet input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px 13px 40px;
  background: var(--bg-alt);
  transition: border-color .15s ease, background .15s ease;
}
.order-sheet input::placeholder { color: #a7a9b0; }
.order-sheet input:focus {
  outline: none;
  border-color: var(--black);
  background: #fff;
}

.order-sheet .btn-block svg { flex-shrink: 0; }
.order-sheet-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* Desktop: the sheet behaves like a centered modal instead of a mobile bottom sheet */
@media (min-width: 861px) {
  .order-sheet {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    width: 440px;
    max-width: calc(100vw - 40px);
    border-radius: var(--radius);
    padding: 26px;
    transform: translate(-50%, -46%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
  }
  .order-sheet.is-open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
}

/* Specs — big rounded grey placeholder card */
.specs-section { padding: 0 20px 60px; max-width: 900px; }
.specs {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.specs h2 { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.specs-group {
  border-top: 1px solid #e0e0e4;
  padding: 18px 0;
}
.specs-group:last-of-type { border-bottom: 1px solid #e0e0e4; }
.specs-group summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.specs-group summary::-webkit-details-marker { display: none; }
.specs-group summary::after {
  content: "\2212";
  color: var(--muted);
  font-size: 18px;
}
.specs-group:not([open]) summary::after { content: "+"; }
.specs-rows { margin-top: 16px; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.specs-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.specs-value { font-weight: 600; font-size: 15px; }

/* Footer */
.site-footer { background: var(--black); color: #fff; padding: 48px 0 0; margin-top: 20px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 32px; }
.footer-brand p { color: #b6b6bc; margin-top: 8px; }
.footer-links { display: flex; gap: 24px; align-items: flex-start; }
.footer-links a:hover { color: #b6b6bc; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 20px;
  font-size: 13px;
  color: #8a8a90;
}

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 24px;
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .split { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-rows { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero { min-height: 64vh; }
}

/* Desktop / laptop — the product page drops the "app sheet" and behaves like a normal page */
@media (min-width: 861px) {
  .breadcrumb { display: block; padding: 18px 20px 0; }

  .product-detail {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 28px 20px 60px;
    align-items: start;
  }
  .gallery-topbar { display: none; }
  .gallery-main { border-radius: var(--radius); }
  .gallery-thumbs { padding: 12px 0 0; }

  .buy-sheet { background: none; border-radius: 0; margin-top: 0; box-shadow: none; }
  .buy-box.wrap {
    max-width: none;
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    position: sticky;
    top: 88px;
  }
  .buy-box .price-current { font-size: 22px; }
  .buy-box h1 { font-size: 24px; }
  .choose-color { margin-bottom: 26px; }

  .buy-actions {
    position: static;
    background: none;
    border-top: 0;
    padding: 0;
  }
}
