/* ==================== Bundle Banner ==================== */
.bundle-section { position: relative; }

.offer-box {
    background: linear-gradient(135deg, #f4f7fb 0%, #e8eef7 35%, #dce7f5 70%, #d5e1f2 100%);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.01);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: solid 1px #6E6E6E;
    border-bottom: 0;
}
.offer-box img { width: 180px; border-radius: 15px; }
.offer-content h3 { font-weight: 700; margin-bottom: 20px; font-size: 35px; }
.offer-content p  { color: #555; font-size: 1.2rem; margin-bottom: 2rem; }

.course-bundle-detail {
    background: #F7F9F4;
    padding: 30px;
    border-radius: 0 0 24px 24px;
    border: solid 1px #6E6E6E;
    border-top: 0;
}

/* ==================== Bundle Item Row ==================== */
.bundle-item {
    border-radius: 0;
    padding: 12px 16px;
    margin-bottom: 10px;
    direction: rtl;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: dotted 1px #BEBEBE;
}
.bundle-item .cwraper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 60%;
}
.bundle-item .image-name { flex: 2; display: flex; align-items: center; }
.bundle-item .grade      { flex: 1; text-align: center; }
.bundle-item .bprice     { flex: 1; text-align: center; }

.image-name img { width: 60px; height: 60px; border-radius: 5px; border: solid 1px #6E6E6E; }
.image-name span.title { font-size: 15px; font-weight: bold; margin-right: 20px; }
.image-name span.note  { font-size: 15px; font-weight: bold; color: var(--secondary-color); }

/* ==================== Teacher Radio Buttons ==================== */
.custom-radio {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 7px;
}
.custom-radio input { display: none; }
.radio-box {
    width: 21px;
    height: 21px;
    border: 2px solid #ff7a18;
    border-radius: 50%;
    position: relative;
 }
 /*
.radio-box::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    opacity: 0;
    transition: opacity 0.2s ease;
    width: 14px;
    height: 14px;
    background: #26B59D;
    border-radius: 50%;
} */
.custom-radio input:checked + .radio-box {     background: radial-gradient(circle, #26B59D 40%, transparent 41%);}

/* ==================== QB3 Include/Exclude Toggle (radio style) ==================== */
.qb3-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 0;
}

/* The radio circle — mirrors .radio-box */
.qb3-toggle-btn::before {
    content: "";
    display: inline-block;
    width: 21px;
    height: 21px;
    border: 2px solid #ff7a18;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Filled green dot = included */
.qb3-toggle-btn.qb3-included::before {
    background: radial-gradient(circle, #26B59D 40%, transparent 41%);
    border-color: #ff7a18;
}
.qb3-toggle-btn.qb3-included .inc-label { color: #26B59D; }

/* Empty red circle = excluded */
.qb3-toggle-btn.qb3-excluded::before {
    background: transparent;
    border-color: #dc3545;
}
.qb3-toggle-btn.qb3-excluded .exc-label { color: #dc3545; }

/* Dim excluded rows .bundle-item.qb3-row-excluded .titlesk,*/

.bundle-item.qb3-row-excluded .bprice {
    opacity: 0.35;
    text-decoration: line-through;
    transition: opacity 0.2s ease;
}

/* ==================== Section Headings ==================== */
.bundle-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #eaf0fb;
    border-radius: 8px;
    margin-bottom: 6px;
    margin-top: 10px;
    font-weight: 700;
    font-size: 15px;
    color: #2c4a8e;
    border-right: 4px solid #2c4a8e;
}
.bundle-section-heading.qb3-heading {
    background: #fff8f0;
    color: #c05a00;
    border: solid 1px #c05a00;
    border-right: solid 4px #c05a00;
}
.bundle-section-heading small {
    font-weight: 400;
    font-size: 12px;
    margin-right: 6px;
    opacity: 0.75;
}

/* "Exclude all" master button */
.qb3-toggle-all-btn {
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 14px;
    border: 2px solid #c05a00;
    background: transparent;
    color: #c05a00;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.qb3-toggle-all-btn:hover { background: #ff7a18; color: #fff; }

/* ==================== Price SAR icon ==================== */
.pricek svg { width: 16px; height: 16px; vertical-align: middle; }

/* ==================== Error highlight ==================== */
.highlight-error {
    animation: pulse-error 0.5s ease-in-out 2;
    border: 2px solid #dc3545 !important;
    border-radius: 8px;
}
@keyframes pulse-error {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220,53,69,0.4); }
    50%       { box-shadow: 0 0 0 10px rgba(220,53,69,0); }
}

/* ==================== Teachers wrapper ==================== */
.teacherwraper { display: flex; gap: 25px; }

/* ==================== Buttons ==================== */
a.btn.btn-orange { display: flex; align-items: center; }

/* ==================== Coupon ==================== */
.couponwrap span        { display: flex; }
.couponwrap span input  { border: 0; border-radius: 0 25px 25px 0; padding: 8px 20px; }
.couponwrap span button { border: 0; background: #ff7701; color: #fff; border-radius: 25px 0 0 25px; padding: 8px 20px; }

/* ==================== Bundle nav list ==================== */
.bundlelist {
    display: flex;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}
.bundlelist li {
    border-radius: 0;
    border: solid 2px #cecece;
    list-style: none;
    padding: 12px 30px;
    background: #fff;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.bundlelist li a { color: #333; text-decoration: none; }
.bundlelist li.active,
.bundlelist li:hover         { background: #ff6b35; border-color: #ff6b35; color: #fff; }
.bundlelist li.active a,
.bundlelist li:hover a       { color: #fff; }
.bundlelist li:first-of-type { border-radius: 0 20px 20px 0; border-left: 0; }
.bundlelist li:last-of-type  { border-radius: 20px 0 0 20px; border-right: 0; }

/* ==================== Misc ==================== */
html { scroll-behavior: auto !important; }
.bundlelist li.active a { transition: all 0.3s ease; }
.bpwraper { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }