/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* ── Header page panier ── */
.isp-cart-page-header {
  text-align: center;
  padding: 32px 20px 4px;
}
.isp-cart-page-header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(26,79,216,.15);
  border: 1px solid rgba(26,79,216,.3);
  border-radius: 14px;
  color: #4A7AFF;
  margin: 0 auto 14px;
}
.isp-cart-page-title {
  font-family: 'Barlow', sans-serif !important;
  font-size: clamp(28px, 5vw, 40px) !important;
  font-weight: 800 !important;
  color: #E8EDF8 !important;
  text-align: center !important;
  letter-spacing: -.025em !important;
  margin: 0 0 8px !important;
  line-height: 1.1 !important;
}
.isp-cart-page-header__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(232,237,248,.45);
  margin: 0;
}

/* ── Bouton retour panier ── */
.isp-cart-back {
  padding: 16px 0 0;
  max-width: 1160px;
  margin: 0 auto;
}
.isp-cart-back a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(232,237,248,.55) !important;
  text-decoration: none;
  transition: color .15s;
}
.isp-cart-back a:hover {
  color: #E8EDF8 !important;
}
.isp-cart-back a svg {
  transition: transform .15s;
}
.isp-cart-back a:hover svg {
  transform: translateX(-3px);
}

/* ── Barre retour + header checkout ── */
.isp-checkout-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 0 0;
}
.isp-checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(232,237,248,.55) !important;
  text-decoration: none;
  transition: color .15s;
}
.isp-checkout-back:hover {
  color: #E8EDF8 !important;
}
.isp-checkout-back svg {
  transition: transform .15s;
}
.isp-checkout-back:hover svg {
  transform: translateX(-3px);
}
.isp-checkout-header {
  text-align: center;
  padding: 20px 20px 20px;
  width: 100%;
}
.isp-checkout-header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(26,79,216,.15);
  border: 1px solid rgba(26,79,216,.3);
  border-radius: 14px;
  color: #4A7AFF;
  margin: 0 auto 14px;
}
.isp-checkout-title {
  font-family: 'Barlow', sans-serif !important;
  font-size: clamp(26px, 4vw, 38px) !important;
  font-weight: 800 !important;
  color: #E8EDF8 !important;
  text-align: center !important;
  letter-spacing: -.025em !important;
  margin: 0 0 8px !important;
  line-height: 1.15 !important;
}
.isp-checkout-header__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  color: rgba(232,237,248,.45);
  margin: 0;
  letter-spacing: .01em;
}

/* ── Masquer le breadcrumb Panier > Détails > Terminée ── */
.checkout-page-title,
.woocommerce-cart .checkout-page-title {
  display: none !important;
}

/* ── Supprimer l'animation du panneau coupon ── */
.woocommerce-cart .wc-block-components-panel__button,
.woocommerce-cart .wc-block-components-panel__content-inner {
  animation: none !important;
  transition: none !important;
}

/* ── Supprimer le floating label du champ coupon ── */
.woocommerce-cart .wc-block-components-totals-coupon label,
.woocommerce-cart .wc-block-components-totals-coupon__form label {
  display: none !important;
}
/* Forcer le bouton Appliquer à rester compact ── */
.woocommerce-cart .wc-block-components-totals-coupon__button {
  width: auto !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  height: auto !important;
  min-height: 0 !important;
  flex-shrink: 0 !important;
}

/* ── Notice Flatsome "ajouté au panier" ── */
.message-container.success-color {
  background: #fff !important;
  color: #0D1525 !important;
  border-color: #1A4FD8 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
}
.message-container.success-color i {
  color: #1A4FD8 !important;
}
.message-container.success-color a.button {
  background: #1A4FD8 !important;
  color: #fff !important;
  font-family: 'Barlow', sans-serif !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
}
.message-container.success-color a.button:hover {
  background: #1440C4 !important;
}

/* ── Short description h1 — override Flatsome global h1 styles ── */
.woocommerce-product-details__short-description h1 {
  font-family: 'Barlow', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #000 !important;
  line-height: 1.4 !important;
  letter-spacing: -.01em !important;
  text-transform: none !important;
  margin-bottom: 6px !important;
}


/* ═══════════════════════════════════════════════════════
   PAGE PANIER (WooCommerce Block Cart) — Design ISP
   Fond #0D1525 · DM Sans · Bleu #1A4FD8
   ═══════════════════════════════════════════════════════ */

/* ── Variables WooCommerce — écrase la couleur primaire ── */
.woocommerce-cart {
  --wc-global-color-primary: #1A4FD8;
  --wc-global-color-primary-700: #1644C0;
  --wc-global-color-primary-contrast: #ffffff;
}

/* ── Fond et police globaux de la page panier ── */
.woocommerce-cart #main,
.woocommerce-cart .main-container,
.woocommerce-cart .content-wrapper,
.woocommerce-cart .section-inner,
.woocommerce-cart .wc-block-cart,
.woocommerce-cart .wp-block-woocommerce-cart {
  background: #0D1525 !important;
  color: #E8EDF8 !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* ── Titre h1/h2 de la page ── */
.woocommerce-cart h1,
.woocommerce-cart h2:not(.wc-block-components-order-summary__title),
.woocommerce-cart .wc-block-cart__totals-title {
  font-family: 'Barlow', sans-serif !important;
  font-weight: 700 !important;
  color: #E8EDF8 !important;
}

/* ── Tableau des articles du panier ── */
.woocommerce-cart table.wc-block-cart-items,
.woocommerce-cart table.wc-block-cart-items td,
.woocommerce-cart table.wc-block-cart-items th {
  color: #E8EDF8 !important;
  font-family: 'DM Sans', sans-serif !important;
  border-color: rgba(255,255,255,.07) !important;
}

table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-product,
table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-total {
  color: #ffffff !important;
  visibility: visible !important;
}

.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header th {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

/* ── Image produit : coins arrondis ── */
.woocommerce-cart .wc-block-cart-item__image img,
.woocommerce-cart .wc-block-cart-item__image a img {
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* ── Nom du produit ── */
.woocommerce-cart .wc-block-components-product-name,
.woocommerce-cart .wc-block-components-product-name a {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
  color: #E8EDF8 !important;
  text-decoration: none !important;
}
.woocommerce-cart .wc-block-components-product-name a:hover {
  color: #4A7AFF !important;
}

/* ── Prix ── */
.woocommerce-cart .wc-block-components-product-price,
.woocommerce-cart .wc-block-components-product-price .wc-block-components-formatted-money-amount,
.woocommerce-cart .wc-block-cart-item__total .wc-block-components-formatted-money-amount,
.woocommerce-cart .wc-block-cart-item__prices .price {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  color: #E8EDF8 !important;
}

/* ── Métadonnées (variants, SKU…) ── */
.woocommerce-cart .wc-block-components-product-metadata,
.woocommerce-cart .wc-block-components-product-metadata * {
  font-family: 'DM Sans', sans-serif !important;
  color: rgba(232,237,248,.45) !important;
  font-size: 12px !important;
}

/* ── Quantité ── */
.woocommerce-cart .wc-block-components-quantity-selector {
  background: rgba(255,255,255,.05) !important;
  border: .5px solid rgba(255,255,255,.12) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.woocommerce-cart .wc-block-components-quantity-selector input,
.woocommerce-cart .wc-block-components-quantity-selector__input {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  color: #E8EDF8 !important;
  background: transparent !important;
  border: none !important;
}

.woocommerce-cart .wc-block-components-quantity-selector__button,
.woocommerce-cart .wc-block-components-quantity-selector button {
  color: rgba(232,237,248,.6) !important;
  background: transparent !important;
  border: none !important;
}
.woocommerce-cart .wc-block-components-quantity-selector__button:hover,
.woocommerce-cart .wc-block-components-quantity-selector button:hover {
  color: #E8EDF8 !important;
  background: rgba(255,255,255,.06) !important;
}

/* ── Lien Supprimer ── */
.woocommerce-cart .wc-block-cart-item__remove-link,
.woocommerce-cart .wc-block-cart-item__remove-link button {
  font-family: 'DM Sans', sans-serif !important;
  color: rgba(232,237,248,.3) !important;
  font-size: 12px !important;
}
.woocommerce-cart .wc-block-cart-item__remove-link:hover,
.woocommerce-cart .wc-block-cart-item__remove-link button:hover {
  color: #ff5a5a !important;
}

/* ── Sidebar / Récapitulatif commande ── */
.woocommerce-cart .wc-block-cart__sidebar,
.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
  font-family: 'DM Sans', sans-serif !important;
  color: #E8EDF8 !important;
}

/* ── Bloc récapitulatif (order summary) ── */
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
  border-color: rgba(255,255,255,.07) !important;
  color: #E8EDF8 !important;
}

/* ── Lignes de totaux ── */
.woocommerce-cart .wc-block-components-totals-item {
  font-family: 'DM Sans', sans-serif !important;
  color: #E8EDF8 !important;
  border-color: rgba(255,255,255,.06) !important;
}

.woocommerce-cart .wc-block-components-totals-item__label {
  color: rgba(232,237,248,.6) !important;
}

.woocommerce-cart .wc-block-components-totals-item__value,
.woocommerce-cart .wc-block-components-totals-item .wc-block-components-formatted-money-amount {
  color: #E8EDF8 !important;
  font-weight: 600 !important;
}

/* ── Ligne Total (footer) ── */
.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700 !important;
  color: #E8EDF8 !important;
}

/* ── Section Expédition ── */
.woocommerce-cart .wc-block-components-totals-shipping,
.woocommerce-cart .wc-block-components-totals-shipping *,
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-shipping-block,
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-shipping-block * {
  font-family: 'DM Sans', sans-serif !important;
  color: #E8EDF8 !important;
}
.woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-item__label {
  color: rgba(232,237,248,.6) !important;
}

/* Options de livraison (radio buttons) */
.woocommerce-cart .wc-block-components-radio-control__label,
.woocommerce-cart .wc-block-components-radio-control__description,
.woocommerce-cart .wc-block-components-radio-control-accordion-content * {
  font-family: 'DM Sans', sans-serif !important;
  color: #E8EDF8 !important;
}

/* Calculateur d'adresse d'expédition */
.woocommerce-cart .wc-block-components-shipping-calculator,
.woocommerce-cart .wc-block-components-shipping-calculator *,
.woocommerce-cart .wc-block-components-address-form label,
.woocommerce-cart .wc-block-components-address-form input,
.woocommerce-cart .wc-block-components-address-form select,
.woocommerce-cart .wc-block-components-country-input *,
.woocommerce-cart .wc-block-components-state-input *,
.woocommerce-cart .wc-block-components-text-input * {
  font-family: 'DM Sans', sans-serif !important;
  color: #E8EDF8 !important;
}
.woocommerce-cart .wc-block-components-text-input input,
.woocommerce-cart .wc-block-components-address-form input,
.woocommerce-cart .wc-block-components-country-input input,
.woocommerce-cart .wc-block-components-state-input input,
.woocommerce-cart .wc-block-components-address-form select {
  background: rgba(255,255,255,.05) !important;
  border: .5px solid rgba(255,255,255,.15) !important;
  border-radius: 8px !important;
  color: #E8EDF8 !important;
}
.woocommerce-cart .wc-block-components-text-input input:focus,
.woocommerce-cart .wc-block-components-address-form input:focus {
  border-color: #1A4FD8 !important;
  box-shadow: 0 0 0 2px rgba(26,79,216,.25) !important;
  outline: none !important;
}

/* ── Coupon ── */
.woocommerce-cart .wc-block-components-totals-coupon,
.woocommerce-cart .wc-block-components-totals-coupon * {
  font-family: 'DM Sans', sans-serif !important;
  color: #E8EDF8 !important;
}

.woocommerce-cart .wc-block-components-totals-coupon__form input {
  background: rgba(255,255,255,.05) !important;
  border: .5px solid rgba(255,255,255,.15) !important;
  border-radius: 8px !important;
  color: #E8EDF8 !important;
  padding: 10px 14px !important;
  line-height: 1.5 !important;
  height: auto !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}
.woocommerce-cart .wc-block-components-totals-coupon__form input::placeholder {
  color: rgba(232,237,248,.25) !important;
}
.woocommerce-cart .wc-block-components-totals-coupon__form input:focus {
  border-color: #1A4FD8 !important;
  box-shadow: 0 0 0 2px rgba(26,79,216,.25) !important;
  outline: none !important;
}

.woocommerce-cart .wc-block-components-totals-coupon__button {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  background: #1A4FD8 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  transition: background .2s !important;
  box-shadow: none !important;
}
.woocommerce-cart .wc-block-components-totals-coupon__button:hover {
  background: #1644C0 !important;
}

/* ── Lien "Saisir le code promo" (toggle) ── */
.woocommerce-cart .wc-block-components-panel__button,
.woocommerce-cart .wc-block-components-panel__button * {
  font-family: 'DM Sans', sans-serif !important;
  color: #4A7AFF !important;
}
.woocommerce-cart .wc-block-components-panel__button:hover {
  color: #fff !important;
}

/* ── Bouton "Passer la commande" ── */
.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  background: #1A4FD8 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 24px !important;
  letter-spacing: .02em !important;
  transition: background .2s, transform .15s !important;
  box-shadow: none !important;
  text-shadow: none !important;
  width: 100% !important;
}
.woocommerce-cart .wc-block-cart__submit-button:hover {
  background: #1644C0 !important;
  transform: translateY(-1px) !important;
  color: #fff !important;
}

/* ── Bouton sticky (mobile) — fond sombre ── */
.woocommerce-cart .wc-block-cart__submit-container--sticky {
  background: #0D1525 !important;
  border-top: .5px solid rgba(255,255,255,.08) !important;
}

/* ── Méthodes de paiement express ── */
.woocommerce-cart .wc-block-cart__payment-options,
.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block {
  background: transparent !important;
}

/* ── Icônes de paiement acceptées ── */
.woocommerce-cart .wp-block-woocommerce-cart-accepted-payment-methods-block {
  opacity: .5 !important;
  filter: brightness(2) !important;
}

/* ── Panier vide ── */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block,
.woocommerce-cart .wc-block-cart__empty-cart__title,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block * {
  font-family: 'DM Sans', sans-serif !important;
  color: rgba(232,237,248,.6) !important;
}
/* Bouton "Retour à la boutique" uniquement (pas les liens produits) */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-element-button,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .return-to-shop a,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-backward {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700 !important;
  background: #1A4FD8 !important;
  color: #fff !important;
  border-radius: 8px !important;
  border: none !important;
  padding: 12px 24px !important;
  transition: background .2s !important;
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-element-button:hover,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .return-to-shop a:hover,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-backward:hover {
  background: #1644C0 !important;
}

/* ── Cartes produits "Nouveau dans la boutique" ── */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
  background: #111C30 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: box-shadow .2s, transform .2s !important;
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.35) !important;
  transform: translateY(-2px) !important;
}
/* Liens image/titre produit : pas de fond bleu */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title a {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: #E8EDF8 !important;
  font-weight: 600 !important;
}
/* Titre produit */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
  font-family: 'Barlow', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #E8EDF8 !important;
  padding: 10px 14px 4px !important;
}
/* Prix */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
  color: #4A7AFF !important;
  font-family: 'Barlow', sans-serif !important;
  font-weight: 800 !important;
  padding: 0 14px 10px !important;
}
/* Bouton Ajouter au panier dans la grille */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a {
  background: #1A4FD8 !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a:hover {
  background: #1644C0 !important;
}
/* Titre de la section "Nouveau dans la boutique" */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2:not(.wc-block-cart__empty-cart__title) {
  font-family: 'Barlow', sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #E8EDF8 !important;
  margin-top: 40px !important;
  margin-bottom: 20px !important;
}

/* ── Cross-sells ("Ça peut vous intéresser…") ── */
.woocommerce-cart .wp-block-woocommerce-cart-cross-sells-block h2 {
  font-family: 'Barlow', sans-serif !important;
  font-weight: 700 !important;
  color: #E8EDF8 !important;
}

/* ── Messages notices ── */
.woocommerce-cart .wc-block-components-notice-banner,
.woocommerce-cart .wc-block-components-notice-banner * {
  font-family: 'DM Sans', sans-serif !important;
}

/* ── Titre récap commande ── */
.woocommerce-cart .wc-block-components-order-summary__title {
  font-family: 'Barlow', sans-serif !important;
  font-weight: 700 !important;
  color: #E8EDF8 !important;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

.woocommerce-cart .wc-block-cart__submit-container--sticky {
  background: #0D1525 !important;
}

}

/* ═══════════════════════════════════════════════════════
   PAGE CHECKOUT — Design ISP
   ═══════════════════════════════════════════════════════ */

/* ── Fond général — écrase le html{background:#5b5b5b} de Flatsome ── */
html.woocommerce-checkout,
.woocommerce-checkout,
.woocommerce-checkout body {
  background: #0D1525 !important;
  color: #E8EDF8 !important;
}
.woocommerce-checkout #main-content,
.woocommerce-checkout #main.page-checkout,
.woocommerce-checkout .page-checkout {
  background: #0D1525 !important;
  box-shadow: none !important;
  color: #E8EDF8 !important;
  max-width: 1100px !important;
  margin: 40px auto !important;
  padding: 0 20px 60px !important;
  border-radius: 0 !important;
}

/* ── Logo ── */
.woocommerce-checkout .focused-checkout-logo {
  padding: 28px 0 20px !important;
}

/* ── Séparateur ── */
.woocommerce-checkout .top-divider {
  border-color: rgba(255,255,255,.07) !important;
  background: rgba(255,255,255,.07) !important;
}

/* ── Breadcrumb caché ── */
.woocommerce-checkout .checkout-page-title {
  display: none !important;
}

/* ── Masquer le coupon checkout ── */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .checkout_coupon,
.woocommerce-checkout .woocommerce-info.has-coupon-code {
  display: none !important;
}

/* ── Notices ── */
.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13.5px !important;
  border-radius: 8px !important;
  margin-bottom: 16px !important;
}

/* ── Titres de section (Facturation, Livraison) ── */
.woocommerce-checkout form.checkout h3,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
  font-family: 'Barlow', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #E8EDF8 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  padding-bottom: 12px !important;
  margin-bottom: 20px !important;
}

/* ── Labels ── */
.woocommerce-checkout .form-row label,
.woocommerce-checkout .woocommerce-form__label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: rgba(232,237,248,.6) !important;
  margin-bottom: 5px !important;
  letter-spacing: .02em !important;
}
.woocommerce-checkout .form-row label .required {
  color: #ff5a5a !important;
}

/* ── Champs de saisie ── */
.woocommerce-checkout .form-row input[type=text],
.woocommerce-checkout .form-row input[type=email],
.woocommerce-checkout .form-row input[type=tel],
.woocommerce-checkout .form-row input[type=number],
.woocommerce-checkout .form-row input[type=password],
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 8px !important;
  color: #E8EDF8 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  padding: 11px 14px !important;
  height: auto !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  transition: border-color .15s !important;
  width: 100% !important;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: #1A4FD8 !important;
  box-shadow: 0 0 0 2px rgba(26,79,216,.2) !important;
  outline: none !important;
}
.woocommerce-checkout .form-row input::placeholder,
.woocommerce-checkout .form-row textarea::placeholder {
  color: rgba(232,237,248,.2) !important;
}

/* ── Select2 ── */
.woocommerce-checkout .select2-container--default .select2-selection--single {
  display: flex !important;
  align-items: center !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #E8EDF8 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: rgba(232,237,248,.4) transparent transparent !important;
}
.woocommerce-checkout .select2-dropdown {
  background: #111C30 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 8px !important;
}
.woocommerce-checkout .select2-results__option {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13.5px !important;
  color: #E8EDF8 !important;
  padding: 9px 14px !important;
}
.woocommerce-checkout .select2-results__option--highlighted {
  background: #1A4FD8 !important;
  color: #fff !important;
}

/* ── Checkbox ── */
.woocommerce-checkout .form-row input[type=checkbox] {
  width: auto !important;
  accent-color: #1A4FD8;
}

/* ── Colonne sidebar (récap commande) ── */
.woocommerce-checkout .checkout-sidebar,
.woocommerce-checkout .col-inner.has-border {
  background: #111C30 !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 10px !important;
  padding: 24px !important;
}

/* ── Titre "Votre commande" ── */
.woocommerce-checkout #order_review_heading {
  color: #E8EDF8 !important;
  border-bottom-color: rgba(255,255,255,.10) !important;
}

/* ── Tableau récap commande ── */
.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-family: 'DM Sans', sans-serif !important;
  background: transparent !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr,
.woocommerce-checkout .woocommerce-checkout-review-order-table thead,
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot {
  background: transparent !important;
  font-family: 'DM Sans', sans-serif !important;
  color: #E8EDF8 !important;
  border-color: rgba(255,255,255,.10) !important;
  padding: 10px 0 !important;
  font-size: 13.5px !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: rgba(232,237,248,.45) !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
  font-weight: 500 !important;
  color: #E8EDF8 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
  text-align: right !important;
  font-weight: 600 !important;
  color: #E8EDF8 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr th {
  color: rgba(232,237,248,.7) !important;
  font-size: 13px !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total {
  border-top: 1px solid rgba(255,255,255,.10) !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #E8EDF8 !important;
  padding-top: 14px !important;
}

/* ── Méthodes de paiement ── */
.woocommerce-checkout #payment {
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 10px !important;
  margin-top: 16px !important;
}
.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  padding: 16px !important;
}
.woocommerce-checkout #payment ul.payment_methods li label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: #E8EDF8 !important;
  font-weight: 500 !important;
}
.woocommerce-checkout #payment .payment_box {
  background: rgba(255,255,255,.04) !important;
  color: rgba(232,237,248,.6) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
}
.woocommerce-checkout #payment div.place-order {
  padding: 16px 0 0 !important;
  background: transparent !important;
  border: none !important;
}

/* ── Bouton Passer la commande ── */
.woocommerce-checkout #place_order {
  display: block !important;
  width: 100% !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  background: #1A4FD8 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 16px 24px !important;
  cursor: pointer !important;
  transition: background .2s, transform .15s, box-shadow .2s !important;
  box-shadow: 0 4px 20px rgba(26,79,216,.35) !important;
  text-align: center !important;
}
.woocommerce-checkout #place_order:hover {
  background: #1644C0 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(26,79,216,.5) !important;
}

/* ── Espacement label / champ ── */
/* :not([style*="display: none"]) évite d'écraser le hide() jQuery (ex: billing_state pour FR) */
.woocommerce-checkout .form-row:not([style*="display: none"]) {
  margin-bottom: 18px !important;
  display: flex !important;
  flex-direction: column !important;
}
.woocommerce-checkout .form-row label,
.woocommerce-checkout .form-row > label {
  display: block !important;
  margin-bottom: 8px !important;
  margin-top: 0 !important;
  order: 0 !important;
}
.woocommerce-checkout .woocommerce-input-wrapper,
.woocommerce-checkout .form-row .woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
  order: 1 !important;
  margin-top: 0 !important;
}

/* ── Neutraliser les floating labels Flatsome — labels fixes au-dessus des champs ── */
.woocommerce-checkout .fl-wrap {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
}
.woocommerce-checkout .fl-wrap > label,
.woocommerce-checkout .fl-wrap label[for] {
  position: static !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  top: auto !important;
  left: auto !important;
  white-space: normal !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: rgba(232,237,248,.6) !important;
  margin-bottom: 6px !important;
  order: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  z-index: auto !important;
}
.woocommerce-checkout .fl-wrap > input,
.woocommerce-checkout .fl-wrap > select,
.woocommerce-checkout .fl-wrap > textarea {
  order: 1 !important;
  padding-top: 11px !important;
}
/* Empêcher le masquage initial du label (opacity:0 du fl-wrap inactif) */
.woocommerce-checkout .fl-wrap:not(.fl-is-active) > label[for] {
  opacity: 1 !important;
}

/* ── Footer checkout focalisé ── */
.woocommerce-checkout .focused-checkout-footer,
.woocommerce-checkout .absolute-footer,
.woocommerce-checkout footer,
.woocommerce-checkout .footer-1,
.woocommerce-checkout .footer-2 {
  background: #0D1525 !important;
  border-top: 1px solid rgba(255,255,255,.07) !important;
}
.woocommerce-checkout .focused-checkout-footer *,
.woocommerce-checkout .absolute-footer *,
.woocommerce-checkout footer * {
  color: rgba(232,237,248,.35) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  background: transparent !important;
}
/* Icônes paiement (Visa, Stripe…) */
.woocommerce-checkout .focused-checkout-footer img,
.woocommerce-checkout .absolute-footer img {
  opacity: .45 !important;
  filter: grayscale(1) brightness(2) !important;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .woocommerce-checkout #main.page-checkout {
    padding: 0 12px 48px !important;
    margin: 16px auto !important;
  }
}

/* ═══════════════════════════════════════════════════
   SECTION "NOUVEAU DANS LA BOUTIQUE" — panier vide
   WooCommerce Block Grid · .wc-block-grid
   ═══════════════════════════════════════════════════ */

/* Force CSS Grid (WooCommerce impose display:block sur has-4-columns) */
.wc-block-grid.has-4-columns ul.wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wc-block-grid.has-4-columns ul.wc-block-grid__products li.wc-block-grid__product {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Mobile : 2 colonnes */
@media (max-width: 767px) {
  .wc-block-grid.has-4-columns ul.wc-block-grid__products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* Badge "Promo" — WooCommerce impose background:#fff, on écrase */
.wc-block-grid .wc-block-grid__product-onsale,
.wc-block-grid__product-image .wc-block-grid__product-onsale {
  background: #1A4FD8 !important;
  color: #fff !important;
  border-color: #1A4FD8 !important;
}

}

/* ── ISP Mon Compte — fond de page et reset ── */
/* Pages compte non connecté : fond global #0D1525, supprime padding superflu */
body.woocommerce-account:not(.logged-in) .page-wrapper,
body.woocommerce-account:not(.logged-in) #page-content,
body.woocommerce-account:not(.logged-in) .entry-content {
  background: #0D1525 !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.woocommerce-account:not(.logged-in) .page-wrapper > .container {
  max-width: 100% !important;
  padding: 0 !important;
  width: 100% !important;
}
/* Cache le titre de page H1 quand non connecté (au cas où il reste) */
body.woocommerce-account:not(.logged-in) .my-account-header,
body.woocommerce-account:not(.logged-in) .page-title {
  display: none !important;
}

/* ═══════════════════════════════════════════════
   ISP — Mon Compte (utilisateur connecté)
   ═══════════════════════════════════════════════ */

/* ── Fond de page global ── */
body.woocommerce-account.logged-in {
  background: #0D1525 !important;
}
body.woocommerce-account.logged-in .page-wrapper.my-account {
  background: #0D1525 !important;
  padding-bottom: 60px !important;
}

/* ── Bannière titre (header Flatsome) ── */
body.woocommerce-account.logged-in .my-account-header {
  background: #111C30 !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
}
body.woocommerce-account.logged-in .my-account-header h1,
body.woocommerce-account.logged-in .my-account-header small {
  color: #E8EDF8 !important;
}
body.woocommerce-account.logged-in .page-title-bg-overlay {
  background: transparent !important;
}

/* ── Bloc utilisateur (avatar + nom) ── */
body.woocommerce-account.logged-in .account-user {
  padding: 20px 0 16px !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  margin-bottom: 8px !important;
}
body.woocommerce-account.logged-in .account-user .user-name {
  color: #E8EDF8 !important;
  font-weight: 600 !important;
}
body.woocommerce-account.logged-in .account-user .user-id {
  color: #5A7090 !important;
}

/* ── Sidebar / Nav ── */
body.woocommerce-account.logged-in .col.col-border {
  background: #111C30 !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 12px !important;
  padding: 20px !important;
}
body.woocommerce-account.logged-in #my-account-nav,
body.woocommerce-account.logged-in .account-nav {
  border: none !important;
  background: transparent !important;
}
body.woocommerce-account.logged-in #my-account-nav li a,
body.woocommerce-account.logged-in .account-nav li a {
  color: #8A9FC0 !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  display: block !important;
  font-size: .9rem !important;
  font-weight: 500 !important;
  transition: background .15s, color .15s !important;
  border: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.woocommerce-account.logged-in #my-account-nav li a:hover,
body.woocommerce-account.logged-in .account-nav li a:hover {
  background: rgba(74,122,255,.12) !important;
  color: #E8EDF8 !important;
}
body.woocommerce-account.logged-in #my-account-nav li.is-active a,
body.woocommerce-account.logged-in .account-nav li.is-active a,
body.woocommerce-account.logged-in #my-account-nav .woocommerce-MyAccount-navigation-link.is-active a {
  background: rgba(26,79,216,.20) !important;
  color: #4A7AFF !important;
  font-weight: 700 !important;
}
body.woocommerce-account.logged-in #my-account-nav li.woocommerce-MyAccount-navigation-link--logout a {
  color: #5A7090 !important;
  margin-top: 8px !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 0 !important;
  padding-top: 14px !important;
}
body.woocommerce-account.logged-in #my-account-nav li.woocommerce-MyAccount-navigation-link--logout a:hover {
  color: #ff6b6b !important;
  background: rgba(255,107,107,.08) !important;
  border-radius: 8px !important;
}

/* ── Zone de contenu ── */
body.woocommerce-account.logged-in .large-9.col {
  background: #111C30 !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 12px !important;
  padding: 32px !important;
  color: #E8EDF8 !important;
}

/* ── Textes généraux dans le contenu ── */
body.woocommerce-account.logged-in .large-9.col p,
body.woocommerce-account.logged-in .large-9.col h2,
body.woocommerce-account.logged-in .large-9.col h3,
body.woocommerce-account.logged-in .large-9.col h4,
body.woocommerce-account.logged-in .large-9.col legend,
body.woocommerce-account.logged-in .large-9.col label {
  color: #E8EDF8 !important;
}
body.woocommerce-account.logged-in .large-9.col a {
  color: #4A7AFF !important;
}
body.woocommerce-account.logged-in .large-9.col a:hover {
  color: #7A9FFF !important;
}

/* ── Tableau des commandes ── */
body.woocommerce-account.logged-in .woocommerce-orders-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: none !important;
}
body.woocommerce-account.logged-in .woocommerce-orders-table thead tr {
  background: rgba(255,255,255,.04) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}
body.woocommerce-account.logged-in .woocommerce-orders-table thead th {
  color: #8A9FC0 !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  padding: 12px 14px !important;
  border: none !important;
  background: transparent !important;
}
body.woocommerce-account.logged-in .woocommerce-orders-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,.05) !important;
  transition: background .15s !important;
}
body.woocommerce-account.logged-in .woocommerce-orders-table tbody tr:hover {
  background: rgba(255,255,255,.03) !important;
}
body.woocommerce-account.logged-in .woocommerce-orders-table tbody td,
body.woocommerce-account.logged-in .woocommerce-orders-table tbody th {
  color: #E8EDF8 !important;
  padding: 14px !important;
  border: none !important;
  font-size: .9rem !important;
}
body.woocommerce-account.logged-in .woocommerce-orders-table .woocommerce-button,
body.woocommerce-account.logged-in .woocommerce-orders-table .button {
  background: rgba(26,79,216,.20) !important;
  color: #4A7AFF !important;
  border: 1px solid rgba(26,79,216,.35) !important;
  border-radius: 6px !important;
  font-size: .8rem !important;
  padding: 5px 12px !important;
  text-transform: none !important;
}
body.woocommerce-account.logged-in .woocommerce-orders-table .woocommerce-button:hover,
body.woocommerce-account.logged-in .woocommerce-orders-table .button:hover {
  background: #1A4FD8 !important;
  color: #fff !important;
}

/* Statut commandes */
body.woocommerce-account.logged-in .woocommerce-orders-table .order-status,
body.woocommerce-account.logged-in .woocommerce-orders-table mark {
  background: transparent !important;
  color: #E8EDF8 !important;
}
body.woocommerce-account.logged-in .woocommerce-orders-table__row--status-completed td,
body.woocommerce-account.logged-in .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status {
  color: #4ade80 !important;
}
body.woocommerce-account.logged-in .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status {
  color: #60a5fa !important;
}
body.woocommerce-account.logged-in .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status {
  color: #facc15 !important;
}
body.woocommerce-account.logged-in .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status {
  color: #f87171 !important;
}

/* ── Formulaires (adresses, compte) ── */
body.woocommerce-account.logged-in .woocommerce-address-fields input,
body.woocommerce-account.logged-in .woocommerce-address-fields select,
body.woocommerce-account.logged-in .woocommerce-address-fields textarea,
body.woocommerce-account.logged-in .woocommerce-EditAccountForm input,
body.woocommerce-account.logged-in .woocommerce-EditAccountForm select,
body.woocommerce-account.logged-in .woocommerce-EditAccountForm textarea,
body.woocommerce-account.logged-in .edit-account input,
body.woocommerce-account.logged-in .edit-account select {
  background: #0D1525 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 8px !important;
  color: #E8EDF8 !important;
  padding: 10px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-size: .95rem !important;
}
body.woocommerce-account.logged-in .woocommerce-address-fields input:focus,
body.woocommerce-account.logged-in .woocommerce-address-fields select:focus,
body.woocommerce-account.logged-in .woocommerce-EditAccountForm input:focus,
body.woocommerce-account.logged-in .edit-account input:focus {
  border-color: #1A4FD8 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(26,79,216,.18) !important;
}
body.woocommerce-account.logged-in .woocommerce-address-fields label,
body.woocommerce-account.logged-in .woocommerce-EditAccountForm label,
body.woocommerce-account.logged-in .edit-account label {
  color: #8A9FC0 !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  margin-bottom: 5px !important;
  display: block !important;
}
body.woocommerce-account.logged-in .woocommerce-address-fields select option,
body.woocommerce-account.logged-in .edit-account select option {
  background: #111C30 !important;
  color: #E8EDF8 !important;
}

/* ── Boutons principaux ── */
body.woocommerce-account.logged-in .large-9.col .woocommerce-Button,
body.woocommerce-account.logged-in .large-9.col .button[type="submit"],
body.woocommerce-account.logged-in .large-9.col button[type="submit"] {
  background: #1A4FD8 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 28px !important;
  font-size: .9rem !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: background .2s !important;
}
body.woocommerce-account.logged-in .large-9.col .woocommerce-Button:hover,
body.woocommerce-account.logged-in .large-9.col .button[type="submit"]:hover,
body.woocommerce-account.logged-in .large-9.col button[type="submit"]:hover {
  background: #1641b0 !important;
}

/* ── Messages / notices ── */
body.woocommerce-account.logged-in .woocommerce-message {
  background: rgba(74,222,128,.08) !important;
  border-top: 3px solid #4ade80 !important;
  color: #E8EDF8 !important;
}
body.woocommerce-account.logged-in .woocommerce-error {
  background: rgba(248,113,113,.08) !important;
  border-top: 3px solid #f87171 !important;
  color: #E8EDF8 !important;
}
body.woocommerce-account.logged-in .woocommerce-info {
  background: rgba(96,165,250,.08) !important;
  border-top: 3px solid #60a5fa !important;
  color: #E8EDF8 !important;
}

/* ── Adresses (boîtes) ── */
body.woocommerce-account.logged-in .woocommerce-Addresses address {
  color: #C0CCDD !important;
  line-height: 1.7 !important;
}
body.woocommerce-account.logged-in .woocommerce-Address-title h3 {
  color: #E8EDF8 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

/* ── Détail commande ── */
body.woocommerce-account.logged-in .woocommerce-order-details,
body.woocommerce-account.logged-in .woocommerce-customer-details {
  color: #C0CCDD !important;
}
body.woocommerce-account.logged-in .shop_table {
  border-color: rgba(255,255,255,.07) !important;
}
body.woocommerce-account.logged-in .shop_table th {
  background: rgba(255,255,255,.04) !important;
  color: #8A9FC0 !important;
  border-color: rgba(255,255,255,.07) !important;
}
body.woocommerce-account.logged-in .shop_table td {
  color: #E8EDF8 !important;
  border-color: rgba(255,255,255,.07) !important;
}
body.woocommerce-account.logged-in .shop_table tfoot th,
body.woocommerce-account.logged-in .shop_table tfoot td {
  color: #E8EDF8 !important;
  border-color: rgba(255,255,255,.07) !important;
}

/* ── Pagination commandes ── */
body.woocommerce-account.logged-in .woocommerce-pagination .button {
  background: rgba(255,255,255,.06) !important;
  color: #8A9FC0 !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 6px !important;
  text-transform: none !important;
}
body.woocommerce-account.logged-in .woocommerce-pagination .button:hover {
  background: #1A4FD8 !important;
  color: #fff !important;
}

/* ── Mobile responsive ── */
@media (max-width: 849px) {
  body.woocommerce-account.logged-in .col.col-border {
    margin-bottom: 20px !important;
    border-radius: 12px !important;
  }
  body.woocommerce-account.logged-in .large-9.col {
    border-radius: 12px !important;
    padding: 20px !important;
  }
  body.woocommerce-account.logged-in .woocommerce-orders-table tbody td::before {
    color: #8A9FC0 !important;
    font-weight: 700 !important;
  }
}

/* ═══════════════════════════════════════════════════════
   PAGE BOUTIQUE — Fond sombre ISP
   Force le fond #0D1525 sur tous les conteneurs Flatsome
   du shop (sections, colonnes, content area).
   ═══════════════════════════════════════════════════════ */

body.woocommerce-shop .page-wrapper,
body.woocommerce-shop .page-wrapper > .container,
body.woocommerce-shop .page-wrapper .row,
body.woocommerce-shop .page-wrapper .col,
body.woocommerce-shop .entry-content,
body.woocommerce-shop #main,
body.woocommerce-shop .section,
body.woocommerce-shop .section-inner,
body.woocommerce-shop .container {
  background: #0D1525 !important;
  box-shadow: none !important;
}
body.woocommerce-shop .isp-trust,
body.woocommerce-product-category .isp-trust {
  background: #EAEAE7 !important;
}
.isp-trust-item span,
.isp-trust-item strong {
  color: #0E2357 !important;
}

/* ── Cartes produit page Boutique ── */
body.woocommerce-shop .product-small.col,
body.woocommerce-shop .product-small.col .col-inner,
body.woocommerce-shop .product-small.box,
body.woocommerce-shop .product-small.box .box-image,
body.woocommerce-shop .product-small.box .box-image > div {
  background: #1E2535 !important;
}
body.woocommerce-shop .product-small.box .box-text,
body.woocommerce-shop .product-small.box .box-text-inner {
  background: #EAEAE7 !important;
}
body.woocommerce-shop .product-small.col .col-inner {
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.25) !important;
  overflow: hidden !important;
  padding: 0 !important;
}
/* Image produit — remplit tout l'espace alloué */
/* Flatsome utilise padding-top:100% comme trick aspect-ratio — on en profite */
body.woocommerce-shop .product-small.box .box-image {
  position: relative !important;
  overflow: hidden !important;
  padding-top: 100% !important;
}
body.woocommerce-shop .product-small.box .box-image > div {
  position: absolute !important;
  inset: 0 !important;
}
body.woocommerce-shop .product-small.box .box-image a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
body.woocommerce-shop .product-small.box .box-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

body.woocommerce-shop .product-small.box .box-text {
  padding: 14px 16px 16px !important;
}
body.woocommerce-shop .product-small.box .woocommerce-loop-product__title {
  color: #0E2357 !important;
}
body.woocommerce-shop .product-small.box .price,
body.woocommerce-shop .product-small.box .price ins,
body.woocommerce-shop .product-small.box .price .woocommerce-Price-amount {
  color: #1A4FD8 !important;
}
body.woocommerce-shop .product-small.box .price del,
body.woocommerce-shop .product-small.box .price del .woocommerce-Price-amount {
  color: rgba(14,35,87,.4) !important;
}
/* Badge "Soldes" / onsale */
body.woocommerce-shop .product-small.box .onsale {
  background: #1A4FD8 !important;
  color: #fff !important;
}
/* Hover state — légère élévation */
body.woocommerce-shop .product-small.col.has-hover:hover .product-small.box {
  box-shadow: 0 8px 28px rgba(0,0,0,.35) !important;
  transform: translateY(-2px);
  transition: box-shadow .2s, transform .2s;
}


/* ═══════════════════════════════════════════════════════
   NOTICES WOOCOMMERCE — Global ISP
   Cible .woocommerce-message / .message-wrapper sur tout le site
   ═══════════════════════════════════════════════════════ */

.message-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.message-container {
  background: rgba(26,79,216,.12) !important;
  border: 1px solid rgba(74,122,255,.25) !important;
  border-radius: 10px !important;
  color: #E8EDF8 !important;
  box-shadow: none !important;
}
.message-container.success-color {
  background: rgba(16,185,129,.12) !important;
  border: 1px solid rgba(52,211,153,.25) !important;
}
.message-container.alert-color {
  background: rgba(239,68,68,.12) !important;
  border: 1px solid rgba(248,113,113,.25) !important;
}
.message-container i,
.message-container .message-icon { color: #4A7AFF !important; }
.message-container.success-color i,
.message-container.success-color .message-icon { color: #34d399 !important; }
.message-container.alert-color i,
.message-container.alert-color .message-icon { color: #f87171 !important; }
.message-container a { color: #4A7AFF !important; }
.message-container p,
.message-container span { color: #E8EDF8 !important; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: rgba(26,79,216,.12) !important;
  border-top-color: #1A4FD8 !important;
  color: #E8EDF8 !important;
  box-shadow: none !important;
}
.woocommerce-message { border-top-color: #34d399 !important; background: rgba(16,185,129,.12) !important; }
.woocommerce-error   { border-top-color: #f87171 !important; background: rgba(239,68,68,.12) !important; }

/* ═══════════════════════════════════════════════════════
   NOTICES ISP — Templates surchargés (notices/*.php)
   ═══════════════════════════════════════════════════════ */

.isp-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  margin: 0 0 16px;
  list-style: none;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.5;
}
.isp-notice--success {
  background: rgba(16,185,129,.13) !important;
  border: 1px solid rgba(52,211,153,.28) !important;
  color: #d1fae5 !important;
}
.isp-notice--success .isp-notice__icon { color: #34d399; flex-shrink: 0; }

.isp-notice--error {
  background: rgba(239,68,68,.13) !important;
  border: 1px solid rgba(248,113,113,.28) !important;
  color: #fee2e2 !important;
  padding: 0;
}
.isp-notice--error li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(248,113,113,.15);
}
.isp-notice--error li:last-child { border-bottom: none; }
.isp-notice--error .isp-notice__icon { color: #f87171; flex-shrink: 0; }

.isp-notice--info {
  background: rgba(26,79,216,.13) !important;
  border: 1px solid rgba(74,122,255,.28) !important;
  color: #dbeafe !important;
}
.isp-notice--info .isp-notice__icon { color: #60a5fa; flex-shrink: 0; }

.isp-notice__text {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.isp-notice__text a { color: #4A7AFF !important; text-decoration: underline; }
.isp-notice__text .button.wc-forward {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 14px !important;
  border-radius: 6px !important;
  background: rgba(74,122,255,.15) !important;
  border: 1px solid rgba(74,122,255,.3) !important;
  color: #4A7AFF !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1.6 !important;
  margin: 0 !important;
  flex-shrink: 0;
}

/* Écrase les anciens styles Flatsome sur .message-wrapper si présents */
.message-wrapper { background: transparent !important; box-shadow: none !important; border: none !important; padding: 0 !important; }


