:root{
  --bg:#07121f;
  --panel:#0d1b2a;
  --panel-2:#102438;
  --line:rgba(148,163,184,.18);
  --text:#e5eef8;
  --muted:#98abc1;
  --accent:#22c55e;
  --accent-2:#16a34a;
  --badge:#3a2317;
  --white:#ffffff;
  --shadow:0 22px 60px rgba(2,6,23,.35);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at left top, rgba(22,163,74,.18), transparent 30%),
    radial-gradient(circle at right top, rgba(14,165,233,.14), transparent 26%),
    linear-gradient(180deg, #07121f 0%, #08101b 100%);
  color:var(--text);
}
body.has-modal-open{overflow:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.topbar{
  position:sticky;top:0;z-index:50;
  display:flex;justify-content:space-between;align-items:center;gap:18px;
  padding:14px 22px;
  backdrop-filter:blur(12px);
  background:rgba(7,18,31,.72);
  border-bottom:1px solid var(--line);
}
.brand-wrap{display:flex;flex-direction:column;gap:10px}
.brand{display:flex;align-items:center;gap:12px}
.brand-badge{
  width:42px;height:42px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg, rgba(34,197,94,.25), rgba(14,165,233,.25));
  border:1px solid rgba(255,255,255,.08);
  font-weight:900;color:#fff;
}
.brand strong{display:block;font-size:20px;line-height:1.1}
.brand small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.top-actions{display:flex;align-items:center;gap:12px}
.search-box{
  min-width:320px;display:flex;align-items:center;gap:10px;
  padding:0 14px;height:46px;border-radius:999px;border:1px solid var(--line);
  background:rgba(255,255,255,.05);
}
.search-box svg{width:18px;height:18px;color:var(--muted);flex:0 0 auto}
.search-box input{
  width:100%;height:100%;border:0;outline:none;background:transparent;color:var(--white);font-size:14px;
}
.search-box input::placeholder{color:#91a3ba}
.mobile-search-sticky{
  position:fixed;top:10px;left:12px;right:12px;z-index:55;
  opacity:0;pointer-events:none;transform:translateY(-10px);transition:all .22s ease;
}
.mobile-search-sticky.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}
.mobile-search-sticky .search-box{min-width:0;width:100%;backdrop-filter:blur(12px);background:rgba(7,18,31,.92)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:42px;padding:0 16px;border-radius:999px;border:1px solid transparent;font-weight:800;cursor:pointer;
}
.btn-whatsapp{background:linear-gradient(135deg, var(--accent), var(--accent-2));color:#052e16}
.btn-whatsapp-soft{background:linear-gradient(135deg, rgba(34,197,94,.22), rgba(22,163,74,.32));border-color:rgba(34,197,94,.25);color:#dcfce7}
.btn-link{background:rgba(255,255,255,.06);border-color:var(--line);color:var(--white)}
.btn-detail{background:rgba(255,255,255,.08);border-color:var(--line);color:#f8fbff}

.page-wrap{max-width:1480px;margin:0 auto;padding:22px 20px 80px}
.hero{display:block}
.hero-carousel{
  position:relative;overflow:hidden;min-height:360px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);
}
.carousel-track{position:relative;height:100%}
.carousel-slide{position:absolute;inset:0;opacity:0;transition:opacity .35s ease;pointer-events:none}
.carousel-slide.is-active{opacity:1;pointer-events:auto}
.carousel-slide a{display:block;height:100%;position:relative}
.carousel-slide img{width:100%;height:100%;object-fit:cover}
.carousel-caption{
  position:absolute;left:18px;right:18px;bottom:18px;
  padding:18px;border-radius:22px;background:linear-gradient(180deg, rgba(7,18,31,.08), rgba(7,18,31,.82));
  backdrop-filter:blur(6px);
}
.carousel-caption span{display:inline-block;font-size:12px;font-weight:900;color:#bbf7d0;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}
.carousel-caption h2{margin:0;font-size:34px;line-height:1.05}
.carousel-caption p{margin:8px 0 0;color:#d7e2ee}
.carousel-nav{
  position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:999px;border:1px solid rgba(255,255,255,.18);
  background:rgba(7,18,31,.55);color:#fff;cursor:pointer;font-size:30px;line-height:1;
}
.carousel-nav.prev{left:12px}.carousel-nav.next{right:12px}

.section-pills{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 10px}
.section-pills a{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--line);font-weight:800;color:#d8e6f4}
.section-pills span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:999px;background:rgba(34,197,94,.16);color:#bbf7d0;font-size:12px}

.catalog-section{margin-top:28px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:14px}
.section-head h2{margin:0;font-size:28px}
.section-head p{margin:6px 0 0;color:var(--muted)}
.section-anchor{font-size:13px;font-weight:800;color:#93c5fd}

.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.flyer-card{position:relative}
.card-link-layer{position:absolute;inset:0;z-index:1}
.card-type{
  position:absolute;top:12px;left:12px;z-index:3;
  padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.88);color:#0f172a;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;
}
.card-frame{
  border:3px solid var(--accent);border-radius:24px;overflow:hidden;
  background:linear-gradient(180deg, #0e1827 0%, #0b1623 100%);
  box-shadow:var(--shadow);
}
.card-image{height:248px;background:#0b1521;display:flex;align-items:center;justify-content:center}
.card-image img{width:100%;height:100%;object-fit:cover}
.card-noimage{color:var(--muted);font-weight:800}
.card-content{padding:14px 14px 16px}
.card-content h3{margin:0;font-size:20px;line-height:1.08;text-transform:uppercase;min-height:44px}
.card-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.chip{
  display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;border:1px solid var(--line);
  background:rgba(255,255,255,.04);font-size:12px;font-weight:800;color:#e2ebf5;
}
.muted{color:var(--muted)}
.card-attrs{margin-top:12px;display:grid;gap:6px;min-height:72px}
.attr-line{color:#d8e4f1;font-size:13px;line-height:1.35}
.card-desc{margin:12px 0 0;color:#abc0d5;font-size:13px;line-height:1.45;min-height:38px}
.price-badge{
  position:absolute;top:12px;right:12px;z-index:3;
  width:92px;height:92px;border-radius:24px;background:var(--badge);color:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:8px;
  box-shadow:0 12px 28px rgba(0,0,0,.22);
}
.price-badge .value{font-size:18px;font-weight:1000;line-height:1.05}
.price-badge .sub{margin-top:4px;font-size:11px;font-weight:800;opacity:.94}
.card-actions{display:flex;gap:10px;margin-top:12px;position:relative;z-index:2}
.card-actions .btn{flex:1}

/* ---------- Intro del catálogo ---------- */
.catalog-intro{margin:6px 0 22px;max-width:960px}
.catalog-intro h1{margin:0;font-size:32px;line-height:1.12}
.catalog-intro p{margin:12px 0 0;color:#c4d4e6;line-height:1.6}
.catalog-intro a{color:#86efac;text-decoration:underline}
.catalog-intro-coverage{color:var(--muted);font-size:14px}
.section-head h2 a{text-decoration:none}
.section-head p a{color:#93c5fd;text-decoration:underline}
.section-pills a.is-current{background:rgba(34,197,94,.18);border-color:rgba(34,197,94,.35);color:#dcfce7}

/* ---------- Migas de pan ---------- */
.breadcrumbs{margin:4px 0 16px}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;font-size:13px;color:var(--muted)}
.breadcrumbs li+li::before{content:"›";margin-right:6px;color:var(--muted)}
.breadcrumbs a{color:#93c5fd}
.breadcrumbs a:hover{text-decoration:underline}

/* ---------- Ficha de producto ---------- */
.product-sheet{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:0;
  background:#0c1725;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:var(--shadow);
}
.sheet-media{background:#08101a;min-height:420px;display:flex;align-items:center;justify-content:center}
.sheet-media img{width:100%;height:100%;max-height:560px;object-fit:cover}
.sheet-body{padding:30px}
.sheet-type{
  display:inline-block;padding:7px 12px;border-radius:999px;background:rgba(34,197,94,.16);
  border:1px solid rgba(34,197,94,.25);color:#bbf7d0;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;
}
.sheet-body h1{margin:14px 0 0;font-size:36px;line-height:1.04;text-transform:uppercase}
.sheet-scientific{margin:6px 0 0;color:var(--muted);font-size:16px}
.sheet-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.chip-ok{background:rgba(34,197,94,.16);border-color:rgba(34,197,94,.3);color:#bbf7d0}
.chip-off{background:rgba(251,191,36,.14);border-color:rgba(251,191,36,.28);color:#fde68a}
.sheet-prices{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.sheet-prices>div{flex:1 1 160px;padding:12px 14px;border-radius:18px;border:1px solid var(--line);background:rgba(255,255,255,.04)}
.sheet-prices .label{display:block;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.sheet-prices strong{display:block;margin-top:4px;font-size:24px}
.sheet-prices .price-main{background:linear-gradient(135deg, rgba(34,197,94,.18), rgba(22,163,74,.12));border-color:rgba(34,197,94,.28)}
.sheet-attrs{width:100%;margin-top:18px;border-collapse:collapse;font-size:14px}
.sheet-attrs th,.sheet-attrs td{padding:9px 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.sheet-attrs th{width:40%;color:var(--muted);font-weight:800}
.sheet-attrs td{color:#dbe7f4}
.sheet-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.sheet-visit-hint{margin:14px 0 0;color:var(--muted);font-size:13px;line-height:1.5}

.sheet-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:26px}
.sheet-info>div{padding:24px;border-radius:24px;border:1px solid var(--line);background:rgba(255,255,255,.03)}
.sheet-info h2{margin:0 0 12px;font-size:22px}
.sheet-info h3{margin:20px 0 8px;font-size:16px;color:#bbf7d0}
.sheet-info p{margin:0 0 12px;color:#c4d4e6;line-height:1.6}
.sheet-info a{color:#86efac;text-decoration:underline}
.tips-list,.buy-steps{margin:0;padding-left:20px;color:#c4d4e6;line-height:1.6}
.tips-list li,.buy-steps li{margin-bottom:8px}
.muted-note{color:var(--muted);font-size:13px}

/* ---------- Bloque "ven al vivero" ---------- */
.visit-block{
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;margin-top:30px;padding:28px;
  border-radius:26px;border:1px solid rgba(34,197,94,.28);
  background:linear-gradient(135deg, rgba(34,197,94,.12), rgba(13,27,42,.9));
}
.visit-block h2{margin:0 0 10px;font-size:26px}
.visit-block h3{margin:18px 0 6px;font-size:16px;color:#bbf7d0}
.visit-block h3:first-child{margin-top:0}
.visit-block p{margin:0;color:#cfdded;line-height:1.6}
.visit-lead{margin-bottom:16px!important}
.visit-data{display:grid;gap:12px;margin:0 0 18px}
.visit-data dt{font-size:12px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.visit-data dd{margin:2px 0 0;font-size:16px;color:#eaf3fb}
.visit-data a{color:#86efac}
.visit-actions{display:flex;flex-wrap:wrap;gap:10px}
.visit-areas p{margin-bottom:10px}

/* ---------- Relacionados ---------- */
.related{margin-top:32px}
.related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.related-card{
  display:flex;flex-direction:column;gap:6px;padding:10px;border-radius:18px;
  border:1px solid var(--line);background:rgba(255,255,255,.04);
}
.related-card img{width:100%;height:150px;object-fit:cover;border-radius:12px}
.related-noimage{display:flex;align-items:center;justify-content:center;height:150px;border-radius:12px;background:#0b1521;color:var(--muted);font-size:13px;font-weight:800}
.related-name{font-weight:800;font-size:14px;line-height:1.2}
.related-price{color:#bbf7d0;font-size:13px;font-weight:800}

/* ---------- Categoría y estados ---------- */
.category-head{margin:6px 0 20px;max-width:960px}
.category-head h1{margin:0;font-size:32px;line-height:1.12}
.category-head p{margin:12px 0 0;color:#c4d4e6;line-height:1.6}
.category-coverage{color:var(--muted);font-size:14px}
.empty-state{padding:40px 0;max-width:640px}
.empty-state h1{margin:0 0 12px;font-size:30px}
.empty-state p{color:#c4d4e6;line-height:1.6}

/* ---------- Burbuja de WhatsApp ---------- */
.wa-float{
  position:fixed;z-index:90;
  right:max(18px, env(safe-area-inset-right));
  bottom:calc(18px + env(safe-area-inset-bottom));
  display:inline-flex;align-items:center;gap:10px;
  height:56px;padding:0 20px 0 16px;border-radius:999px;
  background:linear-gradient(135deg,#25d366,#0f9d58);
  color:#04260f;font-weight:900;font-size:15px;
  box-shadow:0 14px 34px rgba(2,6,23,.45);
  border:1px solid rgba(255,255,255,.22);
  transition:transform .18s ease, box-shadow .18s ease;
}
.wa-float svg{width:26px;height:26px;flex:0 0 auto}
.wa-float:hover,.wa-float:focus-visible{transform:translateY(-2px);box-shadow:0 18px 40px rgba(2,6,23,.55)}
.wa-float:focus-visible{outline:3px solid #bbf7d0;outline-offset:3px}
@media (prefers-reduced-motion: reduce){.wa-float{transition:none}.wa-float:hover{transform:none}}

/* ---------- Pie ---------- */
.site-footer{border-top:1px solid var(--line);background:rgba(7,18,31,.72);padding:34px 20px 26px;margin-top:40px}
.footer-grid{max-width:1480px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.site-footer h2{margin:0 0 10px;font-size:17px}
.footer-nap{margin:0 0 10px;color:#c4d4e6;font-size:14px;line-height:1.6}
.footer-nap a,.footer-social a{color:#86efac}
.footer-social a{margin-right:12px;font-weight:800;font-size:14px}
.footer-links{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.footer-links a{color:#cfdded;font-size:14px}
.footer-links a:hover{color:#86efac}
.footer-legal{max-width:1480px;margin:24px auto 0;color:var(--muted);font-size:12px}

@media (max-width: 1280px){
  .related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width: 980px){
  .topbar{padding:14px 16px;gap:12px}
  .search-box--desktop{display:none}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-sheet{grid-template-columns:1fr}
  .sheet-media{min-height:280px}
  .sheet-media img{max-height:380px}
  .sheet-body{padding:22px}
  .sheet-info{grid-template-columns:1fr}
  .visit-block{grid-template-columns:1fr;padding:22px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .page-wrap{padding-top:14px}
}
@media (max-width: 900px){
  .topbar{justify-content:space-between;align-items:center}
  .brand strong{font-size:16px}
  .brand small{font-size:11px}
  .brand-badge{width:34px;height:34px;border-radius:12px}
  .top-actions{gap:10px}
  .btn-whatsapp{min-height:38px;padding:0 14px}
  .hero-carousel{min-height:240px;border-radius:24px}
  .carousel-caption{left:12px;right:12px;bottom:12px;padding:14px}
  .carousel-caption h2{font-size:22px}
  .section-pills{gap:8px}
  .section-pills a{padding:9px 12px;font-size:14px}
}
@media (max-width: 900px){
  .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 680px){
  .page-wrap{padding:16px 14px 64px}
  .catalog-grid{grid-template-columns:1fr}
  .card-image{height:220px}
  .price-badge{width:84px;height:84px}
  .card-content h3{font-size:20px;min-height:0}
  .card-attrs,.card-desc{min-height:0}
  .section-head{align-items:flex-start;flex-direction:column}
  .catalog-intro h1,.category-head h1{font-size:26px}
  .sheet-body h1{font-size:28px}
  .sheet-actions .btn{flex:1 1 100%}
  .footer-grid{grid-template-columns:1fr}
  /* En móvil la burbuja queda circular para no tapar contenido */
  .wa-float{width:58px;height:58px;padding:0;justify-content:center;right:14px;bottom:calc(14px + env(safe-area-inset-bottom))}
  .wa-float span{display:none}
  .site-footer{padding-bottom:92px}
}
