:root{
    --navy-950:#070d18;
    --navy-900:#0a1628;
    --navy-800:#0f2138;
    --navy-700:#16314f;
    --gold-500:#C9A24A;
    --gold-400:#dab866;
    --gold-300:#f0cf7a;
    --cream:#f7f5f0;
    --ink:#141a22;
    --ink-soft:#5a6472;
    --green:#3ea855;
    --line: rgba(255,255,255,0.1);
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--cream);
    color:var(--ink);
    font-family:'Montserrat',sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.display{
    font-family:'Bebas Neue',sans-serif;
    letter-spacing:0.03em;
    line-height:1;
    margin:0;
  }
  a{color:inherit;text-decoration:none;}
  img{max-width:100%;display:block;}
  button{font-family:inherit;cursor:pointer;}
  ul{margin:0;padding:0;list-style:none;}
  .visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
  :focus-visible{outline:2px solid var(--gold-300);outline-offset:2px;}

  .wrap{max-width:1280px;margin:0 auto;padding:0 24px;}

  /* ============ EQ BARS — signature element ============ */
  .eq{display:inline-flex;align-items:flex-end;gap:3px;height:14px;}
  .eq span{
    width:3px;border-radius:1px;
    background:linear-gradient(180deg,var(--gold-300),var(--gold-500));
    animation:eqpulse 1.1s ease-in-out infinite;
  }
  .eq span:nth-child(1){height:40%;animation-delay:-0.9s;}
  .eq span:nth-child(2){height:100%;animation-delay:-0.6s;}
  .eq span:nth-child(3){height:65%;animation-delay:-0.3s;}
  .eq span:nth-child(4){height:85%;animation-delay:-1.1s;}
  .eq span:nth-child(5){height:50%;animation-delay:-0.45s;}
  @keyframes eqpulse{
    0%,100%{transform:scaleY(0.4);}
    50%{transform:scaleY(1);}
  }
  @media (prefers-reduced-motion: reduce){
    .eq span{animation:none;}
  }

  /* ============ HEADER — entrance animation on load ============ */
  @keyframes headerDrop{
    from{opacity:0;transform:translateY(-18px);}
    to{opacity:1;transform:none;}
  }
  .topbar,.site-header{
    opacity:0;
    animation:headerDrop .7s cubic-bezier(.16,.84,.44,1) forwards;
  }
  .topbar{animation-delay:0s;}
  .site-header{animation-delay:.12s;}
  @media (prefers-reduced-motion: reduce){
    .topbar,.site-header{opacity:1;animation:none;}
  }

  /* ============ TOP UTILITY BAR ============ */
  .topbar{
    background:var(--navy-950);
    color:#c7cedb;
    font-size:12.5px;
    border-bottom:1px solid var(--line);
  }
  .topbar .wrap{
    display:flex;justify-content:space-between;align-items:center;
    height:38px;
    gap:20px;
  }
  .topbar-left, .topbar-right{display:flex;align-items:center;gap:18px;}
  .topbar a{opacity:0.85;transition:opacity .15s, color .15s;}
  .topbar a:hover{opacity:1;color:var(--gold-300);}
  .topbar-branch{display:flex;gap:6px;align-items:baseline;}
  .topbar-branch b{color:var(--gold-400);font-weight:600;}
  .whatsapp{display:flex;align-items:center;gap:6px;color:#8fe3a1;font-weight:600;}
  .topbar-social{display:flex;gap:12px;}
  .topbar-social svg{width:14px;height:14px;opacity:0.8;}
  .topbar-social a:hover svg{opacity:1;}
  @media (max-width:900px){
    .topbar-branch{display:none;}
  }
  @media (max-width:640px){
    .topbar .wrap{font-size:11px;height:34px;}
    .topbar-social{display:none;}
  }

  /* ============ DEMO PAGE CONTENT (context only) ============ */
  .hero{
    background:
      radial-gradient(circle at 15% 20%, rgba(201,162,74,0.18), transparent 45%),
      linear-gradient(135deg, var(--navy-950), var(--navy-800) 70%);
    color:#fff;
    padding:88px 24px 96px;
    position:relative;
    overflow:hidden;
  }
  .hero-eyebrow{
    display:flex;align-items:center;gap:10px;
    color:var(--gold-300);font-size:12px;font-weight:700;letter-spacing:0.12em;
    text-transform:uppercase;margin-bottom:18px;
  }
  .hero h1{
    font-size:clamp(38px,6vw,72px);
    max-width:820px;
    color:#fff;
  }
  .hero h1 em{
    font-style:normal;
    background:linear-gradient(180deg,var(--gold-300),var(--gold-500));
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
  .hero p{
    max-width:520px;margin-top:20px;
    color:#c7cedb;font-size:15.5px;line-height:1.7;
  }
  .hero-ctas{display:flex;gap:14px;margin-top:34px;flex-wrap:wrap;}
  .btn{
    padding:14px 26px;border-radius:4px;font-weight:700;font-size:13.5px;
    letter-spacing:0.03em;text-transform:uppercase;border:2px solid transparent;
    transition:transform .3s cubic-bezier(.16,.84,.44,1), background .25s, color .25s, box-shadow .3s;
    display:inline-block;
  }
  .btn:hover{transform:translateY(-3px);}
  .btn-gold{background:var(--gold-500);color:var(--navy-950);}
  .btn-gold:hover{background:var(--gold-300);box-shadow:0 12px 24px rgba(201,162,74,0.35);}
  .btn-outline{border-color:rgba(255,255,255,0.35);color:#fff;}
  .btn-outline:hover{border-color:var(--gold-400);color:var(--gold-300);}

  /* ============ SCROLL-REVEAL (smooth, staggered) ============ */
  .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1);
    transition-delay:var(--delay,0s);
  }
  .reveal.is-visible{opacity:1;transform:none;}
  @media (prefers-reduced-motion: reduce){
    .reveal{opacity:1;transform:none;transition:none;}
  }

  /* ============ HERO ENTRANCE (plays once on load) ============ */
  @keyframes heroIn{
    from{opacity:0;transform:translateY(22px);}
    to{opacity:1;transform:none;}
  }
  .hero-eyebrow,.hero h1,.hero p,.hero-ctas{
    opacity:0;
    animation:heroIn .9s cubic-bezier(.16,.84,.44,1) forwards;
  }
  .hero-eyebrow{animation-delay:.1s;}
  .hero h1{animation-delay:.25s;}
  .hero p{animation-delay:.45s;}
  .hero-ctas{animation-delay:.6s;}
  @media (prefers-reduced-motion: reduce){
    .hero-eyebrow,.hero h1,.hero p,.hero-ctas{opacity:1;animation:none;}
  }

  /* ============ BRAND STRIP — smooth infinite marquee ============ */
  .brand-strip{
    background:var(--navy-800);
    padding:22px 0;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    overflow:hidden;
  }
  .brand-track{
    display:flex;width:max-content;
    animation:marquee 26s linear infinite;
  }
  .brand-track:hover{animation-play-state:paused;}
  .brand-track-inner{
    display:flex;align-items:center;gap:44px;padding-right:44px;
    color:#8b95a5;font-weight:700;letter-spacing:0.08em;font-size:13px;
    text-transform:uppercase;flex-shrink:0;
  }
  .brand-track-inner span{transition:color .2s, opacity .2s;opacity:0.75;}
  .brand-track-inner span:hover{opacity:1;color:var(--gold-300);}
  @keyframes marquee{
    from{transform:translateX(0);}
    to{transform:translateX(-50%);}
  }
  @media (prefers-reduced-motion: reduce){
    .brand-track{animation:none;}
  }

  /* ============ SECTION HEADER ============ */
  .section{padding:76px 24px;}
  .section-head{
    display:flex;justify-content:space-between;align-items:flex-end;
    margin-bottom:36px;flex-wrap:wrap;gap:16px;
  }
  .section-eyebrow{
    display:flex;align-items:center;gap:10px;
    color:var(--gold-500);font-size:11.5px;font-weight:800;letter-spacing:0.12em;
    text-transform:uppercase;margin-bottom:10px;
  }
  .section-head h2{font-size:34px;color:var(--navy-900);}
  .section-link{
    font-size:13px;font-weight:700;color:var(--navy-900);
    border-bottom:2px solid var(--gold-500);padding-bottom:2px;
    transition:color .2s, border-color .2s;
  }
  .section-link:hover{color:var(--gold-500);}

  /* ============ CATEGORY CARDS ============ */
  .cat-grid{
    display:grid;grid-template-columns:repeat(4,1fr);gap:20px;
  }
  .cat-card{
    position:relative;border-radius:10px;overflow:hidden;aspect-ratio:4/3.1;
    background:linear-gradient(155deg,var(--navy-800),var(--navy-950));
    display:flex;flex-direction:column;justify-content:flex-end;padding:22px;
    transition:transform .4s cubic-bezier(.16,.84,.44,1), box-shadow .4s;
  }
  .cat-card:hover{transform:translateY(-6px);box-shadow:0 20px 34px rgba(10,22,40,0.22);}
  .cat-card .cat-icon{
    position:absolute;top:18px;right:18px;width:40px;height:40px;
    stroke:var(--gold-400);opacity:0.55;
    transition:transform .4s cubic-bezier(.16,.84,.44,1), opacity .4s;
  }
  .cat-card:hover .cat-icon{transform:scale(1.18) rotate(6deg);opacity:0.9;}
  .cat-card h4{color:#fff;font-size:22px;letter-spacing:0.03em;}
  .cat-card .cat-count{color:var(--gold-300);font-size:11.5px;font-weight:700;margin-top:4px;letter-spacing:0.03em;}
  @media (max-width:900px){.cat-grid{grid-template-columns:repeat(2,1fr);}}

  /* ============ PRODUCT GRID — WooCommerce shortcode-ready ============
     Estas reglas apuntan directo a las clases que WooCommerce genera
     ([products], [best_selling_products], [recent_products], etc.)
     para que al pegar el shortcode real, el estilo ya aplique solo. */
  .woocommerce ul.products,
  .woocommerce-page ul.products{
    display:grid;grid-template-columns:repeat(4,1fr);gap:22px;
    margin:0;padding:0;list-style:none;
  }
  .woocommerce ul.products li.product{
    position:relative;list-style:none;text-align:center;
    background:#fff;border-radius:8px;overflow:hidden;
    box-shadow:0 1px 3px rgba(10,22,40,0.08);
    transition:transform .35s cubic-bezier(.16,.84,.44,1), box-shadow .35s;
  }
  .woocommerce ul.products li.product:hover{
    transform:translateY(-6px);box-shadow:0 20px 32px rgba(10,22,40,0.14);
  }
  .woocommerce ul.products li.product a.woocommerce-loop-product__link{
    display:block;color:inherit;
  }
  .woocommerce ul.products li.product img{
    width:100%;aspect-ratio:1;object-fit:cover;display:block;
    transition:transform .5s cubic-bezier(.16,.84,.44,1);
  }
  .woocommerce ul.products li.product:hover img{transform:scale(1.06);}

  /* Badge "Oferta" — WooCommerce lo imprime como <span class="onsale"> */
  .woocommerce span.onsale{
    position:absolute;top:10px;left:10px;z-index:2;
    background:var(--green);color:#fff;
    min-height:0;min-width:0;border-radius:3px;
    font-size:9.5px;font-weight:800;padding:4px 8px;line-height:1;
    letter-spacing:0.05em;text-transform:uppercase;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title{
    font-family:'Montserrat',sans-serif;
    font-size:13.5px;font-weight:600;color:var(--ink);
    margin:16px 16px 8px;line-height:1.4;
  }

  /* Estrellas — mismo truco de "porcentaje" que usa WooCommerce (star-rating > span[style=width]) */
  .woocommerce .star-rating{
    overflow:hidden;position:relative;
    height:1em;line-height:1;font-size:14px;
    width:5.4em;letter-spacing:2px;margin:0 auto 10px;
  }
  .woocommerce .star-rating::before{
    content:"★★★★★";color:#e3e0d8;position:absolute;top:0;left:0;
  }
  .woocommerce .star-rating span{
    overflow:hidden;position:absolute;top:0;left:0;height:100%;
  }
  .woocommerce .star-rating span::before{
    content:"★★★★★";color:var(--gold-500);position:absolute;top:0;left:0;
  }

  .woocommerce ul.products li.product .price{
    display:block;margin-bottom:12px;font-weight:800;color:var(--navy-900);font-size:16.5px;
  }
  .woocommerce ul.products li.product .price del{
    color:#a5adb8;font-weight:500;font-size:12px;margin-right:6px;text-decoration:line-through;
  }
  .woocommerce ul.products li.product .price ins{text-decoration:none;}

  /* Botón "Añadir al carrito" — WooCommerce lo imprime como .button.add_to_cart_button */
  .woocommerce ul.products li.product a.button{
    display:block;margin:0 16px 18px;padding:11px;
    background:var(--navy-900);color:#fff;border-radius:4px;
    font-weight:700;font-size:11.5px;letter-spacing:0.05em;text-transform:uppercase;
    transition:background .25s, transform .2s;
  }
  .woocommerce ul.products li.product a.button:hover{
    background:var(--gold-500);color:var(--navy-950);transform:translateY(-2px);
  }
  .woocommerce ul.products li.product .added_to_cart{display:none;}

  @media (max-width:1080px){
    .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,1fr);}
  }
  @media (max-width:700px){
    .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,1fr);}
    .cat-grid{grid-template-columns:repeat(2,1fr);}
  }

  /* ============ PROMO BANNER ============ */
  .promo-banner{
    background:linear-gradient(120deg,var(--navy-950) 0%, var(--navy-800) 55%, #1c3452 100%);
    border-radius:12px;padding:48px;
    display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;
    position:relative;overflow:hidden;
  }
  .promo-banner::before{
    content:"";position:absolute;inset:0;
    background:radial-gradient(circle at 85% 20%, rgba(201,162,74,0.22), transparent 55%);
  }
  .promo-banner > *{position:relative;z-index:1;}
  .promo-banner h3{color:#fff;font-size:30px;max-width:460px;}
  .promo-banner h3 span{color:var(--gold-400);}
  .promo-banner p{color:#b7c0cf;font-size:13.5px;margin-top:8px;max-width:420px;line-height:1.7;}

  