/* Bundle & Save UI Container */
.wc-bundle-container {
    margin: 20px 0;
    font-family: inherit;
}

/* Flexbox Layout for Options */
.wc-bundle-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual Option styling */
.wc-bundle-option {
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.2s ease;
    user-select: none;
}

.wc-bundle-option:hover {
    border-color: #cbd5e1;
}

/* Selected State */
.wc-bundle-option.selected {
    border: 2px solid #7c3aed; /* Purple border */
    background-color: #f5f3ff; /* Very light purple background */
    padding: 15px; /* Adjust padding by 1px to prevent height jump from 2px border */
}

/* Content inside the option */
.wc-bundle-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left side */
.wc-bundle-left {
    display: flex;
    align-items: center;
}

/* Custom Radio */
.wc-bundle-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: inline-block;
    position: relative;
    margin-right: 12px;
}

.wc-bundle-option.selected .wc-bundle-radio {
    border-color: #7c3aed;
}

.wc-bundle-option.selected .wc-bundle-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #7c3aed;
    border-radius: 50%;
}

.wc-bundle-label {
    font-weight: 600;
    font-size: 16px;
    color: #1e293b;
}

/* Badge styling */
.wc-bundle-badge {
    background-color: #ede9fe;
    color: #7c3aed;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 10px;
}

/* Right side pricing */
.wc-bundle-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wc-bundle-price-current {
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
}

.wc-bundle-price-strike {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px;
}

.wc-bundle-price-strike del {
    color: #94a3b8;
}

/* WooCommerce price formatting override inside our block */
.wc-bundle-price-current .woocommerce-Price-amount, 
.wc-bundle-price-strike .woocommerce-Price-amount {
    font-weight: inherit;
    color: inherit;
    font-size: inherit;
}
