
:root{
  --green:#546d31;
  --green-dark:#33471e;
  --green-soft:#e8ebdf;
  --ink:#171a16;
  --muted:#72756d;
  --cream:#f8f4ec;
  --cream-2:#fffdf8;
  --line:#e8e0d3;
  --card:#fffefb;
  --shadow:0 12px 35px rgba(50,55,38,.08);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#f8f4ec 0,#fff 420px);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input{font:inherit}
button{cursor:pointer}
.site-header{position:sticky;top:0;z-index:40;background:rgba(248,244,236,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(232,224,211,.85)}
.header-inner,.search-wrap,.mobile-menu,main{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.header-inner{height:108px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;min-width:0}
.brand img{width:300px;max-width:52vw;height:auto;display:block;border-radius:4px}
.menu-button{width:52px;height:52px;border:0;background:transparent;border-radius:14px;display:grid;place-content:center;gap:6px}
.menu-button:hover{background:rgba(84,109,49,.08)}
.menu-button span{display:block;width:28px;height:3px;border-radius:99px;background:var(--green-dark)}
.search-wrap{position:relative;margin-bottom:18px}
.search-wrap svg{position:absolute;left:20px;top:50%;transform:translateY(-50%);width:24px;height:24px;fill:none;stroke:#63685f;stroke-width:1.8;stroke-linecap:round}
.search-wrap input{width:100%;height:58px;border:1px solid #dcd8cf;border-radius:16px;background:#fff;padding:0 54px 0 58px;font-size:18px;outline:none;transition:.2s}
.search-wrap input:focus{border-color:#93a27c;box-shadow:0 0 0 4px rgba(84,109,49,.09)}
.clear-search{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:transparent;border-radius:10px;font-size:26px;color:#777;display:none}
.search-wrap.has-text .clear-search{display:block}
.mobile-menu{display:none;padding:0 0 16px;gap:8px}
.mobile-menu.open{display:flex}
.mobile-menu a{text-decoration:none;color:var(--green-dark);font-weight:700;padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:12px}
main{padding-bottom:120px}
.catalog-hero{text-align:center;padding:40px 0 22px}
.spark-title{display:flex;align-items:center;justify-content:center;gap:18px}
.spark-title span{width:26px;height:18px;position:relative}
.spark-title span:before,.spark-title span:after{content:"";position:absolute;left:0;width:13px;height:2px;background:var(--green);border-radius:99px}
.spark-title span:before{top:2px;transform:rotate(28deg)}
.spark-title span:after{bottom:2px;transform:rotate(-28deg)}
.spark-title span:last-child{transform:scaleX(-1)}
h1{font-family:Georgia,"Times New Roman",serif;font-size:44px;line-height:1;margin:0;color:var(--green-dark);font-weight:700}
.catalog-hero>p{margin:10px 0 24px;color:#565b53;font-size:17px}
.categories{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.category{border:1px solid transparent;background:#f3eee5;color:#252a22;padding:11px 22px;border-radius:999px;min-width:110px;transition:.18s}
.category:hover{border-color:#cbd3bd;transform:translateY(-1px)}
.category.active{background:var(--green);color:#fff;box-shadow:0 7px 18px rgba(84,109,49,.18)}
.catalog-meta{margin-top:24px;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;color:var(--muted);font-size:13px}
.catalog-meta strong{color:#31352f;font-size:14px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding-top:12px}
.product-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;min-width:0;transition:transform .18s,box-shadow .18s}
.product-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(50,55,38,.12)}
.product-image-wrap{position:relative;aspect-ratio:1/1;background:#f2efe8;overflow:hidden;cursor:zoom-in}
.product-image{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s}
.product-card:hover .product-image{transform:scale(1.02)}
.product-info{padding:14px 14px 13px;display:flex;flex-direction:column;flex:1}
.product-info h2{font-size:16px;line-height:1.22;margin:0;color:#191c18;font-weight:750;letter-spacing:-.01em}
.product-detail{min-height:34px;margin:5px 0 12px;color:#686d64;font-size:13px;line-height:1.3}
.consult-btn{margin-top:auto;width:100%;border:1px solid #82966a;color:var(--green-dark);background:#fff;border-radius:12px;padding:10px 12px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:9px;transition:.18s}
.consult-btn:hover{background:var(--green);color:#fff}
.wa-mini{font-size:15px}
.floating-whatsapp{position:fixed;right:24px;bottom:22px;z-index:30;border:0;border-radius:999px;background:#1fba59;color:#fff;padding:12px 19px 12px 12px;display:flex;align-items:center;gap:10px;box-shadow:0 13px 30px rgba(19,130,63,.27);font-size:14px;line-height:1.08}
.wa-icon{width:42px;height:42px;border-radius:50%;background:#fff;color:#20aa56;display:grid;place-content:center;font-size:23px;font-weight:900}
.toast{position:fixed;left:50%;bottom:26px;z-index:60;transform:translate(-50%,20px);background:#27351e;color:#fff;border-radius:999px;padding:12px 18px;opacity:0;pointer-events:none;transition:.22s;box-shadow:0 10px 28px rgba(0,0,0,.2);white-space:nowrap;max-width:calc(100% - 30px);overflow:hidden;text-overflow:ellipsis}
.toast.show{opacity:1;transform:translate(-50%,0)}
.empty-state{text-align:center;padding:80px 20px;color:#73766e}
.empty-state strong{display:block;color:#30342f;font-size:20px;margin-bottom:6px}
.product-modal{width:min(760px,calc(100% - 28px));padding:0;border:0;border-radius:26px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.25);overflow:hidden}
.product-modal::backdrop{background:rgba(15,18,12,.62);backdrop-filter:blur(5px)}
.product-modal img{width:100%;max-height:62vh;object-fit:contain;background:#f5f2eb;display:block}
.modal-content{padding:22px 24px 26px}
.modal-kicker{color:var(--green);font-weight:800;letter-spacing:.15em;font-size:11px;margin:0 0 6px}
.modal-content h2{margin:0 0 7px;font-size:27px}
.modal-content>p:not(.modal-kicker){margin:0 0 18px;color:#6b6f68}
.modal-close{position:absolute;right:14px;top:14px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.94);font-size:26px;box-shadow:0 4px 16px rgba(0,0,0,.12)}
.modal-whatsapp{border:0;background:#1fba59;color:#fff;border-radius:13px;padding:13px 18px;font-weight:800;width:100%}

.product-price{font-size:19px;font-weight:850;line-height:1.05;color:var(--green);margin:1px 0 4px;letter-spacing:-.02em}
.product-price.price-pending{font-size:14px;font-weight:700;color:#777d72;letter-spacing:0}
.product-price-note{font-size:11px;line-height:1.25;color:#7a7f76;margin-bottom:7px}
.product-price-extra{font-size:10.5px;line-height:1.25;color:#5f665b;background:#f5f2eb;border-radius:8px;padding:5px 7px;margin:0 0 7px}
.modal-price{font-size:28px;font-weight:850;color:var(--green);letter-spacing:-.025em;margin:4px 0 6px}
.modal-price.price-pending{font-size:19px;color:#747a70}
.modal-price-note{color:#62685f;font-size:13px;line-height:1.45;margin:0 0 16px}
.catalog-note{margin:28px 0 110px;padding:18px 20px;border:1px solid var(--line);border-radius:18px;background:#f8f5ee;color:#60665c;display:flex;flex-direction:column;gap:5px;font-size:12px;line-height:1.4}
.catalog-note strong{color:#283121}
@media(max-width:900px){
 .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
 body{background:linear-gradient(180deg,#f8f4ec 0,#fff 330px)}
 .header-inner,.search-wrap,.mobile-menu,main{width:min(100% - 20px,600px)}
 .header-inner{height:82px}
 .brand img{width:225px;max-width:72vw}
 .menu-button{width:44px;height:44px}
 .menu-button span{width:25px}
 .search-wrap{margin-bottom:12px}
 .search-wrap input{height:52px;border-radius:13px;font-size:16px;padding-left:50px}
 .search-wrap svg{left:17px;width:21px}
 .catalog-hero{padding:30px 0 16px}
 h1{font-size:35px}
 .catalog-hero>p{font-size:15px;margin-bottom:18px}
 .categories{gap:8px}
 .category{padding:9px 15px;min-width:auto;font-size:14px}
 .catalog-meta{margin-top:18px;align-items:flex-start;flex-direction:column;gap:3px}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:7px}
 .product-card{border-radius:15px;box-shadow:0 5px 15px rgba(50,55,38,.06)}
 .product-info{padding:10px 9px 9px}
 .product-info h2{font-size:13.5px;line-height:1.17}
 .product-detail{font-size:11.5px;min-height:29px;margin:4px 0 8px}
 .consult-btn{font-size:12px;padding:8px 6px;border-radius:9px;gap:5px}
 .floating-whatsapp{right:12px;bottom:12px;padding:8px 13px 8px 8px;font-size:12px}
 .wa-icon{width:36px;height:36px;font-size:19px}
 .toast{bottom:75px;font-size:13px}
 .product-modal{border-radius:20px}
 .modal-content h2{font-size:22px}
}
@media(max-width:360px){
 .category{font-size:13px;padding:8px 12px}
 .product-info h2{font-size:12.5px}
 .product-detail{font-size:10.8px}
}

@media (max-width: 640px){
  .product-price{font-size:16px;margin-top:0}
  .product-price.price-pending{font-size:12px}
  .product-price-note{font-size:9.8px;margin-bottom:6px}
  .product-price-extra{font-size:9.3px;padding:4px 6px;margin-bottom:6px}
  .catalog-note{margin:20px 2px 105px;padding:14px 14px;font-size:10.5px}
}


/* V3 · ficha de producto + nota superior */
.purchase-note{margin:22px 0 0;border:1px solid #dbe1cf;background:linear-gradient(135deg,#f7f8f2,#fffdf8);border-radius:18px;padding:16px 18px;color:#38452b;box-shadow:0 8px 24px rgba(50,55,38,.06)}
.purchase-note-main{display:flex;align-items:flex-start;gap:12px}
.purchase-note-icon{flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:grid;place-content:center;background:var(--green);color:#fff;font-weight:900;margin-top:1px}
.purchase-note strong{display:block;font-size:13px;line-height:1.35;letter-spacing:.015em}
.purchase-note p{margin:4px 0 0;font-size:12px;line-height:1.45;color:#5f6758;font-weight:650}
.purchase-note small{display:block;margin:11px 0 0 42px;padding-top:10px;border-top:1px solid #e3e7da;color:#73786f;font-size:11px;line-height:1.45}
.product-card{cursor:pointer;outline:none}
.product-card:focus-visible{box-shadow:0 0 0 4px rgba(84,109,49,.2),var(--shadow);border-color:#93a27c}
.detail-chip{position:absolute;right:10px;bottom:10px;background:rgba(255,255,255,.94);color:var(--green-dark);border:1px solid rgba(84,109,49,.2);border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800;box-shadow:0 3px 10px rgba(0,0,0,.08);opacity:0;transform:translateY(3px);transition:.18s}
.product-card:hover .detail-chip,.product-card:focus-visible .detail-chip{opacity:1;transform:none}
.product-modal{width:min(840px,calc(100% - 28px));max-height:min(92vh,900px);overflow:auto}
.modal-media{background:#f5f2eb;display:grid;place-items:center;min-height:260px;max-height:52vh;overflow:hidden}
.product-modal .modal-media img{width:100%;height:100%;max-height:52vh;object-fit:contain;background:#f5f2eb;display:block}
.modal-content{padding:24px 26px 28px}
.modal-description{margin:0 0 20px!important;color:#555c51!important;font-size:15px;line-height:1.55}
.modal-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}
.modal-spec{border:1px solid var(--line);background:#faf8f3;border-radius:14px;padding:12px 13px;min-width:0}
.modal-spec span,.modal-price-block>span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:#8a8e85;font-weight:800;margin-bottom:4px}
.modal-spec strong{display:block;font-size:14px;line-height:1.35;color:#2d3428}
.modal-price-block{border-top:1px solid var(--line);padding-top:15px;margin-top:2px}
.modal-price{margin:2px 0 6px}
.modal-price-note{background:#f5f2eb;border-radius:10px;padding:8px 10px;margin:0 0 14px!important}
.modal-whatsapp{margin-top:2px;font-size:15px}
.modal-disclaimer{margin:10px 0 0!important;text-align:center;color:#92968e!important;font-size:10.5px!important;line-height:1.4!important}
.catalog-footer{margin:30px 0 80px;padding:20px;text-align:center;color:#7b8176;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:3px;font-size:12px}
.catalog-footer strong{font-family:Georgia,"Times New Roman",serif;color:var(--green-dark);font-size:20px;letter-spacing:.08em}

@media(max-width:640px){
  .purchase-note{margin:14px 0 0;padding:13px 13px;border-radius:14px}
  .purchase-note-main{gap:9px}
  .purchase-note-icon{width:26px;height:26px;font-size:12px}
  .purchase-note strong{font-size:10.5px;line-height:1.4}
  .purchase-note p{font-size:9.8px;line-height:1.45}
  .purchase-note small{margin-left:35px;font-size:9.2px;padding-top:8px;margin-top:8px}
  .catalog-hero{padding-top:24px}
  .detail-chip{display:none}
  .product-modal{width:calc(100% - 16px);max-height:94vh;border-radius:18px}
  .modal-media{min-height:210px;max-height:43vh}
  .product-modal .modal-media img{max-height:43vh}
  .modal-content{padding:18px 17px 20px}
  .modal-content h2{font-size:23px;line-height:1.12}
  .modal-description{font-size:13px;line-height:1.5;margin-bottom:15px!important}
  .modal-specs{grid-template-columns:1fr;gap:7px;margin-bottom:12px}
  .modal-spec{padding:10px 11px}
  .modal-spec strong{font-size:13px}
  .modal-price{font-size:26px}
  .modal-disclaimer{font-size:9.5px!important}
  .catalog-footer{margin-bottom:105px}
}
