/* ==========================================================================
   Pages : accueil, catalogue, fiche produit, panier, commande.
   ========================================================================== */

/* ===================== ACCUEIL ===================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 64px) 70px; overflow: hidden; background: var(--g-silk); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; animation: blob 16s ease-in-out infinite alternate; }
.hero__bg span:nth-child(1) { width: 46vw; height: 46vw; background: #F9D9D6; top: -10%; inset-inline-end: -8%; }
.hero__bg span:nth-child(2) { width: 34vw; height: 34vw; background: #FFF4EF; bottom: -12%; inset-inline-start: -6%; animation-delay: -6s; }
.hero__bg span:nth-child(3) { width: 22vw; height: 22vw; background: #F3E0D2; top: 30%; inset-inline-start: 38%; animation-delay: -10s; opacity: .5; }
@keyframes blob { to { transform: translate(6%, 8%) scale(1.15); } }
.hero__bg::after { /* fines rayures satinées */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(115deg, transparent 0 80px, rgba(255, 255, 255, .25) 110px, transparent 140px);
}
.hero__inner { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.hero__text { display: grid; gap: 22px; justify-items: start; position: relative; z-index: 2; }
.hero__eyebrow { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-block-end: -.45em; }
.hero__title { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.9rem); font-weight: 300; line-height: 1.02; letter-spacing: -.01em; }
.hero__title em { font-style: italic; color: var(--c-rose-deep); font-weight: 400; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block-end: .08em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * .07s + .1s); }
.is-ready .hero__title .w > span { transform: none; }
.hero__sub { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--c-muted); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .78rem; color: var(--c-wine); letter-spacing: .04em; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--c-rose-deep); }
.hero-fade { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, .4s); }
.is-ready .hero-fade { opacity: 1; transform: none; }

.hero__visual { position: relative; width: min(100%, 520px); justify-self: center; aspect-ratio: 4/5; }
@media (max-width: 959px) { .hero__visual { width: min(86%, 420px); order: -1; margin-top: -10px; } }
.hero__arch { position: absolute; inset: 0 14% 6% 0; border-radius: var(--r-arch); overflow: hidden; box-shadow: var(--sh-lg); transform: translateY(30px) scale(.96); opacity: 0; transition: transform 1.4s var(--ease-out) .15s, opacity 1.2s var(--ease) .15s; }
.hero__arch::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .7); border-radius: inherit; pointer-events: none; }
.hero__oval { position: absolute; width: 42%; aspect-ratio: 3/4; inset-inline-end: 0; bottom: 0; border-radius: 999px; overflow: hidden; border: 6px solid var(--c-cream); box-shadow: var(--sh-md); transform: translateY(40px); opacity: 0; transition: transform 1.4s var(--ease-out) .45s, opacity 1.2s var(--ease) .45s; }
.hero__arch img, .hero__oval img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.5s var(--ease-out); }
.is-ready .hero__arch, .is-ready .hero__oval { transform: none; opacity: 1; }
.is-ready .hero__arch img, .is-ready .hero__oval img { transform: scale(1); }
.hero__badge { position: absolute; top: 4%; inset-inline-end: 2%; width: clamp(96px, 22vw, 132px); aspect-ratio: 1; border-radius: 50%; background: var(--c-wine); color: var(--c-gold-light); display: grid; place-items: center; box-shadow: var(--sh-md); opacity: 0; transform: scale(.6) rotate(-30deg); transition: opacity .8s var(--ease) .9s, transform 1.2s var(--ease-out) .9s; z-index: 2; }
.is-ready .hero__badge { opacity: 1; transform: none; }
.hero__badge svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.hero__badge svg.ring text { font-family: var(--f-sans); font-size: 9.2px; letter-spacing: 2.6px; text-transform: uppercase; fill: currentColor; }
.hero__badge .ico { width: 26px; height: 26px; color: var(--c-gold-light); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__spark { position: absolute; color: var(--c-gold); animation: twinkle 3s ease-in-out infinite; }
.hero__spark svg { width: 100%; height: 100%; }
.hero__spark--1 { width: 22px; height: 22px; top: 18%; inset-inline-start: -6%; }
.hero__spark--2 { width: 14px; height: 14px; bottom: 14%; inset-inline-start: 4%; animation-delay: -1s; }
.hero__spark--3 { width: 18px; height: 18px; top: -2%; inset-inline-start: 50%; animation-delay: -2s; }
.hero__scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--c-wine); opacity: .7; }
.hero__scroll::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--c-wine), transparent); animation: scrollHint 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollHint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 959px) { .hero__scroll { display: none; } .hero { padding-block-start: calc(var(--header-h) + 50px); } }

/* Ruban de mots */
.ribbon { overflow: hidden; padding-block: 26px; border-block: 1px solid var(--c-line); background: var(--c-cream); }
.ribbon__track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.ribbon__track span { font-family: var(--f-serif); font-size: clamp(1.8rem, 1.3rem + 2.5vw, 3.4rem); font-style: italic; font-weight: 300; color: transparent; -webkit-text-stroke: 1px var(--c-rose-deep); white-space: nowrap; }
.ribbon__track span:nth-child(4n+1) { color: var(--c-wine); -webkit-text-stroke: 0; }
.ribbon__track i { width: 18px; height: 18px; color: var(--c-gold); display: inline-grid; }
.ribbon__track i svg { width: 18px; height: 18px; }

/* Catégories */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: min(68vw, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding-block-end: 12px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .cats { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 24px; } }
.cat-card { scroll-snap-align: start; position: relative; display: block; aspect-ratio: 3/4.3; border-radius: var(--r-arch); overflow: hidden; isolation: isolate; box-shadow: var(--sh-sm); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); z-index: -2; }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(74, 29, 37, .65) 100%); transition: opacity .6s; }
.cat-card::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .55); border-radius: inherit; pointer-events: none; transition: inset .6s var(--ease-out); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card:hover::after { inset: 16px; }
.cat-card__txt { position: absolute; inset-inline: 0; bottom: 26px; text-align: center; color: #fff; display: grid; gap: 4px; justify-items: center; }
.cat-card__name { font-family: var(--f-serif); font-size: 1.9rem; font-weight: 400; line-height: 1; }
.cat-card__count { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; opacity: .9; }
.cat-card__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); margin-top: 8px; transition: background .3s, transform .4s var(--ease-out); }
.cat-card__go svg { width: 16px; height: 16px; }
.cat-card:hover .cat-card__go { background: #fff; color: var(--c-wine); transform: translateX(4px); }

/* Bandeau avantages (accueil) */
.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--c-line); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--c-line); }
@media (min-width: 900px) { .perks { grid-template-columns: repeat(4, 1fr); } }
.perks .perk { background: #fff; padding: clamp(20px, 3vw, 34px); flex-direction: column; gap: 14px; }
.perks .perk__ico { border-color: var(--c-powder); color: var(--c-wine); background: var(--c-blush); width: 54px; height: 54px; }
.perks .perk b { color: var(--c-wine); font-size: 1.25rem; }
.perks .perk small { color: var(--c-muted); font-size: .85rem; }

/* Bloc éditorial mariée */
.edito { position: relative; background: linear-gradient(180deg, var(--c-blush), var(--c-cream)); overflow: hidden; }
.edito__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .edito__inner { grid-template-columns: 1fr 1fr; gap: 80px; } }
.edito__pics { position: relative; aspect-ratio: 1/1.05; max-width: 560px; width: 100%; justify-self: center; }
.edito__pics figure { position: absolute; margin: 0; overflow: hidden; box-shadow: var(--sh-lg); }
.edito__pics figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.edito__pics figure:hover img { transform: scale(1.05); }
.edito__pics .f1 { inset: 0 28% 12% 0; border-radius: var(--r-arch); }
.edito__pics .f2 { width: 46%; aspect-ratio: 3/4; inset-inline-end: 0; bottom: 0; border-radius: var(--r-lg); border: 6px solid var(--c-cream); }
.edito__seal { position: absolute; top: 8%; inset-inline-end: 6%; width: 92px; height: 92px; border-radius: 50%; background: var(--g-gold); display: grid; place-items: center; text-align: center; font-family: var(--f-script); font-size: 1.5rem; line-height: .9; color: var(--c-wine-dark); box-shadow: var(--sh-md); transform: rotate(10deg); }
.edito__text { display: grid; gap: 20px; justify-items: start; }
.edito__text .script { font-size: clamp(2rem, 1.6rem + 1.5vw, 2.8rem); margin-block-end: -.4em; }
.edito__list { display: grid; gap: 10px; }
.edito__list li { display: flex; gap: 12px; align-items: center; color: var(--c-text); }
.edito__list svg { width: 18px; height: 18px; color: var(--c-gold); flex: none; }

/* Slider coups de cœur */
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(64vw, 290px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding-block-end: 8px; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
@media (min-width: 900px) { .slider__track { grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; margin: 0; padding-inline: 0; } }
.slider__nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.slider__nav button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--c-line-strong); display: grid; place-items: center; color: var(--c-wine); transition: all .3s var(--ease); }
.slider__nav button:hover { background: var(--c-wine); color: #fff; border-color: var(--c-wine); }
.slider__nav svg { width: 20px; height: 20px; }
[dir="rtl"] .slider__nav svg { transform: scaleX(-1); }
.section-foot { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }

/* Citation de marque */
.quote { text-align: center; display: grid; justify-items: center; gap: 22px; max-width: 860px; margin-inline: auto; }
.quote__mark { width: 90px; opacity: .9; }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3rem); line-height: 1.2; font-weight: 300; color: var(--c-wine); }
.quote blockquote em { color: var(--c-rose-deep); }
.quote p { color: var(--c-muted); max-width: 60ch; }

/* Instagram */
.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border-radius: var(--r-xl); overflow: hidden; }
@media (min-width: 900px) { .insta { grid-template-columns: repeat(6, 1fr); gap: 10px; border-radius: 0; } .insta a { border-radius: var(--r-lg); } }
.insta a { position: relative; aspect-ratio: 1; overflow: hidden; display: block; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.insta a::after { content: ""; position: absolute; inset: 0; background: rgba(103, 44, 53, .45); opacity: 0; transition: opacity .4s; }
.insta a span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; z-index: 1; opacity: 0; transform: scale(.7); transition: all .4s var(--ease-out); }
.insta a span svg { width: 30px; height: 30px; }
.insta a:hover img { transform: scale(1.08); }
.insta a:hover::after, .insta a:hover span { opacity: 1; transform: none; }
.insta-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-block-end: 28px; }
.insta-head .handle { font-family: var(--f-serif); font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); color: var(--c-wine); font-style: italic; }

/* ===================== CATALOGUE ===================== */
.page-head { padding-block: calc(36px) clamp(28px, 4vw, 48px); background: var(--g-silk); text-align: center; position: relative; overflow: hidden; }
.page-head__inner { display: grid; justify-items: center; gap: 12px; }
.page-head .script { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); margin-block-end: -.4em; }
.page-head p { color: var(--c-muted); max-width: 52ch; }
.chips { justify-self: stretch; width: calc(100% + var(--gutter) * 2); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px var(--gutter); margin-inline: calc(var(--gutter) * -1); justify-content: flex-start; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chips { justify-content: center; flex-wrap: wrap; } }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--c-line-strong); background: rgba(255, 255, 255, .7); font-size: .8rem; color: var(--c-wine); transition: all .3s var(--ease); white-space: nowrap; }
.chip:hover { border-color: var(--c-wine); }
.chip.is-on { background: var(--c-wine); color: #fff; border-color: var(--c-wine); }
.chip small { opacity: .65; }
.chip svg { width: 14px; height: 14px; }

.shop { display: grid; gap: 28px; padding-block: 28px 20px; }
@media (min-width: 1000px) { .shop { grid-template-columns: 250px 1fr; gap: 48px; } }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; margin-block-end: 22px; }
.toolbar__count { font-size: .82rem; color: var(--c-muted); }
.toolbar__right { display: flex; gap: 10px; align-items: center; flex: 1; justify-content: flex-end; }
.toolbar .select { min-height: 42px; width: auto; border-radius: var(--r-pill); font-size: .85rem; padding-block: 8px; }
.toolbar__search { position: relative; flex: 1; max-width: 280px; }
.toolbar__search svg { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--c-muted); }
.toolbar__search .input { min-height: 42px; border-radius: var(--r-pill); padding-inline-start: 40px; font-size: .9rem; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--c-wine); color: var(--c-wine); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.filter-btn svg { width: 16px; height: 16px; }
.filter-btn b[hidden] { display: none; }
.filter-btn b { background: var(--c-wine); color: #fff; border-radius: 9px; min-width: 18px; height: 18px; font-size: 10px; display: grid; place-items: center; }
@media (min-width: 1000px) { .filter-btn { display: none; } }
@media (max-width: 640px) { .toolbar__search { max-width: none; order: 3; flex-basis: 100%; } .toolbar__right { flex: none; } }

.filters { display: grid; gap: 26px; align-content: start; }
.filters__group { display: grid; gap: 12px; padding-block-end: 22px; border-bottom: 1px solid var(--c-line); }
.filters__group h3 { font-family: var(--f-sans); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--c-wine); font-weight: 500; }
.filters .sizes, .filters .swatches { margin: 0; }
.filters .size-btn { min-width: 46px; height: 40px; font-size: .82rem; }
.fcolor { display: flex; align-items: center; gap: 10px; font-size: .88rem; padding: 4px 0; color: var(--c-text); }
.fcolor .swatch { width: 18px; height: 18px; }
.fcolor.is-on { color: var(--c-wine); font-weight: 400; }
.fcolor.is-on .swatch { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 0 0 2px #fff, 0 0 0 3px var(--c-wine); }
.fcheck { display: flex; align-items: center; gap: 10px; font-size: .88rem; cursor: pointer; }
.fcheck input { width: 18px; height: 18px; accent-color: var(--c-wine); }
.filters__aside { display: none; }
@media (min-width: 1000px) { .filters__aside { display: block; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
#filter-drawer .drawer__body { padding-block: 20px; }

/* Double curseur de prix */
.range { position: relative; height: 28px; }
.range__track { position: absolute; inset-inline: 0; top: 50%; height: 3px; border-radius: 3px; background: var(--c-powder); transform: translateY(-50%); }
.range__fill { position: absolute; top: 0; bottom: 0; background: var(--c-wine); border-radius: 3px; }
.range input { position: absolute; inset: 0; width: 100%; appearance: none; background: none; pointer-events: none; margin: 0; }
.range input::-webkit-slider-thumb { appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--c-wine); box-shadow: var(--sh-sm); cursor: grab; }
.range input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--c-wine); cursor: grab; }
.range-vals { display: flex; justify-content: space-between; font-size: .85rem; color: var(--c-wine); }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 18px; }
.active-filters:empty { display: none; }
.afilter { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 14px; border-radius: var(--r-pill); background: var(--c-blush); color: var(--c-wine); font-size: .78rem; }
.afilter svg { width: 14px; height: 14px; }
.afilter--clear { background: none; text-decoration: underline; text-underline-offset: 3px; }
.empty { text-align: center; padding: 60px 20px; display: grid; justify-items: center; gap: 14px; }
.empty__ico { width: 84px; height: 84px; border-radius: 50%; background: var(--c-blush); color: var(--c-rose-deep); display: grid; place-items: center; }
.empty__ico svg { width: 34px; height: 34px; }
.empty h3 { font-size: 1.8rem; }

/* ===================== FICHE PRODUIT ===================== */
.pdp { display: grid; gap: clamp(24px, 4vw, 64px); padding-block: 20px 40px; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.pdp .crumbs { margin-block: 18px 0; }
.gallery { display: grid; gap: 12px; min-width: 0; }
@media (min-width: 960px) { .gallery { grid-template-columns: 84px 1fr; position: sticky; top: calc(var(--header-h) + 16px); } }
.gallery__thumbs { display: none; }
@media (min-width: 960px) { .gallery__thumbs { display: grid; gap: 10px; align-content: start; } }
.gallery__thumbs button { aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; opacity: .55; transition: opacity .3s, box-shadow .3s; }
.gallery__thumbs button.is-on, .gallery__thumbs button:hover { opacity: 1; box-shadow: 0 0 0 1px var(--c-wine); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--c-blush); min-width: 0; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4/5; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
@media (hover: hover) and (min-width: 960px) { .gallery__slide.is-zoom img { transform: scale(2); } }
.gallery__dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.gallery__dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--c-rose); opacity: .5; transition: all .35s var(--ease); }
.gallery__dots span.is-on { width: 20px; opacity: 1; background: var(--c-wine); }
.gallery__zoom { position: absolute; top: 14px; inset-inline-end: 14px; }
.gallery__zoom.icon-btn { background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); }
.gallery .pbadges { top: 16px; inset-inline-start: 16px; }

.pinfo { display: grid; gap: 6px; align-content: start; }
.pinfo__cat { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--c-rose-deep); }
.pinfo__name { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); font-weight: 300; line-height: 1.02; margin-block: 4px 8px; }
.pinfo .pprice { font-size: 1.3rem; margin-block-end: 14px; }
.pinfo .pprice b { font-weight: 400; }
.pinfo .pprice .save { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; background: var(--c-blush); color: var(--c-wine); padding: 4px 10px; border-radius: var(--r-pill); }
.pinfo__lead { color: var(--c-muted); margin-block-end: 22px; }
.pinfo__label { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.pinfo__label b { color: var(--c-wine); font-weight: 400; letter-spacing: .06em; text-transform: none; font-size: .9rem; }
.pinfo__label button { display: inline-flex; gap: 6px; align-items: center; text-decoration: underline; text-underline-offset: 3px; color: var(--c-wine); letter-spacing: .1em; }
.pinfo__label button svg { width: 16px; height: 16px; }
.size-help { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; margin-block: -6px 22px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--c-blush), #fff); border: 1px solid var(--c-powder); text-align: start; color: var(--c-wine); transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.size-help:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); border-color: var(--c-rose); }
.size-help__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-wine); color: #fff; box-shadow: 0 6px 16px -6px var(--c-wine); }
.size-help__ico svg { width: 22px; height: 22px; }
.size-help__txt { display: grid; gap: 2px; }
.size-help__txt b { font-family: var(--f-serif); font-size: 1.2rem; font-weight: 600; line-height: 1.1; }
.size-help__txt small { font-size: .8rem; color: var(--c-muted); }
.size-help > svg { width: 18px; height: 18px; color: var(--c-rose-deep); transition: transform .3s var(--ease-out); }
.size-help:hover > svg { transform: translateX(4px); }
.size-help.is-pulse { animation: helpPulse 1.4s var(--ease-out) 2; }
@keyframes helpPulse { 0% { box-shadow: 0 0 0 0 rgba(210, 149, 156, .7); } 70% { box-shadow: 0 0 0 14px rgba(210, 149, 156, 0); } 100% { box-shadow: 0 0 0 0 rgba(210, 149, 156, 0); } }
.stock-hint { font-size: .82rem; color: var(--c-wine); display: flex; align-items: center; gap: 8px; min-height: 22px; margin-block: -8px 12px; }
.stock-hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 0 4px rgba(201, 162, 126, .2); animation: pulse 1.6s infinite; }
.stock-hint:empty { display: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(201, 162, 126, 0); } }
.buy { display: flex; gap: 10px; margin-block: 6px 12px; }
.buy .btn { flex: 1; }
.pfav { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--c-line-strong); display: grid; place-items: center; color: var(--c-wine); flex: none; transition: all .3s; }
.pfav:hover { border-color: var(--c-wine); }
.pfav svg { width: 22px; height: 22px; }
.assure { display: grid; gap: 10px; margin-block: 22px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--c-blush); }
.assure li { display: flex; gap: 12px; align-items: center; font-size: .88rem; }
.assure svg { width: 20px; height: 20px; color: var(--c-wine); flex: none; }
.acc { border-top: 1px solid var(--c-line); }
.acc details { border-bottom: 1px solid var(--c-line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding-block: 18px; cursor: pointer; font-family: var(--f-serif); font-size: 1.25rem; color: var(--c-wine); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.acc details[open] summary svg { transform: rotate(45deg); }
.acc details > div { padding-block-end: 18px; color: var(--c-muted); font-size: .95rem; animation: fadeUp .5s var(--ease-out); }
.sticky-buy { position: fixed; inset-inline: 0; bottom: 0; z-index: calc(var(--z-header) - 1); background: rgba(255, 248, 245, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--c-line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; transform: translateY(110%); transition: transform .45s var(--ease-out); padding-inline-end: 84px; }
.sticky-buy.is-on { transform: none; }
.sticky-buy img { width: 44px; height: 56px; object-fit: cover; border-radius: 8px; }
.sticky-buy__txt { flex: 1; min-width: 0; display: grid; font-size: .82rem; }
.sticky-buy__txt b { font-family: var(--f-serif); font-size: 1.05rem; color: var(--c-wine); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { min-height: 44px; padding: 0 18px; }
@media (min-width: 960px) { .sticky-buy { display: none; } }

/* Visionneuse plein écran */
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(42, 20, 24, .94); display: grid; place-items: center; opacity: 0; transition: opacity .4s; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 94vw; max-height: 88svh; border-radius: var(--r-md); object-fit: contain; touch-action: pinch-zoom; }
.lightbox .icon-btn { position: absolute; color: #fff; background: rgba(255, 255, 255, .1); }
.lightbox .lb-close { top: 16px; inset-inline-end: 16px; }
.lightbox .lb-prev { inset-inline-start: 12px; top: 50%; }
.lightbox .lb-next { inset-inline-end: 12px; top: 50%; }
.lightbox .lb-count { position: absolute; bottom: 20px; color: #fff; font-size: .8rem; letter-spacing: .2em; }

/* Animation "vol vers le panier" */
.fly { position: fixed; z-index: var(--z-toast); border-radius: 14px; object-fit: cover; pointer-events: none; transition: transform .85s cubic-bezier(.5, -0.2, .3, 1), opacity .85s ease, border-radius .85s; box-shadow: var(--sh-lg); }

/* ===================== PANIER & COMMANDE ===================== */
.cart-page { display: grid; gap: 32px; padding-block: 24px 40px; }
@media (min-width: 960px) { .cart-page { grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; } }
.summary { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px); box-shadow: var(--sh-md); display: grid; gap: 14px; position: relative; overflow: hidden; }
@media (min-width: 960px) { .summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.summary::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--g-gold); }
.summary h2 { font-size: 1.7rem; }
.summary__row { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; }
.summary__row span:last-child { text-align: end; }
.summary__row.total { border-top: 1px solid var(--c-line); padding-top: 14px; margin-top: 4px; align-items: baseline; }
.summary__row.total b { font-family: var(--f-serif); font-size: 2rem; font-weight: 500; color: var(--c-wine); }
.summary__items { display: grid; gap: 12px; max-height: 320px; overflow-y: auto; padding-inline-end: 4px; }
.sitem { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; font-size: .85rem; }
.sitem__img { position: relative; }
.sitem__img img { width: 54px; height: 68px; object-fit: cover; border-radius: 10px; }
.sitem__img b { position: absolute; top: -6px; inset-inline-end: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-wine); color: #fff; font-size: 10px; display: grid; place-items: center; font-weight: 500; }
.sitem__name { font-family: var(--f-serif); font-size: 1.05rem; color: var(--c-wine); font-weight: 500; line-height: 1.1; }
.sitem small { color: var(--c-muted); display: block; }

.checkout { display: grid; gap: 32px; padding-block: 24px 40px; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; } }
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--sh-sm); display: grid; gap: 22px; }
.form-card h2 { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; }
.form-card h2 .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c-blush); color: var(--c-wine); font-family: var(--f-sans); font-size: .85rem; font-weight: 500; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.ship-opts { display: grid; gap: 12px; }
@media (min-width: 560px) { .ship-opts { grid-template-columns: 1fr 1fr; } }
.ship-opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--c-line-strong); cursor: pointer; transition: all .3s var(--ease); background: #fff; }
.ship-opt input { position: absolute; opacity: 0; }
.ship-opt__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-blush); color: var(--c-wine); transition: all .3s; }
.ship-opt__ico svg { width: 22px; height: 22px; }
.ship-opt b { display: block; font-weight: 400; color: var(--c-ink); }
.ship-opt small { color: var(--c-muted); font-size: .78rem; }
.ship-opt__price { font-family: var(--f-serif); font-size: 1.2rem; color: var(--c-wine); font-weight: 600; white-space: nowrap; }
.ship-opt:has(input:checked) { border-color: var(--c-wine); box-shadow: 0 0 0 3px rgba(103, 44, 53, .08); background: linear-gradient(135deg, #fff, var(--c-cream)); }
.ship-opt:has(input:checked) .ship-opt__ico { background: var(--c-wine); color: #fff; }
.ship-opt:has(input:focus-visible) { outline: 2px solid var(--c-rose-deep); outline-offset: 3px; }
.cod-note { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-lg); background: var(--c-blush); font-size: .88rem; }
.cod-note svg { width: 26px; height: 26px; color: var(--c-wine); flex: none; }
.wa-note { font-size: .78rem; color: var(--c-muted); text-align: center; }

.success { text-align: center; display: grid; justify-items: center; gap: 16px; padding-block: clamp(40px, 8vw, 90px); max-width: 620px; margin-inline: auto; }
.success__check { width: 110px; height: 110px; border-radius: 50%; background: var(--c-wine); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 12px var(--c-blush), var(--sh-lg); animation: pop .7s var(--ease-out); position: relative; }
.success__check svg { width: 50px; height: 50px; stroke-width: 1.8; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s var(--ease-out) .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success__ref { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--c-muted); }
.success__ref b { color: var(--c-wine); font-weight: 500; }
.success__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.confetti { position: fixed; top: -20px; z-index: var(--z-toast); width: 10px; height: 14px; pointer-events: none; animation: confetti var(--dur) linear forwards; }
.confetti svg { width: 100%; height: 100%; }
@keyframes confetti { to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); } }

.steps { display: flex; justify-content: center; gap: 8px; align-items: center; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); margin-top: 14px; flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 8px; }
.steps span.is-on { color: var(--c-wine); }
.steps i { width: 24px; height: 1px; background: var(--c-line-strong); }
