/* ====
   ANF-STYLES.CSS — Hoja de estilos global de ANF 3D Estudio
   Prefijo: .anf-
   Versión: 2.0 — Utility Layer añadido (anf-u-)
   ==== */

/* ── VARIABLES GLOBALES ── */
:root {
  --anf-bg:           #0000;
  --anf-panel:        #1a1a1a;
  --anf-panel-dark:   #151515;
  --anf-green:        #6ba358;
  --anf-green-soft:   #8fb179;
  --anf-beige:        #d7cdbd;
  --anf-muted:        #b8afa4;
  --anf-dim:          #a0a0a0;
  --anf-border:       rgba(215, 205, 189, 0.1);
  --anf-border-green: rgba(107, 163, 88, 0.3);
  --anf-red:          #e57373;
}

/* ── RESET SCOPED ── */
.anf-page, .anf-page * {
  box-sizing: border-box;
}

/* ── CONTENEDOR BASE ── */
.anf-page {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0000 !important;
  color: var(--anf-beige);
  line-height: 1.7;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Blindaje de textos */
.anf-page h1, .anf-page h2, .anf-page h3, .anf-page h4,
.anf-page p, .anf-page li, .anf-page span, .anf-page td, .anf-page th {
  color: var(--anf-beige);
}

.anf-page a {
  color: var(--anf-green);
  text-decoration: none;
}
.anf-page a:hover {
  text-decoration: underline;
  opacity: 0.85;
}


/* ════
   CABECERA / HERO — Páginas de materiales
   ════ */
.anf-header {
  text-align: center;
  padding: 60px 20px 40px;
  border-bottom: 1px solid var(--anf-border);
  margin-bottom: 50px;
}
.anf-header h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 15px;
}
.anf-header h1 span { color: var(--anf-green); }
.anf-header p {
  font-size: 1.1rem;
  color: var(--anf-dim);
  max-width: 700px;
  margin: 0 auto;
}

/* ── BADGE ── */
.anf-badge {
  display: inline-block;
  background: rgba(107, 163, 88, 0.15);
  border: 1px solid var(--anf-green);
  color: var(--anf-green);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}


/* ════
   HERO — Página principal (index)
   ════ */
.anf-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 80px;
}

.anf-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--anf-green-soft);
  margin-bottom: 1rem;
}

.anf-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--anf-beige);
}
.anf-hero h1 span { color: var(--anf-green); }

.anf-hero p {
  font-size: 1.15rem;
  color: var(--anf-dim);
  max-width: 520px;
}

.anf-visual-box {
  background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
  border: 1px solid var(--anf-border);
  border-radius: 30px;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.anf-filament-loop {
  width: 140px;
  height: 140px;
  border: 4px solid var(--anf-green);
  border-radius: 50%;
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: anf-spin-slow 8s linear infinite;
}

@keyframes anf-spin-slow { to { transform: rotate(360deg); } }

.anf-visual-text { margin-top: 25px; text-align: center; }
.anf-visual-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--anf-green-soft);
  text-transform: uppercase;
  letter-spacing: 3px;
}


/* ════
   HERO — Filamentopedia (con animación bobina)
   ════ */
.anf-hero-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.anf-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--anf-green-soft);
  border: 1px solid var(--anf-border-green);
  background: rgba(107, 163, 88, 0.07);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.anf-hero-anim-box {
  background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
  border: 1px solid rgba(107, 163, 88, 0.2);
  border-radius: 24px;
  width: 260px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 40px rgba(107, 163, 88, 0.08);
}

/* Stats del hero */
.anf-hero-stats {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.anf-hero-stat {
  padding: 0.7rem 1.3rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.85rem;
}
.anf-hero-stat .anf-stat-label {
  color: var(--anf-muted);
  display: block;
  margin-bottom: 0.1rem;
}
.anf-hero-stat .anf-stat-value {
  color: var(--anf-green-soft);
  font-weight: 600;
  display: block;
}

/* Animación bobina */
.anf-spool-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anf-spool-svg {
  width: 140px;
  height: 140px;
  animation: anf-spool-spin 4s linear infinite;
  transform-origin: center;
}

@keyframes anf-spool-spin { to { transform: rotate(360deg); } }

.anf-filament-path {
  position: absolute;
  right: -20px;
  top: 30%;
  overflow: visible;
}

.anf-fil-line {
  stroke: var(--anf-green);
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  filter: drop-shadow(0 0 3px rgba(107, 163, 88, 0.8));
  animation: anf-fil-flow 1.5s linear infinite;
}

@keyframes anf-fil-flow {
  0%   { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

.anf-nozzle-tip {
  position: absolute;
  right: -52px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 32px;
}

.anf-melt-dot {
  position: absolute;
  right: -57px;
  top: calc(50% + 18px);
  width: 7px;
  height: 7px;
  background: var(--anf-green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--anf-green);
  animation: anf-melt-pulse 0.8s ease-in-out infinite alternate;
}

@keyframes anf-melt-pulse {
  from { transform: scale(0.8); opacity: 0.7; }
  to   { transform: scale(1.4); opacity: 1; }
}

.anf-heat-lines {
  position: absolute;
  right: -72px;
  top: 38%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.anf-heat-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 163, 88, 0.4), transparent);
  animation: anf-heat-wave 1s ease-in-out infinite alternate;
  border-radius: 2px;
}
.anf-heat-line:nth-child(1) { width: 18px; animation-delay: 0s; }
.anf-heat-line:nth-child(2) { width: 14px; animation-delay: 0.2s; }
.anf-heat-line:nth-child(3) { width: 10px; animation-delay: 0.4s; }

@keyframes anf-heat-wave {
  from { opacity: 0.3; transform: scaleX(0.8); }
  to   { opacity: 1;   transform: scaleX(1.2); }
}


/* ════
   SECCIONES GENÉRICAS
   ════ */
.anf-section {
  margin-bottom: 60px;
}

.anf-section-title {
  font-size: 1.6rem;
  border-left: 4px solid var(--anf-green);
  padding-left: 15px;
  margin-bottom: 25px;
  color: var(--anf-beige);
}

.anf-section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--anf-green-soft);
  margin-bottom: 0.5rem;
  display: block;
}

.anf-section-subtitle {
  font-size: 0.95rem;
  color: var(--anf-muted);
  max-width: 36rem;
  margin-bottom: 2.8rem;
  display: block;
}

.anf-container {
  max-width: 1200px;
  margin: 0 auto;
}

.anf-section-block {
  padding: 4rem 2rem;
}

.anf-section-block--dark  { background: #111; }
.anf-section-block--black { background: #000; }
.anf-section-block--gradient {
  background: radial-gradient(circle at top, #1a2e14 0, #000 65%);
  text-align: center;
  padding: 5rem 2rem;
}


/* ════
   TARJETAS DE MATERIALES (Filamentopedia index)
   ════ */
.anf-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.anf-material-card {
  background: var(--anf-panel-dark);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.8rem 1.7rem 1.6rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
  text-decoration: none;
  color: var(--anf-beige);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.anf-material-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--anf-green), var(--anf-green-soft));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.anf-material-card:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 163, 88, 0.6);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
  text-decoration: none;
}

.anf-material-card:hover::before { opacity: 1; }

.anf-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Alias utilitario: class="anf-u-icon-box" con width/height inline o clase de tamaño */
.anf-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(107, 163, 88, 0.1);
  border: 1px solid rgba(107, 163, 88, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.anf-card-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
}

.anf-badge-facil     { background: rgba(107,163,88,0.15);  color: var(--anf-green-soft); border: 1px solid rgba(107,163,88,0.3); }
.anf-badge-medio     { background: rgba(255,180,50,0.12);  color: #f0b840;               border: 1px solid rgba(255,180,50,0.3); }
.anf-badge-avanzado  { background: rgba(220,80,80,0.12);   color: #e06060;               border: 1px solid rgba(220,80,80,0.3); }
.anf-badge-experto   { background: rgba(160,40,40,0.18);   color: #c03030;               border: 1px solid rgba(160,40,40,0.4); }
.anf-badge-proximamente { background: rgba(120,120,120,0.12); color: #909090;            border: 1px solid rgba(120,120,120,0.3); }

.anf-material-card h3 {
  font-size: 1.3rem;
  color: var(--anf-beige);
}

.anf-material-name-full {
  font-size: 0.8rem;
  color: var(--anf-muted);
  margin-top: -0.5rem;
}

.anf-material-card p {
  font-size: 0.92rem;
  color: var(--anf-muted);
  flex: 1;
}

.anf-card-props {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Alias utilitario: class="anf-u-tag" — idéntico a .anf-sel-result-tag */
.anf-prop-tag,
.anf-sel-result-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--anf-muted);
}

.anf-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--anf-green-soft);
  font-weight: 500;
  margin-top: 0.3rem;
  text-decoration: none;
}

.anf-card-link-muted {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: #666;
  font-weight: 500;
  margin-top: 0.3rem;
  text-decoration: none;
}


/* ════
   TARJETAS GENÉRICAS (index principal)
   ════ */
.anf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 40px;
}

.anf-card {
  background: var(--anf-panel);
  border: 1px solid var(--anf-border);
  padding: 2.5rem 2rem;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.anf-card:hover {
  border-color: var(--anf-green);
  transform: translateY(-8px);
  background: #1a1a1a;
}

.anf-card-emoji {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 0 10px rgba(107, 163, 88, 0.3));
}

.anf-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--anf-beige);
}

.anf-card p {
  color: var(--anf-dim);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.anf-btn-card {
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--anf-green);
  color: var(--anf-green);
  transition: all 0.3s ease;
}

.anf-btn-card:hover {
  background: var(--anf-green);
  color: #000;
  text-decoration: none;
}


/* ════
   BANNER TIENDA
   ════ */
.anf-shop-banner {
  margin-top: 60px;
  background: linear-gradient(100deg, #111 0%, rgba(107, 163, 88, 0.07) 100%);
  border: 1px solid rgba(107, 163, 88, 0.35);
  border-radius: 24px;
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.anf-shop-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--anf-green), var(--anf-green-soft));
}

.anf-shop-banner::after {
  content: '🛒';
  position: absolute;
  right: 3.5rem;
  font-size: 8rem;
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
}

.anf-shop-banner-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--anf-beige);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}
.anf-shop-banner-text h2 span { color: var(--anf-green); }

.anf-shop-banner-text p {
  color: var(--anf-dim);
  font-size: 0.97rem;
  max-width: 520px;
}

.anf-btn-shop {
  flex-shrink: 0;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  background: var(--anf-green);
  color: #000 !important;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid var(--anf-green);
}

.anf-btn-shop:hover {
  background: var(--anf-green-soft);
  border-color: var(--anf-green-soft);
  color: #000 !important;
  transform: scale(1.04);
  text-decoration: none;
}


/* ════
   BLOQUE SOSTENIBILIDAD / ECO
   ════ */
.anf-eco-box {
  margin-top: 60px;
  background: linear-gradient(90deg, rgba(107, 163, 88, 0.05) 0%, transparent 100%);
  border-left: 3px solid var(--anf-green);
  padding: 40px;
  border-radius: 0 20px 20px 0;
}


/* ════
   FICHA TÉCNICA — TABLA
   ════ */
.anf-table-wrap { overflow-x: auto; }

.anf-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--anf-panel);
  border-radius: 12px;
  overflow: hidden;
}

.anf-table th {
  background: rgba(107, 163, 88, 0.2);
  color: var(--anf-green);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.anf-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--anf-border);
  font-size: 0.95rem;
  color: var(--anf-beige);
}

.anf-table tr:last-child td { border-bottom: none; }
.anf-table tr:hover td { background: rgba(255, 255, 255, 0.03); }
.anf-table td:first-child { font-weight: bold; }

/* Tabla comparativa */
.anf-table .best  { color: var(--anf-green);  font-weight: bold; }
.anf-table .worst { color: var(--anf-red); }


/* ════
   BARRAS DE PROPIEDADES
   ════ */
.anf-prop-bar-wrap { margin-bottom: 8px; }

.anf-prop-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 4px;
  color: var(--anf-beige);
}

.anf-prop-label span:last-child {
  color: var(--anf-green);
  font-weight: bold;
}

.anf-bar-bg {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}

.anf-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--anf-green), #8bc34a);
  transition: width 0.5s ease;
}


/* ════
   GRID DE VARIANTES
   ════ */
.anf-variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.anf-variant-card {
  background: var(--anf-panel);
  border-radius: 14px;
  padding: 25px;
  border-top: 3px solid var(--anf-green);
  transition: transform 0.3s ease;
}

.anf-variant-card:hover { transform: translateY(-5px); }

.anf-variant-card h3 { font-size: 1.1rem; margin-bottom: 12px; }

.anf-variant-card ul { padding-left: 18px; margin: 0; }
.anf-variant-card li {
  font-size: 0.88rem;
  color: var(--anf-dim);
  margin-bottom: 5px;
}
.anf-variant-card li strong { color: var(--anf-beige); }

/* Variante destacada (ancho completo) */
.anf-variant-card--full {
  background: var(--anf-panel);
  border-radius: 14px;
  padding: 25px;
  margin-bottom: 20px;
  border-top: 3px solid var(--anf-green);
}

.anf-variant-card--full .anf-props-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


/* ════
   PARÁMETROS DE IMPRESIÓN
   ════ */
.anf-params-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

/* Delega estructura base en .anf-u-card — añade text-align:center */
.anf-param-card {
  background: var(--anf-panel);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--anf-border);
  text-align: center;
}
/* Alias utilitario: <div class="anf-u-card anf-u-text-center"> */

.anf-param-value {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--anf-green);
  display: block;
  margin: 8px 0 5px;
}

.anf-param-label { font-size: 0.85rem; color: var(--anf-dim); }
.anf-param-note  { font-size: 0.78rem; color: var(--anf-dim); margin-top: 5px; }


/* ════
   TARJETAS DE SEGURIDAD / HARDWARE / INFO
   ════ */
.anf-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Alias utilitario: <div class="anf-u-card"> */
.anf-info-card {
  background: var(--anf-panel);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid var(--anf-border);
}

.anf-info-card h4 { margin-bottom: 10px; font-size: 1rem; color: var(--anf-beige); }
.anf-info-card p  { font-size: 0.88rem; color: var(--anf-dim); }


/* ════
   TARJETAS DE APLICACIONES
   ════ */
.anf-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

/* Alias utilitario: <div class="anf-u-card"> */
.anf-app-card {
  background: var(--anf-panel);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--anf-border);
}

.anf-app-card h4 {
  color: var(--anf-green);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.anf-app-card ul { padding-left: 16px; margin: 0; }
.anf-app-card li { font-size: 0.85rem; color: var(--anf-dim); margin-bottom: 4px; }


/* ════
   PROBLEMAS COMUNES
   ════ */
.anf-problems {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.anf-problem-card {
  background: var(--anf-panel);
  border-radius: 12px;
  padding: 20px 25px;
  border-left: 4px solid var(--anf-red);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}

.anf-problem-card h4 { color: var(--anf-red); margin-bottom: 5px; font-size: 0.95rem; }
.anf-problem-card p  { font-size: 0.85rem; color: var(--anf-dim); margin: 0; }
.anf-problem-card .anf-solution h4 { color: var(--anf-green); }


/* ════
   FUENTES Y REFERENCIAS
   ════ */
.anf-sources {
  background: var(--anf-panel);
  border-radius: 14px;
  padding: 30px;
  margin-top: 20px;
}

.anf-sources ol { padding-left: 20px; }
.anf-sources li { font-size: 0.82rem; color: var(--anf-dim); margin-bottom: 6px; }
.anf-sources a  { font-size: 0.82rem; }


/* ════
   BLOQUE INFORMATIVO (tip/nota)
   ════ */
.anf-tip {
  background: rgba(107, 163, 88, 0.08);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  border-left: 4px solid var(--anf-green);
}

.anf-tip h4 { margin-bottom: 10px; color: var(--anf-beige); }
.anf-tip p, .anf-tip li { font-size: 0.9rem; color: var(--anf-dim); }
.anf-tip ul { padding-left: 18px; margin: 0; }
.anf-tip li { margin-bottom: 6px; }


/* ════
   PASOS / CÓMO USAR
   ════ */
.anf-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.anf-step {
  background: var(--anf-panel-dark);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.anf-step-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(107, 163, 88, 0.12);
  border: 1px solid rgba(107, 163, 88, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--anf-green);
}

.anf-step h4 { font-size: 1rem; color: var(--anf-beige); }
.anf-step p  { font-size: 0.9rem; color: var(--anf-muted); }


/* ════
   SECCIÓN SOBRE / DOS COLUMNAS
   ════ */
.anf-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.anf-two-col-text p {
  color: var(--anf-muted);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

.anf-two-col-text ul { list-style: none; margin-bottom: 1.4rem; }

.anf-two-col-text li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--anf-beige);
}

.anf-two-col-text li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55rem;
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--anf-green);
}

.anf-visual-panel {
  background: radial-gradient(circle at top, #1e2e1a 0, #0a0a0a 60%);
  border-radius: 20px;
  border: 1px solid rgba(107, 163, 88, 0.15);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.anf-visual-panel-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--anf-green-soft);
  display: block;
}

/* Mini barras del panel visual */
.anf-mlp-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.anf-mlp-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.88rem;
}

.anf-mlp-name {
  color: var(--anf-beige);
  font-weight: 500;
  min-width: 52px;
}

.anf-mlp-bar-wrap {
  flex: 1;
  margin: 0 1rem;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.anf-mlp-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--anf-green), var(--anf-green-soft));
}

.anf-mlp-score {
  font-size: 0.8rem;
  color: var(--anf-green-soft);
  font-weight: 600;
}


/* ════
   BOTONES
   ════ */
.anf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.anf-btn-primary {
  background: linear-gradient(135deg, var(--anf-green), var(--anf-green-soft));
  color: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.anf-btn-primary:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  text-decoration: none;
}

.anf-btn-secondary {
  background: transparent;
  color: var(--anf-beige);
  border-color: rgba(255, 255, 255, 0.07);
}

.anf-btn-secondary:hover {
  border-color: var(--anf-green);
  color: var(--anf-green);
  transform: translateY(-1px);
  text-decoration: none;
}

.anf-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}


/* ════
   CTA FINAL
   ════ */
.anf-cta h2 {
  font-size: 2rem;
  margin-bottom: 0.7rem;
  color: var(--anf-beige);
}

.anf-cta p {
  color: var(--anf-muted);
  max-width: 32rem;
  margin: 0 auto 2rem;
}



/* ════
   PÁGINAS LEGALES (devoluciones, privacidad, aviso legal, condiciones)
   ════ */

/* Hero centrado para páginas legales */
.anf-legal-hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.anf-legal-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.anf-legal-hero h1 {
  font-size: 3rem;
  color: var(--anf-beige);
  margin-bottom: 1.2rem;
}

.anf-legal-hero h1 span { color: var(--anf-green); }

.anf-legal-hero p {
  color: var(--anf-muted);
  font-size: 1rem;
}

/* Contenedor estrecho para contenido legal */
.anf-legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

/* Título de sección con línea inferior (variante legal) */
.anf-section-title--legal {
  font-size: 1.6rem;
  margin-bottom: 1.6rem;
  color: var(--anf-beige);
  border-bottom: 1px solid rgba(107, 163, 88, 0.2);
  padding-bottom: 0.5rem;
  border-left: none;
  padding-left: 0;
}

/* Bloque de contenido legal (panel oscuro con barra verde superior) */
.anf-legal-block {
  background: #111;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.anf-legal-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--anf-green), var(--anf-green-soft));
}

.anf-legal-block h3 {
  color: var(--anf-green-soft);
  font-size: 1rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.anf-legal-block p,
.anf-legal-block li {
  font-size: 0.93rem;
  color: var(--anf-muted);
  margin-bottom: 0.8rem;
}

.anf-legal-block ul { list-style: none; }

.anf-legal-block li {
  position: relative;
  padding-left: 1.2rem;
}

.anf-legal-block li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55rem;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--anf-green);
}

.anf-legal-block strong { color: var(--anf-beige); }

/* ════
   FOOTER
   ════ */
.anf-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--anf-muted);
}

.anf-footer a {
  color: var(--anf-green-soft);
  text-decoration: none;
}


/* ════
   RESPONSIVE
   ════ */
@media (max-width: 950px) {
  .anf-hero            { grid-template-columns: 1fr; text-align: center; }
  .anf-hero p          { margin-inline: auto; }
  .anf-grid            { grid-template-columns: 1fr; }
  .anf-visual-box      { height: 300px; margin-top: 20px; }
  .anf-shop-banner     { flex-direction: column; text-align: center; padding: 2.5rem 2rem; }
  .anf-shop-banner::after { display: none; }
  .anf-shop-banner-text p { margin-inline: auto; }
}

@media (max-width: 900px) {
  .anf-materials-grid  { grid-template-columns: 1fr; }
  .anf-steps-grid      { grid-template-columns: 1fr; }
  .anf-two-col         { grid-template-columns: 1fr; }
  .anf-hero-split      { grid-template-columns: 1fr; }
  .anf-hero-anim-box   { width: 100%; height: 220px; }
  .anf-header h1       { font-size: 2rem; }
}

@media (max-width: 768px) {
  .anf-problem-card    { grid-template-columns: 1fr; }
  .anf-page            { padding: 20px 15px; }
  .anf-variant-card--full .anf-props-cols { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .anf-materials-grid  { grid-template-columns: 1fr; }
}


/* ════
   SELECTOR INTERACTIVO DE FILAMENTOS (Filamentopedia)
   ════ */
.anf-selector-section {
  background: #0a0a0a;
  padding: 4rem 2rem;
  border-bottom: 1px solid rgba(107, 163, 88, 0.15);
}

.anf-selector-embed { margin-top: 2rem; }

/* Mini guía de pasos (inline, antes del selector) */
.anf-selector-steps-inline {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.anf-selector-step-inline {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.anf-selector-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(107, 163, 88, 0.15);
  border: 1px solid rgba(107, 163, 88, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--anf-green);
  flex-shrink: 0;
}

.anf-selector-step-inline span:last-child {
  font-size: 0.88rem;
  color: var(--anf-muted);
}

.anf-selector-step-inline strong { color: var(--anf-beige); }

/* Barra de progreso */
.anf-sel-progress-wrap { margin-bottom: 1.5rem; }

.anf-sel-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--anf-muted);
  margin-bottom: 0.5rem;
}

.anf-sel-progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
}

.anf-sel-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--anf-green), var(--anf-green-soft));
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* Tarjeta de pregunta */
.anf-sel-card {
  background: var(--anf-panel-dark);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: none;
}

.anf-sel-card.anf-sel-active { display: block; }

.anf-sel-q-step {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--anf-green);
  margin-bottom: 0.5rem;
}

.anf-sel-q-title {
  font-size: 1.3rem;
  color: var(--anf-beige);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.anf-sel-q-subtitle {
  font-size: 0.88rem;
  color: var(--anf-muted);
  margin-bottom: 1.6rem;
}

/* Grid de opciones */
.anf-sel-options-grid { display: grid; gap: 0.8rem; }
.anf-sel-options-grid.anf-sel-cols-2 { grid-template-columns: 1fr 1fr; }

.anf-sel-opt {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--anf-beige);
  width: 100%;
}

.anf-sel-opt:hover {
  border-color: rgba(107, 163, 88, 0.5);
  background: rgba(107, 163, 88, 0.06);
  transform: translateY(-2px);
}

.anf-sel-opt.anf-sel-selected {
  border-color: var(--anf-green);
  background: rgba(107, 163, 88, 0.12);
}

.anf-sel-opt-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }

.anf-sel-opt-text strong {
  display: block;
  font-size: 0.93rem;
  color: var(--anf-beige);
  margin-bottom: 0.2rem;
}

.anf-sel-opt-text span { font-size: 0.8rem; color: var(--anf-muted); }

/* Navegación del selector */
.anf-sel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.6rem;
  gap: 1rem;
}

.anf-sel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.anf-sel-btn-primary {
  background: linear-gradient(135deg, var(--anf-green), var(--anf-green-soft));
  color: #000;
}

.anf-sel-btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }

.anf-sel-btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.anf-sel-btn-ghost {
  background: transparent;
  color: var(--anf-muted);
  border-color: rgba(255, 255, 255, 0.1);
}

.anf-sel-btn-ghost:hover { border-color: var(--anf-green); color: var(--anf-green); }

/* Resultados */
.anf-sel-results-header { text-align: center; margin-bottom: 1.8rem; }
.anf-sel-results-header h2 { font-size: 1.5rem; color: var(--anf-beige); margin-bottom: 0.4rem; }
.anf-sel-results-header p  { color: var(--anf-muted); font-size: 0.9rem; }

.anf-sel-result-item {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.anf-sel-result-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.anf-sel-result-item.anf-sel-best::before { background: linear-gradient(90deg, var(--anf-green), var(--anf-green-soft)); }
.anf-sel-result-item.anf-sel-alt::before  { background: linear-gradient(90deg, #00D9FF, #0099bb); }
.anf-sel-result-item.anf-sel-pro::before  { background: linear-gradient(90deg, #FFD23F, #cc9900); }

.anf-sel-result-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: inline-block;
}

.anf-sel-badge-best { background: rgba(107,163,88,0.15); color: var(--anf-green-soft); border: 1px solid rgba(107,163,88,0.3); }
.anf-sel-badge-alt  { background: rgba(0,217,255,0.1);   color: #00D9FF;               border: 1px solid rgba(0,217,255,0.25); }
.anf-sel-badge-pro  { background: rgba(255,210,63,0.1);  color: #FFD23F;               border: 1px solid rgba(255,210,63,0.25); }

.anf-sel-result-name  { font-size: 1.2rem; color: var(--anf-beige); font-weight: 700; margin-bottom: 0.3rem; }
.anf-sel-result-why   { font-size: 0.87rem; color: var(--anf-muted); margin-bottom: 0.9rem; line-height: 1.5; }

.anf-sel-result-tags  { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }

/* .anf-sel-result-tag — unificado con .anf-prop-tag en la sección de tarjetas de materiales */

.anf-sel-result-warnings {
  background: rgba(255, 180, 50, 0.06);
  border: 1px solid rgba(255, 180, 50, 0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: #f0b840;
}

.anf-sel-result-warnings strong { display: block; margin-bottom: 0.3rem; }

.anf-sel-result-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--anf-green-soft);
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.7rem;
}

@media (max-width: 600px) {
  .anf-sel-options-grid.anf-sel-cols-2 { grid-template-columns: 1fr; }
}


/* ════
   TARJETA ESPECIAL — USO ALIMENTARIO (Food-Safe)
   ════ */
.anf-material-card-food {
  border: 1px solid rgba(255, 210, 63, 0.3) !important;
  background: linear-gradient(135deg, #1a1a0f 0%, #151515 100%) !important;
  position: relative !important;
}

.anf-material-card-food::after {
  content: '🍽️ Categoría especial';
  position: absolute;
  top: -1px; right: 1.2rem;
  font-size: 0.7rem;
  background: rgba(255, 210, 63, 0.15);
  color: #FFD23F;
  border: 1px solid rgba(255, 210, 63, 0.3);
  border-top: none;
  padding: 0.2rem 0.7rem 0.3rem;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.anf-material-card-food::before {
  background: linear-gradient(90deg, #FFD23F, #f0b840) !important;
  opacity: 1 !important;
}

.anf-material-card-food:hover {
  border-color: rgba(255, 210, 63, 0.6) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 210, 63, 0.08) !important;
}

.anf-card-icon-food {
  background: rgba(255, 210, 63, 0.1) !important;
  border: 1px solid rgba(255, 210, 63, 0.3) !important;
}

.anf-badge-food {
  background: rgba(255, 210, 63, 0.12) !important;
  color: #FFD23F !important;
  border: 1px solid rgba(255, 210, 63, 0.3) !important;
}

.anf-food-tag {
  background: rgba(255, 210, 63, 0.06) !important;
  border: 1px solid rgba(255, 210, 63, 0.15) !important;
  color: #e8c84a !important;
}

.anf-food-link { color: #FFD23F !important; }


/* ════════════════════════════════════════════════
   UTILITY LAYER — ANF Atomic Utilities
   Prefijo: .anf-u-
   Versión: 2.0
   Uso: Clases atómicas reutilizables que complementan
        (no reemplazan) las clases de componente existentes.
   ════════════════════════════════════════════════ */

/* ── Backgrounds ── */
.anf-u-bg-panel       { background: var(--anf-panel); }
.anf-u-bg-panel-dark  { background: var(--anf-panel-dark); }
.anf-u-bg-green-soft  { background: rgba(107, 163, 88, 0.08); }
.anf-u-bg-transparent { background: transparent; }

/* ── Border radius ── */
.anf-u-radius-sm   { border-radius: 10px; }
.anf-u-radius-md   { border-radius: 14px; }
.anf-u-radius-lg   { border-radius: 18px; }
.anf-u-radius-xl   { border-radius: 24px; }
.anf-u-radius-pill { border-radius: 999px; }

/* ── Borders ── */
.anf-u-border            { border: 1px solid var(--anf-border); }
.anf-u-border-green      { border: 1px solid var(--anf-border-green); }
.anf-u-border-top-green  { border-top: 3px solid var(--anf-green); }
.anf-u-border-left-green { border-left: 4px solid var(--anf-green); }
.anf-u-border-left-red   { border-left: 4px solid var(--anf-red); }
.anf-u-border-none       { border: none; }

/* ── Padding ── */
.anf-u-p-xs  { padding: 0.4rem 0.8rem; }
.anf-u-p-sm  { padding: 0.75rem 1rem; }
.anf-u-p-md  { padding: 1.25rem 1.5rem; }
.anf-u-p-lg  { padding: 1.6rem; }
.anf-u-p-xl  { padding: 2rem; }
.anf-u-p-2xl { padding: 2.5rem; }

/* ── Margin top ── */
.anf-u-mt-sm { margin-top: 0.5rem; }
.anf-u-mt-md { margin-top: 1rem; }
.anf-u-mt-lg { margin-top: 1.5rem; }
.anf-u-mt-xl { margin-top: 2rem; }

/* ── Margin bottom ── */
.anf-u-mb-sm { margin-bottom: 0.5rem; }
.anf-u-mb-md { margin-bottom: 1rem; }
.anf-u-mb-lg { margin-bottom: 1.5rem; }
.anf-u-mb-xl { margin-bottom: 2rem; }

/* ── Display / Layout ── */
.anf-u-flex         { display: flex; }
.anf-u-flex-col     { display: flex; flex-direction: column; }
.anf-u-flex-center  { display: flex; align-items: center; justify-content: center; }
.anf-u-flex-between { display: flex; align-items: center; justify-content: space-between; }
.anf-u-flex-wrap    { flex-wrap: wrap; }
.anf-u-gap-xs  { gap: 0.4rem; }
.anf-u-gap-sm  { gap: 0.75rem; }
.anf-u-gap-md  { gap: 1rem; }
.anf-u-gap-lg  { gap: 1.5rem; }
.anf-u-gap-xl  { gap: 2rem; }

/* ── Tipografía ── */
.anf-u-text-xs         { font-size: 0.75rem; }
.anf-u-text-sm         { font-size: 0.85rem; }
.anf-u-text-md         { font-size: 0.95rem; }
.anf-u-text-base       { font-size: 1rem; }
.anf-u-text-lg         { font-size: 1.1rem; }
.anf-u-text-xl         { font-size: 1.3rem; }
.anf-u-text-2xl        { font-size: 1.6rem; }
.anf-u-text-muted      { color: var(--anf-muted); }
.anf-u-text-dim        { color: var(--anf-dim); }
.anf-u-text-beige      { color: var(--anf-beige); }
.anf-u-text-green      { color: var(--anf-green); }
.anf-u-text-green-soft { color: var(--anf-green-soft); }
.anf-u-text-red        { color: var(--anf-red); }
.anf-u-font-bold       { font-weight: 700; }
.anf-u-font-semi       { font-weight: 600; }
.anf-u-uppercase       { text-transform: uppercase; letter-spacing: 0.12em; }
.anf-u-text-center     { text-align: center; }

/* ── Overflow / Position ── */
.anf-u-relative   { position: relative; }
.anf-u-overflow-h { overflow: hidden; }

/* ── Transición estándar ── */
.anf-u-transition { transition: all 0.2s ease; }

/* ── Hover helpers ── */
.anf-u-hover-lift:hover  { transform: translateY(-5px); }
.anf-u-hover-green:hover { border-color: var(--anf-border-green); }

/* ────────────────────────────────────────────────
   COMPONENTES BASE REUTILIZABLES
   Reemplazan el patrón background+border+radius+padding
   repetido en .anf-param-card, .anf-info-card, .anf-app-card
   ──────────────────────────────────────────────── */

/* Card shell estándar */
.anf-u-card {
  background: var(--anf-panel);
  border: 1px solid var(--anf-border);
  border-radius: 14px;
  padding: 1.4rem;
}

/* Card shell oscura (para .anf-step, .anf-sel-card) */
.anf-u-card-dark {
  background: var(--anf-panel-dark);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.6rem;
}

/* Tag / pill genérico — reemplaza .anf-prop-tag y .anf-sel-result-tag */
.anf-u-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--anf-muted);
  display: inline-block;
}

/* Icono cuadrado centrado — reemplaza .anf-card-icon y .anf-step-num */
.anf-u-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(107, 163, 88, 0.1);
  border: 1px solid rgba(107, 163, 88, 0.25);
  flex-shrink: 0;
}

/* ── Tamaños de icon-box ── */
.anf-u-icon-box-sm { width: 28px; height: 28px; font-size: 0.8rem; }
.anf-u-icon-box-md { width: 36px; height: 36px; font-size: 0.9rem; }
.anf-u-icon-box-lg { width: 46px; height: 46px; font-size: 1.4rem; }

/* ════
   CABECERA TIENDA (WooCommerce — is_shop())
   ════ */
.anf-shop-header {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--anf-bg);
  color: var(--anf-beige);
  line-height: 1.6;
  padding: 60px 20px 70px;
  max-width: 1200px;
  margin: 0 auto;
}

.anf-sh-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.anf-sh-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--anf-green-soft);
  margin-bottom: 1rem;
}

.anf-sh-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1.4rem;
  color: var(--anf-beige);
}

.anf-sh-hero h1 span { color: var(--anf-green); }

.anf-sh-hero p {
  font-size: 1.1rem;
  color: var(--anf-muted);
  max-width: 500px;
  margin-bottom: 2rem;
}

.anf-sh-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.anf-sh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--anf-green-soft);
  border: 1px solid var(--anf-border-green);
  background: rgba(107, 163, 88, 0.06);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.anf-sh-visual {
  background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
  border: 1px solid var(--anf-border);
  border-radius: 28px;
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(107, 163, 88, 0.06);
}

.anf-sh-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--anf-green), transparent);
}

.anf-sh-visual-label {
  position: absolute;
  bottom: 18px;
  font-size: 0.65rem;
  color: var(--anf-green);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.anf-sh-divider {
  margin-top: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--anf-border-green), transparent);
}

/* Animación carrito 3D */
.cart-scene {
  width: 160px; height: 180px;
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
}

.cart-svg-fixed {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
}

.cart-build-area {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 60px; display: flex; flex-direction: column-reverse; align-items: center; gap: 2px;
}

.cart-layer {
  height: 6px; border-radius: 2px;
  background: linear-gradient(90deg, #3d6b2a, var(--anf-green), var(--anf-green-soft));
  box-shadow: 0 0 6px rgba(107, 163, 88, 0.5);
  opacity: 0; transform: scaleX(0);
}

.cart-layer:nth-child(1) { width: 54px; }
.cart-layer:nth-child(2) { width: 50px; }
.cart-layer:nth-child(3) { width: 46px; }
.cart-layer:nth-child(4) { width: 42px; }
.cart-layer:nth-child(5) { width: 37px; }
.cart-layer:nth-child(6) { width: 31px; }
.cart-layer:nth-child(7) { width: 24px; }
.cart-layer:nth-child(8) { width: 16px; }

.cart-nozzle-el {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 30px; z-index: 10;
}

.cart-badge-el {
  position: absolute; top: 8px; right: 14px;
  background: var(--anf-green); color: #000;
  font-size: 0.65rem; font-weight: 700;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.4); z-index: 20;
  font-family: system-ui, sans-serif;
}

.cart-glow-el {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 40px;
  background: radial-gradient(ellipse, rgba(107, 163, 88, 0.2), transparent 70%);
  opacity: 0; pointer-events: none;
}

/* Responsive cabecera tienda */
@media (max-width: 860px) {
  .anf-sh-hero { grid-template-columns: 1fr; text-align: center; }
  .anf-sh-hero p { margin-inline: auto; }
  .anf-sh-badges { justify-content: center; }
  .anf-sh-visual { height: 280px; margin-top: 10px; }
}