/* ============================================
RESET & BASE STYLES
============================================ */

html {
overflow-y: scroll;
overflow-x: hidden;
max-width: 100%;
}

body {
overflow-x: hidden;
max-width: 100%;
margin: 0;
padding-bottom: 80px;
font-family: 'Roboto', Arial, sans-serif;
background: #000000;
}

/* Typographie de base */
h1 {
color: white;
}

h3 {
color: gold;
}

p {
color: #fff;
}

/* ============================================
HEADER & NAVIGATION
============================================ */

header {
background: #000000;
color: #fff;
padding: 15px 15px;
display: flex;
justify-content: space-between;
align-items: center;
}

header a {
color: #fff;
text-decoration: none;
margin-left: 15px;
transition: color 0.3s;
}

header a:hover {
color: #d4af37;
}

.header-left {
display: flex;
align-items: center;
gap: 15px;
}

.logo {
width: 180px;
object-fit: contain;
}

.site-title {
font-size: 28px;
color: #fff;
letter-spacing: 1px;
}

/* Navigation principale */
header nav {
display: flex;
gap: 20px;
align-items: center;
}

/* Sélecteur de langue */
.lang-switcher {
display: flex;
gap: 8px;
align-items: center;
}

.lang-switcher a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: #222;
border-radius: 50%;
font-size: 15px;
line-height:1;
text-decoration: none;
text-transform:uppercase;
transition: all 0.3s ease;
border: 2px solid transparent;
}

.lang-switcher a:hover {
background: #333;
transform: scale(1.1);
color:#fff;
}

.lang-switcher a.active {
background: #efc064;
border-color: lightsalmon;
box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ============================================
LAYOUT PRINCIPAL
============================================ */

.container {
background: #000000;
max-width: 1200px;
margin: auto;
padding: 5px 10px 0 10px;
}

/* ============================================
PRODUITS - GRILLE & CARTES
============================================ */

/* Grille des produits - Page catalogue */
.products {
display: flex;
flex-direction: column;
gap: 15px;
margin-top: 20px;
}

/* Carte produit */
.product-card {
text-align: left;
display: block;
text-decoration: none;
color: inherit;
border-radius: 10px;
overflow: hidden;
background: #000;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
transition: transform 0.2s;
padding: 0;
}

.product-card:hover {
transform: translateY(-3px);
}

.product-card-inner {
display: flex;
align-items: stretch;
gap: 15px;
padding: 0;
}

/* Image produit */
.product-image {
flex: 0 0 100px;
overflow: hidden;
border-radius: 8px;
}

.product-image img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
transition: transform 0.3s;
}

.product-card:hover .product-image img {
transform: scale(1.1);
}

/* Informations produit */
.product-info {
display: flex;
flex-direction: column;
justify-content: center;
}

.product-info h2 {
margin: 0;
font-size: 18px;
color: #d4af37;
}

.product-info p.subtitle {
margin: 5px 0;
color: #fff;
font-size: 12px;
letter-spacing: 1px;
}

.subtitle-line {
height: 1px;
width: 200px;
background-color: #DCAE70;
margin-top: 5px;
border-radius: 1px;
}

/* Style grille alternative (si utilisé ailleurs) */
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 25px;
}

.product-card-grid {
text-align: center;
background: #000;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, .05);
}

.product-card-grid img {
max-width: 100%;
height: 220px;
object-fit: contain;
}

.price {
font-size: 18px;
font-weight: bold;
margin-top: 10px;
color: #fff;
}

/* ============================================
BADGES SUR IMAGE - PAGE PRODUIT
============================================ */

.product-image-wrap {
position: relative;
}

/* Conteneur des badges sur l’image */
.image-badges {
position: absolute;
top: -20px;
right: -35px;
/*display: flex;*/
flex-direction: column;
gap: 10px;
z-index: 10;
flex-direction:row;
}

/* Badge individuel */
.image-badge {
width: 100px;
height: 100px;
/*display: flex;*/
align-items: center;
justify-content: center;
filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6))
drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
transition: transform .25s ease;
flex-direction:row;
}

.image-badge:hover {
transform: scale(2.1) rotate(5deg);
filter:
drop-shadow(0 8px 16px rgba(0, 0, 0, 0.8))
drop-shadow(0 0 12px rgba(212, 175, 55, 0.7));
}

/* SVG / IMG */
.image-badge svg,
.image-badge img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}

@keyframes champagne-shine {
0% { opacity: 0; transform: translateX(-40px); }
50% { opacity: .35; }
100% { opacity: 0; transform: translateX(40px); }
}

.badge::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
120deg,
transparent 30%,
rgba(255,255,255,0.35) 50%,
transparent 70%
);
animation: champagne-shine 5s infinite;
pointer-events: none;
}

svg text:nth-of-type(3),
svg text:nth-of-type(4) {
text-transform: uppercase;
filter:
drop-shadow(0 1px 0 rgba(255,255,255,0.4))
drop-shadow(0 -1px 1px rgba(0,0,0,0.6));
}

svg textPath {
fill: linear-gradient(
to bottom,
#fff3c4,
#e6c55f,
#b18c3f
);
font-family: 'Roboto', arial;
}

svg text {
letter-spacing:;
font-family:;
}

svg textPath {
filter:
drop-shadow(0 1px 1px rgba(255,255,255,0.35))
drop-shadow(0 2px 3px rgba(0,0,0,0.35));
}

svg circle[stroke] {
stroke-linecap: round;
filter:
drop-shadow(0 1px 1px rgba(255,255,255,0.4))
drop-shadow(0 -1px 2px rgba(0,0,0,0.4));
}

.image-badge {
fill: radial-gradient(
circle at 30% 30%,
#fff2c6 0%,
#f7d87c 30%,
#d4af37 55%,
#b18c3f 75%,
#7a5a1e 100%
);
}

/* ============================================
PAGE PRODUIT - DÉTAIL
============================================ */

/* Container principal */
.product-app {
max-width: 480px;
margin: auto;
padding: 16px;
color: #eee;
}

/* ===== HERO - IMAGE & TITRE ===== */
.product-hero .product-image-wrap {
position: relative;
}

.product-hero .product-image-wrap > img:first-child {
width: 100%;
border-radius: 16px;
margin-bottom: 12px;
display: block;
transition: opacity 0.3s ease;
}

.product-hero .image-badge:hover {
transform: scale(1.05);
}

.product-hero h1 {
font-size: 1.6rem;
color: #d4af37;
}

.short-desc,
.subtitle {
color: #aaa;
}

/* ===== BLOCS DE SÉLECTION ===== */
.selection-block {
margin-top: 24px;
}

.selection-block h2 {
font-size: 1.1rem;
margin-bottom: 12px;
}

/* Séparateur premium */
.selection-block::before {
content: "";
display: block;
width: 100%;
height: 1px;
background: linear-gradient(
to right,
transparent,
#D4AF37,
transparent
);
margin: 26px 0;
padding-top: 1px;
opacity: 0.9;
}

/* ===== CARTES DE SÉLECTION ===== */
.cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}

.card {
background: #1a1a1a;
border: 1px solid #333;
border-radius: 12px;
padding: 14px;
text-align: center;
cursor: pointer;
transition: .25s;
}

.card.active {
border-color: #d4af37;
box-shadow: 0 0 12px rgba(255, 215, 0, .6);
background: #222;
}

.card strong {
display: block;
color: #d4af37;
}

.card span {
font-size: .85rem;
color: #aaa;
}

/* Carte quantité manuelle */
.card.manual input {
font-family: 'Roboto', arial, Georgia, serif;
width: 100%;
max-width:100%;
box-sizing:border-box;
margin-top: 8px;
padding: 6px;
border-radius: 6px;
border: none;
background-color: #d4af37;
}

/* ===== CALCULATEUR D'UNITÉS ===== */
.units-wrapper {
background: #1a1a1a;
border: 1px solid #333;
border-radius: 14px;
padding: 14px;
}

.units-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #333;
padding-bottom: 8px;
margin-bottom: 12px;
}

.units-header span {
font-size: 11px;
letter-spacing: 2px;
color: #aaa;
text-transform: uppercase;
}

.units-dot {
width: 8px;
height: 8px;
border-radius: 50%;
}

.units-dot.bg-champagne {
background-color: #dcae70;
}

.units-dot.animate-pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}

.units-value {
text-align: center;
font-size: 2.4rem;
color: #d4af37;
}

.units-label {
text-align: center;
font-size: .8rem;
color: #aaaaaa;
margin-bottom: 12px;
}

.units-body {
display: flex;
gap: 12px;
}

.units-bar {
width: 300px;
background: #1a1a1a;
border: 1px solid #333;
border-radius: 8px;
position: relative;
overflow: hidden;
}

.units-fill {
position: absolute;
bottom: 0;
width: 100%;
background: linear-gradient(to top, #d4af37, #dcae70);
transition: height .25s ease;
}

.units-presets {
display: flex;
flex-direction: column;
gap: 6px;
flex: 1;
}

.units-presets button {
background: #222;
border: 1px solid #333;
border-radius: 8px;
padding: 8px;
color: #aaa;
cursor: pointer;
}

.units-presets button.active {
background: #d4af37;
color: #111;
}

.units-presets button:hover {
background: #dcae70;
color: white;
}

.units-controls {
display: flex;
justify-content: space-between;
margin-top: 12px;
}

.units-controls button {
width: 48px;
height: 48px;
border-radius: 50%;
border: 2px solid #d4af37;
background: none;
color: #d4af37;
font-size: 24px;
cursor: pointer;
}

.units-controls button:hover {
background: #d4af37;
color: #1a1a1a;
}

/* ===== PRIX ===== */
.price-box {
background: linear-gradient(145deg, #1a1a1a, #111);
border: 1px solid rgba(255, 215, 0, 0.25);
border-radius: 14px;
padding: 14px 18px;
margin: 24px 0;
text-align: center;
box-shadow: inset 0 0 0 rgba(255, 215, 0, 0),
0 8px 25px rgba(0, 0, 0, 0.6);
}

.price-label {
color: #aaa;
}

.price-value {
font-size: 1.8rem;
color: #d4af37;
}

.price-hint {
font-size: .85rem;
color: #777;
}

/* Prix unitaire */
.price-unit {
font-size: 1.4rem;
font-weight: 600;
color: #FFD700;
letter-spacing: 0.03em;
}

.price-unit span {
font-size: 0.85rem;
color: #aaa;
margin-left: 4px;
}

/* Prix carton */
.price-carton {
margin-top: 6px;
font-size: 0.95rem;
color: #ccc;
}

/* Variation dégressif */
.price-drop {
margin-top: 8px;
font-size: 0.85rem;
color: #d4af37;
opacity: 0;
transform: translateY(4px);
transition: all 0.25s ease;
}

.price-drop.active {
opacity: 1;
transform: translateY(0);
}

.price-unit.pulse {
animation: pulsePrice 0.6s ease;
}

@keyframes pulsePrice {
0% { transform: scale(1); }
40% { transform: scale(1.08); }
100% { transform: scale(1); }
}

/* ===== BOUTON AJOUT PANIER ===== */
.btn-add {
width: 100%;
padding: 14px;
border: none;
border-radius: 14px;
font-size: 1.1rem;
font-weight: bold;
font-family: 'Roboto', arial, Georgia, serif;
letter-spacing: 0.04em;
background: #d4af37;
color: #111;
opacity: .5;
cursor: pointer;
}

.btn-add:not(:disabled) {
opacity: 1;
}

/* ===== ACCORDÉON DESCRIPTION ===== */
.accordion {
margin-top: 30px;
}

.accordion-toggle {
width: 100%;
background: none;
border: 1px solid #333;
padding: 12px;
border-radius: 12px;
color: #FFD700;
font-family: 'Roboto', arial, Georgia, serif;
letter-spacing: 0.04em;
cursor: pointer;
}

.accordion-content {
display: none;
margin-top: 12px;
font-size: .9rem;
color: #ccc;
}

/* ============================================
PANIER - CART
============================================ */

.cart-wrapper {
display: flex;
flex-direction: column;
gap: 20px;
}

.cart-item {
background: linear-gradient(145deg, #000, #111);
border-radius: 12px;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 0 15px rgba(0, 0, 0, .6);
border: 1px solid #222;
}

.cart-info h3 {
margin: 0;
color: #d4af37;
font-size: 20px;
}

.cart-info .format {
color: #aaa;
font-size: 14px;
margin: 4px 0;
}

.cart-info .price {
color: #fff;
font-weight: bold;
}

.cart-actions {
display: flex;
align-items: center;
gap: 5px;
}

.cart-actions input {
width: 70px;
padding: 6px;
background: #111;
color: #fff;
border: 1px solid #444;
border-radius: 6px;
text-align: center;
}

/* Input quantité avec style amélioré */
.qty-input {
width: 70px;
padding: 6px;
background: #111;
color: #fff;
border: 1px solid #444;
border-radius: 6px;
text-align: center;
font-family: inherit;
}

.qty-input:focus {
outline: none;
border-color: #d4af37;
box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.line-total {
color: #fff;
font-weight: bold;
min-width: 100px;
text-align: right;
}

.remove {
color: #ff5c5c;
text-decoration: none;
font-size: 18px;
}

.cart-summary {
background: #111;
border-radius: 12px;
padding: 25px;
border: 1px solid #333;
}

.cart-summary .total {
display: flex;
justify-content: space-between;
font-size: 22px;
color: #fff;
margin-bottom: 20px;
}

.cart-empty {
background: #000;
padding: 0 40px;
border-radius: 12px;
text-align: center;
}

.cart-buttons {
display: flex;
gap: 15px;
justify-content: flex-end;
}

/* Cadeaux panier */
.gift-block {
margin-top: 40px;
padding: 20px;
border: 1px solid #ddd;
background: #fafafa;
}

.gift-group {
margin-bottom: 30px;
}

.gift-select {
margin-top: 10px;
}

.gift-select select {
width: 100%;
padding: 8px;
}

/* ============================================
PANIER - BLOC CADEAU DISCRET
============================================ */

.cart-item.gift-item {
position: relative;
background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
border: 1px solid rgba(212, 175, 55, 0.15);
padding: 16px 20px;
margin-top: 8px;
overflow: hidden;
}

/* Effet de brillance subtil */
.cart-item.gift-item::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent 0%,
rgba(212, 175, 55, 0.08) 50%,
transparent 100%
);
animation: giftShine 3s ease-in-out infinite;
pointer-events: none;
}

@keyframes giftShine {
0%, 100% {
left: -100%;
}
50% {
left: 100%;
}
}

/* Petit accent doré sur le côté gauche */
.cart-item.gift-item::after {
content: "";
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 3px;
background: linear-gradient(
180deg,
transparent 0%,
rgba(212, 175, 55, 0.6) 30%,
rgba(212, 175, 55, 0.8) 50%,
rgba(212, 175, 55, 0.6) 70%,
transparent 100%
);
}

/* Icône cadeau avec animation subtile */
.cart-item.gift-item h3 {
font-size: 17px;
color: #d4af37;
display: flex;
align-items: center;
gap: 8px;
margin: 0;
animation: giftPulse 2s ease-in-out infinite;
}

@keyframes giftPulse {
0%, 100% {
opacity: 0.95;
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(1.02);
}
}

/* Texte format cadeau */
.cart-item.gift-item .format {
color: #999;
font-size: 13px;
margin: 6px 0 0 0;
}

.cart-item.gift-item .format em {
color: #777;
font-size: 12px;
font-style: italic;
opacity: 0.8;
}

/* Actions cadeaux - sélecteurs */
.cart-item.gift-item .cart-actions {
position: relative;
z-index: 1;
}

.cart-item.gift-item .gift-actions {
display: flex;
flex-wrap: wrap;
gap: 6px;
align-items: center;
}

.cart-item.gift-item .gift-actions select {
background: rgba(17, 17, 17, 0.9);
border: 1px solid rgba(212, 175, 55, 0.25);
color: #ddd;
padding: 5px 10px;
border-radius: 6px;
min-width: 130px;
font-family: inherit;
font-size: 13px;
transition: all 0.25s ease;
cursor: pointer;
}

.cart-item.gift-item .gift-actions select:hover {
border-color: rgba(212, 175, 55, 0.45);
background: rgba(17, 17, 17, 1);
box-shadow: 0 0 8px rgba(212, 175, 55, 0.15);
}

.cart-item.gift-item .gift-actions select:focus {
outline: none;
border-color: rgba(212, 175, 55, 0.6);
box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
background: #111;
}

/* Option par défaut */
.cart-item.gift-item .gift-actions select option[value=""] {
color: #888;
font-style: italic;
}

/* Options sélectionnables */
.cart-item.gift-item .gift-actions select option:not([value=""]) {
color: #fff;
background: #1a1a1a;
}

/* Petit badge "gratuit" optionnel */
.cart-item.gift-item .cart-info {
position: relative;
}

/* Petit badge "gratuit" traduit dynamiquement */
.cart-item.gift-item .cart-info::before {
content: attr(data-gift-label);
position: absolute;
top: -8px;
right: -8px;
background: linear-gradient(135deg, #d4af37, #dcae70);
color: #000;
font-size: 9px;
font-weight: bold;
padding: 2px 6px;
border-radius: 3px;
letter-spacing: 0.5px;
opacity: 0.85;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Modale alerte cadeaux */
.gift-alert-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(4px);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
animation: fadeIn 0.25s ease;
}

.gift-alert-box {
background: linear-gradient(145deg, #1a1a1a, #111);
border: 2px solid #d4af37;
border-radius: 16px;
padding: 30px;
max-width: 400px;
text-align: center;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
animation: slideUp 0.3s ease;
}

.gift-alert-box h3 {
color: #d4af37;
font-size: 24px;
margin: 0 0 15px 0;
}

.recap-gifts{
color: #ffffff;
font-size: 12px;
}

.recap-gifts h4 {
color: #ffffff;
font-size: 14px;
margin-bottom: 1px;
}

.gift-alert-box p {
color: #ccc;
font-size: 15px;
line-height: 1.6;
margin-bottom: 20px;
}

.gift-alert-box .btn {
margin: 0;
width: 100%;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

@keyframes slideUp {
from { transform: translateY(20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}

/* ============================================
LIVRAISON CHECKOUT - DYNAMICS
============================================ */
.shipping-progress .bar {
width: 100%;
height: 10px;
background: #222;
border-radius: 20px;
overflow: hidden;
margin-bottom: 6px;
}

.shipping-progress .fill {
height: 100%;
background: linear-gradient(90deg, #d4af37, #dcae70);
transition: width 0.4s ease;
}

.progress-label {
font-size: 12px;
opacity: 0.85;
color: #aaaaaa;
}

/* ============================================
AFFICHAGE DÉTAILS LIVRAISON
============================================ */
.shipping-line .label small {
display: block;
font-size: 11px;
color: #888;
font-weight: normal;
margin-top: 3px;
opacity: 0.8;
}

.shipping-hint small {
display: block;
margin-top: 5px;
opacity: 0.7;
}

/* ============================================
ANIMATIONS BARRE DE PROGRESSION
============================================ */
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}

.shipping-progress .fill {
animation: pulse 2s ease-in-out infinite;
}

/* Barre à 100% : pas d'animation + couleur verte */
.shipping-progress .fill[style*="100%"] {
animation: none;
background: linear-gradient(90deg, #d4af37, #dcae70)
}

/* ============================================
BOUTON CHECKOUT - GESTION ÉTAT DISABLED
============================================ */

/* ✅ Retirer le pointer-events: none du .disabled */
.btn.disabled {
/* NE PLUS BLOQUER LE CLIC - on gère ça en JS */
/* pointer-events: none; */
opacity: 0.5;
cursor: not-allowed;
}

/* Effet visuel quand désactivé */
.btn.disabled:hover {
background-color: #FFD700;
transform: none;
}

/* Responsive */
@media (max-width: 768px) {
.cart-item.gift-item {
padding: 14px 16px;
background:linear-gradient(145deg, #000, #111);
}

.cart-item.gift-item h3 {
font-size: 16px;
}

.cart-item.gift-item .gift-actions {
flex-direction: column;
align-items: stretch;
}

.cart-item.gift-item .gift-actions select {
min-width: 100%;
}
}

.btn.disabled {
pointer-events: none;
opacity: 0.5;
}

/* ============================================
CHECKOUT - COMMANDE
============================================ */

.checkout-wrapper {
display: flex;
flex-direction: column;
gap: 25px;
}

.checkout-box {
background: linear-gradient(145deg, #000, #111);
padding: 25px;
border-radius: 6px;
border: 1px solid #222;
box-shadow: 0 0 15px rgba(0, 0, 0, .6);
}

.checkout-box h3 {
color: #d4af37;
margin-bottom: 20px;
}

.form-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 15px;
}

.checkout-box input,
.checkout-box textarea {
background: #111;
border: 1px solid #444;
color: #fff;
padding: 12px;
border-radius: 8px;
font-family: inherit;
}

.checkout-box textarea {
margin-top: 0;
min-height: 90px;
}

.recap-line {
display: flex;
justify-content: space-between;
padding: 12px 0;
border-bottom: 1px solid #222;
}

.recap-line span {
display: block;
color: #aaa;
font-size: 13px;
}

.recap-price {
color: #fff;
font-weight: bold;
min-width: 80px;
text-align: right;
}

.recap-total {
display: flex;
justify-content: space-between;
font-size: 22px;
margin-top: 20px;
color: #fff;
}

.checkout-actions {
display: flex;
justify-content: space-between;
gap: 15px;
}

.checkout-info {
background: #111;
border-left: 4px solid #d4af37;
padding: 15px 20px;
border-radius: 6px;
color: #ccc;
font-size: 14px;
}

/* ============================================
CHECKOUT - ELEMENTS DYNAMIQUES
============================================ */

/* Champs de taxe dynamiques (SIREN/TVA) */
#tax_fields {
grid-column: 1 / -1;
}

.tax-input-wrapper {
display: grid;
grid-template-columns: 1fr auto;
gap: 15px;
align-items: start;
margin-top: 15px;
}

.tax-input-wrapper input {
width: 100%;
background: #111;
border: 1px solid #444;
color: #fff;
padding: 12px;
border-radius: 8px;
}

.tax-status {
margin-top: 8px;
font-size: 13px;
}

.tax-status.success {
color: #4caf50;
}

.tax-status.error {
color: #ff6b6b;
}

.tax-status.loading {
color: #ffd700;
}

/* Message hors UE */
.non-eu-message {
background: #2a2a2a;
padding: 15px;
border-radius: 8px;
margin-top: 15px;
border-left: 3px solid #4caf50;
}

.non-eu-message p {
color: #4caf50;
margin: 0;
}

.non-eu-message span {
color: #aaa;
font-size: 13px;
}

/* Affichage TVA */
#vat_display {
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid #222;
}

.vat-line {
display: flex;
justify-content: space-between;
color: #aaa;
margin-bottom: 8px;
}

.vat-total {
display: flex;
justify-content: space-between;
font-size: 24px;
color: #d4af37;
font-weight: bold;
}

/* Champs de livraison cachés */
#shipping_fields {
display: none;
}

#shipping_fields.visible {
display: block;
}

/* Label checkbox */
.checkbox-label {
display: block;
margin-bottom: 15px;
color: #ccc;
}

.checkbox-label input[type="checkbox"] {
margin-right: 8px;
}

/* Message d'erreur pays non reconnu */
.country-error {
color: #ff6b6b;
margin: 10px 0;
}

/* ============================================
CONFIRMATION COMMANDE
============================================ */

.order-success-wrapper {
display: flex;
flex-direction: column;
gap: 25px;
border: 1px solid #222;
padding: 10px;
border-radius: 6px;
background: #121010;
}

.order-status {
background: linear-gradient(145deg, #000, #111);
border-left: 5px solid #d4af37;
padding: 20px 10px;
border-radius: 6px;
display: flex;
justify-content: space-between;
color: #fff;
font-size: 18px;
}

.order-box {
background: linear-gradient(145deg, #000, #111);
padding: 20px;
border-radius: 6px;
border: 1px solid #222;
box-shadow: 0 0 15px rgba(0, 0, 0, .6);
}

.order-box h3 {
color: #d4af37;
margin-bottom: 20px;
}

.order-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 15px;
color: #fff;
}

.order-grid em {
font-style: normal;
}

.order-line {
display: flex;
justify-content: space-between;
padding: 12px 0;
border-bottom: 1px solid #222;
}

.order-line span {
display: block;
color: #aaa;
font-size: 13px;
}

.order-line strong {
display: block;
color: #d4af37;
font-size: 13px;
}

.order-price {
color: #fff;
font-weight: bold;
}

.order-total {
display: flex;
justify-content: space-between;
font-size: 22px;
margin-top: 20px;
color: #fff;
}

/* Informations bancaires */
.bank-box {
background: linear-gradient(145deg, #000, #111);
border-left: 5px solid #d4af37;
}

.bank-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
margin-top: 15px;
}

.bank-note {
margin-top: 20px;
color: #ccc;
font-size: 14px;
}

/* ============================================
CONFIRMATION COMMANDE  -  ELEMENTS SPECIFIQUES
============================================ */

/* Section totaux */
.order-totals-section {
margin-top: 0px;
padding-top: 0px;
border-top: 0px solid #333;
}

.order-subtotal-line {
border: none;
padding: 8px 0;
display: flex;
justify-content: space-between;
align-items:baseline;
}

.order-subtotal-line span {
color: #aaa;
}

.order-subtotal-line strong {
white-space:nowrap;
flex-shrink:0;
color: #fff;
}

.order-final-total {
white-space:nowrap;
flex-shrink:0;
margin-top: 15px;
font-size: 26px;
display: flex;
justify-content: space-between;
color: #d4af37;
}

/* Actions finales */
.final-actions {
margin-top: 30px;
}

/* Référence commande mise en avant */
.order-reference {
font-size: 18px;
color: #FFD700;
font-weight: bold;
}

/* ============================================
MES COMMANDES - HISTORIQUE
============================================ */

/* Message d'avertissement paiement */
.warning {
background-color: #332f1c;
color: #f0d57a;
padding: 12px 20px;
border-left: 5px solid #f0d57a;
margin-bottom: 20px;
font-weight: bold;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
border-radius: 6px;
}

/* Tableau commandes */
.orders-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 30px;
background-color: #2b2b2b;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
border-radius: 8px;
overflow: hidden;
}

.orders-table th,
.orders-table td {
padding: 10px 15px;
text-align: left;
}

.orders-table thead th {
background-color: #333;
color: #f0d57a;
}

.orders-table tbody td {
border-top: 1px solid #444;
}

.orders-table tbody tr:nth-child(even) {
background-color: #3a3a3a;
}

/* Lignes de totaux */
.orders-table .total-row td {
font-weight: bold;
color: #f0d57a;
padding-top: 15px;
}

.orders-table .vat-row td {
color: #aaa;
font-size: 14px;
}

.orders-table .final-total-row td {
font-weight: bold;
color: #4caf50;
font-size: 18px;
padding-top: 15px;
}

/* Séparateur entre commandes */
.order-separator {
border: 0;
border-top: 1px solid #444;
margin: 30px 0;
}

/* Informations fiscales */
.tax-info {
background: linear-gradient(-45deg, #000, #111);
padding: 10px 15px;
border-radius: 6px;
margin: 10px 0;
font-size: 13px;
color: #aaa;
}

.tax-info strong {
color: #dcae70;
}

/* Titres de section */
h2 {
color: #f0d57a;
margin-top: 40px;
}

/* ============================================
MON COMPTE - FORMULAIRE & CARTE GARDET
============================================ */

/* Email non-modifiable */
.input-readonly {
background: #f5f5f5;
cursor: not-allowed;
opacity: 0.8;
}

/* Boîte formulaire compte */
.account-box {
background-color: #121010;
padding: 20px;
border-radius: 6px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
max-width: 700px;
margin: 0 auto;
}

.account-box label {
display: block;
margin-top: 15px;
color: lightsalmon;
font-weight: bold;
}

.account-box input,
.account-box textarea {
width: 98%;
padding: 10px 0px 10px 10px;
border-radius: 5px;
border: none;
margin-top: 5px;
background-color: #161010;
color: #ddd;
font-family: 'Roboto', arial, sans-serif;
}

.account-box textarea {
min-height: 80px;
resize: vertical;
}

.account-box button {
font-family: 'Roboto', Arial, sans-serif;
margin-top: 20px;
padding: 12px 20px;
background-color: #f0d57a;
color: #1c1c1c;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
transition: all 0.3s ease;
}

.account-box button:hover {
background-color: #d4af37;
}

/* Messages de feedback */
.success {
background-color: #2f4f2f;
color: #b6f0a1;
padding: 10px;
margin-bottom: 15px;
border-left: 5px solid #b6f0a1;
border-radius: 4px;
}

.error {
background-color: #4f2f2f;
color: #f0b6b6;
padding: 10px;
margin-bottom: 15px;
border-left: 5px solid #f0b6b6;
border-radius: 4px;
}

/* Indice d'information */
.info-hint {
font-size: 12px;
color: #aaa;
margin-top: 5px;
font-style: italic;
}

/* ============================================
CARTE CONTACT GARDET
============================================ */

.gardet-card {
position: relative;
width: 100%;
max-width: 360px;
margin: 0 auto 30px;
background-size: cover;
background-position: center;
border-radius: 6px;
overflow: hidden;
box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
border: 1px solid rgba(212, 175, 55, 0.4);
animation: gardetGlow 4s ease-in-out infinite;
}

/* Overlay sombre */
.gardet-card::before {
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.3);
z-index: 0;
}

/* Contenu carte */
.gardet-card-content {
position: relative;
z-index: 1;
padding: 22px;
color: #fff;
font-size: 14px;
line-height: 1.6;
/*text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);*/
}

.gardet-card h3 {
margin: 0 0 12px;
color: #d4af37;
font-size: 20px;
letter-spacing: 1px;
}

.gardet-card strong {
color: #f0d57a;
font-weight: normal;
}

.gardet-card .divider {
height: 1px;
background: rgba(212, 175, 55, 0.4);
margin: 12px 0;
}

/* Diaporama background */
.gardet-bg-slide {
position: absolute;
inset: 0;
overflow: hidden;
z-index: 0;
border-radius: 6px;
}

.gardet-bg-slide img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transform: scale(1.05);
transition: opacity 1.5s ease, transform 8s ease;
}

.gardet-bg-slide img.active {
opacity: 1;
transform: scale(1);
}

/* Boutons Gardet */
.gardet-actions {
display: flex;
gap: 12px;
margin-top: 18px;
}

.gardet-btn {
flex: 1;
text-align: center;
padding: 10px 0;
border-radius: 8px;
font-size: 14px;
text-decoration: none;
font-weight: bold;
letter-spacing: 0.5px;
transition: all 0.35s ease;
position: relative;
z-index: 1;
}

.gardet-btn.call {
background: linear-gradient(135deg, #d4af37, #f0d57a);
color: #111;
}

.gardet-btn.mail {
background: rgba(255, 255, 255, 0.18);
color: #f0d57a;
border: 1px solid rgba(212, 175, 55, 0.6);
}

.gardet-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 18px rgba(212, 175, 55, 0.35);
}

/* Animation glow doré */
@keyframes gardetGlow {
0% {
box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}
50% {
box-shadow: 0 0 30px rgba(212, 175, 55, 0.55);
}
100% {
box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}
}

/* ============================================
BOUTONS & ACTIONS
============================================ */

.btn {
display: inline-block;
margin-top: 0px;
background-color: #dcae70;
color: #111;
padding: 12px 25px;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
font-family: 'Roboto', Arial, sans-serif;
text-decoration: none;
transition: all 0.3s ease;
}

.btn:hover {
background-color: #d4af37;
}

.btn-outline {
background: transparent;
border: 1px solid #d4af37;
color: #d4af37;
padding: 12px 25px;
border-radius: 8px;
cursor: pointer;
font-weight: bold;
text-decoration: none;
display: inline-block;
transition: all 0.3s ease;
}

.btn-outline:hover {
background: #d4af37;
color: #111;
}

/* Bouton copier coordonnées bancaires */
.copy-btn {
background: none;
border: none;
cursor: pointer;
margin-left: 6px;
font-size: 16px;
vertical-align: middle;
transition: all 0.3s ease;
}

.copy-btn:hover {
opacity: 0.7;
transform: scale(1.1);
}

.copy-btn.copied {
color: #4caf50;
}

/* ============================================
MENU NAVIGATION MOBILE (BOTTOM)
============================================ */

.bottom-menu {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
right: 0;
height: 72px;
background: rgba(15, 15, 15, 0.95);
backdrop-filter: blur(8px);
display: flex;
align-items: center;
border-top: 1px solid rgba(212, 175, 55, 0.25);
z-index: 1000;
}

.bottom-menu a {
color: lightgrey;
text-decoration: none;
font-size: 12px;
display: flex;
flex-direction: column;
align-items: center;
}

.bottom-menu a .icon {
font-size: 20px;
margin-bottom: 2px;
}

.bottom-menu a:hover {
color: #d4af37;
}

.menu-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
text-decoration: none;
color: #cfcfcf;
height: 100%;
}

.menu-item svg {
display: block;
min-width: 0;
width: 26px;
height: 26px;
margin-bottom: 4px;
stroke: lightsalmon;
transition: transform 0.25s ease, stroke 0.25s ease, filter 0.25s ease;
}

.menu-item:hover svg {
transform: scale(1.15);
stroke: #d4af37;
}

/* État actif */
.menu-item.active svg {
stroke: #d4af37;
transform: scale(1.25);
filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

.menu-item.active span {
color: #d4af37;
}

.menu-item span {
position: relative;
}

/* ============================================
ANIMATIONS BULLES (MENU CATALOGUE)
============================================ */

.menu-item.catalogue {
position: relative;
}

.icon-wrap {
position: relative;
width: 26px;
height: 26px;
}

.bubble-anchor {
position: absolute;
top: -2px;
left: 10%;
width: 1px;
height: 1px;
transform: translateX(-50%);
pointer-events: none;
}

.menu-item.catalogue::before,
.menu-item.catalogue::after {
content: "";
position: absolute;
bottom: 45px;
left: 50%;
width: 6px;
height: 6px;
background: rgba(212, 175, 55, 0.45);
border-radius: 50%;
opacity: 0;
transform: translateX(-50%);
animation: bubble 4s infinite ease-in-out;
pointer-events: none;
z-index: 5;
}

.menu-item.catalogue::after {
width: 4px;
height: 4px;
margin-left: 4px;
animation-delay: 1.6s;
}

.menu-item.catalogue.active::before,
.menu-item.catalogue.active::after {
animation-duration: 2.6s;
background: rgba(212, 175, 55, 0.75);
filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
}

.menu-item.catalogue.active span::after {
content: "";
position: absolute;
bottom: 24px;
left: 48%;
width: 3px;
height: 3px;
background: rgba(212, 175, 55, 0.5);
border-radius: 50%;
animation: bubble 2.2s infinite ease-in-out;
}

@keyframes bubble {
0% {
transform: translate(-50%, 0) scale(0.6);
opacity: 0;
}
20% {
opacity: 0.7;
}
70% {
opacity: 0.4;
}
100% {
transform: translate(-50%, -40px) scale(1);
opacity: 0;
}
}

/* ============================================
LIVRAISON - LIGNE RÉASSURANCE PREMIUM
============================================ */
.shipping-block {
margin-top: 12px;
padding-top: 10px;
border-top: 0px dashed #444;
}

.shipping-hint {
font-size: 13px;
color: #888;
font-style: italic;
margin-bottom: 15px;
}

.shipping-line {
display: flex;
justify-content: space-between;
align-items: center;
}

.shipping-line .label {
color: #aaa;
font-size: 14px;
}

.shipping-line .price {
white-space:nowrap;
flex-shrink:0;
color: #dcae70;
font-weight: bold;
margin-top:0px;
}

/* ============================================
RESPONSIVE
============================================ */

/* Header responsive */
@media (max-width: 768px) {
header {
flex-direction: column;
text-align: center;
flex-wrap: wrap;
gap: 20px;
}

header nav {
flex-direction: column;
gap: 10px;
}

.lang-switcher {
margin-top: 10px;
}
}

/* Page produit responsive */
@media (max-width: 768px) {
.price-unit {
font-size: 1.8rem;
}

.price-carton {
font-size: 1rem;
}
}

/* Confirmation commande responsive */
@media (max-width: 768px) {
.order-final-total {
font-size: 22px;
}

.order-reference {
font-size: 16px;
}
}

/* Mes commandes responsive */
@media (max-width: 768px) {
.orders-table {
font-size: 14px;
color:#dddddd;
}

.orders-table th,
.orders-table td {
padding: 8px 10px;
}

.orders-table .final-total-row td {
font-size: 16px;
}
}

/* Mon compte responsive */
@media (max-width: 768px) {
.gardet-card {
max-width: 100%;
}

.account-box {
padding: 15px;
}

.gardet-actions {
flex-direction: column;
}
}

/* ====================================================================================================================================
                               CSS QUI ECRASENT POUR TEST NOUVEAU DESIGN                     PRODUCT PAGE - DESIGN PREMIUM CHAMPAGNE
==================================================================================================================================== */

.product-app {
max-width: 1000px;
margin: 0 auto;
padding: 20px 16px 10px;
color: #eee;
position: relative;
}

/* ============================================
HERO - IMAGE & TITRE
============================================ */
.product-hero {
position: relative;
margin-bottom: 32px;
}

/* Container image avec effet glassmorphism */
.product-image-wrap {
position: relative;
background: linear-gradient(135deg, rgba(26, 26, 26, 0.6), rgba(17, 17, 17, 0.8));
backdrop-filter: blur(10px);
border-radius: 6px;
padding: 20px;
margin-bottom: 24px;
border: 1px solid rgba(212, 175, 55, 0.15);
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.6),
inset 0 1px 0 rgba(255, 255, 255, 0.05);
overflow: visible;
}

/* Image principale avec effet hover */
.product-image-wrap > img:first-child {
width: 100%;
max-height: 500px;
object-fit: contain;
border-radius: 16px;
display: block;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.product-image-wrap > img:first-child:hover {
transform: scale(1.02) translateY(-4px);
filter: drop-shadow(0 8px 30px rgba(212, 175, 55, 0.2));
}

/* Compteur d'images stylé */
#image-counter {
display: inline-block;
min-width: 20px;
padding: 2px 8px;
background: linear-gradient(135deg, #d4af37, #dcae70);
color: #000;
border-radius: 12px;
font-weight: bold;
font-size: 11px;
margin: 0 4px;
box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Badge médaille sur image 
.image-badge {
position: absolute;
top: -20px;
right: -30px;
width: 140px;
height: 140px;
object-fit: contain;
filter:
drop-shadow(0 6px 12px rgba(0, 0, 0, 0.7))
drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
transition: transform 0.3s ease;
z-index: 10;
animation: badgeFloat 3s ease-in-out infinite;
}

.image-badge:hover {
transform: scale(1.1) rotate(5deg);
filter:
drop-shadow(0 8px 16px rgba(0, 0, 0, 0.8))
drop-shadow(0 0 12px rgba(212, 175, 55, 0.7));
}

@keyframes badgeFloat {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-8px) rotate(3deg); }
}*/

/* Titre produit */
.product-hero h1 {
font-size: 2rem;
color: #d4af37;
margin: 0 0 12px;
font-weight: 400;
letter-spacing: 0.5px;
text-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
line-height: 1.3;
/*text-transform: uppercase;*/
}

/* Description courte */
.short-desc {
color: #e7e7e7;
font-size: 0.95rem;
line-height: 1.6;
margin: 0;
padding: 0;
letter-spacing: 1px;
text-align: justify;
}

/* ============================================
SECTIONS DE SÉLECTION
============================================ */
.selection-block {
margin-top: 28px;
position: relative;
}

/* Séparateur doré élégant */
.selection-block::before {
content: "";
display: block;
width: 100%;
height: 1px;
background: linear-gradient(
to right,
transparent,
rgba(212, 175, 55, 0.3),
rgba(212, 175, 55, 0.6),
rgba(212, 175, 55, 0.3),
transparent
);
margin: 0 0 24px 0;
position: relative;
}

/* Point central du séparateur */
.selection-block::after {
content: "";
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, -50%);
width: 6px;
height: 6px;
/*background: #d4af37;*/
border-radius: 50%;
box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.selection-block h2 {
font-size: 1.1rem;
color: #d4af37;
margin: 0 0 16px;
font-weight: 400;
letter-spacing: 1px;
}

/* ============================================
CARTES DE SÉLECTION (Formats & Quantités)
============================================ */
.cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}

.card {
background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(255, 255, 255, 0.03));
border: 1px solid rgba(68, 68, 68, 0.5);
border-radius: 6px;
padding: 16px 12px;
text-align: center;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
backdrop-filter: blur(8px);
}

/* Effet de brillance au survol */
.card::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(212, 175, 55, 0.1),
transparent
);
transition: left 0.5s ease;
}

.card:hover::before {
left: 100%;
}

.card:hover {
border-color: rgba(212, 175, 55, 0.4);
transform: translateY(-2px);
box-shadow:
0 4px 16px rgba(0, 0, 0, 0.5),
0 0 0 1px rgba(212, 175, 55, 0.2);
}

/* État actif */
.card.active {
border-color: #d4af37;
background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(220, 174, 112, 0.1));
box-shadow:
0 6px 20px rgba(212, 175, 55, 0.3),
inset 0 1px 0 rgba(212, 175, 55, 0.2),
0 0 0 1px #d4af37;
transform: translateY(-3px) scale(1.02);
}

.card strong {
display: block;
color: #d4af37;
font-size: 1rem;
margin-bottom: 6px;
font-weight: 600;
}

.card span {
font-size: 0.85rem;
color: #999;
display: block;
}

/* Carte quantité manuelle */
.card.manual {
grid-column: 1 / -1;
background: linear-gradient(135deg, rgba(17, 17, 17, 0.95), rgba(255, 255, 255, 0.03));
padding:16px;
}

.card.manual input {
width: 100%;
max-width:100%;
box-sizing:border-box;
margin-top: 10px;
padding: 10px;
border-radius: 10px;
border: 1px solid rgba(212, 175, 55, 0.3);
background: rgba(17, 17, 17, 0.8);
color: #d4af37;
font-family: inherit;
font-size: 1rem;
text-align: center;
transition: all 0.3s ease;
}

.card.manual input:focus {
outline: none;
border-color: #d4af37;
box-shadow: 0 0 16px rgba(212, 175, 55, 0.3);
background: rgba(17, 17, 17, 1);
}

.card.manual input::placeholder {
color: #666;
}

/* Wrapper pour input + boutons */
.manual-input-wrapper {
display: flex;
align-items: center;
gap: 8px;
margin-top: 10px;
}

/* Input central */
.card.manual input {
flex: 1;
width: 100%;
max-width: 100%;
box-sizing: border-box;
padding: 10px;
border-radius: 6px;
border: 1px solid rgba(212, 175, 55, 0.3);
background: rgba(17, 17, 17, 0.8);
color: #d4af37;
font-family: inherit;
font-size: 1rem;
text-align: center;
transition: all 0.3s ease;

/* ✅ MASQUER les boutons natifs */
-moz-appearance: textfield;
}

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

.card.manual input:focus {
outline: none;
border-color: #d4af37;
box-shadow: 0 0 16px rgba(212, 175, 55, 0.3);
background: rgba(17, 17, 17, 1);
}

/* Boutons + et - custom */
.manual-btn {
width: 40px;
height: 40px;
margin-top: 10px;
border-radius: 6px;
border: 1px solid rgba(212, 175, 55, 0.4);
background: rgba(17, 17, 17, 0.9);
color: #d4af37;
font-size: 24px;
font-weight: 300;
cursor: pointer;
transition: all 0.25s ease;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.manual-btn:hover {
background: rgba(212, 175, 55, 0.15);
border-color: #d4af37;
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.manual-btn:active {
transform: scale(0.95);
}

/* ============================================
CALCULATEUR D'UNITÉS
============================================ */
.units-wrapper {
background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(255, 255, 255, 0.03));
border: 1px solid rgba(68, 68, 68, 0.5);
border-radius: 6px;
padding: 20px;
backdrop-filter: blur(10px);
box-shadow:
0 8px 24px rgba(0, 0, 0, 0.5),
inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.units-header {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 12px;
border-bottom: 1px solid rgba(68, 68, 68, 0.5);
margin-bottom: 16px;
}

.units-header span {
font-size: 0.75rem;
letter-spacing: 2px;
color: #999;
text-transform: uppercase;
font-weight: 600;
}

.units-dot {
width: 10px;
height: 10px;
border-radius: 50%;
box-shadow: 0 0 12px currentColor;
}

.units-dot.bg-champagne {
background-color: #dcae70;
}

.units-dot.animate-pulse {
animation: unitsPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes unitsPulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.6; transform: scale(0.9); }
}

/* Valeur centrale */
.units-value {
text-align: center;
font-size: 3.5rem;
color: #d4af37;
font-weight: 300;
margin: 16px 0 8px;
text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
letter-spacing: -1px;
}

.units-label {
text-align: center;
font-size: 0.85rem;
color: #888;
margin-bottom: 20px;
/*text-transform: lowercase;*/
letter-spacing: 1px;
}

/* Body avec barre et presets */
.units-body {
display: flex;
gap: 16px;
margin-bottom: 20px;
min-height:220px;
}

/* Barre de progression verticale */
.units-bar {
width: 150px;
height: auto;
flex:1;
background: rgba(17, 17, 17, 0.8);
border: 1px solid rgba(68, 68, 68, 0.5);
border-radius: 6px;
position: relative;
overflow: hidden;
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
align-self:stretch;
}

.units-fill {
position: absolute;
bottom: 0;
width: 100%;
background: linear-gradient(
to top,
#d4af37,
#dcae70,
rgba(220, 174, 112, 0.8)
);
transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
border-radius: 8px;
box-shadow: 0 -4px 12px rgba(212, 175, 55, 0.5);
}

/* Boutons presets */
.units-presets {
display: flex;
flex-direction: column;
gap: 8px;
flex: 1;
}

.units-presets button {
background: rgba(34, 34, 34, 0.8);
border: 1px solid rgba(68, 68, 68, 0.5);
border-radius: 6px;
padding: 10px;
color: #aaa;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.25s ease;
font-family: inherit;
font-weight: 500;
}

.units-presets button:hover {
background: rgba(220, 174, 112, 0.2);
border-color: rgba(212, 175, 55, 0.4);
color: #dcae70;
transform: translateX(3px);
}

.units-presets button.active {
background: linear-gradient(135deg, #d4af37, #dcae70);
border-color: #d4af37;
color: #111;
font-weight: 600;
box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Contrôles +/- */
.units-controls {
display: flex;
justify-content: space-between;
gap: 12px;
}

.units-controls button {
flex: 1;
height: 52px;
border-radius: 6px;
border: 2px solid rgba(212, 175, 55, 0.4);
background: rgba(17, 17, 17, 0.8);
color: #d4af37;
font-size: 28px;
cursor: pointer;
transition: all 0.25s ease;
font-weight: 300;
backdrop-filter: blur(8px);
}

.units-controls button:hover {
background: rgba(212, 175, 55, 0.15);
border-color: #d4af37;
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

.units-controls button:active {
transform: translateY(0);
}

/* ============================================
BOÎTE PRIX
============================================ */
.price-box {
background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(17, 17, 17, 0.9));
border: 1px solid rgba(212, 175, 55, 0.2);
border-radius: 6px;
padding: 24px 20px;
text-align: center;
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.6),
inset 0 1px 0 rgba(212, 175, 55, 0.1);
position: relative;
overflow: hidden;
}

/* Effet de lumière subtil */
.price-box::before {
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(
circle,
rgba(212, 175, 55, 0.08) 0%,
transparent 70%
);
animation: priceGlow 4s ease-in-out infinite;
}

@keyframes priceGlow {
0%, 100% { transform: translate(0, 0); }
50% { transform: translate(10%, 10%); }
}

.price-label {
color: #888;
font-size: 0.85rem;
margin: 0 0 8px;
text-transform: uppercase;
letter-spacing: 1.5px;
position: relative;
}

.price-value {
font-size: 2.2rem;
color: #d4af37;
font-weight: 600;
margin: 0 0 8px;
position: relative;
text-shadow: 0 2px 16px rgba(212, 175, 55, 0.4);
letter-spacing: -0.5px;
}

.price-hint {
font-size: 0.85rem;
color: #929292;
margin: 0;
position: relative;
font-style: italic;
}

/* ============================================
BOUTON AJOUT PANIER
============================================ */
.btn-add {
width: 100%;
padding: 18px;
border: none;
border-radius: 6px;
font-size: 1.1rem;
font-weight: 600;
font-family: inherit;
letter-spacing: 0.5px;
background: linear-gradient(135deg, #d4af37, #dcae70);
color: #111;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow:
0 6px 20px rgba(212, 175, 55, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
position: relative;
overflow: hidden;
}

.btn-add::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.3);
transform: translate(-50%, -50%);
transition: width 0.6s ease, height 0.6s ease;
}

.btn-add:hover::before {
width: 300px;
height: 300px;
}

.btn-add:hover {
transform: translateY(-3px);
box-shadow:
0 10px 30px rgba(212, 175, 55, 0.5),
inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-add:active {
transform: translateY(-1px);
}

.btn-add:disabled {
opacity: 0.4;
cursor: not-allowed;
background: linear-gradient(135deg, #666, #555);
box-shadow: none;
}

/* ============================================
ACCORDÉON DESCRIPTION
============================================ */
.accordion {
margin-top: 32px;
}

.accordion-toggle {
width: 100%;
background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(17, 17, 17, 0.95));
border: 1px solid rgba(68, 68, 68, 0.5);
padding: 16px 20px;
border-radius: 6px;
color: #d4af37;
font-family: inherit;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease;
letter-spacing: 0.5px;
position: relative;
backdrop-filter: blur(8px);
}

.accordion-toggle::after {
content: "▼";
position: absolute;
right: 20px;
transition: transform 0.3s ease;
font-size: 0.8rem;
}

.accordion-toggle:hover {
border-color: rgba(212, 175, 55, 0.4);
background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(220, 174, 112, 0.05));
transform: translateY(-2px);
}

.accordion-content {
display: none;
margin-top: 16px;
padding: 20px;
background: rgba(17, 17, 17, 0.6);
border-radius: 14px;
border: 1px solid rgba(68, 68, 68, 0.3);
font-size: 0.95rem;
color: #ccc;
line-height: 1.7;
}

/* ============================================
BADGES
============================================ */
.badges {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 20px;
justify-content: center;
}

.badges img {
height: 56px;
filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
transition: transform 0.3s ease;
}

.badges img:hover {
transform: scale(1.1);
filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
}

/* ============================================
RESPONSIVE
============================================ */
@media (max-width: 480px) {
.product-app {
padding: 16px 12px 100px;
}

.product-hero h1 {
font-size: 1.6rem;
}

.cards {
gap: 10px;
}

.units-value {
font-size: 2.8rem;
}

.units-bar {
height: auto;
}

.price-value {
font-size: 1.8rem;
}
}

/* ============================================
INDEX PAGE - CATALOGUE PREMIUM CHAMPAGNE
============================================ */

/* Container principal du catalogue */
.products {
display: flex;
flex-direction: column;
gap: 20px;
margin: 30px auto;
max-width: 900px;
padding: 0 16px 10px;
}

/* ============================================
CARTE PRODUIT - DESIGN HORIZONTAL PREMIUM
============================================ */
.product-card {
text-decoration: none;
color: inherit;
display: block;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(17, 17, 17, 0.9));
border-radius: 6px;
overflow: hidden;
position: relative;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid rgba(68, 68, 68, 0.4);
backdrop-filter: blur(10px);
box-shadow:
0 4px 20px rgba(0, 0, 0, 0.5),
inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Effet de lumière dorée au survol */
.product-card::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(212, 175, 55, 0.1),
transparent
);
transition: left 0.6s ease;
z-index: 1;
}

.product-card:hover::before {
left: 100%;
}

/* Bordure dorée animée au survol */
.product-card::after {
content: "";
position: absolute;
inset: 0;
border-radius: 20px;
/*padding: 1px;*/
background: linear-gradient(
135deg,
transparent,
rgba(212, 175, 55, 0.4),
transparent
);
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
opacity: 0;
transition: opacity 0.4s ease;
}

.product-card:hover::after {
opacity: 1;
}

/* Hover général */
.product-card:hover {
background: linear-gradient(135deg, rgba(17, 17, 17, 0.95), rgba(255, 255, 255, 0.03));
transform: translateY(-6px) scale(1.01);
border-color: rgba(212, 175, 55, 0.5);
box-shadow:
0 12px 40px rgba(0, 0, 0, 0.7),
0 0 0 1px rgba(212, 175, 55, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Layout interne horizontal */
.product-card-inner {
display: flex;
align-items: center;
gap: 20px;
/*padding: 20px;*/
position: relative;
z-index: 2;
}

/* ============================================
IMAGE PRODUIT
============================================ */
.product-image {
/*flex: 0 0 120px;*/
/*height: 140px;*/
display: flex;
align-items: center;
justify-content: center;
position: relative;
border-radius: 6px;
background: radial-gradient(
ellipse at center,
rgba(212, 175, 55, 0.08),
transparent
);
overflow: hidden;
}

/* Effet de glow derrière l'image */
.product-image::before {
content: "";
position: absolute;
inset: -20px;
background: radial-gradient(
circle,
rgba(212, 175, 55, 0.15),
transparent 70%
);
opacity: 0;
transition: opacity 0.4s ease;
}

.product-card:hover .product-image::before {
opacity: 1;
}

.product-image img {
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
position: relative;
z-index: 1;
}

/* Animation image au survol */
.product-card:hover .product-image img {
transform: scale(1.1) translateY(-4px);
filter: drop-shadow(0 8px 20px rgba(212, 175, 55, 0.3));
}

/* ============================================
INFORMATIONS PRODUIT
============================================ */
.product-info {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
gap: 8px;
padding-right: 10px;
}

/* Titre produit */
.product-info h2 {
margin: 0;
font-size: 1.4rem;
color: #d4af37;
font-weight: 400;
letter-spacing: 0.5px;
transition: all 0.3s ease;
line-height: 1.3;
text-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.product-card:hover .product-info h2 {
color: #dcae70;
text-shadow: 0 2px 12px rgba(212, 175, 55, 0.4);
transform: translateX(4px);
}

/* Sous-titre */
.product-info .subtitle {
margin: 0;
color: #999;
font-size: 0.95rem;
line-height: 1.5;
transition: color 0.3s ease;
}

.product-card:hover .product-info .subtitle {
color: #bbb;
}

/* Ligne dorée sous le sous-titre */
.subtitle-line {
height: 2px;
width: 0;
background: linear-gradient(
to right,
#d4af37,
#dcae70,
transparent
);
border-radius: 2px;
transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.product-card:hover .subtitle-line {
width: 180px;
}

/* ============================================
ÉTAT VIDE (si aucun produit)
============================================ */
.products:empty::after {
content: "Aucun produit disponible";
display: block;
text-align: center;
padding: 60px 20px;
color: #666;
font-size: 1.1rem;
font-style: italic;
}

/* ============================================
TITRE PAGE (si présent)
============================================ */
h1 {
text-align: center;
color: #d4af37;
font-size: 2.5rem;
font-weight: 400;
letter-spacing: 2px;
margin: 40px 0 20px;
text-shadow: 0 2px 20px rgba(212, 175, 55, 0.3);
position: relative;
}

/* Séparateur décoratif sous le titre */
h1::after {
content: "";
display: block;
width: 120px;
height: 2px;
background: linear-gradient(to right, transparent, #d4af37, transparent);
margin: 16px auto 0;
border-radius: 2px;
box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

/* Desactivation séparateur décoratif sous le titre index */
h1.collection-title::after {
content: "";
display: block;
width: 120px;
height: 0px;
background: none;
margin: 16px auto 0;
border-radius: 2px;
box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

/* ============================================
ANIMATIONS D'APPARITION
============================================ */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.product-card {
animation: fadeInUp 0.6s ease backwards;
}

/* Délai progressif pour chaque carte */
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

/* ============================================
EFFET DE PARTICULES DORÉES (OPTIONNEL)
============================================ */
.product-card:hover .product-image::after {
content: "";
position: absolute;
width: 4px;
height: 4px;
background: #d4af37;
border-radius: 50%;
top: 20%;
left: 50%;
opacity: 0;
animation: sparkle 1.5s ease-in-out;
}

@keyframes sparkle {
0% {
opacity: 0;
transform: translate(0, 0) scale(0);
}
50% {
opacity: 1;
}
100% {
opacity: 0;
transform: translate(-20px, -30px) scale(1);
}
}

/* ============================================
RESPONSIVE
============================================ */
@media (max-width: 640px) {
.products {
gap: 16px;
padding: 0;
}

.product-card-inner {
gap: 16px;
/*padding: 16px;*/
}

.product-image {
flex: 0 0 100px;
/*height: 120px;*/
}

.product-info h2 {
font-size: 1.2rem;
}

.product-info .subtitle {
font-size: 0.85rem;
}

h1 {
font-size: 2rem;
margin: 30px 0 15px;
}

.subtitle-line {
max-width: 120px;
}

.product-card:hover .subtitle-line {
width: 120px;
}
}

@media (max-width: 400px) {
.product-image {
}

.product-info h2 {
font-size: 1.1rem;
}

.product-card-inner {
gap: 12px;
padding: 0;
}
}

/* ============================================
VARIANTE: GRILLE (si vous voulez tester)
============================================ */
/*
@media (min-width: 768px) {
.products {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}

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

.product-image {
height: 180px;
width: 100%;
}
}
*/

/* ============================================
BULLES EN LIGNE CONTINUE - EFFET CHAMPAGNE
Point fixe en bas → Ligne oscillante vers le haut
============================================ */

.menu-item.catalogue {
position: relative;
overflow: visible;
}

.menu-item.catalogue span {
margin-top: 6px; /* au lieu de 2px ou plus */
line-height: 1;
bottom: 3px;
}

.icon-wrap {
position: relative;
width: 26px;
height: 26px;
}

/* Point d'ancrage fixe en bas (comme une imperfection du verre) */
.bubble-anchor {
position: absolute;
bottom: 20px;
left: 50%;
width: 2px;
height: 2px;
background: rgba(212, 175, 55, 0.3);
border-radius: 50%;
transform: translateX(-50%);
pointer-events: none;
z-index: 10;
box-shadow: 0 0 2px rgba(212, 175, 55, 0.4);
}

/* ============================================
GÉNÉRATION DE LA LIGNE DE BULLES
8 bulles qui se suivent depuis le même point
============================================ */

/* Bulle 1 - Première de la ligne */
.menu-item.catalogue::before {
content: "";
position: absolute;
bottom: 48px;
left: 50%;
width: 2px;
height: 2px;
background: radial-gradient(circle, rgba(212, 175, 55, 0.9), rgba(212, 175, 55, 0.3));
border-radius: 50%;
opacity: 0;
animation: bubbleLine 2s ease-in-out infinite;
animation-delay: 0s;
pointer-events: none;
z-index: 5;
box-shadow: 0 0 3px rgba(212, 175, 55, 0.5);
}

/* Bulle 2 */
.menu-item.catalogue::after {
content: "";
position: absolute;
bottom: 48px;
left: 50%;
width: 2.5px;
height: 2.5px;
background: radial-gradient(circle, rgba(212, 175, 55, 0.85), rgba(212, 175, 55, 0.25));
border-radius: 50%;
opacity: 0;
animation: bubbleLine 2s ease-in-out infinite;
animation-delay: 0.25s;
pointer-events: none;
z-index: 5;
box-shadow: 0 0 3px rgba(212, 175, 55, 0.4);
}

/* Bulle 3 */
.menu-item.catalogue span::before {
content: "";
position: absolute;
bottom: 44px;
left: 50%;
width: 3px;
height: 3px;
background: radial-gradient(circle, rgba(212, 175, 55, 0.8), rgba(212, 175, 55, 0.2));
border-radius: 50%;
opacity: 0;
animation: bubbleLine 2s ease-in-out infinite;
animation-delay: 0.5s;
pointer-events: none;
z-index: 5;
box-shadow: 0 0 4px rgba(212, 175, 55, 0.5);
}

/* Bulle 4 */
.menu-item.catalogue span::after {
content: "";
position: absolute;
bottom: 44px;
left: 50%;
width: 2.5px;
height: 2.5px;
background: radial-gradient(circle, rgba(212, 175, 55, 0.75), rgba(212, 175, 55, 0.2));
border-radius: 50%;
opacity: 0;
animation: bubbleLine 2s ease-in-out infinite;
animation-delay: 0.75s;
pointer-events: none;
z-index: 5;
box-shadow: 0 0 3px rgba(212, 175, 55, 0.4);
}

/* Bulles supplémentaires via .icon-wrap */
.menu-item.catalogue .icon-wrap::before {
content: "";
position: absolute;
bottom: 20px;
left: 50%;
width: 3px;
height: 3px;
background: radial-gradient(circle, rgba(212, 175, 55, 0.85), rgba(212, 175, 55, 0.25));
border-radius: 50%;
opacity: 0;
animation: bubbleLine 2s ease-in-out infinite;
animation-delay: 1s;
pointer-events: none;
z-index: 5;
box-shadow: 0 0 4px rgba(212, 175, 55, 0.5);
}

.menu-item.catalogue .icon-wrap::after {
content: "";
position: absolute;
bottom: 20px;
left: 50%;
width: 2px;
height: 2px;
background: radial-gradient(circle, rgba(212, 175, 55, 0.7), rgba(212, 175, 55, 0.2));
border-radius: 50%;
opacity: 0;
animation: bubbleLine 2s ease-in-out infinite;
animation-delay: 1.25s;
pointer-events: none;
z-index: 5;
box-shadow: 0 0 3px rgba(212, 175, 55, 0.4);
}

/* ============================================
ANIMATION - LIGNE OSCILLANTE COMME UN BRIN
Point fixe en bas → Ondulation vers le haut
============================================ */

@keyframes bubbleLine {
0% {
/* Départ du point fixe */
transform: translate(-50%, 0) scale(0.3);
opacity: 0;
}

5% {
opacity: 0.9;
transform: translate(-50%, -2px) scale(0.6);
}

15% {
/* Légère oscillation droite */
transform: translate(-48%, -8px) scale(0.8);
opacity: 1;
}

25% {
/* Oscillation gauche */
transform: translate(-52%, -15px) scale(1);
}

35% {
/* Retour centre + grossit */
transform: translate(-50%, -23px) scale(1.1);
}

45% {
/* Oscillation droite */
transform: translate(-47%, -32px) scale(1.2);
}

55% {
/* Oscillation gauche + commence à rétrécir */
transform: translate(-53%, -41px) scale(1.1);
}

65% {
/* Retour centre */
transform: translate(-50%, -50px) scale(1);
opacity: 0.8;
}

75% {
/* Dernière oscillation droite */
transform: translate(-48%, -58px) scale(0.8);
opacity: 0.6;
}

85% {
/* Écartement final */
transform: translate(-52%, -65px) scale(0.6);
opacity: 0.4;
}

100% {
/* Disparition en s'éloignant */
transform: translate(-55%, -72px) scale(0.3);
opacity: 0;
}
}

/* ============================================
MODE ACTIF - BULLES PLUS RAPIDES ET INTENSES
============================================ */

.menu-item.catalogue.active::before,
.menu-item.catalogue.active::after,
.menu-item.catalogue.active span::before,
.menu-item.catalogue.active span::after,
.menu-item.catalogue.active .icon-wrap::before,
.menu-item.catalogue.active .icon-wrap::after {
animation-duration: 1.5s; /* Plus rapide quand actif */
}

.menu-item.catalogue.active::before {
background: radial-gradient(circle, rgba(212, 175, 55, 1), rgba(212, 175, 55, 0.4));
box-shadow: 0 0 6px rgba(212, 175, 55, 0.8);
}

.menu-item.catalogue.active::after {
background: radial-gradient(circle, rgba(212, 175, 55, 0.95), rgba(212, 175, 55, 0.35));
box-shadow: 0 0 5px rgba(212, 175, 55, 0.7);
}

/* Point d'ancrage plus visible quand actif */
.menu-item.catalogue.active .bubble-anchor {
background: rgba(212, 175, 55, 0.6);
box-shadow: 0 0 4px rgba(212, 175, 55, 0.8);
animation: anchorPulse 1s ease-in-out infinite;
}

@keyframes anchorPulse {
0%, 100% {
transform: translateX(-50%) scale(1);
opacity: 0.6;
}
50% {
transform: translateX(-50%) scale(1.3);
opacity: 1;
}
}

/* ============================================
VARIANTE - LIGNE PLUS DENSE (décommenter si besoin)
============================================ */

/* Pour ajouter 2 bulles supplémentaires entre chaque bulle existante :*/
@keyframes bubbleLine2 {
0% { transform: translate(-50%, 0) scale(0.3); opacity: 0; }
10% { transform: translate(-49%, -5px) scale(0.7); opacity: 0.8; }
30% { transform: translate(-51%, -18px) scale(0.9); opacity: 1; }
50% { transform: translate(-50%, -35px) scale(1); opacity: 0.8; }
70% { transform: translate(-48%, -52px) scale(0.7); opacity: 0.5; }
100% { transform: translate(-52%, -68px) scale(0.3); opacity: 0; }
}


/* ============================================
OPTIMISATION PERFORMANCE
============================================ */

.menu-item.catalogue::before,
.menu-item.catalogue::after,
.menu-item.catalogue span::before,
.menu-item.catalogue span::after,
.menu-item.catalogue .icon-wrap::before,
.menu-item.catalogue .icon-wrap::after {
will-change: transform, opacity;
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
.menu-item.catalogue::before,
.menu-item.catalogue::after,
.menu-item.catalogue span::before,
.menu-item.catalogue span::after,
.menu-item.catalogue .icon-wrap::before,
.menu-item.catalogue .icon-wrap::after,
.bubble-anchor {
animation: none;
opacity: 0;
}
}

/* --------------- my_orders.php -----------------*/


/* Mini cartes adresses */
.address-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin: 20px 0;
}

.address-card {
background: linear-gradient(145deg, #000, #111);
border: 1px solid #333;
border-radius: 6px;
padding: 15px;
}

.address-card h4 {
margin-top: 0;
margin-bottom: 10px;
color: #dcae70;
font-size: 15px;
}

/* Espacement entre commandes */
.order-box {
margin-bottom: 40px;
}

/* Ligne livraison */
.shipping-line {
display: flex;
justify-content: space-between;
margin: 10px 0 0 0;
color: #ddd;
}

.shipping-line .label {
color: #aaa;
}

.order-line-meta {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 10px;
margin-top: 6px;
font-size: 14px;
color: #bbb;
}

.order-line-meta span {
white-space: nowrap;
}

.order-line-detail {
margin-top: 4px;
font-size: 13px;
color: #888;
}

/* ============================================
MES COMMANDES - CORRECTIONS AFFICHAGE
============================================ */

/* Prix sur une seule ligne */
.order-price {
white-space: nowrap;
text-align: right;
/*min-width: 120px;*/
}

/* Optimisation de la grille des métadonnées */
.order-line-meta {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 6px;
font-size: 14px;
color: #bbb;
}

.order-line-meta span {
white-space: nowrap;
}

/* Premier span (quantité × format) plus compact */
.order-line-meta span:first-child {
flex: 0 0 auto;
max-width: 200px;
}

/* Responsive pour mobile */
@media (max-width: 640px) {
.order-line-meta {
flex-direction: column;
gap: 4px;
}

.order-line-meta span:first-child {
max-width: 100%;
}
}

/* ============================================
BADGES DE STATUT COMMANDE - PREMIUM
============================================ */
.status-badge {
display: inline-block !important;
padding: 6px 16px !important;
border-radius: 6px !important;
font-size: 13px !important;
font-weight: 600 !important;
letter-spacing: 0.5px !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
transition: all 0.3s ease !important;
}

.status-badge:hover {
transform: translateY(-2px) !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* En attente - Orange doré */
.status-pending {
background: linear-gradient(135deg, #ff9800, #ff6f00) !important;
color: #fff !important;
}

/* Payée - Vert */
.status-paid {
background: linear-gradient(135deg, #4caf50, #2e7d32) !important;
color: #fff !important;
}

/* Expédiée - Bleu */
.status-shipped {
background: linear-gradient(135deg, #2196f3, #1565c0) !important;
color: #fff !important;
}

/* Livrée - Vert foncé */
.status-delivered {
background: linear-gradient(135deg, #66bb6a, #43a047) !important;
color: #fff !important;
}

/* Annulée - Rouge */
.status-cancelled {
background: linear-gradient(135deg, #f44336, #c62828) !important;
color: #fff !important;
}

/* Statut inconnu */
.status-unknown {
background: #666 !important;
color: #fff !important;
}

/* Responsive */
@media (max-width: 640px) {
.status-badge {
font-size: 12px !important;
padding: 5px 12px !important;
}
}

/* -------------- GOOGLE LOCAL GUIDE HEADER --------------*/

.local-guide-link {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
border-radius: 999px;
background: linear-gradient(135deg, #d4af37, #dcae70);
color: #fff;
font-size: 13px;
font-weight: 600;
text-decoration: none;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
transition: transform .15s ease, box-shadow .15s ease;
}
.local-guide-link:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0,0,0,0.25);
color: #000;
}

/* ===== LIEN HEADER LOCAL GUIDE ===== */
.local-guide-link {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
border-radius: 999px;
background: linear-gradient(135deg, #d4af37, #dcae70);
color: #fff;
font-size: 14px;
font-weight: 600;
text-decoration: none;
box-shadow: 0 4px 12px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.2);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.local-guide-link:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0,0,0,0.35), inset 0 1px 2px rgba(255,255,255,0.3);
}

.google-logo {
font-weight: bold;
font-size: 14px;
letter-spacing: -2px; /* réduit à zéro pour coller au logo */
font-family: 'Roboto', Arial, sans-serif; /* proche du style Google */
}

@media (max-width: 768px) {
.google-logo {
letter-spacing: -2px; /* moins serré sur mobile */
}
}

.google-logo span.g { color: #4285F4; } /* bleu */
.google-logo span.o1 { color: #EA4335; } /* rouge */
.google-logo span.o2 { color: #FBBC05; } /* jaune */
.google-logo span.g2 { color: #4285F4; } /* bleu */
.google-logo span.l { color: #34A853; } /* vert */
.google-logo span.e { color: #EA4335; } /* rouge */

.google-logo2 {
font-weight: bold;
font-size: 22px; /* taille H1 */
letter-spacing: -2px;
font-family: 'Arial', sans-serif;
}

.google-logo2 span.g { color: #4285F4; } /* bleu */
.google-logo2 span.o1 { color: #EA4335; } /* rouge */
.google-logo2 span.o2 { color: #FBBC05; } /* jaune */
.google-logo2 span.g2 { color: #4285F4; } /* bleu */
.google-logo2 span.l { color: #34A853; } /* vert */
.google-logo2 span.e { color: #EA4335; } /* rouge */

/* Google multicolore */
.google-logo3 {
font-weight: bold;
letter-spacing: -2px;
font-family: 'Roboto', Arial, sans-serif;
}

.google-logo3 span.g { color: #4285F4; } /* bleu */
.google-logo3 span.o1 { color: #EA4335; } /* rouge */
.google-logo3 span.o2 { color: #FBBC05; } /* jaune */
.google-logo3 span.g2 { color: #4285F4; } /* bleu */
.google-logo3 span.l { color: #34A853; } /* vert */
.google-logo3 span.e { color: #EA4335; } /* rouge */

/* Mot mis en avant en rouge */
.highlight-red {
color: #EA4335;
font-weight: 600;
}

/* ===== FORMULAIRE LOCAL GUIDE ===== */
.local-guide-page {
max-width: 600px;
margin: 60px auto;
padding: 30px;
background: linear-gradient(135deg, rgba(17,17,17,0.95), rgba(34,34,34,0.9));
border-radius: 6px;
backdrop-filter: blur(8px);
box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 2px 0 rgba(255,255,255,0.05);
color: #fff;
}

.local-guide-page h1 {
font-family: 'Roboto', arial, serif;
font-size: 28px;
text-align: center;
margin-bottom: 20px;
color: #d4af37;
text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.local-guide-page h1::after {
content: "";
display: block;
width: 250px;
height: 2px;
background: linear-gradient(
to right,
transparent,
#d4af37,
transparent
);
margin: 16px auto 0;
border-radius: 2px;
box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.local-guide-page .intro {
font-size: 16px;
line-height: 1.6;
margin-bottom: 30px;
color: #ccc;
text-align: center;
}

.local-guide-form .form-group {
margin-bottom: 20px;
}

.local-guide-form label {
display: block;
font-weight: 600;
margin-bottom: 6px;
color: #fff;
}

.local-guide-form input {
width: 100%;
padding: 14px 0 14px 0;
border-radius: 6px;
border: 1px solid rgba(255,255,255,0.2);
background: rgba(0,0,0,0.4);
color: #fff;
font-size: 14px;
transition: border 0.2s ease, background 0.2s ease;
}

.local-guide-form input:focus {
outline: none;
border: 1px solid #ffd700;
background: rgba(0,0,0,0.6);
}

/* Bouton primaire */
.btn-primary-local-guide {
display: inline-block;
width: 100%;
padding: 14px;
border-radius: 6px;
font-weight: 600;
text-align: center;
background: linear-gradient(135deg, #dcae70, #d4af37);
color: #0b0b0b;
text-transform: uppercase;
letter-spacing: 1px;
cursor: pointer;
border: none;
box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.15);
transition: all 0.3s ease;
}

.btn-primary-local-guide:hover {
transform: translateY(-2px);
box-shadow: 0 6px 24px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.2);
}

/* ===== CONFIRMATION PAGE ===== */
.local-guide-page .success {
font-size: 16px;
text-align: center;
color: #ffd700;
}

/* =============================================
ICON PANIER & BADGE – ANIMATION AU HOVER LIEN
============================================= */
.icon-wrap-pop {
position: relative;
width: 26px;
height: 26px;
display: flex;
align-items: center;
justify-content: center;
}

.icon-wrap-pop svg {
display: block;
width: 26px;
height: 26px;
stroke: lightsalmon;
transition: transform 0.25s ease, stroke 0.25s ease, filter 0.25s ease;
}

/* Badge */
#cart-badge,
.cart-badge-pop {
position: absolute;
top: -9px;
right: 4px;
background: lightsalmon; /* couleur menu */
color: #0f0f0f; /* texte sombre */
font-size: 9px;
font-weight: bold;
border-radius: 50%;
padding: 0px;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
transform: scale(0.9);
opacity: 1;
transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
pointer-events: none;
width:14px;
height:14px;
}

/* HOVER LIEN : svg + badge */
.menu-item:hover .icon-wrap-pop svg {
transform: scale(1.15);
stroke: #d4af37;
}

.menu-item:hover #cart-badge,
.menu-item:hover .cart-badge-pop {
transform: scale(1.25);
opacity: 1;
background: #d4af37; !important
filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
}

/* ACTIF LIEN */
.menu-item.active .icon-wrap-pop svg {
stroke: #d4af37;
transform: scale(1.25);
filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

.menu-item.active #cart-badge,
.menu-item.active .cart-badge-pop {
background: #d4af37;
color: #0f0f0f;
transform: scale(1.25);
filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
opacity: 1;
}
/*-------------------------------------------------------------*/
/* ----------------- MINUS PLUS INPUT CART.PHP-----------------*/
/*-------------------------------------------------------------*/
.qty-stepper {
display: inline-flex;
flex-direction:column;
align-items: center;
width:max-content;
gap:1;
}

.qty-input {
width: 52px;
height: 36px;
text-align: center;
border-radius: 8px;
border: 1px solid rgba(212, 175, 55, 0.45);
background: rgba(17, 17, 17, 0.95);
color: #d4af37;
font-size: 15px;
font-weight: 500;
outline: none;
margin:0;
appearance:textfield;
}

.qty-input:focus {
border-color: #d4af37;
box-shadow: 0 0 0 2px rgba(212,175,55,0.15);
}

.qty-btn {
width: 52px;
height: 32px;
border-radius: 8px;
border: 1px solid rgba(212, 175, 55, 0.35);
background: rgba(17, 17, 17, 0.9);
color: #d4af37;
font-size: 18px;
font-weight: 400;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}

.qty-btn:hover {
background: rgba(212, 175, 55, 0.12);
}

.qty-btn:active {
transform: scale(0.94);
}

/* Supprimer les flèches natives des input number */

/* Chrome, Edge, Safari */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}

/* Firefox */
.qty-input {
-moz-appearance: textfield;
appearance: textfield;
}

/* === KILL ABSOLU DES SPIN BUTTONS === */
.qty-stepper input[type="number"] {
-webkit-appearance: none !important;
-moz-appearance: textfield !important;
appearance: textfield !important;
}

/* Chrome / Edge / Safari */
.qty-stepper input[type="number"]::-webkit-inner-spin-button,
.qty-stepper input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none !important;
margin: 0 !important;
}

.qty-stepper .qty-input {
all: unset;
box-sizing: border-box;
width: 52px;
height: 36px;
text-align: center;
border-radius: 8px;
border: 1px solid rgba(212, 175, 55, 0.45);
background: rgba(17, 17, 17, 0.95);
color: #d4af37;
font-size: 15px;
}
/*-------------------------------------------------------------*/
/* ---------------FIN MINUS PLUS INPUT CART.PHP----------------*/
/*-------------------------------------------------------------*/

#champagne-trigger-top {
position: fixed;
bottom: var(--spacing-large, 80px);
right: var(--spacing-large, 10px);
width: 44px;
height: 44px;
background: linear-gradient(145deg,#e6c97a,#dcae70);
border-radius: 50%;
cursor: pointer;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
line-height: 1;
color: #0b0b0b;
box-shadow:0 4px 12px rgba(212, 175, 55, 0.35),inset 0 1px 1px rgba(255,255,255,0.4);
transition:transform 0.25s ease,
box-shadow 0.25s ease;
}

#champagne-trigger-top:hover {
transform: scale(1.08);
box-shadow:
0 6px 18px rgba(212, 175, 55, 0.5),
inset 0 1px 1px rgba(255,255,255,0.6);
}

/* Overlay cinématique */
#champagne-overlay-top {
position: fixed;
top: 0;
left: 0;
width: 0;
height: 0;
background:
radial-gradient(circle at 30% 30%, rgba(212,175,55,0.08), transparent 60%),
var(--black-deep);
overflow: hidden;
z-index: 1000000;
transition: 
width 1.1s cubic-bezier(.77,0,.18,1),
height 1.1s cubic-bezier(.77,0,.18,1);
}

/* Ouverture */
#champagne-overlay-top.open {
width: 100vw;
height: 100vh;
}

/* Diaporama */
.champagne-diapo {
width: 100%;
height: 100%;
position: relative;
}

/* Slides */
.champagne-diapo img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transform: scale(1.04);
transition:
opacity 1.6s ease,
transform 3s ease;
cursor: pointer;
}

/* Slide actif */
.champagne-diapo img.active {
opacity: 1;
transform: scale(1);
}

/* ----------------- LABEL SUR FICHE PRODUIT CATALOGUE INDEX.PHP -----------------*/
.product-labels {
position: absolute;
top: 8px;
right: 8px;
display: flex;
flex-direction: column;
gap: 4px;
z-index: 3;
}

.product-label {
background: #d4af37;
/*background: linear-gradient(135deg, #d4af37, rgba(255, 255, 255, 0.03));*/
color: #000;
font-size: 10px;
letter-spacing: 0.6px;
padding: 3px 6px;
border-radius: 4px;
text-transform: uppercase;
font-weight: 600;
white-space: nowrap;
box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

/* Hover du bloc produit */
.product-card:hover .product-label {
background: #dcae70;
box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

body, p, h1, h2, h3, h4, h5, h6, a, span, div {
font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
}
