/* ============================================================
   EXP Devis Popup — Style v2.4.8
   ============================================================ */
.edp-wrapper { position:relative; background:#fff; border-radius:30px; border:1px solid rgba(233,79,26,.5); padding:40px 56px; max-width:1060px; width:100%; box-sizing:border-box; font-family:'Poppins',sans-serif; }
.edp-close { position:absolute; top:16px; right:16px; width:36px; height:36px; border-radius:50%; border:1.5px solid #E94F1A; background:transparent; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s; z-index:5; padding:0; }
.edp-close:hover { background:rgba(233,79,26,.06); }
.edp-content { display:flex; gap:56px; align-items:flex-start; }

/* LEFT */
.edp-left { flex:0 0 48%; display:flex; flex-direction:column; gap:24px; }
.edp-title { margin:0; color:#E94F1A; font-size:22px; font-weight:700; line-height:1.26; font-family:'Poppins',sans-serif; }

/* Phone */
.edp-phone-btn:not(.exp-btn) { display:inline-flex; align-items:center; gap:10px; padding:10px 6px 10px 20px; border-radius:30px; border:1px solid #E94F1A; background:transparent; text-decoration:none; transition:background .2s; align-self:flex-start; }
.edp-phone-btn:not(.exp-btn):hover { background:rgba(233,79,26,.04); }
.edp-phone-info { display:flex; flex-direction:column; gap:2px; }
.edp-phone-number { display:flex; align-items:baseline; gap:2px; }
.edp-phone-label { color:#E94F1A; font-size:14px; font-weight:600; }
.edp-phone-num { color:#E94F1A; font-size:16px; font-weight:700; }
.edp-phone-hours { color:#E94F1A; font-size:12px; font-weight:600; }
.edp-phone-icon { width:36px; height:36px; border-radius:20px; background:linear-gradient(90deg,#E94F1A,#E93C00); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.edp-separator { height:1px; background:#FFDCD0; width:100%; }

/* Commercial */
.edp-commercial { display:flex; flex-direction:column; gap:14px; }
.edp-commercial-header { display:flex; align-items:center; gap:14px; }
.edp-photo { width:48px; height:48px; border-radius:50%; border:1px solid rgba(233,79,26,.56); object-fit:cover; flex-shrink:0; }
.edp-photo-placeholder { background:#f0f0f0; }
.edp-commercial-text { margin:0; color:#001866; font-size:14px; font-weight:600; line-height:1.4; }
.edp-commercial-cta { margin:0; color:#001866; font-size:14px; font-weight:600; line-height:1.5; }
.edp-commercial-cta u { color:#E94F1A; }

/* Product variant left */
.edp-product-subtitle { margin:0; color:#818181; font-size:14px; font-weight:400; line-height:1.4; }
.edp-product-card { display:flex; gap:16px; align-items:flex-start; padding:16px; background:#FBFBFB; border-radius:16px; border:1px solid #FFDCD0; }
.edp-product-image { width:90px; height:90px; border-radius:12px; overflow:hidden; flex-shrink:0; }
.edp-product-image img { width:100%; height:100%; object-fit:cover; }
.edp-product-info { display:flex; flex-direction:column; gap:6px; }
.edp-product-name { margin:0; color:#001866; font-size:15px; font-weight:600; line-height:1.3; }
.edp-product-sku { color:#818181; font-size:12px; font-weight:500; }
.edp-product-price { color:#E94F1A; font-size:16px; font-weight:700; }
.edp-product-price del { color:#B1B0B0; font-weight:400; font-size:13px; }

/* RIGHT — sub-container with same orange border */
.edp-right { flex:1; display:flex; flex-direction:column; gap:24px; background:#fff; border-radius:30px; border:1px solid rgba(233,79,26,.5); padding:25px 30px; }
.edp-form-header { display:flex; flex-direction:column; gap:17px; }
.edp-form-title { margin:0; color:#E94F1A; font-size:17px; font-weight:600; }
.edp-form-separator { height:1px; background:#FFDCD0; }

/* Form */
.edp-form { display:flex; flex-direction:column; gap:24px; }
.edp-fields { display:flex; flex-direction:column; gap:10px; }
.edp-input, .edp-textarea, .edp-select { width:100%; box-sizing:border-box; height:44px; padding:12px 16px; background:#FBFBFB; border-radius:30px !important; border:none !important; outline:1px solid #FFDCD0; outline-offset:-1px; color:#333; font-size:13px; font-family:'Poppins',sans-serif; font-style:italic; font-weight:500; word-wrap:break-word; transition:outline-color .2s; -webkit-appearance:none !important; appearance:none !important; }
.edp-input:focus, .edp-textarea:focus, .edp-select:focus { outline-color:#E94F1A; }
.edp-input::placeholder, .edp-textarea::placeholder { color:#B1B0B0; }
.edp-select-wrap { position:relative; }
.edp-select { color:#E94F1A; font-weight:600; font-style:normal; cursor:pointer; padding:0 40px 0 16px; height:48px; }
.edp-select-arrow { position:absolute; right:16px; top:50%; transform:translateY(-50%); pointer-events:none; }
.edp-textarea { border-radius:20px !important; height:80px; min-height:80px; resize:vertical; line-height:1.4; }

/* Quantity */
.edp-qty-wrap { display:flex; align-items:center; justify-content:space-between; gap:12px; height:48px; padding:0 16px; background:#FBFBFB; border-radius:30px; border:none; outline:1px solid #FFDCD0; outline-offset:-1px; box-sizing:border-box; }
.edp-qty-label { color:#E94F1A; font-size:13px; font-weight:600; font-style:normal; white-space:nowrap; }
.edp-qty-control { display:flex; align-items:center; gap:0; }
.edp-qty-btn { width:32px; height:32px; border-radius:50%; border:1px solid #FFDCD0; background:#fff; color:#E94F1A; font-size:18px; font-weight:600; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s; padding:0; line-height:1; }
.edp-qty-btn:hover { background:rgba(233,79,26,.06); }
.edp-qty-input { width:48px; text-align:center; border:none; background:transparent; font-size:15px; font-weight:600; color:#001866; font-family:'Poppins',sans-serif; -moz-appearance:textfield; }
.edp-qty-input::-webkit-inner-spin-button, .edp-qty-input::-webkit-outer-spin-button { -webkit-appearance:none; }

/* RGPD */
.edp-rgpd { display:flex; align-items:flex-start; gap:10px; cursor:pointer; }
.edp-checkbox { width:14px; height:14px; min-width:14px; border-radius:4px; border:1px solid rgba(233,79,26,.5); background:transparent; -webkit-appearance:none; appearance:none; cursor:pointer; margin-top:2px; position:relative; }
.edp-checkbox:checked { background:#E94F1A; border-color:#E94F1A; }
.edp-checkbox:checked::after { content:'✓'; color:#fff; font-size:10px; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); }
.edp-rgpd-text { color:#818181; font-size:12px; font-style:italic; font-weight:400; line-height:1.4; }

/* Submit */
.edp-submit:not(.exp-btn) { display:inline-flex; align-items:center; justify-content:space-between; width:100%; height:44px; padding:10px 5px 10px 41px; background:linear-gradient(90deg,#E94F1A,#E93C00); border-radius:30px; border:none; cursor:pointer; transition:opacity .2s; }
.edp-submit:not(.exp-btn):hover { opacity:.92; }
.edp-submit:not(.exp-btn):disabled { opacity:.6; cursor:not-allowed; }
.edp-submit-text { flex:1; text-align:center; color:#FBFBFB; font-size:14px; font-weight:600; }
.edp-submit-icon { width:36px; height:36px; border-radius:20px; background:linear-gradient(60deg,#fff,#FFBCA4); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#E94F1A; }
.edp-submit-icon svg { width:15px; height:8px; }

/* Message */
.edp-message { padding:12px 16px; border-radius:12px; font-size:13px; font-weight:500; text-align:center; }
.edp-message.edp-success { background:#ECFDF5; color:#065F46; }
.edp-message.edp-error { background:#FEF2F2; color:#991B1B; }

/* ============================================================
   PRODUCT POPUP — New layout
   ============================================================ */
.edp-wrapper--product { padding:36px 87px; border:none; border-radius:46px; }
.edp-wrapper--product .edp-close { top:20px; right:24px; width:40px; height:40px; border-radius:20px; }

/* Header */
.edp-product-header { display:flex; flex-direction:column; align-items:center; gap:36px; margin-bottom:36px; }
.edp-product-main-title { margin:0; text-align:center; color:#E94F1A; font-size:22px; font-family:'Poppins',sans-serif; font-weight:700; line-height:27.72px; }
.edp-product-header-sep { width:100%; height:0; border:none; outline:1px solid #FFDCD0; outline-offset:-0.5px; }

/* Body 2 columns */
.edp-product-body { display:flex; gap:65px; align-items:flex-start; }

/* LEFT */
.edp-product-left { flex:0 0 40%; display:flex; flex-direction:column; gap:24px; }
.edp-product-ref { color:#818181; font-size:13px; font-family:'Poppins',sans-serif; font-weight:600; margin-bottom:-16px; }
.edp-product-name2 { margin:0; color:#001866; font-size:17px; font-family:'Poppins',sans-serif; font-weight:600; }
.edp-product-img-wrap { padding:24px 40px; background:#FBFBFB; border-radius:46px; outline:1px solid #FFDCD0; outline-offset:-1px; display:flex; justify-content:center; align-items:center; }
.edp-product-img { max-width:100%; max-height:180px; width:auto; height:auto; object-fit:contain; }

/* Advice card */
.edp-product-advice { padding:24px 28px; background:#FFF3EE; border-radius:30px; display:flex; flex-direction:column; gap:14px; }
.edp-product-advice-text { margin:0; color:#484848; font-size:13px; font-family:'Poppins',sans-serif; font-weight:600; }
.edp-product-advice .edp-phone-btn:not(.exp-btn) { align-self:flex-start; }
.edp-product-advice a.edp-phone-btn.exp-btn--outline { align-self:flex-start !important; }

/* RIGHT — form without border */
.edp-product-right { flex:1; display:flex; flex-direction:column; }
.edp-product-right .edp-form { display:flex; flex-direction:column; gap:18px; }
.edp-product-right .edp-fields { display:flex; flex-direction:column; gap:10px; }

/* Bottom actions: qty + submit side by side */
.edp-product-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.edp-qty-wrap2 { display:flex; align-items:center; gap:0; width:93px; height:44px; border-radius:50px; outline:1px solid #001866; outline-offset:-1px; justify-content:center; flex-shrink:0; overflow:hidden; }
.edp-qty-btn2 { background:transparent; border:none; color:#001866; font-size:14px; font-family:'Poppins',sans-serif; font-weight:600; cursor:pointer; padding:0 8px; height:44px; display:flex; align-items:center; }
.edp-qty-btn2:hover { color:#fff; background:#E94F1A; }
.edp-qty-input2 { width:28px; text-align:center; border:none !important; outline:none !important; background:transparent !important; font-size:14px; font-weight:600; color:#001866; font-family:'Poppins',sans-serif; -moz-appearance:textfield; padding:0; margin:0; box-shadow:none !important; border-radius:0 !important; }
.edp-qty-input2::-webkit-inner-spin-button, .edp-qty-input2::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.edp-qty-input2:focus { outline:none !important; border:none !important; box-shadow:none !important; }
.edp-submit--product:not(.exp-btn) { flex:1; }

/* Force JetPopup container wider */
.jet-popup--show-state .jet-popup__container-inner,
.jet-popup--show-state .jet-popup__container-content,
.jet-popup--show-state .elementor-section-wrap,
.jet-popup--show-state .elementor-section,
.jet-popup--show-state .elementor-container,
.jet-popup--show-state .elementor-column,
.jet-popup--show-state .elementor-widget-wrap,
.jet-popup--show-state .elementor-widget,
.jet-popup--show-state .elementor-widget-container,
.jet-popup--show-state .e-con,
.jet-popup--show-state .e-con-inner { max-width:100% !important; width:100% !important; }
.jet-popup--show-state .jet-popup__container { max-width:1060px !important; width:85vw !important; }

/* Force popup overlay above sticky header */
.jet-popup--show-state .jet-popup__overlay { z-index:99999 !important; }
.jet-popup--show-state .jet-popup__container { z-index:100000 !important; }
.jet-popup--show-state { z-index:99999 !important; }

/* ============================================================
   RESPONSIVE — Close button safety zone
   ============================================================ */
/* Ensure close button NEVER overlaps the form — extra padding-top on wrapper */
.edp-wrapper { padding-top:56px; }
.edp-wrapper--product { padding-top:56px; }
/* Close button repositioned outside content zone */
.edp-close { top:12px; right:16px; }
.edp-wrapper--product .edp-close { top:14px; right:20px; }

/* ============================================================
   RESPONSIVE — Large desktop (>1200px)
   ============================================================ */
@media (min-width:1201px) {
    .jet-popup--show-state .jet-popup__container { max-width:1100px !important; width:80vw !important; }
}

/* ============================================================
   RESPONSIVE — Small desktop / Large laptop (1025px–1200px)
   ============================================================ */
@media (max-width:1200px) {
    .jet-popup--show-state .jet-popup__container { max-width:960px !important; width:88vw !important; }
    .edp-wrapper { padding:56px 40px 36px; max-width:960px; }
    .edp-content { gap:40px; }
    .edp-wrapper--product { padding:56px 50px 36px; }
    .edp-product-body { gap:40px; }
}

/* ============================================================
   RESPONSIVE — Tablet landscape / Small laptop (769px–1024px)
   ============================================================ */
@media (max-width:1024px) {
    .jet-popup--show-state .jet-popup__container { max-width:92vw !important; width:92vw !important; }
    .edp-wrapper { padding:52px 30px 30px; border-radius:24px; }
    .edp-content { gap:30px; }
    .edp-left { flex:0 0 44%; }
    .edp-title { font-size:20px; }
    /* Product popup */
    .edp-wrapper--product { padding:52px 30px 30px; border-radius:32px; }
    .edp-product-body { gap:30px; }
    .edp-product-left { flex:0 0 38%; }
    .edp-product-img-wrap { padding:18px 24px; border-radius:30px; }
}

/* ============================================================
   RESPONSIVE — Tablet portrait (601px–768px)
   ============================================================ */
@media (max-width:768px) {
    .jet-popup--show-state .jet-popup__container { max-width:95vw !important; width:95vw !important; }
    .edp-wrapper { padding:52px 24px 24px; border-radius:22px; }
    .edp-content { flex-direction:column; gap:24px; }
    .edp-left { flex:none; width:100%; }
    .edp-title { font-size:19px; }
    .edp-right { border-radius:22px; padding:20px 22px; }
    .edp-phone-btn:not(.exp-btn) { align-self:flex-start; box-sizing:border-box; }
    a.edp-phone-btn.exp-btn--outline { align-self:flex-start !important; }
    .edp-product-card { flex-direction:row; align-items:flex-start; }
    /* Product popup */
    .edp-wrapper--product { padding:52px 24px 24px; border-radius:26px; }
    .edp-product-header { margin-bottom:20px; gap:18px; }
    .edp-product-main-title { font-size:19px; }
    .edp-product-body { flex-direction:column; gap:24px; }
    .edp-product-left { flex:none; width:100%; }
    .edp-product-img-wrap { padding:20px 30px; border-radius:24px; }
    .edp-product-actions { flex-direction:row; gap:12px; }
    .edp-qty-wrap2 { flex-shrink:0; }
    .edp-submit--product:not(.exp-btn) { flex:1; }
}

/* ============================================================
   RESPONSIVE — Large mobile (481px–600px)
   ============================================================ */
@media (max-width:600px) {
    .jet-popup--show-state .jet-popup__container { max-width:97vw !important; width:97vw !important; }
    .edp-wrapper { padding:48px 18px 20px; border-radius:20px; }
    .edp-close { top:10px; right:12px; width:34px; height:34px; }
    .edp-content { gap:20px; }
    .edp-title { font-size:18px; }
    .edp-right { padding:18px 16px; border-radius:18px; }
    .edp-phone-label { font-size:13px; }
    .edp-phone-num { font-size:15px; }
    .edp-phone-hours { font-size:11px; }
    .edp-commercial-header { gap:10px; }
    .edp-photo { width:42px; height:42px; }
    .edp-commercial-text, .edp-commercial-cta { font-size:13px; }
    .edp-input, .edp-textarea, .edp-select { font-size:14px; height:42px; }
    .edp-select { height:46px; }
    .edp-qty-wrap { height:46px; }
    .edp-submit:not(.exp-btn) { height:42px; }
    .edp-submit-text { font-size:13px; }
    .edp-product-card { flex-direction:column; align-items:center; text-align:center; }
    /* Product popup */
    .edp-wrapper--product { padding:48px 18px 20px; border-radius:22px; }
    .edp-wrapper--product .edp-close { top:10px; right:14px; width:34px; height:34px; }
    .edp-product-main-title { font-size:17px; }
    .edp-product-advice { padding:18px 20px; border-radius:22px; }
    .edp-product-actions { flex-direction:column; gap:10px; }
    .edp-qty-wrap2 { width:100%; }
    .edp-submit--product:not(.exp-btn) { width:100%; }
}

/* ============================================================
   RESPONSIVE — Small mobile (≤480px)
   ============================================================ */
@media (max-width:480px) {
    .jet-popup--show-state .jet-popup__container { max-width:98vw !important; width:98vw !important; padding:4px !important; }
    .edp-wrapper { padding:46px 14px 16px; border-radius:18px; max-width:100%; }
    .edp-close { top:8px; right:10px; width:32px; height:32px; }
    .edp-content { gap:18px; }
    .edp-title { font-size:17px; line-height:1.3; }
    .edp-right { padding:16px 14px; border-radius:16px; gap:18px; }
    .edp-form-title { font-size:15px; }
    .edp-input, .edp-textarea { padding:10px 14px; height:40px; font-size:14px; border-radius:22px !important; }
    .edp-textarea { height:70px; min-height:70px; border-radius:16px !important; }
    .edp-select { height:44px; padding:0 36px 0 14px; font-size:13px; }
    .edp-qty-wrap { height:44px; padding:0 12px; }
    .edp-qty-label { font-size:12px; }
    .edp-qty-btn { width:28px; height:28px; font-size:16px; }
    .edp-qty-input { width:40px; font-size:14px; }
    .edp-submit:not(.exp-btn) { height:40px; padding:8px 5px 8px 20px; }
    .edp-submit-text { font-size:13px; }
    .edp-submit-icon { width:32px; height:32px; }
    .edp-phone-btn:not(.exp-btn) { padding:8px 6px 8px 14px; gap:8px; }
    .edp-phone-icon { width:32px; height:32px; }
    .edp-rgpd-text { font-size:11px; }
    /* Product popup */
    .edp-wrapper--product { padding:46px 14px 16px; border-radius:18px; }
    .edp-wrapper--product .edp-close { top:8px; right:10px; width:32px; height:32px; }
    .edp-product-header { margin-bottom:16px; gap:14px; }
    .edp-product-main-title { font-size:16px; line-height:1.3; }
    .edp-product-body { gap:18px; }
    .edp-product-img-wrap { padding:16px 20px; border-radius:20px; }
    .edp-product-advice { padding:14px 16px; border-radius:18px; gap:12px; }
    .edp-product-advice-text { font-size:12px; }
    .edp-product-name2 { font-size:15px; }
}

/* ============================================================
   RESPONSIVE — JetPopup scrollable on very small screens
   ============================================================ */
@media (max-height:700px) {
    .jet-popup--show-state .jet-popup__container { max-height:95vh !important; overflow-y:auto !important; }
}
@media (max-height:500px) {
    .jet-popup--show-state .jet-popup__container { max-height:98vh !important; }
    .edp-wrapper { padding-top:42px; }
    .edp-wrapper--product { padding-top:42px; }
}




/* ============================================
   DESIGN SYSTEM — Override .edp-submit quand DS actif
   ============================================ */

/* .edp-submit (height:44px, padding:10px 5px 10px 41px, border-radius:30px)
   écrase le DS. On corrige avec une spécificité plus haute. */
.edp-submit.exp-btn--filled {
    display: flex !important;
    height: var(--exp-btn-height, 60px) !important;
    padding: var(--exp-btn-padding-icon, 6px) var(--exp-btn-padding-icon, 6px) var(--exp-btn-padding-icon, 6px) var(--exp-btn-padding-text, 20px) !important;
    border-radius: var(--exp-btn-radius, 999px) !important;
    transition: all 0.3s ease !important;
    gap: var(--exp-btn-gap, 10px) !important;
    width: 100% !important;
    justify-content: space-between !important;
}

.edp-submit.exp-btn--filled .exp-btn-text {
    flex: 1 !important;
    text-align: center !important;
}

.edp-submit--product.exp-btn--filled {
    flex: 1 !important;
}

/* Hover */
.edp-submit.exp-btn--filled:hover {
    opacity: 1 !important;
    flex-direction: row-reverse !important;
    justify-content: space-between !important;
    padding: var(--exp-btn-padding-icon, 6px) var(--exp-btn-padding-text, 20px) var(--exp-btn-padding-icon, 6px) var(--exp-btn-padding-icon, 6px) !important;
    background: var(--exp-white, #FBFBFB) !important;
    border: 1px solid var(--exp-orange, #E94F1A) !important;
    color: var(--exp-orange, #E94F1A) !important;
}

/* Disabled */
.edp-submit.exp-btn--filled:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Old .edp-submit-text/.edp-submit-icon won't match DS output,
   but .edp-submit:hover opacity:.92 still does — overridden above */

/* Phone button (edp-phone-btn) — même approche */
a.edp-phone-btn.exp-btn--outline {
    height: var(--exp-btn-height, 60px) !important;
    padding: var(--exp-btn-padding-icon, 6px) var(--exp-btn-padding-icon, 6px) var(--exp-btn-padding-icon, 6px) var(--exp-btn-padding-text, 20px) !important;
    border-radius: var(--exp-btn-radius, 999px) !important;
    gap: var(--exp-btn-gap, 10px) !important;
    align-self: flex-start !important;
}

a.edp-phone-btn.exp-btn--outline:hover {
    flex-direction: row-reverse !important;
    padding: var(--exp-btn-padding-icon, 6px) var(--exp-btn-padding-text, 20px) var(--exp-btn-padding-icon, 6px) var(--exp-btn-padding-icon, 6px) !important;
}

/* === END DS OVERRIDES === */
