/* =========================================================
   La Solución · Red Ferretera y Corralón
   Lenguaje de las piezas de Instagram: rojo sólido + negro + gris claro,
   titulares condensados, esquina roja, placa negra, botones píldora.
   Equilibrado: aire, jerarquía clara y tamaños medidos.
   ========================================================= */
:root {
    --rojo: #C8102E;
    --rojo-osc: #9E0B22;
    --negro: #141414;
    --carbon: #1e1e1e;
    --texto: #2b2b2b;
    --muted: #6a6a6a;
    --borde: #e3e3e3;
    --gris: #F1F1F1;
    --gris-2: #E8E8E8;
    --blanco: #fff;
    --amarillo: #EDE61B;
    --wa: #25D366;
    --r: 16px;
    --r-sm: 10px;
    --sombra: 0 2px 4px rgba(0,0,0,.04), 0 10px 26px rgba(0,0,0,.07);
    --sombra-lg: 0 4px 8px rgba(0,0,0,.05), 0 20px 44px rgba(0,0,0,.14);
    --f-titulo: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --f-sub: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --f-texto: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--f-texto); font-size: 17px; line-height: 1.55; color: var(--texto); background: var(--blanco); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select { font: inherit; }
strong, b { font-weight: 600; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--negro); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.text-red { color: var(--rojo); }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 2px; }

/* Zona superior más ancha: menos margen lateral (topbar, header, hero y tarjetas alineados) */
.topbar__in, .header__in, .hero__in, .hero__cats { max-width: 1560px; padding-inline: clamp(24px, 3.6vw, 64px); }

/* Esquina roja (recurso de las piezas de Instagram) */
.corner { position: relative; overflow: hidden; }
.corner::after { content: ''; position: absolute; top: 0; right: 0; width: 52px; height: 52px; background: var(--rojo); border-bottom-left-radius: 100%; z-index: 2; pointer-events: none; }

/* ---------- Logo (texto vivo; reemplazar por <img> del logo original) ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; transform: skewX(-6deg); }
.logo__top { font-family: var(--f-sub); font-weight: 800; font-style: italic; font-size: 23px; letter-spacing: .4px; color: var(--rojo); text-transform: uppercase; }
.logo__bottom { font-family: Georgia, 'Times New Roman', serif; font-weight: 900; font-size: 16px; letter-spacing: .5px; background: var(--amarillo); color: var(--negro); border: 2px solid var(--negro); padding: 1px 9px; margin-top: 1px; }
.logo--light .logo__top { color: #fff; }

/* ---------- Botones (píldora, como en las piezas) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border: 2px solid transparent; border-radius: 999px; font-family: var(--f-sub); font-weight: 500; font-size: 17px; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--primary, .btn--wa { background: var(--rojo); color: #fff; box-shadow: 0 6px 16px rgba(200,16,46,.28); }
.btn--primary:hover, .btn--wa:hover { background: var(--rojo-osc); }
.btn--dark { background: var(--negro); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn--ghost:hover { background: #fff; color: var(--rojo); }
.btn--ghost-dark { background: #fff; color: var(--negro); border-color: var(--borde); }
.btn--ghost-dark:hover { border-color: var(--negro); }
.btn--white { background: #fff; color: var(--rojo); }
.btn--white:hover { background: var(--negro); color: #fff; }
.btn--lg { padding: 15px 32px; font-size: 19px; }
.btn--sm { padding: 9px 18px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--negro); color: #d9d9d9; font-size: 13.5px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 36px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { color: #ff4d63; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__wa { color: #fff; font-weight: 500; }

/* ---------- Header / menú ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--borde); transition: box-shadow .2s; }
.header.is-stuck { box-shadow: var(--sombra); }
.header__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.header__logo { flex: none; }
.menu { display: flex; align-items: center; flex: 1; justify-content: center; }
.menu__list { display: flex; gap: 4px; }
.menu__link { display: block; padding: 8px 14px; font-family: var(--f-sub); font-weight: 500; font-size: 18px; text-transform: uppercase; letter-spacing: .5px; position: relative; color: var(--negro); transition: color .15s; }
.menu__link:hover { color: var(--rojo); }
.menu__link.is-active { color: var(--rojo); }
.menu__link.is-active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--rojo); border-radius: 3px; }
.menu__cta { display: none; }
.header__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--negro); }
.header__toggle .icon { width: 28px; height: 28px; }

/* ---------- Hero (banner de fondo + tarjetas de categorías destacadas superpuestas) ---------- */
.hero { position: relative; background: var(--rojo); color: #fff; margin-bottom: 70px; min-height: clamp(540px, 40vw, 760px); }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero__in { position: relative; z-index: 2; padding-block: clamp(36px, 3.4vw, 56px) 96px; }
.hero__text { max-width: 560px; }
.hero__kicker { display: inline-block; background: var(--negro); color: #fff; padding: 6px 16px; border-radius: 999px; font-family: var(--f-sub); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: 1.2px; }
.hero__title { font-family: var(--f-titulo); font-weight: 600; font-size: clamp(44px, 4.8vw, 78px); line-height: 1; letter-spacing: .5px; text-transform: uppercase; margin: 20px 0 16px; }
.hero__title span { display: inline-block; background: #fff; color: var(--negro); padding: 0 12px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.hero__lead { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.95); }
.hero__feats { display: flex; gap: 14px 24px; margin-top: 24px; }
.hero__feats li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.hero__feats span { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; }
.hero__feats .icon { width: 20px; height: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__actions .btn { white-space: nowrap; }
.hero .btn--wa { background: var(--negro); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.hero .btn--wa:hover { background: #000; }
.hero__sticker { position: absolute; top: clamp(24px, 3vw, 44px); right: clamp(20px, 4vw, 70px); margin: 0; background: #fff; color: var(--negro); padding: 14px 30px 12px; transform: rotate(-6deg); font-family: var(--f-titulo); font-weight: 600; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.05; text-transform: uppercase; text-align: left; letter-spacing: .3px; box-shadow: 0 10px 26px rgba(0,0,0,.22); clip-path: polygon(0 5%, 4% 0, 99% 3%, 100% 18%, 98% 100%, 3% 97%, 0 82%); }
.hero__sticker strong { position: relative; color: var(--rojo); font-weight: 600; font-size: 1.12em; display: inline-block; }
.hero__sticker strong::after { content: ''; position: absolute; left: -4px; right: -8px; bottom: -6px; height: 5px; background: var(--rojo); border-radius: 3px; transform: rotate(-1.5deg); }

/* Tarjetas de categorías destacadas: ancho fijo (1/6); si hay menos de 6 se centran */
.hero__cats { position: absolute; left: 50%; bottom: -62px; transform: translateX(-50%); z-index: 3; width: 100%; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hcat { --n: 6; position: relative; flex: 0 0 calc((100% - (var(--n) - 1) * 12px) / var(--n)); max-width: calc((100% - (var(--n) - 1) * 12px) / var(--n)); display: block; min-height: 108px; background: #fff; color: var(--negro); border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.2); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.hcat:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.25); }
.hcat img { position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 38%); mask-image: linear-gradient(to right, transparent 0, #000 38%); transition: transform .4s; }
.hcat:hover img { transform: scale(1.06); }
.hcat__text { position: relative; z-index: 1; height: 100%; min-height: 108px; max-width: 62%; padding: 14px 6px 12px 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; font-family: var(--f-titulo); font-weight: 600; font-size: 17px; line-height: 1.05; }
.hcat__text i { width: 26px; height: 26px; flex: none; display: grid; place-items: center; background: var(--rojo); color: #fff; border-radius: 50%; }
.hcat__text i .icon { width: 14px; height: 14px; stroke-width: 3; }

.checks { display: grid; gap: 10px; margin-top: 22px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.checks .icon { background: #fff; color: var(--rojo); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 3.2; }
.checks--dark .icon { background: var(--rojo); color: #fff; }

/* ---------- Franja de info rápida ---------- */
.strip { background: var(--gris); padding-top: 62px; margin-top: -70px; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 10px; }
.strip__item { display: flex; gap: 14px; padding: 18px 20px; align-items: center; justify-content: center; border-left: 1px solid #d3d3d3; color: var(--negro); }
.strip__item:first-child { border-left: 0; }
.strip__item > .icon { width: 38px; height: 38px; stroke-width: 1.6; }
.strip a.strip__item:hover h3 { color: var(--rojo); }
.strip h3 { font-family: var(--f-sub); font-weight: 500; font-size: 18px; text-transform: uppercase; letter-spacing: .3px; line-height: 1.1; }
.strip p { font-size: 13.5px; color: var(--muted); line-height: 1.3; margin-top: 2px; }

/* ---------- Secciones ---------- */
.section { padding-block: 80px; }
.section--tight { padding-block: 32px 64px; }
.section--grey { background: var(--gris); }
.section--dark { background: var(--negro); color: #fff; position: relative; overflow: hidden; }
.section--dark::before { content: ''; position: absolute; right: 0; top: 0; width: 120px; height: 120px; background: var(--rojo); border-bottom-left-radius: 100%; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; gap: 6px 24px; margin-bottom: 34px; position: relative; }
.section__head > .eyebrow { flex-basis: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-sub); font-weight: 500; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; color: var(--rojo); }
.eyebrow::before { content: ''; width: 26px; height: 3px; background: var(--rojo); border-radius: 3px; }
.section__title { font-family: var(--f-titulo); font-weight: 600; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.02; letter-spacing: .5px; text-transform: uppercase; color: var(--negro); }
.section__head .section__title { margin-right: auto; }
.section__tag { font-family: var(--f-sub); font-weight: 500; text-transform: uppercase; color: var(--muted); letter-spacing: .5px; }
.section--dark .section__title { color: #fff; }
.section--dark .eyebrow { color: #ff5a73; }
.section--dark .eyebrow::before { background: #ff5a73; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-sub); font-weight: 500; font-size: 17px; text-transform: uppercase; color: var(--rojo); letter-spacing: .5px; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow .icon { transition: transform .15s; }
.section--dark .link-arrow { color: #fff; }
.note { margin-top: 22px; color: var(--muted); font-size: 14px; }

/* ---------- Categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--borde); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.cat::after { content: ''; position: absolute; top: 0; right: 0; width: 44px; height: 44px; background: var(--rojo); border-bottom-left-radius: 100%; }
.cat:hover { box-shadow: var(--sombra-lg); transform: translateY(-3px); border-color: transparent; }
.cat img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--gris); }
.cat__info { padding: 14px 16px 16px; display: flex; flex-direction: column; border-top: 3px solid var(--negro); }
.cat__info strong { font-family: var(--f-titulo); font-weight: 600; font-size: 25px; line-height: 1.05; text-transform: uppercase; letter-spacing: .5px; color: var(--negro); }
.cat:hover .cat__info { border-top-color: var(--rojo); }
.cat__info small { color: var(--muted); font-size: 14px; }

/* ---------- Tarjeta de producto ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pgrid--shop { grid-template-columns: repeat(3, 1fr); }
.pgrid--offers { grid-template-columns: repeat(auto-fill, minmax(240px, 290px)); }
.pcard { background: #fff; color: var(--texto); border-radius: var(--r); overflow: hidden; border: 1px solid var(--borde); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pcard:hover { box-shadow: var(--sombra-lg); transform: translateY(-3px); border-color: transparent; }
.pcard__img { position: relative; display: block; aspect-ratio: 1; background: var(--gris); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__cat { font-family: var(--f-sub); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--rojo); }
.pcard__title { font-family: var(--f-sub); font-weight: 500; font-size: 20px; line-height: 1.15; color: var(--negro); }
.pcard__title a:hover { color: var(--rojo); }
.pcard__price { margin-block: 6px 12px; flex: 1; display: flex; align-items: baseline; flex-wrap: wrap; }
.pcard__price strong { font-family: var(--f-titulo); font-weight: 500; font-size: 34px; line-height: 1; letter-spacing: .5px; color: var(--negro); }
.pcard__price small { color: var(--muted); margin-left: 6px; font-size: 14px; }
.pcard__price .consultar, .product__price .consultar { font-family: var(--f-sub); font-weight: 500; font-size: 18px; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 3; background: var(--negro); color: #fff; font-family: var(--f-sub); font-weight: 500; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.badge--combo { background: var(--rojo); }
.badge--promo { background: var(--amarillo); color: var(--negro); }

.old { color: var(--muted); font-size: 14px; font-weight: 400; margin-left: 8px; text-decoration: line-through; }
.product__price .old { font-size: 20px; }

/* ---------- Banner ---------- */
.banner { position: relative; isolation: isolate; color: #fff; background: #c4002b; }
.banner__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.banner::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34%; height: 14px; background: var(--negro); clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%); }
.banner__in { padding-block: 84px; min-height: clamp(420px, 34vw, 560px); display: flex; align-items: center; }
.banner__box { max-width: 520px; }
.banner h2 { font-family: var(--f-titulo); font-weight: 600; font-size: clamp(40px, 4.6vw, 66px); line-height: 1; letter-spacing: .5px; text-transform: uppercase; }
.banner h2 span { display: inline-block; background: #fff; color: var(--negro); padding: 0 12px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.banner__sub { display: inline-block; margin: 16px 0 22px; background: var(--negro); padding: 5px 16px; border-radius: 6px; font-family: var(--f-sub); font-weight: 500; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; }
.icons-list { display: grid; gap: 12px; margin-bottom: 28px; }
.icons-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.icons-list span { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; }
.banner .btn--wa { background: var(--negro); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.banner .btn--wa:hover { background: #000; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media::before { content: ''; position: absolute; right: -14px; bottom: -14px; width: 60%; height: 60%; background: var(--rojo); border-radius: var(--r); z-index: -1; }
.about__media img { border-radius: var(--r); box-shadow: var(--sombra-lg); width: 100%; }
.about__text > * + * { margin-top: 16px; }
.about__text p { color: var(--muted); }
.about__text .btn { margin-top: 18px; }

/* ---------- Sucursales ---------- */
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.branch { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sombra); display: grid; grid-template-rows: auto 1fr; }
.branch__img { aspect-ratio: 16/9; background: var(--gris); }
.branch__img img { width: 100%; height: 100%; object-fit: cover; }
.branch__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.branch__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--rojo); color: #fff; font-family: var(--f-sub); font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; padding: 3px 14px; border-radius: 4px; }
.branch h3 { font-family: var(--f-titulo); font-weight: 600; font-size: 32px; line-height: 1; letter-spacing: .5px; text-transform: uppercase; color: var(--negro); }
.branch__addr { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.branch__addr .icon { color: var(--rojo); }
.hours { margin: 6px 0 12px; display: grid; gap: 2px; font-size: 15px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--borde); padding-block: 8px; }
.hours dt { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.hours dd { margin: 0; font-weight: 500; }
.branch__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Medios de pago ---------- */
.section--pay { background: #fff; padding-block: 64px; }
.pay { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.pay__text > * + * { margin-top: 10px; }
.pay__text p { color: var(--muted); }
.pay__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pay__list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 12px; background: var(--gris); border-radius: var(--r); font-family: var(--f-sub); font-weight: 500; font-size: 17px; text-transform: uppercase; line-height: 1.15; color: var(--negro); }
.pay__list span { width: 52px; height: 52px; display: grid; place-items: center; background: var(--rojo); color: #fff; border-radius: 14px; }
.pay__list .icon { width: 26px; height: 26px; }

/* ---------- CTA final ---------- */
.cta { padding-bottom: 80px; }
.cta__in { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: linear-gradient(120deg, #d3122f 0%, var(--rojo-osc) 100%); color: #fff; border-radius: 24px; padding: 46px 52px; }
.cta__in::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34%; height: 12px; background: var(--negro); clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%); }
.cta h2 { font-family: var(--f-titulo); font-weight: 600; font-size: clamp(32px, 4vw, 48px); line-height: 1; letter-spacing: .5px; text-transform: uppercase; }
.cta p { opacity: .95; margin-top: 8px; max-width: 520px; }
.cta .btn--wa { background: #fff; color: var(--rojo); box-shadow: none; }
.cta .btn--wa:hover { background: var(--negro); color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--negro); color: #bdbdbd; font-size: 15px; border-top: 5px solid var(--rojo); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 60px 40px; }
.footer__brand > * + * { margin-top: 16px; }
.footer__brand .logo { transform: skewX(-6deg) scale(1.05); transform-origin: left; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; background: #262626; border-radius: 50%; transition: background .15s; color: #fff; }
.footer__social a:hover { background: var(--rojo); }
.footer__title { font-family: var(--f-titulo); font-weight: 600; font-size: 24px; letter-spacing: .5px; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__list { display: grid; gap: 9px; }
.footer__list a:hover { color: #fff; text-decoration: underline; }
.footer__list--icons li { display: flex; gap: 10px; align-items: flex-start; }
.footer__list--icons .icon { color: #ff4d63; margin-top: 3px; }
.footer__bottom { border-top: 1px solid #2a2a2a; font-size: 13px; color: #8a8a8a; }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; display: grid; place-items: center; background: var(--wa); color: #fff; border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Páginas internas ---------- */
.pagehead { background: var(--negro); color: #fff; padding-block: 34px 44px; position: relative; overflow: hidden; }
.pagehead::after { content: ''; position: absolute; right: 0; top: 0; width: 110px; height: 110px; background: var(--rojo); border-bottom-left-radius: 100%; }
.pagehead h1 { font-family: var(--f-titulo); font-weight: 600; font-size: clamp(42px, 5.5vw, 66px); line-height: 1; letter-spacing: .5px; text-transform: uppercase; margin-top: 10px; }
.pagehead p { color: #c9c9c9; max-width: 620px; margin-top: 8px; }
.pagehead--slim { padding-block: 14px; background: var(--gris); color: var(--negro); }
.pagehead--slim::after { display: none; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: #b5b5b5; }
.pagehead--slim .crumbs { color: var(--muted); }
.crumbs a:hover { color: var(--rojo); }
.pagehead:not(.pagehead--slim) .crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .icon { width: 13px; height: 13px; }
.crumbs span { font-weight: 500; }
.pagehead--slim .crumbs span { color: var(--negro); }

/* ---------- Listado ---------- */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.shop__side { position: sticky; top: 96px; }
.shop__side-title { font-family: var(--f-titulo); font-weight: 600; font-size: 26px; letter-spacing: .5px; text-transform: uppercase; color: var(--negro); margin-bottom: 10px; }
.filters { display: grid; gap: 3px; }
.filters a { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; font-weight: 500; transition: background .15s; }
.filters a:hover { background: var(--gris); }
.filters a.is-active { background: var(--rojo); color: #fff; }
.filters em { font-style: normal; font-size: 13px; background: var(--gris); color: var(--muted); padding: 1px 9px; border-radius: 999px; }
.filters a.is-active em { background: rgba(255,255,255,.22); color: #fff; }
.side-help { margin-top: 24px; padding: 20px; border-radius: var(--r); background: var(--negro); color: #fff; display: grid; gap: 8px; position: relative; overflow: hidden; }
.side-help::after { content: ''; position: absolute; top: 0; right: 0; width: 38px; height: 38px; background: var(--rojo); border-bottom-left-radius: 100%; }
.side-help strong { font-family: var(--f-sub); font-size: 20px; text-transform: uppercase; line-height: 1.1; padding-right: 30px; }
.side-help p { font-size: 14px; color: #c9c9c9; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; padding: 12px; background: var(--gris); border-radius: var(--r); }
.toolbar__search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid transparent; border-radius: 999px; padding: 0 16px; color: var(--muted); }
.toolbar__search:focus-within { border-color: var(--rojo); }
.toolbar__search input { border: 0; outline: 0; padding: 11px 0; width: 100%; background: transparent; color: var(--texto); }
.toolbar__sort { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; color: var(--muted); }
.toolbar select { border: 2px solid transparent; border-radius: 999px; padding: 10px 14px; background: #fff; color: var(--texto); }
.shop__count { margin-bottom: 18px; color: var(--muted); }
.empty { text-align: center; padding: 60px 20px; background: var(--gris); border-radius: var(--r); display: grid; gap: 10px; justify-items: center; }
.empty h1, .empty h3 { font-family: var(--f-titulo); font-weight: 600; font-size: 38px; text-transform: uppercase; color: var(--negro); }

/* ---------- Producto ---------- */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.gallery__main { position: relative; background: var(--gris); border-radius: var(--r); overflow: hidden; border: 1px solid var(--borde); aspect-ratio: 1; }
.gallery__main::after { content: ''; position: absolute; top: 0; right: 0; width: 56px; height: 56px; background: var(--rojo); border-bottom-left-radius: 100%; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs button { width: 88px; height: 88px; padding: 0; border: 2px solid var(--borde); border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--gris); transition: border-color .15s; }
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { border-color: var(--rojo); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info > * + * { margin-top: 16px; }
.product__cat { font-family: var(--f-sub); font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; color: var(--rojo); }
.product__title { font-family: var(--f-titulo); font-weight: 600; font-size: clamp(38px, 4.4vw, 56px); line-height: 1; letter-spacing: .5px; text-transform: uppercase; color: var(--negro); margin-top: 4px !important; }
.product__brand { color: var(--muted); }
.product__price { padding: 14px 20px; background: var(--gris); border-left: 6px solid var(--rojo); border-radius: 6px 12px 12px 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.product__price strong { font-family: var(--f-titulo); font-weight: 500; font-size: 52px; line-height: 1; letter-spacing: .5px; color: var(--negro); }
.product__price > span { font-family: var(--f-sub); font-weight: 500; font-size: 19px; color: var(--muted); text-transform: uppercase; }
.product__price small { flex-basis: 100%; color: var(--muted); font-size: 14px; }
.product__lead { font-size: 18px; color: var(--muted); }
.product__actions { display: grid; gap: 10px; }
.product__perks { display: grid; gap: 10px; }
.product__perks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.product__perks .icon { color: var(--rojo); width: 22px; height: 22px; }
.product__branch { display: flex; gap: 12px; padding: 14px 16px; background: var(--negro); color: #e6e6e6; border-radius: var(--r-sm); font-size: 15px; }
.product__branch strong { color: #fff; }
.product__branch .icon { color: #ff4d63; width: 22px; height: 22px; margin-top: 2px; }
.detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.detail__title { font-family: var(--f-titulo); font-weight: 600; font-size: 32px; letter-spacing: .5px; text-transform: uppercase; color: var(--negro); margin-bottom: 12px; }
.detail p { color: var(--muted); }
.detail__meta { margin-top: 16px; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hero__cats { bottom: -110px; }
    .hcat { --n: 3; }
    .hero { margin-bottom: 120px; }
    .strip { margin-top: -120px; padding-top: 120px; }
    .hero__sticker { display: none; }
    .hero__text { max-width: 480px; }
    .pgrid { grid-template-columns: repeat(3, 1fr); }
    .pgrid--shop { grid-template-columns: repeat(2, 1fr); }
    .cats { grid-template-columns: repeat(3, 1fr); }
    .header__cta { display: none; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .topbar__hide-sm { display: none; }
    .header__in { justify-content: space-between; min-height: 66px; }
    .header__toggle { display: block; }
    .menu { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 84px 20px 24px; gap: 20px; transform: translateX(105%); transition: transform .25s; box-shadow: var(--sombra-lg); z-index: 70; }
    body.menu-open .menu { transform: none; }
    body.menu-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 65; }
    body.menu-open .header__toggle { position: fixed; right: 16px; top: 16px; z-index: 80; }
    .menu__list { flex-direction: column; gap: 0; }
    .menu__link { padding: 14px 6px; border-bottom: 1px solid var(--gris); font-size: 22px; }
    .menu__link.is-active::after { display: none; }
    .menu__cta { display: inline-flex; }
    .about, .pay, .product, .detail, .branches { grid-template-columns: 1fr; }
    .hero { margin-bottom: 0; background: linear-gradient(160deg, #d3122f, var(--rojo-osc)); }
    .hero__bg { position: relative; height: 240px; }
    .hero { min-height: 0; }
    .hero__text { max-width: none; }
    .hero__in { padding-block: 32px 36px; }
    .hero__feats { flex-wrap: wrap; }
    .hero__feats li { white-space: normal; }
    .hero__bg img { object-position: 60% center; }
    .hero__sticker { display: none; }
    .hero__cats { position: static; transform: none; padding-bottom: 28px; }
    .hcat { --n: 2; }
    .strip { margin-top: 0; padding-top: 0; }
    .strip__grid { grid-template-columns: 1fr 1fr; }
    .strip__item { justify-content: flex-start; }
    .strip__item:nth-child(3) { border-left: 0; }
    .shop { grid-template-columns: 1fr; }
    .shop__side { position: static; }
    .filters { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: thin; }
    .filters a { white-space: nowrap; gap: 8px; border: 1px solid var(--borde); border-radius: 999px; padding: 8px 14px; }
    .side-help { display: none; }
    .section { padding-block: 56px; }
    .about__media::before { display: none; }
    .banner__bg { position: relative; height: 220px; z-index: 0; }
    .banner__bg img { object-position: 70% center; }
    .banner__in { padding-block: 32px 44px; min-height: 0; }
    .banner::after { display: none; }
    .pay__list { grid-template-columns: repeat(2, 1fr); }
    .cta__in { padding: 34px 26px; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .topbar__item:first-child { font-size: 12px; }
    .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cat__info strong { font-size: 21px; }
    .pgrid, .pgrid--shop, .pgrid--offers { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pcard__body { padding: 12px; }
    .pcard__title { font-size: 18px; }
    .pcard__price strong { font-size: 26px; }
    .pcard .btn { padding: 8px 10px; font-size: 14px; }
    .footer__grid { grid-template-columns: 1fr; }
    .hero__actions { flex-wrap: wrap; }
    .hero__actions .btn { width: 100%; }
    .hcat, .hcat__text { min-height: 96px; }
    .strip__grid { grid-template-columns: 1fr; }
    .strip__item { border-left: 0; border-top: 1px solid #d3d3d3; }
    .strip__item:first-child { border-top: 0; }
    .product__price strong { font-size: 42px; }
    .cta__in .btn { width: 100%; }
    .topbar__in { justify-content: center; }
    .topbar__wa { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
