/*
 Theme Name:   Hello Elementor Child — BOSCE Cycling
 Theme URI:    https://www.boscewheels.com
 Description:  Thème enfant Hello Elementor pour BOSCE Cycling — Design premium sport & performance
 Author:       BOSCE Cycling
 Author URI:   https://www.boscewheels.com
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  hello-elementor-child-bosce
 Requires at least: 6.0
 Tested up to: 6.7
 Requires PHP: 7.4
*/


/* ═══════════════════════════════════════════════════════════════
   BOSCE CYCLING — DESIGN TOKENS (CSS Variables)
   ═══════════════════════════════════════════════════════════════ */

:root {

  /* ── Couleurs Principales ── */
  --bosce-dark:           #221f1f;
  --bosce-sand:           #c1b5a4;

  /* ── Nuances Dark ── */
  --bosce-dark-90:        #352f2f;
  --bosce-dark-70:        #504a4a;
  --bosce-dark-50:        #908f8f;
  --bosce-dark-30:        #b5b3b3;
  --bosce-dark-10:        #e8e7e7;

  /* ── Nuances Sand ── */
  --bosce-sand-dark:      #a89b89;
  --bosce-sand-light:     #d4cbbf;
  --bosce-sand-lighter:   #ece8e3;
  --bosce-sand-lightest:  #f7f5f2;

  /* ── Blancs ── */
  --bosce-white:          #fafaf9;
  --bosce-pure-white:     #ffffff;

  /* ── Couleurs Fonctionnelles ── */
  --bosce-success:        #4a7c59;
  --bosce-warning:        #c49a3c;
  --bosce-error:          #b84a3c;
  --bosce-info:           #4a6a8c;

  /* ── Typographie ── */
  --font-display:         'Bebas Neue', sans-serif;
  --font-heading:         'Outfit', sans-serif;
  --font-body:            'DM Sans', sans-serif;

  /* ── Espacement ── */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   32px;
  --space-2xl:  48px;
  --space-3xl:  64px;
  --space-4xl:  96px;

  /* ── Bordures ── */
  --radius-sm:    2px;
  --radius-md:    4px;
  --radius-lg:    8px;
  --radius-xl:    12px;
  --radius-full:  999px;

  /* ── Ombres ── */
  --shadow-sm:  0 1px 3px rgba(34, 31, 31, 0.08);
  --shadow-md:  0 4px 12px rgba(34, 31, 31, 0.10);
  --shadow-lg:  0 8px 30px rgba(34, 31, 31, 0.12);
  --shadow-xl:  0 16px 50px rgba(34, 31, 31, 0.16);

  /* ── Transitions ── */
  --ease-out:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:    200ms;
  --duration-normal:  350ms;
  --duration-slow:    600ms;
}


/* ═══════════════════════════════════════════════════════════════
   CONTAINERS — max-width: 100% (Elementor utilise les %)
   ═══════════════════════════════════════════════════════════════ */

.elementor-section .elementor-container,
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con,
.e-con-inner,
.elementor-element.e-con {
  max-width: 100% !important;
}


/* ═══════════════════════════════════════════════════════════════
   OVERRIDE COMPLET — ÉCRASER HELLO ELEMENTOR PAR DÉFAUT
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables Elementor Global ── */
:root,
body,
.elementor-kit-* {
  --e-global-color-primary: #221f1f !important;
  --e-global-color-secondary: #c1b5a4 !important;
  --e-global-color-text: #221f1f !important;
  --e-global-color-accent: #c1b5a4 !important;

  --e-global-color-1ce50c6: #221f1f !important;
  --e-global-color-2196f3: #c1b5a4 !important;

  --e-global-typography-primary-font-family: 'Bebas Neue', sans-serif !important;
  --e-global-typography-secondary-font-family: 'Outfit', sans-serif !important;
  --e-global-typography-text-font-family: 'DM Sans', sans-serif !important;
  --e-global-typography-accent-font-family: 'Outfit', sans-serif !important;
}

/* ── Hello Elementor theme variables ── */
:root {
  --hello-header-bg: #221f1f !important;
  --hello-header-color: #ffffff !important;
  --hello-footer-bg: #221f1f !important;
  --hello-footer-color: #c1b5a4 !important;
  --hello-link-color: #221f1f !important;
  --hello-link-hover-color: #a89b89 !important;
}

/* ── Tuer l'accent rose/rouge d'Hello Elementor partout ── */
.elementor-widget-container a,
.elementor a,
a.elementor-button,
.elementor-button,
.elementor .elementor-button,
.e-scroll-to-top,
.elementor-scroll-to-top,
.dialog-widget,
.elementor-widget,
[class*="elementor"] {
  --e-global-color-accent: #c1b5a4 !important;
}

/* ── Boutons Elementor : typo seulement, couleurs gérées dans Elementor ── */
.elementor-button,
.elementor a.elementor-button,
.elementor-button-link,
.e-form__buttons__wrapper button,
.elementor-widget-button .elementor-button {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  border-radius: 999px !important;
  transition: all 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.elementor-button:hover,
.elementor a.elementor-button:hover,
.elementor-button-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 31, 31, 0.1) !important;
}

/* ── Focus / Outline global — uniquement clavier ── */
*:focus {
  outline: none !important;
  box-shadow: none !important;
}

*:focus-visible {
  outline: 2px solid #c1b5a4 !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

/* ── Liens globaux ── */
a,
.elementor-widget-container a,
.elementor a {
  color: #221f1f;
  transition: color 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a:hover,
.elementor-widget-container a:hover,
.elementor a:hover {
  color: #a89b89;
}

body .bosce-back-to-top,
body button.bosce-back-to-top,
[class*="elementor-kit"] .bosce-back-to-top {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  left: auto !important;
  z-index: 9999 !important;
  width: 48px !important;
  height: 48px !important;
  min-height: auto !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  background-color: #221f1f !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 4px 12px rgba(34, 31, 31, 0.15) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 20px !important;
  line-height: 48px !important;
  transition: all 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.bosce-back-to-top.bosce-btt-visible {
  display: flex !important;
}

.bosce-back-to-top:hover {
  background-color: #352f2f !important;
  transform: translateY(-3px);
}

.e-scroll-to-top,
.elementor-scroll-to-top,
[class*="scroll-to-top"]:not(.bosce-back-to-top) {
  background-color: #221f1f !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 4px 12px rgba(34, 31, 31, 0.15) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

.e-scroll-to-top:hover {
  background-color: #352f2f !important;
}

/* ── Cookie banner — reset TOTAL ── */
/* Supprimer outline/border/box-shadow sur TOUS les éléments cookie */
[class*="cky"] *,
[class*="cky"],
[data-cky] *,
[data-cky],
[id*="cky"] *,
[id*="cky"],
[class*="cookie"] button,
[class*="cookie"] a,
[class*="Cookie"] button,
[class*="Cookie"] a {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* Modal / consent bar */
[class*="cky-consent"],
[class*="cky-modal"],
[class*="cky-preference"] {
  background-color: #ffffff !important;
  color: #221f1f !important;
  border-radius: 12px !important;
  border: none !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* Titres */
[class*="cky-title"],
[class*="cky-preference-title"] {
  color: #221f1f !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
}

/* Texte */
[class*="cky-consent"] p,
[class*="cky-preference"] p,
[class*="cky-accordion"] {
  color: #504a4a !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Tous les boutons cookie */
[class*="cky"] button,
[class*="cky-btn"],
button[class*="cky"],
[data-cky-tag] {
  background-color: #221f1f !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Bouton refuser — style outline */
[class*="cky-btn-reject"],
button[class*="reject"] {
  background-color: transparent !important;
  color: #221f1f !important;
  border: 1.5px solid #221f1f !important;
}

/* Bouton X fermer */
[class*="cky"] [class*="close"],
[class*="cky-btn-close"],
[class*="cky-preference"] button[class*="close"],
[class*="cky"] button[aria-label="Close"],
[class*="cky"] button[aria-label="Fermer"] {
  background-color: #e8e7e7 !important;
  color: #221f1f !important;
  border: none !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Icône flottante cookie */
[class*="cky-revisit"],
[class*="cky-btn-revisit"],
button[class*="revisit"] {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Focus/hover — aucun effet parasite */
[class*="cky"] button:focus,
[class*="cky"] button:hover,
[class*="cky"] button:active,
[class*="cky"] a:focus,
[class*="cky"] a:hover {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

[class*="cky-btn-reject"]:focus,
[class*="cky-btn-reject"]:hover {
  border-color: #221f1f !important;
}

/* ── Formulaires Elementor ── */
.elementor-field-group input,
.elementor-field-group textarea,
.elementor-field-group select,
.elementor-form input,
.elementor-form textarea,
.elementor-form select {
  font-family: 'DM Sans', sans-serif !important;
  border: 1.5px solid #e8e7e7 !important;
  border-radius: 4px !important;
  color: #221f1f !important;
  transition: border-color 200ms ease, box-shadow 200ms ease !important;
}

.elementor-field-group input:focus,
.elementor-field-group textarea:focus,
.elementor-field-group select:focus {
  border-color: #c1b5a4 !important;
  box-shadow: 0 0 0 3px rgba(193, 181, 164, 0.2) !important;
}

/* ── Séparateurs / Dividers ── */
.elementor-divider-separator {
  border-color: #e8e7e7 !important;
}

/* ── Icons Elementor ── */
.elementor-icon,
.elementor-social-icon {
  color: #221f1f !important;
  border-color: #221f1f !important;
}

.elementor-icon:hover,
.elementor-social-icon:hover {
  color: #c1b5a4 !important;
  border-color: #c1b5a4 !important;
}

/* ── Progress Bar / Counter ── */
.elementor-progress-bar {
  background-color: #221f1f !important;
}

.elementor-progress-wrapper {
  background-color: #e8e7e7 !important;
}

/* ── Tabs / Accordions / Toggles ── */
.elementor-tab-title,
.elementor-toggle-title {
  font-family: 'Outfit', sans-serif !important;
  color: #221f1f !important;
}

.elementor-tab-title.elementor-active,
.elementor-toggle-title.elementor-active {
  color: #221f1f !important;
}

.elementor-tab-title a,
.elementor-toggle-title a {
  color: inherit !important;
}

/* ── Star Rating ── */
.elementor-star-rating i {
  color: #c49a3c !important;
}

/* ── Blockquotes ── */
blockquote {
  border-left-color: #c1b5a4 !important;
  font-family: 'Outfit', sans-serif !important;
  font-style: italic;
  color: #504a4a !important;
}

/* ── Loading / Spinner ── */
.elementor-loading .elementor-loader-wrapper .elementor-loader {
  border-color: #c1b5a4 !important;
  border-right-color: transparent !important;
}

/* ── Image Carousel arrows ── */
.elementor-swiper-button,
.swiper-button-next,
.swiper-button-prev {
  color: #221f1f !important;
}

.swiper-pagination-bullet-active {
  background: #221f1f !important;
}

.swiper-pagination-bullet {
  background: #b5b3b3 !important;
}

/* ── Alert / Info boxes ── */
.elementor-alert {
  border-color: #c1b5a4 !important;
}


/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */

body {
  font-family: var(--font-body) !important;
  color: var(--bosce-dark);
  background-color: var(--bosce-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  color: var(--bosce-dark);
  line-height: 1.2;
}

a {
  color: var(--bosce-dark);
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--bosce-sand-dark);
}

::selection {
  background: var(--bosce-sand);
  color: var(--bosce-dark);
}


/* ═══════════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

/* Header principal */
.bosce-header,
header.elementor-section {
  background-color: var(--bosce-dark) !important;
}

/* Liens de navigation — large & bold, pas uppercase */
.bosce-header .elementor-nav-menu a,
.elementor-nav-menu--main .elementor-item {
  font-family: var(--font-heading) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color var(--duration-fast) var(--ease-out) !important;
}

.elementor-nav-menu--main .elementor-item:hover,
.elementor-nav-menu--main .elementor-item.elementor-item-active {
  color: var(--bosce-sand) !important;
}

/* Sous-menu dropdown */
.elementor-nav-menu--dropdown .elementor-item {
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
  color: var(--bosce-dark) !important;
  padding: 10px 20px !important;
}

.elementor-nav-menu--dropdown {
  background: var(--bosce-pure-white) !important;
  border: 1px solid var(--bosce-dark-10) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Menu hamburger mobile */
.elementor-menu-toggle {
  color: var(--bosce-pure-white) !important;
}


/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE — GLOBAL
   ═══════════════════════════════════════════════════════════════ */

/* Prix */
.woocommerce .price,
.woocommerce-Price-amount {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  color: var(--bosce-dark) !important;
}

.woocommerce del .woocommerce-Price-amount {
  color: var(--bosce-dark-30) !important;
  font-weight: 400 !important;
}

.woocommerce ins .woocommerce-Price-amount {
  color: var(--bosce-dark) !important;
}

/* Badges */
.woocommerce .onsale {
  background-color: var(--bosce-dark) !important;
  color: var(--bosce-pure-white) !important;
  font-family: var(--font-heading) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  border-radius: var(--radius-sm) !important;
  padding: 4px 12px !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.5 !important;
}


/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE — GRILLE PRODUITS
   ═══════════════════════════════════════════════════════════════ */

.woocommerce ul.products li.product {
  border: 1px solid var(--bosce-dark-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  background: var(--bosce-pure-white);
}

.woocommerce ul.products li.product:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--bosce-dark) !important;
  padding: 0 var(--space-md) !important;
}

.woocommerce ul.products li.product .price {
  padding: 0 var(--space-md) var(--space-md) !important;
  font-size: 20px !important;
}

/* Catégorie au-dessus du titre produit */
.woocommerce ul.products li.product .product-category {
  font-family: var(--font-heading) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--bosce-sand-dark) !important;
  padding: var(--space-md) var(--space-md) 0 !important;
}

/* Image produit */
.woocommerce ul.products li.product a img {
  border-radius: 0 !important;
  transition: transform var(--duration-slow) var(--ease-out);
}

.woocommerce ul.products li.product:hover a img {
  transform: scale(1.03);
}


/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE — PAGE PRODUIT SINGLE
   ═══════════════════════════════════════════════════════════════ */

.woocommerce div.product .product_title {
  font-family: var(--font-heading) !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  color: var(--bosce-dark) !important;
}

.woocommerce div.product p.price {
  font-size: 28px !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  color: var(--bosce-dark) !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: var(--bosce-dark-70) !important;
}

/* Onglets */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--bosce-dark-50) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--bosce-dark) !important;
  border-bottom-color: var(--bosce-sand) !important;
}

/* Galerie */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}


/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE — BOUTONS
   ═══════════════════════════════════════════════════════════════ */

/* Bouton Ajouter au panier */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  font-family: var(--font-heading) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  background-color: var(--bosce-dark) !important;
  color: var(--bosce-pure-white) !important;
  border: 2px solid var(--bosce-dark) !important;
  border-radius: var(--radius-full) !important;
  padding: 14px 36px !important;
  transition: all var(--duration-normal) var(--ease-out) !important;
  cursor: pointer !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: var(--bosce-dark-90) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Bouton secondaire (Voir panier, etc.) */
.woocommerce a.button.wc-forward,
.woocommerce .cart .button {
  background-color: var(--bosce-sand) !important;
  color: var(--bosce-dark) !important;
  border-color: var(--bosce-sand) !important;
}

.woocommerce a.button.wc-forward:hover,
.woocommerce .cart .button:hover {
  background-color: var(--bosce-sand-dark) !important;
  border-color: var(--bosce-sand-dark) !important;
}

/* Bouton désactivé */
.woocommerce button.button:disabled,
.woocommerce button.button.disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  transform: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE — PANIER
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-cart table.cart {
  border: 1px solid var(--bosce-dark-10) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
}

.woocommerce-cart table.cart th {
  font-family: var(--font-heading) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--bosce-dark-50) !important;
  background: var(--bosce-sand-lightest) !important;
  padding: var(--space-md) var(--space-lg) !important;
}

.woocommerce-cart table.cart td {
  border-top: 1px solid var(--bosce-dark-10) !important;
  padding: var(--space-md) var(--space-lg) !important;
  vertical-align: middle !important;
}

.woocommerce-cart table.cart .product-name a {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  color: var(--bosce-dark) !important;
  text-decoration: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE — CHECKOUT
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-checkout h3 {
  font-family: var(--font-display) !important;
  font-size: 32px !important;
  letter-spacing: 2px !important;
}

.woocommerce form .form-row label {
  font-family: var(--font-heading) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--bosce-dark-70) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  color: var(--bosce-dark) !important;
  border: 1.5px solid var(--bosce-dark-10) !important;
  border-radius: var(--radius-md) !important;
  padding: 14px 16px !important;
  background: var(--bosce-pure-white) !important;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out) !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--bosce-sand) !important;
  box-shadow: 0 0 0 3px rgba(193, 181, 164, 0.2) !important;
  outline: none !important;
}

/* Résumé de commande */
.woocommerce-checkout-review-order-table {
  border: 1px solid var(--bosce-dark-10) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
}

#order_review_heading {
  font-family: var(--font-display) !important;
}

/* Bouton passer commande */
.woocommerce #payment #place_order {
  font-size: 16px !important;
  padding: 18px 48px !important;
  width: 100%;
}


/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE — MESSAGES & NOTICES
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-message {
  border-top-color: var(--bosce-success) !important;
  background: rgba(74, 124, 89, 0.06) !important;
  color: var(--bosce-dark) !important;
  font-family: var(--font-body) !important;
  border-radius: var(--radius-md) !important;
}

.woocommerce-info {
  border-top-color: var(--bosce-sand) !important;
  background: var(--bosce-sand-lightest) !important;
  color: var(--bosce-dark) !important;
  border-radius: var(--radius-md) !important;
}

.woocommerce-error {
  border-top-color: var(--bosce-error) !important;
  background: rgba(184, 74, 60, 0.06) !important;
  color: var(--bosce-dark) !important;
  border-radius: var(--radius-md) !important;
}

.woocommerce-message::before {
  color: var(--bosce-success) !important;
}

.woocommerce-info::before {
  color: var(--bosce-sand-dark) !important;
}

.woocommerce-error::before {
  color: var(--bosce-error) !important;
}


/* ═══════════════════════════════════════════════════════════════
   ELEMENTOR — SURCHARGES GLOBALES
   ═══════════════════════════════════════════════════════════════ */

/* Boutons Elementor */
.elementor-button {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  border-radius: var(--radius-full) !important;
  transition: all var(--duration-normal) var(--ease-out) !important;
}

.elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Titres Elementor */
.elementor-heading-title {
  font-family: var(--font-heading) !important;
}

/* Texte Elementor */
.elementor-text-editor {
  font-family: var(--font-body) !important;
  line-height: 1.7 !important;
}

/* Widget séparateur */
.elementor-divider-separator {
  border-color: var(--bosce-dark-10) !important;
}


/* ═══════════════════════════════════════════════════════════════
   CLASSES UTILITAIRES BOSCE
   ═══════════════════════════════════════════════════════════════ */

/* Fonds */
.bosce-bg-dark      { background-color: var(--bosce-dark) !important; }
.bosce-bg-sand      { background-color: var(--bosce-sand) !important; }
.bosce-bg-light     { background-color: var(--bosce-sand-lightest) !important; }
.bosce-bg-white     { background-color: var(--bosce-pure-white) !important; }

/* Textes */
.bosce-text-dark    { color: var(--bosce-dark) !important; }
.bosce-text-sand    { color: var(--bosce-sand) !important; }
.bosce-text-white   { color: var(--bosce-pure-white) !important; }
.bosce-text-muted   { color: var(--bosce-dark-50) !important; }

/* Typographie */
.bosce-font-display { font-family: var(--font-display) !important; }
.bosce-font-heading { font-family: var(--font-heading) !important; }
.bosce-font-body    { font-family: var(--font-body) !important; }

/* Overline / Label */
.bosce-overline {
  font-family: var(--font-heading) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--bosce-sand-dark) !important;
}

/* Display Title */
.bosce-display {
  font-family: var(--font-display) !important;
  letter-spacing: 3px !important;
  line-height: 1 !important;
}

/* Espacement sections */
.bosce-section-padding {
  padding-top: var(--space-4xl) !important;
  padding-bottom: var(--space-4xl) !important;
}


/* ═══════════════════════════════════════════════════════════════
   SCROLLBAR PERSONNALISÉE
   ═══════════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bosce-sand-lightest);
}

::-webkit-scrollbar-thumb {
  background: var(--bosce-sand);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bosce-sand-dark);
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

  .woocommerce div.product .product_title {
    font-size: 26px !important;
  }

  .woocommerce div.product p.price {
    font-size: 22px !important;
  }

  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce a.button.alt,
  .woocommerce button.button.alt {
    padding: 12px 28px !important;
    font-size: 13px !important;
  }

  .woocommerce #payment #place_order {
    padding: 16px 32px !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   BOSCE PRODUCT PAGE WIDGET — NEUTRALISATION STYLES GLOBAUX
   ─────────────────────────────────────────────────────────────
   Le Kit Elementor + Hello Elementor parent appliquent des
   styles globaux sur button, table, th, td qui cassent le widget.
   ═══════════════════════════════════════════════════════════════ */

/* ── Tables: reset Hello Elementor borders ── */
body .bp-product table,
body .bp-product table th,
body .bp-product table td,
body .bp-product table tr,
body .bp-product table thead,
body .bp-product table tbody {
  border: none !important;
  border-color: transparent !important;
  border-style: none !important;
  border-width: 0 !important;
  outline: none !important;
}

body .bp-product .bp-spec-table {
  border-collapse: separate !important;
  border-spacing: 0 3px !important;
}

body .bp-product .bp-spec-table th,
body .bp-product .bp-spec-table td {
  background: #f0efed !important;
  border: none !important;
  padding: 14px 20px !important;
}

body .bp-product .bp-spec-table thead th,
body .bp-product .bp-spec-table thead td {
  background: transparent !important;
  border: none !important;
}

/* ── Variation buttons: reset Elementor Kit ── */
body .bp-product button.bp-var-btn,
[class*="elementor-kit"] .bp-product button.bp-var-btn {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #221f1f !important;
  background-color: #ffffff !important;
  border: 1.5px solid #e0dede !important;
  border-radius: 8px !important;
  padding: 14px 12px !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  transform: none !important;
  min-height: auto !important;
}

body .bp-product button.bp-var-btn:hover,
[class*="elementor-kit"] .bp-product button.bp-var-btn:hover {
  border-color: #b5b3b3 !important;
  background-color: #ffffff !important;
  transform: none !important;
  box-shadow: none !important;
}

body .bp-product button.bp-var-btn.active,
[class*="elementor-kit"] .bp-product button.bp-var-btn.active {
  border-color: #221f1f !important;
  border-width: 2px !important;
  background-color: #ffffff !important;
}

/* ── Add to cart: reset Elementor Kit ── */
body .bp-product button.bp-add-cart,
[class*="elementor-kit"] .bp-product button.bp-add-cart {
  width: 100% !important;
  height: 56px !important;
  background-color: #221f1f !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  text-transform: none !important;
  padding: 0 !important;
  line-height: 56px !important;
  box-shadow: none !important;
}

body .bp-product button.bp-add-cart:hover {
  background-color: #3a3636 !important;
}

/* ── Zoom / Lightbox buttons ── */
body .bp-product button.bp-zoom,
[class*="elementor-kit"] .bp-product button.bp-zoom {
  width: 40px !important;
  height: 40px !important;
  background-color: #ffffff !important;
  border-radius: 50% !important;
  border: none !important;
  padding: 0 !important;
  min-height: auto !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
}

body .bp-product button.bp-lb-close,
body .bp-product button.bp-lb-nav {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  min-height: auto !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

body .bp-product button.bp-lb-nav {
  background-color: rgba(255,255,255,0.1) !important;
  border-radius: 50% !important;
}