/* ============================================================
   MAISON GODINAT — Charte graphique globale
   ============================================================ */

/* --- Variables -------------------------------------------- */
:root {
  --cream:   #F8F4EF;
  --ink:     #1A1109;
  --gold:    #B8902A;
  --wine:    #7C2D3E;
  --sand:    #EDE8E0;
  --muted:   #6B6359;
  --light:   #FDFBF8;
  --border:  #D9D0C4;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', 'Helvetica Neue', Arial, sans-serif;

  --radius: 4px;
  --shadow: 0 2px 16px rgba(26,17,9,.08);
  --transition: 0.25s ease;

  --max-width: 1280px;
  --header-h: 80px;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- Typographie ------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

p { max-width: 65ch; }

/* --- Utilitaires ------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* --- Boutons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.8rem;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-primary {
  background: var(--wine);
  color: #fff;
  border: 2px solid var(--wine);
}
.btn-primary:hover { background: #6a2535; border-color: #6a2535; }

.btn-outline {
  background: transparent;
  color: var(--wine);
  border: 2px solid var(--wine);
}
.btn-outline:hover { background: var(--wine); color: #fff; }

.btn-gold {
  background: var(--gold);
  color: #fff;
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: #9e7b22; border-color: #9e7b22; }

/* --- Header ----------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(26,17,9,.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
}
.logo-sub {
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

/* Navigation principale */
.main-nav ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.main-nav a {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  background: var(--wine);
  color: #fff;
  border-radius: var(--radius);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background var(--transition);
}
.cart-btn:hover { background: #6a2535; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--gold);
  color: #fff;
  border-radius: 9px;
  font-size: .65rem;
  font-weight: 700;
}
.cart-count:empty,
.cart-count[data-count="0"] { display: none; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 99;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav a {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Hero -------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--header-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(26,17,9,.72) 0%,
      rgba(124,45,62,.45) 60%,
      rgba(26,17,9,.55) 100%),
    linear-gradient(180deg, #3a2010 0%, #7c5a2a 40%, #4a6040 100%);
  z-index: 0;
}
/* Motif de vigne subtil en SVG inline */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(184,144,42,0.07)' stroke-width='1'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3Cline x1='10' y1='30' x2='50' y2='30'/%3E%3Cline x1='30' y1='10' x2='30' y2='50'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0.4;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 680px;
}
.hero-content .eyebrow { color: var(--gold); margin-bottom: 1.2rem; }
.hero-content h1 {
  color: #fff;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  max-width: 52ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  z-index: 1;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 16px; height: 16px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Section générique ------------------------------------ */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .eyebrow { margin-bottom: .8rem; display: block; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { margin-inline: auto; color: var(--muted); }

/* Séparateur doré */
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem auto 0;
}

/* --- Catégories ------------------------------------------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition);
}
.category-card:hover { transform: translateY(-4px); }
.category-card:hover .category-bg { transform: scale(1.04); }

.category-bg {
  position: absolute;
  inset: 0;
  transition: transform .4s ease;
}
.category-card.blanc .category-bg {
  background: linear-gradient(160deg, #3a5f3a 0%, #7a9a5a 60%, #b8c87a 100%);
}
.category-card.rouge .category-bg {
  background: linear-gradient(160deg, #1a0a0a 0%, #4a1020 60%, #7C2D3E 100%);
}
.category-card.rose .category-bg {
  background: linear-gradient(160deg, #4a1530 0%, #a04060 60%, #d08090 100%);
}

.category-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,17,9,.85) 0%, rgba(26,17,9,.1) 60%);
}
.category-content { position: relative; z-index: 1; color: #fff; }
.category-content .eyebrow { color: var(--gold); margin-bottom: .6rem; }
.category-content h3 { color: #fff; font-size: 1.8rem; margin-bottom: .8rem; }
.category-content p {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  max-width: 30ch;
  margin-inline: auto;
  margin-bottom: 1.2rem;
}
.category-bottle {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  opacity: .55;
  width: 80px;
}

/* --- Produits en vedette ---------------------------------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.8rem;
}

/* Card produit partagée */
.wine-card {
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.wine-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.wine-card-img {
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  position: relative;
  overflow: hidden;
}
.wine-card-img svg { width: 80px; height: auto; filter: drop-shadow(0 4px 12px rgba(26,17,9,.2)); }
.wine-badge {
  position: absolute;
  top: .7rem;
  right: .7rem;
  padding: .25rem .55rem;
  border-radius: 2px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.badge-nouveaute { background: var(--gold); color: #fff; }
.badge-coup-de-coeur { background: var(--wine); color: #fff; }

.wine-card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wine-card-appellation {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .3rem;
}
.wine-card-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .2rem;
}
.wine-card-meta {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .8rem;
}
.wine-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
}
.wine-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}
.wine-price span { font-size: .85rem; font-weight: 400; color: var(--muted); }

.add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--wine);
  color: #fff;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.add-to-cart:hover { background: #6a2535; transform: scale(1.05); }
.add-to-cart svg { width: 16px; height: 16px; }

/* Feedback d'ajout au panier */
.add-to-cart.added { background: #2a7a2a; }

/* --- Section institution / histoire ----------------------- */
.about-strip {
  background: var(--ink);
  color: #fff;
}
.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-strip h2 { color: #fff; margin-bottom: 1.2rem; }
.about-strip .eyebrow { margin-bottom: .8rem; display: block; }
.about-strip p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; }
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .8rem;
  height: 400px;
}
.about-block {
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}
.about-block:nth-child(1) {
  background: var(--wine);
  grid-column: 1;
  grid-row: 1;
}
.about-block:nth-child(2) {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  grid-column: 2;
  grid-row: 1 / 3;
}
.about-block:nth-child(3) {
  background: var(--gold);
  grid-column: 1;
  grid-row: 2;
}
.about-block-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.about-block-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-top: .3rem;
}

/* --- Bandeau appellations --------------------------------- */
.appellations-band {
  background: var(--sand);
  padding-block: 3rem;
  overflow: hidden;
}
.appellations-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  white-space: nowrap;
  animation: scroll-track 30s linear infinite;
}
.appellations-track:hover { animation-play-state: paused; }
.appellation-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--muted);
  flex-shrink: 0;
}
.appellation-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes scroll-track {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Témoignages / Citation ------------------------------- */
.quote-section {
  background: var(--cream);
  text-align: center;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: .5;
  color: var(--gold);
  opacity: .3;
  margin-bottom: .5rem;
}
blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--ink);
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.5;
}
cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* --- Newsletter ------------------------------------------ */
.newsletter {
  background: var(--wine);
  color: #fff;
  padding-block: 4rem;
  text-align: center;
}
.newsletter .eyebrow { color: rgba(255,255,255,.6); margin-bottom: .8rem; display: block; }
.newsletter h2 { color: #fff; margin-bottom: .8rem; }
.newsletter p { color: rgba(255,255,255,.75); margin-inline: auto; margin-bottom: 2rem; }
.newsletter-form {
  display: flex;
  gap: .8rem;
  max-width: 460px;
  margin-inline: auto;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: .75rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .9rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { border-color: var(--gold); }

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding-top: 4rem;
  padding-bottom: 2rem;
  font-size: .85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-name { color: #fff; font-size: 1.3rem; }
.footer-brand .logo-sub { color: var(--gold); }
.footer-brand p { color: rgba(255,255,255,.55); margin-top: 1rem; font-size: .82rem; max-width: 30ch; }

.footer-col h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { color: rgba(255,255,255,.55); transition: color var(--transition); font-size: .83rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col address { font-style: normal; color: rgba(255,255,255,.55); font-size: .83rem; line-height: 1.8; }

.social-links { display: flex; gap: .8rem; margin-top: 1.4rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: rgba(255,255,255,.55);
  transition: border-color var(--transition), color var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.social-link svg { width: 14px; height: 14px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .75rem; max-width: none; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .75rem; color: rgba(255,255,255,.45); }
.footer-legal a:hover { color: var(--gold); }

/* Avertissement alcool */
.alcool-warning {
  text-align: center;
  padding: .6rem;
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .7rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .05em;
}

/* --- Panier slide-in -------------------------------------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,17,9,.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--cream);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 40px rgba(26,17,9,.15);
}
.cart-panel.open { transform: translateX(0); }

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-panel-header h3 { font-size: 1rem; }
.cart-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted);
  transition: background var(--transition), color var(--transition);
}
.cart-close:hover { background: var(--sand); color: var(--ink); }
.cart-close svg { width: 18px; height: 18px; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--muted);
  text-align: center;
  gap: 1rem;
}
.cart-empty svg { width: 48px; height: 48px; opacity: .35; }
.cart-empty p { font-size: .9rem; }

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: .8rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  background: var(--sand);
  border-radius: var(--radius);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-img svg { width: 28px; }
.cart-item-info { min-width: 0; }
.cart-item-name {
  font-family: var(--font-serif);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-meta { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.cart-item-price { font-family: var(--font-serif); font-weight: 700; font-size: .95rem; }

.qty-control {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-top: .5rem;
}
.qty-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--ink);
  transition: background var(--transition);
  line-height: 1;
}
.qty-btn:hover { background: var(--sand); }
.qty-val { font-size: .85rem; font-weight: 700; min-width: 20px; text-align: center; }
.remove-item {
  font-size: .65rem;
  color: var(--muted);
  text-decoration: underline;
  margin-left: .5rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.remove-item:hover { color: var(--wine); }

.cart-panel-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .5rem;
}
.cart-subtotal span:first-child { font-size: .8rem; color: var(--muted); }
.cart-subtotal .total-price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}
.cart-shipping-note {
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.cart-panel-footer .btn { width: 100%; justify-content: center; margin-bottom: .6rem; }
.cart-continue {
  display: block;
  text-align: center;
  font-size: .75rem;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
}
.cart-continue:hover { color: var(--ink); }

/* --- Toast notification ----------------------------------- */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.toast {
  background: var(--ink);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: var(--radius);
  font-size: .82rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: .6rem;
  animation: toast-in .3s ease forwards;
  max-width: 300px;
}
.toast.success { border-left: 3px solid #2a7a2a; }
.toast.info { border-left: 3px solid var(--gold); }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
  from { opacity: 1; }
  to { opacity: 0; transform: translateX(20px); }
}

/* --- Page intérieure hero --------------------------------- */
.page-hero {
  height: 320px;
  background: linear-gradient(135deg, rgba(26,17,9,.8) 0%, rgba(124,45,62,.5) 100%),
              linear-gradient(180deg, #3a2010 0%, #5a3a1a 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  margin-top: var(--header-h);
}
.page-hero .eyebrow { margin-bottom: .8rem; display: block; }
.page-hero h1 { color: #fff; }

/* --- Responsive ------------------------------------------ */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-strip-inner { grid-template-columns: 1fr; }
  .about-visual { height: 250px; }
}

@media (max-width: 768px) {
  .main-nav, .header-actions .btn { display: none; }
  .burger { display: flex; }
  .cart-btn { display: flex; }

  .categories-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  .about-visual { grid-template-columns: 1fr 1fr; height: 200px; }
}

@media (max-width: 480px) {
  .featured-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
}
