/* Grupo De Zamacona — sitio web
   Marca: navy #1B2A47, naranja #F2622E, Bookman (TeX Gyre Bonum) + Calibri (Carlito) */

@font-face { font-family: "Bonum"; src: url("../fonts/bonum-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/carlito-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/carlito-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #1B2A47;
  --navy-2: #24345A;
  --navy-3: #2E426E;
  --orange: #F2622E;
  --orange-hover: #E0521F;
  --on-orange: #0B1220;
  --mist: #C7D0DE;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --text: #1F2A3D;
  --muted: #5A6A86;
  --line: #E1E6EE;
  --ok: #1E8E5A;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(27,42,71,.06), 0 6px 20px rgba(27,42,71,.07);
  --serif: "Bonum", "Bookman Old Style", Georgia, serif;
  --sans: "Carlito", Calibri, "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.6vw, 50px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 2px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--on-orange); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-wa svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 17px; letter-spacing: .02em; }
.brand-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; color: var(--orange); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 10px 12px; border-radius: 8px; color: var(--mist); font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--orange);
  color: var(--on-orange); font-weight: 700; padding: 0 16px; min-height: 42px; border-radius: 999px; }
.cart-link svg { width: 20px; height: 20px; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 13px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; border-radius: 8px; }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; order: 3; }
  .cart-link .cart-label { display: none; }
  .cart-link { padding: 0 12px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 16px 16px; border-top: 1px solid rgba(255,255,255,.08); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 18px; }
  .brand-name { font-size: 15px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 520px; height: 520px; left: -220px; top: -260px; background: var(--navy-2); }
.hero::after { width: 420px; height: 420px; right: -160px; bottom: -230px; background: var(--orange); opacity: .95; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 36px; padding-top: 56px; padding-bottom: 72px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; padding-top: 80px; padding-bottom: 96px; } }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 20px; color: var(--mist); max-width: 34em; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--serif); font-size: 30px; color: #fff; line-height: 1; }
.hero-stats span { font-size: 14px; color: var(--mist); margin-top: 6px; }
.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 460px; justify-self: center; width: 100%; }
.hero-tiles a { background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s; }
.hero-tiles a:nth-child(2), .hero-tiles a:nth-child(4) { transform: translateY(22px); }
.hero-tiles a:hover { transform: translateY(-3px); }
.hero-tiles a:nth-child(2):hover, .hero-tiles a:nth-child(4):hover { transform: translateY(19px); }
.hero-tiles img { width: 100%; aspect-ratio: 1; object-fit: contain; }

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 40em; margin: 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.cat-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-card:hover { border-color: var(--mist); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card img { aspect-ratio: 1; object-fit: contain; padding: 14px; background: #fff; }
.cat-card div { padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.cat-card strong { display: block; color: var(--navy); line-height: 1.25; }
.cat-card span { font-size: 14px; color: var(--muted); }

.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--navy); color: #fff; font-family: var(--serif); font-size: 20px; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }

.features { display: grid; gap: 16px; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.feature svg { width: 30px; height: 30px; color: var(--orange); margin-bottom: 12px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }

.cta-band { background: var(--navy); color: #fff; border-radius: 22px; padding: 36px 28px; display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--orange); right: -110px; top: -130px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: var(--mist); margin: 0; }

/* ---------- Encabezado de página interior ---------- */
.page-head { background: var(--navy); color: #fff; padding: 36px 0 32px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--orange); right: -150px; bottom: -200px; }
.page-head h1 { color: #fff; margin: 0; font-size: clamp(28px, 4vw, 40px); position: relative; z-index: 1; }
.page-head p { color: var(--mist); margin: 8px 0 0; position: relative; z-index: 1; max-width: 42em; }
.crumbs { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }

/* ---------- Catálogo ---------- */
.catalog { display: grid; gap: 24px; padding: 28px 0 64px; }
@media (min-width: 960px) { .catalog { grid-template-columns: 250px 1fr; align-items: start; } }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
@media (min-width: 960px) { .filters { position: sticky; top: 88px; } }
.filters h2 { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 10px 8px; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list button { width: 100%; display: flex; justify-content: space-between; gap: 8px; text-align: left; background: none; border: 0;
  padding: 9px 10px; border-radius: 8px; cursor: pointer; color: var(--text); }
.cat-list button:hover { background: var(--bg); }
.cat-list button[aria-pressed="true"] { background: var(--navy); color: #fff; font-weight: 700; }
.cat-list button span:last-child { color: var(--muted); font-size: 14px; }
.cat-list button[aria-pressed="true"] span:last-child { color: var(--mist); }
@media (max-width: 959px) {
  .filters { padding: 0; background: none; border: 0; }
  .filters h2 { display: none; }
  .cat-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .cat-list::-webkit-scrollbar { display: none; }
  .cat-list button { white-space: nowrap; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; }
}
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 280px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search input { width: 100%; min-height: 50px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 17px; }
.search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,42,71,.12); }
.result-count { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: 15px; cursor: pointer; }
.chip:hover { border-color: var(--mist); }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--on-orange); font-weight: 700; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1150px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); border-color: var(--mist); }
.card-img { display: block; background: #fff; aspect-ratio: 1; }
.card-img img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; padding: 8px; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; border-top: 1px solid var(--line); }
.card-sub { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.card-name { font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-name:hover { text-decoration: underline; }
.sku { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-actions { margin-top: auto; padding-top: 10px; }
.add-btn { width: 100%; min-height: 40px; border-radius: 999px; border: 2px solid var(--navy); background: var(--surface); color: var(--navy); font-weight: 700; cursor: pointer; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.add-btn:hover { background: var(--navy); color: #fff; }
.add-btn.in { background: var(--navy); color: #fff; }
.add-btn svg { width: 18px; height: 18px; }
.more { display: flex; justify-content: center; margin-top: 26px; }
.empty { text-align: center; background: var(--surface); border: 1px dashed var(--mist); border-radius: var(--radius); padding: 40px 20px; }
.empty p { color: var(--muted); }

/* ---------- Producto ---------- */
.product { display: grid; gap: 28px; padding: 18px 0 56px; }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.product-img { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.product-img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product h1 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 6px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.tag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; background: #EEF1F6; color: var(--navy); }
.tag-orange { background: #FDE6DC; color: #8A2E0C; }
.qty-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 12px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.stepper button { width: 44px; height: 46px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--navy); border-radius: 999px; }
.stepper button:hover { background: var(--bg); }
.stepper input { width: 64px; text-align: center; border: 0; background: none; font-weight: 700; font-size: 17px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.perks svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }
.variants { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 4px; font-size: 15px; }
.variants strong { color: var(--navy); }

/* ---------- Cotización ---------- */
.quote { display: grid; gap: 24px; padding: 28px 0 64px; }
@media (min-width: 960px) { .quote { grid-template-columns: 1fr 380px; align-items: start; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h2 { font-size: 22px; }
.q-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.q-item:last-child { border-bottom: 0; }
.q-item img { width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.q-item a { font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.3; }
.q-item a:hover { text-decoration: underline; }
.q-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.q-controls .stepper button { width: 38px; height: 38px; font-size: 20px; }
.q-controls .stepper input { width: 52px; font-size: 16px; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 6px; font-size: 15px; }
.link-btn:hover { color: #B3261E; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; color: var(--navy); font-size: 15px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--surface); font-size: 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,42,71,.12); }
.field textarea { min-height: 96px; resize: vertical; }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.stack { display: grid; gap: 10px; }

/* ---------- Nosotros / contacto ---------- */
.prose { max-width: 760px; }
.prose p { font-size: 18px; }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; } }
.fact-card { background: var(--navy); color: #fff; border-radius: 20px; padding: 28px; position: relative; overflow: hidden; }
.fact-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--orange); right: -80px; bottom: -90px; }
.fact-card dl { margin: 0; display: grid; gap: 18px; position: relative; z-index: 1; }
.fact-card dt { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.fact-card dd { margin: 4px 0 0; font-size: 18px; }
.contact-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.contact-card:hover { border-color: var(--mist); box-shadow: var(--shadow); }
.contact-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card strong { display: block; color: var(--navy); }
.contact-card span { color: var(--muted); word-break: break-word; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy); color: var(--mist); padding: 48px 0 28px; margin-top: 0; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Avisos y botón flotante ---------- */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%); background: var(--navy); color: #fff; padding: 12px 14px 12px 18px;
  border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: flex; align-items: center; gap: 14px; z-index: 80; transition: transform .25s, opacity .25s, visibility .25s; max-width: calc(100% - 32px); opacity: 0; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast a { color: var(--on-orange); background: var(--orange); text-decoration: none; font-weight: 700; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.22); z-index: 60; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.05); }
body.has-toast .wa-float { bottom: 84px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Ajustes */
.catalog > *, .quote > *, .product > * { min-width: 0; }
.btn svg { width: 20px; height: 20px; flex: none; }
.product-img img { max-width: 440px; margin: 0 auto; }
.toast span { white-space: nowrap; font-size: 15px; }

.hero-search { display: flex; gap: 10px; margin: 6px 0 14px; max-width: 560px; }
.hero-search .search { flex: 1; }
.hero-search .search input { border-color: transparent; }
.search input { color: var(--text); }
.search input::placeholder { color: var(--muted); }
@media (max-width: 520px) { .hero-search { flex-direction: column; } }

[hidden] { display: none !important; }
.cta-band > div { max-width: 640px; }

.brand-select select { min-height: 50px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 0 40px 0 18px; font-size: 16px; color: var(--navy); font-weight: 700; cursor: pointer;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2A47' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.brand-select select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,42,71,.12); }
.cat-info { margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cat-info h2 { font-size: 22px; }
.cat-info p { color: var(--muted); margin: 0; }
.p-desc { font-size: 18px; margin: 4px 0 10px; }
.p-uses { color: var(--muted); margin: 0 0 14px; }
.product .note { background: #FFF6E5; border: 1px solid #F3D9A4; border-radius: 10px; padding: 10px 12px; color: #6B4A00; }

a.add-btn { text-decoration: none; }
.size-row { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; font-weight: 700; color: var(--navy); }
.size-row select { min-height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 0 40px 0 18px; font-size: 16px; color: var(--navy); font-weight: 700; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2A47' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.size-row select.need { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,98,46,.25); }
.size-note { font-size: 14px; color: var(--muted); margin: 0; }
.q-talla { color: var(--navy); }

/* ---------- Lista de precios por cliente ---------- */
.pc-list { display: grid; gap: 16px; }
.pc-card { display: grid; grid-template-columns: 120px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
@media (max-width: 520px) { .pc-card { grid-template-columns: 84px 1fr; gap: 12px; padding: 12px; } }
.pc-img img, .pc-noimg { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; }
.pc-noimg { display: grid; place-items: center; background: var(--bg); color: var(--mist); }
.pc-noimg svg { width: 44%; height: 44%; }
.pc-body h3 { margin-bottom: 2px; }
.pc-det { color: var(--muted); margin: 0 0 6px; font-size: 15px; }
.pc-price { font-family: var(--serif); font-size: 24px; color: var(--navy); margin: 0; }
.pc-price span { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.pc-pnote { display: block; font-size: 14px; color: var(--muted); }
.pc-rows { margin-top: 10px; display: grid; gap: 8px; }
.pc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.pc-row.on { border-color: var(--orange); background: #FFF6F2; }
.pc-row .sku { display: block; font-size: 13px; }
.pc-row .stepper button { width: 38px; height: 40px; font-size: 20px; }
.pc-row .stepper input { width: 50px; font-size: 16px; }
.pc-summary { position: sticky; top: 88px; }
.pc-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pc-line small { display: block; }
.pc-totals { margin: 12px 0 16px; display: grid; gap: 6px; }
.pc-totals div { display: flex; justify-content: space-between; }
.pc-totals dt { color: var(--muted); }
.pc-totals dd { margin: 0; font-weight: 700; color: var(--navy); }
.pc-total { border-top: 2px solid var(--navy); padding-top: 8px; font-size: 19px; }

/* Especificaciones (datos de ficha técnica) */
.specs { max-width: 860px; margin: 8px 0 40px; }
.specs h2 { font-size: 22px; margin: 0 0 12px; }
.specs table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 15px; }
.specs tr:first-child th, .specs tr:first-child td { border-top: 0; }
.specs th { width: 32%; color: var(--navy); font-weight: 700; background: var(--bg); }
.specs .note { margin-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .specs th, .specs td { display: block; width: auto; } .specs td { border-top: 0; padding-top: 0; } }

/* Aviso de privacidad */
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal p { margin: 0 0 12px; }
