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

:root {
    --navy: #07182f;
    --navy-light: #0d2342;
    --orange: #ff5a0a;
    --orange-dark: #d94700;
    --text: #101828;
    --muted: #6b7280;
    --background: #f5f9fc;
    --white: #ffffff;
    --border: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

body {

    background: var(--background);
    color: var(--text);
    min-height: 100vh;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    /* max-width: 1180px; */
    margin: 0 auto;
    /* padding: 0 20px; */
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        max-width: 100%;
        padding: 0 18px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
}

.navbar {


    /* height: 76px;
    width: 100%; */
    /* background: var(--navy); */
    background: var(--surface);

    display: flex;
    align-items: center;

    /* padding: 0 30px; */

    gap: 55px;

    color: white;
}

.brand {
    color: var(--orange);
    text-decoration: none;

    font-size: 24px;
    font-weight: 800;

    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;

    flex: 1;
}

.nav-links a {
    color: white;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-links a.active {
    color: var(--orange);

    border-bottom: 2px solid var(--orange);

    padding-bottom: 7px;
}

.nav-actions {
    display: flex;
    align-items: center;

    gap: 18px;
}

.icon-btn {
    width: 30px;
    height: 30px;

    border: 0;
    background: transparent;

    color: white;

    font-size: 20px;

    cursor: pointer;
}

.login {
    color: white;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
}

.join-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 38px;

    padding: 0 22px;

    background: var(--orange);

    color: white;
    text-decoration: none;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.2s;
}

.join-btn:hover {
    background: var(--orange-dark);
}

/* =========================
   HERO
========================= */

.hero {
    width: 100%;
    padding: 55px 20px 45px;
    text-align: center;

    background: linear-gradient(135deg,
            #c92f12 0%,
            #f4511e 40%,
            #ff7a45 75%,
            #ffb300 100%);
}

.hero h1 {
    font-size: 43px;
    line-height: 1.2;

    font-weight: 800;

    color: #080b10;

    margin-bottom: 10px;
}

.hero>p {
    color: #674f4b;

    font-size: 17px;
    line-height: 1.45;

    margin-bottom: 42px;
}

/* =========================
   CALCULATOR
========================= */

.calculator-card {
    width: min(700px, 100%);

    margin: 0 auto;

    background: white;

    padding: 20px;

    border-radius: 10px;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.07);

    display: flex;

    align-items: center;

    gap: 12px;
}

.input-wrap {
    height: 54px;

    flex: 1;

    display: flex;
    align-items: center;

    background: #fafafa;

    border: 2px solid #eadfdc;

    border-radius: 7px;

    padding: 0 14px;

    transition: 0.2s;
}

.input-wrap:focus-within {
    border-color: var(--orange);

    box-shadow:
        0 0 0 3px rgba(255, 90, 10, 0.1);
}

.link-icon {
    font-size: 19px;

    margin-right: 0px;

    color: #777;
}

.input-wrap input {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: #333;

    font-size: 15px;
}

.input-wrap input::placeholder {
    color: #999;
}

#calculateBtn {
    height: 50px;

    min-width: 130px;

    border: 0;

    border-radius: 14px;

    background: var(--orange);

    color: white;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

#calculateBtn:hover {
    background: var(--orange-dark);

    transform: translateY(-1px);
}

#calculateBtn:disabled {
    opacity: 0.65;

    cursor: wait;

    transform: none;
}

/* =========================
   RESULT
========================= */

.result-card {
    width: min(700px, 100%);

    margin: 20px auto 0;

    padding: 20px 25px;

    background: white;

    border-radius: 10px;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.07);

    display: flex;

    align-items: center;
    justify-content: space-between;

    text-align: left;
}

.result-card strong {
    display: block;

    font-size: 18px;

    margin-bottom: 5px;
}

.result-card span {
    color: var(--muted);

    font-size: 14px;
}

.result-money {
    color: var(--orange);

    font-size: 25px;

    font-weight: 800;
}

.error {
    margin-top: 15px;

    color: #dc2626;

    font-size: 14px;
}

/* =========================
   STORES
========================= */

.stores-section {
    width: 100%;

    padding: 5px 30px 45px;

    text-align: center;
}

.stores-section h2 {
    font-size: 25px;

    margin-bottom: 25px;

    color: #101010;
}

.store-grid {
    width: 100%;

    max-width: 1160px;

    margin: 0 auto;

    display: grid;

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

    gap: 10px;
}

.store-card {
    min-height: 128px;

    background: white;

    border-radius: 5px;

    padding: 13px 10px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04);

    border: 1px solid #f1f1f1;

    transition: 0.2s;
}

.store-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.08);
}

.store-logo {
    /* width: 58px;
    height: 58px;

    border-radius: 50%;

    background: #f0f3f5; */

    display: flex;

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

    color: #8a8f95;

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 8px;
}

.store-name {
    font-size: 14px;

    font-weight: 700;

    color: #202020;

    margin-bottom: 7px;
}

.rate {
    display: inline-flex;

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

    padding: 4px 9px;

    border-radius: 20px;

    background: #b93c0a;

    color: white;

    font-size: 11px;

    font-weight: 700;
}

/* =========================
   FOOTER
========================= */

/* .footer {
    width: 100%;

    min-height: 150px;

    background: #e4e9ed;

    border-top: 1px solid #d5dadd;

    padding: 24px 30px;

    display: grid;

    grid-template-columns:
        1.4fr
        1.2fr
        1.2fr
        1.2fr;

    gap: 30px;
}

.footer-brand h3 {
    color: #111;

    font-size: 20px;

    margin-bottom: 12px;
}

.footer-brand p {
    color: #555;

    font-size: 13px;

    line-height: 1.7;
}

.footer-col {
    display: flex;

    flex-direction: column;

    gap: 8px;

    padding-top: 3px;
}

.footer-col a {
    color: #555;

    font-size: 13px;

    font-weight: 600;

    text-decoration: underline;
}

.footer-col a:hover {
    color: var(--orange);
} */
/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    width: 100%;

    background: #1f1f1f;

    color: #d5d5d5;

    padding-top: 48px;

}


/* =====================================================
   CONTAINER
===================================================== */

.footer-container {
    width: 100%;

    max-width: 1220px;

    margin: 0 auto;

    padding: 0 20px;

    display: grid;

    grid-template-columns:
        1.35fr .8fr 1.5fr 1.1fr;

    column-gap: 70px;

    min-height: 450px;
}


/* =====================================================
   BRAND
===================================================== */

.footer-brand {
    padding-top: 2px;
}


.footer-logo {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #fff;

    text-decoration: none;
}


/* Logo giả bằng CSS
   Bạn có thể thay bằng ảnh logo thật */

.logo-icon {
    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(135deg,
            #ff9d00,
            #ff4b13);

    color: #fff;

    font-size: 32px;

    font-weight: 700;

    line-height: 1;
}


.logo-text {
    font-size: 25px;

    font-weight: 700;

    letter-spacing: -0.5px;
}


.logo-text strong {
    color: #ff650f;
}


.footer-description {
    max-width: 290px;

    margin-top: 15px;

    color: #c5c5c5;

    font-size: 14px;

    line-height: 1.6;
}


/* =====================================================
   COLUMN
===================================================== */

.footer-column h3 {
    margin: 2px 0 17px;

    color: #fff;

    font-size: 14px;

    font-weight: 700;
}


.footer-column ul {
    list-style: none;

    padding: 0;

    margin: 0;
}


.footer-column li {
    margin-bottom: 10px;
}


.footer-column a {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #c9c9c9;

    text-decoration: none;

    font-size: 14px;

    line-height: 1.35;

    transition:
        color .2s ease,
        transform .2s ease;
}


.footer-column a:hover {
    color: #ff6514;

    transform: translateX(2px);
}


/* =====================================================
   ICON
===================================================== */

.footer-column a i {
    width: 14px;

    color: #df401d;

    font-size: 14px;

    text-align: center;
}


/* =====================================================
   GOOGLE PLAY
===================================================== */

.google-play {
    width: 177px;

    height: 50px;

    margin-top: 15px;

    display: flex !important;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border: 1px solid #fff;

    border-radius: 25px;

    color: #fff !important;

    text-decoration: none;

    transition: .2s;
}


.google-play:hover {
    background: #333;

    transform: none !important;
}


.play-icon {
    color: #00c853;

    font-size: 22px;

    line-height: 1;
}


.play-content {
    display: flex;

    flex-direction: column;

    line-height: 1.05;
}


.play-content small {
    font-size: 8px;

    color: #ddd;

    margin-bottom: 2px;
}


.play-content strong {
    font-size: 16px;

    color: #fff;
}


/* =====================================================
   BOTTOM
===================================================== */

.footer-bottom {
    max-width: 1220px;

    margin: 0 auto;

    padding: 23px 20px;

    border-top: 1px solid #3a3a3a;

    text-align: center;
}


.footer-bottom p {
    margin: 0;

    color: #999;

    font-size: 12px;

    line-height: 1.6;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

    .footer-container {
        grid-template-columns:
            1fr 1fr;

        column-gap: 40px;

        row-gap: 40px;

        min-height: auto;

        padding-bottom: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


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

@media (max-width: 576px) {

    .site-footer {
        padding-top: 35px;
    }


    .footer-container {
        grid-template-columns: 1fr;

        gap: 30px;

        padding-left: 20px;

        padding-right: 20px;
    }


    .footer-brand {
        grid-column: auto;
    }


    .footer-description {
        max-width: 100%;
    }


    .footer-column h3 {
        margin-bottom: 14px;
    }


    .footer-bottom {
        padding:
            20px 15px;
    }


    .footer-bottom p {
        font-size: 11px;
    }

}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .navbar {
        gap: 25px;

        padding: 0 20px;
    }

    .nav-links {
        gap: 18px;
    }

    .store-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}

@media (max-width: 700px) {

    .navbar {
        height: auto;

        min-height: 70px;

        padding: 15px;

        flex-wrap: wrap;

        gap: 15px;
    }

    .brand {
        width: 100%;
    }

    .nav-links {
        order: 3;

        width: 100%;

        overflow-x: auto;

        padding-bottom: 5px;
    }

    .nav-actions {
        position: absolute;

        right: 15px;

        top: 15px;
    }

    .login {
        display: none;
    }

    .hero {
        padding-top: 40px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero>p {
        font-size: 15px;
    }

    .desktop {
        display: none;
    }

    .calculator-card {
        flex-direction: column;

        padding: 15px;
    }

    .input-wrap {
        width: 100%;
    }

    #calculateBtn {
        width: 100%;
    }

    .result-card {
        flex-direction: column;

        gap: 15px;

        text-align: center;
    }

    .store-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }

    .stores-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer {
        grid-template-columns: 1fr 1fr;

        padding: 25px 20px;
    }

}

@media (max-width: 420px) {

    .nav-actions {
        gap: 5px;
    }

    .join-btn {
        padding: 0 12px;

        font-size: 12px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .store-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer {
        grid-template-columns: 1fr;
    }



}

/* =========================================
   AUTH OVERLAY
========================================= */

.auth-overlay {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

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

    padding: 20px;

    background: rgba(0, 0, 0, 0.48);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}




/* =========================================
   FAQ
========================================= */

.faq-section {
    position: relative;
    width: 100%;
    overflow: hidden;

    padding: 32px 20px 45px;

    background: #fff8f4;
}


/* =========================================
   TIÊU ĐỀ
========================================= */

.faq-heading {
    position: relative;
    z-index: 2;

    margin-bottom: 44px;
}

.faq-heading h3 {
    margin: 0;

    color: #071d35;

    font-size: 30px;
    font-weight: 700;

    line-height: 1.3;
}

.faq-heading p {
    margin: 8px 0 0;

    color: #526276;

    font-size: 15px;
}


/* =========================================
   DANH SÁCH FAQ
========================================= */

.faq-list {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 692px;

    margin: 0 auto;
}


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

.faq-item {
    margin-bottom: 14px;

    overflow: hidden;

    background: #ffffff;

    border-radius: 21px;

    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.025);

    transition:
        box-shadow .25s ease,
        transform .25s ease;
}

.faq-item:hover {
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.06);
}


/* =========================================
   CÂU HỎI
========================================= */

.faq-question {
    width: 100%;

    min-height: 74px;

    padding: 20px 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border: 0;

    outline: none;

    background: transparent;

    color: #071d35;

    text-align: left;

    cursor: pointer;
}

.faq-question:focus {
    outline: none;

    box-shadow: none;
}


.faq-question span {
    padding-right: 10px;

    color: #071d35;

    font-size: 16px;

    font-weight: 600;

    line-height: 1.5;
}


/* =========================================
   MŨI TÊN
========================================= */

.faq-icon {
    flex-shrink: 0;

    width: 0;
    height: 0;

    margin: 0;

    border-left: 8px solid transparent;
    border-right: 8px solid transparent;

    border-top: 15px solid #ff6500;

    font-size: 0;

    transition:
        transform .3s ease;
}


/* Khi mở */
.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}


/* =========================================
   NỘI DUNG CÂU TRẢ LỜI
========================================= */

.faq-answer {
    padding:
        0 24px 24px;

    color: #596b80;

    font-size: 15px;

    line-height: 1.65;
}


/* =========================================
   NÚT BẮT ĐẦU
========================================= */

.faq-button {
    position: relative;
    z-index: 2;

    margin-top: 42px;
}


.btn-start {
    min-width: 170px;

    padding: 15px 28px;

    border: 0;

    border-radius: 14px;

    background: #ff6500;

    color: #ffffff !important;

    font-size: 15px;

    font-weight: 700;

    text-decoration: none;

    box-shadow: none;

    transition:
        background .2s ease,
        transform .2s ease;
}

.btn-start:hover {
    background: #ef5900;

    color: #fff !important;

    transform: translateY(-2px);
}


/* =========================================
   HIỆU ỨNG HẠT VÀNG
========================================= */

.faq-section::before,
.faq-section::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    z-index: 1;

    background-repeat: no-repeat;
}


/* Hạt phía trái + giữa */

.faq-section::before {
    background-image:
        radial-gradient(ellipse at center,
            #ffd84d 0,
            #ffd84d 3px,
            transparent 4px),
        radial-gradient(ellipse at center,
            #ffdf61 0,
            #ffdf61 5px,
            transparent 6px),
        radial-gradient(ellipse at center,
            #ffd84d 0,
            #ffd84d 3px,
            transparent 4px),
        radial-gradient(ellipse at center,
            #ffe47a 0,
            #ffe47a 5px,
            transparent 6px);

    background-size:
        100px 100px,
        130px 130px,
        180px 180px,
        220px 220px;

    background-position:
        2% 12%,
        25% 18%,
        38% 82%,
        70% 8%;

    opacity: .75;
}


/* Hạt phía phải */

.faq-section::after {
    background-image:
        radial-gradient(ellipse at center,
            #ffd84d 0,
            #ffd84d 3px,
            transparent 4px),
        radial-gradient(ellipse at center,
            #ffdf61 0,
            #ffdf61 5px,
            transparent 6px),
        radial-gradient(ellipse at center,
            #ffd84d 0,
            #ffd84d 3px,
            transparent 4px),
        radial-gradient(ellipse at center,
            #ffe47a 0,
            #ffe47a 4px,
            transparent 5px);

    background-size:
        170px 170px,
        240px 240px,
        120px 120px,
        200px 200px;

    background-position:
        92% 10%,
        88% 55%,
        97% 82%,
        76% 95%;

    opacity: .65;
}


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

@media (max-width: 576px) {

    .faq-section {
        padding:
            40px 15px 45px 15px;
    }

    .faq-heading {
        margin-bottom: 30px;
    }

    .faq-heading h3 {
        font-size: 26px;
    }

    .faq-heading p {
        font-size: 14px;
    }

    .faq-question {
        min-height: 68px;

        padding: 18px;
    }

    .faq-question span {
        font-size: 15px;
    }

    .faq-answer {
        padding:
            0 18px 20px;

        font-size: 14px;
    }

    .btn-start {
        min-width: 160px;

        padding: 13px 24px;
    }
}

/* product */
.product-card {
    border: 1px solid #f0e0d6;
    border-radius: 16px;
    background: #FAFAFA;
    max-width: 600px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.shopee-badge {
    background-color: #ee4d2d;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.store-info {
    color: #757575;
    font-size: 14px;
}

.price-text {
    color: #ee4d2d;
    font-weight: bold;
    font-size: 18px;
}

/* Mũi tên kết nối giữa 2 block */
.divider-arrow {
    color: #e64a19;
    font-size: 18px;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    /* animation: arrowUpDown 2s ease-in-out infinite; */
}

.divider-arrow::before {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0e0e0;
    /* Màu xám nhạt của đường kẻ */
    margin-right: 15px;
    /* Khoảng cách giữa đường kẻ và icon */
}

/* Tạo đường gạch ngang bên phải icon */
.divider-arrow::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0e0e0;
    /* Màu xám nhạt của đường kẻ */
    margin-left: 15px;
    /* Khoảng cách giữa icon và đường kẻ */
}

.divider-arrow i {
    color: #e64a19;
    /* Màu cam đỏ giống trong ảnh của bạn */
    font-size: 20px;
    /* Kích thước của icon */
    display: inline-block;
    animation: arrowUpDown 2s ease-in-out infinite;
}

.divider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Đảm bảo chiếm hết chiều rộng */
    margin: 20px 0;
}

/* Đường kẻ bên trái */
.divider-arrow::before {
    content: "";
    flex-grow: 1;
    /* Ép đường kẻ kéo dài ra tối đa */
    height: 1px;
    background-color: #e64a19;
    /* Màu xám của đường kẻ */
    margin-right: 15px;
}

/* Đường kẻ bên phải */
.divider-arrow::after {
    content: "";
    flex-grow: 1;
    /* Ép đường kẻ kéo dài ra tối đa */
    height: 1px;
    background-color: #e64a19;
    /* Màu xám của đường kẻ */
    margin-left: 15px;
}

/* Định dạng riêng cho icon tròn màu cam */
.divider-arrow i {
    width: 32px;
    /* Chiều rộng vòng tròn */
    height: 32px;
    /* Chiều cao vòng tròn */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Tạo hình tròn hoàn hảo */
    flex-shrink: 0;
    /* Ngăn không cho icon bị bóp méo */
}

/* Hộp hoàn tiền */
.cashback-box {
    /* border: 2px solid #57de9a; */
    /* background-color: #DCFCE7; */
    /* border-radius: 16px; */
    /* border: 1.5px solid #A7F3C0; */
    max-width: 600px;
    /* padding: 20px; */
}

.cashback-box1 {
    border: 2px solid #57de9a;
    background-color: #DCFCE7;
    border-radius: 16px;
    border: 1.5px solid #A7F3C0;
    border-top: 3px solid #57de9a;
}

.cashback-title {
    color: #2e7d4b;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.coin-icon {
    background-color: #ffbe1a;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.cashback-amount {
    color: #27a857;
    font-size: 36px;
    font-weight: 800;
}

.cashback-percent {
    color: #1ba453;
    font-weight: 700;
    font-size: 15px;
}


.cashback-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 0px 20px;
    text-align: center;
}

/* Logo */
.shop-badges {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    margin: 7px 0;
}

.shop-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 20px;
    line-height: 1;
}

.shopee {
    background: #ee4d2d;
}

.shopee-food {
    background: #f4512a;
}

.tiktok {
    background: #050505;
}

/* Icon mũi tên */
.upload-icon {
    width: 43px;
    height: 43px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff2ed;
    color: #ed4d2d;
    border-radius: 13px;
    font-size: 24px;
    font-weight: bold;
}

/* Title */
.cashback-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.cashback-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 12px;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    background: #f1c9bb;
    flex: 1;
}

.divider span {
    color: #777;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* Button */
.shopee-btn {
    width: 100%;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(90deg, #e93816, #ff6342);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 11px 15px;
    box-shadow: 0 5px 12px rgba(238, 77, 45, 0.15);
    transition: all 0.2s ease;
}

.shopee-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(238, 77, 45, 0.22);
}

.shopee-btn i {
    margin-right: 5px;
}

/* Note */
.cashback-note {
    margin-top: 9px;
    color: #777;
    font-size: 12px;
    line-height: 1.45;
}

.cashback-note strong {
    color: #555;
}

.tiktok-note {
    margin-top: 2px;
    color: #777;
    font-size: 12px;
    line-height: 1.45;
}

.tiktok-note i {
    color: #111;
    font-size: 14px;
}

@media (max-width: 576px) {
    .cashback-box {
        padding-left: 15px;
        padding-right: 15px;
    }

    .cashback-title {
        font-size: 17px;
    }

    .cashback-desc {
        font-size: 13px;
    }
}


.cashback-form {
    width: 100%;
    margin-top: 15px;
    /* padding: 0px 20px; */
}

/* =========================
       INPUT
    ========================= */

.link-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;

    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 14px;

    overflow: hidden;
    transition: all .2s ease;

    border-color: #ff572f;
    box-shadow: 0 0 0 4px rgba(255, 87, 47, .08);
}

/* .link-input-wrap:focus-within {
    border-color: #ff572f;
    box-shadow: 0 0 0 4px rgba(255, 87, 47, .08);
} */

.link-icon {
    width: 52px;
    height: 100%;

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

    background: #f8f9fa;
    border-right: 1px solid #edf0f2;

    color: #ff542f;
    font-size: 19px;

    flex-shrink: 0;
}

.link-input {
    flex: 1;

    height: 100%;
    min-width: 0;

    border: 0;
    outline: 0;

    padding: 0 45px 0 15px;

    color: #222;
    font-size: 15px;

    background: transparent;
}

.link-input::placeholder {
    color: #a0a5aa;
}

.link-input:focus {
    outline: none;
    box-shadow: none;
}

/* =========================
       CLEAR BUTTON
    ========================= */

.clear-link {
    position: absolute;
    right: 14px;

    width: 30px;
    height: 30px;

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

    border: 0;
    background: transparent;

    color: #adb3b8;
    font-size: 16px;

    cursor: pointer;
}

.clear-link:hover {
    color: #ff542f;
}

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

.calculate-btn {
    position: relative;

    width: 100%;
    height: 57px;

    margin-top: 15px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 0;
    border-radius: 14px;

    background: linear-gradient(90deg, #e93816, #ff6342);

    color: #fff;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(255, 84, 30, .18);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.calculate-btn:hover {
    transform: translateY(-1px);

    box-shadow:
        0 10px 22px rgba(255, 84, 30, .25);

    filter: brightness(1.02);
}

.calculate-btn:active {
    transform: translateY(1px);
    box-shadow:
        0 4px 10px rgba(255, 84, 30, .15);
}

.calculate-btn>i:first-child {
    font-size: 17px;
}

.calculate-btn .arrow {
    position: absolute;
    right: 17px;

    font-size: 25px;
    opacity: .85;

    transition: transform .2s ease;
}

.calculate-btn:hover .arrow {
    transform: translateX(3px);
}

/* =========================
       HINT
    ========================= */

.link-hint {
    float: left;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 5px;

    margin: 9px 0px;

    color: #ef4444;
    font-size: 12px;
    line-height: 1.4;
}

.link-hint i {
    color: #ff633e;
    font-size: 12px;
}

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

@media (max-width: 576px) {

    .link-input-wrap {
        height: 58px;
    }

    .link-input {
        font-size: 14px;
        padding-left: 12px;
    }

    .link-icon {
        width: 48px;
    }

    .calculate-btn {
        height: 54px;
        font-size: 15px;
    }

    .link-hint {
        font-size: 11px;
    }
}

.upload-icon i {
    animation: arrowUpDown 2s ease-in-out infinite;
}

.upload-icon {
    animation: arrowUpDown 2s ease-in-out infinite;
}

@keyframes arrowUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

.btn-mua-ngay {
    background: linear-gradient(90deg, #e63917, #f15a24);
    color: #ffffff !important;
    border: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 14px !important;
    /* Đổ bóng nhòe mượt phía dưới nút */
    box-shadow: 0 10px 20px rgba(230, 57, 23, 0.2);
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.btn-mua-ngay:hover {
    opacity: 0.95;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(230, 57, 23, 0.25);
}


/* Nút Sao chép link viền mảnh màu Cam Đất */
.btn-sao-chep {
    background: #ffffff;
    color: #b83c1b !important;
    border: 1.5px solid #b83c1b !important;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 14px !important;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.btn-sao-chep:hover {
    background: #fff0eb !important;
    border-color: #b83c1b;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(230, 57, 23, 0.25);
}

/* Khối dòng lưu ý màu hồng nhạt bo góc chạy ngang */
.text-luu-y {
    background-color: #fff0ee;
    color: #e63917;
    font-size: 13px;
    font-weight: 600;
    /* padding: 10px 16px; */
    border-radius: 14px !important;
    width: 100%;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

/* Hiệu ứng HOVER: Nền hồng đậm hơn khi di chuột vào dòng Lưu ý */
.text-luu-y:hover {
    background-color: #ffe1dc;
    color: #cd2d0e;
}

.text-luu-y i {
    font-size: 12px;
}

/* Mặc định trên thiết bị di động: cả 2 nút tràn 100% chiều rộng */
.w-mua,
.w-sao-chep {
    width: 100%;
}

/* Khi trên màn hình máy tính / máy tính bảng (từ 576px trở lên) */
@media (min-width: 576px) {
    .w-mua {
        width: 65% !important;
        /* Nút Mua ngay chiếm 65% tổng chiều ngang */
    }

    .w-sao-chep {
        width: 35% !important;
        /* Nút Sao chép chỉ chiếm 35% */
    }
}

/* Tùy chỉnh Modal giống thiết kế */
.custom-modal-content {
    border-radius: 20px;
    border: none;
    padding: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Nhãn badge "Lưu ý" màu xanh */
.badge-luu-y {
    background-color: #e8f0fe;
    color: #1a73e8;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modal-title-custom {
    font-size: 24px;
    font-weight: 700;
    color: #202124;
    margin-top: 15px;
}

.modal-sub-title {
    font-size: 14px;
    color: #5f6368;
    line-height: 1.5;
}

.modal-sub-title a {
    color: #202124;
    font-weight: 600;
    text-decoration: none;
}

/* Các ô hộp nội dung cảnh báo (Grid items) */
.rule-card {
    background-color: #ffffff;
    border: 1px solid #fff3e0;
    /* Viền vàng cam rất nhạt */
    border-radius: 12px;
    padding: 16px;
    height: 100%;
    display: flex;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(255, 152, 0, 0.03);
}

.rule-card i {
    color: #ff9800;
    /* Màu cam của icon tích chọn */
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.rule-card span {
    font-size: 13.5px;
    color: #3c4043;
    line-height: 1.5;
    font-weight: 500;
}

/* Hộp cảnh báo màu vàng phía dưới cùng */
.warning-card {
    background-color: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.warning-card i {
    color: #ffb300;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.warning-card span {
    font-size: 13px;
    color: #b78103;
    line-height: 1.5;
    font-weight: 500;
}

/* Nút Đóng */
.btn-modal-close {
    background-color: #f1f3f4;
    color: #3c4043;
    border: none;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 10px;
    transition: all 0.2s;
}

.btn-modal-close:hover {
    background-color: #e8eaed;
}

/* Nút Tiếp tục màu cam đậm */
.btn-modal-submit {
    background: linear-gradient(90deg, #e63917, #f15a24);
    color: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 32px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(230, 57, 23, 0.2);
    transition: all 0.2s;
}

.btn-modal-submit:hover {
    opacity: 0.95;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(230, 57, 23, 0.3);
}
.cashback-section {
    max-width: 675px;
    margin: auto;
    padding: 20px 15px 40px;
    font-family: Arial, sans-serif;
}

.cashback-title {
    text-align: center;
    margin-bottom: 28px;
}

.cashback-title h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #20212a;
}

.cashback-title p {
    margin: 10px 0 0;
    color: #888;
    font-size: 13px;
}

.live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    margin-left: 5px;
    border-radius: 20px;
    background: #fff0e8;
    color: #ff6500;
    font-size: 11px;
}

.live span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff6500;
}


/* =========================
   SLIDER
========================= */

.cashback-slider {
    position: relative;

    height: 660px;

    overflow: hidden;

    padding: 3px;
}


/* tạo hiệu ứng mờ trên dưới */

.cashback-slider::before,
.cashback-slider::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    height: 45px;

    z-index: 5;

    pointer-events: none;
}

.cashback-slider::before {
    top: 0;

    background: linear-gradient(
        to bottom,
        #fff,
        transparent
    );
}

.cashback-slider::after {
    bottom: 0;

    background: linear-gradient(
        to top,
        #fff,
        transparent
    );
}


/* TRACK */

.cashback-track {
    display: flex;

    flex-direction: column;

    gap: 8px;

    animation: slideUp 15s linear infinite;
}


/* CARD */

.cashback-card {
    flex-shrink: 0;

    width: 100%;

    min-height: 118px;

    box-sizing: border-box;

    padding: 16px 19px;

    background: #fff;

    border: 1px solid #ffe0d0;

    border-left: 3px solid #ff6500;

    border-radius: 20px;

    box-shadow:
        0 3px 10px rgba(255, 100, 0, .08);
}


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

.order-header {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 12px;
}

.order-icon {
    font-size: 20px;
}

.order-name {
    color: #777;

    font-size: 10px;

    margin-bottom: 2px;
}

.order-code {
    color: #222;

    font-size: 10px;

    font-weight: 700;
}


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

.order-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 9px;
}

.price-box {
    height: 44px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 4px 8px;

    border: 1px solid #ffe1d3;

    border-radius: 6px;

    background: linear-gradient(
        90deg,
        #fffaf8,
        #fff
    );
}

.price-box span {
    font-size: 9px;

    color: #777;

    margin-bottom: 2px;
}

.price-box strong {
    font-size: 13px;

    color: #222;
}


/* HOÀN */

.price-box.refund {
    background: #fff5ee;

    border-color: #ffb998;
}

.price-box.refund span {
    color: #ff6500;

    font-weight: 600;
}

.price-box.refund strong {
    color: #ff6500;
}


/* =========================
   ANIMATION
========================= */

@keyframes slideUp {

    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-126px);
    }

}


/* BUTTON */

.cashback-button {
    text-align: center;

    margin-top: 20px;
}

.cashback-button a {
    display: inline-flex;

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

    min-width: 250px;

    padding: 13px 25px;

    background: #ff6500;

    color: #fff;

    border-radius: 13px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;
}


/* MOBILE */

@media (max-width: 576px) {

    .cashback-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .cashback-title h2 {
        font-size: 17px;
    }

    .cashback-slider {
        height: 600px;
    }

    .cashback-card {
        padding: 14px 15px;
    }

    .price-box strong {
        font-size: 12px;
    }

}