/* Controles de compra como ZonaTronik, con precios y reglas de Import. */
body.zti-experience .zt-sp-cart-block form.cart .quantity.zti-single-quantity {
    display:flex!important; align-items:center; justify-content:center; flex:0 0 142px!important;
    width:142px!important; max-width:142px!important; min-height:46px; margin:0!important;
    border:1px solid #dddccf; border-radius:999px; background:#fff; overflow:visible;
}
body.zti-experience .zt-sp-cart-block form.cart .quantity.zti-single-quantity input.qty {
    flex:1 1 0; min-width:0; width:52px!important; max-width:52px; height:44px; min-height:44px;
    margin:0!important; padding:0 2px!important; border:0!important; border-radius:0;
    font-family:inherit; font-size:16px; font-weight:800; line-height:1.2; text-align:center; background:#fff; color:#171717;
    appearance:textfield; -moz-appearance:textfield; box-shadow:none!important;
}
.zti-single-quantity input.qty::-webkit-inner-spin-button,.zti-single-quantity input.qty::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
body.zti-experience .zt-sp-cart-block form.cart .quantity:has(input.qty[type="hidden"]):not(:has(input.qty:not([type="hidden"]))) { display:none!important; }
body.zti-experience .zt-sp-transfer-inline[hidden] { display:none!important; }
body.zti-experience .zt-sp-cart-block .zti-single-quantity-button {
    display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; min-height:44px;
    margin:0; padding:0; border:0; border-radius:50%; background:transparent; color:#171717;
    font-size:22px; line-height:1; font-weight:700; box-shadow:none; touch-action:manipulation;
}
body.zti-experience .zt-sp-cart-block .zti-single-quantity-button:hover:not(:disabled) { background:#fff2a3; }
body.zti-experience .zt-sp-cart-block .zti-single-quantity-button:disabled { opacity:.32; cursor:default; }
body.zti-experience .zt-sp-cart-block :is(form.cart,.woocommerce-variation-add-to-cart)>.single_add_to_cart_button { flex:1 1 150px!important; white-space:normal; }
body.zti-experience .zt-sp-container .zt-sp-cart-block .zt-sp-buy-now-btn { position:static!important; inset:auto!important; z-index:auto!important; transform:none!important; width:100%!important; margin:10px 0 0!important; }
[data-zti-stock-positive],[data-zti-stock-negative] { display:inline-flex; flex-shrink:0; }
.zti-single-stock [data-zti-stock-label] { min-width:0; line-height:1.5; }
body.zti-experience .zt-sp-cart-block .stock[data-zti-stock-mirrored] { display:none!important; }
body.zti-experience .zt-sp-gallery-wrap .flex-control-thumbs { justify-content:flex-start; overflow-x:auto; padding:10px 2px!important; scroll-snap-type:x proximity; scrollbar-width:thin; }
body.zti-experience .zt-sp-gallery-wrap .flex-control-thumbs li { flex:0 0 58px; min-width:58px; scroll-snap-align:center; }
@media(max-width:767px) {
    /* Los avisos deben quedar encima de la compra y del menú, incluso si cambian de altura. */
    body.zti-experience.single-product :is(.zti-action-notice,.zti-feedback) {
        bottom:calc(var(--zti-product-nav-height,calc(70px + env(safe-area-inset-bottom))) + var(--zti-product-dock-height,0px) + 24px);
    }
    body.zti-experience .zti-product-dock:not([hidden]) {
        display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px;
        bottom:var(--zti-product-nav-height,70px); padding:10px max(14px,env(safe-area-inset-right)) 10px max(14px,env(safe-area-inset-left));
        background:#fff; border-top:1px solid #e8e4ca; box-shadow:0 -5px 18px #0000000c;
    }
    .zti-product-dock>div { min-width:0; }
    body.zti-experience .zti-product-dock small { color:#626252; font-size:10px; }
    body.zti-experience .zti-product-dock strong { display:block; font-size:19px; line-height:1.25; overflow-wrap:anywhere; }
    .zti-product-dock [data-zti-dock-ars] { display:block; margin-top:2px; color:#087b3d; font-size:11px; line-height:1.3; font-weight:750; }
    body.zti-experience .zti-product-dock .zti-button { max-width:160px; min-height:46px; padding:10px 14px; border-radius:999px; font-size:12px; white-space:normal; }
    body.zti-experience.single-product { padding-bottom:calc(var(--zti-product-nav-height,70px) + var(--zti-product-dock-height,0px) + 16px)!important; }
}
