﻿
@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    src: url(/fonts/Roboto-Light.ttf) format("truetype")
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    src: url(/fonts/Roboto-Regular.ttf) format("truetype")
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    src: url(/fonts/Roboto-Medium.ttf) format("truetype")
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 600;
    src: url(/fonts/Roboto-SemiBold.ttf) format("truetype")
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 700;
    src: url(/fonts/Roboto-Bold.ttf) format("truetype")
}

@font-face {
    font-family: RobotoCondensed;
    font-style: normal;
    font-weight: 300;
    src: url(/fonts/RobotoCondensed-Light.ttf) format("truetype")
}

@font-face {
    font-family: RobotoCondensed;
    font-style: normal;
    font-weight: 400;
    src: url(/fonts/RobotoCondensed-Regular.ttf) format("truetype")
}

@font-face {
    font-family: RobotoCondensed;
    font-style: normal;
    font-weight: 500;
    src: url(/fonts/RobotoCondensed-Medium.ttf) format("truetype")
}

@font-face {
    font-family: RobotoCondensed;
    font-style: normal;
    font-weight: 600;
    src: url(/fonts/RobotoCondensed-SemiBold.ttf) format("truetype")
}

/* Default */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #414141;
    line-height: 1.5;
    background: #f2f4f7;
}
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1280px;
    }
}
html.no-scroll, body.no-scroll {
    overflow: hidden !important;
    height: 100% !important;
}

p {
    margin: 0 0 6px;
    padding: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}

a:hover, a:active {
    color: #ed1c25;
}

.link-reset {
    color: inherit !important;
    text-decoration: none !important;
    transition: none !important;
}

.link-reset:hover,
.link-reset:active,
.link-reset:focus {
    color: inherit !important;
    background: none !important;
    outline: none !important;
}

.no-focus:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #ced4da !important;
}

table {
    border-collapse: collapse;
    width: 100%;
}

table, tr, td {
    border: 1px solid #d2d2d2;
    padding: 3px;
}

/* Header */
.header {
    background: -webkit-linear-gradient(top, #ed1c24, #ed1c24);
}

.header-row {
    min-height: 64px;
    padding: 8px 0;
}

.header .header__logo img {
    height: 50px;
    width: auto;
}

.header .search-wrapper {
    position: relative;
    width: 100%;
}

.header .search-input {
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    border: 0;
    border-radius: 100rem;
    padding: 0 45px 0 20px;
}

.header .search-input:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.header .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    transition: all 0.3s ease;
}

.header .search-icon:before {
    background: #bf101736;
    border: 0;
    cursor: pointer;
    border-radius: 100rem;
    height: 38px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ed1c24;
}

.header .search-result {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    z-index: 1000;
    display: none;
}

.header .search-result__list {
    max-height: 400px;
    overflow-y: auto;
}

.header .search-result__item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.15s;
}

.header .search-result__item a {
    display: flex; 
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    padding: 8px 12px;
}

.header .search-result__item .product-image {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    margin-right: 10px;
}

.header .search-result__item .product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.header .search-result__item .product-info__name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 4px;
}

.header .search-result__item .product-info__price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.header .search-result__item .price-new {
    color: #e53935;
    font-weight: 600;
    font-size: 14px;
}

.header .search-result__item .discount {
    background: #ffebee;
    color: #e53935;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}

.header .search-result__item .product-info__price-old {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.header .search-result__item .search-result__list::-webkit-scrollbar {
    width: 6px;
}

.header .search-result__item .search-result__list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.header .hotline {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.header .hotline a:hover,
.header .hotline a:active,
.header .hotline a:focus {
    text-decoration: none;
    color: inherit;
    outline: none;
    background: none;
    box-shadow: none;
}

.header .hotline i {
    font-size: 1.5em;
}

.header .hotline .text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
    font-size: 13px;
}

.header .hotline .label {
    font-weight: normal;
    margin-bottom: 2px;
}

.header .hotline .number {
    font-weight: normal;
}

.header .shopping-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    color: #fff;
}

.header .shopping-cart a:hover,
.header .shopping-cart a:active,
.header .shopping-cart a:focus {
    text-decoration: none;
    color: inherit;
    outline: none;
    background: none;
    box-shadow: none;
}

.header .shopping-cart .icon-wrapper {
    position: relative; 
    display: inline-block;
}

.header .shopping-cart .icon-wrapper i {
    font-size: 1.5em;
}

.header .shopping-cart .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ed1c24;
    font-size: 11px;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

.header .shopping-cart .text {
    display: flex;
    flex-direction: column; 
    line-height: 1.4;
    font-size: 13px;
}

.header .shopping-cart .text .label {
    font-weight: normal;
}

.header .shopping-cart .text .amount {
    font-weight: normal;
    font-size: 13px;
    margin-top: 2px;
}

.header .shop-address {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #bf1017;
    color: #fff;
    height: 40px;
    padding: 0 20px 0 12px;
    border-radius: 100rem;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
    position: relative;
}

.header .shop-address i {
    font-size: 1.2em;
}

.header .shop-address:after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) rotate(135deg);
    width: 6px;
    height: 6px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 0;
}

/* Mega Menu Block */
.mega-menu {
    border-radius: 10px;
    position: absolute;
    background: #fff;
    z-index: 999;
    width: 260px;
    left: 0;
    top: 88%;
    margin-top: 10px;
    box-shadow: 0px 2px 3px 0px #b2b2b294;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
}

.mega-menu:before {
    content: "";
    position: absolute;
    top: -7px;
    right: 6%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
    z-index: 100;
}

.mega-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu__list {
    margin: 10px 0;
}

.mega-menu__item {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.mega-menu__item:hover {
    background-color: #f5f5f5;
}

.mega-menu__item .wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.mega-menu__item .left-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.mega-menu__item .link {
    font-weight: 500;
    letter-spacing: 0.2px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mega-menu__item .link:hover {
    color: #ed1c25;
}

.mega-menu__item .icon-right {
    width: 8px;
    height: 15px;
    flex-shrink: 0;
    margin-left: auto;
}

.mega-menu__submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 260px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 9999;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    width: max-content;
    max-width: calc(100vw - 260px);
    box-sizing: border-box;
}

.mega-menu__item:hover .mega-menu__submenu {
    display: flex;
}

.mega-menu__submenu .submenu-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 180px;
}

.mega-menu__submenu .submenu-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    height: max-content;
    flex: 0 0 auto;
}

.mega-menu__submenu .submenu-list-title {
    font-weight: 500;
    font-size: 15px;
    width: 100%;
}

.mega-menu__submenu .submenu-list-item {
    margin-bottom: 8px;
}

.mega-menu__submenu .submenu-list-item a {
    margin-left: 5px;
}

.mega-menu__submenu .submenu-link {
    display: flex;
    gap: 10px;
    text-decoration: none;
}

.mega-menu__submenu .submenu-group.brand {
    flex: 0 0 220px;
}

.mega-menu__submenu .submenu-list.brand {
    display: grid;
    grid-auto-flow: column;
    grid-auto-rows: auto;
    grid-template-rows: repeat(6, auto);
    gap: 1px 10px;
    justify-content: start;
    width: 100%;
    box-sizing: border-box;
}

.mega-menu__submenu .submenu-list.brand .submenu-link {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.2s, transform 0.2s;
    overflow: hidden;
    padding: 5px 15px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.mega-menu__submenu .submenu-list.brand .submenu-link:hover {
    border-color: rgba(153,153,153,0.5);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #288ad6;
    transform: translateY(-2px);
}

.mega-menu__submenu .submenu-list.brand .submenu-link.active {
    border-color: rgba(153,153,153,0.5);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #288ad6;
    background-color: #f5f5f5;
}

.mega-menu__submenu .submenu-list.brand .brand-logo {
    height: 20px;
    width: 100%;
    margin: 0 auto;
    object-fit: contain;
    display: block;
}

.mega-menu__submenu .submenu-list.brand .brand-name {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 13px;
}

.mega-menu__submenu .submenu-group.hot {
    flex: 0 0 180px;
}

.mega-menu__submenu .submenu-list.hot {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-menu__submenu .submenu-list.hot .submenu-list-item {
    margin-bottom: 2px;
}

.mega-menu__submenu .submenu-list.hot .submenu-link {
    display: block;  
    text-decoration: none; 
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    color: #797979;
    padding: 2px 0;
}

.mega-menu__submenu .submenu-list.hot .submenu-link:hover {
    color: #e06666;
    transform: translateY(-1px);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.mega-menu__submenu .submenu-list.hot .submenu-link.active {
    color: #e06666;
    transform: translateY(-1px);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.mega-menu__submenu .submenu-group.best-sellers {
    flex: 1 1 auto;
}

.mega-menu__submenu .submenu-list.best-sellers {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-menu__submenu .submenu-list.best-sellers .submenu-link {
    display: flex;  
    align-items: center;
    width: 100%; 
    box-sizing: border-box;
    text-decoration: none;
    color: #333;
    padding: 2px 6px;
    border-radius: 6px;
    position: relative;
}

.mega-menu__submenu .submenu-list.best-sellers .product {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    text-decoration: none;
}

.mega-menu__submenu .submenu-list.best-sellers .product-img {
    width: 55px;
    height: 55px;
    overflow: hidden;
}

.mega-menu__submenu .submenu-list.best-sellers .product-img img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.mega-menu__submenu .submenu-list.best-sellers .submenu-link:hover .product-img img {
    transform: scale(1.05);
}

.mega-menu__submenu .submenu-list.best-sellers .product-info {
    display: flex;
    flex-direction: column;
}

.mega-menu__submenu .submenu-list.best-sellers .product-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.mega-menu__submenu .submenu-list.best-sellers .submenu-link:hover .product-name {
    color: #e06666; 
}

.mega-menu__submenu .submenu-list.best-sellers .product-price {
    display: flex;
    gap: 5px;
    align-items: center;
}

.mega-menu__submenu .submenu-list.best-sellers .price .price-new {
    color: #ed1c25;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mega-menu__submenu .submenu-list.best-sellers .submenu-link:hover .price .price-new {
    color: #e06666;
}

.mega-menu__submenu .submenu-list.best-sellers .price-old {
    margin-left: 5px;
    opacity: 0.5;
    text-decoration: line-through;
}

/* mega-menu-mobile */
.mega-menu-mobile {
    position: absolute;
    top: 80px;
    left: 0;
    width: 90px;
    height: 100vh;
    display: none;
    background: #fff;
    z-index: 999;
    overflow: visible;
    align-items: center; 
}

.mega-menu-mobile.active {
    display: flex;
}

body.menu-mobile-open {
    overflow: hidden;
}

.mega-menu-mobile__list {
    width: 100%;
    background: #f7f7f7;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 100%;
}

.mega-menu-mobile__item {
    width: 100%;
    padding: 10px 10px 10px 6px;
    border-left: 4px solid transparent;
    transition: 0.2s;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mega-menu-mobile__item.active {
    border-left-color: #ed1c25;
    background: #fff;
}

.mega-menu-mobile__item > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mega-menu-mobile__item.active .mega-menu-mobile__submenu {
    display: block;
}

.mega-menu-mobile__item .menu-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 6px;
}

.mega-menu-mobile__item .menu-label {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.mega-menu-mobile__submenu {
    position: absolute;
    top: 0;
    left: 100%;
    width: calc(100vw - 90px);
    height: 100vh;
    background: #fff;
    display: none;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    z-index: 10000;
}

.mega-menu-mobile__submenu .submenu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    justify-content: flex-start;
    align-items: flex-start;
}

.mega-menu-mobile__submenu .submenu-list-title {
    width: 100%;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    text-align: left;
}

.mega-menu-mobile__submenu .submenu-list-item {
    display: inline-block;
}

.mega-menu-mobile__submenu .submenu-list-item a {
    margin-left: 5px;
}

.mega-menu-mobile__submenu .submenu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none; 
    width: 100%;
    color: inherit;
    background: none;
}

.mega-menu-mobile__submenu .submenu-list.brand {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    align-items: center;
    justify-content: flex-start;
}

.mega-menu-mobile__submenu .submenu-list.brand .submenu-list-item {
    flex: 0 0 auto;
}

.mega-menu-mobile__submenu .submenu-list.brand .submenu-link {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.2s, transform 0.2s;
    overflow: hidden;
    padding: 5px 15px;
    box-sizing: border-box;
}

.mega-menu-mobile__submenu .submenu-list.brand .brand-logo {
    width: 64px;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mega-menu-mobile__submenu .submenu-list.brand .brand-name {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 13px;
}

.mega-menu-mobile__submenu .submenu-list.hot .submenu-link  {
    border: 1px solid #d2d2d2;
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 13px;
    transition: color 0.3s, background 0.3s;
}

.mega-menu-mobile__submenu .submenu-list.best-sellers {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 10px 0;
}

.mega-menu-mobile__submenu .submenu-list.best-sellers .submenu-list-item {
    width: 100%;
}

.mega-menu-mobile__submenu .submenu-list.best-sellers .submenu-list-item a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-decoration: none;
    text-align: left;
}

.mega-menu-mobile__submenu .submenu-list.best-sellers .product-img {
    flex: 0 0 60px;
    height: 60px;
    overflow: hidden;
}

.mega-menu-mobile__submenu .submenu-list.best-sellers .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mega-menu-mobile__submenu .submenu-list.best-sellers .product-info {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    flex: 1;
}

.mega-menu-mobile__submenu .submenu-list.best-sellers .product-name {
    font-size: 14px;
    margin: 0 0 5px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mega-menu-mobile__submenu .submenu-list.best-sellers .price {
    display: flex;
    gap: 6px;
    align-items: center;
}

.mega-menu-mobile__submenu .submenu-list.best-sellers .price-new {
    color: #ed1c25;
    font-weight: 600;
}

.mega-menu-mobile__submenu .submenu-list.best-sellers .price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 13px;
}

/* header-desktop */
.header-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.header-desktop__left {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-desktop__menu-icon {
    background: #b90e15db;
    color: #fff;
    border: none;
    width: 115px;
    height: 40px;
    margin-left: 10px;
    border-radius: 100rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.header-desktop__menu-icon span {
    font-size: 13px;
    margin-left: 2px;
    padding-right: 5px;
}

/* header-mobile */
.header-mobile {
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
}

.header-mobile__menu-icon {
    background: #b90e15db;
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.header-mobile__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 8px 0;
}

.header-mobile__top-left {
    width: 80px;
    display: flex;
    justify-content: flex-start;
}

.header-mobile__logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-mobile__logo img {
    object-fit: contain;
}

.header-mobile__top-right {
    width: 120px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-mobile__search {
    padding-top: 8px;
}

/* mt-toolbar */
.mt-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
}

.toolbar-left {
    text-align: left;
    flex: 1;
}

.toolbar-right {
    text-align: right;
}

.mt-toolbar .breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
}

.mt-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

/* hero */
.hero {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
}

.hero__mega-menu {
    flex: 0 0 260px;
}

.hero__slider {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 10px;
}

.hero__slider .slider-wrapper {
    width: 100%;
    margin: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.hero__slider .swiper {
    position: relative;
}

.hero__slider .swiper .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
}

.hero__slider .swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero__slider .swiper .swiper-button-next, .hero__slider .swiper .swiper-button-prev {
    color: black;
    opacity: 0.8;
}

.hero__slider .swiper-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
}

.hero__slider .swiper-nav .swiper-nav-item {
    border-radius: 0;
    background: none;
    margin: 10px 10px 8px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
    line-height: 19px;
    box-sizing: border-box;
    width: 20%;
    text-align: center;
    border-bottom: 2px solid #fff;
    border-right: 1px solid #f2f2f2;
}

.hero__slider .swiper-nav .swiper-nav-item.active {
    border-bottom: 1px solid #ff4d00;
}

.hero__promo {
    flex: 0 0 265px;
    margin-top: 10px;
}

.hero__promo .promo-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero__promo .promo-list .promo-item img {
    height: 114px;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
    display: block;
}

.daily-deals {
    width: 100%;
    height: 100%;
    margin-top: 10px;
}

.daily-deals .daily-deals-box {
    background: #d93b30;
    padding: 20px 15px;
    border-radius: 10px;
}

.daily-deals .daily-deals__title {
    font-size: 21px;
    font-weight: 500;
    color: #fff;
}

.product {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #f1f1f1;
    background: #fff;
}

.product__header {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 35px;
}

.product__header-authentic {
    border: solid 1px #d4d3d3;
    background: #f1f1f1;
    color: #5e5e5e;
    border-radius: 5px;
    font-size: 11px;
    padding: 3px 8px;
    white-space: nowrap;
}

.product__header-installment {
    background: #fff;
    border: solid 1px #db0000;
    color: #db0000;
    border-radius: 5px;
    font-size: 11px;
    padding: 3px 8px;
    white-space: nowrap;
}

.product__header-discount {
    background: #db0000;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 3px 6px;
    white-space: nowrap;
    margin-left: auto;
}

.product__image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
    position: relative;
    overflow: hidden;
}

.product__image img {
    display: block;
    max-width: 100%;
    height: auto; 
    object-fit: contain;
    transition: transform 0.2s ease-in-out;
}

.product__image:hover img {
    transform: translateY(-6px);
}

.product__badge {
    position: absolute;
    bottom: 0px;
    left: 5px;
    z-index: 2;
    padding: 2px 20px 0px 10px;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.product__badge-hot {
    background: linear-gradient(-90deg, #ec1f1f 0%, #ff9c00 100%);
    color: #fff;
}

.product__badge-hot::before {
    content: "";
    display: inline-block;
    background: url(/images/flash.png);
    background-size: 50% 50%;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #f13500;
    border-radius: 50%;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    top: -1px;
    left: -10px;
    margin-right: 5px;
}

.product__details {
    position: relative;
    width: 100%;
    margin: 8px auto 0;
}

.product__details-title {
    line-height: 20px;
    color: #000;
    margin-bottom: 8px;
    display: block;
    overflow: hidden;
    font-size: 14px;
    height: 38px;
    font-weight: 500;
}

.product__details-title a {
    color: #000;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.product__details-title a:hover {
    color: #007bff;
}

.product__details-feature {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.product__details-feature span{
    border-radius: 2px;
    background: #f2f4f7;
    border: 0;
    color: #667085;
    font-size: 13px;
    padding: 2px 4px;
}

.product__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin: 0 auto;
    width: 100%;
}

.product__price-current {
    font-size: 16px;
    font-weight: 600;
    color: #ed1c24;
}

.product__price-old {
    font-size: 14px;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
}

.product__down-payment {
    margin-top: 6px;
    font-size: 13px;
    border-radius: 100rem;
    padding: 5px 10px;
    margin-top: 5px;
    border: 1px solid #f7f7f7;
    background: #e5e9ec5e;
    color: #888;
    white-space: nowrap;
}

.product__down-payment-label {
    color: #666;
}

.product__down-payment-value {
    font-weight: 600;
    color: #49965c;
    margin-left: 4px;
}

.product__flash-sale {
    margin-top: 6px;
    display: block;
    overflow: visible;
    min-height: 20px;
    width: 100%;
    position: relative;
}

.product__flash-sale > img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20px;
    height: auto;
    z-index: 1;
}

.product__flash-sale-status {
    min-height: 20px;
    padding-left: 21px;
    background-color: #ddd;
    border-radius: 25px;
    line-height: 20px;
    text-align: center;
    width: 100%;
    bottom: 0;
    left: 0;
    color: #000;
    overflow: hidden;
    position: relative;
    display: block;
    box-sizing: border-box;
    font-size: 12px;
}

.product__flash-sale-progress {
    min-width: 15px;
    display: block;
    background: linear-gradient(90deg, #ffecb3 0%, #ffb200 100%);
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 30%;
}

.product__flash-sale-remaining {
    display: block;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.product__version {
    margin-top: 10px;
}

.product__version .version_title {
    display: block;
    width: 100%;
}

.product__version .version-list {
    display: flex;
    gap: 16px;
    margin-top: 5px;
    list-style: none;
    overflow-x: auto;
}

.product__version .version-item {
    position: relative;
    flex: 0 0 auto;
    border: 1px solid #E0E0E0;
    border-radius: 12px; 
    padding: 6px 18px;
    background-color: #fff;
    text-align: center;
    transition: all 0.3s ease;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.product__version .version-name {
    font-size: 13px;
    font-weight: bold;
}

.product__version .version-price {
    font-size: 13px;
}

.version-item:hover {
    border-color: #1976d2;
}

.product__version .version-item:hover {
    border-color: #1976D2;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product__version .version-item .version-link {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.product__version .version-item.active {
    border-color: #E53935;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product__version .version-item.active .version-name,
.product__version .version-item.active .version-price {
    color: #e53935;
}

.product__version .version-item.active::before {
    content: '✔';
    position: absolute;
    top: 0px;
    left: 2px;
    color: #e53935;
    font-size: 14px;
    font-weight: bold;
}


.section__box {
    padding: 20px 15px;
    background: #fff;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .13);
}

.product-listing {
    margin-top: 20px;
}

.product-listing__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.product-listing__title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    flex: 0 0 auto;
    margin-bottom: 0;
}

.product-listing__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    column-gap: 8px;
    row-gap: 8px;
}

.product-listing__filters a {
    white-space: nowrap;
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 500;
}

.product-listing__filters a:hover, .product-listing__filters a.active {
    color: #ed1c25;
}

.product-listing__content {
    gap: 10px;
    padding-bottom: 10px;
}

/* file-content */
.file-content .text-view {
    padding-top: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.file-content .text-view h2, .file-content .text-view h3 {
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.file-content .text-view ul, .file-content .text-view ul,
.file-content .text-view ol {
    list-style: revert;
    margin-left: 24px;
}

.file-content .text-view img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

.file-content .text-view a {
    color: #007bff;
    text-decoration: underline;
}


/* common-page */
.common-page {
    
}

.common-page h2 {
    font-size: 22px;
    font-weight: 600;
    color: red;
    margin: 15px;
}

/* News Home */
.news-home {
    margin-top: 20px;
}

.news-home__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.news-home__title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    flex: 0 0 auto;
    margin-bottom: 0;
}

.news-home__filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.news-home__filter a {
    white-space: nowrap;
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 500;
}

.news-home__filter a:hover, .news-home__filter a.active {
    color: #ed1c25;
}

.news-home__listing {
    margin-top: 10px;
}

.news-home__listing .news-home__item {
    position: relative;
    margin-bottom: 20px;
}

.news-home__listing .news-home__item .news-home__item-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.news-home__listing .news-home__item .news-home__item-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    object-fit: cover;
    transition: transform 0.2s ease-in-out;
}

.news-home__listing .news-home__item .news-home__item-image:hover img {
    transform: scale(1.05);
}

.news-home__listing .news-home__item .news-home__item-image span {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 4px;
}

.news-home__listing .news-home__item .news-home__item-image span::before {
    content: "\f017";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    margin-right: 5px;
}

.news-home__listing .news-home__item .news-home__item-title {
    display: block;
    margin-top: 8px;
    font-weight: 400;
    text-decoration: none;
    text-transform: none;
    text-align: left;
    font-size: 15px;
    line-height: 20px;
}

.news-home__listing .news-home__item .news-home__item-title:hover {
    color: #007bff;
}

.news-home__listing .btn-viewmore {
    font-weight: 500;
    color: #2196f3;
}

/*Sắm đồ online - Gấp đôi ưu đãi*/
.promo-double-deal {
    margin-top: 30px;
}

.promo-double-deal__wrapper {
    display: flex;
    align-items: stretch;
    gap: 16px;
    flex-wrap: nowrap;
}

.promo-double-deal__slider {
    flex: 0 0 360px;
    max-width: 360px;
}

.promo-double-deal__title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.5rem;
}

.promo-double-deal__box .swiper-button-next,
.promo-double-deal__box .swiper-button-prev {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(0.9);
    transition: all 0.25s ease;
}
.promo-double-deal__box:hover .swiper-button-next,
.promo-double-deal__box:hover .swiper-button-prev {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.promo-double-deal-swiper__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.promo-double-deal-swiper__item .product-name {
    line-height: 20px;
    color: #000;
    margin-bottom: 8px;
    display: block;
    overflow: hidden;
    font-size: 16px;
    height: 38px;
    font-weight: 500;
}

.promo-double-deal-swiper__item .product-name a {
    color: #000;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.promo-double-deal-swiper__item .product-name a:hover {
    color: #007bff;
}

.promo-double-deal-swiper__item .price-current {
    font-size: 18px;
    font-weight: 600;
    color: #ed1c24;
}
.promo-double-deal-swiper__item .price-old {
    font-size: 18px;
    color: #777;
    text-decoration: line-through;
    margin-left: 5px;
}

.promo-double-deal-swiper__item .product__image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 10px;
}

.promo-double-deal-swiper__item .product__image img {
    margin-top: 6px;
    display: block;
    width: 250px;
    aspect-ratio: 1;
    object-fit: contain;
}

.promo-double-deal__banner {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.promo-double-deal__banner img {
    display: block;
    width: 300px;
    object-fit: contain;
    border-radius: 8px;
}

.promo-double-deal__sale {
    flex: 1; 
    min-width: 0;
}

.promo-double-deal__sale__title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.5rem;
}
.promo-double-deal__sale-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
}

.promo-double-deal__sale-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.promo-double-deal__sale a,
.promo-double-deal__sale a:hover,
.promo-double-deal__sale a:focus,
.promo-double-deal__sale a:active {
    color: inherit;
    text-decoration: none;
    outline: none;
    background: none;
    box-shadow: none;
}
.promo-double-deal__sale-item img {
    display: block;
    width: 115px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.promo-double-deal__sale-item .product-name {
    font-size: 14px;
    margin-top: 10px;
}

/* Company Info */
.company-info {
    margin-top: 20px;
}

.company-info .company-name {
    line-height: 24px;
    color: #000;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.company-info .company-address {
    font-size: 15px;
    opacity: 0.6;
    margin-top: 5px;
    font-weight: 400;
    line-height: 22px;
}

.company-info .btn-see-map {
    display: inline-block;
    border-radius: 100rem;
    background-color: #ed1c25;
    font-size: 16px;
    color: #fff;
    padding: 14px 20px;
    border: none;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.company-info .btn-see-map:hover {
    color: #fff;
    background-color: #d4171e;
}

/* Footer */
.footer {
    margin-top: 20px;
    margin-bottom: 50px;
}

.footer__go-to-top {
    position: fixed;
    display: none;
    width: 45px;
    height: 45px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    right: 10px;
    bottom: 100px;
    background: #ed1c24;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 45px;
    transition: 0.5s all;
    cursor: pointer;
    z-index: 99999;
}

.footer__title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 24px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.footer__list {
    width: 100%;
    margin-top: 10px;
}

.footer__list li {
    display: flex;
    margin-bottom: 8px;
}

.footer__list img {
    margin-right: 15px;
}

.footer__list .item-label {
    font-weight: 600;
    display: inline-block;
}

.footer__list .item-content {
    margin-left: 5px;
}

.footer__payment {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
}

.footer__payment a .icon-atm {
    background-position: -147px 0;
}

.footer__payment a .icon-visa {
    background-position: -218px 0;
}

.footer__payment a .icon-master {
    background-position: -289px 0;
}

.footer__payment a i {
    background-image: url(/images/icon-payment.png);
    background-repeat: no-repeat;
    display: inline-block;
    width: 71px;
    height: 35px;
    line-height: 30px;
    margin: 2px 0;
    vertical-align: middle;
    border-radius: 5px;
}

.page-box {
    background: #fff;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .13);
    padding: 15px;
}

/* News Page */
.news-page {
}

.news__title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 24px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.news-wraper {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.news__title .fa-youtube {
    color: #ff0000;
    margin-right: 6px;
}

.news__filter-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    -webkit-overflow-scrolling: touch; /* mượt trên iOS */
}

.news__filter-list::-webkit-scrollbar {
    height: 6px;
}

.news__filter-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.news__filter-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 8px;
    background-color: rgba(242, 244, 247, 1);
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 0 0 auto;
    cursor: pointer;
}

.news__filter-item:hover {
    border-color: #999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #288ad6
}

.news__filter-item.active {
    border-color: #999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #288ad6
}

.news__item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px solid #eaeaea;
    padding: 20px 0;
    flex-wrap: wrap; 
}

.news__item:last-child {
    border-bottom: none;
}

.news__item-image {
    width: 270px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
}

.news__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: transform 0.3s ease;
}

.news__item-image img:hover {
    transform: scale(1.05);
}

.news__item-body {
    flex: 1;
    overflow: hidden;
}

.news__item-title {
    margin: 0 0 5px 0;
    font-size: 17px;
    font-weight: 600;
    text-align: justify;
}

.news__item-title a {
    color: #333;
    text-decoration: none;
    line-height: 1.3;
}

.news__item-title a:hover {
    text-decoration: none;
    color: #c00;
}

.news__item-desc {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #555;
    text-align: justify;
}

.news__item-date-view {
    font-size: 12px;
    color: #999;
}

.news__item-date-view a {
    color: #999;
    text-decoration: none;
}

.news__item-date-view a:hover {
    text-decoration: underline;
}

.news__item--loadmore {
    display: block; 
    text-align: center;
    border-bottom: none;
    padding: 10px 0;
}

.news__load-more {
    display: inline-block;
    min-width: 240px;
    padding: 8px 20px;
    line-height: 25px;
    font-size: 14px;
    color: #288ad6;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
    margin: 0 auto;
}

.news__load-more:hover {
    text-decoration: underline;
    background-color: #f5f5f5;
    color: #1a6fb3;
}

.news__load-more .badge {
    display: inline-block;
    background-color: #4a90e2;
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 10px;
    margin: 0 5px;
}

.video-frame {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 4px;
    background-color: #fff;
    overflow: hidden;
}

.news-other__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-other__item:last-child {
    border-bottom: none;
}

.news-other__item-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.news-other__item-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.news-other__item-image:hover img {
    transform: scale(1.05);
}

.news-other__item-title {
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
    margin: 0;
}

.news-other__item-title a {
    text-decoration: none;
    color: #222;
    transition: color 0.2s;
}

.news-other__item-title a:hover {
    color: #007bff;
}

.news-other__item-date-view {
    font-size: 13px;
    color: #777;
    display: flex;
    gap: 6px;
    align-items: center;
}

.news-other__item-date-view a {
    text-decoration: none;
    color: #777;
}

.news-other__item-date-view a:hover {
    color: #007bff;
}

.news_detail {
    padding: 20px 30px;
}

.news_detail .news-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #222;
}

.news_detail .news-content {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.news_detail .news-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 6px;
}

.news_detail .news-author {
    font-size: 14px;
    color: #888;
    font-style: italic;
    margin-bottom: 30px;
}

.news_detail .showmore {
    cursor: pointer;
    color: #4a90e2;
    text-align: center;
    padding: 7px 5px 5px 5px;
    margin: 10px auto;
}

/* Product Page */
.product-page {
    
}

.product__title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 24px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.product__filter {
    
}

.product__filter-wraper {
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.product__filter-wraper::-webkit-scrollbar {
    height: 6px;
}

.product__filter-wraper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.product__filter-specs {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 1px solid rgba(222, 226, 233, 1);
    background: #fff;
    color: #4a90e2;
    border-radius: 8px;
    width: 70px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.product__filter-specs i{
    margin-right: 6px;
}

.product__filter-specs:hover {
    border-color: #999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product__filter-brand-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: stretch;
}

.product__filter-brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 8px;
    background-color: rgba(242, 244, 247, 1);
    color: #333;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
    height: 100%;
}

.product__filter-brand-link:hover {
    border-color: #999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #288ad6
}

.product__filter-brand-link.active {
    border-color: #999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #288ad6
}

.product__filter-brand-logo {
    height: 18px;
    width: auto;
    display: block;
}

.product__sort {
    margin-top: 15px;
}

.product__sort-lable {
    line-height: 1;
    color: rgba(71,84,103,1);
    min-width: 90px;
}

.product__sort-list {
    display: flex;
    flex-wrap: wrap; 
}

.product__sort-item {
    list-style: none;
}

.product__sort-item-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 8px;
    text-decoration: none;
    color: rgba(102, 112, 133, 1) ;
    white-space: nowrap;
    line-height: 1;
}

.product__sort-item-link i {
    margin-right: 4px;
}

.product__sort-item-link:hover {
    color: #288ad6
}

.product__sort-item-link.active {
    color: #288ad6
}

.product__load-more {
    display: inline-block;
    min-width: 240px;
    padding: 6px 20px;
    line-height: 25px;
    font-size: 14px;
    color: #288ad6;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
    margin: 20px auto;
}

.product__load-more:hover {
    text-decoration: underline;
    background-color: #f5f5f5;
    color: #1a6fb3;
}

.product__load-more .badge {
    display: inline-block;
    background-color: #4a90e2;
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 10px;
    margin: 0 5px;
}

.product__slider {
    position: relative;
    width: 100%;
}

.product__slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product__slider .swiper-slide img {
    width: auto;
    max-height: 400px;
    object-fit: contain;
}

.product__slider .swiper-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.product__slider .swiper-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
}

.product__slider .swiper-nav-item img {
    width: 70px;
    height: 70px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 5px;
    background: #fff;
    object-fit: cover;
    transition: transform 0.3s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.product__slider .swiper-nav-item:hover img {
    transform: scale(1.05);
    border-color: #ccc;
}

.product__slider .swiper-nav-item.active img {
    border-color: #ed1c25;
    box-shadow: 0 0 0 2px rgba(237, 28, 37, 0.2);
}

.product__slider .swiper-nav-item span {
    margin-top: 3px;
    font-size: 13px;
    color: #555;
    text-align: center;
    transition: color 0.2s ease-in-out;
}

.product__slider .swiper-nav-item:hover span,
.product__slider .swiper-nav-item.active span {
    color: #ed1c25;
}

.product__info {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #f2f2f2;
    border-radius: 8px;
    background: #f8f9fa;
    overflow: hidden;
}

.product__info-name {
    font-size: 23px;
    font-weight: bold;
    margin: 5px 20px 5px 0px;
    display: inline-block;
}

.product__info-title {
    font-size: 16px;
    font-weight: 600;
}

.product__info-list {
    width: 100%;
    margin-top: 5px;
    margin-left: 5px;
}

.product__info-list li {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.95rem;
    color: #333;
}

.product__info-list i {
    width: 18px;
    text-align: center;
}

.product__info-list span {
    font-size: 15px;
}

.product__info-price {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product__info-price span {
    display: inline-flex;
    align-items: center;
}

.product__info-price .interest-rate {
    background: #f28902;
    color: #fff;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.2;
}

.product__info-price .price-new {
    color: #ed1c24;
    font-size: 29px;
}

.product__info-price .price-old {
    opacity: 0.6;
    text-decoration: line-through;
    font-size: 16px;
    color: #666;
}

.product__info-price .discount {
    color: #ed1c24;
    font-size: 16px;
}

.product__info-installment {
    display: flex;
    align-items: center;
    margin-top: 5px;
    padding: 10px 20px;
    gap: 8px 16px;
    border: 1px solid #f7f7f7;
    border-radius: 12px;
    background: #e5e9ec5e;
    font-size: 13px;
    color: #333;
}

.product__info-installment ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.product__info-installment li {
    white-space: nowrap;
    font-size: 13px;
}

.product__info-installment span {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    color: #49965c;
}

.product__info-installment .contact-support {
    color: #e53935;
    font-style: italic;
}

.product__info-promo {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
}

.product__info-button {
    display: flex;
    gap: 1%;
    width: 100%;
    margin-top: 15px;
}

.product__info-button .btn-buy-now,
.product__info-button .btn-buy-ins {
    flex: 1;
    padding: 8px 0;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    line-height: normal;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.product__info-button .btn-buy-now span,
.product__info-button .btn-buy-ins span{
    display: block;
    font-size: 13px;
    text-transform: none;
    color: #fff;
    margin-top: 2px;
}

.product__info-button .btn-buy-now {
    background: #ee1d25;
}

.product__info-button .btn-buy-ins {
    background: #f28902;
}

.product__info-specs {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    margin-top: 15px;
}

.product__info-specs .table {
   margin-top: 10px;
}

/* Cart Page */
.cart-page {

}

.cart__title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 24px;
}

.cart__alert {
    width: 100%;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.3px;
    line-height: 24px;
    color: #ed1c25;
}

.cart__error{
    width: 100%;
    font-size: 14px;
    letter-spacing: 0.3px;
    line-height: 24px;
    color: #ed1c25;
}

.period-list .period-link {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1 1 45%;
}

.period-list .period-link:hover {
    background-color: #ffe8d2;
    border-color: #f59000;
}

.period-list .period-link.active {
    background-color: #ffe8d2;
    border-color: #f59000;
}

.cart-page .btn-send {
    display: block;
    width: 70%;
    margin: 10px auto;
    border-radius: 8px;
    background-color: #e63946;
    font-size: 14px;
    color: #fff;
    padding: 8px 16px;
    border: none;
    transition: background-color 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.cart-page .btn-send:hover {
    color: #fff;
    background-color: #d62828;
}

.cart-page table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    font-size: 14px;
    min-width: 600px;
}

.cart-page th,
.cart-page td {
    border: 1px solid rgba(0, 0, 0, 0.1); 
    padding: 8px 12px;
    vertical-align: middle;
}

.cart-page table td:first-child,
.cart-page table th:first-child {
    background-color: #f9f9f9;
    width: 200px;
}

.cart-page table tr:first-child {
    height: 50px;
}

.cart-page td.title {
    font-weight: 600;
    color: #333;
    text-align: center;
}
.cart-page td.text {
    text-align: center;
}

.cart-page td.text-red, .cart-page td .text-red {
    color: #ed1c25;
}

.cart-page td .text-normal {
    color: #414141;
}

.cart-page .btn-select {
    border: 1px solid #ddd;
    color: #333;
    padding: 6px 0;
    width: 100px;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    text-align: center;
}

.cart-page .btn-select:hover,
.cart-page .btn-select.active {
    background-color: #ffe8d2;
    border-color: #f59000;
}

.cart-page .cart-list {
    list-style: none;
    margin-top: 0;
    max-height: 400px;
    overflow-y: auto;
}

.cart-page .cart-item {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 12px 0;
}

.cart-page .cart-item__image {
    width: 150px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-page .cart-item__image img {
    width: 150px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

.cart-page .cart-item__product {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-page .cart-item__product .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-page .cart-item__product .product-info .product__name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 4px;
}

.cart-page .cart-item__product .product-info .product__price {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    white-space: nowrap;
}

.cart-page .cart-item__product .product-info .product__price-new {
    color: #e53935;
    font-weight: 600;
    font-size: 14px;
}

.cart-page .cart-item__product .product-info .product__price-old {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.cart-page .cart-item__product .product-info .product__discount {
    background: #ffebee;
    color: #e53935;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}

.cart-page .cart-item__command {
    width: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-page .cart-item__command .btn-delete {
    background: #fff3f3;
    border: 1px solid #ffcdd2;
    color: #e53935;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.cart-page .cart-item__command .btn-delete:hover {
    background: #ffebee;
    border-color: #e57373;
    color: #b71c1c;
}

/* Chỉ dành riêng cho trang sản phẩm */
.product-page .row {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .product-page .col-lg-1-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 767.98px) and (min-width: 480px) {
    .product-page .col-sm-6,
    .product-page .col-md-4,
    .product-page .col-lg-1-5 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Mobile nhỏ (345–479px): 1 item, cho rộng dễ đọc */
@media (max-width: 479.98px) and (min-width: 345px) {
    .product-page .col-sm-6,
    .product-page .col-md-4,
    .product-page .col-lg-1-5 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Siêu nhỏ (Z Fold mini, <345px): 1 item */
@media (max-width: 344.98px) {
    .product-page .col-sm-6,
    .product-page .col-md-4,
    .product-page .col-lg-1-5 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ========== Mobile rất nhỏ (≤344px) ========== */
@media (max-width: 344.98px) {
    .header-mobile__top-right .hotline {
        display: none;
    }

    .product__header-authentic {
        display: none;
    }

    .product__badge {
        padding: 2px 10px 0px 10px;
        font-size: 12px;
    }
}

/* ========== Mobile rất nhỏ (≤575px) ========== */
@media (max-width: 575.98px) {
    .header-mobile__top-left {
        width: 70px;
    }

    .promo-double-deal__sale {
        display: none;
    }

    .news__filter-list {
        flex-wrap: wrap;
        overflow-x: visible;
        overflow-y: visible;
        gap: 6px;
    }

    .news__filter-list::-webkit-scrollbar {
        display: none;
    }

    .news__item {
        flex-direction: column;
    }

    .news__item-image {
        width: 100%;
    }
}

/* ========== Mobile & Tablet nhỏ (≤767px) ========== */
@media (max-width: 767.98px) {
    .header .shop-address {
        display: none;
    }

    .news-home__header {
        flex-direction: column;
        align-items: flex-start;
    }
    .news-home__title, .news-home__filter {
        width: 100%;
        justify-content: flex-start;
    }

    .hero__slider .swiper-nav {
        display: none;
    }

    .news__filter-list {
        flex-wrap: wrap;
        overflow-x: visible;
        overflow-y: visible;
        gap: 6px;
    }
    .news__filter-list::-webkit-scrollbar {
        display: none;
    }
    .news__item {
        flex-direction: column;
    }
    .news__item-image {
        width: 100%;
    }
    .news-wraper {
        margin-top: 15px;
    }

}

/* ========== Tablet ngang / Laptop nhỏ (≤991px) ========== */
@media (max-width: 991.98px) {
    .header .shop-address {
        display: none;
    }

    .promo-double-deal__title {
        padding-left: 10px;
    }

    .promo-double-deal__wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .promo-double-deal__slider,
    .promo-double-deal__banner,
    .promo-double-deal__sale {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .promo-double-deal__sale {
        margin-top: 10px;
    }

    .promo-double-deal__banner {
        display: none;
    }

    .company-info .btn-see-map {
        padding: 7px 18px;
        margin-top: 10px;
    }

    .news__filter-list {
        flex-wrap: wrap;
        overflow-x: visible;
        overflow-y: visible;
        gap: 6px;
    }

    .news__filter-list::-webkit-scrollbar {
        display: none;
    }

    .news__item {
        flex-direction: column;
    }

    .news__item-image {
        width: 100%;
    }

    .news-wraper {
        margin-top: 15px;
    }

    .news_detail {
        padding: 20px 10px;
    }
}

/* ========== Laptop trung bình (≤1199px) ========== */
@media (max-width: 1199.98px) {
    .col-lg-1-5 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    .header .shop-address {
        display: none;
    }

    .product-listing__filters {
        justify-content: flex-start;
    }

    .promo-double-deal__banner {
        display: none;
    }

    .promo-double-deal__slider {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .promo-double-deal__sale {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .news-home__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-home__title, .news-home__filter {
        width: 100%;
        justify-content: flex-start;
    }
}