/* ==========================================================================
   CARULA 宝飾 — feuille de style unique
   Palette claire « joaillerie » : ivoire, encre, or. Titres en Noto Serif JP,
   textes en Noto Sans JP (les deux chargés depuis Google Fonts, gratuits).
   ========================================================================== */

:root {
  --gold:      #a8863c;
  --gold-lite: #d6bd7e;
  --gold-pale: #f2e9d4;
  --ink:       #1b1917;
  --ink-soft:  #4a443c;
  --muted:     #857c70;
  --line:      #e7e1d6;
  --bg:        #fdfcfa;
  --bg-warm:   #f7f3ec;
  --white:     #ffffff;
  --sale:      #a63b52;
  --ok:        #2f7d5c;

  --serif: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
  --sans:  "Noto Sans JP", "Yu Gothic", "游ゴシック", "Hiragino Sans", sans-serif;

  --wrap: 1200px;
  --radius: 4px;
  --shadow: 0 1px 3px rgba(27,25,23,.06), 0 12px 32px rgba(27,25,23,.06);
  --header-h: 116px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  /* letter-spacing large : convention typographique japonaise pour le corps de texte */
  letter-spacing: .04em;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; }

/* ===== Typographie ===== */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.5; letter-spacing: .08em; }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head .en {
  display: block;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
.section-head p { color: var(--muted); font-size: .88rem; margin-top: 14px; }

.page-head {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--line);
  padding: 54px 0 46px;
  text-align: center;
}
.page-head .en {
  display: block;
  font-size: .66rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.page-head h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.page-head p { color: var(--muted); font-size: .87rem; margin-top: 14px; }

/* ===== Fil d'Ariane ===== */
.crumbs { font-size: .74rem; color: var(--muted); padding: 20px 0; letter-spacing: .06em; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ===== En-tête ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,252,250,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  background: var(--ink);
  color: #d9d2c6;
  font-size: .7rem;
  letter-spacing: .12em;
  text-align: center;
  padding: 7px 24px;
}

.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
}

.header-tools { display: flex; align-items: center; gap: 6px; }
.header-tools.right { justify-content: flex-end; }

.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background .2s ease, color .2s ease;
  position: relative;
}
.icon-btn:hover { background: var(--bg-warm); color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }

.cart-count {
  position: absolute;
  top: 3px; right: 3px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--gold);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  letter-spacing: 0;
}
.cart-count[hidden] { display: none; }

/* Logo — le monogramme SVG est injecté par app.js */
.brand { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.brand svg { height: 40px; width: auto; }
.brand .jp { font-size: .6rem; letter-spacing: .38em; color: var(--muted); padding-left: .38em; }

/* ===== Navigation ===== */
.site-nav { border-top: 1px solid var(--line); }
.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.site-nav a {
  display: block;
  padding: 13px 18px;
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .28s ease;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--gold); }

/* Menu mobile */
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .header-main { grid-template-columns: auto 1fr auto; padding: 12px 16px; }
  .brand { align-items: flex-start; }
  .brand svg { height: 32px; }
  .nav-toggle { display: flex; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
}

/* ===== Recherche ===== */
.search-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg-warm);
  padding: 22px 24px;
}
.search-panel.open { display: block; }
.search-panel form {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 8px;
}
.search-panel input {
  flex: 1;
  border: none;
  background: none;
  font-size: 1rem;
  outline: none;
}
.search-panel input::placeholder { color: var(--muted); }

/* ===== Boutons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 40px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  letter-spacing: .18em;
  border-radius: var(--radius);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.btn:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.btn-outline { background: none; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-gold { background: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: var(--ink); border-color: var(--ink); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 22px; font-size: .72rem; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  letter-spacing: .2em;
  color: var(--gold);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap .25s ease;
}
.link-more:hover { gap: 18px; }

/* ===== Héros ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(900px 500px at 78% 32%, rgba(214,189,126,.30), transparent 62%),
    radial-gradient(700px 460px at 12% 78%, rgba(168,134,60,.16), transparent 60%),
    linear-gradient(160deg, #fbf8f2 0%, #f1e9db 100%);
  overflow: hidden;
}
.hero-art {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(460px, 42vw);
  opacity: .95;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 560px; padding: 70px 0; }
.hero .en {
  display: block;
  font-size: .68rem;
  letter-spacing: .36em;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.65;
  margin-bottom: 24px;
}
.hero p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 36px; max-width: 430px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-art { position: static; transform: none; width: 260px; margin: 0 auto 10px; }
  .hero-inner { padding: 44px 0 56px; text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}

/* ===== Bandeau d'arguments ===== */
.usp {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.usp div {
  padding: 26px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.usp div:last-child { border-right: none; }
.usp strong { display: block; font-family: var(--serif); font-size: .95rem; margin-bottom: 6px; }
.usp span { font-size: .74rem; color: var(--muted); }

/* ===== Sections ===== */
section.band { padding: 84px 0; }
section.band.warm { background: var(--bg-warm); }

/* ===== Grille produits ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 34px 26px;
}
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
/* Grille fixe à 4 colonnes, comme le gabarit de référence */
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .product-grid.cols-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .product-grid.cols-4, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .product-grid.cols-4, .product-grid.cols-3 { grid-template-columns: 1fr; } }

/* Tuiles de catégorie : 5 colonnes sur une seule rangée */
.cat-row.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .cat-row.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cat-row.cols-5 { grid-template-columns: repeat(2, 1fr); } }

/* Bloc éditorial : visuel + texte côte à côte */
.editorial { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 54px; }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; gap: 28px; } }
.editorial .art {
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fbf8f3, #ece2d0);
  overflow: hidden;
}
.editorial .en { font-size: .68rem; letter-spacing: .3em; color: var(--gold); margin-bottom: 14px; }
.editorial h2 { font-size: clamp(1.3rem, 3vw, 1.85rem); line-height: 1.7; margin-bottom: 18px; }
.editorial p { color: var(--ink-soft); font-size: .9rem; margin-bottom: 26px; }

.card { position: relative; display: block; }
.card-media {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(160deg, #fbf8f3, #efe8dc);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .35s ease, transform .35s ease;
}
.card:hover .card-media { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-media svg { width: 100%; height: 100%; }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: .62rem;
  letter-spacing: .12em;
  font-weight: 700;
  background: var(--ink);
  color: #fff;
  z-index: 2;
}
.badge.sale { background: var(--sale); }
.badge.new  { background: var(--gold); }

.fav-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  color: var(--muted);
  z-index: 2;
  transition: color .2s ease, transform .2s ease;
}
.fav-btn:hover { transform: scale(1.12); }
.fav-btn.on { color: var(--sale); }
.fav-btn svg { width: 17px; height: 17px; }

.card-body { padding: 16px 2px 0; }
.card-collection { font-size: .66rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 6px; }
.card-name { font-family: var(--serif); font-size: .95rem; line-height: 1.6; margin-bottom: 4px; }
.card-meta { font-size: .72rem; color: var(--muted); margin-bottom: 10px; }
.card-price { font-size: .95rem; font-weight: 700; letter-spacing: .02em; }
.card-price .was { font-size: .76rem; font-weight: 400; color: var(--muted); text-decoration: line-through; margin-right: 8px; }
.card-price .now { color: var(--sale); }
.card-price .tax { font-size: .66rem; font-weight: 400; color: var(--muted); margin-left: 5px; }

/* ===== Liste produits : filtres en colonne de gauche =====
   Reprend l'implantation de référence : facettes à gauche, grille à droite. */
.shop-layout {
  display: grid;
  grid-template-columns: 244px 1fr;
  gap: 42px;
  align-items: start;
  padding: 10px 0 90px;
}
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; gap: 24px; } }

.facets { position: sticky; top: calc(var(--header-h) + 12px); }
@media (max-width: 900px) { .facets { position: static; } }

.facet { border-bottom: 1px solid var(--line); padding: 18px 0; }
.facet:first-child { padding-top: 0; }
.facet > h3 {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--ink);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.facet ul { list-style: none; }
.facet li { margin-bottom: 9px; }
.facet label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.facet label:hover { color: var(--gold); }
.facet input[type="checkbox"] { accent-color: var(--gold); width: 14px; height: 14px; }
.facet .n { margin-left: auto; font-size: .72rem; color: var(--muted); }

.facet .price-row-in { display: flex; align-items: center; gap: 6px; }
.facet .price-row-in input {
  width: 100%;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .78rem;
}
.facet .price-row-in input:focus { outline: none; border-color: var(--gold); }
.facet .go {
  padding: 8px 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-size: .72rem;
  letter-spacing: .1em;
}
.facet .go:hover { background: var(--gold); border-color: var(--gold); }

.facet-clear {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .76rem;
  color: var(--muted);
}
.facet-clear:hover { border-color: var(--gold); color: var(--gold); }

/* Repli des facettes sur mobile */
.facets-toggle { display: none; }
@media (max-width: 900px) {
  .facets-toggle {
    display: block;
    width: 100%;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: .82rem;
    letter-spacing: .1em;
    margin-bottom: 14px;
  }
  .facets-body { display: none; }
  .facets-body.open { display: block; }
}

/* ===== Pagination ===== */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 44px 0 0; }
.pager button, .pager span {
  min-width: 38px; height: 38px;
  padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .82rem;
  color: var(--ink-soft);
  transition: all .2s ease;
}
.pager button:hover { border-color: var(--gold); color: var(--gold); }
.pager button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager button:disabled { opacity: .35; cursor: not-allowed; }
.pager .gap { border: none; }

.per-page { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--muted); }
.per-page button {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .76rem;
}
.per-page button.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Bouton panier sur la carte produit */
.card-add {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  padding: 11px;
  background: rgba(27,25,23,.92);
  color: #fff;
  border-radius: var(--radius);
  font-size: .74rem;
  letter-spacing: .12em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  z-index: 2;
}
.card:hover .card-add { opacity: 1; transform: none; }
.card-add:hover { background: var(--gold); }
@media (hover: none) { .card-add { opacity: 1; transform: none; } }

/* ===== Barre de filtres ===== */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.toolbar .count { font-size: .78rem; color: var(--muted); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters select {
  appearance: none;
  padding: 9px 34px 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4.5l4 4 4-4' fill='none' stroke='%23857c70' stroke-width='1.4'/></svg>") no-repeat right 12px center;
  background-size: 11px;
  font-size: .78rem;
  letter-spacing: .06em;
  cursor: pointer;
}
.filters select:focus { outline: none; border-color: var(--gold); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--ink-soft);
  transition: all .22s ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ===== Fiche produit ===== */
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  padding: 10px 0 80px;
  align-items: start;
}
@media (max-width: 880px) { .product-layout { grid-template-columns: 1fr; gap: 36px; } }

.gallery-main {
  aspect-ratio: 1;
  background: linear-gradient(160deg, #fbf8f3, #efe8dc);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
  width: 74px; height: 74px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fbf8f3, #efe8dc);
  overflow: hidden;
  transition: border-color .2s ease;
}
.gallery-thumbs button.active { border-color: var(--gold); }

.product-info .collection { font-size: .68rem; letter-spacing: .24em; color: var(--gold); margin-bottom: 12px; }
.product-info h1 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin-bottom: 8px; }
.product-info .sku { font-size: .72rem; color: var(--muted); margin-bottom: 22px; }

.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.price-row .now { font-size: 1.6rem; font-weight: 700; }
.price-row .now.sale { color: var(--sale); }
.price-row .was { font-size: 1rem; color: var(--muted); text-decoration: line-through; }
.price-row .off { font-size: .7rem; background: var(--sale); color: #fff; padding: 3px 10px; border-radius: 99px; letter-spacing: .08em; }
.price-row .tax { font-size: .72rem; color: var(--muted); }

.product-desc { color: var(--ink-soft); font-size: .9rem; margin-bottom: 28px; }

.opt-group { margin-bottom: 22px; }
.opt-group label { display: block; font-size: .74rem; letter-spacing: .14em; color: var(--muted); margin-bottom: 10px; }
.opt-group select, .opt-group input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.opt-group select:focus, .opt-group input:focus { outline: none; border-color: var(--gold); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 42px; height: 44px; font-size: 1.1rem; color: var(--ink-soft); transition: background .2s ease; }
.qty button:hover { background: var(--bg-warm); }
.qty span { width: 52px; text-align: center; font-weight: 700; }

.buy-row { display: flex; gap: 12px; align-items: center; margin: 26px 0 18px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 200px; }

.service-list { list-style: none; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 26px; }
.service-list li { display: flex; gap: 12px; padding: 9px 0; font-size: .82rem; color: var(--ink-soft); }
.service-list li b { color: var(--gold); flex-shrink: 0; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: .84rem; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 34%; font-weight: 500; color: var(--muted); letter-spacing: .08em; }

/* ===== Accordéon ===== */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  text-align: left;
  font-size: .88rem;
  font-family: var(--serif);
}
.acc-head::after { content: "＋"; color: var(--gold); flex-shrink: 0; }
.acc-item.open .acc-head::after { content: "－"; }
.acc-body { display: none; padding: 0 2px 22px; font-size: .84rem; color: var(--ink-soft); }
.acc-item.open .acc-body { display: block; }

/* ===== Collections ===== */
.collection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.collection-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow .35s ease, transform .35s ease;
}
.collection-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.collection-card .art { aspect-ratio: 16/10; background: linear-gradient(160deg, #fbf8f3, #ece2d0); }
.collection-card .txt { padding: 24px 26px 28px; }
.collection-card .en { font-size: .64rem; letter-spacing: .26em; color: var(--gold); margin-bottom: 8px; }
.collection-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.collection-card p { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }

/* ===== Catégories (accueil) ===== */
.cat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.cat-tile { text-align: center; }
.cat-tile .art {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(160deg, #fbf8f3, #efe8dc);
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
}
.cat-tile:hover .art { box-shadow: var(--shadow); transform: translateY(-4px); }
.cat-tile b { display: block; font-family: var(--serif); font-size: .92rem; margin-top: 14px; font-weight: 500; }
.cat-tile span { font-size: .66rem; letter-spacing: .2em; color: var(--muted); }

/* ===== Panier ===== */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; padding: 40px 0 90px; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-line {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-line .thumb {
  width: 108px; height: 108px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fbf8f3, #efe8dc);
  overflow: hidden;
}
.cart-line h3 { font-size: .95rem; margin-bottom: 4px; }
.cart-line .opts { font-size: .74rem; color: var(--muted); margin-bottom: 12px; }
.cart-line .line-price { text-align: right; font-weight: 700; white-space: nowrap; }
.cart-line .remove { font-size: .72rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.cart-line .remove:hover { color: var(--sale); border-color: var(--sale); }
@media (max-width: 600px) {
  .cart-line { grid-template-columns: 84px 1fr; }
  .cart-line .thumb { width: 84px; height: 84px; }
  .cart-line .line-price { grid-column: 2; text-align: left; }
}

.summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-warm);
  padding: 28px 26px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.summary h3 { font-size: 1rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 12px 10px; font-size: .84rem; }
.summary dt { color: var(--muted); }
.summary dd { text-align: right; }
.summary .total { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .total b { font-size: 1.25rem; }
.summary .note { font-size: .7rem; color: var(--muted); margin-top: 14px; line-height: 1.8; }

.empty-state { text-align: center; padding: 90px 20px; }
.empty-state p { color: var(--muted); margin: 18px 0 30px; }

/* ===== Formulaire de commande ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-size: .76rem; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.field label .req { color: var(--sale); font-size: .68rem; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,134,60,.12); }
.field input:invalid:not(:placeholder-shown) { border-color: var(--sale); }
.field .hint { font-size: .7rem; color: var(--muted); margin-top: 6px; }

fieldset { border: none; margin-bottom: 40px; }
legend { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); width: 100%; }

.radio-list { display: grid; gap: 10px; }
.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.radio-card:hover { border-color: var(--gold-lite); }
.radio-card:has(input:checked) { border-color: var(--gold); background: var(--gold-pale); }
.radio-card input { margin-top: 5px; accent-color: var(--gold); }
.radio-card b { display: block; font-weight: 500; font-size: .9rem; }
.radio-card small { color: var(--muted); font-size: .74rem; }

/* ===== Confirmation de commande ===== */
.done-hero { text-align: center; padding: 80px 0 50px; }
.done-mark {
  width: 78px; height: 78px;
  margin: 0 auto 28px;
  border-radius: 50%;
  border: 1px solid var(--ok);
  color: var(--ok);
  display: flex; align-items: center; justify-content: center;
  animation: pop .5s cubic-bezier(.2,1.4,.4,1);
}
.done-mark svg { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done-hero h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: 16px; }
.done-hero p { color: var(--muted); font-size: .9rem; }

.order-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-warm);
  padding: 30px 32px;
  margin-bottom: 26px;
}
.order-box h2 { font-size: .95rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.order-no { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .16em; color: var(--gold); }

.notice {
  border: 1px solid var(--gold-lite);
  background: var(--gold-pale);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: .8rem;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.notice b { display: block; margin-bottom: 6px; color: var(--gold); }

/* Avis temporaire sous le numéro de téléphone (travaux de ligne).
   Se replie de lui-même quand SHOP.telNote est vide. */
.note-tel { font-size: .78rem; color: inherit; line-height: 1.8; margin: 10px 0 0; }
.note-tel:empty { display: none; }

/* ===== Contenu éditorial ===== */
.prose h2 { font-size: 1.25rem; margin: 46px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1rem; margin: 30px 0 12px; }
.prose p { color: var(--ink-soft); margin-bottom: 18px; font-size: .9rem; }
.prose ul, .prose ol { color: var(--ink-soft); margin: 0 0 18px 22px; font-size: .9rem; }
.prose li { margin-bottom: 8px; }

.legal-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.legal-table th, .legal-table td { text-align: left; padding: 16px 18px; border: 1px solid var(--line); vertical-align: top; }
.legal-table th { width: 30%; background: var(--bg-warm); font-weight: 500; color: var(--ink-soft); }
@media (max-width: 640px) {
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table tr { margin-bottom: -1px; }
  .legal-table th { border-bottom: none; }
}

/* ===== Boutiques ===== */
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.store-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; background: var(--white); }
.store-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.store-card .area { font-size: .66rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 16px; }
.store-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .8rem; }
.store-card dt { color: var(--muted); white-space: nowrap; }

/* ===== Pied de page ===== */
.site-footer { background: var(--ink); color: #cfc8bb; margin-top: 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 66px 24px 50px;
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

.footer-top .brand svg { height: 38px; }
.footer-top .brand { align-items: flex-start; margin-bottom: 20px; }
.footer-brand p { font-size: .76rem; line-height: 2; color: #9a9287; }

.footer-col h4 { font-size: .72rem; letter-spacing: .22em; color: var(--gold-lite); margin-bottom: 18px; font-family: var(--sans); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: .78rem; color: #cfc8bb; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-lite); }

.footer-bottom {
  border-top: 1px solid #302b25;
  padding: 22px 24px;
  text-align: center;
  font-size: .7rem;
  color: #7d766c;
  letter-spacing: .06em;
}

/* ===== Notification flottante ===== */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 24px);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: .82rem;
  box-shadow: 0 14px 40px rgba(27,25,23,.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--gold-lite); }

/* ===== Utilitaires ===== */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
