/* GPS - General Parts and Supplies */
@font-face { font-family: 'Masifa Cn'; font-style: italic; font-weight: 700; font-display: swap;
  src: url('../fonts/MasifaCn-BoldItalic.woff2') format('woff2'), url('../fonts/MasifaCn-BoldItalic.ttf') format('truetype'); }
@font-face { font-family: 'Masifa Cn'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/MasifaCn-Bold.woff2') format('woff2'), url('../fonts/MasifaCn-Bold.ttf') format('truetype'); }
:root {
  --masifa: 'Masifa Cn', 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --amarillo: #FFC20E;
  --amarillo-osc: #E5AC00;
  --negro: #121212;
  --gris-1: #f4f4f4;
  --gris-2: #e4e4e4;
  --gris-3: #8a8a8a;
  --texto: #1c1c1c;
  --wa: #25D366;
  --radio: 12px;
  --sombra: 0 6px 24px rgba(0,0,0,.12);
  --gutter: clamp(16px, 10.4vw, 240px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Barlow', system-ui, sans-serif; color: var(--texto); background: #fafafa; line-height: 1.45; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h2 { font-size: 1.4rem; font-style: italic; }
.wrap { width: calc(100% - 2 * var(--gutter)); margin-inline: auto; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--masifa); font-size: 1rem; letter-spacing: .02em; transition: .15s; }
.btn--primary { background: var(--amarillo); color: var(--negro); }
.btn--primary:hover { background: var(--amarillo-osc); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { filter: brightness(.93); }
.btn--ghost { background: #fff; border-color: var(--negro); color: var(--negro); }
.btn--ghost:hover { background: var(--negro); color: #fff; }
.btn--sm { padding: .4rem .9rem; font-size: .85rem; }
.btn--lg { padding: .8rem 1.4rem; font-size: 1.05rem; }

/* Barra de ofertas (marquesina) */
.ofertas { background: var(--negro); color: #fff; overflow: hidden; font-size: clamp(.7rem, .8vw, 1rem); letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.ofertas__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ofertas:hover .ofertas__track { animation-play-state: paused; }
.ofertas__item { padding: .55rem 4rem; white-space: nowrap; color: #fff; text-decoration: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Cabecera */
.topbar { background: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.topbar__in { display: flex; align-items: center; gap: 1.5rem; padding: .6rem 0; position: relative; }
.logo img { height: clamp(40px, 3.2vw, 62px); width: auto; }
.nav { display: flex; gap: clamp(1.2rem, 2.2vw, 3rem); margin-left: auto; }
.nav a { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; color: var(--negro); font-size: clamp(.9rem, 1.05vw, 1.3rem); padding: .3rem 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a.is-active { color: #F47B20; }
.tools { display: flex; align-items: center; gap: .4rem; margin-left: clamp(.5rem, 1.5vw, 2rem); }
.tool { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: var(--negro); cursor: pointer; border-radius: 50%; position: relative; text-decoration: none; }
.tool svg { width: 22px; height: 22px; }
.tool:hover { background: var(--gris-1); }
.tool__badge { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: #F47B20; color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.nav-toggle { display: none; border: 0; background: transparent; width: 40px; height: 40px; cursor: pointer; margin-left: auto; }
.nav-toggle svg { width: 26px; height: 26px; }
.topsearch { border-top: 1px solid var(--gris-2); background: #fff; }
.topsearch[hidden] { display: none; }
.topsearch .wrap { display: flex; gap: .5rem; padding: .6rem 0; }
.topsearch input { flex: 1; border: 2px solid var(--gris-2); border-radius: 999px; padding: .6rem 1rem; font: inherit; }
.topsearch input:focus { outline: 0; border-color: var(--amarillo); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; gap: 0; padding: .5rem 1rem 1rem; box-shadow: 0 10px 20px rgba(0,0,0,.1); }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--gris-2); }
  .tools { margin-left: 0; }
}

/* Hero */
.hero { padding: 3rem 0 2rem; }
.hero__text { max-width: 720px; }
.hero__text p { font-size: 1.1rem; color: #444; }
.hero__search { display: flex; gap: .5rem; margin: 1.2rem 0 .6rem; }
.hero__search input { flex: 1; padding: .85rem 1.1rem; border: 2px solid var(--gris-2); border-radius: 999px; font: inherit; font-size: 1.05rem; }
.hero__search input:focus { outline: 0; border-color: var(--amarillo); }
.hero__hint { font-size: .9rem; color: var(--gris-3); }

/* Secciones y grillas */
.section { padding: clamp(1.2rem, 2vw, 2.5rem) 0 clamp(1.8rem, 3vw, 3.5rem); }
.results__title small { font-size: 1rem; color: var(--gris-3); font-weight: 500; margin-left: .5rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .8rem; }
.cat { background: #fff; border: 1px solid var(--gris-2); border-left: 5px solid var(--amarillo); border-radius: var(--radio); padding: .9rem 1rem; text-decoration: none; display: flex; flex-direction: column; transition: .15s; }
.cat:hover { box-shadow: var(--sombra); }
.cat__name { font-weight: 700; }
.cat__count { font-size: .82rem; color: var(--gris-3); }
.empty { background: #fff; border: 1px dashed var(--gris-2); border-radius: var(--radio); padding: 2rem; text-align: center; }

/* Producto */
.crumbs { font-size: .9rem; color: var(--gris-3); padding: 1rem 0 .5rem; }
.crumbs a { color: var(--gris-3); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; background: #fff; border: 1px solid var(--gris-2); border-radius: var(--radio); padding: 1.5rem; }
@media (max-width: 800px) { .product { grid-template-columns: 1fr; } }
.product__main { border: 1px solid var(--gris-2); border-radius: var(--radio); overflow: hidden; aspect-ratio: 4/3; display: grid; place-items: center; }
.product__main img { width: 100%; height: 100%; object-fit: contain; }
.product__thumbs { display: flex; gap: .5rem; margin-top: .6rem; }
.product__thumbs button { border: 2px solid var(--gris-2); border-radius: 8px; padding: 0; width: 64px; height: 64px; overflow: hidden; cursor: pointer; background: #fff; }
.product__thumbs button.is-active { border-color: var(--amarillo); }
.product__code { font-weight: 700; color: var(--amarillo-osc); }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 1rem 0; font-size: .95rem; }
.specs dt { font-weight: 600; color: #555; }
.specs dd { margin: 0; }
.product__note { font-size: .9rem; background: var(--gris-1); padding: .6rem .8rem; border-radius: 8px; }
.product__note a { margin-right: .4rem; font-weight: 600; }
.product__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.product__small { font-size: .82rem; color: var(--gris-3); }


/* ===== Chatbot ===== */
.chat-launcher { position: fixed; right: 20px; bottom: 20px; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--negro); padding: 10px; cursor: pointer; z-index: 40; box-shadow: var(--sombra); transition: transform .15s; }
.chat-launcher:hover { transform: scale(1.06); }
.chat-launcher img { width: 100%; height: 100%; }
.chat { position: fixed; right: 20px; bottom: 116px; width: min(420px, calc(100vw - 32px)); height: min(640px, calc(100vh - 140px)); background: #fff; border-radius: 18px; box-shadow: 0 14px 50px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden; z-index: 40; }
.chat[hidden] { display: none; }
.chat__head { background: var(--negro); padding: .8rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.chat__head img { height: 44px; width: auto; }
.chat__head-btns button { background: transparent; border: 0; color: #fff; font-size: 1.1rem; cursor: pointer; padding: .2rem .5rem; }
.chat__body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; background: #fff; }
.chat__input { display: flex; gap: .5rem; padding: .7rem .9rem; border-top: 1px solid var(--gris-2); }
.chat__input input { flex: 1; border: 1px solid var(--gris-2); border-radius: 999px; padding: .65rem 1rem; font: inherit; }
.chat__input input:focus { outline: 0; border-color: var(--amarillo); }
.chat__input button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--negro); color: #fff; font-size: 1.1rem; cursor: pointer; }

.msg { display: flex; gap: .6rem; align-items: flex-start; max-width: 100%; }
.msg--user { flex-direction: row-reverse; }
.msg__avatar { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--amarillo); display: grid; place-items: center; overflow: hidden; }
.msg__avatar img { width: 36px; height: 36px; }
.msg__bubble { background: var(--gris-1); border-radius: 16px; padding: .8rem 1rem; font-size: .97rem; max-width: 82%; }
.msg--user .msg__bubble { background: var(--amarillo); }
.msg__bubble p { margin: 0 0 .3rem; }
.msg__bubble p:last-child { margin: 0; }
.msg__bubble.is-typing span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gris-3); margin-right: 4px; animation: blink 1s infinite; }
.msg__bubble.is-typing span:nth-child(2) { animation-delay: .2s; }
.msg__bubble.is-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.chat__q { font-style: italic; font-weight: 700; margin: .3rem 0 0; font-size: 1.05rem; }
.opts { display: flex; flex-direction: column; gap: .5rem; }
.opts--wrap { flex-direction: row; flex-wrap: wrap; }
.opt { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--gris-2); border-radius: 12px; padding: .75rem .9rem; font: inherit; font-weight: 600; cursor: pointer; transition: .12s; text-decoration: none; color: var(--texto); }
.opt:hover, .opt.is-primary { background: var(--amarillo); border-color: var(--amarillo); }
.opt svg { width: 20px; height: 20px; flex: 0 0 20px; }
.opt::after { content: '›'; margin-left: auto; font-size: 1.2rem; color: #666; }
.opts--wrap .opt { width: auto; padding: .45rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 500; }
.opts--wrap .opt::after { content: none; }
.opt--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.opt--wa:hover { background: #1fb457; border-color: #1fb457; }
.opt--wa::after { content: none; }
.opt--back { color: var(--gris-3); font-weight: 500; border-style: dashed; }
.opt--back::after { content: none; }

.pcard { display: flex; gap: .7rem; background: #fff; border: 1px solid var(--gris-2); border-radius: 12px; padding: .6rem; }
.pcard img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; flex: 0 0 76px; }
.pcard__body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.pcard__code { font-size: .78rem; font-weight: 700; color: var(--amarillo-osc); }
.pcard__title { font-weight: 600; font-size: .95rem; }
.pcard__meta { font-size: .78rem; color: var(--gris-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__btns { display: flex; gap: .4rem; margin-top: .3rem; flex-wrap: wrap; }
.pcard__btns a, .pcard__btns button { font: inherit; font-size: .78rem; font-weight: 600; border-radius: 999px; padding: .3rem .7rem; border: 1.5px solid var(--negro); background: #fff; text-decoration: none; cursor: pointer; color: var(--negro); }
.pcard__btns .wa { background: var(--wa); border-color: var(--wa); color: #fff; }

.track { background: #fff; border: 1px solid var(--gris-2); border-radius: 12px; padding: .8rem; }
.track__state { font-weight: 700; font-size: 1.05rem; }
.track__meta { font-size: .85rem; color: var(--gris-3); margin: .2rem 0 .6rem; }
.track ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--amarillo); }
.track li { padding: 0 0 .5rem .8rem; font-size: .85rem; position: relative; }
.track li::before { content: ''; position: absolute; left: -7px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--amarillo); }
.track li b { display: block; }
.track li time { color: var(--gris-3); }

/* ===== Landing ===== */
.eyebrow { display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #F47B20; font-size: .8rem; margin-bottom: .5rem; }
.hero--landing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: 2.5rem 0; }
.hero__img img { border-radius: 18px; box-shadow: var(--sombra); aspect-ratio: 16/10; object-fit: cover; }
.hero__links { display: flex; gap: 1.2rem; flex-wrap: wrap; font-weight: 600; font-size: .95rem; }
@media (max-width: 860px) { .hero--landing { grid-template-columns: 1fr; } .hero__img { order: -1; } }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.section__head a { font-weight: 600; }
.nosotros { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center; background: #fff; border: 1px solid var(--gris-2); border-radius: var(--radio); padding: 2rem; }
.nosotros__img img { border-radius: var(--radio); }
.checks { list-style: none; padding: 0; margin: 1rem 0 0; }
.checks li { padding-left: 1.6rem; position: relative; margin-bottom: .5rem; }
.checks li::before { content: '\2714'; position: absolute; left: 0; color: #F47B20; font-weight: 700; }
.contacto { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 860px) { .nosotros, .contacto { grid-template-columns: 1fr; } }

/* ===== Formularios ===== */
.form { display: flex; flex-direction: column; gap: .8rem; }
.form--card { max-width: 480px; margin: 2rem auto; background: #fff; border: 1px solid var(--gris-2); border-radius: var(--radio); padding: 2rem; }
.form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .9rem; }
.form input, .form textarea, .form select, .inline select { border: 1.5px solid var(--gris-2); border-radius: 10px; padding: .6rem .8rem; font: inherit; font-weight: 400; background: #fff; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; border-color: var(--amarillo); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form__btns { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-top: .4rem; }
.form .check { flex-direction: row; align-items: center; gap: .5rem; }
.form .check input { width: 18px; height: 18px; }
.auth h1 { margin-bottom: .2rem; }
.muted { color: var(--gris-3); }
.flash { padding: .8rem 1rem; border-radius: 10px; margin: 1rem 0; font-weight: 500; }
.flash--ok { background: #e6f7ec; color: #1b6b3a; }
.flash--error { background: #fdecec; color: #a12a2a; }
.inline { display: inline-flex; gap: .4rem; align-items: center; }
.link-btn { background: none; border: 0; color: #a12a2a; cursor: pointer; font: inherit; font-size: .85rem; text-decoration: underline; }
.btn--danger { background: #fdecec; color: #a12a2a; }
.qty { width: 80px; text-align: center; border: 1.5px solid var(--gris-2); border-radius: 10px; padding: .5rem; font: inherit; }
.qty-box label { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; }

/* ===== Tablas, paneles, badges ===== */
.panel { background: #fff; border: 1px solid var(--gris-2); border-radius: var(--radio); padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; }
.panel h2 { font-style: normal; font-size: 1.2rem; }
.tabla { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tabla th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gris-3); padding: .5rem .6rem; border-bottom: 2px solid var(--gris-2); }
.tabla td { padding: .6rem; border-bottom: 1px solid var(--gris-2); vertical-align: middle; }
.tabla .mini { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.tabla .acciones, .section__head .acciones { display: flex; gap: .4rem; flex-wrap: wrap; }
.acciones form { display: inline; }
.badge { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--gris-1); color: #444; }
.badge--btn { border: 0; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 700; }
.badge--registrado, .badge--nueva { background: #fff3cd; color: #7a5a00; }
.badge--preparando { background: #e7f0ff; color: #1f4e9c; }
.badge--en_transito, .badge--atendida { background: #e0f2fe; color: #075985; }
.badge--en_reparto { background: #ede9fe; color: #5b21b6; }
.badge--entregado, .badge--cerrada { background: #e6f7ec; color: #1b6b3a; }
.badge--incidencia { background: #fdecec; color: #a12a2a; }
.timeline { list-style: none; margin: .5rem 0 1rem; padding: 0; border-left: 2px solid var(--amarillo); }
.timeline li { padding: 0 0 .8rem .9rem; position: relative; font-size: .92rem; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--amarillo); }
.timeline li b { display: block; }
.timeline li time { display: block; color: var(--gris-3); font-size: .82rem; }

/* Cuenta, carrito, seguimiento, catálogo, pie */
.cuenta__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.cuenta__btns { display: flex; gap: .5rem; }
.cuenta__grid, .carrito { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 860px) { .cuenta__grid, .carrito { grid-template-columns: 1fr; } }
.carrito__btns { display: flex; gap: .5rem; margin-top: .8rem; }
.carrito__enviar { display: flex; flex-direction: column; gap: .8rem; }
.carrito__enviar label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .9rem; }
.carrito__enviar textarea { border: 1.5px solid var(--gris-2); border-radius: 10px; padding: .6rem .8rem; font: inherit; }
.pedido { background: #fff; border: 1px solid var(--gris-2); border-radius: var(--radio); padding: 1.5rem; margin-top: 1rem; }
.pedido__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pedido__code { font-weight: 700; color: #F47B20; }
.pedido h3 { margin-top: 1.2rem; font-size: 1rem; }
.seguimiento .hero__search { max-width: 560px; }
.toast { position: fixed; left: 50%; bottom: 120px; transform: translateX(-50%); background: var(--negro); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; z-index: 50; box-shadow: var(--sombra); animation: toast .25s ease-out; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 10px); } }
.pcard__btns .add { background: var(--amarillo); border-color: var(--amarillo); }
.track ul { margin: .4rem 0; padding-left: 1.1rem; font-size: .85rem; }

/* ===== Hero principal (parte 1) ===== */
.hero1 { position: relative; overflow: hidden; height: clamp(420px, 41.5vw, 820px); width: 100vw; margin-left: calc(50% - 50vw); display: grid; align-items: center; background: #fff url('../../imagenes/fondo_parte1.svg') left top / cover no-repeat; }
.hero1__slider { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.hero1__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero1__slide.is-active { opacity: 1; }
.hero1__slide img { width: 100%; height: 100%; object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 18%, #000 42%); mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 18%, #000 42%); }
.hero1__content { position: relative; z-index: 2; padding: 2rem 0; }
.hero1__eyebrow { font-family: 'Barlow', sans-serif; text-transform: uppercase; letter-spacing: .22em; font-size: clamp(.75rem, 1.1vw, 1.35rem); font-weight: 500; color: #333; line-height: 1.6; margin: 0 0 1.2rem; }
.hero1__title { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 5.4rem); line-height: 1; letter-spacing: -.01em; color: var(--negro); margin: 0 0 1.2em; margin-bottom: clamp(1rem, 1.8vw, 2.2rem); }
.hero1__text { font-family: 'Barlow', sans-serif; font-size: clamp(.85rem, 1.1vw, 1.35rem); color: #333; line-height: 1.55; margin: 0 0 clamp(1.2rem, 2.4vw, 3rem); }
.hero1__btns { display: flex; gap: clamp(1rem, 2.6vw, 3rem); flex-wrap: wrap; }
.btn-m { font-family: var(--masifa); font-weight: 700; font-size: clamp(.9rem, 1vw, 1.25rem); letter-spacing: .02em; text-decoration: none; padding: .7em 2.6em; border-radius: 6px; border: 2px solid transparent; transition: .15s; }
.btn-m--yellow { background: var(--amarillo); color: var(--negro); }
.btn-m--yellow:hover { background: var(--amarillo-osc); }
.btn-m--outline { background: #fff; color: var(--negro); border-color: var(--negro); }
.btn-m--outline:hover { background: var(--negro); color: #fff; }
.hero1__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border: 0; background: transparent; color: var(--negro); font-size: 1.6rem; cursor: pointer; opacity: .7; }
.hero1__arrow:hover { opacity: 1; }
.hero1__arrow--prev { left: clamp(8px, 2.6vw, 60px); }
.hero1__arrow--next { right: clamp(8px, 2.6vw, 60px); color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.hero1__dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: .5rem; }
.hero1__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(0,0,0,.25); cursor: pointer; padding: 0; }
.hero1__dots button.is-active { background: var(--amarillo); }
@media (max-width: 900px) {
  .hero1 { min-height: 0; height: auto; display: block; }
  .hero1__slider { position: relative; width: 100%; height: clamp(190px, 50vw, 300px); }
  .hero1__slide img { -webkit-mask-image: none; mask-image: none; object-position: center; }
  .hero1__content { padding: 1.5rem 0 2rem; }
  .hero1__eyebrow { margin-bottom: .7rem; }
  .hero1__title { font-size: clamp(1.7rem, 7.6vw, 2.7rem); line-height: 1.05; margin-bottom: 1rem; overflow-wrap: break-word; }
  .hero1__text { font-size: clamp(.9rem, 3.6vw, 1.1rem); margin-bottom: 1.4rem; }
  .hero1__title br, .hero1__text br, .hero1__eyebrow br { display: none; }
  .hero1__btns { flex-direction: column; gap: .7rem; }
  .hero1__btns .btn-m { width: 100%; text-align: center; }
  .hero1__arrow { top: clamp(95px, 25vw, 150px); }
  .hero1__arrow--prev { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
}

/* ===== Buscador de la portada ===== */
.buscador { padding: clamp(1.4rem, 2.6vw, 3rem) 0 1rem; }
.buscador__box { display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.08); padding: clamp(.8rem, 1.2vw, 1.4rem) clamp(1rem, 1.6vw, 2rem); }
.buscador__icon { color: var(--gris-3); display: grid; place-items: center; }
.buscador__icon svg { width: 20px; height: 20px; }
.buscador__box input { flex: 1; border: 0; font: inherit; font-size: clamp(.9rem, 1vw, 1.2rem); padding: .5rem 0; }
.buscador__box input:focus { outline: 0; }
.buscador__box .btn-m { padding: .55rem 2.6rem; text-transform: uppercase; font-size: .95rem; }
@media (max-width: 600px) { .buscador__box { flex-wrap: wrap; } .buscador__box .btn-m { width: 100%; text-align: center; } }

/* Títulos de sección estilo maqueta */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.sec-title { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 2.2vw, 2.8rem); margin: 0; color: var(--negro); }
.sec-link { font-weight: 700; font-size: clamp(.8rem, .9vw, 1.1rem); text-decoration: underline; color: var(--negro); display: inline-flex; align-items: center; gap: .4rem; }
.sec-link span { text-decoration: none; }

/* ===== Tarjeta de producto ===== */
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.6vw, 2rem); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid--4 { grid-template-columns: 1fr; } }
.card { background: #f3f3f3; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: .15s; }
.card:hover { box-shadow: var(--sombra); transform: translateY(-2px); }
.card__img { display: block; margin: 1rem 1rem 0; background: #fff; border-radius: 6px; aspect-ratio: 4/3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.card__code { font-family: var(--masifa); font-style: italic; font-weight: 700; color: #F47B20; font-size: .95rem; }
.card__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 .3rem; }
.card__title a { text-decoration: none; }
.card__specs { list-style: none; margin: 0 0 .8rem; padding: 0; font-size: .82rem; font-style: italic; color: #6b6b6b; display: flex; flex-direction: column; gap: .15rem; }
.card__specs li { display: flex; align-items: center; gap: .35rem; }
.card__specs svg { width: 12px; height: 12px; flex: 0 0 12px; opacity: .6; }
.card__btns { display: flex; gap: .5rem; margin-top: auto; align-items: stretch; }
.btn-m--sm { flex: 1; display: flex; justify-content: space-between; align-items: center; padding: .5rem 1rem; font-size: .95rem; border-radius: 4px; }
.card__add { width: 40px; border: 2px solid var(--negro); background: #fff; border-radius: 4px; font-family: var(--masifa); font-size: 1.3rem; font-weight: 700; cursor: pointer; color: var(--negro); }
.card__add:hover { background: var(--negro); color: #fff; }

/* ===== Banner "Repuestos que mantienen el trabajo en marcha" ===== */
.banner1 { position: relative; width: 100vw; margin-left: calc(50% - 50vw); background: #0E0F0F; overflow: hidden; min-height: clamp(170px, 14.2vw, 290px); margin-top: 1rem; margin-bottom: 1rem; }
.banner1__img { position: absolute; top: 0; bottom: 0; right: 0; width: 64%; height: 100%; object-fit: cover; object-position: right center; }
.banner1__in { position: relative; z-index: 1; width: calc(100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 37% 1px 1fr; align-items: center; gap: clamp(1rem, 2.6vw, 3.4rem); min-height: clamp(170px, 14.2vw, 290px); padding: 1.2rem 0; }
.banner1__title { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; color: #F2B705; font-size: clamp(1.3rem, 2.3vw, 2.9rem); line-height: 1.1; text-align: right; margin: 0; }
.banner1__line { width: 1px; height: clamp(90px, 9.5vw, 190px); background: #fff; }
.banner1__text h3 { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(.95rem, 1.15vw, 1.5rem); margin: 0 0 .5rem; }
.banner1__text p { font-family: 'Barlow', sans-serif; font-style: italic; color: #fff; font-size: clamp(.8rem, 1.05vw, 1.3rem); line-height: 1.55; margin: 0; }
@media (max-width: 860px) {
  .banner1__img { width: 100%; opacity: .45; }
  .banner1__in { grid-template-columns: 1fr; gap: 1rem; text-align: left; }
  .banner1__title { text-align: left; }
  .banner1__line { width: 60px; height: 2px; }
  .banner1__title br, .banner1__text br { display: none; }
}

/* ===== Categorías destacadas ===== */
.catrow { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(.6rem, 1vw, 1.2rem); }
@media (max-width: 1000px) { .catrow { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .catrow { grid-template-columns: repeat(2, 1fr); } }
.catcard { background: #f3f3f3; border-radius: 6px; padding: .6rem; text-decoration: none; display: flex; flex-direction: column; gap: .5rem; transition: .15s; }
.catcard:hover { box-shadow: var(--sombra); transform: translateY(-2px); }
.catcard__img { display: block; background: #fff; border-radius: 4px; aspect-ratio: 1; overflow: hidden; }
.catcard__img img { width: 100%; height: 100%; object-fit: cover; }
.catcard__name { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .82rem; color: var(--negro); }
.catcard__name b { font-size: .9rem; }

/* ===== Nosotros ===== */
/* ===== Soluciones para cada industria ===== */
.industrias { width: 100vw; margin-left: calc(50% - 50vw); margin-top: 1.5rem; padding: clamp(1.8rem, 3vw, 3.6rem) 0 clamp(2rem, 3.4vw, 4rem);
  background: #F6F6F6 url('../../imagenes/fondo_parte1.svg') left top / cover no-repeat; }
.industrias__eyebrow { font-family: 'Barlow', sans-serif; text-transform: uppercase; letter-spacing: .22em; font-size: clamp(.72rem, .95vw, 1.2rem); font-weight: 500; color: #333; margin: 0 0 1rem .4rem; }
.industrias__title { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: clamp(1.8rem, 3.2vw, 4rem); line-height: 1.08; color: var(--negro); margin: 0 0 clamp(1.2rem, 2vw, 2.4rem); }
.industrias__title span { color: #F2B705; }
.industrias__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem, 1vw, 1.1rem); }
.indcard { position: relative; display: flex; flex-direction: column; justify-content: center; gap: .15em; aspect-ratio: 664 / 261; border-radius: 4px; overflow: hidden; color: #fff; text-decoration: none;
  padding: 0 clamp(.8rem, 1.6vw, 2rem); background: #222 var(--img) center / cover no-repeat; isolation: isolate; }
.indcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 42%, rgba(0,0,0,0) 72%); }
.indcard:hover { color: #fff; }
.indcard:hover::before { background: linear-gradient(to right, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.05) 75%); }
.indcard__num { font-family: var(--masifa); font-style: italic; font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.9rem); color: #F2B705; line-height: 1; }
.indcard__name { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: clamp(1.2rem, 1.9vw, 2.4rem); line-height: 1.02; margin: .15em 0 .35em; }
.indcard__desc { font-family: 'Barlow', sans-serif; font-size: clamp(.7rem, .9vw, 1.15rem); line-height: 1.3; font-weight: 400; }
@media (max-width: 700px) { .industrias__grid { grid-template-columns: 1fr; } .industrias__title br { display: none; } }

.nosotros1 { position: relative; overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw); min-height: clamp(380px, 44vw, 860px); margin-top: 1.5rem; display: grid; align-items: center;
  background: #fff url('../../imagenes/fondo_parte1.svg') left top / cover no-repeat; }
.nosotros1__img { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; height: 100%; object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.4) 15%, #000 38%); mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.4) 15%, #000 38%); }
.nosotros1__content { position: relative; z-index: 1; padding: 2.2rem 0 2.5rem; }
.nosotros1__eyebrow { font-family: 'Barlow', sans-serif; text-transform: uppercase; letter-spacing: .22em; font-size: clamp(.75rem, 1vw, 1.25rem); font-weight: 500; color: #222; margin: 0 0 1.2rem; }
.nosotros1__title { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 4.2rem); line-height: 1.08; color: var(--negro); margin: 0 0 clamp(1.2rem, 2vw, 2.4rem); }
.nosotros1__title span { color: #FF5000; }
.nosotros1__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(.9rem, 1.6vw, 2rem); }
.nosotros1__items li { display: flex; align-items: center; gap: 1rem; font-family: 'Barlow', sans-serif; font-weight: 600; font-size: clamp(.9rem, 1.1vw, 1.35rem); line-height: 1.3; color: var(--negro); }
.nosotros1__items img { width: clamp(38px, 3.4vw, 60px); height: clamp(38px, 3.4vw, 60px); flex: 0 0 auto; object-fit: contain; }
@media (max-width: 860px) {
  .nosotros1 { min-height: 0; }
  .nosotros1__img { position: relative; width: 100%; height: 240px; display: block; -webkit-mask-image: none; mask-image: none; }
  .nosotros1__title br { display: none; }
}

/* ===== Lo que nos mueve ===== */
.valores { position: relative; width: 100vw; margin-left: calc(50% - 50vw); background: #f2f2f2; padding: 2.5rem 0 2.2rem; margin-top: 1.5rem; text-align: center; }
.valores::before { content: ''; position: absolute; left: 0; top: 0; width: 70px; height: 4px; background: #F47B20; }
.sec-title--center { text-align: center; }
.valores__sub { font-style: italic; font-size: .92rem; color: #333; margin: .3rem 0 1.6rem; }
.valores__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.valores__list li { padding: .6rem 1rem; border-left: 1px solid #cfcfcf; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.valores__list li:first-child { border-left: 0; }
.valores__list img { width: clamp(48px, 4vw, 72px); height: clamp(48px, 4vw, 72px); object-fit: contain; }
.valores__list h3 { font-style: italic; font-weight: 700; font-size: 1.05rem; margin: .3rem 0 0; }
.valores__list p { font-style: italic; font-size: .85rem; color: #333; margin: 0; line-height: 1.4; }
@media (max-width: 760px) { .valores__list { grid-template-columns: 1fr 1fr; gap: 1rem 0; } .valores__list li:nth-child(3) { border-left: 0; } }

/* ===== Cifras ===== */
.cifras { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 2.2rem 0 1.6rem; }
.cifras strong { display: block; font-family: var(--masifa); font-style: italic; font-weight: 700; color: #FF5000; font-size: clamp(1.8rem, 2.4vw, 3.2rem); line-height: 1; }
.cifras span { font-size: .85rem; color: #222; }

/* ===== Equipo + misión / visión ===== */
.equipo { width: 100vw; margin-left: calc(50% - 50vw); display: grid; grid-template-columns: 58% minmax(0, 1fr); gap: clamp(1.5rem, 3.6vw, 5rem); align-items: stretch; padding: 1rem var(--gutter) 2.5rem 0; }
.equipo__card { position: relative; min-height: clamp(300px, 24vw, 460px); background: #0E0F0F; border-radius: 4px; overflow: hidden; }
.equipo__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.equipo__txt { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.1rem, 3vw, 3.2rem); max-width: 60%; color: #fff; }
.equipo__eyebrow { display: flex; align-items: center; gap: .6rem; font-family: 'Barlow', sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: clamp(.6rem, .9vw, 1rem); font-weight: 600; color: #fff; margin: 0 0 clamp(.5rem, 1.2vw, 1.1rem); }
.equipo__eyebrow::before { content: ''; width: clamp(20px, 2.2vw, 38px); height: 4px; background: var(--amarillo); flex: 0 0 auto; }
.equipo__title { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 2.7vw, 3.1rem); line-height: 1.04; color: #fff; margin: 0 0 clamp(.6rem, 1.4vw, 1.3rem); }
.equipo__desc { font-family: 'Barlow', sans-serif; font-size: clamp(.72rem, 1vw, 1.08rem); line-height: 1.5; color: #e9e9e9; margin: 0; }
.equipo__mv { display: flex; flex-direction: column; justify-content: center; gap: clamp(1.6rem, 3.4vw, 3rem); }
.mv h3 { display: flex; align-items: center; gap: 1rem; font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 1.9vw, 2.2rem); margin: 0 0 .7rem; }
.mv h3 img { width: clamp(46px, 3.6vw, 62px); height: clamp(46px, 3.6vw, 62px); object-fit: contain; }
.mv p { font-size: clamp(.85rem, 1.05vw, 1.15rem); color: #222; line-height: 1.55; margin: 0; }
@media (max-width: 860px) { .equipo { grid-template-columns: 1fr; padding: 1rem var(--gutter) 2rem; } .equipo__txt { max-width: 74%; } .mv p br { display: none; } }

/* ===== Banner contáctanos ===== */
.contacto-banner { position: relative; width: 100vw; margin-left: calc(50% - 50vw); min-height: clamp(260px, 26vw, 520px); display: grid; align-items: center; overflow: hidden; background: #0E0F0F; }
.contacto-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.contacto-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.6) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.05) 100%); }
.contacto-banner__in { position: relative; z-index: 1; width: calc(100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(2rem, 4vw, 5rem) 0; }
.contacto-banner__eyebrow { color: #fff; text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; font-weight: 500; margin: 0 0 .8rem; }
.contacto-banner__title { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(1.9rem, 3.6vw, 4.4rem); line-height: 1.08; margin: 0; }
.contacto-banner__title span { color: #F2B705; }
@media (max-width: 860px) { .contacto-banner__title br { display: none; } .contacto-banner__title span { display: block; } }

/* ===== Canales de atención + formulario ===== */
.canales { display: grid; grid-template-columns: 1fr 1.25fr 0.95fr; gap: 1.6rem; padding: 2.5rem 0 3rem; align-items: start; }
.canales__head { font-family: 'Barlow', sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600; margin: 0 0 1.2rem; }
.canales__list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.canales__list li { display: flex; gap: .9rem; align-items: flex-start; font-size: .82rem; line-height: 1.45; color: #222; }
.canales__list li b { display: block; font-style: italic; font-weight: 700; font-size: .9rem; margin-bottom: .1rem; }
.canales__ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.canales__ico--pin { background: #FF5000; }
.canales__ico img { width: 44px; height: 44px; object-fit: contain; display: block; }
.canales__ico svg { width: 22px; height: 22px; }
.canales__mapa { display: block; border-radius: 4px; overflow: hidden; }
.canales__mapa img { width: 100%; display: block; }
.canales__sello { display: grid; place-items: center; align-self: center; padding: .5rem; }
.canales__sello img { width: 100%; max-width: 320px; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.canales__form { background: #fff; border: 1px solid var(--gris-2); border-radius: 6px; padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.canales__form h3 { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; margin: 0 0 .2rem; }
.canales__form h3 span { color: #FF5000; }
.canales__form p { font-size: .78rem; color: #333; margin: 0 0 .4rem; }
.canales__row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.canales__form input, .canales__form select, .canales__form textarea { width: 100%; border: 1px solid var(--gris-2); border-radius: 4px; padding: .6rem .7rem; font: inherit; font-size: .85rem; background: #fff; }
.canales__form input:focus, .canales__form select:focus, .canales__form textarea:focus { outline: 0; border-color: var(--amarillo); }
.canales__select { display: flex; flex-direction: column; gap: .2rem; font-size: .8rem; font-weight: 500; border: 1px solid var(--gris-2); border-radius: 4px; padding: .5rem .7rem .4rem; }
.canales__select select, .canales__select textarea { border: 0; padding: .1rem 0; }
.canales__form .btn-m { text-align: center; margin-top: .4rem; }
@media (max-width: 960px) { .canales { grid-template-columns: 1fr 1fr; } .canales__form { grid-column: 1 / -1; } }
@media (max-width: 640px) { .canales { grid-template-columns: 1fr; } }

/* ===== Franja final ===== */
.franja { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; background: #1E1E1E; min-height: 110px; }
.franja > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.franja::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(30,30,30,.92) 0%, rgba(30,30,30,.92) 38%, rgba(30,30,30,0) 100%); }
.franja__in { position: relative; z-index: 1; width: calc(100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; }
.franja__eyebrow { font-family: var(--masifa); font-style: italic; font-weight: 700; color: #F47B20; font-size: .8rem; }
.franja h2 { font-family: var(--masifa); font-style: italic; font-weight: 700; color: #fff; font-size: 1.7rem; margin: 0; line-height: 1.05; }
.franja p { color: #fff; font-style: italic; font-size: .85rem; margin: .2rem 0 0; }
.franja__btn { padding: .55rem 1.6rem; font-size: .95rem; display: inline-flex; gap: 1.2rem; align-items: center; border-radius: 4px; white-space: nowrap; }
@media (max-width: 640px) { .franja__in { flex-direction: column; align-items: flex-start; } }

/* ===== Pie ===== */
.footer { background: #0E0F0F; color: #ccc; padding: 2rem 0 6.5rem; font-size: .85rem; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.2rem; }
.footer__logo img { height: clamp(52px, 4.6vw, 90px); width: auto; }
.footer__nav { display: flex; align-items: center; }
.footer__nav a { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; color: #fff; text-decoration: none; font-size: .9rem; letter-spacing: .04em; padding: 0 1.4rem; border-left: 1px solid #555; }
.footer__nav a:first-child { border-left: 0; }
.footer__nav a:hover { color: var(--amarillo); }
.footer__social { display: flex; gap: .9rem; }
.footer__social a { color: #fff; width: 22px; height: 22px; display: block; }
.footer__social a:hover { color: var(--amarillo); }
.footer__social svg { width: 100%; height: 100%; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-style: italic; color: #ddd; }
.footer__bottom a { color: #fff; text-decoration: none; padding: 0 .8rem; border-left: 1px solid #555; }
.footer__bottom a:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 760px) { .footer__top { flex-direction: column; align-items: flex-start; } .footer__nav a { padding: 0 .7rem; font-size: .8rem; } }

/* ===== Tienda (productos) ===== */
.tienda-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); background: #eef0f1; }
.tienda-hero img { width: 100%; display: block; max-height: 300px; object-fit: cover; object-position: right center; }
.tienda-hero__txt { position: absolute; top: 50%; transform: translateY(-50%); left: clamp(16px, 6vw, 118px); max-width: 52%; }
.tienda-hero__eyebrow { display: flex; align-items: center; gap: .65rem; font-family: 'Barlow', sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: clamp(.58rem, .95vw, 1rem); font-weight: 600; color: #3a3a3a; margin: 0 0 clamp(.3rem, .8vw, .7rem); }
.tienda-hero__eyebrow::before { content: ''; width: clamp(20px, 2.4vw, 40px); height: 4px; background: var(--amarillo); flex: 0 0 auto; }
.tienda-hero__title { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: clamp(1.25rem, 3.15vw, 3.3rem); line-height: 1.02; color: var(--negro); margin: 0 0 clamp(.35rem, .9vw, .7rem); }
.tienda-hero__sub { font-family: 'Barlow', sans-serif; font-size: clamp(.58rem, 1vw, 1.05rem); color: #4a4a4a; line-height: 1.4; margin: 0; }
@media (max-width: 760px) {
  .tienda-hero img { max-height: none; height: 150px; object-position: left center; }
  .tienda-hero__txt { max-width: 66%; left: 16px; }
  .tienda-hero__sub { display: none; }
}
.tienda { display: grid; grid-template-columns: 250px 1fr; gap: 1.6rem; align-items: start; padding: 1.8rem 0 2.5rem; }
.tienda__filtros { background: #fff; border: 1px solid var(--gris-2); border-radius: 8px; padding: 1.2rem 1.1rem 1.4rem; position: sticky; top: 90px; display: flex; flex-direction: column; gap: .4rem; }
.tienda__filtros h3 { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: .95rem; margin: .8rem 0 .5rem; }
.tienda__filtros h3:first-of-type { margin-top: 0; }
.tienda__filtros hr { border: 0; border-top: 1px solid var(--gris-2); margin: .8rem 0 .2rem; }
.filtro-cats { list-style: none; margin: 0; padding: 0; }
.filtro-cats a { display: flex; align-items: center; gap: .6rem; padding: .5rem .2rem; border-bottom: 1px solid #ececec; text-decoration: none; font-size: .82rem; font-weight: 500; color: var(--negro); }
.filtro-cats a img { width: 22px; height: 18px; object-fit: contain; flex: 0 0 22px; }
.filtro-cats a small { color: var(--gris-3); font-size: .72rem; margin-left: auto; }
.filtro-cats a b { color: #666; font-size: 1.1rem; font-weight: 400; }
.filtro-cats a:hover, .filtro-cats a.is-active { background: #fff7d6; border-radius: 4px; }
.filtro-cats a.is-active span { font-weight: 700; }
.tienda__filtros select { border: 1px solid var(--gris-2); border-radius: 4px; padding: .5rem .6rem; font: inherit; font-size: .82rem; background: #fff; }
.filtro-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.filtro-checks label { display: flex; align-items: center; gap: .5rem; font-size: .82rem; cursor: pointer; }
.filtro-checks input { width: 15px; height: 15px; accent-color: var(--amarillo); }
.filtro-checks small { color: var(--gris-3); font-size: .72rem; margin-left: auto; }
.rango { position: relative; height: 40px; margin: .2rem 0 .4rem; }
.rango__track { position: absolute; left: 0; right: 0; top: 8px; height: 4px; background: #e6e6e6; border-radius: 2px; }
.rango__fill { position: absolute; top: 0; bottom: 0; background: var(--amarillo); border-radius: 2px; }
.rango input[type=range] { position: absolute; left: 0; right: 0; top: 0; width: 100%; margin: 0; height: 20px; background: transparent; -webkit-appearance: none; appearance: none; pointer-events: none; }
.rango input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--amarillo); border: 2px solid #fff; box-shadow: 0 0 0 1px #d9a500; pointer-events: auto; cursor: pointer; }
.rango input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--amarillo); border: 2px solid #fff; pointer-events: auto; cursor: pointer; }
.rango__labels { position: absolute; left: 0; right: 0; top: 24px; display: flex; justify-content: space-between; font-size: .75rem; color: #333; }
.btn-negro { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--negro); color: #fff; border: 0; border-radius: 4px; padding: .7rem 1rem; font-family: var(--masifa); font-weight: 700; font-size: .95rem; letter-spacing: .02em; cursor: pointer; text-decoration: none; transition: .15s; margin-top: .6rem; }
.btn-negro svg { width: 18px; height: 18px; }
.btn-negro:hover { background: #333; }
.btn-negro--full { width: 100%; margin-top: auto; }
.filtro-limpiar { font-size: .78rem; text-align: center; color: var(--gris-3); margin-top: .4rem; }
.tienda__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.tienda__toggle { display: none; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.pcard2 { position: relative; background: #fff; border: 1px solid var(--gris-2); border-radius: 6px; padding: .6rem .7rem .8rem; display: flex; flex-direction: column; gap: .15rem; transition: .15s; }
.pcard2:hover { box-shadow: var(--sombra); }
.pcard2__img { display: block; background: #f1f1f1; border-radius: 4px; aspect-ratio: 5/4; overflow: hidden; margin-bottom: .6rem; }
.pcard2__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard2__fav { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #ddd; background: #fff; color: #444; cursor: pointer; display: grid; place-items: center; padding: 0; }
.pcard2__fav svg { width: 14px; height: 14px; }
.pcard2__fav.is-on { color: #FF5000; border-color: #FF5000; }
.pcard2__fav.is-on svg { fill: #FF5000; }
.pcard2__cat { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; color: #F47B20; font-size: .7rem; }
.pcard2__title { font-size: 1rem; font-weight: 700; margin: 0; }
.pcard2__title a { text-decoration: none; }
.pcard2__meta { font-size: .75rem; font-style: italic; color: #777; margin: .1rem 0 .3rem; line-height: 1.4; }
.pcard2__code { font-size: .72rem; color: var(--gris-3); margin-bottom: .5rem; }
.paginacion { display: flex; gap: .3rem; justify-content: center; margin: 1.5rem 0 .5rem; }
.paginacion a { min-width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--gris-2); border-radius: 4px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.paginacion a.is-active { background: var(--amarillo); border-color: var(--amarillo); }
.no-encuentras { position: relative; overflow: hidden; border-radius: 6px; background: #1E1E1E; margin-top: 2rem; min-height: 96px; }
.no-encuentras > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .55; }
.no-encuentras::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(20,20,20,.95) 0%, rgba(20,20,20,.9) 45%, rgba(20,20,20,.35) 100%); }
.no-encuentras__in { position: relative; z-index: 1; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 1.2rem; padding: 1rem 1.4rem; border-left: 5px solid var(--amarillo); }
.no-encuentras__ico { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--amarillo); color: var(--amarillo); display: grid; place-items: center; }
.no-encuentras__ico svg { width: 18px; height: 18px; }
.no-encuentras h2 { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; color: #fff; font-size: 1.05rem; line-height: 1.1; margin: 0; }
.no-encuentras h2 span { color: #F2B705; }
.no-encuentras p { color: #ddd; font-size: .78rem; line-height: 1.45; margin: 0; }
.no-encuentras .btn-m { padding: .5rem 1.2rem; font-size: .85rem; border-radius: 4px; display: inline-flex; gap: .8rem; white-space: nowrap; }
@media (max-width: 900px) {
  .tienda { grid-template-columns: 1fr; }
  .tienda__filtros { position: static; display: none; }
  .tienda__filtros.is-open { display: flex; }
  .tienda__toggle { display: inline-flex; }
  .no-encuentras__in { grid-template-columns: 1fr; }
  .no-encuentras h2 br, .no-encuentras p br { display: none; }
}

/* ===== Términos y condiciones ===== */
.legal { padding: clamp(1.5rem, 3vw, 3rem) 0 2rem; max-width: 1100px; margin-inline: auto; }
.legal__title { font-family: 'Barlow', sans-serif; font-weight: 700; font-style: normal; font-size: clamp(1.2rem, 1.5vw, 1.6rem); color: #FF5000; margin: 0 0 2rem clamp(0px, 5vw, 60px); }
.legal__sec { margin-bottom: clamp(2rem, 3.4vw, 3.4rem); }
.legal__sec h2 { font-family: var(--masifa); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: clamp(.95rem, 1.05vw, 1.2rem); margin: 0 0 .6rem; color: var(--negro); }
.legal__sec ul { margin: 0; padding-left: 2.2rem; font-size: clamp(.85rem, .95vw, 1.05rem); line-height: 1.6; color: #222; }
.legal__sec li { margin-bottom: .15rem; }
.legal__parrafos { padding-left: 1.6rem; font-size: clamp(.85rem, .95vw, 1.05rem); line-height: 1.6; color: #222; }
.legal__parrafos p { margin: 0 0 .15rem; }
.legal__intro { margin: 0 0 .3rem 1.6rem; font-size: clamp(.85rem, .95vw, 1.05rem); color: #222; }
.legal__cierre { margin: .6rem 0 0 1.6rem; font-size: clamp(.85rem, .95vw, 1.05rem); color: #222; }
.legal__banda { width: 100vw; margin-left: calc(50% - 50vw); background: linear-gradient(to right, #F2B705 0%, #F2B705 45%, #0E0F0F 100%); padding: 1.2rem var(--gutter); text-align: center; }
.legal__banda p { margin: 0; color: #fff; font-weight: 700; font-size: clamp(.8rem, .9vw, 1rem); line-height: 1.5; max-width: 1100px; margin-inline: auto; }
.footer--simple { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; padding: 2.4rem 0 7rem; }
.footer--simple .footer__logo img { height: clamp(60px, 5.4vw, 100px); }
.footer__links { display: flex; gap: clamp(1rem, 2vw, 2.4rem); flex-wrap: wrap; justify-content: center; }
.footer__links a { color: #fff; text-decoration: none; font-size: .9rem; }
.footer__links a:hover { color: var(--amarillo); }
.footer--simple .footer__social { gap: 1.4rem; }
