/* Resumen 1.8. Un solo detalle WooCommerce, también dentro del desplegable móvil. */
body.zti-experience.woocommerce-cart:has(.zti-order-progress) #zt-min-order-notice { display:none!important; }
body.zti-experience #zti-cart .zt-cart-summary-box { float:none!important; width:100%!important; padding:20px 18px 18px!important; border:1px solid #00000012!important; border-radius:12px!important; background:#fff!important; box-shadow:0 10px 26px #00000014!important; scroll-margin-top:calc(var(--zti-header-height,90px) + 20px); }
body.zti-experience #zti-cart .zt-cart-summary-title { margin:0 0 12px!important; font-size:19px!important; line-height:1.2; font-weight:850; color:#252525; }
.zti-order-progress { margin:0 0 14px; padding:0; border:0; background:none; font-size:12px; line-height:1.5; }
.zti-order-progress strong { display:block; }
.zti-order-progress progress { display:block; width:100%; height:7px; margin:8px 0; border:0; border-radius:6px; accent-color:#ffdf00; overflow:hidden; }
.zti-order-progress progress::-webkit-progress-bar { background:#e8e8e8; }
.zti-order-progress progress::-webkit-progress-value { background:#ffdf00; }
.zti-order-progress small { font-size:11px; color:#757575; }
body.zti-experience #zti-cart .cart_totals :is(table,tbody) { display:block; width:100%; margin:0; border:0; background:none; }
body.zti-experience #zti-cart .cart_totals tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,auto); align-items:start; gap:10px; margin:0 0 7px; padding:10px; border:1px solid #e7e7e7; border-radius:10px; background:#fff; }
body.zti-experience #zti-cart .cart_totals :is(th,td) { display:block!important; float:none; min-width:0; width:auto; padding:0; border:0; background:none; font-size:13px; line-height:1.4; vertical-align:top; overflow-wrap:anywhere; }
body.zti-experience #zti-cart .cart_totals th { text-align:left; color:#555; font-weight:650; }
body.zti-experience #zti-cart .cart_totals td { text-align:right; color:#292929; font-weight:750; }
body.zti-experience #zti-cart .cart_totals td::before { content:none!important; }
body.zti-experience #zti-cart .cart_totals .order-total { padding:13px 10px; border-color:#e8d88b; background:#fffbed; }
body.zti-experience #zti-cart .cart_totals .order-total :is(th,td) { color:#222; font-size:20px; font-weight:850; }
body.zti-experience #zti-cart .cart_totals .order-total th { font-size:13px; align-self:center; }
body.zti-experience #zti-cart .cart_totals .shipping { grid-template-columns:minmax(0,1fr); gap:8px; }
body.zti-experience #zti-cart .cart_totals .shipping td { text-align:left; font-weight:400; }
#zti-cart .cart_totals #shipping_method { padding:0; margin:0; list-style:none; text-align:left; }
#zti-cart .cart_totals #shipping_method li { margin:0 0 8px; }
#zti-cart .cart_totals #shipping_method label { display:inline; font-size:12px; line-height:1.5; cursor:pointer; }
#zti-cart .cart_totals #shipping_method input { width:18px; height:18px; margin:3px 6px 3px 0; vertical-align:middle; accent-color:#a78c00; }
#zti-cart .cart_totals :is(select,input.input-text) { width:100%; max-width:100%; min-height:44px; font-size:16px; }
#zti-cart .cart_totals .shipping-calculator-button { display:inline-flex; align-items:center; min-height:44px; text-align:left; }
.zti-cart-conversion { display:flex; flex-direction:column; gap:5px; margin-top:12px; padding:12px; border:1px solid #eee0a1; border-radius:10px; background:#fffdf1; color:#5c532f; }
.zti-cart-conversion>span { font-size:11px; }
.zti-cart-conversion>strong { font-size:23px; line-height:1.3; overflow-wrap:anywhere; }
.zti-cart-conversion>small { font-size:11px; color:#797052; }
.zti-cart-currency-note { margin:8px 0 0; font-size:11px; line-height:1.5; color:#777; }
body.zti-experience #zti-cart .checkout-button { display:flex; align-items:center; justify-content:center; width:100%; min-height:52px; margin:14px 0 10px; padding:13px 18px; border:1px solid #e6ce00; border-radius:10px!important; background:#ffe600!important; color:#222!important; font-size:15px; font-weight:850; text-decoration:none; text-transform:none; }
body.zti-experience #zti-cart .checkout-button:hover { background:#f5dc00!important; }
body.zti-experience #zti-cart .zt-cart-summary-note { display:flex; align-items:flex-start; gap:8px; margin:0; padding:0; border:0; background:none; font-size:11px; line-height:1.5; font-weight:400; color:#777; text-align:left; }
.zt-cart-summary-note>.zti-icon { width:18px; height:18px; color:#857500; }
#zti-cart>.zt-cart-sidebar:has(.zti-summary-tall) { position:static; }
.zti-cart-mobile-summary { display:none; }
#zti-cart .zti-cart-summary-pending { margin:8px 0 0; font-size:12px; color:#79611b; }
#zti-cart .zti-cart-summary-pending a { display:inline-flex; align-items:center; min-height:44px; color:inherit; font-weight:750; }
@media(max-width:980px) {
    body.zti-cart-docked #zti-cart { padding-bottom:calc(var(--zti-cart-dock-height,160px) + 24px)!important; }
    body.zti-cart-docked .zti-action-notice { bottom:calc(var(--zti-cart-nav-height,0px) + var(--zti-cart-dock-height,160px) + 22px); }
    body.zti-experience #zti-cart .zt-cart-summary-box.is-mobile { position:fixed; z-index:8800; left:10px; right:10px; bottom:calc(var(--zti-cart-nav-height,0px) + 10px); width:auto!important; max-width:560px; max-height:calc(100dvh - var(--zti-cart-nav-height,0px) - 130px); margin:0 auto; padding:10px 14px 12px!important; border:1px solid #ffd600ad!important; border-radius:14px 14px 0 0!important; box-shadow:0 -8px 24px #00000029!important; overflow:auto; overscroll-behavior:contain; }
    #zti-cart .is-mobile .zti-cart-mobile-summary { display:grid; grid-template-columns:minmax(0,1fr) auto 16px; grid-template-areas:'title total arrow' 'action total arrow'; align-items:center; gap:3px 8px; width:100%; min-height:48px; margin:0; padding:0 2px; border:0; border-radius:0; background:none; color:#242424; text-align:left; font:inherit; box-shadow:none; }
    .zti-cart-mobile-title { grid-area:title; font-size:14px; font-weight:850; line-height:1.2; }
    .zti-cart-mobile-action { grid-area:action; font-size:11px; font-weight:750; color:#756700; }
    .zti-cart-mobile-total { grid-area:total; min-width:0; max-width:44vw; text-align:right; overflow-wrap:anywhere; }
    .zti-cart-mobile-total small { display:block; font-size:10px; font-weight:500; color:#707070; }
    .zti-cart-mobile-total strong { display:block; font-size:19px; font-weight:850; line-height:1.2; }
    .zti-cart-mobile-summary>.zti-icon { grid-area:arrow; width:16px; height:16px; color:#756700; transition:transform .2s; }
    .zti-cart-mobile-summary[aria-expanded=true]>.zti-icon { transform:rotate(180deg); }
    #zti-cart .is-mobile .zti-cart-summary-detail { max-height:min(42dvh,310px); overflow:auto; overscroll-behavior:contain; margin-top:8px; padding:12px 2px 2px; border-top:1px solid #ddd; }
    body.zti-experience #zti-cart .is-mobile .zt-cart-summary-title { font-size:16px!important; }
    body.zti-experience #zti-cart .is-mobile .checkout-button { margin:8px 0 0; }
    body.zti-experience #zti-cart .is-mobile .zt-cart-summary-note { margin-top:8px; font-size:10px; }
    #zti-cart .is-mobile.is-pending .zti-cart-mobile-total strong { display:none; }
    #zti-cart-form { scroll-margin-top:116px; }
}
/* Con poca altura el resumen permanece en el documento y todos sus controles son alcanzables. */
@media(max-width:980px) and (max-height:500px) {
    body.zti-experience #zti-cart .zt-cart-summary-box.is-mobile { position:static; max-height:none; width:100%!important; border-radius:12px!important; }
    body.zti-cart-docked #zti-cart { padding-bottom:0!important; }
    #zti-cart .is-mobile .zti-cart-summary-detail { max-height:none; }
}
