.shop-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.shop-feature-button{min-height:36px;padding:6px 9px;border:1px solid var(--line,#dfe5ef);border-radius:6px;color:var(--navy,#0a1f52);background:#fff;font-size:12px;font-weight:700;cursor:pointer}
.shop-feature-button:hover,.shop-feature-button[aria-pressed=true]{border-color:var(--navy,#0a1f52);background:var(--blue-soft,#eaf0fa)}
.shop-feature-button[aria-pressed=true][data-feature-action=favorite]{color:#b4233b}
.shop-header-link{white-space:nowrap}
.shop-feature-status{position:fixed;z-index:100;right:16px;bottom:90px;max-width:min(420px,calc(100vw - 32px));padding:12px 16px;border-radius:8px;color:#fff;background:#071638;box-shadow:0 8px 24px rgb(7 22 56 / 25%)}
.shop-compare-bar{position:fixed;z-index:90;right:16px;bottom:16px;left:16px;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px;border:1px solid var(--line,#dfe5ef);border-radius:10px;background:#fff;box-shadow:0 8px 28px rgb(7 22 56 / 18%)}
.shop-compare-bar[hidden],.shop-feature-status[hidden],.shop-compare-modal[hidden]{display:none}
.shop-compare-bar span{font-size:14px;font-weight:700}
.shop-compare-modal{position:fixed;z-index:110;inset:0;display:grid;place-items:center;padding:20px;background:rgb(7 22 56 / 66%)}
.shop-compare-panel{width:min(980px,100%);max-height:min(85vh,800px);overflow:auto;padding:22px;border-radius:12px;background:#fff;box-shadow:0 16px 48px rgb(0 0 0 / 28%)}
.shop-compare-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.shop-compare-heading h2{margin:0;color:var(--navy,#0a1f52);font-size:24px}
.shop-compare-close{width:40px;height:40px;border:1px solid var(--line,#dfe5ef);border-radius:8px;background:#fff;font-size:24px;cursor:pointer}
.shop-compare-hint{display:none;margin:0 0 8px;color:var(--muted,#65718a);font-size:12px}
.shop-compare-table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.shop-compare-table{width:100%;min-width:560px;border-collapse:collapse;text-align:left}
.shop-compare-table th,.shop-compare-table td{width:25%;padding:12px;border-bottom:1px solid var(--line,#dfe5ef);vertical-align:top}
.shop-compare-table th:first-child{width:110px}
.shop-compare-table img{width:100%;height:130px;object-fit:contain;background:#f7f8fa;border-radius:6px}
.shop-compare-table .shop-compare-name{display:block;margin:8px 0;color:var(--navy,#0a1f52);font-weight:700}
.shop-compare-remove{margin-top:8px;padding:5px 8px;border:1px solid var(--line,#dfe5ef);border-radius:5px;background:#fff;color:#8e2638;cursor:pointer}
.shop-favorites-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.shop-favorite-card{overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line,#dfe5ef);border-radius:8px;background:#fff}
.shop-favorite-image{display:grid;place-items:center;aspect-ratio:1.2;background:#fff}
.shop-favorite-image img{width:100%;height:100%;object-fit:contain}
.shop-favorite-info{display:grid;gap:8px;padding:12px}
.shop-favorite-info h2{margin:0;color:var(--navy,#0a1f52);font-size:16px}
.shop-favorite-info p{margin:0;color:var(--muted,#65718a);font-size:13px}
.shop-favorite-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media(max-width:900px){.shop-favorites-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.shop-favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-compare-bar{flex-wrap:wrap;right:10px;bottom:max(10px,env(safe-area-inset-bottom));left:10px;gap:8px;padding:10px}.shop-compare-bar span{width:100%;text-align:center}.shop-compare-bar .button{min-height:40px;padding-inline:12px}.shop-compare-modal{place-items:center;padding:12px}.shop-compare-panel{width:100%;min-width:0;max-height:85dvh;overflow-x:hidden;overflow-y:auto;padding:12px}.shop-compare-heading{position:sticky;top:-12px;z-index:2;margin:-12px -12px 12px;padding:12px;background:#fff}.shop-compare-heading h2{font-size:20px}.shop-compare-hint{display:block}.shop-compare-table-wrap{border:1px solid var(--line,#dfe5ef);border-radius:6px;touch-action:pan-x}.shop-compare-table th,.shop-compare-table td{padding:9px;font-size:13px}.shop-compare-table th:first-child{width:88px}.shop-compare-table img{height:90px}}
@media(max-width:380px){.shop-favorites-grid{grid-template-columns:1fr}}

/* ---- Bouton WhatsApp flottant ---- */
.wa-float{position:fixed;z-index:95;right:18px;bottom:max(18px,env(safe-area-inset-bottom));display:grid;place-items:center;width:56px;height:56px;padding:0;border-radius:50%;background:#25d366;color:#fff;font-weight:700;font-size:15px;text-decoration:none;box-shadow:0 8px 24px rgb(7 22 56 / 25%);transition:transform .18s,box-shadow .18s}
.wa-float:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgb(7 22 56 / 30%)}
.wa-float:focus-visible{outline:3px solid #0a1f52;outline-offset:3px}
body:has(.shop-compare-bar:not([hidden])) .wa-float{bottom:96px}
/* Le pied de page garde une marge à droite pour que l'icône ne recouvre jamais ses liens */
body .footer .footer-inner{padding-right:72px}
@media(max-width:640px){.wa-float{right:14px;width:52px;height:52px}body .footer{padding-bottom:84px}body .footer .footer-inner{padding-right:0}}
@media print{.wa-float,.cart-toast{display:none!important}}

/* ---- Notification d'ajout au panier ---- */
.cart-toast{position:fixed;z-index:110;left:50%;top:16px;transform:translateX(-50%);display:flex;align-items:center;gap:14px;max-width:min(460px,calc(100vw - 32px));padding:13px 16px;border-radius:10px;background:#071638;color:#fff;font-size:14px;box-shadow:0 10px 30px rgb(7 22 56 / 30%);animation:cart-toast-in .25s ease-out}
.cart-toast[hidden]{display:none}
.cart-toast.is-error{background:#a52020}
.cart-toast a{flex:none;padding:7px 12px;border-radius:6px;background:#f0b429;color:#0a1f52;font-weight:700;text-decoration:none;white-space:nowrap}
@keyframes cart-toast-in{from{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%,0)}}

/* ---- Retour visuel sur les boutons et le compteur ---- */
button.is-loading{opacity:.65;cursor:progress}
button.is-added{background:#1f8a4c!important;color:#fff!important}
.cart-bump{animation:cart-bump .45s ease}
@keyframes cart-bump{0%,100%{transform:scale(1)}40%{transform:scale(1.15)}}
@media(prefers-reduced-motion:reduce){.cart-toast,.cart-bump{animation:none}.wa-float{transition:none}}

/* ---- Cartes produits : cœur favori sur la photo, badge promo ---- */
.product{position:relative}
.card-fav{position:absolute;z-index:3;top:8px;right:8px;width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid var(--line,#dfe5ef);border-radius:50%;background:rgb(255 255 255 / 92%);color:#65718a;font-size:23px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgb(7 22 56 / 10%);transition:transform .15s,color .15s,border-color .15s}
.card-fav:hover{transform:scale(1.08);color:#b4233b;border-color:#f3c2cb}
.card-fav[aria-pressed=true]{color:#d6264a;border-color:#f3c2cb;background:#fff}
.card-fav:focus-visible{outline:3px solid #0a1f52;outline-offset:2px}
.card-promo{position:absolute;z-index:2;top:10px;left:10px;padding:3px 8px;border-radius:4px;background:#e53e3e;color:#fff;font:700 11px 'Outfit',sans-serif;letter-spacing:.04em}
/* Accueil, très petits écrans : carte horizontale, le cœur reste dans le coin du texte */
@media(max-width:520px){#produits .product-info{padding-right:52px}}
@media(prefers-reduced-motion:reduce){.card-fav{transition:none}}

/* Accès discret à l'administration : le © du pied de page, sans aspect de lien */
body .footer a.footer-admin{color:inherit;font-weight:inherit;text-decoration:none;cursor:default}
body .footer a.footer-admin:focus-visible{outline:2px solid #f0b429;outline-offset:2px;border-radius:2px}

/* Précommande */
.card-preorder{position:absolute;z-index:2;top:10px;left:10px;padding:3px 8px;border-radius:4px;background:var(--blue,#2453a6);color:#fff;font:700 11px 'Outfit',sans-serif;letter-spacing:.04em}
.card-promo + .card-preorder{top:36px}
.preorder-date{margin:4px 0 0;color:var(--blue,#2453a6);font-size:12px;font-weight:700}
.button.is-preorder{background:var(--navy,#0a1f52);border-color:var(--navy,#0a1f52);color:#fff}
.button.is-preorder:hover{background:var(--blue,#2453a6);border-color:var(--blue,#2453a6);color:#fff}

/* ---- Pied de page (accueil + boutique) ---- */
body .site-footer{margin-top:auto;padding:52px 0 0;background:var(--navy-deep,#071638);color:#c5d0e6;font-size:14px}
.site-footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,minmax(0,1fr));gap:32px}
.site-footer p{margin:0}
.site-footer ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}
.site-footer a{color:#e8eef9;font-weight:500}
.site-footer a:hover{color:var(--gold,#f0b429)}
.site-footer-brand{margin-bottom:10px!important;color:#fff;font:800 17px 'Outfit',sans-serif;letter-spacing:.02em}
.site-footer-about p:not(.site-footer-brand){max-width:300px;line-height:1.6}
.site-footer-title{margin-bottom:14px!important;color:#fff;font:700 13px 'Outfit',sans-serif;letter-spacing:.1em;text-transform:uppercase}
.site-footer .site-footer-wa{display:inline-flex;align-items:center;margin-top:16px;padding:9px 14px;border-radius:6px;background:#25d366;color:#fff;font-weight:700}
.site-footer .site-footer-wa:hover{background:#1ebe5b;color:#fff}
.site-footer-pay li{display:flex;align-items:center;gap:8px}
.site-footer-pay li::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--gold,#f0b429)}
.site-footer-bottom{margin-top:40px;padding:18px 72px 18px 0;border-top:1px solid rgb(255 255 255 / 10%);color:#8f9dbb}
@media(max-width:900px){.site-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer-about{grid-column:1/-1}}
@media(max-width:640px){body .site-footer{padding:40px 0 70px}.site-footer-grid{gap:26px 18px}.site-footer-bottom{margin-top:30px;padding-right:0}}

/* Lien « Promos » du menu, mis en avant */
.nav a.nav-promo,.mobile-nav a.nav-promo{color:#d12f2f;font-weight:700}
.nav a.nav-promo:hover{color:#b42318}
