/* ShopinMIA · estilos. Paleta provisional (estilo de los wireframes v2). */
:root {
  --g: #3B5D58; --g2: #2E4A46; --mint: #D6EBE3; --sky: #CFE6EA; --blush: #F4DCD5;
  --cream: #FBF6F2; --sand: #F3EFEA; --yellow: #F6C667; --ysoft: #FDF3DC;
  --coral: #C24E37; --coral2: #A8402B; --ink: #2B2B2B; --muted: #5F6461; --line: #E3DED8;
  --red: #A61B1B; --rsoft: #F8D9D6;
  --radius: 12px; --wrap: 1200px;
  --font: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; font-size: 15px; line-height: 1.45; }
img { max-width: 100%; display: block; }
a { color: var(--g); }
a:hover { color: var(--g2); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h1 { font-size: 26px; font-weight: 800; }
h2 { font-size: 20px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 10px; border: 0; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn-cta { background: var(--coral); color: #fff; }
.btn-cta:hover { background: var(--coral2); color: #fff; }
.btn-cta:disabled { background: #B9B3AB; cursor: not-allowed; }
.btn-out { background: #fff; color: var(--g); border: 1.5px solid var(--g); }
.btn-out:hover { background: var(--mint); color: var(--g2); }
.btn-wa { background: var(--g2); color: #fff; }
.btn-wa:hover { background: #22403c; color: #fff; }
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; font-size: 16px; }
.linkbtn { background: none; border: 0; padding: 10px 0; color: var(--g); font-weight: 600; text-decoration: underline; min-height: 44px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: 10px; color: inherit; position: relative; text-decoration: none; }
.icon-btn svg { width: 24px; height: 24px; }

/* ---------- Encabezado ---------- */
.topbar { background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 600; text-align: center; padding: 8px 12px; }
.header { background: var(--g); color: #fff; position: sticky; top: 0; z-index: 30; }
.header .row { display: flex; align-items: center; gap: 4px; padding: 6px 0; flex-wrap: wrap; }
.header .row .search { order: 10; flex: 1 0 100%; }
.logo { color: #fff; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin-right: auto; }
.logo:hover { color: #fff; }
.header .icon-btn { color: #fff; }
.badge { position: absolute; top: 4px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.badge[hidden] { display: none; }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 10px; padding: 0 12px; height: 44px; margin: 0 0 10px; }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: 0; outline: 0; flex: 1; min-width: 0; font-size: 15px; background: transparent; }
.catnav { display: none; }
@media (min-width: 900px) {
  .header .row { padding: 10px 0; gap: 12px; }
  .header .menu-btn { display: none; }
  .header .row { flex-wrap: nowrap; }
  .header .row .search { order: 0; margin: 0; flex: 0 1 460px; }
  .logo { margin-right: 8px; }
  .header .row .spacer { flex: 1; }
  .catnav { display: flex; gap: 22px; padding: 0 0 10px; overflow-x: auto; }
  .catnav a { color: #E4ECEA; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; padding: 4px 0; }
  .catnav a:hover { color: #fff; text-decoration: underline; }
}
@media (max-width: 899px) { .header .row .spacer { display: none; } }

/* ---------- Menú lateral ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.open { display: block; }
.drawer .shade { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.drawer .panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 86vw); background: #fff; overflow-y: auto; padding: 8px 0 24px; }
.drawer .head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 8px 16px; border-bottom: 1px solid var(--line); }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid #F0EBE5; }
.drawer nav a:hover { background: var(--cream); }
.drawer .group { padding: 16px 16px 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- Secciones ---------- */
main { min-height: 60vh; }
.section { padding: 20px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head a.more { font-size: 14px; font-weight: 600; }
.crumbs { font-size: 12px; color: var(--muted); padding-top: 14px; }
.crumbs a { color: var(--muted); }
.page-title { padding: 6px 0 4px; }

/* Banner principal */
.hero { margin: 16px 0 4px; background: var(--mint); border-radius: 18px; padding: 22px 20px; display: grid; gap: 14px; }
.hero .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g2); }
.hero h1 { color: var(--g2); font-size: 28px; }
.hero p { margin: 0; font-size: 15px; }
.hero .art { border-radius: 12px; background: rgba(255,255,255,.55); min-height: 140px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; }
.hero .art img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .ctas .btn { flex: 1 1 140px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 40px; gap: 28px; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 17px; }
  .hero .art { grid-row: 1 / span 4; grid-column: 2; min-height: 260px; }
}

/* Carruseles */
.carousel { margin-bottom: 20px; }
.carousel .head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.carousel .head a.title { font-size: 17px; font-weight: 700; color: var(--ink); text-decoration: none; }
.carousel .head a.title:hover { text-decoration: underline; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 40px; height: 40px; border-radius: 999px; border: 1px solid #D9D4CD; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.arrow:disabled { opacity: .35; cursor: default; }
.arrow svg { width: 18px; height: 18px; }
.track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; flex: 0 0 auto; }
.tile { width: 160px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.tile .pic { width: 160px; height: 160px; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; padding: 12px; font-weight: 700; color: var(--g2); }
.tile .pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tile .lbl { font-size: 14px; }
.tile.sel .pic { outline: 3px solid var(--g); outline-offset: -3px; }
.tile.sel .lbl { font-weight: 700; }
.store-tile { width: 160px; height: 100px; border-radius: 12px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-weight: 800; font-size: 17px; color: var(--g2); text-decoration: none; }
.store-tile:hover { color: var(--g2); filter: brightness(.97); }
.bg0 { background: var(--mint); } .bg1 { background: var(--sky); } .bg2 { background: var(--blush); } .bg3 { background: var(--cream); }

/* Tarjetas de producto */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; } }
@media (min-width: 1150px) { .grid.wide { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.row-cards .card { width: 160px; }
@media (min-width: 900px) { .row-cards .card { width: 200px; } }
.card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card a.body { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.card .pic { position: relative; aspect-ratio: 1; border-radius: 10px; background: var(--sand); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.card .pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card .pic .noimg { color: var(--muted); font-size: 12px; padding: 10px; text-align: center; }
.tag { position: absolute; top: 8px; left: 8px; background: var(--yellow); color: var(--ink); border-radius: 999px; font-size: 11px; font-weight: 700; padding: 3px 9px; }
.tag.new { background: var(--mint); color: var(--g2); }
.card .meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .name { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card .price { font-size: 17px; font-weight: 800; }
.card .sub { font-size: 11px; color: var(--muted); }
.card a.body:hover .name { text-decoration: underline; }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--g); border-radius: 10px; min-height: 46px; }
.stepper button { width: 46px; height: 44px; border: 0; background: transparent; font-size: 20px; color: var(--g); }
.stepper span { font-weight: 800; min-width: 28px; text-align: center; }

/* Bloques destacados */
.ps-block { background: var(--yellow); border-radius: 18px; padding: 24px 20px; display: grid; gap: 14px; margin: 12px 0 24px; }
.ps-block .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ps-block h2 { font-size: 24px; }
.ps-block p { margin: 0; }
.ps-block ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ps-block li { display: flex; gap: 12px; align-items: center; }
.num { flex: 0 0 32px; height: 32px; border-radius: 999px; background: var(--g2); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
@media (min-width: 900px) { .ps-block { grid-template-columns: 1fr 1fr; padding: 36px; column-gap: 40px; } .ps-block .side { grid-column: 2; grid-row: 1 / span 4; align-self: center; } }
.how { background: var(--g); color: #fff; border-radius: 0; padding: 32px 0; margin-top: 12px; }
.how h2 { color: #fff; margin-bottom: 16px; }
.how .steps { display: grid; gap: 18px; }
@media (min-width: 900px) { .how .steps { grid-template-columns: repeat(3, 1fr); } }
.how .step { display: flex; gap: 14px; }
.how .num { background: var(--yellow); color: var(--ink); flex-basis: 34px; height: 34px; }
.how p { margin: 4px 0 0; color: #E4ECEA; font-size: 14px; }
.inline-wa { grid-column: 1 / -1; background: var(--yellow); border-radius: 14px; padding: 16px; display: flex; gap: 14px; align-items: center; }
.inline-wa div { flex: 1; }
.inline-wa strong { display: block; font-size: 16px; }
.wa-card { background: var(--yellow); border-radius: 16px; padding: 20px; display: grid; gap: 10px; margin: 24px 0; }
.wa-card strong { font-size: 19px; line-height: 1.2; }

/* Botón flotante de WhatsApp */
.fab { position: fixed; right: 16px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--g2); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.fab:hover { color: #fff; background: #22403c; }
.fab svg { width: 22px; height: 22px; }
.fab[hidden] { display: none; }

/* Pie de página */
.footer { background: var(--g2); color: #fff; padding: 28px 0 90px; margin-top: 32px; }
.footer a { color: #fff; }
.footer .cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; font-size: 14px; margin: 14px 0; }
@media (min-width: 900px) { .footer .cols { grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px 40px; } }
.footer .fine { font-size: 12px; color: #C9D6D3; }

/* ---------- Listado ---------- */
.toolbar { display: flex; gap: 10px; margin: 10px 0; }
.toolbar > * { flex: 1; }
@media (min-width: 900px) { .toolbar > * { flex: 0 0 220px; } }
.select { display: flex; align-items: center; gap: 6px; border: 1px solid #D9D4CD; border-radius: 10px; min-height: 46px; padding: 0 10px; font-size: 14px; }
.select select { border: 0; background: transparent; flex: 1; min-width: 0; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.chip { border: 1px solid #D9D4CD; border-radius: 999px; padding: 8px 14px; font-size: 13px; background: #fff; text-decoration: none; color: var(--ink); min-height: 40px; display: inline-flex; align-items: center; gap: 6px; }
.chip.on { background: var(--g); color: #fff; border-color: var(--g); }
.chip.soft { background: var(--mint); border-color: var(--mint); }
.count { font-size: 13px; color: var(--muted); margin: 4px 0 12px; }
.loader { text-align: center; padding: 22px 0 8px; color: var(--g); font-weight: 600; font-size: 14px; }
.empty { padding: 30px 0; text-align: center; color: var(--muted); }
.totop { position: fixed; right: 16px; bottom: 82px; z-index: 39; height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: #fff; color: var(--g2); font-weight: 700; font-size: 13px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.totop[hidden] { display: none; }

/* Hoja de filtros */
dialog.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 88vh; border-radius: 18px 18px 0 0; }
@media (min-width: 700px) { dialog.sheet { margin: auto; border-radius: 18px; } }
dialog.sheet::backdrop { background: rgba(0,0,0,.45); }
.sheet .in { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.sheet .top { display: flex; align-items: center; justify-content: space-between; }
.sheet fieldset { border: 0; padding: 0; margin: 10px 0 0; }
.sheet legend { font-weight: 700; padding: 0; margin-bottom: 4px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 42px; font-size: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--g); }
.sheet .foot { display: flex; gap: 10px; margin-top: 14px; position: sticky; bottom: 0; background: #fff; padding-top: 10px; }

/* Acordeón de categorías */
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 66px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .sw { flex: 0 0 48px; height: 48px; border-radius: 10px; overflow: hidden; }
.acc summary .sw img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.acc summary .t { flex: 1; display: flex; flex-direction: column; }
.acc summary .t b { font-size: 16px; }
.acc summary .chev { transition: transform .2s; width: 20px; height: 20px; }
.acc[open] summary .chev { transform: rotate(180deg); }
.acc .subs { padding: 0 0 12px 60px; display: flex; flex-direction: column; }
.acc .subs a, .result-row { min-height: 46px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #F0EBE5; color: var(--ink); text-decoration: none; font-size: 14px; }
.acc .subs a.all { border-top: 0; color: var(--g); font-weight: 700; }
.field-search { display: flex; align-items: center; gap: 8px; border: 1px solid #D9D4CD; border-radius: 10px; padding: 0 12px; height: 46px; margin: 12px 0 8px; }
.field-search input { border: 0; outline: 0; flex: 1; min-width: 0; font-size: 15px; }
.field-search svg { width: 18px; height: 18px; color: var(--muted); }
.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
@media (min-width: 700px) { .store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.store-grid a { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.store-grid .store-tile { width: auto; height: 96px; }

/* ---------- Ficha de producto ---------- */
.pdp { display: grid; gap: 18px; padding-top: 6px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }
.gallery .main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 12px; background: var(--sand); scrollbar-width: none; }
.gallery .main::-webkit-scrollbar { display: none; }
.gallery .main img { flex: 0 0 100%; aspect-ratio: 1; object-fit: contain; scroll-snap-align: start; mix-blend-mode: multiply; }
.gallery .main .noimg { flex: 0 0 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--sand); overflow: hidden; }
.thumbs button.on { outline: 2px solid var(--g); outline-offset: -2px; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp .info { display: flex; flex-direction: column; gap: 10px; }
.pdp h1 { font-size: 23px; font-weight: 700; line-height: 1.25; }
.code-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.code-pill { background: var(--cream); border: 1px solid #EDE6DE; border-radius: 6px; padding: 4px 8px; font-weight: 600; font-size: 12px; }
.bigprice { font-size: 32px; font-weight: 800; color: var(--g2); line-height: 1.1; }
.bigprice small { font-size: 14px; font-weight: 600; }
.breakdown { background: var(--cream); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.breakdown div { display: flex; justify-content: space-between; padding: 4px 0; }
.breakdown .tot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 700; }
.buy { display: flex; gap: 12px; align-items: center; }
.buy .stepper { flex: 0 0 140px; }
.buy .btn { flex: 1; }
.note { border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.45; background: var(--ysoft); }
.note.err { background: var(--rsoft); color: var(--red); }
.note.ok { background: var(--mint); color: var(--g2); }
.deliv { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.deliv svg { width: 20px; height: 20px; color: var(--g); flex: none; }
.specs { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.specs p { margin: 0 0 6px; white-space: pre-line; }
.spec { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; gap: 12px; }
.spec span:first-child { color: var(--muted); }

/* ---------- Carrito y checkout ---------- */
.cart-layout { display: grid; gap: 16px; padding-bottom: 20px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; } .cart-layout .side { position: sticky; top: 130px; } }
.line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line .pic { flex: 0 0 76px; height: 76px; border-radius: 10px; background: var(--sand); overflow: hidden; }
.line .pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line .d { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.line .d a { color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.3; }
.line .bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.line .stepper { min-height: 40px; }
.line .stepper button { width: 40px; height: 38px; }
.meter { border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.meter b { font-size: 14px; }
.meter small { font-size: 12px; }
.bar { height: 8px; border-radius: 999px; background: rgba(43,43,43,.12); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--g); border-radius: 999px; }
.summary { background: var(--cream); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.summary .r { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; gap: 10px; }
.summary .tot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 800; font-size: 19px; color: var(--g2); }
.steps-bar { display: flex; gap: 6px; font-size: 12px; margin: 12px 0 4px; }
.steps-bar span { flex: 1; border-top: 3px solid var(--line); padding-top: 6px; color: var(--muted); }
.steps-bar span.done { border-color: var(--g); color: var(--ink); }
.steps-bar span.cur { border-color: var(--g); color: var(--g2); font-weight: 700; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label.f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.form label.f .opt { font-weight: 400; color: var(--muted); }
.form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea { border: 1px solid #B9B3AB; border-radius: 10px; min-height: 48px; padding: 0 12px; font-size: 16px; font-weight: 400; background: #fff; width: 100%; }
.form textarea { padding: 10px 12px; min-height: 80px; resize: vertical; }
.form .hint { font-size: 12px; font-weight: 400; color: var(--muted); }
.form .bad input, .form .bad select { border-color: var(--red); background: #FFF8F7; }
.form .bad .errtxt { color: var(--red); font-weight: 400; font-size: 12px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.form .consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--g); }
.hp { position: absolute; left: -9999px; }
.test-banner { background: #FFF2CC; border: 1px dashed #B7791F; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin: 10px 0; }
.done-view { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 0 8px; }
.okmark { width: 64px; height: 64px; border-radius: 999px; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.okmark svg { width: 32px; height: 32px; color: var(--g2); }
.next { background: var(--g); color: #fff; border-radius: 14px; padding: 18px 16px; display: grid; gap: 12px; margin: 18px 0; }
.next .it { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.next .num { background: var(--yellow); color: var(--ink); flex-basis: 26px; height: 26px; font-size: 12px; }

/* Seguimiento */
.order-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 14px 0; }
.order-card .hd { background: var(--cream); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.status { align-self: flex-start; background: var(--yellow); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 4px 10px; }
.timeline { list-style: none; margin: 0; padding: 18px 16px 6px; }
.timeline li { display: flex; gap: 14px; min-height: 58px; }
.timeline .rail { display: flex; flex-direction: column; align-items: center; flex: 0 0 26px; }
.timeline .dot { width: 26px; height: 26px; border-radius: 999px; border: 2px solid #CFC9C1; background: #fff; display: flex; align-items: center; justify-content: center; }
.timeline .dot.done { background: var(--g); border-color: var(--g); }
.timeline .dot.done { color: #fff; }
.timeline .ln { flex: 1; width: 2px; background: var(--line); margin: 2px 0; }
.timeline .ln.done { background: var(--g); }
.track-box { margin: 0 16px 16px; background: var(--mint); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; color: var(--g2); }
.guia { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 10px; padding: 4px 4px 4px 14px; }
.guia strong { font-size: 18px; letter-spacing: .04em; color: var(--ink); }

/* Aviso flotante */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; font-size: 14px; z-index: 70; box-shadow: 0 6px 18px rgba(0,0,0,.25); max-width: calc(100vw - 32px); display: flex; gap: 12px; align-items: center; }
.toast a { color: var(--yellow); font-weight: 700; }
.toast[hidden] { display: none; }
.skeleton { background: linear-gradient(90deg, #F0EBE5 25%, #F7F3EF 50%, #F0EBE5 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .track { scroll-behavior: auto; } .skeleton { animation: none; } }
.btn-block { white-space: normal; text-align: center; }
.timeline .dot { flex: none; }
.timeline .dot svg { width: 14px; height: 14px; flex: none; display: block; }

.specs ul { margin: 0 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.specs h3 { margin: 12px 0 2px; }
