/* ExactPrep custom styles (added 2026-10-12). Loaded after style.css / style2.css. */

/* ---------- Exam page: PACKAGES FEATURES bullet points ---------- */
#feature .feature-box ul {
    list-style: disc;
    padding-left: 22px;
}
#feature .feature-box li {
    margin-bottom: 6px;
    line-height: 1.6;
}
/* theme sets span/a to inline-block, which pushed text away from its bullet */
#feature .feature-box li span,
#feature .feature-box li a,
#feature .feature-box li b {
    display: inline;
}
#feature .feature-box li br {
    display: none;
}
#feature .feature-box li::marker {
    color: #1A67C1;
}
#feature .feature-box a {
    color: #1A67C1;
    text-decoration: underline;
}

/* ---------- Exam page: similar exams ---------- */
.similar-exams {
    padding: 40px 0 60px;
}
.similar-exams h2 {
    border-bottom: 1px solid #CCC;
    color: #FF6600;
}

/* ---------- Exam page: price / Add to cart / Free Samples panel stays visible while scrolling (desktop) ---------- */
@media (min-width: 992px) {
    .buy-box {
        position: sticky;
        top: 130px; /* below the 109-113px menu bar that sticks to the top while scrolling */
    }
}

/* ---------- Phones and tablets ---------- */
@media (max-width: 991px) {
    /* Header floated over the page and covered the first lines of content */
    .header-area {
        position: relative;
    }
    /* Offer bar: fixed 30px rows overlapped when the text wrapped */
    .header-top .top-offer,
    .header-top .top-account {
        height: auto !important;
        text-align: center !important;
    }
    .header-top .top-offer {
        padding-top: 6px !important;
        font-size: 14px !important;
    }
    .header-top .top-offer img {
        width: 40px !important;
    }
    .header-top .top-account {
        padding-bottom: 8px;
    }
}

/* ---------- Mobile (phones) ---------- */
@media (max-width: 575px) {
    /* Decorative line under section headings is 333px wide starting at 36%: ran off the screen */
    .section-title::before {
        left: 0;
        width: 100%;
    }

    /* PACKAGES FEATURES heading was wider than the screen */
    #feature .section-title .title {
        font-size: 24px;
        line-height: 30px;
        padding-right: 0;
    }
    #feature .section-title .title::before {
        display: none;
    }

    /* Price / Add to cart / Free Samples box: stays fixed near the bottom of the screen while scrolling.
       Prices side by side first, then Add to cart, then Free Samples (full width). */
    .buy-box {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        z-index: 990; /* below the header menu (999) and the mobile menu panel */
        margin: 0;
        padding: 12px;
        background: #F4FAFF;
        border: 1px solid #D6E9F8;
        border-radius: 10px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
        display: flex;
        flex-direction: column;
    }
    /* price first, then Add to cart, then Free Samples */
    .buy-box .price-row {
        order: -1;
        display: flex;
        gap: 10px;
    }
    .buy-box .price {
        flex: 1;
        margin-top: 0;
        padding: 8px 4px;
        border-radius: 6px;
        outline: none;
        background: #1A67C1;
    }
    .buy-box .price h4 {
        font-size: 20px;
        color: #fff;
    }
    .buy-box form .btn-large,
    .buy-box > .btn-large {
        margin-top: 10px !important;
        padding: 10px;
        font-size: 16px;
    }
    /* keep the end of the page (footer) visible above the box */
    body:has(.buy-box) {
        padding-bottom: 230px;
    }
    /* move the "back to top" button above the box */
    body:has(.buy-box) .back-to-top {
        bottom: 225px;
    }

    /* Register / On-demand forms: fixed 450px boxes and 500px country dropdown */
    .form-bg,
    .form-info-container {
        width: 100%;
        max-width: 450px;
    }
    .form-info-container {
        padding: 0 15px;
    }
    .select2-container,
    .select2-container .selection,
    .select2-container .select2-selection {
        max-width: 100%;
    }
    .select2-container .select2-selection {
        width: 100% !important;
    }

    /* Homepage banner: fixed 600px height made the slider overlap "Here is our Top Exams" */
    .home-hero {
        height: auto !important;
        padding: 20px 0 30px !important;
    }
    .home-hero-list {
        padding-top: 0 !important;
        font-size: 15px !important;
        margin-bottom: 20px;
    }
}
