@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600&display=swap');
/* Ajouts : bouton WhatsApp, liens légaux, pages légales / 404 */
.wa-float{position:fixed;right:16px;bottom:16px;z-index:60;display:flex;align-items:center;gap:8px;background:#1f8f4e;color:#fff;padding:12px 16px;border-radius:999px;font:600 14px/1 Inter,system-ui,sans-serif;text-decoration:none;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.wa-float:hover{background:#187a42}
@media(max-width:600px){.wa-float span{display:none}.wa-float{padding:14px}}
footer .footer-legal{display:inline;white-space:nowrap}
footer .footer-legal a{display:inline!important;margin:0!important;padding:0!important;font:inherit!important;letter-spacing:inherit;text-transform:inherit;color:inherit;opacity:.9;text-decoration:none;line-height:inherit}
footer .footer-legal a::before{content:"·";display:inline-block;margin:0 12px;opacity:.7}
footer .footer-legal a:hover{opacity:1;text-decoration:underline}
.footer-legal .sm{display:none}
footer .copyright,footer .footer-bottom{text-align:center}
footer .ref-footer-bottom{justify-content:center!important;flex-wrap:wrap;gap:8px 28px;text-align:center}
@media(max-width:700px){footer .footer-legal{white-space:normal}.footer-legal .lg{display:none}.footer-legal .sm{display:inline}}
main.legal{max-width:820px;margin:0 auto;padding:56px 22px 72px;line-height:1.7}
main.legal h1{font-family:'Cormorant Garamond',serif;font-size:clamp(32px,6vw,46px);margin:0 0 8px}
main.legal h2{font-family:'Cormorant Garamond',serif;font-size:26px;margin:32px 0 8px}
main.legal .lead{opacity:.75;margin:0 0 24px}
main.legal mark.todo{background:#fff3c4;color:#5b4500;padding:0 4px;border-radius:3px}
main.legal .btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
footer.legal-min{padding:8px 12px 84px}footer.legal-min .footer-legal{margin-top:0}

/* === Logo pied de page : posé directement sur le fond, sans cadre ni image derrière, animé seul === */
.ref-footer-brand img{
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  mix-blend-mode:normal;
  transform-origin:center;
  animation:vFooterLogoIn 1s cubic-bezier(.2,.7,.2,1) both,
            vFooterLogoFloat 5s ease-in-out 1s infinite,
            vFooterLogoGlow 5s ease-in-out 1s infinite;
  will-change:transform,filter;
}
@keyframes vFooterLogoIn{from{opacity:0;transform:translateY(12px) scale(.92)}to{opacity:1;transform:none}}
@keyframes vFooterLogoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes vFooterLogoGlow{0%,100%{filter:drop-shadow(0 0 0 rgba(231,196,119,0))}50%{filter:drop-shadow(0 0 10px rgba(231,196,119,.5))}}
@media (prefers-reduced-motion:reduce){.ref-footer-brand img{animation:none}}

/* Hero slide 1: agrandit legerement les 3 sacs (+3%) */
.hero-slide-1{transform:scale(1.03);transform-origin:64% 87%}

/* cafes: larger prices */
.cafe-sidebar-page .product-price{font-size:26px}
.cafe-sidebar-page .modal-info #modalPrice{font-size:1.15em}

/* prix agrandis */
.mx-bottom strong{font-size:22px!important;font-weight:700;line-height:1.1;white-space:normal!important;color:#8a5f1f}
.mx-bottom strong small{display:block;font-size:12px;font-weight:500;letter-spacing:.04em;color:#887d70;margin-bottom:2px}
.syrup-bottom strong{font-size:22px!important;font-weight:700;color:#8a5f1f}
.pd-price{font-size:32px!important;line-height:1.15;font-weight:700;color:#8a5f1f}
.pd-rel-price{font-size:17px!important;font-weight:700;color:#8a5f1f}
.mx-group-head small{font-size:15px;font-weight:600;color:#8a5f1f}

/* sirops : prix "125 DH" sur une seule ligne + petit bouton "+" */
.syrup-bottom{flex-wrap:nowrap}
.syrup-bottom strong{white-space:nowrap;flex:none}
.syrup-bottom .add-cart,
body.catalog-page.category-sidebar-page .catalog-syrup-grid .syrup-bottom .add-cart{
  width:34px!important;min-width:34px!important;height:34px!important;
  padding:0!important;margin-left:auto;flex:none!important;
  border-radius:50%;font-size:20px!important;line-height:1;
  display:grid;place-items:center;
}

/* machines : couleurs d'origine, "À partir de" agrandi */
.mx-bottom strong small,.mx-card .mx-bottom strong small{font-size:16px!important;font-weight:600;margin-bottom:3px}

/* sirops : prix noir, police nette (chiffres alignés, non "ondulés") */
.syrup-bottom strong,.syrup-card .syrup-bottom strong,
body.catalog-page.category-sidebar-page .catalog-syrup-grid .syrup-bottom strong{
  color:#000!important;
  font-family:'DM Sans',Arial,sans-serif!important;
  font-variant-numeric:lining-nums;
  font-weight:700!important;
  font-size:20px!important;
  letter-spacing:0;
}

/* cafés + machines : même police nette pour les prix (couleurs inchangées) */
.product-price,.cafe-sidebar-page .product-price,
.modal-info>strong,.modal-info #modalPrice,
.mx-bottom strong,.mx-card .mx-bottom strong,
.mx-bottom strong small{
  font-family:'DM Sans',Arial,sans-serif!important;
  font-variant-numeric:lining-nums;
  letter-spacing:0;
}
.product-price,.cafe-sidebar-page .product-price{font-size:22px!important;font-weight:700}
.mx-bottom strong,.mx-card .mx-bottom strong{font-size:20px!important;font-weight:700}


/* ===== PRIX : police élégante et nette (Jost), moins épaisse, chiffres alignés ===== */
.product-price,.cafe-sidebar-page .product-price,
.modal-info>strong,.modal-info #modalPrice,
.mx-bottom strong,.mx-card .mx-bottom strong,
.syrup-bottom strong,.syrup-card .syrup-bottom strong,
body.catalog-page.category-sidebar-page .catalog-syrup-grid .syrup-bottom strong,
.pd-price,.pd-rel-price{
  font-family:'Jost','DM Sans',Arial,sans-serif!important;
  font-weight:500!important;
  font-variant-numeric:lining-nums tabular-nums;
  letter-spacing:.02em!important;
  -webkit-font-smoothing:antialiased;
}
.product-price,.cafe-sidebar-page .product-price{font-size:24px!important;color:#2a1d12}
.mx-bottom strong,.mx-card .mx-bottom strong{font-size:23px!important;color:#2a1d12!important}
.mx-bottom strong small,.mx-card .mx-bottom strong small{font-family:'Jost',Arial,sans-serif!important;font-weight:400!important;font-size:14px!important;letter-spacing:.06em!important;color:#887d70!important}
.syrup-bottom strong,.syrup-card .syrup-bottom strong,
body.catalog-page.category-sidebar-page .catalog-syrup-grid .syrup-bottom strong{font-size:23px!important;color:#2a1d12!important}
.pd-price{font-size:34px!important;color:#8a5f1f}
.pd-rel-price{font-size:19px!important;color:#8a5f1f}

/* "Vous aimerez aussi" remonté juste sous le produit principal */
.pd-related{padding:14px 7% 34px!important}
.pd-related h2{margin-bottom:18px!important}
.pd-back{margin-top:18px}
.pd-main{padding-bottom:20px!important}
@media(max-width:820px){.pd-related{padding:10px 5% 26px!important}}

/* Bandeau d'icônes remonté sous la barre noire */
.pd-benefits{border-top:0!important;padding:18px 7% 14px!important}
.pd-main{padding-top:28px!important}

/* Pages produit : UNE seule photo continue derrière la barre du haut et le bandeau */
body.product-page .header{position:fixed!important;top:0!important;left:0;right:0;width:100%;z-index:1000;transition:background .3s ease;
  background:linear-gradient(rgba(15,9,5,.55),rgba(15,9,5,0))!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-bottom:0!important}
body.product-page .pd-top{padding-top:150px!important;padding-bottom:30px!important;
  background:linear-gradient(rgba(25,15,9,.45),rgba(25,15,9,.45)),url(assets/pd-bg-space.jpg) center/cover no-repeat!important}
@media(max-width:800px){body.product-page .header{position:fixed!important;background:rgba(11,9,8,.62)!important}
  body.product-page .pd-top{padding-top:24px!important}}

/* Header fixe : fond sombre dès que la page défile */
body.product-page .header.header-solid{background:rgba(11,9,8,.62)!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important;box-shadow:0 4px 16px rgba(0,0,0,.2)}

/* Description + Caractéristiques remontées près du lien "Retour" */
.pd-related{padding-bottom:4px!important}
.pd-back{margin-bottom:0!important;padding-bottom:0!important}
.pd-details{padding-top:56px!important;margin-top:0!important}
@media(max-width:820px){.pd-details{padding-top:40px!important;margin-top:0!important}}

/* Panier au-dessus du header sur les pages produit */
body.product-page .cart-backdrop{z-index:1090!important}
body.product-page .cart-drawer{z-index:1100!important;top:0!important}

/* "Prix sur demande" : plus petit, sur une seule ligne */
.mx-bottom strong.ask,.mx-card .mx-bottom strong.ask{font-size:15px!important;font-weight:600!important;white-space:nowrap!important;letter-spacing:0!important}
.pd-rel-price.ask{font-size:14px!important;white-space:nowrap!important}
.pd-price.pd-price-ask{font-size:24px!important;white-space:nowrap!important}
@media(max-width:820px){
  .mx-bottom strong.ask,.mx-card .mx-bottom strong.ask{font-size:13px!important}
  .pd-rel-price.ask{font-size:12px!important}
  .pd-price.pd-price-ask{font-size:20px!important}
}

/* "Prix sur demande" en brun (même brun que les prix) */
.mx-bottom strong.ask,.mx-card .mx-bottom strong.ask,.pd-rel-price.ask,.pd-price.pd-price-ask{color:#8a5f1f!important}

/* "Prix sur demande" un peu plus grand, toujours sur une seule ligne */
.mx-bottom strong.ask,.mx-card .mx-bottom strong.ask{font-size:17px!important;white-space:nowrap!important}
.pd-rel-price.ask{font-size:15.5px!important;white-space:nowrap!important}
.pd-price.pd-price-ask{font-size:27px!important;white-space:nowrap!important}
@media(max-width:820px){
  .mx-bottom strong.ask,.mx-card .mx-bottom strong.ask{font-size:14px!important}
  .pd-rel-price.ask{font-size:13px!important}
  .pd-price.pd-price-ask{font-size:22px!important}
}

/* Réseaux sociaux : sous le logo, sur toutes les pages */
.vx-social{display:flex;gap:12px;margin-top:18px;justify-content:flex-start}
.footer-grid .vx-social a{display:grid;place-items:center;width:34px;height:34px;margin:0;border:1px solid rgba(255,255,255,.28);border-radius:50%;color:rgba(255,255,255,.75);transition:.25s;line-height:1}
.vx-social svg{width:16px;height:16px}
.footer-grid .vx-social a:hover{color:#0b0a0a;background:#fff;border-color:#fff}
@media(min-width:1101px){footer .footer-grid{grid-template-columns:1.5fr 1fr 1.4fr 1fr}}

/* ===== Logo du bas de page : plus grand + animation (toutes les pages) ===== */
@keyframes vxLogoFloat{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-5px) rotate(-.6deg)}50%{transform:translateY(-8px) rotate(0)}75%{transform:translateY(-4px) rotate(.6deg)}}
@keyframes vxLogoGlow{0%,100%{filter:drop-shadow(0 0 0 rgba(231,196,119,0))}50%{filter:drop-shadow(0 0 14px rgba(231,196,119,.6))}}
footer .footer-logo,footer .ref-footer-brand img,.footer-brand .footer-logo{
  width:190px!important;max-width:100%;height:auto!important;
  transform-origin:center;will-change:transform,filter;
  animation:vxLogoFloat 4.5s ease-in-out infinite,vxLogoGlow 4.5s ease-in-out infinite!important;
}
footer .footer-logo:hover,footer .ref-footer-brand img:hover{animation-duration:2.2s,2.2s!important}
@media(max-width:800px){footer .footer-logo,footer .ref-footer-brand img,.footer-brand .footer-logo{width:160px!important}}

/* ===== Logo du pied de page UNIQUEMENT : mouvement doux et lent (toutes les pages) =====
   Header et menu latéral restent fixes. */
@keyframes vxFooterLogoMove{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-12px)}
}
footer .footer-brand .footer-logo,
footer.ref-footer .ref-footer-brand img{
  border-radius:0!important;
  filter:none!important;
  animation:vxFooterLogoMove 5.5s ease-in-out infinite!important;
  will-change:transform;
}
@media (prefers-reduced-motion:reduce){
  footer .footer-brand .footer-logo,footer.ref-footer .ref-footer-brand img{animation:none!important}
}
