/* ================================================
   POLOCHON & CIE — style.css
   ================================================ */

/* --- Variables couleurs & polices --- */
:root {
  --bg:          #EDF5EC;      /* fond vert pâle général */
  --bg-paper:    #FFFEF8;      /* fond blanc cassé "papier" */
  --bg-card:     #FFFFFF;

  --green-dark:  #1A5F35;      /* titres foncés */
  --green-mid:   #2E7A4A;      /* nav, boutons principaux */
  --green-light: #6BAF6B;      /* bordures, accents légers */
  --green-pale:  #C8E6C8;      /* bordures très douces */

  --orange:      #D4651A;      /* accents chauds, CTA */
  --brown:       #B5733A;      /* bordures logo */
  --text-dark:   #1C3A28;
  --text-mid:    #3A5A40;
  --text-light:  #6A8A70;

  /* Couleurs tampons albums */
  --red:    #C0392B;
  --blue:   #2980B9;
  --green:  #27AE60;
  --purple: #7D3C98;

  --font-display: 'Caveat', cursive;
  --font-body:    'Nunito', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 10px rgba(30, 80, 40, 0.08);
}

/* ================================================
   RESET & BASE
================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ================================================
   BOUTONS
================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, opacity 0.15s;
  text-decoration: none;
}

.btn:hover  { transform: translateY(-2px); opacity: 0.92; }
.btn:active { transform: translateY(0);    opacity: 1; }

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-paper);
  color: var(--green-mid);
  border: 2px solid var(--green-light);
}

.btn-full {
  width: 100%;
}

/* ================================================
   NAVIGATION
================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-paper);
  border-bottom: 1.5px solid var(--green-pale);
  box-shadow: 0 2px 12px rgba(30, 80, 40, 0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo-img-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--brown);
  flex-shrink: 0;
}

.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* On cadre sur la partie centrale de l'illustration */
  object-position: center 30%;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--green-mid);
}

.nav-sub {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--brown);
}

/* Liens de navigation */
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-mid);
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--green-dark);
}

/* Bouton panier */
.nav-cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s, opacity 0.15s;
  flex-shrink: 0;
}

.nav-cart-btn:hover { transform: translateY(-2px); opacity: 0.9; }

.cart-badge {
  background: #fff;
  color: var(--orange);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

/* ================================================
   HERO
================================================ */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 28px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--bg-paper);
  border: 1.5px solid var(--green-light);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--green-mid);
  padding: 4px 14px;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-title em {
  color: var(--orange);
  font-style: normal;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  /* Ratio proche de l'illustration */
  aspect-ratio: 4/3;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* Effet bord déchiré entre hero et strip */
.paper-tear {
  height: 20px;
  background: var(--green-mid);
  /* Forme dentée façon papier déchiré */
  clip-path: polygon(
    0% 0%, 2% 100%, 4% 20%, 6% 100%, 8% 10%, 10% 100%,
    12% 30%, 14% 100%, 16% 15%, 18% 100%, 20% 5%, 22% 100%,
    24% 25%, 26% 100%, 28% 10%, 30% 100%, 32% 20%, 34% 100%,
    36% 15%, 38% 100%, 40% 5%, 42% 100%, 44% 30%, 46% 100%,
    48% 10%, 50% 100%, 52% 20%, 54% 100%, 56% 15%, 58% 100%,
    60% 5%, 62% 100%, 64% 25%, 66% 100%, 68% 10%, 70% 100%,
    72% 20%, 74% 100%, 76% 15%, 78% 100%, 80% 5%, 82% 100%,
    84% 30%, 86% 100%, 88% 10%, 90% 100%, 92% 25%, 94% 100%,
    96% 15%, 98% 100%, 100% 0%
  );
}

/* ================================================
   BANDEAU STRIP
================================================ */
.strip {
  background: var(--green-mid);
  padding: 12px 28px;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.strip-item {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #D4F0DC;
}

/* ================================================
   SECTIONS GÉNÉRIQUES
================================================ */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 28px;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-eyebrow {
  display: inline-block;
  background: var(--green-mid);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.section-title--left {
  text-align: left;
}

.section-sub {
  font-size: 14px;
  color: var(--text-light);
}

/* ================================================
   ALBUMS — GRILLE
================================================ */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Carte album */
.album-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--green-pale);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 80, 40, 0.12);
}

/* Image couverture */
.album-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-cover--red    { background: #FDECEA; }
.album-cover--blue   { background: #E6F1FB; }
.album-cover--green  { background: #E8F5E0; }
.album-cover--purple { background: #F2E6F8; }
.album-cover--orange { background: #FEF0E6; }

.album-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.album-placeholder {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12px;
  color: #aaa;
  height: 100%;
  width: 100%;
}

/* Tampon numéroté */
/* Tampons numérotés supprimés - numéros déjà sur les couvertures */

/* Infos sous la couverture */
.album-body {
  padding: 12px 12px 14px;
}

.album-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 4px;
  min-height: 38px;
}

.album-age {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.album-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.album-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.album-price--red    { color: var(--red); }
.album-price--blue   { color: var(--blue); }
.album-price--green  { color: var(--green); }
.album-price--purple { color: var(--purple); }
.album-price--orange { color: var(--orange); }

.album-btn {
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 6px 12px;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.album-btn:hover  { transform: scale(1.05); }
.album-btn:active { transform: scale(0.98); }

.album-btn--red    { background: var(--red); }
.album-btn--blue   { background: var(--blue); }
.album-btn--green  { background: var(--green); }
.album-btn--purple { background: var(--purple); }
.album-btn--orange { background: var(--orange); }

/* ================================================
   À PROPOS
================================================ */
.about-section {
  background: var(--bg-paper);
  max-width: 100%;
  padding: 64px 0;
}

.about-section > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 28px;
}

.about-section {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 28px;
  background: var(--bg-paper);
}

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--green-pale);
}

.about-image {
  width: 100%;
  object-fit: contain;
  object-position: center center;
  max-height: 340px;
  background: var(--bg-paper);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
}

.about-text strong {
  color: var(--green-dark);
}

/* ================================================
   BELLE-ÎLE
================================================ */
.island-section {
  background: var(--green-dark);
  padding: 56px 28px;
  text-align: center;
}

.island-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.island-sub {
  font-size: 14px;
  color: #8ECFA0;
  margin-bottom: 28px;
}

.island-sites {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.island-pill {
  background: rgba(255,255,255,0.12);
  color: #D4EDDA;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ================================================
   CONTACT
================================================ */
.contact-section {
  text-align: center;
}

.contact-btn {
  font-size: 18px;
  margin: 0 auto;
}

/* ================================================
   FOOTER
================================================ */
.footer {
  background: #103D22;
  padding: 24px 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-sub {
  font-size: 11px;
  color: #5A9A6A;
  margin-top: 3px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  font-family: var(--font-display);
  font-size: 15px;
  color: #8ECFA0;
  transition: color 0.15s;
}

.footer-link:hover {
  color: #fff;
}

/* ================================================
   PANIER — TIROIR LATÉRAL
================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 95vw;
  background: var(--bg-paper);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  border-left: 1.5px solid var(--green-pale);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1.5px solid var(--green-pale);
  flex-shrink: 0;
}

.cart-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--green-dark);
}

.cart-close {
  background: none;
  border: 1.5px solid var(--green-pale);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.cart-close:hover {
  background: var(--bg);
}

/* Zone scrollable des articles */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 17px;
  text-align: center;
  padding: 40px 20px;
}

.cart-empty span:first-child {
  font-size: 40px;
}

/* Ligne d'article dans le panier */
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--green-pale);
}

.cart-item-color {
  width: 6px;
  align-self: stretch;
  border-radius: 3px;
  flex-shrink: 0;
}

.cart-item-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-qty button {
  background: var(--bg);
  border: 1px solid var(--green-pale);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.cart-item-qty button:hover {
  background: var(--green-pale);
}

.cart-item-qty span {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--orange);
  min-width: 48px;
  text-align: right;
}

/* Bas du tiroir panier */
.cart-footer {
  padding: 16px 20px 24px;
  border-top: 1.5px solid var(--green-pale);
  flex-shrink: 0;
}

.cart-total {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 14px;
  text-align: right;
}

.cart-total strong {
  font-size: 24px;
  color: var(--green-dark);
}

.cart-note {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 8px;
}

/* ================================================
   MODAL COMMANDE
================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  background: var(--bg-paper);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  width: 440px;
  max-width: 95vw;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 301;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: 1.5px solid var(--green-pale);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.modal-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.modal-recapitulatif {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.8;
}

.modal-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 10px;
  line-height: 1.6;
}

/* ================================================
   RESPONSIVE — TABLETTE (≤ 900px)
================================================ */
@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;
    padding: 36px 20px 32px;
    text-align: center;
  }

  .hero-title { font-size: 36px; }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrap {
    order: -1;
    max-height: 260px;
  }

  .albums-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-image-wrap {
    overflow: hidden;
  }
  .about-image {
    max-height: 280px;
  }

  .nav-links {
    display: none;
  }
}

/* ================================================
   RESPONSIVE — MOBILE (≤ 560px)
================================================ */
@media (max-width: 560px) {

  .hero-title { font-size: 30px; }

  .strip {
    gap: 14px;
    padding: 10px 16px;
  }

  .strip-item { font-size: 13px; }

  .albums-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section { padding: 40px 16px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ================================================
   MODAL EMAIL BOX (copier adresse + commande)
================================================ */
.modal-email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border: 1.5px solid var(--green-pale);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 14px;
  gap: 10px;
}

.modal-email-adresse {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
  word-break: break-all;
}

.modal-copy-email-btn {
  background: var(--green-mid);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.modal-copy-email-btn:hover { opacity: 0.85; }

.modal-confirm {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--green-mid);
  font-weight: 600;
  min-height: 22px;
  margin-bottom: 6px;
}

.modal-email-direct {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--bg);
  border: 2px solid var(--green-light);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  margin-bottom: 14px;
  text-align: center;
  letter-spacing: 0.3px;
}

/* ================================================
   MODALE DÉTAIL ALBUM
================================================ */

.album-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.album-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.album-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.94);
  width: 820px;
  max-width: 95vw;
  max-height: 90vh;
  background: var(--bg-paper);
  border-radius: var(--radius-lg);
  z-index: 201;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}

.album-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.album-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--bg);
  border: 1.5px solid var(--green-pale);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.15s;
}

.album-modal-close:hover {
  background: var(--green-pale);
}

.album-modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

/* Image côté gauche */
.album-modal-image-wrap {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  min-height: 380px;
}

.album-modal-img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease;
}

.album-modal.open .album-modal-img {
  transform: scale(1.02);
}

/* Contenu côté droit */
.album-modal-content {
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.album-modal-stamp {
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.album-modal-stamp.red    { background: var(--red); }
.album-modal-stamp.blue   { background: var(--blue); }
.album-modal-stamp.green  { background: var(--green); }
.album-modal-stamp.purple { background: var(--purple); }
.album-modal-stamp.orange { background: var(--orange); }

.album-modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
}

.album-modal-age {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
}

.album-modal-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  flex: 1;
}

.album-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1.5px solid var(--green-pale);
}

.album-modal-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
}

/* Hover sur les cartes album */
.album-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Responsive mobile */
@media (max-width: 640px) {
  .album-modal {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    flex-direction: column;
  }
  .album-modal.open {
    transform: none;
  }
  .album-modal-inner {
    grid-template-columns: 1fr;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
  }
  .album-modal-image-wrap {
    min-height: 180px;
    padding: 16px;
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bg);
  }
  .album-modal-img {
    max-height: 200px;
  }
  .album-modal-content {
    padding: 20px 20px 36px;
  }
  .album-modal-title {
    font-size: 22px;
  }
  .album-modal-footer {
    position: sticky;
    bottom: 0;
    background: var(--bg-paper);
    padding: 12px 0 4px;
    margin-top: auto;
  }
}

/* ================================================
   LIGNE LIVRAISON DANS LE PANIER
================================================ */
.cart-shipping-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 8px;
  border-top: 1.5px dashed var(--green-pale);
  margin-top: 8px;
  gap: 10px;
}

.cart-shipping-label {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.4;
}

.cart-shipping-label small {
  font-size: 12px;
  color: var(--orange);
  font-family: var(--font-body);
  font-style: italic;
}

.cart-shipping-free {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}

.cart-shipping-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

/* ================================================
   FORMULAIRE ADRESSE DANS LA MODAL
================================================ */
.modal-step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
  text-align: left;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--green-pale);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg);
  transition: border-color 0.15s;
  outline: none;
}

.modal-input:focus {
  border-color: var(--green-mid);
}

.modal-input.error {
  border-color: var(--red);
  background: #FFF5F5;
}

.modal-input::placeholder {
  color: var(--text-light);
}

/* Récap adresse étape 2 */
.modal-adresse-recap {
  background: var(--bg);
  border: 1.5px solid var(--green-pale);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  text-align: left;
}

.modal-adresse-recap strong {
  color: var(--green-dark);
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 2px;
}

.modal-change-adresse {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
  margin-bottom: 14px;
  padding: 0;
  text-decoration: underline;
  display: block;
}

.modal-change-adresse:hover {
  color: var(--green-mid);
}

@media (max-width: 480px) {
  .modal-form-row {
    grid-template-columns: 1fr;
  }
}
