/* Simple cart styling for bundled items - just hide quantity controls */

/* Hide quantity controls for bundled items using JavaScript-added classes */
.bundled-item .wc-block-components-quantity-selector,
.bundled-item .quantity,
.bundled-item input[type="number"] {
    display: none !important;
}

/* Hide remove buttons for bundled items */
.bundled-item .wc-block-cart-item__remove-link,
.bundled-item .remove {
    display: none !important;
}

/* Style bundled items to look like child items */
.bundled-item {
    background: #f8f9fa !important;
    border-left: 4px solid #0073aa !important;
    margin-left: 20px !important;
    border-radius: 4px !important;
    padding-left: 15px !important;
}

/* Add "bundled item" indicator */
.bundled-item .wc-block-components-product-name::before,
.bundled-item .product-name a::before {
    content: "└ ";
    color: #0073aa;
    font-weight: bold;
    margin-right: 0.5em;
}

/* Show "Included in bundle" for price */
.bundled-item .wc-block-components-product-price .wc-block-components-product-price__value,
.bundled-item .product-price {
    color: #0073aa !important;
    font-style: italic !important;
}

.bundled-item .wc-block-components-product-price .wc-block-components-product-price__value::after,
.bundled-item .product-price::after {
    content: " (Included in bundle)";
    font-size: 0.8em;
    color: #666;
}

/* Alternative targeting by product URLs - fallback */
.wc-block-cart-items__row:has(a[href*="space-boys"]) .wc-block-components-quantity-selector,
.wc-block-cart-items__row:has(a[href*="lunch-bag"]) .wc-block-components-quantity-selector {
    display: none !important;
}

/* Traditional cart table support */
.shop_table .bundled-item .quantity input {
    display: none !important;
}

.shop_table .bundled-item td.product-remove a {
    display: none !important;
}

/* Additional bundled item styles */
.bundled-item .wc-block-components-product-badge.wc-block-components-sale-badge {
    display: none;
}

.bundled-item > td {
    padding: 5px 0 5px 30px !important;
}

.bundled-item * {
    margin: 0 !important;
}

.bundled-item .wc-block-components-product-metadata {
    display: none;
}

.bundled-item .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: none;
}