/* =========================================================
   Cartes cadeaux L’éQrin
   gc-card : the card itself (preview, email view, admin, cart)
   gc-*    : the "Carte cadeau" page
   ========================================================= */

/* ---------- The card ---------- */
.gc-card {
  --gc-line: rgba(0, 0, 0, 0.16);
  --gc-soft: rgba(0, 0, 0, 0.6);
  --gc-motif-opacity: 0.2;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.6;
  container-type: inline-size;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  background: var(--gc-bg, #323641);
  color: var(--gc-ink, #ffffff);
  font-family: var(--font-body, "Trebuchet MS", "Segoe UI", "Helvetica Neue", sans-serif);
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
  box-shadow:
    0 30px 60px -28px rgba(17, 19, 26, 0.55),
    0 12px 24px -14px rgba(17, 19, 26, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  transition: background 0.45s ease, color 0.45s ease;
}

.gc-card[data-ink="light"] {
  --gc-line: rgba(255, 255, 255, 0.34);
  --gc-soft: rgba(255, 255, 255, 0.8);
  --gc-motif-opacity: 0.26;
}

.gc-card--md { border-radius: 16px; }
.gc-card--sm { border-radius: 12px; }
.gc-card--xs { border-radius: 8px; box-shadow: 0 6px 14px -8px rgba(17, 19, 26, 0.45); }

.gc-card > span {
  position: absolute;
  display: block;
}

.gc-card__pattern {
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.gc-card__motif {
  z-index: 1;
  right: -5cqw;
  bottom: -9cqw;
  width: 54cqw;
  height: 54cqw;
  color: var(--gc-accent, #d8c6a3);
  opacity: var(--gc-motif-opacity);
  transform: rotate(-8deg);
  transition: color 0.45s ease;
}

.gc-card__motif svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gc-card__sheen {
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 28%, transparent 46%),
    radial-gradient(120% 80% at 100% 120%, rgba(0, 0, 0, 0.12), transparent 60%);
  mix-blend-mode: soft-light;
}

.gc-card__logo {
  z-index: 3;
  top: 5.5cqw;
  left: 6cqw;
  width: 15cqw;
  height: 15cqw;
  background-color: currentColor;
  -webkit-mask: url("img/logo-leqrin-trait.png") center / contain no-repeat;
  mask: url("img/logo-leqrin-trait.png") center / contain no-repeat;
}

@supports not ((mask-image: none) or (-webkit-mask-image: none)) {
  .gc-card__logo {
    background: url("img/logo-leqrin-badge.png") center / contain no-repeat;
  }
}

.gc-card__kind {
  z-index: 3;
  top: 7cqw;
  right: 6.5cqw;
  font-size: 2.3cqw;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gc-soft);
  border: 1px solid var(--gc-line);
  border-radius: 999px;
  padding: 1.1cqw 2.2cqw 1.1cqw 2.5cqw;
}

/* Live preview: a little life when the background changes */
.gc-card.is-changing .gc-card__motif {
  animation: gc-motif-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gc-card.is-changing .gc-card__greeting,
.gc-card.is-changing .gc-card__pattern {
  animation: gc-fade-in 0.6s ease;
}

@keyframes gc-motif-in {
  from { opacity: 0; transform: rotate(-20deg) scale(0.82) translateY(4cqw); }
  to { opacity: var(--gc-motif-opacity); transform: rotate(-8deg); }
}

@keyframes gc-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gc-card__body {
  z-index: 3;
  left: 6.5cqw;
  right: 30cqw;
  top: 26cqw;
  display: flex !important;
  flex-direction: column;
  gap: 0.6cqw;
}

.gc-card__greeting {
  display: block;
  font-family: "Pinyon Script", "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive;
  font-size: 7.4cqw;
  line-height: 1.05;
  color: var(--gc-accent, #d8c6a3);
  white-space: nowrap;
  margin-left: -0.4cqw;
  transition: color 0.45s ease;
}

.gc-card__amount {
  display: block;
  font-size: 15cqw;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}

/* One line across the whole card (over the motif): long names are cut with an
   ellipsis rather than wrapping onto the code line. */
.gc-card__names {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 2.4cqw;
  margin-top: 1cqw;
  margin-right: -23.5cqw;
  font-size: 2.9cqw;
  color: var(--gc-soft);
}

.gc-card__names > span {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* With names, the text block moves up a little so it clears the code line. */
.gc-card.has-names .gc-card__body {
  top: 22.5cqw;
}

.gc-card.has-names .gc-card__amount {
  font-size: 13.6cqw;
}

.gc-card__names .is-empty {
  display: none;
}

.gc-card__foot {
  z-index: 3;
  left: 6.5cqw;
  right: 6.5cqw;
  bottom: 5cqw;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 3cqw;
  padding-top: 2.6cqw;
  border-top: 1px dashed var(--gc-line);
}

.gc-card__code {
  font-family: "Courier New", Courier, monospace;
  font-size: 3.4cqw;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.gc-card__site {
  font-size: 2.6cqw;
  letter-spacing: 0.08em;
  color: var(--gc-soft);
}

/* Small cards: decoration only */
.gc-card--xs .gc-card__logo {
  width: 22cqw;
  height: 22cqw;
  top: 8cqw;
  left: 8cqw;
}

.gc-card--xs .gc-card__motif {
  width: 70cqw;
  height: 70cqw;
  right: -10cqw;
  bottom: -14cqw;
}

/* ---------- Background patterns ---------- */
.gc-pattern--stars,
.gc-pattern--snow,
.gc-pattern--hearts,
.gc-pattern--petals,
.gc-pattern--dots,
.gc-pattern--stripes,
.gc-pattern--grid,
.gc-pattern--bubbles,
.gc-pattern--waves {
  background-color: var(--gc-pattern-color, transparent);
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}

.gc-pattern--stars {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M14 6l1.8 5.2L21 13l-5.2 1.8L14 20l-1.8-5.2L7 13l5.2-1.8z'/%3E%3Cpath d='M44 34l1.2 3.3 3.3 1.2-3.3 1.2L44 43l-1.2-3.3-3.3-1.2 3.3-1.2z'/%3E%3Ccircle cx='42' cy='12' r='1.3'/%3E%3Ccircle cx='18' cy='44' r='1.6'/%3E%3Ccircle cx='54' cy='54' r='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M14 6l1.8 5.2L21 13l-5.2 1.8L14 20l-1.8-5.2L7 13l5.2-1.8z'/%3E%3Cpath d='M44 34l1.2 3.3 3.3 1.2-3.3 1.2L44 43l-1.2-3.3-3.3-1.2 3.3-1.2z'/%3E%3Ccircle cx='42' cy='12' r='1.3'/%3E%3Ccircle cx='18' cy='44' r='1.6'/%3E%3Ccircle cx='54' cy='54' r='1'/%3E%3C/svg%3E");
  -webkit-mask-size: 12cqw 12cqw;
  mask-size: 12cqw 12cqw;
}

.gc-pattern--snow {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Ccircle cx='8' cy='10' r='2.4'/%3E%3Ccircle cx='34' cy='6' r='1.4'/%3E%3Ccircle cx='50' cy='22' r='2.8'/%3E%3Ccircle cx='22' cy='30' r='1.6'/%3E%3Ccircle cx='6' cy='48' r='1.8'/%3E%3Ccircle cx='40' cy='44' r='2.2'/%3E%3Ccircle cx='56' cy='56' r='1.2'/%3E%3Ccircle cx='26' cy='54' r='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Ccircle cx='8' cy='10' r='2.4'/%3E%3Ccircle cx='34' cy='6' r='1.4'/%3E%3Ccircle cx='50' cy='22' r='2.8'/%3E%3Ccircle cx='22' cy='30' r='1.6'/%3E%3Ccircle cx='6' cy='48' r='1.8'/%3E%3Ccircle cx='40' cy='44' r='2.2'/%3E%3Ccircle cx='56' cy='56' r='1.2'/%3E%3Ccircle cx='26' cy='54' r='1'/%3E%3C/svg%3E");
  -webkit-mask-size: 11cqw 11cqw;
  mask-size: 11cqw 11cqw;
}

.gc-pattern--hearts {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M15 22c-6-4.6-8-8-6-11 1.6-2.4 4.8-2.3 6 .2 1.2-2.5 4.4-2.6 6-.2 2 3 0 6.4-6 11z'/%3E%3Cpath d='M45 52c-4-3-5.4-5.4-4-7.4 1.1-1.6 3.2-1.5 4 .2.8-1.7 2.9-1.8 4-.2 1.4 2 0 4.4-4 7.4z'/%3E%3Ccircle cx='46' cy='16' r='1.4'/%3E%3Ccircle cx='14' cy='46' r='1.2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M15 22c-6-4.6-8-8-6-11 1.6-2.4 4.8-2.3 6 .2 1.2-2.5 4.4-2.6 6-.2 2 3 0 6.4-6 11z'/%3E%3Cpath d='M45 52c-4-3-5.4-5.4-4-7.4 1.1-1.6 3.2-1.5 4 .2.8-1.7 2.9-1.8 4-.2 1.4 2 0 4.4-4 7.4z'/%3E%3Ccircle cx='46' cy='16' r='1.4'/%3E%3Ccircle cx='14' cy='46' r='1.2'/%3E%3C/svg%3E");
  -webkit-mask-size: 12cqw 12cqw;
  mask-size: 12cqw 12cqw;
}

.gc-pattern--petals {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg transform='translate(15 15)'%3E%3Cellipse cy='-4' rx='2.4' ry='4'/%3E%3Cellipse cy='-4' rx='2.4' ry='4' transform='rotate(72)'/%3E%3Cellipse cy='-4' rx='2.4' ry='4' transform='rotate(144)'/%3E%3Cellipse cy='-4' rx='2.4' ry='4' transform='rotate(216)'/%3E%3Cellipse cy='-4' rx='2.4' ry='4' transform='rotate(288)'/%3E%3C/g%3E%3Cpath d='M44 42c4-6 10-6 12-4-2 4-8 6-12 4z'/%3E%3Ccircle cx='46' cy='14' r='1.3'/%3E%3Ccircle cx='12' cy='48' r='1.6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg transform='translate(15 15)'%3E%3Cellipse cy='-4' rx='2.4' ry='4'/%3E%3Cellipse cy='-4' rx='2.4' ry='4' transform='rotate(72)'/%3E%3Cellipse cy='-4' rx='2.4' ry='4' transform='rotate(144)'/%3E%3Cellipse cy='-4' rx='2.4' ry='4' transform='rotate(216)'/%3E%3Cellipse cy='-4' rx='2.4' ry='4' transform='rotate(288)'/%3E%3C/g%3E%3Cpath d='M44 42c4-6 10-6 12-4-2 4-8 6-12 4z'/%3E%3Ccircle cx='46' cy='14' r='1.3'/%3E%3Ccircle cx='12' cy='48' r='1.6'/%3E%3C/svg%3E");
  -webkit-mask-size: 13cqw 13cqw;
  mask-size: 13cqw 13cqw;
}

.gc-pattern--dots {
  -webkit-mask-image: radial-gradient(circle, #000 0 1.1px, transparent 1.6px);
  mask-image: radial-gradient(circle, #000 0 1.1px, transparent 1.6px);
  -webkit-mask-size: 3.4cqw 3.4cqw;
  mask-size: 3.4cqw 3.4cqw;
}

.gc-pattern--stripes {
  -webkit-mask-image: repeating-linear-gradient(135deg, #000 0 1px, transparent 1px 2.4cqw);
  mask-image: repeating-linear-gradient(135deg, #000 0 1px, transparent 1px 2.4cqw);
}

.gc-pattern--grid {
  -webkit-mask-image: linear-gradient(#000 1px, transparent 1px), linear-gradient(90deg, #000 1px, transparent 1px);
  mask-image: linear-gradient(#000 1px, transparent 1px), linear-gradient(90deg, #000 1px, transparent 1px);
  -webkit-mask-size: 5cqw 5cqw;
  mask-size: 5cqw 5cqw;
}

.gc-pattern--bubbles {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='none' stroke='black' stroke-width='1.2'%3E%3Ccircle cx='12' cy='14' r='5'/%3E%3Ccircle cx='40' cy='8' r='2.6'/%3E%3Ccircle cx='46' cy='36' r='7'/%3E%3Ccircle cx='18' cy='44' r='3'/%3E%3Ccircle cx='30' cy='26' r='1.6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='none' stroke='black' stroke-width='1.2'%3E%3Ccircle cx='12' cy='14' r='5'/%3E%3Ccircle cx='40' cy='8' r='2.6'/%3E%3Ccircle cx='46' cy='36' r='7'/%3E%3Ccircle cx='18' cy='44' r='3'/%3E%3Ccircle cx='30' cy='26' r='1.6'/%3E%3C/svg%3E");
  -webkit-mask-size: 14cqw 14cqw;
  mask-size: 14cqw 14cqw;
}

.gc-pattern--waves {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 20' fill='none' stroke='black' stroke-width='1.1'%3E%3Cpath d='M0 10c10-8 30-8 40 0s30 8 40 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 20' fill='none' stroke='black' stroke-width='1.1'%3E%3Cpath d='M0 10c10-8 30-8 40 0s30 8 40 0'/%3E%3C/svg%3E");
  -webkit-mask-size: 16cqw 4cqw;
  mask-size: 16cqw 4cqw;
}

.gc-pattern--confetti {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Crect x='10' y='14' width='9' height='4' rx='1' fill='%23d8573c' transform='rotate(25 14 16)'/%3E%3Crect x='70' y='8' width='9' height='4' rx='1' fill='%23f2b134' transform='rotate(-30 74 10)'/%3E%3Ccircle cx='100' cy='34' r='3' fill='%235a8ec7'/%3E%3Crect x='40' y='44' width='8' height='4' rx='1' fill='%2357865a' transform='rotate(60 44 46)'/%3E%3Ccircle cx='20' cy='70' r='2.6' fill='%23f2b134'/%3E%3Crect x='86' y='76' width='9' height='4' rx='1' fill='%23d43a5a' transform='rotate(-50 90 78)'/%3E%3Ccircle cx='58' cy='96' r='2.4' fill='%237363e6'/%3E%3Crect x='14' y='104' width='8' height='4' rx='1' fill='%235a8ec7' transform='rotate(15 18 106)'/%3E%3Ccircle cx='108' cy='110' r='2' fill='%23d8573c'/%3E%3C/svg%3E");
  background-size: 26cqw 26cqw;
  opacity: 0.55;
}

.gc-pattern--confetti-gold {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Crect x='10' y='14' width='9' height='3.4' rx='1' fill='%23e7c47d' transform='rotate(25 14 16)'/%3E%3Crect x='70' y='8' width='9' height='3.4' rx='1' fill='%23fff1cf' transform='rotate(-30 74 10)'/%3E%3Ccircle cx='100' cy='34' r='2.6' fill='%23c9a14a'/%3E%3Crect x='40' y='44' width='8' height='3.4' rx='1' fill='%23f6e2a6' transform='rotate(60 44 46)'/%3E%3Ccircle cx='20' cy='70' r='2.2' fill='%23e7c47d'/%3E%3Crect x='86' y='76' width='9' height='3.4' rx='1' fill='%23b38d4b' transform='rotate(-50 90 78)'/%3E%3Ccircle cx='58' cy='96' r='1.8' fill='%23fff1cf'/%3E%3Crect x='14' y='104' width='8' height='3.4' rx='1' fill='%23c9a14a' transform='rotate(15 18 106)'/%3E%3Ccircle cx='108' cy='110' r='1.6' fill='%23e7c47d'/%3E%3C/svg%3E");
  background-size: 24cqw 24cqw;
  opacity: 0.6;
}

/* =========================================================
   Page "Carte cadeau"
   ========================================================= */
.gc-page {
  --gc-ui-ink: #1f2330;
  --gc-ui-slate: #323641;
  --gc-ui-muted: #6b7280;
  --gc-ui-line: #e8e4dc;
  --gc-ui-cream: #fbf8f2;
  --gc-ui-gold: #b38d4b;
  --gc-ui-gold-deep: #8a6a2b;
  color: var(--gc-ui-ink);
  padding-bottom: 40px;
}

.gc-page h1,
.gc-page h2,
.gc-page h3 {
  color: var(--gc-ui-ink);
}

.gc-script {
  font-family: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  color: var(--gc-ui-gold);
}

.gc-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gc-ui-gold-deep);
}

.gc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 26px;
  border: 1px solid var(--gc-ui-slate);
  border-radius: 999px;
  background: var(--gc-ui-slate);
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 12px 26px -10px rgba(50, 54, 65, 0.5);
}

.gc-btn:hover,
.gc-btn:focus-visible {
  background: #23262f;
  color: #ffffff;
  transform: translateY(-1px);
}

.gc-btn:focus-visible {
  outline: 2px solid var(--gc-ui-gold);
  outline-offset: 3px;
}

.gc-btn--ghost {
  background: transparent;
  color: var(--gc-ui-slate);
  box-shadow: none;
}

.gc-btn--ghost:hover,
.gc-btn--ghost:focus-visible {
  background: var(--gc-ui-slate);
  color: #ffffff;
}

/* Hero */
.gc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 48px;
  padding: 54px 0 34px;
}

.gc-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.gc-hero h1 .gc-script {
  font-size: 1.22em;
  padding-right: 0.06em;
}

.gc-hero__lead {
  margin: 0 0 22px;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.6;
  color: #4b5160;
}

.gc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.gc-badges li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--gc-ui-line);
  border-radius: 999px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.gc-badges svg {
  width: 15px;
  height: 15px;
  color: var(--gc-ui-gold);
  flex: 0 0 auto;
}

.gc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.gc-hero__visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.gc-hero__visual::before {
  content: "";
  position: absolute;
  inset: 4% 2%;
  border-radius: 40px;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(201, 161, 74, 0.2), transparent 70%),
    linear-gradient(160deg, #f7f2e9, #efe6d6);
}

.gc-fan {
  position: relative;
  width: min(440px, 88%);
  aspect-ratio: 1.6;
}

.gc-fan .gc-card {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gc-fan .gc-card:nth-child(1) { transform: translate(-16%, -14%) rotate(-11deg) scale(0.86); }
.gc-fan .gc-card:nth-child(2) { transform: translate(17%, -6%) rotate(8deg) scale(0.88); }
.gc-fan .gc-card:nth-child(3) { transform: translate(0, 16%) rotate(-2deg); }

.gc-hero__visual:hover .gc-fan .gc-card:nth-child(1) { transform: translate(-20%, -18%) rotate(-14deg) scale(0.86); }
.gc-hero__visual:hover .gc-fan .gc-card:nth-child(2) { transform: translate(21%, -9%) rotate(11deg) scale(0.88); }

/* Success banner */
.gc-added {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin: 10px 0 0;
  padding: 18px 22px;
  border: 1px solid #cfe3d3;
  border-radius: 20px;
  background: linear-gradient(120deg, #f4faf5, #ffffff);
}

.gc-added h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.gc-added p {
  margin: 0 0 12px;
  color: #4b5160;
  font-size: 14px;
}

.gc-added__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gc-added__actions .gc-btn {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 14px;
}

/* Anchors (#gc-added, #gc-config, #gc-solde...) land below the sticky site header. */
.gc-page [id] {
  scroll-margin-top: 136px;
}

/* Configurator */
.gc-config {
  padding: 30px 0 20px;
}

.gc-section-head {
  margin-bottom: 22px;
}

.gc-section-head h2 {
  margin: 6px 0 4px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
}

.gc-section-head p {
  margin: 0;
  color: var(--gc-ui-muted);
  font-size: 15px;
}

.gc-config__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.gc-config__preview {
  position: sticky;
  top: 100px;
}

.gc-preview {
  padding: 34px 34px 28px;
  border-radius: 28px;
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(160deg, #f4efe6, #e9e0d0);
  border: 1px solid var(--gc-ui-line);
}

.gc-preview .gc-card {
  transform: perspective(1200px) rotateX(2deg);
}

.gc-preview__message {
  position: relative;
  margin: 22px 6px 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--gc-ui-line);
  font-style: italic;
  color: #3b3226;
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-line;
  word-break: break-word;
}

.gc-preview__message::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 28px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid var(--gc-ui-line);
  border-top: 1px solid var(--gc-ui-line);
  transform: rotate(45deg);
}

.gc-preview__note {
  margin: 14px 6px 0;
  font-size: 12.5px;
  color: var(--gc-ui-muted);
  text-align: center;
}

.gc-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: gc-step;
}

.gc-step {
  counter-increment: gc-step;
}

.gc-step__num::before {
  content: counter(gc-step);
}

/* Without JavaScript every background is listed by occasion: no chips needed */
.gc-step--occasion {
  display: none;
}

.is-enhanced .gc-step--occasion {
  display: block;
}

.gc-step {
  margin: 0;
  padding: 20px 22px 22px;
  border: 1px solid var(--gc-ui-line);
  border-radius: 22px;
  background: #ffffff;
  min-width: 0;
}

.gc-step legend,
.gc-step__title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--gc-ui-ink);
  float: left;
  width: 100%;
}

/* Every sibling clears the floated legend, not only the next one: the theme
   groups of the other occasions are hidden, so the visible group is rarely
   the legend's direct neighbour. */
.gc-step legend ~ *,
.gc-step__title ~ * {
  clear: both;
}

.gc-step__num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gc-ui-slate);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  flex: 0 0 auto;
}

.gc-step__hint {
  margin: -6px 0 12px;
  font-size: 13px;
  color: var(--gc-ui-muted);
}

.gc-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Occasion chips */
.gc-occasions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gc-chip {
  position: relative;
}

.gc-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gc-chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--gc-ui-line);
  border-radius: 999px;
  background: var(--gc-ui-cream);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.gc-chip svg {
  width: 20px;
  height: 20px;
  color: var(--gc-ui-gold);
  flex: 0 0 auto;
}

.gc-chip input:checked + span {
  background: var(--gc-ui-slate);
  border-color: var(--gc-ui-slate);
  color: #ffffff;
  box-shadow: 0 8px 18px -8px rgba(50, 54, 65, 0.6);
}

.gc-chip input:checked + span svg {
  color: #e7c47d;
}

.gc-chip input:focus-visible + span {
  outline: 2px solid var(--gc-ui-gold);
  outline-offset: 2px;
}

.gc-chip span:hover {
  border-color: #cdbf9f;
}

/* Theme swatches */
.gc-theme-group + .gc-theme-group {
  margin-top: 14px;
}

.gc-theme-group__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gc-ui-muted);
}

.is-enhanced .gc-theme-group__title {
  display: none;
}

.is-enhanced .gc-theme-group:not(.is-current) {
  display: none;
}

.is-enhanced .gc-theme-group + .gc-theme-group {
  margin-top: 0;
}

.gc-swatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gc-swatch {
  position: relative;
  display: block;
  cursor: pointer;
}

.gc-swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gc-swatch__card {
  display: block;
  border-radius: 12px;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: outline-color 0.2s ease, transform 0.2s ease;
}

.gc-swatch__card .gc-card {
  border-radius: 10px;
}

.gc-swatch__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: #4b5160;
}

.gc-swatch:hover .gc-swatch__card {
  transform: translateY(-2px);
}

.gc-swatch input:checked + .gc-swatch__card {
  outline-color: var(--gc-ui-slate);
}

.gc-swatch input:checked ~ .gc-swatch__label {
  color: var(--gc-ui-ink);
  font-weight: 800;
}

.gc-swatch input:focus-visible + .gc-swatch__card {
  outline-color: var(--gc-ui-gold);
}

.gc-swatch__check {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gc-ui-slate);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.25, 1.3);
}

.gc-swatch__check svg {
  width: 13px;
  height: 13px;
}

.gc-swatch input:checked ~ .gc-swatch__check {
  transform: scale(1);
}

/* Amounts */
.gc-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gc-amount {
  position: relative;
  display: block;
  cursor: pointer;
}

.gc-amount input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gc-amount__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 84px;
  padding: 12px 10px;
  border: 1.5px solid var(--gc-ui-line);
  border-radius: 16px;
  background: var(--gc-ui-cream);
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gc-amount__value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.gc-amount__note {
  font-size: 12px;
  color: var(--gc-ui-muted);
}

.gc-amount input[type="radio"]:checked + .gc-amount__box {
  border-color: var(--gc-ui-slate);
  background: #ffffff;
  box-shadow: 0 10px 22px -12px rgba(50, 54, 65, 0.55);
}

.gc-amount input[type="radio"]:focus-visible + .gc-amount__box {
  outline: 2px solid var(--gc-ui-gold);
  outline-offset: 2px;
}

.gc-stepper {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1.5px solid var(--gc-ui-slate);
  border-radius: 16px;
  background: #ffffff;
}

.gc-amounts-wrap.is-custom .gc-stepper,
.gc-amounts-wrap:not(.is-enhanced) .gc-stepper {
  display: flex;
}

.gc-stepper__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gc-ui-line);
  border-radius: 50%;
  background: var(--gc-ui-cream);
  color: var(--gc-ui-ink);
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.gc-stepper__btn:hover:not(:disabled),
.gc-stepper__btn:focus-visible {
  background: var(--gc-ui-slate);
  color: #ffffff;
  outline: none;
}

.gc-stepper__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gc-stepper__field {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
}

.gc-stepper__field input {
  width: 4.2ch;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 30px;
  font-weight: 800;
  text-align: right;
  color: var(--gc-ui-ink);
  -moz-appearance: textfield;
}

.gc-stepper__field input::-webkit-outer-spin-button,
.gc-stepper__field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.gc-stepper__field input:focus {
  outline: none;
}

.gc-stepper__field span {
  font-size: 24px;
  font-weight: 800;
}

.gc-stepper__hint {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--gc-ui-muted);
}

/* Fields */
.gc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.gc-field--full {
  grid-column: 1 / -1;
}

.gc-field label {
  font-size: 13px;
  font-weight: 700;
  color: #3d4250;
}

.gc-field label small {
  font-weight: 400;
  color: var(--gc-ui-muted);
}

.gc-field input,
.gc-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd8cd;
  border-radius: 12px;
  background: #ffffff;
  font: inherit;
  font-size: 15px;
  color: var(--gc-ui-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gc-field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.gc-field input:focus,
.gc-field textarea:focus {
  outline: none;
  border-color: var(--gc-ui-slate);
  box-shadow: 0 0 0 3px rgba(50, 54, 65, 0.12);
}

.gc-field__meta {
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
  color: var(--gc-ui-muted);
}

.gc-field__error {
  margin: 0;
  font-size: 12.5px;
  color: #9b2c1f;
}

.gc-field.has-error input,
.gc-field.has-error textarea {
  border-color: #c2412d;
}

/* Delivery */
.gc-delivery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gc-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.gc-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gc-option__box {
  display: flex;
  gap: 12px;
  height: 100%;
  padding: 14px;
  border: 1.5px solid var(--gc-ui-line);
  border-radius: 16px;
  background: var(--gc-ui-cream);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gc-option__box svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--gc-ui-gold);
}

.gc-option__box strong {
  display: block;
  font-size: 14px;
}

.gc-option__box small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--gc-ui-muted);
}

.gc-option input:checked + .gc-option__box {
  border-color: var(--gc-ui-slate);
  background: #ffffff;
}

.gc-option input:focus-visible + .gc-option__box {
  outline: 2px solid var(--gc-ui-gold);
  outline-offset: 2px;
}

.gc-recipient-email {
  margin-top: 12px;
}

.is-enhanced .gc-recipient-email.is-hidden,
.is-enhanced .gc-greeting-field.is-hidden {
  display: none;
}

/* Submit */
.gc-submit {
  position: sticky;
  bottom: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 14px 14px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--gc-ui-line);
  box-shadow: 0 18px 40px -18px rgba(17, 19, 26, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gc-submit__total {
  display: flex;
  flex-direction: column;
}

.gc-submit__total span {
  font-size: 12px;
  color: var(--gc-ui-muted);
}

.gc-submit__total strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gc-submit .gc-btn {
  flex: 0 1 auto;
}

.gc-errors {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fdf0ee;
  border: 1px solid #f3cdc5;
  color: #8a2a1c;
  font-size: 14px;
}

.gc-errors ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* How it works */
.gc-how {
  padding: 46px 0 10px;
}

.gc-how__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: gc-how;
}

.gc-how__item {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--gc-ui-line);
  border-radius: 22px;
  background: #ffffff;
}

.gc-how__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--gc-ui-cream);
  color: var(--gc-ui-gold-deep);
}

.gc-how__icon svg {
  width: 26px;
  height: 26px;
}

.gc-how__item h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.gc-how__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #4b5160;
}

/* FAQ + balance */
.gc-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px;
  padding: 40px 0 10px;
  align-items: start;
}

.gc-faq details {
  border-bottom: 1px solid var(--gc-ui-line);
  padding: 14px 2px;
}

.gc-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 15px;
}

.gc-faq summary::-webkit-details-marker {
  display: none;
}

.gc-faq summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: var(--gc-ui-gold-deep);
  transition: transform 0.2s ease;
}

.gc-faq details[open] summary::after {
  transform: rotate(45deg);
}

.gc-faq details p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5160;
}

.gc-balance {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(160deg, #353a46, #22252d);
  color: #ffffff;
}

.gc-balance h2 {
  margin: 4px 0 6px;
  font-size: 22px;
  color: #ffffff;
}

.gc-balance p {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.gc-balance .gc-eyebrow {
  color: #e7c47d;
}

.gc-balance__form {
  display: flex;
  gap: 8px;
}

.gc-balance__form input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gc-balance__form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.gc-balance__form input:focus {
  outline: none;
  border-color: #e7c47d;
}

.gc-balance__form button {
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: #e7c47d;
  color: #2a2110;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.gc-balance__form button:hover,
.gc-balance__form button:focus-visible {
  background: #f3d79a;
  outline: none;
}

.gc-balance__result {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.gc-balance__result strong {
  font-size: 20px;
  color: #f3d79a;
}

.gc-balance__result.is-warn {
  background: rgba(194, 65, 45, 0.25);
}

/* Home page promo */
.gc-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 36px 42px;
  border-radius: 30px;
  background:
    radial-gradient(60% 80% at 85% 50%, rgba(201, 161, 74, 0.22), transparent 70%),
    linear-gradient(150deg, #f7f2e9 0%, #efe6d6 100%);
  border: 1px solid #e6dccb;
  overflow: hidden;
}

.gc-promo h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1f2330;
}

.gc-promo p {
  margin: 0 0 20px;
  color: #4b5160;
  font-size: 16px;
  line-height: 1.6;
}

.gc-promo__amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.gc-promo__amounts li {
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e6dccb;
  font-size: 14px;
  font-weight: 700;
  color: #1f2330;
}

.gc-promo__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.gc-promo__visual .gc-fan {
  display: block;
  width: min(400px, 82%);
  margin: 7% 0;
}

.gc-promo h2 .gc-script {
  font-size: 1.2em;
  padding-right: 0.06em;
}

a.gc-promo__visual {
  color: inherit;
  text-decoration: none;
}

.gc-promo__visual:hover .gc-fan .gc-card:nth-child(1) { transform: translate(-20%, -18%) rotate(-14deg) scale(0.86); }
.gc-promo__visual:hover .gc-fan .gc-card:nth-child(2) { transform: translate(21%, -9%) rotate(11deg) scale(0.88); }

/* View page */
.gc-view {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 50px;
}

.gc-view__head {
  text-align: center;
  margin-bottom: 26px;
}

.gc-view__head h1 {
  margin: 8px 0 6px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
}

.gc-view__head p {
  margin: 0;
  color: var(--gc-ui-muted);
}

.gc-view__card {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(160deg, #f4efe6, #e9e0d0);
}

.gc-view__message {
  margin: 22px 0 0;
  padding: 18px 22px;
  border-left: 3px solid #c9a46a;
  border-radius: 0 16px 16px 0;
  background: #fbf8f2;
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: #3b3226;
  white-space: pre-line;
  word-break: break-word;
}

.gc-view__message strong {
  display: block;
  margin-top: 8px;
  font-style: normal;
}

.gc-view__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.gc-view__fact {
  padding: 14px 16px;
  border: 1px solid var(--gc-ui-line);
  border-radius: 16px;
  background: #ffffff;
}

.gc-view__fact span {
  display: block;
  font-size: 12px;
  color: var(--gc-ui-muted);
}

.gc-view__fact strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 800;
}

.gc-view__how {
  margin: 0 0 22px;
  padding: 18px 22px;
  border: 1px solid var(--gc-ui-line);
  border-radius: 18px;
  background: #ffffff;
}

.gc-view__how h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.gc-view__how ol {
  margin: 0;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #3d4250;
}

.gc-view__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Cart / checkout */
.cart-product__media--gift {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  overflow: visible !important;
}

.cart-product__media--gift .gc-card {
  width: 100%;
}

.cart-codes {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-codes li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border: 1px dashed #d8cbb0;
  border-radius: 12px;
  background: #fbf8f2;
  font-size: 13px;
  line-height: 1.4;
}

.cart-codes small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
}

.cart-codes .btn {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: 11px;
}

.gc-order-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0 6px;
}

.gc-order-cards a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gc-order-cards small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .gc-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 34px;
  }

  .gc-hero__visual {
    min-height: 300px;
    order: -1;
  }

  .gc-config__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gc-config__preview {
    position: relative;
    top: 0;
  }

  .gc-preview {
    padding: 20px;
    border-radius: 22px;
  }

  .gc-bottom {
    grid-template-columns: 1fr;
  }

  .gc-promo {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 10px;
  }

  .gc-promo__visual {
    order: -1;
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .gc-how__grid,
  .gc-view__facts {
    grid-template-columns: 1fr;
  }

  .gc-fields,
  .gc-delivery {
    grid-template-columns: 1fr;
  }

  .gc-swatches {
    gap: 8px;
  }

  .gc-amount__value {
    font-size: 22px;
  }

  .gc-step {
    padding: 16px 14px 18px;
    border-radius: 18px;
  }

  .gc-submit {
    padding: 10px 10px 10px 16px;
    bottom: 8px;
  }

  .gc-submit__total strong {
    font-size: 20px;
  }

  .gc-submit .gc-btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .gc-added {
    grid-template-columns: 1fr;
  }

  .gc-added .gc-card {
    max-width: 200px;
  }

  .gc-balance__form {
    flex-direction: column;
  }

  .gc-view__card {
    padding: 14px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gc-card,
  .gc-fan .gc-card,
  .gc-swatch__card,
  .gc-swatch__check {
    transition: none !important;
  }

  .gc-card.is-changing .gc-card__motif,
  .gc-card.is-changing .gc-card__greeting,
  .gc-card.is-changing .gc-card__pattern {
    animation: none !important;
  }
}

/* Lighter page: no frame around each step, badge or "how" item.
   Steps are separated by a thin line; frames stay only on what you click
   (amounts, delivery choice, backgrounds). */
.gc-step {
  padding: 26px 0 4px;
  border: 0;
  border-top: 1px solid var(--gc-ui-line);
  border-radius: 0;
  background: transparent;
}

.gc-steps > .gc-step:first-child,
.gc-steps > .gc-step--occasion + .gc-step:not(.gc-step--occasion) {
  border-top: 0;
  padding-top: 0;
}

.is-enhanced .gc-steps > .gc-step--occasion + .gc-step {
  border-top: 1px solid var(--gc-ui-line);
  padding-top: 26px;
}

.gc-badges li {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.gc-badges {
  column-gap: 20px;
}

.gc-how__item {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.gc-preview {
  border: 0;
}

@media (max-width: 640px) {
  .gc-step {
    padding: 20px 0 2px;
    border-radius: 0;
  }
}

/* Print sheet of the view page: a credit-card sized strip (85.6 x 54 mm),
   front and back side by side, to cut out and fold. Hidden on screen. */
.gc-print {
  display: none;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 18mm 15mm;
  }

  html,
  body {
    background: #fff !important;
  }

  body > :not(main),
  .gc-page > :not(.gc-view),
  .gc-view > :not(.gc-print),
  .site-header,
  .site-footer,
  .topbar,
  .cookie-consent {
    display: none !important;
  }

  .gc-page,
  .gc-view {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    background: none !important;
  }

  .gc-print {
    display: block;
    color: #222;
    font-family: inherit;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .gc-print__hint {
    margin: 0 0 6mm;
    font-size: 9pt;
    color: #666;
  }

  .gc-print__strip {
    position: relative;
    display: flex;
    width: calc(2 * 85.6mm);
    height: 54mm;
    break-inside: avoid;
    outline: 0.3mm dashed #8a8a8a;
    outline-offset: 1.5mm;
  }

  /* Fold line */
  .gc-print__strip::after {
    content: "";
    position: absolute;
    top: -4mm;
    bottom: -4mm;
    left: 85.6mm;
    border-left: 0.3mm dotted #8a8a8a;
  }

  .gc-print__face {
    position: relative;
    flex: 0 0 85.6mm;
    width: 85.6mm;
    height: 54mm;
    overflow: hidden;
  }

  .gc-print .gc-card {
    width: 85.6mm;
    height: 54mm;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
  }

  .gc-print__face--back {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 4.5mm 5.5mm 4mm;
    background: var(--gc-bg, #323641);
    color: var(--gc-ink, #fff);
    --gc-soft: rgba(0, 0, 0, 0.6);
    --gc-line: rgba(0, 0, 0, 0.18);
  }

  .gc-print__face--back[data-ink="light"] {
    --gc-soft: rgba(255, 255, 255, 0.8);
    --gc-line: rgba(255, 255, 255, 0.34);
  }

  .gc-print__logo {
    position: absolute;
    top: 4mm;
    right: 5mm;
    width: 11mm;
    height: 11mm;
    background-color: currentColor;
    -webkit-mask: url("img/logo-leqrin-trait.png") center / contain no-repeat;
    mask: url("img/logo-leqrin-trait.png") center / contain no-repeat;
  }

  .gc-print__message {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding-right: 13mm;
    overflow: hidden;
    font-size: 7.6pt;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .gc-print__message span {
    display: block;
    margin-top: 1.2mm;
    font-weight: 700;
    color: var(--gc-accent);
  }

  .gc-print__message--default {
    font-style: italic;
    color: var(--gc-soft);
  }

  .gc-print__facts {
    display: flex;
    gap: 6mm;
    margin: 2mm 0 0;
    padding-top: 2mm;
    border-top: 0.25mm dashed var(--gc-line);
  }

  .gc-print__facts dt {
    font-size: 5.6pt;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gc-soft);
  }

  .gc-print__facts dd {
    margin: 0.4mm 0 0;
    font-size: 8pt;
    font-weight: 700;
  }

  .gc-print__code {
    font-family: "Courier New", Courier, monospace;
    letter-spacing: 0.06em;
  }

  .gc-print__use {
    margin: 1.6mm 0 0;
    font-size: 6.2pt;
    color: var(--gc-soft);
  }
}
