/* =========================================================
   PR VISUALS — Page Cartes cadeaux
   ========================================================= */
.gc-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: start; }
.gc-main { grid-column: 1 / 7; }
.gc-aside { grid-column: 8 / 13; align-self: stretch; }
.gc-sticky { container-type: inline-size; position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
@media (max-width: 1100px) { .gc-main { grid-column: 1 / 8; } .gc-aside { grid-column: 8 / 13; } }
@media (max-width: 900px) {
  .gc-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .gc-main, .gc-aside { grid-column: auto; }
  .gc-aside { order: -1; }
  .gc-sticky { position: static; }
}

/* Choix du fond */
.gc-looks-title { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-light); margin: 1.1rem 0 .55rem; }
.gc-looks-title:first-child { margin-top: .3rem; }
.gc-looks { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: .3rem; }
@media (max-width: 600px) { .gc-looks { grid-template-columns: repeat(3, 1fr); } }
.gc-look, .field .gc-look { position: relative; display: grid; gap: .4rem; cursor: pointer; font-size: .78rem; letter-spacing: .04em; text-transform: none; color: var(--grey-light); }
.gc-look input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.gc-swatch {
  display: block; aspect-ratio: 16 / 10; border: 1px solid var(--line-strong);
  background: var(--tile) center / cover no-repeat; transition: all .25s var(--ease);
  outline: 2px solid transparent; outline-offset: 3px;
}
.gc-swatch--noir { background-color: #0a0a0a; }
.gc-swatch--blanc { background-color: #f3f2ef; }
.gc-look:hover .gc-swatch { border-color: var(--white); }
.gc-look input:checked + .gc-swatch { outline-color: var(--white); border-color: var(--white); }
.gc-look input:checked ~ small { color: var(--white); }
.gc-look input:focus-visible + .gc-swatch { outline: 1px dashed var(--white); }

/* La carte (aperçu) — proportions en cqw (largeur de .gc-sticky = largeur de la carte) pour coller au fichier téléchargé */
.gc-card {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 10; width: 100%;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: 5.5cqw 6cqw 4.5cqw;
  background: #0a0a0a; color: #f3f2ef;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.gc-card-bg { position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; }
.gc-card[data-fond="blanc"] { background: #f3f2ef; color: #0a0a0a; border-color: #f3f2ef; }
.gc-card[data-encre="fonce"] { color: #0a0a0a; }
.gc-card[data-prix="non"] .gc-amount { display: none; }
.gc-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.gc-logo { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 4.4cqw; letter-spacing: .04em; line-height: 1; }
.gc-logo span { font-weight: 300; }
.gc-kind { font-size: 2.1cqw; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.gc-card-mid { align-self: center; display: grid; gap: 2cqw; padding: 2cqw 0; min-width: 0; }
.gc-for { font-weight: 700; font-stretch: 72%; text-transform: uppercase; font-size: 9cqw; line-height: .95; overflow-wrap: anywhere; }
.gc-for small { display: block; line-height: 1.2; font-size: 2.1cqw; font-weight: 500; font-stretch: 100%; letter-spacing: .3em; opacity: .7; margin-bottom: 1.2cqw; }
.gc-msg { font-size: 2.7cqw; line-height: 1.4; max-width: 80%; opacity: .9; overflow-wrap: anywhere; }
.gc-msg:empty { display: none; }
.gc-card[data-typo="elegante"] .gc-for { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; font-size: 10.5cqw; line-height: 1; }
.gc-card[data-typo="elegante"] .gc-msg { font-family: var(--serif); font-style: italic; font-size: 3.4cqw; }
.gc-card-bot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; border-top: 1px solid currentColor; padding-top: 2.2cqw; }
.gc-card-bot > div { min-width: 0; }
.gc-formule { font-weight: 700; font-stretch: 75%; text-transform: uppercase; font-size: 3.2cqw; letter-spacing: .03em; line-height: 1.1; }
.gc-small { font-size: 2.1cqw; opacity: .75; margin-top: .6cqw; }
.gc-amount { font-weight: 800; font-stretch: 72%; font-size: 8cqw; line-height: .85; white-space: nowrap; }
.gc-card-foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2cqw; font-size: 1.9cqw; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

.gc-terms { display: grid; gap: .5rem; font-size: .85rem; color: var(--grey); padding-left: 1rem; list-style: "— "; }
.gc-terms li::marker { color: var(--grey); }
.gc-note { font-size: .85rem; color: var(--grey); }
.gc-note a { text-decoration: underline; }

/* Après le paiement */
.gc-done { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)); }
.gc-done-wrap { display: grid; gap: 1.5rem; justify-items: start; max-width: 980px; }
.gc-done-title { font-size: clamp(3rem, 9vw, 7.5rem); }
.gc-done-img { width: 100%; height: auto; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); margin-top: 1rem; }
.gc-done-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 600px) { .gc-done-actions .btn { width: 100%; } }
body.gc-paid .page-head, body.gc-paid .gc { display: none; }

/* Impression : seulement la carte */
@media print {
  body.gc-paid * { visibility: hidden !important; }
  body.gc-paid .gc-done-img { visibility: visible !important; position: fixed; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; }
  body.gc-paid { background: #fff; }
}

/* Réservation : carte cadeau */
.gc-resa .chips { margin-top: 0; }
.gc-resa-code { display: grid; gap: .55rem; margin-top: 1rem; max-width: 26rem; }
.gc-resa-code input { text-transform: uppercase; letter-spacing: .12em; }
.gc-resa-code small { color: var(--grey); font-size: .8rem; line-height: 1.5; }
body.gc-paid .gc-how { display: none; }
