.wc-by-two-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
@media (max-width: 768px) {
    .wc-by-two-options {
        flex-direction: column;
        gap: 15px;
    }
}
.wc-by-two-option {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.1s ease;
    background: #fff;
    flex: 0 0 100%;
}
.wc-by-two-options-container .select_arrow {
    display: none !important;
}
.wc-by-two-options-container .wcpa_form_outer .wcpa_form_item select {
    padding: 7px 25px 7px 7px;
    border-radius: 4px;
    border: none;
    box-shadow: inset 0 0 0 1px rgba(223, 202, 186, 0.3);
    -moz-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #000;
    border: unset !important;
    font-style: normal;
    font-family: system-ui;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nNCcgdmlld0JveD0nMCAwIDEwIDQnIGZpbGw9J25vbmUnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTUgNEwwLjY2OTg3MiAwLjI1TDkuMzMwMTMgMC4yNDk5OTlMNSA0WicgZmlsbD0nYmxhY2snLz48L3N2Zz4=);
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center right 8px;
    margin-bottom: 0;
    display: block;
}
.wc-by-two-option:hover {
    box-shadow: 0px 0px 0px 2px rgba(223, 202, 186, 0.5);
    border-color: transparent;
}
.wc-by-two-option:has(input:checked) {
    box-shadow: 0px 0px 0px 2px rgba(223, 202, 186, 1);
    border-color: transparent;
}
.option-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.wc-by-two-product-set[data-product="2"] .wcpa_row .wcpa_helptext ,
.wc-by-two-product-set[data-product="2"] label{
    display: none;
}
.cart.custom_bundle .wcpa_price_summary,
.cart.custom_bundle .quantity-wrap {
    display: none !important;
}
.wcpa_form_outer .wcpa_row .wcpa_type_select{
  max-width: 505px;
}
.wc-by-two-product-set[data-product="2"] .wcpa_row{
    padding-top: 8px;   
}
.option-left input[type="radio"] {
    margin: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #000 !important;
}
.option-left .option-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #000;
}
.option-left .option-title-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 8px;
    flex: 0 0 50%;
}
.wc-by-two-options-container .wcpa_form_outer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}
.wc-by-two-option .option-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.wc-by-two-option .option-right .price-sale {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    color: #000;
}
.wc-by-two-option .option-right .price-regular {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: #555;
}
.wc-by-two-option .option-right .price-regular del {
    text-decoration: line-through;
}
.wc-by-two-options .savings-badge-top {
    position: absolute;
    top: -10px;
    right: 10px;
    padding: 6px 12px;
    z-index: 10;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    font-family: sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background-color: #000;
}
.wc-by-two-options .savings-badge-top::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-bottom: 8px solid #000;
    filter: brightness(.7);
    left: -8px;
    border-left: 8px solid transparent;
}
.wc-by-two-options .savings-badge-top::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-bottom: 8px solid #000;
    filter: brightness(.7);
    right: -8px;
    border-right: 8px solid transparent;
}
.wc-by-two-options .popular-badge {
    position: absolute;
    top: -35px;
    right: -20px;
    z-index: 10;
}
.wc-by-two-options .save-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    vertical-align: top;
    padding: 4px 8px;
    overflow-wrap: break-word;
    background-color: #dfcaba;
    color: #000;
    font-size: 12px;
    border-radius: 8px;
    line-height: 17px;
}
.wc-by-two-options .save-percent {
    overflow-wrap: break-word;
    font-size: 14px;
    color: #555555;
}
.wc-by-two-option .wc-by-two-options-container {
    width: 100%;
}
.wc-by-two-option label {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #555;
    margin-bottom: 0;
}
.original-price {
    text-decoration: line-through;
    color: #999 !important;
}

.discount-price {
    color: #e74c3c !important;
    font-weight: bold;
}

.discount-badge {
    background: #e74c3c;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    margin-left: 8px;
    font-weight: bold;
}
.wc-by-two-product-2 {
    display: none;
    margin-top: 20px;
    padding: 20px;
    border: 2px solid #28a745;
    border-radius: 8px;
    background: #f8fff9;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.1);
}
.wc-by-two-product-2.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}
.wc-by-two-product-2 h3 {
    color: #28a745;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}
.wc-by-two-product-2 .description {
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
    font-size: 14px;
}
.wc-by-two-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}
.wc-by-two-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
}
.wc-by-two-notice {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-weight: bold;
    display: none;
    position: relative;
}
.wc-by-two-notice.success {
    background-color: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}
.wc-by-two-notice.error {
    background-color: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
}
.wcpa_form_outer input.error,
.wcpa_form_outer select.error,
.wcpa_form_outer textarea.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}
.error-message {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #dc3545;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.single_add_to_cart_button.loading {
    position: relative;
    color: transparent !important;
}
.single_add_to_cart_button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.woocommerce-cart-form .cart_item .product-name {
    font-weight: bold;
}
.woocommerce-cart-form .cart_item .variation {
    font-size: 0.9em;
    color: #666;
}
.woocommerce-cart-form .cart_item .variation dt {
    font-weight: bold;
    margin-right: 5px;
}
.woocommerce-cart-form .cart_item .variation dd {
    margin: 0;
}
.custom_bundle .wc-by-two-selector{
    padding: 15px 0;
}

/* Price display inside option */
.wc-by-two-price-display {
    margin-top: 10px;
    padding: 12px;
    background: #f0f8ff;
    border-radius: 4px;
    border-left: 3px solid #0073aa;
}

.wc-by-two-price-display .price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wc-by-two-price-display .regular-price-line {
    font-size: 14px;
    color: #999;
}

.wc-by-two-price-display .regular-price-line del {
    text-decoration: line-through;
}

.wc-by-two-price-display .sale-price-line {
    font-size: 18px;
    color: #0073aa;
    font-weight: bold;
}

/* Savings row with 2 columns */
.wc-by-two-price-display .savings-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 5px;
}

.wc-by-two-price-display .savings-amount {
    font-size: 13px;
    color: #28a745;
    font-weight: 600;
    padding: 5px 10px;
    background: #d4edda;
    border-radius: 3px;
    flex: 1;
}

.wc-by-two-price-display .savings-percent {
    font-size: 13px;
    color: #fff;
    font-weight: 700;
    padding: 5px 10px;
    background: #e74c3c;
    border-radius: 3px;
    white-space: nowrap;
}

.wc-by-two-price-display div {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.wc-by-two-price-display strong {
    font-size: 16px;
    color: #0073aa;
    display: block;
    margin-top: 5px;
}

.wc-by-two-option:has(input[value="2"]) .wc-by-two-price-display {
    border-left-color: #28a745;
}

.wc-by-two-option:has(input[value="2"]) .wc-by-two-price-display .sale-price-line {
    color: #28a745;
}

.wc-by-two-option:has(input[value="2"]) .wc-by-two-price-display strong {
    color: #28a745;
}
form.custom_bundle .wc-by-two-title{
    font-size: 14px;
    text-align: center;
    font-weight: 700;
    line-height: 20px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}
form.custom_bundle .wc-by-two-title:before,
form.custom_bundle .wc-by-two-title:after
{
    content: '';
    display: block;
    height: 2px;
    flex-grow: 1;
    background: rgba(223, 202, 186, 0.3);
}
form.custom_bundle .wc-by-two-countdown{
    font-size: 13px;
    text-align: center;
    font-weight: 700;
    line-height: 18px;
    padding: 10px 20px;
    background: #dfcaba;
    border-radius: 8px;
    margin-bottom: 12px;
}
@media (max-width: 550px) {
    .wc-by-two-option .option-right .price-regular {
        font-size: 14px;
    }
    .wc-by-two-option .option-right .price-sale {
        font-size: 20px;
    }
}