/* 
============================================================
CATÁLOGO VITAL BUEN SABOR
Diseño visual. Si querés cambiar productos, editá datos.js
============================================================
*/
:root{
  --green:#345329;
  --green-2:#587B3F;
  --green-soft:#EAF2E2;
  --cream:#FFF8EB;
  --cream-2:#F6EEDB;
  --brown:#3E2D20;
  --brown-2:#4D3527;
  --muted:#75685A;
  --line:#E6DCC6;
  --white:#fff;
  --shadow:0 18px 40px rgba(52,83,41,.13);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--brown);
  background:
    radial-gradient(circle at 8% 0%, rgba(234,242,226,.95) 0 180px, transparent 181px),
    radial-gradient(circle at 95% 6%, rgba(246,238,219,.95) 0 240px, transparent 241px),
    linear-gradient(180deg,#fffdf7 0%,#fff8eb 100%);
}
img{max-width:100%}
button,input{font:inherit}
.wrap{width:min(1180px, calc(100% - 30px));margin:0 auto}
.top-strip{
  background:#252827;
  color:#fff;
  font-size:13px;
}
.top-strip-inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  padding:10px 0;
}
.top-strip a{color:#fff;text-decoration:none;font-weight:700}
.hero{
  padding:26px 0 18px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:stretch;
}
.hero-copy,.hero-card,.tools,.note-box,.category-hero,.product-card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(88,123,63,.12);
  box-shadow:var(--shadow);
}
.hero-copy{
  border-radius:34px;
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.logo{
  width:210px;
  max-width:80%;
  background:#fff;
  border-radius:20px;
  padding:10px 14px;
  box-shadow:0 10px 24px rgba(62,45,32,.08);
  margin-bottom:18px;
}
.eyebrow{
  display:inline-flex;
  width:max-content;
  background:var(--green-soft);
  color:var(--green);
  border-radius:999px;
  padding:9px 14px;
  font-weight:800;
  font-size:13px;
  margin-bottom:14px;
}
h1{
  margin:0 0 14px;
  font-size:clamp(38px,5vw,68px);
  letter-spacing:-2px;
  line-height:.93;
  color:var(--green);
}
.hero-copy p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.55;
  max-width:720px;
}
.hero-actions{
  margin-top:24px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:13px 18px;
  border-radius:16px;
  text-decoration:none;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
}
.btn.primary{
  background:var(--green);
  color:#fff;
  box-shadow:0 12px 26px rgba(52,83,41,.20);
}
.btn.secondary{
  background:#fff;
  color:var(--green);
  border-color:rgba(88,123,63,.18);
}
.hero-card{
  border-radius:34px;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.hero-card-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}
.hero-card-top span{
  color:var(--green);
  font-weight:900;
}
.hero-card-top strong{
  color:var(--brown);
  background:var(--cream);
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
}
.hero-card p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
  font-size:14px;
}
.hero-images{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.hero-images img{
  width:100%;
  aspect-ratio:1/1.05;
  object-fit:cover;
  border-radius:24px;
  border:1px solid rgba(88,123,63,.10);
  background:#fff;
}
.tools{
  border-radius:30px;
  padding:24px;
  margin:12px 0 28px;
}
.section-title{
  margin-bottom:18px;
}
.section-title small{
  display:block;
  color:var(--green-2);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.9px;
  margin-bottom:6px;
}
.section-title h2{
  margin:0;
  font-size:clamp(26px,3vw,38px);
  line-height:1.02;
  letter-spacing:-1px;
}
.search-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  margin-bottom:16px;
}
.search-row input{
  width:100%;
  border:1px solid rgba(88,123,63,.18);
  border-radius:18px;
  min-height:52px;
  padding:0 18px;
  outline:none;
  color:var(--brown);
  background:#fff;
}
.search-row input:focus{
  border-color:var(--green-2);
  box-shadow:0 0 0 4px rgba(88,123,63,.08);
}
.search-row button{
  border:none;
  background:var(--brown);
  color:#fff;
  border-radius:18px;
  padding:0 18px;
  cursor:pointer;
}
.category-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chip{
  border:1px solid rgba(88,123,63,.16);
  background:#fff;
  color:var(--green);
  border-radius:999px;
  padding:11px 15px;
  font-weight:900;
  cursor:pointer;
}
.chip span{
  display:inline-flex;
  background:var(--cream);
  border-radius:999px;
  padding:2px 7px;
  margin-left:4px;
  font-size:12px;
}
.chip.active{
  background:var(--green);
  color:#fff;
}
.chip.active span{
  background:rgba(255,255,255,.18);
}
.category-section{
  margin:30px 0 42px;
}
.category-hero{
  border-radius:var(--radius);
  padding:24px;
  display:grid;
  grid-template-columns:1fr 280px;
  gap:20px;
  align-items:center;
  overflow:hidden;
}
.category-hero small{
  display:inline-flex;
  width:max-content;
  background:var(--cream);
  border:1px solid var(--line);
  color:var(--green);
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
  margin-bottom:10px;
}
.category-hero h2{
  margin:0 0 10px;
  color:var(--green);
  font-size:clamp(28px,4vw,46px);
  line-height:.98;
  letter-spacing:-1px;
}
.category-hero p{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.5;
}
.category-hero img{
  width:100%;
  aspect-ratio:1.15/1;
  object-fit:cover;
  border-radius:24px;
  background:#fff;
  border:1px solid rgba(88,123,63,.10);
}
.benefit-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}
.benefit-list span{
  background:var(--green-soft);
  color:var(--green);
  border-radius:999px;
  padding:8px 11px;
  font-weight:800;
  font-size:13px;
}
.product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:18px;
}
.product-card{
  border-radius:26px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.image-button{
  display:block;
  width:100%;
  border:none;
  padding:0;
  background:#fff;
  cursor:pointer;
}
.product-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:contain;
  background:#fff;
  display:block;
  padding:12px;
}
.product-body{
  padding:18px;
  border-top:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}
.category-label{
  color:var(--green-2);
  font-size:12px;
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:.7px;
}
.product-body h3{
  margin:0;
  font-size:21px;
  line-height:1.08;
  color:var(--brown);
}
.product-body p{
  margin:0;
  color:var(--muted);
  line-height:1.45;
  font-size:14px;
}
.tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.tag-list span{
  background:var(--brown-2);
  color:#fff;
  border-radius:999px;
  padding:7px 10px;
  font-weight:800;
  font-size:12px;
}
.tag-list.soft span{
  background:var(--green-soft);
  color:var(--green);
}
.card-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:auto;
}
.card-actions button{
  border:none;
  border-radius:14px;
  padding:12px 10px;
  cursor:pointer;
  font-weight:900;
}
.card-actions button:first-child{
  background:var(--green);
  color:#fff;
}
.card-actions button:last-child{
  background:var(--cream);
  color:var(--green);
}
.note-box{
  border-radius:30px;
  padding:28px;
  margin:20px 0 90px;
}
.note-box h2{
  margin:0 0 8px;
  color:var(--green);
}
.note-box p{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.5;
}
.quote-bar{
  position:fixed;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  width:min(980px, calc(100% - 24px));
  background:#252827;
  color:#fff;
  border-radius:22px;
  padding:14px;
  box-shadow:0 20px 50px rgba(0,0,0,.22);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  z-index:20;
}
.quote-bar strong{display:block}
.quote-bar span{
  color:rgba(255,255,255,.72);
  font-size:13px;
}
.quote-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.quote-actions button,.quote-actions a{
  border:none;
  text-decoration:none;
  border-radius:14px;
  padding:11px 14px;
  font-weight:900;
}
.quote-actions button{
  background:rgba(255,255,255,.12);
  color:#fff;
  cursor:pointer;
}
.quote-actions a{
  background:#fff;
  color:var(--green);
}
.modal{
  width:min(920px, calc(100% - 30px));
  border:none;
  border-radius:30px;
  padding:0;
  box-shadow:0 30px 90px rgba(0,0,0,.30);
}
.modal::backdrop{
  background:rgba(20,24,20,.55);
  backdrop-filter:blur(4px);
}
.modal-close{
  position:absolute;
  right:16px;
  top:16px;
  width:40px;
  height:40px;
  border:none;
  border-radius:50%;
  background:#252827;
  color:#fff;
  font-size:24px;
  cursor:pointer;
  z-index:2;
}
.modal-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
}
.modal-image{
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:contain;
  background:#fff;
  padding:18px;
}
.thumbs{
  display:flex;
  gap:8px;
  overflow:auto;
  padding:10px 14px 14px;
  background:#fff;
}
.thumbs button{
  min-width:64px;
  width:64px;
  height:64px;
  border:2px solid transparent;
  border-radius:14px;
  padding:0;
  overflow:hidden;
  background:#fff;
  cursor:pointer;
}
.thumbs button.active{
  border-color:var(--green);
}
.thumbs img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.modal-info{
  padding:34px;
  background:linear-gradient(180deg,#fff,#fff8eb);
}
.modal-category{
  display:inline-flex;
  background:var(--green-soft);
  color:var(--green);
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.7px;
  margin-bottom:12px;
}
.modal-info h2{
  margin:0 0 12px;
  color:var(--green);
  font-size:34px;
  line-height:1;
  letter-spacing:-.8px;
}
.modal-info p{
  color:var(--muted);
  line-height:1.5;
  margin:0 0 16px;
}
.modal-info h3{
  margin:18px 0 9px;
  font-size:16px;
}
.modal-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}
.empty{
  background:#fff;
  border:1px solid rgba(88,123,63,.12);
  border-radius:28px;
  padding:30px;
  text-align:center;
  box-shadow:var(--shadow);
}
footer{
  background:#252827;
  color:#fff;
  padding:28px 0;
  margin-top:30px;
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
}
footer strong, footer span, footer a{
  display:block;
}
footer span{
  color:rgba(255,255,255,.72);
  margin-top:4px;
}
footer a{
  color:#fff;
  text-decoration:none;
  font-weight:900;
  text-align:right;
}
#footerWeb{
  text-align:right;
}
@media (max-width:920px){
  .hero-grid,.category-hero,.modal-grid{
    grid-template-columns:1fr;
  }
  .product-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .modal-image{
    min-height:360px;
  }
}
@media (max-width:620px){
  .top-strip-inner,.footer-grid,.quote-bar{
    flex-direction:column;
    align-items:flex-start;
  }
  .hero-copy{
    padding:24px;
  }
  .hero-card{
    padding:14px;
  }
  .hero-images{
    grid-template-columns:1fr 1fr;
  }
  .search-row{
    grid-template-columns:1fr;
  }
  .category-hero{
    padding:18px;
  }
  .product-grid{
    grid-template-columns:1fr;
  }
  .product-card img{
    aspect-ratio:1/0.82;
  }
  .logo{
    width:180px;
  }
  h1{
    font-size:40px;
  }
  footer a,#footerWeb{
    text-align:left;
  }
  .quote-actions{
    width:100%;
  }
  .quote-actions button,.quote-actions a{
    flex:1;
    text-align:center;
  }
}


/* ===== AJUSTES VISUALES REV2 ===== */
body{
  background:
    radial-gradient(circle at 8% 0%, rgba(234,242,226,.95) 0 180px, transparent 181px),
    radial-gradient(circle at 95% 6%, rgba(246,238,219,.95) 0 240px, transparent 241px),
    linear-gradient(180deg,#fffdf7 0%,#fff8eb 100%);
}
.hero-card,.hero-copy,.tools,.note-box,.category-hero,.product-card{
  backdrop-filter: blur(4px);
}
.category-hero img,
.hero-images img{
  object-fit: cover;
}
.product-card{
  overflow:hidden;
}
.product-image-wrap{
  padding:18px 18px 0;
}
.image-button{
  width:100%;
  border:0;
  background:linear-gradient(180deg,#ffffff 0%,#f8f5ee 100%);
  border-radius:26px;
  padding:20px;
  cursor:pointer;
  min-height:285px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: inset 0 0 0 1px rgba(88,123,63,.08), 0 12px 22px rgba(62,45,32,.06);
}
.image-button img{
  width:100%;
  height:240px;
  object-fit:contain;
  filter: drop-shadow(0 16px 18px rgba(41,34,25,.16));
}
.product-body{
  padding-top:14px;
}
.variant-panel{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:14px 0 10px;
}
.variant-group{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.variant-group-label{
  width:100%;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.6px;
  color:var(--green-2);
}
.option-chip{
  appearance:none;
  border:1px solid rgba(88,123,63,.16);
  background:#fff;
  color:var(--brown);
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}
.option-chip.active{
  background:var(--green);
  color:#fff;
  border-color:var(--green);
  box-shadow:0 10px 20px rgba(52,83,41,.18);
}
.option-chip:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:8px;
}
.card-meta span{
  background:var(--cream);
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
  font-weight:800;
}
.current-selection{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:rgba(234,242,226,.85);
  color:var(--green);
  border-radius:999px;
  padding:7px 11px;
  font-size:11px;
  font-weight:900;
  margin-bottom:10px;
}
.current-selection::before{
  content:"";
  width:8px;height:8px;border-radius:50%;background:var(--green);
}
.modal-image{
  background:linear-gradient(180deg,#ffffff 0%,#f8f5ee 100%);
  border-radius:28px;
  padding:18px;
  min-height:360px;
  object-fit:contain;
}
.thumbs button{
  background:#fff;
}
@media (max-width:780px){
  .image-button{min-height:220px;padding:16px}
  .image-button img{height:180px}
}


/* ===== CATÁLOGO SOLO VISUAL / SIN SELECCIÓN DE PRODUCTOS ===== */
.card-actions.single-action {
  grid-template-columns: 1fr;
}

.card-actions.single-action button {
  width: 100%;
}

.full-link {
  width: 100%;
  text-align: center;
}

.quote-bar {
  display: none !important;
}

.product-card .card-actions button[data-action="detail"]::before {
  content: "👁️ ";
}

.modal-actions {
  grid-template-columns: 1fr;
}
