* { margin: 0; padding: 0; box-sizing: border-box; }

@import url('https://fonts.googleapis.com/css?family=Inter:400,600,700&display=swap');


@font-face {
  font-family: 'Aeonik Pro';
  src: url('../assets/AeonikPro-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Aeonik Pro';
  src: url('../assets/AeonikPro-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Aeonik Pro';
  src: url('../assets/AeonikPro-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}
/* Ajoute d'autres variantes si tu en as, exemple italique, etc. */


* { margin: 0; padding: 0; box-sizing: border-box; }

body {
   font-family: 'Aeonik Pro', 'Inter', '', Arial, sans-serif;
  background: #f8f9fb;
  color: #222;
}



/* --- PAGE PRODUIT --- */
main {
   padding-top: 50px; /* header + bannière */
  padding: 28px 4vw 18px 4vw;
  max-width: 1050px;
  margin: 0 auto;
}






.product-img-box {
  flex: 1 1 260px;
  display: flex;
  justify-content: center;
}

.product-img {
  width: 170px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 12px #0001;
  display: block;
  margin: 0 auto 12px auto;
}

.product-info {
  flex: 2 1 400px;
}

.product-title {
  color: #13B888;
  font-size: 1.5em;
  margin-bottom: 7px;
}

.product-desc {
  margin-bottom: 15px;
  color: #444;
}

.product-details {
  margin-bottom: 18px;
}
.product-details ul {
  padding-left: 17px;
  color: #444;
}

.buy-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 13px;
}

.buy-form label {
  font-weight: bold;
}

.buy-form select, .buy-form input[type="email"] {
  padding: 9px 14px;
  font-size: 1em;
  border-radius: 8px;
  border: 1px solid #13B88877;
  margin-bottom: 5px;
}

.buy-btn {
  padding: 12px 0;
  border: none;
  border-radius: 22px;
  background: #13B888;
  color: #fff;
  font-size: 1.07em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 5px;
  transition: background .15s;
}
.buy-btn:hover {
  background: #0a8f65;
}

.buy-message {
  margin-top: 7px;
  font-weight: bold;
}

.product-extra {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px #0001;
  padding: 28px 22px 19px 22px;
  margin-bottom: 30px;
}

.product-extra h2 {
  color: #13B888;
  margin-bottom: 12px;
}

.product-extra ul {
  padding-left: 22px;
}

.faq-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px #0001;
  padding: 26px 20px 16px 20px;
}
.faq-section h3 {
  color: #13B888;
  margin-bottom: 10px;
}


.product-extra h3 {
  color: #13B888;
  margin-bottom: 10px;
}
.faq-section details {
  margin-bottom: 8px;
}
.faq-section summary {
  font-weight: bold;
  cursor: pointer;
  outline: none;
  font-size: 1em;
  color: #222;
}
.faq-section p {
  margin-left: 12px;
  color: #444;
  font-size: .97em;
}

@media (max-width: 820px) {
  .product-container { flex-direction: column; gap: 18px; padding: 18px 7vw; }
  .product-img-box { justify-content: center; }
  .product-info { width: 100%; }
  .product-img { width: 120px; height: 75px; }
}
@media (max-width: 500px) {
  .product-container, .product-extra, .faq-section { padding: 5vw 2vw; }
  .product-img { 
    width: 80vw;         /* L'image prend 80% de la largeur de l'écran */
    max-width: 260px;    /* Limite la taille sur les grands téléphones */
    height: auto;        /* Garder le ratio original */
    display: block;
    margin: 0 auto 12px auto; /* Centré + espace bas */
  }
  .product-img-box { justify-content: center; }
}







/* Loader bouton */
.loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-top: 3px solid #13B888;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

.out-of-stock-options {
  margin-bottom: 6px;
  gap: 12px;
  opacity: 0.8;
}









/* -------- HEADER PREMIUM -------- */


main {
  padding-top: 50px; /* Ajuste cette valeur selon la hauteur réelle de ton header */
}
main {
  padding-top: 50px;
}
@media (min-width: 900px) {
  main {
    padding-top: 50px;
  }
}


@media (max-width:600px){
  main { padding-top: 50px; } /* Ajuste selon la vraie taille */
}

.main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  background: #fff;
  box-shadow: 0 2px 14px #13b8880e;
  border-bottom: 1.5px solid #e2eaf0;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4vw 8px 4vw;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 54px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header-logo img {
  height: 38px;
  width: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: #e6f8f5;
  box-shadow: 0 1px 4px #13b88815;
}
.header-logo span {
  color: #13B888;
  font-weight: 800;
  font-size: 1.17em;
  letter-spacing: .5px;
}
.header-logo .dotcom {
  color: #292929;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;                /* Espace entre chaque bouton, tu peux mettre 8px si tu veux encore plus compact */
  margin-right: 12px;       /* Ajoute une marge à droite pour aérer le dernier bouton */
}

.header-btn {
  background: #fff;
  border: 2px solid #13B888;
  border-radius: 13px;      /* Légèrement plus petit */
  box-shadow: 0 2px 10px #13b88815;
  padding: 5px 8px;         /* Plus petit en hauteur et largeur */
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: border .13s, box-shadow .14s, background .13s;
  position: relative;
  min-width: 38px;          /* Réduit la taille minimum */
  min-height: 38px;         /* Idem */
}

.header-btn svg {
  width: 22px;
  height: 22px;
}


.header-btn:hover, .header-btn:focus-visible {
  border-color: #0b7d5a;
  background: #f2fbf8;
  box-shadow: 0 4px 18px #13b88823;
}
.header-btn svg {
  display: block;
}
.cart-count {
  position: absolute;
 top: -8px; 
  right: -8px;
  background: #13B888;
  color: #fff;
  font-size: .95em;
  border-radius: 13px;
padding: 1.5px 6px;
  min-width: 18px;
  font-weight: bold;
  box-shadow: 0 1px 8px #13b88823;
}

/* -------- POPUP BLUR -------- */
.popup-blur {
  display: none;
  position: fixed;
  z-index: 140;
  left: 0; top: 0; width: 100vw; height: 100vh;
  backdrop-filter: blur(6px);
  background: #0a2d2933;
}
.popup-blur.active { display: block; }

/* POPUP RECHERCHE - GENERAL */
.search-popup {
  position: fixed;
  z-index: 150;
  left: 50%; top: 20vh;
  transform: translate(-50%, 0);
  width: 92vw;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 48px #13b8882a;
  padding: 36px 18px 20px 18px;   /* Assez de padding top pour laisser la place au X */
  animation: popupShow .20s;
  display: none;
}

/* Quand la popup est active (ouvre/ferme) */
.search-popup.active { display: block; }

/* BOUTON FERMER (X) DANS UN ROND, NE GÊNE RIEN */
.popup-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;
  background: #fff;
  border: 2px solid #13B888;
  border-radius: 50%;
  padding: 5px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 7px #13b88814;
  transition: border .13s, background .12s;
}
.popup-close:hover {
  background: #e9f9f6;
}

/* BARRE DE RECHERCHE AVEC LOUPE DEDANS */
.popup-search-form {
  display: flex;
  width: 100%;
  border-radius: 14px;
  border: 1.5px solid #13b88833;
  overflow: hidden;
  margin-top: 2px;
  background: #f6fcfa;
}
.popup-search-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.15em;
  padding: 14px 16px;
  color: #222;
  background: transparent;
}
.popup-search-form button {
  background: #13B888;
  border: none;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0 14px 14px 0;
  height: 48px;
  transition: background .14s;
}
.popup-search-form button svg {
  stroke: #fff;
  display: block;
}
.popup-search-form button:active,
.popup-search-form button:focus {
  background: #0b7d5a;
}

/* -------- POPUP PANIER -------- */
.cart-popup {
  display: none;
  position: fixed;
  z-index: 150;
  top: 64px;
  right: 3vw;
  width: 92vw;
  max-width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 48px #13b88824;
  animation: popupShowCart .18s;
}
@keyframes popupShowCart {
  from { opacity: 0; transform: translateY(-40px);}
  to { opacity: 1; transform: translateY(0);}
}
.cart-popup.active { display: block; }
.cart-popup-header {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1.5px solid #f0f6f4;
  padding: 11px 13px 7px 11px;
  position: relative;
  justify-content: space-between;
}
.cart-popup-header span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #13B888;
  font-weight: bold;
  font-size: 1.07em;
}
.cart-popup-body {
  color: #444;
  font-size: 1.08em;
  padding: 17px 14px 16px 17px;
  text-align: left;
}

/* -------- FOOTER -------- */
.site-footer {
  background: #f7fdfb;
  border-top: 1.5px solid #e2eaf0;
  padding: 19px 0 12px 0;
  margin-top: 56px;
  text-align: center;
  font-size: 1em;
  color: #555;
}
.footer-content {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 17px;
  font-size: 1em;
  margin: 6px 0;
}
.footer-links a {
  color: #13B888;
  text-decoration: none;
  font-weight: 500;
  transition: color .13s;
}
.footer-links a:hover { color: #0b7d5a; }

@media (max-width: 500px) {
  .search-popup {
    max-width: 98vw;
    padding: 28px 5px 10px 5px;
  }
  .popup-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }
  .popup-search-form button {
    height: 44px;
    padding: 0 12px;
  }
  .popup-search-form input {
    padding: 10px 7px;
    font-size: 1em;
  }
}

@media (max-width: 600px) {
  .header-actions {
    gap: 7px;
    margin-right: 5px;
  }
  .header-btn {
    min-width: 32px;
    min-height: 32px;
    padding: 3px 6px;
    border-radius: 10px;
  }
  .header-btn svg {
    width: 19px;
    height: 19px;
  }
}



/* Désactive le scroll body si popup ouverte */
body.popup-open { overflow: hidden; }

.search-results {
  margin-top: 20px;
  max-height: 280px;
  overflow-y: auto;
}

.search-result-item {
  background: #f8f9fb;
  border-radius: 13px;
  box-shadow: 0 1px 7px #13b88818;
  padding: 13px 13px 12px 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1.3px solid #e2eaf0;
}

.search-result-img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 1px 4px #13b88814;
}

.search-result-infos {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-result-title {
  font-weight: 700;
  color: #13B888;
  font-size: 1.08em;
  margin-bottom: 2px;
}

.search-result-desc {
  color: #345;
  font-size: 0.97em;
  opacity: .96;
}

.search-result-btn {
  display: block;
  width: 100%;
  background: #13B888;
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 13px 0;
  font-weight: 700;
  margin: 17px 0 0 0;
  font-size: 1.09em;
  cursor: pointer;
  box-shadow: 0 1px 8px #13b88821;
  transition: background .16s;
  text-align: center;
  text-decoration: none !important;
  letter-spacing: .2px;
}
.search-result-btn:hover {
  background: #0b7d5a;
}

.search-result-suggestion {
  background: #fff6ee;
  border: 1px solid #ffd5b6;
  border-radius: 12px;
  padding: 12px 13px;
  margin-bottom: 6px;
  box-shadow: 0 1px 4px #ff850015;
  color: #cb6700;
  font-size: 1em;
  text-align: left;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 9px;
  margin-top: 4px;
  border-radius: 13px;
  box-shadow: 0 1px 7px #13b88816;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 500px) {
  .footer-logo { width: 36px; height: 36px; }
}

.product-banner {
  position: fixed;
  top: 54px; /* hauteur du header (ajuste si besoin) */
  left: 0; right: 0;
  z-index: 105;
  width: 100vw;
  max-width: 100%;
  background: #e9f9f6;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 55px;
  border-bottom: 1.5px solid #13b88822;
  box-shadow: 0 2px 10px #13b8880c;
  margin-top: 0;
  min-height: 38px;
  height: 38px;
  padding: 0;
}



.banner-slide {
  display: none;
  align-items: center;
  width: 100%;
  justify-content: flex-start;
  padding: 0 14vw 0 4vw;
  height: 38px; 
  font-size: 0.99em;        
  color: #133b36;
  font-weight: 500;
}
.banner-slide.active {
  display: flex;
  animation: fadeInBanner .35s;
   height: 38px;             /* Aligne la hauteur du slide à la bannière */
  font-size: 0.99em;        /* Plus petit, + pro */
  padding: 0 14vw 0 4vw;
}


@keyframes fadeInBanner {
  from { opacity: 0; }
  to { opacity: 1; }
}
.banner-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
}

.banner-icon svg {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
}



.banner-text b {
  color: #13B888;
}
.banner-dots {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #c5ede3;
  display: inline-block;
  transition: background .17s;
}
.dot.active {
  background: #13B888;
}
@media (max-width: 600px) {
  .product-banner { min-height: 33px; height: 33px;}
  .banner-slide, .banner-slide.active { height: 33px; font-size: .93em; }

}

@media (max-width: 500px) {
  .banner-icon { width: 16px; height: 16px;}
}

.product-title-pro {
  font-size: 1.39em;   /* Avant : 1.22em */
  font-weight: 800;
  color: #133b36;
  margin: 0 0 10px 0;
  line-height: 1.19;
  letter-spacing: -0.02em;
}

.certified-badge {
  display: flex;
  align-items: center;
  background: #13B888;
  color: #fff;
  font-weight: 600;
  border-radius: 13px;
  font-size: 1.05em;  /* Un peu plus gros */
  padding: 8px 18px 8px 11px;
  gap: 10px;
  box-shadow: 0 1px 8px #13b88815;
  margin-bottom: 4px;
  margin-top: 1px;
  user-select: none;
}

.certified-badge b {
  color: #fff;
  font-weight: 800;
}

.certified-icon svg {
  display: block;
  width: 19px;
  height: 19px;
}

/* -------- DESIGN LISTE CARTES CADEAUX --------- */

.product-amounts-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px auto 30px auto;
  max-width: 540px;
  padding: 0;
}

/* Nouvelle carte cadeau style recharge.fr */
.giftcard-row {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #e2eaf0;
  border-radius: 17px;
  box-shadow: 0 2px 11px #13b8880a;
  padding: 18px 14px;
  gap: 15px;
  width: 100%;
  position: relative;
  transition: box-shadow .16s, border-color .14s;
}

.giftcard-separator {
  border: none;
  border-top: 1.5px dashed #e2eaf0;
  margin: 14px 0 12px 0;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85;
}


.giftcard-row:active, .giftcard-row:focus-within {
  border-color: #13B888;
  box-shadow: 0 3px 14px #13b88815;
}

.giftcard-logo {
  flex-shrink: 0;
  width: 86px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.giftcard-logo img {
  width: 86px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: none;
  display: block;
  margin: 0;
  padding: 0;
}



/* Partie texte à droite */
.giftcard-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.giftcard-price-row {
  margin-bottom: 2px;
}

.giftcard-price {
   font-family: 'Inter', Arial, sans-serif;
  font-size: 1.05em;         /* Avant : 1.23em */
  font-weight: 600;          /* Avant : 800 */
  color: #152b26;
  letter-spacing: normal;    /* Avant : 0.01em */
}


.giftcard-title {
  color: #152b26;
  font-size: 1.05em;
  font-weight: 600;
  margin-bottom: 2px;
}

.giftcard-desc {
  color: #23846f;
  font-size: .97em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
}

.amount-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #e9f9f6;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  border: 1.1px solid #bff2e4;
  flex-shrink: 0;
  margin-left: 2px;
}
.amount-info-icon svg {
  width: 11px;
  height: 11px;
}

.giftcard-actions {
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.amount-qty-pro {
  border-radius: 8px;
  border: 1.2px solid #c3e9dd;
  background: #f7fefa;
  font-size: 1em;
  padding: 8px 15px;
  color: #16695a;
  font-weight: 600;
  outline: none;
  min-width: 60px;
  max-width: 85px;
}
.amount-qty-pro:disabled {
  background: #f4f4f4;
  color: #aaa;
  border: 1.2px solid #ececec;
}

.amount-add-btn-pro {
  background: #13B888;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 0 18px;
  height: 40px;
  min-width: 148px;
  font-weight: 700;
  font-size: 1.06em;
  cursor: pointer;
  transition: background .13s, opacity .12s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: 0 1px 7px #13b88810;
}
.amount-add-btn-pro:disabled {
  background: #e9e9e9 !important;
  color: #b1b1b1 !important;
  cursor: not-allowed !important;
  border: none;
}

/* Rupture de stock */
.giftcard-row.out-of-stock {
  opacity: 0.90;
  border: 2px solid #f18a1b30;
  background: #f7f6f5;
}
.giftcard-row.out-of-stock .giftcard-price,
.giftcard-row.out-of-stock .giftcard-title,
.giftcard-row.out-of-stock .giftcard-desc {
  color: #222 !important;
  opacity: .78;
}
.giftcard-row.out-of-stock .amount-qty-pro {
  background: #f4f4f4;
  color: #f18a1b;
  border: 1.2px solid #f18a1b40;
  font-weight: bold;
}
.giftcard-row.out-of-stock .amount-add-btn-pro {
  background: #e9e9e9 !important;
  color: #b1b1b1 !important;
  cursor: not-allowed !important;
  border: none;
}
.giftcard-stock-row {
  margin-bottom: 2px;
}
.giftcard-stock-alert {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #f18a1b;
  font-size: .99em;
  font-weight: 600;
  margin-bottom: 5px;
}

/* Responsive mobile */
@media (max-width: 600px) {
  .giftcard-row {
    flex-direction: row;
    align-items: flex-start;
    padding: 13px 5px 13px 7px;
    gap: 10px;
  }
  .giftcard-logo {
    width: 48px; height: 48px;
  }
  .giftcard-logo img {
    width: 46px; height: 46px;
  }
  .amount-add-btn-pro {
    min-width: 95px;
    font-size: .97em;
    height: 36px;
    padding: 0 9px;
  }
  .amount-qty-pro {
    padding: 7px 5px;
    font-size: .98em;
    min-width: 46px;
    max-width: 70px;
  }
}

@media (max-width: 600px) {
  .giftcard-logo {
    width: 70px;
    margin-right: 10px;
  }
  .giftcard-logo img {
    width: 70px;
  }
}

.cart-popup-product {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-popup-product-top {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.cart-popup-img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 13px;

  flex-shrink: 0;
}

.cart-popup-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.cart-popup-title {
  font-size: 1.12em;
  font-weight: 700;
  color: #13B888;
  margin-bottom: 2px;
  font-family: 'Inter', 'Inter', Arial, sans-serif;
}

.cart-popup-montant,
.cart-popup-qty {
  color: #222;
  font-size: 1em;
  font-weight: 500;
  margin-bottom: 2px;
}

.cart-popup-total {
  color: #232323;
  font-size: 1.13em;
  font-weight: 800;
  margin-top: 4px;
  font-family: 'Inter', 'Inter', Arial, sans-serif;
}

.cart-popup-btns {
  display: flex;
  gap: 11px;
  margin-top: 12px;
  justify-content: flex-end;
}

.cart-btn-view,
.cart-btn-order {
  flex: 1 1 0;
  padding: 11px 0;
  font-size: 1.08em;
  border: none;
  border-radius: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .14s, color .13s;
  box-shadow: 0 1px 7px #13b88819;
  letter-spacing: 0.02em;
}

.cart-btn-view {
  background: #f8f9fb;
  color: #13B888;
  border: 1.5px solid #13B888;
}
.cart-btn-view:hover {
  background: #e6f8f5;
  color: #0a8f65;
}

.cart-btn-order {
  background: #13B888;
  color: #fff;
}
.cart-btn-order:hover {
  background: #0a8f65;
}

@media (max-width: 600px) {
  .cart-popup-product-top {
    gap: 9px;
  }
  .cart-popup-img {
    width: 44px;
    height: 44px;
    border-radius: 9px;
  }
  .cart-popup-title {
    font-size: 1.01em;
  }
  .cart-popup-montant,
  .cart-popup-qty {
    font-size: .97em;
  }
  .cart-popup-total {
    font-size: 1em;
  }
  .cart-popup-btns {
    flex-direction: column;
    gap: 6px;
    margin-top: 9px;
  }
  .cart-btn-view, .cart-btn-order {
    padding: 10px 0;
    font-size: 1em;
    border-radius: 11px;
  }
}

.cart-popup-sep {
  border: none;
  border-top: 1.5px solid #e2eaf0;
  margin: 13px 0 13px 0;
}

/* Popup panier pro */
.cart-popup-body {
  font-size: 0.97em;          /* Moins gros sur desktop */
  padding: 14px 12px 16px 12px;
}

.cart-popup-title {
  font-size: 1em;             /* Avant : 1.12em */
  font-weight: 600;           /* Avant : 700 */
  color: #13B888;
  font-family: 'Inter', 'Inter', Arial, sans-serif;
  margin-bottom: 2px;
}

.cart-popup-montant,
.cart-popup-qty {
  color: #222;
  font-size: 0.93em;          /* Avant : 1em */
  font-weight: 500;
  margin-bottom: 2px;
}

.cart-popup-total {
  color: #232323;
  font-size: 1em;             /* Avant : 1.13em */
  font-weight: 600;           /* Avant : 800 */
  margin-top: 2px;
  font-family: 'Inter', 'Inter', Arial, sans-serif;
}

.cart-popup-total-general {
  border-top: 1.5px solid #e2eaf0;
  margin: 16px 0 8px 0;
  padding: 10px 14px 0 14px;
  font-size: 1.09em;
  font-weight: 700;
  color: #133b36;
  letter-spacing: 0;
  background: #f8f9fb;
  border-radius: 10px;
  display: flex;
  justify-content: flex-end;   /* Tout à droite */
  align-items: center;
  min-height: 45px;
  box-sizing: border-box;
}
.cart-popup-total-general b {
  margin-left: 6px;
}

.cart-popup-remove {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 9px;
  margin-right: 2px;
  opacity: 0.75;
  padding: 3px;
  border-radius: 50%;
  transition: background 0.15s, opacity 0.12s;
  align-self: flex-start;
}
.cart-popup-remove:hover {
  background: #faeaea;
  opacity: 1;
}
.cart-popup-product-top {
  position: relative;
}

.cart-popup-btns {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: flex-end;
}

.cart-btn-view,
.cart-btn-order {
  padding: 9px 0;
  font-size: 0.98em;          /* Avant : 1.08em */
  border-radius: 11px;        /* Avant : 13px */
  min-width: 100px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .cart-popup-body {
    font-size: 0.94em;        /* Encore plus fin sur mobile */
    padding: 8px 3px 9px 3px;
  }
  .cart-popup-title {
    font-size: 0.97em;
  }
  .cart-popup-total-general {
    font-size: 1em;
    padding: 7px 0 0 0;
    margin: 11px 0 6px 0;
  }
  .cart-btn-view,
  .cart-btn-order {
    font-size: 0.93em;
    border-radius: 8px;
    padding: 7px 0;
  }
}

/* Améliore la croix fermeture */
.popup-close {
  top: 11px;
  right: 11px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border-width: 1.5px;
}

/* --- Séparateur discret à l'intérieur des produits du panier --- */
.cart-separator {
  border: none;
  border-top: 1px solid #e2eaf0;
  margin: 8px 0;
  opacity: 0.7;
}

/* Centrer le total général */
.cart-popup-total-general {
  justify-content: center !important;
  text-align: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Aérer la photo dans le panier */
.cart-popup-img {
  margin-left: 8px;
}

.cart-popup-info-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #13B888;
  font-size: 0.97em;
  font-weight: 600;
  justify-content: center;
  margin-bottom: 10px;
  margin-top: 2px;
  opacity: 0.82;
}

.cart-popup-body {
  padding: 18px 12px 18px 12px;
}
@media (max-width: 600px) {
  .cart-popup-body {
    padding: 14px 7px 14px 7px;
  }
}

.cart-popup-btns {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 12px 10px 8px 10px;
}
.cart-btn-view, .cart-btn-order {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  padding-left: 0;
  padding-right: 0;
}
.cart-btn-order {
  box-shadow: 0 2px 12px #13b88822;
}
.cart-popup-total-general {
  margin: 14px 0 8px 0;
  padding: 13px 0 0 0;
  font-size: 1.11em;
  background: #f8f9fb;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  box-sizing: border-box;
  width: 92%;
  margin-left: 4%;
  margin-right: 4%;
}
.cart-popup-product-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 6px;
  padding-left: 7px;
}
.cart-popup-img {
  margin-left: 0;
  margin-right: 5px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
}
.cart-popup-title {
  font-size: 1.13em;
  font-weight: bold;
  color: #13B888;
  margin-bottom: 0;
}
.cart-popup-subtitle {
  color: #888;
  font-size: .97em;
  margin-bottom: 5px;
  display: block;
  margin-top: 2px;
}
.cart-popup-row {
  font-size: 1em;
  margin-bottom: 6px;
}
.cart-popup-details {
  box-shadow: 0 2px 10px #13b88811;
  border: 1.5px solid #e2eaf0;
}
.cart-popup-product-top {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 8px;
  padding-left: 6px;
  padding-right: 6px;
}
.cart-popup-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  margin-right: 7px;
}
.cart-popup-details {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  background: #f8f9fb;
  border-radius: 10px;
  padding: 10px 14px 8px 14px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  box-shadow: 0 1px 7px #13b88813;
  border: 1.5px solid #e2eaf0;
}
.cart-popup-title {
  font-size: 1.13em;
  font-weight: 700;
  color: #13B888;
  margin-bottom: 0;
}
.cart-popup-subtitle {
  color: #888;
  font-size: .97em;
  margin-bottom: 4px;
  margin-top: 2px;
  display: block;
}
.cart-popup-row {
  font-size: 1em;
  margin-bottom: 4px;
  width: 100%;
  text-align: left;
}
.cart-separator {
  border: none;
  border-top: 1px solid #e2eaf0;
  margin: 8px 0;
  opacity: 0.8;
  width: 100%;
}
.cart-popup-remove {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  opacity: 0.85;
  padding: 4px;
  border-radius: 50%;
  transition: background 0.15s, opacity 0.12s;
}
.cart-popup-remove:hover {
  background: #faeaea;
  opacity: 1;
}
.cart-popup-total-general {
  margin: 14px 0 8px 0;
  padding: 13px 0 0 0;
  font-size: 1.11em;
  background: #f8f9fb;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  box-sizing: border-box;
  width: 92%;
  margin-left: 4%;
  margin-right: 4%;
}
.cart-popup-btns {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 12px 12px 8px 12px;
}
.cart-btn-view, .cart-btn-order {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  padding-left: 0;
  padding-right: 0;
}
.cart-btn-order {
  box-shadow: 0 2px 12px #13b88822;
}
.cart-popup-info-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #13B888;
  font-size: 0.97em;
  font-weight: 600;
  justify-content: center;
  margin-bottom: 7px;
  margin-top: 2px;
  opacity: 0.82;
}
@media (max-width: 600px) {
  .cart-popup-details {
    padding: 8px 5px 6px 8px;
    border-radius: 8px;
  }
  .cart-popup-btns {
    margin: 10px 3vw 7px 3vw;
  }
  .cart-popup-total-general {
    font-size: 1em;
    padding: 8px 0 0 0;
    margin: 9px 0 5px 0;
    width: 96%;
    margin-left: 2%;
    margin-right: 2%;
  }
}
.cart-popup-list {
  max-height: 52vh;
  overflow-y: auto;
  padding-bottom: 5px;
}
.cart-popup-details-compact {
  display: flex;
  flex-direction: column;
  background: #f8f9fb;
  border-radius: 10px;
  padding: 8px 10px 8px 10px;
  min-width: 0;
  width: 100%;
  border: 1.2px solid #e2eaf0;
  box-shadow: 0 1px 7px #13b88813;
}
.cart-popup-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1px;
}
.cart-popup-title {
  font-size: 1.09em;
  font-weight: 700;
  color: #13B888;
}
.cart-popup-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 1.03em;
  margin-top: 2px;
}
.cart-popup-value {
  color: #888;
}
.cart-popup-qty {
  color: #222;
}
.cart-popup-total {
  color: #232323;
  font-weight: 700;
}
.cart-popup-total-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1.5px solid #13B88844;
  border-radius: 13px;
  padding: 14px 16px;
  font-size: 1.18em;
  font-weight: 700;
  margin: 14px 8px 8px 8px;
  box-shadow: 0 1px 8px #13b88818;
}
.cart-popup-total-label {
  color: #133b36;
  letter-spacing: .01em;
}
.cart-popup-total-value {
  color: #13B888;
  font-size: 1.12em;
  font-weight: 800;
  margin-left: 14px;
}
.cart-popup-list {
  max-height: 52vh;
  overflow-y: auto;
  padding-bottom: 5px;
  margin-bottom: 2px;
}

.cart-popup-product-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 7px;
  padding-left: 6px;
  padding-right: 6px;
}

.cart-popup-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  margin-right: 4px;
}

.cart-popup-details-compact {
  display: flex;
  flex-direction: column;
  background: #f8f9fb;
  border-radius: 10px;
  padding: 7px 10px 7px 10px;
  min-width: 0;
  width: 100%;
  border: 1.2px solid #e2eaf0;
  box-shadow: 0 1px 7px #13b88813;
}

.cart-popup-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1px;
}

.cart-popup-title {
  font-size: 1.09em;
  font-weight: 700;
  color: #13B888;
}

.cart-popup-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 1.03em;
  margin-top: 2px;
}

.cart-popup-value {
  color: #888;
}
.cart-popup-qty {
  color: #222;
}
.cart-popup-total {
  color: #232323;
  font-weight: 700;
}

/* Bloc total moderne */
.cart-popup-total-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1.5px solid #13B88844;
  border-radius: 13px;
  padding: 14px 16px;
  font-size: 1.18em;
  font-weight: 700;
  margin: 14px 8px 8px 8px;
  box-shadow: 0 1px 8px #13b88818;
}
.cart-popup-total-label {
  color: #133b36;
  letter-spacing: .01em;
}
.cart-popup-total-value {
  color: #13B888;
  font-size: 1.12em;
  font-weight: 800;
  margin-left: 14px;
}

/* Boutons bien espacés */
.cart-popup-btns {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 10px 12px 8px 12px;
}

.cart-btn-view, .cart-btn-order {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  padding-left: 0;
  padding-right: 0;
}

.cart-btn-order {
  box-shadow: 0 2px 12px #13b88822;
}

.cart-popup-info-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #13B888;
  font-size: 0.97em;
  font-weight: 600;
  justify-content: center;
  margin-bottom: 7px;
  margin-top: 2px;
  opacity: 0.82;
}

/* Responsive mobile */
@media (max-width: 600px) {
  .cart-popup-list {
    max-height: 60vw;
    margin-bottom: 1px;
  }
  .cart-popup-details-compact {
    padding: 7px 6px 7px 7px;
    border-radius: 8px;
  }
  .cart-popup-btns {
    margin: 7px 3vw 7px 3vw;
  }
  .cart-popup-total-block {
    font-size: 1.08em;
    padding: 9px 7px;
    margin: 10px 2vw 5px 2vw;
  }
}

.giftcard-row.out-of-stock {
  opacity: 0.60 !important;
  background: #f9f8f8 !important;
  border: 1.2px dashed #f18a1b55 !important;
  pointer-events: none;
  min-height: 55px;
  max-height: 62px;
  height: 62px;
  overflow: hidden;
  position: relative;
  transform: scale(0.96);
  margin-bottom: 3px;
}
.giftcard-row.out-of-stock .giftcard-logo img {
  width: 40px !important;
  height: 25px !important;
  opacity: 0.7 !important;
  filter: grayscale(0.7);
}

.giftcard-row.out-of-stock .giftcard-title,
.giftcard-row.out-of-stock .giftcard-price {
  font-size: 1.10em !important;
  color: #b08e40 !important;
  opacity: 0.95 !important;
  font-weight: bold;
  margin-bottom: 0;
  margin-top: 0;
}

.giftcard-row.out-of-stock .giftcard-details {
  padding-top: 15px !important;
}

.giftcard-row.out-of-stock .giftcard-stock-mini-title {
  position: absolute;
  top: 5px;
  left: 18px;
  right: 12px;
  font-size: 0.93em;
  color: #ff9b22;
  opacity: 0.8;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 5px;
  pointer-events: none;
  z-index: 2;
}
.giftcard-row.out-of-stock .giftcard-stock-row {
  margin: 0;
  padding: 0;
}
.giftcard-row.out-of-stock .giftcard-desc,
.giftcard-row.out-of-stock .giftcard-actions,
.giftcard-row.out-of-stock .giftcard-stock-row {
  display: none !important;
}
.giftcard-inner-separator {
  border: none;
  border-top: 1px dashed #e2eaf0;
  margin: 9px 0;
  opacity: 0.75;
  width: 100%;
}
.giftcard-price-outstock {
  color: #b08e40 !important;
  opacity: 0.59 !important;
  font-weight: 600 !important;
  font-size: 1.10em !important;
  margin-bottom: 0;
  margin-top: 0;
  text-align: left;
  letter-spacing: 0.01em;
}
.cart-product-separator {
  border: none;
  border-top: 1.1px dashed #e2eaf0;
  margin: 7px 0 9px 0;
  opacity: 0.83;
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
}
