*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #faf8f5;
  --white: #fff;
  --black: #111;
  --gray: #6e6e6e;
  --light: #e8e4de;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

button { font-family: inherit; cursor: pointer; }

/* Promo */
.promo {
  background: var(--black);
  color: #fff;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 16px;
}

/* Header */
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--light);
  position: sticky;
  top: 0;
  z-index: 50;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  transition: opacity 0.2s;
}

.main-nav a:hover { opacity: 0.55; }

.main-nav a.active {
  opacity: 0.45;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.main-nav-right {
  justify-content: flex-end;
  margin-right: 8px;
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--black);
  text-align: center;
  justify-self: center;
}

.header-right {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
}

.icon-btn {
  background: none;
  border: none;
  padding: 10px;
  color: var(--black);
  position: relative;
}

a.icon-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.menu-btn {
  display: none;
  font-size: 20px;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  background: var(--black);
  color: #fff;
  font-size: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--light);
  padding: 8px 0;
  position: sticky;
  top: 64px;
  z-index: 49;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  border-bottom: 1px solid var(--light);
}

.mobile-menu a:last-child { border-bottom: none; }

/* Product layout */
.product-wrap {
  display: grid;
  grid-template-columns: 1fr 420px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-col {
  display: flex;
  flex-direction: column;
}

.gallery-shot img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.product-gallery {
  position: sticky;
  top: 64px;
}

.gallery-main {
  margin: 0;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
  padding: 0 0 24px;
}

.thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  background: none;
}

.thumb img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.thumb.active {
  border-color: var(--black);
}

.thumb:hover {
  opacity: 0.9;
}

.buy-col {
  background: var(--white);
  border-left: 1px solid var(--light);
}

.buy-sticky {
  position: sticky;
  top: 64px;
  padding: 40px 36px 60px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.breadcrumb {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 20px;
}

.buy-sticky h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
}

.rating-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
}

.rating-line a { color: var(--gray); }

.stars { color: var(--black); letter-spacing: 2px; font-size: 13px; }

.price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.price {
  font-size: 22px;
  font-weight: 700;
}

.price-was {
  font-size: 16px;
  color: var(--gray);
  text-decoration: line-through;
}

.lead {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--light);
}

/* Pickers */
.picker { margin-bottom: 24px; }

.picker-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
}

.picker-top em { font-style: normal; font-weight: 400; color: var(--gray); }

.text-link {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.colors { display: flex; gap: 10px; }

.color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 1px solid rgba(0,0,0,0.12);
  cursor: pointer;
  transition: 0.15s;
}

.color.active {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.sizes { display: flex; gap: 8px; flex-wrap: wrap; }

.size {
  min-width: 48px;
  height: 44px;
  border: 1px solid var(--light);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: 0.15s;
}

.size:hover { border-color: var(--black); }

.size.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

/* Buttons */
.btn-cart, .btn-buy {
  width: 100%;
  padding: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  transition: 0.2s;
}

.btn-cart {
  background: var(--black);
  color: #fff;
  margin-bottom: 10px;
}

.btn-cart:hover { background: #333; }

a.btn-cart {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

.btn-buy {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
  margin-bottom: 28px;
}

.btn-buy:hover { background: var(--bg); }

/* Perks */
.perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--light);
}

.perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--gray);
}

/* Accordions */
.accordions details {
  border-bottom: 1px solid var(--light);
}

.accordions summary {
  padding: 16px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordions summary::after { content: '+'; font-weight: 400; font-size: 18px; }
.accordions details[open] summary::after { content: '−'; }
.accordions summary::-webkit-details-marker { display: none; }

.accordions p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  padding-bottom: 16px;
}

/* Editorial */
.editorial {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 70vh;
  margin-top: 2px;
}

.editorial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 500px;
}

.editorial-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  background: var(--white);
}

.label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.editorial-text h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 20px;
}

.editorial-text p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 400px;
}

/* Reviews */
.reviews {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
}

.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.reviews-head h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 13px;
  color: var(--gray);
}

.score .big {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--black);
  line-height: 1;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--light);
}

.review {
  background: var(--white);
  padding: 28px 32px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-date { font-size: 12px; color: var(--gray); }

.review p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.review-author { font-size: 12px; color: var(--gray); }

/* Footer */
.footer {
  background: var(--black);
  color: #fff;
  padding: 60px 40px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.footer-brand .logo {
  font-family: var(--serif);
  font-size: 22px;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}

.footer-brand p { font-size: 14px; opacity: 0.5; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-cols h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 16px;
}

.footer-cols a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: 10px;
}

.footer-cols a:hover { opacity: 1; }

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  opacity: 0.4;
}

/* Mobile bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--light);
  padding: 12px 16px;
  gap: 16px;
  align-items: center;
  z-index: 60;
}

.mobile-bar .btn-cart { margin: 0; flex: 1; }

.mobile-bar-price { white-space: nowrap; }

/* Toast */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--black);
  color: #fff;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: 0.3s;
  z-index: 100;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .header {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
  }

  .main-nav { display: none; }

  .logo {
    justify-self: start;
    font-size: 18px;
  }

  .menu-btn { display: block; }

  .product-wrap {
    grid-template-columns: 1fr;
  }

  .gallery-col {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-shot {
    min-width: 85vw;
    scroll-snap-align: center;
  }

  .buy-col { border-left: none; }

  .buy-sticky {
    position: static;
    max-height: none;
    padding: 32px 20px;
  }

  .editorial {
    grid-template-columns: 1fr;
  }

  .editorial-text { padding: 48px 24px; }

  .footer-top { grid-template-columns: 1fr; }

  .footer-cols { grid-template-columns: repeat(2, 1fr); }

  .mobile-bar { display: flex; }

  body { padding-bottom: 72px; }
}

/* ===== Page Accueil ===== */
.home-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: calc(100vh - 100px);
}

.home-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 500px;
}

.home-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  background: var(--white);
}

.home-hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
}

.home-hero-text p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: 32px;
}

.btn-home {
  display: inline-block;
  background: var(--black);
  color: #fff;
  padding: 16px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
  transition: 0.2s;
}

.btn-home:hover { background: #333; }

.btn-home.outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-home.outline:hover { background: rgba(255,255,255,0.1); }

.home-featured {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.home-featured-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}

.home-featured-head h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.text-link-dark {
  font-size: 13px;
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
}

.text-link-dark:hover { opacity: 0.6; }

.home-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-product-card {
  text-decoration: none;
  color: var(--black);
  transition: opacity 0.2s;
}

.home-product-card:hover { opacity: 0.85; }

.home-product-img {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}

.home-product-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.4s;
}

.home-product-card:hover img { transform: scale(1.03); }

.home-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--black);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.home-product-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.home-product-price {
  font-size: 14px;
  color: var(--gray);
}

.home-banner {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.home-banner-text {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 40px 24px;
}

.home-banner-text h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 28px;
}

.home-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--light);
  border-top: 1px solid var(--light);
}

.home-value {
  background: var(--white);
  padding: 48px 40px;
  text-align: center;
}

.home-value h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.home-value p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-text { padding: 48px 24px; }
  .home-products { grid-template-columns: 1fr 1fr; }
  .home-values { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .home-products { grid-template-columns: 1fr; }
}

/* ===== Page Boutique ===== */
.shop-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.shop-header {
  text-align: center;
  margin-bottom: 48px;
}

.shop-header h1 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  margin: 12px 0 8px;
}

.shop-header p {
  font-size: 14px;
  color: var(--gray);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.shop-card {
  text-decoration: none;
  color: var(--black);
  transition: opacity 0.2s;
}

.shop-card:hover { opacity: 0.9; }

.shop-card-img {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.shop-card-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.4s;
}

.shop-card:hover img { transform: scale(1.02); }

.shop-card-info h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}

.shop-card-desc {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 6px;
}

.shop-card-price {
  font-size: 15px;
  font-weight: 600;
}

.back-shop {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
}

.back-shop:hover { color: var(--black); text-decoration: underline; }

@media (max-width: 640px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* ===== Pages Contact / Suivi ===== */
.info-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.info-page h1 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  margin: 12px 0 12px;
}

.info-lead {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.info-grid-narrow {
  max-width: 720px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--light);
  padding: 32px;
}

.info-card h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 24px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--light);
  background: var(--bg);
  border-radius: 4px;
  width: 100%;
}

.contact-form textarea { resize: vertical; min-height: 120px; }

.form-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray);
}

.info-side {
  display: grid;
  gap: 20px;
}

.info-box {
  background: var(--white);
  border: 1px solid var(--light);
  padding: 20px;
}

.info-box h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.info-box p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.info-box a {
  color: var(--black);
}

.tracking-result {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--light);
}

.tracking-result h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
}

.tracking-steps {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.tracking-steps li {
  font-size: 14px;
  padding-left: 24px;
  position: relative;
  color: var(--gray);
}

.tracking-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light);
}

.tracking-steps li.done {
  color: var(--black);
}

.tracking-steps li.done::before {
  background: var(--black);
}

.tracking-steps li.current {
  color: var(--black);
  font-weight: 600;
}

.tracking-steps li.current::before {
  background: var(--black);
  box-shadow: 0 0 0 3px var(--light);
}

@media (max-width: 768px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* ===== Panier ===== */
.cart-page h1 {
  margin-bottom: 32px;
}

.cart-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--white);
  border: 1px solid var(--light);
}

.cart-empty[hidden],
#cart-content[hidden],
#checkout-success[hidden],
#confirmation-box[hidden],
#confirmation-missing[hidden] {
  display: none !important;
}

.cart-empty p {
  color: var(--gray);
  margin-bottom: 24px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.cart-items {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--light);
  padding: 16px;
}

.cart-item img {
  width: 100px;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.cart-item-info h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
}

.cart-item-info h3 a {
  color: inherit;
  text-decoration: none;
}

.cart-item-info h3 a:hover {
  text-decoration: underline;
}

.cart-item-meta {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
}

.cart-item-price {
  font-weight: 700;
  font-size: 15px;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--light);
}

.cart-qty button {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 18px;
}

.cart-qty span {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.cart-remove {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--gray);
  text-decoration: underline;
}

.cart-summary {
  background: var(--white);
  border: 1px solid var(--light);
  padding: 24px;
  position: sticky;
  top: 88px;
}

.cart-summary h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--gray);
}

.cart-summary-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--light);
}

.cart-summary .btn-cart {
  width: 100%;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ===== Checkout (commande / paiement / confirmation) ===== */
.checkout-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 20px 0 32px;
  padding: 0;
  font-size: 13px;
}

.checkout-steps li {
  color: var(--gray);
  position: relative;
}

.checkout-steps li:not(:last-child)::after {
  content: "›";
  margin-left: 16px;
  color: var(--light);
}

.checkout-steps li a {
  color: inherit;
  text-decoration: none;
}

.checkout-steps li a:hover {
  text-decoration: underline;
}

.checkout-steps li.active {
  color: var(--black);
  font-weight: 700;
}

.checkout-steps li.done {
  color: var(--black);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.checkout-summary {
  position: sticky;
  top: 88px;
}

.checkout-mini-items {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--light);
}

.checkout-mini-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.checkout-mini-item img {
  width: 48px;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.checkout-mini-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.checkout-mini-meta {
  color: var(--gray);
  font-size: 12px;
}

.checkout-mini-price {
  font-weight: 600;
  white-space: nowrap;
}

.checkout-secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
  margin-top: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.payment-secure-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f0f7f2;
  border: 1px solid #c8e6d0;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 13px;
}

.payment-secure-banner strong {
  display: block;
  margin-bottom: 4px;
  color: #1a5c32;
}

.payment-secure-banner span {
  color: var(--gray);
}

.payment-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.payment-badges span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border: 1px solid var(--light);
  background: var(--bg);
}

.payment-demo-note {
  font-size: 12px;
  margin-top: 12px;
}

.payment-shipping-info {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--light);
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.payment-shipping-title {
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.confirmation-box {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--light);
  padding: 56px 32px;
  max-width: 560px;
  margin: 0 auto;
}

.confirmation-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #f0f7f2;
  color: #1a5c32;
  font-size: 28px;
  line-height: 56px;
  font-weight: 700;
}

.confirmation-details {
  margin: 32px 0;
  padding: 24px;
  background: var(--bg);
  text-align: left;
}

.confirmation-details p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--light);
}

.confirmation-details p:last-child {
  border-bottom: none;
}

.confirmation-details span {
  color: var(--gray);
}

.confirmation-actions {
  display: grid;
  gap: 12px;
  justify-items: center;
}

@media (max-width: 768px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* Contact form — style élégant */
.contact-write { max-width: 520px; }
.contact-kicker {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gray); margin-bottom: 10px;
}
.contact-write h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500; line-height: 1.15; margin-bottom: 12px;
}
.contact-intro {
  font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 36px;
}
.contact-intro a { color: var(--black); text-underline-offset: 3px; }
.contact-form { display: grid; gap: 28px; }
.contact-form label {
  display: grid; gap: 10px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray);
}
.contact-form input,
.contact-form textarea {
  font: inherit; font-size: 16px; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--black);
  padding: 12px 0 14px; border: none; border-bottom: 1px solid #d9d2c8;
  background: transparent; border-radius: 0; width: 100%; outline: none;
  transition: border-color 0.25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: var(--black); }
.contact-form textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.contact-submit {
  justify-self: start; margin-top: 8px; background: var(--black); color: #fff;
  border: none; padding: 14px 32px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease;
}
.contact-submit:hover { background: #333; }
.contact-submit:active { transform: scale(0.98); }
@media (max-width: 640px) { .contact-submit { width: 100%; } }
