/* Concepto: sitio corporativo limpio donde el latido del logo (línea ECG) guía la portada y los cortes de sección. */
:root {
  --navy: #214181;
  --navy-deep: #14265a;
  --steel: #a4a4a4;
  --ink: #16213b;
  --muted: #55607a;
  --bg: #ffffff;
  --paper: #f3f6fb;
  --surface: #ffffff;
  --line: #dde4f0;
  --on-navy: #ffffff;
  --navy-soft: #e6ecf8;
  --logo-bg: transparent;
  --wa: #1c9c55;
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; padding-inline: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 .95rem var(--font-body); padding: .8rem 1.35rem; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy-solid, var(--navy)); color: var(--btn-ink, #fff); }
:root { --navy-solid: #214181; --btn-ink: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { background: var(--logo-bg); border-radius: 8px; padding: 4px 8px; display: flex; flex: none; }
.brand img { height: 40px; width: auto; display: block; }
.nav { display: flex; gap: .25rem; margin-inline: auto 0; }
.nav a { padding: .5rem .8rem; border-radius: 6px; font-weight: 500; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--ink); background: var(--paper); }
.top .btn { margin-left: .5rem; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; margin-left: auto; }
  .top .btn { margin-left: .5rem; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: .5rem var(--gutter) 1rem; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20,38,90,.1); }
  .top.open .nav { display: flex; }
  .nav a { padding: .9rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* hero */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.eyebrow { font: 600 .78rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 800; }
.hero h1 span { color: #626b7f; }
.hero .lead { margin-top: 1.25rem; font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding: 0; list-style: none; }
.tags li { font-size: .85rem; font-weight: 500; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); }
.stage { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; }
.stage .ring { position: absolute; inset: 0; border-radius: 50%; background: var(--surface); border: 10px solid var(--navy-solid); }
.stage .ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px solid var(--line); }
.stage .dots { position: absolute; inset: 0; }
.stage .photo { position: absolute; inset: 13% 17% 30% 17%; background: #fff; border-radius: 50%; display: grid; place-items: center; overflow: hidden; }
.stage .photo img { width: 88%; height: 88%; object-fit: contain; }
.stage .ecg { position: absolute; left: 22%; right: 22%; bottom: 13%; height: 17%; }
.ecg path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 0; animation: beat 3.2s ease-in-out infinite; }
.stage .ecg path { stroke: var(--navy-solid); }
@keyframes beat { 0% { stroke-dashoffset: 900; } 55%, 100% { stroke-dashoffset: 0; } }
.badge { position: absolute; top: 4%; right: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .8rem; font-size: .8rem; font-weight: 600; box-shadow: 0 8px 24px rgba(20,38,90,.14); }
.badge small { display: block; color: var(--muted); font-weight: 400; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .stage { max-width: 340px; } }

/* secciones */
section { padding-block: clamp(3rem, 7vw, 5rem); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
.head p { color: var(--muted); max-width: 46ch; }

/* catálogo */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.chip { font: 500 .9rem var(--font-body); padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy-solid); border-color: var(--navy-solid); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: 0 14px 32px rgba(20,38,90,.12); transform: translateY(-3px); border-color: var(--navy); }
.card .pic { background: #fff; aspect-ratio: 4/3; display: grid; place-items: center; padding: .75rem; border-bottom: 1px solid var(--line); }
.card .pic img { width: 100%; height: 100%; object-fit: contain; }
.card .body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; min-width: 0; }
.cat { font: 600 .72rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.card h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.card p { font-size: .9rem; color: var(--muted); }
.card .foot { margin-top: auto; padding-top: .75rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.brandname { font-size: .82rem; color: var(--muted); }
.more { margin-top: 1.75rem; text-align: center; }

/* servicios */
.services { background: var(--paper); border-block: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.svc article { background: var(--surface); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; min-width: 0; transition: background .2s; }
.svc article:hover { background: var(--navy-soft); }
.ico { width: 46px; height: 46px; border-radius: 10px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; }
.svc article:hover .ico { background: var(--navy-solid); color: #fff; }
.svc h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
.svc p { font-size: .9rem; color: var(--muted); }

/* proceso */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { border-top: 3px solid var(--navy-solid); padding-top: 1rem; counter-increment: s; }
.steps li::before { content: "Paso " counter(s); font: 600 .75rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.steps h3 { font-size: 1.15rem; margin: .35rem 0 .4rem; font-weight: 700; }
.steps p { color: var(--muted); font-size: .92rem; }

/* contacto */
.cta { background: var(--bg); color: var(--ink); position: relative; overflow: hidden; border-top: 1px solid var(--line); }
:root { --cta-bg: #14265a; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; }
.cta h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); max-width: 22ch; font-weight: 800; }
.cta p { color: var(--muted); margin-top: .6rem; max-width: 50ch; }
.cta .ecg-bg { position: absolute; inset: auto 0 0 0; height: 60px; opacity: .35; }
.cta .ecg-bg path { stroke: var(--steel); animation: none; stroke-width: 3; stroke-dasharray: none; }


/* pie */
footer { background: var(--paper); color: var(--muted); padding-block: 3rem 1.5rem; border-top: 1px solid var(--line); }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
footer .logo { display: inline-flex; background: #fff; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); }
footer .logo img { height: 42px; width: auto; }
footer h4 { color: var(--ink); font: 600 .8rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .9rem; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
footer a:hover { color: var(--navy); text-decoration: underline; }
footer .legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .82rem; color: var(--muted); }
@media (max-width: 720px) { footer .cols { grid-template-columns: 1fr; } }

.float-wa { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: flex; align-items: center; gap: .5rem; background: var(--wa); color: #fff; font-weight: 600; padding: .8rem 1.1rem; border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.float-wa svg { flex: none; }
@media (max-width: 520px) { .float-wa span { display: none; } .float-wa { padding: .9rem; } }
@media (prefers-reduced-motion: reduce) { .ecg path { animation: none; } html { scroll-behavior: auto; } .card, .btn { transition: none; } }

/* tienda */
.nav a[aria-current="page"] { color: var(--navy); background: var(--navy-soft); }
.shop-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 3.5rem); }
.shop-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; max-width: 24ch; }
.shop-hero .lead { margin-top: .9rem; color: var(--muted); max-width: 56ch; }
.shop { padding-block: clamp(1.75rem, 4vw, 3rem); }
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.field.grow { flex: 1 1 260px; }
.field label { font: 600 .75rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { font: 400 .95rem var(--font-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: .65rem .8rem; min-height: 44px; width: 100%; }
.field input:focus, .field select:focus { border-color: var(--navy); }
.count { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.empty { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line); border-radius: 10px; display: grid; gap: .75rem; justify-items: center; }
.empty h3 { font-size: 1.15rem; }
.empty p { color: var(--muted); max-width: 42ch; }

/* detalle de producto */
.card h3 a:hover { color: var(--navy); }
a.pic { cursor: pointer; }
.detail { padding-block: clamp(1.5rem, 4vw, 3rem); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.detail-pic { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; display: grid; place-items: center; }
.detail-pic img { width: 100%; max-height: 520px; object-fit: contain; }
.detail-info { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.detail-info h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
.d-brand { color: var(--muted); }
.d-desc { font-size: 1.1rem; max-width: 52ch; }
.d-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.d-list li { padding-left: 1.5rem; position: relative; color: var(--muted); }
.d-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--navy-solid); }
.detail-info .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
@media (max-width: 760px) { .detail-grid { grid-template-columns: minmax(0, 1fr); } }

/* 404 */
.nf { padding-block: clamp(3rem, 9vw, 6rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.nf h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; max-width: 18ch; }
.nf .lead { margin-top: 1rem; color: var(--muted); max-width: 52ch; font-size: 1.1rem; }
.nf .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.nf-ecg { width: min(320px, 70%); height: 70px; display: block; margin-bottom: 1.5rem; }
.nf-ecg path { fill: none; stroke: var(--navy-solid); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; animation: beat 3.2s ease-in-out infinite; }

/* móvil: tarjetas de producto de a dos */
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .card .body { padding: .8rem; gap: .35rem; }
  .card h3 { font-size: .92rem; }
  .card p, .card .brandname { display: none; }
  .card .foot { justify-content: stretch; }
  .card .foot .btn { width: 100%; }
  .card .pic { padding: .4rem; }
}

/* páginas legales */
.legal-page { padding-block: clamp(2rem, 5vw, 4rem); }
.legal-page .wrap { max-width: 780px; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.legal-page .upd { color: var(--muted); font-size: .9rem; margin: .5rem 0 2rem; }
.legal-page h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal-page p, .legal-page li { color: var(--ink); }
.legal-page ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal-page a { color: var(--navy); text-decoration: underline; }

/* encabezado: buscar, teléfono y lista de cotización */
.top .wrap { gap: 1rem; }
.top-tools { display: flex; align-items: center; gap: .75rem; flex: none; }
.icon-link { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.icon-link:hover { background: var(--navy-soft); color: var(--navy); }
.top-phone { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.quote-btn { position: relative; gap: .45rem; margin-left: 0 !important; }
.quote-count { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #fff; color: var(--navy-solid); font-size: .75rem; font-weight: 700; display: inline-grid; place-items: center; }
@media (max-width: 1100px) { .top-phone { display: none; } }
@media (max-width: 820px) { .top-tools { margin-left: .25rem; gap: .5rem; } .menu-btn { margin-left: auto; } }
@media (max-width: 480px) { .q-label { display: none; } .icon-link { width: 40px; height: 40px; } .brand img { height: 34px; } .top .wrap { gap: .5rem; } }

/* etiqueta en la foto */
.card { position: relative; }
.ribbon { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--navy-solid); color: #fff; font: 600 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 4px; }
.ribbon-lg { top: 16px; left: 16px; font-size: .8rem; }
.card-price { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.card-price.muted { font: 500 .88rem var(--font-body); color: var(--muted); }

/* ficha de producto */
.crumbs a { color: var(--navy); }
.gallery { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.g-main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; aspect-ratio: 1; display: grid; place-items: center; padding: 1.5rem; overflow: hidden; }
.g-main img { width: 100%; height: 100%; object-fit: contain; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.g-prev { left: 10px; } .g-next { right: 10px; }
.g-thumbs { display: flex; gap: .5rem; overflow-x: auto; }
.g-thumbs button { flex: none; width: 72px; height: 72px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.g-thumbs button[aria-current="true"] { border: 2px solid var(--navy-solid); }
.g-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.detail-info h1 { text-transform: none; }
.d-meta { color: var(--muted); font-size: .92rem; }
.d-meta strong { color: var(--ink); font-weight: 600; }
.d-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .75rem; padding-block: .5rem; }
.price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem); color: var(--ink); font-variant-numeric: tabular-nums; }
.price.muted { font-size: 1.5rem; color: var(--navy); }
.price-note { color: var(--muted); font-size: .9rem; }
.stock { font-weight: 600; font-size: .92rem; padding: .45rem .75rem; border-radius: 6px; width: fit-content; }
.stock.ok { background: #e3f4ea; color: #146c3c; }
.stock.out { background: #fbe9e9; color: #9b2222; }
.buy { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); }
.qty button { width: 44px; border: 0; background: var(--surface); color: var(--navy); font-size: 1.3rem; cursor: pointer; }
.qty button:hover { background: var(--paper); }
.qty input { width: 56px; border: 0; border-inline: 1px solid var(--line); text-align: center; font: 600 1rem var(--font-body); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.buy .btn { flex: 1 1 220px; }
.d-wa { color: var(--wa); font-weight: 600; font-size: .95rem; text-decoration: underline; width: fit-content; }
.d-docs h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.d-docs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.d-docs a { color: var(--navy); text-decoration: underline; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.share span:first-child { margin-right: .25rem; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--navy); cursor: pointer; }
.share a:hover, .share button:hover { background: var(--navy-soft); }
.copied { color: #146c3c; font-weight: 600; }
.specs { background: var(--paper); border-block: 1px solid var(--line); }
.specs h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1.5rem; }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem 2.5rem; }
.specs-grid h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.specs-grid ul { margin: 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: .3rem; }
.related .head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

/* panel de cotización */
.q-overlay { position: fixed; inset: 0; background: rgba(12, 20, 48, .45); z-index: 40; }
.q-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); z-index: 41; display: flex; flex-direction: column; box-shadow: -12px 0 32px rgba(20,38,90,.18); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.q-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.q-head h2 { font-size: 1.2rem; }
.q-close { width: 40px; height: 40px; border: 0; background: var(--paper); border-radius: 50%; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
.q-body { flex: 1; overflow-y: auto; padding: .5rem 1.25rem; }
.q-empty { color: var(--muted); padding-block: 2rem; }
.q-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .75rem; align-items: start; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.q-item img { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.q-info { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.q-info strong { font-size: .92rem; line-height: 1.3; }
.q-info small { color: var(--muted); }
.qty-sm { width: fit-content; margin-top: .25rem; }
.qty-sm button { width: 32px; height: 32px; font-size: 1.1rem; }
.qty-sm span { min-width: 36px; display: grid; place-items: center; font-weight: 600; border-inline: 1px solid var(--line); }
.q-remove { border: 0; background: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; width: 32px; height: 32px; }
.q-foot { padding: 1rem 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.q-total { color: var(--muted); font-size: .92rem; display: flex; justify-content: space-between; gap: .5rem; }
.q-total strong { color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .card-price { font-size: .95rem; } .card .foot .btn { font-size: .85rem; } }
