/* Multiservicios Técnicos del Oriente — tienda */
:root {
  --navy: #0a2a66;
  --navy-2: #0d3784;
  --blue: #1450b4;
  --blue-2: #1f6fe5;
  --sky: #e8f0fd;
  --yellow: #ffd200;
  --yellow-2: #ffe45c;
  --red: #e3141b;
  --green: #12a150;
  --wa: #25d366;
  --bg: #f1f4f9;
  --card: #ffffff;
  --text: #17213a;
  --muted: #5f6b85;
  --line: #e1e6ef;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 35, 80, .06), 0 4px 16px rgba(16, 35, 80, .06);
  --shadow-lg: 0 10px 40px rgba(10, 42, 102, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Poppins", var(--font);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h2 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.hide-mobile { display: none; }
@media (min-width: 900px) { .hide-mobile { display: initial; } .hide-desktop { display: none !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: 999px; border: 2px solid transparent; font-weight: 600; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap; text-decoration: none; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-2); color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--sky); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--sky); }
.btn-danger { background: #fff; color: var(--red); border-color: #f5c2c4; }
.btn-lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn-sm { padding: .45em .9em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #cfdcf6; font-size: .82rem; }
.topbar .wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; min-height: 34px; }
.topbar a { color: #fff; }
.topbar .tb-links { display: flex; gap: 18px; align-items: center; white-space: nowrap; flex: none; }
.topbar .tb-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(10, 42, 102, .08); }
.hdr-main { display: grid; grid-template-columns: auto 1fr auto; gap: 12px 22px; align-items: center; padding: 10px 16px; }
.logo img { height: 46px; width: auto; }
@media (min-width: 900px) { .logo img { height: 62px; } }
.hdr-search { grid-column: 1 / -1; order: 3; position: relative; }
@media (min-width: 900px) { .hdr-search { grid-column: auto; order: 0; } }
.search-box { display: flex; background: #fff; border: 2px solid var(--blue); border-radius: 999px; overflow: hidden; }
.search-box input { flex: 1; border: 0; padding: .7em 1.1em; outline: none; min-width: 0; background: transparent; }
.search-box button { border: 0; background: var(--yellow); color: var(--navy); padding: 0 1.2em; cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: .4em; }
.search-box button:hover { background: var(--yellow-2); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; display: none; z-index: 60; }
.suggest.open { display: block; }
.suggest a { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px 14px; color: var(--text); border-bottom: 1px solid var(--line); }
.suggest a:hover, .suggest a.active { background: var(--sky); }
.suggest .s-thumb { width: 44px; height: 44px; border-radius: 8px; background: var(--sky); display: grid; place-items: center; color: var(--blue); overflow: hidden; }
.suggest .s-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.suggest .s-name { font-size: .9rem; line-height: 1.25; }
.suggest .s-price { font-weight: 700; color: var(--navy); font-size: .9rem; white-space: nowrap; }
.suggest .s-all { display: block; text-align: center; font-weight: 600; color: var(--blue); grid-template-columns: none; }

.hdr-actions { display: flex; align-items: center; gap: 4px; }
.hdr-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 12px; color: var(--navy); font-size: .72rem; font-weight: 600; background: none; border: 0; cursor: pointer; position: relative; }
.hdr-btn .ico { width: 26px; height: 26px; }
.hdr-btn:hover { background: var(--sky); color: var(--navy); }
.cart-badge { position: absolute; top: 0; right: 4px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.cart-badge[data-count="0"] { display: none; }

.nav-bar { background: linear-gradient(90deg, var(--blue), var(--navy-2)); }
.nav-bar .wrap { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-bar .wrap::-webkit-scrollbar { display: none; }
.nav-bar a, .nav-bar button { color: #fff; padding: 11px 14px; font-weight: 600; font-size: .9rem; white-space: nowrap; display: inline-flex; gap: 7px; align-items: center; background: none; border: 0; cursor: pointer; }
.nav-bar a:hover, .nav-bar button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-bar .nav-all { background: rgba(0, 0, 0, .18); }
.nav-bar .nav-hl { color: var(--yellow); }

/* Mega menu / drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(6, 20, 50, .55); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 90; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: #fff; z-index: 100; transform: translateX(-102%); transition: transform .25s ease; display: flex; flex-direction: column; }
.drawer.right { left: auto; right: 0; transform: translateX(102%); }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--navy); color: #fff; font-weight: 700; font-family: var(--font-head); }
.drawer-head button { background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; }
.drawer-body { overflow-y: auto; flex: 1; padding: 6px 0 20px; }
.cat-menu details { border-bottom: 1px solid var(--line); }
.cat-menu summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; font-weight: 600; color: var(--navy); }
.cat-menu summary::-webkit-details-marker { display: none; }
.cat-menu summary .ico:first-child { color: var(--blue); width: 22px; height: 22px; }
.cat-menu summary .chev { margin-left: auto; transition: transform .2s; color: var(--muted); }
.cat-menu details[open] summary .chev { transform: rotate(180deg); }
.cat-menu .sub { padding: 0 16px 10px 50px; display: grid; gap: 2px; }
.cat-menu .sub a { padding: 6px 0; color: var(--text); display: flex; justify-content: space-between; font-size: .92rem; }
.cat-menu .sub a span { color: var(--muted); font-size: .8rem; }
.drawer-links { padding: 12px 16px; display: grid; gap: 8px; }

/* ---------- Layout bits ---------- */
main { min-height: 50vh; }
.section { padding: 28px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 20px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); padding: 14px 0 6px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { opacity: .5; }

.flash-stack { position: fixed; top: 90px; right: 16px; left: 16px; z-index: 120; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.flash { pointer-events: auto; background: #fff; border-left: 5px solid var(--blue); padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); max-width: 420px; display: flex; gap: 10px; align-items: flex-start; animation: slidein .25s ease; }
.flash.success { border-color: var(--green); }
.flash.error { border-color: var(--red); }
.flash.info { border-color: var(--blue); }
@keyframes slidein { from { transform: translateY(-8px); opacity: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); }
@media (min-width: 900px) { .hero { border-radius: var(--radius); margin-top: 18px; } }
.slides { display: flex; transition: transform .5s ease; }
.slide { min-width: 100%; position: relative; min-height: 260px; display: grid; align-items: center; padding: 34px 22px 56px; color: #fff; overflow: hidden; }
@media (min-width: 900px) { .slide { min-height: 340px; padding: 40px 56px; grid-template-columns: 1.1fr .9fr; gap: 30px; } }
.slide.t-azul { background: radial-gradient(circle at 85% 20%, #2f86ff 0, transparent 45%), linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); }
.slide.t-amarillo { background: radial-gradient(circle at 90% 10%, #fff3a6 0, transparent 40%), linear-gradient(120deg, #ffc400 0%, var(--yellow) 100%); color: var(--navy); }
.slide.t-rojo { background: linear-gradient(120deg, #a90d12 0%, var(--red) 100%); }
.slide.t-oscuro { background: radial-gradient(circle at 80% 30%, #0e5bd6 0, transparent 50%), linear-gradient(120deg, #041637 0%, #0a2a66 100%); }
.slide h2 { color: inherit; font-size: clamp(1.5rem, 3.6vw, 2.5rem); max-width: 18ch; margin-bottom: .4em; }
.slide p { font-size: clamp(.95rem, 1.5vw, 1.1rem); opacity: .92; max-width: 46ch; }
.slide .slide-img { display: none; }
@media (min-width: 900px) { .slide .slide-img { display: block; justify-self: center; max-height: 280px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); } }
.slide .deco { position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px; opacity: .12; color: currentColor; }
.slide .deco .ico { width: 100%; height: 100%; stroke-width: 1.2; }
.hero-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 6px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; padding: 0; transition: width .2s; }
.hero-dots button.on { width: 26px; background: #fff; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--navy); cursor: pointer; display: none; place-items: center; box-shadow: var(--shadow); }
@media (min-width: 900px) { .hero-nav { display: grid; } }
.hero-nav.prev { left: 14px; } .hero-nav.next { right: 14px; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
@media (min-width: 900px) { .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 520px) { .benefit { padding: 10px; gap: 8px; } .benefit .b-ico { width: 36px; height: 36px; } }
.benefit { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.benefit .b-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.benefit .b-ico .ico { width: 24px; height: 24px; }
.benefit strong { display: block; font-size: .92rem; color: var(--navy); line-height: 1.2; }
.benefit span { font-size: .8rem; color: var(--muted); line-height: 1.25; display: block; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.cat-tile { background: #fff; border-radius: var(--radius); padding: 18px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; color: var(--text); transition: transform .15s, box-shadow .15s; position: relative; overflow: hidden; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.cat-tile .c-ico { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; display: grid; place-items: center; }
.cat-tile .c-ico .ico { width: 28px; height: 28px; }
.cat-tile strong { font-family: var(--font-head); color: var(--navy); line-height: 1.2; font-size: .98rem; }
.cat-tile span { font-size: .8rem; color: var(--muted); }
.cat-tile::after { content: ""; position: absolute; right: -22px; top: -22px; width: 70px; height: 70px; border-radius: 50%; background: var(--yellow); opacity: .25; }

/* Segments */
.segments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .segments { grid-template-columns: repeat(5, 1fr); } }
.segment { border-radius: var(--radius); padding: 16px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); display: flex; flex-direction: column; gap: 6px; min-height: 108px; justify-content: flex-end; position: relative; overflow: hidden; }
.segment:nth-child(2) { background: linear-gradient(135deg, #0d3784, #1f6fe5); }
.segment:nth-child(3) { background: linear-gradient(135deg, #182544, #3d4f78); }
.segment:nth-child(4) { background: linear-gradient(135deg, #0077b6, #00b4d8); }
.segment:nth-child(5) { background: linear-gradient(135deg, #0b6e4f, #12a150); }
.segment .ico { width: 30px; height: 30px; position: absolute; top: 14px; right: 14px; opacity: .85; }
.segment strong { font-family: var(--font-head); font-size: 1.05rem; }
.segment span { font-size: .8rem; opacity: .85; }
.segment:hover { color: #fff; filter: brightness(1.08); }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .p-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1200px) { .p-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.p-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s, transform .15s; position: relative; }
.p-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.p-media { aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: radial-gradient(circle at 30% 20%, #ffffff 0, #eef3fc 60%), #eef3fc; color: var(--blue); padding: 12px; text-align: center; }
.ph .ph-icon { width: 46%; height: 46%; stroke-width: 1.3; opacity: .9; }
.ph small { font-size: .7rem; font-weight: 700; letter-spacing: .03em; color: var(--navy); opacity: .7; text-transform: uppercase; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; flex-wrap: wrap; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--sky); color: var(--navy); }
.badge.red { background: var(--red); color: #fff; }
.badge.yellow { background: var(--yellow); color: var(--navy); }
.badge.green { background: #dcf5e7; color: #0b6b37; }
.badge.gray { background: #eceff4; color: #4a5470; }
.p-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-brand { font-size: .72rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; min-height: 1em; }
.p-name { font-size: .9rem; color: var(--text); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.9em; }
.p-name:hover { color: var(--blue); }
.p-price { margin-top: auto; padding-top: 6px; }
.p-price .now { font-size: 1.22rem; font-weight: 700; color: var(--navy); font-family: var(--font-head); }
.p-price .before { font-size: .8rem; color: var(--muted); text-decoration: line-through; display: block; }
.p-price .quote { font-size: .92rem; font-weight: 700; color: var(--blue); }
.p-actions { display: flex; gap: 6px; margin-top: 8px; }
.p-actions .btn { flex: 1; padding: .55em .6em; font-size: .85rem; }
.p-link-cover { position: absolute; inset: 0; z-index: 1; }
.p-card .p-actions, .p-card .p-name { position: relative; z-index: 2; }

/* ---------- Catalog page ---------- */
.catalog { display: grid; gap: 18px; padding-bottom: 30px; }
@media (min-width: 1000px) { .catalog { grid-template-columns: 270px 1fr; align-items: start; } }
.filters { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
@media (min-width: 1000px) { .filters { position: sticky; top: 170px; max-height: calc(100vh - 190px); overflow-y: auto; } }
@media (max-width: 999px) { .filters { position: fixed; inset: 0 0 0 auto; width: min(360px, 92vw); z-index: 100; border-radius: 0; transform: translateX(102%); transition: transform .25s; overflow-y: auto; } .filters.open { transform: none; } }
.f-group { border-bottom: 1px solid var(--line); padding: 12px 0; }
.f-group:last-child { border: 0; }
.f-group h4 { font-size: .92rem; margin-bottom: 8px; }
.f-list { display: grid; gap: 2px; max-height: 300px; overflow-y: auto; }
.f-list a { display: flex; justify-content: space-between; gap: 8px; padding: 4px 6px; border-radius: 6px; color: var(--text); font-size: .9rem; }
.f-list a:hover { background: var(--sky); }
.f-list a.on { background: var(--sky); color: var(--blue); font-weight: 700; }
.f-list a span { color: var(--muted); font-size: .8rem; }
.f-list .f-sub { padding-left: 16px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; }
.price-range input { width: 100%; }
.cat-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cat-head h1 { margin: 0; }
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: .84rem; color: var(--text); }
.chip .ico { width: 14px; height: 14px; color: var(--muted); }
.chip:hover { border-color: var(--red); color: var(--red); }
.empty { text-align: center; padding: 50px 20px; }
.empty .ico { width: 64px; height: 64px; color: var(--blue); opacity: .5; }

.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 24px 0; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); color: var(--navy); font-weight: 600; }
.pager .on { background: var(--blue); color: #fff; }
.pager .dots { background: none; box-shadow: none; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 5px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.field .hint { font-size: .8rem; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; border: 1.5px solid #cdd5e3; border-radius: 10px; padding: .68em .85em; background: #fff; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 80, 180, .12); }
textarea.input { min-height: 96px; resize: vertical; }
.grid-2 { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.radio-cards { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.radio-card { border: 2px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; background: #fff; }
.radio-card input { margin-top: 3px; accent-color: var(--blue); }
.radio-card:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.radio-card strong { display: block; color: var(--navy); font-size: .92rem; }
.radio-card span { font-size: .8rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #cdd5e3; border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: none; width: 36px; height: 38px; cursor: pointer; color: var(--navy); display: grid; place-items: center; }
.qty button:hover { background: var(--sky); }
.qty input { width: 46px; text-align: center; border: 0; outline: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 18px; padding-bottom: 20px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.gallery { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.g-main { aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: 10px; overflow: hidden; background: #fff; }
.g-main img { width: 100%; height: 100%; object-fit: contain; }
.g-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.g-thumbs button { width: 68px; height: 68px; border-radius: 10px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; flex: none; }
.g-thumbs button.on { border-color: var(--blue); }
.g-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buybox { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
@media (min-width: 900px) { .buybox { position: sticky; top: 170px; padding: 26px; } }
.buybox h1 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.meta-line strong { color: var(--text); }
.big-price { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.big-price.quote { font-size: 1.4rem; color: var(--blue); }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0 10px; }
.buy-row .btn { flex: 1; min-width: 180px; }
.assure { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.assure div { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.assure .ico { color: var(--blue); width: 22px; height: 22px; }
.assure strong { color: var(--navy); }
.specs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.specs th, .specs td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--muted); font-weight: 600; background: #f8fafd; }
.prose p { color: #33405c; }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; gap: 18px; padding-bottom: 30px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1fr 360px; align-items: start; } }
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border: 0; }
.cart-thumb { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-thumb .ph .ph-icon { width: 55%; height: 55%; }
.cart-info a { color: var(--text); font-weight: 600; line-height: 1.3; }
.cart-info .cl-meta { font-size: .8rem; color: var(--muted); }
.cart-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-controls .line-total { font-weight: 700; color: var(--navy); font-family: var(--font-head); }
.summary { padding: 20px; }
@media (min-width: 900px) { .summary { position: sticky; top: 170px; } }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
.sum-row.total { font-size: 1.25rem; font-weight: 700; color: var(--navy); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-family: var(--font-head); }
.notice { display: flex; gap: 10px; align-items: flex-start; background: #fff8d6; border: 1px solid #f5e08a; color: #5c4a00; border-radius: 10px; padding: 10px 12px; font-size: .86rem; }
.notice.blue { background: var(--sky); border-color: #c9dbfa; color: var(--navy); }
.notice .ico { flex: none; margin-top: 2px; }
.steps { display: flex; gap: 6px; align-items: center; margin: 6px 0 18px; font-size: .84rem; color: var(--muted); flex-wrap: wrap; }
.steps span { display: inline-flex; gap: 6px; align-items: center; }
.steps b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #dde4f0; color: var(--navy); font-size: .78rem; }
.steps .on b { background: var(--blue); color: #fff; }
.steps .on { color: var(--navy); font-weight: 600; }

/* Order confirmation */
.success-hero { text-align: center; padding: 30px 20px; }
.success-hero .check { width: 76px; height: 76px; border-radius: 50%; background: #dcf5e7; color: var(--green); display: grid; place-items: center; margin: 0 auto 14px; }
.success-hero .check .ico { width: 40px; height: 40px; stroke-width: 2.5; }
.order-code { display: inline-block; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; padding: 6px 16px; border-radius: 999px; letter-spacing: .05em; font-size: 1.05rem; }
.wa-cta { background: linear-gradient(135deg, #0f9d58, var(--wa)); color: #fff; border-radius: var(--radius); padding: 22px; text-align: center; margin: 18px 0; }
.wa-cta h2 { color: #fff; }
.wa-cta .btn { background: #fff; color: #0f7a41; }
.order-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.order-table th, .order-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.order-table th { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.order-table .num { text-align: right; white-space: nowrap; }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #eceff4; color: #4a5470; }
.status-pill.nuevo { background: #fff3c4; color: #7a5b00; }
.status-pill.contactado { background: #e3ecff; color: #1d4ab0; }
.status-pill.confirmado { background: #dff1ff; color: #075985; }
.status-pill.pagado { background: #dcf5e7; color: #0b6b37; }
.status-pill.enviado { background: #ede4ff; color: #5b21b6; }
.status-pill.entregado { background: #c9f0d8; color: #065f2f; }
.status-pill.cancelado { background: #fde2e2; color: #a01217; }

/* Auth / account */
.auth-wrap { max-width: 460px; margin: 26px auto 40px; }
.acc-layout { display: grid; gap: 18px; padding-bottom: 30px; }
@media (min-width: 900px) { .acc-layout { grid-template-columns: 1fr 340px; align-items: start; } }

/* Services page */
.svc-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { display: flex; gap: 14px; align-items: flex-start; }
.svc .b-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--yellow); color: var(--navy); display: grid; place-items: center; flex: none; }
.cta-band { background: linear-gradient(120deg, var(--yellow) 0%, #ffc400 100%); border-radius: var(--radius); padding: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; color: #4b3d00; }

.brands-row { display: flex; gap: 10px; flex-wrap: wrap; }
.brand-pill { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 10px 16px; font-weight: 800; color: var(--navy); letter-spacing: .03em; display: flex; gap: 8px; align-items: center; font-family: var(--font-head); font-size: .92rem; }
.brand-pill img { height: 28px; width: auto; }
.brand-pill span { color: var(--muted); font-weight: 600; font-size: .75rem; font-family: var(--font); }
.brand-pill:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c7d4ef; margin-top: 30px; }
.footer-top { display: grid; gap: 24px; padding: 34px 16px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: #e3ebfb; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .9rem; }
.footer-logo { background: #fff; border-radius: 12px; padding: 8px 12px; display: inline-block; margin-bottom: 12px; }
.footer-logo img { height: 52px; width: auto; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ico { color: var(--yellow); margin-top: 2px; }
.footer-slogan { background: var(--yellow); color: var(--navy); text-align: center; font-weight: 800; font-family: var(--font-head); padding: 10px 16px; font-style: italic; letter-spacing: .02em; }
.footer-bottom { font-size: .8rem; padding: 14px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #9fb0d4; }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .ico { width: 32px; height: 32px; }

/* Mobile bottom cart bar on product page */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; box-shadow: 0 -4px 20px rgba(10, 42, 102, .15); padding: 10px 16px; display: flex; gap: 10px; align-items: center; z-index: 70; }
.sticky-buy .btn { flex: 1; }
@media (min-width: 900px) { .sticky-buy { display: none; } }
body.has-sticky .wa-float { bottom: 84px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; z-index: 130; transition: transform .25s ease, visibility .25s; max-width: calc(100vw - 32px); visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--yellow); font-weight: 700; white-space: nowrap; }

@media print {
  .site-header, .topbar, .site-footer, .wa-float, .no-print { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; }
}
