* { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --gold: #8B6914;
    --gold-light: #C9A84C;
    --gold-pale: #F5EDD6;
    --parch: #FAF3E0;
    --parch-dark: #EDE0C4;
    --ink: #2C1F0E;
    --ink-mid: #5C4A2A;
    --green-herb: #4A6741;
    --border-gold: 1px solid #C9A84C;
    --silver: #C0C0C0;
    --silver-bright: #E8E8E8;
    --silver-deep: #8E8E8E;
  }

  body {
    font-family: 'EB Garamond', Georgia, serif;
    background: var(--parch);
    color: var(--ink);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M 12 0 C 12 8, 8 12, 0 12 C 8 12, 12 16, 12 24 C 12 16, 16 12, 24 12 C 16 12, 12 8, 12 0 Z' fill='%23C9A84C' stroke='%23000' stroke-width='0.5'/%3E%3C/svg%3E") 12 12, auto;
  }

  html {
    overflow-x: hidden;
  }

  /* HEADER */
  .site-header {
    background:
      linear-gradient(180deg, rgba(20,12,5,0.78) 0%, rgba(30,20,10,0.85) 60%, rgba(45,30,15,0.92) 100%),
      url('Gemini_Generated_Image_81csar81csar81cs.webp');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    border-bottom: 3px solid var(--gold-light);
    padding: 2.5rem 1.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 360px;
  }

  .site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(201,168,76,0.05) 20px,
        rgba(201,168,76,0.05) 21px
      ),
      radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
  }

  .header-ornament {
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--gold-light);
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.8;
  }

  .title-row {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 1.2rem;
    padding-left: 1.5rem;
  }

  .header-logo {
    width: 250px;
    height: 250px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    position: absolute;
    left: 2.5rem;
    top: -4.5rem;
    border-radius: 0;
    transition: filter 0.4s ease;
    cursor: pointer;
  }

  .site-title {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--silver-bright);
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin-top: 1.5rem;
    margin-bottom: 0.4rem;
    text-shadow:
      0 0 6px rgba(232,232,232,0.35),
      0 1px 0 rgba(255,255,255,0.25),
      0 2px 8px rgba(0,0,0,0.6);
    background: linear-gradient(180deg, #FFFFFF 0%, #E8E8E8 35%, #B8B8B8 70%, #8E8E8E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
  }

  .site-subtitle {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold-light);
    opacity: 0.95;
    margin-bottom: 0.4rem;
  }

  .site-tagline {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    letter-spacing: 0.4em;
    color: var(--silver);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 4px rgba(192,192,192,0.4);
  }

  /* TABS NAV */
  .tabs-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(201,168,76,0.3);
    padding-top: 0;
    background: transparent;
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;
  }

  .tab-button {
    font-family: 'Cinzel', serif;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    color: var(--gold-light);
    text-decoration: none;
    padding: 0.9rem 1.4rem 1rem;
    text-transform: uppercase;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(201,168,76,0.18);
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0.85;
    position: relative;
    bottom: -3px;
  }
  .tab-button:last-child { border-right: none; }
  .tab-button:hover { opacity: 1; color: var(--gold-pale); }
  .tab-button.active {
    color: var(--gold-pale);
    opacity: 1;
    border-bottom-color: var(--gold-light);
    background: rgba(201,168,76,0.08);
  }

  /* TAB PANELS */
  .tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
  }
  .tab-panel.active { display: block; }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* SECTIONS */
  .section {
    max-width: 920px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
  }

  .section-alt {
    background: rgba(139,105,20,0.06);
  }

  .section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    text-align: center;
    margin-bottom: 0.4rem;
  }

  .section-subtitle {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    text-align: center;
    color: var(--ink-mid);
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }

  .section-rule {
    width: 80px;
    height: 1px;
    background: var(--gold-light);
    margin: 0 auto 2rem;
    position: relative;
  }
  .section-rule::before, .section-rule::after {
    content: '✦';
    position: absolute;
    top: -7px;
    font-size: 8px;
    color: var(--gold-light);
  }
  .section-rule::before { left: -14px; }
  .section-rule::after { right: -14px; }

  /* PROSE BLOCK */
  .prose {
    font-size: 1.02rem;
    color: var(--ink-mid);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    text-align: justify;
  }

  .prose strong { color: var(--ink); }

  .philosophy-block {
    background: var(--parch-dark);
    border: var(--border-gold);
    border-radius: 4px;
    padding: 1.75rem 2rem;
    font-size: 1.05rem;
    font-style: italic;
    text-align: center;
    color: var(--ink-mid);
    position: relative;
    margin-bottom: 1.5rem;
  }
  .philosophy-block::before {
    content: '❧';
    display: block;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    font-style: normal;
  }

  .info-box {
    background: #fff8ee;
    border-left: 3px solid var(--gold-light);
    padding: 1rem 1.25rem;
    border-radius: 0 4px 4px 0;
    font-size: 0.95rem;
    color: var(--ink-mid);
    margin-top: 1rem;
  }

  /* ESPAGÍRICOS LIST (Pestaña 1) */
  .espagiricos-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.85rem;
    margin-top: 1.5rem;
  }

  .espagiricos-list li {
    background: #fff8ee;
    border: var(--border-gold);
    border-left-width: 4px;
    border-radius: 3px;
    padding: 0.9rem 1.1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .espagiricos-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139,105,20,0.15);
    border-left-color: var(--gold);
  }

  .espagiricos-list li strong {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.92rem;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 4px;
  }

  .espagiricos-list li .parte {
    font-size: 0.78rem;
    color: var(--green-herb);
    font-style: italic;
    display: block;
    margin-bottom: 6px;
  }

  .espagiricos-list li .prop {
    color: var(--ink-mid);
    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* TIENDA — TARJETAS DE FRASCOS (Pestaña 2) */
  .tienda-hero {
    text-align: center;
    margin-bottom: 2rem;
  }
  .tienda-hero p {
    font-style: italic;
    color: var(--ink-mid);
    max-width: 640px;
    margin: 0 auto;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .product-card {
    background: #fff8ee;
    border: var(--border-gold);
    border-radius: 6px;
    padding: 1.5rem 1.4rem 1.3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(139,105,20,0.2);
  }

  .product-card.featured {
    border-color: var(--gold);
    border-width: 2px;
    background: var(--gold-pale);
  }

  .product-badge {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--gold-pale);
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 0.6rem;
  }

  .product-name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.6rem;
    line-height: 1.3;
  }

  .product-desc {
    font-size: 0.92rem;
    color: var(--ink-mid);
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  .product-price {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold);
  }

  .product-volume {
    font-size: 0.8rem;
    color: var(--ink-mid);
    font-family: 'EB Garamond', serif;
    margin-left: 0.4rem;
  }

  /* BOTIQUÍN DE FLORES — fondos de imagen por frasco */
  .floral-stage {
    height: 180px;
    border-radius: 8px;
    margin: -0.2rem -0.2rem 1.2rem -0.2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.5);
    background-color: var(--paper, #fdfbf7);
    box-shadow: inset 0 0 40px rgba(201,168,76,0.15);
  }
  .floral-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.1) 150%);
    pointer-events: none;
  }
  .floral-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
  }

  .floral-1 { background: url('prod_esencia_white.webp') center/contain no-repeat; }
  .floral-2 { background: url('prod_ajenjo_white.webp') center/contain no-repeat; }
  .floral-3 { background: url('prod_ajo_white.webp') center/contain no-repeat; }
  .floral-4 { background: url('prod_sauce_white.webp') center/contain no-repeat; }
  .floral-5 { background: url('prod_harpagofito_white.webp') center/contain no-repeat; }
  .floral-6 { background: url('prod_curcuma_white.webp') center/contain no-repeat; }
  .floral-7 { background: url('prod_cardo_white.webp') center/contain no-repeat; }
  .floral-8 { background: url('prod_ortiga_white.webp') center/contain no-repeat; }
  .floral-9 { background: url('prod_pino_white.webp') center/contain no-repeat; }
  .floral-10 { background: url('prod_romero_white.webp') center/contain no-repeat; }
  .floral-11 { background: url('prod_vid_white.webp') center/contain no-repeat; }
  .floral-12 { background: url('prod_pomada_white.webp') center/contain no-repeat; }

  /* PRODUCTOS EN FONDO BLANCO DE ESTUDIO (HOMOGÉNEOS CON EL RESTO) */
  .stage-magnesio { background: url('prod_magnesio_white.webp') center/contain no-repeat; }
  .stage-crema    { background: url('prod_crema_white.webp') center/contain no-repeat; }
  .stage-dmso     { background: url('prod_dmso_white.webp') center/contain no-repeat; }
  .stage-serum    { background: url('prod_serum_white.webp') center/contain no-repeat; }
  .stage-fenix    { background: url('prod_esencia_white.webp') center/contain no-repeat; }

  .floral-stage.stage-photo {
    height: 180px;
  }

  /* RECOMENDADAS & LÍNEA NATURAL */
  .recomendadas-hero {
    background:
      radial-gradient(circle at 50% 20%, rgba(201,168,76,0.18) 0%, transparent 65%),
      linear-gradient(180deg, rgba(26,18,8,0.03) 0%, rgba(44,31,14,0.08) 100%);
    border: 1px solid rgba(201,168,76,0.45);
    border-radius: 8px;
    padding: 2.5rem 1.8rem;
    text-align: center;
    margin-bottom: 2.2rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(201,168,76,0.08);
  }
  [data-theme="dark"] .recomendadas-hero {
    background:
      radial-gradient(circle at 50% 20%, rgba(201,168,76,0.14) 0%, transparent 65%),
      linear-gradient(180deg, rgba(20,15,10,0.65) 0%, rgba(32,24,15,0.85) 100%);
    border-color: rgba(201,168,76,0.3);
  }
  .rec-cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.8rem;
  }
  .rec-cta-group .gold-cta {
    margin: 0;
    width: auto;
    padding: 0.75rem 1.8rem;
  }

  .floral-caption {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 0.72rem;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    letter-spacing: 0.05em;
  }

  /* ESENCIA MADRE (Pestaña 3) */
  .madre-hero {
    background:
      radial-gradient(circle at 30% 20%, rgba(255,215,0,0.18) 0%, transparent 40%),
      radial-gradient(circle at 70% 80%, rgba(192,192,192,0.12) 0%, transparent 40%),
      linear-gradient(180deg, rgba(26,18,8,0.7) 0%, rgba(44,31,14,0.85) 100%),
      url('esencia fenix fondo.jpeg') center/cover no-repeat;
    border: 2px solid var(--gold-light);
    border-radius: 6px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
  }
  .madre-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(201,168,76,0.05) 30px,
      rgba(201,168,76,0.05) 31px
    );
  }
  .madre-hero-content { position: relative; z-index: 1; }

  .madre-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    color: var(--silver);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 6px rgba(232,232,232,0.3);
  }

  .madre-headline {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.25;
    background: linear-gradient(180deg, #FFFFFF 0%, #E8E8E8 35%, #B8B8B8 70%, #8E8E8E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-shadow: 0 0 12px rgba(232,232,232,0.2);
  }

  .madre-tagline {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--gold-light);
    max-width: 580px;
    margin: 0 auto 0.5rem;
  }

  .madre-brand {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 0.45em;
    color: var(--silver-bright);
    margin-top: 1.5rem;
    text-transform: uppercase;
    background: linear-gradient(180deg, #FFFFFF 0%, #D0D0D0 50%, #A0A0A0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .madre-brand-sub {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-top: 0.3rem;
    opacity: 0.85;
  }

  .vertientes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
  }

  .vertiente-card {
    background: #fff8ee;
    border: var(--border-gold);
    border-radius: 6px;
    padding: 1.5rem;
  }

  .vertiente-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: var(--gold);
    margin-bottom: 0.6rem;
    letter-spacing: 0.04em;
  }

  .vertiente-card.madre {
    background: linear-gradient(180deg, #1A1208 0%, #2C1F0E 100%);
    border: 2px solid var(--silver);
  }
  .vertiente-card.madre h3 { color: var(--silver-bright); }
  .vertiente-card.madre p { color: var(--gold-pale); opacity: 0.92; }

  .beneficios-list {
    list-style: none;
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.6rem;
  }

  .beneficios-list li {
    padding: 0.55rem 0.85rem 0.55rem 1.6rem;
    background: #fff8ee;
    border-left: 3px solid var(--gold-light);
    border-radius: 0 3px 3px 0;
    font-size: 0.95rem;
    color: var(--ink-mid);
    position: relative;
  }
  .beneficios-list li::before {
    content: '✦';
    position: absolute;
    left: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 0.7rem;
  }

  .quintaesencia-box {
    background: linear-gradient(180deg, #fff8ee 0%, var(--gold-pale) 100%);
    border: 2px solid var(--gold);
    border-radius: 6px;
    padding: 1.5rem 1.75rem;
    margin-top: 1.5rem;
  }

  .quintaesencia-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.6rem;
    text-align: center;
  }

  .unidades-box {
    background: #1A1208;
    border: 2px solid var(--gold-light);
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
  }
  .unidades-box p { color: var(--gold-pale); margin-bottom: 0.4rem; }
  .unidades-box .precio-m {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold-light);
    margin: 0.6rem 0;
  }

  .gold-cta {
    display: inline-block;
    background: linear-gradient(180deg, #C9A84C 0%, #8B6914 100%);
    color: #fff8ee;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    padding: 0.85rem 1.8rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--gold-light);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 0.5rem;
  }
  .gold-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(201,168,76,0.35);
    color: #fff;
  }

  

  

  

  

  /* POSOLOGÍA */
  .dosis-block {
    background: var(--parch-dark);
    border: var(--border-gold);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
  }

  .dosis-title {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .dosis-text {
    font-size: 0.95rem;
    color: var(--ink-mid);
    line-height: 1.7;
  }

  .warning-box {
    background: #fff3cd;
    border: 1px solid #d4a017;
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.92rem;
    color: #5c3d00;
  }

  .warning-box::before {
    content: '⚠ ';
    font-size: 0.95rem;
  }

  /* GLOSARIO */
  .glosario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }

  .glosario-item {
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--gold-light);
    background: #fff8ee;
    border-radius: 0 4px 4px 0;
  }

  .glosario-term {
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.4rem;
  }

  .glosario-def {
    font-size: 0.9rem;
    color: var(--ink-mid);
    font-style: italic;
    line-height: 1.6;
  }

  /* TESTIMONIOS */
  .testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }

  .testimonio {
    background: #fff8ee;
    border: var(--border-gold);
    border-radius: 4px;
    padding: 1.2rem;
  }

  .testimonio-text {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--ink-mid);
    line-height: 1.65;
    margin-bottom: 0.8rem;
  }

  .testimonio-autor {
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    color: var(--gold);
    letter-spacing: 0.08em;
  }

  /* PEDIDOS / CONTACTO */
  .contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .pedido-block {
    background: #1A1208;
    border: 2px solid var(--gold-light);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
  }

  .pedido-block p {
    color: var(--gold-pale);
    font-size: 1rem;
    margin-bottom: 0.6rem;
    opacity: 0.9;
  }

  .pedido-email {
    font-family: 'Cinzel', serif;
    font-size: clamp(0.78rem, 2.2vw, 1rem);
    color: var(--gold-light);
    letter-spacing: 0.04em;
    word-break: break-all;
    overflow-wrap: anywhere;
    line-height: 1.3;
  }

  .pedido-info {
    font-size: 0.85rem;
    color: var(--gold-light);
    opacity: 0.7;
    margin-top: 0.75rem;
    font-style: italic;
  }

  .contacto-card {
    background: #fff8ee;
    border: var(--border-gold);
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
  }
  .contacto-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.06em;
  }
  .contacto-card p { color: var(--ink-mid); font-size: 0.95rem; }

  /* AVISO */
  .aviso-block {
    background: #2C1F0E;
    color: var(--parch-dark);
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.88rem;
    border-top: 3px solid var(--gold);
    font-style: italic;
    opacity: 0.95;
    line-height: 1.8;
  }

  /* FOOTER */
  footer {
    background: #1A1208;
    border-top: 1px solid rgba(201,168,76,0.3);
    padding: 1.5rem;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: rgba(201,168,76,0.55);
    text-transform: uppercase;
  }
  footer .silver {
    background: linear-gradient(180deg, #FFFFFF 0%, #D0D0D0 50%, #A0A0A0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--silver-bright);
    font-weight: 600;
  }

  @media (max-width: 600px) {
    .site-title { font-size: 1.7rem; }
    .madre-headline { font-size: 1.5rem; }
    
    .tab-button { padding: 0.75rem 0.9rem; font-size: 0.66rem; letter-spacing: 0.08em; }
    .section { padding: 2rem 1rem; }
  }

  /* ===== SCROLL REVEAL SYSTEM ===== */
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }
  .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* ===== NEW KEYFRAMES ===== */
  @keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  @keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(201,168,76,0.15); }
    50% { box-shadow: 0 0 22px rgba(201,168,76,0.4), 0 0 44px rgba(201,168,76,0.08); }
  }

  @keyframes logoReveal {
    0% { opacity: 0; transform: scale(0.85) rotate(-3deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
  }

  @keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; text-shadow: 0 0 8px rgba(201,168,76,0.7); }
  }

  @keyframes borderGlow {
    0%, 100% { border-image-source: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold-pale), var(--gold-light), var(--gold)); }
    50% { border-image-source: linear-gradient(90deg, var(--gold-pale), var(--gold), var(--gold-light), var(--gold), var(--gold-pale)); }
  }

  /* ===== DROP CAP ===== */
  .drop-cap::first-letter {
    font-family: 'Cinzel', serif;
    font-size: 3.4em;
    float: left;
    line-height: 0.8;
    margin-right: 0.06em;
    margin-top: 0.06em;
    color: var(--gold);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(139,105,20,0.2);
  }

  /* ===== SHIMMER ON PRODUCT CARDS ===== */
  .product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(201,168,76,0.06) 42%, rgba(255,255,255,0.14) 50%, rgba(201,168,76,0.06) 58%, transparent 65%);
    background-size: 250% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 6px;
  }
  .product-card:hover::after {
    opacity: 1;
    animation: shimmer 1.8s ease-in-out;
  }

  /* ===== ENHANCED HOVER STATES ===== */
  .vertiente-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .vertiente-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(139,105,20,0.12);
  }

  .glosario-item {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .glosario-item:hover {
    transform: translateX(4px);
    box-shadow: -2px 0 8px rgba(139,105,20,0.1);
  }

  
  

  .testimonio {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .testimonio:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(139,105,20,0.15);
  }

  .dosis-block {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .dosis-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139,105,20,0.1);
  }

  /* ===== SECTION RULE TWINKLE ===== */
  .section-rule::before, .section-rule::after {
    animation: twinkle 2.5s ease-in-out infinite;
  }
  .section-rule::after {
    animation-delay: 1.25s;
  }

  /* ===== CTA PULSE ===== */
  .gold-cta {
    animation: pulseGlow 3s ease-in-out infinite;
  }

  /* ===== ANIMATED HEADER BORDER ===== */
  .site-header {
    border-bottom: 3px solid var(--gold);
    border-image: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold-pale), var(--gold-light), var(--gold)) 1;
    animation: borderGlow 4s ease-in-out infinite;
  }

  /* ===== FLORAL STAGE ZOOM ===== */
  .floral-stage {
    transition: transform 0.6s ease;
  }
  .product-card:hover .floral-stage {
    transform: scale(1.05);
  }

  /* ===== FEATURED CARD GLOW ===== */
  .product-card.featured {
    animation: pulseGlow 3.5s ease-in-out infinite;
  }

  /* ===== PARTICLES CANVAS ===== */
  #particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  }
  .site-header .header-ornament,
  .site-header .title-row,
  .site-header .site-subtitle,
  .site-header .site-tagline {
    position: relative;
    z-index: 2;
  }
  .site-header .tabs-nav {
    z-index: 2;
  }

  /* ===== SCROLL TO TOP ===== */
  .scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
    color: #fff;
    border: 2px solid var(--gold-pale);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s, transform 0.35s;
    z-index: 999;
    box-shadow: 0 4px 14px rgba(139,105,20,0.35);
    font-family: 'Cinzel', serif;
  }
  .scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
  }
  .scroll-top-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 22px rgba(139,105,20,0.4);
  }

  /* ===== ENHANCED FOOTER ===== */
  footer::before {
    content: '✦ · ✦ · ✦';
    display: block;
    font-size: 0.55rem;
    letter-spacing: 0.5em;
    color: rgba(201,168,76,0.35);
    margin-bottom: 0.8rem;
    animation: twinkle 3.5s ease-in-out infinite;
  }

  /* ===== LOGO ANIMATION ===== */
  .header-logo {
    animation: logoReveal 1.2s ease-out both;
    filter: drop-shadow(0 0 15px rgba(201,168,76,0.3));
  }
  .header-logo:hover {
    filter: drop-shadow(0 0 25px rgba(201,168,76,0.6)) brightness(1.1);
  }

  /* ===== MADRE HERO GLOW ===== */
  .madre-hero {
    animation: pulseGlow 4s ease-in-out infinite;
  }

  /* ===== REDUCED MOTION ===== */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .reveal-on-scroll { opacity: 1; transform: none; }
  }

  /* ===== MOBILE OVERRIDES ===== */
  @media (max-width: 768px) {
    #particles-canvas { display: none; }
    .site-header {
      min-height: auto;
      overflow: visible;
      padding-bottom: 0.5rem;
    }
    .header-logo {
      position: static;
      margin: 0 auto 0.6rem;
      width: 160px;
      height: 160px;
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      animation: none !important;
      transform: none !important;
    }
    .title-row {
      padding-left: 0;
      text-align: center;
    }
    .site-title {
      font-size: 1.7rem;
    }
    .site-subtitle {
      font-size: 1rem;
    }
    .site-tagline {
      font-size: 0.7rem;
      letter-spacing: 0.2em;
    }
    .theme-toggle {
      top: 0.5rem;
      right: 0.5rem;
      width: 34px;
      height: 34px;
      font-size: 1rem;
    }
    .lang-toggle {
      top: 0.5rem;
      right: 2.8rem;
      font-size: 0.55rem;
      padding: 3px 8px;
    }
    .tabs-nav {
      position: relative;
      bottom: auto;
      overflow-x: auto;
      flex-wrap: nowrap;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      justify-content: flex-start;
      margin-top: 0.5rem;
      border-top: none;
    }
    .tabs-nav::-webkit-scrollbar {
      display: none;
    }
    .tab-button {
      white-space: nowrap;
      flex-shrink: 0;
      bottom: 0;
      padding: 0.7rem 1rem;
      font-size: 0.64rem;
      letter-spacing: 0.08em;
      border-right: none;
      border-bottom: 2px solid transparent;
    }
    .tab-button.active {
      border-bottom-color: var(--gold-light);
    }
    .scroll-top-btn {
      bottom: 1rem;
      right: 1rem;
      width: 40px;
      height: 40px;
      font-size: 1rem;
    }
    
    .header-search-container {
      flex-shrink: 0;
      margin: 0 1rem 0 0.5rem;
      height: 32px;
      width: 180px;
    }
    .header-search-container:focus-within {
      width: 200px;
    }
    .header-search-results {
      position: fixed;
      top: 120px;
      left: 10px;
      right: 10px;
      width: auto;
      max-width: none;
      z-index: 99999;
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
  }

  /* ===== VIDEO INTRO ===== */
  #video-intro {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  #video-intro.fade-out {
    animation: introFadeOut 1.8s ease-in-out forwards;
  }
  #video-intro.hidden {
    display: none;
  }
  #video-intro video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
  }

  /* Fade-to-black overlay */
  .intro-fade-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 1.5s ease-in;
  }
  #video-intro.fade-out .intro-fade-overlay {
    opacity: 1;
  }

  /* Skip button */
  .intro-skip-btn {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 3;
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: 24px;
    padding: 0.6rem 1.6rem;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all 0.35s ease;
    opacity: 0;
    animation: skipFadeIn 0.8s ease 1.5s forwards;
  }
  .intro-skip-btn:hover {
    color: #fff;
    background: rgba(201,168,76,0.25);
    border-color: var(--gold-light);
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(201,168,76,0.25);
  }

  /* Progress bar at bottom */
  .intro-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-pale) 100%);
    z-index: 3;
    width: 0%;
    transition: width 0.3s linear;
    box-shadow: 0 0 8px rgba(201,168,76,0.5);
  }

  @keyframes introFadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
  }

  @keyframes skipFadeIn {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 768px) {
    .intro-skip-btn {
      bottom: 1.5rem;
      right: 1.5rem;
      font-size: 0.68rem;
      padding: 0.5rem 1.2rem;
    }
  }

  /* Play toggle button */
  .intro-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,0,0,0.6);
    border: 2px solid var(--gold-light);
    border-radius: 40px;
    padding: 1rem 2rem;
    color: var(--gold-pale);
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    box-shadow: 0 0 30px rgba(0,0,0,0.8), 0 0 15px rgba(201,168,76,0.3);
    animation: playPulse 2s infinite alternate;
  }
  .intro-play-btn:hover {
    background: rgba(201,168,76,0.25);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 40px rgba(0,0,0,0.9), 0 0 25px rgba(201,168,76,0.5);
    color: #fff;
  }
  .intro-play-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
  }
  .intro-play-icon {
    font-size: 1.4rem;
  }

  @keyframes playPulse {
    0% { box-shadow: 0 0 30px rgba(0,0,0,0.8), 0 0 10px rgba(201,168,76,0.2); }
    100% { box-shadow: 0 0 30px rgba(0,0,0,0.8), 0 0 25px rgba(201,168,76,0.6); }
  }

  /* ===== PRELOADER ===== */
  #preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: radial-gradient(ellipse at center, #2C1F0E 0%, #1A1208 60%, #0D0B07 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
  }
  #preloader.hidden {
    opacity: 0;
    visibility: hidden;
  }
  #preloader img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    animation: preloaderPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(201,168,76,0.5));
  }
  #preloader .preloader-text {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    color: var(--gold-light);
    margin-top: 1.2rem;
    text-transform: uppercase;
    opacity: 0.8;
  }
  #preloader .preloader-dots {
    margin-top: 1rem;
    display: flex;
    gap: 6px;
  }
  #preloader .preloader-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-light);
    animation: dotBounce 1.4s ease-in-out infinite;
  }
  #preloader .preloader-dots span:nth-child(2) { animation-delay: 0.2s; }
  #preloader .preloader-dots span:nth-child(3) { animation-delay: 0.4s; }

  @keyframes preloaderPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(201,168,76,0.3)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 35px rgba(201,168,76,0.6)); }
  }
  @keyframes dotBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-8px); opacity: 1; }
  }

  /* ===== STICKY HEADER ===== */
  .site-header {
    transition: min-height 0.45s ease, padding 0.45s ease;
  }
  .site-header.sticky {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: auto !important;
    padding: 0 1.5rem;
    background:
      linear-gradient(180deg, rgba(20,12,5,0.95) 0%, rgba(30,20,10,0.97) 100%),
      url('Gemini_Generated_Image_81csar81csar81cs.webp');
    background-size: cover;
    background-position: center 35%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: slideDownSticky 0.4s ease forwards;
  }
  @keyframes slideDownSticky {
    to { top: 0; }
  }
  .site-header.sticky .header-ornament,
  .site-header.sticky .site-subtitle,
  .site-header.sticky .site-tagline {
    display: none;
  }
  .site-header.sticky .title-row {
    margin-bottom: 0;
    padding-left: 55px;
  }
  .site-header.sticky .header-logo {
    width: 44px;
    height: 44px;
    position: absolute;
    top: 0.8rem;
    left: 1.5rem;
    margin: 0;
  }
  .site-header.sticky .site-title {
    font-size: 1.2rem;
    display: inline-block;
    vertical-align: middle;
  }
  .site-header.sticky .tabs-nav {
    position: static;
    border-top: none;
    padding-top: 0;
  }
  .site-header.sticky .tab-button {
    padding: 0.6rem 1rem;
    font-size: 0.65rem;
    bottom: 0;
  }
  .site-header.sticky #particles-canvas {
    display: none;
  }
  .sticky-spacer {
    display: block;
    height: 0;
  }

  /* ===== DARK MODE TOGGLE ===== */
  .theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.4);
    background: rgba(0,0,0,0.5);
    color: var(--gold-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .theme-toggle:hover {
    background: rgba(201,168,76,0.2);
    border-color: var(--gold-light);
    transform: scale(1.1);
  }
  .site-header.sticky .theme-toggle {
    position: static;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    margin-left: auto;
  }

  /* ===== LANG TOGGLE ===== */
  .lang-toggle {
    position: absolute;
    top: 1rem;
    right: 4.5rem;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.4);
    background: rgba(0,0,0,0.5);
    color: var(--gold-light);
    font-size: 0.9rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .lang-toggle:hover {
    background: rgba(201,168,76,0.2);
    border-color: var(--gold-light);
  }
  .site-header.sticky .lang-toggle {
    position: static;
    margin-left: 0.5rem;
  }

  /* PRODUCT MODAL */
  .product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .product-modal.show {
    opacity: 1;
    visibility: visible;
  }
  .product-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 6, 2, 0.9);
  }
  .product-modal-content {
    position: relative;
    z-index: 100001;
    background: #fff8ee;
    border: var(--border-gold);
    border-radius: 8px;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 50px rgba(0,0,0,0.8);
    transform: translateY(20px);
    transition: transform 0.3s ease;
  }
  [data-theme="dark"] .product-modal-content {
    background: var(--bg-dark-paper);
  }
  .product-modal.show .product-modal-content {
    transform: translateY(0);
  }
  .close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.2rem;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    z-index: 100002;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    transition: color 0.2s;
  }
  .close-modal:hover {
    color: var(--gold-light);
  }
  .product-modal-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid var(--gold);
    position: relative;
  }
  .product-modal-info {
    padding: 2rem;
    text-align: center;
  }
  .product-modal-info .product-name {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  .product-modal-info .product-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .product-modal-info .product-price {
    font-size: 1.2rem;
  }

  @media (max-width: 576px) {
    .product-modal-image {
      height: 220px;
    }
    .product-modal-info {
      padding: 1.2rem;
    }
    .product-modal-info .product-name {
      font-size: 1.2rem;
      margin-bottom: 0.75rem;
    }
    .product-modal-info .product-desc {
      font-size: 0.9rem;
      margin-bottom: 1rem;
    }
  }

  /* ===== DARK MODE VARIABLES ===== */
  [data-theme="dark"] {
    --parch: #0D0B07;
    --parch-dark: #151210;
    --ink: #E8DCC8;
    --ink-mid: #C4B99E;
    --green-herb: #7BA872;
  }
  [data-theme="dark"] body {
    background: #0D0B07;
    color: #E8DCC8;
  }
  [data-theme="dark"] .section-alt {
    background: rgba(201,168,76,0.04);
  }
  [data-theme="dark"] .espagiricos-list li,
  [data-theme="dark"] .product-card,
    [data-theme="dark"] .vertiente-card:not(.madre),
  [data-theme="dark"] .glosario-item,
  [data-theme="dark"] .testimonio,
  [data-theme="dark"] .contacto-card,
  [data-theme="dark"] .dosis-block {
    background: #1A1510;
    border-color: rgba(201,168,76,0.3);
  }
  [data-theme="dark"] .product-card.featured {
    background: #1F1A10;
    border-color: var(--gold);
  }
  [data-theme="dark"] .philosophy-block {
    background: #151210;
    border-color: rgba(201,168,76,0.3);
  }
  [data-theme="dark"] .info-box {
    background: #1A1510;
    color: #C4B99E;
  }
  [data-theme="dark"] .warning-box {
    background: #1F1A0D;
    border-color: #8B6914;
    color: #E8DCC8;
  }
  [data-theme="dark"] .quintaesencia-box {
    background: linear-gradient(180deg, #1A1510 0%, #1F1A10 100%);
    border-color: var(--gold);
  }
  [data-theme="dark"] .beneficios-list li {
    background: #1A1510;
    color: #C4B99E;
  }
  [data-theme="dark"] .pedido-block {
    background: #000;
  }
  [data-theme="dark"] .aviso-block {
    background: #0D0B07;
  }
  [data-theme="dark"] footer {
    background: #000;
  }
  [data-theme="dark"] .floral-stage {
    opacity: 0.85;
  }

  /* ===== FAQ ACCORDION ===== */
  .faq-list {
    max-width: 760px;
    margin: 0 auto;
  }
  .faq-item {
    border: var(--border-gold);
    border-radius: 4px;
    margin-bottom: 0.6rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
  }
  .faq-item:hover {
    box-shadow: 0 2px 10px rgba(139,105,20,0.12);
  }
  .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #fff8ee;
    border: none;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    letter-spacing: 0.02em;
    transition: background 0.3s;
  }
  [data-theme="dark"] .faq-question {
    background: #1A1510;
    color: #E8DCC8;
  }
  .faq-question:hover {
    background: var(--gold-pale);
  }
  [data-theme="dark"] .faq-question:hover {
    background: #1F1A10;
  }
  .faq-icon {
    font-size: 0.75rem;
    color: var(--gold);
    transition: transform 0.35s ease;
    flex-shrink: 0;
    margin-left: 1rem;
  }
  .faq-item.open .faq-icon {
    transform: rotate(90deg);
  }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.25rem;
    background: var(--parch);
  }
  [data-theme="dark"] .faq-answer {
    background: #121010;
  }
  .faq-item.open .faq-answer {
    max-height: 300px;
    padding: 1rem 1.25rem 1.2rem;
  }
  .faq-answer p {
    font-size: 0.95rem;
    color: var(--ink-mid);
    line-height: 1.75;
  }

  /* ===== TESTIMONIAL CAROUSEL ===== */
  .carousel-container {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    overflow: hidden;
  }
  .carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .carousel-slide {
    min-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  .carousel-slide .testimonio {
    margin: 0 auto;
    max-width: 560px;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .carousel-slide .testimonio-text {
    font-size: 1.08rem;
    line-height: 1.8;
  }
  .carousel-slide .testimonio-autor {
    margin-top: 1rem;
  }
  .carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.2rem;
  }
  .carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gold-light);
    background: transparent;
    color: var(--gold);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
  }
  .carousel-btn:hover {
    background: var(--gold);
    color: #fff;
  }
  .carousel-dots {
    display: flex;
    gap: 8px;
  }
  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-light);
    opacity: 0.35;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
  }
  .carousel-dot.active {
    opacity: 1;
    transform: scale(1.3);
  }

  @media (max-width: 768px) {
    .site-header.sticky {
      overflow: visible;
    }
    .site-header.sticky .header-logo { width: 36px; height: 36px; }
    .site-header.sticky .site-title { font-size: 1rem; }
    .site-header.sticky .tabs-nav {
      overflow-x: auto;
      flex-wrap: nowrap;
      scrollbar-width: none;
    }
    .site-header.sticky .tabs-nav::-webkit-scrollbar {
      display: none;
    }
    .site-header.sticky .tab-button {
      padding: 0.5rem 0.7rem;
      font-size: 0.58rem;
      white-space: nowrap;
      flex-shrink: 0;
    }
  }

  /* ===== VERY SMALL SCREENS ===== */
  @media (max-width: 480px) {
    .site-title { font-size: 1.3rem; }
    .site-subtitle { font-size: 0.95rem; }
    .header-logo {
      width: 130px;
      height: 130px;
    }
    .tab-button {
      padding: 0.6rem 0.75rem;
      font-size: 0.56rem;
    }
    .madre-headline { font-size: 1.3rem; }
    .section { padding: 1.5rem 0.8rem; }
    .product-grid {
      grid-template-columns: 1fr;
    }
    .espagiricos-list {
      grid-template-columns: 1fr;
    }
  }

  /* ===== LOGO LIGHTBOX ===== */
  .logo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    cursor: pointer;
  }
  .logo-lightbox.active {
    opacity: 1;
    visibility: visible;
  }
  .logo-lightbox img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(201,168,76,0.3);
    transform: scale(0.9);
    transition: transform 0.4s ease;
  }
  .logo-lightbox.active img {
    transform: scale(1);
  }
  .logo-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--gold-light);
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    transition: transform 0.3s ease;
  }
  .logo-lightbox-close:hover {
    transform: scale(1.2);
  }

  /* ===== MUSIC PLAYER ===== */
  .music-player {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .music-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gold-light);
    background: linear-gradient(145deg, rgba(26,18,8,0.95) 0%, rgba(44,31,14,0.95) 100%);
    color: var(--gold-light);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.35s ease;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.4), 0 0 12px rgba(201,168,76,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
  }
  .music-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.5), 0 0 20px rgba(201,168,76,0.3);
    border-color: var(--gold-pale);
  }
  .music-btn.playing {
    animation: musicPulse 2s ease-in-out infinite;
  }

  /* Sound wave bars inside button */
  .music-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 18px;
  }
  .music-bars span {
    display: block;
    width: 3px;
    background: var(--gold-light);
    border-radius: 1px;
    transition: height 0.15s ease;
  }
  .music-bars span:nth-child(1) { height: 6px; }
  .music-bars span:nth-child(2) { height: 12px; }
  .music-bars span:nth-child(3) { height: 8px; }
  .music-bars span:nth-child(4) { height: 14px; }
  .music-bars span:nth-child(5) { height: 5px; }

  .music-btn.playing .music-bars span {
    animation: barDance 0.8s ease-in-out infinite alternate;
  }
  .music-btn.playing .music-bars span:nth-child(1) { animation-delay: 0s; }
  .music-btn.playing .music-bars span:nth-child(2) { animation-delay: 0.15s; }
  .music-btn.playing .music-bars span:nth-child(3) { animation-delay: 0.3s; }
  .music-btn.playing .music-bars span:nth-child(4) { animation-delay: 0.1s; }
  .music-btn.playing .music-bars span:nth-child(5) { animation-delay: 0.25s; }

  .music-btn:not(.playing) .music-bars span {
    height: 3px !important;
    animation: none;
  }

  /* Volume panel */
  .music-volume-panel {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(145deg, rgba(26,18,8,0.95) 0%, rgba(44,31,14,0.95) 100%);
    border: 1px solid rgba(201,168,76,0.35);
    border-radius: 24px;
    padding: 6px 14px 6px 10px;
    margin-left: -6px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 0;
    overflow: hidden;
  }
  .music-player:hover .music-volume-panel,
  .music-player.panel-open .music-volume-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    max-width: 180px;
    padding: 6px 14px 6px 14px;
  }

  .music-vol-icon {
    font-size: 0.85rem;
    color: var(--gold-light);
    flex-shrink: 0;
    cursor: pointer;
    transition: color 0.2s;
  }
  .music-vol-icon:hover {
    color: var(--gold-pale);
  }

  .music-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 90px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold-light) 0%, rgba(201,168,76,0.25) 100%);
    outline: none;
    cursor: pointer;
  }
  .music-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold-light);
    border: 2px solid var(--gold-pale);
    box-shadow: 0 0 6px rgba(201,168,76,0.5);
    cursor: pointer;
    transition: transform 0.2s;
  }
  .music-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
  }
  .music-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold-light);
    border: 2px solid var(--gold-pale);
    box-shadow: 0 0 6px rgba(201,168,76,0.5);
    cursor: pointer;
  }

  @keyframes musicPulse {
    0%, 100% { box-shadow: 0 4px 18px rgba(0,0,0,0.4), 0 0 12px rgba(201,168,76,0.15); }
    50% { box-shadow: 0 4px 18px rgba(0,0,0,0.4), 0 0 25px rgba(201,168,76,0.35); }
  }

  @keyframes barDance {
    0% { height: 4px; }
    100% { height: 18px; }
  }

  @media (max-width: 768px) {
    .music-player {
      bottom: 1rem;
      left: 1rem;
      display: flex !important;
      visibility: visible !important;
      z-index: 99999 !important;
    }
    .music-btn {
      width: 42px;
      height: 42px;
    }
    .music-volume-slider {
      width: 70px;
    }
  }

@keyframes slideDownSticky {
  to { top: 0; }
}

/* ===== HEADER SEARCH WIDGET ===== */
.header-search-container {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 20px;
  padding: 0 10px;
  width: 220px;
  height: 38px;
  margin-left: 1rem;
  transition: all 0.3s ease;
  position: relative;
}
.header-search-container:focus-within {
  background: rgba(0,0,0,0.6);
  border-color: var(--gold-light);
  width: 260px;
}
.header-search-icon {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-right: 6px;
}
.header-search-input {
  background: transparent;
  border: none;
  color: var(--gold-pale);
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  width: 100%;
  outline: none;
}
.header-search-input::placeholder {
  color: rgba(245, 237, 214, 0.6);
}

.site-header.sticky .header-search-container {
  height: 32px;
  width: 180px;
  margin-left: 1rem;
  margin-top: 0.3rem;
}
.site-header.sticky .header-search-container:focus-within {
  width: 220px;
}

.header-search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: #fff8ee;
  border: 2px solid var(--gold-light);
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  text-align: left;
}

.no-results-msg {
  padding: 1rem;
  text-align: center;
  color: var(--ink-mid);
  font-style: italic;
  font-size: 0.95rem;
}

.floating-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.floating-results-list li {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: background-color 0.2s ease;
  cursor: pointer;
}
.floating-results-list li:hover {
  background-color: rgba(201,168,76,0.15);
}
.floating-results-list li:last-child {
  border-bottom: none;
}
.floating-results-list strong {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  display: block;
  font-size: 0.95rem;
}
.floating-results-list .parte {
  font-size: 0.75rem;
  color: var(--green-herb);
  font-style: italic;
  display: block;
  margin-bottom: 3px;
}
.floating-results-list .prop {
  font-size: 0.85rem;
  color: var(--ink-mid);
  display: block;
  line-height: 1.4;
}