/**
 * Theme Name:   Astra ENR Child
 * Theme URI:    https://enrenergy.com/
 * Description:  Tema hijo de Astra con el sistema de diseño ENR Energy
 * Author:       ENR Energy
 * Author URI:   https://enrenergy.com/
 * Template:     astra
 * Version:      1.0.0
 * License:      GNU General Public License v2 or later
 * License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:  astra-enr-child
 */

/* ==============================================
   ENR BRAND SYSTEM — CSS Variables & Reset
   ============================================== */
:root {
  /* ── Colores primarios ── */
  --enr-black: #000000;
  --enr-white: #FFFFFF;
  --enr-red: #eb010a;

  /* ── Paleta extendida ── */
  --enr-red-deep: #CC0000;
  --enr-red-muted: #1A0000;
  --enr-red-glow: rgba(255, 0, 0, 0.15);
  --enr-red-alpha: rgba(255, 0, 0, 0.06);

  /* ── Escala de grises ── */
  --enr-gray-950: #F5F5F5;
  --enr-gray-900: #EEEEEE;
  --enr-gray-800: #E3E3E3;
  --enr-gray-700: #D5D5D5;
  --enr-gray-600: #C2C2C2;
  --enr-gray-400: #777777;
  --enr-gray-200: #333333;
  --enr-gray-100: #171717;

  /* ── Tipografía ── */
  --enr-font-title: 'League Spartan', sans-serif;
  --enr-font-body: 'Source Sans 3', sans-serif;

  /* ── Radios ── */
  --enr-radius-sm: 2px;
  --enr-radius-md: 6px;
  --enr-radius-lg: 12px;

  /* ── Transiciones ── */
  --enr-transition-fast: 0.18s ease;
  --enr-transition-med: 0.35s ease;
  --enr-transition-slow: 0.65s ease;

  /* ── Layout ── */
  --enr-section-pad: 120px 80px;
  --enr-max-width: 1400px;
}


/* ==============================================
   GOOGLE FONTS — cargadas vía functions.php
   ============================================== */


/* ==============================================
   ASTRA OVERRIDES — Tipografía base
   ============================================== */
body,
body.ast-plain-container {
  font-family: var(--enr-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--enr-black);
  background-color: var(--enr-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ast-header-logo-html,
.site-title {
  font-family: var(--enr-font-title);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--enr-black);
}

p,
li,
td,
th,
label,
input,
textarea,
select {
  font-family: var(--enr-font-body);
}

::selection {
  background: var(--enr-red);
  color: var(--enr-white);
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--enr-white);
}

::-webkit-scrollbar-thumb {
  background: var(--enr-red);
}


/* ==============================================
   ASTRA HEADER — Override
   ============================================== */
.ast-primary-header-bar,
#masthead,
.ast-header-html-inside {
  background: var(--enr-white) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

/* Logo / Título del sitio */
.site-title,
.site-title a,
.ast-site-name-wrap a {
  font-family: var(--enr-font-title) !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--enr-black) !important;
  text-decoration: none !important;
}

/* Navegación principal */
.main-navigation a,
.ast-nav-link,
#site-navigation .menu-item a {
  font-family: var(--enr-font-body) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--enr-gray-200) !important;
  transition: color var(--enr-transition-fast) !important;
}

.main-navigation a:hover,
.ast-nav-link:hover,
#site-navigation .menu-item a:hover,
.main-navigation .current-menu-item>a {
  color: var(--enr-red) !important;
}

/* Sub-menús */
.main-navigation .sub-menu {
  background: var(--enr-white) !important;
  border-top: 2px solid var(--enr-red) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.main-navigation .sub-menu li a {
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  padding: 12px 20px !important;
}

.main-navigation .sub-menu li a:hover {
  background: var(--enr-red-alpha) !important;
  color: var(--enr-red) !important;
}


/* ==============================================
   ASTRA FOOTER — Override
   ============================================== */
#colophon,
.site-footer,
.ast-footer-html-inside {
  background: var(--enr-black) !important;
  color: var(--enr-gray-600) !important;
  font-family: var(--enr-font-body) !important;
  font-size: 13px !important;
  letter-spacing: 0.05em !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

#colophon a,
.site-footer a {
  color: var(--enr-gray-400) !important;
  transition: color var(--enr-transition-fast) !important;
}

#colophon a:hover,
.site-footer a:hover {
  color: var(--enr-red) !important;
}


/* ==============================================
   CONTENEDOR
   ============================================== */
.container,
.ast-container,
.entry-content,
.site-content .ast-container {
  max-width: var(--enr-max-width) !important;
}


/* ==============================================
   HEADINGS — Escala tipográfica ENR
   ============================================== */
h1,
.entry-title {
  font-size: clamp(42px, 6vw, 96px);
  line-height: 0.9;
}

h2 {
  font-size: clamp(32px, 4.5vw, 72px);
  line-height: 0.92;
}

h3 {
  font-size: clamp(22px, 3vw, 48px);
  line-height: 0.95;
}

h4 {
  font-size: clamp(16px, 2vw, 28px);
  line-height: 1.1;
}

h5,
h6 {
  font-size: clamp(13px, 1.5vw, 18px);
  line-height: 1.2;
}


/* ==============================================
   SECCIÓN — Estilos base
   ============================================== */
.enr-section {
  padding: var(--enr-section-pad);
  position: relative;
  overflow: hidden;
}

.enr-section--light {
  background: var(--enr-white);
}

.enr-section--gray {
  background: var(--enr-gray-950);
}

.enr-section--dark {
  background: var(--enr-black);
  color: var(--enr-white);
}

.enr-section--red {
  background: var(--enr-red);
  color: var(--enr-white);
}

.enr-container {
  max-width: var(--enr-max-width);
  margin: 0 auto;
  width: 100%;
}

/* Label de sección */
.enr-section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--enr-red);
  margin-bottom: 60px;
}

.enr-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--enr-gray-700), transparent);
}

/* Título de sección */
.enr-section-title {
  font-family: var(--enr-font-title);
  font-weight: 900;
  font-size: clamp(42px, 5vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.enr-section-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--enr-gray-200);
  max-width: 640px;
}


/* ==============================================
   HERO — ENR
   ============================================== */
.enr-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 160px 80px 80px;
}

.enr-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.enr-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255, 0, 0, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(255, 0, 0, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(255, 0, 0, 0.05) 0%, transparent 50%);
  animation: enrHeroGlow 8s ease-in-out infinite alternate;
}

@keyframes enrHeroGlow {
  0% {
    opacity: 0.7;
    transform: scale(1) translateX(0);
  }

  50% {
    opacity: 1;
    transform: scale(1.05) translateX(-2%);
  }

  100% {
    opacity: 0.8;
    transform: scale(1.02) translateX(2%);
  }
}

.enr-hero__diagonal {
  position: absolute;
  top: -20%;
  right: -5%;
  width: 55%;
  height: 140%;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 0, 0, 0.04) 40%, rgba(255, 0, 0, 0.02) 60%, transparent 60%);
  transform: skewX(-8deg);
  animation: enrDiagonalShift 12s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes enrDiagonalShift {
  0% {
    transform: skewX(-8deg) translateX(0);
  }

  100% {
    transform: skewX(-8deg) translateX(3%);
  }
}

.enr-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--enr-max-width);
  margin: 0 auto;
  width: 100%;
}

.enr-hero__overline {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--enr-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--enr-red);
  margin-bottom: 32px;
  animation: enrFadeUp 1s ease both;
  animation-delay: 0.2s;
}

.enr-hero__overline::before {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--enr-red);
}

.enr-hero__title {
  font-family: var(--enr-font-title);
  font-weight: 900;
  font-size: clamp(72px, 9vw, 140px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--enr-black);
  margin-bottom: 8px;
  animation: enrFadeUp 1s ease both;
  animation-delay: 0.4s;
}

.enr-hero__title .red {
  color: var(--enr-red);
}

.enr-hero__title .outlined {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.9);
  color: transparent;
}

.enr-hero__subtitle {
  font-family: var(--enr-font-title);
  font-weight: 300;
  font-size: clamp(18px, 2.5vw, 32px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--enr-white);
  margin-bottom: 60px;
  animation: enrFadeUp 1s ease both;
  animation-delay: 0.6s;
}

.enr-hero__line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--enr-red), transparent);
  animation: enrLineGrow 2s ease both;
  animation-delay: 1.2s;
}

@keyframes enrLineGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes enrFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==============================================
   BOTONES — ENR
   ============================================== */
.btn,
.enr-btn,
.wp-block-button__link,
a.ast-button,
button.ast-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-family: var(--enr-font-title) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  border: none !important;
  transition: all var(--enr-transition-fast) !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--enr-radius-sm) !important;
  text-decoration: none !important;
}

/* Primario */
.enr-btn--primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--enr-red) !important;
  color: var(--enr-white) !important;
  font-size: 14px !important;
  padding: 18px 40px !important;
}

.enr-btn--primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: var(--enr-red-deep) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3) !important;
  color: var(--enr-white) !important;
}

/* Secundario */
.enr-btn--secondary {
  background: transparent !important;
  color: var(--enr-black) !important;
  font-size: 14px !important;
  padding: 17px 40px !important;
  border: 1px solid rgba(0, 0, 0, 0.25) !important;
}

.enr-btn--secondary:hover {
  border-color: var(--enr-black) !important;
  transform: translateY(-1px) !important;
}

/* Ghost / Outline */
.enr-btn--ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--enr-red) !important;
  font-size: 13px !important;
  padding: 14px 28px !important;
  border: 1px solid rgba(235, 1, 10, 0.4) !important;
}

.enr-btn--ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--enr-red-alpha) !important;
  border-color: var(--enr-red) !important;
  color: var(--enr-red) !important;
}

/* Tamaños */
.enr-btn--lg {
  font-size: 16px !important;
  padding: 22px 56px !important;
  letter-spacing: 0.15em !important;
}

.enr-btn--sm {
  font-size: 11px !important;
  padding: 12px 24px !important;
  letter-spacing: 0.12em !important;
}


/* ==============================================
   CARDS — ENR
   ============================================== */
.enr-card {
  background: var(--enr-gray-900);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  transition: background var(--enr-transition-med), box-shadow var(--enr-transition-med);
}

.enr-card:hover {
  background: var(--enr-gray-800);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.enr-card--red-accent::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--enr-red);
  transition: width var(--enr-transition-slow);
}

.enr-card--red-accent:hover::before {
  width: 100%;
}

.enr-card--top-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--enr-red);
  transition: left var(--enr-transition-slow), right var(--enr-transition-slow);
}

.enr-card--top-accent:hover::before {
  left: 0;
  right: 0;
}

.enr-card--left-accent {
  border-left: 3px solid transparent;
  transition: border-color var(--enr-transition-med), background var(--enr-transition-fast);
}

.enr-card--left-accent:hover {
  border-left-color: var(--enr-red);
}


/* ==============================================
   PILARES — ENR (brand pillars)
   ============================================== */
.enr-pillar {
  background: var(--enr-gray-900);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background var(--enr-transition-med);
}

.enr-pillar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--enr-red);
  transition: width var(--enr-transition-slow);
}

.enr-pillar:hover {
  background: var(--enr-gray-800);
}

.enr-pillar:hover::before {
  width: 100%;
}

.enr-pillar__num {
  font-family: var(--enr-font-title);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--enr-red);
  margin-bottom: 20px;
}

.enr-pillar__title {
  font-family: var(--enr-font-title);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.enr-pillar__body {
  font-size: 14px;
  color: var(--enr-gray-400);
  line-height: 1.65;
}


/* ==============================================
   WORDMARK / LOGO — ENR
   ============================================== */
.enr-wordmark {
  font-family: var(--enr-font-title);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.enr-wordmark .enr {
  color: var(--enr-red);
}

.enr-wordmark .black {
  color: var(--enr-black);
}

.enr-wordmark .white {
  color: var(--enr-white);
}

.enr-tagline {
  font-family: var(--enr-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--enr-gray-400);
}


/* ==============================================
   MANIFESTO / QUOTE BLOCK — ENR
   ============================================== */
.enr-manifesto {
  font-family: var(--enr-font-title);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative;
  padding-left: 32px;
}

.enr-manifesto::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--enr-red), transparent);
}

.enr-manifesto .highlight {
  -webkit-text-stroke: 1px var(--enr-red);
  color: transparent;
}


/* ==============================================
   VALUES LIST — ENR
   ============================================== */
.enr-value-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: all var(--enr-transition-fast);
  cursor: default;
}

.enr-value-item:hover .enr-value__name {
  color: var(--enr-red);
}

.enr-value-item:hover .enr-value__icon {
  background: var(--enr-red);
  color: var(--enr-white);
}

.enr-value__icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all var(--enr-transition-fast);
  border-radius: var(--enr-radius-sm);
}

.enr-value__name {
  font-family: var(--enr-font-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--enr-transition-fast);
}

.enr-value__desc {
  font-size: 13px;
  color: var(--enr-gray-400);
  margin-left: auto;
  text-align: right;
  max-width: 180px;
}


/* ==============================================
   DISCIPLINE CARDS — ENR
   ============================================== */
.enr-discipline-card {
  background: var(--enr-gray-950);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: background var(--enr-transition-med);
  cursor: default;
}

.enr-discipline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--enr-red);
  transition: left var(--enr-transition-slow), right var(--enr-transition-slow);
}

.enr-discipline-card:hover {
  background: var(--enr-gray-900);
}

.enr-discipline-card:hover::before {
  left: 0;
  right: 0;
}

.enr-discipline__icon {
  font-size: 48px;
  line-height: 1;
}

.enr-discipline__name {
  font-family: var(--enr-font-title);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.enr-discipline__desc {
  font-size: 13px;
  color: var(--enr-gray-400);
  line-height: 1.6;
}


/* ==============================================
   BADGES / CHIPS — ENR
   ============================================== */
.enr-badge {
  display: inline-block;
  font-family: var(--enr-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--enr-white);
  background: var(--enr-red);
  padding: 6px 16px;
  border-radius: var(--enr-radius-sm);
}

.enr-badge--outline {
  background: transparent;
  color: var(--enr-red);
  border: 1px solid rgba(235, 1, 10, 0.4);
}

.enr-badge--dark {
  background: var(--enr-black);
  color: var(--enr-white);
}


/* ==============================================
   TAGLINES — ENR
   ============================================== */
.enr-tagline-item {
  padding: 32px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: all var(--enr-transition-fast);
  cursor: default;
}

.enr-tagline-item:hover .enr-tagline__text {
  color: var(--enr-red);
}

.enr-tagline__text {
  font-family: var(--enr-font-title);
  font-size: clamp(24px, 3.5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--enr-black);
  transition: color var(--enr-transition-fast);
}

.enr-tagline__sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--enr-gray-600);
  margin-top: 8px;
}


/* ==============================================
   MOTION / KEYFRAMES — ENR
   ============================================== */
@keyframes enrWidthGrow {
  from {
    width: 0;
  }

  to {
    width: 48px;
  }
}

@keyframes enrBarGrow {
  from {
    width: 0 !important;
  }
}

@keyframes enrPulseDot {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 16px rgba(255, 0, 0, 0);
  }
}

@keyframes enrSlideSweep {
  from {
    left: -40%;
  }

  to {
    left: 140%;
  }
}


/* ==============================================
   UTILIDADES — ENR
   ============================================== */
.enr-text-red {
  color: var(--enr-red) !important;
}

.enr-text-black {
  color: var(--enr-black) !important;
}

.enr-text-white {
  color: var(--enr-white) !important;
}

.enr-text-muted {
  color: var(--enr-gray-400) !important;
}

.enr-bg-red {
  background-color: var(--enr-red) !important;
}

.enr-bg-black {
  background-color: var(--enr-black) !important;
}

.enr-bg-white {
  background-color: var(--enr-white) !important;
}

.enr-bg-gray {
  background-color: var(--enr-gray-950) !important;
}

.enr-font-title {
  font-family: var(--enr-font-title) !important;
}

.enr-font-body {
  font-family: var(--enr-font-body) !important;
}

.enr-uppercase {
  text-transform: uppercase !important;
}

.enr-tracking-wide {
  letter-spacing: 0.2em !important;
}

.enr-border-top-red {
  border-top: 2px solid var(--enr-red) !important;
}

.enr-border-left-red {
  border-left: 3px solid var(--enr-red) !important;
}

.enr-border-bottom-red {
  border-bottom: 2px solid var(--enr-red) !important;
}

.enr-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--enr-red), transparent);
  border: none;
  margin: 60px 0;
}

/* Línea roja decorativa */
.enr-red-line {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: var(--enr-red);
  vertical-align: middle;
  margin-right: 16px;
}


/* ==============================================
   WORDPRESS — Posts / Archivos / Comments
   ============================================== */

/* Post title */
.entry-title a {
  color: var(--enr-black) !important;
  text-decoration: none !important;
  transition: color var(--enr-transition-fast) !important;
}

.entry-title a:hover {
  color: var(--enr-red) !important;
}

/* Post meta */
.entry-meta,
.ast-post-meta,
.posted-on,
.byline {
  font-family: var(--enr-font-body) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--enr-gray-400) !important;
}

/* Links en contenido */
.entry-content a {
  color: var(--enr-red) !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(235, 1, 10, 0.3) !important;
  transition: text-decoration-color var(--enr-transition-fast) !important;
}

.entry-content a:hover {
  text-decoration-color: var(--enr-red) !important;
}

/* Categorías / Tags */
.wp-block-post-terms a,
.cat-links a,
.tags-links a,
.ast-breadcrumbs a {
  color: var(--enr-red) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: opacity var(--enr-transition-fast) !important;
}

.cat-links a:hover,
.tags-links a:hover {
  opacity: 0.7 !important;
}

/* Paginación */
.page-numbers,
.nav-links a,
.ast-pagination .page-numbers {
  font-family: var(--enr-font-title) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.1em !important;
  color: var(--enr-black) !important;
  transition: color var(--enr-transition-fast) !important;
}

.page-numbers.current,
.page-numbers:hover,
.nav-links a:hover {
  color: var(--enr-red) !important;
}

/* Comentarios */
.comment-author .fn {
  font-family: var(--enr-font-title) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

/* Formularios */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="tel"],
textarea,
select {
  font-family: var(--enr-font-body) !important;
  font-size: 15px !important;
  border: 1px solid var(--enr-gray-700) !important;
  border-radius: var(--enr-radius-sm) !important;
  transition: border-color var(--enr-transition-fast) !important;
  color: var(--enr-black) !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-color: var(--enr-red) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px var(--enr-red-alpha) !important;
}

input[type="submit"],
button[type="submit"] {
  background: var(--enr-red) !important;
  color: var(--enr-white) !important;
  font-family: var(--enr-font-title) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: var(--enr-radius-sm) !important;
  cursor: pointer !important;
  transition: background var(--enr-transition-fast), transform var(--enr-transition-fast) !important;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--enr-red-deep) !important;
  transform: translateY(-1px) !important;
}


/* ==============================================
   CUSTOM ENR HEADER
   ============================================== */
.enr-custom-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--enr-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--enr-transition-med);
}

.enr-custom-header {
  position: relative;
  z-index: 100;
}

.enr-header-container {
  max-width: var(--enr-max-width);
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.enr-logo-link {
  text-decoration: none !important;
}

.enr-logo-link .enr-wordmark {
  font-size: 24px;
}

.enr-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.enr-nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.enr-nav-menu li {
  margin: 0;
}

.enr-nav-menu li a {
  font-family: var(--enr-font-body);
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--enr-gray-200);
  text-decoration: none;
  transition: color var(--enr-transition-fast);
}

.enr-nav-menu li a:hover,
.enr-nav-menu li.current-menu-item a {
  color: var(--enr-red);
}

.enr-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.enr-social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.enr-social-icons a {
  color: var(--enr-black);
  transition: color var(--enr-transition-fast), transform var(--enr-transition-fast);
  display: flex;
}

.enr-social-icons a:hover {
  color: var(--enr-red);
  transform: translateY(-2px);
}

.enr-mobile-menu-toggle {
  display: none;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  color: var(--enr-black) !important;
  cursor: pointer;
  padding: 8px;
  box-shadow: none !important;
}

.enr-mobile-menu-toggle:hover,
.enr-mobile-menu-toggle:focus,
.enr-mobile-menu-toggle:active {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--enr-red) !important;
  border: none !important;
  box-shadow: none !important;
}

/* ==============================================
   CUSTOM ENR FOOTER
   ============================================== */
.enr-custom-footer {
  background: var(--enr-black);
  color: var(--enr-gray-600);
  padding: 80px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.enr-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.enr-footer-logo {
  display: inline-block;
  text-decoration: none !important;
  margin-bottom: 24px;
}

.enr-footer-logo .enr-wordmark {
  font-size: 32px;
}

.enr-footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.enr-footer-newsletter {
  display: flex;
  position: relative;
  max-width: 320px;
}

.enr-footer-newsletter input[type="email"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--enr-white) !important;
  padding: 12px 48px 12px 16px !important;
  font-size: 14px !important;
}

.enr-footer-newsletter input[type="email"]:focus {
  border-color: var(--enr-red) !important;
  box-shadow: none !important;
}

.enr-footer-newsletter button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 48px;
  background: transparent !important;
  border: none !important;
  color: var(--enr-red) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--enr-transition-fast) !important;
}

.enr-footer-newsletter button:hover {
  transform: translateX(2px) !important;
  background: transparent !important;
}

.enr-footer-title {
  font-family: var(--enr-font-title);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--enr-white);
  margin-bottom: 24px;
}

.enr-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.enr-footer-links li a {
  color: var(--enr-gray-400) !important;
  text-decoration: none !important;
  font-size: 14px;
  transition: color var(--enr-transition-fast) !important;
}

.enr-footer-links li a:hover {
  color: var(--enr-white) !important;
}

.enr-footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.enr-footer-social a {
  color: var(--enr-gray-400) !important;
  transition: color var(--enr-transition-fast) !important;
}

.enr-footer-social a:hover {
  color: var(--enr-white) !important;
}

.enr-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.enr-copyright {
  font-size: 12px;
  color: var(--enr-gray-600);
  margin: 0;
  letter-spacing: 0.05em;
}

.enr-credit {
  color: var(--enr-gray-400);
}

.enr-credit a {
  color: var(--enr-white) !important;
  text-decoration: none !important;
  font-weight: 700;
  transition: color var(--enr-transition-fast) !important;
}

.enr-credit a:hover {
  color: var(--enr-red) !important;
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1024px) {
  :root {
    --enr-section-pad: 80px 40px;
  }

  .enr-hero {
    padding: 120px 40px 60px;
  }

  .enr-nav {
    display: none !important;
  }

  .enr-nav.active {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff !important;
    background-color: #ffffff !important;
    padding: 24px 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .enr-nav .enr-nav-menu {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .enr-header-actions {
    display: none;
  }

  .enr-mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  :root {
    --enr-section-pad: 60px 24px;
  }

  .enr-footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .enr-hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .enr-hero__title {
    font-size: clamp(48px, 12vw, 80px);
  }
}

@media (max-width: 480px) {
  :root {
    --enr-section-pad: 48px 16px;
  }

  .enr-hero {
    padding: 90px 16px 48px;
  }
}


/* ==============================================
   PRODUCT PAGE (PDP) — ENR
   ============================================== */

/* Urgency Bar */
.enr-pdp-urgency-bar {
  background: var(--enr-black);
  color: var(--enr-white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid var(--enr-red);
}

.enr-pdp-urgency-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 40px;
  position: relative;
}

.enr-pdp-urgency-fire {
  font-size: 16px;
}

.enr-pdp-urgency-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--enr-gray-600);
  cursor: pointer;
  font-size: 14px;
  transition: color var(--enr-transition-fast);
}

.enr-pdp-urgency-close:hover {
  color: var(--enr-white);
}

/* Hero Grid */
.enr-pdp-hero-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.enr-pdp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Galería */
.enr-pdp-gallery {
  position: sticky;
  top: 100px;
}

.enr-pdp-gallery-main {
  position: relative;
  background: var(--enr-gray-950);
  border-radius: var(--enr-radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.enr-pdp-badge-sale {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 14px;
  padding: 8px 16px;
}

.enr-pdp-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--enr-transition-med);
}

.enr-pdp-gallery-main:hover .enr-pdp-main-img {
  transform: scale(1.02);
}

.enr-pdp-gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.enr-pdp-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--enr-radius-sm);
  overflow: hidden;
  background: var(--enr-gray-900);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--enr-transition-fast);
  padding: 0;
}

.enr-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enr-pdp-thumb.is-active,
.enr-pdp-thumb:hover {
  border-color: var(--enr-red);
}

/* Buy Panel */
.enr-pdp-buy-panel {
  padding-top: 8px;
}

.enr-pdp-buy-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.enr-pdp-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.enr-pdp-stars {
  color: var(--enr-red);
  font-size: 16px;
  letter-spacing: 2px;
}

.enr-pdp-rating-count {
  font-size: 12px;
  color: var(--enr-gray-400);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.enr-pdp-title {
  font-family: var(--enr-font-title);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* Price */
.enr-pdp-price-wrap {
  border: 1px solid var(--enr-gray-800);
  border-radius: var(--enr-radius-md);
  padding: 24px;
  margin-bottom: 24px;
  background: var(--enr-gray-950);
}

.enr-pdp-price-main {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}

.enr-pdp-price-original {
  font-family: var(--enr-font-title);
  font-size: 18px;
  color: var(--enr-gray-600);
  text-decoration: line-through;
  font-weight: 700;
}

.enr-pdp-price-current {
  font-family: var(--enr-font-title);
  font-size: 40px;
  font-weight: 900;
  color: var(--enr-black);
  letter-spacing: -0.03em;
  line-height: 1;
}

.enr-pdp-price-discounts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--enr-gray-800);
}

.enr-pdp-discount-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--enr-font-body);
  font-size: 15px;
  color: var(--enr-gray-200);
}

/* Urgency Box / Countdown */
.enr-pdp-urgency-box {
  background: var(--enr-black);
  border-radius: var(--enr-radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.enr-pdp-countdown-wrap {
  margin-bottom: 16px;
}

.enr-pdp-countdown-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--enr-gray-600);
  display: block;
  margin-bottom: 10px;
}

.enr-pdp-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
}

.enr-pdp-cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--enr-gray-100);
  border-radius: var(--enr-radius-sm);
  padding: 8px 14px;
  min-width: 56px;
}

.enr-pdp-cd-num {
  font-family: var(--enr-font-title);
  font-size: 28px;
  font-weight: 900;
  color: var(--enr-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.enr-pdp-cd-unit {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--enr-gray-600);
  margin-top: 2px;
}

.enr-pdp-cd-sep {
  font-family: var(--enr-font-title);
  font-size: 24px;
  font-weight: 900;
  color: var(--enr-red);
}

.enr-pdp-stock-bar {
  height: 4px;
  background: var(--enr-gray-100);
  border-radius: 2px;
  margin-bottom: 10px;
  overflow: hidden;
}

.enr-pdp-stock-fill {
  height: 100%;
  background: var(--enr-red);
  border-radius: 2px;
  transition: width var(--enr-transition-slow);
}

.enr-pdp-stock-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--enr-gray-400);
  margin: 0;
}

/* Benefits List */
.enr-pdp-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.enr-pdp-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--enr-gray-200);
  line-height: 1.4;
}

.enr-pdp-check {
  color: var(--enr-red);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1.4;
}

/* CTA Buttons */
.enr-pdp-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.enr-pdp-cta-main {
  width: 100%;
  justify-content: center !important;
  font-size: 16px !important;
  padding: 20px 40px !important;
}

.enr-pdp-cta-secondary {
  width: 100%;
  justify-content: center !important;
}

/* Trust Badges */
.enr-pdp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--enr-gray-800);
  border: 1px solid var(--enr-gray-800);
  border-radius: var(--enr-radius-sm);
  overflow: hidden;
}

.enr-pdp-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--enr-gray-950);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--enr-gray-200);
  line-height: 1.3;
}

.enr-pdp-trust-item svg {
  color: var(--enr-red);
  flex-shrink: 0;
}

/* Brand Stats Bar */
.enr-pdp-brand-bar {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.enr-pdp-brand-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.enr-pdp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.enr-pdp-stat-num {
  font-family: var(--enr-font-title);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--enr-white);
}

.enr-pdp-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--enr-gray-400);
}

.enr-pdp-brand-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* Description Section */
.enr-pdp-desc-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.enr-pdp-desc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.enr-pdp-desc-media {
  position: relative;
}

.enr-pdp-desc-media-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--enr-white);
  border: 1px solid var(--enr-gray-800);
  border-left: 4px solid var(--enr-red);
  padding: 20px 24px;
  border-radius: var(--enr-radius-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.enr-pdp-media-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Feature List */
.enr-pdp-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.enr-pdp-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--enr-gray-800);
  transition: all var(--enr-transition-fast);
  cursor: default;
}

.enr-pdp-feature-row:hover .enr-value__name {
  color: var(--enr-red);
}

.enr-pdp-feature-row:hover .enr-value__icon {
  background: var(--enr-red);
  color: var(--enr-white);
  border-color: var(--enr-red);
}

/* Specs Section */
.enr-pdp-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.enr-pdp-specs-category {
  background: var(--enr-white);
  border: 1px solid var(--enr-gray-800);
  border-top: 3px solid var(--enr-red);
  padding: 32px;
  border-radius: var(--enr-radius-sm);
}

.enr-pdp-specs-cat-title {
  font-family: var(--enr-font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--enr-red);
  margin-bottom: 20px;
}

.enr-pdp-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--enr-gray-900);
  gap: 16px;
}

.enr-pdp-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.enr-pdp-spec-key {
  font-size: 13px;
  color: var(--enr-gray-400);
  font-weight: 600;
}

.enr-pdp-spec-val {
  font-family: var(--enr-font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--enr-black);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Reviews */
.enr-pdp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 60px;
}

.enr-pdp-review-card {
  display: flex;
  flex-direction: column;
}

.enr-pdp-review-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--enr-gray-900);
  gap: 12px;
}

.enr-pdp-rating-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--enr-gray-800);
  padding-top: 40px;
}

.enr-pdp-rating-big {
  font-family: var(--enr-font-title);
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--enr-black);
}

.enr-pdp-stars-big {
  color: var(--enr-red);
  font-size: 24px;
  letter-spacing: 4px;
  margin-bottom: 8px;
}

/* Steps */
.enr-pdp-steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 60px;
}

.enr-pdp-step {
  background: var(--enr-white);
  border: 1px solid var(--enr-gray-800);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--enr-transition-fast), box-shadow var(--enr-transition-fast);
}

.enr-pdp-step:hover {
  border-color: var(--enr-red);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.enr-pdp-step-num {
  font-family: var(--enr-font-title);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--enr-red);
  margin-bottom: 16px;
}

.enr-pdp-step-arrow {
  font-family: var(--enr-font-title);
  font-size: 28px;
  font-weight: 900;
  color: var(--enr-gray-700);
  flex-shrink: 0;
}

/* FAQ */
.enr-pdp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

/* Final CTA */
.enr-pdp-final-cta {
  padding-top: 120px;
  padding-bottom: 120px;
}

.enr-pdp-final-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==============================================
   PDP RESPONSIVE
   ============================================== */
@media (max-width: 1024px) {
  .enr-pdp-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .enr-pdp-gallery {
    position: static;
  }

  .enr-pdp-brand-bar-inner {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .enr-pdp-brand-divider {
    display: none;
  }

  .enr-pdp-desc-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .enr-pdp-specs-grid {
    grid-template-columns: 1fr;
  }

  .enr-pdp-reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .enr-pdp-steps-grid {
    grid-template-columns: 1fr;
  }

  .enr-pdp-step-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .enr-pdp-faq-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .enr-pdp-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .enr-pdp-reviews-grid {
    grid-template-columns: 1fr;
  }

  .enr-pdp-final-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .enr-pdp-final-btns .btn {
    text-align: center !important;
    justify-content: center !important;
  }

  .enr-pdp-desc-media-card {
    position: static;
    margin-top: 16px;
  }

  .enr-pdp-rating-big {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .enr-pdp-price-current {
    font-size: 32px;
  }

  .enr-pdp-gallery-thumbs {
    gap: 6px;
  }

  .enr-pdp-thumb {
    width: 56px;
    height: 56px;
  }

  .enr-pdp-hero-section {
    padding-top: 32px;
  }
}


/* ==============================================
   PDP — AJUSTES Y CORRECCIONES v2
   ============================================== */

/* Ancho completo de pantalla */
.enr-pdp {
  width: 100%;
  max-width: 100%;
  padding-top: 80px;
  /* altura del header fijo */
}

/* Grid "Qué incluye" — 3 columnas explícitas */
.enr-pdp-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.enr-pdp-include-card {
  background: var(--enr-gray-100);
}

/* FAQ — lista y respuesta hidden nativa */
.enr-pdp-faq-list {
  display: flex;
  flex-direction: column;
}

.enr-faq-item {
  border-bottom: 1px solid var(--enr-gray-800);
  padding: 24px 0;
  transition: border-color var(--enr-transition-fast);
}

.enr-faq-item:hover {
  border-bottom-color: var(--enr-gray-600);
}

.enr-faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--enr-font-title);
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--enr-black);
  background-color: transparent !important;
  transition: color var(--enr-transition-fast);
}

.enr-faq-question:hover,
.enr-faq-question:focus,
.enr-faq-question:active {
  color: var(--enr-red);
  background-color: transparent !important;
  outline: none;
}

.enr-faq-icon {
  font-family: var(--enr-font-body);
  font-size: 20px;
  font-weight: 300;
  color: var(--enr-gray-400);
  transition: color var(--enr-transition-fast), border-color var(--enr-transition-fast), transform var(--enr-transition-fast);
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--enr-gray-800);
  border-radius: 50%;
  text-align: center;
}

.enr-faq-question:hover .enr-faq-icon {
  color: var(--enr-red);
  border-color: var(--enr-red);
  transform: scale(1.05);
}

.enr-faq-answer[hidden] {
  display: none;
}

.enr-faq-answer:not([hidden]) {
  display: block;
  margin-top: 16px;
  font-family: var(--enr-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--enr-gray-200);
  animation: enrFaqSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes enrFaqSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Final CTA — centrado */
.enr-pdp-final-cta {
  padding-top: 120px;
  padding-bottom: 120px;
  text-align: center;
  position: relative;
}

.enr-pdp-final-cta-inner {
  position: relative;
  z-index: 2;
}

.enr-pdp-final-label {
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.enr-pdp-final-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.enr-pdp-final-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.enr-pdp-final-wa {
  color: var(--enr-red) !important;
  border-color: white !important;
}

.enr-pdp-final-email {
  color: white !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.enr-pdp-final-meta {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-top: 32px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Responsive PDP v2 */
@media (max-width: 1024px) {
  .enr-pdp-includes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .enr-pdp-includes-grid {
    grid-template-columns: 1fr;
  }

  .enr-pdp-final-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .enr-pdp-final-wa,
  .enr-pdp-final-email {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* ==============================================
   STICKY BOTTOM BAR
   ============================================== */
.enr-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--enr-white);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.enr-sticky-bar.is-visible {
  transform: translateY(0);
}

.enr-sticky-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.enr-sticky-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.enr-sticky-img {
  width: 60px !Important;
  height: 60px !Important;
  object-fit: cover !Important;
  border-radius: var(--enr-radius-sm);
  background: var(--enr-gray-950);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.enr-sticky-text {
  display: flex;
  flex-direction: column;
}

.enr-sticky-title {
  font-family: var(--enr-font-title);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--enr-black);
  margin-bottom: 2px;
}

.enr-sticky-price {
  display: flex;
  align-items: center;
  gap: 12px;
}

.enr-sticky-price-original {
  text-decoration: line-through;
  color: var(--enr-gray-600);
  font-size: 13px;
}

.enr-sticky-price-current {
  color: var(--enr-red);
  font-weight: 700;
  font-size: 17px;
}

@media (max-width: 640px) {
  .enr-sticky-bar-inner {
    padding: 12px 16px;
  }

  .enr-sticky-img {
    display: none;
  }

  .enr-sticky-title {
    font-size: 15px;
  }

  .enr-sticky-price-current {
    font-size: 15px;
  }

  .enr-sticky-actions .btn {
    padding: 14px 20px !important;
    font-size: 12px !important;
  }
}

/* ==============================================
   WOOCOMMERCE CART & CHECKOUT BLOCKS OVERRIDE
   ============================================== */

/* Reset WooCommerce CSS Variables to ENR Brand */
body .wc-block-cart,
body .wc-block-checkout {
  --wp--preset--color--primary: var(--enr-red);
  --wc-button--primary-background: var(--enr-red);
  --wc-button--primary-text: var(--enr-white);
  --wp--preset--typography--font-family--sans-serif: var(--enr-font-body);
  --wp--preset--typography--font-family--serif: var(--enr-font-title);
}

/* Global Typography for Blocks */
.wc-block-cart *,
.wc-block-checkout * {
  font-family: var(--enr-font-body);
}

.wc-block-components-title,
.wc-block-components-checkout-step__title,
.wc-block-checkout__title,
.wc-block-cart__title {
  font-family: var(--enr-font-title) !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  color: var(--enr-black) !important;
}

/* Primary Buttons */
.wc-block-components-button:not(.is-link) {
  background-color: var(--enr-red) !important;
  color: var(--enr-white) !important;
  border-radius: var(--enr-radius-sm) !important;
  font-family: var(--enr-font-title) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  padding: 16px 32px !important;
  border: none !important;
  transition: background-color var(--enr-transition-fast), transform var(--enr-transition-fast) !important;
}

.wc-block-components-button:not(.is-link):hover {
  background-color: var(--enr-red-deep) !important;
  transform: translateY(-2px) !important;
}

/* Links inside blocks */
.wc-block-cart a,
.wc-block-checkout a {
  color: var(--enr-red) !important;
  text-decoration: none !important;
  transition: color var(--enr-transition-fast) !important;
}

.wc-block-cart a:hover,
.wc-block-checkout a:hover {
  color: var(--enr-red-deep) !important;
}

/* Form Inputs & Selects */
.wc-block-components-text-input input,
.wc-block-components-combobox .components-combobox-control__input,
.wc-block-components-form .wc-block-components-text-input input {
  background-color: var(--enr-white) !important;
  border: 1px solid var(--enr-gray-800) !important;
  border-radius: var(--enr-radius-sm) !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  color: var(--enr-black) !important;
  box-shadow: none !important;
  transition: border-color var(--enr-transition-fast) !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox .components-combobox-control__input:focus {
  border-color: var(--enr-red) !important;
  outline: none !important;
}

/* Labels */
.wc-block-components-text-input label {
  color: var(--enr-gray-400) !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Order Summary Box */
.wc-block-components-order-summary {
  background-color: var(--enr-white) !important;
  border: 1px solid var(--enr-gray-800) !important;
  border-top: 4px solid var(--enr-red) !important;
  border-radius: var(--enr-radius-sm) !important;
  padding: 32px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

/* Quantity Selector in Cart */
.wc-block-components-quantity-selector {
  border: 1px solid var(--enr-gray-800) !important;
  border-radius: var(--enr-radius-sm) !important;
  overflow: hidden;
}

.wc-block-components-quantity-selector input {
  font-weight: 700 !important;
  color: var(--enr-black) !important;
}

.wc-block-components-quantity-selector button {
  background-color: var(--enr-gray-950) !important;
  color: var(--enr-black) !important;
  transition: background-color var(--enr-transition-fast) !important;
}

.wc-block-components-quantity-selector button:hover {
  background-color: var(--enr-gray-800) !important;
}

/* Product names in cart */
.wc-block-components-product-name {
  font-family: var(--enr-font-title) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  color: var(--enr-black) !important;
}

/* Eliminate top and bottom margins from separate container to align with header and footer */
.ast-separate-container #primary,
.ast-separate-container.ast-left-sidebar #primary,
.ast-separate-container.ast-right-sidebar #primary {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Final CTA Email Button - White Outline on Red Section */
.enr-pdp-final-email {
  color: var(--enr-white) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.enr-pdp-final-email:hover {
  background-color: var(--enr-white) !important;
  border-color: var(--enr-white) !important;
  color: var(--enr-red) !important;
}

/* Remove margins on single product page */
.single-product #primary,
.single-product .site-content,
.single-product #content,
.single-product .ast-container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}