* { margin: 0; padding: 0; box-sizing: border-box; }
 html, body { font-family: 'Roboto', sans-serif; font-size: 13px; background-color: #fff#646262; line-height: 1.6; }
 ul,li{ list-style: none; padding: 0; margin: 0; }
 a { text-decoration: none !important; color: black; }

/*bootstrap*/.rounded-pill { border-radius: var(--bs-border-radius-pill) !important; } .shadow-none { box-shadow: none !important; } .overflow-hidden { overflow: hidden !important; } .input-group { position: relative; display: flex ; flex-wrap: wrap; align-items: stretch; width: 100%; }.mx-3 { margin-right: 1rem !important; margin-left: 1rem !important; } .flex-grow-1 { flex-grow: 1 !important; }.d-flex { display: flex !important ; }.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) { border-top-right-radius: 0; border-bottom-right-radius: 0; } .bg-white { --bs-bg-opacity: 1; background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important; } .ps-3 { padding-left: 1rem !important; } .p-2 { padding: .5rem !important; }.form-control { display: block; width: 100%; padding: .375rem .75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: var(--bs-body-color); -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: var(--bs-body-bg); background-clip: padding-box; border: var(--bs-border-width) solid var(--bs-border-color); border-radius: var(--bs-border-radius); transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; }.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { margin-left: calc(-1 * var(--bs-border-width)); border-top-left-radius: 0; border-bottom-left-radius: 0; } .input-group>.form-control, .input-group>.form-floating, .input-group>.form-select { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; } .border-0 { border: 0 !important; } .shadow-none { box-shadow: none !important; }:root, [data-bs-theme=light] { --bs-blue: #0d6efd; --bs-indigo: #6610f2; --bs-purple: #6f42c1; --bs-pink: #d63384; --bs-red: #dc3545; --bs-orange: #fd7e14; --bs-yellow: #ffc107; --bs-green: #198754; --bs-teal: #20c997; --bs-cyan: #0dcaf0; --bs-black: #000; --bs-white: #fff; --bs-gray: #6c757d; --bs-gray-dark: #343a40; --bs-gray-100: #f8f9fa; --bs-gray-200: #e9ecef; --bs-gray-300: #dee2e6; --bs-gray-400: #ced4da; --bs-gray-500: #adb5bd; --bs-gray-600: #6c757d; --bs-gray-700: #495057; --bs-gray-800: #343a40; --bs-gray-900: #212529; --bs-primary: #0d6efd; --bs-secondary: #6c757d; --bs-success: #198754; --bs-info: #0dcaf0; --bs-warning: #ffc107; --bs-danger: #dc3545; --bs-light: #f8f9fa; --bs-dark: #212529; --bs-primary-rgb: 13, 110, 253; --bs-secondary-rgb: 108, 117, 125; --bs-success-rgb: 25, 135, 84; --bs-info-rgb: 13, 202, 240; --bs-warning-rgb: 255, 193, 7; --bs-danger-rgb: 220, 53, 69; --bs-light-rgb: 248, 249, 250; --bs-dark-rgb: 33, 37, 41; --bs-primary-text-emphasis: #052c65; --bs-secondary-text-emphasis: #2b2f32; --bs-success-text-emphasis: #0a3622; --bs-info-text-emphasis: #055160; --bs-warning-text-emphasis: #664d03; --bs-danger-text-emphasis: #58151c; --bs-light-text-emphasis: #495057; --bs-dark-text-emphasis: #495057; --bs-primary-bg-subtle: #cfe2ff; --bs-secondary-bg-subtle: #e2e3e5; --bs-success-bg-subtle: #d1e7dd; --bs-info-bg-subtle: #cff4fc; --bs-warning-bg-subtle: #fff3cd; --bs-danger-bg-subtle: #f8d7da; --bs-light-bg-subtle: #fcfcfd; --bs-dark-bg-subtle: #ced4da; --bs-primary-border-subtle: #9ec5fe; --bs-secondary-border-subtle: #c4c8cb; --bs-success-border-subtle: #a3cfbb; --bs-info-border-subtle: #9eeaf9; --bs-warning-border-subtle: #ffe69c; --bs-danger-border-subtle: #f1aeb5; --bs-light-border-subtle: #e9ecef; --bs-dark-border-subtle: #adb5bd; --bs-white-rgb: 255, 255, 255; --bs-black-rgb: 0, 0, 0; --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0)); --bs-body-font-family: var(--bs-font-sans-serif); --bs-body-font-size: 1rem; --bs-body-font-weight: 400; --bs-body-line-height: 1.5; --bs-body-color: #212529; --bs-body-color-rgb: 33, 37, 41; --bs-body-bg: #fff; --bs-body-bg-rgb: 255, 255, 255; --bs-emphasis-color: #000; --bs-emphasis-color-rgb: 0, 0, 0; --bs-secondary-color: rgba(33, 37, 41, 0.75); --bs-secondary-color-rgb: 33, 37, 41; --bs-secondary-bg: #e9ecef; --bs-secondary-bg-rgb: 233, 236, 239; --bs-tertiary-color: rgba(33, 37, 41, 0.5); --bs-tertiary-color-rgb: 33, 37, 41; --bs-tertiary-bg: #f8f9fa; --bs-tertiary-bg-rgb: 248, 249, 250; --bs-heading-color: inherit; --bs-link-color: #0d6efd; --bs-link-color-rgb: 13, 110, 253; --bs-link-decoration: underline; --bs-link-hover-color: #0a58ca; --bs-link-hover-color-rgb: 10, 88, 202; --bs-code-color: #d63384; --bs-highlight-color: #212529; --bs-highlight-bg: #fff3cd; --bs-border-width: 1px; --bs-border-style: solid; --bs-border-color: #dee2e6; --bs-border-color-translucent: rgba(0, 0, 0, 0.175); --bs-border-radius: 0.375rem; --bs-border-radius-sm: 0.25rem; --bs-border-radius-lg: 0.5rem; --bs-border-radius-xl: 1rem; --bs-border-radius-xxl: 2rem; --bs-border-radius-2xl: var(--bs-border-radius-xxl); --bs-border-radius-pill: 50rem; --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175); --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075); --bs-focus-ring-width: 0.25rem; --bs-focus-ring-opacity: 0.25; --bs-focus-ring-color: rgba(13, 110, 253, 0.25); --bs-form-valid-color: #198754; --bs-form-valid-border-color: #198754; --bs-form-invalid-color: #dc3545; --bs-form-invalid-border-color: #dc3545; }
 /*ẩn text*/.product-info-name{clear: both;display: -webkit-box;text-overflow: ellipsis;overflow: hidden;-webkit-box-orient: vertical;}


 /* ------------*/ :root { --primary-color: #ffffff; --hover-color: #FFD700; --tgdd-yellow: #FFD700; --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94); --wcontain1400: 1320px; --wcontain1200: 1140px; --wcontain992: 960px; --wcontain768: 720px; --wcontain576: 540px; }
 .hotline a { width: fit-content; font-size: 22px; padding: 0 15px ; font-weight: 600; display: block; margin: auto 0; text-align: right; color: #000000; background: #0066ff;border: 1px solid #fff; border-radius: 5px; animation: nhapnhay .3s infinite; }
 .hotline { padding: 5px 0px; display: flex; justify-content: end; margin: auto; z-index: 9999;  }
 @keyframes nhapnhay { 0% { box-shadow:0px 0px 0px #007952;color: #fff; }
 50% { box-shadow:0px 0px 5px #008655;color: #fff200; }
 100% { box-shadow:0px 0px 0px #008655;color: #ffffff; }
 }
 .header-left {width: 70%; display: flex;flex-wrap: wrap;}
 .textgioithieu a { color: #0053ff; }
 .logo {width: 50%;}
 .logo a {font-size: 20px; display: block;font-weight: 600; text-transform: capitalize;text-shadow: 0px 2px 1px #fff;}
 .cl-search {width: 40%;}
 .header-top { display: flex; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
#main-menu { margin-top: 5px!important; }
#menu-mobi > .container { padding: 2px 0px!important; }
 .tgdd-header { background-color: var(--tgdd-yellow); }

 .small-icon { font-size: 0.6rem; }
 .icon-translate { transform: translateY(0.5px); }
 .bg-yellow-custom { background-color: #ffe14c; }
.toggle-submenu {display: none;}

.tindm { display: flex; flex-wrap: wrap;    align-items: center; width: 100%; padding: 20px; background: #f5f5f5; border-bottom: 3px solid #fff; box-shadow: 0px 7px 5px #eee; margin: 10px 0px 25px 0px; }
.tindm-img { width: 35%; background: #fff; border-radius: 15px; padding: 10px 0px; }
.tindm-info { width: 65%; padding: 15px; }

.tindm-img img { display: block; margin: auto; border-radius: 15px; }

.title-tindm { font-weight: 600; margin: 10px 0px; font-size: 18px;}
.title-tindm a { color: #000; }
.tindm-info-view span { font-size: 13px; color: #005cac; }
.text-tindm { font-size: 14px; margin: 5px 0px; }
.tindm-info-more { background: #ffd200; width: fit-content; padding: 3px 6px; border-radius: 3px; }
.tindm-info-more a { color: #002f60; }
.logo-footer {font-size: 20px;color: #cfeaff;text-transform: uppercase;font-weight: 600;margin-bottom: 15px;display: block;}
.filter-product-brand-logo a {margin: auto;}
 @media (min-width:768px) {
    .menu-humburger{ display: none; }
    .menu-list { list-style: none; white-space: nowrap; margin: 0; padding: 0; }
    .main-menu a {font-size: 14px;}
    .menu-list li a { min-width: 80px; }
    .menu-list > li { padding:5px ; position: relative!important; }
    .close-menu {
       display: none;
   }
    .sub-menu, .sub-menu1 { display: none !important; position: fixed; top:auto; left: 50%; transform: translateX(-50%); height: fit-content; background: white; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); min-width: 280px; z-index: 1050; border-radius: 8px; padding: 15px; }
    .sub-menu1 {transform: translateX(10%);}
    .sub-menu::after, .sub-menu1::after { content: ''; position: absolute; top: -8px; left: var(--arrow-left, 50%); transform: translateX(-50%); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid white; z-index: 10; }
    .menu-list > li:hover .sub-menu, .menu-list > li:hover .sub-menu1 { display: flex !important; animation: fadeIn 0.3s ease; }
    .sub-menu1 .sub-menu-details { width: 100%; grid-template-columns: repeat(2, 1fr); }
    .fa-chevron-down { transition: transform 0.3s ease; }
    .menu-list > li:hover{ background-color:#ffe75de2; border-radius:10px 10px 0 0  ; }
    .menu-list > li:hover.fa-chevron-down { transform: rotate(180deg); }
    .sub-menu-brand { width: 25%; padding: 3px 15px 15px; border-right: 2px solid #dee2e6; display: flex; flex-direction: column; gap: 12px; }
    .sub-menu-brand strong { font-size: 18px; font-weight: 600; position: relative; padding-bottom: 5px; display: inline-block; }
    .sub-menu-brand strong::after { content: ''; position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background-color: var(--bs-primary, #0d6efd); /* Màu line khi hover */ transition: width 0.4s ease; }
    .sub-menu-brand strong:hover::after { width: 100%; }
    .sub-menu-brand ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
    .sub-menu-brand ul li{ color: #212529; text-decoration: none; transition: color 0.3s ease; font-size: 15px; }
    .sub-menu-brand ul li:hover{ background-color: whitesmoke; }
    .sub-menu-brand ul li a{ color: #000; }
    .sub-menu-brand ul li:hover a{ color: #0d6efd; text-decoration: underline; }
    .sub-menu-details { width: 75%; height: fit-content; padding-right: 8px; display: grid; grid-template-columns: repeat(3, 1fr); }
    .sub-menu-details-item{ color: #000; padding:5px; width:100%; word-break: break-word; white-space: normal; }
    .sub-menu-details-item ul { list-style: none; padding: 0; margin: 0; }
    .sub-menu-details-item ul li { padding: 6px 12px; border-radius: 4px; white-space: normal; word-break: break-word; }
    .sub-menu-details-item ul li a{ color: #000; font-weight:600; }
    .sub-menu-details-item ul li:hover{ background-color: var(--hover-color); }
    .sub-menu-details-item>strong { color: #004bde; position: relative; padding: 1px 7px 3px 7px; text-transform: uppercase; border-radius: 34px; display: inline-block; cursor: pointer; margin-bottom: 6px; font-size: 16px; font-weight: 600; }
    .sub-menu-details-item > strong::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background-color: var(--your-color, #ff6600); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
    .sub-menu-details-item > strong:hover::after { transform: scaleX(1); }
    .sub-menu-details-item>a{ color:var(--tgdd-yellow); position: relative; }
    .sub-menu-details-item a >strong::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background-color: var(--your-color, #ff6600); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
    .sub-menu-details-item a >strong:hover::after { transform: scaleX(1); }
    .sub-menu-ads { height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .sub-menu-ads img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
    .sub-menu-details-3 { padding:5px; border-right: 2px solid #eee; height: 100%; max-height: 48vh; overflow-y: auto; }
    .sub-menu-details-3 strong { display: inline-block; position: relative; font-weight: 700; color: #ffc107; /* màu vàng chữ */ margin-bottom: 10px; transition: color 0.3s ease; }
    .sub-menu-details-3 strong::after { content: ""; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px; background-color: red; transition: width 0.4s ease; }
    .sub-menu-details-3 strong:hover::after { width: 100%; }
    .sub-menu-details-3 ul { list-style: none; padding: 0; margin: 0; }
    .sub-menu-details-3 ul li { margin-bottom: 6px; transition: background-color 0.3s ease; }
    .sub-menu-details-3 ul li a { text-decoration: none; color: #333; font-size: 15px; display: block; padding: 5px 8px; border-radius: 4px; transition: background-color 0.3s ease; word-wrap: break-word; white-space: normal; overflow-wrap: break-word; max-width: 100%; }
    .sub-menu-details-3 ul li:hover a { background-color: #ffc107; /* nền vàng khi hover */ color: #000; }
    .sub-menu-details-item-4 { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
    .sub-menu-details-item-small { flex: 1 1 calc(33.33% - 20px); min-width: 200px; }
    .sub-menu-details-item-small strong { font-size: 1rem; color:var(--tgdd-yellow); }
    .sub-menu-details-item-small ul { list-style: none; padding: 0; margin-top: 10px; }
    .sub-menu-details-item-small ul li { margin-bottom: 8px; }
    .sub-menu-details-item-small ul li a { text-decoration: none; color: #555; font-size: 0.95rem; transition: all 0.2s; }
    .sub-menu-details-item-small ul li a:hover { color: #007bff; padding-left: 5px; }
    .sub-menu-small { display: none !important; position: fixed; top:auto; left:0; width:230px; height:auto; background: white; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); min-width: 230px; z-index: 1050; border-radius: 8px; padding: 15px; }
    .sub-menu-small::after { content: ''; position: absolute; top: -8px; left: var(--arrow-left, 50%); transform: translateX(-50%); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid white; z-index: 10; }
    .menu-list > li:hover .sub-menu-small { display: flex !important; animation: fadeIn 0.3s ease; }
    .sub-menu-small ul{ padding: 0; }
    .sub-menu-small ul li{ padding: 5px; }
    .sub-menu-small ul li a{ color: #000; padding:5px 0 ; }
    .sub-menu-small ul li:hover{ background-color: var(--hover-color); }
 }
 .menu-icon{ display: none; }
 /*menu-mobile*/

 .sub-menu-mobile li { border-bottom: 1px solid #eee; }
 .sub-menu-mobile a { padding: 15px 0px; display: block; text-decoration: none; color: #333 !important; transition: color 0.2s var(--transition),background-color 0.2s var(--transition); }
 .sub-menu-mobile a:hover { color: var(--hover-color) !important; background-color: rgba(255, 215, 0, 0.1); }
 .sub-menu-mobile-level-2, .sub-menu-mobile-level-3, .sub-menu-mobile-level-4 { max-height: 100%; overflow: hidden; transition: var(--tdn-menu); padding-left: 15px; }
 .sub-menu-mobile-level-2.active, .sub-menu-mobile-level-3.active, .sub-menu-mobile-level-4.active {display: block!important;}
 .toggle-submenu { transition: transform 0.3s var(--transition); width: 30px; text-align: center; }
 .toggle-submenu.active { transform: rotate(45deg) scale(1.2); }
 .menu-header { display: flex; justify-content: space-between; align-items: center; background: #f8f9fa; padding: 15px; }
 .sub-menu-mobile-level-3 { background: #f8f9fa; }
 .sub-menu-mobile-level-4 { background: #e9ecef; }
 /*menu---------------*/ .toggle-submenu { font-size: 1.2em; padding: 0 10px; }

 .sub-menu-mobile-level-3 { background: #f8f9fa; }
 .sub-menu-mobile-level-4 { background: #e9ecef; }
 /* mennnu*/ .hotline-wrapper { position: relative; }
 .hotline-box { position: absolute; top: 100%; left: 0; z-index: 1000; background-color: #fff; padding: 10px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); display: none; min-width: 270px; }
 .hotline-wrapper:hover .hotline-box { display: block; }
 .hotline-box span { display: block; margin-bottom: 6px; }

 /* Animation cho toggle */ .toggle-submenu.active { transform: rotate(45deg); transition: 0.3s; }
 .banner { max-width: 1200px; margin: 5px auto 20px auto; padding: 0 15px; }
 .banner-wrapper { display: flex; gap: 15px; position: relative; }
 /* Left Banner */ .banner-left { width: 25%; height: 100%; min-width: 250px; overflow: hidden; }
 .banner-left .vertical-slider{ height: 100%; }
 .vertical-track { display: flex; flex-direction: column; transition: transform 0.5s ease; height: 100%; }
 /* Right Banner */ .banner-right { flex: 1; display: flex; flex-direction: column; gap: 15px; }
 /* Common slide item styles */ .slide-item { flex-shrink: 0; position: relative; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.1); will-change: transform; backface-visibility: hidden; transform: translateZ(0); }
 .banner-left .slide-item img{ aspect-ratio:1/1; }
 .banner-left .slide-item{ margin-bottom: 20px; }
 .slide-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
 /* Top Slider */ .top-slider { position: relative; overflow: hidden; height: 600px; border-radius: 12px; }
 .top-slider .horizontal-track { display: flex; height: 100%; }
 .top-slider .slide-item { width: 100%; height: 100%; }
 .horizontal-track, .vertical-track { will-change: transform; }
 /* Bottom Slider */ .bottom-slider { position: relative; overflow: hidden; }
 .bottom-slider .horizontal-track { display: flex; gap: 15px; }
 .bottom-slider .slide-item { width: calc(25% - 11.25px); aspect-ratio: 1; }
 /* Navigation */ .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 1; display: flex; align-items: center; justify-content: center; }
 .prev-btn { left: 15px; }
 .next-btn { right: 15px; }
 .slider-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
 .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s; }
 .dot.active { background: #fff; transform: scale(1.2); }
 /*Bộ lọc sản phẩm---------------------------------------------------- */ .product { padding: 10px; background-color: #f8f9fa; text-align: justify; border-radius: 5px; }
 .icon-filter i { margin-right: 5px; }
 .filter-product-brand-logo { background-color: #fff; border-radius: 5px; padding: 6px 15px; cursor: pointer; text-align: center; font-size: 0.9rem; color: #495057; border: 1px solid #ced4da; }
 .filter-product-brand-logo img { display: block; width: 70px; height: 35px; }
 .filter-product-brand-logo:empty::before { content: attr(data-brand); display: inline-block; width: 100%; height: 100%; line-height: 1.5; }
 .filter-product-brand-logo:empty::before { content: attr(data-brand); display: inline-block; width: 100%; height: 100%; line-height: 1.5; }
 .icon-filter:hover { background-color: rgba(0, 123, 255, 0.2); }
 .filter-product-brand-logo:hover { border-color: var(--hover-color); }
 .filter-product-trend { margin-top: 10px; padding: 10px 0; display: flex; /* Sử dụng flexbox cho container */ align-items: center; /* Căn chỉnh các item theo chiều dọc ở giữa */ }
 .filter-product-trend-list { margin:0 10px 5px 10px; }
 .filter-product-trend-list span { font-size: 0.9rem; color: #777; }
 .filter-product-trend-item { position: relative; display: inline-block; margin-right: 15px; font-size: 0.9rem; color: #337ab7; cursor: pointer; padding-bottom: 5px; transition: color 0.3s ease; }
 .filter-product-trend-item:last-child { margin-right: 0; }
 .filter-product-trend-item:hover { color: #23527c; }
 .filter-product-trend-item .small-icon { font-size: 0.7rem; margin-left: 3px; }
 .filter-product-trend-item::before { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background-color: var(--hover-color); transition: width 0.3s ease-in-out; }
 .filter-product-trend-item:hover::before { width: 50%; /* Chạy đến giữa */ }
 .sort-price-dropdown { position: absolute; top: 100%; /* Hiển thị ngay dưới item "Giá" */ left: 0; background-color: #fff; border: 1px solid #ccc; border-radius: 4px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Thêm shadow */ z-index: 10; /* Đảm bảo hiển thị trên các phần tử khác */ min-width: 120px; /* Đặt chiều rộng tối thiểu */ display: none; /* Ẩn mặc định */ margin-top: 5px; }
 .sort-price-dropdown.show { display: block; /* Hiển thị khi có class "show" */ }
 .sort-price-dropdown-item { padding: 8px 15px; cursor: pointer; font-size: 0.9rem; color: #333; transition: background-color 0.3s ease; }
 /*box-filter*/ .icon-filter { display: inline-block; align-items: center; padding: 8px 12px; background-color: #fff; border: 1px solid #007bff; color: #007bff; border-radius: 5px; cursor: pointer; font-size: 0.9rem; cursor:pointer; position: relative; }
 .box-filter { display: none; position: absolute; top: 120%; /* Để box-filter nằm dưới phần lọc */ left: 0; padding: 10px; background-color: #fff; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); width: 200px; border-radius: 5px; z-index: 10; }
 .filter-header { display: flex; justify-content: space-between; align-items: center; }
 .filter-section-brand { margin-top: 10px; }
 .filter-section-brand p { font-weight: bold; }
 .filter-section-brand button { display: block; margin-top: 5px; padding: 5px; background-color: #f1f1f1; border: none; cursor: pointer; border-radius: 3px; }
 .filter-section-brand button:hover { background-color: #ddd; }
 .icon-filter::after { display: none; content: ""; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 12px solid #fff; /* Màu tam giác giống với nền box-filter */ transition: transform 0.3s ease; /* Thêm hiệu ứng chuyển động */ }
 /* Hiệu ứng khi filterBox mở */ .icon-filter.open::after { display: block; transform: translateX(-50%) rotate(180deg); /* Thay đổi tam giác khi box mở */ }
 /* Khi box-filter hiển thị, tam giác sẽ xuất hiện */ .box-filter.show { display: block; }
 /* Hiệu ứng khi đóng box-filter */ .close-filter { background: none; border: none; color: #888; font-size: 18px; cursor: pointer; }
 .title-index-pro {text-align: left; border-left: 7px solid #ffc400; padding: 0px 8px; margin: 20px 0px; font-size: 30px; text-transform: capitalize;    clear: both; }
 .close-filter:hover { color: #000; }
 /*product-list*/ .product-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; padding: 0; margin: 20px 0; list-style: none; }
 .product-item { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: transform 0.3s ease; position: relative; padding: 10px; }
 .product-item:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
 /* Phần hình ảnh */.product-item-img { position: relative; padding: 10px 5px; margin-bottom: 12px; overflow: hidden; }
 .product-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; border-radius:10px; transition: transform 0.3s ease; }
 .product-item-img:hover .product-image { transform: scale(1.05); }
 .product-sale { position: absolute; top: 0px; left: 0px; background: linear-gradient(90deg, #ff424e, #ff6b3b); color: white; padding: 3px 10px; border-radius: 20px; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
 .product-sale>p{ margin: 0; }
 .product-sale::before { content: "↓"; font-size: 12px; display: inline-block; animation: moveArrow 1s infinite ease-in-out; }
 .sort-price-dropdown-item:hover { background-color: #f8f9fa; }
 @keyframes moveArrow { 0% { transform: translateY(0); }
 50% { transform: translateY(-5px); }
 100% { transform: translateY(0); }
 }
 /* Thông tin sản phẩm */ .product-info-name { font-size: 15px; color: #27272a; margin: 0 0 10px; line-height: 1.4; height: 42px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; font-weight: 500; text-align: left;}
 .product-info-specifications { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
 .product-info-specifications span { background: #f4f4f5; padding: 6px 12px; border-radius: 20px; font-size: 12px; color: #3f3f46; border: 1px solid #e4e4e7; }
 /* Giá cả */ .product-info-price { margin-bottom: 15px; position: relative; }
 .product-price { color: #dc2626; font-size: 18px; font-weight: 800; margin: 8px 0; display: flex; align-items: center; gap: 10px; }
 .product-price del { color: #71717a; font-size: 14px; font-weight: 500; }
 /* Đánh giá và lượt xem */ .product-info-view { display: flex; }
 .product-info-view span{ align-items: center; color: #52525b; font-size: 13px; margin-left: auto; }
 .sold { background: #f0fdf4; color: #15803d; padding: 4px 8px; border-radius: 4px; }
 .compare-btn { position: absolute; bottom: 10px; right: 10px; background: #3b82f6; color: white; padding: 6px 12px; border-radius: 20px; font-size: 12px; cursor: pointer; transition: background 0.2s; }
 .compare-btn:hover { background: #2563eb; }
 /*footer*/ footer { background-color: #003366; color: white; padding: 20px 0; text-align: center; position: relative; bottom: 0; width: 100%; }
 footer .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
 .footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 20px; text-align: left; }
 .footer-top .col { flex: 1; min-width: 250px; margin-bottom: 20px; }
 .footer-top h3 { color: var(--hover-color); font-size: 1.2em; margin-bottom: 10px; }
 .footer-top ul { list-style: none; padding: 0; margin: 0; }
 .footer-top ul li { margin-bottom: 5px; }
 .footer-top ul li a { color: white; text-decoration: none; transition: color 0.3s ease; }
 .footer-top ul li a:hover { color: var(--hover-color); }
 .footer-top p { margin-bottom: 10px; }
 .social-icons { display: flex; gap: 10px; margin-top: 10px; }
 .social-icons a { color: white; font-size: 1.4em; transition: color 0.3s ease; }
 .social-icons a:hover { color: var(--hover-color); }
 .footer-bottom { border-top: 1px solid #4a5568; padding-top: 10px; text-align: center; font-size: 0.9em; }
 /* Hình ảnh */ .footer-top img { max-width: 100%; height: auto; margin-bottom: 10px; }
 /* Định dạng danh sách KEYWORDS */ .footer-top ul { list-style: none; padding: 0; margin: 0; }
 .footer-top ul li { margin-bottom: 5px; }
 .footer-top ul strong { color: var(--hover-color); font-weight: bold; }
 .footer-top ul li a { color: white; text-decoration: none; transition: color 0.3s ease; }
 .footer-top ul li a:hover { color: var(--hover-color); }
 .footer-top-info{ display: flex; }


 .chatzalo, .chatfacebook { position: fixed;border-radius: 50%;  z-index: 9999;}
.chatzalo { bottom: 150px; right: 30px; background: #009aff; animation: toasang 2s infinite; }
.chatzalo img {animation: zalochat 2s infinite;}
@keyframes zalochat {
    0% {
        transform: rotate(0) scale(1) skew(1deg);
    }
    10% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }
    20% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }
    30% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }
    40% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }
    50% {
        transform: rotate(0) scale(1) skew(1deg);
    }
    100% {
        transform: rotate(0) scale(1) skew(1deg);
    }
}

.scroll_top { width: 45px; height: 45px; position: fixed; display: none; font-size: 0; z-index: 9999; right: 32px; bottom: 80px; background: #074877; color:#fff; outline: 5px solid #C7E2FF !important; border-radius: 50%; }
.scroll_top:hover { outline: 5px solid #ffd200ab !important; }
.scroll_top:before { content: "↑"; font-size: 20px; color: #fff; text-align: center; width: 45px; height: 45px; line-height: 45px; display: block; }

/* Responsive -------------------------------------------------------------------------------------------------------*/ @media (min-width: 576px){ }
 @media (min-width: 768px){ .sub-menu {width: calc(var(--wcontain768));}
 .sub-menu1 { width: calc(var(--wcontain768) / 2);}
 }
 @media (min-width: 992px){ .sub-menu {width: calc(var(--wcontain992));}
 .sub-menu1 { width: calc(var(--wcontain992) / 2);}
 }
 @media (min-width: 1200px){ .sub-menu {width: calc(var(--wcontain1200) - 40px);}
 .sub-menu1 { width: calc(var(--wcontain1200) / 2);}
 }
 @media (min-width: 1400px){ .sub-menu {width: calc(var(--wcontain1400) - 50px);}
 .sub-menu1 { width: calc(var(--wcontain1400) / 2);}
 }
 @media (max-width: 1200px){ }

 @media (min-width: 992px) and (max-width: 1199px){
   .top-slider { height: 550px;}
 }

 @media (min-width: 768px) and (max-width: 992px){
   .top-slider { height: 450px;}
   .slide-item img { padding: 10px 0px; }
 }

 @media (max-width: 991px){ 
  .logo a, .hotline a {font-size: 16px;}
  .main-menu a {font-size: 13px;}
 .product-list { grid-template-columns: repeat(4, 1fr); }
 .footer-top{ display: block; }
 .filter-product-brand { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
 .sub-menu-ads{ display: none !important; }
 .sub-menu-details-3{ width: 75% !important; }
 .logo { width: 40%; }
 .menu-list > li { padding: 0px 3px 0px 0px;}
 .menu-list li a { padding: 0px !important; }
 .main-menu a { font-size: 12px; }
 .sub-menu-details-item>strong{font-size: 12px;}
 .sub-menu-details-item ul li { padding: 3px 5px;}
 .sub-menu-small { padding: 10px!important; }
 .sub-menu-small ul { width: 100%; }
 .sub-menu-brand {padding: 3px 5px}
 .sub-menu-brand strong { font-size: 12px; white-space: normal; text-transform: uppercase; }
 .sub-menu-brand ul {gap: 2px; }
 /*.hotline { position: fixed; right: 20px; bottom: 20px; z-index: 99999; }*/
 }
 @media (min-width: 768px) and (max-width: 991px) {
   .menu-list > li:hover .sub-menu, .menu-list > li:hover .sub-menu1 {padding: 5px;}
.filter-product-brand-logo img { width: 50px; height: 25px; }

 } 
 @media (max-width: 768px) { /*menu- mobile*/ 
  .right-aligned-submenu {padding-right: 5px !important;}
  .toggle-submenu { display: block; font-size: 18px !important; }
  .filter-product-brand {margin: 10px 0px;}
  .list-mobile li a i, .list-mobile li i { padding-right: 5px; }
  .filter-product-brand-logo {width: 30%;}
    .sub-menu li {padding: 3px 5px;}
    .sub-menu-brand strong {font-size: 14px;color: #006bf0;}
    .sub-menu-details-item>strong {font-size: 16px;}
    .filter-product-brand {justify-content: space-between;gap: 5px !important;}
  .icon-filter {display: none;}
  .banner {margin: 3px 0px;padding: 0px;}
  .product { padding: 0px; }
  .product-info-name {font-size: 13px;color: #27272a;margin: 0 0 5px;-webkit-line-clamp: 2;}
  .title-index-pro { font-size: 18px; }
.text-tindm {display: -webkit-box;text-overflow: ellipsis;overflow: hidden;-webkit-box-orient: vertical;-webkit-line-clamp: 2; text-align: justify;}
.title-tindm {font-size: 15px;}
.tindm-info {padding: 10px; }
.tindm {padding: 15px;}
   .box-submenu { display: flex!important; flex-wrap: wrap; justify-content: space-between; width: 100%; }
    .toggle-submenu {display: block;}
    .main-menu { display: none; height: 600px; overflow-y: scroll; }
 .main-menu.active { transform: translateX(0); left: 0; width: 100%; display: flex; flex-direction: column; position: fixed; top: -10px; left: 0px; z-index: 99999; background: #fff; padding: 5px 10px 20px 10px; border: 1px solid #ffd200; border-radius: 5px; }
 .close-menu {display: block;}
 .close-menu { display: block; background: #000; width: fit-content; margin: 5px; font-size: 13px; color: #fff!important; padding: 0px 10px 3px 10px; margin-left: 90%; } 
 .list-mobile.menu-list li:hover {background: #e3fff9;}
.close-menu:hover { background: #ffde00; color: #000!important; }
.list-mobile.menu-list li { width: 100%; }
.main-menu.active li a, .main-menu.active li:last-child { white-space: normal;  padding: 3px !important; font-size: 15px;text-transform: capitalize; }
.main-menu.active li:not(.main-menu.active li:last-child) {border-bottom: 1px solid #abd4c9;}
.main-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--transition),visibility 0.3s var(--transition);; opacity: 0; visibility: hidden; }
.main-menu-overlay.active { opacity: 1; visibility: visible; }
.main-menu a {font-size: 12px;}
.sub-menu, .sub-menu-details {flex-direction: column;}
.sub-menu, .sub-menu-brand {width: 100%;}
.sub-menu,.sub-menu1, .sub-menu-small {display: none;position: relative;left: 0;top:0;padding: 0;}
.sub-menu-small {width: 100%;}
.sub-menu-details { width: 100%;  display: grid ; grid-template-columns: repeat(1, 1fr); }
 /*menu*/ .header-top { display: flex; flex-direction: column; gap: 1rem; }
 .menu-humburger { display: block; }
 .header-left { width: 100%; display: flex; align-items: center; justify-content: space-between !important; }
 .header-right { width: 100%; display: flex; align-items: center; justify-content: space-between !important; }
 /*banner*/ .banner-left { display: none; }
 .banner-wrapper { flex-direction: column; }
 .top-slider { height: 300px; }
 .bottom-slider .slide-item { width: calc(33.33% - 10px); }
 /*product-list*/ .product-list { grid-template-columns: repeat(3, 1fr); }
 /*footer*/ .footer-top { flex-direction: column; text-align: center; }
 .footer-top .col { min-width: 100%; }
 .footer-bottom { font-size: 0.8em; }
 .footer-top-info{ display: block; }
 .social-network{ align-items: center; justify-content: center; }
 .tgdd-header > .container { padding: 5px 0px 0px 0px!important; }
 .hotline {margin: 0;}
 .logo-footer {font-size: 16px;}
 }
 @media (max-width: 480px) {
  .product-list {gap: 5px;}
  .header-top {gap: 0.2rem !important;}
  .header-left {flex-wrap: nowrap;}
  .logo a {font-size: 15px;line-height: 20px;}
  .logo {width: 80%;}
  .product-info-name {height: 35px; -webkit-line-clamp: 2;}
  .top-slider { height: 250px; }
 .bottom-slider { overflow-x: auto; -webkit-overflow-scrolling: touch; }
 .bottom-slider .horizontal-track { flex-wrap: nowrap; width: max-content; gap: 10px; padding: 0 10px; }
 .bottom-slider .slide-item { width: calc(50vw - 25px); flex-shrink: 0; aspect-ratio: 1; }
 .bottom-slider .horizontal-track { flex-direction: row !important; }
 .nav-btn { width: 30px; height: 30px; }
 /*product-list*/ .product-list { grid-template-columns: repeat(2, 1fr); }
 .product-item-img {padding: 0;margin-bottom: 5px;}
 .product-info-name {font-size: 12px;text-align: left;}
 .product-price {font-size: 16px;margin: 3px 0;}
 /*footer*/ footer { padding: 10px 0; }
 .footer-top { padding: 0 10px; }
 .footer-bottom { font-size: 0.7em; }
 .tindm-img, .tindm-info {width: 100%;}
.text-tindm {-webkit-line-clamp: 3;}
 }
