/* ============================================================
   MG — Page Configurateur (Portail coulissant) — système V1
   S'appuie sur styles.css + sections.css.
   ============================================================ */

/* prevent the off-canvas mobile drawer (translateX 100%) from creating a
   horizontal scroll / page overflow at tablet & mobile widths */
body { overflow-x: clip; }

/* ---------- Breadcrumb ---------- */
.crumb { background: var(--surface); border-bottom: 1px solid var(--line); }
.crumb .wrap { display: flex; align-items: center; gap: .55rem; padding-block: .9rem; font-size: .86rem; color: var(--muted); flex-wrap: wrap; }
.crumb a:hover { color: var(--accent); }
.crumb .sep { color: var(--line-2); }
.crumb .here { color: var(--text); font-weight: 600; }

/* ---------- Layout ---------- */
.cfg { background: var(--paper); }
.cfg .wrap { padding-block: clamp(1.5rem, 3vw, 2.6rem); }
.cfg-grid { display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); align-items: start; }
@media (min-width: 1000px) { .cfg-grid { grid-template-columns: 1fr 1fr; } }

/* both columns must be allowed to shrink so inner scroll-rails don't blow out the grid */
.preview, .cfg-steps { min-width: 0; }
.cfg-steps .step-block, .cfg-steps .step-body { min-width: 0; }

/* sticky preview */
.preview { position: static; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 1000px) { .preview { position: sticky; top: 92px; } }

.pv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.pv-head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; background: var(--teal); color: #fff; }
.pv-head .mat { font-family: var(--font-head); font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.16); padding: .35em .6em; border-radius: 5px; }
.pv-head .pv-name { font-weight: 600; font-size: .95rem; }
.pv-head .pv-color { margin-left: auto; display: inline-flex; align-items: center; gap: .45em; font-size: .85rem; color: rgba(255,255,255,.88); }
.pv-head .pv-color .dot { width: 16px; height: 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.5); }
.pv-img { position: relative; aspect-ratio: 16/10; }
.pv-img .ph { width: 100%; height: 100%; }
.pv-img .city { position: absolute; top: .9rem; left: .9rem; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .4em .7em; border-radius: 6px; }
.view-toggle { display: inline-flex; gap: 2px; padding: 3px; background: var(--surface-2, #f4f6f8); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.view-toggle-row { display: flex; justify-content: center; margin-top: .85rem; }
.view-toggle button { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .01em; padding: .42em .85em; border-radius: 999px; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.view-toggle button[aria-pressed="true"] { background: var(--teal); color: #fff; }

.doc-row { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.doc-row:hover { border-color: var(--line-2); }
.doc-row .di { width: 42px; height: 42px; border-radius: 9px; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); flex: none; }
.doc-row .di svg { width: 21px; height: 21px; }
.doc-row .dt { font-weight: 700; font-size: .94rem; }
.doc-row .dd { font-size: .8rem; color: var(--muted); }
.doc-row .dl { margin-left: auto; color: var(--accent); }
.doc-row .dl svg { width: 20px; height: 20px; }

.gtt { background: var(--teal); color: #fff; border-radius: var(--r-lg); padding: 1.1rem 1.2rem 1.3rem; }
.gtt h4 { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.gtt h4 svg { width: 18px; height: 18px; color: var(--brand); }
.gtt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1rem; background: rgba(255,255,255,.12); border-radius: var(--r); overflow: hidden; }
.gtt-item { background: var(--teal); padding: 1rem .9rem; }
.gtt-item .gt { font-weight: 700; font-size: .92rem; }
.gtt-item .gd { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: .15rem; }
@media (max-width: 460px) { .gtt-grid { grid-template-columns: 1fr; } }

/* ---------- Step header / product title ---------- */
.cfg-title { margin-bottom: 1.2rem; }
.cfg-title .pt-city { font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.cfg-title .pt-sub { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }

/* ---------- Steps accordion ---------- */
.step-block { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); margin-bottom: 1rem; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.step-block.active { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.step-head { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; width: 100%; text-align: left; }
.step-head .sn { width: 38px; height: 38px; border-radius: 999px; background: var(--surface-2); color: var(--muted-2); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); flex: none; transition: all .15s; }
.step-block.active .step-head .sn { background: var(--teal); color: #fff; }
.step-block.done .step-head .sn { background: var(--accent); color: #fff; }
.step-head .stt { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.step-head .st { font-family: var(--font-head); font-weight: 800; font-size: .98rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.15; }
.step-head .sub { font-size: .84rem; color: var(--muted); line-height: 1.3; }
.step-head .chev { margin-left: auto; width: 26px; height: 26px; color: var(--muted); transition: transform .25s; flex: none; }
.step-block.active .step-head .chev { transform: rotate(180deg); color: var(--teal); }
.step-body { padding: 0 1.3rem 1.4rem; display: none; }
.step-block.active .step-body { display: block; }
.field-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 1.2rem 0 .7rem; display: flex; align-items: baseline; gap: .5em; }
.field-label:first-child { margin-top: 0; }
.field-label .fn { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted-2); font-size: .82rem; }

/* info banner */
.cfg-note { display: flex; gap: .7rem; align-items: flex-start; background: var(--accent-050); border: 1px solid color-mix(in oklab, var(--accent), transparent 80%); border-radius: var(--r); padding: .9rem 1rem; font-size: .9rem; color: var(--accent-700); line-height: 1.45; }
.cfg-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* ---------- Option cards (generic selectable) ---------- */
.opt-grid { display: grid; gap: .7rem; }
.opt-2 { grid-template-columns: repeat(2, 1fr); }
.opt-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .opt-3 { grid-template-columns: 1fr 1fr; } .opt-2 { grid-template-columns: 1fr; } }
.ocard { position: relative; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--surface); padding: 1rem 1.05rem; text-align: left; transition: all .15s; cursor: pointer; display: flex; flex-direction: column; gap: .15rem; min-height: 64px; }
.ocard:hover { border-color: var(--teal-700); }
.ocard[aria-pressed="true"] { border-color: var(--teal); background: color-mix(in oklab, var(--teal), transparent 95%); box-shadow: inset 0 0 0 1px var(--teal); }
.ocard .oc-check { position: absolute; top: .7rem; right: .7rem; width: 22px; height: 22px; border-radius: 999px; background: var(--teal); color: #fff; display: none; place-items: center; }
.ocard .oc-check svg { width: 14px; height: 14px; }
.ocard[aria-pressed="true"] .oc-check { display: grid; }
.ocard .oc-row { display: flex; align-items: center; gap: .55rem; }
.ocard .oc-ic { width: 26px; height: 26px; color: var(--accent); flex: none; }
.ocard .oc-ic img { width: 100%; }
.ocard .oc-t { font-weight: 700; font-size: .98rem; padding-right: 1.6rem; }
.ocard .oc-d { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.ocard .oc-p { font-size: .9rem; font-weight: 800; color: #1f8a4c; margin-top: .25rem; font-family: var(--font-head); }
.ocard .oc-p.free { color: var(--muted); }
.ocard .oc-p .was { text-decoration: line-through; color: var(--muted-2); font-weight: 600; margin-right: .35em; }
.ocard .brandtag { font-family: var(--font-head); font-weight: 800; font-size: .68rem; letter-spacing: .04em; background: var(--teal); color: #fff; padding: .25em .5em; border-radius: 4px; }

/* ---------- Dimensions ---------- */
.dim { display: grid; grid-template-columns: 110px 1fr 56px; align-items: stretch; border: 1.5px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.dim:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 86%); }
.dim .dk { background: var(--surface-2); display: flex; align-items: center; padding: 0 1rem; font-weight: 700; font-size: .95rem; border-right: 1px solid var(--line); }
.dim input { border: 0; padding: .95em 1rem; font-size: 1.05rem; font-weight: 300; outline: none; width: 100%; -moz-appearance: textfield; }
.dim input::placeholder { font-weight: 300; color: var(--muted-2); }
.dim input::-webkit-outer-spin-button, .dim input::-webkit-inner-spin-button { -webkit-appearance: none; }
.dim .du { display: flex; align-items: center; justify-content: center; background: var(--surface-2); border-left: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: .9rem; }
.dim-hint { font-size: .8rem; color: var(--muted); margin: .5rem 0 1.1rem; line-height: 1.4; }
.dim-hint.err { color: var(--brand); font-weight: 600; }

/* ---------- Quantity stepper (télécommandes) ---------- */
.qty-row { display: flex; align-items: center; gap: .9rem; margin-top: .9rem; }
.qty-row[hidden] { display: none; }
.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.qty-stepper button { width: 44px; height: 44px; font-size: 1.4rem; font-weight: 700; color: var(--teal); display: grid; place-items: center; transition: background .14s; }
.qty-stepper button:hover { background: var(--surface-2); }
.qty-stepper button:active { background: var(--line); }
.qty-stepper .qv { min-width: 48px; text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; border-left: 1.5px solid var(--line-2); border-right: 1.5px solid var(--line-2); height: 44px; display: grid; place-items: center; }
.qty-label { font-size: .92rem; color: var(--muted); font-weight: 600; }

/* ---------- RAL colors ---------- */
.ral-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem .6rem; }
.ral-group-h { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .6rem; margin-top: 1.1rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.ral-group-h:first-child { margin-top: 0; }
.ral-group-h .rgh-t { font-family: var(--font-head); font-weight: 800; font-size: .92rem; letter-spacing: .005em; }
.ral-group-h .rgh-n { font-size: .74rem; color: var(--muted); font-weight: 600; }
@media (max-width: 520px) { .ral-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 380px) { .ral-grid { grid-template-columns: repeat(3, 1fr); } }
.ral { display: flex; flex-direction: column; align-items: center; gap: .4rem; cursor: pointer; background: none; }
.ral .sw { width: 100%; aspect-ratio: 1.7 / 1; max-width: none; border-radius: 8px; border: 2px solid rgba(0,0,0,.12); position: relative; transition: transform .12s; display: grid; place-items: center; }
.ral:hover .sw { transform: translateY(-2px); }
.ral[aria-pressed="true"] .sw { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--teal); }
.ral .sw .ck { width: 22px; height: 22px; color: #fff; opacity: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.ral[aria-pressed="true"] .sw .ck { opacity: 1; }
.ral .nm { font-size: .74rem; font-weight: 600; text-align: center; line-height: 1.15; }
.ral .rc { display: block; font-size: .7rem; color: var(--muted); font-weight: 400; }
.ral .plus { display: block; font-size: .72rem; font-weight: 800; color: var(--brand); font-family: var(--font-head); }
.ral-foot { font-size: .82rem; color: var(--muted); margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* ---- Accordéon couleurs (un seul groupe ouvert) ---- */
.ral-acc-wrap { display: block; }
.ral-acc { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .55rem; overflow: hidden; background: var(--surface); }
.ral-acc-head { width: 100%; display: flex; align-items: baseline; gap: .6rem; padding: .9rem 1rem; background: none; border: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.ral-acc-head:hover { background: rgba(0,0,0,.025); }
.ral-acc-head .rgh-t { font-family: var(--font-head); font-weight: 800; font-size: .92rem; letter-spacing: .005em; }
.ral-acc-head .rgh-n { font-size: .74rem; color: var(--muted); font-weight: 600; }
.ral-acc-head .chev { margin-left: auto; align-self: center; width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform .25s ease; }
.ral-acc.open .ral-acc-head .chev { transform: rotate(180deg); }
.ral-acc-panel { display: none; padding: .2rem 1rem 1.1rem; }
.ral-acc.open .ral-acc-panel { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem .6rem; }
@media (max-width: 520px) { .ral-acc.open .ral-acc-panel { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 380px) { .ral-acc.open .ral-acc-panel { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Step nav ---------- */
.step-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.step-nav .btn-prev { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); }
.step-nav .btn-prev:hover { background: var(--surface); border-color: var(--text); }
/* Mobile : boutons côte à côte mais compactés pour ne pas déborder */
@media (max-width: 560px) {
  .step-nav { gap: .5rem; }
  .step-nav > .btn { flex: 1 1 0; min-width: 0; padding: .9em .6em; font-size: .82rem; white-space: normal; text-align: center; line-height: 1.15; }
  .step-nav > span:empty { display: none; }
}

/* model carousel */
.model-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.mtab { padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: .9rem; color: var(--muted); transition: all .14s; }
.mtab:hover { border-color: var(--teal-700); color: var(--text); }
.mtab[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.model-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(216px, 1fr); gap: .9rem; overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: .6rem; scroll-snap-type: x mandatory; scrollbar-width: thin; width: 100%; max-width: 100%; }
@media (min-width: 620px) { .model-rail { grid-auto-columns: minmax(252px, 1fr); } }
.mcard { scroll-snap-align: start; border: 1.5px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--surface); cursor: pointer; transition: all .15s; text-align: center; position: relative; }
.mcard:hover { border-color: var(--teal-700); }
.mcard[aria-pressed="true"] { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.mcard .mc-check { position: absolute; top: .55rem; left: .55rem; width: 22px; height: 22px; border-radius: 999px; background: var(--teal); color: #fff; display: none; place-items: center; z-index: 2; }
.mcard .mc-check svg { width: 14px; height: 14px; }
.mcard[aria-pressed="true"] .mc-check { display: grid; }
.mcard .mc-img { display: block; aspect-ratio: 16 / 10; }
.mcard .mc-img .ph { width: 100%; height: 100%; }

/* ---------- Mobile model picker (≤768px) ---------- */
.model-mob { display: none; }
@media (max-width: 768px) {
  .model-mob { display: block; margin-top: 1rem; }
  /* model selection moves under the image — hide the in-step version */
  .cfg-steps .model-tabs, .cfg-steps .model-rail { display: none; }
  /* keep the preview image pinned while the drawer is open */
  .preview.mob-open .pv-card { position: sticky; top: 70px; z-index: 6; box-shadow: var(--shadow); }
}
.model-mob-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: .9rem 1.1rem; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--surface); font-size: .98rem; font-weight: 600; text-align: left; }
.model-mob-bar:hover { border-color: var(--teal-700); }
.model-mob-bar .mmb-label strong { font-family: var(--font-head); font-weight: 800; }
.model-mob-bar .mmb-cta { display: inline-flex; align-items: center; gap: .3em; color: var(--accent-700); font-weight: 700; font-size: .9rem; flex: none; }
.model-mob-bar .mmb-cta svg { width: 15px; height: 15px; }
.model-mob-drawer { margin-top: .8rem; border: 1.5px solid var(--teal); border-radius: var(--r); background: var(--surface); padding: 1rem; box-shadow: var(--shadow); }
.model-mob-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.model-mob-head strong { font-family: var(--font-head); font-size: 1rem; }
.btn-mob-close { display: inline-flex; align-items: center; gap: .35em; background: var(--teal); color: #fff; font-weight: 700; padding: .55em .95em; border-radius: var(--r-sm); font-size: .9rem; }
.btn-mob-close:hover { background: var(--teal-900); }
.btn-mob-close svg { width: 15px; height: 15px; }
/* once moved into the drawer slot, the rail/tabs are outside .cfg-steps so they show again */
[data-mob-rail-slot] .model-tabs { display: flex; }
[data-mob-rail-slot] .model-rail { display: grid; }
.mcard .mc-body { padding: .8rem .7rem 1rem; }
.mcard .mc-style { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.mcard .mc-name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; margin-top: .15rem; }
.mcard .mc-price { font-weight: 800; font-size: .95rem; color: var(--text); margin-top: .4rem; font-family: var(--font-head); }
.mcard .mc-price .was { display: block; font-size: .76rem; font-weight: 600; color: var(--muted-2); text-decoration: line-through; }

/* ---------- Sticky config bar ---------- */
.cfg-bar { position: sticky; bottom: 0; z-index: 50; background: var(--teal-900); color: #fff; box-shadow: 0 -10px 30px rgba(10,30,40,.18); }
.cfg-bar .wrap { display: flex; align-items: center; gap: 1.2rem; padding-block: .85rem; }
.cfg-bar .trust { display: none; align-items: center; gap: 1.4rem; font-size: .85rem; color: rgba(255,255,255,.85); }
@media (min-width: 980px) { .cfg-bar .trust { display: flex; } }
.cfg-bar .trust span { display: inline-flex; align-items: center; gap: .45em; }
.cfg-bar .trust svg { width: 16px; height: 16px; color: #6fcf97; }
.cfg-bar .recap { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.cfg-bar .recap .lbl { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); text-align: right; }
.cfg-bar .recap .disc { background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8rem; padding: .25em .5em; border-radius: 5px; }
.cfg-bar .recap .was { text-decoration: line-through; color: rgba(255,255,255,.55); font-size: .92rem; white-space: nowrap; }
.cfg-bar .recap .now { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1; white-space: nowrap; }
.cfg-bar .add { white-space: nowrap; }
@media (max-width: 620px) { .cfg-bar .recap { gap: .6rem; } .cfg-bar .recap .lbl { display: none; } .cfg-bar .recap .was { display: none; } .cfg-bar .add { padding: .85em 1em; font-size: .92rem; } .cfg-bar .wrap { gap: .7rem; } }

/* ---------- Cart modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(10,30,40,.55); backdrop-filter: blur(3px); z-index: 100; display: grid; place-items: center; padding: 1.2rem; opacity: 0; visibility: hidden; transition: opacity .2s; }
.modal-back.open { opacity: 1; visibility: visible; }
.modal { background: var(--surface); border-radius: var(--r-lg); width: min(440px, 100%); box-shadow: var(--shadow-lg); transform: translateY(12px) scale(.98); transition: transform .2s; overflow: hidden; }
.modal-back.open .modal { transform: none; }
.modal-head { display: flex; align-items: center; gap: .6rem; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-family: var(--font-head); font-size: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.modal-head h3 svg { width: 22px; height: 22px; color: var(--teal); }
.modal-head .x { margin-left: auto; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.modal-head .x:hover { background: var(--surface-2); }
.modal-body { padding: 1.3rem 1.4rem; }
.recap-tbl { display: grid; gap: .55rem; }
.recap-tbl .rr { display: flex; justify-content: space-between; gap: 1rem; font-size: .94rem; }
.recap-tbl .rr .k { color: var(--muted); }
.recap-tbl .rr .v { font-weight: 600; text-align: right; }
.recap-tbl .rr.tot { border-top: 1px solid var(--line); padding-top: .7rem; margin-top: .3rem; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.price-box { background: var(--surface-2); border-radius: var(--r); padding: 1.1rem; text-align: center; margin: 1.1rem 0; }
.price-box .was { text-decoration: line-through; color: var(--muted-2); font-size: 1rem; }
.price-box .now { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--teal); line-height: 1; margin-top: .2rem; display: inline-flex; align-items: center; gap: .5rem; }
.price-box .now .disc { font-size: .82rem; background: var(--brand); color: #fff; padding: .25em .5em; border-radius: 5px; }
.price-box .meta { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.modal-foot { display: grid; gap: .6rem; }
.modal-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: .9rem; display: flex; align-items: center; justify-content: center; gap: .5em; }
.modal-note svg { width: 14px; height: 14px; }

/* ---------- Product tabs (below) ---------- */
.ptabs { border-bottom: 1px solid var(--line); display: flex; gap: 2rem; }
.ptab { padding: 1.1rem 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--muted); position: relative; }
.ptab[aria-selected="true"] { color: var(--text); }
.ptab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; background: var(--teal); border-radius: 2px; }
.ppanel { display: none; padding-top: 2.2rem; }
.ppanel.active { display: block; }
.desc-grid { display: grid; gap: 2.4rem; }
@media (min-width: 900px) { .desc-grid { grid-template-columns: 1.4fr .9fr; } }
.desc-body h3 { font-family: var(--font-head); font-size: clamp(1.4rem,3vw,2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 1rem; }
.desc-body p { color: var(--muted); margin-bottom: 1rem; line-height: 1.7; }
.desc-side { display: grid; gap: 1.2rem; align-content: start; }
.kbox { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.4rem; }
.kbox h4 { font-family: var(--font-head); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.kbox ul { display: grid; gap: .6rem; }
.kbox li { display: flex; gap: .6rem; font-size: .94rem; }
.kbox li svg { width: 18px; height: 18px; color: #1f8a4c; flex: none; margin-top: 2px; }
.kbox.delay p { font-size: .94rem; color: var(--muted); margin: 0; line-height: 1.7; }
.kbox.delay b { color: var(--text); }

.spec-cols { display: grid; gap: 2rem; }
@media (min-width: 860px) { .spec-cols { grid-template-columns: 1.3fr .7fr; } }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spec { background: var(--surface); padding: 1rem 1.1rem; }
.spec .sk { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.spec .sv { font-weight: 700; font-size: .96rem; margin-top: .2rem; }
.spec-h { font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.infos li { display: flex; gap: .5rem; font-size: .92rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); line-height: 1.5; }
.infos li b { color: var(--text); }
.certs-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.cbadge { background: var(--accent-050); color: var(--accent-700); font-weight: 700; font-size: .8rem; padding: .4em .8em; border-radius: 6px; }
