
.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: 15px;
    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 */

/* Storefront palette: blue/cyan brand with neutral, readable surfaces */
:root {
    --blue: #2563eb;
    --body: #f8fafc;
    --white: #ffffff;
    --chalk: #f1f5f9;
    --border: #e2e8f0;
    --heading: #0f172a;
    --text: #64748b;
    --sub-heading: #475569;
    --intro-bg: #eff6ff;
    --green-chalk: #f0fdf4;
    --gray-chalk: #e2e8f0;
}

/* Storefront navigation and color mode */
html[data-theme="dark"] {
    color-scheme: dark;
    --white: #1e293b;
    --body: #0f172a;
    --chalk: #172033;
    --border: #334155;
    --heading: #f8fafc;
    --text: #cbd5e1;
    --sub-heading: #e2e8f0;
    --intro-bg: #111c2f;
    --green-chalk: #163326;
    --gray-chalk: #334155;
}

body,
.header-top,
.header-part,
.navbar-part,
.footer-part,
.card,
.account-card,
.product-card,
.user-form-card,
.form-control,
.form-select,
.table {
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

body {
    background: var(--body);
    color: var(--text);
}

/* Compact search header */
@media (min-width: 992px) {
    .header-content {
        gap: 10px;
        padding: 12px 0;
    }

    .header-logo {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        margin: 0 18px 0 0;
        border-radius: 8px;
        transition: transform .22s ease, filter .22s ease;
    }

    .header-content > .header-logo img {
        width: auto;
        max-width: 175px;
        height: 46px;
        object-fit: contain;
    }

    .header-logo:hover {
        transform: translateY(-2px) scale(1.02);
        filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .18));
    }

    .header-form {
        height: 46px;
        margin: 0 30px 0 0;
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: 9px;
        background: var(--chalk);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06);
        transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, background-color .22s ease;
    }

    .header-form:focus-within {
        border-color: var(--primary);
        background: var(--white);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
        transform: translateY(-1px);
    }

    .header-form input {
        height: 44px;
        padding: 0 16px;
        border: 0;
        background: transparent !important;
        color: var(--heading);
        font-size: 14px;
    }

    .header-form button {
        width: 48px;
        height: 44px;
        flex: 0 0 48px;
    }

    .header-form button i {
        width: 48px;
        height: 44px;
        line-height: 44px;
        color: var(--text);
        transition: color .2s ease, transform .2s ease;
    }

    .header-form button:hover i {
        color: var(--primary);
        transform: scale(1.12) rotate(-6deg);
    }

    .header-widget-group {
        gap: 20px;
    }

    .header-widget-group .header-widget {
        margin-left: 0;
    }

    .header-widget-group > .header-widget:last-child {
        display: flex;
    }

    .header-widget-group > .header-widget:last-child span {
        display: block;
        margin-left: 9px;
        line-height: 18px;
    }

    .header-widget-group > .header-widget:last-child img {
        width: 40px;
        height: 40px;
        border: 1px solid var(--border);
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 4px 11px rgba(0, 0, 0, .1);
        transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
    }

    .header-widget-group > .header-widget:last-child:hover img {
        border-color: var(--primary);
        box-shadow: 0 9px 18px color-mix(in srgb, var(--primary) 25%, transparent);
        transform: translateY(-3px) scale(1.04);
    }

    .header-widget-group > .header-widget:last-child span p {
        margin: 0;
        color: var(--heading);
        font-size: 13px;
        font-weight: 800;
        line-height: 18px;
    }

    .header-widget-group > .header-widget:last-child span p:last-child {
        color: #4d9cff !important;
        font-size: 14px;
    }

    .header-widget i {
        width: 40px;
        height: 40px;
        border: 1px solid transparent;
        border-radius: 8px;
        background: var(--chalk);
        color: var(--heading);
        line-height: 38px;
        box-shadow: 0 4px 11px rgba(0, 0, 0, .08);
        transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
    }

    .header-widget:hover i {
        border-color: color-mix(in srgb, var(--primary) 55%, transparent);
        background: var(--primary);
        color: #fff;
        box-shadow: 0 9px 18px color-mix(in srgb, var(--primary) 28%, transparent);
        transform: translateY(-3px) scale(1.04);
    }

    .header-widget sup {
        top: -8px;
        right: -8px;
        left: auto;
        width: 20px;
        height: 20px;
        border: 2px solid var(--white);
        color: #fff;
        font-size: 10px;
        line-height: 16px;
    }

    html[data-theme="dark"] .header-part {
        background: #12151a;
    }

    html[data-theme="dark"] .header-form {
        border-color: #464a50;
        background: #292a2c;
    }

    html[data-theme="dark"] .header-form:focus-within {
        background: #2d2f32;
    }

    html[data-theme="dark"] .header-widget i {
        border-color: #3a4556;
        background: #354052;
        color: #f6f8fb;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-form,
    .header-logo,
    .header-form button i,
    .header-widget i,
    .header-widget-group > .header-widget:last-child img {
        transition: none !important;
    }
}

/* Compact utility bar */
.header-top {
    position: relative;
    z-index: 3;
    min-height: 42px;
    overflow: visible;
    padding: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #f8fafc;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
}

.header-top .row {
    min-height: 41px;
    align-items: center;
}

.header-top-list li a,
.header-select,
.header-select .current,
.header-select select {
    color: var(--heading);
    font-size: 13px;
    font-weight: 600;
}

.header-top .header-select .nice-select .current,
.header-top .header-select select {
    color: var(--heading) !important;
    font-size: 13px;
}

.header-top .header-select .nice-select::after {
    border-right-color: var(--heading);
    border-bottom-color: var(--heading);
}

.header-top .header-select .nice-select .list {
    z-index: 1043;
    top: calc(100% + 8px);
    right: 0;
    display: block;
    min-width: 138px;
    overflow: hidden;
    padding: 5px;
    border: 1px solid #dfe3e8;
    border-radius: 9px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px) scale(.98);
    transform-origin: top right;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.header-top .header-select .nice-select.open {
    z-index: 1042;
}

.header-top .header-select .nice-select.open .list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.header-top .header-select .nice-select .option {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 6px;
    background: transparent;
    color: #39404a;
    font-size: 14px;
    line-height: 20px;
    transition: color .16s ease, background-color .16s ease, transform .16s ease;
}

.header-top .header-select .nice-select .option:hover,
.header-top .header-select .nice-select .option.focus,
.header-top .header-select .nice-select .option.selected.focus {
    background: #edf6fa;
    color: var(--primary);
    transform: translateX(2px);
}

html[data-theme="dark"] .header-top .header-select .nice-select .list {
    border-color: #353b44;
    background: #1d2126;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .38);
}

html[data-theme="dark"] .header-top .header-select .nice-select .option {
    background: transparent;
    color: #dce1e7;
}

html[data-theme="dark"] .header-top .header-select .nice-select .option:hover,
html[data-theme="dark"] .header-top .header-select .nice-select .option.focus,
html[data-theme="dark"] .header-top .header-select .nice-select .option.selected.focus {
    background: #2a3038;
    color: #63c9ee;
}

.header-top-list li a {
    position: relative;
    padding: 16px 0;
}

.header-top-list li a::after {
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    height: 1px;
    content: "";
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .22s ease;
}

.header-top-list li a:hover::after {
    transform-origin: left;
}

.header-top-list li a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.header-top-list li a:hover::after {
    transform: scaleX(1);
}

.header-top-select {
    gap: 28px;
    margin-top: 0;
    justify-content: flex-end;
}

.header-select {
    position: relative;
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-start;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.header-select:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.header-select i {
    margin-right: 7px;
    color: var(--heading);
    font-size: 14px;
    transition: color .2s ease, transform .2s ease;
}

.header-select:hover i {
    color: var(--primary);
    transform: rotate(-8deg) scale(1.08);
}

html[data-theme="dark"] .header-top {
    border-color: var(--border);
    background: #1e293b;
}

.header-top .header-select .nice-select {
    width: auto;
    min-width: 0;
    padding-right: 18px;
    line-height: 24px;
}

.header-top .header-select .nice-select::after {
    right: 2px;
    width: 6px;
    height: 6px;
}

.header-top .header-select > select.select {
    width: auto;
    max-width: 132px;
    height: 28px;
    border: 0;
    outline: 0;
    background: transparent;
}

@media (min-width: 768px) {
    .header-top .row > .col-md-12 {
        display: none;
    }

    .header-top .row > .col-md-5 {
        order: 2;
        width: auto;
        margin-left: auto;
    }

    .header-top .row > .col-md-7 {
        order: 1;
        width: auto;
    }

    .header-top-list {
        justify-content: flex-start;
    }

    .header-top-list li {
        position: relative;
        margin: 0 0 0 14px;
        padding-left: 14px;
    }

    .header-top-list li:first-child {
        margin-left: 0;
        padding-left: 0;
    }

    .header-top-list li:not(:first-child)::before {
        position: absolute;
        top: 50%;
        left: 0;
        width: 1px;
        height: 11px;
        content: "";
        background: var(--border);
        transform: translateY(-50%);
    }
}

@media (max-width: 767px) {
    .header-top {
        min-height: 42px;
    }

    .header-top .row {
        min-height: 41px;
    }

    .header-top-select {
        gap: 22px;
        justify-content: center;
    }
}

.desktop-nav-extra {
    display: none !important;
}

.navbar-part {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.navbar-content {
    min-height: 116px;
    border-top: 0;
}

.navbar-list,
.navbar-list li {
    margin-left: 0;
}

.navbar-item {
    margin-right: 42px;
}

.navbar-link {
    padding: 45px 0;
    color: var(--heading);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.navbar-link > i {
    margin-right: 4px;
}

.nav-hot-badge {
    display: inline-flex;
    align-items: center;
    height: 18px;
    margin: 0 2px 0 4px;
    padding: 0 5px;
    border-radius: 6px;
    background: #ff5b35;
    color: #fff !important;
    font-size: 10px;
    font-weight: 800;
    line-height: 18px;
    vertical-align: 1px;
}

/* Recharge methods grid */
.recharge-menu > .dropdown-position-list {
    top: 88px;
    z-index: 50;
    display: grid;
    width: 320px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .24);
    transform: translateY(12px) scale(.975);
    transform-origin: top left;
    transition: opacity .2s ease, visibility .2s ease, top .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}

.recharge-menu:hover > .dropdown-position-list,
.recharge-menu:focus-within > .dropdown-position-list {
    top: 70px;
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.recharge-menu > .dropdown-position-list::before {
    background: var(--white);
}

.recharge-menu > .dropdown-position-list > li {
    min-width: 0;
    opacity: 0;
    transform: translateY(7px);
}

.recharge-menu:hover > .dropdown-position-list > li,
.recharge-menu:focus-within > .dropdown-position-list > li {
    animation: rechargeItemIn .28s ease forwards;
}

.recharge-menu > .dropdown-position-list > li:nth-child(2) { animation-delay: .035s !important; }
.recharge-menu > .dropdown-position-list > li:nth-child(3) { animation-delay: .07s !important; }
.recharge-menu > .dropdown-position-list > li:nth-child(4) { animation-delay: .105s !important; }
.recharge-menu > .dropdown-position-list > li:nth-child(5) { animation-delay: .14s !important; }
.recharge-menu > .dropdown-position-list > li:nth-child(6) { animation-delay: .175s !important; }
.recharge-menu > .dropdown-position-list > li:nth-child(n+7) { animation-delay: .21s !important; }

.recharge-menu > .dropdown-position-list > li > a {
    display: flex;
    width: 100%;
    min-height: 78px;
    padding: 10px 6px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--chalk);
    color: var(--heading);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    font-size: 11px;
    font-weight: 800;
    line-height: 14px;
    text-align: center;
    white-space: normal;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.recharge-menu > .dropdown-position-list > li > a:hover {
    border-color: color-mix(in srgb, var(--primary) 55%, transparent);
    background: color-mix(in srgb, var(--primary) 10%, var(--chalk));
    color: var(--primary);
    box-shadow: 0 9px 18px rgba(0, 0, 0, .16);
    transform: translateY(-4px) scale(1.025);
}

.recharge-menu > .dropdown-position-list > li > a img {
    width: 29px !important;
    height: 29px;
    margin: 0;
    object-fit: contain;
    border-radius: 7px;
    transition: transform .24s ease, filter .24s ease;
}

.recharge-menu > .dropdown-position-list > li > a:hover img {
    filter: saturate(1.12);
    transform: scale(1.12) rotate(-5deg);
}

html[data-theme="dark"] .recharge-menu > .dropdown-position-list {
    border-color: #38404a;
    background: #15191e;
}

html[data-theme="dark"] .recharge-menu > .dropdown-position-list::before {
    border-color: #38404a;
    background: #15191e;
}

html[data-theme="dark"] .recharge-menu > .dropdown-position-list > li > a {
    background: #1c2025;
}

@keyframes rechargeItemIn {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .recharge-menu > .dropdown-position-list,
    .recharge-menu > .dropdown-position-list > li,
    .recharge-menu > .dropdown-position-list > li > a,
    .recharge-menu > .dropdown-position-list > li > a img {
        animation: none !important;
        transition: none;
        opacity: 1;
        transform: none;
    }
}

.navbar-info-group {
    gap: 16px;
    flex-shrink: 0;
}

.navbar-info {
    min-width: 126px;
    min-height: 94px;
    margin-right: 0;
    padding: 14px 13px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--chalk);
}

.navbar-info i {
    align-self: flex-start;
    margin: 1px 11px 0 0;
    color: var(--heading);
    font-size: 20px;
}

.navbar-info p small {
    margin-bottom: 8px;
    color: var(--heading);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.navbar-info p span {
    color: var(--heading);
    font-size: 14px;
    font-weight: 700;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--chalk);
    color: var(--heading);
    cursor: pointer;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.theme-toggle-mobile {
    display: none;
}

html[data-theme="dark"] .header-top,
html[data-theme="dark"] .header-part,
html[data-theme="dark"] .navbar-part {
    background: #141414;
}

html[data-theme="dark"] .navbar-info,
html[data-theme="dark"] .theme-toggle {
    border-color: #22252a;
    background: #1b1b1b;
}

html[data-theme="dark"] .footer-part {
    background: #15171a;
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
    border-color: var(--border);
    background-color: var(--chalk);
    color: var(--heading);
}

html[data-theme="dark"] .table,
html[data-theme="dark"] .table > :not(caption) > * > * {
    border-color: var(--border);
    background-color: var(--white);
    color: var(--text);
}

html[data-theme="dark"] .dropdown-position-list,
html[data-theme="dark"] .megamenu,
html[data-theme="dark"] .category-sidebar,
html[data-theme="dark"] .nav-sidebar {
    border-color: var(--border);
    background: var(--white);
}

@media (max-width: 1199px) and (min-width: 992px) {
    .navbar-item {
        margin-right: 20px;
    }

    .navbar-info-group {
        gap: 8px;
    }

    .navbar-info {
        min-width: 112px;
        padding: 12px 10px;
    }
}

@media (max-width: 991px) {
    .theme-toggle-mobile {
        position: fixed;
        right: 16px;
        bottom: 84px;
        z-index: 999;
        display: block;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
    }
}

#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;
    }
}


/* Hide the storefront copyright/payment strip. */
.footer-bottom {
    display: none !important;
}

.footer-copytext a {
    color: #ffffff;
}
.megamenu {
    z-index: 3;
}

/* Compact products dropdown */
.dropdown-megamenu {
    position: relative;
}

.dropdown-megamenu .megamenu {
    top: calc(100% - 7px);
    left: 0;
    z-index: 50;
    width: min(600px, calc(100vw - 30px));
    padding: 28px 20px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
    transform: translateY(14px) scale(.975);
    transform-origin: top left;
    transition: opacity .22s ease, visibility .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1);
}

.dropdown-megamenu .megamenu:not(:has(.megamenu-column:nth-child(2))) {
    width: min(320px, calc(100vw - 30px));
}

.dropdown-megamenu .megamenu.megamenu-cols-1 {
    width: min(300px, calc(100vw - 30px));
}

.dropdown-megamenu .megamenu.megamenu-cols-2 {
    width: min(600px, calc(100vw - 30px));
}

.dropdown-megamenu:hover .megamenu,
.dropdown-megamenu:focus-within .megamenu {
    top: calc(100% - 7px);
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.megamenu-grid .megamenu-column:only-child {
    grid-column: 1 / -1;
}

.megamenu-wrap {
    margin: 0;
}

.megamenu-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 5px;
    padding: 0 8px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--heading);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.megamenu-title::before {
    bottom: -1px;
    left: 8px;
    width: 42px;
    height: 1px;
}

.megamenu-title img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 5px;
}

.megamenu-list {
    margin: 0;
    padding: 8px 0 1px 10px;
    border-left: 1px solid var(--border);
}

.megamenu-list li {
    opacity: 0;
    transform: translateX(-6px);
}

.dropdown-megamenu:hover .megamenu-list li,
.dropdown-megamenu:focus-within .megamenu-list li {
    animation: megaMenuItemIn .3s ease forwards;
}

.megamenu-list li:nth-child(2) { animation-delay: .035s !important; }
.megamenu-list li:nth-child(3) { animation-delay: .07s !important; }
.megamenu-list li:nth-child(4) { animation-delay: .105s !important; }
.megamenu-list li:nth-child(5) { animation-delay: .14s !important; }
.megamenu-list li:nth-child(n+6) { animation-delay: .175s !important; }

.megamenu-list li a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    width: auto;
    min-height: 36px;
    padding: 7px 4px;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 650;
    transition: color .2s ease, transform .2s ease;
}

.megamenu-list li a:hover {
    padding-left: 4px;
    color: var(--primary);
    background: transparent;
    transform: translateX(7px);
}

.megamenu-list li a img {
    width: 17px !important;
    height: 17px;
    margin-right: 0;
    object-fit: contain;
    border-radius: 4px;
    transition: transform .2s ease;
}

.megamenu-list li a:hover img {
    transform: rotate(-7deg) scale(1.12);
}

html[data-theme="dark"] .dropdown-megamenu .megamenu {
    border-color: #39414d;
    background: #151515;
}

@keyframes megaMenuItemIn {
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .dropdown-megamenu .megamenu {
        width: min(540px, calc(100vw - 30px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .dropdown-megamenu .megamenu,
    .megamenu-list li {
        animation: none !important;
        transition: none;
        opacity: 1;
        transform: none;
    }
}
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
}

.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;
}

.category-explorer {
    margin: 2px 0 30px;
    animation: categoryExplorerIn .45s ease both;
}

.category-parent-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 8px;
}

.category-parent-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    overflow: hidden;
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--white);
    color: var(--heading);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.category-parent-tab::after {
    position: absolute;
    top: -80%;
    left: -55%;
    width: 34%;
    height: 260%;
    content: "";
    background: rgba(255, 255, 255, .13);
    transform: rotate(22deg);
    transition: left .42s ease;
}

.category-parent-tab:hover::after {
    left: 125%;
}

.category-parent-tab:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-parent-tab.active {
    border-color: #60708c;
    background: #40506a;
    color: #fff;
    box-shadow: 0 7px 18px rgba(30, 48, 78, .25);
}

.category-parent-tab img {
    width: 17px;
    height: 17px;
    object-fit: contain;
    border-radius: 4px;
}

.category-child-panel {
    min-height: 156px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
}

.category-child-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 110px));
    gap: 15px;
}

.category-child-card {
    position: relative;
    display: flex;
    min-height: 107px;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 14px 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--white);
    color: var(--heading);
    text-align: center;
    transform: translateZ(0);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.category-child-card:hover,
.category-child-card.active {
    border-color: var(--primary);
    color: var(--heading);
    transform: translateY(-5px) scale(1.025);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18), 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent);
}

.category-child-card::before {
    position: absolute;
    inset: auto 15px 0;
    height: 2px;
    border-radius: 2px;
    content: "";
    background: var(--primary);
    transform: scaleX(0);
    transition: transform .22s ease;
}

.category-child-card:hover::before,
.category-child-card.active::before {
    transform: scaleX(1);
}

.category-child-card.is-hidden {
    display: none;
}

.category-child-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 9px;
    background: var(--chalk);
    transition: transform .25s ease;
}

.category-child-card:hover .category-child-icon {
    transform: rotate(-5deg) scale(1.1);
}

.category-child-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 6px;
}

.category-child-name {
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 18px;
}

.category-explorer ~ .row .home-heading {
    display: block;
    margin: 0 0 18px !important;
    animation: categoryHeadingIn .42s ease both;
}

.category-explorer ~ .row .home-heading h3:not(.no-bg) {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    color: var(--heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
}

.category-explorer ~ .row .home-heading h3 img {
    width: 24px;
    height: 24px;
    margin: 0;
    border-radius: 4px;
    object-fit: contain;
    transition: transform .25s ease, filter .25s ease;
}

.category-explorer ~ .row .home-heading:hover h3 img {
    transform: translateY(-2px) rotate(-5deg) scale(1.08);
    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .18));
}

.category-section-description {
    max-width: 900px;
    margin: 5px 0 0;
    color: color-mix(in srgb, var(--primary) 58%, var(--text));
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

@keyframes categoryHeadingIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes categoryExplorerIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes categoryTileIn {
    from { opacity: 0; transform: translateY(9px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 575px) {
    .category-parent-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .category-parent-tabs::-webkit-scrollbar {
        display: none;
    }

    .category-parent-tab {
        flex: 0 0 auto;
    }

    .category-child-panel {
        min-height: 130px;
        padding: 15px;
    }

    .category-child-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-explorer,
    .category-child-card,
    .category-explorer ~ .row .home-heading,
    .category-explorer ~ .row .home-heading h3 img {
        animation: none !important;
        transition: none;
    }
}

/* Compact product cards */
.shop-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Hide the optional detail/API/affiliate tabs on individual product pages. */
.product-detail-page section.inner-section:has(.nav.nav-tabs) {
    display: none !important;
}

.modern-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 22px;
    margin-bottom: 18px;
}

.modern-product-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--white);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .08);
    animation: modernProductIn .42s ease both;
    animation-delay: calc(var(--card-order) * 55ms);
    transform: translateZ(0);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s ease, box-shadow .25s ease;
}

.modern-product-card:hover {
    border-color: color-mix(in srgb, var(--primary) 70%, var(--border));
    box-shadow: 0 17px 34px rgba(0, 0, 0, .22), 0 0 0 1px color-mix(in srgb, var(--primary) 22%, transparent);
    transform: translateY(-7px) scale(1.012);
}

.modern-product-image {
    position: relative;
    display: block;
    aspect-ratio: 2 / 1;
    margin: 12px 12px 0;
    overflow: hidden;
    border-radius: 9px;
    background: var(--chalk);
}

.modern-product-image::after {
    position: absolute;
    top: -70%;
    left: -65%;
    width: 35%;
    height: 240%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .24), transparent);
    transform: rotate(18deg);
    transition: left .55s ease;
}

.modern-product-card:hover .modern-product-image::after {
    left: 135%;
}

.modern-product-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), filter .3s ease;
}

.modern-product-card:hover .modern-product-image > img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.065);
}

.modern-product-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 7px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 14px;
    backdrop-filter: blur(6px);
}

.modern-product-badge.is-new { background: rgba(255, 93, 35, .92); }
.modern-product-badge.is-hot { background: rgba(225, 45, 48, .92); }

.modern-product-body {
    display: flex;
    min-height: 119px;
    flex-direction: column;
    padding: 12px;
}

.modern-product-body h4 {
    min-height: 40px;
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    line-height: 20px;
}

.modern-product-body h4 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--heading);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color .2s ease;
}

.modern-product-card:hover .modern-product-body h4 a { color: var(--primary); }

.modern-product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.modern-product-price strong {
    color: #ff5558;
    font-size: 15px;
    font-weight: 850;
}

.modern-product-price del {
    color: var(--gray);
    font-size: 11px;
}

.modern-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    margin-top: auto;
    color: var(--text);
    font-size: 11px;
    white-space: nowrap;
}

.modern-product-delivery { font-size: 13px; font-weight: 750; }
.modern-product-delivery.in-stock { color: #19d895; }
.modern-product-delivery.out-stock { color: #f0a31a; }

/* Recent purchase ticker */
.recent-orders-panel {
    display: flex;
    min-width: 0;
    min-height: 48px;
    overflow: hidden;
    align-items: stretch;
    padding: 0 !important;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(20, 35, 55, .09);
    font-family: "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.recent-orders-list {
    position: relative;
    min-width: 0;
    overflow: hidden;
    flex: 1;
}

.recent-orders-track,
.recent-orders-group {
    display: flex;
    width: max-content;
    min-height: 46px;
    align-items: center;
}

.recent-orders-track.is-animated {
    animation: recentOrdersTicker var(--ticker-duration, 50s) linear infinite;
    will-change: transform;
}

.recent-orders-panel:hover .recent-orders-track {
    animation-play-state: paused;
}

.recent-orders-panel .feature-card {
    width: max-content;
    min-width: max-content;
    margin: 0;
    border: 0;
    border-right: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.recent-orders-panel .feature-card:hover {
    border-color: var(--border);
    box-shadow: none;
    transform: none;
}

.recent-orders-panel .feature-content {
    padding: 0 18px;
    color: var(--text);
    font-size: 13px;
    white-space: nowrap;
}

.recent-orders-panel .feature-content .row {
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
}

.recent-orders-panel .feature-content .col-10,
.recent-orders-panel .feature-content .col-2 {
    width: auto;
    padding: 0;
}

.recent-orders-panel .feature-content .col-2 {
    margin-left: 8px;
}

.recent-orders-panel .feature-content .badge {
    padding: 0;
    color: var(--text);
    background: transparent !important;
    font-size: 11px;
    font-weight: 600;
}

@keyframes recentOrdersTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 575px) {
    .recent-orders-panel .feature-content {
        padding: 0 13px;
        font-size: 12px;
    }
}

html[data-theme="dark"] .modern-product-card {
    border-color: #3a3d42;
    background: #151515;
}

@keyframes modernProductIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
    .modern-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .modern-product-image { margin: 8px 8px 0; }
    .modern-product-body { min-height: 112px; padding: 10px; }
    .modern-product-meta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
    .modern-product-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .modern-product-card,
    .modern-product-image::after,
    .modern-product-image > img {
        animation: none !important;
        transition: none;
    }
}

.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;
}
