@font-face {
    font-family: Samsung Sharp Sans;
    src: url(/assets/fonts/ICIEL-SAMSUNGSHARPSANS-BOLD_SMCPS.woff2) format("woff2");
    font-display: fallback
}

@font-face {
    font-family: SVN ProductSans;
    src: url(/assets/fonts/SVN-Product-Sans-Regular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: fallback
}

@font-face {
    font-family: SVN ProductSans;
    src: url(/assets/fonts/SVN-Product-Sans-Bold.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: fallback
}

@font-face {
    font-family: ProductSans;
    src: url(/assets/fonts/Product-Sans-Regular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: fallback
}

@font-face {
    font-family: ProductSans;
    src: url(/assets/fonts/Product-Sans-Bold.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: fallback
}
body {
    font-family: var(--font-hel) !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-hel) !important;
}
/* Cart page: restore header search after foundation/cart.css load */
.header_bottom .search-input input[type="text"],
.header_bottom .search-input input {
    width: 100%;
    padding: 0 38px 0 14px !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 16px !important;
    border-radius: 10px !important;
    height: 40px !important;
    background: #fff !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}
form.delete_item {
    position: absolute;
    bottom: 10px;
    left: 375px !important;
    font-size: 22px;
    color: #999999;
}
.header_bottom .search-input input:focus {
    outline: none !important;
    border-color: var(--color1) !important;
    box-shadow: 0 0 0 3px rgba(33, 193, 228, 0.12) !important;
    background: #fff !important;
    color: #303030 !important;
}

.header_bottom .search-input button,
.header_bottom .search-input button.btn,
.header_bottom .search-input button.btn-search {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    border-radius: 6px !important;
    margin: 0 !important;
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    line-height: normal !important;
    font-family: inherit !important;
    font-weight: normal !important;
    box-shadow: none !important;
    color: inherit !important;
    -webkit-appearance: none !important;
}

.header_bottom .search-input button:hover,
.header_bottom .search-input button:focus {
    background: transparent !important;
    color: inherit !important;
}

.header_bottom .search-input button i {
    font-size: 15px !important;
    color: #94a3b8 !important;
}

.header_bottom .search-input button:hover i {
    color: var(--color1) !important;
}

/* Cart body: full width aligned with header/footer container */
section#payment.cart-payment-page {
    padding: 24px 0 !important;
    background: var(--bg-body) !important;
    font-family: 'SVN ProductSans', sans-serif !important;
}

/* Font thống nhất — ghi đè Foundation (Montserrat) và cart.css static */
section#payment.cart-payment-page .pricing-table,
section#payment.cart-payment-page .pricing-table .title,
section#payment.cart-payment-page .title-payment,
section#payment.cart-payment-page .bullet-item,
section#payment.cart-payment-page p,
section#payment.cart-payment-page li,
section#payment.cart-payment-page label,
section#payment.cart-payment-page b,
section#payment.cart-payment-page strong,
section#payment.cart-payment-page a,
section#payment.cart-payment-page input,
section#payment.cart-payment-page select,
section#payment.cart-payment-page textarea,
section#payment.cart-payment-page button,
section#payment.cart-payment-page .button,
section#payment.cart-payment-page #coupon_cart_a,
section#payment.cart-payment-page .item-content-payment-table,
section#payment.cart-payment-page .item-content-payment-table a,
section#payment.cart-payment-page .payment-table-header,
section#payment.cart-payment-page .columns-table-payment-2,
section#payment.cart-payment-page .total_all,
section#payment.cart-payment-page .info-payment,
section#payment.cart-payment-page .check_vat,
section#payment.cart-payment-page .select2-container,
section#payment.cart-payment-page .select2-drop,
section#payment.cart-payment-page .select2-results,
section#payment.cart-payment-page .select2-results__option {
    font-family: 'SVN ProductSans', sans-serif !important;
    letter-spacing: normal;
}

section#payment.cart-payment-page p.payment-table-header,
section#payment.cart-payment-page p.item-content-payment-table {
    letter-spacing: normal !important;
}

section#payment.cart-payment-page i.fa {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', FontAwesome !important;
}

section#payment.cart-payment-page i[class*="la-"],
section#payment.cart-payment-page i.la {
    font-family: 'Line Awesome Free', 'LineAwesome', sans-serif !important;
}

section#payment.cart-payment-page input,
section#payment.cart-payment-page select,
section#payment.cart-payment-page textarea,
section#payment.cart-payment-page button,
section#payment.cart-payment-page .select2-container .select2-choice,
section#payment.cart-payment-page .select2-container .select2-choice > span:first-child,
section#payment.cart-payment-page .select2-results .select2-result-label {
    font-family: 'SVN ProductSans', sans-serif !important;
}

section#payment.cart-payment-page > .container > .row {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Khoảng cách giữa 2 khung giỏ hàng / thanh toán (7:5, gap 12px) */
section#payment.cart-payment-page > .container > .row.cart-payment-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
}

section#payment.cart-payment-page #gio-hang.columns,
section#payment.cart-payment-page #information-payment.columns {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    box-sizing: border-box;
    padding-bottom: 50px;
}

section#payment.cart-payment-page #gio-hang.columns {
    flex: 7 1 0;
}

section#payment.cart-payment-page #information-payment.columns {
    flex: 5 1 0;
}

section#payment.cart-payment-page .pricing-table {
    background: #fff;
    border: 1px solid #e8edf2 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    margin-bottom: 16px;
    overflow: hidden;
}

section#payment.cart-payment-page .pricing-table .title,
section#payment.cart-payment-page .pricing-table .title-payment {
    padding: 14px 18px 10px !important;
    background: transparent !important;
    border-bottom: 1px solid #eef2f6;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

section#payment.cart-payment-page .pricing-table .title.backgroundcl-Hong {
    background: #f8fafc !important;
    color: #0f172a !important;
}

section#payment.cart-payment-page a.get_baogia {
    border-radius: 8px;
    transition: opacity 0.2s, transform 0.2s;
}

section#payment.cart-payment-page a.get_baogia:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff !important;
}

/* Sản phẩm trong giỏ — chỉ làm đẹp, giữ cấu trúc cột Foundation */
section#payment.cart-payment-page #list_product_item > div.item-cart {
    background: #f8fafc !important;
    border: 1px solid #e8edf2 !important;
    border-radius: 12px !important;
    border-bottom: 1px solid #e8edf2 !important;
}

section#payment.cart-payment-page .item-content-payment-table {
    letter-spacing: normal !important;
}

section#payment.cart-payment-page .item-content-payment-table a:hover {
    color: var(--color1, #21C1E4);
}

section#payment.cart-payment-page .img-cart {
    border-radius: 10px;
    border: 1px solid #eef2f6;
    background: #fff;
    padding: 4px;
}

section#payment.cart-payment-page .input-count {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #fff !important;
}

section#payment.cart-payment-page .columns-table-payment-2,
section#payment.cart-payment-page .color-red.columns-table-payment-2 {
    letter-spacing: normal !important;
}

section#payment.cart-payment-page .total_all {
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}

section#payment.cart-payment-page .total_all .total_gift {
    letter-spacing: normal !important;
}

/* Mã giảm giá — giữ layout large-4 / large-8 */
section#payment.cart-payment-page #gio-hang .row.collapse.show {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

section#payment.cart-payment-page #coupon_cart,
section#payment.cart-payment-page #tichluy_cart {
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    height: 42px !important;
    margin-bottom: 0 !important;
    box-sizing: border-box;
}

section#payment.cart-payment-page #gio-hang .row.collapse.show .large-4.columns span {
    line-height: 42px !important;
}

section#payment.cart-payment-page #gio-hang .row.collapse.show .large-8.columns {
    display: flex !important;
    align-items: stretch;
    gap: 8px;
}

section#payment.cart-payment-page #gio-hang .row.collapse.show .large-8.columns[style*="height: 37px"] {
    height: auto !important;
    min-height: 42px;
    align-items: center;
}

section#payment.cart-payment-page #coupon_cart {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
}

section#payment.cart-payment-page #coupon_cart_a {
    flex: 0 0 130px;
    width: 130px !important;
    height: 42px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1.2 !important;
    box-sizing: border-box;
    transition: opacity 0.2s;
}

section#payment.cart-payment-page #tichluy_cart {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
}

section#payment.cart-payment-page #coupon_cart_a:hover {
    opacity: 0.9;
    color: #fff !important;
}

/* Phương thức thanh toán — 3 nút đều nhau, full width */
section#payment.cart-payment-page #hinh-thuc-thanh-toan .info-payment {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    width: calc(100% - 20px) !important;
    margin: 10px !important;
    padding: 0 !important;
    box-sizing: border-box;
}

section#payment.cart-payment-page #hinh-thuc-thanh-toan div.info-payment p {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
    border: 2px solid #e8edf2 !important;
    border-radius: 12px !important;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

section#payment.cart-payment-page #hinh-thuc-thanh-toan div.info-payment p label {
    display: block;
    height: 100%;
}

section#payment.cart-payment-page #hinh-thuc-thanh-toan div.info-payment p label img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    display: block;
    padding: 10px 8px !important;
    box-sizing: border-box;
}

section#payment.cart-payment-page #hinh-thuc-thanh-toan div.info-payment p.active {
    border-color: #21C1E4 !important;
    box-shadow: 0 0 0 3px rgba(33, 193, 228, 0.12);
}

section#payment.cart-payment-page #hinh-thuc-thanh-toan div.info-payment p::after {
    top: 6px;
    right: 6px;
    font-size: 18px !important;
}

/* Form giao hàng — full width như gốc */
section#payment.cart-payment-page #u_infor_form input[type="text"],
section#payment.cart-payment-page #u_infor_form input[type="tel"],
section#payment.cart-payment-page #u_infor_form input[type="email"],
section#payment.cart-payment-page #u_infor_form input[type="number"],
section#payment.cart-payment-page #u_infor_form select,
section#payment.cart-payment-page #u_infor_form textarea {
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

section#payment.cart-payment-page #u_infor_form input:focus,
section#payment.cart-payment-page #u_infor_form select:focus,
section#payment.cart-payment-page #u_infor_form textarea:focus {
    outline: none;
    border-color: var(--color1, #21C1E4) !important;
    box-shadow: 0 0 0 3px rgba(33, 193, 228, 0.12) !important;
    background: #fff !important;
}

section#payment.cart-payment-page #u_infor_form .checkbox label.col-8.col-form-label {
    border-radius: 10px !important;
    box-shadow: none !important;
    border: 1px dashed #cbd5e1;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

section#payment.cart-payment-page #u_infor_form .checkbox label.col-8.col-form-label.clicked {
    background: #f0f9ff !important;
    border-color: #21C1E4;
    color: #0369a1 !important;
}

section#payment.cart-payment-page #payging_btn {
    width: 100% !important;
    max-width: none !important;
    height: 48px;
    border: none !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #2cc067, #22a858) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-family: 'SVN ProductSans', sans-serif !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(44, 192, 103, 0.35);
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

section#payment.cart-payment-page #payging_btn:hover {
    background: linear-gradient(135deg, #22a858, #1d9449) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(44, 192, 103, 0.4);
}

/* Select2 */
section#payment.cart-payment-page .select2-container .select2-choice {
    height: 42px !important;
    line-height: 40px !important;
    padding: 0 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 14px !important;
    color: #0f172a !important;
}

section#payment.cart-payment-page .select2-container .select2-choice > span:first-child {
    line-height: 40px !important;
}

section#payment.cart-payment-page .select2-container .select2-choice .select2-arrow {
    border-left: none;
    background: transparent;
}

section#payment.cart-payment-page .select2-dropdown-open .select2-choice {
    border-color: var(--color1, #21C1E4) !important;
}

@media only screen and (max-width: 40em) {
    section#payment.cart-payment-page {
        padding: 16px 0 70px !important;
    }

    section#payment.cart-payment-page > .container > .row.cart-payment-row {
        flex-wrap: wrap;
        gap: 14px;
    }

    section#payment.cart-payment-page #gio-hang.columns,
    section#payment.cart-payment-page #information-payment.columns {
        flex: 1 1 100%;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0.9375rem !important;
        padding-right: 0.9375rem !important;
    }

    section#payment.cart-payment-page #hinh-thuc-thanh-toan .info-payment {
        flex-wrap: wrap;
    }

    section#payment.cart-payment-page #hinh-thuc-thanh-toan div.info-payment p {
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
    }

    section#payment.cart-payment-page .pricing-table {
        margin-bottom: 12px;
    }
}

/* Order success / thank you page */
.order-success-page {
    padding: 28px 16px 48px;
    background: var(--bg-body, #f4f6f8);
}

.order-success-page__inner {
    max-width: 960px;
    margin: 0 auto;
}

.order-success-hero {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 26px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.order-success-hero__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #21C1E4, #3e68b2);
    color: #fff;
    font-size: 22px;
}

.order-success-hero__eyebrow {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #21C1E4;
}

.order-success-hero__title {
    margin: 0 0 8px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.order-success-hero__meta {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.order-success-hero__dot {
    margin: 0 6px;
    opacity: 0.5;
}

.order-success-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.order-success-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.order-success-card--full {
    margin-bottom: 14px;
}

.order-success-card__title {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-success-card__title i {
    color: var(--color1, #21C1E4);
    font-size: 14px;
}

.order-success-card__name {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
}

.order-success-card__highlight {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.order-success-card__muted {
    margin: 0 0 4px;
    font-size: 14px;
    color: #64748b;
}

.order-success-card__note {
    margin: 10px 0 0;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #0369a1;
    background: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #bae6fd;
}

.order-success-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.order-success-card__list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #334155;
    line-height: 1.45;
}

.order-success-card__list li span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #94a3b8;
}

.order-success-card__body--inline p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #334155;
}

.order-success-card__body--inline span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 2px;
}

.order-success-products {
    margin-top: 14px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.order-success-products__title {
    margin: 0;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 1px solid #eef2f6;
}

.order-success-table-wrap {
    overflow-x: auto;
}

.order-success-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.order-success-table th {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f6;
    white-space: nowrap;
}

.order-success-table td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.order-success-table tbody tr:last-child td {
    border-bottom: none;
}

.order-success-product {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    text-decoration: none;
    min-width: 200px;
}

.order-success-product:hover {
    color: var(--color1, #21C1E4);
}

.order-success-product img {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eef2f6;
    background: #fff;
}

.order-success-table__total {
    font-weight: 700;
    color: #0f172a;
}

.order-success-summary {
    display: flex;
    justify-content: flex-end;
    padding: 16px 20px 20px;
    border-top: 1px solid #eef2f6;
    background: #fafbfc;
}

.order-success-summary__list {
    margin: 0;
    min-width: min(100%, 320px);
}

.order-success-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 6px 0;
    font-size: 14px;
}

.order-success-summary__row dt {
    margin: 0;
    color: #64748b;
    font-weight: 500;
}

.order-success-summary__row dd {
    margin: 0;
    font-weight: 600;
    color: #0f172a;
    text-align: right;
}

.order-success-summary__row--discount dd {
    color: #16a34a;
}

.order-success-summary__row--grand {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
    font-size: 16px;
}

.order-success-summary__row--grand dd {
    font-size: 18px;
    font-weight: 800;
    color: #c0392b;
}

.order-success-summary__row--due dd {
    color: #c0392b;
    font-weight: 800;
}

.order-success-qr {
    margin-top: 14px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
    border: 1px solid #bbf7d0;
    border-radius: 14px;
}

.order-success-qr__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-success-qr__title i {
    color: #16a34a;
}

.order-success-qr__desc {
    margin: 0 0 18px;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.order-success-qr__body {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

.order-success-qr__code {
    flex: 0 0 auto;
    text-align: center;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.order-success-qr__code img {
    display: block;
    max-width: 220px;
    height: auto;
    border-radius: 8px;
}

.order-success-qr__scan {
    margin: 10px 0 0;
    font-size: 12px;
    color: #64748b;
}

.order-success-qr__info {
    flex: 1;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.order-success-qr__info li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 14px;
    line-height: 1.45;
}

.order-success-qr__info li:last-child {
    border-bottom: none;
}

.order-success-qr__info li > span {
    flex: 0 0 120px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
}

.order-success-qr__info li strong {
    color: #0f172a;
    font-weight: 700;
}

.order-success-qr__copy {
    cursor: pointer;
    padding: 2px 8px;
    background: #fff;
    border-radius: 6px;
    border: 1px dashed #94a3b8;
    transition: border-color 0.15s, background 0.15s;
}

.order-success-qr__copy:hover {
    border-color: var(--color1, #21C1E4);
    background: #f0fdfa;
}

.order-success-qr__copy.is-copied {
    border-color: #16a34a;
    background: #dcfce7;
}

.order-success-qr__amount strong {
    font-size: 18px;
    color: #c0392b;
}

.order-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.order-success-actions__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.order-success-actions__btn--ghost {
    color: #334155;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.order-success-actions__btn--ghost:hover {
    color: var(--color1, #21C1E4);
    border-color: var(--color1, #21C1E4);
}

.order-success-actions__btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #21C1E4, #3e68b2);
    border: none;
    box-shadow: 0 4px 14px rgba(33, 193, 228, 0.35);
}

.order-success-actions__btn--primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(33, 193, 228, 0.45);
}

@media (max-width: 640px) {
    .order-success-page {
        padding: 16px 12px 40px;
    }

    .order-success-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 16px;
    }

    .order-success-hero__dot {
        display: none;
    }

    .order-success-hero__meta {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .order-success-table th:nth-child(3),
    .order-success-table td:nth-child(3) {
        display: none;
    }

    .order-success-product {
        min-width: 0;
    }

    .order-success-product span {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .order-success-summary {
        justify-content: stretch;
    }

    .order-success-summary__list {
        width: 100%;
    }

    .order-success-qr__body {
        flex-direction: column;
        align-items: center;
    }

    .order-success-qr__info {
        width: 100%;
    }

    .order-success-qr__info li > span {
        flex: 0 0 100%;
    }

    .order-success-actions__btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

/* Order lookup / check page */
.order-check-page {
    padding: 28px 16px 48px;
    background: var(--bg-body, #f4f6f8);
    min-height: 50vh;
}

.order-check-page__inner {
    max-width: 880px;
    margin: 0 auto;
}

.order-check-hero {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 26px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.order-check-hero__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #3c7bbd, #2d6ba8);
    color: #fff;
    font-size: 20px;
}

.order-check-hero__title {
    margin: 0 0 8px;
    font-size: clamp(22px, 3vw, 26px);
    font-weight: 700;
    color: #0f172a;
}

.order-check-hero__desc {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.order-check-form {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.order-check-form__label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.order-check-form__row {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}

.order-check-form__icon {
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #94a3b8;
    background: #f1f5f9;
    border-right: 1px solid #e2e8f0;
}

.order-check-form__row input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 14px 16px;
    font-size: 15px;
    background: #fff;
    color: #0f172a;
}

.order-check-form__submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 22px;
    border: none;
    background: linear-gradient(135deg, #21C1E4, #3e68b2);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.order-check-form__submit:hover {
    filter: brightness(1.05);
}

.order-check-results {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.order-check-results__count {
    margin: 0;
    padding: 14px 20px;
    font-size: 14px;
    color: #64748b;
    border-bottom: 1px solid #eef2f6;
    background: #fafbfc;
}

.order-check-table-wrap {
    overflow-x: auto;
}

.order-check-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.order-check-table th {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f6;
    white-space: nowrap;
}

.order-check-table td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.order-check-table tbody tr:last-child td {
    border-bottom: none;
}

.order-check-table tbody tr:hover {
    background: #f8fafc;
}

.order-check-table__uid {
    font-weight: 700;
    color: #3c7bbd;
    text-decoration: none;
}

.order-check-table__uid:hover {
    color: #21C1E4;
}

.order-check-table__amount {
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.order-check-table__date {
    color: #64748b;
    white-space: nowrap;
}

.order-check-table__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #3c7bbd;
    text-decoration: none;
    white-space: nowrap;
}

.order-check-table__link:hover {
    color: #21C1E4;
}

.order-check-empty {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: #64748b;
}

.order-check-empty i {
    font-size: 40px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.order-check-empty p {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #475569;
}

.order-check-empty small {
    font-size: 13px;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.order-status-badge--pending {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.order-status-badge--confirmed,
.order-status-badge--not_print_delivery,
.order-status-badge--print_delivery {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.order-status-badge--on_delivery {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.order-status-badge--complete {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.order-status-badge--cancelled,
.order-status-badge--trash,
.order-status-badge--refund {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.order-check-detail-hero__icon {
    background: linear-gradient(135deg, #3c7bbd, #2d6ba8);
}

.order-check-detail-hero .order-success-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.order-success-card__note--success {
    color: #15803d;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.text-end {
    text-align: right;
}

@media (max-width: 768px) {
    .order-check-form__row {
        flex-wrap: wrap;
    }

    .order-check-form__icon {
        display: none;
    }

    .order-check-form__row input {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
    }

    .order-check-form__submit {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    .order-check-table th:nth-child(4),
    .order-check-table td:nth-child(4),
    .order-check-table th:last-child,
    .order-check-table td:last-child {
        display: none;
    }

    .order-check-hero {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}
