/* ============================
   FOND GÉNÉRAL BLANC
============================ */
.dbcom-cart-title,
.dbcom-cart-form {
  background: #fff;
}
.dbcom-cart-title {
  padding-top: 24px;
}
/* ============================
   LAYOUT GÉNÉRAL
============================ */
.dbcom-cart-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  background: #fff;
  padding: 24px 0;
}
.dbcom-cart-main {
  flex: 1 1 600px;
  min-width: 0;
}
.dbcom-cart-sidebar {
  flex: 0 0 340px;
  align-self: flex-start;
}
@media (max-width: 900px) {
  .dbcom-cart-sidebar {
    flex: 1 1 100%;
  }
}
/* ============================
   CARDS ARTICLES (5 colonnes : image / titre+marque / prix unit. / qté / total ligne)
============================ */
.dbcom-cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.dbcom-cart-item {
  display: grid;
  grid-template-columns: 90px 1fr 100px 90px 100px 32px;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  background: 
#FCF0EA;
  border-radius: 0px;
}
.dbcom-cart-item__thumbnail img {
  border-radius: 0px;
  display: block;
}
.dbcom-cart-item__name,
.dbcom-cart-item__name a {
  font-size: 16px;
  font-weight: 600;
  color: 
#AB5C5F;
  margin: 0 0 2px;
}
.dbcom-cart-item__brand {
  font-size: 13px;
  color: 
#AB5C5F;
  opacity: 0.8;
  margin-bottom: 2px;
}
.dbcom-cart-item__meta {
  font-size: 13px;
  color: 
#AB5C5F;
  opacity: 0.8;
}
.dbcom-cart-item__price,
.dbcom-cart-item__subtotal {
  color: 
#AB5C5F;
  font-weight: 600;
}
.dbcom-cart-item__quantity {
  color: 
#AB5C5F;
}
.dbcom-cart-item__remove a {
  display: block;
  text-align: center;
  color: 
#AB5C5F;
  opacity: 0.6;
  font-size: 18px;
  text-decoration: none;
}
/* ============================
   ACTIONS (mettre à jour le panier)
============================ */
.dbcom-cart-actions {
  margin-bottom: 24px;
}
/* ============================
   SIDEBAR RÉCAP PANIER
============================ */
.dbcom-cart-collaterals {
  background: 
#FCF0EA;
  border-radius: 0px;
  padding: 24px;
  height: fit-content;
}
.dbcom-totals-block {
  display: flex;
  flex-direction: column;
}
.dbcom-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
}
.dbcom-totals-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  color: 
#AB5C5F;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.dbcom-totals-value {
  color: 
#AB5C5F;
  font-size: 15px;
  white-space: nowrap;
}
.dbcom-totals-row--subtotal {
  border-top: 1px solid rgba(171, 92, 95, 0.2);
  margin-top: 6px;
  padding-top: 16px;
}
.dbcom-totals-code {
  font-size: 12px;
  color: 
#AB5C5F;
  opacity: 0.7;
  margin-top: -6px;
  margin-bottom: 6px;
}
.dbcom-cart-collaterals .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0px;
  border-radius: 0px;
  margin-top: 20px;
  box-sizing: border-box;
    background-color : 
#f8ad3b;
    font-family : Inter;
    border-radius : 52px;
    font-size : 18px;
}
/* ============================
   CODE PROMO (dans la card, après le bouton checkout)
============================ */
.dbcom-cart-coupon {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(171, 92, 95, 0.2);
  display: flex;
  gap: 8px;
}
.dbcom-cart-coupon input#coupon_code {
  flex: 1;
  padding: 12px 14px;
  border-radius: 0px;
  border: 1px solid rgba(171, 92, 95, 0.3);
  background: #fff;
}
.dbcom-cart-coupon button {
  white-space: nowrap;
}
/* ============================
   RESPONSIVE MOBILE
============================ */
@media (max-width: 640px) {
  .dbcom-cart-item {
    grid-template-columns: 24px 70px 1fr;
    row-gap: 8px;
  }
  .dbcom-cart-item__price,
  .dbcom-cart-item__subtotal,
  .dbcom-cart-item__quantity {
    grid-column: 3;
  }
}
.dbcom-cart-collaterals .cart_totals {
  float: none;
  width: auto;
  clear: none;
}
.cart-collaterals {
  margin-top: 0px;
}


/* ============================
   FOND GÉNÉRAL BLANC
============================ */
.dbcom-checkout-title,
.dbcom-checkout-form {
  background: #fff;
}

.dbcom-checkout-title {
  padding-top: 24px;
}

/* ============================
   LAYOUT GÉNÉRAL (identique au panier)
============================ */
.dbcom-checkout-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  background: #fff;
  padding: 24px 0;
}

.dbcom-checkout-main {
  flex: 1 1 600px;
  min-width: 0;
}

.dbcom-checkout-sidebar {
  flex: 0 0 340px;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .dbcom-checkout-sidebar {
    flex: 1 1 100%;
  }
}

/* ============================
   CHAMPS COORDONNÉES / ADRESSE
============================ */
.dbcom-checkout-customer-details h3 {
  color: #AB5C5F;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 32px 0 16px;
}

.dbcom-checkout-customer-details .form-row label {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
}

/* Card beige autour du formulaire de facturation, comme les items du panier */
.dbcom-checkout-card {
  background: #FCF0EA;
  border-radius: 0px;
  padding: 24px;
  box-sizing: border-box;
}

.dbcom-checkout-customer-details h3:first-child {
  margin-top: 0;
}

.dbcom-checkout-customer-details .form-row input.input-text,
.dbcom-checkout-customer-details .form-row textarea,
.dbcom-checkout-customer-details .form-row select,
.dbcom-checkout-customer-details .select2-selection {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(171, 92, 95, 0.25);
  border-radius: 0px;
  background: #fff;
  box-sizing: border-box;
}

.dbcom-checkout-customer-details .form-row {
  margin-bottom: 16px;
}

.dbcom-checkout-customer-details .form-row-first,
.dbcom-checkout-customer-details .form-row-last {
  width: 48%;
}

/* ============================
   CARD RÉSUMÉ DE LA COMMANDE (= .dbcom-cart-collaterals du panier)
============================ */
.dbcom-checkout-summary-card {
  background: #FCF0EA;
  border-radius: 0px;
  padding: 24px;
  height: fit-content;
}

/* Neutraliser tout float hérité (WooCommerce/thème) sur la zone résumé de commande,
   qui ferait s'effondrer la card et sortirait son contenu du flux normal */
.dbcom-checkout-summary-card #order_review,
.dbcom-checkout-summary-card #payment {
  float: none !important;
  width: auto !important;
  clear: both !important;
}

.dbcom-checkout-summary-card::after {
  content: "";
  display: table;
  clear: both;
}

.dbcom-checkout-summary-title,
.dbcom-checkout-summary-title::before,
.dbcom-checkout-summary-title::after {
  all: unset !important;
}

.dbcom-checkout-summary-title {
  display: block !important;
  font-family: inherit !important;
  color: #AB5C5F !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
  margin: 0 0 20px !important;
  white-space: normal !important;
}

/* ============================
   ARTICLES DANS LE RÉSUMÉ (version compacte des .dbcom-cart-item)
============================ */
.dbcom-checkout-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.dbcom-checkout-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
}

.dbcom-checkout-item__thumbnail {
  position: relative;
  width: 48px;
}

.dbcom-checkout-item__thumbnail img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 0px;
  display: block;
}

.dbcom-checkout-item__qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #AB5C5F;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dbcom-checkout-item__name {
  color: #AB5C5F;
  font-weight: 600;
  font-size: 14px;
}

.dbcom-checkout-item__price {
  color: #AB5C5F;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* ============================
   TOTAUX (classes .dbcom-totals-* identiques au panier)
============================ */
.dbcom-totals-block {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(171, 92, 95, 0.2);
  padding-top: 12px;
}

.dbcom-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
}

.dbcom-totals-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  color: #AB5C5F;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.dbcom-totals-value {
  color: #AB5C5F;
  font-size: 15px;
  white-space: nowrap;
}

.dbcom-totals-row--subtotal {
  border-top: 1px solid rgba(171, 92, 95, 0.2);
  margin-top: 6px;
  padding-top: 16px;
}

/* ============================
   BOUTON "VALIDER LA COMMANDE" (= .checkout-button du panier, même pilule orange)
============================ */
#payment.woocommerce-checkout-payment {
  margin-top: 4px;
}

#payment .form-row.place-order button#place_order {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0px;
  height: 52px;
  line-height: 52px;
  border: none;
  box-sizing: border-box;
  background-color: #f8ad3b;
  font-family: Inter;
  border-radius: 52px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  margin-top: 20px;
}

#payment .wc_payment_methods {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

#payment .payment_method label {
  color: #AB5C5F;
  font-weight: 600;
}

#payment .woocommerce-info {
  background: #fff;
  border-radius: 0px;
  padding: 16px;
  color: #AB5C5F;
  border: 1px solid rgba(171, 92, 95, 0.3);
}

.woocommerce-terms-and-conditions-wrapper {
  font-size: 13px;
  color: #AB5C5F;
  margin-bottom: 12px;
}

/* ============================
   CODE PROMO (mêmes réglages que .dbcom-cart-coupon)
============================ */
.dbcom-checkout-coupon {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(171, 92, 95, 0.2);
}

/* On masque le texte toggle natif ("Avez-vous un code promo ? Cliquez ici...")
   et le message d'info, pour afficher directement le champ, comme sur le panier */
.dbcom-checkout-coupon .woocommerce-form-coupon-toggle,
.dbcom-checkout-coupon > .woocommerce-info {
  display: none !important;
}

.dbcom-checkout-coupon form.checkout_coupon.woocommerce-form-coupon {
  display: block !important;
}

.dbcom-checkout-coupon form.checkout_coupon.woocommerce-form-coupon {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.dbcom-checkout-coupon .woocommerce-form-coupon .form-row {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
}

.dbcom-checkout-coupon .form-row-first {
  width: 100%;
}

.dbcom-checkout-coupon .form-row-last {
  width: auto !important;
}

.dbcom-checkout-coupon input#coupon_code {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 0px;
  border: 1px solid rgba(171, 92, 95, 0.3);
  background: #fff;
  box-sizing: border-box;
}

.dbcom-checkout-coupon button {
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #AB5C5F !important;
  text-decoration: underline;
  padding: 0 !important;
  margin-top: 4px;
  font-family: Inter;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

/* ============================
   RESPONSIVE MOBILE
============================ */
@media (max-width: 640px) {
  .dbcom-checkout-customer-details .form-row-first,
  .dbcom-checkout-customer-details .form-row-last {
    width: 100%;
  }
}

/* ============================
   MESSAGE DE CONFIRMATION
============================ */
.woocommerce-thankyou-order-received {
  color: #AB5C5F;
  font-family: Inter, sans-serif;
  font-size: 16px;
  margin-bottom: 16px;
}

/* ============================
   ENCADRÉ RÉCAP COMMANDE (remplace le cadre en pointillés)
============================ */
.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
  background: #FCF0EA;
  border: none !important;
  border-radius: 0;
  padding: 24px;
  margin: 20px 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}

.woocommerce-order-overview li {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #AB5C5F;
  font-family: Inter, sans-serif;
  font-size: 15px;
}

.woocommerce-order-overview li strong {
  font-weight: 700;
  color: #AB5C5F;
}


/* ============================
   FOND BLANC GÉNÉRAL
============================ */
.woocommerce-account .woocommerce {
  background: #fff;
  padding: 65px;
}

/* ============================
   POLICE INTER PARTOUT SUR LA PAGE
============================ */
.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce * {
  font-family: 'Inter', sans-serif;
}

/* ============================
   LAYOUT NAVIGATION + CONTENU (colonnes via float, comme le natif WooCommerce)
============================ */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: left;
  margin-right: 40px;
  box-sizing: border-box;
  overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: left;
  width: calc(100% - 280px);
  box-sizing: border-box;
}

.woocommerce-account .woocommerce::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 780px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
    margin-right: 0;
  }
}

/* ============================
   ONGLETS DE NAVIGATION
============================ */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;

}

.woocommerce-MyAccount-navigation-link a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 12px 16px;
  color: #AB5C5F;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0px;
  background: transparent;
  transition: background 0.15s ease;
		padding-left : 10px;
}

.woocommerce-MyAccount-navigation-link a:hover {
  background: #FCF0EA;
}

.woocommerce-MyAccount-navigation-link.is-active a {
  background: #FCF0EA;
  color: #AB5C5F;
  font-weight: 700;
	padding-left: 10px;
}

/* ============================
   CONTENU (tableau de bord, commandes, adresses, etc.)
============================ */
.woocommerce-MyAccount-content {
  color: #AB5C5F;
  font-size: 15px;
  line-height: 1.6;
}

.woocommerce-MyAccount-content a {
  color: #AB5C5F;
  text-decoration: underline;
}

.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td {
  padding: 12px;
  border-bottom: 1px solid rgba(171, 92, 95, 0.15);
}

.woocommerce-MyAccount-content .button {
  background-color: #f8ad3b;
  border: none;
  border-radius: 52px;
  color: #fff;
  padding: 10px 24px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.woocommerce-MyAccount-content form .form-row input.input-text {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(171, 92, 95, 0.25);
  background: #fff;
  box-sizing: border-box;
}

/* Bouton "Modifier" sur les cards d'adresses : petit, couleur de la charte */
.woocommerce-Address-title.title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.woocommerce-Address-title.title a.edit {
  font-size: 12px;
  color: #AB5C5F;
  background: transparent;
  border: 1px solid rgba(171, 92, 95, 0.4);
  padding: 4px 12px;
  border-radius: 52px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.woocommerce-Address-title.title a.edit:hover {
  background: #FCF0EA;
}

/* Labels du formulaire "Détails du compte" en Inter */
.woocommerce-EditAccountForm .form-row label,
.woocommerce-EditAccountForm .form-row legend {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  color: #AB5C5F;
}


/* ============================
   PANIER VIDE
============================ */
.dbcom-cart-empty {
  background: #FCF0EA;
  border-radius: 0px;
  padding: 48px 32px;
  margin-top: 24px;
  text-align: center;
}

.dbcom-cart-empty__message {
  color: #AB5C5F;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.dbcom-cart-empty__action {
  margin: 0;
}

.dbcom-cart-empty__action a.button.wc-backward {
  display: inline-block;
  background-color: #f8ad3b;
  border: none;
  border-radius: 52px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  text-decoration: none;
}




.service-point-container .select-service-button.select {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background-color: var(--uk-button-primary-background, #f8ad3b);
    border: none;
    border-radius: 52px;
    color: var(--uk-button-primary-color, #fff);
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0 !important;
    line-height: 0 !important;
}

.select-service-button.select .button-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
    color: var(--uk-button-primary-color, #fff);
}

.select-service-button.select::after {
    content: "Sélectionner un point relais";
    font-size: 15px !important;
    line-height: normal !important;
    font-weight: 600;
    color: var(--uk-button-primary-color, #fff);
}

.service-point-container{
	background-color : transparent;
}
/* ============================
   PANIER – CODE PROMO & CARTE-CADEAU REPLIABLES
   (<details> dans cart.php et woocommerce/cart/apply-gift-card.php)
============================ */
.dbcom-cart-collaterals .wc-proceed-to-checkout {
  display: flex;
  flex-direction: column;
}
.dbcom-cart-collaterals .wc-proceed-to-checkout .checkout-button {
  order: 1;
}
.dbcom-cart-collaterals .dbcom-cart-toggle--giftcard {
  order: 2;
  margin-top: 24px;
}
.dbcom-cart-toggle {
  border-top: 1px solid rgba(171, 92, 95, 0.2);
}
.dbcom-cart-toggle + .dbcom-cart-toggle,
.dbcom-cart-toggle--coupon {
  margin-top: 0;
}
.dbcom-cart-toggle__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  list-style: none;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: #AB5C5F;
}
.dbcom-cart-toggle__summary::-webkit-details-marker {
  display: none;
}
.dbcom-cart-toggle__summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.dbcom-cart-toggle[open] > .dbcom-cart-toggle__summary::after {
  transform: rotate(45deg);
}
.dbcom-cart-toggle__summary:hover,
.dbcom-cart-toggle__summary:focus-visible {
  color: #f8ad3b;
}
.dbcom-cart-toggle .dbcom-cart-coupon {
  margin: 0 0 16px;
  padding-top: 0;
  border-top: 0;
}
.dbcom-cart-toggle #pwgc-redeem-gift-card-container {
  margin: 0;
}
.dbcom-cart-toggle #pwgc-redeem-gift-card-number {
  flex: 1;
  width: auto;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 0;
  border: 1px solid rgba(171, 92, 95, 0.3);
  background: #fff;
}
.dbcom-cart-toggle #pwgc-redeem-button {
  white-space: nowrap;
}
.dbcom-cart-toggle__error:not(:empty) {
  margin-bottom: 8px;
  font-size: 13px;
  color: #c0392b;
}
/* Supprime la ligne du bloc promo d'origine, désormais portée par le toggle */
.dbcom-cart-collaterals > .dbcom-cart-toggle--coupon {
  margin-top: 16px;
}

/* ============================
   PANIER MOBILE – correctif mise en page des cards
   (l'ancienne grille 24px / 70px / 1fr plaçait l'image dans la colonne de 24px)
============================ */
@media (max-width: 640px) {
  .dbcom-cart-item {
    grid-template-columns: 80px 1fr auto;
    grid-template-areas:
      "thumb info     remove"
      "thumb price    price"
      "thumb quantity subtotal";
    column-gap: 14px;
    row-gap: 10px;
    align-items: start;
    padding: 16px;
  }
  .dbcom-cart-item__thumbnail { grid-area: thumb; }
  .dbcom-cart-item__thumbnail img { width: 80px; height: auto; }
  .dbcom-cart-item__info      { grid-area: info; min-width: 0; }
  .dbcom-cart-item__price     { grid-area: price; grid-column: 2 / 4; }
  .dbcom-cart-item__quantity  { grid-area: quantity; grid-column: 2; }
  .dbcom-cart-item__subtotal  { grid-area: subtotal; grid-column: 3; align-self: center; text-align: right; }
  .dbcom-cart-item__remove    { grid-area: remove; }
  .dbcom-cart-item__name,
  .dbcom-cart-item__name a    { font-size: 15px; }
}

/* ============================
   PAGE COMMANDE – CODE PROMO & CARTE-CADEAU REPLIABLES
   (review-order.php + woocommerce/checkout/payment-method-pw-gift-card.php)
============================ */
.dbcom-checkout-toggle--coupon {
  margin-top: 20px;
}
.woocommerce-checkout-payment .dbcom-checkout-toggle--giftcard {
  margin: 16px 0 20px;
  border-bottom: 1px solid rgba(171, 92, 95, 0.2);
}
/* Le thème force width:100% sur les champs et sur les boutons du récapitulatif
   (.woocommerce-checkout-review-order button) : on rétablit une ligne champ + bouton. */
.dbcom-checkout-toggle .dbcom-cart-coupon {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.dbcom-checkout-toggle .dbcom-cart-coupon input.input-text {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border-radius: 0;
  border: 1px solid rgba(171, 92, 95, 0.3);
  background: #fff;
}
.dbcom-checkout-toggle .dbcom-cart-coupon .button,
.woocommerce-checkout-review-order .dbcom-checkout-toggle .dbcom-cart-coupon button {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0 22px;
  height: 46px;
  line-height: 46px;
  font-size: 14px;
  white-space: nowrap;
}
.dbcom-cart-toggle.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ============================
   PAGES CATÉGORIES – barre de filtres (élément YOOtheme « Products Filter »)
   Le style global .uk-subnav du thème est blanc (menu du header) : illisible sur le fond beige.
============================ */
.tm-element-woo-filter .uk-dropnav > .uk-subnav > * > :first-child {
  color: #AB5C5F;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
}
.tm-element-woo-filter .uk-dropnav > .uk-subnav > * > a:hover,
.tm-element-woo-filter .uk-dropnav > .uk-subnav > .uk-active > a,
.tm-element-woo-filter .uk-dropnav > .uk-subnav > .uk-open > a {
  color: #f8ad3b;
}

/* ============================
   MÉGA-MENU – sous-menu sur toute la largeur de l'écran
   Le menu est en « Header location » (pas de Dropbar possible) : on rend statiques le widget
   et l'élément de menu pour que UIkit positionne le sous-menu par rapport au header (pleine largeur).
============================ */
@media (min-width: 960px) {
  .tm-header .widget_nav_menu,
  .tm-header .uk-dropnav li.uk-parent {
    position: static;
  }
  .tm-header .uk-dropnav .uk-dropdown {
    left: 0 !important;
    right: 0;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    padding: 40px max(32px, calc((100% - 1200px) / 2));  /* contenu centré sur 1200px max */
    box-shadow: 0 18px 40px rgba(122, 62, 65, 0.14);
  }
}

/* ============================
   ALERTE RETOUR EN STOCK (plugin Back In Stock Notifier)
   Formulaire sur la fiche produit en rupture, aux couleurs de la charte
============================ */
.cwginstock-subscribe-form { margin: 24px 0 0; max-width: 520px; }
.cwginstock-subscribe-form .cwginstock-panel-primary {
  background: #FCF0EA !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  padding: 22px 24px;
  margin: 0;
}
.cwginstock-subscribe-form .cwginstock-panel-heading {
  background: transparent !important;
  border: 0 !important;
  padding: 0 0 12px !important;
  color: #AB5C5F !important;
}
.cwginstock-subscribe-form .cwginstock-panel-heading h4 {
  text-align: left !important;
  margin: 0;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #AB5C5F !important;
}
.cwginstock-subscribe-form .cwginstock-panel-body,
.cwginstock-subscribe-form .row,
.cwginstock-subscribe-form [class*="col-"] {
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  float: none !important;
}
/* Champ e-mail + bouton sur une ligne, case RGPD en dessous */
.cwginstock-subscribe-form .cwginstock-subscribe-form__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 8px;
  align-items: stretch;
}
.cwginstock-subscribe-form .cwginstock-subscribe-form__form > .form-group,
.cwginstock-subscribe-form .cwginstock-subscribe-form__form > .cwg_iagree_checkbox { margin: 0 !important; }
.cwginstock-subscribe-form .cwginstock-subscribe-form__form > .form-group:first-child { grid-column: 1; grid-row: 1; }
.cwginstock-subscribe-form .cwginstock-subscribe-form__form > .form-group:has(.cwgstock_button) { grid-column: 2; grid-row: 1; }
.cwginstock-subscribe-form .cwg_iagree_checkbox,
.cwginstock-subscribe-form .cwgstock_output { grid-column: 1 / -1; }
.cwginstock-subscribe-form .cwgstock_email {
  height: 46px;
  width: 100% !important;
  box-sizing: border-box;
  padding: 0 14px;
  text-align: left !important;
  border: 1px solid rgba(171, 92, 95, 0.3) !important;
  border-radius: 0;
  background: #fff;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #7A3E41;
}
.cwginstock-subscribe-form .cwgstock_button {
  height: 46px;
  padding: 0 24px;
  border: 0 !important;
  border-radius: 52px;
  background: #f8ad3b !important;
  color: #fff !important;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
}
.cwginstock-subscribe-form .cwgstock_button:hover { background: #AB5C5F !important; }
.cwginstock-subscribe-form .cwg_iagree_checkbox label {
  display: block;
  position: relative;
  padding-left: 24px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: #8A5A5C;
}
.cwginstock-subscribe-form .cwg_iagree_checkbox input {
  position: absolute;
  left: 0;
  top: 1px;
  width: 15px;
  height: 15px;
  margin: 0;
}
.cwginstock-subscribe-form .cwg_iagree_checkbox a { color: #AB5C5F; text-decoration: underline; }
.cwginstock-subscribe-form .cwgstock_output { font-family: Inter, sans-serif; font-size: 13px; color: #AB5C5F; }
@media (max-width: 640px) {
  .cwginstock-subscribe-form .cwginstock-subscribe-form__form { grid-template-columns: 1fr; }
  .cwginstock-subscribe-form .cwginstock-subscribe-form__form > .form-group:has(.cwgstock_button) { grid-column: 1; grid-row: auto; }
  .cwginstock-subscribe-form .cwgstock_button { width: 100%; }
}

/* ==========================================================================
   Variations en texte (ex. montants carte cadeau) : rectangles comme les tailles,
   même si l'attribut est réglé en « rond ». Les pastilles de couleur restent rondes.
   ========================================================================== */
.woo-variation-swatches .button-variable-items-wrapper.wvs-style-rounded .variable-item:not(.radio-variable-item) {
  width: auto !important;
  min-width: 30px;
  height: 30px;
  padding: 2px 8px !important;
  border-radius: 2px !important;
}
.woo-variation-swatches .button-variable-items-wrapper.wvs-style-rounded .variable-item:not(.radio-variable-item) .variable-item-contents,
.woo-variation-swatches .button-variable-items-wrapper.wvs-style-rounded .variable-item:not(.radio-variable-item) .variable-item-span {
  border-radius: 2px !important;
  white-space: nowrap;
}

/* ==========================================================================
   Formulaire carte cadeau (PW Gift Cards) sur la fiche produit
   ========================================================================== */
#pwgc-purchase-container {
  margin: 8px 0 8px;
  padding: 24px;
  background: #FBF0EB;
  border: 1px solid #F1D9CF;
  border-radius: 16px;
}
#pwgc-purchase-container .pwgc-field-container { margin: 0 0 18px; }
#pwgc-purchase-container .pwgc-field-container:last-child,
#pwgc-purchase-container .pwgc-field-container:nth-last-child(2):has(+ [style*="display: none"]) { margin-bottom: 0; }
#pwgc-purchase-container .pwgc-label {
  display: block;
  margin: 0 0 6px;
  font-family: "Bowlby One SC", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #AB5C5F;
}
#pwgc-purchase-container input.pwgc-input-text,
#pwgc-purchase-container textarea {
  box-sizing: border-box;
  width: 100% !important;
  margin: 0;
  padding: 0 18px;
  height: 46px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #2D2E33;
  background: #fff;
  border: 1px solid #F1D9CF;
  border-radius: 999px;
  outline: none;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
#pwgc-purchase-container textarea {
  height: 120px;
  min-height: 90px;
  padding: 12px 18px;
  border-radius: 16px;
  resize: vertical;
  line-height: 1.5;
}
#pwgc-purchase-container input.pwgc-input-text::placeholder,
#pwgc-purchase-container textarea::placeholder { color: #A8A8A8; opacity: 1; }
#pwgc-purchase-container input.pwgc-input-text:focus,
#pwgc-purchase-container textarea:focus {
  border-color: #FFAB4A;
  box-shadow: 0 0 0 3px rgba(255, 171, 74, .2);
}
#pwgc-purchase-container .pwgc-subtitle {
  margin: 6px 0 0 18px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #7A3E41;
  opacity: .8;
}
#pwgc-purchase-container #pwgc-quantity-one-per-recipient .pwgc-subtitle { margin-left: 0; }
@media (max-width: 639px) {
  #pwgc-purchase-container { padding: 18px; }
}

/* ==========================================================================
   Animations (survols, petits effets) — sobres, désactivées si le visiteur
   a demandé moins d'animations dans les réglages de son appareil
   ========================================================================== */
@keyframes dbcPop  { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes dbcBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }

/* Boutons : légère montée au survol */
.uk-button {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.uk-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(171, 92, 95, .22);
}

/* Icônes de l'en-tête : petit balancement */
.header-icon img {
  transition: transform .25s ease;
}
.header-icon:hover img {
  transform: translateY(-2px) rotate(-8deg) scale(1.08);
}

/* Pastille du panier : « pop » quand le nombre change */
.dbc-cart-count:not([hidden]) {
  animation: dbcPop .45s ease;
}

/* Cartes produits (grilles avec bouton panier) : la carte monte, la photo zoome, le « + » tourne */
.fs-grid .el-item:has(.el-link) {
  transition: transform .3s ease, box-shadow .3s ease;
}
.fs-grid .el-item:has(.el-link):hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(122, 62, 65, .15);
}
.fs-grid .el-item picture {
  display: block;
  overflow: hidden;
}
.fs-grid .el-item .el-image {
  transition: transform .6s ease;
}
.fs-grid .el-item:hover .el-image {
  transform: scale(1.05);
}
.fs-grid .el-link::before {
  transition: transform .3s ease;
}
.fs-grid .el-link:hover::before {
  transform: rotate(90deg);
}

/* Photos Instagram du pied de page : zoom au survol */
.uk-section-primary .uk-slider-items .el-image {
  transition: transform .6s ease;
}
.uk-section-primary .uk-slider-items > *:hover .el-image {
  transform: scale(1.06);
}

/* Cœur / dessin à côté des grands titres (« Vos coups de ♥ ») : battement régulier */
h1 > img.el-image,
.uk-h1 > img.el-image {
  animation: dbcBeat 2.4s ease-in-out infinite;
  transform-origin: center;
}

@media (prefers-reduced-motion: reduce) {
  .uk-button, .header-icon img, .fs-grid .el-item, .fs-grid .el-item .el-image, .fs-grid .el-link::before,
  .uk-section-primary .uk-slider-items .el-image {
    transition: none !important;
  }
  .dbc-cart-count, h1 > img.el-image, .uk-h1 > img.el-image {
    animation: none !important;
  }
  .uk-button:hover, .fs-grid .el-item:hover, .fs-grid .el-item:hover .el-image {
    transform: none !important;
  }
}

/* ==========================================================================
   Filtres des pages catégories (Woo Filter) : même style que la recherche
   ========================================================================== */
.tm-element-woo-filter .uk-dropdown,
.tm-element-woo-filter .uk-dropdown.uk-drop.uk-open {
  width: auto !important;
  min-width: 240px;
  max-width: 340px;
  max-height: 360px;
  overflow-y: auto;
  padding: 12px !important;
  background: #fff !important;
  border: 1px solid #F1D9CF;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(122, 62, 65, .15);
  scrollbar-width: thin;
  scrollbar-color: #F1D9CF transparent;
}
.widget_layered_nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget_layered_nav ul li {
  margin: 0 !important;
  padding: 0 !important;
}
.widget_layered_nav ul li label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.3;
  color: #7A3E41 !important;
  text-transform: none !important;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s;
}
.widget_layered_nav ul li label:hover {
  background: #FBF0EB;
}
.widget_layered_nav .uk-checkbox {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  border: 1px solid #E7C9BD !important;
  border-radius: 5px;
  background-color: #fff;
}
.widget_layered_nav .uk-checkbox:checked {
  background-color: #f8ad3b !important;
  border-color: #f8ad3b !important;
}
.widget_layered_nav .uk-checkbox:focus-visible {
  outline: 2px solid #FFAB4A;
  outline-offset: 2px;
}
.widget_layered_nav .count {
  margin-left: auto;
  padding-left: 12px;
  font-size: 12px;
  color: #AB5C5F !important;
  opacity: .75;
}


/* Photos produits : remplissent tout le cadre (recadrage centré, plus de bandes blanches) */
.fs-grid .el-item .el-image {
  object-fit: cover !important;
  object-position: center;
  background: none !important;
  background-color : #fff !important;
}
/* ==========================================================================
   Grilles produits sur mobile : 2 produits par ligne, cartes carrées et compactes
   (la grille doit être réglée sur 2 colonnes en mobile dans le builder)
   :not(#dbc-x) = priorité plus forte que le CSS des éléments du builder
   ========================================================================== */
@media (max-width: 639px) {
  .fs-grid:not(#dbc-x) .el-item:has(.el-link) .el-image {
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
  .fs-grid:not(#dbc-x) .el-item:has(.el-link) {
    padding-bottom: 10px !important;
  }
  .fs-grid:not(#dbc-x) .el-item:has(.el-link) .el-title,
  .fs-grid:not(#dbc-x) .el-item:has(.el-link) .el-meta,
  .fs-grid:not(#dbc-x) .el-item:has(.el-link) .el-content {
    padding-left: 10px !important;
    padding-right: 40px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
  .fs-grid:not(#dbc-x) .el-item:has(.el-link) .el-title {
    padding-top: 10px !important;
    min-height: calc(2 * 1.35em) !important;
    font-size: 13px !important;
  }
  .fs-grid:not(#dbc-x) .el-item:has(.el-link) .el-meta,
  .fs-grid:not(#dbc-x) .el-item:has(.el-link) .el-content {
    margin-top: 2px !important;
  }
  .fs-grid:not(#dbc-x) .el-item:has(.el-link) .el-link {
    width: 30px !important;
    height: 30px !important;
    right: 8px !important;
    bottom: 8px !important;
  }
  .fs-grid:not(#dbc-x) .el-item:has(.el-link) .el-link::before {
    inset: 7px !important;
  }
}

/* ==========================================================================
   Bandeau « Livraison offerte » en haut du site
   ========================================================================== */
.dbc-topbar {
  position: relative;
  z-index: 981;
  display: flex;
  justify-content: center;
  background: #AB5C5F;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
}
.dbc-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  color: #fff !important;
  text-decoration: none !important;
  opacity: .92;
  transition: opacity .2s;
}
.dbc-topbar a:hover {
  opacity: 1;
}
.dbc-topbar strong {
  font-weight: 600;
}
.dbc-topbar svg {
  flex: none;
}
@media (max-width: 639px) {
  .dbc-topbar {
    font-size: 12px;
  }
  .dbc-topbar a {
    padding: 8px 12px;
  }
}