/*!
Theme Name: Equis5 — Kadence Child
Theme URI: https://equis5.com.ar/
Description: Tema hijo de Kadence para Equis 5. Sistema de diseño "Industrial Athletic / Grunge Stencil": indumentaria deportiva unisex. Rediseño completo de UI, home a medida y restyle de WooCommerce.
Author: Equis5
Template: kadence
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: kadence-child
*/

/* ==========================================================================
   EQUIS5 — DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand core */
  --e5-ink:        #14160E;   /* warm near-black */
  --e5-ink-2:      #1C1F12;
  --e5-graphite:   #2A2E1F;
  --e5-lime:       #D1F038;   /* signature accent */
  --e5-lime-deep:  #B6D62A;
  --e5-olive:      #A3AF69;
  --e5-bone:       #F4F4EC;   /* light surface */
  --e5-bone-2:     #E9E9DC;
  --e5-bone-3:     #DEDED0;
  --e5-white:      #FFFFFF;
  --e5-muted:      #6E725C;
  --e5-line:       rgba(20,22,14,.14);
  --e5-line-soft:  rgba(20,22,14,.08);
  --e5-line-on-dark: rgba(244,244,236,.16);

  /* Type */
  --e5-display: "Oswald", "Bebas Neue", "Arial Narrow", sans-serif;
  --e5-body:    "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --e5-mono:    "Open Sans", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* Rhythm */
  --e5-maxw: 1280px;
  --e5-gutter: clamp(18px, 4vw, 56px);
  --e5-radius: 2px;
  --e5-shadow-hard: 6px 6px 0 0 var(--e5-ink);
  --e5-shadow-hard-lime: 6px 6px 0 0 var(--e5-lime);
  --e5-ease: cubic-bezier(.16,.84,.34,1);

  /* ---- Remap Kadence global palette so EXISTING blocks/theme adopt the brand ---- */
  --global-palette1:  #D1F038;   /* accent  */
  --global-palette2:  #A3AF69;   /* accent 2 */
  --global-palette3:  #14160E;   /* darkest (headings/header) */
  --global-palette4:  #1C1F12;   /* dark text */
  --global-palette5:  #3A3E2C;
  --global-palette6:  #6E725C;
  --global-palette7:  #E9E9DC;   /* light bg */
  --global-palette8:  #F4F4EC;   /* page bg */
  --global-palette9:  #FFFFFF;
  --global-palette-highlight: #D1F038;
  --global-palette-btn-bg: #D1F038;
  --global-palette-btn-color: #14160E;

  --global-content-width: var(--e5-maxw);
  --global-content-narrow-width: 880px;
}

/* Grain / paper texture used across dark & light atmospheres */
:root {
  --e5-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* ==========================================================================
   BASE
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--e5-bone);
  color: var(--e5-ink-2);
  font-family: var(--e5-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--e5-lime); color: var(--e5-ink); }

h1,h2,h3,h4,h5,h6,
.entry-title, .site-title,
.wp-block-heading,
.woocommerce-loop-product__title,
.product_title {
  font-family: var(--e5-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .98;
  color: var(--e5-ink);
}

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--e5-ink); }

img { max-width: 100%; height: auto; }

.e5-wrap { max-width: var(--e5-maxw); margin-inline: auto; padding-inline: var(--e5-gutter); }

/* Micro label — stamped tactical caption */
.e5-kicker {
  font-family: var(--e5-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--e5-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.e5-kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--e5-lime-deep);
}
.e5-kicker--ondark { color: var(--e5-olive); }

/* Hazard / stitch dividers */
.e5-hazard {
  height: 10px;
  background: repeating-linear-gradient(-45deg,
    var(--e5-ink) 0 14px, var(--e5-lime) 14px 28px);
}
.e5-stitch {
  border: 2px dashed var(--e5-line);
}

/* ==========================================================================
   BUTTONS — blocky tactical, hard offset shadow
   ========================================================================== */
.e5-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wp-block-button__link,
.wp-element-button,
.kb-button,
button[type="submit"]:not(.search-submit) {
  --b-bg: var(--e5-lime);
  --b-fg: var(--e5-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--e5-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 16px;
  line-height: 1;
  padding: 17px 30px;
  background: var(--b-bg);
  color: var(--b-fg) !important;
  border: 2px solid var(--e5-ink);
  border-radius: var(--e5-radius);
  box-shadow: 4px 4px 0 0 var(--e5-ink);
  cursor: pointer;
  transition: transform .14s var(--e5-ease), box-shadow .14s var(--e5-ease), background .14s;
  text-decoration: none;
}
.e5-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
.kb-button:hover {
  transform: translate(-3px,-3px);
  box-shadow: 7px 7px 0 0 var(--e5-ink);
  background: var(--e5-lime-deep);
  color: var(--e5-ink) !important;
}
.e5-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 0 var(--e5-ink); }

.e5-btn--ghost,
.woocommerce a.button.alt.disabled {
  background: transparent;
  color: var(--e5-ink) !important;
  box-shadow: 4px 4px 0 0 var(--e5-ink);
}
.e5-btn--ondark {
  background: var(--e5-lime);
  color: var(--e5-ink) !important;
  border-color: var(--e5-lime);
  box-shadow: 4px 4px 0 0 rgba(209,240,56,.35);
}
.e5-btn--ondark.e5-btn--ghost {
  background: transparent;
  color: var(--e5-bone) !important;
  border-color: var(--e5-bone);
  box-shadow: 4px 4px 0 0 var(--e5-line-on-dark);
}
.e5-btn--ondark.e5-btn--ghost:hover {
  background: var(--e5-bone);
  color: var(--e5-ink) !important;
}

/* ==========================================================================
   GLOBAL: announcement bar + marquee
   ========================================================================== */
.e5-announce {
  background: var(--e5-ink);
  color: var(--e5-bone);
  font-family: var(--e5-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  overflow: hidden;
  border-bottom: 2px solid var(--e5-lime);
}
.e5-announce__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  width: max-content;
  padding: 9px 0;
  animation: e5-marquee 28s linear infinite;
}
.e5-announce__track span { display: inline-flex; align-items: center; gap: 14px; }
.e5-announce__track span::before { content: "✦"; color: var(--e5-lime); }
.e5-announce:hover .e5-announce__track { animation-play-state: paused; }
@keyframes e5-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .e5-announce__track { animation: none; justify-content: center; width: 100%; }
}

/* ==========================================================================
   HEADER / NAV  (Kadence header builder — restyled, structure intact)
   ========================================================================== */
#main-header,
.site-header-row-container.site-header-focus-item,
.site-main-header-wrap,
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner {
  background: var(--e5-ink) !important;
}
#main-header { border-bottom: 2px solid var(--e5-lime); }
/* Logo blanco-stencil de Equis5: se luce sobre el header oscuro */
.site-branding img,
.site-header-item .custom-logo-link img,
.custom-logo-link img { max-height: 56px; width: auto; }

.header-navigation .menu > .menu-item > a,
.header-menu-container .menu > .menu-item > a {
  font-family: var(--e5-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 16px;
  color: var(--e5-bone) !important;
  position: relative;
}
.header-navigation .menu > .menu-item:hover > a,
.header-navigation .menu > .menu-item.current-menu-item > a { color: var(--e5-lime) !important; }
.header-navigation .menu > .menu-item > a::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 8px;
  height: 3px;
  background: var(--e5-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--e5-ease);
}
.header-navigation .menu > .menu-item:hover > a::after,
.header-navigation .menu > .menu-item.current-menu-item > a::after { transform: scaleX(1); }

.header-navigation .sub-menu {
  border: 2px solid var(--e5-lime);
  box-shadow: 6px 6px 0 0 rgba(0,0,0,.45);
  background: var(--e5-ink-2) !important;
  padding: 6px;
}
.header-navigation .sub-menu a {
  text-transform: uppercase;
  font-family: var(--e5-display);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--e5-bone) !important;
}
.header-navigation .sub-menu a:hover { background: var(--e5-lime); color: var(--e5-ink) !important; }

/* Cart pill + iconos */
.header-cart-button .header-cart-total { background: var(--e5-lime) !important; color: var(--e5-ink) !important; font-weight: 700; }
header .kadence-search-icon-wrap, header .header-cart-button,
header .header-cart-button .kadence-svg-iconset,
#main-header .menu-toggle-open { color: var(--e5-bone) !important; }
header .kadence-search-icon-wrap:hover, header .header-cart-button:hover { color: var(--e5-lime) !important; }
/* Menú móvil (off-canvas) coherente con el header oscuro */
.mobile-drawer-menu-container, .mobile-toggle-open-container { background: var(--e5-ink) !important; }
.mobile-drawer-menu-container .menu-item a { color: var(--e5-bone) !important; }

/* ==========================================================================
   SECTION SCAFFOLD
   ========================================================================== */
.e5-section { padding: clamp(56px, 9vw, 120px) 0; position: relative; }
.e5-section--bone   { background: var(--e5-bone); }
.e5-section--bone2  { background: var(--e5-bone-2); }
.e5-section--ink    { background: var(--e5-ink); color: var(--e5-bone); }
.e5-section--ink .e5-section__title,
.e5-section--ink h2, .e5-section--ink h3 { color: var(--e5-white); }
.e5-section--ink::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--e5-grain);
  mix-blend-mode: overlay; opacity: .5; pointer-events: none;
}

.e5-section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 5vw, 56px);
}
.e5-section__title {
  font-family: var(--e5-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(34px, 6vw, 72px);
  line-height: .92;
  letter-spacing: -.01em;
  margin: 10px 0 0;
}
.e5-section__title em { font-style: normal; color: var(--e5-lime-deep); }
.e5-section--ink .e5-section__title em { color: var(--e5-lime); }
.e5-link {
  font-family: var(--e5-display);
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: 15px; display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 3px solid var(--e5-lime); padding-bottom: 4px;
  text-decoration: none;
}
.e5-link:hover { gap: 16px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.e5-hero {
  position: relative;
  background: var(--e5-ink);
  color: var(--e5-bone);
  overflow: hidden;
  isolation: isolate;
}
.e5-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(209,240,56,.16), transparent 55%),
    repeating-linear-gradient(-45deg, transparent 0 38px, rgba(244,244,236,.022) 38px 39px);
  z-index: -1;
}
.e5-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--e5-grain);
  opacity: .5; mix-blend-mode: overlay; z-index: -1; pointer-events: none;
}
.e5-hero__inner {
  max-width: var(--e5-maxw); margin-inline: auto;
  padding: clamp(70px,12vw,150px) var(--e5-gutter) clamp(56px,9vw,110px);
  display: grid; gap: 30px;
}
.e5-hero__tag {
  font-family: var(--e5-mono);
  font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--e5-lime);
  display: flex; align-items: center; gap: 14px;
}
.e5-hero__tag::before { content:""; width:42px; height:2px; background: var(--e5-lime); }
.e5-hero__title {
  font-family: var(--e5-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(54px, 12.5vw, 168px);
  line-height: .84;
  letter-spacing: -.018em;
  color: var(--e5-white);
  margin: 0;
  max-width: 14ch;
}
.e5-hero__title .e5-out {
  -webkit-text-stroke: 2px var(--e5-lime);
  color: transparent;
  display: inline-block;
}
.e5-hero__title .e5-fill { color: var(--e5-lime); }
.e5-hero__sub {
  font-family: var(--e5-body);
  font-size: clamp(16px, 1.6vw, 20px);
  color: rgba(244,244,236,.78);
  max-width: 52ch; line-height: 1.6;
}
.e5-hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.e5-hero__stamp {
  position: absolute; right: clamp(18px,5vw,80px); bottom: clamp(24px,6vw,70px);
  width: clamp(96px,12vw,150px); aspect-ratio: 1;
  display: grid; place-items: center;
  border: 2px solid var(--e5-lime);
  border-radius: 50%;
  color: var(--e5-lime);
  font-family: var(--e5-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-align: center; text-transform: uppercase;
  transform: rotate(-12deg);
  background: rgba(20,22,14,.4);
  backdrop-filter: blur(2px);
}
@media (max-width: 860px){ .e5-hero__stamp{ display:none; } }

/* ==========================================================================
   CATEGORY TILES
   ========================================================================== */
.e5-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
@media (max-width: 760px){ .e5-split{ grid-template-columns: 1fr; } }
.e5-tile {
  position: relative;
  min-height: clamp(320px, 42vw, 540px);
  display: flex; align-items: flex-end;
  padding: clamp(24px,3vw,40px);
  background: var(--e5-graphite);
  color: var(--e5-bone);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
}
.e5-tile__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: grayscale(.4) contrast(1.05);
  transform: scale(1.02);
  transition: transform .8s var(--e5-ease), filter .5s;
}
.e5-tile::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(180deg, rgba(20,22,14,.15) 0%, rgba(20,22,14,.82) 100%);
}
.e5-tile:hover .e5-tile__bg { transform: scale(1.08); filter: grayscale(0) contrast(1.1); }
.e5-tile__no-img {
  position:absolute; inset:0; z-index:-2;
  background:
    repeating-linear-gradient(-45deg, var(--e5-ink) 0 22px, var(--e5-ink-2) 22px 44px);
}
.e5-tile__meta { position: relative; }
.e5-tile__name {
  font-family: var(--e5-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 5.5vw, 78px); line-height: .9; color: var(--e5-white);
  margin: 0;
}
.e5-tile__go {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--e5-mono); font-size: 13px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--e5-lime);
}
.e5-tile__corner {
  position:absolute; top:18px; right:18px; z-index:1;
  font-family: var(--e5-mono); font-size: 11px; letter-spacing:.2em;
  color: var(--e5-bone); opacity:.7; text-transform: uppercase;
}
.e5-tile--sm { min-height: clamp(220px,26vw,300px); }
.e5-subgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; margin-top: 4px; }
@media (max-width: 900px){ .e5-subgrid{ grid-template-columns: repeat(2,1fr);} }

/* ==========================================================================
   PRODUCT GRID + CARDS  (WooCommerce loop)
   ========================================================================== */
.woocommerce ul.products,
.e5-products .products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 0 !important;
}
@media (max-width: 1024px){ .woocommerce ul.products, .e5-products .products{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 540px){ .woocommerce ul.products, .e5-products .products{ grid-template-columns: 1fr 1fr;} }

.woocommerce ul.products li.product,
.e5-products li.product {
  margin: 0 !important; width: auto !important; padding: 22px !important;
  background: var(--e5-white);
  border: 2px solid var(--e5-ink);
  position: relative;
  transition: transform .18s var(--e5-ease), box-shadow .18s var(--e5-ease);
  text-align: left;
}
.woocommerce ul.products li.product:hover,
.e5-products li.product:hover {
  transform: translate(-3px,-3px);
  box-shadow: 7px 7px 0 0 var(--e5-ink);
  z-index: 2;
}
.woocommerce ul.products li.product a img { margin: 0 0 16px; aspect-ratio: 3/4; object-fit: cover; width: 100%; background: var(--e5-bone-2); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--e5-display); font-weight: 600; text-transform: uppercase;
  font-size: 19px; line-height: 1.05; padding: 0; margin: 0 0 6px; color: var(--e5-ink);
}
.woocommerce ul.products li.product .price {
  font-family: var(--e5-mono); font-weight: 700; color: var(--e5-ink); font-size: 16px;
}
.woocommerce ul.products li.product .price del { color: var(--e5-muted); font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
  position: absolute; top: 0; left: 0; margin: 0; border-radius: 0;
  background: var(--e5-lime); color: var(--e5-ink);
  font-family: var(--e5-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 7px 14px; min-height: 0; line-height: 1;
  border-right: 2px solid var(--e5-ink); border-bottom: 2px solid var(--e5-ink);
}
.woocommerce ul.products li.product .button { margin-top: 16px; width: 100%; }

/* Empty-catalog elegant fallback card */
.e5-soon {
  border: 2px dashed var(--e5-line);
  background: var(--e5-white);
  padding: 40px 24px; text-align: center;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
  min-height: 320px; justify-content: center;
}
.e5-soon__ico { font-family: var(--e5-display); font-size: 46px; color: var(--e5-bone-3); }
.e5-soon__t { font-family: var(--e5-display); text-transform: uppercase; font-size: 20px; }
.e5-soon__d { font-size: 14px; color: var(--e5-muted); }

/* ==========================================================================
   BENEFITS / TRUST
   ========================================================================== */
.e5-benefits { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 2px solid var(--e5-ink); background: var(--e5-white); }
@media (max-width: 860px){ .e5-benefits{ grid-template-columns: 1fr 1fr;} }
@media (max-width: 480px){ .e5-benefits{ grid-template-columns: 1fr;} }
.e5-benefit {
  padding: clamp(26px,3.4vw,40px);
  border-right: 2px solid var(--e5-ink);
  display: flex; flex-direction: column; gap: 10px;
}
.e5-benefit:last-child { border-right: 0; }
@media (max-width: 860px){
  .e5-benefit{ border-bottom: 2px solid var(--e5-ink); }
  .e5-benefit:nth-child(2n){ border-right:0; }
}
.e5-benefit__ico { width: 38px; height: 38px; color: var(--e5-ink); }
.e5-benefit__ico svg { width: 100%; height: 100%; stroke: currentColor; }
.e5-benefit h3 { font-size: 21px; margin: 6px 0 0; text-transform: uppercase; }
.e5-benefit p { font-size: 14.5px; color: var(--e5-muted); margin: 0; }

/* ==========================================================================
   BRAND STORY
   ========================================================================== */
.e5-story { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,5vw,72px); align-items: center; }
@media (max-width: 880px){ .e5-story{ grid-template-columns: 1fr; } }
.e5-story__art {
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, rgba(209,240,56,.12), transparent 60%),
    repeating-linear-gradient(-45deg, var(--e5-ink) 0 26px, var(--e5-ink-2) 26px 52px);
  border: 2px solid var(--e5-ink);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.e5-story__art span {
  font-family: var(--e5-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(60px,9vw,150px); line-height: .82; text-align: center;
  color: transparent; -webkit-text-stroke: 2px rgba(244,244,236,.5);
}
.e5-story__art span b { -webkit-text-stroke: 0; color: var(--e5-lime); display:block; }
.e5-story__body h2 { font-size: clamp(34px,5.4vw,68px); margin: 12px 0 18px; }
.e5-story__body p { color: var(--e5-graphite); margin: 0 0 16px; }
.e5-section--ink .e5-story__body p { color: rgba(244,244,236,.78); }
.e5-facts { display: flex; gap: 38px; flex-wrap: wrap; margin: 26px 0; }
.e5-fact b { font-family: var(--e5-display); font-size: 42px; display:block; color: var(--e5-lime-deep); line-height:1; }
.e5-section--ink .e5-fact b { color: var(--e5-lime); }
.e5-fact span { font-family: var(--e5-mono); font-size: 12px; letter-spacing:.18em; text-transform:uppercase; color: var(--e5-muted); }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.e5-news { text-align: center; max-width: 720px; margin-inline: auto; }
.e5-news h2 { font-size: clamp(36px,6.4vw,86px); color: var(--e5-white); margin: 12px 0 14px; }
.e5-news p { color: rgba(244,244,236,.72); margin: 0 auto 30px; max-width: 46ch; }
.e5-news__form { display: flex; gap: 0; max-width: 520px; margin-inline: auto; }
.e5-news__form input[type=email]{
  flex: 1; border: 2px solid var(--e5-lime); background: transparent; color: var(--e5-white);
  padding: 16px 18px; font-family: var(--e5-mono); font-size: 15px; letter-spacing: .04em;
  border-right: 0; outline: none;
}
.e5-news__form input::placeholder { color: rgba(244,244,236,.45); }
.e5-news__form button { border-color: var(--e5-lime); box-shadow: none; flex-shrink: 0; }
.e5-news small { display:block; margin-top: 14px; color: var(--e5-muted); font-family: var(--e5-mono); font-size: 12px; letter-spacing:.1em; }
@media (max-width: 520px){ .e5-news__form{ flex-direction: column; gap: 10px;} .e5-news__form input{ border-right:2px solid var(--e5-lime);} }

/* ==========================================================================
   SOCIAL STRIP
   ========================================================================== */
.e5-ig { display: grid; grid-template-columns: repeat(6,1fr); gap: 4px; }
@media (max-width: 900px){ .e5-ig{ grid-template-columns: repeat(3,1fr);} }
.e5-ig a { aspect-ratio: 1; position: relative; overflow: hidden; background: var(--e5-graphite); display:block; }
.e5-ig a::before {
  content:""; position:absolute; inset:0;
  background: repeating-linear-gradient(-45deg, var(--e5-ink) 0 18px, var(--e5-ink-2) 18px 36px);
}
.e5-ig a::after {
  content:"@equis5indumentaria"; position:absolute; inset:0; display:grid; place-items:center;
  font-family: var(--e5-mono); font-size: 12px; letter-spacing:.16em; color: rgba(244,244,236,.32);
  opacity:0; transition:.25s;
}
.e5-ig a:hover::after { opacity:1; background: rgba(209,240,56,.14); color: var(--e5-lime); }
/* Feed real de Instagram (Smash Balloon) integrado al sistema e5- */
.e5-ig--live #sb_instagram, .e5-ig--live .sbi_photo { border-radius: 0 !important; }
.e5-ig--live #sb_instagram { padding: 0 !important; }
.e5-ig--live .sbi_photo { aspect-ratio: 1; }
.e5-ig--live .sb_instagram_header { display: none !important; }

/* ==========================================================================
   WOOCOMMERCE — single product, cart, checkout, notices
   ========================================================================== */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
  border-top: 0; border-left: 4px solid var(--e5-lime);
  background: var(--e5-white); box-shadow: 4px 4px 0 0 var(--e5-ink);
  font-family: var(--e5-body); border-radius: 0;
}
.woocommerce-error { border-left-color: #b82105; }
.woocommerce div.product .product_title { font-size: clamp(32px,4.5vw,58px); }
.woocommerce div.product p.price, .woocommerce div.product span.price {
  color: var(--e5-ink); font-family: var(--e5-mono); font-weight: 700; font-size: 26px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: var(--e5-bone-2); border-color: var(--e5-ink); border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--e5-lime); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--e5-display); text-transform: uppercase; font-weight: 600; letter-spacing:.05em;
}
.woocommerce .quantity .qty {
  border: 2px solid var(--e5-ink); border-radius: 0; padding: 12px; font-family: var(--e5-mono); font-weight: 700;
}
table.cart, .cart_totals table, .woocommerce table.shop_table {
  border: 2px solid var(--e5-ink) !important; border-radius: 0 !important;
}
.woocommerce table.shop_table th {
  font-family: var(--e5-display); text-transform: uppercase; letter-spacing: .06em;
  background: var(--e5-ink); color: var(--e5-bone);
}
.woocommerce-checkout #payment, .woocommerce .cart-collaterals .cart_totals > h2,
.woocommerce form .form-row { font-family: var(--e5-body); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-checkout select, .select2-container--default .select2-selection--single {
  border: 2px solid var(--e5-ink) !important; border-radius: 0 !important; padding: 12px !important; min-height: 48px;
}
.woocommerce-checkout #payment { background: var(--e5-white); border: 2px solid var(--e5-ink); border-radius: 0; }
.woocommerce .woocommerce-breadcrumb {
  font-family: var(--e5-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--e5-muted);
}
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li {
  border: 0; margin: 4px;
}
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  border: 2px solid var(--e5-ink); font-family: var(--e5-display); font-weight: 700; padding: 10px 16px;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--e5-lime); color: var(--e5-ink); }

/* Shop page header */
.woocommerce-products-header__title, .page-title {
  font-family: var(--e5-display); text-transform: uppercase;
  font-size: clamp(40px,7vw,92px) !important; line-height:.9;
}
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering select {
  font-family: var(--e5-mono); text-transform: uppercase; font-size: 13px; letter-spacing: .08em;
}

/* ==========================================================================
   FOOTER  (Kadence footer — restyled)
   ========================================================================== */
.site-footer, #colophon, .site-footer-row-container-inner {
  background: var(--e5-ink) !important;
  color: var(--e5-bone);
  border-top: 6px solid var(--e5-lime);
}
.site-footer a { color: var(--e5-bone); }
.site-footer a:hover { color: var(--e5-lime); }
.site-footer .widget-title, .site-footer h2, .site-footer h3 {
  font-family: var(--e5-display); text-transform: uppercase; letter-spacing: .06em;
  color: var(--e5-white); font-size: 20px;
}
.site-footer .footer-navigation .menu a {
  font-family: var(--e5-body); text-transform: none; letter-spacing: 0;
}
.site-bottom-footer-wrap, .site-footer-bottom-section-wrap {
  border-top: 1px solid var(--e5-line-on-dark);
  font-family: var(--e5-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--e5-muted);
}

/* ---- Footer a medida (reemplaza el constructor de Kadence) ---- */
.e5-footer {
  background: var(--e5-ink);
  color: var(--e5-bone);
  border-top: 6px solid var(--e5-lime);
  position: relative;
}
.e5-footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--e5-grain); opacity: .5; pointer-events: none;
}
.e5-footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(48px, 7vw, 88px);
}
.e5-footer__logo {
  font-family: var(--e5-display); font-weight: 700;
  font-size: clamp(30px, 4vw, 44px); letter-spacing: .04em;
  text-transform: uppercase; color: var(--e5-white);
  display: inline-block; line-height: 1;
}
.e5-footer__logo b { color: var(--e5-lime); }
.e5-footer__tag {
  font-family: var(--e5-mono); text-transform: uppercase;
  letter-spacing: .16em; font-size: 12px; color: var(--e5-olive);
  margin: 16px 0 12px;
}
.e5-footer__blurb { max-width: 38ch; color: var(--e5-bone); opacity: .82; margin: 0 0 22px; }
.e5-footer__social { display: flex; gap: 12px; }
.e5-footer__social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--e5-line-on-dark); border-radius: var(--e5-radius);
  color: var(--e5-bone); transition: all .2s var(--e5-ease);
}
.e5-footer__social a:hover {
  background: var(--e5-lime); color: var(--e5-ink); border-color: var(--e5-lime);
  transform: translateY(-2px);
}
.e5-footer__social svg { width: 20px; height: 20px; stroke: currentColor; }
.e5-footer__h {
  font-family: var(--e5-display); text-transform: uppercase;
  letter-spacing: .08em; font-size: 16px; color: var(--e5-white);
  margin: 0 0 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--e5-line-on-dark);
}
.e5-footer__col { display: flex; flex-direction: column; }
.e5-footer__col a,
.e5-footer__col span,
.e5-footer__col p {
  color: var(--e5-bone); opacity: .82; margin: 0 0 11px;
  font-size: 15px; line-height: 1.5;
}
.e5-footer__col a { opacity: 1; width: fit-content; transition: color .15s var(--e5-ease); }
.e5-footer__col a:hover { color: var(--e5-lime); }
.e5-footer__col--stores strong { color: var(--e5-white); font-weight: 600; opacity: 1; }
.e5-footer__bottom {
  position: relative;
  border-top: 1px solid var(--e5-line-on-dark);
}
.e5-footer__bottominner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding-block: 22px;
  font-family: var(--e5-mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--e5-muted);
}
.e5-footer__sign { color: var(--e5-olive); }
@media (max-width: 900px) {
  .e5-footer__grid { grid-template-columns: 1fr 1fr; }
  .e5-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .e5-footer__grid { grid-template-columns: 1fr; }
  .e5-footer__bottominner { justify-content: center; text-align: center; }
}
.e5-footer__logo { line-height: 0; }
.e5-footer__logoimg {
  height: clamp(46px, 6vw, 64px); width: auto; max-width: 220px;
  object-fit: contain; display: block;
}
.e5-footer__wa {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 4px; opacity: 1 !important;
}
.e5-footer__wa svg { width: 15px; height: 15px; color: #25D366; flex: none; }

/* ---- Botón flotante WhatsApp ---- */
.e5-wa { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 9999; }
.e5-wa__fab {
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.28); position: relative;
  transition: transform .2s var(--e5-ease), background .2s var(--e5-ease);
}
.e5-wa__fab:hover { transform: scale(1.06); }
.e5-wa__fab svg { width: 32px; height: 32px; transition: opacity .15s, transform .15s; }
.e5-wa__close {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 22px; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s;
}
.e5-wa__panel {
  position: absolute; right: 0; bottom: 72px; width: min(86vw, 300px);
  background: var(--e5-ink); color: var(--e5-bone);
  border: 1px solid var(--e5-line-on-dark); border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0,0,0,.4); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.96);
  transform-origin: bottom right; transition: all .22s var(--e5-ease);
}
.e5-wa__head { padding: 16px 18px; border-bottom: 1px solid var(--e5-line-on-dark); background: #1f7a3d; }
.e5-wa__head strong { display: block; font-family: var(--e5-display); text-transform: uppercase; letter-spacing: .05em; color: #fff; font-size: 16px; }
.e5-wa__head span { font-size: 12.5px; color: rgba(255,255,255,.78); }
.e5-wa__opt {
  display: flex; flex-direction: column; gap: 2px;
  padding: 13px 18px; color: var(--e5-bone) !important;
  border-bottom: 1px solid var(--e5-line-on-dark); transition: background .15s;
}
.e5-wa__opt:last-child { border-bottom: 0; }
.e5-wa__opt:hover { background: var(--e5-graphite); color: var(--e5-lime) !important; }
.e5-wa__optname { font-weight: 600; font-size: 15px; }
.e5-wa__optnum { font-family: var(--e5-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--e5-olive); }
.e5-wa__toggle:checked ~ .e5-wa__panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.e5-wa__toggle:checked ~ .e5-wa__fab { background: #1f7a3d; }
.e5-wa__toggle:checked ~ .e5-wa__fab svg { opacity: 0; transform: scale(.6); }
.e5-wa__toggle:checked ~ .e5-wa__fab .e5-wa__close { opacity: 1; transform: scale(1); }
@media print { .e5-wa { display: none; } }

/* Pre-footer CTA band */
.e5-prefooter {
  background: var(--e5-lime); color: var(--e5-ink);
  text-align: center; padding: clamp(40px,6vw,72px) var(--e5-gutter);
  border-bottom: 2px solid var(--e5-ink);
}
.e5-prefooter h2 { font-size: clamp(34px,6vw,80px); color: var(--e5-ink); margin: 0 0 18px; }
.e5-prefooter p { font-family: var(--e5-mono); letter-spacing:.16em; text-transform:uppercase; font-size:13px; margin:0 0 26px; }

/* ==========================================================================
   PAGE TITLE / GENERIC CONTENT POLISH
   ========================================================================== */
.entry-hero, .wp-site-blocks .entry-hero-container-inner { background: var(--e5-ink); color: var(--e5-bone); }
.entry-hero .entry-title { color: var(--e5-white); }

/* Reveal-on-load for homepage sections */
.e5-reveal { opacity: 0; transform: translateY(26px); }
.is-in .e5-reveal { opacity: 1; transform: none; transition: opacity .7s var(--e5-ease), transform .7s var(--e5-ease); }
.e5-reveal:nth-child(2){ transition-delay:.06s; }
.e5-reveal:nth-child(3){ transition-delay:.12s; }
.e5-reveal:nth-child(4){ transition-delay:.18s; }
@media (prefers-reduced-motion: reduce){ .e5-reveal{ opacity:1; transform:none; } }

/* Scrollbar */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--e5-bone-2); }
::-webkit-scrollbar-thumb { background: var(--e5-ink); border: 3px solid var(--e5-bone-2); }

/* ==========================================================================
   SHOP / CATEGORY  — filter rail + grid
   ========================================================================== */
.e5-shoppage { background: var(--e5-bone); }

/* Hero del archivo */
.e5-shophero { padding: clamp(40px,6vw,80px) 0 clamp(36px,5vw,64px); position: relative; }
.e5-shophero::after {
  content:""; position:absolute; inset:0; background-image: var(--e5-grain);
  mix-blend-mode: overlay; opacity:.5; pointer-events:none;
}
.e5-shophero .e5-kicker { margin: 14px 0 6px; }
.e5-shophero__title {
  font-family: var(--e5-display); font-weight: 700; text-transform: uppercase;
  color: var(--e5-white); line-height:.9; margin: 0;
  font-size: clamp(44px, 8vw, 104px); letter-spacing: -.015em;
}
.e5-shophero__desc { color: rgba(244,244,236,.7); max-width: 60ch; margin: 16px 0 0; }
.e5-crumb.woocommerce-breadcrumb { color: var(--e5-olive); margin: 0 0 6px; }
.e5-crumb a { color: var(--e5-bone); }
.e5-crumb a:hover { color: var(--e5-lime); }
.e5-crumb .sep { color: var(--e5-muted); margin: 0 8px; }

/* Layout 2 columnas */
.e5-shop {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: clamp(24px, 3.5vw, 56px);
  padding-top: clamp(36px,5vw,64px);
  padding-bottom: clamp(56px,9vw,110px);
  align-items: start;
}
.e5-shop__side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; }
.e5-side__head { display: none; }

.e5-filterbox {
  background: var(--e5-white);
  border: 2px solid var(--e5-ink);
  padding: 22px;
}
.e5-filterbox__t {
  font-family: var(--e5-display); text-transform: uppercase; font-size: 18px;
  letter-spacing: .05em; margin: 0 0 14px; padding-bottom: 12px;
  border-bottom: 2px solid var(--e5-line); color: var(--e5-ink);
}
.e5-filterbox--active { background: var(--e5-ink); color: var(--e5-bone); border-color: var(--e5-ink); }
.e5-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.e5-chip {
  font-family: var(--e5-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; background: var(--e5-lime); color: var(--e5-ink);
  padding: 6px 12px; border: 2px solid var(--e5-lime);
}
.e5-clear { font-family: var(--e5-mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--e5-lime); border-bottom: 1px solid var(--e5-lime); }

/* Link "Toda la tienda" */
.e5-cat-all {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--e5-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: 16px; padding: 9px 10px;
  border-left: 3px solid transparent; text-decoration: none; color: var(--e5-ink);
}
.e5-cat-all.is-current, .e5-cat-all:hover { background: var(--e5-bone-2); border-left-color: var(--e5-lime); }

/* Árbol de categorías */
.e5-cattree { list-style: none; margin: 0; padding: 0; }
.e5-cattree--d1 { margin-left: 14px; padding-left: 12px; border-left: 2px solid var(--e5-line); }
.e5-cattree--d2 { margin-left: 10px; padding-left: 10px; }
.e5-cattree--d1, .e5-cattree--d2 { display: none; }
.e5-cattree__item.is-open > .e5-cattree--d1,
.e5-cattree__item.is-open > .e5-cattree--d2 { display: block; }
.e5-cattree__item > a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 10px; text-decoration: none; color: var(--e5-ink);
  border-left: 3px solid transparent;
  font-family: var(--e5-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .03em; font-size: 15.5px; transition: background .15s;
}
.e5-cattree--d0 > .e5-cattree__item > a { font-weight: 700; font-size: 17px; }
.e5-cattree__item > a:hover { background: var(--e5-bone-2); }
.e5-cattree__item.is-current > a {
  background: var(--e5-lime); border-left-color: var(--e5-ink); color: var(--e5-ink);
}
.e5-cattree__name { overflow: hidden; text-overflow: ellipsis; }
.e5-cattree__count {
  font-family: var(--e5-mono); font-size: 11px; font-weight: 700; color: var(--e5-muted);
  background: var(--e5-bone-2); padding: 2px 8px; border-radius: 999px; flex-shrink: 0;
}
.e5-cattree__item.is-current > a .e5-cattree__count { background: var(--e5-ink); color: var(--e5-lime); }
.e5-cattree__item.has-kids > a .e5-cattree__name::after {
  content: " +"; color: var(--e5-muted);
}
.e5-cattree__item.has-kids.is-open > a .e5-cattree__name::after { content: " –"; }

/* Filtro de precio */
.e5-pricefilter__row { display: flex; gap: 10px; }
.e5-pricefilter label { flex: 1; display: flex; flex-direction: column; gap: 6px;
  font-family: var(--e5-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--e5-muted); }
.e5-pricefilter input {
  border: 2px solid var(--e5-ink); border-radius: 0; padding: 11px 10px;
  font-family: var(--e5-mono); font-weight: 700; font-size: 15px; width: 100%; background: var(--e5-bone);
}
.e5-pricefilter input:focus { outline: 2px solid var(--e5-lime); outline-offset: 0; }
.e5-pricefilter__hint { font-family: var(--e5-mono); font-size: 11px; color: var(--e5-muted);
  letter-spacing: .06em; margin: 12px 0 16px; }
.e5-pricefilter .e5-btn { width: 100%; padding: 13px; font-size: 15px; }

.e5-helpbox p { font-size: 14px; color: var(--e5-muted); margin: 0 0 14px; }

/* Barra superior de la grilla */
.e5-shop__main { min-width: 0; }
.e5-shop__bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-bottom: 18px; margin-bottom: 22px; border-bottom: 2px solid var(--e5-ink);
}
.e5-shop__bar .woocommerce-result-count { margin: 0 auto 0 0; }
.e5-shop__bar .woocommerce-ordering { margin: 0; }
.e5-shop__bar select, .woocommerce-ordering select {
  border: 2px solid var(--e5-ink); border-radius: 0; padding: 11px 38px 11px 14px;
  font-family: var(--e5-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: 14px; background: var(--e5-white);
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--e5-ink) 50%), linear-gradient(135deg, var(--e5-ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 13px) center;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.e5-filterbtn { display: none; }

/* Grilla 3-up con sidebar */
.e5-shop__main ul.products,
.e5-shoppage .woocommerce ul.products { grid-template-columns: repeat(3,1fr) !important; }
@media (max-width: 1100px){ .e5-shop__main ul.products{ grid-template-columns: repeat(2,1fr) !important; } }

.e5-noresults {
  border: 2px dashed var(--e5-line); background: var(--e5-white);
  padding: 70px 30px; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 12px;
}
.e5-noresults .e5-btn { margin-top: 12px; }
.e5-filscrim { display: none; }

/* ---- Responsive: rail como cajón deslizante ---- */
@media (max-width: 980px){
  .e5-shop { grid-template-columns: 1fr; }
  .e5-filterbtn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--e5-display); font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; font-size: 15px; padding: 12px 20px;
    border: 2px solid var(--e5-ink); background: var(--e5-lime); color: var(--e5-ink);
    cursor: pointer; box-shadow: 4px 4px 0 0 var(--e5-ink);
  }
  .e5-shop__bar .woocommerce-result-count { order: 3; width: 100%; margin: 8px 0 0; }
  .e5-shop__side {
    position: fixed; inset: 0 auto 0 0; z-index: 9999;
    width: min(86vw, 360px); background: var(--e5-bone);
    transform: translateX(-104%); transition: transform .32s var(--e5-ease);
    overflow-y: auto; padding: 20px; gap: 14px;
    border-right: 3px solid var(--e5-ink); box-shadow: 14px 0 40px rgba(0,0,0,.3);
  }
  .e5-filtoggle:checked ~ .e5-shop__side { transform: translateX(0); }
  .e5-side__head {
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 2px solid var(--e5-ink); padding-bottom: 14px; margin-bottom: 4px;
  }
  .e5-side__title { font-family: var(--e5-display); font-weight: 700; text-transform: uppercase; font-size: 22px; }
  .e5-side__close { font-size: 22px; cursor: pointer; line-height: 1; padding: 4px 8px; }
  .e5-filscrim {
    display: block; position: fixed; inset: 0; z-index: 9998;
    background: rgba(20,22,14,.6); opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .e5-filtoggle:checked ~ .e5-filscrim { opacity: 1; pointer-events: auto; }
  body:has(.e5-filtoggle:checked) { overflow: hidden; }
}
@media (max-width: 560px){
  .e5-shop__main ul.products,
  .e5-shoppage .woocommerce ul.products { grid-template-columns: 1fr 1fr !important; }
}

/* ==========================================================================
   SUCURSALES — locales + mapas
   ========================================================================== */
.e5-hero--suc { min-height: 56vh; }

.e5-suc__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(28px, 4vw, 48px);
}

.e5-suc__card {
  display: flex;
  flex-direction: column;
  background: var(--e5-white);
  border: 2px solid var(--e5-ink);
  box-shadow: var(--e5-shadow-hard);
  transition: transform .3s var(--e5-ease), box-shadow .3s var(--e5-ease);
}
.e5-suc__card:hover {
  transform: translate(-3px,-3px);
  box-shadow: 9px 9px 0 0 var(--e5-lime);
}

.e5-suc__map {
  position: relative;
  aspect-ratio: 16 / 10;
  border-bottom: 2px solid var(--e5-ink);
  background: var(--e5-bone-2);
}
.e5-suc__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(1) contrast(1.06);
  transition: filter .35s var(--e5-ease);
}
.e5-suc__card:hover .e5-suc__map iframe { filter: grayscale(0) contrast(1); }

.e5-suc__body {
  padding: clamp(20px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.e5-suc__tag {
  font-family: var(--e5-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--e5-muted);
}
.e5-suc__name {
  font-family: var(--e5-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: .98;
  color: var(--e5-ink);
  margin: 0;
}
.e5-suc__desc { color: var(--e5-muted); margin: 0; }
.e5-suc__addr {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 0;
  font-size: 16px;
}
.e5-suc__addr svg {
  width: 22px; height: 22px;
  flex: none;
  stroke: var(--e5-ink);
  margin-top: 2px;
}
.e5-suc__addr strong { font-family: var(--e5-display); font-size: 19px; letter-spacing: .01em; }
.e5-suc__cta { margin-top: auto; align-self: flex-start; }

@media (max-width: 820px){
  .e5-suc__grid { grid-template-columns: 1fr; }
}
