/* Deco Mosaic – formulaire d'achat. Style « flat » inspiré de PrimeNG (thème Lara). */
body.dm-eligible .yith-ywraq-add-to-quote,
body.dm-eligible .sticky-add-to-cart,
body.dm-eligible .single_variation_wrap { display: none !important; }

#dm-form {
	--dm-primary: var(--primary-color, #7d7268); --dm-ring: rgba(125, 114, 104, .3);
	--dm-border: #ced4da; --dm-text: #374151; --dm-muted: #6b7280; --dm-surface: #fff; --dm-radius: 6px;
	margin: 1.2em 0; padding: 1.25rem; background: var(--dm-surface); color: var(--dm-text);
	border: 1px solid #e5e7eb; border-radius: 12px; font-size: 16px; line-height: 1.45; box-shadow: none;
}
#dm-form *, #dm-form *::before, #dm-form *::after { box-sizing: border-box; }
#dm-form [hidden] { display: none !important; }
#dm-form .dm-subtitle { margin: 0 0 .75rem; font-size: 1rem; font-weight: 600; }
#dm-form .dm-stock { margin: 0 0 1rem; padding: .5rem .75rem; background: #f3f4f6; border-radius: var(--dm-radius); font-weight: 500; }

#dm-form .dm-field { margin: 0 0 1rem; padding: 0; border: 0; min-width: 0; }
#dm-form label, #dm-form legend { display: block; margin: 0 0 .4rem; padding: 0; font-size: 16px; font-weight: 500; color: var(--dm-text); }
#dm-form .dm-hint { display: block; margin-top: .35rem; color: var(--dm-muted); font-size: 14.5px; }

/* Champs */
#dm-form input[type=text], #dm-form input[type=email], #dm-form input[type=tel], #dm-form textarea {
	display: block; width: 100%; height: auto; margin: 0; padding: .5rem .7rem; background: #fff; color: var(--dm-text);
	border: 1px solid var(--dm-border); border-radius: var(--dm-radius); box-shadow: none; font: inherit; appearance: none;
	transition: border-color .15s, box-shadow .15s;
}
#dm-form input[type=text]:hover, #dm-form input[type=email]:hover, #dm-form input[type=tel]:hover { border-color: var(--dm-primary); }
#dm-form input[type=text]:focus, #dm-form input[type=email]:focus, #dm-form input[type=tel]:focus, #dm-form textarea:focus {
	outline: 0; border-color: var(--dm-primary); box-shadow: 0 0 0 .2rem var(--dm-ring);
}
#dm-form input::placeholder { color: #9ca3af; }

/* Quantité : champ réduit de 60 % (40 % de la largeur), boutons ± plats */
#dm-form .dm-qty { display: flex; align-items: stretch; width: 60%; min-width: 220px; max-width: 100%; margin: 0 auto; }
#dm-form .dm-field:has(.dm-qty) { text-align: center; }
#dm-form .dm-qty input { flex: 1; min-width: 0; text-align: center !important; border-radius: 0; border-left: 0; border-right: 0; }
#dm-form .dm-step {
	flex: 0 0 2.5rem; margin: 0; padding: 0; background: var(--dm-primary); color: #fff; border: 1px solid var(--dm-primary);
	font-size: 1.1rem; line-height: 1; cursor: pointer; box-shadow: none; transition: background .15s;
}
#dm-form .dm-step:first-child { border-radius: var(--dm-radius) 0 0 var(--dm-radius); }
#dm-form .dm-step:last-child { border-radius: 0 var(--dm-radius) var(--dm-radius) 0; }
#dm-form .dm-step:focus-visible { outline: 0; box-shadow: 0 0 0 .2rem var(--dm-ring); }

/* Grilles (2 champs par ligne) */
#dm-form .dm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
#dm-form .dm-grid-zc { grid-template-columns: 9rem 1fr; }
@media (max-width: 480px) { #dm-form .dm-grid, #dm-form .dm-grid-zc { grid-template-columns: 1fr; } #dm-form .dm-qty { width: 100%; } }

/* Boutons radio (PrimeNG RadioButton), côte à côte */
#dm-form .dm-suggest, #dm-form .dm-radios { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
#dm-form .dm-suggest:not(:empty) { margin: 0 0 1rem; }
#dm-form .dm-modes { margin-bottom: 1rem; }
#dm-form .dm-radio, #dm-form .dm-check { position: relative; display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-weight: 400; cursor: pointer; }
#dm-form .dm-radio input, #dm-form .dm-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
#dm-form .dm-radio-box, #dm-form .dm-check-box {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px;
	background: #fff; border: 2px solid var(--dm-border); transition: border-color .15s, background .15s, box-shadow .15s;
}
#dm-form .dm-radio-box { border-radius: 50%; }
#dm-form .dm-check-box { border-radius: 4px; }
#dm-form .dm-radio-box::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .12s; }
#dm-form .dm-check-box::after { content: ''; width: 5px; height: 10px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .12s; }
#dm-form .dm-radio:hover .dm-radio-box, #dm-form .dm-check:hover .dm-check-box { border-color: var(--dm-primary); }
#dm-form input:checked + .dm-radio-box, #dm-form input:checked + .dm-check-box { background: var(--dm-primary); border-color: var(--dm-primary); }
#dm-form input:checked + .dm-radio-box::after { transform: scale(1); }
#dm-form input:checked + .dm-check-box::after { transform: rotate(45deg) scale(1); }
#dm-form input:focus-visible + .dm-radio-box, #dm-form input:focus-visible + .dm-check-box { box-shadow: 0 0 0 .2rem var(--dm-ring); border-color: var(--dm-primary); }
#dm-form .dm-check { align-items: flex-start; }
#dm-form .dm-mountain { margin: 0 0 1rem; }
#dm-form .dm-consent { margin: .25rem 0 1rem; font-size: 15px; }

/* Messages (PrimeNG Message, flat) */
#dm-form .dm-messages p { margin: 0 0 .6rem; padding: .65rem .85rem; border: 0; border-radius: var(--dm-radius); font-size: 15.5px; }
#dm-form .dm-messages .dm-err { background: rgba(239, 68, 68, .1); color: #b91c1c; }
#dm-form .dm-messages .dm-note { background: rgba(59, 130, 246, .1); color: #1d4ed8; }
#dm-form .dm-19t { margin: 0 0 1rem; color: var(--dm-muted); font-size: 14.5px; }
#dm-form .dm-19t a { color: var(--dm-primary); text-decoration: underline; }

/* Récapitulatif */
#dm-form .dm-summary { width: 100%; margin: .25rem 0 1rem; border: 0; border-collapse: collapse; }
#dm-form .dm-summary td { padding: .5rem 0; border: 0; border-bottom: 1px solid #e5e7eb; background: none; }
#dm-form .dm-summary td:last-child { text-align: right; }
#dm-form .dm-summary .dm-strong td { font-weight: 700; border-bottom: 0; font-size: 1.05em; }

/* Boutons (PrimeNG Button, flat) */
#dm-form .dm-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 100%; margin: 0 0 .5rem; padding: .6rem 1rem;
	background: var(--dm-primary); color: #fff; border: 1px solid var(--dm-primary); border-radius: var(--dm-radius);
	font-family: inherit; font-weight: 500; font-size: 15px; line-height: 1.2; text-transform: none; letter-spacing: 0; text-shadow: none; box-shadow: none; cursor: pointer;
	transition: background .15s, border-color .15s, box-shadow .15s;
}
#dm-form .dm-btn:hover, #dm-form .dm-step:hover { filter: brightness(.9); }
#dm-form .dm-btn:focus-visible { outline: 0; box-shadow: 0 0 0 .2rem var(--dm-ring); }
#dm-form .dm-btn:disabled { opacity: .6; cursor: not-allowed; }

/* Bloc coordonnées du devis : déploiement */
#dm-form .dm-quote { margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid #e5e7eb; scroll-margin-top: 1rem; }
#dm-form .dm-quote.dm-open { animation: dm-slide .35s ease-out; }
@keyframes dm-slide { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
#dm-form .dm-quote-done { margin: 0; padding: .85rem 1rem; background: rgba(34, 197, 94, .12); color: #166534; border-radius: var(--dm-radius); }
#dm-form .dm-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

#dm-form textarea { display: block; width: 100%; padding: .6rem .75rem; border: 1px solid var(--dm-border); border-radius: var(--dm-radius); font: inherit; box-shadow: none; resize: vertical; }
#dm-form .dm-cgv { margin: 0 0 1rem; }
#dm-form .dm-cgv a { color: var(--dm-primary); text-decoration: underline; }
#dm-form .dm-btn:disabled { filter: grayscale(.4); }
#dm-form .dm-extra { margin: 0 0 1rem; }
#dm-form .dm-qfields .dm-grid, #dm-form .dm-qfields .dm-field:last-of-type { max-width: 440px; }
#dm-form .dm-qfields textarea { max-width: 440px; }
#dm-form .dm-qfields .dm-btn { max-width: 440px; }

/* Zone quantité (surface + boîtes) */
#dm-form .dm-qpanel { margin: 0 0 1rem; padding: 1rem; background: #f4f2f0; border-radius: 14px; }
#dm-form .dm-qrow { display: flex; align-items: flex-end; justify-content: center; flex-wrap: wrap; gap: .75rem 1rem; }
#dm-form .dm-caps { margin: 0 0 .4rem; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
#dm-form .dm-surface { position: relative; display: flex; align-items: center; background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
#dm-form .dm-surface input { width: 6rem; border: 0 !important; box-shadow: none !important; background: transparent !important; text-align: center !important; font-size: 20px; padding: .85rem .5rem .85rem .75rem; }
#dm-form .dm-unit { padding: 0 .8rem 0 .6rem; border-left: 1px solid #eee; font-weight: 600; }
#dm-form .dm-soit { align-self: center; margin-top: 1.6rem; color: var(--dm-muted); }
#dm-form .dm-qpanel .dm-qty { width: auto; min-width: 0; margin: 0; background: #ebe8e5; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); overflow: hidden; }
#dm-form .dm-qpanel .dm-qty input { width: 3.5rem; flex: 0 0 3.5rem; border: 0 !important; border-radius: 0; background: #fff !important; font-size: 20px; padding: .85rem .25rem; box-shadow: none !important; }
#dm-form .dm-qpanel .dm-step { flex: 0 0 2.7rem; background: transparent; color: var(--dm-text); border: 0; border-radius: 0 !important; font-size: 1.6rem; }
#dm-form .dm-extra { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 0; padding: .55rem 1rem; background: #fff; border: 1px solid #d9d4cf; border-radius: 999px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
#dm-form .dm-extra input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#dm-form .dm-extra.dm-extra-on { background: rgba(125, 114, 104, .12); border-color: var(--dm-primary); color: var(--dm-primary); }
#dm-form .dm-extra .dm-check-box { flex: 0 0 auto; }
#dm-form input:checked + .dm-check-box { background: var(--dm-primary); border-color: var(--dm-primary); }
#dm-form .dm-qpanel .dm-hint { margin-top: .6rem; text-align: center; }
#dm-form select { display: block; width: 100%; padding: .6rem .75rem; background: #fff; color: var(--dm-text); border: 1px solid var(--dm-border); border-radius: var(--dm-radius); font: inherit; height: auto; box-shadow: none; }
#dm-form select:focus { outline: 0; border-color: var(--dm-primary); box-shadow: 0 0 0 .2rem var(--dm-ring); }
#dm-form .dm-ziprow.dm-grid-zc { grid-template-columns: 9rem 1fr; }
@media (max-width: 480px) { #dm-form .dm-ziprow.dm-grid-zc { grid-template-columns: 1fr; } #dm-form .dm-soit { display: none; } }

/* Volet panier latéral */
.dm-drawer-root { --dm-primary: var(--primary-color, #7d7268); position: fixed; inset: 0; z-index: 100000; font-family: inherit; }
.dm-drawer-root[hidden] { display: none; }
.dm-drawer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s; }
.dm-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100%; display: flex; flex-direction: column; background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,.2); transform: translateX(100%); transition: transform .25s ease-out; color: #333; font-size: 16px; }
.dm-drawer-open .dm-drawer-overlay { opacity: 1; }
.dm-drawer-open .dm-drawer { transform: none; }
.dm-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid #eee; }
.dm-drawer-head h3 { margin: 0; font-size: 1.25rem; }
.dm-drawer-x { width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: #f1efed; font-size: 1.5rem; line-height: 1; cursor: pointer; color: #333; }
.dm-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.dm-ditem { display: flex; gap: .9rem; padding: .85rem; margin-bottom: .75rem; border: 1px solid #eee; border-radius: 12px; }
.dm-dimg { flex: 0 0 72px; height: 72px; background: #f4f2f0; border-radius: 8px; overflow: hidden; }
.dm-dimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dm-dtxt { flex: 1; min-width: 0; }
.dm-dname { display: block; font-weight: 600; color: #333; text-decoration: none; line-height: 1.3; }
.dm-dchip { display: inline-block; margin-top: .4rem; padding: .2rem .6rem; background: #f4f2f0; border-radius: 999px; font-size: 14px; }
.dm-dbottom { display: flex; align-items: baseline; justify-content: space-between; margin-top: .5rem; color: #666; font-size: 15px; }
.dm-dbottom strong { color: #222; font-size: 18px; }
.dm-drawer-foot { padding: .75rem 1.25rem 0; border-top: 1px solid #eee; }
.dm-drow { display: flex; justify-content: space-between; padding: .35rem 0; }
.dm-dtotal { font-size: 1.25rem; font-weight: 700; }
.dm-drawer-actions { display: flex; gap: .75rem; padding: .75rem 1.25rem 1.25rem; }
.dm-dbtn { flex: 1; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1rem; border: 1px solid var(--dm-primary); border-radius: 8px; background: var(--dm-primary); color: #fff !important; font-family: inherit; font-weight: 500; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; }
.dm-dbtn:hover { filter: brightness(.9); }
.dm-dbtn-ghost { background: #fff; color: #333 !important; border-color: #d9d4cf; }
.dm-noscroll { overflow: hidden; }
@media (max-width: 520px) { .dm-drawer { width: 100%; } .dm-drawer-actions { flex-direction: column-reverse; } }
@media (prefers-reduced-motion: reduce) { .dm-drawer, .dm-drawer-overlay { transition: none; } }
#dm-form .dm-summary td:last-child { white-space: nowrap; padding-left: .75rem; }

/* Zone quantité compacte (téléphones compris) */
#dm-form .dm-qpanel { padding: .75rem; }
#dm-form .dm-qrow { flex-wrap: wrap; gap: .5rem .75rem; }
#dm-form .dm-qcol { flex: 0 0 auto; }
#dm-form .dm-surface input { width: 4.8rem; font-size: 17px; padding: .6rem .4rem .6rem .6rem; }
#dm-form .dm-unit { padding: 0 .65rem 0 .5rem; }
#dm-form .dm-qpanel .dm-qty input { width: 3rem; flex: 0 0 3rem; font-size: 17px; padding: .6rem .2rem; }
#dm-form .dm-qpanel .dm-step { flex: 0 0 2.3rem; font-size: 1.3rem; padding: 0; min-height: 0; }
#dm-form .dm-caps { font-size: 12px; }
#dm-form .dm-extra { padding: .45rem .8rem; font-size: 14px; }
#dm-form .dm-hint { font-size: 13px; }
#dm-form .dm-btn { min-height: 0; }
@media (max-width: 480px) { #dm-form { padding: .85rem; } #dm-form .dm-soit { display: none; } #dm-form .dm-qpanel { padding: .6rem; } }

/* v1.8.2 : boutons − / + toujours visibles (grille à largeur fixe) */
#dm-form .dm-qpanel .dm-qty { display: grid !important; grid-template-columns: 44px 54px 44px; width: 142px !important; min-width: 142px !important; flex: 0 0 142px; overflow: hidden; }
#dm-form .dm-qpanel .dm-qty input { width: 54px !important; min-width: 0; flex: none; }
#dm-form .dm-qpanel .dm-step { display: block; width: 44px !important; min-width: 44px !important; height: auto; flex: none; margin: 0; padding: 0 !important; background: #ebe8e5 !important; color: #2b2b2b !important; opacity: 1 !important; font-size: 22px !important; line-height: 1; text-align: center; text-indent: 0; text-shadow: none; }
#dm-form .dm-qpanel .dm-step:last-child { background: #ebe8e5 !important; color: #2b2b2b !important; }

/* v1.8.3 : volet – boutons de dimensions identiques */
.dm-drawer-actions .dm-dbtn { box-sizing: border-box; flex: 1 1 0; width: 100%; height: 46px; min-height: 46px; margin: 0; padding: 0 1rem; font-size: 15px; line-height: 1; }
@media (max-width: 520px) { .dm-drawer-actions .dm-dbtn { flex: 0 0 46px; } }

/* Proposition bouche-pores dans le volet */
.dm-offer { margin: 14px 0 4px; padding: 14px; background: #f7f5f3; border: 1px solid #e6e1dc; border-radius: 12px; font-size: 14px; line-height: 1.4; color: #333; }
.dm-offer * { box-sizing: border-box; }
.dm-offer .dm-offer-title { margin: 0 0 10px; font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; color: #333; }
.dm-offer-mid { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.dm-offer-img { flex: 0 0 70px; }
.dm-offer-img img { display: block; width: 70px; height: auto; max-height: 100px; object-fit: contain; }
.dm-offer-list { flex: 1; margin: 0; padding: 0; list-style: none; }
.dm-offer-list li { position: relative; margin: 0 0 5px; padding: 0 0 0 22px; font-size: 13px; }
.dm-offer-list li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 3px; background: #4cb86b; color: #fff; font-size: 11px; line-height: 16px; text-align: center; }
.dm-offer .dm-offer-need { margin: 0 0 2px; font-size: 14px; }
.dm-offer .dm-offer-prod { margin: 0; font-size: 14px; font-weight: 600; }
.dm-offer .dm-offer-unit { margin: 2px 0 12px; font-size: 12px; color: #777; }
.dm-offer-actions { display: flex; flex-direction: column; gap: 8px; }
.dm-offer .dm-obtn { box-sizing: border-box; width: 100%; height: 42px; min-height: 42px; margin: 0; padding: 0 12px; border: 1px solid var(--dm-primary); border-radius: 8px; background: var(--dm-primary); color: #fff !important; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none; }
.dm-offer .dm-obtn-ghost { background: #fff; color: #333 !important; border-color: #bbb; }
.dm-offer .dm-obtn:hover { filter: brightness(.92); }
.dm-offer .dm-obtn:disabled { opacity: .6; cursor: default; }

.dm-drawer-body .dm-complete { margin: 18px 0 8px; font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: 0; color: #333; }

/* Offre bouche-pores plus compacte */
.dm-offer { margin: 8px 0 0; padding: 10px 12px; }
.dm-offer .dm-offer-title { margin: 0 0 6px; font-size: 14px; }
.dm-offer-mid { gap: 10px; margin: 0 0 6px; }
.dm-offer-img { flex: 0 0 44px; }
.dm-offer-img img { width: 44px; max-height: 64px; }
.dm-offer-list li { margin: 0; font-size: 12.5px; }
.dm-offer .dm-offer-need { font-size: 13px; }
.dm-offer .dm-offer-prod { font-size: 13px; }
.dm-offer .dm-offer-unit { margin: 1px 0 8px; font-size: 11.5px; }
.dm-offer-actions { gap: 6px; }
.dm-offer .dm-obtn { height: 38px; min-height: 38px; }
.dm-drawer-body .dm-complete { margin: 10px 0 4px; }

/* Tiroir : un seul bouton principal, « Continuer » en lien */
.dm-drawer-actions { flex-direction: column !important; align-items: stretch; gap: 6px; }
.dm-drawer-actions .dm-dbtn { flex: 0 0 46px !important; }
.dm-dlink { align-self: center; padding: 8px 12px; border: 0; background: none; color: #555; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.dm-dlink-s { padding: 0; font-size: 13px; }
.dm-offer-row { display: flex; align-items: center; gap: 10px; }
.dm-offer-row .dm-offer-txt { flex: 1; min-width: 0; }
.dm-offer-row p { margin: 0 !important; }
.dm-offer .dm-offer-need { font-size: 13px; color: #333; }
.dm-offer-row .dm-obtn { width: auto; flex: 0 0 auto; height: 36px; min-height: 36px; padding: 0 16px; background: #fff; color: var(--dm-primary) !important; border: 1.5px solid var(--dm-primary); font-weight: 600; }
.dm-offer-done { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 0; background: #f0f7f2; border-color: #cfe5d6; font-size: 14px; font-weight: 600; }
.dm-offer .dm-offer-title { font-size: 13px; }

/* Bouton fermer : croix centrée ; lien « Continuer » en minuscules */
.dm-drawer-x { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: 0; line-height: 0; }
.dm-drawer-x::before, .dm-drawer-x::after { content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: #333; border-radius: 1px; transform: rotate(45deg); }
.dm-drawer-x::after { transform: rotate(-45deg); }
.dm-dlink { text-transform: none !important; letter-spacing: 0 !important; }

/* v2.0.22 – case « Ajouter 10 % de marge » + icône d'information */
#dm-form .dm-extra-wrap { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 0; }
#dm-form .dm-extra-wrap .dm-extra { margin: 0; flex: 0 1 auto; }
#dm-form .dm-info { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 24px; height: 24px; color: var(--dm-primary); cursor: pointer; outline: 0; }
#dm-form .dm-info:focus-visible { box-shadow: 0 0 0 .2rem var(--dm-ring); border-radius: 50%; }
#dm-form .dm-tip { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 20; width: 230px; max-width: 70vw; padding: 10px 12px; transform: translateX(-50%); background: #222; color: #fff; border-radius: 6px; font-size: 13px; font-weight: 400; line-height: 1.35; text-align: left; text-transform: none; letter-spacing: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .12s; }
#dm-form .dm-tip::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: #222; }
#dm-form .dm-info:hover .dm-tip, #dm-form .dm-info:focus .dm-tip, #dm-form .dm-info.dm-tip-open .dm-tip { opacity: 1; visibility: visible; }

/* v2.0.28 – design de la fiche produit : champs centrés aux dimensions d'origine, case « marge » pleine largeur, textes en 16 px */
#dm-form .dm-qpanel { display: block; text-align: center; background: #f3f4f6; }
#dm-form .dm-qinner { display: block; width: 100%; }
#dm-form .dm-qrow { align-items: flex-start; justify-content: center; }
#dm-form .dm-qcol { text-align: center; }
#dm-form .dm-qcol .dm-caps { display: block; margin: 0 0 .4rem; font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.3; }
#dm-form .dm-soit { align-self: flex-start; margin-top: 2.55rem; font-size: 16px; }
#dm-form .dm-surface input::placeholder { font-size: 11px; color: #777; opacity: 1; text-overflow: ellipsis; }
#dm-form .dm-extra-wrap { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; margin: 1rem 0 0; }
#dm-form .dm-extra-wrap .dm-extra { flex: 1 1 auto; margin: 0; align-items: center; padding: .6rem 1rem; line-height: 1.3; font-size: 16px; }
#dm-form .dm-extra .dm-extra-text { flex: 1; display: block; text-align: center; font-size: 16px; line-height: 1.3; }
#dm-form .dm-extra .dm-check-box { margin: 0; align-self: center; }
#dm-form .dm-unit, #dm-form .dm-stock, #dm-form .dm-summary, #dm-form .dm-summary td, #dm-form .dm-btn { font-size: 16px; }
#dm-form .dm-qpanel .dm-qty, #dm-form .dm-qpanel .dm-step, #dm-form .dm-qpanel .dm-step:last-child { background: #e5e7eb !important; }
#dm-form .dm-calc { margin: .75rem 0 0; font-size: 15px; color: #666; font-style: italic; }
#dm-form .dm-summary.dm-calc-wait { opacity: .45; }
/* Tiroir et panier : fond des blocs identique à la fiche produit */
.dm-offer { background: #f3f4f6; }
.dm-offer-done { background: #f3f4f6; }

/* v2.0.31 – ordinateur : bloc de commande 20 % moins large, centré */
@media (min-width: 850px) { #dm-form { width: 80%; margin-left: auto; margin-right: auto; } }
/* Tiroir : même police que le reste du site (celle de la case « Ajouter 10 % de marge ») */
.dm-drawer-root, .dm-drawer-root :is(h3, h4, p, span, a, strong, button, div, small) { font-family: inherit !important; }

/* v2.0.32 – la ligne surface / quantité occupe la même largeur que la pilule « Ajouter 10 % de marge » (icône exclue) */
#dm-form .dm-qrow { flex-wrap: nowrap; justify-content: space-between; gap: .5rem .75rem; width: calc(100% - 33.6px); margin: 0; }
#dm-form .dm-qcol { flex: 1 1 0; min-width: 0; }
#dm-form .dm-soit { flex: 0 0 auto; }
#dm-form .dm-surface { width: 100%; }
#dm-form .dm-surface input { flex: 1 1 auto; width: 100% !important; min-width: 0; }
#dm-form .dm-surface input::placeholder { font-size: 13px; }
#dm-form .dm-qpanel .dm-qty { width: 100% !important; min-width: 0 !important; flex: 1 1 auto !important; grid-template-columns: 44px minmax(0, 1fr) 44px !important; }
#dm-form .dm-qpanel .dm-qty input { width: 100% !important; min-width: 0; }
