/* ASVS Demande de prix — côté site
   Les thèmes (Woodmart…) stylent tous les <button> : couleurs, casse et bordures sont donc forcées (!important). */
.asvs-dp-btn{--dp-red:#e5252a;--dp-navy:#142039;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:0;margin:0;padding:12px 20px;border:0;border-radius:4px;background:#3e3e3e;color:#fff;font:inherit;font-size:15px;font-weight:700;line-height:1.3;text-transform:none;letter-spacing:0;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.asvs-dp-btn:hover{background:var(--dp-red);color:#fff}
.asvs-dp-btn__icon{width:18px;height:18px;flex:0 0 18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L2 12V2h10l8.6 8.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7' cy='7' r='1.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L2 12V2h10l8.6 8.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7' cy='7' r='1.5'/%3E%3C/svg%3E") center/contain no-repeat}
.asvs-dp-btn.is-added{background:#2e8b39}
.asvs-dp-btn.is-added .asvs-dp-btn__icon{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}

.asvs-dp-single{margin-top:22px}
.asvs-dp-feedback{margin-top:10px;font-size:14px;color:#2e8b39;font-weight:600}
.asvs-dp-feedback a{color:#e5252a;font-weight:700;text-decoration:none}
.asvs-dp-feedback a:hover{text-decoration:underline}

/* cartes du catalogue */
.asvs-dp-btn--loop{width:100%;margin-top:auto;padding:9px 12px;border:1px solid #e5252a;background:#fff;color:#e5252a;font-size:13.5px}
.asvs-dp-btn--loop:hover{background:#e5252a;color:#fff}
.asvs-dp-btn--loop.is-added{border-color:#2e8b39;background:#f1faf2;color:#2e8b39}
.asvs-dp-btn--loop .asvs-dp-btn__icon{width:15px;height:15px;flex-basis:15px}
.asvs-dp-btn--loop + .asvs-card-cta{margin-top:8px!important}

/* notification + badge */
.asvs-dp-toast{position:fixed;left:50%;bottom:24px;z-index:99999;transform:translate(-50%,20px);max-width:calc(100% - 32px);padding:12px 18px;border-radius:8px;background:#142039;color:#fff;font-size:14px;box-shadow:0 12px 30px rgba(0,0,0,.25);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
.asvs-dp-toast.is-visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.asvs-dp-toast a{color:#ff9ca0;font-weight:700;text-decoration:underline}
.asvs-dp-badge{position:fixed;right:88px;bottom:24px;z-index:9990;display:flex;align-items:center;gap:10px;padding:10px 14px 10px 12px;border-radius:99px;background:#e5252a;color:#fff!important;font-size:14px;font-weight:700;text-decoration:none;box-shadow:0 10px 24px rgba(229,37,42,.35);transition:transform .2s}
.asvs-dp-badge:hover{transform:translateY(-2px)}
.asvs-dp-badge[hidden]{display:none!important}
.asvs-dp-badge__icon{width:20px;height:20px;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2'/%3E%3Crect x='9' y='3' width='6' height='4' rx='1'/%3E%3Cpath d='M9 12h6M9 16h4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2'/%3E%3Crect x='9' y='3' width='6' height='4' rx='1'/%3E%3Cpath d='M9 12h6M9 16h4'/%3E%3C/svg%3E") center/contain no-repeat}
.asvs-dp-badge__n{min-width:24px;height:24px;padding:0 7px;border-radius:99px;background:#fff;color:#e5252a;font-size:13px;line-height:24px;text-align:center}
@media (max-width:1024px){.asvs-dp-badge{right:14px;bottom:76px}.asvs-dp-badge__text{display:none}}

/* page de demande */
.asvs-dp-page{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px;align-items:start;max-width:1160px;margin:0 auto 40px;color:#1c2738}
.asvs-dp-card{padding:22px 24px;border:1px solid #e6e8ec;border-radius:12px;background:#fff;box-shadow:0 10px 26px rgba(20,32,57,.05)}
.asvs-dp-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding-bottom:12px;border-bottom:2px solid #e5252a}
.asvs-dp-card__head h2{margin:0;color:#142039;font-size:18px;font-weight:700;text-transform:none}
.asvs-dp-count{min-width:30px;height:30px;padding:0 9px;border-radius:99px;background:#142039;color:#fff;font-weight:700;line-height:30px;text-align:center}
.asvs-dp-empty{margin:6px 0;padding:18px;border:1px dashed #d6dae1;border-radius:8px;color:#69758a;text-align:center}
.asvs-dp-hint{margin:14px 0 0;color:#69758a;font-size:13px}
.asvs-dp-items{margin:0;padding:0;list-style:none}
.asvs-dp-item{display:grid;grid-template-columns:64px minmax(0,1fr) 90px 32px;gap:14px;align-items:center;margin:0;padding:12px 0;border-bottom:1px solid #eef0f3}
.asvs-dp-item:last-child{border-bottom:0}
.asvs-dp-item__img{width:64px;height:64px;border:1px solid #eef0f3;border-radius:8px;background:#fafafa center/contain no-repeat}
.asvs-dp-item__brand{display:block;color:#69758a;font-size:11.5px;text-transform:uppercase}
.asvs-dp-item__name{display:block;color:#142039;font-weight:600;line-height:1.35;text-decoration:none}
.asvs-dp-item__name:hover{color:#e5252a}
.asvs-dp-item__sku{display:block;margin-top:2px;color:#8a93a3;font-size:12px}
.asvs-dp-item__qty{display:flex;flex-direction:column;gap:3px;margin:0;color:#69758a;font-size:11px}
.asvs-dp-item__qty input{width:100%;height:38px;padding:0 8px;border:1px solid #dce2eb;border-radius:6px;text-align:center}
.asvs-dp-item__remove{width:32px;height:32px;min-height:0;padding:0;border:1px solid #eef0f3;border-radius:50%;background:#fff;color:#69758a;font-size:20px;line-height:1;cursor:pointer}
.asvs-dp-item__remove:hover{border-color:#e5252a;color:#e5252a}
.asvs-dp-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.asvs-dp-form label{display:flex;flex-direction:column;gap:6px;margin:0;color:#435064;font-size:13px;font-weight:700}
.asvs-dp-form label em{color:#e5252a;font-style:normal}
.asvs-dp-form input,.asvs-dp-form textarea{width:100%;height:auto;padding:11px 12px;border:1px solid #dce2eb;border-radius:7px;background:#fff;color:#1c2738;font:inherit;font-size:15px;font-weight:400}
.asvs-dp-form input:focus,.asvs-dp-form textarea:focus{border-color:#e5252a;outline:2px solid rgba(229,37,42,.15)}
.asvs-dp-form .is-invalid{border-color:#e5252a;background:#fff5f5}
.asvs-dp-full{grid-column:1/-1}
.asvs-dp-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.asvs-dp-error{color:#c91d22;font-size:12px;font-weight:600}
.asvs-dp-actions{margin-top:16px}
.asvs-dp-submit{width:100%;min-height:0;padding:14px 20px;border:0;border-radius:7px;background:#e5252a;color:#fff;font:inherit;font-size:16px;font-weight:700;text-transform:none;cursor:pointer}
.asvs-dp-submit:hover{background:#c91d22}
.asvs-dp-submit.is-loading{opacity:.7;cursor:wait}
.asvs-dp-legal{margin:8px 0 0;color:#8a93a3;font-size:12px;text-align:center}
.asvs-dp-result:empty{display:none}
.asvs-dp-result{margin-top:14px;padding:14px 16px;border-radius:8px;font-weight:600}
.asvs-dp-result.is-success{border:1px solid #bfe3c4;background:#f1faf2;color:#256f2e}
.asvs-dp-result.is-error{border:1px solid #f5c2c4;background:#fff5f5;color:#b3161b}
@media (max-width:860px){.asvs-dp-page{grid-template-columns:1fr}.asvs-dp-grid{grid-template-columns:1fr}.asvs-dp-item{grid-template-columns:52px minmax(0,1fr) 70px 30px;gap:10px}.asvs-dp-item__img{width:52px;height:52px}}

/* Surcharges du thème (Woodmart applique fond gris, capitalize et bordure à tous les boutons) */
.asvs-dp-btn,.asvs-dp-submit,.asvs-dp-item__remove{text-transform:none!important;letter-spacing:0!important;box-shadow:none!important}
.asvs-dp-btn{background:#3e3e3e!important;color:#fff!important;border:0!important}
.asvs-dp-btn:hover{background:#e5252a!important;color:#fff!important}
.asvs-dp-btn.is-added{background:#2e8b39!important}
.asvs-dp-btn--loop{background:#fff!important;color:#e5252a!important;border:1px solid #e5252a!important}
.asvs-dp-btn--loop:hover{background:#e5252a!important;color:#fff!important}
.asvs-dp-btn--loop.is-added{background:#f1faf2!important;color:#2e8b39!important;border-color:#2e8b39!important}
.asvs-dp-submit{background:#e5252a!important;color:#fff!important;border:0!important}
.asvs-dp-submit:hover{background:#c91d22!important}
.asvs-dp-item__remove{background:#fff!important;color:#69758a!important;border:1px solid #eef0f3!important}
.asvs-dp-item__remove:hover{color:#e5252a!important;border-color:#e5252a!important}
/* cartes : bouton en bas, juste au-dessus du lien « Voir prix & disponibilité » */
.product-element-bottom>.asvs-dp-btn--loop{order:50;margin-top:auto}
.product-element-bottom>.asvs-card-cta{order:51}
.product-element-bottom>.asvs-dp-btn--loop~.wd-product-sku,.product-element-bottom>.wd-product-sku{margin-bottom:6px}
/* libellés du formulaire : astérisque sur la même ligne */
.asvs-dp-form .asvs-dp-label{display:block}
.asvs-dp-form .asvs-dp-label em{display:inline}

/* v1.0.4 — ligne produit : sélecteur de quantité et suppression alignés */
.asvs-dp-item{grid-template-columns:64px minmax(0,1fr) auto 38px;gap:16px;align-items:center}
.asvs-dp-qty{display:inline-flex;align-items:stretch;height:40px;border:1px solid #dce2eb;border-radius:8px;overflow:hidden;background:#fff}
.asvs-dp-qty__btn{width:36px!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#f5f7fa!important;color:#142039!important;font-size:18px!important;font-weight:600!important;line-height:1!important;box-shadow:none!important;cursor:pointer}
.asvs-dp-qty__btn:hover:not(:disabled){background:#e5252a!important;color:#fff!important}
.asvs-dp-qty__btn:disabled{color:#c3c9d3!important;cursor:default}
.asvs-dp-qty__input{width:52px!important;height:auto!important;min-height:0!important;margin:0!important;padding:0 4px!important;border:0!important;border-left:1px solid #eef0f3!important;border-right:1px solid #eef0f3!important;border-radius:0!important;background:#fff!important;color:#142039!important;font-size:15px!important;font-weight:700!important;text-align:center;box-shadow:none!important;box-sizing:border-box!important}
.asvs-dp-qty__input:focus{outline:2px solid rgba(229,37,42,.25)!important;outline-offset:-2px}
.asvs-dp-item__remove{position:relative;width:38px!important;height:38px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:1px solid #eef0f3!important;border-radius:50%!important;background:#fff!important;font-size:0!important;line-height:0!important;box-sizing:border-box!important}
.asvs-dp-item__remove::before{content:"";position:absolute;inset:0;margin:auto;width:17px;height:17px;background:#8a93a3;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6M10 11v6M14 11v6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6M10 11v6M14 11v6'/%3E%3C/svg%3E") center/contain no-repeat}
.asvs-dp-item__remove:hover{border-color:#e5252a!important;background:#fff5f5!important}
.asvs-dp-item__remove:hover::before{background:#e5252a}
.asvs-dp-item__img{display:block;background-size:contain}
@media (max-width:860px){.asvs-dp-item{grid-template-columns:52px minmax(0,1fr) 38px;grid-template-areas:"img info rm" "img qty rm";row-gap:8px}.asvs-dp-item__img{grid-area:img}.asvs-dp-item__info{grid-area:info}.asvs-dp-qty{grid-area:qty;justify-self:start}.asvs-dp-item__remove{grid-area:rm}}

/* v1.0.5 — vignettes plus grandes et lisibles (photos hautes et étroites) */
.asvs-dp-item{grid-template-columns:96px minmax(0,1fr) auto 38px}
.asvs-dp-item__img{width:96px;height:96px;padding:6px;border:1px solid #eef0f3;border-radius:10px;background-color:#fff;background-origin:content-box;background-size:contain;background-position:center;background-repeat:no-repeat;transition:transform .2s,box-shadow .2s,border-color .2s}
.asvs-dp-item__img:hover{transform:scale(1.06);border-color:#e5252a;box-shadow:0 8px 20px rgba(20,32,57,.12)}
@media (max-width:860px){.asvs-dp-item{grid-template-columns:72px minmax(0,1fr) 38px}.asvs-dp-item__img{width:72px;height:72px;padding:4px}}
