/* EKOTRAPP Bulk Purchase Rules v1.0.0 */
.product .variations_form,
.product form.cart .variations,
.product form.cart .single_variation_wrap,
.product form.cart:not(.grouped_form) {
    display: none !important;
}

body.single-product .woostify-sticky-add-to-cart,
body.single-product .woostify-sticky-footer-bar,
body.single-product .woostify-sticky-atc,
body.single-product .sticky-add-to-cart,
body.single-product .sticky-atc,
body.single-product .single-product-sticky,
body.single-product .product-sticky,
body.single-product [class*="sticky"][class*="add-to-cart"],
body.single-product [class*="sticky"][class*="cart"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.ekotrapp-v186 { margin: 18px 0 0; }
.ekotrapp-pills-header { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; margin-bottom: 14px; }
.ekotrapp-pill { padding: 9px 17px; border-radius: 999px; font-weight: 700; line-height: 1.25; box-shadow: 0 4px 12px rgba(0,0,0,0.06); white-space: normal; text-align: right; max-width: 100%; }
.ekotrapp-added-pill { background: rgba(255,255,255,.72); color: #111; border: 2px solid #d8dde5; backdrop-filter: blur(10px); }
.ekotrapp-added-pill small { display: inline; font-size: 12px; font-weight: 700; opacity: .72; }
.ekotrapp-added-pill.is-ready { background: rgba(17,17,17,.92); color: #fff; border-color: #111; }
.ekotrapp-math-card { width: min(100%, 430px); background: rgba(255,255,255,.42); backdrop-filter: blur(12px); border: 1px solid rgba(100,116,139,.28); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px rgba(15,23,42,.045); }
.ekotrapp-math-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 8px 14px; border-bottom: 1px solid rgba(15,23,42,.08); font-size: 13px; line-height: 1.2; }
.ekotrapp-math-row:last-child { border-bottom: none; }
.ekotrapp-math-row span { color: rgba(51,65,85,.88); font-weight: 650; }
.ekotrapp-math-row strong { color: #174a9c; font-weight: 850; white-space: nowrap; }
.ekotrapp-math-row [data-role="discount"] { color: #16a34a; }
.ekotrapp-math-row [data-role="next"] { color: #dc2626; }
.ekotrapp-math-total { background: rgba(248,250,252,.58); }
.ekotrapp-math-total span,
.ekotrapp-math-total strong { font-size: 14px; color: #174a9c; font-weight: 850; }
.ekotrapp-colors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 18px; }
.ekotrapp-single-grid { grid-template-columns: minmax(120px, 150px); justify-content: flex-start; }
.ekotrapp-color-card { text-align: center; }
.ekotrapp-image-container { position: relative; width: 115px; height: 115px; margin: 0 auto; }
.ekotrapp-square-image { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; display: block; background: #fff; }
.ekotrapp-qty-pill { position: absolute; top: 8px; right: 8px; background: #fff; color: #111; width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; box-shadow: 0 3px 10px rgba(0,0,0,0.18); }
.ekotrapp-qty-pill.has-qty { background: #111; color: #fff; }
.ekotrapp-qty-btn { position: absolute; bottom: -6px; width: 36px; height: 36px; background: #fff; border: 2px solid #ddd; border-radius: 999px; font-size: 21px; line-height: 1; font-weight: 800; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.12); display: flex; align-items: center; justify-content: center; padding: 0; }
.ekotrapp-qty-btn:hover { border-color: #111; }
.ekotrapp-minus { left: -7px; }
.ekotrapp-plus { right: -7px; }
.ekotrapp-color-name { margin-top: 12px; font-size: 14px; font-weight: 600; color: #333; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; }
.ekotrapp-add-btn { margin-top: 18px !important; width: 100%; min-height: 48px; border-radius: 999px !important; font-weight: 800 !important; transition: opacity .18s ease, transform .18s ease; }
.ekotrapp-add-btn:disabled { opacity: .45; cursor: not-allowed; }
.ekotrapp-add-btn:not(:disabled):active { transform: scale(.99); }
.ekotrapp-add-message { margin-top: 10px; font-size: 14px; font-weight: 600; text-align: center; }
.ekotrapp-add-message.is-error { color: #b91c1c; }
.ekotrapp-add-message.is-success { color: #166534; }
.ekotrapp-safe-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 880; min-height: 72px; padding: 10px 28px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); box-shadow: 0 -6px 24px rgba(0,0,0,.08); display: flex; align-items: center; justify-content: space-between; gap: 18px; transition: opacity .18s ease, transform .18s ease; }
body.single-product { padding-bottom: 86px; }
body.ekotrapp-sidecart-open .ekotrapp-safe-sticky,
body.woostify-cart-open .ekotrapp-safe-sticky,
body.xoo-wsc-cart-active .ekotrapp-safe-sticky,
body.woocommerce-mini-cart-open .ekotrapp-safe-sticky,
body.elementor-menu-cart--shown .ekotrapp-safe-sticky { opacity: 0 !important; pointer-events: none !important; transform: translateY(120%) !important; }
.ekotrapp-safe-sticky-left { display: flex; align-items: center; min-width: 0; gap: 14px; }
.ekotrapp-safe-sticky-left img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #fff; }
.ekotrapp-safe-sticky-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.ekotrapp-safe-sticky-info strong { font-size: 15px; font-weight: 700; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 520px; letter-spacing: .04em; }
.ekotrapp-safe-sticky-info span { font-size: 13px; color: #777; }
.ekotrapp-sticky-add-btn { min-width: 230px; height: 48px; border: none; border-radius: 999px; padding: 0 28px; background: #174a9c; color: #fff; font-weight: 800; cursor: pointer; transition: opacity .18s ease, transform .18s ease; }
.ekotrapp-sticky-add-btn:disabled { opacity: .45; cursor: not-allowed; background: #555; }
.ekotrapp-sticky-add-btn:not(:disabled):active { transform: scale(.98); }

.ekotrapp-readonly-qty { display: inline-flex; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px; background: #f3f4f6; color: #111827; font-weight: 800; align-items: center; justify-content: center; }
.ekotrapp-subtotal-stack { display: flex; flex-direction: column; gap: 3px; align-items: flex-end; line-height: 1.25; }
.ekotrapp-subtotal-initial-line { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.ekotrapp-subtotal-label { font-size: 12px; color: #777; font-weight: 600; }
.ekotrapp-subtotal-amount { font-size: 16px; color: #174a9c; font-weight: 800; }
.ekotrapp-mini-cart-breakdown { width: 100%; margin: 8px 0 16px; padding: 12px 0 0; border-top: 1px solid rgba(0,0,0,.12); display: flex; flex-direction: column; gap: 8px; }
.ekotrapp-mini-cart-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; line-height: 1.25; }
.ekotrapp-mini-cart-row span { color: #555; font-weight: 600; }
.ekotrapp-mini-cart-row small { font-size: 12px; color: #888; }
.ekotrapp-mini-cart-row strong { color: #174a9c; font-weight: 900; white-space: nowrap; }
.ekotrapp-mini-cart-row-discount strong { color: #888; }
.ekotrapp-mini-cart-row-total { padding-top: 6px; border-top: 1px solid rgba(0,0,0,.08); }
.ekotrapp-mini-cart-row-total span,
.ekotrapp-mini-cart-row-total strong { font-size: 16px; color: #174a9c; font-weight: 900; }
.woocommerce-mini-cart__total.total { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(0,0,0,.12); padding-top: 14px; margin-top: 14px; }
.woocommerce-mini-cart__total.total strong:first-child { font-weight: 800; color: #333; letter-spacing: .04em; text-transform: uppercase; }
.woocommerce-checkout-review-order-table tr.fee th,
.woocommerce-checkout-review-order-table tr.fee td,
.cart_totals tr.fee th,
.cart_totals tr.fee td { color: #888; font-weight: 700; }
.woocommerce-checkout-review-order-table tr.fee td,
.cart_totals tr.fee td { text-align: right; }
.ekotrapp-discounted-subtotal-row th,
.ekotrapp-discounted-subtotal-row td { color: #174a9c !important; font-weight: 800 !important; }
.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td,
.cart_totals tr.order-total th,
.cart_totals tr.order-total td { padding-top: 18px; }
.woocommerce-checkout-review-order-table tr.order-total .amount,
.cart_totals tr.order-total .amount { color: #174a9c; font-weight: 900; }

.ekotrapp-bulk-alert { background: #fff8e6; border: 1px solid #f1d38a; border-radius: 14px; color: #32210a; padding: 14px; margin: 12px 0; font-size: 14px; line-height: 1.35; }
.ekotrapp-bulk-alert strong { display: block; margin-bottom: 6px; font-weight: 850; }
.ekotrapp-bulk-alert p { margin: 6px 0 10px; }
.ekotrapp-bulk-alert .button,
.ekotrapp-bulk-add-color { display: inline-flex !important; align-items: center; justify-content: center; min-height: 36px; padding: 8px 14px !important; border-radius: 999px !important; background: #174a9c !important; border: 0 !important; color: #fff !important; font-weight: 800 !important; text-decoration: none !important; }
.ekotrapp-bulk-alert-cart { padding: 18px; margin: 18px 0; }
.ekotrapp-bulk-alert-cart h3 { margin: 0 0 12px; font-size: 20px; }
.ekotrapp-bulk-alert-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(0,0,0,.08); }
.ekotrapp-bulk-alert-row:first-of-type { border-top: 0; }
.ekotrapp-bulk-alert-row span { display: block; margin-top: 3px; color: #654; }
.ekotrapp-bulk-checkout-disabled { opacity: .45 !important; cursor: not-allowed !important; pointer-events: auto !important; }
.ekotrapp-bulk-removing { opacity: .35 !important; pointer-events: none !important; }

@media (min-width: 992px) {
    body.single-product .woocommerce-breadcrumb,
    body.single-product .woostify-breadcrumb,
    body.single-product .site-breadcrumb { margin-top: 8px !important; margin-bottom: 12px !important; padding-top: 0 !important; padding-bottom: 0 !important; font-size: 13px !important; line-height: 1.25 !important; }
    body.single-product div.product .summary,
    body.single-product .summary.entry-summary { padding-top: 0 !important; margin-top: 0 !important; }
    body.single-product div.product .product_title,
    body.single-product .summary.entry-summary .product_title { margin-top: 0 !important; margin-bottom: 8px !important; font-size: 25px !important; line-height: 1.12 !important; letter-spacing: .05em; }
    body.single-product div.product p.price,
    body.single-product div.product span.price,
    body.single-product .summary.entry-summary .price { margin-top: 0 !important; margin-bottom: 12px !important; font-size: 22px !important; line-height: 1.2 !important; }
    body.single-product div.product .woocommerce-product-gallery__image img,
    body.single-product .product-gallery img,
    body.single-product .woocommerce-product-gallery img { max-height: calc(100vh - 235px) !important; object-fit: contain !important; }
    body.single-product .flex-control-thumbs img { width: 62px !important; height: 62px !important; object-fit: contain !important; }
    .ekotrapp-v186 { --ek-card-size: 82px; --ek-btn-size: 28px; --ek-qty-size: 25px; margin: 8px 0 0 !important; }
    .ekotrapp-pills-header { margin-bottom: 10px !important; gap: 7px !important; }
    .ekotrapp-pill { padding: 7px 14px !important; font-size: 13px !important; line-height: 1.18 !important; }
    .ekotrapp-math-card { max-width: 390px !important; border-radius: 15px !important; }
    .ekotrapp-math-row { padding: 7px 12px !important; font-size: 12px !important; }
    .ekotrapp-math-total span,
    .ekotrapp-math-total strong { font-size: 13px !important; }
    .ekotrapp-colors-grid { grid-template-columns: repeat(5, minmax(82px, 1fr)) !important; gap: 10px 12px !important; align-items: start; }
    .ekotrapp-single-grid { grid-template-columns: minmax(84px, 110px) !important; justify-content: flex-start !important; }
    .ekotrapp-image-container { width: var(--ek-card-size) !important; height: var(--ek-card-size) !important; }
    .ekotrapp-square-image { border-radius: 13px !important; }
    .ekotrapp-qty-pill { width: var(--ek-qty-size) !important; height: var(--ek-qty-size) !important; top: 5px !important; right: 5px !important; font-size: 12px !important; }
    .ekotrapp-qty-btn { width: var(--ek-btn-size) !important; height: var(--ek-btn-size) !important; bottom: -5px !important; font-size: 17px !important; }
    .ekotrapp-minus { left: -5px !important; }
    .ekotrapp-plus { right: -5px !important; }
    .ekotrapp-color-name { margin-top: 8px !important; font-size: 12px !important; line-height: 1.12 !important; letter-spacing: .03em; }
    .ekotrapp-add-btn { min-height: 42px !important; margin-top: 11px !important; font-size: 14px !important; }
}

@media (min-width: 992px) and (max-height: 760px) {
    body.single-product div.product .product_title,
    body.single-product .summary.entry-summary .product_title { font-size: 23px !important; margin-bottom: 6px !important; }
    body.single-product div.product p.price,
    body.single-product div.product span.price,
    body.single-product .summary.entry-summary .price { font-size: 20px !important; margin-bottom: 8px !important; }
    body.single-product div.product .woocommerce-product-gallery__image img,
    body.single-product .product-gallery img { max-height: calc(100vh - 220px) !important; }
    .ekotrapp-v186 { --ek-card-size: 76px; --ek-btn-size: 26px; --ek-qty-size: 23px; }
    .ekotrapp-colors-grid { grid-template-columns: repeat(5, minmax(78px, 1fr)) !important; gap: 8px 10px !important; }
    .ekotrapp-single-grid { grid-template-columns: minmax(78px, 105px) !important; }
    .ekotrapp-color-name { margin-top: 7px !important; font-size: 11.5px !important; }
    .ekotrapp-add-btn { min-height: 39px !important; margin-top: 9px !important; }
}

@media (max-width: 480px) {
    body.single-product { padding-bottom: 92px; }
    .ekotrapp-pills-header { align-items: stretch; }
    .ekotrapp-pill { text-align: center; }
    .ekotrapp-math-card { width: 100%; }
    .ekotrapp-math-row { padding: 8px 12px; font-size: 12.5px; }
    .ekotrapp-colors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
    .ekotrapp-single-grid { grid-template-columns: minmax(110px, 140px); }
    .ekotrapp-safe-sticky { min-height: 78px; padding: 10px 14px; gap: 10px; z-index: 9; }
    .ekotrapp-safe-sticky-left img { width: 46px; height: 46px; }
    .ekotrapp-safe-sticky-info strong { max-width: 150px; font-size: 13px; }
    .ekotrapp-safe-sticky-info span { font-size: 12px; }
    .ekotrapp-sticky-add-btn { min-width: 150px; height: 46px; padding: 0 16px; font-size: 13px; }
    .ekotrapp-bulk-alert-row { flex-direction: column; align-items: flex-start; }
}

.ekotrapp-safe-sticky { z-index: 1 !important; }
.product-group-btns { z-index: 0 !important; }

/* v1.0.2 - Modal de ajuste de paquete en carrito, sidecart y /carrito */
.ekotrapp-bulk-line-marker { display: none !important; }
html.ekotrapp-bulk-modal-open { overflow: hidden; }
.ekotrapp-bulk-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.ekotrapp-bulk-modal.is-open { display: flex; }
.ekotrapp-bulk-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .54);
    backdrop-filter: blur(7px);
}
.ekotrapp-bulk-modal-dialog {
    position: relative;
    width: min(1120px, calc(100vw - 36px));
    max-height: calc(100vh - 36px);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .36);
    border-radius: 26px;
    box-shadow: 0 28px 90px rgba(15, 23, 42, .30);
    padding: 22px;
    color: #0f172a;
    display: flex;
    flex-direction: column;
}
.ekotrapp-bulk-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 4;
}
.ekotrapp-bulk-modal-head {
    padding-right: 48px;
    margin-bottom: 14px;
    flex: 0 0 auto;
}
.ekotrapp-bulk-modal-kicker {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #174a9c;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ekotrapp-bulk-modal-head h3 {
    margin: 10px 0 4px;
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.02;
    color: #0f172a;
    font-weight: 850;
    letter-spacing: .03em;
}
.ekotrapp-bulk-modal-head p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.35;
}
.ekotrapp-bulk-modal-loading {
    padding: 26px;
    border-radius: 18px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    text-align: center;
}
.ekotrapp-bulk-modal-body {
    flex: 1 1 auto;
    min-height: 0;
}
.ekotrapp-bulk-rule-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.ekotrapp-bulk-rule-line span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}
.ekotrapp-bulk-rule-line strong { color: #174a9c; }
.ekotrapp-bulk-choices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 14px 16px;
    align-items: start;
    overflow: visible;
}
.ekotrapp-bulk-choice-card {
    position: relative;
    text-align: center;
    min-width: 0;
}
.ekotrapp-bulk-choice-image {
    position: relative;
    width: 118px;
    height: 118px;
    margin: 0 auto;
    border-radius: 20px;
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, .9);
}
.ekotrapp-bulk-choice-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 20px;
}
.ekotrapp-bulk-choice-pill {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
}
.ekotrapp-bulk-choice-pill.has-qty {
    background: #0f172a;
    color: #fff;
}
.ekotrapp-bulk-choice-minus,
.ekotrapp-bulk-choice-plus {
    position: absolute;
    bottom: -8px;
    width: 40px;
    height: 40px;
    border: 2px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .13);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.ekotrapp-bulk-choice-minus { left: -8px; }
.ekotrapp-bulk-choice-plus { right: -8px; }
.ekotrapp-bulk-choice-minus:hover,
.ekotrapp-bulk-choice-plus:hover {
    border-color: #174a9c;
    color: #174a9c;
}
.ekotrapp-bulk-choice-main {
    min-width: 0;
    margin-top: 13px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ekotrapp-bulk-choice-main strong {
    font-size: 13px;
    line-height: 1.15;
    color: #334155;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
    overflow-wrap: anywhere;
}
.ekotrapp-bulk-choice-current {
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
}
.ekotrapp-bulk-choice-qty { display: none !important; }
.ekotrapp-bulk-modal-summary {
    flex: 0 0 auto;
    margin-top: 16px;
    padding: 13px 15px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 14px;
}
.ekotrapp-bulk-modal-summary strong { font-size: 16px; font-weight: 950; }
.ekotrapp-bulk-modal-summary span { font-weight: 800; }
.ekotrapp-bulk-modal-summary.is-valid {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.ekotrapp-bulk-modal-summary.is-invalid {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
}
.ekotrapp-bulk-modal-actions {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}
.ekotrapp-bulk-modal-actions-main {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.ekotrapp-bulk-modal .button {
    min-height: 42px;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}
.ekotrapp-bulk-modal-save {
    background: #174a9c !important;
    border-color: #174a9c !important;
    color: #fff !important;
}
.ekotrapp-bulk-modal-save:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.ekotrapp-bulk-modal-delete {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #be123c !important;
}
.ekotrapp-bulk-checkout-disabled {
    opacity: .48 !important;
    cursor: not-allowed !important;
    pointer-events: auto !important;
}
@media (min-width: 1180px) {
    .ekotrapp-bulk-choices-grid { grid-template-columns: repeat(6, minmax(120px, 1fr)); }
    .ekotrapp-bulk-choice-image { width: 106px; height: 106px; }
}
@media (max-width: 760px) {
    .ekotrapp-bulk-modal {
        padding: 14px;
        align-items: center;
        justify-content: center;
    }

    .ekotrapp-bulk-modal-dialog {
        width: min(94vw, 430px);
        max-height: calc(100dvh - 28px);
        border-radius: 28px;
        padding: 16px 16px 14px;
        overflow: hidden;
        margin: 0 auto;
    }

    .ekotrapp-bulk-modal-close {
        top: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    .ekotrapp-bulk-modal-head {
        padding-right: 48px;
        margin-bottom: 10px;
    }

    .ekotrapp-bulk-modal-kicker {
        height: 24px;
        padding: 0 10px;
        font-size: 10px;
        letter-spacing: .10em;
    }

    .ekotrapp-bulk-modal-head h3 {
        font-size: clamp(24px, 8vw, 34px);
        line-height: .98;
        margin: 9px 0 4px;
        letter-spacing: .025em;
    }

    .ekotrapp-bulk-modal-head p {
        font-size: 14px;
        line-height: 1.22;
    }

    .ekotrapp-bulk-rule-line {
        gap: 8px;
        margin-bottom: 8px;
    }

    .ekotrapp-bulk-rule-line span {
        min-height: 28px;
        padding: 0 10px;
        font-size: 12px;
    }

    .ekotrapp-bulk-choices-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 8px;
        overflow: visible;
        max-height: none;
        padding: 0;
    }

    .ekotrapp-bulk-choice-image {
        width: min(25vw, 82px);
        height: min(25vw, 82px);
        max-width: 82px;
        max-height: 82px;
        border-radius: 16px;
    }

    .ekotrapp-bulk-choice-image img {
        border-radius: 16px;
    }

    .ekotrapp-bulk-choice-pill {
        top: -3px;
        right: -4px;
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .ekotrapp-bulk-choice-minus,
    .ekotrapp-bulk-choice-plus {
        width: 34px;
        height: 34px;
        bottom: -10px;
        font-size: 20px;
        border-width: 2px;
    }

    .ekotrapp-bulk-choice-minus { left: -7px; }
    .ekotrapp-bulk-choice-plus { right: -7px; }

    .ekotrapp-bulk-choice-main {
        margin-top: 10px;
        gap: 1px;
    }

    .ekotrapp-bulk-choice-main strong {
        font-size: 11px;
        line-height: 1.05;
        letter-spacing: .06em;
    }

    .ekotrapp-bulk-choice-current {
        font-size: 10.5px;
        line-height: 1.05;
    }

    .ekotrapp-bulk-modal-summary {
        margin-top: 10px;
        padding: 9px 11px;
        border-radius: 15px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 2px;
        font-size: 12px;
        line-height: 1.22;
    }

    .ekotrapp-bulk-modal-summary strong {
        font-size: 15px;
    }

    .ekotrapp-bulk-modal-actions {
        margin-top: 10px;
        padding-top: 10px;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 8px;
    }

    .ekotrapp-bulk-modal-actions-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .ekotrapp-bulk-modal .button {
        min-height: 42px;
        padding: 9px 12px !important;
        font-size: 14px !important;
    }

    .ekotrapp-bulk-modal-delete,
    .ekotrapp-bulk-modal .button { width: 100%; }
}

@media (max-width: 380px) {
    .ekotrapp-bulk-modal {
        padding: 10px;
    }

    .ekotrapp-bulk-modal-dialog {
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);
        padding: 14px 14px 12px;
    }

    .ekotrapp-bulk-modal-head h3 {
        font-size: 24px;
    }

    .ekotrapp-bulk-modal-head p {
        font-size: 13px;
    }

    .ekotrapp-bulk-choice-image {
        width: min(24vw, 72px);
        height: min(24vw, 72px);
    }

    .ekotrapp-bulk-choice-minus,
    .ekotrapp-bulk-choice-plus {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .ekotrapp-bulk-choice-main strong {
        font-size: 10px;
    }

    .ekotrapp-bulk-choice-current {
        display: none;
    }
}


/* v1.1.3 - modal scroll guard for products with many variations */
.ekotrapp-bulk-modal-dialog {
    height: auto;
    max-height: calc(100dvh - 36px);
}
.ekotrapp-bulk-modal-body {
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-right: 6px;
}
.ekotrapp-bulk-modal-body::-webkit-scrollbar { width: 8px; }
.ekotrapp-bulk-modal-body::-webkit-scrollbar-thumb { background: rgba(100, 116, 139, .35); border-radius: 999px; }
.ekotrapp-bulk-modal-actions,
.ekotrapp-bulk-modal-summary,
.ekotrapp-bulk-modal-head {
    flex: 0 0 auto;
}
@media (min-width: 761px) {
    .ekotrapp-bulk-modal-dialog {
        height: min(860px, calc(100dvh - 36px));
    }
    .ekotrapp-bulk-modal-head h3 {
        font-size: clamp(24px, 3vw, 34px);
    }
    .ekotrapp-bulk-choices-grid {
        padding-bottom: 12px;
    }
}
@media (max-width: 760px) {
    .ekotrapp-bulk-modal-body {
        padding-right: 3px;
    }
    .ekotrapp-bulk-modal-dialog {
        height: min(92dvh, calc(100dvh - 28px));
    }
}

/* v1.1.4 - stronger modal scroll + fixed action area */
.ekotrapp-bulk-modal.is-open {
    align-items: center !important;
}
.ekotrapp-bulk-modal-dialog {
    height: min(900px, calc(100dvh - 32px)) !important;
    max-height: calc(100dvh - 32px) !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto auto !important;
    overflow: hidden !important;
}
.ekotrapp-bulk-modal-head {
    grid-row: 1;
    margin-bottom: 10px !important;
}
.ekotrapp-bulk-modal-body {
    grid-row: 2;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-right: 8px !important;
    padding-bottom: 14px !important;
}
.ekotrapp-bulk-modal-summary {
    grid-row: 3;
    margin-top: 10px !important;
    position: relative;
    z-index: 4;
    background-clip: padding-box;
}
.ekotrapp-bulk-modal-actions {
    grid-row: 4;
    margin-top: 10px !important;
    padding-top: 10px !important;
    position: relative;
    z-index: 5;
    background: #fff;
}
.ekotrapp-bulk-modal .ekotrapp-bulk-choices-grid {
    overflow: visible !important;
    padding-bottom: 26px !important;
}
@media (min-width: 1180px) {
    .ekotrapp-bulk-modal .ekotrapp-bulk-choices-grid {
        grid-template-columns: repeat(6, minmax(104px, 1fr)) !important;
        gap: 12px 14px !important;
    }
    .ekotrapp-bulk-modal .ekotrapp-bulk-choice-image {
        width: 96px !important;
        height: 96px !important;
    }
    .ekotrapp-bulk-modal .ekotrapp-bulk-choice-main strong {
        font-size: 12px !important;
    }
}
@media (max-width: 760px) {
    .ekotrapp-bulk-modal-dialog {
        height: min(92dvh, calc(100dvh - 26px)) !important;
        max-height: calc(100dvh - 26px) !important;
    }
    .ekotrapp-bulk-modal-body {
        padding-right: 4px !important;
    }
}

/* v1.1.5 - modal scroll containment for products with many variations */
.ekotrapp-bulk-modal.is-open .ekotrapp-bulk-modal-dialog {
    height: min(92dvh, 900px) !important;
    max-height: calc(100dvh - 28px) !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto auto !important;
    overflow: hidden !important;
}
.ekotrapp-bulk-modal.is-open .ekotrapp-bulk-modal-body {
    min-height: 0 !important;
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding-right: 10px !important;
    padding-bottom: 110px !important;
    scrollbar-gutter: stable;
}
.ekotrapp-bulk-modal.is-open .ekotrapp-bulk-modal-summary,
.ekotrapp-bulk-modal.is-open .ekotrapp-bulk-modal-actions {
    position: relative !important;
    z-index: 20 !important;
    background: #fff !important;
    flex: 0 0 auto !important;
}
.ekotrapp-bulk-modal.is-open .ekotrapp-bulk-modal-actions {
    box-shadow: 0 -12px 24px rgba(255,255,255,.92) !important;
}
.ekotrapp-bulk-modal.is-open .ekotrapp-bulk-choices-grid {
    padding-bottom: 36px !important;
}
@media (min-width: 1180px) {
    .ekotrapp-bulk-modal.is-open .ekotrapp-bulk-choices-grid {
        grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)) !important;
        gap: 14px 16px !important;
    }
}
@media (max-width: 760px) {
    .ekotrapp-bulk-modal.is-open .ekotrapp-bulk-modal-dialog {
        height: min(92dvh, calc(100dvh - 24px)) !important;
    }
    .ekotrapp-bulk-modal.is-open .ekotrapp-bulk-modal-body {
        padding-bottom: 128px !important;
    }
}
