/**
 * Tiroir panier latéral + modale « produit ajouté ».
 * Couleurs alignées boutique (navy / or UGCB).
 */

:root {
  --ugcb-cart-navy: #081C49;
  --ugcb-cart-gold: #B7985F;
  --ugcb-cart-gold-hover: #a4844f;
  --ugcb-cart-muted: rgba(8, 28, 73, 0.55);
  --ugcb-cart-line: rgba(8, 28, 73, 0.1);
  --ugcb-cart-cream: #f7f5f0;
}

/* Voile --------------------------------------------------------------- */
.ugcb-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 100100;
  background: rgba(8, 28, 73, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ugcb-cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Tiroir -------------------------------------------------------------- */
.ugcb-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100101;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  height: 100vh;
  height: 100dvh;
  background: #fff;
  box-shadow: -16px 0 48px rgba(8, 28, 73, 0.18);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.ugcb-cart-drawer.is-open {
  transform: translateX(0);
}

.ugcb-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 22px 24px;
  border-bottom: 1px solid var(--ugcb-cart-line);
}

.ugcb-cart-drawer__title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ugcb-cart-navy);
}

.ugcb-cart-drawer__close {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: var(--ugcb-cart-navy);
  padding: 0 4px;
}

.ugcb-cart-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 0;
}

.ugcb-cart-drawer__empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--ugcb-cart-muted);
  font-size: 15px;
}

.ugcb-cart-drawer__empty p {
  margin: 0 0 16px;
}

.ugcb-cart-drawer__shop {
  display: inline-block;
  color: var(--ugcb-cart-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ugcb-cart-drawer__shop:hover,
.ugcb-cart-drawer__shop:focus {
  color: var(--ugcb-cart-navy);
  opacity: 0.75;
}

.ugcb-cart-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ugcb-cart-drawer__item {
  display: flex;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ugcb-cart-line);
}

.ugcb-cart-drawer__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  background: var(--ugcb-cart-cream);
  overflow: hidden;
}

.ugcb-cart-drawer__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ugcb-cart-drawer__info {
  flex: 1 1 auto;
  min-width: 0;
}

.ugcb-cart-drawer__name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ugcb-cart-navy);
  line-height: 1.3;
}

.ugcb-cart-drawer__attrs,
.ugcb-cart-drawer__attrs.ugcb-item-meta {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 8px 0 12px;
  padding: 8px 0 0;
  border-top: 1px solid var(--ugcb-cart-line);
  font-size: 12px;
  color: var(--ugcb-cart-muted);
  line-height: 1.4;
}

.ugcb-cart-drawer__attrs .ugcb-item-meta__row {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.ugcb-cart-drawer__attrs .ugcb-item-meta__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ugcb-cart-muted);
}

.ugcb-cart-drawer__attrs .ugcb-item-meta__label::after {
  content: "\00a0:";
}

.ugcb-cart-drawer__attrs .ugcb-item-meta__value {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ugcb-cart-navy);
}

.ugcb-cart-drawer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ugcb-cart-drawer__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ugcb-cart-line);
  height: 34px;
}

.ugcb-cart-drawer__qty-btn {
  all: unset;
  box-sizing: border-box;
  width: 32px;
  height: 100%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ugcb-cart-navy);
  font-size: 16px;
}

.ugcb-cart-drawer__qty-btn:hover {
  background: var(--ugcb-cart-cream);
}

.ugcb-cart-drawer__qty-input {
  width: 40px;
  height: 100%;
  border: 0;
  border-left: 1px solid var(--ugcb-cart-line);
  border-right: 1px solid var(--ugcb-cart-line);
  text-align: center;
  font-size: 13px;
  color: var(--ugcb-cart-navy);
  -moz-appearance: textfield;
}

.ugcb-cart-drawer__qty-input::-webkit-outer-spin-button,
.ugcb-cart-drawer__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ugcb-cart-drawer__price {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ugcb-cart-navy);
  white-space: nowrap;
}

.ugcb-cart-drawer__remove {
  all: unset;
  box-sizing: border-box;
  margin-top: 8px;
  cursor: pointer;
  font-size: 12px;
  color: var(--ugcb-cart-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ugcb-cart-drawer__remove:hover {
  color: var(--ugcb-cart-navy);
}

.ugcb-cart-drawer__footer {
  flex-shrink: 0;
  padding: 20px 24px 28px;
  border-top: 1px solid var(--ugcb-cart-line);
  background: #fff;
}

.ugcb-cart-drawer__footer[hidden] {
  display: none;
}

.ugcb-cart-drawer__totals {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--ugcb-cart-navy);
}

.ugcb-cart-drawer__totals strong {
  font-size: 18px;
}

.ugcb-cart-drawer__tax {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--ugcb-cart-muted);
  text-align: right;
}

/* Pastille : toujours or + marine (jamais écrasée par .menu span noir). */
header .cart-icon-link .cart-badge,
.cart-icon-link .cart-badge {
  background-color: #B7985F !important;
  color: #081C49 !important;
}

.ugcb-cart-drawer__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin: 0 0 12px;
  padding: 0 16px;
  box-sizing: border-box;
  background: var(--ugcb-cart-gold) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.ugcb-cart-drawer__checkout:hover {
  background: var(--ugcb-cart-gold-hover) !important;
  color: #fff !important;
}

.ugcb-cart-drawer__view {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--ugcb-cart-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ugcb-cart-drawer__view:hover {
  color: var(--ugcb-cart-navy);
}

/* Modale ajout -------------------------------------------------------- */
.ugcb-cart-modal {
  position: fixed;
  inset: 0;
  z-index: 100110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 28, 73, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ugcb-cart-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.ugcb-cart-modal__panel {
  position: relative;
  width: min(420px, 100%);
  padding: 32px 28px 28px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(8, 28, 73, 0.22);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.ugcb-cart-modal.is-open .ugcb-cart-modal__panel {
  transform: none;
}

.ugcb-cart-modal__close {
  all: unset;
  position: absolute;
  top: 12px;
  right: 14px;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: var(--ugcb-cart-navy);
}

.ugcb-cart-modal__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(183, 152, 95, 0.15);
  color: var(--ugcb-cart-gold);
}

.ugcb-cart-modal__eyebrow {
  margin: 0 0 18px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ugcb-cart-gold);
}

.ugcb-cart-modal__product {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  margin-bottom: 22px;
  background: var(--ugcb-cart-cream);
}

.ugcb-cart-modal__product img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
}

.ugcb-cart-modal__name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ugcb-cart-navy);
  line-height: 1.3;
}

.ugcb-cart-modal__meta {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--ugcb-cart-muted);
}

.ugcb-cart-modal__qty {
  margin: 0;
  font-size: 13px;
  color: var(--ugcb-cart-navy);
}

.ugcb-cart-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ugcb-cart-modal__continue {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  cursor: pointer;
  border: 1px solid var(--ugcb-cart-line);
  color: var(--ugcb-cart-navy);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.ugcb-cart-modal__continue:hover {
  background: var(--ugcb-cart-cream);
}

.ugcb-cart-modal__open {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: var(--ugcb-cart-gold) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ugcb-cart-modal__open:hover {
  background: var(--ugcb-cart-gold-hover) !important;
}

body.ugcb-cart-open {
  overflow: hidden;
}

.ugcb-cart-drawer.is-loading {
  pointer-events: none;
}

.ugcb-cart-drawer__loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
}

.ugcb-cart-drawer__loader[hidden] {
  display: none !important;
}

.ugcb-cart-drawer__spinner {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(8, 28, 73, 0.15);
  border-top-color: #B7985F;
  border-radius: 50%;
  animation: ugcb-cart-spin 0.7s linear infinite;
}

@keyframes ugcb-cart-spin {
  to { transform: rotate(360deg); }
}

/* Bouton paiement : neutre face à .cta-primary global (trop gros / space-between). */
.ugcb-cart-drawer__checkout.cta-primary,
.ugcb-cart-drawer__checkout {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100%;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 0 12px !important;
  padding: 0 16px !important;
  box-sizing: border-box;
  background: var(--ugcb-cart-gold) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1 !important;
  white-space: nowrap;
  backdrop-filter: none;
}

.ugcb-cart-drawer__checkout:hover {
  background: var(--ugcb-cart-gold-hover) !important;
  color: #fff !important;
}

/* Pastille : chiffre toujours lisible (or + marine). */
.cart-icon-link .cart-badge-slot {
  display: block;
  position: absolute;
  top: -8px;
  right: -10px;
  width: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.cart-icon-link .cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: #B7985F !important;
  color: #081C49 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  font-family: 'Museo Sans', sans-serif !important;
}

/* Header blanc forcé sur panier / commande / contact / 404 (pas de hero). */
body.woocommerce-cart header.type-header.top-reached,
body.woocommerce-checkout header.type-header.top-reached,
body.page-template-panier header.type-header.top-reached,
body.page-template-commande header.type-header.top-reached,
body.page-template-contact header.type-header.top-reached,
body.error404 header.type-header.top-reached {
  background-color: #ffffff !important;
  box-shadow: 0 1px 0 rgba(8, 28, 73, 0.08);
}

body.woocommerce-cart header.type-header.top-reached a,
body.woocommerce-checkout header.type-header.top-reached a,
body.page-template-panier header.type-header.top-reached a,
body.page-template-commande header.type-header.top-reached a,
body.page-template-contact header.type-header.top-reached a,
body.error404 header.type-header.top-reached a {
  color: var(--theme-color-black, #1c1c1c) !important;
}

body.woocommerce-cart header.type-header.top-reached a.cta-primary,
body.woocommerce-checkout header.type-header.top-reached a.cta-primary,
body.page-template-panier header.type-header.top-reached a.cta-primary,
body.page-template-commande header.type-header.top-reached a.cta-primary,
body.page-template-contact header.type-header.top-reached a.cta-primary,
body.error404 header.type-header.top-reached a.cta-primary {
  color: #fff !important;
}

body.woocommerce-cart header.type-header.top-reached a.wpmenucart-contents.cart-icon-link,
body.woocommerce-checkout header.type-header.top-reached a.wpmenucart-contents.cart-icon-link,
body.page-template-panier header.type-header.top-reached a.wpmenucart-contents.cart-icon-link,
body.page-template-commande header.type-header.top-reached a.wpmenucart-contents.cart-icon-link,
body.woocommerce-account header.type-header.top-reached a.wpmenucart-contents.cart-icon-link,
body.page-template-profil header.type-header.top-reached a.wpmenucart-contents.cart-icon-link,
body.page-template-acces-membres header.type-header.top-reached a.wpmenucart-contents.cart-icon-link,
body.page-template-contact header.type-header.top-reached a.wpmenucart-contents.cart-icon-link,
body.error404 header.type-header.top-reached a.wpmenucart-contents.cart-icon-link {
  color: #081c49 !important;
}

body.woocommerce-cart header.type-header.top-reached .custom-logo--light,
body.woocommerce-checkout header.type-header.top-reached .custom-logo--light,
body.page-template-panier header.type-header.top-reached .custom-logo--light,
body.page-template-commande header.type-header.top-reached .custom-logo--light,
body.page-template-contact header.type-header.top-reached .custom-logo--light,
body.error404 header.type-header.top-reached .custom-logo--light {
  display: none !important;
}

body.woocommerce-cart header.type-header.top-reached .custom-logo--dark,
body.woocommerce-checkout header.type-header.top-reached .custom-logo--dark,
body.page-template-panier header.type-header.top-reached .custom-logo--dark,
body.page-template-commande header.type-header.top-reached .custom-logo--dark,
body.page-template-contact header.type-header.top-reached .custom-logo--dark,
body.error404 header.type-header.top-reached .custom-logo--dark {
  display: block !important;
}

/* Mobile burger-header : master.css force le logo blanc en top-reached (!important).
   Sur ces pages le header est blanc → logo invisible. Forcer le logo sombre. */
body.woocommerce-cart header.type-header.top-reached .burger-header .custom-logo--light,
body.woocommerce-checkout header.type-header.top-reached .burger-header .custom-logo--light,
body.page-template-panier header.type-header.top-reached .burger-header .custom-logo--light,
body.page-template-commande header.type-header.top-reached .burger-header .custom-logo--light,
body.page-template-contact header.type-header.top-reached .burger-header .custom-logo--light,
body.error404 header.type-header.top-reached .burger-header .custom-logo--light,
body.woocommerce-order-received header.type-header.top-reached .burger-header .custom-logo--light {
  display: none !important;
}

body.woocommerce-cart header.type-header.top-reached .burger-header .custom-logo--dark,
body.woocommerce-checkout header.type-header.top-reached .burger-header .custom-logo--dark,
body.page-template-panier header.type-header.top-reached .burger-header .custom-logo--dark,
body.page-template-commande header.type-header.top-reached .burger-header .custom-logo--dark,
body.page-template-contact header.type-header.top-reached .burger-header .custom-logo--dark,
body.error404 header.type-header.top-reached .burger-header .custom-logo--dark,
body.woocommerce-order-received header.type-header.top-reached .burger-header .custom-logo--dark {
  display: block !important;
}

/* Burger lines only — never paint .cart-badge (or the count disappears on white nav). */
body.woocommerce-cart header.type-header.top-reached .menu span:not(.cart-badge):not(.cart-badge-slot):not(.screen-reader-text),
body.woocommerce-checkout header.type-header.top-reached .menu span:not(.cart-badge):not(.cart-badge-slot):not(.screen-reader-text),
body.page-template-panier header.type-header.top-reached .menu span:not(.cart-badge):not(.cart-badge-slot):not(.screen-reader-text),
body.page-template-commande header.type-header.top-reached .menu span:not(.cart-badge):not(.cart-badge-slot):not(.screen-reader-text),
body.page-template-contact header.type-header.top-reached .menu span:not(.cart-badge):not(.cart-badge-slot):not(.screen-reader-text),
body.error404 header.type-header.top-reached .menu span:not(.cart-badge):not(.cart-badge-slot):not(.screen-reader-text) {
  background-color: var(--theme-color-black, #1c1c1c) !important;
}

body.woocommerce-cart header.type-header.top-reached .cart-icon-link .cart-badge,
body.woocommerce-checkout header.type-header.top-reached .cart-icon-link .cart-badge,
body.page-template-panier header.type-header.top-reached .cart-icon-link .cart-badge,
body.page-template-commande header.type-header.top-reached .cart-icon-link .cart-badge,
body.woocommerce-account header.type-header.top-reached .cart-icon-link .cart-badge,
body.page-template-contact header.type-header.top-reached .cart-icon-link .cart-badge,
body.error404 header.type-header.top-reached .cart-icon-link .cart-badge {
  background-color: #B7985F !important;
  color: #081C49 !important;
}

body.woocommerce-cart header.type-header,
body.woocommerce-checkout header.type-header,
body.page-template-panier header.type-header,
body.page-template-commande header.type-header,
body.page-template-contact header.type-header,
body.error404 header.type-header {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Page panier : coupon + mettre à jour (annule left:100% / nesting cassé).
   Ne pas toucher .ugcb-cart-actions (padding géré dans cart.css). */
body.woocommerce-cart .woocommerce-cart-form .actions:not(.ugcb-cart-actions),
.page-template-panier .type-panier .woocommerce-cart-form .actions:not(.ugcb-cart-actions),
.page-template-panier .type-panier tr:has(td.actions) td.actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 12px;
  width: 100%;
  position: relative !important;
  padding: 16px 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form .actions .coupon,
.page-template-panier .type-panier .woocommerce-cart-form .actions .coupon,
.page-template-panier .type-panier tr:has(td.actions) td.actions .coupon,
.page-template-panier .type-panier tr.tr-coupon-promo .coupon {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  float: none !important;
  justify-content: flex-start !important;
}

body.woocommerce-cart .woocommerce-cart-form .actions .coupon #coupon_code,
.page-template-panier .type-panier .actions .coupon #coupon_code,
.page-template-panier #coupon_code {
  width: min(280px, 100%) !important;
  min-width: 180px;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(8, 28, 73, 0.15);
  box-sizing: border-box;
  font-size: 14px !important;
  background: #fff !important;
}

body.woocommerce-cart .woocommerce-cart-form .actions:not(.ugcb-cart-actions) button[name="apply_coupon"],
body.woocommerce-cart .woocommerce-cart-form .actions:not(.ugcb-cart-actions) button[name="update_cart"],
.page-template-panier .type-panier .actions:not(.ugcb-cart-actions) button[name="apply_coupon"],
.page-template-panier .type-panier .actions:not(.ugcb-cart-actions) button[name="update_cart"],
.page-template-panier tr:has(td.actions) td.actions button[name="update_cart"],
.page-template-panier tr:has(td.actions) td.actions button[name="apply_coupon"] {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  min-width: 0;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  white-space: nowrap;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  background-color: #eef0f4 !important;
  color: #081C49 !important;
  border: 1px solid rgba(8, 28, 73, 0.12) !important;
  border-radius: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1 !important;
}

body.woocommerce-cart .woocommerce-cart-form .actions:not(.ugcb-cart-actions) button[name="apply_coupon"]:hover,
body.woocommerce-cart .woocommerce-cart-form .actions:not(.ugcb-cart-actions) button[name="update_cart"]:hover,
.page-template-panier .type-panier .actions:not(.ugcb-cart-actions) button[name="apply_coupon"]:hover,
.page-template-panier .type-panier .actions:not(.ugcb-cart-actions) button[name="update_cart"]:hover {
  background-color: #e7e8ee !important;
}

@media (max-width: 480px) {
  .ugcb-cart-drawer {
    width: 100vw;
  }

  .ugcb-cart-modal__actions {
    gap: 8px;
  }

  body.woocommerce-cart .woocommerce-cart-form .actions .coupon,
  .page-template-panier .type-panier .actions .coupon {
    width: 100% !important;
  }

  body.woocommerce-cart .woocommerce-cart-form .actions .coupon #coupon_code,
  .page-template-panier #coupon_code {
    flex: 1 1 auto;
    width: auto !important;
  }
}
