.elementor-kit-5{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#000000;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1440px;}.e-con{--container-max-width:1440px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}

/* =========================================================
   BASE
========================================================= */
* {
  box-sizing: border-box;
}

body.single-product {
  background: #fff;
}

/* =========================================================
   BOUTON "COMMANDER MAINTENANT"
========================================================= */
#codqo-order-now,
.codqo-btn-buy {
    background-color: #2e8b57 !important; /* vert cible */
    color: #ffffff !important;
    border: none !important;
    width: 100% !important;
    padding: 18px 16px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.25) !important;
}

#codqo-order-now::after {
  background-color: #256f47 !important;
  content: "→";
  font-size: 20px;
}

#codqo-order-now:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}

/* =========================================================
   STICKY MOBILE
========================================================= */
@media (max-width: 768px) {
  #codqo-order-now {
    position: fixed !important;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 9999 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }

  body.single-product {
    padding-bottom: 120px;
  }
}

/* =========================================================
   MESSAGE BLOQUANT VARIANTES
========================================================= */
.codqo-var-hint {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff1f1;
  color: #c0392b;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.codqo-var-dot {
  width: 8px;
  height: 8px;
  background: #e74c3c;
  border-radius: 50%;
}

.codqo-var-hint.hidden {
  display: none;
}

/* shake animation */
.codqo-shake {
  animation: codqoShake .4s;
}

@keyframes codqoShake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

/* =========================================================
   VARIANTES COULEUR (SWATCHES)
========================================================= */
.woo-variation-swatches .variable-item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ccc;
  margin-right: 6px;
  cursor: pointer;
}

.woo-variation-swatches .variable-item.selected {
  border-color: #111;
}




/* =========================================================
   MASQUER META INUTILES
========================================================= */
.product_meta {
  display: none !important;
}

/* =========================================================
   MODAL BACKDROP
========================================================= */
.codqo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  z-index: 99999;
}

/* =========================================================
   MODAL CONTAINER
========================================================= */
.codqo-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 14px;
  width: min(720px, 92vw);
  display: none;
  z-index: 99999;
  overflow: hidden;
}

/* =========================================================
   MODAL HEADER
========================================================= */
.codqo-modal-header {
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.codqo-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f1f1;
  font-size: 20px;
  cursor: pointer;
}

/* =========================================================
   PRODUIT (IMAGE + TITRE + PRIX)
========================================================= */
.codqo-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

.codqo-product img {
  width: 64px;
  height: auto;
  border-radius: 8px;
}

.codqo-product-title {
  font-weight: 600;
  font-size: 15px;
}

.codqo-variant-line {
  font-size: 13px;
  color: #555;
  margin-top: 4px;
}

.codqo-price {
  margin-left: auto;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

/* =========================================================
   INFO LIVRAISON
========================================================= */
.codqo-shipping {
  padding: 12px 16px;
  font-size: 13px;
  color: #2c3e50;
  border-bottom: 1px solid #eee;
}

/* =========================================================
   FORMULAIRE
========================================================= */
.codqo-body {
  padding: 16px;
}

.codqo-body input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  /* margin-bottom: 12px; */
  outline: none;
}

.codqo-body input:focus {
  border-color: #1f7a34;
}

/* =========================================================
   MESSAGE ERREUR / SUCCÈS
========================================================= */
.codqo-msg {
  font-size: 14px;
  margin-bottom: 10px;
}

.codqo-msg.codqo-err {
  color: #c0392b;
}

.codqo-msg.codqo-ok {
  color: #1f7a34;
}

/* =========================================================
   ACTIONS
========================================================= */
  .codqo-actions {
  	margin-top: -35px;
    padding: 16px;
  }



  .codqo-submit {
    background-color: #2e8b57 !important;
    color: #ffffff !important;
    width: 100% !important;
    padding: 18px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .codqo-submit:hover {
    background-color: #256f47 !important;
  }


/* =========================================================
   CONFIRMATION
========================================================= */
.codqo-thanks {
  padding: 32px 20px;
  text-align: center;
}

.codqo-thanks h3 {
  color: #1f7a34;
  margin-bottom: 8px;
}

/* =========================================================
   MODAL STRUCTURE (DESKTOP + MOBILE)
   ⚠️ NE PAS TOUCHER AU DISPLAY
========================================================= */

.codqo-modal {
  max-height: 90vh;
  display: none;              /* 🔒 reste fermé par défaut */
  flex-direction: column;
}

.codqo-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}


/* =========================================================
   FORCE BOUTON COMMANDER MAINTENANT (HELLO ELEMENTOR FIX)
========================================================= */

/* Tous les cas possibles */
#codqo-order-now,
#codqo-order-now.button,
#codqo-order-now.button.alt,
button#codqo-order-now,
a#codqo-order-now,
.codqo-btn-buy,
.codqo-btn-buy.button,
.codqo-btn-buy.button.alt {
  background: #2e8b57 !important;
  background-color: #2e8b57 !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;

  width: 90% !important;
  padding: 18px 16px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  box-shadow: 0 8px 22px rgba(0,0,0,.25) !important;
}

/* Icône panier éventuelle */
#codqo-order-now i,
.codqo-btn-buy i {
  color: #fff !important;
}

/* Hover */
#codqo-order-now:hover,
.codqo-btn-buy:hover {
  background: #256f47 !important;
}

/* Sticky mobile */
@media (max-width: 768px) {
  #codqo-order-now {
    position: fixed !important;
    bottom: 14px !important;
    left: 14px !important;
    right: 14px !important;
    z-index: 9999 !important;
  }

  body.single-product {
    padding-bottom: 120px !important;
  }
}
#codqo-order-now,
#codqo-order-now.button,
#codqo-order-now.button.alt,
button#codqo-order-now,
a#codqo-order-now,
.codqo-btn-buy,
.codqo-btn-buy.button,
.codqo-btn-buy.button.alt {
  background: #2e8b57 !important;
  color: #ffffff !important;
}



/* ================================
   FORMULAIRE COMPACT AVEC ICÔNES
================================ */

.codqo-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.codqo-field.codqo-with-icon {
  display: flex;
  align-items: center;
  border: 1px solid #fff;
  border-radius: 10px;
  /* padding: 12px; */
  background: #fff;
  margin-bottom: -8px !important;
}

.codqo-icon {
  font-size: 18px;
  margin-right: 10px;
  opacity: 0.6;
}

.codqo-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
  background: transparent;
}

.codqo-input::placeholder {
  color: #999;
}


