/* =============================================================
   Importadora Macaw · "Plumaje"
   Negro y cobre del logotipo; cada categoría lleva el color
   de una pluma de guacamaya. Forma propia: una esquina grande.
   ============================================================= */
:root {
  --ink: #101312;
  --ink-soft: #3b423f;
  --ink-mute: #6a716e;
  --paper: #faf8f4;
  --paper-2: #f2eee6;
  --white: #fff;
  --line: #e4ded3;
  --copper: #b8864f;
  --copper-ink: #8a5f2f;
  --red: #d8392b;
  --blue: #1d4fd7;
  --yellow: #f7a90d;
  --green: #0b8a6f;
  --teal: #0b5a73;
  --wa: #128c4a;
  --display: "League Spartan", "Arial Narrow", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 8px;
  --r-big: 40px;
  --feather: var(--r) var(--r-big) var(--r) var(--r);
  --shadow: 0 18px 40px -24px rgba(16, 19, 18, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --c: var(--copper);
}

/* Color de cada categoría */
.cat-movilidad     { --c: var(--red);    --c-soft: #fbe4e1; }
.cat-refrigeracion { --c: var(--blue);   --c-soft: #e1e8fb; }
.cat-iluminacion   { --c: var(--yellow); --c-soft: #fdf0d2; }
.cat-seguridad     { --c: var(--green);  --c-soft: #dcf1eb; }
.cat-ventilacion   { --c: var(--teal);   --c-soft: #dbe9ee; }
.cat-electrodomesticos { --c: var(--copper); --c-soft: #f3e7d9; }

/* =============================================================
   Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.01em; margin: 0; font-weight: 700; }
p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: #fff; border-radius: var(--r); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-mute); }
.small { font-size: .86rem; }

.kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-ink); margin-bottom: .7rem; }
.kicker img { width: 28px; height: 28px; }
.kicker.k-blue { color: var(--blue); }
.kicker.k-yellow { color: #a66d00; }
.kicker.k-green { color: var(--green); }
.section-sub { color: var(--ink-soft); margin-top: .5rem; max-width: 56ch; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.3rem; border-radius: var(--r) 22px var(--r) var(--r); font-weight: 700; font-size: .98rem; border: 2px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ink, .btn-primary { background: var(--ink); color: #fff; }
.btn-ink:hover, .btn-primary:hover { background: #26302c; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0e7a40; }
.btn-block { width: 100%; }
.btn-link { color: var(--copper-ink); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn:hover { background: var(--paper-2); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; white-space: nowrap; }
.link-arrow .ico { transition: transform .2s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* =============================================================
   Franja de muestra y cabecera
   ============================================================= */
.demo-bar { background: var(--yellow); color: var(--ink); text-align: center; font-size: .82rem; font-weight: 700; padding: .45rem 1rem; }
.nav { position: sticky; top: 0; z-index: 40; background: var(--ink); color: #fff; }
.nav-inner { width: min(1200px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex: none; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: .9; letter-spacing: .02em; text-transform: uppercase; }
.brand-name small { display: block; font-size: .56rem; letter-spacing: .3em; font-weight: 600; color: var(--copper); }
.nav-links { display: flex; gap: 1.3rem; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav-links a { position: relative; padding: .3rem 0; color: #d9dcdb; }
.nav-links a:hover { color: #fff; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--copper); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.nav-search { display: flex; align-items: center; background: #252b29; border-radius: var(--r) 18px var(--r) var(--r); padding-left: .9rem; }
.nav-search input { width: 170px; background: transparent; border: 0; outline: none; color: #fff; padding: .6rem 0; }
.nav-search input::placeholder { color: #8d9592; }
.nav-search button { width: 42px; height: 42px; display: grid; place-items: center; color: #cfd3d1; }
.cart-btn { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--copper); color: var(--ink); }
.cart-btn .ico { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.cart-count.is-bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; color: #fff; }

@media (max-width: 1060px) {
  .nav-inner { gap: .75rem; min-height: 62px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.25rem; }
  .menu-btn { display: grid; }
  .nav-search { display: none; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--ink); padding: .5rem 16px 1rem; border-top: 1px solid #2a312e; display: none; }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: .8rem 0; border-bottom: 1px solid #222826; }
  .nav-links a::after { display: none; }
}

/* =============================================================
   Portada
   ============================================================= */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 800; line-height: .95; letter-spacing: -0.025em; }
.v-red { color: var(--red); }
.v-blue { color: var(--blue); }
.v-yellow { color: var(--yellow); }
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--ink-soft); margin-top: 1.3rem; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.8rem; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust .ico { color: var(--copper); }

/* El ala: cinco plumas, una por categoría */
.wing { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; height: clamp(340px, 34vw, 460px); padding-top: 20px; }
.feather { --h: calc(100% - (var(--n) - 1) * 8%); position: relative; height: var(--h); display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 8px 8px 14px; background: var(--c); border-radius: var(--r) 48px var(--r) var(--r); overflow: hidden; color: #fff; transform-origin: bottom center; transform: rotate(calc((var(--n) - 3) * 1.6deg)); box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.feather:hover, .feather:focus-visible { transform: rotate(0deg) translateY(-10px); }
.feather img { width: 100%; flex: 1 1 0; min-height: 0; object-fit: cover; border-radius: 6px 38px 6px 6px; background: #fff; transition: transform .5s var(--ease); }
.feather.is-cut img { object-fit: contain; background: rgba(255, 255, 255, .14); padding: 6px; }
.feather:hover img { transform: scale(1.04); }
.feather-label { display: grid; gap: 2px; line-height: 1.1; padding: 0 4px; }
.feather-label b { font-family: var(--display); font-size: clamp(.82rem, 1.1vw, 1rem); font-weight: 700; }
.feather.cat-movilidad img { object-position: 62% 50%; }
.feather-label small { font-size: .72rem; opacity: .85; }
.cat-iluminacion.feather { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .wing { display: flex; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 6px 16px 14px; margin-inline: -16px; scrollbar-width: none; }
  .wing::-webkit-scrollbar { display: none; }
  .feather { flex: 0 0 150px; height: 220px; transform: none; scroll-snap-align: start; }
  .feather:hover { transform: translateY(-4px); }
}

/* =============================================================
   Secciones
   ============================================================= */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tint { background: var(--paper-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(22px, 3vw, 34px); }
.section-head h2, .wholesale h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }

/* Tarjetas de producto */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.item { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--feather); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.item-media { position: relative; display: block; aspect-ratio: 1; background: var(--paper-2); border-bottom: 5px solid var(--c); overflow: hidden; }
.item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.item-media.is-cut { background: var(--c); }
.item-media.is-cut img { object-fit: contain; padding: 9%; }
.item:hover .item-media img { transform: scale(1.04); }
.item-icon { width: 46%; height: 46%; margin: 27%; fill: none; stroke: var(--c); stroke-width: 1.3; }
.cat-ventilacion .item-media img { object-position: 50% 30%; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: .25rem .65rem; border-radius: 6px 14px 6px 6px; background: var(--red); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .03em; }
.badge-out { background: var(--ink); }
.item-body { display: flex; flex-direction: column; gap: .35rem; padding: .9rem 1rem 1rem; flex: 1; }
.item-cat { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.item-name { font-family: var(--sans); font-size: .98rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.item-name a:hover { color: var(--copper-ink); }
.item-tier { font-size: .8rem; color: var(--green); }
.item-foot { margin-top: auto; padding-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1; }
.price s { font-family: var(--sans); font-weight: 500; font-size: .82rem; color: var(--ink-mute); margin-left: .2rem; }
.price-ask { font-size: 1rem; color: var(--ink-mute); }
.btn-add { display: inline-flex; align-items: center; gap: .35rem; height: 40px; padding: 0 .9rem 0 .7rem; border-radius: 6px 18px 6px 6px; background: var(--ink); color: #fff; font-weight: 700; font-size: .86rem; transition: background .2s; }
.btn-add:hover { background: var(--c); }
.cat-iluminacion .btn-add:hover { color: var(--ink); }
.btn-add.is-added { background: var(--green); color: #fff; }
.btn-add:disabled { background: var(--line); color: var(--ink-mute); cursor: not-allowed; }
.btn-add .ico { width: 18px; height: 18px; }
.is-soldout .item-media img { filter: grayscale(.8); opacity: .7; }
.card-rating { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--ink-mute); }

@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .item { border-radius: var(--r) 26px var(--r) var(--r); }
  .item-body { padding: .7rem .75rem .8rem; }
  .item-name { font-size: .9rem; }
  .price { font-size: 1.15rem; }
  .item-foot { flex-wrap: wrap; }
  .btn-add { width: 100%; justify-content: center; }
}

/* Hand bike destacada */
.spot { background: var(--c); color: #fff; padding: clamp(44px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.spot::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .08); }
.spot-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; }
.spot-media { border-radius: var(--r) 80px var(--r) var(--r); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); aspect-ratio: 1; background: #fff; }
.spot-media img { width: 100%; height: 100%; object-fit: cover; }
.spot .kicker { color: #ffd9d4; }
.spot h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
.spot-copy > p { margin-top: 1rem; font-size: 1.08rem; color: #ffe9e6; max-width: 46ch; }
.spot-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.3rem; margin-top: 1.8rem; }
.spot-buy strong { font-family: var(--display); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.btn-link-light { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) { .spot-grid { grid-template-columns: 1fr; } .spot-media { max-width: 460px; } }

/* Congeladores */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.compare-card { display: grid; grid-template-columns: .9fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--feather); overflow: hidden; }
.compare-card.is-big { background: var(--ink); color: #fff; border-color: var(--ink); }
.compare-media { background: var(--c-soft); }
.compare-media img { width: 100%; height: 100%; object-fit: cover; }
.compare-body { padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; gap: .7rem; }
.compare-body h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.compare-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.compare-label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.is-big .compare-label { color: #8fb0ff; }
.checklist { display: grid; gap: .4rem; font-size: .93rem; }
.checklist li { display: flex; gap: .5rem; align-items: flex-start; }
.checklist .ico { width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }
.is-big .checklist .ico { color: #8fb0ff; }
.compare-foot { margin-top: auto; padding-top: .8rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.compare-foot strong { font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1; }
.is-big .btn-ink { background: var(--blue); }
@media (max-width: 960px) { .compare { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .compare-card { grid-template-columns: 1fr; } .compare-media { aspect-ratio: 4 / 3; } }

/* Precio por cantidad */
.wholesale { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--feather); border: 1px solid var(--line); }
.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-table th, .price-table td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); background: var(--paper); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody th { font-weight: 600; }
.price-table tbody th a:hover { color: var(--copper-ink); }
.price-table td { white-space: nowrap; }
.price-table td b { font-family: var(--display); font-size: 1.15rem; color: var(--green); }
.price-table td small { color: var(--ink-mute); }
@media (max-width: 860px) { .wholesale { grid-template-columns: 1fr; } }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); counter-reset: none; }
.steps li { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: var(--feather); display: grid; gap: .5rem; align-content: start; }
.steps span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.steps .cat-iluminacion span { color: var(--ink); }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--ink-soft); }
.steps a { color: var(--copper-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* =============================================================
   Pie de página
   ============================================================= */
.footer { background: var(--ink); color: #d4d8d6; padding: clamp(44px, 6vw, 72px) 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.footer-brand img { width: 132px; height: 132px; border-radius: 50%; margin-bottom: 1rem; }
.footer-brand p { max-width: 34ch; }
.footer h2 { color: #fff; font-size: 1.4rem; margin-bottom: 1rem; }
.wa-number { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.wa-number .ico { width: 24px; height: 24px; color: #43d17f; }
.wa-number:hover { color: var(--copper); }
.social { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; font-size: .9rem; }
.social-label { width: 100%; color: #9aa19e; }
.social a, .social span:not(.social-label) { padding: .3rem .8rem; border: 1px solid #39413e; border-radius: 6px 14px 6px 6px; color: #fff; }
.social a:hover { border-color: var(--copper); }
.footer-nav { display: grid; gap: .55rem; align-content: start; }
.footer-nav a:hover { color: var(--copper); }
.footer-legal { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid #262d2a; font-size: .84rem; color: #8b9390; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand img { width: 96px; height: 96px; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 26px -10px rgba(18, 140, 74, .8); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float .ico { width: 28px; height: 28px; }

/* Aviso */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; padding: .8rem 1.2rem; border-radius: var(--r) 18px var(--r) var(--r); background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); transition: transform .35s var(--ease), opacity .25s, visibility .25s; max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* =============================================================
   Carrito
   ============================================================= */
.cart { padding: 0; border: 0; margin: 0 0 0 auto; width: min(440px, 100%); max-width: 100%; height: 100%; max-height: 100%; background: var(--paper); color: var(--ink); }
.cart::backdrop { background: rgba(16, 19, 18, .55); }
.cart[open] { animation: slideIn .35s var(--ease); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.cart-panel { display: flex; flex-direction: column; height: 100%; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; background: var(--ink); color: #fff; }
.cart-head h2 { font-size: 1.5rem; }
.cart-head .icon-btn:hover { background: #262d2a; }
.cart-body { flex: 1; overflow-y: auto; padding: 1.2rem; display: grid; gap: 1rem; align-content: start; }
.cart-empty { color: var(--ink-mute); text-align: center; padding: 2rem 0; }
.cart-items { display: grid; gap: .6rem; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .8rem; align-items: center; padding: .7rem; border-radius: var(--r) 20px var(--r) var(--r); background: var(--white); border: 1px solid var(--line); }
.cart-item-icon { width: 56px; height: 56px; border-radius: var(--r); display: grid; place-items: center; overflow: hidden; background: var(--c); color: #fff; }
.cart-item-icon img { width: 100%; height: 100%; object-fit: cover; background: var(--paper-2); }
.cart-item-name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.cart-item-meta { font-size: .78rem; color: var(--ink-mute); }
.qty { display: inline-flex; align-items: center; gap: .25rem; margin-top: .35rem; }
.qty button { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); }
.qty button:hover { border-color: var(--ink); }
.qty .ico { width: 14px; height: 14px; }
.qty span { min-width: 24px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-item-price { font-family: var(--display); font-weight: 800; font-size: 1.05rem; text-align: right; display: grid; justify-items: end; gap: .3rem; }
.cart-item-price small { font-family: var(--sans); font-weight: 500; font-size: .78rem; color: var(--ink-mute); }
.cart-remove { font-family: var(--sans); font-size: .76rem; font-weight: 600; color: var(--ink-mute); text-decoration: underline; }
.cart-remove:hover { color: var(--red); }
.checkout { display: grid; gap: .8rem; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; padding: 1rem 1.1rem; border-radius: var(--r) 22px var(--r) var(--r); background: var(--ink); color: #fff; }
.cart-total strong { font-family: var(--display); font-size: 1.9rem; font-weight: 800; }
.cart-note { font-size: .84rem; color: #8a5a00; background: #fdf0d2; padding: .6rem .8rem; border-radius: var(--r); }
.checkout h3 { font-size: 1.1rem; margin-top: .6rem; }
.checkout label, .track-form label { display: grid; gap: .3rem; font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.checkout label small, .track-form label small { font-weight: 400; color: var(--ink-mute); }
.checkout input, .checkout select, .checkout textarea, .track-form input, .track-form textarea, .review-form textarea, .f-price input { width: 100%; padding: .75rem .85rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); outline: none; font-weight: 400; color: var(--ink); }
.checkout input:focus, .checkout select:focus, .checkout textarea:focus, .track-form input:focus, .track-form textarea:focus, .review-form textarea:focus, .f-price input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(184, 134, 79, .3); }
.checkout input.is-error { border-color: var(--red); }
.fact-type { display: flex; flex-wrap: wrap; gap: .4rem; }
.fact-type label { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; font-weight: 600; }
.fact-type label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.fact-type input { accent-color: var(--copper); }
.pay-brands { font-size: .78rem; color: var(--ink-mute); text-align: center; margin-top: -.3rem; }
.pay-msg { font-size: .86rem; padding: .6rem .8rem; border-radius: var(--r); background: #fbe4e1; color: #8f2219; }
.pay-or { text-align: center; font-size: .82rem; color: var(--ink-mute); display: flex; align-items: center; gap: .7rem; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cart-fine { font-size: .78rem; color: var(--ink-mute); text-align: center; }
.cart-fine a { text-decoration: underline; }

/* =============================================================
   Tienda
   ============================================================= */
.shop-top { background: var(--paper-2); padding: 1.4rem 0 1.2rem; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .84rem; color: var(--ink-mute); margin-bottom: .8rem; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.shop-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
.search { display: flex; align-items: center; gap: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r) 22px var(--r) var(--r); padding: 0 1rem; min-width: min(360px, 100%); }
.search input { flex: 1; border: 0; outline: none; background: transparent; padding: .8rem 0; min-width: 0; }
.search:focus-within { border-color: var(--ink); }
.search .ico { color: var(--ink-mute); }

fieldset { min-width: 0; }
.cat-pills { display: flex; gap: .5rem; overflow-x: auto; border: 0; padding: 1.2rem 0 .2rem; margin: 0; scrollbar-width: none; }
.cat-pills::-webkit-scrollbar { display: none; }
.pill { position: relative; flex: none; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 6px 20px 6px 6px; background: var(--white); border: 2px solid var(--line); font-weight: 700; font-size: .92rem; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.pill span .ico { width: 18px; height: 18px; color: var(--c); }
.pill i { font-style: normal; font-size: .76rem; font-weight: 600; opacity: .65; }
.pill:hover span { border-color: var(--c); }
.pill input:checked + span { background: var(--c); border-color: var(--c); color: #fff; }
.pill input:checked + span .ico { color: currentColor; }
.pill:not([class*="cat-"]) input:checked + span { background: var(--ink); border-color: var(--ink); }
.pill.cat-iluminacion input:checked + span { color: var(--ink); }
.pill input:focus-visible + span { outline: 3px solid var(--copper); outline-offset: 2px; }

.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 3vw, 36px); padding-top: 1.6rem; padding-bottom: 4rem; align-items: start; }
.shop-filters { position: sticky; top: 90px; display: grid; gap: 1.2rem; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.filters-head h2 { font-size: 1.3rem; }
.filters-close, .filters-apply, .filters-open { display: none !important; }
.f-group { border: 0; padding: 0; margin: 0; display: grid; gap: .4rem; }
.f-group legend { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .4rem; padding: 0; }
.f-opt { display: flex; align-items: center; gap: .55rem; font-size: .93rem; cursor: pointer; }
.f-opt input { width: 18px; height: 18px; accent-color: var(--ink); }
.f-opt span { margin-left: auto; font-size: .78rem; color: var(--ink-mute); }
.f-brands .is-extra { display: none; }
.f-brands.show-all .is-extra { display: flex; }
.f-price { display: flex; align-items: center; gap: .4rem; }
.f-price input { padding: .6rem .7rem; width: auto; flex: 1 1 0; min-width: 0; }
.f-note { font-size: .86rem; color: var(--ink-soft); padding: .9rem 1rem; border-radius: var(--feather); background: #dcf1eb; }
.f-note b { color: var(--green); }

.shop-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: .8rem; flex-wrap: wrap; }
.shop-showing { font-size: .88rem; color: var(--ink-mute); }
.shop-sort { margin-left: auto; display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--ink-mute); }
.shop-sort select { padding: .55rem .8rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); font-weight: 600; color: var(--ink); }
.shop-grid { grid-template-columns: repeat(3, 1fr); }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.active-filters:empty { display: none; }
.active-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600; }
.active-chip span { opacity: .7; }
.filters-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--copper); color: var(--ink); font-size: .72rem; }
.empty { text-align: center; padding: 3rem 1rem; display: grid; gap: .6rem; justify-items: center; background: var(--white); border: 1px dashed var(--line); border-radius: var(--feather); }
.more { text-align: center; margin-top: 1.6rem; }

@media (max-width: 1080px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .shop-layout { grid-template-columns: 1fr; padding-top: 1rem; }
  .filters-open { display: inline-flex !important; min-height: 42px; padding: .5rem 1rem; }
  .filters-close, .filters-apply { display: grid !important; }
  .filters-apply { display: flex !important; }
  .shop-filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 60; max-height: 85vh; overflow-y: auto; background: var(--paper); padding: 1.2rem 16px 1.4rem; border-radius: var(--r-big) var(--r-big) 0 0; box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .5); transform: translateY(105%); transition: transform .35s var(--ease); }
  .shop-filters.is-open { transform: none; }
  .shop-search { min-width: 100%; }
  .shop-sort { margin-left: 0; }
  .shop-showing { width: 100%; order: 3; }
}
@media (max-width: 720px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }

/* =============================================================
   Página de producto
   ============================================================= */
.pdp { padding: 1.4rem 0 4rem; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pdp-media { position: sticky; top: 90px; aspect-ratio: 1; border-radius: var(--r) 80px var(--r) var(--r); overflow: hidden; background: var(--paper-2); border-bottom: 8px solid var(--c); }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-media.cat-ventilacion img { object-fit: contain; }
.pdp-media.is-cut { background: var(--c); }
.pdp-media.is-cut img { object-fit: contain; padding: 8%; }
.pdp-icon { width: 40%; height: 40%; margin: 30%; fill: none; stroke: var(--c); stroke-width: 1.2; }
.pdp-info { display: grid; gap: 1rem; align-content: start; }
.pdp-info .kicker { margin-bottom: 0; }
.pdp-info h1 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; }
.pdp-rating { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--ink-soft); }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; }
.pdp-price strong { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; }
.pdp-price s { color: var(--ink-mute); }
.pdp-price .save { padding: .2rem .6rem; border-radius: 6px; background: #fbe4e1; color: var(--red); font-weight: 700; font-size: .84rem; }
.pdp-tier { padding: .7rem .9rem; border-radius: var(--r) 18px var(--r) var(--r); background: #dcf1eb; color: #075c4a; font-size: .95rem; }
.pdp-facts { display: grid; gap: .35rem; font-size: .93rem; }
.pdp-facts li { display: flex; align-items: center; gap: .45rem; }
.pdp-facts .is-ok { color: var(--green); font-weight: 600; }
.pdp-facts .is-low { color: #a66d00; font-weight: 600; }
.pdp-facts .is-out { color: var(--red); font-weight: 600; }
.pdp-desc { color: var(--ink-soft); padding: 1rem 1.1rem; border-left: 4px solid var(--c); background: var(--white); border-radius: 0 var(--r) var(--r) 0; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.pdp-actions .btn { flex: 1 1 200px; }
.pdp-secondary { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.pdp-trust { display: grid; gap: .6rem; padding: 1rem 1.1rem; border-radius: var(--feather); background: var(--paper-2); font-size: .9rem; }
.pdp-trust li { display: flex; align-items: center; gap: .6rem; }
.pdp-trust .ico { color: var(--copper-ink); }
.pdp-trust a { text-decoration: underline; }
.pdp-section { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 1rem; }
.pdp-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem; }
.pdp-section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.pdp-missing { padding: 5rem 0; display: grid; gap: 1rem; justify-items: start; }
.pdp-missing h1 { font-size: clamp(2rem, 4vw, 3rem); }
.pdp-missing .hero-actions { margin-top: .5rem; }
@media (max-width: 860px) {
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-media { position: relative; top: 0; border-radius: var(--r) 48px var(--r) var(--r); }
}

/* Estrellas y opiniones */
.stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.star { width: 15px; height: 15px; fill: #d8d2c6; stroke: none; }
.star.is-full { fill: var(--yellow); }
.star.is-half { fill: var(--yellow); opacity: .55; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--feather); }
.reviews { display: grid; gap: .8rem; }
.review { padding: 1.1rem 1.2rem; display: grid; gap: .5rem; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.verified { display: inline-flex; align-items: center; gap: .25rem; font-size: .78rem; font-weight: 600; color: var(--green); }
.verified .ico { width: 15px; height: 15px; }
.review small { color: var(--ink-mute); }
.review-form summary { cursor: pointer; padding: 1rem 1.2rem; list-style: none; color: var(--ink-soft); }
.review-form summary::-webkit-details-marker { display: none; }
.review-form summary b { color: var(--copper-ink); }
.review-form form { padding: 0 1.2rem 1.2rem; }
.grid-2-simple { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 560px) { .grid-2-simple { grid-template-columns: 1fr; } }
.star-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.star-input legend { font-size: .86rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .3rem; width: 100%; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; }
.star-input .star { width: 34px; height: 34px; transition: transform .2s var(--ease), fill .15s; }
.star-input label:hover .star, .star-input label:hover ~ label .star, .star-input input:checked ~ label .star { fill: var(--yellow); }
.star-input input:focus-visible + label .star { outline: 2px solid var(--copper); border-radius: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* =============================================================
   Gracias, transferencia y Mi pedido
   ============================================================= */
.thanks { min-height: 70vh; display: grid; place-items: center; padding: 48px 16px; background: var(--paper-2); }
.thanks-card { width: min(540px, 100%); padding: clamp(24px, 5vw, 40px); display: grid; gap: 1rem; justify-items: center; text-align: center; }
.thanks-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; color: #fff; background: var(--ink-mute); }
.thanks-icon.is-ok { background: var(--green); }
.thanks-icon.is-warn { background: var(--yellow); color: var(--ink); }
.thanks-card h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.thanks-items { width: 100%; display: grid; gap: .4rem; text-align: left; padding: .9rem 1rem; border-radius: var(--r); background: var(--paper); }
.thanks-items li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.thanks-total { border-top: 1px solid var(--line); padding-top: .5rem; margin-top: .2rem; font-weight: 700; }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.transfer-card { width: min(660px, 100%); justify-items: stretch; text-align: left; }
.transfer-card > h1, .transfer-card > .kicker, .transfer-card > .muted, .transfer-card > .thanks-icon { justify-self: start; }
.transfer-card .kicker { margin-bottom: 0; }
.transfer-amount { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem; padding: 1rem 1.2rem; border-radius: var(--r) 24px var(--r) var(--r); background: var(--ink); color: #fff; }
.transfer-amount span { font-size: .85rem; opacity: .8; }
.transfer-amount strong { grid-row: 2; font-family: var(--display); font-size: clamp(1.9rem, 6vw, 2.5rem); font-weight: 800; }
.transfer-amount .copy-btn { grid-row: 1 / span 2; grid-column: 2; background: var(--copper); color: var(--ink); }
.transfer-steps { display: grid; gap: .8rem; }
.transfer-steps > li { display: grid; grid-template-columns: 38px 1fr; gap: .9rem; padding: 1rem; border-radius: var(--r) 20px var(--r) var(--r); background: var(--paper); border: 1px solid var(--line); }
.step-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: #fff; background: var(--copper); }
.transfer-steps > li:nth-child(2) .step-num { background: var(--blue); }
.transfer-steps > li:nth-child(3) .step-num { background: var(--green); }
.transfer-steps > li:nth-child(4) .step-num { background: var(--red); }
.transfer-steps h2 { font-size: 1.15rem; margin-bottom: .3rem; }
.transfer-steps > li > div { display: grid; gap: .5rem; min-width: 0; }
.bank { display: grid; gap: .1rem; }
.bank > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.bank > div:last-child { border-bottom: 0; }
.bank dt { color: var(--ink-mute); font-size: .88rem; }
.bank dd { margin: 0; font-weight: 600; text-align: right; }
.bank-num { font-family: var(--display); font-size: 1.15rem; display: flex; align-items: center; gap: .5rem; }
.ref { font-family: var(--display); color: var(--copper-ink); }
.copy-btn { display: inline-flex; align-items: center; padding: .3rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700; font-family: var(--sans); background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.copy-btn:hover { border-color: var(--ink); }
.receipt-form { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.file-btn { position: relative; overflow: hidden; cursor: pointer; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.receipt-name { font-size: .85rem; flex: 1 1 140px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.transfer-alert { padding: .8rem 1rem; border-radius: var(--r); font-weight: 600; }
.transfer-alert.is-ok { background: #dcf1eb; color: #075c4a; }
.transfer-alert.is-error { background: #fbe4e1; color: #8f2219; }
.transfer-note { padding: .8rem 1rem; border-radius: var(--r); background: #fdf0d2; color: #7a4f00; font-size: .9rem; }
.transfer-summary summary { cursor: pointer; font-weight: 700; color: var(--copper-ink); padding: .3rem 0; }
.transfer-summary .thanks-items { margin-top: .5rem; }
.transfer-card a:not(.btn) { color: var(--copper-ink); text-decoration: underline; text-underline-offset: 2px; }
.track-form { display: grid; gap: .8rem; }
.timeline { display: grid; padding: .4rem 0; }
.timeline li { position: relative; display: flex; align-items: center; gap: .8rem; padding: .55rem 0; color: var(--ink-mute); font-weight: 500; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: -50%; height: 100%; width: 2px; background: var(--line); z-index: 0; }
.timeline li:first-child::before { display: none; }
.timeline .tl-dot { position: relative; z-index: 1; width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--line); font-size: .8rem; color: #fff; }
.timeline li.is-done { color: var(--ink); }
.timeline li.is-done .tl-dot { background: var(--green); border-color: var(--green); }
.timeline li.is-done::before, .timeline li.is-now::before { background: var(--green); }
.timeline li.is-now { color: var(--ink); font-weight: 700; }
.timeline li.is-now .tl-dot { border-color: var(--copper); background: var(--copper); box-shadow: 0 0 0 5px rgba(184, 134, 79, .2); }

/* =============================================================
   Políticas
   ============================================================= */
.policy { padding: 1.4rem 0 4rem; }
.policy-wrap { max-width: 820px; display: grid; gap: 1.2rem; }
.policy h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
.policy-block { padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--c); border-radius: var(--r) var(--r-big) var(--r) var(--r); display: grid; gap: .6rem; }
.policy-block h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.5rem; }
.policy-block h2 .ico { width: 26px; height: 26px; color: var(--c); }
.policy-block p, .policy-block li { color: var(--ink-soft); }
.policy-block ul { display: grid; gap: .5rem; padding-left: 1.1rem; list-style: disc; }

/* Movimiento: solo se reduce lo que se desplaza mucho */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cart[open], .cart-count.is-bump { animation: none; }
}
