.header-widget span {
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-align: left;
    line-height: 20px;
    color: var(--heading);
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s;
}

.content_html ul {
    list-style-type: disc !important;
    /* Hiển thị dấu chấm đầu dòng */
    padding-left: 40px;
    /* Khoảng cách từ cạnh trái đến nội dung danh sách */
    margin: 0;
}

.footer-part {
    padding-top: 30px;
    background: white;
}

#top-menu-left {
    position: fixed;
    left: 0;
    /* Đổi từ right: 0; thành left: 0; */
    top: 100px;
    z-index: 99;
    width: 50px;
}

#top-menu-left li {
    display: flex;
    justify-content: flex-start;
    /* Đổi từ justify-content: flex-end; thành justify-content: flex-start; */
    list-style: none;
    margin-bottom: -5px;
}

#top-menu-left i {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

#top-menu-left i img {
    border-radius: 50%;
    height: 24px;
    width: 24px;
}

#top-menu-left li a {
    background: #f5f6fa;
    border-radius: 0 10px 10px 0;
    /* Đổi từ border-radius: 10px 0 0 10px; thành border-radius: 0 10px 10px 0; */
    box-shadow: 0 0 5px 0 rgb(48 56 70 / 20%);
    display: inline-flex;
    align-items: center;
    color: #000;
    font-size: 13px;
    width: 195px;
    margin-left: 0px;
    /* Đổi từ margin-right: -10px; thành margin-left: -10px; */
    cursor: pointer;
}

#top-menu-left span {
    padding: 10px 0 10px 10px;
    /* Đổi từ padding: 10px 10px 10px 0; thành padding: 10px 0 10px 10px; */
    width: 140px;
}

#top-menu-left li a.active {
    background: var(--primary);
    margin-left: 0;
    /* Đổi từ margin-right: 0; thành margin-left: 0; */
    color: #fff;
    width: 195px;
    margin-left: -143px;
    /* Đổi từ margin-right: -143px; thành margin-left: -143px; */
}

body:not(.scrolling) #top-menu-left li a:not(.active) {
    width: 60px;
}

body:not(.scrolling) #top-menu-left li a:not(.active) span {
    display: none;
}

#top-menu-left:hover li a:hover span {
    display: block !important;
}

@media screen and (min-width: 768px) {
    #top-menu-left:hover li a:hover {
        width: 195px !important;
    }
}

@media screen and (min-width: 1401px) {
    #top-menu-left li a {
        margin-left: 0px;
        /* Đổi từ margin-right: -10px; thành margin-left: -10px; */
        font-size: 16px;
    }

    #top-menu-left i {
        margin: 12px;
    }

    #top-menu-left span {
        left: 0;
        /* Đổi từ left: 105px; thành left: 0; */
        padding: 15px 0 15px 15px;
        /* Đổi từ padding: 15px 15px 15px 0; thành padding: 15px 0 15px 15px; */
        width: 165px;
    }

    #top-menu-left i img {
        border-radius: 50%;
        height: 30px;
        width: 30px;
    }

    #top-menu-left li a.active {
        margin-left: 0;
        /* Đổi từ margin-right: 0; thành margin-left: 0; */
        width: 240px;
    }

    #top-menu-left li a.active span {
        left: 54px;
    }
}

@media screen and (max-width: 767px) {

    #top-menu-left,
    #top-menu-left li {
        pointer-events: none;
    }

    #top-menu-left i img {
        border-radius: 30%;
    }

    #top-menu-left i {
        border-radius: 30%;
    }

    #top-menu-left span {
        visibility: hidden;
        opacity: 0;
    }

    #top-menu-left li a.active span {
        visibility: visible;
        opacity: 1;
    }

    #top-menu-left li a {
        width: 58px;
        height: 45px;
        pointer-events: auto;
    }

    #top-menu-left li a.active {
        width: 145px;
    }
}

/* END */
#top-menu-right {
    position: fixed;
    right: 0;
    top: 105px;
    z-index: 99;
    width: 50px;
}

#top-menu-right li {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin-bottom: -5px;
}

#top-menu-right i {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

#top-menu-right i img {
    border-radius: 50%;
    height: 24px;
    width: 24px;
}

#top-menu-right li a {
    background: #f5f6fa;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 5px 0 rgb(48 56 70 / 20%);
    display: inline-flex;
    align-items: center;
    color: #000;
    font-size: 13px;
    width: 195px;
    margin-right: 0px;
    cursor: pointer;
}

#top-menu-right span {
    padding: 10px 10px 10px 0;
    width: 140px;
}

#top-menu-right li a.active {
    background: var(--primary);
    margin-right: 0;
    color: #fff;
    width: 195px;
    margin-right: -143px;
}

body:not(.scrolling) #top-menu-right li a:not(.active) {
    width: 60px;
}

body:not(.scrolling) #top-menu-right li a:not(.active) span {
    display: none;
}

#top-menu-right:hover li a:hover span {
    display: block !important;
}

@media screen and (min-width: 768px) {
    #top-menu-right:hover li a:hover {
        width: 195px !important;
    }
}

@media screen and (min-width: 1401px) {
    #top-menu-right li a {
        margin-right: 0px;
        font-size: 16px;
    }

    #top-menu-right i {
        margin: 12px;
    }

    #top-menu-right span {
        left: 105px;
        padding: 15px 15px 15px 0;
        width: 165px;
    }

    #top-menu-right i img {
        border-radius: 50%;
        height: 30px;
        width: 30px;
    }

    #top-menu-right li a.active {
        margin-right: 0;
        width: 240px;
    }

    #top-menu-right li a.active span {
        left: 54px;
    }
}

@media screen and (max-width: 767px) {

    #top-menu-right,
    #top-menu-right li {
        pointer-events: none;
    }

    #top-menu-right i img {
        border-radius: 30%;
    }

    #top-menu-right i {
        border-radius: 30%;
    }

    #top-menu-right span {
        visibility: hidden;
        opacity: 0;
    }

    #top-menu-right li a.active span {
        visibility: visible;
        opacity: 1;
    }

    #top-menu-right li a {
        width: 58px;
        height: 45px;
        pointer-events: auto;
    }

    #top-menu-right li a.active {
        width: 145px;
    }
}


.footer-copytext a {
    color: #ffffff;
}

.megamenu {
    z-index: 3;
}

ul,
li {
    list-style-type: none;
    margin-left: 0px;
}

.header-logo img {
    height: 70px;
}

/* START THEME BOX4 */
.product-box4 {
    margin-top: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 10%);
    overflow: hidden;
    border: 1px solid var(--bs-border-color)
}

.product-head-box4 {
    display: flex;
    border-bottom: 1px solid var(--bs-border-color);
    padding: 13px;
    background: #f5f5f5
}

.product-head-box4 img {
    height: 40px
}

.product-head-box4 h4 {
    width: calc(100% - 40px);
    padding: 0 20px;
    font-size: 16px;
    font-weight: 700;
    margin: 0
}

.product-body-box4 {
    border-bottom: 1px solid #e1ecf8;
    padding: 15px;
    min-height: 186px
}

/* CSS cho hình vuông sản phẩm BOX_5 */
.product-image-square {
    width: 100%;
    aspect-ratio: 1/1;
    /* Tạo hình vuông với tỷ lệ 1:1 */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-image-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Đảm bảo hình ảnh lấp đầy khung mà không bị méo */
    object-position: center;
    /* Căn giữa hình ảnh */
}

/* CSS cho hình vuông sản phẩm BOX_6 (nhỏ hơn) */
.product-image-box6 {
    width: 100px;
    aspect-ratio: 1/1;
    /* Tạo hình vuông với tỷ lệ 1:1 */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: auto;
    margin-left: 0;
}

.product-image-box6 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Đảm bảo hình ảnh lấp đầy khung mà không bị méo */
    object-position: center;
    /* Căn giữa hình ảnh */
}

.product-body-box4 p {
    margin-bottom: -4px;
    font-size: 14px
}

.product-body-box4 p i {
    color: #558b2f;
    margin-right: 3px;
}

.product-footer-box4 {
    padding: 15px;
    border-bottom: 1px solid #e1ecf8
}

.product-footer-box4 strong {
    display: block;
    font-size: 12px;
    margin-bottom: 5px
}

.product-footer-box4 img {
    height: 20px
}

.border-end-box4 {
    border-right: 1px solid #e1ecf8 !important
}

.product-buttons-box4 {
    padding: 15px
}

.price-box4 {
    text-align: right
}

.price-box4 strong {
    font-size: 18px;
    color: #f5b907;
    margin: 0
}

.proce-box4-not-discount {
    font-size: 18px;
    color: #f5b907;
    margin: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-box4 span {
    text-decoration: line-through;
    font-size: 14px;
    color: #c2c2c2;
    font-weight: 500
}

.buy-btn-box4 {
    background: linear-gradient(135deg, var(--primary) 0, var(--primary1) 100%);
    border: 0;
    color: #fff !important;
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 10%);
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.buy-btn-box4.disabled {
    text-transform: uppercase;
    /* In hoa text*/
    background: rgb(182, 179, 179);
    /* Màu nền xám */
    color: #666;
    /* Màu chữ xám nhạt */
    cursor: not-allowed;
    /* Con trỏ không cho phép */
    pointer-events: none;
    /* Không sự kiện click */
}

.more-btn-box4 {
    background: rgba(255, 255, 255, 0);
    /* Màu nền trong suốt */
    border: 1px solid var(--primary);
    /* Viền màu */
    color: var(--primary);
    /* Màu chữ */
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
    /* Đổ bóng */
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    /* Sử dụng Flexbox */
    justify-content: center;
    /* Căn giữa theo chiều ngang */
    align-items: center;
    /* Căn giữa theo chiều dọc */
    transition: background-color 0.3s, color 0.3s;
    /* Hiệu ứng chuyển đổi màu */
}

/* END THEME BOX4 */

.card-wallet-home {
    top: 115px;
}

.modal-dialog {
    position: relative;
    width: 100%;
    /* adjust as needed */
}

.modal-content {
    position: relative;
    background-color: #fff;
    /* modal background color */
    border-radius: 10px;
}

.modal-header {
    padding: 15px;
}

.modal-footer {
    padding: 0px;
}

/* Close button styles */
.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}





.all-product-main .box-product-main {
    border-radius: 10px;
    height: 100px;
    width: calc(25% - 15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    background-size: cover;
    transition: box-shadow .2s;
    width: 100%;
}

.box-img-product {
    background: #fff;
    box-shadow: 0 4px 4px rgb(0 0 0 / 19%), inset 0 -1px 4px rgb(0 0 0 / 25%);
    border-radius: 14px;
    height: 75px;
    width: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.box-text-style {
    color: #fff;
}

.btn-see-more {
    display: none;
    border: 0;
    width: 130px;
    border-radius: 30px;
    background: #fff;
    font-weight: 700;
    margin-left: 92px;
}

.box-product-main:hover .btn-see-more {
    visibility: visible;
    margin-top: 15px;
    height: 30px;
    display: block;
}

.box-product-main .btn-see-more:hover {
    background-color: #ffffe6;
}

.row-menu-home {
    margin: -6px 4px 10px;
}

.row-menu-home .form-provide-home {
    display: block;
    border-radius: 15px;
    padding: 15px 10px;
    background-color: #f7f7f782;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    border: 1px solid #eaeaea;
    color: inherit;
}

.table-padded {
    border-collapse: separate;
    border-spacing: 0 10px;
    padding-right: 8px;
    padding-top: 18px;
}

.btn-custom {
    color: #ffffff;
    font-size: 15px;
    font-family: Arial, sans-serif;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 10%);
    padding: 10px;
    width: 230px;
}

.btn-custom-available {
    background-color: #00a1f7;
}

.btn-custom-sold {
    background-color: #444444;
}

.btn-custom-sold:hover {
    background-color: #2e2e2e;
    color: #fff;
}

.btn-custom-available:hover {
    background-color: #f64444;
    color: #fff;
}

.posterd {
    padding: 20px;
    background: #4e8666bd;
    border: 1px #eee solid;
    border-radius: 15px;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.welcomto {
    display: flex;
    align-items: center;
}

.box-intro {
    background: #fff;
    box-shadow: 0 4px 4px rgb(0 0 0 / 19%), inset 0 -4px 8px rgb(0 0 0 / 25%);
    border-radius: 14px;
    height: 90px;
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
}

.describe-intro {
    margin-top: 15px;
    opacity: 0.9;
    font-size: 17px;
    line-height: 1.4;
}

ul.custom-button-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    box-sizing: border-box;
    padding: 11px 0px;
}

ul.custom-button-list li {
    flex: 1 1 auto;
}

.btn-category-home {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    width: 100%;
}

.btn-category-home:hover {
    background-color: #555;
    color: #fff;
}

.btn-category-home:focus {
    outline: none;
    background-color: #000;
}

.btn-category-home.active {
    color: #3a6b8f;
    background: #b4b4b461;
}

.btn-category-home a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

/* Skeleton Loading Styles - Vertical List Layout */
.skeleton-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
}

.skeleton-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 20px;
    min-height: 120px;
}

.skeleton-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    flex-shrink: 0;
    margin-right: 20px;
}

.skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-title {
    height: 18px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    width: 80%;
}

.skeleton-text {
    height: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    width: 60%;
}

.skeleton-info {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.skeleton-stock {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    width: 80px;
}

.skeleton-sales {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    width: 80px;
}

.skeleton-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 120px;
}

.skeleton-price {
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    width: 100px;
}

.skeleton-button {
    height: 35px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
    width: 100px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Loading dots animation */
.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 30px 0;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.loading-text {
    text-align: center;
    color: #667eea;
    font-weight: 500;
    margin-top: 10px;
    font-size: 14px;
}


/* Skeleton Loading cho Menu */
.menu-skeleton {
    padding: 20px 0;
}

.skeleton-menu-title {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 15px;
    width: 60%;
}

.skeleton-menu-item {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
    width: 80%;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Ẩn skeleton khi menu đã load */
.menu-loaded .menu-skeleton {
    display: none;
}

/* Skeleton Loading cho Category Buttons (Home) */
.home-categories-loading {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.skeleton-category-btn {
    height: 40px;
    width: 150px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .skeleton-category-btn {
        width: 120px;
        height: 35px;
    }
}

/* ===== PREVIEW UID MODAL ===== */
#openModal .modal-dialog.modal-xl .modal-content {
    background: #fff !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    padding: 0 !important;
}

#openModal .modal-dialog.modal-xl {
    max-width: 960px !important;
}

#openModal .modal-backdrop,
.modal-backdrop {
    background: rgba(0, 0, 0, 0.5) !important;
}

.pv-container {
    padding: 24px !important;
    background: #fff !important;
    position: relative !important;
}

.pv-close {
    position: absolute !important;
    top: 16px !important;
    right: 20px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 1px solid #e5e7eb !important;
    background: #f9fafb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 14px !important;
    color: #374151 !important;
    transition: all 0.2s !important;
    z-index: 10 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.pv-close:hover {
    background: #ef4444 !important;
    color: #fff !important;
    border-color: #ef4444 !important;
}

.pv-header {
    padding-bottom: 16px !important;
    border-bottom: 2px solid #f3f4f6 !important;
    margin-bottom: 20px !important;
}

.pv-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 10px !important;
    padding-right: 40px !important;
    line-height: 1.4 !important;
}

.pv-badge {
    display: inline-block !important;
    padding: 4px 12px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-right: 6px !important;
    color: #fff !important;
}

.pv-badge-green {
    background: #059669 !important;
}

.pv-badge-blue {
    background: #2563eb !important;
}

.pv-badge-red {
    background: #dc2626 !important;
}

.pv-body {
    display: flex !important;
    gap: 24px !important;
}

.pv-left {
    flex: 1 !important;
    min-width: 0 !important;
}

.pv-right {
    width: 300px !important;
    flex-shrink: 0 !important;
}

.pv-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
    gap: 8px !important;
}

.pv-toolbar label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #374151 !important;
    margin: 0 !important;
}

.pv-toolbar .pv-page-info {
    font-size: 12px !important;
    color: #9ca3af !important;
}

.pv-uid-list {
    max-height: 420px !important;
    overflow-y: auto !important;
    border-top: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    background: #fff !important;
}

.pv-uid-list table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    border: none !important;
}

.pv-uid-list thead {
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
}

.pv-uid-list thead th {
    background: #f9fafb !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    padding: 6px 12px !important;
    border-bottom: 2px solid #e5e7eb !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    letter-spacing: 0.5px !important;
}

.pv-uid-list tbody tr {
    cursor: pointer !important;
    transition: background 0.15s !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.pv-uid-list tbody tr:hover {
    background: #f0f9ff !important;
}

.pv-uid-list tbody tr.pv-selected {
    background: #eff6ff !important;
}

.pv-uid-list tbody td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
    font-size: 13px !important;
    color: #1f2937 !important;
    border: none !important;
}

.pv-uid-list tbody td:first-child {
    width: 40px !important;
    text-align: center !important;
}

.pv-uid-list .pv-uid-text {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace !important;
    font-size: 13px !important;
    letter-spacing: 0.3px !important;
}

.pv-uid-list input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
    accent-color: #2563eb !important;
}

.pv-pagination {
    display: flex !important;
    justify-content: center !important;
    margin-top: 12px !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
}

.pv-pagination button {
    min-width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    border: 1px solid #d1d5db !important;
    background: #fff !important;
    color: #374151 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
    padding: 0 6px !important;
    line-height: 32px !important;
}

.pv-pagination button:hover {
    background: #f3f4f6 !important;
    border-color: #9ca3af !important;
}

.pv-pagination button.pv-page-active {
    background: #2563eb !important;
    color: #fff !important;
    border-color: #2563eb !important;
}

.pv-pagination .pv-dots {
    align-self: center !important;
    padding: 0 4px !important;
    color: #9ca3af !important;
}

.pv-payment {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 20px !important;
    position: sticky !important;
    top: 0 !important;
}

.pv-payment-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #e5e7eb !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.pv-payment-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    font-size: 13px !important;
}

.pv-payment-row .pv-label {
    color: #6b7280 !important;
}

.pv-payment-row .pv-value {
    font-weight: 600 !important;
    color: #111827 !important;
}

.pv-payment-row .pv-value-green {
    color: #059669 !important;
    font-weight: 700 !important;
}

.pv-payment-row .pv-value-red {
    color: #dc2626 !important;
}

.pv-payment-row .pv-value-blue {
    color: #2563eb !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.pv-selected-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #2563eb !important;
    color: #fff !important;
    padding: 2px 10px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.pv-coupon-input {
    width: 100% !important;
    height: 36px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    color: #374151 !important;
    background: #fff !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    box-sizing: border-box !important;
}

.pv-coupon-input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.pv-divider {
    border: none !important;
    border-top: 1px solid #e5e7eb !important;
    margin: 12px 0 !important;
}

.pv-divider-bold {
    border-top: 2px solid #e5e7eb !important;
    margin: 14px 0 !important;
}

.pv-btn-pay {
    width: 100% !important;
    height: 46px !important;
    border: none !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s !important;
    margin-top: 16px !important;
}

.pv-btn-pay:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

.pv-btn-pay:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.pv-btn-login {
    width: 100% !important;
    height: 46px !important;
    border: none !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #059669, #047857) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 16px !important;
}

.pv-empty {
    text-align: center !important;
    padding: 40px 20px !important;
    color: #6b7280 !important;
}

.pv-empty i {
    font-size: 48px !important;
    color: #d1d5db !important;
    margin-bottom: 12px !important;
    display: block !important;
}

@media (max-width: 767px) {
    .pv-body {
        flex-direction: column !important;
    }

    .pv-right {
        width: 100% !important;
    }

    .pv-container {
        padding: 16px !important;
    }

    #openModal .modal-dialog {
        margin: 10px !important;
    }
}

/* ===== NÚT ĐÓNG MODAL MOBILE ===== */
/* Nút đóng chuyên dụng cho mobile, hiển thị trong khung nhìn modal */
/* Desktop dùng .modal-close gốc (position: absolute bên ngoài modal) */
.modal-close-mobile {
    display: none;
}

@media (max-width: 1100px) {

    /* Ẩn nút đóng desktop gốc (bị khuất ngoài viewport trên mobile) */
    .modal-close.icofont-close {
        display: none !important;
    }

    /* Hiện nút đóng mobile bên trong modal */
    .modal-close-mobile {
        display: flex !important;
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        z-index: 10 !important;
        width: auto !important;
        height: 30px !important;
        padding: 0 12px !important;
        gap: 5px !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        border-radius: 20px !important;
        background: var(--primary, #2563eb) !important;
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        transition: all 0.2s ease !important;
        line-height: 1 !important;
    }

    .modal-close-mobile:hover {
        opacity: 0.9 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    }

    .modal-close-mobile i {
        font-size: 12px !important;
    }
}

/* ===== END PREVIEW UID MODAL ===== */

/* ===== WIDGET BẢNG XẾP HẠNG (LEADERBOARD) ===== */
/* Nút trigger BXH - cùng style với backtop nhưng dùng primary color */
.leaderboard-btn {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 3;
    width: 48px;
    height: 48px;
    font-size: 16px;
    color: var(--white);
    line-height: 48px;
    text-align: center;
    display: block;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
    transition: all .3s;
    cursor: pointer;
    animation: mahmud 4s infinite;
}

.leaderboard-btn:hover {
    color: var(--white);
    transform: scale(1.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}

@media (max-width: 991px) {
    .leaderboard-btn {
        bottom: 115px;
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .leaderboard-btn {
        bottom: 110px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 13px;
    }
}

/* Product category navigation */
#home-categories-container.custom-button-list {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 10px;
    overflow-x: auto;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    scrollbar-width: thin;
    scrollbar-color: #b7c8db transparent;
}

#home-categories-container.custom-button-list li {
    flex: 0 0 auto;
    margin: 0;
}

#home-categories-container .btn-category-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid #d9e3ee;
    border-radius: 12px;
    color: #173b67;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.25;
    white-space: nowrap;
    background: #f7fafe;
    box-shadow: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

#home-categories-container .btn-category-home:hover {
    color: #075aae;
    border-color: #8ebde8;
    background: #edf7ff;
    transform: translateY(-1px);
}

#home-categories-container .btn-category-home.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #075bc7, #078cac);
    box-shadow: 0 7px 16px rgba(7, 91, 199, .22);
}

#home-categories-container .btn-category-home i {
    font-size: 15px;
}

/* Login and registration */
.modern-auth {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(circle at 15% 18%, rgba(21, 174, 205, .12), transparent 25%),
        radial-gradient(circle at 88% 75%, rgba(8, 86, 198, .1), transparent 26%),
        #f4f8fc;
}

.modern-auth::before,
.modern-auth::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.modern-auth::before { top: 70px; left: 7%; width: 150px; height: 150px; border: 28px solid rgba(8, 104, 190, .05); }
.modern-auth::after { right: 8%; bottom: 70px; width: 110px; height: 110px; background: rgba(17, 184, 196, .06); }
.modern-auth .container { position: relative; z-index: 1; }
.modern-auth .row > [class*="col-"] { max-width: 590px; }

.modern-auth .user-form-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid #dbe6f1;
    border-radius: 22px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 22px 55px rgba(15, 47, 82, .13);
}

.modern-auth .user-form-title {
    position: relative;
    margin: 0;
    padding: 30px 34px 26px;
    text-align: left;
    background: linear-gradient(125deg, #0758c8, #0798b1);
}

.modern-auth .user-form-title::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: 20px;
    width: 90px;
    height: 32px;
    opacity: .3;
    background-image: radial-gradient(#fff 2px, transparent 2px);
    background-size: 13px 13px;
}

.modern-auth .user-form-title h2 {
    margin: 0 0 7px;
    color: #fff;
    font-family: inherit;
    font-size: 30px;
    font-weight: 850;
    line-height: 1.2;
}

.modern-auth .user-form-title p {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
}

.modern-auth .user-form-group { padding: 30px 34px 34px; }
.modern-auth .user-form .form-group { position: relative; margin-bottom: 16px; }
.modern-auth .user-form .form-control {
    height: 52px;
    padding: 12px 16px;
    border: 1px solid #ccd9e7;
    border-radius: 12px;
    color: #173b67;
    font-family: inherit;
    font-size: 15px;
    font-weight: 550;
    background: #f9fbfd;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.modern-auth .user-form .form-control::placeholder { color: #8291a5; opacity: 1; }
.modern-auth .user-form .form-control:focus { border-color: #168fc2; background: #fff; box-shadow: 0 0 0 4px rgba(22, 143, 194, .12); }
.modern-auth .form-button { margin-top: 22px; }
.modern-auth .form-button button {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .2px;
    background: linear-gradient(135deg, #075bc7, #078fac);
    box-shadow: 0 10px 22px rgba(7, 91, 199, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.modern-auth .form-button button:hover { transform: translateY(-2px); box-shadow: 0 13px 26px rgba(7,91,199,.28); }
.modern-auth .form-button p { margin: 15px 0 0; color: #66758a; font-size: 14px; font-weight: 550; }
.modern-auth a { color: #0868b9; font-weight: 700; }
.modern-auth .user-form-remind { margin-top: 18px; padding: 17px 20px; border: 1px solid #dce6f0; border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: 0 8px 20px rgba(15,47,82,.06); }
.modern-auth .user-form-remind p { margin: 0; color: #596b80; font-family: inherit; font-size: 14px; font-weight: 550; }
.modern-auth .agree-terms-row { padding: 12px 14px; border: 1px solid #dce6f0; border-radius: 10px; background: #f7fafd; }
.modern-auth .agree-terms-label { color: #53657a; font-family: inherit; font-size: 14px; font-weight: 600; }
.modern-auth #password-strength-status { padding: 7px 10px; font-family: inherit; font-size: 13px; }

@media (max-width: 575px) {
    #home-categories-container.custom-button-list { margin-bottom: 14px; padding: 8px; border-radius: 13px; }
    #home-categories-container .btn-category-home { min-height: 42px; padding: 9px 14px; font-size: 13px; }
    .modern-auth { min-height: 0; padding-top: 30px !important; padding-bottom: 35px !important; }
    .modern-auth .user-form-card { border-radius: 17px; }
    .modern-auth .user-form-title { padding: 25px 22px 22px; }
    .modern-auth .user-form-title h2 { font-size: 25px; }
    .modern-auth .user-form-group { padding: 24px 20px 26px; }
}

/* Modal BXH */
.lb-modal {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    font-family: var(--pfamily);
}

.lb-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
}

.lb-header .modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--heading);
}

.lb-sub {
    color: var(--gray);
    font-size: 12px;
}

.lb-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* Tabs thời gian BXH */
.lb-tabs-wrap {
    display: flex;
    gap: 6px;
    padding: 10px 20px;
    background: var(--chalk);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}

.lb-tab {
    padding: 6px 16px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: all .2s;
    white-space: nowrap;
    font-family: var(--pfamily);
}

.lb-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lb-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Body BXH */
.lb-body {
    padding: 12px 16px;
    max-height: 420px;
    overflow-y: auto;
    background: var(--chalk);
}

.lb-loading {
    text-align: center;
    padding: 40px 0;
    color: var(--gray);
    font-size: 14px;
}

/* Danh sách xếp hạng */
.lb-row {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 6px;
    background: var(--white);
    border: 1px solid var(--border);
    transition: all .2s;
}

.lb-row:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

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

/* Highlight user hiện tại (username phát sáng đỏ) */
.lb-row.lb-is-me .lb-name {
    color: #dc3545 !important;
    animation: glow-text-red 1.5s infinite alternate;
}

@keyframes glow-text-red {
    from {
        text-shadow: 0 0 2px rgba(220, 53, 69, 0.5);
    }

    to {
        text-shadow: 0 0 10px rgba(220, 53, 69, 1);
    }
}

/* Highlight top 3 */
.lb-row.lb-top-1 {
    border-left: 3px solid #f59e0b;
}

.lb-row.lb-top-2 {
    border-left: 3px solid #94a3b8;
}

.lb-row.lb-top-3 {
    border-left: 3px solid #ea580c;
}

/* Badge hạng */
.lb-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    margin-right: 12px;
    flex-shrink: 0;
    color: #fff;
    background: var(--gray-chalk);
}

.lb-top-1 .lb-badge {
    background: #f59e0b;
}

.lb-top-2 .lb-badge {
    background: #94a3b8;
}

.lb-top-3 .lb-badge {
    background: #ea580c;
}

/* Thông tin user */
.lb-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--heading);
    line-height: 1.3;
}

.lb-detail {
    font-size: 12px;
    color: var(--gray);
}

.lb-amount {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    text-align: right;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

/* Trạng thái trống */
.lb-empty {
    text-align: center;
    padding: 40px 16px;
    color: var(--gray);
}

.lb-empty i {
    font-size: 36px;
    margin-bottom: 8px;
    display: block;
    color: var(--border);
}

/* ===== END WIDGET BẢNG XẾP HẠNG ===== */
.home-service-intro {
    --hsi-navy: #082f63;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    margin: 28px 0 26px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .09);
}

.home-service-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 210px;
    padding: 34px 42px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 20%, rgba(255,255,255,.16) 0 34px, transparent 35px),
        radial-gradient(circle at 78% 82%, rgba(255,255,255,.08) 0 120px, transparent 121px),
        linear-gradient(115deg, #0755c9 0%, #006ca8 55%, #19c5d5 100%);
}

.home-service-hero::after {
    content: "";
    position: absolute;
    right: 4%;
    bottom: 12%;
    width: 170px;
    height: 34px;
    opacity: .28;
    background-image: radial-gradient(#fff 2px, transparent 2px);
    background-size: 16px 16px;
}

.home-service-hero__icon {
    display: grid;
    place-items: center;
    flex: 0 0 90px;
    height: 100px;
    margin-right: 30px;
    border: 2px solid rgba(255,255,255,.45);
    border-radius: 28px;
    color: #ffd42a;
    font-size: 46px;
    background: rgba(10, 53, 132, .5);
    box-shadow: inset 0 0 24px rgba(255,255,255,.16), 0 12px 28px rgba(0,35,100,.22);
}

.home-service-hero__content { position: relative; z-index: 1; flex: 1; }
.home-service-hero__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.home-service-hero h1 { margin: 0 0 10px; color: #fff; font-family: inherit; font-size: clamp(27px, 2.5vw, 40px); font-weight: 850; line-height: 1.16; letter-spacing: -.35px; }
.home-service-hero p { margin: 0; color: #fff; font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.45; }

.home-service-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid #54e8a0;
    border-radius: 18px;
    color: #fff;
    font-weight: 800;
    background: #0aa95b;
    box-shadow: 0 6px 16px rgba(0, 89, 53, .28);
    animation: homeServiceLiveBlink 1.15s ease-in-out infinite;
}

.home-service-live i { width: 10px; height: 10px; border-radius: 50%; background: #eafff2; box-shadow: 0 0 0 5px rgba(255,255,255,.16); animation: homeServiceLiveDot .75s ease-in-out infinite alternate; }
@keyframes homeServiceLiveBlink {
    0%, 100% { opacity: 1; box-shadow: 0 6px 16px rgba(0,89,53,.28), 0 0 0 0 rgba(67,255,157,.42); }
    50% { opacity: .72; box-shadow: 0 6px 16px rgba(0,89,53,.2), 0 0 0 8px rgba(67,255,157,0); }
}
@keyframes homeServiceLiveDot {
    from { opacity: .45; transform: scale(.72); }
    to { opacity: 1; transform: scale(1.18); }
}
.home-service-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.home-service-badges span { padding: 10px 17px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 750; line-height: 1.2; background: rgba(0,47,113,.22); }
.home-service-badges i { margin-right: 7px; color: #ffdc2e; }

.home-service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.home-service-card { position: relative; display: flex; align-items: center; min-height: 100px; padding: 18px 20px; border: 1px solid #dce5f0; border-radius: 16px; color: inherit; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.home-service-card:hover { color: inherit; border-color: #9ac5e9; box-shadow: 0 9px 22px rgba(15,73,126,.1); transform: translateY(-2px); }
.home-service-card__icon { display: grid; place-items: center; flex: 0 0 56px; height: 56px; margin-right: 16px; border-radius: 15px; font-size: 25px; }
.home-service-card__icon--blue { color: #fff; background: linear-gradient(135deg,#1267df,#2299ee); }
.home-service-card__icon--telegram { color: #fff; background: linear-gradient(135deg,#188dd2,#38b9e8); }
.home-service-card__icon--support { color: #087c41; background: #e1f7e9; }
.home-service-card h3 { margin: 0 0 6px; color: var(--hsi-navy); font-family: inherit; font-size: 18px; font-weight: 800; line-height: 1.3; }
.home-service-card p { margin: 0; color: #53657c; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.5; }
.home-service-official { position: absolute; top: 13px; right: 14px; padding: 5px 10px; border-radius: 999px; color: #1262a3; font-size: 10px; font-weight: 800; background: #eef6ff; }

.home-service-policy { display: flex; align-items: center; gap: 16px; min-height: 70px; margin-top: 18px; padding: 12px 20px; border: 1px solid #85d7c5; border-radius: 15px; color: #155e3b; background: linear-gradient(90deg,#f9fffc,#f4fcf8); }
.home-service-policy__icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 50%; color: #07864a; background: #dff5e8; }
.home-service-policy strong { white-space: nowrap; color: #155e3b; font-family: inherit; font-size: 16px; font-weight: 800; }
.home-service-policy__text { flex: 1; color: #52677a; font-family: inherit; font-size: 13px; font-weight: 500; line-height: 1.55; }
.home-service-policy__text > * { margin: 0; }
.home-service-policy__badge { padding: 7px 13px; border-radius: 999px; color: #07864a; font-size: 11px; font-weight: 800; background: #dcf5e7; }

@media (max-width: 991px) {
    .home-service-cards { grid-template-columns: 1fr; }
    .home-service-hero { padding: 30px; }
    .home-service-hero__icon { flex-basis: 76px; height: 86px; margin-right: 22px; }
}

@media (max-width: 575px) {
    .home-service-intro { margin-top: 18px; padding: 10px; border-radius: 15px; }
    .home-service-hero { display: block; min-height: 0; padding: 24px 20px; border-radius: 15px; }
    .home-service-hero__icon { width: 62px; height: 66px; margin: 0 0 18px; border-radius: 18px; font-size: 31px; }
    .home-service-hero__heading { display: block; }
    .home-service-live { position: absolute; top: -72px; right: 0; padding: 8px 12px; border-radius: 12px; font-size: 11px; }
    .home-service-hero h1 { font-size: 24px; }
    .home-service-hero p { font-size: 15px; }
    .home-service-badges span { width: 100%; font-size: 12px; }
    .home-service-card { min-height: 88px; padding: 14px; }
    .home-service-official { display: none; }
    .home-service-policy { align-items: flex-start; flex-wrap: wrap; padding: 15px; gap: 10px; }
    .home-service-policy__icon { flex-basis: 38px; height: 38px; }
    .home-service-policy__text { flex-basis: calc(100% - 48px); }
    .home-service-policy__badge { margin-left: 48px; }
}

/* Home products and account panel - final overrides */
.home-product-layout { align-items: flex-start; }
.home-product-main { min-width: 0; }

#home-categories-container.custom-button-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    overflow-x: auto !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    box-shadow: none !important;
}

#home-categories-container.custom-button-list > li {
    flex: 0 0 auto !important;
    min-width: 132px;
    margin: 0 !important;
}

#home-categories-container.custom-button-list .btn-category-home {
    width: 100% !important;
    min-height: 48px !important;
    padding: 11px 20px !important;
    border: 1px solid #dce6f0 !important;
    border-radius: 9px !important;
    color: #fff !important;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    background: linear-gradient(135deg, #182434, #0c1521) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.12) !important;
}

#home-categories-container.custom-button-list .btn-category-home:hover {
    border-color: #3698d0 !important;
    background: linear-gradient(135deg, #1f3650, #10253a) !important;
    transform: none !important;
}

#home-categories-container.custom-button-list .btn-category-home.active {
    color: #175182 !important;
    border-color: #deebf6 !important;
    background: #edf5fc !important;
    box-shadow: none !important;
}

#home-categories-container .btn-category-home img {
    width: 21px !important;
    height: 21px !important;
    margin-right: 8px !important;
    object-fit: contain;
}

#products-container > .row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 !important;
}

#products-container > .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

#products-container .product-box4,
#products-container .product-card,
#products-container .feature-card {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 80px;
    margin: 0 !important;
    padding: 14px 18px !important;
    border: 1px solid #dde6ef !important;
    border-radius: 13px !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(15, 39, 68, .05) !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#products-container .product-box4:hover,
#products-container .product-card:hover,
#products-container .feature-card:hover {
    border-color: #9fc7e6 !important;
    box-shadow: 0 8px 20px rgba(15, 65, 105, .1) !important;
    transform: translateY(-1px);
}

#products-container .product-head-box4 {
    display: flex !important;
    align-items: center !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#products-container .product-head-box4 img,
#products-container .product-image-square img,
#products-container .product-image-box6 img {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px;
    margin-right: 16px !important;
    border-radius: 13px !important;
    object-fit: cover !important;
}

#products-container h3,
#products-container h4,
#products-container .product-title {
    color: #0c315c !important;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

#products-container p {
    color: #66809b !important;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}

.home-product-sidebar { position: sticky; top: 115px; }
.home-product-sidebar .card-wallet-home {
    top: auto !important;
    margin: 0;
    padding: 24px 20px !important;
    overflow: hidden;
    border: 1px solid #dce6ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 39, 68, .1);
}

.home-auth-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.home-auth-heading > span { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border: 1px solid #9bc9ec; border-radius: 12px; color: #2384cb; background: #f3f9fe; }
.home-auth-heading h3 { margin: 0 0 5px; color: #153a66; font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 800; line-height: 1.3; }
.home-auth-heading p { margin: 0; color: #68788c; font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 11px; font-weight: 500; line-height: 1.45; }
.home-auth-actions { margin: 0 !important; padding: 0 !important; }
.home-auth-actions li { margin: 0 0 12px !important; }
.home-auth-actions li a { display: flex !important; align-items: center; justify-content: center; min-height: 47px; border-radius: 9px !important; font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 13px !important; font-weight: 800 !important; }
.home-auth-actions li a.facebook { color: #fff !important; border: 1px solid #0873b6 !important; background: linear-gradient(135deg, #0873b6, #0b82a7) !important; }
.home-auth-actions li a.google { color: #173b67 !important; border: 1px solid #aebed0 !important; background: #fff !important; }
.home-auth-actions li a i { margin-right: 7px; }
.home-auth-benefits { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; padding-top: 19px; border-top: 1px solid #e5ebf1; }
.home-auth-benefits > div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 7px; color: #53677c; text-align: center; }
.home-auth-benefits > div + div { border-left: 1px solid #e5ebf1; }
.home-auth-benefits i { color: #129257; font-size: 20px; }
.home-auth-benefits span { font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 10px; font-weight: 600; line-height: 1.35; }

@media (max-width: 1199px) {
    .home-product-sidebar { position: static; margin-top: 18px; }
}

@media (max-width: 575px) {
    #home-categories-container.custom-button-list > li { min-width: 120px; }
    #home-categories-container.custom-button-list .btn-category-home { min-height: 43px !important; padding: 9px 14px !important; font-size: 12px !important; }
    #products-container .product-box4, #products-container .product-card, #products-container .feature-card { min-height: 72px; padding: 11px 12px !important; }
    #products-container .product-head-box4 img, #products-container .product-image-square img, #products-container .product-image-box6 img { width: 46px !important; height: 46px !important; min-width: 46px; margin-right: 11px !important; }
    .home-product-sidebar .card-wallet-home { padding: 20px 16px !important; }
}

/* Unified product rows rendered by ajaxs/client/load_products.php */
#products-container > .row > .col-lg-12 {
    margin-bottom: 12px !important;
}

.modern-product-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modern-product-row {
    display: flex;
    align-items: center;
    min-height: 82px;
    overflow: hidden;
    border: 1px solid #dce6ef;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 39, 68, .05);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.modern-product-row:hover {
    border-color: #9fc7e6;
    box-shadow: 0 8px 20px rgba(15, 65, 105, .1);
    transform: translateY(-1px);
}

.modern-product-row__main {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding: 13px 10px 13px 16px;
    color: inherit !important;
}

.modern-product-row__icon {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    margin-right: 16px;
    overflow: hidden;
    border-radius: 13px;
    background: #f3f7fb;
}

.modern-product-row__icon img {
    width: 100%;
    height: 100%;
    padding: 3px;
    border-radius: inherit;
    object-fit: contain;
}

.modern-product-row__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.modern-product-row__content > strong {
    overflow: hidden;
    color: #102f57;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modern-product-row__content > small {
    margin-top: 3px;
    overflow: hidden;
    color: #68809a;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modern-product-row__meta {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.modern-product-row__meta em {
    color: #66809a;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
}

.modern-product-row__meta b { color: #168653; }
.modern-product-row__action { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; padding: 13px 16px 13px 8px; }
.modern-product-row__price { display: flex; flex-direction: column; align-items: flex-end; }
.modern-product-row__price del { color: #94a3b4; font-size: 10px; }
.modern-product-row__price strong { color: #0872ad; font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 800; white-space: nowrap; }
.modern-product-row__action button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #cbdbe9; border-radius: 10px; color: #0d5d9d; background: #f5faff; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.modern-product-row__action button:hover { color: #fff; border-color: #087db3; background: #087db3; }
.modern-product-row__action button:disabled { cursor: not-allowed; color: #9aa7b4; border-color: #e1e7ed; background: #f3f4f6; }

@media (max-width: 575px) {
    .modern-product-row { min-height: 72px; }
    .modern-product-row__main { padding: 10px 6px 10px 10px; }
    .modern-product-row__icon { flex-basis: 45px; width: 45px; height: 45px; margin-right: 10px; border-radius: 10px; }
    .modern-product-row__content > strong { font-size: 13px; }
    .modern-product-row__content > small { max-width: 190px; font-size: 11px; }
    .modern-product-row__meta { display: none; }
    .modern-product-row__action { gap: 7px; padding: 10px 10px 10px 4px; }
    .modern-product-row__price { display: none; }
    .modern-product-row__action button { width: 34px; height: 34px; }
}

/* Inter typography system */
body,
button,
input,
select,
textarea {
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

.header-top,
.header-part,
.navbar-part,
.navbar-list > li > a,
.navbar-item > a,
.dropdown-list a,
.home-service-intro,
.home-product-layout,
.modern-auth {
    font-family: "Inter", sans-serif;
}

.navbar-list > li > a,
.navbar-item > a,
.dropdown-list a,
.home-auth-heading h3,
.home-service-policy strong {
    font-weight: 600;
}

.sfb-ref-hero-copy h1 {
    font-family: "Inter", sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.home-service-card h3,
.modern-product-row__content > strong,
#products-container .feature-name,
#products-container .feature-name a,
#products-container .product-title,
#products-container .product-head-box4 h4 {
    font-family: "Inter", sans-serif !important;
    font-weight: 700 !important;
}

.home-service-hero p,
.home-service-badges span,
.home-service-card p,
.home-service-policy__text,
.home-auth-heading p,
.home-auth-benefits span,
.modern-product-row__content > small,
.modern-product-row__meta em {
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

.home-service-card h3 { font-weight: 700; }
.home-service-policy strong,
.home-auth-heading h3,
#home-categories-container.custom-button-list .btn-category-home,
.home-auth-actions li a { font-weight: 600 !important; }
.modern-product-row__price strong { font-weight: 700; }

/* Wider desktop layout */
@media (min-width: 1200px) {
    .header-top > .container,
    .header-part > .container,
    .navbar-part > .container,
    .feature-part > .container {
        width: calc(100% - 64px);
        max-width: 1500px;
    }

    .home-service-intro {
        padding: 22px;
    }

    .home-service-hero {
        min-height: 225px;
        padding-right: 48px;
        padding-left: 48px;
    }

    .home-product-layout > .home-product-main.col-xl-9 {
        flex: 0 0 calc(100% - 330px);
        width: calc(100% - 330px);
        max-width: calc(100% - 330px);
    }

    .home-product-layout > .home-product-sidebar.col-xl-3 {
        flex: 0 0 330px;
        width: 330px;
        max-width: 330px;
    }
}

@media (min-width: 1600px) {
    .header-top > .container,
    .header-part > .container,
    .navbar-part > .container,
    .feature-part > .container {
        max-width: 1560px;
    }
}

/* Modern footer */
.sfb-modern-footer {
    padding: 28px 0 18px;
    font-family: "Inter", sans-serif;
    background: #f4f7fa;
}

.sfb-modern-footer > .container { max-width: 1560px; }
.sfb-footer-shell { overflow: hidden; border: 1px solid #dce7f1; border-top: 4px solid #0874d1; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(15, 46, 80, .09); }
.sfb-footer-grid { display: grid; grid-template-columns: 1.15fr 1fr .9fr 1.65fr; }
.sfb-footer-column { min-width: 0; padding: 30px 32px 26px; }
.sfb-footer-column + .sfb-footer-column { border-left: 1px solid #e4ebf2; }
.sfb-footer-column h3 { margin: 0 0 21px; color: #06488e; font-family: "Inter", sans-serif; font-size: 15px; font-weight: 700; }
.sfb-footer-brand { display: inline-flex; margin-bottom: 14px; }
.sfb-footer-brand img { width: auto; max-width: 220px; height: 58px; object-fit: contain; }
.sfb-footer-about > p { max-width: 330px; margin: 0; color: #52677e; font-size: 13px; font-weight: 400; line-height: 1.65; }
.sfb-footer-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.sfb-footer-highlights div { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #174d83; text-align: center; }
.sfb-footer-highlights i { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #cfe1f2; border-radius: 50%; color: #079ac7; font-size: 17px; background: #f5faff; }
.sfb-footer-highlights span { font-size: 11px; font-weight: 600; }
.sfb-footer-contact-list { margin: 0; padding: 0; }
.sfb-footer-contact-list li { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.sfb-footer-contact-list li > span { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 12px; color: #0874d1; font-size: 18px; background: #eef6ff; }
.sfb-footer-contact-list strong { display: block; margin-bottom: 3px; color: #31587f; font-size: 12px; font-weight: 600; }
.sfb-footer-contact-list p { margin: 0; overflow-wrap: anywhere; color: #174d83; font-size: 12px; line-height: 1.4; }
.sfb-footer-links-column nav { display: flex; flex-direction: column; }
.sfb-footer-links-column nav a { display: flex; align-items: center; justify-content: space-between; min-height: 45px; border-bottom: 1px solid #e4ebf2; color: #31587f; font-size: 12px; font-weight: 500; }
.sfb-footer-links-column nav a:hover { color: #0874d1; padding-left: 4px; }
.sfb-footer-links-column nav i { color: #7d9ab7; font-size: 10px; }
.sfb-footer-support-list { display: grid; gap: 13px; }
.sfb-footer-support-list > div { display: flex; align-items: center; gap: 12px; }
.sfb-footer-support-list > div > i { width: 27px; color: #05a1dd; font-size: 22px; text-align: center; }
.sfb-footer-support-list p { display: flex; flex-direction: column; margin: 0; }
.sfb-footer-support-list strong { color: #31587f; font-size: 12px; font-weight: 700; }
.sfb-footer-support-list span { margin-top: 2px; color: #73879c; font-size: 11px; }
.sfb-footer-connect { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; margin-top: 24px; }
.sfb-footer-connect h4 { margin: 0 0 11px; color: #06488e; font-size: 11px; font-weight: 700; }
.sfb-footer-socials { display: flex; flex-wrap: wrap; gap: 7px; }
.sfb-footer-socials a { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 7px; color: #fff; font-size: 14px; background: #147ac3; }
.sfb-footer-socials a:nth-child(3) { background: linear-gradient(135deg,#8a3ab9,#e95950,#fccc63); }
.sfb-footer-socials a:nth-child(4) { background: #111; }
.sfb-footer-socials a:nth-child(5) { background: #ef1b22; }
.sfb-footer-payment > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.sfb-footer-payment img { max-width: 64px; max-height: 32px; padding: 3px; border: 1px solid #dbe4ed; border-radius: 6px; object-fit: contain; background: #fff; }
.sfb-footer-bottom { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 58px; padding: 12px 24px; border-top: 1px solid #e3eaf1; color: #526e8c; }
.sfb-footer-bottom p { margin: 0; font-size: 11px; }
.sfb-footer-bottom a { color: #096ec2; font-weight: 600; }
.sfb-footer-bottom > span { width: 1px; height: 18px; background: #cdd9e5; }
.sfb-footer-bottom i { margin-right: 6px; color: #04a5ba; }

@media (max-width: 1199px) {
    .sfb-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .sfb-footer-column:nth-child(3) { border-left: 0; border-top: 1px solid #e4ebf2; }
    .sfb-footer-column:nth-child(4) { border-top: 1px solid #e4ebf2; }
}

@media (max-width: 767px) {
    .sfb-modern-footer { padding-top: 18px; }
    .sfb-footer-grid { grid-template-columns: 1fr; }
    .sfb-footer-column { padding: 25px 22px; }
    .sfb-footer-column + .sfb-footer-column { border-top: 1px solid #e4ebf2; border-left: 0; }
    .sfb-footer-connect { grid-template-columns: 1fr; }
    .sfb-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .sfb-footer-bottom > span { width: 60px; height: 1px; }
}

/* Readable typography scale */
body {
    color: #263d57;
    font-size: 15px;
    line-height: 1.55;
}

.header-top,
.header-content,
.navbar-content {
    font-size: 14px;
}

.navbar-list > li > a,
.navbar-item > a,
.dropdown-list a {
    font-size: 14px;
    line-height: 1.4;
}

#home-categories-container.custom-button-list .btn-category-home {
    min-height: 50px !important;
    padding: 12px 21px !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
}

#home-categories-container .btn-category-home img {
    width: 24px !important;
    height: 24px !important;
}

.modern-product-row { min-height: 90px; }
.modern-product-row__icon { flex-basis: 58px; width: 58px; height: 58px; }
.modern-product-row__content > strong { font-size: 16px !important; line-height: 1.4; }
.modern-product-row__content > small { margin-top: 4px; font-size: 13px; line-height: 1.5; }
.modern-product-row__meta em { font-size: 11px; }
.modern-product-row__price strong { font-size: 15px; }
.home-auth-heading h3 { font-size: 17px; }
.home-auth-heading p { font-size: 13px; line-height: 1.5; }
.home-auth-actions li a { font-size: 14px !important; }
.home-auth-benefits span { font-size: 11px; line-height: 1.4; }

.sfb-footer-column { padding: 34px 34px 30px; }
.sfb-footer-column h3 {
    margin-bottom: 23px;
    font-size: 17px;
    line-height: 1.35;
}

.sfb-footer-about > p {
    max-width: 360px;
    font-size: 14px;
    line-height: 1.7;
}

.sfb-footer-highlights { margin-top: 27px; }
.sfb-footer-highlights i { width: 44px; height: 44px; font-size: 19px; }
.sfb-footer-highlights span { font-size: 13px; line-height: 1.4; }
.sfb-footer-contact-list li { gap: 15px; margin-bottom: 20px; }
.sfb-footer-contact-list li > span { flex-basis: 46px; height: 46px; font-size: 20px; }
.sfb-footer-contact-list strong { margin-bottom: 4px; font-size: 14px; line-height: 1.35; }
.sfb-footer-contact-list p { font-size: 13px; line-height: 1.5; }
.sfb-footer-links-column nav a { min-height: 51px; font-size: 14px; line-height: 1.4; }
.sfb-footer-links-column nav i { font-size: 11px; }
.sfb-footer-support-list { gap: 16px; }
.sfb-footer-support-list > div { gap: 14px; }
.sfb-footer-support-list > div > i { width: 30px; font-size: 24px; }
.sfb-footer-support-list strong { font-size: 14px; line-height: 1.35; }
.sfb-footer-support-list span { margin-top: 3px; font-size: 13px; line-height: 1.45; }
.sfb-footer-connect { margin-top: 27px; }
.sfb-footer-connect h4 { margin-bottom: 13px; font-size: 13px; line-height: 1.35; }
.sfb-footer-socials a { width: 34px; height: 34px; font-size: 16px; }
.sfb-footer-payment img { max-width: 72px; max-height: 37px; }
.sfb-footer-bottom { min-height: 64px; }
.sfb-footer-bottom p { font-size: 13px; line-height: 1.45; }

@media (max-width: 991px) {
    body { font-size: 14px; }
    .sfb-footer-column h3 { font-size: 16px; }
}

@media (max-width: 575px) {
    #home-categories-container.custom-button-list .btn-category-home {
        min-height: 45px !important;
        padding: 10px 15px !important;
        font-size: 13px !important;
    }
    .modern-product-row { min-height: 76px; }
    .modern-product-row__content > strong { font-size: 14px !important; }
    .sfb-footer-column { padding: 27px 22px; }
    .sfb-footer-column h3 { font-size: 16px; }
    .sfb-footer-about > p,
    .sfb-footer-links-column nav a,
    .sfb-footer-contact-list strong,
    .sfb-footer-support-list strong { font-size: 13px; }
}

/* Enlarged navigation, categories and product content */
@media (min-width: 992px) {
    .navbar-part .navbar-content {
        min-height: 76px;
    }

    .navbar-part .navbar-list {
        gap: 8px;
    }

    .navbar-part .navbar-link,
    .navbar-list > li > a,
    .navbar-item > a {
        padding: 15px 16px;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
    }

    .navbar-part .navbar-link i,
    .navbar-part .navbar-link::before {
        font-size: 17px;
    }
}

#home-categories-container.custom-button-list {
    gap: 7px !important;
    margin-bottom: 17px !important;
}

#home-categories-container.custom-button-list > li {
    min-width: 165px;
}

#home-categories-container.custom-button-list .btn-category-home {
    min-height: 56px !important;
    padding: 14px 24px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

#home-categories-container .btn-category-home img {
    width: 27px !important;
    height: 27px !important;
    margin-right: 10px !important;
}

.modern-product-list { gap: 12px; }
.modern-product-row {
    min-height: 108px;
    opacity: 1 !important;
}

.modern-product-row__main { padding: 17px 12px 17px 20px; }
.modern-product-row__icon {
    flex-basis: 66px;
    width: 66px;
    height: 66px;
    margin-right: 19px;
}

.modern-product-row__content > strong {
    color: #0b2f59 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4;
}

.modern-product-row__content > small {
    margin-top: 5px;
    color: #526d89;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

.modern-product-row__meta { gap: 18px; margin-top: 7px; }
.modern-product-row__meta em { color: #526d89; font-size: 13px; }
.modern-product-row__price del { font-size: 12px; }
.modern-product-row__price strong { font-size: 17px; }
.modern-product-row__action { gap: 17px; padding-right: 20px; }
.modern-product-row__action button { width: 44px; height: 44px; font-size: 16px; }

.modern-product-row.product-disable,
.modern-product-row.product-disable * {
    opacity: 1 !important;
}

.modern-product-row.product-disable::before {
    top: auto !important;
    right: 0;
    bottom: 0;
    left: 0 !important;
    width: 100% !important;
    min-height: 25px;
    padding: 3px 10px !important;
    font-family: "Inter", sans-serif;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 19px;
    transform: none !important;
}

.modern-product-row.product-disable {
    padding-bottom: 25px;
}

@media (max-width: 991px) {
    #home-categories-container.custom-button-list > li { min-width: 145px; }
    #home-categories-container.custom-button-list .btn-category-home { min-height: 49px !important; padding: 11px 17px !important; font-size: 14px !important; }
    .modern-product-row { min-height: 88px; }
    .modern-product-row__icon { flex-basis: 54px; width: 54px; height: 54px; margin-right: 13px; }
    .modern-product-row__content > strong { font-size: 15px !important; }
    .modern-product-row__content > small { font-size: 12px; }
}

/* Prominent product stock badge */
.modern-product-row__stock {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 118px;
    padding: 9px 13px;
    border: 1px solid;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
}

.modern-product-row__stock > i {
    font-size: 21px;
}

.modern-product-row__stock > span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.modern-product-row__stock small {
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .45px;
}

.modern-product-row__stock strong {
    font-size: 19px;
    font-weight: 800;
}

.modern-product-row__stock.is-available {
    border-color: #86d9ae;
    color: #087944;
    background: #eafaf2;
    box-shadow: 0 5px 13px rgba(8, 121, 68, .09);
}

.modern-product-row__stock.is-empty {
    border-color: #f2bb73;
    color: #b75c05;
    background: #fff5e7;
}

@media (max-width: 1199px) {
    .modern-product-row__stock { min-width: 102px; padding: 8px 10px; }
    .modern-product-row__stock > i { font-size: 18px; }
    .modern-product-row__stock strong { font-size: 17px; }
}

@media (max-width: 767px) {
    .modern-product-row__stock {
        min-width: 58px;
        justify-content: center;
        gap: 5px;
        padding: 7px 8px;
    }
    .modern-product-row__stock > i { display: none; }
    .modern-product-row__stock small { font-size: 8px; }
    .modern-product-row__stock strong { font-size: 15px; text-align: center; }
}

@media (max-width: 575px) {
    .modern-product-row__stock { min-width: 48px; padding: 6px; }
    .modern-product-row__stock small { display: none; }
    .modern-product-row__stock strong { font-size: 14px; }
}

.modern-product-row__buy-label { display: none; }

/* Purple-inspired mobile product cards */
@media (max-width: 575px) {
    .modern-product-list { gap: 16px; }

    .modern-product-row {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 116px;
        min-height: 142px;
        overflow: hidden;
        border: 1px solid #cfdbe7 !important;
        border-radius: 15px !important;
        box-shadow: 0 6px 16px rgba(34, 48, 73, .08) !important;
    }

    .modern-product-row__main {
        align-items: flex-start;
        min-width: 0;
        padding: 18px 8px 18px 15px;
    }

    .modern-product-row__icon {
        flex: 0 0 54px;
        width: 54px;
        height: 54px;
        margin: 0 12px 0 0;
        border-radius: 12px;
    }

    .modern-product-row__content > strong {
        display: -webkit-box;
        overflow: hidden;
        color: #28354a !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.4;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .modern-product-row__content > small {
        display: -webkit-box;
        margin-top: 7px;
        overflow: hidden;
        color: #6f7d91;
        font-size: 12px;
        line-height: 1.45;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .modern-product-row__meta {
        display: flex;
        margin-top: 9px;
    }

    .modern-product-row__meta em {
        padding: 4px 7px;
        border-radius: 5px;
        color: #fff;
        font-size: 10px;
        background: #16a4b7;
    }

    .modern-product-row__action {
        display: flex;
        align-self: stretch;
        flex-direction: column;
        justify-content: center;
        gap: 9px;
        min-width: 0;
        padding: 14px 12px 14px 4px;
    }

    .modern-product-row__stock {
        order: 2;
        width: 100%;
        min-width: 0;
        min-height: 35px;
        padding: 6px 8px;
        border-radius: 8px;
    }

    .modern-product-row__stock small {
        display: inline;
        margin: 0 5px 0 0;
        font-size: 8px;
    }

    .modern-product-row__stock > span {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .modern-product-row__stock strong { font-size: 15px; }

    .modern-product-row__price {
        order: 1;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 45px;
        padding: 7px 5px;
        border: 2px dotted #e33c78;
        border-radius: 10px;
        background: #fffafd;
    }

    .modern-product-row__price del { font-size: 9px; }
    .modern-product-row__price strong { color: #df2667; font-size: 14px; font-weight: 800; text-align: center; white-space: normal; }

    .modern-product-row__action button {
        order: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 100%;
        height: 41px;
        padding: 5px 7px;
        border: 0;
        border-radius: 8px;
        color: #fff;
        font-size: 11px;
        background: linear-gradient(180deg, #bd31a8 0%, #7d176f 55%, #251021 100%);
        box-shadow: 0 5px 10px rgba(77, 18, 70, .22);
    }

    .modern-product-row__action button:disabled {
        color: #9b7c68;
        background: #f4eee9;
        box-shadow: none;
    }

    .modern-product-row__action button > i { font-size: 10px; }
    .modern-product-row__buy-label { display: inline; font-family: "Inter", sans-serif; font-size: 10px; font-weight: 700; white-space: nowrap; }

    .modern-product-row.product-disable { padding-bottom: 27px; }
    .modern-product-row.product-disable::before { min-height: 27px; font-size: 12px !important; line-height: 21px; }
}

@media (max-width: 380px) {
    .modern-product-row { grid-template-columns: minmax(0, 1fr) 102px; }
    .modern-product-row__main { padding-left: 10px; }
    .modern-product-row__icon { flex-basis: 47px; width: 47px; height: 47px; margin-right: 9px; }
    .modern-product-row__content > strong { font-size: 13px !important; }
    .modern-product-row__price strong { font-size: 12px; }
    .modern-product-row__buy-label { font-size: 9px; }
}

/* Unified colorful navigation and high-contrast UI */
@media (min-width: 992px) {
    .navbar-part {
        padding: 10px 0 12px;
        background: #f4f7fb;
    }

    .navbar-part .navbar-content {
        min-height: 66px;
        padding: 8px 10px;
        border: 1px solid #e0e8f1;
        border-radius: 13px;
        background: #fff;
        box-shadow: 0 7px 20px rgba(24, 55, 91, .08);
    }

    .navbar-part .navbar-list {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .navbar-part .navbar-link {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        min-height: 46px;
        padding: 11px 15px;
        border-radius: 9px;
        color: #17283d;
        font-family: "Inter", sans-serif;
        font-size: 15px;
        font-weight: 600;
        transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
    }

    .navbar-part .navbar-link > i {
        width: 22px;
        color: #10253d;
        font-size: 18px;
        text-align: center;
    }

    .navbar-part .navbar-link:hover {
        color: #075ec9;
        background: #eef6ff;
        transform: translateY(-1px);
    }

    .navbar-part .navbar-link:hover > i { color: #0874d1; }
    .navbar-part .nav-home-link {
        color: #fff;
        background: linear-gradient(135deg, #08a3ec 0%, #164cf2 100%);
        box-shadow: 0 7px 15px rgba(18, 86, 225, .25);
    }
    .navbar-part .nav-home-link > i,
    .navbar-part .nav-home-link:hover,
    .navbar-part .nav-home-link:hover > i { color: #fff; }
    .navbar-part .nav-home-link:hover { background: linear-gradient(135deg, #0796df, #123fd5); }

    .navbar-part .navbar-info-group { display: flex; gap: 8px; margin-left: 10px; }
    .navbar-part .navbar-info {
        min-height: 50px;
        padding: 8px 14px;
        border: 1px solid #e0e8f1;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 4px 12px rgba(24,55,91,.06);
    }
    .navbar-part .navbar-info > i,
    .navbar-part .navbar-info > svg { color: #0874d1; }
    .navbar-part .navbar-info small { color: #47617c; font-size: 11px; font-weight: 600; }
    .navbar-part .navbar-info span { color: #153e69; font-size: 12px; font-weight: 700; }
}

/* Stronger colors and numbers */
.home-service-intro,
.home-product-layout,
.sfb-modern-footer {
    color: #193a60;
}

.home-service-card h3,
.home-service-policy strong,
.home-auth-heading h3,
.sfb-footer-column h3,
.sfb-footer-support-list strong,
.sfb-footer-contact-list strong {
    color: #064f9c;
}

.home-service-card p,
.home-service-policy__text,
.home-auth-heading p,
.sfb-footer-about > p,
.sfb-footer-support-list span,
.sfb-footer-contact-list p {
    color: #405f7f;
}

.modern-product-row__content > strong { color: #082f63 !important; }
.modern-product-row__content > small { color: #4b6785; }
.modern-product-row__meta em { font-weight: 700; }
.modern-product-row__price strong { color: #e21f65; font-weight: 800; }
.modern-product-row__stock strong,
.wallet-card h3,
.my-wallet h3,
.badge,
.feature-price,
.price-box4 strong {
    font-variant-numeric: tabular-nums;
    font-weight: 800 !important;
}

.modern-product-row__stock.is-available strong { color: #04733e; }
.modern-product-row__stock.is-empty strong { color: #c05b00; }
.sfb-footer-links-column nav a { color: #174f88; font-weight: 600; }
.sfb-footer-bottom { color: #315b84; }
.sfb-footer-socials a { box-shadow: 0 4px 9px rgba(13, 68, 118, .17); }

/* Keep every desktop navigation label on one line */
@media (min-width: 992px) {
    .navbar-part .navbar-content {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .navbar-part .navbar-list {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        flex-wrap: nowrap !important;
        min-width: 0;
        overflow: visible;
    }

    .navbar-part .navbar-item {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: max-content;
        margin: 0 !important;
    }

    .navbar-part .navbar-link,
    .navbar-part .navbar-link > span {
        width: auto !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
    }

    .navbar-part .navbar-link > span {
        display: inline-block;
        line-height: 1.25;
    }

    .navbar-part .navbar-info-group {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .navbar-part .navbar-list { gap: 2px; }
    .navbar-part .navbar-link {
        gap: 6px;
        padding-right: 9px;
        padding-left: 9px;
        font-size: 13px;
    }
    .navbar-part .navbar-link > i { width: 18px; font-size: 15px; }
    .navbar-part .navbar-info { padding-right: 9px; padding-left: 9px; }
    .navbar-part .navbar-info-group { gap: 5px; margin-left: 5px; }
}

@media (min-width: 1400px) {
    .navbar-part .navbar-list { gap: 6px; }
    .navbar-part .navbar-link { padding-right: 14px; padding-left: 14px; }
}

/* Prevent authenticated account links from colliding with contact cards */
@media (min-width: 992px) and (max-width: 1799px) {
    .navbar-part .navbar-content.has-account-menu {
        display: flex;
        align-items: center;
        flex-wrap: wrap !important;
        gap: 8px 0;
        padding: 9px 10px 10px;
    }

    .navbar-part .navbar-content.has-account-menu .navbar-list {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        padding-bottom: 2px;
    }

    .navbar-part .navbar-content.has-account-menu .navbar-info-group {
        display: flex;
        justify-content: flex-end;
        flex: 0 0 100%;
        width: 100%;
        margin: 0;
        padding-top: 8px;
        border-top: 1px solid #e5ecf3;
    }

    .navbar-part .navbar-content.has-account-menu .navbar-info {
        min-width: 205px;
    }
}

@media (min-width: 1800px) {
    .navbar-part .navbar-content.has-account-menu {
        flex-wrap: nowrap;
    }
}

/* Force contact cards into the second flex row (base theme positions them absolutely) */
@media (min-width: 992px) and (max-width: 1799px) {
    .navbar-part .navbar-content.has-account-menu {
        position: relative;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .navbar-part .navbar-content.has-account-menu .navbar-list {
        position: static !important;
        order: 1;
        height: auto !important;
    }

    .navbar-part .navbar-content.has-account-menu .navbar-info-group {
        position: static !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        order: 2;
        height: auto !important;
        transform: none !important;
        translate: none !important;
    }

    .navbar-part .navbar-content.has-account-menu .navbar-info {
        position: static !important;
        transform: none !important;
    }
}
