:root{--primary:#52765a;--secondary:#e8efe5;--bg:#faf9f5;--ink:#252a25}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55}.top{height:78px;padding:0 6vw;display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--bg);position:sticky;top:0;z-index:5;border-bottom:1px solid #e8e7e0}.brand{font-weight:850;font-size:1.25rem;color:var(--ink);text-decoration:none}.top nav{display:flex;gap:30px}.top nav a,footer a{color:inherit;text-decoration:none}.contact,.primary{background:var(--primary);color:white;padding:12px 19px;border-radius:4px;text-decoration:none;font-weight:700}.hero{min-height:520px;display:grid;grid-template-columns:1fr 1fr;background:var(--secondary)}.hero-copy{padding:9vw 7vw;align-self:center}.eyebrow{font-size:.72rem;letter-spacing:.16em;font-weight:800;color:var(--primary)}h1{font-size:clamp(2.8rem,5vw,5.5rem);line-height:1.02;letter-spacing:-.055em;margin:18px 0}.hero-copy p{max-width:440px;font-size:1.12rem;margin-bottom:30px}.hero-image{background-position:center;background-size:cover;min-height:350px}.intro{padding:44px 8vw;text-align:center;font-size:1.15rem;max-width:950px;margin:auto}.catalog,.family-section,.blog-section{padding:60px 7vw}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.section-head h2,.values h2{font-size:clamp(2rem,3vw,3rem);letter-spacing:-.04em;margin:5px 0}.section-head input{padding:13px 16px;border:1px solid #d8d9d1;border-radius:3px;min-width:260px;background:white}.filters{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:24px}.filters button{border:1px solid #d6d9d0;background:transparent;padding:9px 14px;border-radius:30px;cursor:pointer}.filters button.active{background:var(--primary);color:white;border-color:var(--primary)}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.product{background:white;min-width:0}.product img{width:100%;height:220px;object-fit:cover;background:#eeeee8;display:block}.product .p-info{padding:16px}.product h3{margin:0 0 4px;font-size:1rem}.muted{color:#777;font-size:.88rem}.price{font-weight:800;color:var(--primary);margin-top:10px}.values{background:#eeeee7;padding:70px 8vw;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:45px}.values h3{font-size:1.3rem}.family,.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.person,.blog-card{background:white}.person img,.blog-card img{width:100%;height:240px;object-fit:cover}.person div,.blog-card div{padding:18px}.person h3,.blog-card h3{margin:0 0 8px}footer{background:#202a22;color:white;padding:55px 7vw;display:grid;grid-template-columns:1fr 1fr;gap:30px}footer small{grid-column:1/-1;border-top:1px solid #526052;padding-top:18px;color:#c4c9c2}footer a{display:block;margin:10px 0;color:#d6e6d5} .empty{grid-column:1/-1;padding:30px;text-align:center;color:#777}@media(max-width:900px){.products{grid-template-columns:repeat(3,1fr)}.values{grid-template-columns:1fr 1fr}.values article:first-child{grid-column:1/-1}}@media(max-width:650px){.top{height:auto;min-height:66px;padding:14px 5vw;flex-wrap:wrap}.top nav{order:3;width:100%;justify-content:space-between;gap:10px;font-size:.85rem}.contact{padding:8px 12px;font-size:.85rem}.hero{grid-template-columns:1fr}.hero-copy{padding:65px 7vw}.hero-image{min-height:250px;grid-row:1}.section-head{align-items:stretch;flex-direction:column}.section-head input{min-width:0;width:100%}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product img{height:160px}.product .p-info{padding:12px}.values,.family,.blog-grid{grid-template-columns:1fr}.values article:first-child{grid-column:auto}footer{grid-template-columns:1fr;padding:42px 7vw}footer small{grid-column:auto}}
/* Variantes reales de composición para las tres plantillas */
body.plantilla-2 .hero{background:var(--bg);grid-template-columns:1.05fr .95fr;min-height:430px}body.plantilla-2 .hero-copy{padding:6vw}body.plantilla-2 .hero-image{margin:28px;border-radius:3px}body.plantilla-2 .product{border:1px solid #e7e7e1}body.plantilla-2 .product img{height:190px}body.plantilla-2 .values{background:var(--secondary)}body.plantilla-3 .hero{grid-template-columns:1.2fr .8fr;background:var(--bg);min-height:570px}body.plantilla-3 .hero-copy{padding-left:10vw}body.plantilla-3 .hero-image{margin:35px 5vw 35px 0;border-radius:48% 48% 3px 3px}body.plantilla-3 .products{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}body.plantilla-3 .product{background:transparent}body.plantilla-3 .product img{height:300px}body.plantilla-3 .product .p-info{padding:15px 0}body.plantilla-3 .values{background:var(--bg);border-top:1px solid #ddd;border-bottom:1px solid #ddd}body.plantilla-3 .family,body.plantilla-3 .blog-grid{grid-template-columns:repeat(2,1fr)}@media(max-width:650px){body.plantilla-3 .products{grid-template-columns:repeat(2,minmax(0,1fr))}body.plantilla-3 .product img{height:180px}body.plantilla-3 .hero-image{margin:0;border-radius:0}}

/* PLANTILLA 2 · COMERCIAL: cabecera compacta, portada de alto contraste y catálogo tipo tienda. */
body.plantilla-2{font-family:Arial,Helvetica,sans-serif;background:#fff;color:#202020}
body.plantilla-2 .top{height:68px;padding:0 4vw;background:#fff;border-bottom:3px solid var(--primary);box-shadow:0 3px 14px #0000000d}
body.plantilla-2 .brand{font-size:1.45rem;color:var(--primary);letter-spacing:-.03em}
body.plantilla-2 .top nav{gap:22px;font-weight:700;font-size:.92rem}
body.plantilla-2 .contact,body.plantilla-2 .primary{border-radius:5px;background:var(--primary);box-shadow:0 3px 0 #00000018}
body.plantilla-2 .hero{min-height:390px;grid-template-columns:1.05fr .95fr;background:var(--primary);color:#fff;gap:0}
body.plantilla-2 .hero-copy{padding:55px 6vw}
body.plantilla-2 .hero-copy .eyebrow{color:#fff;opacity:.85}
body.plantilla-2 .hero-copy h1{font-size:clamp(2.5rem,4.2vw,4.6rem);letter-spacing:-.035em;max-width:650px}
body.plantilla-2 .hero-copy p{max-width:520px}
body.plantilla-2 .hero-image{min-height:390px;margin:0;border-radius:0;background-color:var(--secondary)}
body.plantilla-2 .hero .primary{background:#fff;color:var(--primary);box-shadow:none}
body.plantilla-2 .intro{max-width:none;padding:26px 5vw;background:#f5f5f2;font-weight:600}
body.plantilla-2 .catalog{padding:48px 5vw 65px}
body.plantilla-2 .section-head h2{font-size:2.2rem;letter-spacing:-.02em}
body.plantilla-2 .products{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.plantilla-2 .product{border:1px solid #e5e5e5;border-radius:8px;overflow:hidden;box-shadow:0 3px 12px #00000008}
body.plantilla-2 .product img{height:190px}
body.plantilla-2 .product .p-info{padding:14px}
body.plantilla-2 .product h3{font-size:.98rem}
body.plantilla-2 .price{font-size:1.12rem}
body.plantilla-2 .filters button{border-radius:5px;background:#f7f7f5}
body.plantilla-2 .filters button.active{background:var(--primary)}
body.plantilla-2 .values{padding:48px 6vw;background:#f2f3ef;grid-template-columns:1.2fr 1fr 1fr;gap:28px}
body.plantilla-2 .family-section,body.plantilla-2 .blog-section{padding:48px 5vw}
body.plantilla-2 .person,body.plantilla-2 .blog-card{border:1px solid #e7e7e7;border-radius:8px;overflow:hidden}
body.plantilla-2 footer{background:#242a25;padding:42px 5vw}

/* PLANTILLA 3 · EDITORIAL: composición asimétrica, tipografía protagonista y bloques abiertos. */
body.plantilla-3{font-family:Georgia,"Times New Roman",serif;background:#f7f4ed;color:#29251f}
body.plantilla-3 .top{height:88px;padding:0 7vw;background:#f7f4ed;border-bottom:1px solid #d9d1c4}
body.plantilla-3 .brand{font-family:Georgia,serif;font-size:1.65rem;font-weight:700;letter-spacing:-.04em}
body.plantilla-3 .top nav{gap:34px;font-family:Arial,sans-serif;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em}
body.plantilla-3 .contact,body.plantilla-3 .primary{border-radius:0;background:var(--primary);padding:14px 22px;font-family:Arial,sans-serif;text-transform:uppercase;font-size:.78rem;letter-spacing:.08em}
body.plantilla-3 .hero{min-height:570px;grid-template-columns:1.15fr .85fr;background:#eee8dc;overflow:hidden}
body.plantilla-3 .hero-copy{padding:8vw 5vw 8vw 10vw}
body.plantilla-3 .hero-copy .eyebrow{font-family:Arial,sans-serif;letter-spacing:.22em}
body.plantilla-3 .hero-copy h1{font-size:clamp(3.3rem,6.2vw,6.4rem);font-weight:500;line-height:.96;letter-spacing:-.065em;max-width:720px}
body.plantilla-3 .hero-copy p{font-size:1.2rem;max-width:430px}
body.plantilla-3 .hero-image{min-height:500px;margin:42px 6vw 42px 0;border-radius:48% 48% 2px 2px;background-color:#ded5c7}
body.plantilla-3 .intro{max-width:850px;padding:75px 8vw;font-size:1.35rem;line-height:1.7}
body.plantilla-3 .catalog{padding:55px 8vw 90px}
body.plantilla-3 .section-head{align-items:end;border-bottom:1px solid #d9d1c4;padding-bottom:20px}
body.plantilla-3 .section-head h2,body.plantilla-3 .values h2{font-size:clamp(2.5rem,4vw,4rem);font-weight:500}
body.plantilla-3 .section-head input{border:0;border-bottom:1px solid #a99f90;border-radius:0;background:transparent;font-family:Arial,sans-serif}
body.plantilla-3 .filters button{border-radius:0;border:0;border-bottom:1px solid transparent;font-family:Arial,sans-serif}
body.plantilla-3 .filters button.active{background:transparent;color:var(--primary);border-bottom-color:var(--primary)}
body.plantilla-3 .products{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 28px}
body.plantilla-3 .product{background:transparent}
body.plantilla-3 .product img{height:310px;background:#e9e2d7}
body.plantilla-3 .product .p-info{padding:17px 0}
body.plantilla-3 .product h3{font-size:1.15rem;font-weight:600}
body.plantilla-3 .price{font-family:Arial,sans-serif;font-size:1rem}
body.plantilla-3 .values{padding:85px 9vw;background:#e9e2d7;grid-template-columns:1.4fr 1fr 1fr;gap:55px}
body.plantilla-3 .family-section,body.plantilla-3 .blog-section{padding:75px 8vw}
body.plantilla-3 .family,body.plantilla-3 .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
body.plantilla-3 .person,body.plantilla-3 .blog-card{background:transparent}
body.plantilla-3 .person img,body.plantilla-3 .blog-card img{height:300px}
body.plantilla-3 .person div,body.plantilla-3 .blog-card div{padding:18px 0}
body.plantilla-3 footer{background:#29251f;padding:65px 8vw;font-family:Arial,sans-serif}

@media(max-width:900px){body.plantilla-2 .products{grid-template-columns:repeat(3,minmax(0,1fr))}body.plantilla-3 .products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 body.plantilla-2 .top{height:auto;padding:13px 5vw}.plantilla-2 .hero{grid-template-columns:1fr}.plantilla-2 .hero-image{grid-row:1;min-height:230px}.plantilla-2 .hero-copy{padding:38px 7vw}.plantilla-2 .products{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.plantilla-3 .top{height:auto;padding:14px 5vw}.plantilla-3 .top nav{gap:12px;font-size:.7rem}.plantilla-3 .hero{grid-template-columns:1fr;min-height:0}.plantilla-3 .hero-image{grid-row:1;min-height:260px;margin:0;border-radius:0}.plantilla-3 .hero-copy{padding:42px 7vw}.plantilla-3 .hero-copy h1{font-size:clamp(2.8rem,12vw,4.5rem)}.plantilla-3 .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.plantilla-3 .product img{height:180px}.plantilla-3 .values{grid-template-columns:1fr;padding:50px 7vw;gap:25px}.plantilla-3 .family,body.plantilla-3 .blog-grid{grid-template-columns:1fr}.plantilla-3 .person img,body.plantilla-3 .blog-card img{height:230px}
}


/* Ajustes de tamaño: las imágenes nunca deben dominar el contenido ni desbordar sus tarjetas. */
.brand-logo{display:block;width:auto;max-width:160px;max-height:44px;object-fit:contain}
.product img{display:block;width:100%;max-width:100%;height:clamp(140px,18vw,215px)!important;max-height:215px;object-fit:contain;background:#f2f2ed}
.person img,.blog-card img{display:block;width:100%;max-width:100%;height:clamp(150px,20vw,225px)!important;max-height:225px;object-fit:cover}
.hero-image{width:100%;max-width:100%;max-height:460px;min-height:300px;background-size:cover;background-position:center}
.product-placeholder{width:100%;height:clamp(140px,18vw,215px);max-height:215px;background:linear-gradient(135deg,#f0f0eb,#e5e6df)}
.subfilters{margin-top:-10px;padding:0 0 8px 18px;border-left:2px solid var(--secondary)}
.subfilters[hidden]{display:none}
.subfilters button{font-size:.9rem}
.social-block h3{margin-bottom:5px}
.social-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.social-links a{display:inline-flex;align-items:center;padding:8px 13px;border:1px solid #ffffff45;border-radius:30px;color:inherit;text-decoration:none;font-size:.9rem}
.social-links a:hover{background:#ffffff18}
.social-empty{color:#c4c9c2;font-size:.9rem}
.blog-card{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.blog-card:hover,.blog-card:focus-visible{transform:translateY(-3px);box-shadow:0 10px 28px #00000012;outline:2px solid var(--primary);outline-offset:2px}
.blog-read-more{display:inline-block;margin-top:8px;color:var(--primary);font-weight:700;font-size:.9rem}
.blog-modal[hidden]{display:none}
.blog-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px}
.blog-modal-backdrop{position:absolute;inset:0;background:#111b}
.blog-modal-panel{position:relative;z-index:1;width:min(900px,100%);max-height:90vh;overflow:auto;background:var(--bg);color:var(--ink);border-radius:14px;box-shadow:0 20px 70px #0005}
.blog-modal-close{position:sticky;top:12px;float:right;margin:12px 12px -48px 0;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:#222;font-size:1.7rem;line-height:1;cursor:pointer;z-index:2}
.blog-modal-image{display:block;width:100%;height:clamp(160px,32vw,330px);max-height:330px;object-fit:cover}
.blog-modal-image[hidden]{display:none}
.blog-modal-content{padding:clamp(20px,4vw,42px)}
.blog-modal-content h2{font-size:clamp(1.7rem,4vw,2.7rem);line-height:1.1;margin:12px 0}
.blog-modal-summary{font-weight:600;color:#666}
.blog-modal-body{white-space:pre-wrap;line-height:1.8;margin-top:20px;overflow-wrap:anywhere}
.blog-modal-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:30px;padding-top:18px;border-top:1px solid #ddd}
.blog-modal-nav button{border:1px solid #ccc;background:transparent;color:inherit;padding:10px 16px;border-radius:6px;cursor:pointer}
.blog-modal-nav button:disabled{opacity:.35;cursor:not-allowed}
.blog-modal-open{overflow:hidden}
.web-social-config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.web-social-config label{display:grid;gap:5px}
.web-social-config input{width:100%}
@media(max-width:650px){
  .product img,.product-placeholder{height:155px!important;max-height:155px}
  .person img,.blog-card img{height:185px!important;max-height:185px}
  .hero-image{min-height:230px;max-height:280px}
  .web-social-config{grid-template-columns:1fr}
  .blog-modal{padding:10px}
  .blog-modal-panel{max-height:94vh;border-radius:10px}
  .blog-modal-nav button{padding:9px 10px;font-size:.85rem}
}

/* Limites estrictos también para las plantillas que declaran alturas mayores. */
.hero-image{align-self:center;height:clamp(230px,38vw,420px)!important;min-height:0!important;max-height:420px!important}
footer{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:650px){
  .hero-image{height:230px!important;min-height:0!important;max-height:230px!important}
  footer{grid-template-columns:1fr}
}

/* Presentación compacta de precios por presentación */
.price-list { display:flex; flex-direction:column; gap:4px; margin-top:9px; color:var(--ink); font-size:.92rem; }
.price-list span { display:flex; justify-content:space-between; gap:12px; }
.price-list strong { color:var(--primary); white-space:nowrap; }
.phone-whatsapp { display:inline-block; color:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.phone-whatsapp:hover { color:var(--primary); }

/* Apartados opcionales de la página pública */
.faq-item{padding:16px 18px;margin:10px 0;border:1px solid rgba(0,0,0,.1);border-radius:12px;background:#fff}
.faq-item summary{font-weight:700;cursor:pointer}
.faq-item p{margin:12px 0 0;line-height:1.6}
#visitasSection{text-align:center}
#visitasSection p{margin:0}
[hidden]{display:none!important}

/* Banner publicitario en carrusel: imagen completa con texto legible encima. */
body .hero.hero-carrusel {
  display:flex; position:relative; min-height:470px; align-items:center; overflow:hidden;
  background:#202a22; color:#fff;
}
body .hero.hero-carrusel .hero-image {
  position:absolute; inset:0; z-index:0; min-height:100%; margin:0; border-radius:0;
  background-position:center; background-size:cover; background-repeat:no-repeat;
  transition:background-image .35s ease;
}
body .hero.hero-carrusel::after {
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.48) 48%,rgba(0,0,0,.12) 100%);
}
body .hero.hero-carrusel .hero-copy {
  position:relative; z-index:2; width:min(760px,75%); padding:80px 8vw; color:#fff;
}
body .hero.hero-carrusel .hero-copy .eyebrow { color:#fff; opacity:.9; }
body .hero.hero-carrusel .hero-copy h1 { color:#fff; max-width:760px; text-shadow:0 2px 14px #0005; }
body .hero.hero-carrusel .hero-copy p { color:#fff; max-width:620px; text-shadow:0 1px 8px #0006; }
.hero-carousel-controls {
  position:absolute; z-index:3; right:5vw; bottom:28px; display:flex; align-items:center; gap:12px;
}
.hero-carousel-controls > button {
  width:38px; height:38px; border:1px solid #ffffffaa; border-radius:50%;
  background:#0005; color:#fff; font-size:25px; line-height:1; cursor:pointer;
}
.hero-dots { display:flex; align-items:center; gap:7px; }
.hero-dots button { width:9px; height:9px; padding:0; border:0; border-radius:50%; background:#ffffff88; cursor:pointer; }
.hero-dots button.active { width:23px; border-radius:10px; background:#fff; }
.hero-carousel-controls [hidden], .hero-dots[hidden] { display:none!important; }
@media(max-width:650px) {
  body .hero.hero-carrusel { min-height:420px; }
  body .hero.hero-carrusel .hero-copy { width:100%; padding:65px 7vw 95px; }
  .hero-carousel-controls { right:7vw; bottom:22px; }
}


/* Navegación adaptable: menú hamburguesa real en móviles. */
.menu-toggle{display:none;width:44px;height:42px;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid #d9ddd5;border-radius:9px;background:#fff;color:var(--ink);cursor:pointer}
.menu-toggle span{display:block;width:19px;height:2px;border-radius:2px;background:currentColor;transition:transform .18s ease,opacity .18s ease}
.top.menu-open .menu-toggle span:first-child{transform:translateY(7px) rotate(45deg)}
.top.menu-open .menu-toggle span:nth-child(2){opacity:0}
.top.menu-open .menu-toggle span:last-child{transform:translateY(-7px) rotate(-45deg)}@media(max-width:760px){
  .top{position:sticky;min-height:66px;height:auto;padding:10px 4vw;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px 12px;align-items:center}
  .brand{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.1rem}
  .brand-logo{max-width:130px;max-height:38px}
  .menu-toggle{display:flex;grid-column:2;grid-row:1}
  .top nav{display:none;grid-column:1/-1;grid-row:2;width:100%;order:initial;flex-direction:column;align-items:stretch;gap:0;padding:6px 0 2px;border-top:1px solid #e7e9e3}
  .top.menu-open nav{display:flex}
  .top nav a{padding:12px 10px;border-bottom:1px solid #eceee9;font-size:.95rem;font-weight:650}
  .top nav a:last-child{border-bottom:0}
  .top .contact{grid-column:1/-1;grid-row:3;display:none;text-align:center;margin:2px 0 6px}
  .top.menu-open .contact{display:block}
  body.store-menu-open{overflow:hidden}
  .hero,.hero.hero-carrusel{min-height:0}
  .hero-copy{padding:38px 6vw}
  .hero-copy h1{font-size:clamp(2rem,9vw,3.2rem);overflow-wrap:anywhere}
  .hero-copy p{font-size:1rem}
  .catalog,.family-section,.blog-section{padding:38px 5vw}
  .section-head{margin-bottom:20px}
  .section-head h2,.values h2{font-size:clamp(1.7rem,7vw,2.35rem)}
  .filters{gap:7px}
  .filters button{max-width:100%;font-size:.84rem;padding:8px 11px}
  .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product{min-width:0;border-radius:10px;overflow:hidden}
  .product img,.product-placeholder{height:clamp(118px,38vw,165px)!important}
  .product .p-info{padding:10px}
  .product h3{font-size:.9rem;line-height:1.3;overflow-wrap:anywhere}
  .price-list{font-size:.82rem}
  .values{padding:42px 6vw;gap:22px}
  .family,.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .person img,.blog-card img{height:145px!important}
  .person div,.blog-card div{padding:12px}
  .person h3,.blog-card h3{font-size:.95rem;line-height:1.3}
  .intro{padding:28px 6vw;font-size:1rem}
  footer{padding:36px 6vw;gap:22px}
}
@media(max-width:380px){
  .family,.blog-grid{grid-template-columns:1fr}
  .person img,.blog-card img{height:190px!important}
  .products{gap:8px}
  .product .p-info{padding:8px}
}

/* Banners de tienda: conservar la imagen completa cuando sea panorámica o vertical. */
body .hero.hero-carrusel .hero-image { background-size: cover; }
body .hero.hero-carrusel.hero-banner-horizontal .hero-image,
body .hero.hero-carrusel.hero-banner-vertical .hero-image { background-size: contain; }
body .hero.hero-carrusel.hero-banner-horizontal { min-height: clamp(220px, 34vw, 440px); }
body .hero.hero-carrusel.hero-banner-vertical { min-height: 520px; }
body .hero.hero-carrusel.hero-sin-texto::after { display:none; }
body .hero.hero-carrusel.hero-sin-texto .hero-copy { display:none; }

/* Superficies oscuras para que destaquen las fotografías del catálogo */
.product,.product img,.product-placeholder,.person img,.blog-card img,.blog-modal-image,
.hero-image,.web-admin-registro-foto{background-color:#080808!important}
.product img{object-fit:contain!important}
.person img,.blog-card img,.blog-modal-image{object-fit:cover}
.product-placeholder{background:#080808!important}
.best-products .product img{background:#080808!important}
/* Editor de recorte */
.image-editor-overlay{position:fixed;inset:0;z-index:30000;background:rgba(0,0,0,.78);display:grid;place-items:center;padding:16px}
.image-editor{width:min(760px,100%);max-height:94vh;overflow:auto;background:#171717;color:#fff;border:1px solid #444;border-radius:16px;padding:20px;box-shadow:0 24px 80px #0009}
.image-editor header,.image-editor footer{display:flex;align-items:center;justify-content:space-between;gap:14px}
.image-editor header h2{margin:0;font-size:1.25rem}.image-editor header p{margin:4px 0 0;color:#bbb;font-size:.9rem}
.image-editor-close{border:0;background:#333;color:#fff;border-radius:50%;width:38px;height:38px;font-size:1.5rem;cursor:pointer}
.image-editor-stage{position:relative;width:100%;max-height:52vh;min-height:220px;margin:18px auto;background:#050505;overflow:hidden;border:1px solid #555;border-radius:10px}
.image-editor-stage img{position:absolute;max-width:none;max-height:none;object-fit:fill;transform:translate(-50%,-50%);left:50%;top:50%;user-select:none}
.image-editor-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.image-editor-controls label{display:grid;gap:6px;color:#ddd;font-size:.88rem}
.image-editor-controls input,.image-editor-controls select{width:100%;accent-color:#9fc4a5}
.image-editor-controls select{padding:9px;background:#292929;color:#fff;border:1px solid #555;border-radius:8px}
.image-editor footer{justify-content:flex-end;margin-top:20px}
.image-editor footer button{padding:10px 16px;border-radius:8px;border:1px solid #555;background:#292929;color:#fff;cursor:pointer}
.image-editor footer .image-editor-save{background:#52765a;border-color:#52765a}
@media(max-width:560px){.image-editor{padding:14px}.image-editor-controls{grid-template-columns:1fr}.image-editor-stage{min-height:180px}}

/* Corrección definitiva: marco negro cuadrado solo detrás de la foto. */
.product{background:#fff!important;color:var(--ink)}
.product img{display:block!important;width:min(100%,180px)!important;height:180px!important;max-height:180px!important;aspect-ratio:1/1;object-fit:contain!important;background:#000!important;padding:0!important;margin:0!important}
body.plantilla-3 .product{background:transparent!important}
body.plantilla-3 .product img{background:#000!important}
@media(max-width:650px){.product img{width:min(100%,144px)!important;height:144px!important;max-height:144px!important}}

/* Marco de imagen uniforme: fotografía y producto sin fotografía comparten tamaño. */
.product img,
.product .product-placeholder{
  display:block!important;
  width:180px!important;
  height:180px!important;
  min-width:180px;
  max-width:180px!important;
  max-height:180px!important;
  aspect-ratio:1/1;
  margin:0 auto!important;
  box-sizing:border-box;
}
.product img{object-fit:contain!important;background:#000!important;padding:0!important}
.product .product-placeholder{
  background:linear-gradient(145deg,#e8efe5 0%,#d6e2d5 100%)!important;
  border:1px solid #d3ddcf;
  border-radius:2px;
}
@media(max-width:650px){
 .product img,.product .product-placeholder{width:144px!important;height:144px!important;min-width:144px;max-width:144px!important;max-height:144px!important}
}

/* Catálogo: tarjetas limpias y marco uniforme para las imágenes. */
.products .product,
.best-products .product{
  background:transparent!important;
  color:var(--ink)!important;
  min-width:0;
}
.products .product img,
.best-products .product img{
  display:block!important;
  width:180px!important;
  height:180px!important;
  min-width:0!important;
  max-width:100%!important;
  max-height:180px!important;
  margin:0 auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:var(--product-card-image-bg,#fff)!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.products .product .product-placeholder,
.best-products .product .product-placeholder{
  display:block!important;
  width:180px!important;
  height:180px!important;
  min-width:0!important;
  max-width:100%!important;
  max-height:180px!important;
  margin:0 auto!important;
  background:#e8efe5!important;
  border:1px solid #d3ddcf!important;
  box-sizing:border-box!important;
}
.products .product .p-info,
.best-products .product .p-info{padding:16px 0!important}
body.plantilla-2 .products .product .p-info{padding:14px!important}
body.plantilla-3 .products .product .p-info{padding:16px 0!important}
@media(max-width:650px){
 .products .product img,.best-products .product img,
 .products .product .product-placeholder,.best-products .product .product-placeholder{
   width:min(100%,150px)!important;height:150px!important;max-height:150px!important
 }
}
/* Colores independientes para cada bloque de contenido. */
#nosotros article:nth-child(1){color:var(--about-ink,var(--ink))}
#nosotros article:nth-child(1) .eyebrow,#nosotros article:nth-child(1) h2,#nosotros article:nth-child(1) p{color:var(--about-ink,var(--ink))}
#nosotros article:nth-child(2),#nosotros article:nth-child(2) .eyebrow,#nosotros article:nth-child(2) h3,#nosotros article:nth-child(2) p{color:var(--mission-ink,var(--ink))}
#nosotros article:nth-child(3),#nosotros article:nth-child(3) .eyebrow,#nosotros article:nth-child(3) h3,#nosotros article:nth-child(3) p{color:var(--vision-ink,var(--ink))}
#blog,#blog .eyebrow,#blog h2,#blog .blog-card h3,#blog .blog-card p{color:var(--blog-ink,var(--ink))}
#faqSection,#faqSection .eyebrow,#faqSection h2,#faqSection #faqItems{color:var(--faq-ink,var(--ink))}


/* CATÁLOGO Y PRODUCTOS MÁS VENDIDOS
   Imagen en marco uniforme; texto sobre tarjeta blanca, sin transparencias. */
#products .product,
#bestProducts .product {
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  background:#fff!important;
  color:var(--ink,#252a25)!important;
  border:1px solid #e8e5dc;
  border-radius:2px;
  box-shadow:0 2px 9px rgba(32,29,22,.045);
}
#products .product > img,
#bestProducts .product-media {
  display:block;
  width:100%!important;
  height:215px!important;
  min-height:215px;
  max-height:215px!important;
  margin:0!important;
  box-sizing:border-box;
}
#products .product > img {
  object-fit:contain!important;
  object-position:center center!important;
  background:var(--product-card-image-bg,#fff)!important;
  padding:0!important;
}
#bestProducts .product-media {
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:var(--bestsellers-card-image-bg,#fff);
}
#bestProducts .product-media img {
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  background:var(--bestsellers-card-image-bg,#fff);
}
#products .product > .product-placeholder,
#bestProducts .product-media .product-placeholder {
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  background:#e9e8e2!important;
  border:0!important;
  border-radius:0!important;
}
#products .product .p-info,
#bestProducts .product .p-info {
  flex:1;
  width:100%;
  box-sizing:border-box;
  padding:16px!important;
  background:#fff!important;
  color:var(--ink,#252a25)!important;
}
#products .product .p-info h3,
#bestProducts .product .p-info h3 {
  color:var(--ink,#252a25)!important;
  margin:0 0 5px;
}
#products .product .p-info .muted:not(.web-stock-warning),
#bestProducts .product .p-info .muted:not(.web-stock-warning) {
  color:#777!important;
}
@media(max-width:650px){
  #products .product > img,
  #bestProducts .product-media {
    height:175px!important;
    min-height:175px;
    max-height:175px!important;
  }
  #products .product .p-info,
  #bestProducts .product .p-info {padding:12px!important}
}


/* Carrito y pedidos */
.product-buy{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.product-buy button,.cart-actions button{border:0;border-radius:10px;padding:10px 13px;background:var(--primary);color:#fff;font-weight:750;cursor:pointer}
.product-buy button:hover,.cart-actions button:hover{filter:brightness(.92)}
.cart-fab{position:fixed;right:24px;bottom:24px;z-index:20;border:0;border-radius:999px;background:var(--primary);color:#fff;padding:15px 21px;font-weight:800;box-shadow:0 10px 30px #0002;cursor:pointer}
.cart-fab span{display:inline-grid;place-items:center;background:#fff;color:var(--primary);border-radius:50%;min-width:24px;height:24px;margin-left:8px}
.cart-fab-added{transform:scale(1.04)}
#cartModalHost[hidden]{display:none!important;pointer-events:none}
#cartModalHost{position:fixed;inset:0;z-index:40;pointer-events:auto}
.cart-overlay{position:absolute;inset:0;background:#10181099;backdrop-filter:blur(3px)}
.cart-panel{position:absolute;right:0;top:0;height:100%;width:min(620px,100%);overflow:auto;background:var(--bg);padding:34px clamp(20px,4vw,42px);box-shadow:-15px 0 50px #0002}
.cart-panel h2{font-size:2rem;margin:5px 0 20px}
.cart-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.cart-heading h2{margin:5px 0}.cart-clear{border:1px solid #d8a5a5;background:#fff5f5;color:#a12d2d;border-radius:9px;padding:9px 12px;font-weight:750;cursor:pointer;white-space:nowrap}.cart-clear:disabled{opacity:.45;cursor:not-allowed}
.cart-close{position:absolute;right:20px;top:15px;border:0;background:transparent;font-size:2rem;cursor:pointer;color:var(--ink)}
.cart-lines{display:grid;gap:10px}
.cart-line{display:grid;grid-template-columns:1fr auto auto auto;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #ddd}
.cart-line small{display:block;color:#777;margin-top:3px}
.cart-qty{display:flex;align-items:center;gap:8px}
.cart-qty button,.cart-remove{border:0;background:var(--secondary);border-radius:8px;padding:6px 10px;cursor:pointer;color:var(--ink)}
.cart-remove{background:transparent;font-size:1.2rem}
.cart-total{display:flex;justify-content:space-between;padding:18px 0;font-size:1.15rem;border-bottom:1px solid #ddd}
.cart-checkout h3{margin:22px 0 12px}
.cart-mode{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.cart-mode label{background:var(--secondary);padding:11px 14px;border-radius:10px;font-weight:700}
.cart-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cart-fields label{display:grid;gap:5px;font-size:.9rem;font-weight:700}
.cart-fields input{width:100%;min-width:0;border:1px solid #d8d8d0;border-radius:9px;padding:12px;background:#fff;color:#222;font:inherit}
.cart-delivery-fields{display:contents}
.cart-delivery-fields[hidden]{display:none}
.cart-confirm-note{background:var(--secondary);padding:13px 15px;border-radius:10px;font-size:.9rem}
.cart-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cart-actions .cart-whatsapp{background:#16834a}
.cart-actions button:disabled{opacity:.55;cursor:not-allowed}
.cart-feedback{font-weight:700;color:var(--primary);min-height:1.4em}
@media(max-width:520px){.cart-fab{right:14px;bottom:14px}.cart-panel{padding:30px 18px}.cart-line{grid-template-columns:1fr auto auto}.cart-line>.cart-remove{grid-column:3}.cart-fields{grid-template-columns:1fr}.cart-actions{grid-template-columns:1fr}}

/* Personalización avanzada de la tienda (valores configurados desde administración) */
:root{--contact-bg:var(--primary);--contact-text:#fff;--menu-bg:var(--bg);--menu-text:var(--ink);--hero-bg:var(--secondary);--hero-text:var(--ink);--section-bg:var(--bg);--section-text:var(--ink);--products-title:var(--ink);--products-bg:var(--bg);--product-card-bg:#fff;--product-title:var(--ink);--product-description:#777;--price-label:var(--ink);--price-value:var(--primary);--cart-button-bg:var(--primary);--cart-button-text:#fff;--sold-out:#b42318;--product-placeholder-bg:#eeeee8;--about-heading:var(--about-ink);--about-subtitle:var(--about-ink);--about-text:var(--about-ink);--mission-heading:var(--mission-ink);--mission-text:var(--mission-ink);--vision-heading:var(--vision-ink);--vision-text:var(--vision-ink);--family-eyebrow:var(--ink);--family-title:var(--ink);--family-card-bg:#fff;--family-member-title:var(--ink);--family-description:#777;--blog-eyebrow:var(--blog-ink);--blog-title:var(--blog-ink);--blog-card-bg:#fff;--blog-summary:#777;--blog-read:var(--primary);--blog-description:var(--ink);--blog-pager-bg:var(--primary);--blog-pager-text:#fff;--faq-eyebrow:var(--faq-ink);--faq-title:var(--faq-ink);--faq-card-bg:#fff;--faq-question:var(--ink);--faq-answer:#777;--visits-title:var(--ink);--visits-count:var(--primary);--footer-bg:#202a22;--footer-text:#fff;--social-bg:#354638;--social-text:#fff}
.top{background:var(--menu-bg)}.top nav a,.brand{color:var(--menu-text)}.contact{background:var(--contact-bg);color:var(--contact-text)}
.hero{background:var(--hero-bg);color:var(--hero-text)}.hero-copy h1,.hero-copy p{color:var(--hero-text)}
#catalogo{background:var(--products-bg)}#catalogo .section-head h2{color:var(--products-title)}
.product{background:var(--product-card-bg)}.product h3{color:var(--product-title)}.product .muted{color:var(--product-description)}.product .price-list{color:var(--price-label)}.product .price-list strong,.product .price{color:var(--price-value)}.product-placeholder{background:var(--product-placeholder-bg)}.product-buy button,.cart-actions button,.cart-fab{background:var(--cart-button-bg);color:var(--cart-button-text)}
#aboutTitle{color:var(--about-heading)}#nosotros article:first-child .eyebrow{color:var(--about-subtitle)}#about{color:var(--about-text)}#nosotros article:nth-child(2) h3{color:var(--mission-heading)}#mission{color:var(--mission-text)}#nosotros article:nth-child(3) h3{color:var(--vision-heading)}#vision{color:var(--vision-text)}
.family-section .eyebrow{color:var(--family-eyebrow)}.family-section h2{color:var(--family-title)}.person{background:var(--family-card-bg)}.person h3{color:var(--family-member-title)}.person p{color:var(--family-description)}
.blog-section .eyebrow{color:var(--blog-eyebrow)}.blog-section .section-head h2{color:var(--blog-title)}.blog-card{background:var(--blog-card-bg)}.blog-card h3{color:var(--blog-title)}.blog-card p{color:var(--blog-summary)}.blog-read-more{color:var(--blog-read)}.blog-modal-panel{color:var(--blog-description)}
#faqSection .eyebrow{color:var(--faq-eyebrow)}#faqSection .section-head h2{color:var(--faq-title)}.faq-item{background:var(--faq-card-bg)}.faq-item summary{color:var(--faq-question)}.faq-item p{color:var(--faq-answer)}
#visitasSection p{color:var(--visits-title)}#visitasTotal{color:var(--visits-count)}footer{background:var(--footer-bg);color:var(--footer-text)}.social-links a{background:var(--social-bg);color:var(--social-text)}

.web-stock-warning{color:var(--sold-out)!important}


/* Colores administrables: prioridad sobre las variantes visuales de las plantillas */
.top,
body.plantilla-2 .top,
body.plantilla-3 .top { background:var(--menu-bg)!important; }
.top .brand,
.top nav a,
.top nav a:hover,
.top .menu-toggle { color:var(--menu-text)!important; }
.top .menu-toggle span { background-color:var(--menu-text)!important; }
.top .contact,
body.plantilla-2 .top .contact,
body.plantilla-3 .top .contact { background:var(--contact-bg)!important; color:var(--contact-text)!important; }

#hero,
.hero,
body.plantilla-2 .hero,
body.plantilla-3 .hero { background-color:var(--hero-bg)!important; color:var(--hero-text)!important; }
#hero .hero-copy,
#hero .hero-copy .eyebrow,
#hero #headline,
#hero #slogan,
#hero .hero-copy p { color:var(--hero-text)!important; }
#hero .hero-image { background-color:var(--hero-bg)!important; }

section.intro:not(#visitasSection) {
  background:var(--section-bg)!important;
  color:var(--section-text)!important;
}
section.intro:not(#visitasSection) p { color:var(--section-text)!important; }

#catalogo { background:var(--products-bg)!important; }
#catalogo .section-head h2 { color:var(--products-title)!important; }
#catalogo .product h3,
#bestProducts .product h3 { color:var(--product-title)!important; }
#catalogo .product .muted,
#bestProducts .product .muted { color:var(--product-description)!important; }
#catalogo .product .price-list,
#bestProducts .product .price-list,
#catalogo .product .price-list span,
#bestProducts .product .price-list span { color:var(--price-label)!important; }
#catalogo .product .price-list strong,
#bestProducts .product .price-list strong,
#catalogo .product .price,
#bestProducts .product .price { color:var(--price-value)!important; }
#catalogo .product .product-placeholder,
#bestProducts .product .product-placeholder { background:var(--product-placeholder-bg)!important; }
#catalogo .product-buy button,
#bestProducts .product-buy button,
#cartFab,
#cartModalHost .cart-actions button { background:var(--cart-button-bg)!important; color:var(--cart-button-text)!important; }
#catalogo .product .web-stock-warning,
#bestProducts .product .web-stock-warning { color:var(--sold-out)!important; }

#aboutTitle { color:var(--about-heading)!important; }
#nosotros article:first-child .eyebrow { color:var(--about-subtitle)!important; }
#about { color:var(--about-text)!important; }
#nosotros article:nth-child(2) h3 { color:var(--mission-heading)!important; }
#mission { color:var(--mission-text)!important; }
#nosotros article:nth-child(3) h3 { color:var(--vision-heading)!important; }
#vision { color:var(--vision-text)!important; }

.family-section .eyebrow { color:var(--family-eyebrow)!important; }
.family-section .section-head h2 { color:var(--family-title)!important; }
.family-section .person { background:var(--family-card-bg)!important; }
.family-section .person h3 { color:var(--family-member-title)!important; }
.family-section .person p { color:var(--family-description)!important; }

.blog-section .eyebrow { color:var(--blog-eyebrow)!important; }
.blog-section .section-head h2,
.blog-section .blog-card h3 { color:var(--blog-title)!important; }
.blog-section .blog-card { background:var(--blog-card-bg)!important; }
.blog-section .blog-card p { color:var(--blog-summary)!important; }
.blog-section .blog-read-more { color:var(--blog-read)!important; }
.blog-modal-panel, .blog-modal-summary, .blog-modal-body { color:var(--blog-description)!important; }
.blog-modal-nav button,
#blogPrev,
#blogNext { background:var(--blog-pager-bg)!important; color:var(--blog-pager-text)!important; }

#faqSection .eyebrow { color:var(--faq-eyebrow)!important; }
#faqSection .section-head h2 { color:var(--faq-title)!important; }
#faqSection .faq-item { background:var(--faq-card-bg)!important; }
#faqSection .faq-item summary { color:var(--faq-question)!important; }
#faqSection .faq-item p { color:var(--faq-answer)!important; }

#visitasSection p { color:var(--visits-title)!important; }
#visitasTotal { color:var(--visits-count)!important; }

footer,
body.plantilla-2 footer,
body.plantilla-3 footer { background:var(--footer-bg)!important; color:var(--footer-text)!important; }
footer h2, footer h3, footer p, footer a, footer small,
footer #footerName, footer #footerDescription, footer #address,
footer #hours, footer #phone, footer #mapLink, footer #mapsLink {
  color:var(--footer-text)!important;
}
footer .social-links a { background:var(--social-bg)!important; color:var(--social-text)!important; }


/* Fondos adicionales por sección y colores independientes de más vendidos */
:root {
  --about-bg: var(--bg);
  --family-bg: var(--bg);
  --blog-bg: var(--bg);
  --bestsellers-bg: var(--bg);
  --bestsellers-card-bg: var(--product-card-bg, #fff);
  --bestsellers-title: var(--ink);
  --bestsellers-eyebrow: var(--ink);
}
#nosotros { background:var(--about-bg)!important; }
.family-section { background:var(--family-bg)!important; }
#blog { background:var(--blog-bg)!important; }
#masVendidosSection,
body.plantilla-2 #masVendidosSection,
body.plantilla-3 #masVendidosSection {
  background:var(--bestsellers-bg)!important;
}
#masVendidosSection .section-head h2 { color:var(--bestsellers-title)!important; }
#masVendidosSection .section-head .eyebrow { color:var(--bestsellers-eyebrow)!important; }
#masVendidosSection #bestProducts .product .p-info h3 {
  color:var(--product-title)!important;
}
#masVendidosSection #bestProducts .product .p-info .muted {
  color:var(--product-description)!important;
}

/* Los colores configurables se aplican únicamente al área de imagen.
   El fondo de la tarjeta y el bloque de información conservan el diseño actual. */
:root {
  --product-card-image-bg: #fff;
  --product-card-no-image-bg: #e9e8e2;
  --whatsapp-button-bg: #16834a;
  --whatsapp-button-text: #fff;
  --request-button-bg: var(--primary);
  --request-button-text: #fff;
  --bestsellers-card-image-bg: #fff;
  --bestsellers-card-no-image-bg: #e9e8e2;
}
#products .product.has-image > img,
#catalogo .product.has-image > img {
  background:var(--product-card-image-bg,#fff)!important;
}
#products .product.no-image > .product-placeholder,
#catalogo .product.no-image > .product-placeholder {
  background:var(--product-card-no-image-bg,#e9e8e2)!important;
}
#bestProducts .product.has-image .product-media,
#masVendidosSection #bestProducts .product.has-image .product-media {
  background:var(--bestsellers-card-image-bg,#fff)!important;
}
#bestProducts .product.has-image .product-media img,
#masVendidosSection #bestProducts .product.has-image .product-media img {
  background:transparent!important;
}
#bestProducts .product.no-image .product-media .product-placeholder,
#masVendidosSection #bestProducts .product.no-image .product-media .product-placeholder {
  background:var(--bestsellers-card-no-image-bg,#e9e8e2)!important;
}
#cartModalHost .cart-actions .cart-whatsapp {
  background:var(--whatsapp-button-bg)!important;
  color:var(--whatsapp-button-text)!important;
}
#cartModalHost .cart-actions .cart-submit {
  background:var(--request-button-bg)!important;
  color:var(--request-button-text)!important;
}


/* Personalización del bloque inferior de las tarjetas (texto e información). */
#products .product .p-info,
#catalogo #products .product .p-info {
  background:var(--product-info-bg,#fff)!important;
}
#bestProducts .product .p-info,
#masVendidosSection #bestProducts .product .p-info {
  background:var(--bestsellers-info-bg,#fff)!important;
}

/* Colores independientes de título y marca en Productos más vendidos. */
#masVendidosSection .section-head h2 {
  color:var(--bestsellers-title,var(--ink))!important;
}
#masVendidosSection #bestProducts .product .p-info h3 {
  color:var(--bestsellers-product-title,var(--product-title,var(--ink)))!important;
}
#masVendidosSection #bestProducts .product .p-info .muted {
  color:var(--bestsellers-brand,var(--product-description,#777))!important;
}


/* Pantalla de carga inicial: cubre los cambios de estilos y contenido mientras se prepara la tienda. */
.store-loading{position:fixed;inset:0;z-index:100000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:rgba(105,105,105,.94);color:#fff;font:600 15px/1.4 Arial,Helvetica,sans-serif;opacity:1;visibility:visible;transition:opacity .3s ease,visibility .3s ease}
.store-loading.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.store-loading-spinner{width:38px;height:38px;border:4px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:store-loading-spin .8s linear infinite}
@keyframes store-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.store-loading,.store-loading-spinner{transition:none;animation:none}}


/* Corrección: permitir que los colores configurables de título y descripción
   prevalezcan sobre los estilos generales de la tarjeta. */
#products .product .p-info h3,
#bestProducts .product .p-info h3,
#catalogo .product .p-info h3 {
  color: var(--product-title, #252a25) !important;
}
#products .product .p-info .muted:not(.web-stock-warning),
#bestProducts .product .p-info .muted:not(.web-stock-warning),
#catalogo .product .p-info .muted:not(.web-stock-warning) {
  color: var(--product-description, #777) !important;
}
