/* ============================================
   CHEF BUNDLES – PREMIUM REDESIGN (Mockup Version)
   ============================================ */

.chef-bundles-section {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* ============================================
   B2G1 LIMITED OFFER SECTION
   ============================================ */
.b2g1-limited-section {
    margin-top: 30px;
    margin-bottom: 20px;
}


.b2g1-box {
    background: #fff;
    border: 1px solid #e8e4db;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.b2g1-offer-title {
    font-size: 19px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 15px 0 !important;
    text-align: left;
}

.b2g1-selection-row {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fcfbfa;
    border: 1px solid #f0ecdf;
    padding: 15px 20px;
    border-radius: 10px;
    flex-wrap: wrap;
}

/* Styling remains the same as previous premium design */
.b2g1-premium-box {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    /* box-shadow: 0 15px 45px rgba(0,0,0,0.2); */
}

.b2g1-inner {
    position: relative;
    z-index: 5;
}

.b2g1-circle-overlay {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: #fff700;
    opacity: 0.06;
    border-radius: 50%;
    pointer-events: none;
}

.b2g1-promo-badge {
    background: #cb252b;
    color: #fff;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.8px;
}

.b2g1-main-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.b2g1-sub-desc {
    color: #bbb;
    font-size: 12px;
    margin: 0 0 16px 0;
}

.b2g1-pricing-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.b2g1-old-p {
    color: #888;
    text-decoration: line-through;
    font-size: 16px;
}

.b2g1-new-p {
    color: #Ffd700;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-left: 5px;
}

.b2g1-save-badge {
    background: rgba(22, 163, 74, 0.15);
    color: #27AE60;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.b2g1-submit-btn {
    background: #Ffd700;
    color: #000;
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cb-radio-wrapper {
    display: flex;
    align-items: center;
}

.b2g1-price-display {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* .b2g1-old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    line-height: 1;
}

.b2g1-new-price {
    font-size: 24px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.2;
} */


.b2g1-submit-btn:hover {
    background: #ffe44d;
}

@media (max-width: 600px) {
    .b2g1-selection-row {
        gap: 15px;
    }

    .b2g1-buy-now {
        width: 100%;
        justify-content: center;
    }
}

.cb-wrapper {
    background-color: #fcfbfa;
    /* Light warm cream */
    border: 2px solid #eeeeee;
    border-radius: 16px;
    padding: 24px;
}

/* --- Header Section --- */
.cb-header {
    margin-bottom: 12px;
}

.cb-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.cb-title {
    font-size: 20px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 !important;
    letter-spacing: -0.5px;
}

.cb-spring-sale {
    background: #16a34a;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

.cb-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0 0 15px 0 !important;
}

.cb-header-divider {
    border: none;
    border-top: 1px solid #e8e4db;
    margin: 0 0 20px 0;
}

/* --- Cards Container --- */
.cb-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- Individual Card --- */
.cb-card {
    background: #fff;
    border: 2px solid #eeeeee;
    border-radius: 14px;
    padding: 20px;
    /* Reduced vertical padding */
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cb-card:hover {
    border-color: #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.cb-card.selected {
    border-color: #FFd700;
    box-shadow: 0 4px 20px rgba(255, 201, 40, 0.15);
}

/* Head Chef specific background */
.cb-card.selected {
    background-color: #fff8dc;
    box-shadow: 0 0 0 1px #ffd700, 0 2px 12px rgba(255, 215, 0, 0.15);
    /* Pale yellow tint */
}

/* Ribbons and Badges */
.cb-most-popular {
    position: absolute;
    top: -1px;
    right: -1px;
    background: #FFC928;
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 15px;
    border-radius: 0 10px 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    display: flex;
    align-items: center;
    line-height: 1;
}

.cb-card-badge {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.cb-card.bundle-head-chef .cb-card-badge {
    position: absolute;
    top: 21px;
    /* Perfectly sits flush under the 22px ribbon */
    right: 24px;
    /* Inset slightly so it looks "hung" */
    background: #c62828;
    border: none;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 12px;
    border-radius: 0 0 6px 6px;
    z-index: 2;
}

.bundle-head-chef .cb-card-top {
    /* Prevent title overlap with absolute badge */
    padding-right: 80px;
}

.bundle-head-chef,
.bundle-head-chef:hover {
    border-color: #ffd700;
}

/* Card Top Row */
.cb-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    /* Reduced margin */
}

.cb-card-title-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cb-radio {
    width: 17px;
    height: 17px;
    border: 2px solid #ccc;
    border-radius: 50%;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: 0.2s;
    display: none;
}

.cb-card.selected .cb-radio {
    border-color: #cca850;
}

.cb-card.selected .cb-radio::after {
    content: '';
    width: 9px;
    height: 9px;
    background: #cca850;
    border-radius: 50%;
}

.cb-card.bundle-head-chef.selected .cb-radio {
    border-color: #cca850;
}

.cb-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Card Middle Row (Grid) */
.cb-card-middle {
    display: grid;
    grid-template-columns: 1fr 30px 1fr;
    align-items: center;
    gap: 15px;
}

.cb-col-label {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.cb-buy .cb-col-label {
    color: #C62828
}

.cb-buy-text {
    font-size: 12px;
    font-weight: 400;
    color: #888;
    display: block;
}

.cb-icons {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}

.cb-icon-box {
    width: 28px;
    /* Slightly larger maybe better for images, keeping small to match previous SVGs */
    height: 28px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.cb-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-equals {
    text-align: center;
    font-size: 18px;
    color: #888;
    font-weight: 500;
}

.cb-free {
    /* background: #fffdf4;
    border: 1px solid #f2eab5; */
    border-radius: 8px;
    padding: 0px 15px;
    height: 100%;
}

.cb-free-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cb-free-list li {
    font-size: 14px;
    color: #16a34a;
    position: relative;
    padding-left: 12px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cb-free-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 800;
}

/* Card Bottom Row */
.cb-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 12px;
    /* Reduced margin */
    padding-top: 12px;
    /* Reduced padding */
    border-top: 1px solid #f0f0f0;
}

.cb-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.cb-old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.cb-new-price {
    font-size: 20px;
    /* Reduced font size */
    font-weight: 900;
    color: #1a1a1a;
}

.cb-save-text {
    font-size: 15px;
    font-weight: 600;
    color: #16a34a;
}

/* CTA and Badges */
.cb-add-to-cart {
    width: 100%;
    margin-top: 25px;
    padding: 12px;
    background: #ffd700;
    border: 1px solid #e0dcd3;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 12px; */
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.4;
    pointer-events: none;
}

.cb-add-to-cart.active {
    opacity: 1;
    pointer-events: auto;
    background: #ffe44d;
    border-color: #ffe44d;
    color: #111;
}

.cb-add-to-cart.active:hover {
    background: #ffe44d;
    border-color: #ffe44d;
}

.cb-arrow-circle {
    background: #FFC928;
    color: #111;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 900;
}

.cb-add-to-cart.loading {
    opacity: 0.7;
    pointer-events: none;
}

.cb-trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.cb-trust-badges span {
    font-size: 11px;
    color: #888;
    display: flex;
    align-items: center;
    /* gap: 5px; */
    font-weight: 600;
}

/* .cb-trust-badges span::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: #999;
    border-radius: 50%;
} */

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .cb-wrapper {
        padding: 15px 12px;
    }

    .cb-title {
        font-size: 22px;
    }

    .cb-card {
        padding: 10px 12px;
    }

    .cb-card-title {
        font-size: 15px;
    }

    .cb-card-middle {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cb-buy-text {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .cb-free {
        padding: 8px 12px;
        margin-top: 2px;
    }

    .cb-free-list li {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .cb-card-bottom {
        margin-top: 8px;
        padding-top: 8px;
    }

    .cb-new-price {
        font-size: 17px;
    }

    .cb-save-text {
        font-size: 13px;
    }

    .cb-equals {
        display: none;
    }
    
    .cb-add-to-cart {
        padding: 14px;
        margin-top: 15px;
        font-size: 14px;
    }
}

/* bundle redesign css */
.premium-purchase-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 25px;
    margin: 20px 0;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.ppc-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ppc-price .woocommerce-Price-amount {
    font-size: 38px;
    font-weight: 800;
    color: #1a1a1a;
}

.ppc-stock-badge {
    background: #E8F8F0;
    color: #27AE60;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ppc-dot {
    width: 6px;
    height: 6px;
    background: #27AE60;
    border-radius: 50%;
}

.ppc-shipping {
    color: #777;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.ppc-action-row .cart {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Quantity Selector Styling */
.ppc-qty-wrapper {
    display: flex;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 4px;
    border: 1px solid #efefef;
}

.ppc-qty-btn {
    border: none;
    background: none;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 18px;
    color: #555;
    font-weight: 600;
}

.ppc-qty-input {
    border: none !important;
    background: none !important;
    width: 40px !important;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    padding: 0 !important;
}

/* Yellow Button Styling */
.ppc-add-to-cart-btn {
    flex: 1;
    background: #FCD12A !important;
    color: #000 !important;
    border: none;
    padding: 16px !important;
    border-radius: 14px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-transform: none !important;
}

/* Trust Badges */
.ppc-trust-row {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
    gap: 10px;
}

.ppc-trust-item {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

/* Remove default Qty selector from variations if needed */
.woocommerce-variation-add-to-cart .quantity {
    display: none !important;
}