/* ==========================================================================
   HUG - KADENCE HOME SEEDS REDESIGN (PURA CONVERSIÓN & WPO)
   ========================================================================== */

:root {
  --hug-c-bg: #0b1116; /* Base ultra oscura premium */
  --hug-c-bg-card: rgba(20, 28, 36, 0.6);
  --hug-c-text: #e2e8f0;
  --hug-c-text-muted: #94a3b8;
  --hug-c-primary: #10b981; /* Esmeralda Premium / Botones Principales */
  --hug-c-primary-glow: rgba(16, 185, 129, 0.4);
  --hug-c-primary-hover: #059669;
  --hug-c-border: rgba(255, 255, 255, 0.08);
  --hug-c-border-hover: rgba(16, 185, 129, 0.3);
  
  --hug-font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --hug-radius-sm: 8px;
  --hug-radius-md: 16px;
  --hug-radius-lg: 24px;
  --hug-radius-full: 9999px;
  
  --hug-transition: all 0.25s ease-out;
}

/* Forzar que Kadence no meta padding superior invisible */
.home .entry-content,
.home .content-area,
.home .site-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ==========================================================================
   GLOBAL & UTILITIES
   ========================================================================== */
.hug-green { color: var(--hug-c-primary); }
.hug-highlight { color: var(--hug-c-primary); position: relative; }
.hug-italic { font-style: italic; font-weight: 300; }

.hug-hero-fullwidth,
.hug-categorias-fullwidth,
.hug-showcase-fullwidth,
.hug-usps-fullwidth,
.hug-final-fullwidth {
  width: 100%;
  background: var(--hug-c-bg) !important;
  color: var(--hug-c-text) !important;
  font-family: var(--hug-font-main);
  overflow: hidden;
}

/* ==========================================================================
   1. HERO (CRO Optimized - Opción A: CSS Gradient)
   ========================================================================== */
.hug-hero-cro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem 3rem;
  /* Degradado hiper-rápido de alto contraste */
  background: radial-gradient(circle at 50% -20%, #173827 0%, var(--hug-c-bg) 60%);
}

.hug-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hug-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 16px;
  border-radius: var(--hug-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hug-c-primary);
  margin-bottom: 1rem;
}

.hug-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hug-hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--hug-c-text-muted);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 3rem;
}

.hug-hero-sub strong { color: #ffffff; font-weight: 600; }

.hug-hero-ctas {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Botón CRO Principal (Destacado) */
.hug-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: var(--hug-radius-full);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--hug-transition);
}

.hug-hero-btn-primary {
  background: var(--hug-c-primary);
  color: #000; /* Alto contraste para conversión */
  box-shadow: 0 4px 15px var(--hug-c-primary-glow);
}

.hug-hero-btn-primary:hover {
  background: var(--hug-c-primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--hug-c-primary-glow);
}

.hug-hero-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--hug-c-border);
}

.hug-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   2. TRUST BAR CRYSTAL (CRO)
   ========================================================================== */
.hug-trust-bar-crystal {
  border-top: 1px solid var(--hug-c-border);
  border-bottom: 1px solid var(--hug-c-border);
  background: rgba(255, 255, 255, 0.02);
}

.hug-trust-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.hug-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hug-trust-icon-mini {
  width: 42px;
  height: 42px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hug-c-primary);
}

.hug-trust-icon-mini svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hug-trust-title {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 2px;
}

.hug-trust-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--hug-c-text-muted);
}

/* ==========================================================================
   3. CATEGORIAS: SILO DE SEMILLAS
   ========================================================================== */
.hug-categorias-section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hug-cat-header {
  text-align: center;
  margin-bottom: 4rem;
}

.hug-cat-pretitle {
  display: block;
  color: var(--hug-c-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hug-cat-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hug-cat-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--hug-c-text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.hug-seeds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.hug-seed-card {
  position: relative;
  border-radius: var(--hug-radius-lg);
  overflow: hidden;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  text-decoration: none;
  background: var(--hug-c-bg-card);
  border: 1px solid var(--hug-c-border);
  transition: var(--hug-transition);
}

.hug-cat-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hug-cat-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  opacity: 0.5;
  filter: saturate(0.8);
}

.hug-seed-card:hover .hug-cat-image {
  transform: scale(1.03);
  opacity: 0.8;
  filter: saturate(1.1);
}

.hug-cat-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 17, 22, 0.95) 0%, rgba(11, 17, 22, 0.2) 100%);
  z-index: 2;
}

.hug-cat-content {
  position: relative;
  z-index: 3;
}

.hug-cat-badge {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  padding: 4px 12px;
  border-radius: var(--hug-radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.hug-cat-badge-featured {
  background: var(--hug-c-primary);
  border-color: var(--hug-c-primary);
  color: #000;
}

.hug-cat-card-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hug-cat-card-desc {
  color: var(--hug-c-text-muted);
  font-size: 1.05rem;
  max-width: 85%;
  margin: 0;
}

.hug-cat-arrow {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--hug-transition);
}

.hug-seed-card:hover .hug-cat-arrow {
  background: var(--hug-c-primary);
  border-color: var(--hug-c-primary);
  color: #000;
  transform: rotate(-45deg);
}

/* ==========================================================================
   4. SHOWCASE & USPS
   ========================================================================== */
.hug-showcase-section,
.hug-usps-section,
.hug-seo-section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hug-showcase-header,
.hug-usps-header,
.hug-seo-header {
  text-align: center;
  margin-bottom: 3rem;
}

.hug-showcase-title,
.hug-usps-title,
.hug-seo-title { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }

.hug-showcase-subtitle,
.hug-usps-subtitle { color: var(--hug-c-text-muted); font-size: 1.1rem; }

.hug-usps-pretitle,
.hug-seo-pretitle { color: var(--hug-c-primary); font-weight: 700; text-transform: uppercase; }

.hug-usps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.hug-usp-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hug-c-border);
  padding: 2.5rem;
  border-radius: var(--hug-radius-lg);
  transition: var(--hug-transition);
}

.hug-usp-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--hug-c-border-hover);
  transform: translateY(-5px);
}

.hug-usp-icon-wrap {
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hug-usp-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: var(--hug-c-primary);
}

.hug-usp-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 1rem; }
.hug-usp-card p { color: var(--hug-c-text-muted); line-height: 1.6; margin-bottom: 1.5rem; }
.hug-usp-highlight { display: inline-block; color: var(--hug-c-primary); font-weight: 600; font-size: 0.9rem; background: rgba(16,185,129,0.1); padding: 4px 12px; border-radius: var(--hug-radius-full); }

/* Brands */
.hug-brands-wrap {
  text-align: center;
  padding: 3rem;
  background: rgba(255,255,255,0.02);
  border-radius: var(--hug-radius-lg);
  border: 1px solid var(--hug-c-border);
}

.hug-brands-title {
  color: var(--hug-c-text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hug-brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.hug-brand-item {
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  opacity: 0.3;
  transition: var(--hug-transition);
  filter: grayscale(100%);
}

.hug-brand-item:hover { opacity: 0.8; filter: grayscale(0%); }

/* ==========================================================================
   5. SEO SECTION
   ========================================================================== */
.hug-seo-section {
  max-width: 900px;
  border-top: 1px solid var(--hug-c-border);
}

.hug-seo-block { margin-bottom: 3rem; }
.hug-seo-block h2 { color: #fff; font-size: 1.8rem; margin-bottom: 1.5rem; }
.hug-seo-block h3 { color: #e2e8f0; font-size: 1.3rem; margin: 2rem 0 1rem; }
.hug-seo-block p { color: var(--hug-c-text-muted); line-height: 1.8; margin-bottom: 1.2rem; font-size: 1.05rem; }
.hug-seo-block strong { color: #fff; }

.hug-seo-highlight {
  padding: 1.5rem;
  background: rgba(16, 185, 129, 0.05);
  border-left: 4px solid var(--hug-c-primary);
  border-radius: 0 var(--hug-radius-md) var(--hug-radius-md) 0;
  margin: 2rem 0;
}
.hug-seo-highlight p { margin: 0; color: #fff; font-style: italic; }

/* ==========================================================================
   RESPONSIVE (GLOBAL)
   ========================================================================== */
@media (max-width: 1024px) {
  .hug-trust-container { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .hug-usps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hug-hero-cro { padding: 6rem 1.5rem 3rem; }
  .hug-trust-container { grid-template-columns: 1fr; }
  .hug-seeds-grid { grid-template-columns: 1fr; }
  .hug-usps-grid { grid-template-columns: 1fr; }
  .hug-cat-card-title { font-size: 1.8rem; }
}

/* ==========================================================================
   SHORTCODE: SHOWCASE (GRID DINÁMICO) – REDISEÑO PREMIUM
   ========================================================================== */

/* --- Contenedor principal --- */
.hug-showcase-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.hug-showcase-main {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: start;
}

/* --- TARJETA HÉROE (producto destacado izquierda) --- */
.hug-hero-product {
  background: linear-gradient(145deg, rgba(20,28,36,0.85), rgba(11,17,22,0.95));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--hug-radius-lg);
  padding: 2.5rem;
  position: relative;
  border: 1px solid rgba(16,185,129,0.12);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  overflow: hidden;
}

.hug-hero-image-col {
  position: relative;
  z-index: 1;
}

.hug-hero-info-col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Glow sutil detrás de la tarjeta héroe */
.hug-hero-product::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(16,185,129,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hug-hero-product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

/* --- Imagen héroe centrada con glow --- */
.hug-hero-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  min-height: 280px;
}

/* Glow detrás de la imagen */
.hug-hero-product-image::after {
  content: '';
  position: absolute;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hug-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.6));
  transition: transform 0.5s ease;
}

.hug-hero-product:hover .hug-hero-img {
  transform: scale(1.03);
}

.hug-stock-indicator {
  position: absolute;
  top: 0;
  right: 0;
  background: #ef4444;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.hug-hero-category {
  color: var(--hug-c-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}

.hug-hero-name {
  font-size: 1.8rem;
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  margin: 0.4rem 0 0.8rem;
  position: relative;
  z-index: 1;
}

.hug-hero-desc {
  color: var(--hug-c-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hug-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hug-stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
}

.hug-star {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hug-rating-value {
  color: #fff;
  font-weight: 700;
}

.hug-rating-count {
  color: var(--hug-c-text-muted);
  font-size: 0.9rem;
}

/* --- Barra de compra (precio + botón) --- */
.hug-hero-buy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.35);
  padding: 1.2rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
  gap: 1rem;
}

.hug-price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hug-price-current {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.hug-price-current del {
  font-size: 1rem;
  color: var(--hug-c-text-muted);
  font-weight: 500;
  margin-right: 8px;
}
.hug-price-current ins {
  text-decoration: none;
  color: var(--hug-c-primary);
}

.hug-price-save {
  color: var(--hug-c-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.hug-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hug-c-primary);
  color: #050806 !important;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(16,185,129,0.25);
}
.hug-buy-btn:hover {
  background: #fff;
  color: #050806 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255,255,255,0.15);
}
.hug-buy-btn svg {
  width: 18px;
  height: 18px;
}

/* --- SIDEBAR: Lista de productos (derecha) --- */
.hug-products-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hug-products-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding: 0 4px;
}

.hug-products-list-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}

.hug-products-counter {
  color: var(--hug-c-text-muted);
  font-size: 0.85rem;
}

.hug-product-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(20,28,36,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hug-product-item:hover,
.hug-product-item.active {
  background: rgba(16,185,129,0.08);
  border-color: rgba(16,185,129,0.35);
  transform: translateX(4px);
}

.hug-product-thumb {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.hug-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.hug-product-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.hug-product-thumb-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 5px;
  border-bottom-right-radius: 6px;
}

.hug-product-item-info {
  flex: 1;
  min-width: 0;
}

.hug-product-item-category {
  color: var(--hug-c-primary);
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.hug-product-item-name {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.hug-product-item-price {
  color: var(--hug-c-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.hug-product-item-price ins {
  text-decoration: none;
  color: #fff;
}
.hug-product-item-price del {
  font-size: 0.75rem;
  opacity: 0.6;
}

.hug-product-item-arrow {
  color: rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.hug-product-item-arrow svg {
  width: 20px;
  height: 20px;
}

.hug-product-item:hover .hug-product-item-arrow,
.hug-product-item.active .hug-product-item-arrow {
  color: var(--hug-c-primary);
  transform: translateX(3px);
}

.hug-showcase-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}

.hug-showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--hug-c-bg-card);
  transition: all 0.3s ease;
}
.hug-showcase-cta:hover {
  border-color: var(--hug-c-primary);
  background: rgba(16,185,129,0.08);
}

/* --- Responsive Showcase --- */
@media (max-width: 1024px) {
  .hug-showcase-main {
    grid-template-columns: 1fr;
  }
  .hug-products-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hug-products-list-header {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hug-showcase-container {
    padding: 2rem 1rem 3rem;
  }
  .hug-hero-product { 
    padding: 1.5rem; 
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hug-hero-name { font-size: 1.5rem; }
  .hug-hero-buy-row { flex-direction: column; gap: 1rem; align-items: stretch; text-align: center; }
  .hug-buy-btn { justify-content: center; }
  .hug-products-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SHORTCODE: LATEST POSTS (BLOG PREMIUM CARDS)
   ========================================================================== */
.hug-latest-posts-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hug-latest-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.hug-post-card {
  background: var(--hug-c-bg-card);
  border: 1px solid var(--hug-c-border);
  border-radius: var(--hug-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--hug-transition);
}

.hug-post-card:hover {
  border-color: var(--hug-c-border-hover);
  transform: translateY(-5px);
  background: rgba(16, 185, 129, 0.05);
}

.hug-post-card-img-link {
  display: block;
  overflow: hidden;
}

.hug-post-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hug-post-card:hover .hug-post-card-img {
  transform: scale(1.05);
}

.hug-post-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hug-post-card-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hug-post-card-title a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
}

.hug-post-card-title a:hover {
  color: var(--hug-c-primary);
}

.hug-post-card-excerpt {
  color: var(--hug-c-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.hug-post-card-readmore {
  color: var(--hug-c-primary);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--hug-transition);
}

.hug-post-card-readmore:hover {
  color: #fff;
}

/* ==========================================================================
   SHORTCODE: PRODUCTS GRID
   ========================================================================== */
.hug-products-shortcode-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hug-section-title-wrap {
  text-align: center;
  margin-bottom: 3rem;
}

.hug-section-subtitle {
  color: var(--hug-c-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.hug-section-title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
}

.hug-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.hug-product-card {
  background: var(--hug-c-bg-card);
  border: 1px solid var(--hug-c-border);
  border-radius: var(--hug-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--hug-transition);
  text-align: center;
}

.hug-product-card:hover {
  border-color: var(--hug-c-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px var(--hug-c-primary-glow);
}

.hug-product-card-link {
  text-decoration: none;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.hug-product-card-image {
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.02);
  border-radius: var(--hug-radius-sm);
  padding: 10px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hug-product-card-image img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.hug-product-card:hover .hug-product-card-image img {
  transform: scale(1.08);
}

.hug-product-card-title {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.hug-product-card-price {
  color: var(--hug-c-primary);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.hug-product-card-price del {
  color: var(--hug-c-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin-right: 0.5rem;
}

.hug-product-card-price ins {
  text-decoration: none;
}

.hug-product-card-action {
  margin-top: auto;
}

/* Fix WooCommerce Add to Cart button inside our card */
.hug-product-card-action .add_to_cart_button,
.hug-product-card-action .product_type_simple,
.hug-product-card-action .product_type_variable {
  display: block;
  width: 100%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--hug-c-primary);
  border: 1px solid var(--hug-c-primary);
  padding: 0.8rem 1rem;
  border-radius: var(--hug-radius-full);
  font-weight: 700;
  transition: var(--hug-transition);
  text-align: center;
}

.hug-product-card-action .add_to_cart_button:hover,
.hug-product-card-action .product_type_simple:hover,
.hug-product-card-action .product_type_variable:hover {
  background: var(--hug-c-primary);
  color: #000;
}

/* ==========================================================================
   TERM ARCHIVES (ATRIBUTOS DE WOOCOMMERCE)
   ========================================================================== */
.hug-term-hero-glass {
  background: rgba(15, 22, 17, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(163, 209, 51, 0.08);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hug-term-hero-glass::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(163, 209, 51, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hug-term-hero-content {
  position: relative;
  z-index: 1;
}

.hug-term-title {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: var(--sl-font), sans-serif;
}

.hug-term-desc {
  color: #b8c4a8;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hug-term-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hug-term-badge {
  background: rgba(163, 209, 51, 0.1);
  color: #a3d133;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(163, 209, 51, 0.2);
}

/* ==========================================================================
   WOOCOMMERCE NATIVE SHOP LOOP OVERRIDE (GLOBAL)
   ========================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
}

/* ==========================================================================
   HERO CON VIDEO
   ========================================================================== */
.hero-video-wrapper {
  position: relative;
  overflow: hidden;
}

/* Video de fondo: ocupa todo el contenedor y mantiene proporción */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  background: #0b1116;
}

/* Overlay oscuro para legibilidad del texto */
.hero-video-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}

/* Aseguramos que el contenido del hero quede encima */
.hug-hero-inner {
  position: relative;
  z-index: 2;
}

/* No cargar el video en móviles muy pequeños (ahorra datos) */
@media (max-width: 599px) {
  .hero-bg-video { display: none; }
}
