/*
 * EXTA Industrial — theme stylesheet
 * Consolidated from the approved static mockups (home, producto, tienda, nosotros).
 * Tokens sampled from the real EXTA logo — see EXTA_REDESIGN_AGENT_BRIEF.md.
 */

:root {
  --exta-black: #201E1F;
  --exta-graphite: #343232;
  --exta-charcoal: #575558;
  --exta-orange: #F26727;
  --exta-orange-hot: #FF6620;
  --exta-warm-gray: #E6E7E8;
  --exta-paper: #FFFFFF;
  --exta-line: #CDC7C9;
  --exta-metal: #9F9FA6;
  --exta-action-hover: #A73F16;

  --paper: var(--exta-paper);
  --surface: #ffffff;
  --ink: var(--exta-black);
  --muted: var(--exta-charcoal);
  --line: var(--exta-line);
  --accent: var(--exta-orange);
  --accent-hover: var(--exta-action-hover);
  --steel: var(--exta-graphite);
  --soft: var(--exta-warm-gray);
  --shadow: 0 28px 70px rgba(24, 24, 23, .13);
  --radius: 8px;
  font-family: "Aptos", "Segoe UI", sans-serif;
}

/* ---------- Base / reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(24,24,23,.045) 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(0deg, rgba(24,24,23,.035) 1px, transparent 1px) 0 0 / 78px 78px,
    var(--paper);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skip-link.screen-reader-text:focus {
  position: fixed !important;
  top: 10px; left: 10px;
  width: auto; height: auto;
  clip: auto;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
}

a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--exta-black);
  outline-offset: 3px;
  border-radius: 4px;
}

input[type="checkbox"], input[type="radio"] {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

.page-shell, .exta-container {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- Safety stripe / WhatsApp FAB ---------- */

.safety-stripe {
  height: 10px;
  background: repeating-linear-gradient(135deg, var(--exta-black) 0 14px, var(--exta-orange) 14px 26px);
}

.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(24,24,23,.28);
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.whatsapp-fab:hover { transform: scale(1.07); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: #fff; }

@media (max-width: 700px) {
  .whatsapp-fab { right: 12px; bottom: 12px; width: 46px; height: 46px; }
  .whatsapp-fab svg { width: 23px; height: 23px; }
}

/* ---------- Topbar / Nav ---------- */

.topbar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #eeeeea;
  background: var(--steel);
  padding: 0 20px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.topbar strong { color: var(--exta-orange-hot); font-weight: 800; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245,246,243,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
body.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  /* WP core no fija la admin bar en mobile (se desplaza con la página),
     así que el nav no debe reservarle espacio o queda un hueco al hacer scroll. */
  body.admin-bar .nav { top: 0; }
}

.nav__inner {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 48px; width: auto; }
.brand__img--dark { transition: opacity .25s ease; }
.brand__img--light { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.home:not(.nav-solid) .brand.has-light-logo .brand__img--dark { opacity: 0; }
.home:not(.nav-solid) .brand.has-light-logo .brand__img--light { opacity: 1; }

.nav__links-wrap { display: contents; }

.nav__links {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}
.nav__links a:hover { color: var(--accent); }

.nav__search-toggle {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
}
.nav__search-toggle:hover { color: var(--accent-hover); }
.nav__search-toggle svg { width: 20px; height: 20px; }

.search-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 22px 44px rgba(24,24,23,.14);
  padding: 20px;
  z-index: 25;
}
.search-panel.is-open { display: block; }
.search-panel__row { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.search-panel__row input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 15px;
  background: var(--soft);
  font-family: inherit;
}
.search-panel__row input:focus { outline: 2px solid var(--exta-black); outline-offset: 2px; }
.search-panel__close {
  width: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.search-panel__close svg { width: 18px; height: 18px; }
.search-results { max-width: 640px; margin: 16px auto 0; display: grid; gap: 8px; }
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}
.search-result:hover { border-color: var(--accent); }
.search-result img { width: 46px; height: 46px; object-fit: contain; background: var(--soft); border-radius: 6px; padding: 4px; }
.search-result b { display: block; font-size: 14px; letter-spacing: -.01em; }
.search-result span { color: var(--muted); font-size: 12px; }
.search-empty { color: var(--muted); text-align: center; padding: 18px 0; font-size: 14px; }

.nav__account, .nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}
.nav__account:hover, .nav__cart:hover { color: var(--accent-hover); }
.nav__account svg, .nav__cart svg { width: 20px; height: 20px; }

.nav__cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* ---------- Mini-cart dropdown (header cart-icon preview) ---------- */

.mini-cart-wrap { position: relative; }

.mini-cart {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 60;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(24,24,23,.16);
  padding: 18px;
}
.mini-cart-wrap.is-open .mini-cart { display: block; animation: floatIn .22s cubic-bezier(.16,1,.3,1) both; }
.mini-cart::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 14px;
  height: 14px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}

.mini-cart .woocommerce-mini-cart__empty-message {
  margin: 0;
  padding: 20px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.mini-cart ul.cart_list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
}
.mini-cart .mini_cart_item { position: relative; padding-right: 26px; }
.mini-cart .mini_cart_item a:not(.remove) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  font-size: 13px;
  text-decoration: none;
  line-height: 1.35;
}
.mini-cart .mini_cart_item a:not(.remove):hover { color: var(--accent-hover); }
.mini-cart .mini_cart_item img {
  flex: none;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}
.mini-cart .mini_cart_item .quantity {
  display: block;
  margin: 4px 0 0 58px;
  color: var(--muted);
  font-size: 12px;
}
.mini-cart .mini_cart_item .remove {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
}
.mini-cart .mini_cart_item .remove:hover { background: #fdf2f1; color: #c0392b; }

.mini-cart .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}
.mini-cart .woocommerce-mini-cart__total .woocommerce-Price-amount { font-size: 17px; }

.mini-cart .woocommerce-mini-cart__buttons {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.mini-cart .woocommerce-mini-cart__buttons a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}
.mini-cart .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout) {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
}
.mini-cart .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout):hover { background: var(--soft); }
.mini-cart .woocommerce-mini-cart__buttons a.checkout {
  background: var(--exta-black);
  color: #fff;
}
.mini-cart .woocommerce-mini-cart__buttons a.checkout:hover { background: var(--exta-graphite); }

@media (max-width: 640px) {
  .mini-cart { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-width: none; border-radius: 16px 16px 0 0; }
  .mini-cart::before { display: none; }
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
.nav__toggle:hover { color: var(--accent-hover); }
.nav__toggle svg { width: 16px; height: 16px; }
.nav__toggle svg .line-mid { transition: opacity .2s; }
.nav__toggle svg .line-top { transition: transform .25s cubic-bezier(.16,1,.3,1); transform-origin: 12px 7px; }
.nav__toggle svg .line-bottom { transition: transform .25s cubic-bezier(.16,1,.3,1); transform-origin: 12px 17px; }
.nav.is-open .nav__toggle svg .line-mid { opacity: 0; }
.nav.is-open .nav__toggle svg .line-top { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__toggle svg .line-bottom { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  gap: 10px;
  font-weight: 850;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .28s cubic-bezier(.16,1,.3,1), background .28s, border-color .28s;
  white-space: nowrap;
  font-family: inherit;
  font-size: 15px;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--exta-graphite); }
/* Ink-on-orange passes WCAG AA (~5.6:1); white-on-orange failed (~3.1:1). */
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--exta-orange-hot); }
.btn--ghost { border-color: var(--line); background: rgba(255,255,255,.72); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-hover); }
.btn--ghost-light { border: 1px solid rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--block { width: 100%; }

/* Map WooCommerce's native buttons onto the same visual language. */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce-cart .checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--ink);
  font-weight: 850;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform .28s cubic-bezier(.16,1,.3,1), background .28s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--exta-orange-hot); color: var(--ink); }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--ink); color: #fff; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--exta-graphite); }

/* ---------- Breadcrumb ---------- */

.breadcrumb, .exta-breadcrumb, .woocommerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 18px 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.breadcrumb a:hover, .woocommerce-breadcrumb a:hover { color: var(--accent-hover); }

/* ---------- Hero (home) ---------- */

.home .nav { transition: background-color .25s ease, backdrop-filter .25s ease, border-color .25s ease; }
.home:not(.nav-solid) .nav {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.home:not(.nav-solid) .brand,
.home:not(.nav-solid) .nav__links,
.home:not(.nav-solid) .nav__search-toggle,
.home:not(.nav-solid) .nav__account,
.home:not(.nav-solid) .nav__cart,
.home:not(.nav-solid) .nav__toggle { color: #fff; }
.home:not(.nav-solid) .nav__links a:hover,
.home:not(.nav-solid) .nav__search-toggle:hover,
.home:not(.nav-solid) .nav__account:hover,
.home:not(.nav-solid) .nav__cart:hover { color: var(--exta-orange-hot); }
.home:not(.nav-solid) .nav.is-open .nav__links { color: var(--muted); }
.home:not(.nav-solid) .nav.is-open .nav__links a:hover { color: var(--accent); }

.hazard-strip {
  height: 6px;
  background: repeating-linear-gradient(135deg, var(--exta-black) 0 9px, var(--exta-orange) 9px 16px);
}

.hero-full {
  position: relative;
  margin-top: -77px;
  height: 78vh;
  min-height: 540px;
  max-height: 760px;
  overflow: hidden;
  isolation: isolate;
}
.hero-full__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-full::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,19,19,.9) 0%, transparent 26%),
    linear-gradient(0deg, rgba(20,19,19,.97) 0%, rgba(20,19,19,.65) 38%, transparent 64%),
    linear-gradient(rgba(20,19,19,.42), rgba(20,19,19,.42));
}
.hero-full__plate {
  position: absolute; top: 96px; right: max(40px, calc((100% - 1440px) / 2 + 40px)); z-index: 2;
  color: rgba(255,255,255,.5); font-size: 10.5px; letter-spacing: .06em; text-align: right; line-height: 1.6;
  font-family: "Consolas", "IBM Plex Mono", monospace;
}
.hero-full__mark {
  position: relative; z-index: 2; height: 100%;
  display: flex; align-items: flex-end;
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  padding-bottom: 48px;
}
.hero-full__mark-inner { max-width: 720px; }
.hero-full__eyebrow {
  color: rgba(255,255,255,.55); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px;
}
.hero-full__words { margin: 0; font-size: clamp(38px, 5.6vw, 68px); line-height: .94; letter-spacing: -.035em; font-weight: 850; }
.hero-full__words a { display: block; text-decoration: none; transition: opacity .15s; }
.hero-full__words a:hover { opacity: .82; }
.hero-full__words .w1, .hero-full__words .w3 { color: #fff; }
.hero-full__words .w2 { color: var(--exta-orange); }
.hero-full__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; max-width: 600px; flex-wrap: wrap; }
.hero-full__foot p { color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.5; max-width: 340px; margin: 0; }
.hero-full__cta { color: #fff; font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 3px; }
.hero-full__cta span { color: var(--exta-orange-hot); }

.spec-strip {
  display: flex;
  background: var(--exta-black);
  padding: 0 40px;
  font-family: "Consolas", "IBM Plex Mono", monospace;
}
.spec-strip div { flex: 1; padding: 16px 20px 16px 0; color: rgba(255,255,255,.85); font-size: 12px; letter-spacing: .04em; border-right: 1px solid rgba(255,255,255,.1); }
.spec-strip div:last-child { border-right: none; }
.spec-strip div b { display: block; color: #fff; font-size: 13px; margin-bottom: 2px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 38px; height: 3px; background: var(--accent); display: inline-block; }

h1 {
  margin: 14px 0 14px;
  max-width: 700px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 950;
}

.hero__lead { color: var(--muted); max-width: 650px; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.45; margin: 0 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.pillars { background: var(--surface); }
.pillar {
  display: flex; align-items: center; gap: 28px; padding: 26px 40px;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.pillar:last-child { border-bottom: none; }
.pillar__idx { font-family: "Consolas", "IBM Plex Mono", monospace; font-size: 11px; color: var(--accent-hover); width: 26px; flex: none; }
.pillar h3 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; flex: none; width: 230px; }
.pillar p { margin: 0; font-size: 14px; color: var(--muted); flex: 1; }
.pillar__go { font-size: 20px; color: var(--line); transition: color .15s; flex: none; }
.pillar:hover .pillar__go { color: var(--accent); }

/* ---------- Ticker ---------- */

.ticker { overflow: hidden; background: var(--ink); color: #fff; border-block: 1px solid rgba(255,255,255,.09); }
.ticker__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.ticker span { padding: 16px 26px; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Generic sections ---------- */

section { padding: 74px 0; }
section.block { padding: 20px 0 60px; }
section.block h2 { margin: 0 0 14px; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.03em; max-width: 20ch; }
section.block > p.lead { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 68ch; margin: 0 0 30px; }

.section-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; margin-bottom: 26px; }
.section-head h2 { margin: 0; max-width: 820px; font-size: clamp(32px, 4vw, 58px); line-height: .95; letter-spacing: -.045em; }
.section-head p { margin: 0; max-width: 480px; color: var(--muted); line-height: 1.55; }

/* ---------- Category rail ---------- */

.category-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category {
  position: relative;
  min-height: 250px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  align-content: end;
  padding: 18px;
  transition: transform .28s cubic-bezier(.16,1,.3,1), border-color .28s;
}
.category:hover { transform: translateY(-4px); border-color: rgba(242,103,39,.55); }
.category .category__slab {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--exta-black);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 4px;
}
.category .category__slab::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--exta-orange); margin-right: 6px; border-radius: 1px; }
.category img { position: absolute; right: -18px; top: 44px; width: 58%; max-height: 160px; object-fit: contain; filter: drop-shadow(0 16px 14px rgba(24,24,23,.18)); }
.category--no-image { min-height: 0; align-content: center; padding: 22px 18px; }
.category b { position: relative; font-size: 23px; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 8px; z-index: 1; }
.category span { position: relative; color: var(--muted); font-size: 13px; z-index: 1; }

/* ---------- Product cards (shared: home featured, shop grid, related) ---------- */

.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-rows: 210px auto;
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s;
}
.product-card.reveal { transform: translateY(18px); opacity: 0; animation: rise .72s cubic-bezier(.16,1,.3,1) forwards; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 46px rgba(24,24,23,.11); }

.product-card__media { position: relative; background: var(--soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card__sku {
  position: absolute;
  z-index: 2;
  top: 10px; left: 10px;
  max-width: calc(100% - 20px);
  font-family: "Consolas", "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--exta-charcoal);
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card__body { padding: 18px; display: grid; gap: 13px; }
.tagline { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }
.stock, .tagline .stock { color: #1d7c44; }
.product-card h3 { margin: 0; font-size: 20px; line-height: 1.08; letter-spacing: -.03em; }
.product-card h3 a:hover { color: var(--accent-hover); }
.product-card p { margin: 0; color: var(--muted); line-height: 1.45; font-size: 14px; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.price-row strong { font-size: 23px; letter-spacing: -.035em; font-weight: 700; }
.price-row ins { text-decoration: none; }
.price-row del { color: var(--exta-metal); font-size: 15px; margin-right: 6px; }
.mini-link { font-weight: 900; color: var(--accent-hover); font-size: 13px; }

/* ---------- Spec panel (home, single dark feature) ---------- */

.spec-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 16px;
  align-items: stretch;
  background: var(--steel);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-panel__image { min-height: 500px; background: linear-gradient(135deg, rgba(242,103,39,.62), transparent 40%), #232522; display: grid; place-items: center; padding: 36px; position: relative; }
.spec-panel__image img { max-height: 430px; object-fit: contain; filter: drop-shadow(0 34px 35px rgba(0,0,0,.34)); }
.spec-panel__content { padding: clamp(26px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.spec-panel h2 { margin: 0; font-size: clamp(34px, 4vw, 62px); line-height: .94; letter-spacing: -.05em; }
.spec-panel p { margin: 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.55; max-width: 620px; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.16); }
.spec-list div { padding: 16px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.spec-list div:nth-child(2n) { border-right: 0; }
.spec-list div:nth-last-child(-n+2) { border-bottom: 0; }
.spec-list span { display: block; color: rgba(255,255,255,.52); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 6px; }
.spec-list b { font-size: 18px; }
.certs-row { display: flex; flex-wrap: wrap; gap: 8px; }
.certs-row span { border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.78); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; }

/* ---------- Commerce map / support band ---------- */

.support-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: stretch; }
.commerce-map { display: grid; grid-template-columns: 1.1fr .9fr .9fr .9fr; gap: 12px; counter-reset: steps; }
.map-card {
  min-height: 246px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.map-card::before {
  counter-increment: steps;
  content: "0" counter(steps);
  color: rgba(242,103,39,.16);
  font-size: 82px;
  line-height: .78;
  font-weight: 950;
  letter-spacing: -.08em;
  position: absolute;
  right: 12px; top: 14px;
}
.map-card b { position: relative; display: block; font-size: 24px; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 10px; z-index: 1; }
.map-card p { position: relative; margin: 0; color: var(--muted); line-height: 1.45; font-size: 14px; z-index: 1; }
.map-card span { color: var(--accent-hover); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.support-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.support-card h2 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 56px); line-height: .96; letter-spacing: -.045em; }
.support-card h3 { margin: 0 0 16px; font-size: 26px; line-height: 1; letter-spacing: -.035em; }
.support-card p { color: var(--muted); margin: 0 0 24px; line-height: 1.55; max-width: 650px; }

.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check-grid span { padding: 12px 14px; border: 1px solid var(--line); background: var(--soft); border-radius: var(--radius); font-size: 14px; font-weight: 780; }

.contact-form { display: grid; gap: 10px; margin-top: 20px; }
.contact-form input, .contact-form textarea {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fafaf8;
  font-size: 14px;
  font-family: inherit;
}
.contact-form textarea { min-height: 104px; padding-top: 14px; resize: vertical; }

.mayoreo-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 10px;
  background: rgba(242,103,39,.1);
  color: var(--accent-hover);
  border: 1px solid rgba(242,103,39,.24);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- Single product ---------- */

.product-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr); gap: 34px; padding: 22px 0 60px; align-items: start; }

.gallery { position: sticky; top: 96px; display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
.gallery--single { grid-template-columns: 1fr; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery__thumbs button { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 8px; cursor: pointer; }
.gallery__thumbs button.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gallery__thumbs img { width: 100%; height: 56px; object-fit: contain; }
.gallery__main {
  position: relative;
  min-height: 480px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: floatIn .5s cubic-bezier(.16,1,.3,1) both; }
.gallery__badge {
  position: absolute;
  z-index: 2;
  top: 16px; left: 16px;
  max-width: calc(100% - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--exta-black);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
}
.gallery__badge::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--exta-orange); margin-right: 6px; }

.product-info { display: flex; flex-direction: column; gap: 18px; }
.product-info h1, .summary.entry-summary h1 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); line-height: .98; letter-spacing: -.04em; font-weight: 950; }
.sku-code, .exta-product-code { font-family: "Consolas", "IBM Plex Mono", monospace; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.price-block { display: flex; align-items: baseline; gap: 14px; }
.price-block strong, .price-block .price { font-size: 40px; letter-spacing: -.03em; font-weight: 700; }
.price-block span { color: #1d7c44; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.lead { color: var(--muted); line-height: 1.6; font-size: 16px; max-width: 60ch; }
.page-article { padding: 40px 0; }

/* Utility pages (checkout/cart/account/order-received) are functional, not
   editorial — the site-wide 92px hero h1 makes them scroll far more than the
   form content warrants, so they get a compact title + tighter top padding. */
body.woocommerce-checkout .page-article,
body.woocommerce-cart .page-article,
body.woocommerce-account .page-article {
  padding: 22px 0 40px;
}
body.woocommerce-checkout h1,
body.woocommerce-cart h1,
body.woocommerce-account h1 {
  margin: 2px 0 10px;
  max-width: none;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 850;
}
body.woocommerce-checkout .breadcrumb,
body.woocommerce-cart .breadcrumb,
body.woocommerce-account .breadcrumb {
  padding: 0 0 4px;
}

/* Account/cart/checkout need the full page-shell width for their layouts;
   the base .lead cap is meant for long-form reading content only. */
.woocommerce-account .lead, .woocommerce-cart .lead, .woocommerce-checkout .lead { max-width: none; }

.option-row { display: flex; flex-direction: column; gap: 8px; }
.option-row label { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 750; background: var(--surface); cursor: pointer; }
.swatch.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

.color-picker { display: flex; flex-direction: column; gap: 10px; }
.color-picker__label { font-size: 13px; font-weight: 650; color: var(--muted); }
.color-picker__current { color: var(--ink); font-weight: 850; }
.color-picker__options { display: flex; gap: 10px; flex-wrap: wrap; }
.color-swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  padding: 0;
  transition: transform .2s cubic-bezier(.16,1,.3,1), border-color .2s;
}
.color-swatch:hover { transform: translateY(-2px); }
.color-swatch.is-active { border-color: var(--ink); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }

.buy-row, .woocommerce div.product form.cart { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.qty, .woocommerce div.product form.cart .quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty button { width: 42px; border: 0; background: var(--soft); cursor: pointer; font-size: 16px; font-weight: 800; }
.qty input,
.woocommerce div.product form.cart .quantity input.qty {
  width: 64px;
  border: 0;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  min-height: 46px;
  font-family: inherit;
}

.trust-row { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-row span { border: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; }

.toc { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-top: 20px; overflow-x: auto; }
.toc a { padding: 12px 16px; font-size: 13px; font-weight: 850; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.toc a:hover, .toc a:focus-visible { color: var(--ink); border-bottom-color: var(--accent); }

section.detail { padding: 46px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
section.detail:last-of-type { border-bottom: 0; }
section.detail h2 { margin: 0 0 18px; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:nth-child(odd) td { background: var(--soft); }
.spec-table td { padding: 12px 16px; font-size: 14px; }
.spec-table td:first-child { color: var(--muted); font-weight: 800; width: 260px; text-transform: uppercase; font-size: 11px; letter-spacing: .07em; }

.cert-grid, .cert-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.cert-card, .cert-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--surface); }
.cert-tile { padding: 18px 14px; text-align: center; }
.cert-card b, .cert-tile b { display: block; font-size: 15px; margin-bottom: 4px; }
.cert-card span, .cert-tile span { color: var(--muted); font-size: 12px; }

.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--surface); }
.doc-row b { font-size: 14px; display: block; }
.doc-row span { color: var(--muted); font-size: 12px; }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.related-grid .product-card { grid-template-rows: 190px auto; }
.related-grid .product-card__media img { max-height: 150px; }

/* ---------- Blog ---------- */

.blog-hero { padding: 20px 0 40px; max-width: 640px; }
.blog-hero h1 { margin: 16px 0 18px; font-size: clamp(34px, 4vw, 52px); line-height: .98; letter-spacing: -.045em; font-weight: 950; }
.blog-hero .lead { margin: 0; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 360px)); gap: 20px; margin-bottom: 20px; }
.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.blog-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 18px; display: grid; gap: 8px; }
.blog-card__date { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }
.blog-card h3 { margin: 0; font-size: 19px; line-height: 1.15; letter-spacing: -.02em; }
.blog-card h3 a:hover { color: var(--accent-hover); }
.blog-card__body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.blog-card__link { font-size: 13px; font-weight: 850; color: var(--accent-hover); }
.blog-card__link:hover { text-decoration: underline; }

.section-cta { display: flex; justify-content: center; margin-top: 8px; }

.blog-pagination { display: flex; gap: 8px; justify-content: center; padding: 20px 0 40px; }
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 13px; font-weight: 750; color: var(--ink);
}
.blog-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.blog-pagination .page-numbers:hover:not(.current) { border-color: var(--accent); color: var(--accent-hover); }

.blog-post { padding: 10px 0 30px; max-width: 780px; }
.blog-post h1 { margin: 16px 0 10px; font-size: clamp(32px, 4vw, 48px); line-height: 1.02; letter-spacing: -.04em; font-weight: 950; }
.blog-post__date { display: block; color: var(--muted); font-size: 13px; font-weight: 650; margin-bottom: 26px; }
.blog-post__media { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.blog-post__media img { width: 100%; display: block; }
.blog-post__content p { margin: 0 0 18px; }
.blog-post__content h2 { font-size: 26px; letter-spacing: -.03em; margin: 34px 0 14px; }
.blog-post__back { padding-bottom: 20px; }

/* ---------- Shop / tienda archive ---------- */

.shop-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; padding: 14px 0 28px; border-bottom: 1px solid var(--line); }
.shop-head h1 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: .96; letter-spacing: -.045em; }
.shop-head p { margin: 8px 0 0; color: var(--muted); max-width: 55ch; line-height: 1.5; }

.shop-body { display: grid; grid-template-columns: 250px 1fr; gap: 30px; padding: 28px 0 100px; align-items: start; }

.filters-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 850;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
}
.filters-toggle svg { width: 18px; height: 18px; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.filters-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.filters { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.filter-group b { display: block; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; color: var(--ink); }
.filter-option { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; font-size: 14px; color: var(--muted); cursor: pointer; }
.filter-option:hover { color: var(--ink); }
.filter-option input { accent-color: var(--accent); }
.filter-option em { font-style: normal; color: var(--exta-metal); font-size: 12px; }

.price-slider { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.price-slider input[type="range"] { flex: 1; accent-color: var(--accent); }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.toolbar select { border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 12px; background: var(--surface); font-weight: 700; color: var(--ink); font-family: inherit; }

.result-note { margin-top: 24px; color: var(--muted); font-size: 13px; text-align: center; }

/* WooCommerce's own shop loop wrapper/cards + filter widgets, aligned to the design system. */
ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.products li.product { list-style: none; margin: 0; }
ul.products li.product .product-card__media img { width: auto; margin: 0 auto; }

.filters .widget { margin: 0; }
.filters .widget-title { display: none; }
.filters ul.product-categories,
.filters ul.wc-layered-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.filters ul.product-categories li,
.filters ul.wc-layered-nav-list li {
  padding: 7px 0;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.filters ul.product-categories li:last-child,
.filters ul.wc-layered-nav-list li:last-child { border-bottom: 0; }
.filters ul.product-categories a,
.filters ul.wc-layered-nav-list a { color: inherit; }
.filters ul.product-categories a:hover,
.filters ul.wc-layered-nav-list a:hover { color: var(--ink); }
.filters .wc-layered-nav-list .count { color: var(--exta-metal); font-size: 12px; }
.filters .price_slider { margin-bottom: 14px; }
.filters .price_slider_amount { font-size: 13px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; }
.filters .price_slider_amount .button {
  min-height: 34px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
}
.filters .ui-slider { background: var(--line); height: 4px; border-radius: 2px; position: relative; }
.filters .ui-slider .ui-slider-range { background: var(--accent); height: 4px; border-radius: 2px; position: absolute; }
.filters .ui-slider .ui-slider-handle {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  position: absolute;
  top: -5px;
  cursor: pointer;
  outline: none;
}
.filters .reset_variations, .filters a.reset { color: var(--accent-hover); font-size: 12px; font-weight: 800; }

/* ---------- Nosotros ---------- */

.about-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 20px 0 50px; }
.about-hero h1 { margin: 16px 0 18px; font-size: clamp(38px, 4.6vw, 60px); line-height: .98; letter-spacing: -.045em; font-weight: 950; max-width: 14ch; }
.about-hero .lead { color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 52ch; margin: 0 0 22px; }
.about-hero__visual {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(32,30,31,.72), rgba(32,30,31,.2)), var(--exta-warm-gray);
  background-size: cover;
  background-position: center 70%;
}
.about-hero__visual::after { content: "COBERTURA NACIONAL"; position: absolute; bottom: 16px; left: 16px; color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .12em; }

.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; margin-bottom: 60px; }
.stat-strip div { border-right: 1px solid var(--line); padding: 0 20px; }
.stat-strip div:last-child { border-right: 0; }
.stat-strip strong { display: block; font-size: 34px; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.stat-strip span { color: var(--muted); font-size: 13px; line-height: 1.4; }

.areas-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.area-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; position: relative; overflow: hidden; }
.area-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.area-card b { display: block; font-size: 18px; margin-bottom: 8px; letter-spacing: -.02em; }
.area-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.contact-band {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  background: var(--exta-black);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px;
  align-items: center;
}
.contact-band h2 { color: #fff; margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 34px); }
.contact-band p { color: rgba(255,255,255,.72); margin: 0 0 22px; line-height: 1.55; max-width: 46ch; }
.contact-band__details { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.contact-band__details b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 2px; }

/* ---------- Footer ---------- */

.footer { background: #171815; color: #f4f4ef; margin-top: 40px; padding: 54px 0 0; }
.footer__grid {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, .7fr);
  gap: 28px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer h3, .footer h4 { margin: 0 0 16px; }
.footer h3 { font-size: 40px; letter-spacing: -.05em; line-height: .95; }
.footer p, .footer a { color: rgba(255,255,255,.67); line-height: 1.6; font-size: 14px; }
.footer a { display: block; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer .brand img { height: 44px; margin-bottom: 18px; filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }

.footer__bottom {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 80px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,.48);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- Animations ---------- */

.reveal { transform: translateY(18px); opacity: 0; animation: rise .72s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes rise { to { transform: translateY(0); opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes floatIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ---------- WooCommerce baseline (cart / checkout / notices) ---------- */

.woocommerce-message, .woocommerce-error, .woocommerce-info {
  list-style: none;
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  border-left: 4px solid var(--accent);
  font-size: 14px;
}
.woocommerce-error { border-left-color: #c0392b; }

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  background: #fafaf8;
}

.star-rating, .woocommerce-product-rating { display: none; }

/* ---------- WooCommerce account / login / register ---------- */

.woocommerce-form-row, .woocommerce form .form-row { margin: 0 0 16px; }
.woocommerce-form-row label, .woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.woocommerce-form-row .required, .woocommerce form .form-row .required { color: var(--accent); text-decoration: none; }
.woocommerce-form-row .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 0 0 16px; }

/* Password visibility toggle WordPress injects into password fields. */
p.woocommerce-form-row:has(.show-password-input) { position: relative; }
.show-password-input {
  position: absolute;
  top: 34px;
  right: 12px;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
}
.show-password-input::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.woocommerce form.login, .woocommerce form.register {
  max-width: 480px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

/* Login / register on /my-account/ before signing in: one form at a time,
   switched by JS-injected tabs (see theme.js), centered as a single card. */
.woocommerce-account .woocommerce > #customer_login.col2-set { margin: 0 auto; max-width: 440px; }
.account-tabs { display: flex; gap: 0; max-width: 440px; margin: 0 auto 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.account-tabs button {
  flex: 1;
  border: 0;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  cursor: pointer;
  font-family: inherit;
}
.account-tabs button.is-active { background: var(--ink); color: #fff; }
.account-tabs button:not(.is-active):hover { background: var(--soft); }

#customer_login .u-column2.col-2 { display: none; }
#customer_login.show-register .u-column1.col-1 { display: none; }
#customer_login.show-register .u-column2.col-2 { display: block; }

.woocommerce-account .col2-set .woocommerce-form-login,
.woocommerce-account .col2-set .woocommerce-form-register,
.woocommerce-account .u-column1 form,
.woocommerce-account .u-column2 form {
  max-width: none;
}
.woocommerce-account h2 { font-size: 22px; margin: 0 0 18px; }

.woocommerce-privacy-policy-text { font-size: 12px; color: var(--muted); margin-top: 10px; }
.woocommerce-privacy-policy-text a { color: var(--ink); text-decoration: underline; }

/* Signed-in dashboard: sidebar nav + content. */
.woocommerce-MyAccount-navigation-link { list-style: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 750;
  font-size: 14px;
}
.woocommerce-MyAccount-navigation li a:hover { background: var(--soft); color: var(--ink); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--ink); color: #fff; }
/* Only the signed-in dashboard has a nav sidebar as a direct sibling; the
   login/register screen's .woocommerce div must stay normal block flow. */
.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.woocommerce-account .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }

/* Orders list + single order view */
.woocommerce-orders-table__cell-order-actions .button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}
.woocommerce-orders-table__cell-order-status { text-transform: capitalize; }
.woocommerce-MyAccount-content mark { background: none; color: inherit; font-weight: 800; padding: 0; }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 10px; }
.woocommerce-order-details h2, .woocommerce-customer-details h2 { font-size: 18px; margin: 30px 0 14px; }
.woocommerce-table--order-details { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.woocommerce-table--order-details tfoot th { text-align: left; }
.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td { font-weight: 900; font-size: 16px; border-bottom: 0; }
.woocommerce-customer-details address { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-style: normal; line-height: 1.7; }
.woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; list-style: none; margin: 0; padding: 0; }
.woocommerce-column__title { font-size: 16px; margin: 0 0 10px; }
.order-again { margin-top: 20px; }
.woocommerce-MyAccount-content .woocommerce-Button { margin-top: 10px; }
.woocommerce-MyAccount-content address { font-style: normal; line-height: 1.7; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce-Address { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.woocommerce-Address-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-bottom: 10px; }
.woocommerce-Address-title h2, .woocommerce-Address-title h3 { margin: 0; font-size: 16px; }
.woocommerce-Address-title .edit { font-size: 12px; font-weight: 800; color: var(--accent-hover); white-space: nowrap; }
.woocommerce-Address address { font-style: normal; line-height: 1.7; color: var(--muted); }

/* ---------- WooCommerce cart ---------- */

.woocommerce-cart-form td { vertical-align: middle; }
.woocommerce-cart-form .product-remove a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #f1d4d1;
  background: #fdf2f1;
  color: #c0392b;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  transition: background .2s, color .2s, transform .2s;
}
.woocommerce-cart-form .product-remove a:hover { background: #c0392b; border-color: #c0392b; color: #fff; transform: scale(1.06); }
.woocommerce-cart-form .product-remove a.is-removing { opacity: .4; pointer-events: none; }
tr.is-removing { opacity: .35; transition: opacity .2s; }
.woocommerce.is-updating { opacity: .55; pointer-events: none; transition: opacity .2s; }
.woocommerce-cart-form .product-thumbnail img { width: 64px; height: 64px; object-fit: contain; background: var(--soft); border-radius: 6px; padding: 6px; }
.woocommerce-cart-form td.product-quantity .quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce-cart-form td.product-quantity input.qty { width: 56px; min-height: 40px; border: 0; text-align: center; font-weight: 800; }
.woocommerce-cart-form table.shop_table { display: block; overflow-x: auto; }

.cart-collaterals { margin-top: 24px; }
.cart_totals { max-width: 420px; margin-left: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.cart_totals h2 { font-size: 18px; margin: 0 0 14px; }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table th, .cart_totals table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.cart_totals .order-total td { font-weight: 900; font-size: 17px; border-bottom: 0; }
.wc-proceed-to-checkout { margin-top: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; }

.woocommerce-coupon-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin: 0 0 20px; }
.woocommerce-coupon-form .form-row { margin: 0; }
.woocommerce-coupon-form input#coupon_code { min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font-family: inherit; }

/* ---------- WooCommerce checkout ---------- */

.woocommerce-checkout #customer_details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { min-width: 0; }
.woocommerce-checkout h3 { font-size: 18px; margin: 0 0 16px; }
.woocommerce-checkout #order_review { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.woocommerce-checkout #order_review table.shop_table { margin-bottom: 16px; }
.woocommerce-checkout .woocommerce-additional-fields { margin-top: 30px; }
.woocommerce-checkout ul.wc_payment_methods { list-style: none; margin: 0 0 20px; padding: 0; }
.woocommerce-checkout ul.wc_payment_methods li { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 10px; }
.woocommerce-checkout ul.wc_payment_methods li label { font-weight: 750; }
.woocommerce-checkout .payment_box { margin-top: 10px; padding: 12px; background: var(--soft); border-radius: 6px; font-size: 13px; color: var(--muted); }

.openpay-card-form { display: grid; gap: 10px; margin-top: 4px; }
.openpay-card-form__row { display: grid; gap: 4px; }
.openpay-card-form__row label { font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.openpay-card-form__row input {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
}
.openpay-card-form__row input:focus { outline: 2px solid var(--exta-black); outline-offset: 2px; }
.openpay-card-form__row--split { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.openpay-card-form__notice { margin: 0; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.openpay-card-form__desc { margin: 0 0 2px; font-size: 13px; color: var(--muted); }

/* Payment brand badges — card networks + Openpay, shown like a real gateway. */
.openpay-card-form__badges {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 2px;
}
.openpay-card-form__badges .card-badge { height: 20px; width: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.openpay-card-form__badges .card-badge--openpay { height: 20px; margin-left: auto; box-shadow: none; }
.openpay-payment-label { display: inline-flex; align-items: center; gap: 8px; }
.openpay-payment-label__icons { display: inline-flex; align-items: center; gap: 3px; }
.openpay-payment-label__icons .card-badge { height: 15px; width: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.woocommerce-checkout #place_order { width: 100%; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin: 16px 0; font-size: 13px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav__toggle { display: inline-flex; margin-left: auto; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px rgba(24,24,23,.14);
    padding: 6px 20px 16px;
  }
  .nav.is-open .nav__links { display: flex; text-align: left; }
  .nav__scrim { display: none; }
  .nav.is-open .nav__scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(24,24,23,.45);
  }
  body.nav-open-lock { overflow: hidden; }
  .nav__links li { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border-bottom: 0; }

  .hero-full { height: 68vh; min-height: 480px; }
  .pillar { flex-wrap: wrap; padding: 22px 24px; }
  .pillar h3 { width: auto; }
  .category-rail, .products-grid, ul.products, .commerce-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-panel, .support-band { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .product-hero { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .shop-body { grid-template-columns: 1fr; }
  .filters-toggle { display: flex; }
  .filters { display: none; position: static; flex-direction: row; flex-wrap: wrap; gap: 30px; margin-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .filters.is-open { display: flex; }

  .about-hero { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cert-grid, .cert-row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
  .contact-band { grid-template-columns: 1fr; }

  .woocommerce-account .col2-set,
  .woocommerce-account .u-columns { grid-template-columns: 1fr; }
  .woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: 1fr; }
  .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: wrap; }
  .woocommerce-Addresses { grid-template-columns: 1fr; }
  .woocommerce-columns--addresses { grid-template-columns: 1fr; }
  .woocommerce-checkout #customer_details { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .page-shell, .exta-container, .nav__inner, .footer__grid, .footer__bottom { width: min(100% - 28px, 1440px); }
  .topbar { display: none; }
  .nav__inner { min-height: 60px; gap: 10px; }
  .brand img { height: 34px; }

  .hero-full { margin-top: -61px; height: 74vh; min-height: 460px; max-height: 640px; }
  .hero-full__img { object-position: 50% 18%; }
  .hero-full__mark { width: calc(100% - 40px); padding-bottom: 32px; }
  .hero-full__plate { top: 68px; right: 20px; }
  .hero-full__foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  h1 { font-size: clamp(2.35rem, 13vw, 3rem); line-height: .98; max-width: 100%; margin: 12px 0 12px; }
  .hero__lead { font-size: 16px; margin-bottom: 20px; }
  .hero__actions { display: grid; grid-template-columns: 1fr; margin-bottom: 22px; }
  .spec-strip { padding: 0 20px; flex-wrap: wrap; }
  .spec-strip div { flex: 1 1 45%; padding: 12px 14px 12px 0; }
  .pillar { padding: 20px; flex-wrap: wrap; gap: 6px 20px; }
  .pillar h3 { width: auto; font-size: 22px; }
  .pillar p { flex-basis: 100%; }

  section { padding: 44px 0; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 18px; }
  .category-rail { display: flex; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; grid-template-columns: none; }
  .category { min-width: 74vw; scroll-snap-align: start; }
  .products-grid, ul.products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .commerce-map { grid-template-columns: 1fr; }
  .product-card { min-height: 0; grid-template-rows: 140px auto; }
  .product-card__media { padding: 12px; }
  .product-card__media img { max-height: 110px; }
  .product-card__body { padding: 12px; gap: 8px; }
  .product-card h3 { font-size: 15px; }
  .spec-panel__image { min-height: 260px; padding: 20px; }
  .spec-list { grid-template-columns: 1fr; }
  .spec-list div, .spec-list div:nth-child(2n) { border-right: 0; }
  .spec-list div:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .check-grid { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; }
  .gallery__main { min-height: 260px; padding: 20px; }
  .gallery__main img { max-height: 200px; }
  .price-block strong, .price-block .price { font-size: 32px; }
  .cert-grid, .cert-row { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .spec-table td:first-child { width: auto; }

  .shop-head { grid-template-columns: 1fr; }

  .about-hero__visual { min-height: 220px; }
  .stat-strip { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .stat-strip div { border-right: 0; padding: 0 10px; }
  .stat-strip div:nth-child(odd) { border-right: 1px solid var(--line); }
  .areas-grid { grid-template-columns: 1fr; }
  .cert-grid, .cert-row { grid-template-columns: 1fr 1fr; }
  .contact-band { padding: 28px 20px; }

  .footer { padding-top: 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}
