/* F-0060 : La Cave by Origine France — charte validée le 10/11/2026 (maquettes docs/maquettes/LaCave-*.dc.html). */
:root {
  --cv-wine: #5E1A2B;
  --cv-wine-dark: #3E0F1B;
  --cv-wine-mid: #7A2335;
  --cv-gold: #C9A65E;
  --cv-gold-on-dark: #D4B26A;
  --cv-gold-text: #7A5A22;
  --cv-cream: #F7F1E6;
  --cv-paper: #FFFDF8;
  --cv-text: #2B1A1D;
  --cv-grey: #6E5A5E;
  --cv-line: #E6DCCB;
  --cv-olive: #4F5D2F;
  --cv-olive-soft: #EEF1E2;
  --cv-neg-bg: #F1E6BF;
  --cv-neg-text: #5A4210;
  --cv-serif: 'Cormorant Garamond', Georgia, serif;
  --cv-sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --cv-tabbar-h: 64px;
  --cv-safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.cv-body { margin: 0; background: var(--cv-cream); color: var(--cv-text); font-family: var(--cv-sans); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body.cv-has-tabbar { padding-bottom: calc(var(--cv-tabbar-h) + var(--cv-safe-b)); }
a { color: var(--cv-wine); }
a:hover { color: var(--cv-wine-dark); }
img { max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cv-gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--cv-serif); color: var(--cv-wine-dark); font-weight: 600; margin: 0; line-height: 1.05; }
h2 { font-size: 26px; }
.cv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cv-skip { position: absolute; left: -999px; top: 8px; background: var(--cv-paper); padding: 10px 14px; border-radius: 10px; z-index: 50; }
.cv-skip:focus { left: 8px; }
.cv-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.cv-stack { display: flex; flex-direction: column; gap: 22px; padding-top: 4px; padding-bottom: 28px; }
.cv-stack-sm { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; padding-bottom: 24px; }
.cv-center { align-items: center; text-align: center; }
.cv-muted { color: var(--cv-grey); }
.cv-small { font-size: 12px; }
.cv-small2 { font-size: 13px; }
.cv-olive { color: var(--cv-olive); font-weight: 500; font-size: 12px; }
.cv-h1 { font-size: 30px; }
.cv-h2s { font-family: var(--cv-sans); font-size: 16px; color: var(--cv-text); font-weight: 500; margin-bottom: 6px; }
.cv-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cv-gold-on-dark); }
.cv-empty { background: var(--cv-paper); border-radius: 18px; padding: 18px; color: var(--cv-grey); margin: 0; }
.cv-alert { background: #FBE9E7; color: #7A1F12; border-radius: 14px; padding: 12px 14px; margin: 0; font-weight: 600; }

/* En-tête */
.cv-topbar { background: var(--cv-cream); }
.cv-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 6px; }
.cv-logo { display: flex; align-items: center; min-height: 44px; }
.cv-logo img { height: 46px; width: auto; display: block; }
.cv-topnav, .cv-topsearch { display: none; }
.cv-topactions { display: flex; gap: 8px; }
.cv-iconbtn { width: 44px; height: 44px; border-radius: 999px; background: var(--cv-paper); color: var(--cv-wine); border: 0; display: inline-flex; align-items: center; justify-content: center; position: relative; text-decoration: none; }
.cv-iconbtn-paper { background: var(--cv-paper); color: var(--cv-text); }
.cv-iconbtn-wine { background: var(--cv-wine-mid); color: var(--cv-cream); }
.cv-cartbtn { display: none; }
.cv-badge, .cv-tab-badge { position: absolute; top: -2px; background: #B4532A; color: #fff; font-size: 10px; font-weight: 600; min-width: 18px; height: 18px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.cv-badge { right: -2px; }
.cv-badge[hidden], .cv-tab-badge[hidden] { display: none; }

/* Barre d'onglets (maquette TabBar) */
.cv-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--cv-paper); border-top: 1px solid var(--cv-line); padding: 8px 8px calc(8px + var(--cv-safe-b)); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cv-tab { text-decoration: none; color: var(--cv-grey); display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; position: relative; min-height: 44px; justify-content: center; }
.cv-tab.is-on { color: var(--cv-wine); font-weight: 600; }
.cv-tab-badge { left: 50%; margin-left: 6px; }

/* Recherche, héros, couleurs */
.cv-search { display: flex; align-items: center; gap: 10px; background: var(--cv-paper); border: 1px solid var(--cv-line); border-radius: 16px; padding: 0 14px; min-height: 50px; color: var(--cv-grey); }
.cv-search input { border: 0; outline: none; background: transparent; font-size: 16px; flex: 1; color: var(--cv-text); padding: 12px 0; min-width: 0; }
.cv-hero, .cv-region-hero, .cv-membercard { background: var(--cv-wine); color: var(--cv-cream); border-radius: 24px; padding: 22px 20px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.cv-hero > *, .cv-membercard > * { position: relative; }
.cv-hero-emblem { position: absolute !important; right: -50px; bottom: -40px; width: 220px; height: auto; opacity: .45; pointer-events: none; }
.cv-hero h1 { color: var(--cv-cream); font-size: 36px; line-height: 1.02; max-width: 290px; }
.cv-colors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cv-colors a { text-decoration: none; background: var(--cv-paper); border-radius: 16px; padding: 12px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--cv-text); font-size: 12px; font-weight: 500; min-height: 44px; }
.cv-dot { width: 26px; height: 26px; border-radius: 999px; border: 1px solid #D9CDB8; display: inline-block; flex: none; }
.cv-dot-sm { width: 12px; height: 12px; }

/* Boutons */
.cv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; border: 0; border-radius: 999px; font-weight: 600; padding: 12px 18px; min-height: 44px; font-size: 15px; }
.cv-btn-primary { background: var(--cv-wine); color: #fff; }
.cv-btn-primary:hover { background: var(--cv-wine-dark); color: #fff; }
.cv-btn-primary:disabled { background: #A88C92; cursor: not-allowed; }
.cv-btn-gold { background: var(--cv-gold-on-dark); color: var(--cv-wine-dark); align-self: flex-start; margin-top: 6px; }
.cv-btn-gold:hover { color: var(--cv-wine-dark); filter: brightness(1.05); }
.cv-btn-sm { padding: 9px 14px; min-height: 40px; font-size: 14px; }
.cv-btn-lg { padding: 16px; min-height: 54px; font-size: 16px; }
.cv-btn-block { width: 100%; }
.cv-btn-outline { border: 1px solid var(--cv-wine); background: var(--cv-paper); color: var(--cv-wine); font-weight: 500; font-size: 14px; padding: 10px 14px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.cv-btn-ghost { background: transparent; border: 0; color: var(--cv-grey); font-weight: 500; text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; }
.cv-btnrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cv-count { background: var(--cv-wine); color: #fff; border-radius: 999px; font-size: 11px; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }

/* Sections, cartes */
.cv-section { display: flex; flex-direction: column; gap: 12px; }
.cv-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cv-section-head a { font-weight: 500; font-size: 14px; }
.cv-card { background: var(--cv-paper); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cv-card h2 { font-size: 24px; }
.cv-hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.cv-hscroll::-webkit-scrollbar { display: none; }
.cv-tile { text-decoration: none; color: var(--cv-text); flex: none; width: 150px; background: var(--cv-paper); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 8px; scroll-snap-align: start; }
.cv-tile-pic { height: 150px; border-radius: 14px; display: flex; align-items: flex-end; justify-content: center; padding-top: 10px; overflow: hidden; }
.cv-tile-name { font-weight: 500; font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cv-tile-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.cv-plus { width: 30px; height: 30px; border-radius: 999px; background: var(--cv-wine); color: var(--cv-cream); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.cv-price { color: var(--cv-wine); font-weight: 600; font-size: 15px; }
.cv-price-lg { font-size: 17px; }
.cv-bottle-photo { width: auto; object-fit: contain; display: block; }
.cv-region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cv-region-grid a { text-decoration: none; border-radius: 18px; padding: 16px 14px; min-height: 72px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
.cv-region-grid strong { font-family: var(--cv-serif); font-size: 22px; font-weight: 500; }
.cv-region-grid span { font-size: 12px; opacity: .9; }
.cv-region-grid-lg a { min-height: 96px; }
.cv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-chip { text-decoration: none; background: var(--cv-paper); border: 1px solid var(--cv-line); color: var(--cv-text); font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center; }
.cv-member { text-decoration: none; background: var(--cv-wine-dark); color: var(--cv-cream); border-radius: 22px; padding: 18px; display: flex; gap: 14px; align-items: center; }
.cv-member:hover { color: var(--cv-cream); }
.cv-member > span:last-child { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.4; }
.cv-member strong { font-size: 16px; color: var(--cv-gold-on-dark); }
.cv-member-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--cv-wine); flex: none; display: flex; align-items: center; justify-content: center; color: var(--cv-gold-on-dark); }
.cv-member-ico-lg { width: 64px; height: 64px; }
.cv-gline { display: flex; align-items: center; gap: 12px; }
.cv-gline-pic { width: 56px; height: 56px; border-radius: 14px; background: var(--cv-olive-soft); flex: none; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.cv-gline-pic img { width: 100%; height: 100%; object-fit: cover; }
.cv-gline-body { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 14px; }
.cv-round-add { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--cv-olive); background: #fff; color: var(--cv-olive); font-weight: 600; font-size: 18px; flex: none; }
.cv-tag { align-self: flex-start; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; display: inline-block; }
.cv-tag-neg { background: var(--cv-neg-bg); color: var(--cv-neg-text); }
.cv-tag-gold { background: var(--cv-neg-bg); color: var(--cv-neg-text); }
.cv-tag-wine { background: #EFE3E5; color: var(--cv-wine); }
.cv-tag-olive { background: var(--cv-olive-soft); color: #3E4A24; }
.cv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* Liste des vins */
.cv-sticky { position: sticky; top: 0; z-index: 20; background: var(--cv-cream); border-bottom: 1px solid var(--cv-line); padding: 12px 0 10px; }
.cv-sticky .cv-wrap { display: flex; flex-direction: column; gap: 10px; }
.cv-sticky-row { display: flex; align-items: center; gap: 10px; }
.cv-sticky-row h1 { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-chiprow { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.cv-chiprow::-webkit-scrollbar { display: none; }
.cv-pill { flex: none; text-decoration: none; background: var(--cv-paper); color: var(--cv-text); font-weight: 500; font-size: 13px; padding: 9px 13px; border-radius: 999px; min-height: 38px; display: inline-flex; align-items: center; }
.cv-pill.is-on { background: var(--cv-wine); color: #fff; }
.cv-cpill { flex: none; text-decoration: none; border: 1px solid var(--cv-line); background: var(--cv-paper); color: var(--cv-text); font-weight: 600; font-size: 13px; padding: 7px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.cv-cpill.is-on { border-color: var(--cv-wine); box-shadow: inset 0 0 0 1px var(--cv-wine); }
.cv-listbar { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--cv-grey); gap: 10px; }
.cv-sort { display: flex; align-items: center; gap: 6px; }
.cv-sort select { border: 1px solid var(--cv-line); background: var(--cv-paper); border-radius: 999px; padding: 8px 10px; color: var(--cv-text); font-weight: 500; min-height: 40px; }
.cv-group { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.cv-group-title { font-size: 24px; }
.cv-group-title a { text-decoration: none; color: inherit; }
.cv-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.cv-row { text-decoration: none; color: var(--cv-text); background: var(--cv-paper); border-radius: 20px; padding: 12px; display: flex; gap: 12px; align-items: stretch; }
.cv-row-pic { width: 84px; flex: none; border-radius: 14px; display: flex; align-items: flex-end; justify-content: center; padding-top: 8px; overflow: hidden; min-height: 118px; }
.cv-row-body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cv-row-name { font-family: var(--cv-serif); font-size: 20px; line-height: 1.05; color: var(--cv-wine-dark); }
.cv-row-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cv-row-foot .cv-small { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Panneau du bas (filtres) */
.cv-sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.cv-sheet[hidden] { display: none; }
.cv-sheet-backdrop { position: absolute; inset: 0; background: rgba(43, 26, 29, .45); }
.cv-sheet-panel { position: relative; width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto; background: var(--cv-paper); border-radius: 24px 24px 0 0; padding: 12px 18px calc(22px + var(--cv-safe-b)); display: flex; flex-direction: column; gap: 18px; transform: translateY(0); transition: transform .22s ease; overscroll-behavior: contain; }
.cv-sheet.is-opening .cv-sheet-panel { transform: translateY(100%); }
.cv-sheet-grip { align-self: center; width: 40px; height: 5px; border-radius: 999px; background: #D9CDB8; }
.cv-sheet-head { display: flex; justify-content: space-between; align-items: center; }
.cv-sheet-head strong { font-family: var(--cv-serif); font-size: 26px; color: var(--cv-wine-dark); }
.cv-sheet-head .cv-iconbtn { background: var(--cv-cream); }
.cv-sheet fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cv-sheet legend { font-weight: 500; font-size: 15px; margin-bottom: 8px; }
.cv-sheet input[type=range] { accent-color: var(--cv-wine); width: 100%; min-height: 32px; }
.cv-chk { position: relative; }
.cv-chk input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.cv-chk span { border: 1px solid var(--cv-line); font-size: 13px; padding: 9px 13px; border-radius: 999px; display: inline-flex; min-height: 40px; align-items: center; }
.cv-chk input:checked + span { background: var(--cv-wine); color: #fff; border-color: var(--cv-wine); font-weight: 500; }
.cv-chk input:focus-visible + span { outline: 3px solid var(--cv-gold); }
.cv-switch { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 600; font-size: 14px; }
.cv-switch input { width: 22px; height: 22px; accent-color: var(--cv-wine); }
.cv-sheet-actions { display: flex; gap: 10px; align-items: center; justify-content: space-between; position: sticky; bottom: 0; background: var(--cv-paper); padding-top: 6px; }
.cv-sheet-actions .cv-btn { flex: 1; min-height: 52px; font-size: 16px; }
body.cv-sheet-open { overflow: hidden; }

/* Fiche vin */
.cv-wine-top { padding: 12px 0 26px; }
.cv-wine-top-in { display: flex; flex-direction: column; gap: 6px; }
.cv-wine-actions { display: flex; justify-content: space-between; }
.cv-wine-actions span { display: flex; gap: 8px; }
.cv-wine-bottle { display: flex; justify-content: center; padding-top: 6px; min-height: 200px; align-items: flex-end; }
.cv-wine-bottle .cv-bottle-photo { max-height: 320px; }
.cv-wine-body { padding-top: 18px; padding-bottom: 130px; display: flex; flex-direction: column; gap: 18px; }
.cv-wine-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cv-wine-head { display: flex; flex-direction: column; gap: 4px; }
.cv-wine-head h1 { font-size: 34px; }
.cv-note-neg { background: var(--cv-neg-bg); border-radius: 16px; padding: 12px 14px; font-size: 14px; line-height: 1.45; color: #3B2A0A; margin: 0; }
.cv-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.cv-facts div { background: var(--cv-paper); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.cv-facts dt { font-size: 12px; color: var(--cv-grey); }
.cv-facts dd { margin: 0; font-weight: 500; font-size: 15px; }
.cv-notes { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cv-notes div { display: flex; gap: 12px; }
.cv-notes dt { width: 72px; flex: none; font-size: 14px; color: var(--cv-wine); font-weight: 500; }
.cv-notes dd { margin: 0; font-size: 14px; line-height: 1.5; }
.cv-story { background: var(--cv-wine); color: var(--cv-cream); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.cv-story img { width: 100%; height: 180px; object-fit: cover; display: block; }
.cv-story img.cv-story-bottle { object-fit: contain; background: #fff; padding: 10px 0; } /* A-655 : bouteille du domaine faute de photo */
.cv-story-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.cv-story h2 { color: var(--cv-cream); }
.cv-story-text { font-size: 14px; line-height: 1.55; color: #F1E4E6; }
.cv-story a { color: var(--cv-gold-on-dark); font-weight: 500; font-size: 14px; }
.cv-cellar-cta { text-decoration: none; background: var(--cv-paper); border: 2px solid var(--cv-gold); border-radius: 20px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; color: var(--cv-wine); }
.cv-cellar-cta span { display: flex; flex-direction: column; gap: 2px; color: var(--cv-text); font-size: 14px; }
.cv-cellar-cta strong { color: var(--cv-wine); font-size: 16px; }
.cv-sources { font-size: 13px; color: var(--cv-grey); }
.cv-sources summary { cursor: pointer; min-height: 32px; }
.cv-sources ul { margin: 6px 0 0; padding-left: 18px; }
.cv-legal-alcohol { margin: 0; font-size: 12px; color: var(--cv-grey); text-align: center; }
.cv-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--cv-paper); border-top: 1px solid var(--cv-line); padding: 12px 16px calc(14px + var(--cv-safe-b)); display: flex; align-items: center; gap: 12px; }
.cv-buybar-price { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cv-buybar-price strong { font-size: 22px; color: var(--cv-wine); }
.cv-qty { display: flex; align-items: center; border: 1px solid var(--cv-line); border-radius: 999px; }
.cv-qty button { width: 40px; height: 44px; border: 0; background: transparent; font-size: 20px; color: var(--cv-text); }
.cv-qty span { min-width: 20px; text-align: center; font-weight: 600; }
.cv-qty-sm button { width: 36px; height: 40px; font-size: 18px; }
.cv-out { font-weight: 500; color: var(--cv-grey); }

/* Région */
.cv-region-hero { border-radius: 0; padding: 12px 0 26px; }
.cv-region-hero .cv-hero-emblem { right: -40px; top: 20px; bottom: auto; width: 230px; }
.cv-region-hero .cv-wrap { position: relative; display: flex; flex-direction: column; gap: 10px; }
.cv-region-hero .cv-kicker { margin-top: 20px; }
.cv-region-hero h1 { color: var(--cv-cream); font-size: 44px; }
.cv-region-hero p { margin: 0; font-size: 15px; line-height: 1.5; color: #F1E4E6; max-width: 560px; }
.cv-estate { text-decoration: none; color: var(--cv-text); background: var(--cv-paper); border-radius: 20px; padding: 12px; display: flex; gap: 12px; align-items: center; }
.cv-estate-pic { width: 64px; height: 64px; border-radius: 999px; background: #EFE3E5; flex: none; overflow: hidden; }
.cv-estate-pic img { width: 100%; height: 100%; object-fit: cover; }
.cv-estate-pic img.cv-estate-bottle { object-fit: contain; background: #fff; }
.cv-estate-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.cv-estate-body strong { font-family: var(--cv-serif); font-size: 20px; color: var(--cv-wine-dark); }
.cv-wine-link { font-size: 12px; font-weight: 500; color: var(--cv-wine); }

/* Panier, paiement */
.cv-freeship { gap: 8px; font-size: 14px; font-weight: 600; }
.cv-progress { height: 8px; border-radius: 999px; background: #EFE3E5; overflow: hidden; }
.cv-progress div { height: 100%; background: var(--cv-wine); }
.cv-cgroup { display: flex; flex-direction: column; gap: 8px; }
.cv-cgroup-title { margin: 4px 0 0; font-family: var(--cv-sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cv-wine); }
.cv-cline { background: var(--cv-paper); border-radius: 18px; padding: 12px; display: flex; gap: 12px; align-items: center; }
.cv-cline-pic { width: 56px; height: 72px; border-radius: 12px; flex: none; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.cv-cline-pic img { width: 100%; height: 100%; object-fit: cover; }
.cv-cline-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 15px; }
.cv-pairbox { background: var(--cv-wine-dark); color: var(--cv-cream); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cv-pairbox-title { font-family: var(--cv-serif); font-size: 22px; color: var(--cv-gold-on-dark); }
.cv-gline-dark .cv-gline-pic { background: var(--cv-wine); }
.cv-gline-dark .cv-small { color: #E9D6DA; }
.cv-totals { gap: 8px; font-size: 15px; }
.cv-totals > div { display: flex; justify-content: space-between; gap: 10px; }
.cv-totals-grand { border-top: 1px solid var(--cv-line); margin-top: 4px; padding-top: 10px; font-weight: 600; font-size: 18px; }
.cv-sticky-cta { position: sticky; bottom: calc(var(--cv-tabbar-h) + var(--cv-safe-b) + 8px); z-index: 10; }
.cv-pagehead { display: flex; align-items: center; gap: 10px; }
.cv-option { border: 2px solid var(--cv-line); background: #fff; border-radius: 16px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; cursor: pointer; min-height: 56px; }
.cv-option[hidden] { display: none; }
.cv-option input { width: 20px; height: 20px; accent-color: var(--cv-wine); flex: none; margin: 0; }
.cv-option:has(input:checked) { border-color: var(--cv-wine); }
.cv-option-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cv-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cv-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--cv-grey); }
.cv-fields input, .cv-fields select { border: 1px solid var(--cv-line); border-radius: 12px; padding: 12px; min-height: 46px; font-size: 16px; color: var(--cv-text); background: #fff; }
.cv-span2 { grid-column: span 2; }
.cv-age { background: var(--cv-paper); border: 2px solid var(--cv-line); border-radius: 18px; padding: 14px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.cv-age:has(input:checked) { border-color: var(--cv-wine); }
.cv-age input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--cv-wine); }

/* Compte */
.cv-hello { display: flex; align-items: center; gap: 12px; }
.cv-avatar { width: 52px; height: 52px; border-radius: 999px; background: var(--cv-wine); color: var(--cv-cream); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px; flex: none; }
.cv-membercard { background: var(--cv-wine-dark); }
.cv-membercard .cv-hero-emblem { right: -40px; top: -20px; bottom: auto; width: 180px; opacity: .4; }
.cv-membercard-title { font-family: var(--cv-serif); font-size: 26px; }
.cv-membercard a { color: var(--cv-gold-on-dark); font-weight: 500; font-size: 14px; }
.cv-order { text-decoration: none; color: var(--cv-text); display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid #EFE6D6; justify-content: space-between; }
.cv-order > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.cv-links { padding: 4px 16px; gap: 0; }
.cv-links a { text-decoration: none; color: var(--cv-text); display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #EFE6D6; min-height: 52px; }
.cv-links a:last-child { border-bottom: 0; }
.cv-links a svg:first-child { color: var(--cv-wine); }
.cv-links a span { flex: 1; font-size: 15px; font-weight: 600; }

/* Pied de page */
.cv-footer { background: var(--cv-wine-dark); color: var(--cv-cream); padding: 28px 0; }
.cv-footer-in { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cv-footer-logo { width: 170px; height: auto; }
.cv-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.cv-footer-links a { color: var(--cv-cream); font-size: 13px; min-height: 32px; display: inline-flex; align-items: center; }
.cv-footer-addr, .cv-footer .cv-legal-alcohol { margin: 0; font-size: 12px; color: #E9D6DA; }
body.cv-page-wine .cv-footer { padding-bottom: 110px; }
.cv-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--cv-tabbar-h) + var(--cv-safe-b) + 14px); background: var(--cv-wine-dark); color: var(--cv-cream); padding: 12px 18px; border-radius: 999px; font-weight: 500; z-index: 70; box-shadow: 0 8px 24px rgba(0,0,0,.2); max-width: calc(100% - 32px); }
body.cv-page-wine .cv-toast { bottom: calc(96px + var(--cv-safe-b)); }

/* Ordinateur : même contenu, mise en page élargie, menu en haut */
@media (min-width: 900px) {
  body.cv-has-tabbar { padding-bottom: 0; }
  .cv-tabbar { display: none; }
  .cv-topbar { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--cv-line); }
  .cv-topbar-in { padding-top: 12px; padding-bottom: 12px; }
  .cv-logo img { height: 56px; }
  .cv-topnav { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
  .cv-topnav a { text-decoration: none; color: #3A2A2D; min-height: 44px; display: inline-flex; align-items: center; }
  .cv-topnav a[aria-current] { color: var(--cv-wine); box-shadow: inset 0 -2px 0 var(--cv-wine); }
  .cv-topnav-shop { color: var(--cv-olive) !important; }
  .cv-topsearch { display: block; flex: 1; max-width: 320px; }
  .cv-topsearch input { width: 100%; border: 1px solid var(--cv-line); border-radius: 999px; padding: 11px 16px; background: var(--cv-paper); min-height: 44px; }
  .cv-cartbtn { display: inline-flex; }
  .cv-sticky { top: 81px; }
  .cv-stack { gap: 30px; padding-top: 24px; }
  .cv-hero { padding: 48px 44px; min-height: 300px; justify-content: center; }
  .cv-hero h1 { font-size: 56px; max-width: 620px; }
  .cv-hero-emblem { width: 420px; right: -60px; bottom: -80px; }
  .cv-colors { grid-template-columns: repeat(4, 160px); }
  .cv-hscroll { margin: 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cv-tile { width: auto; }
  .cv-tile-pic { height: 200px; }
  .cv-region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cv-region-grid-lg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cv-region-grid a { min-height: 110px; }
  .cv-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-chiprow { margin: 0; padding: 0; flex-wrap: wrap; }
  .cv-sheet { align-items: center; }
  .cv-sheet-panel { border-radius: 24px; max-height: 84vh; }
  .cv-wine-top { padding: 20px 0 30px; }
  .cv-wine-bottle .cv-bottle-photo { max-height: 420px; }
  .cv-wine-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; padding-bottom: 40px; gap: 30px; }
  .cv-buybar { position: sticky; top: 100px; border: 1px solid var(--cv-line); border-radius: 22px; flex-wrap: wrap; padding: 18px; }
  .cv-buybar-price { flex-basis: 100%; }
  .cv-buybar .cv-btn { flex: 1; }
  .cv-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.cv-page-wine .cv-footer { padding-bottom: 28px; }
  .cv-cart, .cv-checkout { max-width: 760px; }
  .cv-sticky-cta { position: static; }
  .cv-toast { bottom: 24px !important; }
}
@media (min-width: 1200px) {
  .cv-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cv-hscroll { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .cv-sheet-panel { transition: none; }
}
@media (max-width: 899px) {
  body.cv-page-wine .cv-topbar, body.cv-page-region .cv-topbar { display: none; }
}

/* F-0061 : espace Pro (maquettes LaCave-Pro*) */
.pv-hero { background: var(--cv-wine-dark); color: var(--cv-cream); padding: 14px 0 22px; }
.pv-hero .cv-wrap { display: flex; flex-direction: column; gap: 6px; }
.pv-hero-top { display: flex; align-items: center; gap: 10px; }
.pv-brand { display: flex; align-items: center; gap: 10px; }
.pv-brand img { height: 40px; width: auto; }
.pv-badge { background: var(--cv-gold-on-dark); color: var(--cv-wine-dark); font-weight: 600; font-size: 12px; letter-spacing: .12em; padding: 5px 10px; border-radius: 999px; }
.pv-badge-wine { background: var(--cv-wine); color: #fff; letter-spacing: 0; }
.pv-hero h1 { color: var(--cv-cream); font-size: 30px; margin-top: 14px; }
.pv-sub { font-size: 14px; color: #EADBDE; }
body.cv-pro .cv-topbar { display: none; }
@media (min-width: 900px) { body.cv-pro .cv-topbar { display: block; } }
.pv-note { background: var(--cv-neg-bg); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 6px; color: #3B2A0A; margin: 0; font-size: 14px; line-height: 1.45; }
.pv-note-soft { background: var(--cv-olive-soft); color: #3E4A24; }
.pv-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pv-kpis > div { background: var(--cv-paper); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 3px; }
.pv-kpis > div > span:first-child { font-size: 12px; color: var(--cv-grey); }
.pv-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pv-actions a { text-decoration: none; background: var(--cv-paper); color: var(--cv-text); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 96px; font-size: 14px; }
.pv-actions a.is-off { opacity: .45; pointer-events: none; }
.pv-ico { width: 40px; height: 40px; border-radius: 12px; background: #EFE3E5; color: var(--cv-wine); display: flex; align-items: center; justify-content: center; }
.pv-call { background: var(--cv-wine-dark); color: var(--cv-cream); border-radius: 20px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pv-call > span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.pv-call .cv-btn-gold { margin: 0; }
.pv-label { font-size: 14px; font-weight: 500; margin-top: 6px; }
.pv-input, .pv-inline input { border: 1px solid var(--cv-line); border-radius: 12px; padding: 12px; min-height: 46px; font-size: 16px; background: #fff; color: var(--cv-text); width: 100%; }
.pv-inline { display: flex; gap: 8px; }
.pv-inline .cv-btn-outline { flex: none; }
.pv-found { background: var(--cv-olive-soft); color: #3E4A24; border-radius: 14px; padding: 12px; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.pv-found.is-err { background: #FBE9E7; color: #7A1F12; }
.pv-perk { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.pv-perk > span:first-child { color: var(--cv-olive); font-weight: 600; }
.pv-sticky .cv-sticky-row h1 { flex: 1; }
.pv-tiers { font-size: 13px; color: var(--cv-grey); }
.pv-wine { background: var(--cv-paper); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 140px; }
.pv-wine-top { display: flex; gap: 12px; }
.pv-wine-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14px; }
.pv-wine-body a { text-decoration: none; color: var(--cv-wine-dark); }
.pv-wine-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #EFE6D6; padding-top: 8px; }
.pv-bar { position: sticky; bottom: 0; z-index: 25; background: var(--cv-paper); border-top: 1px solid var(--cv-line); padding: 12px 16px calc(14px + var(--cv-safe-b)); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pv-bar > div { display: flex; flex-direction: column; }
.pv-bar strong { font-size: 20px; color: var(--cv-wine); }
.pv-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #EFE6D6; font-size: 14px; }
.pv-line > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cv-option.is-off { background: #F4EFE6; opacity: .7; cursor: not-allowed; }
.pv-tabs { display: flex; gap: 4px; background: var(--cv-paper); border-radius: 999px; padding: 4px; }
.pv-tabs a { flex: 1; text-align: center; text-decoration: none; color: var(--cv-text); font-weight: 500; font-size: 14px; padding: 10px 6px; border-radius: 999px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.pv-tabs a[aria-current] { background: var(--cv-wine); color: #fff; }
.pv-ordercard { gap: 8px; }
@media (min-width: 900px) {
  .pv-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cv-wrap > .pv-wine { max-width: 820px; }
}
.cv-fields label { min-width: 0; }
.cv-fields input, .cv-fields select { width: 100%; min-width: 0; }
.pv-line > strong, .cv-totals > div > :last-child { white-space: nowrap; }

/* F-0064 : délai de livraison (boutique 24 h ou négociant 5 à 7 jours) */
.cv-delivery { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--cv-olive, #5E6B2E); line-height: 1.3; }
.cv-delivery::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.cv-delivery-neg { color: var(--cv-neg-text, #7A5A2B); }
.cv-pager { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 18px 0 8px; }
/* F-0060 §9 bis : prix constaté, avis, box du mois */
.cv-survey { background: var(--cv-paper); border: 1px solid var(--cv-line); border-radius: 14px; padding: 12px 14px; }
.cv-survey summary { cursor: pointer; line-height: 1.5; }
.cv-survey ul { margin: 8px 0 0; padding-left: 18px; }
.cv-rating { color: var(--cv-gold-text); font-weight: 500; }
.cv-stars { color: var(--cv-gold-text); letter-spacing: 1px; }
.cv-review { border-top: 1px solid var(--cv-line); padding: 10px 0; }
.cv-review p { margin: 6px 0 0; }
.cv-review-form summary { cursor: pointer; font-weight: 500; color: var(--cv-wine); min-height: 44px; display: flex; align-items: center; }
.cv-review-form textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--cv-line); border-radius: 12px; padding: 10px; font: inherit; }
.cv-star-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.cv-star-input legend { width: 100%; margin-bottom: 4px; }
.cv-star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cv-star-input label { font-size: 30px; line-height: 44px; width: 40px; text-align: center; color: var(--cv-line); cursor: pointer; }
.cv-star-input input:checked ~ label, .cv-star-input label:hover, .cv-star-input label:hover ~ label { color: var(--cv-gold); }
.cv-star-input input:focus-visible + label { outline: 2px solid var(--cv-wine); border-radius: 6px; }
.cv-box-photo { width: 100%; max-height: 320px; object-fit: cover; border-radius: 14px; }
.cv-box-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.cv-box-buy > div { display: flex; flex-direction: column; }
.cv-box-wine h3 { font-size: 15px; margin: 12px 0 4px; }
.cv-box-cta { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.cv-box-wine > a { text-decoration: none; color: inherit; }

/* F-0063 : choix du créneau de retrait */
.pk-slots { border: 0; padding: 0; margin: 8px 0 0; min-width: 0; }
.pk-slots legend { font-weight: 500; margin-bottom: 4px; padding: 0; }
.pk-address { margin: 0 0 10px; font-size: 13px; opacity: .85; }
.pk-day { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding: 6px 0; border-top: 1px solid rgba(0,0,0,.08); }
.pk-day-label { font-weight: 600; font-size: 14px; }
.pk-day-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-slot { position: relative; }
.pk-slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pk-slot span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(0,0,0,.2); font-weight: 600; cursor: pointer; background: #fff; }
.pk-slot input:checked + span { background: var(--pk-accent, #1e3d2f); border-color: var(--pk-accent, #1e3d2f); color: #fff; }
.pk-slot input:focus-visible + span { outline: 2px solid var(--pk-accent, #1e3d2f); outline-offset: 2px; }
.pk-empty, .pk-note { font-size: 13px; margin: 8px 0 0; }
.cv-page .pk-slots, .pk-slots { --pk-accent: var(--cv-wine, #5E1A2B); }

/* A-444 : lien Spiritueux de l'accueil, encart Ma Cave */
.cv-hero-link { color: var(--cv-cream, #F7F1E6); }
.cv-macave-cta { border-left: 4px solid var(--cv-gold); }
.cv-chip.is-on, .cv-chip[aria-current] { background: var(--cv-wine); border-color: var(--cv-wine); color: #fff; }

/* A-447 : une fiche par vin, sélecteurs de millésime et de format */
.cv-variants { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; }
.cv-variant-group { display: flex; flex-direction: column; gap: 6px; }
.cv-label { font-size: 13px; font-weight: 500; color: var(--cv-grey); }
.cv-chips-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.cv-chips-scroll .cv-chip { flex: none; }
.cv-chip small { font-weight: 400; opacity: .75; margin-left: 4px; }
.cv-from { font-size: 12px; font-weight: 400; color: var(--cv-grey); }

/* A-448 : packshot officiel sur fond blanc dans les listes et la fiche */
.cv-row-pic:has(img[src*="/products/web/"]), .cv-tile-pic:has(img[src*="/products/web/"]), .cv-wine-bottle:has(img[src*="/products/web/"]) { background: #fff !important; }

/* A-449 : bouteilles dessinées sur fond blanc, comme les packshots des grands sites */
.cv-row-pic, .cv-tile-pic, .cv-wine-bottle, .cv-gline-pic, .cv-cline-pic { background: #fff !important; border: 1px solid #EFE6D6; }
.cv-bottle-art { display: block; height: auto; max-width: 100%; }
.cv-wine-bottle .cv-bottle-art { width: 120px; }
@media (min-width: 900px) { .cv-wine-bottle .cv-bottle-art { width: 150px; } }

/* A-450 : fiche vin façon Vivino */
.cv-info-list { margin: 0; display: flex; flex-direction: column; }
.cv-info-list div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--cv-line, rgba(0,0,0,.08)); }
.cv-info-list dt { font-size: 14px; color: var(--cv-grey); }
.cv-info-list dd { margin: 0; font-size: 14px; font-weight: 600; }

/* A-454 : bloc « À déguster avec vos vins » (épicerie) sur l'accueil */
.cv-gtile-pic { background: #fff; padding: 0; align-items: center; }
.cv-gtile-pic img { width: 100%; height: 100%; object-fit: cover; }
.cv-gtile-pair { font-size: 12px; line-height: 1.3; color: var(--cv-olive, #556B2F); font-weight: 600; }
.cv-gtile .cv-plus { border: 0; cursor: pointer; font-size: 18px; }
.cv-grocery-home .cv-section-head a { white-space: nowrap; }

/* A-455 : goût, arômes et accords façon Vivino */
.cv-taste-grid { display: grid; gap: 28px; }
.cv-taste-bars { display: flex; flex-direction: column; gap: 22px; }
.cv-taste-row { display: grid; grid-template-columns: 76px 1fr 84px; align-items: center; gap: 14px; font-size: 15px; }
.cv-taste-row span:last-child { text-align: right; }
.cv-taste-track { position: relative; height: 8px; border-radius: 99px; background: #EFE6D8; }
.cv-taste-dot { position: absolute; top: 0; width: 20%; height: 8px; border-radius: 99px; background: #B3263A; }
.cv-taste-kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cv-text); margin-bottom: 10px; }
.cv-taste-summary p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.cv-carousel-nav { display: flex; gap: 8px; }
.cv-carousel-nav[hidden] { display: none; }
.cv-carousel-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--cv-text); background: var(--cv-paper); color: var(--cv-text); display: inline-flex; align-items: center; justify-content: center; }
.cv-carousel-btn:disabled { opacity: .3; cursor: default; }
.cv-aroma-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px; scrollbar-width: none; }
.cv-aroma-track::-webkit-scrollbar { display: none; }
.cv-aroma-card { flex: 0 0 min(78%, 300px); scroll-snap-align: start; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 14px rgba(43, 26, 29, .08); display: flex; flex-direction: column; }
.cv-aroma-band { height: 120px; display: flex; align-items: center; justify-content: center; }
.cv-aroma-ico { width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: flex; align-items: center; justify-content: center; }
.cv-aroma-body { padding: 20px 18px 22px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.cv-aroma-body strong { font-weight: 500; font-size: 18px; line-height: 1.3; }
.cv-aroma-body span { font-size: 14px; color: var(--cv-grey); }
.cv-aroma-body em { font-style: normal; font-weight: 600; }
.cv-pairing-block { display: grid; gap: 26px; }
.cv-pairing-intro h2 { font-family: var(--cv-sans); font-size: 28px; line-height: 1.2; color: var(--cv-text); }
.cv-pairing-intro p { margin: 14px 0 0; font-size: 16px; line-height: 1.6; }
.cv-pairing-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 24px 18px; }
.cv-pairing { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 16px; }
.cv-pair-illu { width: 112px; height: 112px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--cv-wine-dark); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .55); }
.cv-pair-illu .cv-pairing-ico { width: 56px; height: 56px; }
@media (min-width: 900px) {
  .cv-taste-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .cv-aroma-card { flex-basis: calc((100% - 36px) / 3); }
  .cv-pairing-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: center; }
}

/* A-455 : plus d'air sur tout le site La Cave */
body.cv-body { line-height: 1.55; }
h2 { margin-bottom: 4px; }
.cv-wrap { padding-left: 20px; padding-right: 20px; }
.cv-stack { gap: 36px; padding-top: 12px; padding-bottom: 48px; }
.cv-section { gap: 18px; }
.cv-card { padding: 22px; gap: 16px; border-radius: 22px; }
.cv-wine-body { padding-top: 28px; gap: 28px; }
.cv-wine-main { gap: 44px; }
.cv-info-list div { padding: 14px 0; }
@media (min-width: 900px) {
  .cv-wrap { padding-left: 32px; padding-right: 32px; }
  .cv-stack { gap: 56px; padding-top: 24px; padding-bottom: 72px; }
  .cv-wine-body { gap: 56px; padding-top: 48px; }
  .cv-wine-main { gap: 64px; }
  .cv-card { padding: 28px; }
}

/* F-0066 : position sous le prix du marché */
.cv-market-below { margin: 0; display: inline-flex; align-self: flex-start; background: #EEF1E2; color: #3E4A24; font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 999px; }

/* A-463 : prix du marché — pastille dans la liste, section avec graphique sur la fiche (seulement sous le marché) */
.cv-row-price { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cv-row-mk, .cv-market-pill { font-size: 11.5px; font-weight: 500; color: #4E5B22; background: #E9EDD8; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.cv-market-pill { font-size: 12.5px; padding: 3px 10px; }
.cv-mk-save { margin: 0; font-size: 16px; color: #3E4A24; }
.cv-mk-save strong { font-weight: 600; }
.cv-mk-bars { display: grid; gap: 10px; max-width: 440px; }
.cv-mk-row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; font-size: 14px; color: #6B705F; }
.cv-mk-bar { height: 12px; border-radius: 999px; background: #EFEAE0; overflow: hidden; }
.cv-mk-bar i { display: block; height: 100%; border-radius: inherit; background: #C9C2B4; }
.cv-mk-val { min-width: 72px; text-align: right; font-variant-numeric: tabular-nums; }
.cv-mk-row--ours { color: var(--cv-wine-dark, #5A1A2B); font-weight: 500; }
.cv-mk-row--ours .cv-mk-bar i { background: var(--cv-wine-dark, #5A1A2B); }
.cv-mk-range { margin: 0; font-size: 12.5px; color: #8A8F7E; }
.cv-market-foot { max-width: 440px; font-size: 12.5px; color: #8A8F7E; }
.cv-market-foot summary { display: flex; justify-content: space-between; cursor: pointer; list-style: none; }
.cv-market-foot summary::-webkit-details-marker { display: none; }
.cv-market-src { text-decoration: underline; }
.cv-market-foot ul { margin: 8px 0 0; padding-left: 18px; }
.cv-market-foot a { color: inherit; }

/* A-514 : bloc « Ma Cave », présenté comme une appli */
.cv-app-promo { display: grid; gap: 14px; padding: 18px; border-radius: 22px; text-decoration: none; color: var(--cv-cream); background: linear-gradient(135deg, var(--cv-wine-dark), var(--cv-wine)); box-shadow: 0 10px 30px rgba(62, 15, 27, .18); }
.cv-app-head { display: flex; align-items: center; gap: 14px; }
.cv-app-icon { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.cv-app-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cv-app-title strong { font-family: var(--cv-serif); font-size: 1.6rem; line-height: 1; }
.cv-app-title > span:not(.cv-app-badge) { font-size: .85rem; opacity: .8; }
.cv-app-badge { align-self: flex-start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: var(--cv-gold-on-dark); color: var(--cv-wine-dark); font-size: .75rem; font-weight: 500; }
.cv-app-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cv-app-feats > span { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; border-radius: 14px; background: rgba(247, 241, 230, .1); font-size: .82rem; line-height: 1.25; }
.cv-app-feats svg { color: var(--cv-gold-on-dark); }
.cv-app-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cv-app-note { font-size: .8rem; opacity: .75; }
.cv-app-promo:hover .cv-btn-gold, .cv-app-promo:focus-visible .cv-btn-gold { filter: brightness(1.05); }
@media (max-width: 360px) { .cv-app-feats { grid-template-columns: 1fr; } }
/* A-519 : sur téléphone, le doigt qui fait défiler déclenche :hover (a:hover = bordeaux foncé) : le texte du bloc reste crème dans tous les états */
.cv-app-promo, .cv-app-promo:hover, .cv-app-promo:active, .cv-app-promo:focus, .cv-app-promo:visited { color: var(--cv-cream); -webkit-tap-highlight-color: transparent; }
.cv-app-promo .cv-btn-gold, .cv-app-promo:hover .cv-btn-gold { color: var(--cv-wine-dark); }
/* A-520 : couleurs posées sur chaque élément du bloc (et non héritées du lien) : aucun état du lien (survol, appui, clic) ne peut les changer */
.cv-app-promo .cv-app-title strong, .cv-app-promo .cv-app-title > span:not(.cv-app-badge), .cv-app-promo .cv-app-feats > span, .cv-app-promo .cv-app-note { color: var(--cv-cream); }
.cv-app-promo .cv-app-badge { color: var(--cv-wine-dark); }
.cv-app-promo .cv-btn-gold, .cv-app-promo:hover .cv-btn-gold, .cv-app-promo:active .cv-btn-gold, .cv-app-promo:focus .cv-btn-gold { background: var(--cv-gold-on-dark); color: var(--cv-wine-dark); }
.cv-app-promo:active { transform: scale(.99); }

/* A-605 : bouton Liste / Grille et affichage en grille des bouteilles (2 par ligne sur téléphone, 4 sur tablette, 5 sur grand écran). */
.cv-listbar-view { justify-content: flex-end; }
.cv-viewtoggle { display: inline-flex; flex: none; gap: 2px; padding: 3px; border: 1px solid var(--cv-line); border-radius: 999px; background: var(--cv-paper); }
.cv-viewtoggle button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--cv-grey); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.cv-viewtoggle button[aria-pressed="true"] { background: var(--cv-wine-dark); color: #fff; }
@media (max-width: 420px) { .cv-viewtoggle button span { display: none; } .cv-viewtoggle button { padding: 0 10px; } }
.cv-listbar { flex-wrap: wrap; }
html.cv-view-grid .cv-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { html.cv-view-grid .cv-rows { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1200px) { html.cv-view-grid .cv-rows { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
html.cv-view-grid .cv-row { flex-direction: column; gap: 8px; padding: 10px; border-radius: 18px; }
html.cv-view-grid .cv-row-pic { width: 100%; min-height: 0; height: 170px; align-items: center; padding: 8px 0; }
html.cv-view-grid .cv-row-pic .cv-bottle-photo { max-height: 154px !important; }
html.cv-view-grid .cv-row-pic svg { width: 46px; height: auto; max-height: 154px; }
html.cv-view-grid .cv-row-name { font-size: 17px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html.cv-view-grid .cv-row-body { gap: 3px; }
html.cv-view-grid .cv-row-body > .cv-small2 { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.cv-view-grid .cv-row-foot { flex-direction: column; align-items: flex-start; gap: 2px; }
html.cv-view-grid .cv-row-foot > .cv-small { display: none; }
html.cv-view-grid .cv-row .cv-tag { font-size: 10px; padding: 3px 7px; }
.cv-listbar > span:first-child { margin-right: auto; } /* compteur à gauche, tri et Liste / Grille à droite */

/* F-0077 : rachat de grands crus (« Vendre ma cave ») */
.bb-hero { background: var(--cv-wine-dark); color: var(--cv-cream); }
.bb-hero-in { padding: 56px 16px 64px; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.bb-hero-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.bb-kicker { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--cv-gold-on-dark); }
.bb-hero h1 { margin: 0; font-family: var(--cv-serif); font-weight: 500; font-size: clamp(38px, 6vw, 64px); line-height: 1.03; color: var(--cv-paper); }
.bb-hero p { margin: 0; font-size: 18px; line-height: 1.6; color: #E8D9C8; max-width: 620px; }
.bb-hero-card { flex: 1 1 300px; min-width: 0; background: var(--cv-wine); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.bb-hero-card strong { font-family: var(--cv-serif); font-size: 26px; line-height: 1.15; color: var(--cv-paper); }
.bb-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.bb-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--cv-gold-on-dark); color: var(--cv-wine-dark); font-size: 17px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.bb-cta-line { background: transparent; border: 1.5px solid var(--cv-gold-on-dark); color: var(--cv-paper); font-weight: 600; }
.bb-cta[disabled] { opacity: .5; cursor: not-allowed; }
.bb-section { padding: 48px 16px 8px; display: flex; flex-direction: column; gap: 22px; }
.bb-section h2 { margin: 0; font-family: var(--cv-serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); color: var(--cv-wine-dark); }
.bb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.bb-box { background: var(--cv-paper); border: 1px solid var(--cv-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.bb-box h3 { margin: 0; font-size: 19px; }
.bb-box p { margin: 0; color: var(--cv-grey); line-height: 1.55; }
.bb-num { font-family: var(--cv-serif); font-weight: 500; font-size: 40px; color: var(--cv-gold); line-height: 1; }
.bb-box-wine { background: var(--cv-wine); border-color: var(--cv-wine); color: var(--cv-cream); }
.bb-box-wine h3, .bb-box-gold h3 { font-family: var(--cv-serif); font-size: 28px; color: inherit; }
.bb-box-wine p { color: #E8D9C8; }
.bb-box-gold { background: var(--cv-neg-bg); border-color: var(--cv-neg-bg); color: var(--cv-wine-dark); }
.bb-box-gold p { color: var(--cv-neg-text); }
.bb-band { background: var(--cv-wine); border-radius: 24px; padding: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; color: var(--cv-paper); }
.bb-band h2 { color: var(--cv-paper); }
.bb-steps { margin: 0; padding: 0; list-style: none; display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.bb-steps li { padding: 8px 14px; border-radius: 999px; background: #EFE3E5; color: var(--cv-wine); }
.bb-steps li.is-on { background: var(--cv-wine); color: var(--cv-paper); }
.bb-steps li.is-done { background: var(--cv-olive-soft); color: var(--cv-olive); }
.bb-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding: 28px 16px 56px; }
.bb-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.bb-aside { flex: 1 1 300px; min-width: 0; background: var(--cv-wine-dark); color: var(--cv-cream); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 84px; }
.bb-aside .bb-total { font-family: var(--cv-serif); font-weight: 500; font-size: 38px; line-height: 1.05; color: var(--cv-paper); }
.bb-aside small, .bb-aside .bb-note { color: #E8D9C8; font-size: 14px; line-height: 1.5; }
.bb-panel { background: var(--cv-paper); border: 1px solid var(--cv-line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.bb-panel h2 { margin: 0; font-family: var(--cv-serif); font-size: 28px; color: var(--cv-wine-dark); }
.bb-input { height: 50px; border: 1.5px solid var(--cv-line); border-radius: 12px; padding: 0 14px; font: 500 16px var(--cv-sans); color: var(--cv-text); background: #fff; width: 100%; }
.bb-input:focus { border-color: var(--cv-gold); outline: 2px solid var(--cv-gold); outline-offset: 1px; }
.bb-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--cv-grey); }
.bb-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.bb-result { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--cv-line); border-radius: 12px; background: #fff; flex-wrap: wrap; }
.bb-result select { min-height: 44px; border: 1px solid var(--cv-line); border-radius: 10px; padding: 0 10px; font: 600 14px var(--cv-sans); }
.bb-small-btn { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--cv-wine); color: #fff; font: 700 14px var(--cv-sans); cursor: pointer; }
.bb-line { background: var(--cv-paper); border: 1px solid var(--cv-line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bb-line-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.bb-line-name { font-family: var(--cv-serif); font-weight: 500; font-size: 24px; color: var(--cv-wine-dark); }
.bb-qty { display: flex; align-items: center; gap: 8px; }
.bb-qty button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--cv-line); background: #fff; font-size: 20px; color: var(--cv-wine); cursor: pointer; }
.bb-opts { display: flex; flex-wrap: wrap; gap: 14px; }
.bb-opt { display: flex; flex-direction: column; gap: 6px; }
.bb-opt > span { font-size: 13px; font-weight: 500; color: var(--cv-grey); }
.bb-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.bb-chip { min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--cv-line); background: #fff; color: var(--cv-text); font: 700 13px var(--cv-sans); cursor: pointer; }
.bb-chip[aria-pressed="true"] { background: var(--cv-wine); border-color: var(--cv-wine); color: #fff; }
.bb-line-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--cv-line); padding-top: 10px; flex-wrap: wrap; gap: 8px; }
.bb-link { border: 0; background: transparent; color: var(--cv-grey); text-decoration: underline; padding: 8px 0; cursor: pointer; font: inherit; font-size: 14px; }
.bb-empty { margin: 0; padding: 22px; border: 1.5px dashed var(--cv-gold); border-radius: 18px; text-align: center; color: var(--cv-grey); }
.bb-study { color: var(--cv-gold-text); font-weight: 500; }
.bb-error { background: #fbe9e7; color: #7a1f12; border-radius: 12px; padding: 12px 14px; }
.bb-ok { background: var(--cv-olive-soft); color: var(--cv-olive); border-radius: 12px; padding: 12px 14px; }
.bb-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.bb-photo { width: 84px; min-height: 84px; border-radius: 10px; border: 1.5px dashed var(--cv-wine); background: #fff; color: var(--cv-wine); font: 700 12px var(--cv-sans); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; cursor: pointer; position: relative; overflow: hidden; }
.bb-photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bb-photo.is-set { border-style: solid; border-color: var(--cv-olive); color: var(--cv-olive); background: var(--cv-olive-soft); }
.bb-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.bb-choice label { text-align: left; padding: 16px; border-radius: 14px; border: 1.5px solid var(--cv-line); background: #fff; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.bb-choice label:has(input:checked) { border: 2px solid var(--cv-wine); background: #EFE3E5; }
.bb-choice input { margin-top: 4px; accent-color: var(--cv-wine); }
.bb-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.bb-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--cv-wine); flex: none; }
.bb-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.bb-track li { font-size: 12px; font-weight: 500; color: var(--cv-grey); border-top: 4px solid var(--cv-line); padding-top: 6px; }
.bb-track li.is-done { border-color: var(--cv-olive); color: var(--cv-olive); }
.bb-track li.is-on { border-color: var(--cv-wine); color: var(--cv-wine); }
.bb-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bb-table th, .bb-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--cv-line); vertical-align: top; }
.bb-table td.num, .bb-table th.num { text-align: right; white-space: nowrap; }
.bb-tablewrap { overflow-x: auto; }
@media (max-width: 640px) { .bb-aside { position: static; } .bb-track li { font-size: 10px; } }

/* A-620 : fiche vin refaite (photo du domaine en bandeau, bouteille qui déborde, note à droite, infos à icônes, curseurs en pastilles,
   avis avec histogramme, rails « autres vins », barre basse prix + livraison estimée). */
.cv-wine2 .cv-w2-hero { position: relative; height: 210px; background: radial-gradient(120% 90% at 30% 20%, #fff 0%, var(--cv-w2-bg, #F1E7E2) 70%); background-size: cover; background-position: center; }
.cv-wine2 .cv-w2-hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,0) 45%); }
.cv-wine2 .cv-w2-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; background: var(--cv-cream); clip-path: path('M0 64 L0 40 C 140 40 180 0 280 0 L 100000 0 L 100000 64 Z'); z-index: 1; }
.cv-w2-bar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; }
.cv-w2-float { box-shadow: 0 4px 16px rgba(43, 26, 29, .14); }
.cv-w2-pair { display: inline-flex; gap: 2px; background: var(--cv-paper); border-radius: 999px; padding: 0 4px; }
.cv-w2-pair .cv-iconbtn { box-shadow: none; }
.cv-w2-top { position: relative; z-index: 2; display: grid; grid-template-columns: 46% 1fr; gap: 14px; margin-top: -170px; align-items: end; }
.cv-w2-bottle { display: flex; justify-content: center; align-items: flex-end; min-height: 300px; filter: drop-shadow(0 18px 18px rgba(43, 26, 29, .22)); }
.cv-w2-bottle .cv-bottle-photo { max-height: 330px; width: auto; border-radius: 6px; }
.cv-w2-bottle .cv-bottle-art { width: 120px; }
.cv-w2-score { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-bottom: 10px; text-align: center; }
.cv-w2-rating { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--cv-text); }
.cv-w2-rating strong { font-family: var(--cv-sans); font-size: 46px; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.cv-w2-rating > span:last-child { font-size: 15px; }
.cv-w2-rating.is-empty > span:last-child { color: var(--cv-grey); font-size: 13px; }
.cv-w2-stars { color: #C8502A; font-size: 22px; letter-spacing: 1px; line-height: 1; }
.cv-w2-stars .cv-star-off { color: #E4DAD0; }
.cv-w2-stars .cv-half { background: linear-gradient(90deg, #C8502A 50%, #E4DAD0 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cv-w2-score .cv-tags { justify-content: center; }
.cv-wine2 .cv-wine-body { padding-top: 14px; }
.cv-wine2 .cv-wine-main { gap: 34px; }
.cv-w2-head { gap: 6px; }
.cv-w2-producer { font-size: 18px; color: var(--cv-grey); text-decoration: none; }
a.cv-w2-producer:hover { color: var(--cv-wine); }
.cv-w2-head h1 { font-family: var(--cv-sans); font-size: 26px; font-weight: 600; color: var(--cv-text); line-height: 1.15; letter-spacing: -.01em; }
.cv-w2-vintage { align-self: flex-start; background: #EFE7DA; border-radius: 999px; padding: 6px 14px; font-weight: 500; color: var(--cv-grey); }
.cv-wine2 .cv-variants { margin: -20px 0 0; }
.cv-w2-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: -14px; }
.cv-w2-actions-r { display: flex; gap: 10px; margin-left: auto; }
.cv-w2-pill { min-height: 48px; padding: 0 22px; border: 1.5px solid var(--cv-text); border-radius: 999px; display: inline-flex; align-items: center; font-weight: 500; font-size: 17px; color: var(--cv-text); text-decoration: none; background: var(--cv-paper); }
.cv-w2-round { width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid #D9CFC2; background: var(--cv-paper); color: var(--cv-text); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.cv-w2-round[aria-pressed="true"] { color: #fff; background: var(--cv-wine); border-color: var(--cv-wine); }
.cv-w2-round-wine { background: var(--cv-wine-mid); border-color: var(--cv-wine-mid); color: #fff; }
.cv-w2-info { background: var(--cv-paper); border: 1px solid var(--cv-line); border-radius: 22px; padding: 6px 18px; }
.cv-w2-info-row { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--cv-line); font-size: 16px; font-weight: 500; }
.cv-w2-info-ico { width: 28px; flex: none; display: flex; justify-content: center; color: var(--cv-text); }
.cv-flag { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.cv-flag i { flex: 1; } .cv-flag i:nth-child(1) { background: #2B4EA2; } .cv-flag i:nth-child(2) { background: #fff; } .cv-flag i:nth-child(3) { background: #D33A3A; }
.cv-w2-more summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-size: 16px; font-weight: 500; cursor: pointer; }
.cv-w2-more summary::-webkit-details-marker { display: none; }
.cv-w2-more[open] summary svg { transform: rotate(90deg); }
.cv-w2-more .cv-info-list { padding-bottom: 8px; }
.cv-w2-info > .cv-w2-info-row:last-child { border-bottom: 0; }
.cv-wine2 h2 { font-family: var(--cv-sans); font-size: 23px; font-weight: 600; color: var(--cv-text); letter-spacing: -.01em; }
.cv-wine2 .cv-story h2 { color: var(--cv-cream); font-family: var(--cv-serif); font-size: 28px; }
.cv-w2-aromas .cv-aroma-track { padding-bottom: 6px; }
.cv-w2-aroma { --aroma: #8A5A3B; flex: 0 0 min(76%, 290px); min-height: 250px; scroll-snap-align: start; position: relative; overflow: hidden; border-radius: 18px; background: #F2ECE3; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 20px 0; }
.cv-w2-aroma-txt { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; }
.cv-w2-aroma-txt strong { font-size: 30px; font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
.cv-w2-aroma-more { font-size: 22px; font-weight: 600; line-height: 1.1; }
.cv-w2-aroma-fam { font-size: 16px; margin-top: 6px; }
.cv-w2-aroma-fam b { color: var(--aroma); }
.cv-w2-aroma-ico { align-self: flex-end; width: 150px; height: 120px; margin-right: -20px; border-radius: 80px 0 0 0; background: var(--aroma); display: flex; align-items: center; justify-content: center; color: #fff; }
.cv-w2-aroma-ico svg { width: 64px; height: 64px; }
.cv-w2-taste { gap: 14px; }
.cv-w2-sliders { display: flex; flex-direction: column; gap: 12px; }
.cv-w2-slider { display: flex; align-items: center; gap: 0; border: 1.5px solid #D9CFC2; border-radius: 999px; min-height: 50px; padding: 0 20px; font-size: 17px; color: #8E8285; background: var(--cv-paper); position: relative; }
.cv-w2-slider > span:first-child, .cv-w2-slider > span:last-child { flex: none; position: relative; z-index: 1; }
.cv-w2-slider > span.is-on { color: var(--cv-text); font-weight: 500; }
.cv-w2-slider-track { flex: 1; position: relative; height: 26px; margin: 0 12px; }
.cv-w2-slider-knob { position: absolute; top: 0; width: 25%; min-width: 46px; height: 26px; border-radius: 999px; background: #A82A35; }
.cv-w2-taste-sum { margin: 0; font-size: 16px; line-height: 1.55; }
.cv-w2-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cv-w2-chip { background: #EFE7DA; border-radius: 999px; padding: 11px 18px; font-size: 16px; }
.cv-w2-pairing { gap: 14px; }
.cv-w2-reviews { gap: 14px; }
.cv-w2-revsum { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.cv-w2-revavg { display: flex; flex-direction: column; gap: 4px; }
.cv-w2-revavg strong { font-size: 46px; font-weight: 600; line-height: 1; }
.cv-w2-revavg .cv-stars { color: #C8502A; font-size: 22px; }
.cv-w2-hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cv-w2-hist li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: center; font-size: 15px; color: var(--cv-grey); font-weight: 600; }
.cv-w2-hist-bar { height: 7px; border-radius: 99px; background: #EFE7DA; overflow: hidden; }
.cv-w2-hist-bar i { display: block; height: 100%; border-radius: 99px; background: #C8502A; }
.cv-w2-hist li:first-child .cv-w2-hist-bar i { background: #8E1F2C; }
.cv-w2-outline { min-height: 52px; border: 1.5px solid var(--cv-text); border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 17px; color: var(--cv-text); text-decoration: none; }
.cv-w2-rail { gap: 14px; }
.cv-w2-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; scrollbar-width: none; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.cv-w2-track::-webkit-scrollbar { display: none; }
.cv-wcard { flex: 0 0 180px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.cv-wcard-pic { height: 210px; border-radius: 20px; background: radial-gradient(90% 80% at 50% 40%, #fff 0%, #ECE4DD 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cv-wcard-pic .cv-bottle-photo { max-height: 185px; width: auto; }
.cv-wcard-name { text-decoration: none; color: var(--cv-text); display: flex; flex-direction: column; gap: 2px; padding: 0 4px; }
.cv-wcard-name span { font-size: 15px; color: var(--cv-grey); }
.cv-wcard-name strong { font-size: 16px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cv-wcard-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; margin-top: auto; }
.cv-wcard-price { font-size: 18px; font-weight: 500; }
.cv-wcard-price small { font-size: 12px; font-weight: 600; color: var(--cv-grey); }
.cv-wcard-add { width: 64px; height: 42px; border-radius: 999px; border: 0; background: var(--cv-wine-mid); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.cv-wcard-add:hover { background: var(--cv-wine-dark); color: #fff; }
.cv-w2-buy { flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 calc(12px + var(--cv-safe-b)); background: var(--cv-paper); }
.cv-w2-eta { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #F4EEE5; font-size: 14px; color: var(--cv-text); border-radius: 18px 18px 0 0; }
.cv-w2-eta svg { flex: none; }
.cv-w2-buyrow { display: flex; align-items: center; gap: 12px; padding: 12px 16px 0; }
.cv-w2-buy .cv-buybar-price strong { font-size: 26px; color: var(--cv-text); }
.cv-w2-add { background: var(--cv-wine-mid); color: #fff; min-height: 54px; padding: 0 28px; font-size: 18px; border-radius: 999px; gap: 8px; }
.cv-w2-add:hover { background: var(--cv-wine-dark); color: #fff; }
body.cv-page-wine .cv-footer { padding-bottom: 150px; }
body.cv-page-wine .cv-toast { bottom: calc(140px + var(--cv-safe-b)); }
.cv-wine2 .cv-wine-body { padding-bottom: 160px; }
@media (min-width: 900px) {
  .cv-wine2 .cv-w2-hero { height: 300px; }
  .cv-wine2 .cv-w2-hero::before { display: none; }
  .cv-w2-top { grid-template-columns: 340px 1fr; margin-top: -230px; max-width: 1200px; }
  .cv-w2-bottle { min-height: 420px; }
  .cv-w2-bottle .cv-bottle-photo { max-height: 440px; }
  .cv-w2-score { align-items: flex-start; text-align: left; padding: 0 0 30px; }
  .cv-w2-rating { align-items: flex-start; }
  .cv-w2-score .cv-tags { justify-content: flex-start; }
  .cv-w2-head h1 { font-size: 34px; }
  .cv-w2-aroma { flex-basis: calc((100% - 36px) / 3); }
  .cv-w2-track { margin: 0; padding-left: 2px; padding-right: 2px; }
  .cv-w2-buy { padding: 0; overflow: hidden; }
  .cv-w2-eta { border-radius: 0; }
  .cv-w2-buyrow { flex-wrap: wrap; padding: 16px 18px 18px; }
  .cv-w2-buyrow .cv-buybar-price { flex-basis: 100%; }
  .cv-w2-add { flex: 1; }
  .cv-wine2 .cv-wine-body { padding-bottom: 40px; }
  body.cv-page-wine .cv-footer { padding-bottom: 28px; }
}
.cv-w2-id { display: flex; flex-direction: column; gap: 14px; }
.cv-wine2 .cv-w2-id .cv-variants, .cv-wine2 .cv-w2-id .cv-w2-actions { margin: 0; }

/* A-620 (suite) : esprit appli native — sélecteur de millésime en feuille, typo plus légère, barres translucides. */
.cv-chip-more { cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; color: var(--cv-wine); background: transparent; border: 1px dashed #CDBFAF; }
.cv-sheet2 { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100%; background: transparent; color: var(--cv-text); }
.cv-sheet2::backdrop { background: rgba(20, 8, 12, .42); }
.cv-sheet2[open] { position: fixed; inset: auto 0 0 0; display: flex; justify-content: center; }
.cv-sheet2-in { width: 100%; max-height: 78vh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--cv-paper); border-radius: 22px 22px 0 0; padding: 8px 20px calc(24px + var(--cv-safe-b)); box-shadow: 0 -10px 40px rgba(0,0,0,.18); animation: cvSheetUp .26s cubic-bezier(.2,.8,.2,1); }
.cv-sheet2-grab { display: block; width: 38px; height: 5px; border-radius: 99px; background: #D9CEC2; margin: 4px auto 10px; }
.cv-sheet2-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cv-sheet2-head strong { font-size: 19px; font-weight: 600; }
.cv-sheet2-close { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #EFE7DA; color: var(--cv-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cv-vgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cv-vcell { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: 14px; background: #F6F1E9; text-decoration: none; color: var(--cv-text); min-height: 64px; justify-content: center; -webkit-tap-highlight-color: transparent; transition: transform .12s; }
.cv-vcell:active { transform: scale(.96); }
.cv-vcell strong { font-size: 18px; font-weight: 600; }
.cv-vcell span { font-size: 13px; color: var(--cv-grey); }
.cv-vcell.is-on { background: var(--cv-wine-mid); color: #fff; } .cv-vcell.is-on span { color: #F1DDE1; }
.cv-vcell.is-out strong { color: var(--cv-grey); }
@keyframes cvSheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes cvPop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 700px) {
  .cv-sheet2[open] { inset: 0; align-items: center; }
  .cv-sheet2-in { width: min(520px, 92vw); border-radius: 22px; padding: 18px 24px 24px; animation: cvPop .18s ease-out; }
  .cv-sheet2-grab { display: none; }
  .cv-vgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .cv-sheet2-in { animation: none; } }
/* Typo plus proche des applis natives : titres semi-gras, corps 17 px, retours tactiles. */
.cv-wine2 { -webkit-tap-highlight-color: transparent; }
.cv-wine2 h2 { font-weight: 600; font-size: 22px; }
.cv-w2-head h1 { font-weight: 500; font-size: 27px; letter-spacing: -.015em; }
.cv-w2-rating strong, .cv-w2-revavg strong { font-weight: 600; }
.cv-w2-aroma-txt strong { font-weight: 600; font-size: 27px; }
.cv-w2-aroma-more { font-weight: 500; font-size: 19px; }
.cv-w2-pill, .cv-w2-outline, .cv-w2-add { font-weight: 600; }
.cv-w2-slider > span.is-on { font-weight: 600; }
.cv-wcard-price { font-weight: 600; }
.cv-w2-info-row { font-size: 16.5px; font-weight: 400; }
.cv-w2-round:active, .cv-w2-pill:active, .cv-w2-add:active, .cv-wcard-add:active, .cv-chip:active { transform: scale(.96); }
.cv-w2-float, .cv-w2-pair { background: rgba(255, 253, 248, .82); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
.cv-w2-pair .cv-iconbtn, .cv-w2-float.cv-iconbtn { background: transparent; }
.cv-w2-buy { background: rgba(255, 253, 248, .9); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); }
.cv-wine2 .cv-w2-hero { background-color: #EDE3D6; }

/* A-620 (suite) : typo légère partout sur La Cave (demande de Jonathan, 19/11) — gras réservé aux titres, prix et boutons (600 au plus). */
body.cv-body strong, body.cv-body b, body.cv-body th { font-weight: 600; }
body.cv-body .cv-btn, body.cv-body .cv-price, body.cv-body .cv-buybar-price strong { font-weight: 600; }
.cv-w2-head h1 { font-weight: 600; }
/* A-620 (suite) : photo du domaine plus grande (comme le modèle), bouteille détourée sans cadre blanc. */
.cv-wine2 .cv-w2-hero { height: 360px; background-position: center 40%; }
.cv-wine2 .cv-w2-hero::before { height: 90px; clip-path: path('M0 90 L0 70 C 160 70 210 0 330 0 L 100000 0 L 100000 90 Z'); }
.cv-w2-top { margin-top: -260px; }
.cv-w2-bottle { min-height: 340px; filter: drop-shadow(0 22px 16px rgba(30, 14, 18, .28)); }
.cv-w2-bottle .cv-bottle-photo { max-height: 350px; border-radius: 0; background: transparent; }
.cv-w2-score { padding-bottom: 6px; }
.cv-wcard-pic .cv-bottle-photo { filter: drop-shadow(0 10px 8px rgba(30, 14, 18, .2)); }
@media (min-width: 900px) {
  .cv-wine2 .cv-w2-hero { height: 460px; }
  .cv-w2-top { margin-top: -330px; }
  .cv-w2-bottle { min-height: 440px; }
  .cv-w2-bottle .cv-bottle-photo { max-height: 460px; }
}
.cv-w2-bottle .cv-bottle-photo { max-height: 350px !important; height: 350px; width: auto; object-fit: contain; }
@media (min-width: 900px) { .cv-w2-bottle .cv-bottle-photo { max-height: 460px !important; height: 460px; } }
/* A-620 : goût, arômes et notes de dégustation remis comme avant la refonte (titres Cormorant). */
.cv-wine2 .cv-taste h2, .cv-wine2 .cv-aromas h2 { font-family: var(--cv-serif); font-size: 26px; font-weight: 600; color: var(--cv-wine-dark); letter-spacing: 0; }
.cv-wine2 .cv-card h2 { font-family: var(--cv-serif); font-size: 24px; font-weight: 600; color: var(--cv-wine-dark); letter-spacing: 0; }

/* A-681 : un prix et son « € » ne passent jamais à la ligne. */
.cv-price, .cv-wcard-price, .cv-row-price, .cv-buybar-price, .wb-price { white-space: nowrap; }

/* A-685 : mention discrète sous la bouteille de la fiche vin */
.cv-w2-bottle { position: relative; }
.cv-photo-note { position: absolute; right: 8px; bottom: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .7); color: rgba(38, 30, 26, .6); font-size: 10.5px; line-height: 1.5; pointer-events: none; }

/* A-708 : en-tête ordinateur identique à l'épicerie (barre en pilule blanche, typographie à gauche, médaillon rond au centre).
   En dessous de 1024 px, l'ancienne barre (logo + icônes) reste affichée. */
.cv-hd { display: none; }
@media (min-width: 1024px) {
  .cv-topbar { display: none !important; }
  .cv-hd { display: block; width: min(100% - 32px, 1248px); margin: 12px auto 0; padding: 40px 16px 48px; background: #EFE2DA; border-radius: 32px; position: relative; z-index: 45; }
  .cv-hd-bar { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr); align-items: center; height: 64px; padding: 8px; background: #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(62, 15, 27, .14); }
  .cv-hd-side { display: flex; align-items: center; gap: 4px; min-width: 0; }
  .cv-hd-side--left { grid-column: 1; }
  .cv-hd-side--right { grid-column: 3; justify-content: flex-end; }
  .cv-hd-typo { display: inline-flex; align-items: center; flex: none; margin: 0 4px 0 12px; }
  .cv-hd-typo img { display: block; height: 34px; width: auto; }
  .cv-hd-nav { display: flex; align-items: center; gap: 2px; }
  .cv-hd-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; border-radius: 999px; color: var(--cv-text); font-size: .8125rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .cv-hd-nav a:hover, .cv-hd-nav a[aria-current] { background: #F4E9E4; color: var(--cv-wine); }
  .cv-hd-nav a.cv-hd-macave { color: var(--cv-olive); }
  .cv-hd-medallion { position: absolute; left: 50%; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; border-radius: 50%; background: #fff; box-shadow: 0 10px 26px rgba(62, 15, 27, .2); transform: translate(-50%, -50%); }
  .cv-hd-medallion img { display: block; width: 86px; height: auto; }
  .cv-hd-round { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; margin-left: 2px; padding: 0; border: 0; border-radius: 50%; background: var(--cv-cream); color: var(--cv-text); cursor: pointer; text-decoration: none; }
  .cv-hd-round:hover, .cv-hd-round[aria-expanded="true"] { background: #F4E9E4; color: var(--cv-wine); }
  .cv-hd-cart { position: relative; display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 44px; margin-left: 4px; padding: 0 14px; border-radius: 999px; background: var(--cv-wine-dark); color: #fff; font-size: .875rem; font-weight: 600; text-decoration: none; }
  .cv-hd-cart:hover { color: #fff; background: var(--cv-wine); }
  .cv-hd-cart-label { display: none; }
  .cv-hd-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--cv-gold); color: var(--cv-wine-dark); font-size: .75rem; font-weight: 700; }
  .cv-hd-count[hidden] { display: none; }
  .cv-hd-search { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 14px auto 0; padding: 0 18px; background: #fff; border-radius: 999px; box-shadow: 0 6px 18px rgba(62, 15, 27, .1); color: var(--cv-grey); }
  .cv-hd-search[hidden] { display: none; }
  .cv-hd-search input { flex: 1; min-height: 50px; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--cv-text); outline: none; }
}
@media (min-width: 1280px) {
  .cv-hd { padding-left: 24px; padding-right: 24px; }
  .cv-hd-typo img { height: 44px; }
  .cv-hd-nav a { padding: 0 14px; font-size: .9375rem; }
  .cv-hd-round { width: 48px; height: 48px; }
  .cv-hd-side { gap: 6px; }
}
@media (min-width: 1440px) { .cv-hd-cart-label { display: inline; } }

/* A-709 / A-710 : accueil sur ordinateur — mêmes cotes que l'épicerie (héros pleine largeur jusqu'à 1360 px, 720 px de haut,
   en-tête en pilule à 24 px des bords du héros), héros rouge clair qui se fond avec l'en-tête ; la carte reste sur un panneau bordeaux. */
@media (min-width: 1024px) {
  :root { --cv-hero-w: min(calc(100vw - 32px), 1360px); }
  .cv-hd--hero { position: absolute; top: 36px; left: 50%; width: calc(var(--cv-hero-w) - 48px); margin: 0; padding: 0; background: none; border-radius: 0; transform: translateX(-50%); }
  body.cv-hero-head .cv-stack { padding-top: 12px; }
  body.cv-hero-head .cv-search--home { display: none; }
  body.cv-hero-head .hr--cave { width: var(--cv-hero-w); margin-left: calc((100% - var(--cv-hero-w)) / 2); height: 720px; padding: 111px 39px 23px; border-radius: 32px; border: 1px solid #EAD7D4; background: #F9EEEB; color: #2B1A1D;
    grid-template-columns: minmax(0, 556px) minmax(0, 700px); gap: 24px; }
  body.cv-hero-head .hr--cave .hr-text { padding-left: 1px; }
  body.cv-hero-head .hr--cave .hr-kicker { color: #A2402F; }
  body.cv-hero-head .hr--cave .hr-title { color: #3E0F1B; font-size: 64px; line-height: 1.02; }
  body.cv-hero-head .hr--cave .hr-lead { color: #5C464B; }
  body.cv-hero-head .hr--cave .hr-stat { background: #fff; }
  body.cv-hero-head .hr--cave .hr-stat b { color: #5E1A2B; }
  body.cv-hero-head .hr--cave .hr-stat > span { color: #6E5A5E; }
  body.cv-hero-head .hr--cave .hr-chip { border-color: rgba(94, 26, 43, .25); color: #5E1A2B; }
  body.cv-hero-head .hr--cave .hr-chip[aria-pressed="true"] { border-color: #5E1A2B; background: #5E1A2B; color: #F7F1E6; }
  body.cv-hero-head .hr--cave .hr-replay { color: #7A5A22; }
  body.cv-hero-head .hr--cave .hr-panel { margin: 0; border-radius: 24px; background: #F2E0DC; }
  body.cv-hero-head .hr--cave .hr-regions path { fill: #E6CCC6; stroke: #FBF4F2; }
  body.cv-hero-head .hr--cave .hr-route { stroke: #5E1A2B; }
  body.cv-hero-head .hr--cave .hr-car circle { fill: #A2402F; stroke: #fff; stroke-width: 3.5; }
  body.cv-hero-head .hr--cave .hr-pin { fill: #C9A65E; stroke: #fff; stroke-width: 2.4; }
  body.cv-hero-head .hr--cave .hr-stop.is-sel .hr-pin { fill: #5E1A2B; }
  body.cv-hero-head .hr--cave .hr-pulse { fill: #A2402F; }
  body.cv-hero-head .hr--cave .hr-home { fill: #3E0F1B; stroke: #fff; stroke-width: 3; }
  body.cv-hero-head .hr--cave .hr-sel { stroke: #3E0F1B; stroke-width: 3; }
  body.cv-hero-head .hr--cave .hr-card { background: #fff; box-shadow: 0 16px 40px rgba(62, 15, 27, .16); }
}
/* A-711 : la bande de l'en-tête ne touche plus la photo pleine largeur des fiches vin (ni le contenu des autres pages). */
/* A-713 : même largeur et même position de l'en-tête sur toutes les pages (pilule à 24 px des bords, à 36 px du haut, comme l'accueil). */
@media (min-width: 1024px) { .cv-hd:not(.cv-hd--hero) { width: var(--cv-hero-w); padding: 24px; margin: 12px auto 16px; } }

/* A-713 : fiche vin sur ordinateur — bandeau du domaine réduit, puis deux blocs : bouteille + informations | achat.
   Le reste de la fiche (goût, arômes, accords, avis, autres vins, vigneron) garde son contenu, sur toute la largeur. */
.cv-w2-score-desk { display: none; }
@media (min-width: 1024px) {
  .cv-wine2 .cv-w2-hero { width: var(--cv-hero-w); height: 260px; margin: 0 auto; border-radius: 28px; overflow: hidden; }
  .cv-wine2 .cv-w2-hero .cv-w2-bar { max-width: none; padding: 24px 24px 0; }
  .cv-wine2 .cv-w2-id .cv-w2-actions-r { display: none; } /* A-716 : plus d'icônes favoris/partage sous le bloc (le partage reste dans le bandeau) */
  .cv-wine2 .cv-w2-id .cv-w2-actions:not(:has(.cv-w2-pill)) { display: none; }
  .cv-wine2 .cv-w2-bar .cv-w2-float.cv-iconbtn[data-back] { background: rgba(255, 253, 248, .82); color: var(--cv-text); } /* A-716 : bouton retour visible sur la photo */
  .cv-wine2 .cv-w2-top { display: block; width: var(--cv-hero-w); max-width: none; height: 0; margin: -200px auto 0; padding: 0 24px; }
  .cv-wine2 .cv-w2-top > .cv-w2-score { display: none; }
  .cv-wine2 .cv-w2-bottle { width: 220px; min-height: 0; }
  .cv-w2-bottle .cv-bottle-photo { height: 440px !important; max-height: 440px !important; }
  .cv-w2-score-desk { display: block; }
  .cv-wine2 .cv-w2-score--desk { display: flex; flex-direction: row; align-items: center; gap: 14px; padding: 0; }
  .cv-wine2 .cv-w2-score--desk .cv-w2-rating { flex-direction: row; align-items: center; gap: 8px; }
  .cv-wine2 .cv-wine-body { width: var(--cv-hero-w); max-width: none; padding: 228px 24px 40px; display: grid; grid-template-columns: 220px minmax(0, 1fr) 400px; column-gap: 40px; row-gap: 56px; align-items: start; }
  .cv-wine2 .cv-wine-main { display: contents; }
  .cv-wine2 .cv-wine-main > * { grid-column: 1 / -1; min-width: 0; }
  .cv-wine2 .cv-wine-main > .cv-w2-id { grid-column: 2; grid-row: 1; min-height: 240px; }
  .cv-wine2 .cv-w2-buy { grid-column: 3; grid-row: 1; position: static; align-self: start; margin-top: 0; }
  .cv-wine2 .cv-w2-head h1 { font-size: 38px; }
  .cv-wine2 .cv-w2-score--desk { flex-wrap: wrap; }
  .cv-wine2 .cv-w2-score--desk .cv-tags { flex-wrap: wrap; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .cv-wine2 .cv-w2-bottle { width: 170px; }
  .cv-w2-bottle .cv-bottle-photo { height: 380px !important; max-height: 380px !important; }
  .cv-wine2 .cv-wine-body { grid-template-columns: 170px minmax(0, 1fr) 320px; column-gap: 24px; }
  .cv-wine2 .cv-w2-head h1 { font-size: 30px; }
}
/* A-713 : mobile — la barre d'achat (livraison + prix) a ses coins arrondis en entier (le fond et le trait ne dépassent plus). */
@media (max-width: 899px) {
  .cv-w2-buy { border-top: 0; border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: 0 -1px 0 var(--cv-line), 0 -8px 24px rgba(43, 26, 29, .08); }
}
/* A-714 : blocs du haut de la fiche vin comme la maquette B (ordinateur) ; sur mobile, la barre d'achat reste compacte. */
.cv-w2-tiles, .cv-w2-desk, .cv-w2-add-long, .cv-w2-unit { display: none; }
@media (min-width: 1024px) {
  .cv-wine2 .cv-w2-head h1 { font-family: var(--cv-serif); font-weight: 600; font-size: 46px; line-height: 1.02; color: #3E0F1B; letter-spacing: 0; }
  .cv-wine2 .cv-w2-producer { color: var(--cv-gold-text); font-weight: 600; }
  .cv-wine2 .cv-w2-score--desk { gap: 10px; }
  .cv-wine2 .cv-w2-score--desk .cv-w2-rating.is-empty { flex-direction: row; gap: 8px; font-size: 13px; color: var(--cv-grey); }
  .cv-w2-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
  .cv-w2-tiles li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: #fff; border: 1px solid var(--cv-line); border-radius: 14px; font-size: 12px; color: var(--cv-grey); min-width: 0; }
  .cv-w2-tiles b { font-size: 15px; color: var(--cv-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cv-wine2 .cv-w2-buy { background: #fff; border: 1px solid var(--cv-line); border-radius: 22px; box-shadow: 0 12px 30px rgba(62, 15, 27, .08); overflow: visible; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cv-wine2 .cv-w2-buy > .cv-w2-eta { display: none; }
  .cv-wine2 .cv-w2-buyrow { display: block; padding: 22px; }
  .cv-wine2 .cv-w2-buy .cv-buybar-price strong { font-size: 34px; font-weight: 700; }
  .cv-wine2 .cv-buybar-price > .cv-muted { display: none; }
  .cv-w2-unit { display: inline; font-size: 13px; font-weight: 400; color: var(--cv-grey); margin-left: 6px; }
  .cv-w2-desk { display: block; }
  .cv-w2-member { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin: 12px 0 14px; padding: 11px 14px; border-radius: 12px; background: #F6EBD3; color: #5A4210; text-decoration: none; font-size: 13px; }
  .cv-w2-member:hover { color: #3E2C08; }
  .cv-w2-member b { font-size: 15px; }
  .cv-w2-member > span:first-child { white-space: nowrap; }
  .cv-w2-qty { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
  .cv-w2-qty button { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 12px; border: 1.5px solid var(--cv-line); border-radius: 12px; background: #fff; font: inherit; font-size: 13px; color: var(--cv-text); cursor: pointer; text-align: left; }
  .cv-w2-qty button span { color: var(--cv-grey); }
  .cv-w2-qty button.is-on { border-color: #5E1A2B; background: #FBF4F2; }
  .cv-wine2 .cv-w2-add { width: 100%; min-height: 56px; font-size: 17px; }
  .cv-w2-add-long { display: inline; }
  .cv-w2-left { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-weight: 600; font-size: 14px; color: #A2402F; }
  .cv-w2-left i { width: 9px; height: 9px; border-radius: 50%; background: #E0782F; box-shadow: 0 0 0 4px rgba(224, 120, 47, .18); }
  .cv-w2-trust { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--cv-line); display: grid; gap: 9px; font-size: 13px; color: #4A3A3D; }
  .cv-w2-trust li { display: flex; align-items: center; gap: 10px; }
  .cv-w2-trust svg { color: #5E1A2B; flex: none; }
}
/* A-715 : corbeille du panier */
.cv-cline-del { margin: 0; flex: none; }
.cv-cline-del button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--cv-grey); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cv-cline-del button:hover, .cv-cline-del button:focus-visible { background: #F6E4E0; color: #A2402F; }
/* A-723 : fiche vin sur mobile — le haut (photo du domaine, bouteille, note) reste fixe, seule la partie basse défile. */
@media (max-width: 899px) {
  body.cv-page-wine { height: 100dvh; overflow: hidden; }
  body.cv-page-wine .cv-main { height: 100dvh; }
  body.cv-page-wine .cv-footer { display: none; }
  .cv-wine2 { --cv-top-h: min(40dvh, 360px); height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
  .cv-wine2 .cv-w2-hero { flex: none; height: var(--cv-top-h); }
  .cv-wine2 .cv-w2-top { flex: none; margin-top: calc(80px - var(--cv-top-h)); }
  .cv-wine2 .cv-w2-bottle { min-height: 0; }
  .cv-wine2 .cv-w2-bottle .cv-bottle-photo { height: calc(var(--cv-top-h) - 30px) !important; max-height: calc(var(--cv-top-h) - 30px) !important; }
  .cv-wine2 .cv-wine-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-bottom: 180px;
    border-top: 1px solid var(--cv-line); box-shadow: inset 0 10px 12px -12px rgba(43, 26, 29, .25); }
}
