/* DasoTecno — estilos. Colores sacados del logo: azul marino #223040 y azul #0b7fe0. */
:root {
  --navy: #223040;
  --navy-2: #1a2531;
  --ink: #1c2632;
  --muted: #5d6877;
  --soft: #f2f5f8;
  --soft-2: #e9eef3;
  --line: #e1e6ec;
  --blue: #0b7adb;
  --blue-d: #0864b5;
  --blue-l: #e8f2fc;
  --wa: #1c9d50;
  --wa-d: #158443;
  --white: #fff;
  --r: 12px;
  --r-lg: 16px;
  --wrap: 1240px;
  --pad: 16px;
  --hd: 'Outfit', system-ui, sans-serif;
  --bd: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 1px 2px rgba(20, 32, 46, .06), 0 6px 20px rgba(20, 32, 46, .06);
}
@media (min-width: 700px) { :root { --pad: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; font: 400 16px/1.55 var(--bd); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 20px; height: 20px; flex: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.h1 { font: 600 clamp(28px, 4vw, 40px)/1.1 var(--hd); letter-spacing: -.01em; }
.h2 { font: 600 clamp(22px, 2.6vw, 30px)/1.15 var(--hd); letter-spacing: -.005em; }
.h3 { font: 600 19px/1.25 var(--hd); }
.lead { font-size: 18px; color: var(--muted); }
.eyebrow { font-weight: 600; color: var(--blue-d); font-size: 15px; margin-bottom: 10px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link svg { width: 18px; height: 18px; }
.link:hover { text-decoration: underline; }

/* ---------- botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 10px; border: 1.5px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1.2; transition: background-color .15s, border-color .15s, color .15s; }
.btn-lg { min-height: 52px; padding: 12px 22px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); }
.btn-wa-outline { background: #fff; color: var(--wa-d); border-color: #a9dcbd; }
.btn-wa-outline:hover { border-color: var(--wa); background: #f2fbf5; }
.btn svg { width: 20px; height: 20px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; color: var(--ink); }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 24px; height: 24px; }

/* ---------- cabecera */
.topbar { display: none; background: var(--navy); color: #d6dde6; font-size: 13.5px; }
.topbar-in { display: flex; gap: 28px; justify-content: flex-end; align-items: center; min-height: 36px; }
.topbar-in > * { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar-in a:hover { color: #fff; }
.topbar svg { width: 16px; height: 16px; opacity: .8; }
.topbar-in > span:first-child { margin-right: auto; }

.header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu logo lista" "search search search"; align-items: center; column-gap: 6px; row-gap: 10px; padding-top: 8px; padding-bottom: 10px; }
.menu-btn { grid-area: menu; margin-left: -10px; }
.logo { grid-area: logo; display: block; width: 150px; }
.logo img { width: 100%; height: auto; }
.search { grid-area: search; display: flex; align-items: center; background: var(--soft); border: 1.5px solid var(--soft); border-radius: 10px; transition: border-color .15s, background-color .15s; }
.search:focus-within { border-color: var(--blue); background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 4px 11px 14px; font-size: 16px; outline: none; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search button { display: grid; place-items: center; width: 46px; height: 44px; border: 0; background: transparent; color: var(--muted); border-radius: 10px; }
.search button:hover { color: var(--blue-d); }
.lista-btn { grid-area: lista; position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border: 0; background: transparent; border-radius: 10px; font-weight: 600; color: var(--ink); margin-right: -8px; }
.lista-btn:hover { background: var(--soft); }
.lista-btn svg { width: 24px; height: 24px; }
.lista-txt { display: none; }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; line-height: 1; }
.lista-btn .badge { position: absolute; top: 2px; right: 0; }
.header-wa { display: none; }

.nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.nav.open { display: block; max-height: calc(100vh - 120px); overflow: auto; }
.nav ul { padding: 6px 0 12px; }
.nav a { display: block; padding: 12px 2px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--soft-2); }
.nav li:last-child a { border-bottom: 0; }
.nav a[aria-current] { color: var(--blue-d); }
.nav .nav-tinta { color: var(--blue-d); font-weight: 600; }

@media (min-width: 640px) {
  .logo { width: 168px; }
  .lista-txt { display: inline; }
  .lista-btn .badge { position: static; }
}
@media (min-width: 960px) {
  .topbar { display: block; }
  .header-in { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "logo search lista wa"; column-gap: 20px; padding-top: 14px; padding-bottom: 14px; }
  .menu-btn { display: none; }
  .logo { width: 190px; }
  .search { max-width: 620px; justify-self: center; width: 100%; }
  .lista-btn { margin-right: 0; padding: 0 12px; }
  .header-wa { display: inline-flex; grid-area: wa; min-height: 44px; }
  .nav { display: block; }
  .nav ul { display: flex; gap: 2px; padding: 0; overflow-x: auto; scrollbar-width: none; }
  .nav li { flex: none; }
  .nav a { padding: 11px 11px; border: 0; font-size: 15px; border-bottom: 2px solid transparent; }
  .nav li:first-child a { padding-left: 0; }
  .nav a:hover { color: var(--blue-d); }
  .nav a[aria-current] { border-bottom-color: var(--blue); }
  .nav li:last-child { margin-left: auto; }
}

/* ---------- barra inferior en móvil */
.mbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
.mbar > * { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 10px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.mbar svg { width: 21px; height: 21px; }
.mbar .mbar-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .mbar { display: none; } body { padding-bottom: 0; } }

/* ---------- secciones */
.sec { padding: 48px 0; }
.sec-tight { padding-top: 32px; }
.sec-soft { background: var(--soft); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-sub { color: var(--muted); margin-top: 6px; max-width: 60ch; }
@media (min-width: 960px) { .sec { padding: 72px 0; } .sec-tight { padding-top: 48px; } }

/* ---------- portada */
.hero { background: linear-gradient(180deg, #f5f8fb 0%, #fff 100%); border-bottom: 1px solid var(--soft-2); }
.hero-in { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 36px; }
.hero h1 { font: 600 clamp(30px, 6.4vw, 52px)/1.06 var(--hd); letter-spacing: -.015em; max-width: 15ch; color: var(--navy); }
.hero .lead { margin-top: 14px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-cta .btn svg { width: 20px; height: 20px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--blue-d); }
.hero-vis { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 3 / 2; }
.hv { display: flex; flex-direction: column; min-height: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--ink); text-decoration: none; }
.hv img { flex: 1; min-height: 0; width: 100%; object-fit: contain; padding: 8% 8% 2%; }
.hv-big { grid-row: span 2; }
.hv span { flex: none; padding: 0 12px 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); line-height: 1.25; display: none; }
.hv:hover { border-color: #c7d2de; }
@media (min-width: 560px) { .hv span { display: block; } }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; padding-top: 56px; padding-bottom: 64px; }
  .hero-vis { gap: 14px; }
}

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { display: flex; flex-direction: column; background: var(--soft); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); overflow: hidden; border: 1px solid transparent; transition: border-color .15s; }
.tile:hover { border-color: #c7d2de; }
.tile-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8% 14% 0; }
.tile-txt { display: flex; flex-direction: column; padding: 10px 14px 14px; gap: 2px; }
.tile-txt b { font: 600 16px/1.2 var(--hd); }
.tile-txt small { color: var(--muted); font-size: 13.5px; }
.tile-equipos { background: var(--navy); color: #fff; justify-content: flex-end; min-height: 170px; }
.tile-equipos .tile-txt { padding: 16px; }
.tile-equipos b { font-size: 19px; }
.tile-equipos small { color: #c3cdd9; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .tile-txt b { font-size: 17px; } }

/* ---------- tarjetas de producto */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #c9d3de; box-shadow: var(--shadow); }
.card-img { display: block; background: var(--soft); aspect-ratio: 1; }
.card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 7%; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 6px; flex: 1; }
.card-brand { font-size: 13px; color: var(--muted); }
.card-name { font: 600 15px/1.3 var(--bd); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-name a { color: var(--ink); text-decoration: none; }
.card-name a::after { content: ''; position: absolute; inset: 0; }
.card-name a:hover { color: var(--blue-d); }
.card-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 2px; }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px 12px; }
.card-price { font-size: 13px; color: var(--muted); }
.btn-add { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 38px; padding: 6px 12px 6px 9px; border-radius: 9px; border: 1.5px solid #b9d5f1; background: #fff; color: var(--blue-d); font-weight: 600; font-size: 14px; }
.btn-add svg { width: 18px; height: 18px; }
.btn-add:hover { border-color: var(--blue); background: var(--blue-l); }
.btn-add.in { background: var(--blue-l); border-color: var(--blue-l); }
@media (max-width: 559px) {
  .card-body { padding: 10px 10px 4px; }
  .card-name { font-size: 14.5px; }
  .card-foot { padding: 4px 10px 10px; }
  .card-price { display: none; }
  .btn-add { width: 100%; }
}

/* ---------- buscador de tinta */
.finder { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 18px; display: grid; gap: 18px; }
.finder-head p { color: var(--muted); margin-top: 8px; max-width: 52ch; }
.finder-form { display: flex; gap: 8px; flex-wrap: wrap; align-self: center; }
.finder-form input { flex: 1 1 200px; min-width: 0; min-height: 52px; padding: 10px 16px; border: 1.5px solid #cdd6e0; border-radius: 10px; font-size: 18px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.finder-form input::placeholder { text-transform: none; font-weight: 400; letter-spacing: 0; color: #8a95a3; font-size: 16px; }
.finder-form input:focus { border-color: var(--blue); outline: none; }
.finder-form .btn { min-height: 52px; flex: 0 0 auto; }
.finder-out { grid-column: 1 / -1; }
.finder-out:empty { display: none; }
.fo-tit { font: 600 18px/1.3 var(--hd); margin-bottom: 4px; }
.fo-sub { color: var(--muted); margin-bottom: 14px; }
.fo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .fo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fo-item { display: flex; flex-direction: column; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); }
.fo-item img { aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.fo-item span { background: #fff; display: flex; align-items: center; gap: 7px; padding: 10px 12px; font-weight: 600; font-size: 14.5px; }
.fo-item:hover { border-color: #c9d3de; }
.fo-acc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.fo-otras { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.fo-otras p { color: var(--muted); font-size: 15px; }
.fo-otras .chips { margin-top: 8px; }
@media (min-width: 900px) {
  .finder { grid-template-columns: 1fr 1fr; padding: 32px; gap: 24px 40px; align-items: center; }
}

/* ---------- computadoras */
.sec-navy { background: var(--navy); color: #fff; }
.sec-navy .eyebrow { color: #7cc0ff; }
.equipos { display: grid; gap: 28px; }
.equipos-txt p { color: #c9d3de; margin-top: 12px; max-width: 52ch; }
.equipos-txt .h2 { max-width: 22ch; }
.equipos-form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 16px; align-self: start; }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; place-items: center; min-height: 44px; padding: 6px; text-align: center; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; }
.seg input:checked + span { border-color: var(--blue); background: var(--blue-l); color: var(--blue-d); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label, .drawer-foot label { font-weight: 600; font-size: 15px; }
.field label span, .drawer-foot label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .drawer-foot input, .drawer-foot textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #cdd6e0; border-radius: 10px; background: #fff; font-size: 16px; }
.field input:focus, .field select:focus, .drawer-foot input:focus, .drawer-foot textarea:focus { border-color: var(--blue); outline: none; }
@media (min-width: 900px) { .equipos { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } .equipos-form { padding: 28px; } }

/* ---------- pasos, marcas, contacto */
.pasos { counter-reset: p; display: grid; gap: 14px; margin-top: 22px; }
.pasos li { counter-increment: p; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.pasos li::before { content: counter(p); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-l); color: var(--blue-d); font: 700 17px var(--hd); margin-bottom: 12px; }
.pasos b { font: 600 18px var(--hd); }
.pasos p { color: var(--muted); margin-top: 6px; }
@media (min-width: 800px) { .pasos { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.marcas { text-align: center; }
.marcas p { margin-top: 10px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.sec-contacto { border-top: 1px solid var(--line); }
.contacto { display: grid; gap: 28px; }
.contacto .lead { margin: 12px 0 22px; max-width: 46ch; }
.datos { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.datos > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); align-items: center; }
.datos > div:last-child { border-bottom: 0; }
.datos dt { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 15px; }
.datos dt svg { color: var(--blue-d); width: 19px; height: 19px; }
.datos dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.datos a { color: var(--ink); }
@media (max-width: 420px) { .datos > div { grid-template-columns: 1fr; gap: 2px; } }
@media (min-width: 900px) { .contacto { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }

/* ---------- pie */
.footer { background: var(--navy-2); color: #b9c4d0; padding: 48px 0 24px; font-size: 15px; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { width: 180px; margin-bottom: 14px; }
.footer-brand p { max-width: 36ch; }
.footer h2 { font: 600 16px var(--hd); color: #fff; margin-bottom: 12px; }
.footer li { margin: 7px 0; }
.footer a { color: #d9e0e8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; color: #7cc0ff; }
.footer-legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13.5px; color: #8e9bab; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ---------- lista (cajón) */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-bg { position: absolute; inset: 0; background: rgba(16, 24, 34, .45); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0, 0, 0, .12); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font: 600 19px var(--hd); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-empty { color: var(--muted); padding: 24px 0; }
.lista-items li { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--soft-2); }
.lista-items img { width: 60px; height: 60px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.lista-items a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.3; display: block; }
.lista-items .li-acc { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.lista-items .quitar { border: 0; background: none; color: var(--muted); font-size: 13.5px; text-decoration: underline; padding: 4px 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #cdd6e0; border-radius: 10px; overflow: hidden; background: #fff; }
.qty button { width: 38px; height: 40px; border: 0; background: transparent; font-size: 20px; line-height: 1; color: var(--ink); }
.qty button:hover { background: var(--soft); }
.qty input { width: 40px; height: 40px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm button { width: 32px; height: 34px; font-size: 18px; }
.qty-sm input { width: 32px; height: 34px; font-size: 14.5px; }
.drawer-foot { display: grid; gap: 6px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fbfcfd; }
.drawer-foot textarea { min-height: 60px; resize: vertical; }
.drawer-foot .btn { margin-top: 8px; }
.drawer-note { font-size: 13px; color: var(--muted); margin-top: 4px; }
body.no-scroll { overflow: hidden; }

.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--navy); color: #fff; padding: 11px 16px; border-radius: 10px; font-size: 15px; font-weight: 500; box-shadow: var(--shadow); max-width: calc(100% - 32px); display: none; align-items: center; gap: 12px; }
.toast.show { display: flex; }
.toast button { border: 0; background: none; color: #8fcbff; font-weight: 600; padding: 0; white-space: nowrap; }
@media (min-width: 960px) { .toast { bottom: 28px; } }

/* ---------- catálogo */
.cat-page { padding-top: 20px; padding-bottom: 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.cat-intro { color: var(--muted); margin-top: 8px; max-width: 65ch; }
.cat-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
.cat-main { min-width: 0; }
@media (max-width: 959px) { .search-cat { display: none; } .filtros { grid-template-columns: minmax(0, 1fr); } }
.filtros { display: grid; gap: 10px; min-width: 0; }
.filtros-tit { font: 600 15px var(--hd); display: none; }
.cat-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 2px var(--pad); }
.cat-list::-webkit-scrollbar { display: none; }
.cat-list li { flex: none; }
.cat-list button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.cat-list button span { color: var(--muted); font-weight: 500; font-size: 13px; }
.cat-list button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-list button[aria-pressed="true"] span { color: #c3cdd9; }
.filtros select, .sort select { min-height: 42px; padding: 8px 34px 8px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235d6877' stroke-width='2' stroke-linecap='round' d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 8px center / 18px; -webkit-appearance: none; appearance: none; font-size: 15px; }
.filtros-tinta { display: none; font-size: 14.5px; color: var(--muted); text-decoration: none; background: var(--blue-l); border-radius: var(--r); padding: 14px; line-height: 1.4; }
.filtros-tinta b { color: var(--blue-d); display: block; margin-top: 2px; }
.toolbar { display: grid; gap: 12px; margin-bottom: 16px; }
.search-cat { max-width: none; background: #fff; border-color: var(--line); }
.toolbar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.count { color: var(--muted); font-size: 15px; }
.count b { color: var(--ink); }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.vacio { text-align: center; padding: 48px 16px; border: 1px dashed #cdd6e0; border-radius: var(--r-lg); }
.vacio p { color: var(--muted); margin: 8px 0 18px; }
@media (min-width: 1000px) {
  .cat-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
  .filtros { min-width: 0; }
  .filtros { position: sticky; top: 150px; gap: 12px; }
  .filtros-tit { display: block; margin-top: 4px; }
  .cat-list { display: grid; gap: 2px; margin: 0; padding: 0; overflow: visible; }
  .cat-list button { width: 100%; justify-content: space-between; align-items: flex-start; gap: 10px; border: 0; border-radius: 8px; padding: 8px 10px; font-weight: 500; font-size: 15px; line-height: 1.3; white-space: normal; text-align: left; }
  .cat-list button span { flex: none; padding-top: 1px; }
  .cat-list button:hover { background: var(--soft); }
  .filtros select { width: 100%; }
  .filtros-tinta { display: block; margin-top: 8px; }
  .search-cat { flex: 1; }
  .toolbar-row { gap: 24px; }
  .grid-cat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1180px) { .grid-cat { grid-template-columns: repeat(4, minmax(0, 1fr)); } .toolbar { display: flex; align-items: center; gap: 24px; } }

/* ---------- producto */
.prod { padding-top: 18px; padding-bottom: 48px; }
.prod .crumbs span:last-child { color: var(--ink); }
.prod-grid { display: grid; gap: 24px; margin-top: 8px; }
.galeria { min-width: 0; }
.foto-main { background: var(--soft); border-radius: var(--r-lg); aspect-ratio: 1; overflow: hidden; }
.foto-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 72px; height: 72px; padding: 0; border: 1.5px solid var(--line); border-radius: 10px; background: var(--soft); overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; }
.prod-brand { color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.prod-name { font: 600 clamp(24px, 3.2vw, 34px)/1.15 var(--hd); letter-spacing: -.01em; color: var(--navy); }
.resumen { margin-top: 12px; color: var(--muted); }
.resumen .dot { margin-right: 8px; transform: translateY(1px); }
.buybox { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 12px; background: #fff; }
.precio b { display: block; font: 600 19px var(--hd); }
.precio > span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.buy-row { display: flex; gap: 10px; }
.buy-row .qty button { height: 48px; width: 42px; }
.buy-row .qty input { height: 48px; }
.btn-add-lg { flex: 1; min-height: 50px; }
.specs { margin-top: 28px; }
.specs table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--soft-2); }
.specs th { font-weight: 500; color: var(--muted); width: 38%; padding-right: 16px; }
.specs td { overflow-wrap: anywhere; }
.nota { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.nota-sola { font-size: 15px; }
.compat { margin-top: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips li { padding: 5px 11px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 600; }
.chips li.hit { background: var(--blue); color: #fff; }
.hermanos { margin-top: 36px; }
.hermanos .grid { margin-top: 14px; }
@media (min-width: 900px) {
  .prod-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .galeria { position: sticky; top: 150px; }
  .hermanos .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- página de tintas */
.tintas-page { padding-top: 18px; padding-bottom: 56px; }
.tintas-page .finder h1 { font: 600 clamp(26px, 3.6vw, 38px)/1.1 var(--hd); }
.tabla-tintas { margin-top: 48px; }
.tabla-scroll { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.tabla-tintas table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.tabla-tintas th, .tabla-tintas td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tabla-tintas thead th { background: var(--soft); font-size: 14px; color: var(--muted); font-weight: 600; }
.tabla-tintas tbody tr:last-child > * { border-bottom: 0; }
.tabla-tintas tbody th { white-space: nowrap; font-weight: 600; }
.botellas { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.botellas a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); white-space: nowrap; }

.e404 { padding: 72px var(--pad) 96px; }
.e404 p { color: var(--muted); margin-top: 10px; }

@media print { .header, .topbar, .mbar, .footer, .btn-add, .buybox .btn { display: none !important; } }
@media (min-width: 960px) and (max-width: 1179px) { .nav a { padding: 11px 8px; font-size: 14.5px; } }
@media (max-width: 559px) { .hero-cta .btn { flex: 1 1 100%; } }
@media (min-width: 980px) and (max-width: 1039px) { .grid:not(.grid-cat) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.btn-add-lg { white-space: nowrap; }
@media (max-width: 419px) { .btn-add-lg svg { display: none; } .buy-row .qty button { width: 36px; } .buy-row .qty input { width: 34px; } }

/* ---------- páginas de texto (WordPress) */
.pagina { padding-top: 18px; padding-bottom: 64px; max-width: 820px; }
.pagina-txt { margin-top: 18px; }
.pagina-txt p, .pagina-txt ul, .pagina-txt ol { margin: 0 0 14px; }
.pagina-txt ul { list-style: disc; padding-left: 22px; }
.pagina-txt ol { list-style: decimal; padding-left: 22px; }
.pagina-txt h2 { font: 600 22px/1.2 var(--hd); margin: 26px 0 10px; }
.desc p { margin: 10px 0 0; color: var(--ink); }
.card-price b { color: var(--ink); font-size: 15px; }
/* Barra de administración de WordPress (solo la ve quien inicia sesión) */
@media (min-width: 783px) { .admin-bar .header { top: 32px; } }

/* Categorías sin productos cargados todavía: se cotizan por WhatsApp */
.tile-pedido { justify-content: flex-end; background: #eaf2fb; min-height: 150px; }
.tile-pedido .tile-txt { padding: 16px; }
.tile-pedido small { color: var(--blue-d); font-weight: 600; }
.tile-consulta small { color: var(--blue-d); font-weight: 600; }
.tile-consulta .tile-img img { padding: 7% 9% 0; }
.seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- pedido (/pedido/) */
.btn-outline { background: #fff; color: var(--blue-d); border-color: #b9d5f1; }
.btn-outline:hover { border-color: var(--blue); background: var(--blue-l); }
.buy-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-sub { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 4px; }
.drawer-sub span { color: var(--muted); }
.drawer-foot .btn { margin-top: 6px; }
.pagina-pedido .mbar { display: none; }
body.pagina-pedido { padding-bottom: 0; }
.pedido-page { padding-top: 18px; padding-bottom: 64px; }
.pedido-grid { display: grid; gap: 0; }
.pedido-form { display: grid; gap: 0; min-width: 0; }
.pedido-form > .h1 { margin: 6px 0 4px; }
.pf-sec { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.pf-sec:last-child { border-bottom: 0; }
.pf-sec > .h3 { font-size: 21px; }
.pf-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-field { display: grid; gap: 6px; min-width: 0; }
.pf-field label { font-weight: 600; font-size: 15px; }
.pf-field label span { font-weight: 400; color: var(--muted); }
.pf-field input, .pf-field select, .pf-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cdd6e0; border-radius: 10px; background: #fff; font-size: 16px; }
.pf-field select:disabled { background: var(--soft); color: var(--ink); opacity: 1; }
.pf-field input:focus, .pf-field select:focus, .pf-field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-l); }
.pf-err { display: none; color: #c62828; font-size: 14px; }
.pf-field.mal input, .pf-field.mal select { border-color: #d93025; }
.pf-field.mal .pf-err { display: block; }
.pf-note { color: var(--muted); font-size: 14.5px; }
.pf-opciones { border: 1.5px solid #cdd6e0; border-radius: 12px; overflow: hidden; }
.pf-op { display: flex; align-items: center; gap: 12px; padding: 15px 16px; cursor: pointer; border-bottom: 1px solid var(--line); background: #fff; }
.pf-op:last-child { border-bottom: 0; }
.pf-op input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; margin: 0; }
.pf-op-t { flex: 1; font-weight: 600; }
.pf-op-t small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.pf-op-p { font-weight: 600; font-size: 14.5px; text-align: right; color: var(--ink); }
.pf-op:has(input:checked) { background: #f1f7fd; box-shadow: inset 0 0 0 1.5px var(--blue); }
.pf-caja { background: var(--soft); border-radius: 12px; padding: 16px; }
.pf-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pf-legal { color: var(--muted); font-size: 13.5px; text-align: center; margin-top: 4px; }
.pedido-resumen { order: -1; background: var(--soft); border-radius: var(--r-lg); margin-top: 8px; }
.res-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border: 0; background: none; color: var(--blue-d); font-weight: 600; font-size: 15px; text-align: left; }
.res-toggle b { color: var(--ink); }
.res-body { display: none; padding: 0 16px 16px; }
.res-body.open { display: block; }
.res-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.ri-img { position: relative; width: 64px; height: 64px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.ri-img img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.ri-img i { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #5d6877; color: #fff; font: 600 12px/22px var(--bd); text-align: center; font-style: normal; }
.ri-n { font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.ri-p { font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.res-tot { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.res-tot > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.res-tot dt { color: var(--muted); }
.res-tot dd { margin: 0; text-align: right; }
.res-tot .res-total { font: 600 19px var(--hd); padding-top: 6px; }
.res-tot .res-total dt { color: var(--ink); }
.res-editar { border: 0; background: none; padding: 0; margin-top: 14px; font-size: 15px; cursor: pointer; color: var(--blue-d); }
.pedido-vacio, .pedido-ok { padding: 32px 0 24px; max-width: 640px; display: grid; gap: 14px; justify-items: start; }
.pedido-vacio p, .pedido-ok p { color: var(--muted); }
@media (min-width: 960px) {
  .pedido-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .pedido-resumen { order: 0; position: sticky; top: 150px; margin-top: 52px; padding: 8px 8px 8px; }
  .res-toggle { display: none; }
  .res-body { display: block; padding: 16px 20px 20px; }
}
@media (max-width: 420px) { .pf-2 { grid-template-columns: 1fr; } }
.envio-linea { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.envio-linea svg { width: 20px; height: 20px; color: var(--blue-d); }

/* =====================================================================
   Movimiento. Todo cuelga de html.anim, que pone el <head> solo si el
   visitante no pidió "reducir movimiento". Sin JS o si algo falla, se
   quita anim y todo se ve normal (nada queda oculto).
   ===================================================================== */
@keyframes dt-subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes dt-aparecer { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes dt-zoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes dt-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes dt-toast { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes dt-bajar { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes dt-fundido { from { opacity: .25; } to { opacity: 1; } }
@keyframes dt-trazo { to { stroke-dashoffset: 0; } }

/* Portada: entrada escalonada */
.anim .hero-txt > * { animation: dt-subir .75s cubic-bezier(.2, .7, .2, 1) both; }
.anim .hero-txt > :nth-child(1) { animation-delay: .05s; }
.anim .hero-txt > :nth-child(2) { animation-delay: .14s; }
.anim .hero-txt > :nth-child(3) { animation-delay: .24s; }
.anim .hero-txt > :nth-child(4) { animation-delay: .34s; }
.anim .hero-txt > :nth-child(5) { animation-delay: .44s; }
.anim .hv { animation: dt-zoom .8s cubic-bezier(.2, .7, .2, 1) both; }
.anim .hv:nth-child(1) { animation-delay: .2s; }
.anim .hv:nth-child(2) { animation-delay: .34s; }
.anim .hv:nth-child(3) { animation-delay: .46s; }

/* Aparición al hacer scroll (main.js pone .rv y luego .in) */
.anim .rv { opacity: 0; transform: translateY(22px); }
.anim .rv.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }

/* Catálogo: las tarjetas entran al cargar y al cambiar de filtro */
.anim .grid-cat.fade > .card:not([hidden]) { animation: dt-aparecer .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 35ms); }
.anim .vacio:not([hidden]) { animation: dt-aparecer .4s both; }

/* Buscador de tintas y pantallas que aparecen */
.anim .finder-out > * { animation: dt-aparecer .45s cubic-bezier(.2, .7, .2, 1) both; }
.anim .fo-item { animation: dt-aparecer .45s cubic-bezier(.2, .7, .2, 1) both; }
.anim .fo-item:nth-child(2) { animation-delay: .06s; }
.anim .fo-item:nth-child(3) { animation-delay: .12s; }
.anim .fo-item:nth-child(4) { animation-delay: .18s; }
.anim .pedido-ok:not([hidden]) > *, .anim .pedido-vacio:not([hidden]) > * { animation: dt-subir .6s cubic-bezier(.2, .7, .2, 1) both; }
.anim .pedido-ok > :nth-child(2) { animation-delay: .1s; }
.anim .pedido-ok > :nth-child(3) { animation-delay: .18s; }
.anim .pedido-ok > :nth-child(4) { animation-delay: .24s; }
.anim .pedido-ok > :nth-child(n+5) { animation-delay: .3s; }
.anim .nav.open { animation: dt-bajar .25s ease both; }
.anim [data-si]:not([hidden]), .anim [data-factura-dir]:not([hidden]) { animation: dt-aparecer .3s both; }
.anim .foto-main img.cambia { animation: dt-fundido .35s ease both; }

/* Palomita del pedido recibido */
.ok-check { width: 64px; height: 64px; color: var(--wa); }
.ok-check svg { width: 64px; height: 64px; }
.ok-check circle, .ok-check path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.anim .ok-check circle { stroke-dasharray: 170; stroke-dashoffset: 170; animation: dt-trazo .7s ease-out .1s forwards; }
.anim .ok-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: dt-trazo .4s ease-out .65s forwards; }

/* Cajón "Mi pedido": entra desde la derecha */
.drawer-bg { transition: opacity .25s ease; }
.drawer-panel { transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
.anim .drawer:not(.open) .drawer-bg { opacity: 0; }
.anim .drawer:not(.open) .drawer-panel { transform: translateX(100%); }
.anim .lista-items li { animation: dt-aparecer .3s both; }

/* Aviso, contador y cabecera */
.anim .toast.show { animation: dt-toast .3s cubic-bezier(.2, .8, .2, 1) both; }
.anim .badge.pop { animation: dt-pop .4s ease; }
.header { transition: box-shadow .25s ease; }
.header.scrolled { box-shadow: 0 6px 20px rgba(20, 32, 46, .08); }

/* Botones y enlaces */
.btn, .btn-add, .lista-btn, .mbar > *, .cat-list button, .seg span, .pf-op { transition: background-color .15s, border-color .15s, color .15s, transform .12s ease, box-shadow .2s; }
.btn:active, .btn-add:active, .mbar > *:active { transform: scale(.97); }
.link svg, .btn svg { transition: transform .2s ease; }

/* Efectos al pasar el ratón (solo en computadoras) */
@media (hover: hover) and (pointer: fine) {
  .card { transition: border-color .2s, box-shadow .25s, transform .25s cubic-bezier(.2, .7, .2, 1); }
  .card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20, 32, 46, .05), 0 14px 32px rgba(20, 32, 46, .10); }
  .card-img img, .tile-img img, .hv img, .fo-item img { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
  .card:hover .card-img img, .tile:hover .tile-img img, .hv:hover img, .fo-item:hover img { transform: scale(1.05); }
  .tile, .hv { transition: border-color .2s, transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
  .tile:hover, .hv:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 32, 46, .09); }
  .link:hover svg, .btn-primary:hover svg { transform: translateX(3px); }
  .btn-primary:hover, .btn-wa:hover { box-shadow: 0 6px 16px rgba(11, 122, 219, .22); }
  .btn-wa:hover { box-shadow: 0 6px 16px rgba(28, 157, 80, .25); }
  .thumbs button:hover { border-color: #9cc3ea; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Ajustes de la revisión en dispositivos (14-oct-2026) */
.link { min-height: 40px; }
.logo { padding: 6px 0; }
.res-editar { min-height: 40px; }
/* Celular en horizontal: la cabecera no se queda fija para no tapar media pantalla */
@media (max-height: 500px) and (orientation: landscape) {
  .header { position: relative; }
  html { scroll-padding-top: 16px; }
  .filtros, .galeria, .pedido-resumen { position: static !important; }
}
/* Pago como en el ejemplo del cliente: opción marcada + detalle gris */
.pf-pago .pf-op { border-bottom: 0; }
.pf-op-det { background: var(--soft); border-top: 1px solid var(--line); padding: 16px 18px 18px; font-size: 15px; line-height: 1.55; display: grid; gap: 10px; }
.pf-op-tit { font-weight: 600; margin-top: 2px; }
.pf-op-det ul { list-style: disc; padding-left: 20px; display: grid; gap: 2px; }
