/* CLZ Recetas 1.4.1: comercio contextual independiente del CSS editorial. */
.clz-recipe-commerce{--clz-commerce-ink:#222;--clz-commerce-red:#c62828;--clz-commerce-ochre:#85754e;box-sizing:border-box;scroll-margin-top:clamp(96px,14vh,158px);margin:20px 0 32px;padding:23px 24px 26px;background:#fff;color:var(--clz-commerce-ink);border:1px solid #e5e0d7;border-radius:11px;box-shadow:0 8px 30px rgba(34,34,34,.055)}
.clz-recipe-commerce *{box-sizing:border-box}
.clz-commerce-heading{margin:0 0 19px;border-bottom:1px solid #e7e3dc;padding:0 0 16px}
.clz-commerce-eyebrow{display:block;margin-bottom:7px;color:#85754e;font-size:11px;font-weight:800;letter-spacing:.1em;line-height:1.3}
.clz-recipe-commerce h2{margin:0 0 7px;color:#222;font-size:clamp(22px,2vw,28px);font-weight:750;line-height:1.22}
.clz-commerce-intro{margin:0;color:#57524b;font-size:14px;line-height:1.55}
.clz-commerce-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:stretch}
/* Dos productos: el símbolo permite distinguir elección alternativa y combinación. */
.clz-recipe-commerce[data-clz-relation="alternatives"] .clz-commerce-grid,.clz-recipe-commerce[data-clz-relation="complementary"] .clz-commerce-grid{grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);gap:7px;align-items:stretch}
.clz-commerce-join{align-self:center;justify-self:center;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #dfd8cc;border-radius:50%;background:#fff;color:#85754e;font-size:16px;font-weight:800;line-height:1;z-index:1}
.clz-recipe-commerce[data-clz-relation="alternatives"] .clz-commerce-join{color:#c62828;border-color:#e7bebd;font-size:12px}
.clz-commerce-card{display:grid;grid-template-columns:116px minmax(0,1fr);align-items:center;gap:16px;min-width:0;margin:0;padding:13px;background:#faf9f7;border:1px solid #e9e4dc;border-radius:8px}
.clz-commerce-card-image-link{display:block;min-width:0;line-height:0;border-radius:7px;overflow:hidden;background:#fff}
.clz-commerce-product-image{display:block;width:116px;height:116px;max-width:100%;object-fit:cover;object-position:center;border-radius:6px}
.clz-commerce-card-info{min-width:0}
.clz-commerce-card-role{display:block;margin:0 0 6px;color:#85754e;font-size:11px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}
.clz-recipe-commerce[data-clz-relation="alternatives"] .clz-commerce-card-role{color:#9d2929}
.clz-commerce-card h3{margin:0 0 7px;color:#222;font-size:clamp(15px,1.3vw,18px);font-weight:700;line-height:1.31;overflow-wrap:break-word}
.clz-commerce-price{margin:0 0 5px;color:#222;font-size:17px;font-weight:800;line-height:1.35}
.clz-commerce-price del{color:#777;font-weight:400}.clz-commerce-price ins{text-decoration:none}
.clz-commerce-stock{display:block;margin:0 0 10px;color:#444;font-size:12px;line-height:1.3}
.clz-commerce-stock.is-available{color:#35643b}.clz-commerce-stock.is-unavailable{color:#9e2525}
.clz-commerce-cta,.clz-commerce-floating-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:10px 15px;background:#c62828;color:#fff!important;text-align:center;font-size:13px;font-weight:750;line-height:1.3;border-radius:5px;text-decoration:none!important;white-space:normal}
.clz-commerce-cta:hover,.clz-commerce-floating-cta:hover{background:#981c1c;color:#fff!important}
.clz-recipe-commerce a:focus-visible,.clz-commerce-floating a:focus-visible,.clz-commerce-floating-close:focus-visible{outline:3px solid #85754e!important;outline-offset:3px}
.clz-commerce-recipe-end{display:block;height:1px;pointer-events:none}
.clz-commerce-floating[hidden]{display:none!important}
.clz-commerce-floating{box-sizing:border-box;position:fixed;z-index:9500;bottom:calc(13px + env(safe-area-inset-bottom,0px));left:12px;width:calc(100vw - 24px);max-width:420px;background:#fff;border:1px solid #e0dbd2;border-left:3px solid #85754e;border-radius:9px;box-shadow:0 5px 21px rgba(0,0,0,.17);color:#222}
.clz-commerce-floating *{box-sizing:border-box}
.clz-commerce-floating-inner{display:flex;align-items:center;gap:8px;padding:7px 7px 7px 9px}
.clz-commerce-floating-inner>img{flex:0 0 44px;width:44px;height:44px;object-fit:cover;border-radius:5px}
.clz-commerce-floating-label{flex:1;min-width:0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#222;font-size:12px;font-weight:700;line-height:1.3}
.clz-commerce-floating-cta{flex:0 0 auto;min-height:44px;padding:8px 10px;font-size:12px;white-space:nowrap}
/* Especificidad para anular los estilos de <button> del tema/Elementor. */
.clz-commerce-floating .clz-commerce-floating-close,.clz-commerce-floating .clz-commerce-floating-close:hover,.clz-commerce-floating .clz-commerce-floating-close:focus{appearance:none!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:5px!important;background:transparent!important;background-image:none!important;box-shadow:none!important;text-shadow:none!important;color:#555!important;font-family:Arial,sans-serif!important;font-size:24px!important;font-weight:400!important;line-height:1!important;cursor:pointer}
.clz-commerce-floating .clz-commerce-floating-close:hover{color:#222!important;background:#f4f1eb!important}
body.clz-commerce-float-visible #back-to-top{display:none!important}
@media(min-width:900px){.clz-commerce-floating{left:auto;right:76px;bottom:20px;width:min(322px,27vw)}.clz-commerce-floating-inner>img{flex-basis:40px;width:40px;height:40px}}
@media(max-width:899px){body.clz-commerce-float-visible #whatsapp-button{bottom:calc(var(--clz-commerce-float-height,72px) + 22px + env(safe-area-inset-bottom,0px))!important}}
@media(max-width:760px){.clz-recipe-commerce[data-clz-relation="alternatives"] .clz-commerce-grid,.clz-recipe-commerce[data-clz-relation="complementary"] .clz-commerce-grid{grid-template-columns:minmax(0,1fr);gap:7px}.clz-commerce-join{width:25px;height:25px;margin:-2px auto}}
@media(max-width:600px){.clz-recipe-commerce{padding:19px 15px 20px;margin:17px 0 28px}.clz-commerce-heading{margin-bottom:14px;padding-bottom:13px}.clz-commerce-grid{gap:9px}.clz-commerce-card{grid-template-columns:82px minmax(0,1fr);gap:11px;padding:10px}.clz-commerce-product-image{width:82px;height:88px}.clz-commerce-card h3{font-size:15px}.clz-commerce-price{font-size:15px}.clz-commerce-stock{margin-bottom:7px}.clz-commerce-cta{font-size:12px;padding:8px 12px}.clz-commerce-floating-inner>img{width:40px;height:40px;flex-basis:40px}.clz-commerce-floating-label{font-size:11.5px}.clz-commerce-floating-cta{font-size:11.5px;padding:8px 10px}}
@media(max-width:360px){.clz-commerce-floating-inner>img{display:none}.clz-commerce-floating-inner{gap:5px}.clz-commerce-floating-cta{padding:8px}}
@media(prefers-reduced-motion:reduce){.clz-recipe-commerce,.clz-commerce-floating{scroll-behavior:auto!important;transition:none!important}}
