/* ==========================================================================
   Thème de Noël — Victoire Fidélité
   Se charge après app.css et ne surcharge que la palette + quelques décors.
   Activation : Admin > Infos boutique > Thème du site
   ========================================================================== */

:root {
  --rose:        #B5323B;   /* rouge houx */
  --rose-soft:   #F0B9B4;
  --rose-deep:   #7E1D27;
  --rose-pale:   #FCEBE8;
  --bg:          #FBF6F1;   /* blanc neige chaud */
  --text:        #2A2A2A;
  --text-muted:  #7D6F6A;
  --gold:        #C9A24A;   /* or des guirlandes */
  --gold-soft:   #F7EDCF;
  --border:      #EED9D3;
  --success:     #2E7D4F;   /* vert sapin */
  --shadow-sm:   0 2px 12px rgba(126,29,39,.10);
  --shadow-md:   0 4px 24px rgba(126,29,39,.15);
  --shadow-lg:   0 8px 40px rgba(30,40,30,.22);
  --noel-green:  #1F4D36;
  --noel-green-deep: #143325;
}

/* -- Hero : fond sapin + liseré de guirlande ------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
}
.page-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background:
    radial-gradient(circle at 10px 0,  #fff 3px, transparent 4px) 0 0 / 22px 10px repeat-x,
    linear-gradient(90deg, #2E7D4F, #B5323B, #C9A24A, #2E7D4F) 0 0 / 100% 4px no-repeat;
  opacity: .9; pointer-events: none;
}
.page-hero--dark {
  background: linear-gradient(135deg, var(--noel-green) 0%, var(--noel-green-deep) 100%);
}

/* -- Carte de fidélité : nuit étoilée sapin ------------------------- */
.loyalty-card {
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.14) 0 1.5px, transparent 2px) 0 0 / 46px 46px,
    linear-gradient(135deg, var(--noel-green) 0%, var(--noel-green-deep) 100%);
}
.loyalty-card::after {
  background: rgba(201,162,74,.16);   /* halo doré */
}

/* -- Navigation basse : liseré or -------------------------------------- */
.bottom-nav {
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 24px rgba(126,29,39,.10);
}
.nav-item.active { color: var(--rose); }

/* -- Boutons : or pour l'action secondaire ------------------------------ */
.btn--gold { background: #B8923A; }

/* -- Badges de niveau : touche de Noël -------------------------------- */
.badge--gold   { background: var(--gold-soft); color: #8A6A1F; }
.badge--success{ background: #E3F2E8; color: var(--success); }

/* -- Petit décor flocons sur les cartes de fond (très discret) --------- */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle, rgba(255,255,255,.9) 1.2px, transparent 1.6px) 0 0 / 120px 140px,
    radial-gradient(circle, rgba(181,50,59,.18) 1px, transparent 1.4px) 60px 70px / 150px 170px;
  opacity: .5;
}

/* ==========================================================================
   Décors de Noël : houx, étoile, boules
   ========================================================================== */

/* Houx dans le coin de l'en-tête */
.page-hero {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%232E7D4F' stroke='%231A4A31' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpolygon transform=%22translate%288,68%29 rotate%28-40%29%22 points=%220,0 8,-7 12,-3 20,-10 24,-4 32,-9 36,-2 42,0 36,3 32,9 24,4 20,10 12,3 8,7%22/%3E%3Cpolygon transform=%22translate%2840,64%29 rotate%28-12%29%22 points=%220,0 8,-7 12,-3 20,-10 24,-4 32,-9 36,-2 42,0 36,3 32,9 24,4 20,10 12,3 8,7%22/%3E%3Cpolygon transform=%22translate%2830,62%29 rotate%28-78%29%22 points=%220,0 8,-7 12,-3 20,-10 24,-4 32,-9 36,-2 42,0 36,3 32,9 24,4 20,10 12,3 8,7%22/%3E%3C/g%3E%3Cg fill='%23C8102E' stroke='%238E0A20' stroke-width='.8'%3E%3Ccircle cx='34' cy='60' r='5.5'/%3E%3Ccircle cx='43' cy='66' r='5.5'/%3E%3Ccircle cx='29' cy='70' r='4.5'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' opacity='.55'%3E%3Ccircle cx='32' cy='58' r='1.4'/%3E%3Ccircle cx='41' cy='64' r='1.4'/%3E%3C/g%3E%3C/svg%3E") right 8px top 10px / 78px 78px no-repeat,
    linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
}
.page-hero--dark {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%232E7D4F' stroke='%231A4A31' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpolygon transform=%22translate%288,68%29 rotate%28-40%29%22 points=%220,0 8,-7 12,-3 20,-10 24,-4 32,-9 36,-2 42,0 36,3 32,9 24,4 20,10 12,3 8,7%22/%3E%3Cpolygon transform=%22translate%2840,64%29 rotate%28-12%29%22 points=%220,0 8,-7 12,-3 20,-10 24,-4 32,-9 36,-2 42,0 36,3 32,9 24,4 20,10 12,3 8,7%22/%3E%3Cpolygon transform=%22translate%2830,62%29 rotate%28-78%29%22 points=%220,0 8,-7 12,-3 20,-10 24,-4 32,-9 36,-2 42,0 36,3 32,9 24,4 20,10 12,3 8,7%22/%3E%3C/g%3E%3Cg fill='%23C8102E' stroke='%238E0A20' stroke-width='.8'%3E%3Ccircle cx='34' cy='60' r='5.5'/%3E%3Ccircle cx='43' cy='66' r='5.5'/%3E%3Ccircle cx='29' cy='70' r='4.5'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' opacity='.55'%3E%3Ccircle cx='32' cy='58' r='1.4'/%3E%3Ccircle cx='41' cy='64' r='1.4'/%3E%3C/g%3E%3C/svg%3E") right 8px top 10px / 78px 78px no-repeat,
    linear-gradient(135deg, var(--noel-green) 0%, var(--noel-green-deep) 100%);
}

/* Étoile dorée devant le titre */
.page-hero h1::before {
  content: ''; display: inline-block; width: 20px; height: 20px;
  margin-right: 8px; vertical-align: -3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon fill='%23E0B84F' stroke='%23A8822A' stroke-width='.8' stroke-linejoin='round' points='12,1.5 14.9,8.6 22.5,9.1 16.6,13.9 18.5,21.3 12,17.2 5.5,21.3 7.4,13.9 1.5,9.1 9.1,8.6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Houx sur la carte de fidélité */
.loyalty-card {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%232E7D4F' stroke='%231A4A31' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpolygon transform=%22translate%288,68%29 rotate%28-40%29%22 points=%220,0 8,-7 12,-3 20,-10 24,-4 32,-9 36,-2 42,0 36,3 32,9 24,4 20,10 12,3 8,7%22/%3E%3Cpolygon transform=%22translate%2840,64%29 rotate%28-12%29%22 points=%220,0 8,-7 12,-3 20,-10 24,-4 32,-9 36,-2 42,0 36,3 32,9 24,4 20,10 12,3 8,7%22/%3E%3Cpolygon transform=%22translate%2830,62%29 rotate%28-78%29%22 points=%220,0 8,-7 12,-3 20,-10 24,-4 32,-9 36,-2 42,0 36,3 32,9 24,4 20,10 12,3 8,7%22/%3E%3C/g%3E%3Cg fill='%23C8102E' stroke='%238E0A20' stroke-width='.8'%3E%3Ccircle cx='34' cy='60' r='5.5'/%3E%3Ccircle cx='43' cy='66' r='5.5'/%3E%3Ccircle cx='29' cy='70' r='4.5'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' opacity='.55'%3E%3Ccircle cx='32' cy='58' r='1.4'/%3E%3Ccircle cx='41' cy='64' r='1.4'/%3E%3C/g%3E%3C/svg%3E") right -6px bottom -6px / 96px 96px no-repeat,
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.14) 0 1.5px, transparent 2px) 0 0 / 46px 46px,
    linear-gradient(135deg, var(--noel-green) 0%, var(--noel-green-deep) 100%);
}

/* Guirlande de boules au-dessus de la barre de navigation */
.bottom-nav::before {
  content: ''; position: absolute; left: 0; right: 0; top: -9px; height: 12px;
  background:
    radial-gradient(circle at 6px 6px, #C8102E 4.5px, transparent 5px) 0 0 / 26px 12px repeat-x,
    radial-gradient(circle at 19px 6px, #E0B84F 3px, transparent 3.5px) 0 0 / 26px 12px repeat-x;
  pointer-events: none;
}

/* Boutons principaux : léger liseré doré */
.btn--primary {
  box-shadow: inset 0 0 0 1.5px rgba(224,184,79,.55);
}

/* Cartes : petite étoile dans le coin */
.card {
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon fill='%23E0B84F' stroke='%23A8822A' stroke-width='.8' stroke-linejoin='round' points='12,1.5 14.9,8.6 22.5,9.1 16.6,13.9 18.5,21.3 12,17.2 5.5,21.3 7.4,13.9 1.5,9.1 9.1,8.6'/%3E%3C/svg%3E") right 14px top 14px / 16px 16px no-repeat;
}
