.has-tabo-wrap{border:1px solid #e3e3e3;border-radius:16px;padding:18px;margin:24px 0;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.05)}
.has-tabo-wrap h3{margin-top:0;font-size:1.35rem}
.has-tabo-note{background:#f7f7f7;border-left:4px solid #111;padding:10px 12px;margin:10px 0 16px}
.has-tabo-global{margin-bottom:18px}.has-tabo-global h4{margin:0 0 10px}.has-tabo-global-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.has-tabo-global-grid label span{display:block;font-weight:700;margin-bottom:5px}
.has-tabo-table-scroll{overflow-x:auto}.has-tabo-table{width:100%;border-collapse:collapse}.has-tabo-table th,.has-tabo-table td{border:1px solid #e5e5e5;padding:8px;vertical-align:top}.has-tabo-table th{background:#fafafa;text-align:left}.has-tabo-table input,.has-tabo-table select,.has-tabo-table textarea,.has-tabo-global input,.has-tabo-global select,.has-tabo-global textarea{width:100%;box-sizing:border-box;min-height:38px}.has-tabo-table textarea{min-height:54px}.has-tabo-qty{max-width:80px}.has-tabo-remove-row{min-width:38px}.has-tabo-radio-wrap label{display:block;margin:3px 0}.has-tabo-summary{margin-top:12px;padding:10px 12px;background:#fafafa;border-radius:10px}.has-tabo-small{font-size:.9em;color:#666;margin-bottom:0}
@media(max-width:700px){.has-tabo-wrap{padding:12px}.has-tabo-table th,.has-tabo-table td{min-width:160px}.has-tabo-table th:first-child,.has-tabo-table td:first-child{min-width:75px}.has-tabo-table th:last-child,.has-tabo-table td:last-child{min-width:50px}}

.has-tabo-intro{font-size:1rem;color:#444;margin:0 0 14px;line-height:1.45}.has-tabo-step{margin-top:16px}.has-tabo-step-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.has-tabo-step-head strong{display:block;color:#666;font-size:.85rem;text-transform:uppercase;letter-spacing:.04em}.has-tabo-step-head h4{margin:2px 0 0;font-size:1.15rem}.has-tabo-pill{display:inline-flex;align-items:center;gap:5px;background:#f3f4f6;border-radius:999px;padding:7px 12px;font-size:.95rem}.has-tabo-size-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:12px;margin:12px 0 16px}.has-tabo-size-card{display:block;border:1px solid #ddd;border-radius:12px;padding:12px;background:#fff;box-shadow:0 3px 10px rgba(0,0,0,.035)}.has-tabo-size-name{display:block;font-weight:800;font-size:1.05rem;margin-bottom:2px}.has-tabo-size-price{display:block;color:#666;font-size:.86rem;margin-bottom:8px}.has-tabo-size-card input{width:100%;min-height:42px;font-size:1.05rem;text-align:center;box-sizing:border-box}.has-tabo-next{font-size:1rem;padding:10px 18px!important}.has-tabo-roster-message{padding:10px 12px;background:#f7f7f7;border-radius:10px;margin-bottom:12px}.has-tabo-row-num{font-weight:800;text-align:center}.has-tabo-size-display{display:inline-block;padding:7px 10px;background:#f3f4f6;border-radius:8px;min-width:52px;text-align:center}.has-tabo-roster-table th:first-child,.has-tabo-roster-table td:first-child{width:48px;min-width:48px}.has-tabo-roster-table th:nth-child(2),.has-tabo-roster-table td:nth-child(2){width:90px;min-width:90px}.has-tabo-back{white-space:nowrap}
@media(max-width:700px){.has-tabo-step-head{align-items:flex-start;flex-direction:column}.has-tabo-size-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.has-tabo-roster-table th,.has-tabo-roster-table td{min-width:150px}.has-tabo-roster-table th:first-child,.has-tabo-roster-table td:first-child{min-width:48px}.has-tabo-roster-table th:nth-child(2),.has-tabo-roster-table td:nth-child(2){min-width:90px}}

/* Hide WooCommerce's normal quantity box on products using this bulk-order builder. The builder controls quantity from the size/roster table instead. */
.has-tabo-cart-form > .quantity,
.has-tabo-cart-form div.quantity:not(.has-tabo-keep-qty){display:none!important;}
.has-tabo-cart-form .single_add_to_cart_button{margin-left:0!important;}

.has-tabo-cart-form .single_add_to_cart_button.has-tabo-button-hidden{display:none!important;}


/* Hide product-page express checkout buttons/messages on HAS bulk-order products only. They confuse this workflow and can bypass the roster builder. */
body.has-tabo-product .wc-ppcp-product-payments,
body.has-tabo-product .wc-ppcp-product-button,
body.has-tabo-product .wc-ppcp-product-pay-later-msg,
body.has-tabo-product .ppc-button-wrapper,
body.has-tabo-product .paypal-button-container,
body.has-tabo-product .paypal-buttons,
body.has-tabo-product #ppc-button,
body.has-tabo-product #ppcp-messages,
body.has-tabo-product .woocommerce_ppcp_paypal_button,
body.has-tabo-product .woocommerce_ppcp_product_paylater_message,
body.has-tabo-product .product .paypal-button,
body.has-tabo-product .product .venmo-button{display:none!important;}

body.has-tabo-product .ppcp-messages,
body.has-tabo-product .paypal-messages,
body.has-tabo-product [data-pp-message],
body.has-tabo-product div[id^="zoid-paypal-message"],
body.has-tabo-product iframe[title*="PayPal"],
body.has-tabo-product iframe[title*="paypal"]{display:none!important;}


.has-tabo-cart-meta-block { display: block; margin-top: 4px; line-height: 1.45; }
.has-tabo-cart-meta-line { display: block; margin: 1px 0; }
.has-tabo-cart-meta-line strong { font-weight: 600; }

/* Force HAS cart details to appear one per line even when a theme tries to flatten WooCommerce item meta. */
.has-tabo-cart-meta-block{display:block!important;margin-top:4px!important;line-height:1.45!important;white-space:normal!important;}
.has-tabo-cart-meta-line{display:block!important;margin:1px 0!important;white-space:normal!important;}
.has-tabo-cart-meta-line strong{font-weight:600!important;}
.woocommerce-cart .has-tabo-cart-meta-block br,
.woocommerce-checkout .has-tabo-cart-meta-block br{display:block!important;content:""!important;margin:1px 0!important;}
.has-tabo-locked-qty{display:inline-block;font-weight:700;min-width:24px;text-align:center;}
.has-tabo-remove-locked{display:inline-block;font-size:12px;font-weight:700;opacity:.7;cursor:not-allowed;}

.has-tabo-field-price-hint {
    display: inline-block;
    margin-top: 3px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.8;
    text-transform: none;
}

.has-tabo-combo-notice {
    margin: 10px 0 12px;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 8px;
    background: rgba(0,0,0,.035);
    font-size: 14px;
}

.has-tabo-combo-notice ul {
    margin: 6px 0 0 18px;
}

.has-tabo-combo-notice li {
    margin: 2px 0;
}
