:root {
  --black: #0a0d0a;
  --ink: #12160f;
  --muted: #6b7269;
  --line: #e1e6da;
  --soft: #f3f6ee;
  --white: #fff;
  --brand: #7cb828;
  --brand-dark: #578316;
  --brand-light: #a3d133;
  --accent: var(--brand);
  --shell: min(1360px, calc(100vw - 48px));
  --display: "Rajdhani", sans-serif;
  --body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.modern-site {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.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;
}
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--brand);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Botones */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 50px; padding: 0 24px; border: 1px solid transparent;
  font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button--primary { border-color: var(--white); color: var(--white); }
.button--primary:hover { background: var(--white); color: var(--black); }
.button--outline { border-color: var(--brand-light); color: var(--brand-light); }
.button--outline:hover { background: var(--brand-light); color: var(--black); }
.button--light { background: var(--white); color: var(--black); }
.button--light:hover { background: var(--brand); color: var(--white); }
.button--dark { background: var(--black); color: var(--white); }
.button--dark:hover { background: var(--brand); color: var(--white); }
.button--brand { background: var(--brand); color: var(--white); width: 100%; }
.button--brand:hover { background: var(--brand-dark); }
.text-link {
  display: inline-flex; align-items: center; gap: 18px; padding-bottom: 5px;
  border-bottom: 1px solid currentColor; font-family: var(--display); font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
}
.text-link b { transition: transform .2s ease; }
.text-link:hover b { transform: translateX(5px); }
.text-link--dark { color: var(--ink); }

/* ---------- Header ---------- */
.top-strip { background: var(--black); color: #a9b0a4; font-size: 11.5px; letter-spacing: .03em; }
.top-strip__inner { height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-strip a { color: #d7dbd1; }
.top-strip__contact { display: flex; align-items: center; gap: 16px; }
.top-strip__social { display: inline-flex; }
.top-strip__social svg { width: 15px; height: 15px; fill: currentColor; }
.top-strip__msg { white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 100; color: var(--white);
  background: var(--brand); border-bottom: 1px solid rgba(255,255,255,.1);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.site-header__inner { height: 76px; display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 20px; }
.brand-lockup { width: max-content; max-width: 100%; display: flex; align-items: center; }
.brand-lockup img { height: 42px; width: auto; object-fit: contain; }
.desktop-nav { height: 100%; display: flex; align-items: stretch; justify-content: center; gap: 34px; }
.nav-group { display: flex; align-items: stretch; }
.nav-link {
  position: relative; display: flex; align-items: center; gap: 7px; padding: 0; border: 0;
  background: transparent; color: #ffffff; font-family: var(--display); font-size: 14px;
  font-weight: 700; letter-spacing: .07em; text-transform: uppercase; cursor: pointer;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px;
  background: var(--brand); transition: right .25s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.nav-link__chevron { display: inline-flex; align-items: center; }
.nav-link__chevron svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.nav-group:hover .nav-link__chevron svg, .nav-group.is-open .nav-link__chevron svg { transform: rotate(180deg); }
.mega-menu {
  position: absolute; top: 100%; left: 0; width: 100%; display: grid;
  grid-template-columns: minmax(260px, 32%) 1fr; background: var(--white); color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,.2); transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.nav-group:hover .mega-menu, .nav-group.is-open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu__intro { padding: 42px max(38px, calc((100vw - 1360px) / 2)); background: var(--brand); color: var(--white); }
.mega-menu__intro strong { display: block; max-width: 320px; margin: 16px 0 26px; font-family: var(--display); font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.mega-menu__intro a { position: relative; display: inline-block; padding-bottom: 4px; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.mega-menu__intro a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: currentColor; transition: right .25s ease; }
.mega-menu__intro a:hover::after { right: 0; }
.mega-menu__links { padding: 30px 4vw; max-height: 60vh; overflow-y: auto; }

/* ---------- Árbol de categorías (acordeón: categoría > subcategoría nivel 1 > nivel 2 > ...) ---------- */
.cat-tree { list-style: none; margin: 0; padding: 0; }
.cat-tree__item { border-bottom: 1px solid #ececec; }
.cat-tree > .cat-tree__item:last-child { border-bottom: 0; }
.cat-tree__row { display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
.cat-tree__link { flex: 0 1 auto; min-width: 0; padding: 12px 0; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; transition: color .2s ease, padding-left .2s ease; }
.cat-tree__item.has-children .cat-tree__link { cursor: pointer; }
.cat-tree__link:hover { color: var(--brand); padding-left: 5px; }
.cat-tree__toggle {
  flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font-size: 15px; line-height: 1; cursor: pointer; transition: transform .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.cat-tree__toggle:hover { border-color: var(--brand); color: var(--brand); }
.cat-tree__toggle[aria-expanded="true"] { background: var(--brand); border-color: var(--brand); color: var(--white); transform: rotate(45deg); }
.cat-tree__children { max-height: 0; overflow: hidden; padding-left: 16px; border-left: 2px solid var(--line); transition: max-height .3s ease; }
.cat-tree__children .cat-tree__item { border-bottom: 1px solid #f0f0f0; }
.cat-tree__children .cat-tree__link { font-size: 13px; opacity: .85; }

/* Variante oscura (menú móvil) */
.cat-tree--mobile .cat-tree__item,
.cat-tree--mobile .cat-tree__children .cat-tree__item { border-bottom-color: rgba(255,255,255,.1); }
.cat-tree--mobile .cat-tree__link { color: #c2c8bb; }
.cat-tree--mobile .cat-tree__link:hover { color: var(--brand-light); }
.cat-tree--mobile .cat-tree__toggle { border-color: rgba(255,255,255,.25); color: var(--white); }
.cat-tree--mobile .cat-tree__toggle[aria-expanded="true"] { background: var(--brand); border-color: var(--brand); }
.cat-tree--mobile .cat-tree__children { border-left-color: rgba(255,255,255,.15); }

.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.header-search-form { position: relative; width: 220px; height: 42px; display: grid; grid-template-columns: 1fr 42px; border: 1px solid var(--white); background: #ffffff; transition: box-shadow .2s ease; }
.header-search-form:hover { box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.header-search-form:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.header-search-form input { min-width: 0; padding: 0 12px; border: 0; outline: 0; background: transparent; color: var(--black); font-size: 12px; font-weight: 700; }
.header-search-form input::placeholder { color: #000000; font-weight: 400; }
.header-search-form button { display: grid; place-items: center; border: 0; border-left: 1px solid #2c322a; background: var(--white); color: var(--black); cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.header-search-form button:hover { background: var(--black); color: var(--white); border-left-color: var(--black); }
.header-search-form svg, .icon-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-button, .menu-toggle {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #3a3f37;
  background: var(--white); color: var(--black); cursor: pointer; position: relative;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.icon-button:hover, .menu-toggle:hover { background: var(--black); color: var(--white); border-color: var(--black); transform: translateY(-2px); }
.icon-button:hover .cart-button__badge { background: var(--white); color: var(--black); }
.cart-button__badge {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 999px; background: var(--black);
  color: var(--white); font-family: var(--display); font-size: 11px; font-weight: 700;
}
.header-actions .search-toggle { display: none; }
.menu-toggle { display: none; padding: 12px 10px; }
.menu-toggle span { display: block; width: 20px; height: 1px; margin: 3px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.nav-search {
  position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); color: var(--ink);
  border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.nav-search.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-search__form { height: 88px; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 16px; }
.nav-search__form svg { width: 22px; fill: none; stroke: #555; stroke-width: 1.8; }
.nav-search__form input { width: 100%; border: 0; outline: 0; font-size: 19px; }
.nav-search__form button { height: 44px; padding: 0 22px; border: 0; background: var(--brand); color: var(--white); font-family: var(--display); font-weight: 700; text-transform: uppercase; cursor: pointer; }
.mobile-panel { display: none; }
.mobile-backdrop { display: none; }
.mobile-panel__close { display: none; }

/* ---------- Hero (fallback sin banners) ---------- */
.hero { position: relative; min-height: 560px; overflow: hidden; background: var(--black); color: var(--white); display: flex; align-items: center; }
.hero__backdrop { position: absolute; inset: 0; background: radial-gradient(circle at 72% 45%, #24380e 0, #121a0b 20%, #0a0d0a 45%); }
.hero__grid { position: relative; padding: 70px 0; }
.hero h1 { margin: 18px 0 22px; font-family: var(--display); font-size: clamp(46px, 6vw, 88px); line-height: .9; letter-spacing: -.03em; text-transform: uppercase; }
.hero h1 em { color: var(--brand-light); font-style: normal; }
.hero__content > p { max-width: 540px; margin: 0 0 32px; color: #c2c8bb; font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Banner carousel (sección de banners) ---------- */
.banner-carousel { position: relative; overflow: hidden; background: var(--black); }
.banner-carousel__track { display: flex; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.banner-carousel__slide { flex: 0 0 100%; }
.banner-carousel__slide img { width: 100%; height: clamp(200px, 34vw, 480px); object-fit: cover; }
.banner-carousel__arrow {
  position: absolute; top: 50%; z-index: 5; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.5); background: rgba(10,13,10,.5); color: var(--white);
  font-size: 18px; cursor: pointer; transform: translateY(-50%); transition: background .2s ease, border-color .2s ease;
}
.banner-carousel__arrow:hover { background: var(--brand); border-color: var(--brand); }
.banner-carousel__arrow--prev { left: 18px; }
.banner-carousel__arrow--next { right: 18px; }
.banner-carousel__dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.banner-carousel__dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.banner-carousel__dots button.is-active { background: var(--brand); width: 24px; border-radius: 5px; transition: width .2s ease; }

/* ---------- Secciones generales ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 38px; flex-wrap: wrap; }
.section-heading h2, .results-bar h2 { margin: 8px 0 0; font-family: var(--display); font-size: clamp(34px, 4.4vw, 56px); line-height: .96; letter-spacing: -.02em; text-transform: uppercase; }
.slider-controls { display: flex; gap: 8px; }
.slider-controls button { width: 48px; height: 48px; border: 1px solid #ccc; background: transparent; font-size: 18px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.slider-controls button:hover { background: var(--black); color: var(--white); }

/* Rail de categorías */
.category-section { overflow: hidden; background: var(--soft); }
.category-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 23%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.category-rail::-webkit-scrollbar { display: none; }
.category-card { position: relative; height: 380px; overflow: hidden; background: var(--white); scroll-snap-align: start; }
.category-card::after { content: ""; position: absolute; z-index: 1; inset: 35% 0 0; background: linear-gradient(transparent 0%, rgba(10,13,10,.16) 30%, rgba(10,13,10,.78) 100%); pointer-events: none; }
.category-card img { width: 100%; height: 100%; object-fit: contain; padding: 26px 18px 72px; background: var(--white); transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.category-card:hover img { transform: scale(1.06); }
.category-card__noimage { display: flex; align-items: center; justify-content: center; height: 100%; color: #c9cfc2; font-family: var(--display); font-size: 22px; letter-spacing: .1em; }
.category-card__index { position: absolute; z-index: 2; top: 16px; left: 16px; color: var(--white); font-family: var(--display); font-size: 12px; }
.category-card > div { position: absolute; z-index: 2; left: 20px; right: 50px; bottom: 22px; color: var(--white); }
.category-card small { color: var(--brand-light); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.category-card h3 { margin: 5px 0 0; font-family: var(--display); font-size: 25px; line-height: 1; text-transform: uppercase; }
.category-card > b { position: absolute; z-index: 2; right: 20px; bottom: 27px; color: var(--white); font-size: 18px; transition: transform .2s ease; }
.category-card:hover > b { transform: translate(3px, -3px); }

/* Statement / producto destacado */
.statement { padding: 90px 0; background: var(--black); color: var(--white); }
.statement__inner { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 40px; }
.statement__image { width: 150px; height: 150px; object-fit: contain; background: var(--white); padding: 10px; }
.statement p { max-width: 820px; margin: 0; color: #8a9184; font-family: var(--display); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.04; text-transform: uppercase; }
.statement strong { color: var(--white); font-weight: 700; }

/* Grid de productos / tarjetas */
.products-section { background: var(--white); }
.products-section--alt { background: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 18px; }
.product-card { min-width: 0; display: flex; flex-direction: column; height: 100%; }
.product-card__content { display: flex; flex-direction: column; flex: 1 1 auto; }
.product-card__media { position: relative; height: 260px; display: block; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 22px; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__noimage { display: flex; align-items: center; justify-content: center; height: 100%; color: #b6bcae; font-size: 13px; }
.product-card__flag { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 9px; font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-card__flag--out { background: #c0392b; color: var(--white); }
.product-card__action {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; align-items: center;
  justify-content: space-between; padding: 12px 16px; background: var(--brand); color: var(--white);
  font-family: var(--display); font-size: 13px; font-weight: 700; text-transform: uppercase;
  transform: translateY(100%); transition: transform .25s ease;
}
.product-card:hover .product-card__action { transform: translateY(0); }
.product-card__content { padding: 16px 4px 0; }
.product-card__content h3 { margin: 0; font-family: var(--display); font-size: 18px; line-height: 1.15; text-transform: uppercase; }
.product-card__content h3 a:hover { color: var(--brand-dark); }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.product-card__price { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--brand-dark); }
.product-card__stock { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.product-card__stock.is-instock { color: var(--muted); }
.product-card__stock.is-out { color: #c0392b; }

/* Panel de marca / CTA ancho */
.brand-panel { position: relative; overflow: hidden; background: linear-gradient(120deg, #1c2914 0%, #385712 55%, var(--brand) 100%); color: var(--white); padding: 90px 0; }
.brand-panel__inner { max-width: 640px; }
.brand-panel h2 { margin: 14px 0; font-family: var(--display); font-size: clamp(38px, 5vw, 62px); line-height: .94; text-transform: uppercase; }
.brand-panel p { color: rgba(255,255,255,.82); margin: 0 0 26px; }

/* Partners */
.bg-faded { background: var(--soft); }
.partners-title { text-align: center; margin: 0 0 30px; font-family: var(--display); font-size: 20px; letter-spacing: .1em; text-transform: uppercase; }
.partners-rail { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.partners-rail img { height: 46px; width: auto; object-fit: contain; opacity: .65; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.partners-rail img:hover { opacity: 1; filter: none; }

/* Servicios */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.service-card img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 16px; }
.service-card h6 { margin: 0 0 6px; font-family: var(--display); font-size: 16px; text-transform: uppercase; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #c9cfc2; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 70px 0 50px; }
.footer-brand img { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 300px; color: #98a091; font-size: 14px; }
.footer-email { color: var(--brand-light); font-weight: 700; }
.footer-column h2 { margin: 0 0 18px; font-family: var(--display); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.footer-column { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-column a:hover { color: var(--brand-light); }
.footer-cta { border-left: 1px solid rgba(255,255,255,.14); padding-left: 34px; }
.footer-cta h2 { margin: 10px 0 12px; font-family: var(--display); font-size: 26px; line-height: 1.05; text-transform: uppercase; color: var(--white); }
.footer-cta p { color: #98a091; font-size: 13px; margin: 0 0 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: #7a8271; flex-wrap: wrap; }

/* ---------- Página de categoría / catálogo ---------- */
.category-hero { position: relative; overflow: hidden; padding: 70px 0 60px; background: var(--black); color: var(--white); }
.category-hero__brand-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--display); font-size: 16vw; font-weight: 700; color: rgba(255,255,255,.04); white-space: nowrap; letter-spacing: .1em; pointer-events: none; }
.category-hero__content { position: relative; }
.category-hero h1 { margin: 14px 0 16px; font-family: var(--display); font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; line-height: 1; }
.category-hero p { max-width: 520px; color: #c2c8bb; margin: 0 0 26px; }

.category-tabs { background: var(--white); border-bottom: 1px solid var(--line); }
.category-tabs__inner { position: relative; }
.category-tabs__toggle { display: none; width: 100%; padding: 16px 0; border: 0; background: none; align-items: center; justify-content: space-between; font-family: var(--display); font-weight: 700; text-transform: uppercase; cursor: pointer; }
.category-tabs__rail { display: flex; gap: 6px; overflow-x: auto; padding: 16px 0; scrollbar-width: none; }
.category-tabs__rail::-webkit-scrollbar { display: none; }
.category-tabs__rail a, .category-tabs__all {
  flex: 0 0 auto; padding: 10px 18px; border: 1px solid var(--line); font-family: var(--display);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.category-tabs__rail a:hover, .category-tabs__rail a.is-active { background: var(--brand); border-color: var(--brand); color: var(--white); }

.catalog-section { background: var(--white); }
.results-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.results-bar p { margin: 0; color: var(--muted); }
.results-bar strong { color: var(--ink); font-size: 20px; }

.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.filter-sidebar__toggle { display: none; width: 100%; padding: 14px 18px; border: 1px solid var(--line); background: var(--soft); font-family: var(--display); font-weight: 700; text-transform: uppercase; align-items: center; justify-content: space-between; cursor: pointer; }
.filter-form { display: flex; flex-direction: column; gap: 22px; padding: 26px; border: 1px solid var(--line); background: var(--soft); }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-label { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.filter-select { height: 44px; padding: 0 12px; border: 1px solid var(--line); background: var(--white); }
.filter-actions { display: flex; flex-direction: column; gap: 12px; }
.filter-clear { text-align: center; font-size: 13px; color: var(--muted); text-decoration: underline; }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 80px 20px; }
.empty-state span { display: block; font-family: var(--display); font-size: 60px; color: var(--line); margin-bottom: 10px; }
.empty-state h2 { font-family: var(--display); text-transform: uppercase; font-size: 26px; margin: 0 0 10px; }
.empty-state p { color: var(--muted); margin: 0 0 26px; }

/* ---------- Ficha de producto ---------- */
.product-detail { padding: 40px 0 60px; }
.product-detail__breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.product-detail__breadcrumbs a:hover { color: var(--brand-dark); }
.product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }

.product-gallery__stage { position: relative; border: 1px solid var(--line); background: var(--soft); aspect-ratio: 1; max-height: 55vh; overflow: hidden; }
.product-gallery__slide { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 30px; border: 0; background: none; cursor: zoom-in; }
.product-gallery__slide.is-active { display: flex; }
.product-gallery__slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-gallery__slide span { position: absolute; right: 14px; bottom: 14px; font-size: 12px; color: var(--muted); font-weight: 700; }
.product-gallery__noimage { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted); }
.gallery-arrow { position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--white); cursor: pointer; transform: translateY(-50%); }
.gallery-arrow--prev { left: 12px; }
.gallery-arrow--next { right: 12px; }
.gallery-arrow:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; }
.product-gallery__thumbs button { flex: 0 0 76px; width: 76px; height: 76px; padding: 6px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.product-gallery__thumbs button.is-active { border-color: var(--brand); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }

.product-summary__brand { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product-summary h1 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); text-transform: uppercase; line-height: 1.05; }
.product-summary__price { font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--brand-dark); margin: 0; }
.product-summary__rule { height: 1px; background: var(--line); margin: 22px 0; }
.product-summary__stock { font-size: 14px; font-weight: 700; margin: 0 0 16px; }
.product-summary__stock.is-instock { color: var(--muted); }
.product-summary__stock.is-out { color: #c0392b; }
.qty-stepper { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty-stepper__btn { width: 38px; height: 38px; border: 1px solid var(--line); background: var(--white); font-size: 18px; cursor: pointer; }
.qty-stepper__btn:hover { background: var(--soft); }
.qty-stepper span { min-width: 30px; text-align: center; font-family: var(--display); font-size: 18px; font-weight: 700; }
.product-summary .button { width: 100%; }

.product-description-section { background: var(--soft); padding: 70px 0; }
.product-description-grid { display: grid; grid-template-columns: 300px 1fr; gap: 50px; }
.product-description-grid h2 { margin: 8px 0 12px; font-family: var(--display); font-size: 30px; text-transform: uppercase; }
.product-description-model { color: var(--muted); font-size: 14px; }
.product-description-copy { font-size: 15px; line-height: 1.75; color: #333; }

.product-back { padding: 50px 0; text-align: center; }
.product-back span { display: block; color: var(--muted); margin-bottom: 10px; }
.product-back a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; text-transform: uppercase; color: var(--brand-dark); }

/* Lightbox */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: rgba(8,8,8,.94);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.gallery-lightbox.is-open { opacity: 1; visibility: visible; }
.gallery-lightbox__content { max-width: min(92vw, 900px); text-align: center; }
.gallery-lightbox__content img { max-height: 78vh; margin: 0 auto; object-fit: contain; }
.gallery-lightbox__close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: var(--white); font-size: 22px; cursor: pointer; }
.gallery-lightbox__arrow { position: absolute; top: 50%; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: var(--white); font-size: 20px; cursor: pointer; transform: translateY(-50%); }
.gallery-lightbox__arrow--prev { left: 24px; }
.gallery-lightbox__arrow--next { right: 24px; }
.gallery-lightbox__thumbs { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.gallery-lightbox__thumbs button { width: 56px; height: 56px; padding: 4px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.05); cursor: pointer; }
.gallery-lightbox__thumbs button.is-active { border-color: var(--brand); }
.gallery-lightbox__thumbs img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Carrito / checkout / confirmación ---------- */
.cart-page { padding: 50px 0 80px; }
.cart-page__heading { margin-bottom: 34px; }
.cart-page__heading h1 { margin: 8px 0 0; font-family: var(--display); font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }

.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: 88px 1fr auto auto; align-items: center; gap: 18px;
  padding: 16px; border: 1px solid var(--line); background: var(--white);
}
.cart-item--summary { grid-template-columns: 1fr auto; }
.cart-item__media { display: block; width: 88px; height: 88px; background: var(--soft); overflow: hidden; }
.cart-item__media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-item__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-item__name { font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; }
.cart-item__name:hover { color: var(--brand-dark); }
.cart-item__unit { font-size: 12px; color: var(--muted); }
.cart-item__total { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--brand-dark); white-space: nowrap; }
.cart-item__remove {
  width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line);
  background: var(--white); color: #c0392b; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.cart-item__remove:hover { background: #c0392b; border-color: #c0392b; color: var(--white); }
.cart-item__remove svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.cart-summary { position: sticky; top: 96px; padding: 26px; border: 1px solid var(--line); background: var(--soft); }
.cart-summary h2 { margin: 0 0 18px; font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.cart-summary__row { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); font-family: var(--display); }
.cart-summary__row strong { font-size: 22px; color: var(--brand-dark); }
.cart-summary__note { margin: 10px 0 20px; font-size: 12px; color: var(--muted); }
.cart-summary .button { width: 100%; margin-top: 18px; }
.cart-summary__continue { display: flex; justify-content: center; margin-top: 16px; }

.checkout-form { padding: 26px; border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; gap: 18px; }
.checkout-form h2 { margin: 0; font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.checkout-summary-list { display: flex; flex-direction: column; gap: 10px; max-height: 280px; overflow-y: auto; margin-bottom: 4px; }
.checkout-summary-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-size: 13px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checkout-summary-item__name { color: var(--ink); }
.checkout-summary-item__name b { color: var(--muted); font-weight: 700; }
.checkout-summary-item__total { font-weight: 700; white-space: nowrap; }

.order-success { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.order-success__icon {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 999px;
  background: var(--brand); color: var(--white); font-size: 30px; font-weight: 700;
}
.order-success h1 { margin: 10px 0 14px; font-family: var(--display); font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; }
.order-success p { color: var(--muted); margin: 0; }

/* ---------- Contacto ---------- */
.contact-section { padding-top: 20px; }
.contact-grid { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: start; }
.contact-info__block { margin-bottom: 34px; }
.contact-info__block h2 { margin: 0 0 14px; font-family: var(--display); font-size: 17px; text-transform: uppercase; padding-bottom: 10px; border-bottom: 2px solid var(--brand); }
.contact-info__block ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #333; }
.contact-info__block a:hover { color: var(--brand-dark); }
.contact-map { height: 280px; border: 1px solid var(--line); margin-bottom: 30px; overflow: hidden; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form h2 { margin: 0; font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form__textarea { resize: vertical; padding-top: 10px; height: auto; }

/* ---------- Modal de aviso (anuncios/promociones) ---------- */
.aviso-modal { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.aviso-modal.is-open { opacity: 1; visibility: visible; }
.aviso-modal__backdrop { position: absolute; inset: 0; background: rgba(8,8,8,.72); }
.aviso-modal__panel { position: relative; z-index: 1; max-width: min(92vw, 560px); max-height: 88vh; background: var(--white); transform: translateY(14px); transition: transform .25s ease; }
.aviso-modal.is-open .aviso-modal__panel { transform: translateY(0); }
.aviso-modal__panel img { width: 100%; height: 100%; max-height: 88vh; object-fit: contain; display: block; }
.aviso-modal__close {
  position: absolute; top: -16px; right: -16px; z-index: 2; width: 38px; height: 38px; border-radius: 999px;
  display: grid; place-items: center; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-size: 20px; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.aviso-modal__close:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-header__inner { grid-template-columns: 150px 1fr auto; }
  .desktop-nav { gap: 22px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions .search-toggle { display: grid; }
  .header-search-form { display: none; }
  .mobile-backdrop {
    display: block; position: fixed; inset: 0; z-index: 190; background: rgba(0,0,0,.55);
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
  }
  .mobile-backdrop.is-open { opacity: 1; visibility: visible; }
  .mobile-panel {
    position: fixed; top: 0; right: -100%; bottom: 0; z-index: 200; width: min(340px, 88vw);
    display: flex; flex-direction: column; gap: 4px; padding: 90px 22px 30px; overflow-y: auto;
    background: var(--black); color: var(--white); transition: right .3s ease;
  }
  .mobile-panel.is-open { right: 0; }
  .mobile-panel__close {
    display: grid; place-items: center; position: absolute; top: 18px; right: 18px; z-index: 1;
    width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); background: transparent;
    color: var(--white); font-size: 22px; line-height: 1; cursor: pointer; transition: border-color .2s ease, background .2s ease;
  }
  .mobile-panel__close:hover { border-color: var(--brand); background: var(--brand); }
  .mobile-panel > a, .mobile-submenu-toggle { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-family: var(--display); font-weight: 700; text-transform: uppercase; background: none; border-left: 0; border-right: 0; border-top: 0; color: var(--white); text-align: left; cursor: pointer; }
  .mobile-submenu { display: none; flex-direction: column; padding-left: 12px; }
  .mobile-submenu.is-open { display: flex; }
  .mobile-submenu a { padding: 10px 0; font-size: 14px; color: #c2c8bb; }

  .hero__grid { padding: 50px 0; }
  .statement__inner { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .statement__image { margin: 0 auto; }
  .brand-panel__inner { text-align: center; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-cta { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; }

  .catalog-layout { grid-template-columns: 1fr; }
  .filter-sidebar__toggle { display: flex; }
  .filter-sidebar__panel { display: none; }
  .filter-sidebar__panel.is-open { display: block; margin-top: 12px; }
  .category-tabs__toggle { display: flex; }
  .category-tabs__rail { display: none; flex-wrap: wrap; }
  .category-tabs__rail.is-open { display: flex; }

  .product-detail__grid { grid-template-columns: 1fr; gap: 34px; }
  .product-description-grid { grid-template-columns: 1fr; gap: 24px; }

  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .cart-item { grid-template-columns: 64px 1fr; grid-template-areas: "media info" "media total" "media remove"; row-gap: 6px; }
  .cart-item__media { grid-area: media; width: 64px; height: 64px; }
  .cart-item__info { grid-area: info; }
  .cart-item__total { grid-area: total; }
  .cart-item__remove { grid-area: remove; justify-self: start; }
}

@media (max-width: 720px) {
  .top-strip__msg { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .category-rail { grid-auto-columns: minmax(210px, 70%); }
  .section { padding: 60px 0; }
  .statement { padding: 60px 0; }
  .banner-carousel__slide img { height: 220px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .site-header__inner { grid-template-columns: 120px 1fr auto; height: 66px; }
  .brand-lockup img { height: 34px; }
}
