/*
Theme Name: GenX Biotech V12 IQ200
Theme URI: https://genxbiotech.lat
Author: GenX Biotech
Description: Tema premium de lanzamiento para GenX Biotech, optimizado para móvil y WooCommerce.
Version: 12.1.0
Text Domain: genx-v12
*/

:root{
  --gx-green:#126f3c;
  --gx-green-dark:#0a4829;
  --gx-black:#070b09;
  --gx-ink:#111713;
  --gx-muted:#67716b;
  --gx-line:#e6ebe7;
  --gx-soft:#f7f9f7;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:#fff;
  color:var(--gx-ink);
  font-family:Arial,Helvetica,sans-serif;
}
a{color:inherit}
img{max-width:100%;height:auto}
.gx-wrap{width:min(1180px,calc(100% - 40px));margin:auto}

/* Top bar */
.gx-topbar{
  background:var(--gx-green);
  color:#fff;
  text-align:center;
  padding:11px 16px;
  font-size:14px;
  letter-spacing:.13em;
  text-transform:uppercase;
}

/* Header */
.gx-header{
  background:#fff;
  border-bottom:1px solid var(--gx-line);
  position:sticky;
  top:0;
  z-index:1000;
}
.gx-header-inner{
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.gx-brand{
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:10px;
}
.gx-logo-text{
  font-size:54px;
  font-weight:900;
  line-height:1;
  letter-spacing:-.08em;
}
.gx-logo-text .x{color:var(--gx-green)}
.gx-brand small{
  display:block;
  color:var(--gx-green);
  letter-spacing:.34em;
  font-weight:700;
  font-size:11px;
  margin-top:5px;
}
.gx-nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.gx-nav a{
  text-decoration:none;
  font-weight:700;
}
.gx-header-actions{
  display:flex;
  gap:10px;
  align-items:center;
}
.gx-circle{
  width:48px;height:48px;border:1px solid var(--gx-line);
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  text-decoration:none;font-size:21px;background:#fff;
}
.gx-menu-toggle{display:none}

/* Hero */
.gx-hero{
  background:#020604;
}
.gx-hero img{
  display:block;
  width:100%;
  max-height:760px;
  object-fit:cover;
  object-position:center;
}
.gx-hero-actions{
  width:min(1120px,calc(100% - 40px));
  margin:0 auto;
  padding:26px 0 34px;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:16px;
}
.gx-btn{
  min-height:58px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 28px;
  text-decoration:none;
  font-size:18px;
  font-weight:800;
  transition:.2s ease;
}
.gx-btn:hover{transform:translateY(-2px)}
.gx-btn-primary{background:var(--gx-green);color:#fff}
.gx-btn-primary:hover{background:var(--gx-green-dark)}
.gx-btn-outline{background:#fff;color:#111;border:1.5px solid #111}

/* Benefits */
.gx-benefits{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:34px 0;
  border-bottom:1px solid var(--gx-line);
}
.gx-benefit{
  text-align:center;
  padding:12px 22px;
  border-right:1px solid var(--gx-line);
}
.gx-benefit:last-child{border-right:0}
.gx-benefit-icon{
  width:48px;height:48px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 12px;background:#f2faf5;color:var(--gx-green);
  border:1px solid #d5e9dc;font-size:22px;font-weight:900;
}
.gx-benefit strong{display:block;margin-bottom:7px;font-size:16px}
.gx-benefit span{color:var(--gx-muted);font-size:13px;line-height:1.45}

/* Products */
.gx-products{padding:58px 0 72px}
.gx-section-head{
  display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px
}
.gx-eyebrow{
  color:var(--gx-green);font-size:12px;letter-spacing:.18em;font-weight:800;margin:0 0 8px
}
.gx-section-head h2{
  margin:0;font-size:clamp(32px,4vw,50px);line-height:1;letter-spacing:-.045em
}
.gx-section-head>a{color:var(--gx-green);font-weight:800;text-decoration:none}
.gx-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.gx-card{
  border:1px solid var(--gx-line);border-radius:22px;padding:16px;background:#fff;
  box-shadow:0 12px 38px rgba(16,37,25,.06);display:flex;flex-direction:column
}
.gx-card-image{
  display:block;overflow:hidden;border-radius:16px;background:var(--gx-soft);aspect-ratio:1/1
}
.gx-card-image img{width:100%;height:100%;object-fit:contain;display:block}
.gx-card h3{font-size:18px;line-height:1.25;margin:16px 0 7px}
.gx-card h3 a{text-decoration:none}
.gx-price{color:var(--gx-muted);margin-bottom:15px}
.gx-card-btn{
  margin-top:auto;min-height:44px;border:1px solid var(--gx-green);border-radius:12px;
  display:flex;align-items:center;justify-content:center;text-decoration:none;
  color:var(--gx-green);font-weight:800
}

/* Closing */
.gx-closing{
  background:linear-gradient(120deg,#030706,#0a2116);
  color:#fff;padding:48px 0
}
.gx-closing-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.gx-closing h2{font-size:clamp(30px,4vw,46px);margin:0 0 10px;letter-spacing:-.04em}
.gx-closing p{margin:0;color:#d4ded8}

/* Footer */
.gx-footer{background:#050806;color:#fff;padding:40px 0 28px}
.gx-footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:30px}
.gx-footer h3{margin-top:0}
.gx-footer a{text-decoration:none;color:#dce5df}
.gx-footer-bottom{margin-top:28px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);color:#aeb8b1;font-size:13px}

/* Generic content */
.gx-content{padding:50px 0}
.gx-content article{max-width:900px;margin:auto}
.woocommerce .button,.woocommerce button.button,.woocommerce a.button{
  background:var(--gx-green)!important;color:#fff!important;border-radius:999px!important
}

@media(max-width:900px){
  .gx-nav{display:none}
  .gx-menu-toggle{display:flex}
  .gx-benefits{grid-template-columns:repeat(2,1fr)}
  .gx-benefit:nth-child(2){border-right:0}
  .gx-benefit:nth-child(-n+2){border-bottom:1px solid var(--gx-line)}
  .gx-product-grid{grid-template-columns:repeat(2,1fr)}
  .gx-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .gx-wrap{width:calc(100% - 30px)}
  .gx-topbar{font-size:11px;padding:10px 8px}
  .gx-header-inner{min-height:88px}
  .gx-logo-text{font-size:42px}
  .gx-brand small{font-size:9px}
  .gx-circle{width:44px;height:44px}
  .gx-header-actions .gx-account{display:none}
  .gx-hero img{
    aspect-ratio:3/2;
    object-fit:cover;
    object-position:center;
  }
  .gx-hero-actions{
    width:calc(100% - 30px);
    grid-template-columns:1fr;
    gap:12px;
    padding:18px 0 24px;
  }
  .gx-btn{width:100%;min-height:56px}
  .gx-benefits{padding:18px 0}
  .gx-benefit{padding:16px 10px}
  .gx-benefit strong{font-size:14px}
  .gx-benefit span{font-size:12px}
  .gx-products{padding:42px 0 52px}
  .gx-section-head{align-items:center}
  .gx-section-head h2{font-size:30px}
  .gx-product-grid{
    display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
    gap:14px;padding-bottom:8px;margin-right:-15px
  }
  .gx-card{min-width:78%;scroll-snap-align:start}
  .gx-closing-inner{display:block;text-align:center}
  .gx-closing .gx-btn{margin-top:22px}
  .gx-footer-grid{grid-template-columns:1fr}
}


/* V12.1 — official logo + WhatsApp top bar */
.gx-topbar{
  padding:0;
  letter-spacing:normal;
  text-transform:none;
}
.gx-topbar-inner{
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.gx-topbar-message{
  font-size:13px;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.gx-topbar-whatsapp{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff!important;
  text-decoration:none!important;
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
}
.gx-wa-badge{
  width:28px;
  height:28px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:var(--gx-green);
  font-size:16px;
  font-weight:900;
}
.gx-brand-logo{
  width:92px;
  height:92px;
  object-fit:contain;
  display:block;
  border-radius:50%;
}
.gx-brand{
  min-width:96px;
}
.gx-logo-text,
.gx-brand small{
  display:none!important;
}
@media(max-width:600px){
  .gx-topbar-inner{
    min-height:54px;
    gap:8px;
  }
  .gx-topbar-message{
    font-size:10px;
    line-height:1.35;
    letter-spacing:.09em;
    max-width:70%;
  }
  .gx-topbar-whatsapp{
    font-size:12px;
  }
  .gx-wa-badge{
    width:26px;
    height:26px;
  }
  .gx-brand-logo{
    width:76px;
    height:76px;
  }
  .gx-brand{
    min-width:78px;
  }
}
