/* =========================================================
   BELART — Boutique en ligne (nouvelle section)
   Même palette que le site : beige, crème, or, encre
   ========================================================= */

/* Aperçu boutique sur l'accueil */
.shop-teaser { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.shop-teaser-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.shop-teaser-head .section-heading { color: var(--ink); margin-bottom: 14px; }
.shop-teaser-head em, .collection-hero em { font-style: italic; color: var(--gold-deep); }
.shop-teaser-head .lead { margin: 0; }
@media (max-width: 860px) { .shop-teaser-head { flex-direction: column; align-items: flex-start; } }

/* Grille produits */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--gold-deep); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 20px; }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.product-body h3 { font-family: var(--ff-title); font-weight: 600; font-size: 22px; color: var(--ink); margin: 6px 0 8px; }
.product-body h3 a { text-decoration: none; }
.product-short { font-size: 14.5px; color: var(--body); flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.product-price { font-family: var(--ff-title); font-size: 20px; color: var(--ink); line-height: 1.1; }
.product-price small { display: block; font-family: var(--ff-body); font-size: 11px; color: var(--body); text-transform: uppercase; letter-spacing: .08em; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* En-tête de collection */
.collection-hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: #fff; background: var(--dark) center/cover no-repeat; }
.collection-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,10,.15) 0%, rgba(20,16,10,.72) 100%); }
.collection-hero .inner { position: relative; max-width: 1320px; width: 100%; margin: 0 auto; padding: 60px 24px; }
.collection-hero .eyebrow { color: #EADFC8; }
.collection-hero h1 { font-family: var(--ff-title); font-weight: 600; font-size: clamp(36px, 5vw, 62px); max-width: 820px; margin-bottom: 14px; }
.collection-hero h1 em { color: #E4CFA0; }
.collection-hero p { max-width: 640px; font-size: 17px; opacity: .95; }
.collection-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.collection-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.collection-intro h2 { font-family: var(--ff-title); font-weight: 600; font-size: clamp(28px, 3vw, 40px); color: var(--ink); }
.collection-intro .rule { width: 80px; height: 2px; background: var(--beige); margin: 0 0 20px; }
.collection-intro p { color: var(--ink); }
.material-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.material { background: var(--cream); border-radius: 16px; padding: 22px; }
.material .sw { width: 44px; height: 44px; border-radius: 50%; margin-bottom: 10px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); }
.material h3 { font-family: var(--ff-title); font-size: 18px; color: var(--gold-deep); margin-bottom: 4px; }
.material p { font-size: 14px; margin: 0; color: var(--body); }
@media (max-width: 860px) { .collection-intro { grid-template-columns: 1fr; gap: 30px; } }

.shop-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.shop-bar h2 { font-family: var(--ff-title); font-weight: 600; font-size: clamp(26px, 3vw, 36px); color: var(--ink); margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 30px; padding: 8px 18px; font-size: 14px; cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--beige); }
.filter.active { background: var(--beige); border-color: var(--beige); color: #fff; }

.shop-assurances { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shop-assurances div { text-align: center; padding: 10px; }
.shop-assurances svg { width: 38px; height: 38px; color: var(--header-bg); margin: 0 auto 10px; display: block; }
.shop-assurances h3 { font-family: var(--ff-title); font-size: 18px; color: var(--header-bg); margin-bottom: 4px; }
.shop-assurances p { font-size: 14px; color: var(--header-bg); margin: 0; }
@media (max-width: 860px) { .shop-assurances { grid-template-columns: 1fr 1fr; } }

/* Options, quantité, liste de détails (pages produit) */
.no-scroll { overflow: hidden; }
.pm-options { border: 0; padding: 0; margin: 0 0 18px; }
/* Un seul format : affiché comme une information, sans choix */
.pm-fixed { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; font-size: 15px; color: var(--ink); }
.pm-fixed span { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pm-options legend { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.opt { display: block; margin-bottom: 8px; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; justify-content: space-between; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 15px; transition: all .2s; }
.opt b { font-weight: 600; color: var(--ink); }
.opt input:checked + span { border-color: var(--gold-deep); background: var(--cream); box-shadow: 0 0 0 3px rgba(156,133,79,.12); }
.opt input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.pm-buy { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.pm-buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 30px; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: #fff; cursor: pointer; font-size: 18px; color: var(--ink); }
.qty input { width: 44px; border: 0; text-align: center; font-size: 15px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 30px; height: 30px; font-size: 15px; }
.qty.sm span { min-width: 24px; text-align: center; font-size: 14px; }
.pm-details { list-style: none; padding: 16px 0 0; margin: 0 0 14px; border-top: 1px solid var(--line); }
.pm-details li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink); margin-bottom: 6px; }
.pm-details li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.pm-custom a { color: var(--gold-deep); font-weight: 600; }

/* Tiroir panier */
.drawer { position: fixed; inset: 0; z-index: 210; background: rgba(31,31,31,.45); opacity: 0; transition: opacity .3s; }
.drawer.open { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--ff-title); font-size: 24px; color: var(--ink); margin: 0; }
.drawer-close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream-2); cursor: pointer; font-size: 20px; color: var(--ink); }
.drawer-step { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer-scroll { flex: 1; overflow-y: auto; padding: 18px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 24px 22px; background: var(--cream); }
.cart-empty { text-align: center; color: var(--body); padding: 50px 0; }
.cart-empty a { color: var(--gold-deep); font-weight: 600; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.cl-info strong { display: block; font-family: var(--ff-title); font-size: 16px; color: var(--ink); }
.cl-info span { display: block; font-size: 13px; color: var(--body); margin-bottom: 6px; }
.cl-price { text-align: right; font-weight: 600; color: var(--ink); font-size: 15px; }
.cl-remove { display: block; margin-left: auto; margin-top: 6px; background: none; border: 0; padding: 0; font-size: 12px; color: var(--body); text-decoration: underline; cursor: pointer; }
.cart-totals div { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.cart-totals .grand { font-family: var(--ff-title); font-size: 20px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 8px; }
.drawer-foot .btn { width: 100%; margin-top: 12px; }
.cart-note { font-size: 12.5px; color: var(--body); margin: 10px 0 0; text-align: center; }

/* =========================================================
   Pages produit (produit-*.html)
   ========================================================= */
.pp-breadcrumb { background: var(--cream); border-bottom: 1px solid var(--line); }
.pp-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 auto; padding: 14px 20px; font-size: 13px; letter-spacing: .04em; color: var(--body); }
.pp-breadcrumb li + li::before { content: "›"; margin: 0 10px; color: var(--beige); }
.pp-breadcrumb a { text-decoration: none; color: var(--body); }
.pp-breadcrumb a:hover { color: var(--gold-deep); }
.pp-breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.pp { padding: 50px 0 80px; background: #fff; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }

.pp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pp-main { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-2); aspect-ratio: 1 / 0.92; }
.pp-main img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.pp-thumb { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; opacity: .75; transition: all .2s; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumb:hover { opacity: 1; }
.pp-thumb.active { border-color: var(--gold-deep); opacity: 1; box-shadow: 0 0 0 3px rgba(156,133,79,.15); }
.pp-thumb:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

.pp-info h1 { font-family: var(--ff-title); font-weight: 600; font-size: clamp(34px, 3.6vw, 48px); color: var(--ink); margin: 4px 0 10px; }
.pp-info .pp-price { font-family: var(--ff-title); font-size: 30px; color: var(--gold-deep); margin-bottom: 18px; }
.pp-info .pp-price small { font-family: var(--ff-body); font-size: 12px; color: var(--body); letter-spacing: .08em; }
.pp-desc { color: var(--body); font-size: 16px; margin-bottom: 24px; }
.pp-opt-error { color: #9B2C2C; font-size: 14px; margin: -8px 0 12px; }
.pp-info .pm-buy { margin: 6px 0 14px; }
.pp-info .pm-buy .btn { padding: 13px 26px; }
.pp-leadtime { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gold-deep); margin-bottom: 22px; }
.pp-leadtime svg { width: 18px; height: 18px; flex: none; }
.pp-assur { list-style: none; margin: 0 0 20px; padding: 18px 20px; background: var(--cream); border-radius: 16px; display: grid; gap: 10px; }
.pp-assur li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink); }
.pp-assur svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }
.pp-custom { font-size: 14.5px; color: var(--body); }
.pp-custom a { color: var(--gold-deep); font-weight: 600; }

.pp-story { padding: 90px 0; }
.pp-story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.pp-story .section-heading { margin-bottom: 18px; }
.pp-story p { color: var(--header-bg); font-size: 17px; }
.pp-story strong { color: var(--header-bg); }
.pp-story-img { border-radius: 50px 0; overflow: hidden; box-shadow: var(--shadow); }
.pp-story-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.pp-details { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.pp-details h2 { font-family: var(--ff-title); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); color: var(--ink); }
.pp-details .rule { width: 70px; height: 2px; background: var(--beige); margin: 0 0 20px; }
.pp-details > div > p { color: var(--ink); }
.pp-details .pm-details { border-top: 0; padding-top: 0; }
.pp-h2-spaced { margin-top: 40px; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pp-table th, .pp-table td { text-align: left; padding: 12px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pp-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.pp-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.pp-specs th { width: 42%; font-weight: 600; color: var(--ink); }
.pp-specs td, .pp-specs td:last-child { text-align: left; font-weight: 400; color: var(--body); }
.pp-note { font-size: 14px; color: var(--body); margin-top: 12px; }
.pp-note a { color: var(--gold-deep); font-weight: 600; }
.pp-info-block { background: var(--cream); border-radius: 16px; padding: 18px 20px; margin-top: 18px; }
.pp-info-block h3 { display: flex; align-items: center; gap: 10px; font-family: var(--ff-title); font-size: 19px; color: var(--gold-deep); margin-bottom: 6px; }
.pp-info-block h3 svg { width: 20px; height: 20px; }
.pp-info-block p { font-size: 15px; color: var(--ink); margin: 0; }

.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cart-line a { text-decoration: none; color: inherit; }

@media (max-width: 1000px) {
  .pp-grid { grid-template-columns: 1fr; gap: 34px; }
  .pp-gallery { position: static; }
  .pp-story-grid, .pp-details { grid-template-columns: 1fr; gap: 40px; }
  .pp-story-img { max-width: 440px; }
  .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pp { padding: 26px 0 56px; }
  .pp-thumbs { gap: 8px; }
  .pp-info .pm-buy { flex-wrap: wrap; }
  .pp-info .pm-buy .btn { flex: 1 1 100%; }
  .product-grid.cols-3 { grid-template-columns: 1fr; }
  .pp-story { padding: 64px 0; }
}

/* ---------- Tiroir panier : message « ajouté » + actions ---------- */
.cart-added { display: flex; gap: 12px; align-items: center; margin: 14px 24px 0; padding: 12px 14px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; }
.cart-added svg { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--gold-deep); color: #fff; stroke-width: 2.2; }
.cart-added p { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.4; }
.cart-added strong { display: block; }
.cart-added span { color: var(--body); }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.drawer-actions .btn { width: 100%; margin: 0; padding: 12px 10px; }
.drawer-actions .btn.is-disabled { opacity: .45; pointer-events: none; }
.link-continue { display: block; width: 100%; margin-top: 12px; background: none; border: 0; font-size: 14px; font-weight: 600; color: var(--gold-deep); cursor: pointer; }
.link-continue:hover { color: var(--ink); }


/* ---------- Pièces uniques, collection éphémère (retours du client, 01/10/2026) ---------- */
.rarete { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rarete li { position: relative; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold-deep); border-radius: 12px; padding: 14px 16px; }
.rarete strong { display: block; font-family: var(--ff-title); font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.rarete span { display: block; font-size: 14px; color: var(--body); margin-top: 2px; }
.shop-bar + .rarete { margin: 0 0 30px; }
@media (max-width: 760px) { .rarete { grid-template-columns: 1fr; gap: 10px; } }
.product-badge.is-sold { background: var(--ink); color: #fff; }
.pp-unique { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 4px 0 16px; font-size: 14px; color: var(--ink); }
.pp-unique b { font-family: var(--ff-body); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--gold-deep); padding: 5px 11px; border-radius: 20px; }
.cl-unique { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); }
.cr-unique { font-weight: 600; color: var(--ink); }
.cr-unique small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); }

/* Téléphone : aperçus de la collection en carrousel horizontal (glisser), au lieu de 4 grandes cartes empilées */
@media (max-width: 560px) {
  .product-grid[data-teaser] { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 18px; scrollbar-width: none; }
  .product-grid[data-teaser]::-webkit-scrollbar { display: none; }
  .product-grid[data-teaser] .product-card { flex: 0 0 78%; scroll-snap-align: start; }
  .product-grid[data-teaser] .product-card:hover { transform: none; }
  .product-grid[data-teaser] .product-short { display: none; }
}

/* Fiche produit : fil d'Ariane réduit à « ‹ Boutique » sur téléphone */
.pp-back { display: none; }
@media (max-width: 700px) {
  .pp-breadcrumb ol { display: none; }
  .pp-back { display: block; padding: 12px 20px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }
}

/* Carrousel des pièces sur téléphone : pièce centrée, voisines visibles des deux côtés */
@media (max-width: 560px) {
  .product-grid[data-teaser] { scroll-padding-inline: 12%; }
  .product-grid[data-teaser] .product-card { flex: 0 0 76%; scroll-snap-align: center; }
}
