/*
Theme Name: DLQ interiors
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 1.1
*/

:root {
    --color-primary: #714f36;
    --color-primary-hover: #5a3d29;
    --color-secondary: #e2cab6;
    --color-text-main: #222222;
    --color-text-light: #555555;
    --color-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #714f36 0%, #8a6143 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--color-text-main);
    background-color: #faf9f8;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ================= TOPBAR ================= */
.topbar {
    background: var(--gradient-primary);
    color: var(--color-secondary);
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
}

.topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-item i {
    font-size: 14px;
    color: var(--color-secondary);
    opacity: 0.9;
}

/* ================= HEADER CHÍNH ================= */
.main-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- LOGO --- */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 32px;
    color: var(--color-primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-primary);
    line-height: 1.1;
}

.logo-slogan {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-text-light);
}

/* --- MENU NAVIGATION --- */
.nav-menu ul {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-menu > ul > li > a {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-main);
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu > ul > li > a i {
    font-size: 10px;
}

/* Hiệu ứng hover cho Menu */
.nav-menu > ul > li > a:hover,
.nav-menu > ul > li > a.active {
    color: var(--color-primary);
}

.nav-menu > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-menu > ul > li > a:hover::after,
.nav-menu > ul > li > a.active::after {
    width: 100%;
}

/* Submenu */
.has-dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: 120%;
    left: 0;
    width: 220px;
    background-color: var(--color-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    flex-direction: column;
    gap: 0 !important;
}

.has-dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-main);
    transition: var(--transition);
}

.submenu li a:hover {
    background-color: #fcf9f6;
    color: var(--color-primary);
    padding-left: 30px; /* Hiệu ứng lùi nhẹ khi hover */
}

/* --- HEADER ACTIONS --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    font-size: 18px;
    color: var(--color-text-main);
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--color-primary);
    transform: scale(1.1); /* Hiệu ứng hover nẩy nhẹ cho icon */
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    height: 18px;
    min-width: 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--color-white);
}

/* --- NÚT CALL TO ACTION --- */
.cta-button {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(113, 79, 54, 0.2);
}

.cta-button:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px); /* Nổi nhẹ lên khi hover */
    box-shadow: 0 6px 20px rgba(113, 79, 54, 0.3);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text-main);
    cursor: pointer;
}

/* ================= RESPONSIVE (MOBILE & TABLET) ================= */
@media screen and (max-width: 1024px) {
    .nav-menu ul {
        gap: 20px;
    }
    .header-container {
        padding: 0 20px;
    }
}

@media screen and (max-width: 850px) {
    /* Ẩn topbar và menu ngang trên màn hình nhỏ */
    .topbar {
        display: none; 
    }

    .nav-menu {
        display: none; /* Trong thực tế sẽ dùng JS để toggle class show menu dọc */
    }

    .header-actions .cta-button {
        display: none; 
    }

    .mobile-toggle {
        display: block;
        margin-left: 10px;
    }

    .header-container {
        height: 70px;
    }
}



/* ================= CSS HERO BANNER ================= */
:root {
    --color-primary: #714f36; 
    --color-primary-hover: #5a3d29;
    --color-bg-banner: #f8f6f3; /* Màu be sáng rất nhạt làm nền */
    --color-text-desc: #555555;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-banner {
    display: flex;
    min-height: 650px;
    background-color: var(--color-bg-banner);
    width: 100%;
}

/* --- Phân chia cột --- */
.hero-content {
    flex: 1; /* Cột trái chiếm 50% */
    padding: 80px 5% 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image {
    flex: 1; /* Cột phải chiếm 50% */
    background-image: url('https://dlqinteriors.com/wp-content/uploads/2026/08/guong-treo-tuong-DQL.png'); 
    background-size: cover;
    background-position: center;
}

/* --- Typography (Chữ) --- */
.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Dancing Script', cursive; /* Font chữ viết tay mềm mại */
    font-size: 46px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 25px 0;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-desc);
    margin-bottom: 45px;
    max-width: 90%;
}

/* --- Nút bấm (Buttons) --- */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(113, 79, 54, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(113, 79, 54, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

/* --- Danh sách tính năng (Features) --- */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

.feature-item i {
    font-size: 18px;
    opacity: 0.9;
}

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 1200px) {
    .hero-title { font-size: 42px; }
    .hero-subtitle { font-size: 38px; }
    .hero-content { padding-left: 5%; }
}

@media screen and (max-width: 992px) {
    .hero-banner {
        flex-direction: column; /* Đẩy ảnh xuống dưới khi màn hình nhỏ */
    }
    
    .hero-content {
        padding: 60px 20px;
        align-items: center;
        text-align: center;
    }
    
    .hero-desc { margin-left: auto; margin-right: auto; }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-image {
        min-height: 450px;
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn { width: 100%; text-align: center; box-sizing: border-box; }
}








/* ================= TỔNG QUAN ================= */
:root {
    --color-primary: #714f36; 
    --color-text-main: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
}

body {
    /* Sử dụng font Tiếng Việt chuẩn */
    font-family: 'Be Vietnam Pro', sans-serif; 
}

.category-section {
    padding: 60px 0;
    background-color: var(--color-bg);
}

.category-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================= TIÊU ĐỀ SECTION (CĂN GIỮA TUYỆT ĐỐI) ================= */
/* ================= TIÊU ĐỀ SECTION (CĂN GIỮA TUYỆT ĐỐI - ĐÃ ĐỔI CLASS ĐỘC LẬP) ================= */
.dlq-cat-header {
    text-align: center !important;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    width: 100%;
}

.dlq-cat-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--color-text-main, #333);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-align: center !important;
    width: 100%; /* Ép rộng tối đa để text lùi vào đúng tâm */
    display: block;
}

.dlq-cat-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-primary, #714f36);
}

.dlq-cat-divider span {
    width: 30px;
    height: 2px;
    background-color: var(--color-primary, #714f36);
}


.section-header {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Ép cả tiêu đề và đường kẻ vào chính giữa */
    width: 100%;
}

.section-title {
    font-size: 22px;
    font-weight: 700; /* Tăng độ đậm lên một chút cho nổi bật */
    color: var(--color-text-main);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-align: center;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-primary);
}

.title-divider span {
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

/* ================= SLIDER WRAPPER ================= */
.slider-wrapper {
    position: relative; /* Dùng để định vị 2 nút mũi tên */
}

/* ================= THẺ SẢN PHẨM (CARD) ================= */
.cat-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cat-card:hover {
    transform: translateY(-4px); /* Hover nẩy nhẹ */
}

/* Khung bọc ảnh vuông 1:1 */
.cat-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; /* Ép hình vuông tuyệt đối */
    border-radius: 12px; /* Bo góc nhẹ */
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0; /* Màu nền chờ khi tải ảnh */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Đổ bóng nhẹ cho hình khối */
}

.cat-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cắt ảnh lấp đầy khung mà không bị méo */
    transition: transform 0.5s ease;
}

.cat-card:hover .cat-img-wrapper img {
    transform: scale(1.05); /* Ảnh zoom nhẹ khi đưa chuột vào */
}

/* Thông tin text bên dưới ảnh */
.cat-info {
    padding: 15px 5px 0 5px;
    text-align: center; /* Căn giữa toàn bộ text */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-name {
    font-size: 17px; /* Chỉnh lại size 17px để cân đối hơn với khung hình (cũ là 21px hơi to) */
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.cat-count {
    font-size: 13px;
    color: var(--color-text-light);
    font-weight: 500;
}

/* ================= TÙY CHỈNH NÚT NEXT/PREV SWIPER ================= */
.swiper-button-next.custom-nav, 
.swiper-button-prev.custom-nav {
	top: 38%;
    width: 44px;
    height: 44px;
    background-color: var(--color-bg);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    color: var(--color-text-main);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* Đẩy nút ra lề ngoài bức ảnh một chút */
.swiper-button-next.custom-nav { right: -22px; }
.swiper-button-prev.custom-nav { left: -22px; }

/* Thu nhỏ size icon mũi tên mặc định của Swiper */
.swiper-button-next.custom-nav:after, 
.swiper-button-prev.custom-nav:after {
    font-size: 16px;
    font-weight: bold;
}

/* Hiệu ứng hover nút */
.swiper-button-next.custom-nav:hover, 
.swiper-button-prev.custom-nav:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

/* Responsive: Thu nhỏ container để nút mũi tên không bị tràn màn hình */
@media screen and (max-width: 1440px) {
    .category-container {
        padding: 0 60px; 
    }
}

/* Ẩn mũi tên trên Mobile để người dùng vuốt chạm tự nhiên */
@media screen and (max-width: 768px) {
    .swiper-button-next.custom-nav, 
    .swiper-button-prev.custom-nav {
        display: none;
    }
    .category-container {
        padding: 0 20px;
    }
}







/* ================= TỔNG QUAN SECTION ================= */
.product-slider-section {
    padding: 60px 0;
    background-color: #ffffff;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================= CARD SẢN PHẨM ================= */
.product-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 12px;
    transition: transform 0.3s ease;
    height: 100%;
}

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

/* Khu vực hình ảnh */
.product-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; /* Tỉ lệ hơi dọc nhẹ để phù hợp hiển thị dáng gương */
    border-radius: 12px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

/* Nhãn Best Seller */
.product-badge {
    position: absolute;
    top: 10px;
    left: 0; /* Ép sát mép trái */
    background-color: var(--color-primary); /* Màu #714f36 */
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 0 16px 16px 0; /* Chỉ bo tròn góc bên phải */
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Khu vực Thông tin */
.product-info {
    padding: 16px 8px 10px 8px;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    text-decoration: none;
    margin-bottom: 6px;
    line-height: 1.4;
    transition: color 0.3s ease;
    /* Cắt chữ nếu tiêu đề quá dài */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-name:hover {
    color: var(--color-primary);
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

/* Dòng cuối: Đánh giá & Nút mua */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-rating {
    font-size: 13px;
    color: #333333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-rating i {
    color: #f5a623; /* Màu vàng sao đánh giá */
    font-size: 12px;
}

.rating-count {
    color: #888888;
    font-weight: 400;
}

/* Nút Thêm vào giỏ hàng */
.add-to-cart-btn {
    width: 34px;
    height: 34px;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(113, 79, 54, 0.2);
}

.add-to-cart-btn:hover {
    background-color: #5a3d29;
    transform: scale(1.1);
}

/* ================= TÙY CHỈNH NÚT ĐIỀU HƯỚNG SLIDE SẢN PHẨM ================= */
.swiper-button-next.prod-nav, 
.swiper-button-prev.prod-nav {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(113, 79, 54, 0.3);
}

.swiper-button-next.prod-nav:after, 
.swiper-button-prev.prod-nav:after {
    font-size: 14px;
    font-weight: bold;
}

@media screen and (max-width: 1440px) {
    .product-container { padding: 0 60px; }
    .swiper-button-next.prod-nav { right: -25px; }
    .swiper-button-prev.prod-nav { left: -25px; }
}

@media screen and (max-width: 768px) {
    .swiper-button-next.prod-nav, 
    .swiper-button-prev.prod-nav { display: none; }
    .product-container { padding: 0 15px; }
    .product-name { font-size: 14px; }
    .product-price { font-size: 15px; }
}




/* ================= BỐ CỤC TRANG ARCHIVE ================= */
.dlq-archive-wrap { background: #faf9f8; padding: 40px 0; font-family: 'Be Vietnam Pro', sans-serif; }
.dlq-archive-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 280px 1fr; gap: 40px; }

/* --- SIDEBAR --- */
.dlq-sidebar { background: #fff; padding: 25px; border-radius: 12px; height: fit-content; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.dlq-widget-title { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--color-secondary); padding-bottom: 10px; display: inline-block; }
.dlq-filter-close { display: none; }

/* Filter Giá */
.dlq-price-filter-inputs { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.dlq-price-filter-inputs input { width: 100%; padding: 10px; border: 1px solid #e0e0e0; border-radius: 6px; font-family: inherit; font-size: 13px; outline: none; }
.dlq-btn-filter { width: 100%; padding: 10px; background: var(--color-primary); color: #fff; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.dlq-btn-filter:hover { background: var(--color-primary-hover); }

/* Danh mục list */
.dlq-cat-list li { margin-bottom: 10px; }
.dlq-cat-list a { color: #555; font-size: 15px; transition: 0.3s; display: flex; align-items: center; }
.dlq-cat-list a:hover, .dlq-cat-list a.active { color: var(--color-primary); font-weight: 600; }
.dlq-cat-list a.active::before { content: "•"; color: var(--color-primary); margin-right: 8px; font-size: 20px; }

/* --- KHU VỰC CHÍNH --- */
.dlq-archive-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 20px; }
.dlq-page-title { font-size: 26px; font-weight: 700; color: #222; margin: 0; }
.dlq-archive-actions { display: flex; gap: 15px; align-items: center; }
.dlq-sort-select { padding: 10px 15px; border: 1px solid #ddd; border-radius: 6px; outline: none; font-family: inherit; font-size: 14px; cursor: pointer; background: #fff; }
.dlq-mobile-filter-btn { display: none; background: #fff; border: 1px solid #ddd; padding: 10px 20px; border-radius: 6px; cursor: pointer; font-family: inherit; font-weight: 600; }

/* --- PHÂN TRANG (Pagination) --- */
.dlq-pagination ul { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.dlq-pagination li a, .dlq-pagination li span { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; background: #fff; border: 1px solid #eee; border-radius: 8px; color: #555; font-weight: 600; transition: 0.3s; cursor: pointer; text-decoration: none;}
.dlq-pagination li span.current, .dlq-pagination li a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); box-shadow: 0 4px 10px rgba(113, 79, 54, 0.2); }

/* --- AJAX LOADER --- */
.dlq-relative { position: relative; min-height: 300px; }
.dlq-loader { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.7); z-index: 10; display: none; justify-content: center; align-items: flex-start; padding-top: 100px; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--color-secondary); border-top: 4px solid var(--color-primary); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 992px) {
    .dlq-archive-container { grid-template-columns: 1fr; padding: 0 20px; }
    .dlq-mobile-filter-btn { display: flex; align-items: center; gap: 8px; }
    
    /* Mobile Sidebar Off-canvas */
    .dlq-sidebar { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: #fff; z-index: 9999; box-shadow: 5px 0 20px rgba(0,0,0,0.1); border-radius: 0; padding: 30px 20px; overflow-y: auto; transition: 0.4s ease; }
    .dlq-sidebar.open { left: 0; }
    .dlq-filter-close { display: flex; justify-content: flex-end; align-items: center; gap: 8px; color: #e74c3c; font-weight: 600; font-size: 15px; cursor: pointer; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
}



/* ================= BỐ CỤC LƯỚI SẢN PHẨM (GRID) ================= */
.dlq-grid {
    display: grid;
    /* Hiển thị 4 cột cho màn hình máy tính lớn */
    grid-template-columns: repeat(4, 1fr); 
    gap: 24px;
    width: 100%;
	padding: 0px 30px 0px 30px;
}

/* Định dạng thẻ card sản phẩm */
.dlq-grid .dlq-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

/* Hiệu ứng hover nổi bật */
.dlq-grid .dlq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(113, 79, 54, 0.1);
    border-color: #e2cab6;
}

/* Khu vực hình ảnh 1:1 */
.dlq-grid .dlq-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9f9f9;
    display: block;
    position: relative;
}

.dlq-grid .dlq-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dlq-grid .dlq-card:hover .dlq-img-wrap img {
    transform: scale(1.05);
}

/* Khu vực text thông tin */
.dlq-grid .dlq-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

/* Tiêu đề sản phẩm */
.dlq-grid .dlq-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.dlq-grid .dlq-title a {
    color: #333333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Cắt chữ thành dấu ... nếu dài quá 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.dlq-grid .dlq-title a:hover {
    color: var(--color-primary); /* Đổi màu khi di chuột */
}

/* Khu vực Giá & Nút giỏ hàng ở dưới cùng */
.dlq-grid .dlq-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto; /* Ép phần này luôn nằm sát đáy card */
}

.dlq-grid .dlq-price-wrap {
    display: flex;
    flex-direction: column;
}

.dlq-grid .dlq-price {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 16px;
}

.dlq-grid .dlq-sale {
    text-decoration: line-through;
    color: #999999;
    font-size: 13px;
    margin-bottom: 2px;
}

/* Nút Icon xem sản phẩm/giỏ hàng */
.dlq-grid .dlq-cart-btn {
    width: 38px;
    height: 38px;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(113, 79, 54, 0.2);
}

.dlq-grid .dlq-cart-btn i {
    font-size: 14px;
}

.dlq-grid .dlq-cart-btn:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.1);
    color: #ffffff;
}

/* ================= RESPONSIVE THIẾT BỊ NHỎ ================= */
/* Tablet và Laptop nhỏ: Chuyển về 3 cột */
@media screen and (max-width: 1200px) {
    .dlq-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 20px; 
    }
}

/* Điện thoại: Chuyển về 2 cột */
@media screen and (max-width: 768px) {
    .dlq-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px; 
    }
    
    .dlq-grid .dlq-info { 
        padding: 12px; 
    }
    
    .dlq-grid .dlq-title { 
        font-size: 13px; 
    }
    
    .dlq-grid .dlq-price { 
        font-size: 14px; 
    }
    
    .dlq-grid .dlq-cart-btn { 
        width: 32px; 
        height: 32px; 
    }
    
    .dlq-grid .dlq-cart-btn i { 
        font-size: 12px; 
    }
}

/* ================= THIẾT KẾ MỚI CHO DANH MỤC ================= */
.dlq-cat-list { 
    padding: 0; 
    list-style: none; 
}
.dlq-cat-list li { 
    margin-bottom: 8px; 
}
.dlq-cat-list a { 
    display: block; 
    padding: 10px 15px; 
    color: #555; 
    font-size: 15px; 
    border: 1px solid transparent; /* Chuẩn bị sẵn viền trong suốt */
    border-radius: 6px; 
    transition: all 0.3s ease; 
    text-decoration: none;
}
/* Xóa bỏ hoàn toàn dấu chấm tròn cũ */
.dlq-cat-list a::before { 
    display: none !important; 
}
/* Hover: Có viền màu bao quanh */
.dlq-cat-list a:hover { 
    border-color: var(--color-primary); 
    color: var(--color-primary); 
    background-color: transparent;
}
/* Active (Đang chọn): Nền nâu, chữ trắng */
.dlq-cat-list a.active { 
    background-color: var(--color-primary); 
    color: #ffffff; 
    border-color: var(--color-primary); 
    font-weight: 600; 
}

/* ================= Ô TÌM KIẾM AJAX ================= */
.dlq-search-box {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: 0.3s;
}
.dlq-search-box:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 5px rgba(113, 79, 54, 0.2);
}
.dlq-search-box input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
}
.dlq-search-box button {
    background: transparent;
    border: none;
    padding: 0 15px;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.dlq-search-box button:hover {
    transform: scale(1.1);
}




/* ================= CSS FOOTER DLQ ================= */
.dlq-footer-wrapper {
    background-color: #755235;
    color: #ffffff;
    font-family: 'Be Vietnam Pro', sans-serif;
    padding: 60px 0 0 0;
    margin-top: 50px;
}
.dlq-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Cột Footer */
.dlq-footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dlq-footer-col p, .dlq-footer-col a {
    color: #e2cab6;
    font-size: 14.5px;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s;
    margin-bottom: 12px;
    display: block;
}
.dlq-footer-col p {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}
.dlq-footer-col a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Logo và Mạng xã hội */
.dlq-footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Tự động đổi logo đen thành trắng */
}
.dlq-social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}
.dlq-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #ffffff;
    padding: 0 !important;
}
.dlq-social-links a:hover {
    background: #ffffff;
    color: #755235;
    transform: translateY(-3px);
}

/* Thanh bản quyền dưới cùng */
.dlq-footer-bottom {
    background-color: #5a3d29;
    padding: 20px 40px;
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    color: #e2cab6;
}
.dlq-footer-bottom a {
    color: #ffffff;
    display: inline;
    margin: 0;
    padding: 0;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .dlq-footer-container { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
}
@media (max-width: 576px) {
    .dlq-footer-container { grid-template-columns: 1fr; gap: 30px; }
    .dlq-footer-bottom { padding: 20px; font-size: 13px; line-height: 1.6;}
}



/* ================= TỐI ƯU GIAO DIỆN SUB-MENU FLATSOME ================= */
/* Khung bọc menu thả xuống */
.header-nav .nav-dropdown {
    background-color: #ffffff !important;
    border-radius: 12px; /* Bo góc mềm mại */
    box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important; /* Đổ bóng nổi khối 3D */
    border: 1px solid #f0f0f0;
    padding: 10px 0 !important; /* Tạo khoảng thở trên dưới */
}

/* Xóa các đường kẻ ngang cứng nhắc mặc định của Flatsome */
.header-nav .nav-dropdown > li {
    border-bottom: none !important; 
}

/* Định dạng thẻ text bên trong */
.header-nav .nav-dropdown > li > a {
    font-family: 'Be Vietnam Pro', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #444444 !important;
    padding: 12px 25px !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    position: relative;
    display: block;
}

/* HIỆU ỨNG HOVER (RÊ CHUỘT) SIÊU MƯỢT */
.header-nav .nav-dropdown > li > a:hover {
    background-color: #fdfaf7 !important; /* Đổi nền thành màu kem nhạt */
    color: #714f36 !important; /* Đổi chữ thành nâu thương hiệu */
    padding-left: 32px !important; /* Chữ trượt nhẹ sang phải tạo cảm giác tương tác tốt */
}

/* Thêm một vạch dọc màu nâu bên trái khi hover */
.header-nav .nav-dropdown > li > a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: #714f36;
    opacity: 0;
    transition: 0.3s;
}
.header-nav .nav-dropdown > li > a:hover:before {
    opacity: 1;
}

/* Chỉnh lại màu của cái mũi tên nhọn (pointer) chĩa lên thanh Header */
.nav-dropdown-has-arrow li.has-dropdown:before {
    border-bottom-color: #ffffff !important;
}





/* ================= CSS BANNER SHOPEE STYLE (ÉP KHUÔN TUYỆT ĐỐI) ================= */
.dlq-banner-section {
    background-color: #f5f5f5;
    padding: 20px 0;
    font-family: 'Be Vietnam Pro', sans-serif;
}
.dlq-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 15px;
    align-items: stretch;
}

/* 1. KHUNG VIỀN ĐỎ BÊN TRÁI (Khóa tỷ lệ cứng) */
.dlq-banner-left {
    width: 66.666%;
    aspect-ratio: 16 / 9; /* Ép tỷ lệ hình chữ nhật */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    background: #fff;
    position: relative; /* Trụ cột để khóa Swiper */
}

/* CHÌA KHÓA Ở ĐÂY: Biến Swiper thành bóng ma (absolute) để nó không thể phình to làm hỏng khung */
.dlq-banner-left .swiper {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important; 
    height: 100% !important; 
}

.dlq-banner-left .swiper-slide a { 
    display: block; 
    width: 100%; 
    height: 100%; 
}
.dlq-banner-left .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover !important; /* Ép cắt ảnh thừa */
    display: block;
}

/* Nút chuyển Slide & Chấm bi */
.dlq-banner-left .swiper-button-next,
.dlq-banner-left .swiper-button-prev {
    color: rgba(255,255,255,0.8);
    background: rgba(0,0,0,0.2);
    width: 35px;
    height: 60px;
    border-radius: 4px;
    transition: 0.3s;
}
.dlq-banner-left .swiper-button-next:hover,
.dlq-banner-left .swiper-button-prev:hover { background: rgba(0,0,0,0.5); color: #fff;}
.dlq-banner-left .swiper-button-next:after,
.dlq-banner-left .swiper-button-prev:after { font-size: 18px; font-weight: bold;}
.dlq-banner-left .swiper-pagination-bullet { background: #fff; opacity: 0.5; }
.dlq-banner-left .swiper-pagination-bullet-active { background: #ee4d2d; opacity: 1; }

/* 2. KHUNG VIỀN ĐỎ BÊN PHẢI (Chia đôi chính xác 50/50) */
.dlq-banner-right {
    width: calc(33.333% - 15px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}
.dlq-banner-right-item {
    width: 100%;
    height: calc(50% - 7.5px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    display: block;
    position: relative;
}
.dlq-banner-right-item img {
    position: absolute; /* Khóa cứng ảnh vào khung nhỏ */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important; /* Ép cắt ảnh thừa */
    transition: 0.3s ease;
    display: block;
}
.dlq-banner-right-item:hover img { opacity: 0.9; }

/* Tối ưu Mobile */
@media (max-width: 768px) {
    .dlq-banner-container { flex-direction: column; gap: 10px; }
    .dlq-banner-left { width: 100%; aspect-ratio: 16 / 9; }
    .dlq-banner-right { width: 100%; flex-direction: row; gap: 10px; }
    .dlq-banner-right-item { width: calc(50% - 5px); height: auto; aspect-ratio: 16 / 9; }
    .dlq-banner-left .swiper-button-next, .dlq-banner-left .swiper-button-prev { display: none; } 
}





/* ================= TỔNG QUAN CTA ================= */
.dlq-floating-cta {
    position: fixed;
    bottom: 50px;
    right: 30px;
    z-index: 9999;
    font-family: 'Be Vietnam Pro', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.dlq-cta-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dlq-cta-toggle {
    display: none; /* Ẩn nút gộp trên giao diện Desktop */
}

/* Kiểu dáng các nút con */
.cta-item {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

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

.cta-item a {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
}

.cta-item i { font-size: 24px; }
.zalo-text { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; }

/* ================= MÀU SẮC ================= */
.whatsapp-item a { background-color: #25D366; }
.messenger-item a { background-color: #0084FF; }
.zalo-item a { background-color: #0068FF; }
.phone-item a { background-color: #e74c3c; }

/* ================= HIỆU ỨNG SÓNG TỎA RA ================= */
.wave-effect {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    z-index: 1;
    animation: ripple 2s infinite;
}

.whatsapp-item .wave-effect { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
.messenger-item .wave-effect { box-shadow: 0 0 0 0 rgba(0, 132, 255, 0.6); }
.zalo-item .wave-effect { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.6); }
.phone-item .wave-effect { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.6); }

@keyframes ripple {
    70% { box-shadow: 0 0 0 20px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* ================= GIAO DIỆN MOBILE (Tối ưu dạng Bung Mở) ================= */
/* ================= GIAO DIỆN MOBILE (Tối ưu dạng Bung Mở) ================= */
@media screen and (max-width: 768px) {
    .dlq-floating-cta {
        bottom: 50px;
        right: 20px;
    }

    /* Định dạng nút Toggle gộp */
    .dlq-cta-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 55px;
        height: 55px;
        background-color: #2257d7; /* Màu chủ đạo */
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(113, 79, 54, 0.4);
        position: relative;
        z-index: 10;
    }
    
    .toggle-wave { box-shadow: 0 0 0 0 rgba(48, 119, 201, 0.6); }

    /* ================= CĂN GIỮA VÀ XỬ LÝ ẢNH ICON ================= */
    .dlq-cta-toggle .icon-main,
    .dlq-cta-toggle .icon-close {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 32px; /* Chỉnh kích thước ảnh tại đây */
        height: 32px;
        object-fit: contain;
        /* Ép ảnh sang màu trắng tinh */
        filter: brightness(0) invert(1);
    }

    /* Trạng thái mặc định (Chưa mở menu) */
    .dlq-cta-toggle .icon-main { 
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0) scale(1);
        transition: transform 0.4s ease, opacity 0.4s ease;
    }
    .dlq-cta-toggle .icon-close { 
        opacity: 0;
        transform: translate(-50%, -50%) rotate(-90deg) scale(0.5);
        transition: transform 0.4s ease, opacity 0.4s ease;
		width: 16px;
		height: 16px;
    }
    
    /* Trạng thái Active (Khi mở menu) */
    .dlq-floating-cta.active .dlq-cta-toggle .icon-main { 
        opacity: 0; 
        transform: translate(-50%, -50%) rotate(90deg) scale(0.5); 
    }
    .dlq-floating-cta.active .dlq-cta-toggle .icon-close { 
        opacity: 1; 
        transform: translate(-50%, -50%) rotate(0) scale(1); 
    }

    /* Danh sách 4 nút trên Mobile */
    .dlq-cta-list {
        position: absolute;
        bottom: 70px;
        right: 0;
        gap: 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(30px) scale(0.8);
        transform-origin: bottom center;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        pointer-events: none;
    }
    
    /* Khi Container có class active -> Hiện danh sách nút */
    .dlq-floating-cta.active .dlq-cta-list {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    /* Thu nhỏ nhẹ các nút con trên Mobile */
    .cta-item {
        width: 48px;
        height: 48px;
    }
    .cta-item i { font-size: 22px; }
    .zalo-text { font-size: 13px; }
    
    /* Tắt bớt hiệu ứng sóng của các nút con để tập trung vào nút Toggle trên màn hình nhỏ */
    .dlq-cta-list .wave-effect { display: none; }
}