/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a:hover {
    text-decoration: none;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Header Styles */
.header {
    background: #fff;
    color: #0053BD;
    padding: 1rem 0 0;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    gap: 0 10px;
}

.header .logo-desktop {
    max-width: 170px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 2rem;
}

.infor-header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-search form {
    display: flex;
}

.header-search input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    width: 200px;
}
/* Tablet (<= 992px) */
@media (max-width: 992px) {
  .header-search input {
    width: 160px; /* nhỏ hơn một chút */
  }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  .header-search input {
    width: 120px !important;
    font-size: 14px;
  }
}

/* Mobile nhỏ (<= 480px) */
@media (max-width: 480px) {
  .header-search input {
    width: 100%; /* chiếm full chiều ngang */
    border-radius: 5px; /* bo đều bốn góc cho đẹp */
    font-size: 13px;
  }
}

.header-search button {
    padding: 0.5rem 1rem;
    background: #0053BD;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-search button:hover {
    background: #0056b3;
}

.header-phone .header-text,
.header-address .header-text {
    display: inline;
}

.header-brands {
    background-color: #0053BD;
    padding: 10px 0;
    position: relative;
}

.header-brands-container {
    max-width: 770px;
    margin: 0 auto;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-brands-container .logo-container {
    margin-bottom: 0 !important;
}

.header-brands-container .logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-brands-container .logo-box {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 5px;
    overflow: hidden;
}

/* .header-brands .swiper-button-next {
    right: 300px !important;
}

.header-brands .swiper-button-prev {
    left: 300px !important;
} */

.header-brands-container .brand-item:hover .logo-box {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
    transform: none !important;
}

.header-brands-container .brandSwiperHeader {
    max-width: 700px;
    overflow: hidden;
}

.header-brands-container i {
    font-size: 30px;
    color: #FE7200;
}

.header-brands-container .swiper-button-prev::after,
.header-brands-container .swiper-button-next::after {
    display: none;
}

.brand-slider {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.brand-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 20%;
    /* Hiển thị 5 item */
}

.brand-slide img {
    max-width: 80px;
    height: auto;
    object-fit: contain;
}

.brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.car-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: start;
}

.car-brand-item {
    text-align: center;
    width: 100%;
    max-width: 140px;
}

.car-brand-item img {
    width: 100px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
    background: #fff;
    border: 1px solid #eee;
    padding: 8px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .car-brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .car-brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .car-brand-container {
        margin-top: 100px !important;
    }
}

.manufacturer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
}

.manufacturer-item {
    text-align: center;
    width: 100%;
    max-width: 140px;
}

.manufacturer-item img {
    width: 100px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 8px;
    display: block;
    margin: 0 auto 8px;
}

@media (max-width: 768px) {
    .manufacturer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .manufacturer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tilte-brand-manufacturer {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #0053BD;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

/* Kiểu cho nút prev/next */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: #000;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    visibility: visible !important;
    opacity: 1 !important;
}

.slick-prev:hover,
.slick-next:hover {
    background: rgba(255, 255, 255, 1);
}

.slick-prev {
    left: 15px;
}

.slick-next {
    right: 15px;
}

/* Biểu tượng mũi tên (dự phòng nếu slick-theme.css không tải) */
.slick-prev:before {
    content: '←';
    font-size: 20px;
    color: #000;
}

.slick-next:before {
    content: '→';
    font-size: 20px;
    color: #000;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-bottom: 0;
}

.nav-menu a {
    color: #0053BD;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1.2rem;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-menu .sub-menu {
    display: none;
    position: absolute;
    background: white;
    padding: 10px 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
    min-width: 180px;
}

.nav-menu li.menu-item-has-children {
    position: relative;
}

.nav-menu li.menu-item-has-children:hover>.sub-menu {
    display: block;
}

.nav-menu .sub-menu li {
    display: block;
    padding: 8px 15px;
}

.nav-menu .sub-menu li a {
    color: #333;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.nav-menu .sub-menu li:hover {
    background: #f0f0f0;
}

/* Desktop and Mobile Menu Toggles */
.desktop-menu,
.infor-header,
.desktop-search,
.header-brands {
    display: block;
}

.mobile-menu,
.mobile-menu-wrapper,
.hamburger-toggle,
.mobile-search {
    display: none;
}

.hamburger-toggle {
    cursor: pointer;
    flex-shrink: 0;
}

.hamburger-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #000;
    margin: 5px 0;
}

/* Mobile Menu Styles */
.mobile-menu-wrapper {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu-wrapper.active {
    left: 0;
}

.mobile-nav .nav-menu li a {
    color: #222;
    font-size: 16px;
    font-family: 'Segoe UI', sans-serif;
    transition: background 0.2s ease;
}

.mobile-nav .nav-menu li a:hover {
    background: #f5f5f5;
}

.mobile-menu-close {
    font-size: 30px;
    color: #333;
    padding: 5px 10px;
    border-radius: 50%;
    transition: background 0.2s;
}

.mobile-menu-close:hover {
    background: #eee;
}

.mobile-menu-inner {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px 20px;
    gap: 20px;
}

.mobile-contact,
.mobile-address {
    font-size: 15px;
    color: #444;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.mobile-menu-footer {
    text-align: center;
    font-size: 15px;
    color: #ff3d2f;
    padding: 20px 0;
    border-top: 2px solid #c62828;
    margin-top: 20px;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #0053BD;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0053BD 0%, #0056b3 100%);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 155px;
}

.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 2rem;
    min-height: 540px;
    height: calc(100vh - 90px);
    max-height: 800px;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
    color: #0053BD;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: #FFA500;
    color: white;
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: block;
    width: fit-content;
}

.cta-button:hover {
    background: #e6940a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.isometric-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    transform: perspective(1000px) rotateX(20deg) rotateY(-10deg);
}

.iso-icon {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.iso-icon:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.iso-icon i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFA500;
}

/* Container and Content Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.content {
    display: flex;
    align-items: center;
    min-height: 400px;
}

.left-section {
    flex: 1;
    padding: 60px 40px;
    background-color: #fafafa;
    border-right: 3px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.left-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4a90e2, #357abd);
}

.company-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.location-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-style: italic;
}

.location-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

.right-section {
    flex: 2;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.facility-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.facility-image:hover {
    transform: scale(1.02);
}

/* General Section Styles */
section {
    padding: 4rem 0;
}

/* Introduction Section */
.introduction {
    padding: 4rem 20px 0;
}

.intro-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-around;
    margin: 0 auto;
    padding: 0 15px;
}

.intro-item {
    display: flex;
    align-items: center;
    flex: 1 1 100%;
    max-width: 100%;
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: #0053BD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.intro-icon img {
    max-width: 60%;
    height: auto;
}

.intro-content {
    flex: 1;
}

.intro-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0053BD;
    margin-bottom: 5px;
}

.intro-description {
    font-size: 0.95rem;
    color: #666;
}

/* Projects Section */
.projects {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-title {
    align-items: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    position: relative;
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0053BD;
    margin-bottom: 3rem;
    text-transform: uppercase;
    gap: 2rem;
    line-height: 1.4;
}

.section-title b {
    background-color: #0A2A7B;
    flex: 1;
    height: 1px;
    opacity: 1;
}

.projects-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 15px;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.project-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.project-btn {
    background: #FFA500;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-btn:hover {
    background: #e6940a;
}

/* New Products Section */
#new-products {
    padding: 4rem 0;
}

.product-content ol, ul{
    padding-left: 15px;
}

.new-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.new-product-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.new-product-card a.wrap-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-product-card a.wrap-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    display: block;
}

.new-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.new-product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.new-product-title {
    font-size: 1rem;
    margin: 10px 0 5px;
    font-weight: bold;
}

.new-product-price {
    color: #d70000;
    font-size: 1rem;
    font-weight: 500;
}

.view-all-btn-wrapper {
    text-align: center;
    margin-top: 30px;
}

.view-all-btn {
    display: inline-block;
    background: #d70000;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
}

/* Categories Section */
.categories {
    padding: 4rem 0;
    background: white;
}

.categories-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.categories-box {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    justify-items: center;
}

.category-item {
    text-align: center;
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.category-icon {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #FFA500, #e6940a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    padding: 20px;
}

.category-icon img {
    width: 100% !important;
    height: 100% !important;
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-item:hover .category-icon {
    background: linear-gradient(135deg, #FFA500, #e6940a);
}

.category-label {
    font-weight: 600;
    color: #333;
}

/* Featured Products Section */
.featured-products {
    padding: 4rem 0;
    background: #0053BC;
    color: white;
}

.featured-header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.featured-header h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    align-items: center;
    min-height: 42px;
}

.view-more {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-more:hover {
    background: rgba(255, 255, 255, 0.3);
}

.products-scroll {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow-x: auto;
}

.products-grid {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    min-width: 225px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

.sale-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 0.7rem;
    color: #333;
}

.product-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #0053BD;
    margin-bottom: 0.5rem;
}

.add-to-cart {
    background: #FFA500;
    color: white;
    padding: 0.4rem 1.1rem;
    border: none;
    border-radius: 14px 0;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.add-to-cart:hover {
    background: #e6940a;
}

/* News Section */
.news {
    padding: 4rem 0;
    background: #f8f9fa;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    font-size: 18px;
}

.news-excerpt {
    color: #666;
    font-size: 0.9rem;
}

.view-all-news {
    text-align: center;
}

.view-all-btn {
    background: #0053BD;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: white;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: white;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fffbf0;
    border: 2px solid #FFA500;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.2);
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    color: #333;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Footer Section */
.footer {
    background: #787f88;
    color: white;
    padding: 3rem 0 0;
}

.footer img {
    width: 100%;
    height: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    padding: 0 15px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #FFA500;
}

.map-container {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    margin-top: 2rem;
}

.logo-footer {
    margin: 0 auto;
}

/* Floating Contact Buttons */
.floating-contacts {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    background-color: rgb(21, 141, 221);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
    text-decoration: none;
    animation: pulse-ring 2s infinite, shake 3s infinite;
}

.floating-btn::before,
.floating-btn::after {
    content: '';
    position: absolute;
    border: 2px solid rgb(25, 112, 205);
    border-radius: 50%;
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
    opacity: 0;
    animation: ring 1.5s infinite ease-out;
}

.floating-btn::after {
    animation-delay: 0.75s;
}

.btn-orange {
    background-color: rgb(255, 82, 13, 0.67);
}

.btn-orange::before,
.btn-orange::after {
    border-color: rgb(240, 113, 29);
}

.btn-green {
    background-color: #58f4b6;
}

.btn-green::before,
.btn-green::after {
    border-color: #64fca3;
}

.floating-btn:hover {
    transform: scale(1.1);
    text-decoration: none;
    color: #fbfbfb;
    animation: none;
    transform: translateX(10px);
}

.contact-now {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.contact-now-btn {
    width: auto;
    height: auto;
    background-image: linear-gradient(109.6deg, rgb(98, 213, 208) 11.2%, rgba(110, 123, 251, 1) 91.1%);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 5px;
    animation: bounce-scale 2s infinite;
    transition: transform 0.3s ease;
}

.contact-now-btn:hover {
    text-decoration: none;
    color: #fbfbfb;
    animation: none;
    transform: translateY(-10px);
}

.contact-now-btn img {
    height: 100%;
    width: 100%;
}

.contact-now-text {
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
}

.related-products-section {
    margin-bottom: 45px;
}

.related-products-title {
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    color: #333;
}

.related-products-list ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.related-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
}

.main-content .apc-product-card {
    width: calc(33.333% - 20px);
    /* 3 sản phẩm mỗi hàng */
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 15px;
    background: #fff;
    text-align: center;
    transition: transform 0.3s ease;
}

.single-product-layout .apc-product-card,
.single-product-wrapper .apc-product-card {
    width: calc(25% - 20px);
    /* 3 sản phẩm mỗi hàng */
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 15px;
    background: #fff;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product-item h4 {
    font-size: 16px;
    margin: 10px 0 5px;
    font-weight: 500;
}

.product-item .price {
    color: #888;
    margin-bottom: 10px;
    font-weight: bold;
    color: #b29b00;
}

.product-item .read-more {
    display: inline-block;
    padding: 6px 12px;
    background-color: #e0e0e0;
    color: #333;
    font-size: 13px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.product-item .read-more:hover {
    background-color: #ccc;
}

/* Nút xem thêm */
.see-more-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.see-more-btn {
    padding: 10px 25px;
    background-color: #00bcd4;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.see-more-btn:hover {
    background-color: #0196a8;
}

/* Responsive: 2 sản phẩm trên hàng nhỏ hơn */
@media (max-width: 900px) {
    .apc-product-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .apc-product-card {
        width: 100%;
    }
}

/* Brands Section */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    justify-items: center;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-8px);
    text-decoration: none;
}

.header-brands .brand-item:hover {
    transform: unset
}

.logo-container {
    position: relative;
    margin-bottom: 2rem;
}

.logo-shadow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    border-radius: 1rem;
    filter: blur(20px);
    opacity: 0.3;
    transform: translateY(16px);
    transition: opacity 0.5s ease;
}

.brand-item:hover .logo-shadow {
    opacity: 0.5;
}

.logo-box {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 12px 12px 5px rgba(0, 0, 0, 0.25);
    transition: all 0.5s ease;
}

.brand-item:hover .logo-box {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
    transform: translateY(-8px);
}

.logo-box img {
    width: 180px;
    height: 100px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.brand-item:hover .logo-box img {
    transform: scale(1.1);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #374151;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.brand-item:hover .brand-name {
    color: #2563eb;
}

.brandSwiper {
    overflow: visible;
}

/* Partner Section */
.partner-grid {
    display: flex;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    background: #111;
    border-radius: 12px;
}

.partner-column {
    flex: 1;
    position: relative;
    background-image: var(--img);
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.partner-column img {
    max-width: 130px;
    z-index: 1;
}

.brand-grid:hover .brand-column {
    flex: 0.8;
}

.partner-column:hover {
    flex: 2;
    filter: grayscale(0%);
}

.partner-column .overlay {
    position: absolute;
    bottom: 20%;
    text-align: center;
    opacity: 0;
    transition: 0.4s;
    color: black;
}

.partner-column:hover .overlay {
    opacity: 1;
}

.partner-column .overlay p {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: black;
}

.partner-column .overlay button {
    background: #ffcc00;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
}

/* Support Popup */
.support-popup {
    background: white;
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1000;
}

.popup-header {
    background: #2c5aa0;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    font-size: 18px;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.popup-content {
    padding: 20px;
    /* max-height: 60vh; */
    overflow-y: visible;
}

#backToTop {
    position: fixed;
    bottom: 100px;
    right: 15px;
    z-index: 999;
    background-image: linear-gradient(109.6deg, rgb(98, 213, 208) 11.2%, rgba(110, 123, 251, 1) 91.1%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    width: 54px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    /* Ẩn mặc định */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
}

#backToTop:hover {
    background-image: linear-gradient(109.6deg, rgb(98, 213, 208) 11.2%, rgba(110, 123, 251, 1) 91.1%);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .social-fixed-mobile {
        display: flex;
        gap: 10px;
        padding: 8px 12px;
    }

    .social-fixed-mobile a img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }
}

.staff-list {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.staff-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
}

.staff-item:hover {
    background: #f0f8ff;
    border-color: #2c5aa0;
}

.staff-avatar,
.staff-item img {
    width: 50px;
    height: 50px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.staff-item .contact-btn img {
    margin-right: 0;
}

.staff-info {
    flex: 1;
}

.staff-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.staff-role {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.staff-phone {
    font-size: 16px;
    color: #2c5aa0;
    font-weight: 500;
}

.contact-buttons {
    display: flex;
    gap: 8px;
    margin-left: 10px;
}

.contact-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.skype-btn {
    background: #00aff0;
}

.phone-btn {
    background: #4caf50;
}

.zalo-btn {
    background: #0068ff;
}

.contact-btn:hover {
    transform: scale(1.1);
}

/* Product Content */
.featureContent .list.list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}

.apc-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    padding: 10px;
    transition: transform 0.3s ease;
    height: 100%;
}

.apc-product-card:hover {
    transform: translateY(-5px);
}

.apc-product-thumb {
    position: relative;
    text-align: center;
}

.apc-product-thumb img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.apc-product-thumb a,
.apc-product-thumb a img {
    width: 100%;
}

.apc-product-info {
    text-align: center;
    padding: 10px;
}

.apc-product-title {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    min-height: 48px;
    margin-bottom: 5px;
}

.apc-product-info .price {
    font-size: 14px;
    color: #e91e63;
    margin-bottom: 8px;
    display: block;
}

.apc-product-info .button {
    background: #ff9900;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    transition: background 0.3s ease;
}

.apc-product-info .button:hover {
    background: #cc7a00;
}

/* Single Product */
.apc-single-product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.apc-product-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.apc-product-gallery {
    flex: 0 0 40%;
}

.apc-product-summary {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.apc-product-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}

.apc-price {
    font-size: 22px;
    color: #e91e63;
}

.apc-category {
    font-size: 14px;
    color: #555;
}

.apc-short-desc {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.apc-add-to-cart form.cart {
    margin-top: 20px;
}

.apc-add-to-cart button {
    background-color: #ff9900;
    color: #fff;
    padding: 10px 25px;
    font-size: 15px;
    border: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.apc-add-to-cart button:hover {
    background-color: #cc7a00;
}

.apc-long-description {
    margin-top: 50px;
}

.apc-long-description h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Main Layout and Single Product */
.main-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(128, 81, 0, 0.1);
    overflow: hidden;
    padding-top: 0;
}

.main-content:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.main-layout {
    display: grid;
    grid-template-columns: 68.5% 28.5%;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.single-product-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    margin-top: 170px;
}

.woocommerce .single-product-layout .woocommerce-product-gallery {
    width: 100% !important;
}

.single .main-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.single .breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.single .breadcrumb a {
    color: #007cba;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single .breadcrumb a:hover {
    color: #005a87;
}

.single .breadcrumb span {
    margin: 0 8px;
}

.single .product-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
}

.single .product-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #6c757d;
    font-size: 16px;
}

.single .product-image img {
    width: 100%;
    height: 100%;
}

.single .product-description {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.7;
}

.single .product-description ul {
    padding-left: 20px;
}

.single .product-price {
    font-size: 32px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin-top: 15px;
}

.single .product-price .price {
    margin-bottom: 0;
}

.single .add-to-cart-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    display: inline-block;
}

.single .add-to-cart-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

.single .back-to-shop {
    display: inline-block;
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.single .back-to-shop:hover {
    color: #005a87;
    border-bottom-color: #005a87;
}

/* Sidebar Styles */
.single .sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.single .sidebar-widget, .archive .sidebar-widget {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border: 1px solid #e9ecef;
}

.single .sidebar-widget h3, .archive .sidebar-widget h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.single .contact-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 15px;
    color: #555;
    transition: color 0.3s ease;
}

.single .contact-item:last-child {
    border-bottom: none;
}

.single .contact-item:hover {
    color: #007cba;
    cursor: pointer;
}

.single .contact-item span {
    margin-right: 12px;
    font-size: 18px;
}

.single .related-posts li {
    list-style-type: none;
}

.sidebar-widget {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sidebar-widget.car-brands h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-category-list,
.brand-list {
    list-style: none;
    padding-left: 0;
}

.product-category-list li,
.brand-list li {
    margin-bottom: 6px;
    border-bottom: 0.5px solid rgb(174, 172, 172);
    padding: 8px 0;
}

.cat-item a,
.brand-list li a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
}

.brand-list li a:hover,
.cat-item a:hover {
    color: #007bff;
}

/* Article Card */
.article-card_articleBox {
    display: flex;
    flex-direction: column;
}

.article-card_articleBox .article-card_imgContent {
    background-color: #eee;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.article-card_articleBox .article-card_imgContent .article-card_img {
    object-fit: cover;
    width: 100%;
}

.article-card_articleBox .article-card_infoContent {
    flex: 1;
}

.article-card_articleBox .article-card_infoContent .article-card_title {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    display: -webkit-box;
    line-height: 1.5;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #212121;
    font-size: 18px;
    font-weight: 600;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.article-card_articleBox .article-card_infoContent .article-card_description {
    color: #757575;
    font-size: 14px;
    font-weight: 400;
    word-break: break-word;
    margin-bottom: 20px;
    line-height: 1.6;
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px 0;
    z-index: 9999;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #333;
    text-decoration: none;
}

.mobile-bottom-nav .nav-item i {
    font-size: 20px;
    display: block;
    margin-bottom: 2px;
}

.mobile-bottom-nav .home-icon {
    position: relative;
    background: #0053BD;
    color: white;
    border-radius: 50%;
    padding: 10px;
    font-size: 24px;
    margin-top: -30px;
    z-index: 1;
}

/* Category Title */
.category-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.32;
    margin-bottom: 40px;
    margin-top: 50px;
}

.category-title .title-text {
    margin-bottom: 8px;
}

.category-title .underline {
    background: #000;
    height: 3px;
}

.list li {
    list-style-type: none;
}

/* Related Products */
section.related.products {
    padding: 10px 0;
}

@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none;
    }
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes ring {
    0% {
        transform: scale(0.6);
        opacity: 0.6;
    }

    80% {
        transform: scale(1.8);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(187, 228, 83, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 165, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-4px);
    }

    40% {
        transform: translateX(4px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

@keyframes bounce-scale {

    0%,
    100% {
        transform: scale(1) translateY(0);
    }

    30% {
        transform: scale(1.1) translateY(-5px);
    }

    50% {
        transform: scale(0.95) translateY(3px);
    }

    70% {
        transform: scale(1.05) translateY(-3px);
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 135px;
    }

    .support-popup {
        width: 95%;
        max-height: 90vh;
        overflow: hidden;
        top: 50%;
        transform: translate(-50%, -50%);
        position: fixed;
    }

    .popup-content {
        max-height: 65vh;
        overflow-y: auto;
        padding: 15px;
    }

    .staff-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .staff-item {
        /* flex-direction: column; */
        align-items: center;
        text-align: center;
        padding: 12px;
        gap: 8px;
    }

    .staff-avatar {
        margin: 0 auto;
    }

    .staff-info {
        margin-top: 5px;
    }

    .contact-buttons {
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .support-popup {
        width: 90%;
        margin: 80px 0 0;
    }

    .staff-item {
        /* flex-direction: column; */
        text-align: center;
        gap: 10px;
    }

    .staff-avatar {
        margin-right: 0;
    }

    .single .single-product-layout {
        padding: 0px;
    }

    .single .main-content {
        padding: 15px;
    }

    .single .product-title {
        font-size: 20px;
    }

    .single .product-image {
        height: 250px;
    }

    .single .product-price {
        font-size: 24px;
    }

    .single .sidebar-widget h3 {
        font-size: 18px;
    }

    .single .contact-item {
        font-size: 14px;
    }

    .brands-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-container {
        min-height: unset;
        height: auto;
        aspect-ratio: 1521 / 651;
    }

    .hero-visual {
        display: none;
    }

    .section-title {
        font-size: 1.4rem;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .left-section {
        padding: 30px 15px;
    }

    .company-name {
        font-size: 18px;
    }

    .location-name {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .featureContent .list.list-grid {
        display: block !important;
    }

    .desktop-menu,
    .infor-header,
    .desktop-search {
        display: none !important;
    }

    .hamburger-toggle {
        display: block;
    }

    .mobile-menu-wrapper,
    .mobile-search {
        display: flex;
    }

    .header-brands .swiper-button-next {
        right: 10px !important;
    }

    .header-brands .swiper-button-prev {
        left: 10px !important;
    }

    .header-container {
        gap: 5px;
    }

    .header-search {
        flex: 1;
        margin-left: 10px;
    }

    .featured-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .header-container .logo {
        width: 100px !important;
    }

    .header-container .logo img {
        width: 100%;
    }

    .header-phone .header-text,
    .header-address .header-text {
        display: none;
    }

    .projects,
    .categories,
    .featured-products,
    .news,
    .testimonials {
        padding: 2rem 0;
    }

    .header-container {
        gap: 5px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-menu li {
        border-bottom: 0.1px solid gray;
        width: 100%;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .left-section {
        border-right: none;
        border-bottom: 3px solid #e0e0e0;
        padding: 40px 20px;
    }

    .company-name {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .location-name {
        font-size: 18px;
    }

    .right-section {
        padding: 20px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .floating-contacts,
    .contact-now {
        display: none;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .categories-container {
        padding: 0 15px;
    }

    .single .single-product-layout {
        padding: 15px;
    }

    .single .main-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .single .main-content {
        padding: 20px;
    }

    .single .product-title {
        font-size: 24px;
    }

    .single .product-image {
        height: 300px;
    }

    .single .product-price {
        font-size: 28px;
    }

    .single .add-to-cart-btn {
        width: 100%;
        text-align: center;
    }

    .single .sidebar-widget {
        padding: 20px;
    }

    .categories-box {
        padding: 1.2rem;
    }

    .brands-grid {
        gap: 3rem;
    }

    .logo-box {
        padding: 1.5rem;
    }

    .logo-box img {
        width: 150px;
        height: 80px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .partner-column {
        filter: unset;
    }
}

@media (min-width: 765px) {
    .featureContent .list li[data-v-099c4f38]:not(:nth-child(3n)) {
        margin-right: 2%;
    }

    .featureContent .list li[data-v-099c4f38] {
        margin-bottom: 40px;
        width: 32%;
    }

    .featureContent .list {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) {
    .intro-item {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
}

@media (min-width: 992px) {
    .intro-item {
        flex: 1 1 calc(33.333% - 30px);
        max-width: calc(33.333% - 30px);
    }
}

.featureContent {
    margin-top: 156px;
}

/* Social Wrapper and Marquee */
.social-wrapper {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.toggle-social-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px 0 0 5px;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    position: relative;
}

.toggle-social-btn:hover {
    background: #333;
    transform: translateX(-5px);
}

.toggle-social-btn i {
    transition: transform 0.3s ease;
}

.toggle-social-btn:hover i {
    transform: rotate(90deg);
}

.social-marquee {
    position: fixed;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    /* Chiều rộng mặc định trên desktop */
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    z-index: 10000;
    overflow-y: auto;
    transition: right 0.3s ease;
    border-radius: 8px 0 0 8px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    max-height: 55vh;
    padding: 0 10px 10px;
}

.social-marquee::-webkit-scrollbar {
    width: 6px;
}

.social-marquee::-webkit-scrollbar-track {
    background: #2c3e50;
    border-radius: 10px;
}

.social-marquee::-webkit-scrollbar-thumb {
    background: #ecf0f1;
    border-radius: 10px;
    border: 1px solid #2c3e50;
}

.social-marquee::-webkit-scrollbar-thumb:hover {
    background: #bdc3c7;
}

.social-marquee.active {
    right: 0;
}

.close-social-btn {
    /* position: fixed; */
    top: calc(50% - 35vh + 5px);
    right: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 100%;
    height: 20px;
    border-radius: 50%;
    margin: 10px 0;
    cursor: pointer;
    font-size: 12px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10002;
    padding: 0;
    visibility: hidden;
}

.social-marquee.active .close-social-btn {
    visibility: visible;
}

.close-social-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.close-social-btn i {
    margin: 0;
}

.marquee-container {
    display: block;
    /* padding: 25px 10px 10px; */
    min-height: 100%;
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-item:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-item:hover .social-icon {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: #2c3e50;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #2c3e50;
}

.social-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-20px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .featureContent {
        margin-top: 135px;
    }

    .social-wrapper {
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 0;
    }

    .toggle-social-btn {
        display: block;
        position: sticky;
    }

    .social-marquee {
        position: fixed;
        right: -150px;
        /* Giảm chiều rộng trên mobile */
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        /* Giảm chiều rộng xuống 50px */
        height: auto;
        background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
        padding: 0 8px 8px;
        /* Giảm padding cho gọn */
        border-radius: 8px 0 0 8px;
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
        max-height: 60vh;
        /* Giảm chiều cao tối đa trên mobile */
        overflow-y: auto;
    }

    /* .close-social-btn {
        top: calc(50% - 30vh + 5px); 
        right: 5px;
    } */

    .social-list {
        flex-direction: column;
        gap: 12px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

    .tooltip {
        display: block;
    }

    .social-item:hover {
        transform: scale(1.1);
    }
}

/* Animation */
.social-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.social-item:nth-child(1) {
    animation-delay: 0.1s;
}

.social-item:nth-child(2) {
    animation-delay: 0.2s;
}

.social-item:nth-child(3) {
    animation-delay: 0.3s;
}

.social-item:nth-child(4) {
    animation-delay: 0.4s;
}

.social-item:nth-child(5) {
    animation-delay: 0.5s;
}

.social-item:nth-child(6) {
    animation-delay: 0.6s;
}

.social-item:nth-child(7) {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Archive Product  */

.single_slider {
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover !important;
    height: 500px;
    background: #000000;
    margin-right: 0 !important;
}

.slider_content h1 {
    font-size: 60px;
    line-height: 52px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 0;
    color: #ffffff;
}

.slider_content a {
    font-size: 13px;
    font-weight: 500;
    padding: 0 22px;
    display: inline-block;
    border-radius: 4px 0 0 4px;
    height: 48px;
    line-height: 48px;
    color: #ffffff;
    background: #fcb700;
    position: relative;
}

.title_style2 {
    text-align: left;
    position: relative;
    margin-bottom: 18px;
    overflow: hidden;
}

.title-product h2 {
    margin-bottom: 0;
    padding: 12px;
    position: relative;
    background: #333;
}

.title_style2 h2 {
    float: left;
    font-size: 24px;
    /* line-height: 24px; */
}

.title_content {
    display: inline-block;
    padding-right: 20px;
    background: #f8f8f8;
    position: relative;
}

.title-product h2:after {
    content: '';
    position: absolute;
    top: 0;
    left: calc(100% + 0%);
    border-left: 40px solid #333;
    border-top: 54px solid transparent;
    height: 100%;
}

.section_title h2 {
    font-size: 30px;
    line-height: 30px;
    font-weight: 300;
    display: inline-block;
    margin-bottom: 0;
    text-transform: uppercase;
    color: #fcb700;
}

.intro-brand__img img {
    width: 100%;
    height: auto;
}


/* Single Product  */

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    color: #ffffff;
    background-color: #FFD069;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
    cursor: default;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 15px;
    font-size: 16px;
}

.single-product-wrapper {
    margin-top: 180px;
}

.product-gallery-info {
    display: flex;
    gap: 20px;
}

.product-gallery {
    flex: 1;
    max-width: 40%;
}

.product-summary {
    flex: 1;
    max-width: 60%;
}

.product-summary .product-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.product-price {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-share a {
    color: #fbbf24;
    font-weight: bold;
    margin-right: 10px;
}

.brand-box,
.category-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
}

.related-products h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.product-gallery .main-gallery img {
    width: 100%;
    border-radius: 5px;
}

.thumbs-gallery img {
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
    aspect-ratio: 1;
    object-fit: cover;
}

.thumbs-gallery .swiper-slide {
    width: auto;
}

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

    .single-product-layout .apc-product-card,
    .single-product-wrapper .apc-product-card,
    .main-content .apc-product-card {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 767px) {
    .single_slider {
        height: auto;
        aspect-ratio: 1038 / 467;
    }

    .product-gallery-info {
        flex-direction: column;
    }

    .product-gallery,
    .product-summary {
        max-width: 100%;
    }

    .main-content .apc-product-card {
        width: calc(33.333% - 20px);
    }

    .single-product-layout .apc-product-card,
    .single-product-wrapper .apc-product-card {
        width: calc(25% - 20px);
    }
}

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

    .single-product-layout .apc-product-card,
    .single-product-wrapper .apc-product-card,
    .main-content .apc-product-card {
        width: 100%;
    }
}

#hamburger:before {
    top: 8px;
}

#hamburger span {
    top: 18px;
}

#hamburger:after {
    top: 28px;
}

.product_meta {
    margin-bottom: 0px;
}

.product_d_action ul {
    list-style-type: none;
    margin-bottom: 0;
}

form.cart {
    display: flex;
    align-items: center;
}

.product_seperator {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ebebeb;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 10px 60px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
    color: #fff !important;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-button:hover::before {
    left: 100%;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
    background: linear-gradient(45deg, #ff5252, #d63031);
}

.contact-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.btn-minimal {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-minimal:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

ul.page-numbers {
    display: flex;
    justify-content: center;
    list-style-type: none;
    gap: 10px;
}

ul.page-numbers li {
    padding: 5px 0px;
}

ul.page-numbers span.page-numbers,
ul.page-numbers a.page-numbers {
    padding: 5px 10px;
    border-radius: 8px;
}

ul.page-numbers span.page-numbers, ul.page-numbers a.page-numbers:hover {
    background-color: #FE7200;
    color: #fff;
}

ul.page-numbers a.page-numbers {
    background-color: #fe720038;
    color: #000;
}

.wc-block-components-button__text{
    background: #0053BD;
    color: white;
    padding: 20px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
}
#contact-fields, #billing-fields, #payment-method{
    margin-bottom: 0px !important;
}
.wc-block-checkout input:focus{
    border-color: #0053BD !important;
}
.wp-block-woocommerce-checkout-shipping-method-block,
.wp-block-woocommerce-checkout-pickup-options-block{
    height: 1px !important;
}
.category-title{
    transform: translateY(20px);
}

@media (max-width: 768px) {
    .header-search input {
        width: 95px !important;
        font-size: 14px;
    }
}
.header-cart {
    margin-left: 0px !important;
}

.woocommerce-privacy-policy-text{
    display: none !important;
}