/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin-top: -12px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f2f0ec;
    color: #222;
}


/* =====================================================
   TOP LOGO BAR
===================================================== */

.top-logo-bar {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 10px 0;

    background: #ffffff;

    position: sticky;
    top: 0;

    z-index: 1000;

    border-bottom: 1px solid #eeeeee;
}

.top-logo {
    font-size: 24px;

    font-weight: 800;

    letter-spacing: 2px;

    color: #000000;
}

.top-logo span {
    color: #c92f2f;
}


/* =====================================================
   MAIN PAGE
===================================================== */

.page {
    width: 100%;
    max-width: 480px;

    margin: 20px auto 0;

    min-height: 100vh;

    background: #ffffff;

    box-shadow: 0 0 15px rgba(0, 0, 0, .12);
}


/* =====================================================
   POPULAR BADGE
===================================================== */

.popular {
     position: absolute;

    top: -12px;
    left: 50%;

    transform: translateX(-50%);

    background: #207943;

    color: #ffffff;

    border-radius: 50px;

    padding: 7px 10px;

    font-size: 10px;

    font-weight: bold;

    white-space: nowrap;

    z-index: 2;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    background: #111111;

    color: #ffffff;

    text-align: center;

    padding: 10px 12px 9px;
}

.header p {
    font-size: 12px;

    font-weight: bold;

    padding: 5px;
}

.header-subtitle {
    width: 100%;

    overflow: hidden;

    white-space: nowrap;

    font-size: 12px;

    color: #dddddd;

    margin-top: 4px;
}

.header-marquee {
    display: inline-block;

    white-space: nowrap;

    padding-left: 100%;

    border-right: 1px solid rgba(255, 255, 255, .35);

    animation: headerMarquee 12s linear infinite;
}

@keyframes headerMarquee {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* =====================================================
   OFFER BAR
===================================================== */

.offer-bar {
    width: 100%;

    background: #c92f2f;

    color: #ffffff;

    font-size: 12.5px;

    font-weight: bold;

    padding: 6px 0;

    overflow: hidden;

    white-space: nowrap;
}

.offer-marquee {
    width: 100%;

    overflow: hidden;

    height: 26px;

    line-height: 25px;
}

.offer-marquee-text {
    display: inline-block;

    white-space: nowrap;

    padding-left: 100%;

    animation: offerMarquee 12s linear infinite;
}

@keyframes offerMarquee {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* =====================================================
   EXTRA OFFER
===================================================== */

.extra-offer {
    text-align: center;

    font-size: 12px;

    font-weight: 700;

    color: rgb(26, 127, 60);

    margin-top: 18px;

    margin-bottom: 10px;
}


/* =====================================================
   MAIN CONTENT
===================================================== */

.content {
    padding: 10px 7px 18px;
}

.section-title {
    font-size: 11px;

    color: #666666;

    text-transform: uppercase;

    letter-spacing: .5px;

    margin: 5px 2px 7px;
}


/* =====================================================
   PACK CARD
===================================================== */

.pack-card {
    border: 1px solid #dddddd;

    border-radius: 8px;

    padding: 10px;

    margin-bottom: 7px;

    cursor: pointer;

    position: relative;

    background: #ffffff;

    transition: .2s;
}

.pack-card:hover {
    border-color: #c92f2f;
}

.pack-card.selected {
    border: 2px solid #3c9b4d;

    background: #fbfffb;
}


/* =====================================================
   PACK HEADER
===================================================== */

.pack-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 8px;
}

.radio-area {
    display: flex;

    gap: 7px;

    align-items: flex-start;

    min-width: 0;
}

.radio {
    width: 12px;
    height: 12px;

    border: 1px solid #aaaaaa;

    border-radius: 50%;

    margin-top: 2px;

    position: relative;

    flex-shrink: 0;
}

.pack-card.selected .radio {
    border-color: #329b45;

    background: #329b45;
}

.pack-card.selected .radio:after {

    content: "";

    width: 4px;
    height: 4px;

    background: #ffffff;

    position: absolute;

    border-radius: 50%;

    left: 3px;
    top: 3px;
}

.pack-title {
    font-size: 12px;

    font-weight: bold;
}

.pack-subtitle {
    font-size: 12px;

    color: #777777;

    margin-top: 3px;
}

.price-area {
    text-align: right;

    flex-shrink: 0;
}

.price {
    font-size: 15px;

    font-weight: bold;
}

.discount {
    font-size: 11px;

    background: #fff0bf;

    color: #7a5d00;

    padding: 2px 4px;

    border-radius: 2px;

    display: inline-block;

    margin-top: 3px;
}


/* =====================================================
   PRODUCT IMAGES
===================================================== */

.product-images {
    display: flex;

    gap: 7px;

    width: 100%;

    margin: 9px 0;

    padding: 5px;

    min-height: 150px;

    align-items: center;

    justify-content: center;

    background: #faf9f4;

    border-radius: 6px;

    overflow: hidden;
}

.product-images.single-image {
    display: flex;
}

.product-images.two-images {
    display: flex;
}

.product-image-box {
    width: 100%;

    height: 150px;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

    background: #ffffff;

    border-radius: 5px;

    flex: 1;
}

.product-images.two-images .product-image-box {
    width: 50%;

    flex: 1;
}

.product-image-box img {
    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

    display: block;

    padding: 5px;
}


/* =====================================================
   FEATURES
===================================================== */

.features {
    list-style: none;

    margin-top: 4px;
}

.features li {
    font-size: 13px;

    margin: 5px 0;

    color: #555555;
}

.features li::before {
    content: "✓";

    color: #248c3c;

    font-weight: bold;

    margin-right: 5px;
}


/* =====================================================
   BUY BUTTON
===================================================== */

.buy-button {
    width: 100%;

    border: none;

    background: #009414;

    color: #ffffff;

    font-size: 15px;

    font-weight: bold;

    border-radius: 6px;

    padding: 11px;

    cursor: pointer;

    margin-top: 4px;
}

.buy-button:hover {
    background: #087e18;
}

.delivery-text {
    font-size: 12px;

    color: #777777;

    text-align: center;

    margin-top: 6px;
}


/* =====================================================
   TRUST FEATURES
===================================================== */

.trust-row {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 5px;

    margin-top: 12px;
}

.trust-box {
    border: 1px solid #dddddd;

    border-radius: 7px;

    text-align: center;

    padding: 9px 3px;

    font-size: 12px;

    background: #ffffff;
}

.trust-icon {
    font-size: 13px;

    margin-bottom: 4px;
}

.trust-box small {
    color: #888888;

    display: block;

    font-size: 15px;

    margin-top: 2px;
}


/* =====================================================
   PAYMENT LOGOS
===================================================== */

.payment-logos {
    display: flex;

    justify-content: center;

    gap: 5px;

    margin-top: 10px;

    flex-wrap: wrap;
}

.payment-logos span {
    border: 1px solid #dddddd;

    padding: 4px 7px;

    border-radius: 3px;

    font-size: 12px;

    color: #555555;
}


/* =====================================================
   =====================================================
   CHECKOUT MODAL
   =====================================================
===================================================== */


/* =====================================================
   CHECKOUT OVERLAY
===================================================== */

.checkout-overlay {
    display: none;

    position: fixed;

    inset: 0;

    width: 100%;

    height: 100dvh;

    background: rgba(0, 0, 0, .62);

    z-index: 9999;

    overflow: hidden;

    padding: 0;
}

.checkout-overlay.active {
    display: flex;

    justify-content: center;

    align-items: flex-start;
}


/* =====================================================
   CHECKOUT MODAL
   MODAL NEVER SCROLLS
===================================================== */

.checkout-modal {
    width: 100%;

    max-width: 480px;

    height: 100dvh;

    max-height: 100dvh;

    min-height: 0;

    margin: 0 auto;

    background: #ffffff;

    position: relative;

    display: flex;

    flex-direction: column;

    overflow: hidden !important;
}


/* =====================================================
   COMPLETE YOUR ORDER
   FIXED
===================================================== */

.checkout-header {
    width: 100%;

    flex: 0 0 auto;

    position: relative;

    z-index: 100;

    background: #ffffff;

    border-bottom: 1px solid #dddddd;

    overflow: hidden;
}

.checkout-title {
    width: 100%;

    padding: 12px 45px 10px 10px;

    font-size: 18px;

    line-height: 1.3;

    background: #f8f8f6;

    font-weight: bold;
}


/* =====================================================
   CLOSE BUTTON
===================================================== */

.close-btn {
    position: absolute;

    right: 10px;

    top: 7px;

    width: 30px;

    height: 30px;

    border: none;

    background: transparent;

    font-size: 20px;

    color: #777777;

    cursor: pointer;

    z-index: 200;
}


/* =====================================================
   ⭐⭐⭐ MAIN SCROLL CONTAINER ⭐⭐⭐
   
   SCROLL STARTS AT OFFER-BOX
   
   HEADER IS OUTSIDE THIS CONTAINER
===================================================== */

.checkout-scroll {

    width: 100%;

    flex: 1 1 0;

    height: 0;

    min-height: 0;

    max-height: 100%;

    overflow-y: auto;

    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;

    overscroll-behavior: contain;

    scrollbar-width: thin;

    scrollbar-color: #999999 #eeeeee;
}


/* =====================================================
   SCROLLBAR
===================================================== */

.checkout-scroll::-webkit-scrollbar {
    width: 6px;
}

.checkout-scroll::-webkit-scrollbar-track {
    background: #eeeeee;
}

.checkout-scroll::-webkit-scrollbar-thumb {
    background: #999999;

    border-radius: 10px;
}

.checkout-scroll::-webkit-scrollbar-thumb:hover {
    background: #777777;
}


/* =====================================================
   OFFER BOX
   ⭐ FIRST ELEMENT INSIDE SCROLL
===================================================== */

.offer-box {
    width: 100%;

    background: #17833e;

    color: #ffffff;

    text-align: center;

    padding: 18px 16px 15px;

    position: relative;

    z-index: 1;

    overflow: hidden;
}


/* =====================================================
   OFFER TITLE
===================================================== */

.title {
    text-align: center;

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .5px;

    margin-bottom: 12px;
}

.title span {
    margin: 0 4px;
}


/* =====================================================
   OFFER HEADLINE
===================================================== */

.headline {
    font-size: 16px;

    line-height: 1.45;

    font-weight: 800;

    margin: 0 auto 13px;

    max-width: 420px;
}


/* =====================================================
   PRICE ROW
===================================================== */

.price-row {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin-bottom: 14px;
}

.pill {
    background: #ffffff;

    color: #207b43;

    font-size: 14px;

    font-weight: 800;

    padding: 10px 18px;

    border-radius: 25px;

    min-width: 112px;

    box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}


/* =====================================================
   OFFER CARDS
===================================================== */

.cards {
    display: flex;

    gap: 8px;

    width: 100%;
}

.card {
    flex: 1;

    background: rgba(255, 255, 255, .14);

    border-radius: 9px;

    padding: 10px 11px;

    text-align: left;

    min-height: 98px;

    overflow: hidden;
}

.card-title {
    font-size: 12px;

    font-weight: 800;

    margin-bottom: 7px;
}

.card ul {
    list-style: none;

    padding: 0;

    margin: 0;
}

.card li {
    font-size: 11px;

    line-height: 1.8;

    white-space: nowrap;
}

.benefit li::before {
    content: "✓";

    font-weight: bold;

    margin-right: 5px;
}

.loss li::before {
    content: "✕";

    font-weight: bold;

    margin-right: 5px;
}

.bottom-text {
    margin-top: 13px;

    font-size: 11px;

    line-height: 1.6;

    font-weight: 600;
}


/* =====================================================
   CHECKOUT CONTENT
   ⭐ PART OF SAME SCROLL
===================================================== */

.checkout-content {
    width: 100%;

    padding: 9px 8px 40px;

    margin: 0;

    background: #f0ede8;

    overflow: visible;
}


/* =====================================================
   ORDER SUMMARY
===================================================== */

.order-summary {
    border: 1px solid #dddddd;

    border-radius: 5px;

    padding: 9px;

    font-size: 12px;

    background: #ffffff;
}

.summary-row {
    display: flex;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 14px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.green-text {
    color: #25933c;

    font-weight: bold;
}

.total-row {
    border-top: 1px solid #dddddd;

    padding-top: 7px;

    margin-top: 5px;

    font-size: 15px;

    font-weight: bold;
}


/* =====================================================
   PAYMENT METHOD
===================================================== */

.checkout-section-title {
    text-align: left;

    font-size: 11px;

    color: #888888;

    font-weight: bold;

    margin: 13px 0 8px;
}

.checkout-section-title_shipping {
    text-align: center;

    border-top: 1px solid #e0e0e0;

    font-size: 15px;

    color: #888888;

    font-weight: bold;

    margin: 13px 0 8px;

    padding-top: 10px;
}

.payment-methods {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 6px;
}

.payment-option {
    border: 1px solid #dddddd;

    border-radius: 6px;

    padding: 10px 5px;

    text-align: center;

    cursor: pointer;

    background: #ffffff;

    font-size: 15px;
}

.payment-option.selected {
    border: 2px solid #279342;

    background: #f7fff8;
}

.payment-option small {
    display: block;

    font-size: 11px;

    color: #777777;

    margin-top: 8px;
}

.free-badge {
    display: inline-block;

    background: #24973b;

    color: #ffffff;

    font-size: 11px;

    padding: 2px 5px;

    border-radius: 5px;

    margin-top: 6px;
}


/* =====================================================
   FORM
===================================================== */

.form-group {
    margin: 5px 5px 8px;
}

.form-label {
    display: block;

    font-size: 12px;

    color: #555555;

    margin-bottom: 10px;
}

.form-input,
.form-select {
    width: 100%;

    border: 1px solid #dddddd;

    border-radius: 5px;

    padding: 9px;

    height: 40px;

    font-size: 12px;

    outline: none;

    background: #ffffff;
}

.form-input:focus,
.form-select:focus {
    border-color: #399c4a;
}

.two-columns {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 6px;
}


/* =====================================================
   BENEFITS
===================================================== */

.benefits {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 6px;

    margin-top: 6px;
}

.benefit-box {
    border-radius: 7px;

    padding: 9px;

    min-height: 82px;

    font-size: 7px;
}

.benefit-title {
    font-size: 15px;

    font-weight: bold;

    margin-bottom: 5px;
}

.benefit-blue {
    color: #315fd3;
}

.benefit-green {
    color: #25913a;
}

.benefit-box li {
    margin: 4px 0;

    list-style: none;
}


/* =====================================================
   PAY NOW BUTTON
===================================================== */

.pay-button {
    width: 100%;

    background: #42a94b;

    color: #ffffff;

    border: none;

    border-radius: 6px;

    padding: 12px;

    margin-top: 10px;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;
}

.pay-button:hover {
    background: #338f3c;
}

.secure-note {
    text-align: center;

    color: #777777;

    font-size: 12px;

    margin-top: 16px;
}


/* =====================================================
   VALIDATION
===================================================== */

.field-error {
    color: #d93025;

    font-size: 11px;

    margin-top: 4px;

    margin-left: 2px;

    display: none;
}

.form-input.error,
.form-select.error {
    border-color: #d93025 !important;

    background: #fff8f8;
}

.form-input.success,
.form-select.success {
    border-color: #399c4a;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 699px) {

    html,
    body {
        overflow-x: hidden;
    }

    .checkout-overlay {
        width: 100%;

        height: 100dvh;

        padding: 0;

        overflow: hidden;

        align-items: flex-start;
    }

    .checkout-modal {
        width: 100%;

        max-width: 100%;

        height: 100dvh;

        max-height: 100dvh;

        min-height: 0;

        border-radius: 0;

        overflow: hidden !important;
    }

    /*
       HEADER FIXED
    */

    .checkout-header {
        flex: 0 0 auto;
    }

    /*
       ⭐ OFFER BOX STARTS SCROLL
    */

    .checkout-scroll {
        flex: 1 1 0;

        height: 0;

        min-height: 0;

        max-height: none;

        overflow-y: auto;

        overflow-x: hidden;

        -webkit-overflow-scrolling: touch;

        overscroll-behavior: contain;
    }

    .cards {
        flex-direction: column;
    }

    .card li {
        white-space: normal;
    }

    .pill {
        min-width: 105px;

        padding: 9px 12px;
    }
}


/* =====================================================
   DESKTOP
===================================================== */

@media (min-width: 700px) {

    body {
        padding: 12px 0;
    }

    .checkout-overlay {
        padding: 20px;

        align-items: center;
    }

    .checkout-modal {
        width: 100%;

        max-width: 480px;

        height: calc(100dvh - 40px);

        max-height: calc(100dvh - 40px);

        border-radius: 8px;

        box-shadow: 0 10px 40px rgba(0, 0, 0, .3);

        overflow: hidden !important;
    }

    /*
       ⭐ OFFER + CONTENT SCROLL TOGETHER
    */

    .checkout-scroll {
        flex: 1 1 0;

        height: 0;

        min-height: 0;

        overflow-y: auto;

        overflow-x: hidden;
    }
}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 480px) {

    .page,
    .checkout-modal {
        max-width: 100%;
    }

    .content {
        padding-left: 6px;

        padding-right: 6px;
    }

    .checkout-modal {
        height: 100dvh;

        max-height: 100dvh;
    }

    .checkout-scroll {
        overflow-y: auto;

        overflow-x: hidden;

        -webkit-overflow-scrolling: touch;
    }

    .checkout-content {
        padding-left: 8px;

        padding-right: 8px;

        padding-bottom: 50px;
    }

    .offer-box {
        width: 100%;

        padding-left: 10px;

        padding-right: 10px;
    }

    .price-row {
        gap: 6px;
    }

    .pill {
        min-width: 105px;

        padding: 9px 12px;
    }

    .card li {
        white-space: normal;
    }
}
/* FOOTER */
.footer{
   text-align: center;
    font-size: 11px;
    color: #888;
    padding: 1rem 1rem .5rem;
    line-height: 1.6;
}

.form-error-box {
    display: none;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 1dpx;
    padding: 10px 12px;
    border: 1px solid #ffb3b3;
    border-radius: 4px;
    background: #ffe6e6;
    color: #d00000;
    font-size: 14px;
    text-align: center;
}

.form-error-box.show {
    display: block;
}

.form-error-box.success {
    border-color: #a8dfb5;
    background: #e8f8ec;
    color: #198754;
}

.footer-line strong{
    color:#555;
}
