/* ==================== RESET & BIẾN TOÀN CỤC ==================== */
:root {
    --primary: #c6ab78;
    --primary-2: #fdfbf9;
    --primary-dark: #a17c30;
    --secondary: #7a0000;
    --secondary-light: #777777;
    --accent: #d4af37;
    --light-bg: #f9f6f0;
    --card-bg: #ffffff;
    --card-bg-2: #f3dcad;
    --text: #000000;
    --text-hover: #000000;
    --text-light: #c49d53;
    --text-light-hover: #222222;
    --text-white: #fff;
    --border: #edd5a6;
    --border-2: #c59c47;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --star-color: #ffc107;
    --header-bg: #000;
    --footer-bg: #98742f;
    --topbar-bg: rgb(15, 15, 22);
    --topbar-color: #2b2b2b;
    --main-menu-bg: #fcc758;
    --base-color: #000;
    --section-bg:#000;
    --section-bg-2:#1b1b1b;
    --background: #f8f6f1;
    --background-2: #ffffff;
    --heading: #986402;
    
}

/* ==================== BẢNG MÀU CỐ ĐỊNH (KHÔNG ĐỔI THEO THEME) ==================== */
:root {
    --fixed-color-000000: #000000;
    --fixed-color-000000-alpha-0p05: rgba(0,0,0,0.05);
    --fixed-color-000000-alpha-0p06: rgba(0, 0, 0, 0.06);
    --fixed-color-000000-alpha-0p08: rgba(0, 0, 0, 0.08);
    --fixed-color-000000-alpha-0p1: rgba(0, 0, 0, 0.1);
    --fixed-color-000000-alpha-0p12: rgba(0,0,0,0.12);
    --fixed-color-000000-alpha-0p14: rgba(0,0,0,0.14);
    --fixed-color-000000-alpha-0p15: rgba(0,0,0,0.15);
    --fixed-color-000000-alpha-0p18: rgba(0,0,0,0.18);
    --fixed-color-000000-alpha-0p2: rgba(0,0,0,0.2);
    --fixed-color-000000-alpha-0p22: rgba(0,0,0,0.22);
    --fixed-color-000000-alpha-0p25: rgba(0,0,0,0.25);
    --fixed-color-000000-alpha-0p3: rgba(0,0,0,0.3);
    --fixed-color-000000-alpha-0p35: rgba(0,0,0,0.35);
    --fixed-color-000000-alpha-0p4: rgba(0,0,0,0.4);
    --fixed-color-000000-alpha-0p5: rgba(0,0,0,0.5);
    --fixed-color-000000-alpha-0p6: rgba(0,0,0,0.6);
    --fixed-color-000000-alpha-0p65: rgba(0,0,0,0.65);
    --fixed-color-000000-alpha-0p7: rgba(0,0,0,0.7);
    --fixed-color-000000-alpha-0p75: rgba(0, 0, 0, 0.75);
    --fixed-color-000000-alpha-0p9: rgba(0,0,0,0.9);
    --fixed-color-0062ff: #0062ff;
    --fixed-color-007bff: #007bff;
    --fixed-color-009dff: #009dff;
    --fixed-color-08790d: #08790d;
    --fixed-color-0a0a0a: #0a0a0a;
    --fixed-color-0a5c0a: #0a5c0a;
    --fixed-color-0d5fd8: #0d5fd8;
    --fixed-color-0f0c08-alpha-0: rgba(15,12,8,0);
    --fixed-color-0f0c08-alpha-0p75: rgba(15,12,8,0.75);
    --fixed-color-0f0c08-alpha-0p95: rgba(15,12,8,0.95);
    --fixed-color-111111: #111;
    --fixed-color-111827: #111827;
    --fixed-color-161515: #161515;
    --fixed-color-1877f2: #1877f2;
    --fixed-color-1a1200: #1a1200;
    --fixed-color-1a1a1a: #1a1a1a;
    --fixed-color-1e1e1e: #1e1e1e;
    --fixed-color-1e272e: #1e272e;
    --fixed-color-212529: #212529;
    --fixed-color-222222: #222;
    --fixed-color-232323: #232323;
    --fixed-color-272727: #272727;
    --fixed-color-27ae60: #27ae60;
    --fixed-color-283891: #283891;
    --fixed-color-28a745: #28a745;
    --fixed-color-2a2a2a: #2a2a2a;
    --fixed-color-2ab574: #2ab574;
    --fixed-color-2b6cb0: #2b6cb0;
    --fixed-color-3182ce: #3182ce;
    --fixed-color-333333: #333;
    --fixed-color-374151: #374151;
    --fixed-color-3a3a3a: #3a3a3a;
    --fixed-color-3b82f6: #3b82f6;
    --fixed-color-3da341: #3da341;
    --fixed-color-4b5563: #4b5563;
    --fixed-color-4c4c4c: #4c4c4c;
    --fixed-color-4caf50: #4caf50;
    --fixed-color-555555: #555;
    --fixed-color-5cb85c: #5cb85c;
    --fixed-color-666666: #666;
    --fixed-color-6c757d: #6c757d;
    --fixed-color-718096: #718096;
    --fixed-color-766c56: #766c56;
    --fixed-color-7a5e22: #7a5e22;
    --fixed-color-857358: #857358;
    --fixed-color-888888: #888;
    --fixed-color-898988: #898988;
    --fixed-color-999999: #999;
    --fixed-color-a17c30: #a17c30;
    --fixed-color-a93226: #a93226;
    --fixed-color-adb5bd: #adb5bd;
    --fixed-color-b28f61: #b28f61;
    --fixed-color-b3b0b0: #b3b0b0;
    --fixed-color-c0392b: #c0392b;
    --fixed-color-c0a069: #c0a069;
    --fixed-color-c7ac78: #c7ac78;
    --fixed-color-c7ac78-alpha-0p3: rgba(199, 172, 120, 0.3);
    --fixed-color-cbd5e0: #cbd5e0;
    --fixed-color-cccccc: #ccc;
    --fixed-color-cecece: #cecece;
    --fixed-color-d0af7d: #d0af7d;
    --fixed-color-d0e3ff: #d0e3ff;
    --fixed-color-d1b07f: #d1b07f;
    --fixed-color-d3b483: #d3b483;
    --fixed-color-d4af37: #d4af37;
    --fixed-color-d4af37-alpha-0p08: rgba(212, 175, 55, 0.08);
    --fixed-color-d4af37-alpha-0p12: rgba(212, 175, 55, 0.12);
    --fixed-color-d4af37-alpha-0p18: rgba(212, 175, 55, 0.18);
    --fixed-color-d4af37-alpha-0p25: rgba(212, 175, 55, 0.25);
    --fixed-color-d4af37-alpha-0p3: rgba(212, 175, 55, 0.3);
    --fixed-color-d4af37-alpha-0p4: rgba(212, 175, 55, 0.4);
    --fixed-color-d4af37-alpha-0p45: rgba(212, 175, 55, 0.45);
    --fixed-color-d4af37-alpha-0p5: rgba(212, 175, 55, 0.5);
    --fixed-color-d4af37-alpha-0p6: rgba(212, 175, 55, 0.6);
    --fixed-color-d4af37-alpha-0p9: rgba(212, 175, 55, 0.9);
    --fixed-color-d5b474: #d5b474;
    --fixed-color-d7b887: #d7b887;
    --fixed-color-d9d9d9: #d9d9d9;
    --fixed-color-dc3545: #dc3545;
    --fixed-color-dddddd: #ddd;
    --fixed-color-dee2e6: #dee2e6;
    --fixed-color-e0b354: #e0b354;
    --fixed-color-e0e0e0: #e0e0e0;
    --fixed-color-e2e8f0: #e2e8f0;
    --fixed-color-e5e0d8: #e5e0d8;
    --fixed-color-e5e7eb: #e5e7eb;
    --fixed-color-e6c468: #e6c468;
    --fixed-color-e6dcc8: #e6dcc8;
    --fixed-color-e74c3c: #e74c3c;
    --fixed-color-e8d5b5: #e8d5b5;
    --fixed-color-e9ecef: #e9ecef;
    --fixed-color-eaca92: #eaca92;
    --fixed-color-eaeaea: #eaeaea;
    --fixed-color-edd5a6: #edd5a6;
    --fixed-color-edf2f7: #edf2f7;
    --fixed-color-eeeeee: #eee;
    --fixed-color-f0e9dc: #f0e9dc;
    --fixed-color-f0f0f0: #f0f0f0;
    --fixed-color-f1c40f: #f1c40f;
    --fixed-color-f1f1f1: #f1f1f1;
    --fixed-color-f1f3f5: #f1f3f5;
    --fixed-color-f3f4f6: #f3f4f6;
    --fixed-color-f5e3ae: #f5e3ae;
    --fixed-color-f5f5f5: #f5f5f5;
    --fixed-color-f7d200: #f7d200;
    --fixed-color-f7fafc: #f7fafc;
    --fixed-color-f8f9fa: #f8f9fa;
    --fixed-color-f9d388: #f9d388;
    --fixed-color-f9d423: #f9d423;
    --fixed-color-f9e08c: #f9e08c;
    --fixed-color-fbe1b1: #fbe1b1;
    --fixed-color-fdfbf9: #fdfbf9;
    --fixed-color-ff0000: #ff0000;
    --fixed-color-ff1800: #ff1800;
    --fixed-color-ff1800-alpha-0: rgba(255, 24, 0, 0);
    --fixed-color-ff1800-alpha-0p7: rgba(255, 24, 0, 0.7);
    --fixed-color-ff6b6b: #ff6b6b;
    --fixed-color-ff8600: #ff8600;
    --fixed-color-ffb400: #e48d00;
    --fixed-color-ffcd6a: #ffcd6a;
    --fixed-color-ffd700-alpha-0p5: rgba(255,215,0,0.5);
    --fixed-color-ffd700-alpha-0p9: rgba(255,215,0,0.9);
    --fixed-color-ffffff: white;
    --fixed-color-ffffff-alpha-0: rgba(255,255,255,0);
    --fixed-color-ffffff-alpha-0p15: rgba(255, 255, 255, 0.15);
    --fixed-color-ffffff-alpha-0p3: rgba(255,255,255,.3);
    --fixed-color-ffffff-alpha-0p4: rgba(255,255,255,0.4);
    --fixed-color-ffffff-alpha-0p5: rgba(255,255,255,0.5);
    --fixed-color-ffffff-alpha-0p8: rgba(255,255,255,0.8);
    --fixed-color-ffffff-alpha-0p85: rgba(255,255,255,0.85);
    --fixed-color-ffffff-alpha-0p9: rgba(255,255,255,0.9);
    --fixed-color-transparent: transparent;
}

.dark-mode {
    --primary: #e0b354;
    --primary-dark: #c49a2e;
    --secondary: #1a120e;
    --secondary-light: #2a1e18;
    --accent: #e6c468;
    --light-bg: #121212;
    --card-bg: #1e1e1e;
    --card-bg-2: #4825131a;
    --text: #f0f0f0;
    --text-hover: #fff;
    --text-light: #b0b0b0;
    --text-white: #fff;
    --border: #3a3a3a;
    --shadow: 0 4px 15px rgba(0,0,0,0.4);
    --header-bg: #1a1a1a;
    --footer-bg: #0f0f0f;
    --topbar-bg: #0a0a0a;
    --topbar-color: #FEF8EC;
    --main-menu-bg: #e0b354;
    --base-color: #000;
    --section-bg:#171412;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CONFIG SHOW/HIDE =============*/
@media screen and (max-width: 768px){
    .onlypc{
        display: none;
    }
}

body {
    font-family: sans-serif;
    background-color: var(--light-bg);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.2s ease;
}
h1, h2, h3, h4, h5, h6{
    font-family: math, sans-serif;
}

a {
    text-decoration: none;
    color: var(--fixed-color-d0af7d);
    transition: var(--transition);
}

a:hover {
    color: var(--text);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 10px;
}
.heading-line{
    width: 8rem;
    margin: 1rem auto 0;
    height: .4rem;
    background: var(--fixed-color-edd5a6);
}
/* ==================== COMMON STYLES ==================== */
.section-product-list-selected {
    background: var(--background);
    border-top: solid 1px var(--fixed-color-d0af7d);
    padding-top: 30px;
    padding-bottom: 30px;
}

.section-product-list-selected .section-title {
    color: var(--text-light);
    font-family: fangsong;
    text-transform: uppercase;
}
.section-product-list-selected .section-subtitle {
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 16px;
}
.category-section .section-title {
    color: var(--text-light);
    font-family: fangsong;
}

.category-section .section-subtitle {
    color: var(--text-light);
}

.home-collections-section .section-title{
    color: var(--text-light);
}

.home-collections-section .section-subtitle {
    color: var(--text-light);
}

.cert-section .section-title{
    color: var(--text-light);
}

.cert-section .section-subtitle {
    color: var(--text-light);
}

.blog-section .section-title{
    color: var(--text-light);
}

.blog-section .section-subtitle {
    color: var(--text-light);
}
.new-products-section {
    margin-bottom: 0px;
    background: var(--background);
    padding: 30px;
    border-radius: 0px;
}

.new-products-section .section-title{
    color: var(--text-light);
}

.new-products-section .section-subtitle {
    color: var(--text-light);
}

.project-section .section-title{
    color: var(--text-light);
}
.project-section .section-subtitle {
    color: var(--text-light);
}

.testimonial-section .section-title{
    color: var(--text-light);
}
.testimonial-section .section-subtitle {
    color: var(--text-light);
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0px;
    position: relative;
    text-align: center;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-family: fangsong;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: var(--fixed-color-d0af7d);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text);
    font-size: 20px;
    font-family: fangsong;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 12px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    height: 40px;
}

.btn-primary {
    background: var(--fixed-color-d0af7d);
    color: var(--fixed-color-ffffff);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--fixed-color-ffffff);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--fixed-color-ffffff);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    color: var(--fixed-color-ffffff);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: var(--fixed-color-transparent);
    color: var(--text-white);
    border: 2px solid var(--background);
}

.btn-outline:hover {
    background: var(--fixed-color-d0af7d);
    color: var(--fixed-color-ffffff);
}

.card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--fixed-color-000000-alpha-0p15);
}

/* ==================== TOP BAR ==================== */
#top-bar {
    background: var(--fixed-color-161515);
    padding: 0px 0;
    font-size: 12px;
    transition: background 0.3s;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-nav ul {
    z-index:10000;
}

.top-bar-nav ul li {
    
}
.topmenu-sub-item{
    margin-right: 0px;
}
.top-bar-nav ul li:last-child {
    margin-right: 0;
}

.top-bar-social ul {
    display: flex;
}

.top-bar-social ul li {
    margin-left: 15px;
}

.top-bar-social ul li a {
    color: var(--fixed-color-d0af7d);
    font-size: 16px;
}

.top-bar-social ul li a:hover {
    color: var(--accent);
}

/* ==================== TOP MENU DROPDOWN ==================== */
.topmenu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topmenu-item {
    position: relative;
    margin-right: 20px;
}

.topmenu-item:last-child {
    margin-right: 0;
}

.topmenu-link {
    color: var(--fixed-color-ffffff);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    padding: 5px 0;
    font-size: 14px;
}

.topmenu-link:hover {
    color: var(--accent, var(--fixed-color-d4af37));
}

/* Submenu (cấp 2) */
.topmenu-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    background: var(--fixed-color-ffffff);
    box-shadow: var(--shadow, 0 4px 15px var(--fixed-color-000000-alpha-0p1));
    border-radius: 0 0 3px 3px;
    padding: 0px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 999;
    list-style: none;
}

.topmenu-item:hover .topmenu-submenu,
.topmenu-item:focus-within .topmenu-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.topmenu-sub-item {
    border-bottom: 1px solid var(--border);
}

.topmenu-sub-item:last-child {
    border-bottom: none;
}

.topmenu-sub-link {
    display: block;
    padding: 10px 10px;
    color: var(--text, var(--fixed-color-1a1a1a));
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.topmenu-sub-link:hover {
    color: var(--fixed-color-000000);
    font-weight: bold;
    background: var(--fixed-color-fdfbf9);
}
@media screen and (max-width: 768px){
    .topmenu-link {
        color: var(--fixed-color-d0af7d);
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s ease;
        display: block;
        padding: 5px 0;
        font-size: 11px;
    }
    .topmenu-item {
        position: relative;
        margin-right: 8px;
    }
}


/* Dark mode (nếu có) */
.dark-mode .topmenu-submenu {
    background: var(--card-bg, var(--fixed-color-1e1e1e));
    border-color: var(--border, var(--fixed-color-3a3a3a));
}

.dark-mode .topmenu-sub-link {
    color: var(--text, var(--fixed-color-f0f0f0));
}

.dark-mode .topmenu-sub-link:hover {
    background: var(--light-bg, var(--fixed-color-2a2a2a));
    color: var(--primary, var(--fixed-color-e0b354));
}

/* ==================== HEADER ==================== */
.header-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 10px;
}
#header-wrap {
    background: var(--fixed-color-000000);
    box-shadow: 0 2px 10px var(--fixed-color-000000-alpha-0p05);
    z-index: 1000;
    transition: background 0.3s;
    height: 115px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    height: 115px;
}

.header-menu-button {
    display: flex;
    gap: 5px;
    align-items: center;
}


.logo {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 330px;
    margin-left: 0px;
}

.logo img {
    max-height: 70px;
    padding-left: 5px;
}
.logo-text {
    margin-left: 15px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.logo-text p {
    font-size: 14px;
    color: var(--text-light);
}


/* ----- Ô TÌM KIẾM ----- */
.header-search {
    flex: 1;
    max-width: 380px;
    position: relative;
    margin: 0 15px;
}

.search-form {
    display: flex;
    width: 100%;
    position: relative;
    border: solid 1px var(--fixed-color-d7b887);
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 0px;
    background: var(--fixed-color-000000);
    color: var(--fixed-color-ffffff);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--fixed-color-d0af7d);
}

.search-btn {
    background: none;
    border: none;
    border-radius: 0 0px 0px 0;
    width: 50px;
    color: var(--fixed-color-d1b07f);
    cursor: pointer;
    transition: var(--transition);
    font-size: 17px;
}

.search-btn:hover {
    background: none;
    color: var(--fixed-color-ffffff);
}

/* Dropdown kết quả gợi ý */
.search-results {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--fixed-color-ffffff);
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 1001;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    border: 1px solid var(--fixed-color-f7d200);
}

.search-results.show {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 5px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover,
.search-result-item.active {
    background: var(--light-bg);
}

.result-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 3px;
}

.result-info {
    flex: 1;
}

.result-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    font-size: 15px;
}

.result-price {
    font-size: 14px;
    color: var(--fixed-color-d0af7d);
    font-weight: 700;
}

.search-no-result {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-buttons {
    display: flex;
    gap: 15px;
}
.header-buttons a{
    color: var(--fixed-color-eaca92);
}
.header-buttons a:hover{
    color: var(--fixed-color-ffffff);
}
.header-buttons .hotline p{
    color: var(--fixed-color-ffffff);
    display: grid;
    gap: 4px;
} 
.header-button-tel {
    padding: 8px 20px 8px 10px;
    color: var(--text-white);
    display: flex;
}
.header-buttons .header-buttons-call-icon{
    font-size: 36px;
    padding-right: 5px;
    
}
.header-buttons .phone-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--fixed-color-d3b483);
    font-family: serif;
}
.header-button-tel-icon img{
    height: 48px;
    width: 53px;
    padding-right: 5px;
}

@media only screen and (max-width: 768px) {
    .header-buttons {
        display: none;
    }
}



.theme-toggle {
    background: var(--fixed-color-d0af7d);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--fixed-color-ffffff);
    font-size: 18px;
    margin-left: 5px;
}
.theme-toggle:hover {
    background: var(--fixed-color-d0af7d);
    transform: rotate(15deg);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.cart-icon .fa-cart-shopping:before, .cart-icon .fa-shopping-cart:before {
    content: "\f07a";
    font-size: 22px;
    color: var(--fixed-color-d0af7d);
}


.cart-icon:hover {
    transform: scale(1.05);
}

.cart-icon a {
    font-size: 24px;
    color: var(--text);
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--fixed-color-d0af7d);
    color: var(--fixed-color-ffffff);
    font-size: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.cart-icon.bounce {
    animation: cartBounce 0.3s ease;
}

.mobile-menu-toggle {
    display: none;
    font-size: 18px;
    color: var(--fixed-color-d0af7d);
    cursor: pointer;
}

/* ==================== MAIN NAVIGATION (cấp 3) ==================== */
#main-nav {
    background: var(--fixed-color-edd5a6);
    position: sticky;
    top: 0px;
    z-index: 999;
    transition: background 0.3s;
}

.main-menu {
    display: flex;
    justify-content: flex-start;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: block;
    color: var(--base-color);
    padding: 15px 10px;
    font-weight: 700;
    transition: var(--transition);
    font-size: 15px;
    font-family: manrope;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.main-menu > li:hover > a {
    background: var(--fixed-color-ffffff);
    color: var(--fixed-color-000000);
}

.main-menu > li.has-sub > a:after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
}

/* Dropdown level 2 */
.has-sub:not(.mega-menu) .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    min-width: 185px;
    
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border-radius: 0 0 3px 3px;
}

.has-sub:not(.mega-menu):hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    position: relative;
    border-bottom: 1px solid var(--border);
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu li a {
    display: block;
    padding: 10px 10px;
    color: var(--text);
    font-weight: normal;
    transition: var(--transition);
    font-size: 12px;
}

.submenu li a:hover {
    background: var(--fixed-color-fbe1b1);
    color: var(--fixed-color-000000);
    font-weight: bold;
}

/* Dropdown cấp 3 */
.submenu .has-sub-level3 {
    position: relative;
}
.submenu .has-sub-level3 > a:after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    float: right;
    font-size: 12px;
}
.submenu .submenu-level3 {
    position: fixed;
    top: 0;
    left: 100%;
    background: var(--card-bg);
    min-width: 200px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    z-index: 101;
    border-radius: 0 3px 3px 0;
    min-height: 100%;
}
.submenu .has-sub-level3:hover .submenu-level3 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.submenu-level3 li {

}
.submenu-level3 li a {
    padding: 5px 10px;
    white-space: nowrap;
}

/* Mega menu */
.mega-menu {
    position: static;
}

.submegamenu {
    position: absolute;
    top: 100%;
    left: 288%;
    transform: translateX(-50%);
    width: 1000px;
    max-width: 1000px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    padding: 30px 0;
    border-radius: 0 0 8px 8px;
}
    
.mega-menu:hover .submegamenu {
    opacity: 1;
    visibility: visible;
}

.submegamenu .mega-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.mega-col {
    flex: 1;
}

.mega-col-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--fixed-color-d0af7d);
    display: inline-block;
}

.mega-col ul {
    margin-top: 10px;
}

.mega-col ul li {
    margin-bottom: 0px;
    border-bottom: none;
}

.mega-col ul li a {
    padding: 5px 0;
    display: inline-block;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px;
}

.mega-col ul li a:hover {
    color: var(--fixed-color-d0af7d);
    transform: translateX(5px);
}

/*  --*/
@media screen and (max-width:768px){
    .header-container {
        max-width: 1250px;
        margin: 0 auto;
        padding: 0px 0px;
    }
    .logo {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 226px;
        margin: 0 auto;
        padding-bottom: 20px;
        padding-top: 15px;
    }
}
/* homepage slider ==================================*/
/* ===== CẤU TRÚC SLIDER ===== */
.slider-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* ===== NỀN ĐỘNG TỪ THEME ===== */
    background: var(--section-bg, var(--fixed-color-0a0a0a));
    background-image: 
        radial-gradient(circle at 20% 40%, var(--fixed-color-d4af37-alpha-0p18) 0%, var(--fixed-color-transparent) 60%),
        radial-gradient(circle at 80% 60%, var(--fixed-color-d4af37-alpha-0p12) 0%, var(--fixed-color-transparent) 50%),
        radial-gradient(circle at 50% 10%, var(--fixed-color-d4af37-alpha-0p08) 0%, var(--fixed-color-transparent) 70%);
    background-size: 200% 200%;
    animation: bgGlow 18s infinite alternate ease-in-out;
    height: auto;
    max-height: 900px;
    /*min-height: 400px;*/
    perspective: 1200px;
}

@keyframes bgGlow {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 100%;
    }
}

.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    transition: opacity 0.8s ease;
}

.swiper-slide-active {
    opacity: 1;
}

.swiper-slide-active {
    transform: perspective(1200px) rotateY(0deg) scale(1);
    transition: transform 1.2s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.swiper-slide:not(.swiper-slide-active) {
    transition: transform 1.2s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.slide-inner {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    background-color: var(--fixed-color-transparent);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.2, 0.9, 0.4, 1), 
                clip-path 1.2s cubic-bezier(0.2, 0.9, 0.4, 1),
                opacity 0.8s ease;
}

/* ===== CÁC HIỆU ỨNG CHO ẢNH (GIỮ NGUYÊN) ===== */
.swiper-slide-active .slide-image.effect-left {
    clip-path: inset(0 0 0 0);
    transform: translateX(0) rotateY(0deg);
    opacity: 1;
}
.swiper-slide:not(.swiper-slide-active) .slide-image.effect-left {
    clip-path: inset(0 100% 0 0);
    transform: translateX(-100%) rotateY(-10deg);
    opacity: 0;
}

.swiper-slide-active .slide-image.effect-right {
    clip-path: inset(0 0 0 0);
    transform: translateX(0) rotateY(0deg);
    opacity: 1;
}
.swiper-slide:not(.swiper-slide-active) .slide-image.effect-right {
    clip-path: inset(0 0 0 100%);
    transform: translateX(100%) rotateY(10deg);
    opacity: 0;
}

.swiper-slide-active .slide-image.effect-top {
    clip-path: inset(0 0 0 0);
    transform: translateY(0) rotateX(0deg);
    opacity: 1;
}
.swiper-slide:not(.swiper-slide-active) .slide-image.effect-top {
    clip-path: inset(100% 0 0 0);
    transform: translateY(-100%) rotateX(10deg);
    opacity: 0;
}

.swiper-slide-active .slide-image.effect-bottom {
    clip-path: inset(0 0 0 0);
    transform: translateY(0) rotateX(0deg);
    opacity: 1;
}
.swiper-slide:not(.swiper-slide-active) .slide-image.effect-bottom {
    clip-path: inset(0 0 100% 0);
    transform: translateY(100%) rotateX(-10deg);
    opacity: 0;
}

.swiper-slide-active .slide-image.effect-center {
    clip-path: inset(0 0 0 0);
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}
.swiper-slide:not(.swiper-slide-active) .slide-image.effect-center {
    clip-path: inset(50% 50% 50% 50%);
    transform: scale(0.8) rotateZ(5deg);
    opacity: 0;
}

/* Lớp phủ gradient (giữ nguyên) */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: linear-gradient(180deg,
        var(--fixed-color-transparent) 0%,
        var(--fixed-color-000000-alpha-0p2) 50%,
        var(--fixed-color-000000-alpha-0p7) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Nội dung (giữ nguyên) */
.slide-content {
    position: absolute;
    bottom: 15%;
    left: 6%;
    max-width: 60%;
    z-index: 2;
    color: var(--fixed-color-ffffff);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    text-shadow: 0 2px 10px var(--fixed-color-000000-alpha-0p5);
}

.slide-content .type,
.slide-content .title,
.slide-content .description,
.slide-content .btn {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.swiper-slide-active .slide-content .type {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}
.swiper-slide-active .slide-content .title {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}
.swiper-slide-active .slide-content .description {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.5s;
}
.swiper-slide-active .slide-content .btn {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.7s;
}

.type {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--fixed-color-d4af37-alpha-0p9);
    display: inline-block;
    padding: 4px 16px;
    border-radius: 40px;
    backdrop-filter: blur(4px);
    width: fit-content;
    color: var(--fixed-color-1a1a1a);
}
.title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(135deg, var(--fixed-color-f9e08c), var(--fixed-color-d4af37), var(--fixed-color-f9e08c));
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--fixed-color-transparent);
    text-shadow: none;
}
.description {
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
    max-width: 80%;
    opacity: 0.9;
    line-height: 1.5;
    color: var(--fixed-color-f0f0f0);
}


/* ===== ĐIỀU HƯỚNG & PHÂN TRANG ===== */
.swiper-button-prev,
.swiper-button-next {
    background: var(--fixed-color-000000-alpha-0p5);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--fixed-color-d4af37);
    transition: 0.3s;
    border: 1px solid var(--fixed-color-d4af37-alpha-0p3);
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--fixed-color-d4af37);
    color: var(--fixed-color-1a1a1a);
}
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: var(--fixed-color-ffffff-alpha-0p4);
    width: 6px;
    height: 6px;
    margin: 0 3px;
    opacity: 1;
    transition: 0.3s;
    border: 1px solid var(--fixed-color-d4af37-alpha-0p3);
}
.swiper-pagination-bullet-active {
    background: var(--fixed-color-d4af37);
    transform: scale(1.3);
    border-color: var(--fixed-color-d4af37);
}

.swiper-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--fixed-color-ffffff-alpha-0p15);
    z-index: 3;
}
.swiper-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--fixed-color-d4af37), var(--fixed-color-f9e08c));
    transition: width 0.4s ease;
    box-shadow: 0 0 10px var(--fixed-color-d4af37-alpha-0p5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .slider-wrapper { 
        height: auto; 
        /*min-height: 300px; */
    }
    .slide-content { bottom: 10%; left: 5%; max-width: 85%; padding: 10px; }
    .description { max-width: 100%; }
    .swiper-button-prev, .swiper-button-next { 
        background: var(--fixed-color-d0af7d);
        width: 20px;
        height: 20px;
        border-radius: 50%;
        color: var(--fixed-color-ffffff);
        transition: 0.3s;
        border: 1px solid var(--fixed-color-d0af7d);
        
    }
    .swiper-button-prev::after, .swiper-button-next::after { font-size: 8px; }
}
@media (max-width: 480px) {
    .slider-wrapper { 
        height: auto; 
        /*min-height: 250px; */
        
    }
    .slide-content { bottom: 8%; left: 4%; max-width: 90%; }
    .title { font-size: 1.6rem; }
    
}

/* ==================== HERO SLIDER ==================== */
.hero-slider {
    width: 100%;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}
.hero-slider__group {
    max-width: 100%;
    margin: 0 auto;
}
.hero-slider__mains {
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.hero-slider__mains:after {
    position: absolute;
    top: 0;
    left: -85%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, var(--fixed-color-ffffff-alpha-0) 0%, var(--fixed-color-ffffff-alpha-0p3) 100%);
    background: linear-gradient(to right, var(--fixed-color-ffffff-alpha-0) 0%, var(--fixed-color-ffffff-alpha-0p3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
    pointer-events: none;
}
.hero-slider__mains:hover:after {
    animation: heroShine 3s;
}
@keyframes heroShine {
    100% { left: 125%; }
}
.hero-slider__main {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 1;
}
.hero-slider__items {
    display: flex;
    z-index: 0;
}
.hero-slider__item.swiper-slide {
    width: 100%;
    background: var(--fixed-color-ffffff);
    position: relative;
    outline: none;
    display: flex;
    justify-content: center;
}
.hero-slider__item__content {
    position: relative;
    overflow: hidden;
    z-index: 2;
    width: 100%;
}
.hero-slider__item__imgbox {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    transition: 0.2s all ease-in-out;
    position: relative;
    width: 100%;
    cursor: pointer;
    height: 90vh;
}

.hero-slider__item__imgbox__img{
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1);
    transition:transform 8s ease;
}

.swiper-slide-active .hero-slider__item__imgbox__img{
    transform:scale(1.12);
}

@media (max-width: 1300px) {
    .hero-slider__item__imgbox { height: 65vh; }
}
@media (max-width: 800px) {
    .hero-slider__item__imgbox { height: 40vh; }
}
@media (max-width: 500px) {
    .hero-slider__item__imgbox { height: 30vh; }
}
.hero-slider__item__bg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 3;
    display: flex;
    pointer-events: none;
    transition: all .5s;
}
.hero-slider__item:not(.swiper-slide-active) .hero-slider__item__bg {
    opacity: 0;
}
.hero-slider__item__bg__overlay {
    width: 16.6666666667%;
    height: 100%;
    overflow: hidden;
    position: absolute;
}
.hero-slider__item__bg__overlay:after {
    content: "";
    width: 0;
    height: 100%;
    position: absolute;
    right: 0;
    z-index: 2;
    background: var(--fixed-color-ffffff-alpha-0p15);
}
.hero-slider__item__bg__overlay__box {
    width: 120rem;
    height: 100%;
    position: absolute;
    transform: translate(0);
    z-index: 1;
    height: 100%;
    background-position: bottom center;
    background-size: cover;
}
.hero-slider__group--max .hero-slider__item__bg__overlay__box {
    width: 100vw;
}
.hero-slider__item__bg__overlay:nth-child(1) { left: 0; }
.hero-slider__item__bg__overlay:nth-child(2) { left: 16.6666666667%; }
.hero-slider__item__bg__overlay:nth-child(3) { left: 33.3333333334%; }
.hero-slider__item__bg__overlay:nth-child(4) { left: 50.0000000001%; }
.hero-slider__item__bg__overlay:nth-child(5) { left: 66.6666666668%; }
.hero-slider__item__bg__overlay:nth-child(6) { left: 83.3333333335%; }

.hero-slider__item:nth-child(2n+1) .hero-slider__item__bg__overlay:nth-child(1) .hero-slider__item__bg__overlay__box { transition: all 1.1s; transform: translateY(-50%); }
.hero-slider__item:nth-child(2n+1).swiper-slide-active .hero-slider__item__bg__overlay:nth-child(1) .hero-slider__item__bg__overlay__box { transform: translateY(0); }
.hero-slider__item:nth-child(2n) .hero-slider__item__bg__overlay:nth-child(1) .hero-slider__item__bg__overlay__box { transition: all 1.1s; transform: translateY(-50%); }
.hero-slider__item:nth-child(2n).swiper-slide-active .hero-slider__item__bg__overlay:nth-child(1) .hero-slider__item__bg__overlay__box { transform: translateY(0); }

.hero-slider__item:nth-child(2n+1) .hero-slider__item__bg__overlay:nth-child(2) .hero-slider__item__bg__overlay__box { transition: all 0.3s; transform: translateX(-16.6666666667%) translateY(-60%); }
.hero-slider__item:nth-child(2n+1).swiper-slide-active .hero-slider__item__bg__overlay:nth-child(2) .hero-slider__item__bg__overlay__box { transform: translateX(-16.6666666667%) translateY(0); }
.hero-slider__item:nth-child(2n) .hero-slider__item__bg__overlay:nth-child(2) .hero-slider__item__bg__overlay__box { transition: all 1.4s; transform: translateX(-16.6666666667%) translateY(-70%); }
.hero-slider__item:nth-child(2n).swiper-slide-active .hero-slider__item__bg__overlay:nth-child(2) .hero-slider__item__bg__overlay__box { transform: translateX(-16.6666666667%) translateY(0); }

.hero-slider__item:nth-child(2n+1) .hero-slider__item__bg__overlay:nth-child(3) .hero-slider__item__bg__overlay__box { transition: all 0.6s; transform: translateX(-33.3333333334%) translateY(-70%); }
.hero-slider__item:nth-child(2n+1).swiper-slide-active .hero-slider__item__bg__overlay:nth-child(3) .hero-slider__item__bg__overlay__box { transform: translateX(-33.3333333334%) translateY(0); }
.hero-slider__item:nth-child(2n) .hero-slider__item__bg__overlay:nth-child(3) .hero-slider__item__bg__overlay__box { transition: all 1.7s; transform: translateX(-33.3333333334%) translateY(-80%); }
.hero-slider__item:nth-child(2n).swiper-slide-active .hero-slider__item__bg__overlay:nth-child(3) .hero-slider__item__bg__overlay__box { transform: translateX(-33.3333333334%) translateY(0); }

.hero-slider__item:nth-child(2n+1) .hero-slider__item__bg__overlay:nth-child(4) .hero-slider__item__bg__overlay__box { transition: all 0.9s; transform: translateX(-50.0000000001%) translateY(-80%); }
.hero-slider__item:nth-child(2n+1).swiper-slide-active .hero-slider__item__bg__overlay:nth-child(4) .hero-slider__item__bg__overlay__box { transform: translateX(-50.0000000001%) translateY(0); }
.hero-slider__item:nth-child(2n) .hero-slider__item__bg__overlay:nth-child(4) .hero-slider__item__bg__overlay__box { transition: all 2s; transform: translateX(-50.0000000001%) translateY(-90%); }
.hero-slider__item:nth-child(2n).swiper-slide-active .hero-slider__item__bg__overlay:nth-child(4) .hero-slider__item__bg__overlay__box { transform: translateX(-50.0000000001%) translateY(0); }

.hero-slider__item:nth-child(2n+1) .hero-slider__item__bg__overlay:nth-child(5) .hero-slider__item__bg__overlay__box { transition: all 1.2s; transform: translateX(-66.6666666668%) translateY(-90%); }
.hero-slider__item:nth-child(2n+1).swiper-slide-active .hero-slider__item__bg__overlay:nth-child(5) .hero-slider__item__bg__overlay__box { transform: translateX(-66.6666666668%) translateY(0); }
.hero-slider__item:nth-child(2n) .hero-slider__item__bg__overlay:nth-child(5) .hero-slider__item__bg__overlay__box { transition: all 2.3s; transform: translateX(-66.6666666668%) translateY(-100%); }
.hero-slider__item:nth-child(2n).swiper-slide-active .hero-slider__item__bg__overlay:nth-child(5) .hero-slider__item__bg__overlay__box { transform: translateX(-66.6666666668%) translateY(0); }

.hero-slider__item:nth-child(2n+1) .hero-slider__item__bg__overlay:nth-child(6) .hero-slider__item__bg__overlay__box { transition: all 1.5s; transform: translateX(-83.3333333335%) translateY(-100%); }
.hero-slider__item:nth-child(2n+1).swiper-slide-active .hero-slider__item__bg__overlay:nth-child(6) .hero-slider__item__bg__overlay__box { transform: translateX(-83.3333333335%) translateY(0); }
.hero-slider__item:nth-child(2n) .hero-slider__item__bg__overlay:nth-child(6) .hero-slider__item__bg__overlay__box { transition: all 2.5s; transform: translateX(-83.3333333335%) translateY(-110%); }
.hero-slider__item:nth-child(2n).swiper-slide-active .hero-slider__item__bg__overlay:nth-child(6) .hero-slider__item__bg__overlay__box { transform: translateX(-83.3333333335%) translateY(0); }

.hero-slider__item__text {
    position: absolute;
    z-index: 4;
    bottom: 15rem;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transition: all 1s;
}
.swiper-slide-active .hero-slider__item__text {
    opacity: 1;
}
.hero-slider__item__text__name {
    color: var(--fixed-color-ffffff);
    font-weight: 600;
    font-size: 4rem;
    letter-spacing: 0.01rem;
    text-shadow: 2px 2px 4px var(--fixed-color-000000-alpha-0p5);
}
@media (max-width: 1200px) { .hero-slider__item__text__name { font-size: 2.6rem; } }
@media (max-width: 800px) { .hero-slider__item__text__name { font-size: 2rem; } }
@media (max-width: 600px) { .hero-slider__item__text__name { font-size: 1.6rem; } }

.hero-slider__pagination {
    width: 100%;
    left: 0 !important;
    display: flex;
    align-items: center;
    bottom: 0 !important;
    z-index: 1;
    justify-content: center;
}
.hero-slider__pagination .swiper-pagination-bullet {
    background: none;
    font-size: 2rem;
    margin: 0 !important;
    padding: 1rem .75rem;
    width: auto;
    border-radius: 0;
    height: max-content;
    color: var(--fixed-color-ffffff-alpha-0p5);
    position: relative;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    opacity: 0.8;
    transition: 0.3s;
}
@media (max-width: 600px) {
    .hero-slider__pagination .swiper-pagination-bullet { font-size: 1.4rem; padding: 0.5rem; }
}
.hero-slider__pagination .swiper-pagination-bullet-active {
    color: var(--fixed-color-ffffff);
    opacity: 1;
}
.hero-slider__pagination .swiper-pagination-bullet__text {
    position: relative;
    z-index: 2;
    display: inline-block;
}
.hero-slider__pagination .swiper-pagination-bullet::after {
    background: var(--fixed-color-d0af7d);
    width: 4.5rem;
    height: 0.4rem;
    position: absolute;
    bottom: 0;
    content: "";
    left: 50%;
    transform: translateX(-50%);
    transition: all .5s;
    z-index: 1;
}
.hero-slider__pagination .swiper-pagination-bullet-active::after {
    height: 5rem;
}
.hero-slider__pagination .swiper-pagination-bullet:hover::after {
    height: 5rem;
}
@media (max-width: 600px) {
    .hero-slider__pagination .swiper-pagination-bullet-active::after,
    .hero-slider__pagination .swiper-pagination-bullet:hover::after {
        height: 4rem;
    }
}

.hero-slider__btn-prev, .hero-slider__btn-next {
    margin: 0;
    padding: 0;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    text-align: center;
    transition: all .5s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fixed-color-000000-alpha-0p5);
    color: var(--fixed-color-ffffff);
}
.hero-slider__btn-prev:hover, .hero-slider__btn-next:hover {
    background: var(--fixed-color-d0af7d);
}
.hero-slider__btn-prev:before, .hero-slider__btn-next:before {
    width: 100%;
    z-index: 2;
    height: 100%;
    position: absolute;
    content: "";
    border-radius: 50%;
    background: var(--fixed-color-ffffff-alpha-0p8);
    animation: heroPulse 3s infinite;
}
.hero-slider__btn-prev:after, .hero-slider__btn-next:after {
    width: 100%;
    z-index: 1;
    height: 100%;
    position: absolute;
    content: "";
    border-radius: 50%;
    background: var(--fixed-color-ffffff-alpha-0p8);
    animation: heroPulse2 3s infinite;
}
@keyframes heroPulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.5; transform: scale(1); }
}
@keyframes heroPulse2 {
    0% { transform: scale(1); opacity: 0.3; }
    50% { opacity: 0.75; transform: scale(1.6); }
    100% { opacity: 0.3; transform: scale(1); }
}

/* Home page content =================================== */
    .product-swiper {
        width: 100%;
        padding: 10px 0 30px; /* Thêm padding dưới cho pagination */
    }
    .product-swiper .swiper-slide {
        height: auto; /* Quan trọng để các thẻ có chiều cao bằng nhau */
    }
    .product-swiper .swiper-slide:hover .product-item {
        box-shadow: 0 8px 25px var(--fixed-color-000000-alpha-0p12);
        transform: translateY(-5px);
    }
    
    .product-swiper .swiper-slide .product-item .product-title {
        color: var(--fixed-color-000000);
    }
    .product-swiper .swiper-button-next,
    .product-swiper .swiper-button-prev {
        color: var(--fixed-color-333333);
        background: var(--fixed-color-ffffff-alpha-0p85);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        box-shadow: 0 2px 8px var(--fixed-color-000000-alpha-0p1);
        transition: 0.3s;
    }
    .product-swiper .swiper-button-next:hover,
    .product-swiper .swiper-button-prev:hover {
        background: var(--fixed-color-ffffff);
        box-shadow: 0 4px 12px var(--fixed-color-000000-alpha-0p2);
    }
    .product-swiper .swiper-button-next:after,
    .product-swiper .swiper-button-prev:after {
        font-size: 18px;
        font-weight: bold;
    }
    .product-swiper .swiper-pagination-bullet {
        background: var(--fixed-color-cccccc);
        opacity: 0.8;
    }
    .product-swiper .swiper-pagination-bullet-active {
        background: var(--fixed-color-e74c3c);
    }
    @media (max-width: 768px) {
        .product-swiper .swiper-button-next,
        .product-swiper .swiper-button-prev {
            display: none; /* Ẩn nút điều hướng trên mobile để tránh che mất hình */
        }
        .product-swiper {
            padding: 10px 0 30px;
        }
    }
    
.product-swiper{
    overflow:hidden;
}

.product-swiper .swiper-wrapper{
    display:flex !important;
    align-items:stretch;
}

.product-swiper .swiper-slide{
    display:block !important;
    height:auto;
    flex-shrink:0;
}

.product-item{
    width:100%;
    text-align: center; 
    padding: 0px; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    background: var(--fixed-color-d0af7d); 
    border-radius: 2px; 
    box-shadow: 0 2px 10px var(--fixed-color-000000-alpha-0p05); 
    transition: 0.3s;
}
.product-item h4{
    margin: 12px 0 5px; font-size: 1rem; flex-grow: 1; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.product-item span{
    color: var(--fixed-color-e74c3c); font-weight: bold; font-size: 1.1rem; margin: 5px 0;
    
}


/* ===== Container chính ===== */
.home-content-section{
    background: var(--fixed-color-000000);
}
.home-content {
    padding: 50px 0px;
}

.home-content-group {
    border-radius: none;
    padding: 0;
    transition: box-shadow 0.3s ease;
}

.home-content-group:hover {
    box-shadow: 0 6px 30px var(--fixed-color-000000-alpha-0p1);
}

/* ===== Heading ===== */
.home-content-heading {
    text-align: center;
    margin-bottom: 25px;
}

.home-content-heading-name span {
    font-weight: 700;
    color: var(--fixed-color-eaeaea);
    letter-spacing: 0.5px;
    display: inline-block;
    padding-bottom: 0px;
}

.home-content-heading-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--fixed-color-c7ac78), var(--fixed-color-e8d5b5));
    margin: 10px auto 0;
    border-radius: 4px;
}

.home-content-heading-sub {
    font-weight: 300;
    color: var(--fixed-color-cecece);
    margin-top: 8px;
    font-size: 14px;
}

/* ===== Icon ===== */
.home-content-icon {
    text-align: center;
    margin-bottom: 20px;
}

.home-content-icon img {
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 2px 6px var(--fixed-color-000000-alpha-0p08));
    margin: 0 auto;
    width: 100%;
}

.home-content-icon i {
    font-size: 3rem;
    color: var(--fixed-color-c7ac78);
}

/* ===== short_content (luôn hiển thị) ===== */
.home-content-short {
    color: var(--fixed-color-f1f1f1);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 14px;
}

/* ===== content đầy đủ (ẩn mặc định) ===== */
.home-content-full {
    display: none;
    color: var(--fixed-color-cecece);
    line-height: 20px;
    margin-top: 15px;
    border-top: 1px dashed var(--fixed-color-e0e0e0);
    padding-top: 15px;
    font-size: 14px;
}


/* Khi checkbox được tick => hiện content */
.home-content-main-check:checked ~ .home-content-full {
    display: block;
}

/* Ẩn checkbox (giữ nguyên để toggle) */
.home-content-main-check {
    display: none;
}

/* ===== Nút toggle ===== */
.home-content-main-bottom {
    text-align: center;
    margin-top: 20px;
}

.home-content-main-bottom-label {
    display: inline-block;
    cursor: pointer;
    color: var(--fixed-color-000000);
    font-weight: 600;
    font-size: 14px;
    padding: 5px 15px;
    border: 2px solid var(--fixed-color-000000);
    border-radius: 30px;
    background: var(--fixed-color-ffffff);
    transition: all 0.25s ease;
    user-select: none;
}

.home-content-main-bottom-label:hover {
    background: var(--fixed-color-c7ac78);
    color: var(--fixed-color-ffffff);
    box-shadow: 0 4px 12px var(--fixed-color-c7ac78-alpha-0p3);
}

.home-content-main-bottom-label i {
    margin-left: 6px;
    font-size: 0.9rem;
}

/* Mặc định: ẩn nút "Rút gọn", hiện nút "Chi tiết" */
.home-content-main-bottom-label--top {
    display: none;
}

/* Khi checkbox được tick: ẩn "Chi tiết", hiện "Rút gọn" */
.home-content-main-check:checked ~ .home-content-main-bottom .home-content-main-bottom-label--down {
    display: none;
}
.home-content-main-check:checked ~ .home-content-main-bottom .home-content-main-bottom-label--top {
    display: inline-block;
}

/* ===== Style chung cho nội dung HTML bên trong ===== */
.home-content-short h2, .home-content-short h3, .home-content-short h4, .home-content-full h2, .home-content-full h3, .home-content-full h4 {
    color: var(--fixed-color-cccccc);
    margin-top: 15px;
    margin-bottom: 10px;
    line-height: 20px;
    font-size: 14px;
}
.home-content-short p,
.home-content-full p {
    margin-bottom: 1rem;
}
.home-content-short img, .home-content-full img {
    max-width: 100%;
    height: 100%;
    border-radius: 0px;
    margin: 0px 0;
    box-shadow: 0 2px 8px var(--fixed-color-000000-alpha-0p06);
    width: 100%;
}
.home-content-short table,
.home-content-full table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}
.home-content-short table td,
.home-content-full table td {
    padding: 0px;
    border: 1px solid var(--fixed-color-eeeeee);
    vertical-align: middle;
}
.home-content-short ul,
.home-content-short ol,
.home-content-full ul,
.home-content-full ol {
    padding-left: 25px;
    margin: 10px 0;
}
.home-content-short li,
.home-content-full li {
    margin-bottom: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .home-content {
        padding: 20px 0px;
    }
    
    .home-content-group {
        padding: 20px 10px;
    }
    .home-content-heading-name span {
        font-size: 1.6rem !important;
    }
    .home-content-icon i {
        font-size: 2.2rem !important;
    }
    .home-content-icon img {
        max-width: 100%;
    }
    .home-content-main-bottom-label {
        font-size: 0.9rem;
        padding: 6px 18px;
    }
}
@media (max-width: 480px) {
    .home-content-heading-name span {
        font-size: 1.3rem !important;
    }
}

.home-collections-section {
    background: var(--background);
    border-top: solid 1px var(--fixed-color-d0af7d);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}
.product-card {
    background: var(--background-2);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: solid 1px var(--background);
    box-shadow: 0px 0px 3px var(--fixed-color-b3b0b0);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--fixed-color-000000-alpha-0p12);
}
.product-image {
    position: relative;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--fixed-color-d0af7d);
    color: var(--fixed-color-ffffff);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}
.wishlist-btn-img {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--fixed-color-ffffff-alpha-0p9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    color: var(--fixed-color-cccccc);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wishlist-btn-img.active {
    color: var(--fixed-color-e74c3c);
}
.wishlist-btn-img:hover {
    background: var(--fixed-color-ffffff);
    transform: scale(1.1);
}
.product-info {
    padding: 15px;
    text-align: center;
    display: grid;
    gap: 0px;
}
.product-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 0px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: auto;
    line-height: 30px;
}
.product-title a{
    color: var(--text);
}
.product-title a:hover{
    color: var(--fixed-color-4c4c4c);
}
.product-price {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 5px;
}
.product-price old {
    font-size: 14px;
    font-weight: 400;
    color: var(--fixed-color-999999);
    text-decoration: line-through;
    margin-left: 8px;
}
.product-actions {
    display: flex;
    gap: 8px;
}
.product-actions button {
    flex: 1;
    padding: 8px 0;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}
.add-to-cart-btn {
    background: var(--primary-2);
    color: var(--fixed-color-ffffff);
}
.add-to-cart-btn:hover {
    background: var(--fixed-color-1e272e);
}
.buynow-btn {
    background: var(--fixed-color-c0392b);
    color: var(--fixed-color-ffffff);
}
.buynow-btn:hover {
    background: var(--fixed-color-a93226);
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.pagination .page-btn {
    min-width: 36px;
    height: 36px;
    border: 1px solid var(--fixed-color-edd5a6);
    background: var(--fixed-color-ffffff);
    border-radius: 100%;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}
.pagination .page-btn.active {
    background: var(--fixed-color-edd5a6);
    color: var(--fixed-color-000000);
}
.pagination .page-btn:hover:not(.active) {
    background: var(--fixed-color-f5f5f5);
}
.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: var(--fixed-color-888888);
}
.empty-cart i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--fixed-color-555555);
}
.quick-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--fixed-color-333333);
    color: var(--fixed-color-ffffff);
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px var(--fixed-color-000000-alpha-0p3);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
    opacity: 0;
    z-index: 9999;
    pointer-events: none;
}
.quick-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* ==================== CATEGORIES ==================== */
.homepage-section{
    padding: 30px 0px;
}

.category-section {
    margin-bottom: 0px;
    background: var(--background);
    border-top: solid 1px var(--fixed-color-898988);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    text-align: center;
    background: var(--fixed-color-edd5a6);
    padding: 0px 0px;
    border-radius: 0px;
    transition: var(--transition);
    cursor: pointer;
    padding-bottom: 10px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.category-card i {
    font-size: 48px;
    color: var(--fixed-color-d0af7d);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 14px;
    color: var(--base-color);
    margin-bottom: 0px;
    font-weight: normal;
    line-height: initial;
    text-transform: uppercase;
    padding: 10px 0px;
}

.category-card .category-card-button {
    text-decoration: none;
    color: var(--fixed-color-e5e0d8);
    transition: var(--transition);
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    background: var(--fixed-color-4c4c4c);
}

.category-card a:hover{
    text-decoration: none;
    color: var(--fixed-color-ffffff);
    transition: var(--transition);
}

.category-card p {
    color: var(--text-light);
}


/* Hiện góc khi card được kích hoạt */
.category-card.inview .corner {
    opacity: 1;
}

/* ===== KÍCH HOẠT ANIMATION ===== */
.category-card.inview .top {
    animation: drawTop 10s ease-in-out infinite;
}
.category-card.inview .right {
    animation: drawRight 10s ease-in-out infinite;
}
.category-card.inview .bottom {
    animation: drawBottom 10s ease-in-out infinite;
}
.category-card.inview .left {
    animation: drawLeft 10s ease-in-out infinite;
}

/* ===== KEYFRAMES – VẼ CÁC CẠNH ===== */

/* Top: 0% → 15% (trái → phải) */
@keyframes drawTop {
    0%   { transform: scaleX(0); opacity: 0; }
    15%  { transform: scaleX(1); opacity: 1; }
    80%  { transform: scaleX(1); opacity: 1; }
    90%  { transform: scaleX(0); opacity: 0; }
    100% { transform: scaleX(0); opacity: 0; }
}

/* Right: 15% → 30% (trên → dưới) */
@keyframes drawRight {
    0%   { transform: scaleY(0); opacity: 0; }
    15%  { transform: scaleY(0); opacity: 0; }
    30%  { transform: scaleY(1); opacity: 1; }
    80%  { transform: scaleY(1); opacity: 1; }
    90%  { transform: scaleY(0); opacity: 0; }
    100% { transform: scaleY(0); opacity: 0; }
}

/* Bottom: 30% → 45% (phải → trái) */
@keyframes drawBottom {
    0%   { transform: scaleX(0); opacity: 0; }
    30%  { transform: scaleX(0); opacity: 0; }
    45%  { transform: scaleX(1); opacity: 1; }
    80%  { transform: scaleX(1); opacity: 1; }
    90%  { transform: scaleX(0); opacity: 0; }
    100% { transform: scaleX(0); opacity: 0; }
}

/* Left: 45% → 60% (dưới → lên) */
@keyframes drawLeft {
    0%   { transform: scaleY(0); opacity: 0; }
    45%  { transform: scaleY(0); opacity: 0; }
    60%  { transform: scaleY(1); opacity: 1; }
    80%  { transform: scaleY(1); opacity: 1; }
    90%  { transform: scaleY(0); opacity: 0; }
    100% { transform: scaleY(0); opacity: 0; }
}

/* ===== HIỆU ỨNG GLOW CHO VIỀN KHI HOVER ===== */
.category-card:hover .line {
    animation-play-state: paused;        /* tạm dừng animation khi hover */
    opacity: 1 !important;
    transform: scale(1) !important;
    background: linear-gradient(90deg, var(--fixed-color-f9d423), var(--fixed-color-ff6b6b), var(--fixed-color-f9d423));
    background-size: 300% 100%;
    animation: glowPulse 1.5s ease-in-out infinite;
}
/* Thêm animation glow riêng khi hover */
@keyframes glowPulse {
    0%   { filter: brightness(1); box-shadow: 0 0 12px var(--fixed-color-ffd700-alpha-0p5); }
    50%  { filter: brightness(1.6); box-shadow: 0 0 30px var(--fixed-color-ffd700-alpha-0p9); }
    100% { filter: brightness(1); box-shadow: 0 0 12px var(--fixed-color-ffd700-alpha-0p5); }
}

/* Nếu hover, ẩn góc tạm thời để viền nổi bật */
.category-card:hover .corner {
    opacity: 0.3 !important;
    transition: opacity 0.3s;
}


/* ==================== PRODUCTS ==================== */

/* ===== SIDEBAR ===== */
.sidebar-widget {
    background: var(--background);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.sidebar-widget .widget-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--fixed-color-edd5a6);
    padding: 10px 15px;
    border-radius: 5px;
}
.sidebar-widget .widget-title i {
    color: var(--fixed-color-000000);
}

/* ===== CATEGORY CHECKBOX LIST ===== */
.sidebar-widget .category-list {
    list-style: none;
    margin: 0;
    padding: 0px 10px 20px 10px;
}

.sidebar-widget .category-list li:last-child {
    margin-bottom: 0;
}

.sidebar-widget .category-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 0px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--fixed-color-212529);
    text-decoration: none;
}

.sidebar-widget .category-item:hover {
    background: var(--fixed-color-d0af7d);
    color: var(--fixed-color-000000);
}


.category-item .cat-name {
    flex: 1;
    font-size: 14px;
    color: var(--text);
}



.category-item .cat-count {
    font-size: 12px;
    color: var(--fixed-color-adb5bd);
    background: var(--fixed-color-f1f3f5);
    padding: 2px 8px;
    border-radius: 12px;
}

.category-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--fixed-color-000000);
}



.category-item.active {
    background: var(--fixed-color-d0af7d);
    color: var(--fixed-color-000000);
}

.category-item.active .cat-count {
    background: var(--fixed-color-d0e3ff);
}

/* Category children indentation */
.category-children {
    padding-left: 15px;
    margin-top: 5px;
    border-left: 2px solid var(--fixed-color-e9ecef);
}

/* ===== PRICE FILTER ===== */
.price-filter {
    padding: 10px;
}

.price-range-slider {
    margin: 0px 0;
    padding: 0 5px;
}

.price-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}

.price-inputs .price-group {
    flex: 1;
}

.price-inputs label {
    font-size: 12px;
    color: var(--fixed-color-6c757d);
    display: block;
    margin-bottom: 3px;
}

.price-inputs input[type="number"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--fixed-color-dee2e6);
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.price-inputs input[type="number"]:focus {
    border-color: var(--fixed-color-000000);
}

  .price-range-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--fixed-color-dddddd);
    border-radius: 4px;
    outline: none;
  }
  .price-range-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: var(--fixed-color-dddddd);
    border-radius: 4px;
  }
  .price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--fixed-color-007bff);
    border-radius: 50%;
    cursor: pointer;
    margin-top: -7px;
    border: 2px solid var(--fixed-color-ffffff);
    box-shadow: 0 2px 4px var(--fixed-color-000000-alpha-0p2);
  }
  /* Firefox */
  .price-range-slider input[type="range"]::-moz-range-track {
    height: 6px;
    background: var(--fixed-color-dddddd);
    border-radius: 4px;
    border: none;
  }
  .price-range-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--fixed-color-007bff);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--fixed-color-ffffff);
  }
  /* Đổi màu riêng cho từng slider nếu muốn */
  #priceMinSlider::-webkit-slider-thumb {
    background: var(--fixed-color-28a745);
  }
  #priceMaxSlider::-webkit-slider-thumb {
    background: var(--fixed-color-dc3545);
  }
  #priceMinSlider::-moz-range-thumb {
    background: var(--fixed-color-28a745);
  }
  #priceMaxSlider::-moz-range-thumb {
    background: var(--fixed-color-dc3545);
  }

.price-separator {
    color: var(--fixed-color-6c757d);
    font-size: 14px;
    padding-top: 18px;
}

.btn-apply-filter {
    width: 100%;
    padding: 10px;
    margin-top: 12px;
    background: var(--fixed-color-d0af7d);
    color: var(--fixed-color-ffffff);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-apply-filter:hover {
    background: var(--primary-2);
}

.btn-reset-filter {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    background: var(--fixed-color-f8f9fa);
    color: var(--fixed-color-6c757d);
    border: 1px solid var(--fixed-color-dee2e6);
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reset-filter:hover {
    background: var(--fixed-color-e9ecef);
}

#catRecentlyViewedList{
    padding: 10px;
}
#catProductCount{
    color:var(--fixed-color-6c757d);font-size:14px;margin-top:5px;
}
.recent-item {
    display:flex;
    gap:10px;
    padding:8px 0;
    border-bottom:1px solid var(--fixed-color-f1f3f5);
    text-decoration:none;
    color:inherit;
}
.recent-item img{
    width:70px;
    height:70px;
    flex-shrink:0;
    border-radius:3px;
    overflow:hidden;
    
}
.recent-item-content{
    
}
.recent-item-content-price{
    color: var(--text-light);
}
.recent-item-content-price:hover{
    color: var(--fixed-color-d0af7d);
}
.recent-item .recent-item-content h4{
    font-size:14px;
    font-weight:600;
    color: var(--text-light);
}
.recent-item .recent-item-content h4:hover{
    color: var(--text-light-hover);
}
/* ===== PRODUCT GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}



/* ===== LOADING & EMPTY ===== */
.loading-spinner {
    text-align: center;
    padding: 60px 0;
    color: var(--fixed-color-6c757d);
    font-size: 16px;
}

.loading-spinner i {
    font-size: 30px;
    display: block;
    margin-bottom: 15px;
    color: var(--fixed-color-000000);
}

.empty-cart {
    text-align: center;
    padding: 60px 0;
    color: var(--fixed-color-6c757d);
}

.empty-cart i {
    font-size: 48px;
    color: var(--fixed-color-dee2e6);
    display: block;
    margin-bottom: 15px;
}

/* ===== SELECTED CATEGORIES BADGE ===== */
.selected-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    padding: 10px 0;
}

.selected-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--border);
    color: var(--fixed-color-000000);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.selected-category-badge .remove {
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--fixed-color-6c757d);
    transition: color 0.2s;
}

.selected-category-badge .remove:hover {
    color: var(--fixed-color-dc3545);
}

/* ===== SIDEBAR TOGGLE MOBILE ===== */

.sidebar-toggle-btn i {
    margin-right: 8px;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--fixed-color-000000-alpha-0p5);
    z-index: 998;
}

.sidebar-overlay.active {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .category-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        overflow-y: auto;
        z-index: 999;
        background: var(--fixed-color-ffffff);
        padding: 20px;
        transition: left 0.3s ease;
        max-width: 320px;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-title {
        font-size: 12px;
        height: 34px;
    }
    
    .product-price {
        font-size: 15px;
    }
    
    .product-actions button {
        font-size: 11px;
        padding: 6px;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


/* ==================== BANNER (LUXE) ==================== */
.banner-section--luxe {
    background: var(--fixed-color-000000);
    padding: 40px 0;
}

.banner--luxe {
    position: relative;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--fixed-color-ffffff);
    box-shadow: 0 20px 50px var(--fixed-color-000000-alpha-0p35);
}

/* Lớp phủ gradient êm dịu thay cho nền đen phẳng cũ */
.banner--luxe::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Khung viền vàng mảnh, cách mép một chút - tạo cảm giác "khung tranh" */
.banner-frame {
    position: absolute;
    inset: 14px;
    border: 1px solid var(--fixed-color-d4af37-alpha-0p45);
    border-radius: 12px;
    z-index: 2;
    pointer-events: none;
}

.banner-content--luxe {
    position: relative;
    z-index: 3;
    background: var(--fixed-color-000000);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--fixed-color-d4af37-alpha-0p25);
    padding: 40px 45px;
    border-radius: 16px;
    max-width: 640px;
    margin: 0 20px;
}

.banner-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--fixed-color-e6c468);
    margin-bottom: 10px;
    font-weight: 600;
}

.banner-content--luxe h3 {
    font-size: 34px;
    font-family: fangsong;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--fixed-color-f9e08c), var(--fixed-color-d4af37), var(--fixed-color-f9e08c));
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--fixed-color-transparent);
}

.banner-divider {
    display: block;
    width: 70px;
    height: 2px;
    margin: 18px auto;
    background: linear-gradient(90deg, var(--fixed-color-transparent), var(--fixed-color-d4af37), var(--fixed-color-transparent));
}

.banner-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--fixed-color-f0e9dc);
    opacity: 0.9;
    margin-bottom: 25px;
}

.banner-content--luxe .btn-call-action {
    display: inline-block;
    padding: 12px 32px;
    font-size: 15px;
    font-family: inherit;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--fixed-color-edd5a6), var(--fixed-color-f9d388));
    color: var(--fixed-color-1a1200);
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 30px;
    border: none;
    box-shadow: 0 8px 20px var(--fixed-color-d4af37-alpha-0p25);
    transition: all 0.3s ease;
}
.banner-content--luxe .btn-call-action:hover {
    background: linear-gradient(135deg, var(--fixed-color-f9e08c), var(--fixed-color-d4af37));
    color: var(--fixed-color-1a1200);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px var(--fixed-color-d4af37-alpha-0p4);
}

@media (max-width: 768px) {
    .banner--luxe { min-height: 320px; border-radius: 14px; }
    .banner-frame { inset: 8px; }
    .banner-content--luxe { padding: 28px 22px; }
    .banner-content--luxe h3 { font-size: 24px; }
    .banner-desc { font-size: 14px; }
}

/* ==================== ABOUT SECTION (LUXE) ==================== */
.about-section--luxe {
    background: var(--background-2);
    padding: 70px 0;
    transition: background 0.3s;
    border-top: solid 1px var(--border);
    overflow: hidden;
}

.about-content--luxe {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ===== ẢNH: khung viền lệch phía sau tạo chiều sâu ===== */
.about-image--luxe {
    position: relative;
}

.about-image-frame {
    position: absolute;
    top: 22px;
    left: 22px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--fixed-color-edd5a6);
    border-radius: 16px;
    z-index: 0;
}

.about-image--luxe img {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    width: 100%;
    display: block;
    box-shadow: 0 20px 45px var(--fixed-color-000000-alpha-0p18);
}

/* ===== NỘI DUNG ===== */
.about-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--fixed-color-a17c30);
    font-weight: 700;
    margin-bottom: 12px;
}

.about-text--luxe h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0;
    font-family: fangsong;
    line-height: 1.25;
}

.about-divider {
    display: block;
    width: 80px;
    height: 3px;
    margin: 5px 0 22px;
    background: linear-gradient(90deg, var(--fixed-color-d4af37), var(--fixed-color-transparent));
    border-radius: 3px;
}

.about-desc p {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-light);
}
.about-desc p:last-child {
    margin-bottom: 26px;
}

.about-btn-luxe {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--fixed-color-766c56);
    background: var(--fixed-color-transparent);
    border: 2px solid var(--fixed-color-edd5a6);
    border-radius: 30px;
    transition: all 0.3s ease;
}
.about-btn-luxe i {
    font-size: 12px;
    transition: transform 0.25s ease;
}
.about-btn-luxe:hover {
    background: linear-gradient(135deg, var(--fixed-color-f9e08c), var(--fixed-color-d4af37));
    color: var(--fixed-color-1a1200);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px var(--fixed-color-d4af37-alpha-0p3);
}
.about-btn-luxe:hover i {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .about-content--luxe {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image-frame {
        top: 16px;
        left: 16px;
    }
}
@media (max-width: 768px) {
    .about-section--luxe {
        padding: 45px 0;
    }
    .about-text--luxe h3 {
        font-size: 28px;
    }
    .about-desc p {
        font-size: 15px;
        line-height: 1.7;
    }
}
/* ==================== TESTIMONIALS (2 cột slider) ==================== */
/* ==================== TESTIMONIALS (LUXE) ==================== */
.testimonial-section--luxe {
    margin-bottom: 0px;
    background: var(--background);
    padding: 50px 0;
    color: var(--text-light);
    transition: background 0.3s;
    position: relative;
}
.testimonial-section--luxe .section-title {
    color: var(--text-light);
}
.testimonial-section--luxe .section-title:after {
    background: var(--accent);
}

/* Container swiper */
.testimonial-swiper--luxe {
    position: relative;
    background: var(--fixed-color-transparent);
    border-radius: 20px;
    padding: 10px 45px;
    margin-top: 30px;
    max-width: 850px;
}

.testimonial-item--luxe {
    padding: 10px 10px 25px;
}

/* Card kính mờ, viền gradient vàng mảnh */
.testimonial-row--luxe {
    position: relative;
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--card-bg);
    border-radius: 18px;
    padding: 30px 30px;
    border: 1px solid var(--fixed-color-d4af37-alpha-0p3);
    box-shadow: 0 15px 40px var(--fixed-color-000000-alpha-0p08);
    min-height: 220px;
    overflow: hidden;
    margin: 0 auto;
}

/* Watermark dấu ngoặc kép lớn ở góc */
.testimonial-watermark {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 70px;
    color: var(--fixed-color-d4af37-alpha-0p12);
    z-index: 0;
    pointer-events: none;
}

/* Cột trái – avatar viền gradient vàng */
.testimonial-col-left {
    flex: 0 0 auto;
    width: 110px;
    max-width: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.testimonial-avatar-wrapper--luxe {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--fixed-color-f9e08c), var(--fixed-color-d4af37), var(--fixed-color-a17c30));
    box-shadow: 0 10px 25px var(--fixed-color-d4af37-alpha-0p3);
    flex-shrink: 0;
}
.testimonial-avatar-wrapper--luxe .testimonial-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    border: 3px solid var(--card-bg);
}

/* Cột phải */
.testimonial-col-right--luxe {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    min-width: 0;
}

.testimonial-stars--luxe {
    color: var(--star-color);
    font-size: 13px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.testimonial-text--luxe {
    font-size: 1.05rem;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text);
    word-wrap: break-word;
}

.testimonial-author-block {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-light);
}
.testimonial-author::after {
    content: '';
}
.testimonial-role {
    font-size: 0.88rem;
    opacity: 0.75;
    color: var(--fixed-color-a17c30);
    position: relative;
    padding-left: 12px;
}
.testimonial-role::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--fixed-color-d4af37);
}

/* ===== NÚT ĐIỀU HƯỚNG (prev / next) ===== */
.testimonial-swiper--luxe .swiper-button-next,
.testimonial-swiper--luxe .swiper-button-prev {
    color: var(--fixed-color-1a1200);
    background: linear-gradient(135deg, var(--fixed-color-edd5a6), var(--fixed-color-edd5a6));
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 6px 16px var(--fixed-color-d4af37-alpha-0p3);
    top: 50%;
}
.testimonial-swiper--luxe .swiper-button-next:hover,
.testimonial-swiper--luxe .swiper-button-prev:hover {
    background: linear-gradient(135deg, var(--fixed-color-a17c30), var(--fixed-color-7a5e22));
    color: var(--fixed-color-ffffff);
    transform: scale(1.08);
}
.testimonial-swiper--luxe .swiper-button-next::after,
.testimonial-swiper--luxe .swiper-button-prev::after {
    display: none;
}
.testimonial-swiper--luxe .swiper-button-next i,
.testimonial-swiper--luxe .swiper-button-prev i {
    font-size: 13px;
}
.testimonial-swiper--luxe .swiper-button-next {
    right: 0;
}
.testimonial-swiper--luxe .swiper-button-prev {
    left: 0;
}

/* ===== PAGINATION (dấu chấm) ===== */
.testimonial-swiper--luxe .swiper-pagination {
    bottom: 0;
    position: relative;
    margin-top: 5px;
}
.testimonial-swiper--luxe .swiper-pagination-bullet {
    background: var(--border);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}
.testimonial-swiper--luxe .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, var(--fixed-color-f9e08c), var(--fixed-color-d4af37));
    width: 22px;
    border-radius: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .testimonial-swiper--luxe {
        padding: 10px 40px;
    }
    .testimonial-row--luxe {
        gap: 18px;
        padding: 22px 20px;
        min-height: auto;
        flex-wrap: nowrap;
    }
    .testimonial-col-left {
        width: 80px;
        max-width: 80px;
    }
    .testimonial-avatar-wrapper--luxe {
        width: 80px;
        height: 80px;
    }
    .testimonial-text--luxe {
        font-size: 0.92rem;
        line-height: 1.6;
    }
    .testimonial-watermark {
        font-size: 50px;
    }
    .testimonial-author {
        font-size: 0.95rem;
    }
    .testimonial-role {
        font-size: 0.8rem;
    }
    .testimonial-stars--luxe {
        font-size: 0.95rem;
    }
    .testimonial-swiper--luxe .swiper-button-next,
    .testimonial-swiper--luxe .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .testimonial-swiper--luxe {
        padding: 10px 8px;
    }
    .testimonial-row--luxe {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 12px;
        padding: 25px 18px;
    }
    .testimonial-author-block {
        justify-content: center;
    }
    .testimonial-col-left {
        width: 70px;
        max-width: 70px;
    }
    .testimonial-avatar-wrapper--luxe {
        width: 70px;
        height: 70px;
    }
    .testimonial-text--luxe {
        font-size: 0.88rem;
    }
    .testimonial-stars--luxe {
        justify-content: center;
        display: flex;
    }
    .testimonial-swiper--luxe .swiper-button-next {
        right: -4px;
    }
    .testimonial-swiper--luxe .swiper-button-prev {
        left: -4px;
    }
    .testimonial-swiper--luxe .swiper-button-next,
    .testimonial-swiper--luxe .swiper-button-prev {
        width: 28px;
        height: 28px;
    }
}
/* ==================== PROJECTS (LUXE) ==================== */
.project-section--luxe {
    margin-bottom: 0px;
    background: var(--background-2);
    border-top: solid 1px var(--fixed-color-d0af7d);
    padding: 50px 0;
}

.project-grid--luxe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card--luxe {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--fixed-color-000000-alpha-0p12);
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.45s ease;
}

.project-card--luxe:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px var(--fixed-color-000000-alpha-0p22);
}

.project-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.project-img-wrap .project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.project-card--luxe:hover .project-img {
    transform: scale(1.12);
}

/* Số thứ tự dự án - chi tiết trang trí cao cấp */
.project-num {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-family: fangsong;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--fixed-color-1a1200);
    background: linear-gradient(135deg, var(--fixed-color-f9e08c), var(--fixed-color-d4af37));
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px var(--fixed-color-000000-alpha-0p25);
}

/* Overlay kính mờ trượt lên từ đáy khi hover */
.project-overlay--luxe {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 0px 20px 35px;
    background: linear-gradient(180deg, var(--fixed-color-0f0c08-alpha-0) 0%, var(--fixed-color-0f0c08-alpha-0p75) 40%, var(--fixed-color-0f0c08-alpha-0p95) 100%);
    color: var(--fixed-color-ffffff);
    transform: translateY(30%);
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.project-card--luxe:hover .project-overlay--luxe {
    transform: translateY(0);
}

.project-overlay--luxe h4,
.project-overlay--luxe h4 a {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--fixed-color-f5e3ae);
    transition: color 0.25s;
}
.project-overlay--luxe h4 a:hover {
    color: var(--fixed-color-ffffff);
}

.project-overlay--luxe p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--fixed-color-e6dcc8);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.35s ease 0.05s, max-height 0.35s ease;
    margin-bottom: 0;
}
.project-card--luxe:hover .project-overlay--luxe p {
    opacity: 0.9;
    max-height: 60px;
    margin-bottom: 10px;
}

.project-card--luxe .project-card-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--fixed-color-transparent);
    border: 1px solid var(--fixed-color-d4af37-alpha-0p6);
    border-radius: 25px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fixed-color-f5e3ae);
    transition: all 0.25s ease;
}
.project-card--luxe .project-card-button:hover {
    background: linear-gradient(135deg, var(--fixed-color-e6c468), var(--fixed-color-a17c30));
    border-color: var(--fixed-color-transparent);
    color: var(--fixed-color-1a1200);
}
.project-card--luxe .project-card-button i {
    font-size: 11px;
    transition: transform 0.25s ease;
}
.project-card--luxe .project-card-button:hover i {
    transform: translateX(3px);
}

@media (max-width: 1024px) {
    .project-grid--luxe {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .project-grid--luxe {
        grid-template-columns: 1fr;
    }
    .project-overlay--luxe {
        transform: translateY(0);
    }
    .project-overlay--luxe p {
        opacity: 0.9;
        max-height: 60px;
        margin-bottom: 10px;
    }
}
/* ==================== BLOGS =================== */
.blogs-pages{
    background: var(--background);
    padding: 30px 0px;
}
/* ===== BLOG GRID STYLES ===== */
.loading-spinner {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: var(--fixed-color-888888);
}

/* Grid layout */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: var(--primary-2);
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px var(--fixed-color-000000-alpha-0p1);
    border: 1px solid var(--fixed-color-e2e8f0);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -12px var(--fixed-color-000000-alpha-0p15);
    border-color: var(--border, var(--fixed-color-cbd5e0));
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px 22px 22px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--fixed-color-ffffff);
    margin-bottom: 8px;
    padding: 10px 0px;
    border-top: solid 1px var(--border);
    border-bottom: solid 1px var(--border);
}

.meta-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.meta-comment {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.post-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--card-bg-2, var(--fixed-color-edf2f7));
    color: var(--primary, var(--fixed-color-2b6cb0));
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.blog-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.4;
    color: var(--text-white);
}

.blog-title a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.2s;
}

.blog-title a:hover {
    color: var(--accent, var(--fixed-color-3182ce));
}

.btn-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    transition: gap 0.2s, color 0.2s;
    border-radius: 3px;
    border: solid 1px var(--text-light);
    padding: 3px 10px;
}

.btn-readmore:hover {
    gap: 8px;
    color: var(--primary, var(--fixed-color-2b6cb0));
}

.no-results {
    
}


.no-results h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.no-results p {
    color: var(--fixed-color-718096);
}

/* SIDEBAR */
.category-layout {
    display: flex;
    gap: 40px;
    margin-top: 10px;
    margin-bottom: 60px;
}

.sidebar {
    flex: 0 0 250px;
    min-width: 250px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.category-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    text-decoration: none;
    color: var(--border);
    transition: background 0.2s, color 0.2s;
    background: var(--card-bg);
    border-radius: 25px;
    max-width: max-content;
}
.category-link:hover {
    background: var(--light-bg, var(--fixed-color-f7fafc));
    color: var(--primary, var(--fixed-color-2b6cb0));
}
.category-link.active {
    background: var(--primary, var(--fixed-color-2b6cb0));
    color: var(--fixed-color-ffffff);
}
.category-link i {
    width: 20px;
    text-align: center;
}
.main-content {
    flex: 1;
    min-width: 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.pagination button {
    min-width: 40px;
    height: 40px;
    border: 1px solid var(--fixed-color-e2e8f0);
    background: var(--fixed-color-ffffff);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}
.pagination button:hover {
    background: var(--fixed-color-f7fafc);
}
.pagination button.active {
    background: var(--primary, var(--fixed-color-2b6cb0));
    color: var(--fixed-color-ffffff);
    border-color: var(--primary, var(--fixed-color-2b6cb0));
}

/* Sidebar toggle mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--fixed-color-000000-alpha-0p4);
    z-index: 999;
}
.sidebar-overlay.active {
    display: block;
}

@media (max-width: 991px) {
    .category-layout {
        flex-direction: column;
        gap: 20px;
    }
    .main-content {
        padding: 0 15px;
    }
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 640px) {
    .blogs-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== BLOG (LUXE) ==================== */
.blog-section--luxe {
    background: var(--background-2);
    padding: 50px 0;
    transition: background 0.3s;
    border-top: solid 1px var(--border);
}

.blog-grid--luxe {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 30px;
}

.blog-card--luxe {
    background: var(--card-bg);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px var(--fixed-color-000000-alpha-0p06);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card--luxe:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px var(--fixed-color-000000-alpha-0p14);
    border-color: var(--fixed-color-d4af37-alpha-0p5);
}

.blog-img--luxe {
    display: block;
    height: 210px;
    overflow: hidden;
    position: relative;
}
.blog-img--luxe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.blog-card--luxe:hover .blog-img--luxe img {
    transform: scale(1.1);
}

.blog-content--luxe {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta--luxe {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border);
}
.blog-meta--luxe i {
    margin-right: 5px;
    color: var(--fixed-color-d5b474);
}

.blog-title--luxe {
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    margin-bottom: 3px;
}
.blog-title--luxe a {
    color: var(--fixed-color-857358);
    transition: color 0.25s;
}
.blog-title--luxe a:hover {
    color: var(--fixed-color-a17c30);
}

.blog-excerpt--luxe {
    color: var(--text-light);
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 5px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-readmore-luxe {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-size: 13px;
    font-weight: 600;
    color: var(--fixed-color-a17c30);
    border-bottom: 1px solid var(--fixed-color-transparent);
    transition: all 0.25s ease;
}
.blog-readmore-luxe i {
    font-size: 11px;
    transition: transform 0.25s ease;
}
.blog-readmore-luxe:hover {
    color: var(--fixed-color-d4af37);
    border-bottom-color: var(--fixed-color-d4af37);
}
.blog-readmore-luxe:hover i {
    transform: translateX(3px);
}

@media (max-width: 1024px) {
    .blog-grid--luxe {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .blog-grid--luxe {
        grid-template-columns: 1fr;
    }
}

/* ==================== CAM KẾT & CHỨNG NHẬN (LUXE) ==================== */
.cert-section--luxe {
    padding: 50px 0;
    background: var(--background);
    transition: background 0.3s;
    border-top: solid 1px var(--fixed-color-d0af7d);
}

.cert-grid--luxe {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    margin-top: 30px;
}

.cert-item--luxe {
    position: relative;
    background: var(--background-2);
    padding: 35px 20px 30px;
    border-radius: 16px;
    border: 1px solid var(--fixed-color-d4af37-alpha-0p25);
    box-shadow: 0 8px 25px var(--fixed-color-000000-alpha-0p06);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
}

.cert-item--luxe:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--fixed-color-d4af37-alpha-0p18);
    border-color: var(--fixed-color-d4af37-alpha-0p6);
}

/* Góc trang trí vàng - phong cách bằng chứng nhận */
.cert-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid var(--fixed-color-d4af37);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}
.cert-corner--tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.cert-corner--br { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.cert-item--luxe:hover .cert-corner { opacity: 1; }

/* Khung ảnh dạng huy hiệu tròn, viền gradient vàng */
.cert-image--luxe {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}
.cert-item--luxe:hover .cert-image--luxe {
    transform: rotate(8deg) scale(1.05);
}
.cert-image--luxe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: var(--fixed-color-ffffff);
    border: 3px solid var(--background-2);
}

.cert-item-content-box {
    padding: 0 5px;
}

.cert-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-desc {
    font-size: 13px;
    color: var(--secondary-light);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .cert-grid--luxe {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .cert-grid--luxe {
        grid-template-columns: 1fr;
    }
}



/* ==================== FOOTER ==================== */
#footer {
    background: var(--fixed-color-000000);
    color: var(--text-white);
    padding: 50px 0 0;
    transition: background 0.3s;
    border-top: solid 1px var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-white);
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--fixed-color-d0af7d);
}

.footer-widget p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-white);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-white);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--text-light-hover);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--text-white);
}

.footer-bottom {
    background: var(--fixed-color-000000-alpha-0p3);
    padding: 20px 0;
    text-align: center;
}

.social-widget ul{
    display: flex;
    gap: 10px;
}
.social-widget .social-item{
    background: var(--card-bg);
    padding: 8px;
    border-radius: 4px;
    width: 36px;
    height: 40px;
    text-align: center;
}
/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--fixed-color-d0af7d);
    color: var(--fixed-color-ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: var(--card-bg);
    z-index: 1001;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 2px 0 10px var(--fixed-color-000000-alpha-0p1);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: var(--fixed-color-000000);
    color: var(--fixed-color-ffffff);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-header h3 {
    color: var(--fixed-color-ffffff);
    margin: 0;
}

.close-menu {
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-menu:hover {
    transform: rotate(90deg);
}
.mobile-nav{
    border-bottom: solid 1px var(--fixed-color-b28f61);
}

.mobile-nav ul li:after {
    border-top: 1px solid var(--border);
}

.mobile-nav ul li a {
    display: block;
    padding: 10px 10px;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    border-top: solid 1px var(--fixed-color-b28f61);
}

.mobile-nav ul li a:hover {
    background: var(--light-bg);
    color: var(--fixed-color-d0af7d);
}

.mobile-nav ul li.has-sub > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav ul li.has-sub .mobile-submenu li a {
    padding: 10px 10px 10px 0px;
    border-top: solid 1px var(--fixed-color-b28f61);
}
.mobile-nav ul li.has-sub .fa-chevron-down:before {
    content: "\f078";
    font-size: 11px;
    padding: 13px;
    border-left: solid 1px var(--fixed-color-b28f61);
}

.mobile-submenu {
    display: none;
    background: var(--light-bg);
    padding-left: 15px;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu .has-sub-level3 > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-submenu .submenu-level3 {
    display: none;
    padding-left: 15px;
    background: var(--card-bg);
}
.mobile-submenu .submenu-level3.active {
    display: block;
}

.mobile-mega-cols {
    padding: 0px;
    background: var(--light-bg);
}

.mobile-mega-col {
    margin-bottom: 2px;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
}

.mobile-mega-col-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    padding: 15px 20px;
    background: var(--fixed-color-f0f0f0);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dark-mode .mobile-mega-col-title {
    background: var(--fixed-color-2a2a2a);
}

.mobile-mega-col-content {
    display: none;
    padding: 10px 15px;
}

.mobile-mega-col-content.active {
    display: block;
}

.mobile-mega-col-content ul li a {
    padding: 10px 15px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--fixed-color-000000-alpha-0p5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== MODAL CHO THÊM VÀO GIỎ ==================== */
.addcart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--fixed-color-000000-alpha-0p7);
    z-index: 1005;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.addcart-modal.show {
    visibility: visible;
    opacity: 1;
}

.modal-container {
    background: var(--card-bg);
    width: 90%;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: 0 20px 35px var(--fixed-color-000000-alpha-0p3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.addcart-modal.show .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.modal-header h3 {
    font-size: 20px;
    color: var(--fixed-color-d0af7d);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--fixed-color-d0af7d);
}

.modal-body {
    padding: 25px 20px;
    text-align: center;
}

.modal-body i {
    font-size: 48px;
    color: var(--fixed-color-d0af7d);
    margin-bottom: 15px;
}

.modal-body p {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 5px;
}

.modal-body .product-name {
    font-weight: 700;
    color: var(--fixed-color-d0af7d);
}

.modal-footer {
    padding: 0 20px 25px 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-footer .btn {
    flex: 1;
    padding: 12px;
}



/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .category-grid, .products-grid, .project-grid, .blog-grid, .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: row;
        gap: 10px;
        text-align: center;
    }
    .header-content {
        flex-direction: row;
        gap: 5px;
        display: block;
        
    }
    .header-menu-button{
        display: flex;
        gap: 5px;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }
    .mobile-menu-toggle {
        display: flex;
        width: 18px;
        height: 18px;
        gap: 10px;
    }
    
    .mobile-menu .logo{
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 214px;
        margin: 0px auto 0px 0px;
        padding-bottom: 20px;
        padding-top: 15px;
    }
    .mobile-menu-icon-left{
        display: flex;
        gap: 3px;
        fill: var(--fixed-color-c0a069);
    }

    .header-search {
        max-width: 100%;
        margin: 10px 0;
        order: 3;
    }
    .header-actions {
        justify-content: center;
    }
    #main-nav {
        display: none;
    }
    .category-grid, .products-grid, .project-grid, .blog-grid, .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .modal-footer {
        flex-direction: column;
    }
    .quick-toast {
        bottom: 80px;
        right: 20px;
        left: 20px;
        text-align: center;
        justify-content: center;
    }
}

/* ==================== MOBILE SEARCH OVERLAY ==================== */
#mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    z-index: 1100;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}
#mobile-search-overlay.active { visibility: visible; opacity: 1; }
.mobile-search-header { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.close-search { font-size: 28px; cursor: pointer; color: var(--text); transition: transform 0.2s; }
.close-search:hover { transform: rotate(90deg); }
.mobile-search-form { 
    display: flex; 
    align-items: center; 
    background: var(--light-bg); 
    border-radius: 40px; border: 1px solid var(--border); 
    /*overflow: hidden; */
    margin-bottom: 30px; 
    
}
.mobile-search-input { 
    flex: 1; 
    padding: 10px 20px; 
    font-size: 16px; 
    background: var(--fixed-color-transparent); 
    border: none; 
    color: var(--text); 
    outline: none; 
    border-radius: 0px 25px 25px 0px;
}
.mobile-search-btn { background: var(--fixed-color-d0af7d); border: none; width: 54px; color: var(--fixed-color-ffffff); cursor: pointer; font-size: 18px; height: 100%; transition: background 0.2s; }
.mobile-search-btn:hover { background: var(--primary-dark); }
.popular-keywords { margin-top: 20px; }
.popular-title { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.popular-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.popular-tag { background: var(--light-bg); padding: 8px 16px; border-radius: 40px; font-size: 14px; color: var(--fixed-color-d0af7d); cursor: pointer; transition: all 0.2s; border: 1px solid var(--border); }
.popular-tag:hover { background: var(--fixed-color-d0af7d); color: var(--fixed-color-ffffff); border-color: var(--fixed-color-d0af7d); transform: translateY(-2px); }
.mobile-search-results { margin-top: 20px; max-height: 300px; overflow-y: auto; background: var(--card-bg); border-radius: 12px; box-shadow: 0 2px 10px var(--fixed-color-000000-alpha-0p1); display: none; }
.mobile-search-result-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.2s; }
.mobile-search-result-item:hover { background: var(--light-bg); }
.mobile-result-img { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; }
.mobile-result-info { flex: 1; }
.mobile-result-name { font-weight: 600; color: var(--text); margin-bottom: 4px; }
.mobile-result-price { color: var(--fixed-color-d0af7d); font-weight: 700; font-size: 14px; }
@media (max-width: 768px) {
    .header-search { display: none !important; }
    .mobile-search-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background: none;
        border-radius: 50%;
        color: var(--fixed-color-d0af7d);
        cursor: pointer;
        transition: all 0.2s;
        font-size: 18px;
    }
    .mobile-search-icon:hover { background: var(--fixed-color-d0af7d); transform: scale(1.05); }
    .header-actions { gap: 12px; }
}
@media (min-width: 769px) {
    .mobile-search-icon { display: none !important; }
}

/* Tạm ẩn light/dark */
.theme-toggle{
    /*display: none;*/
}


/* PRODUCT CATEGORIES =======================*/

/* ==================== LAYOUT 2 CỘT ==================== */
.products-page {
    background: var(--background);
    padding: 0px 0px;
}



/* Nút mở sidebar trên mobile */
.sidebar-toggle-btn {
    background: var(--fixed-color-edd5a6);
    color: var(--fixed-color-272727);
    border: none;
    border-radius: 5px;
    padding: 12px 8px;
    cursor: pointer;
    z-index: 998;
    font-size: 16px;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 6px;
    writing-mode: horizontal-tb;
    box-shadow: 0 1px 2px var(--fixed-color-000000-alpha-0p2);
    transition: 0.2s;
    margin: 0 auto;
    min-width: 200px;
    text-transform: uppercase;
}

.sidebar-toggle-btn i {
    font-size: 20px;
}

.sidebar-toggle-btn:hover {
    background: var(--primary-dark);
    padding-right: 12px;
}

/* Sidebar responsive (slide-in) */
@media (max-width: 991px) {
    .category-layout {
        position: relative;
    }
    .sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 320px;
        height: 100%;
        z-index: 1003;
        background: var(--card-bg);
        overflow-y: auto;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 15px var(--fixed-color-000000-alpha-0p2);
        flex: auto;
        border-radius: 0;
    }
    .sidebar.active {
        left: 0;
    }
    .sidebar-toggle-btn {
        display: flex;
        margin-bottom: 20px;
        width: 100%;
        justify-content: center;
        font-size: 18px;
        font-weight: normal;
    }
}



/* Recently viewed */
.recent-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.recent-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.recent-item-info .price {
    font-size: 13px;
    color: var(--fixed-color-d0af7d);
    font-weight: 600;
}

.empty-recent {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
}


/* Loading */
.loading-spinner {
    text-align: center;
    padding: 50px;
    font-size: 24px;
    color: var(--fixed-color-d0af7d);
}


/* ==================== CART SIDEBAR ==================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background: var(--card-bg);
    z-index: 1002;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px var(--fixed-color-000000-alpha-0p15);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    background: var(--secondary);
    color: var(--fixed-color-ffffff);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    font-size: 24px;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--fixed-color-d0af7d);
    font-weight: 700;
    margin-bottom: 10px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
}

.remove-item {
    color: var(--fixed-color-e74c3c);
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid var(--border);
    background: var(--light-bg);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--fixed-color-000000-alpha-0p6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.empty-cart {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

.addcart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--fixed-color-000000-alpha-0p7);
    z-index: 1005;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

.addcart-modal.show {
    visibility: visible;
    opacity: 1;
}

.modal-container {
    background: var(--card-bg);
    width: 90%;
    max-width: 450px;
    border-radius: 16px;
    transform: scale(0.9);
    transition: 0.3s;
}

.addcart-modal.show .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 20px 20px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.modal-body {
    padding: 25px 20px;
    text-align: center;
}

.modal-footer {
    padding: 0 20px 25px;
    display: flex;
    gap: 15px;
}

.modal-footer .btn {
    flex: 1;
}


/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(1);
    }
}

@media (max-width: 768px) {

    #main-nav {
        display: none;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

 /* ==================== COLLECTION TABS ==================== */
 .collection-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}
.collection-tabs .tab-btn {
    padding: 7px 15px;
    border: 2px solid var(--fixed-color-edd5a6);
    border-radius: 30px;
    background: var(--fixed-color-ffffff);
    color: var(--fixed-color-4c4c4c);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.collection-tabs .tab-btn:hover {
    border-color: var(--base-color);
    color: var(--fixed-color-c0392b);
}
.collection-tabs .tab-btn.active {
    background: var(--fixed-color-edd5a6);
    border-color: var(--fixed-color-edd5a6);
    color: var(--fixed-color-4c4c4c);
}
.collection-banner {
    margin: 20px 0 30px;
    border-radius: 12px;
    overflow: hidden;
}
.collection-banner img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}
.collection-subtitle {
    font-size: 18px;
    color: var(--fixed-color-666666);
    text-align: center;
    margin-bottom: 30px;
}
.collection-content {
    margin: 20px 0 30px;
    padding: 20px;
    background: var(--fixed-color-f8f9fa);
    border-radius: 8px;
    line-height: 1.8;
}
.collection-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
 

.tab-btn.active {
    color: var(--fixed-color-d0af7d);
    border-bottom-color: var(--fixed-color-d0af7d);
}

.tab-btn:hover:not(.active) {
    color: var(--text);
}

/* ==================== THÔNG TIN DANH MỤC ==================== */
.products-categories{
    padding-top: 0px;
}
.products-categories .category-info {
    margin-bottom: 25px;
}
.products-categories .category-banner {
    border-radius: 0px;
    overflow: hidden;
    margin-bottom: 20px;
}
.products-categories .category-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.products-categories .category-description {
    color: var(--text);
    line-height: 1.7;
}
.products-categories .category-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ==================== TIÊU ĐỀ DANH SÁCH SẢN PHẨM + DROPDOWN SẮP XẾP ==================== */
.products-categories .catlist-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.products-categories .catlist-heading__name {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.products-categories .catlist-heading__name__text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}
.products-categories .catlist-heading__name__number {
    font-size: 13px;
    color: var(--fixed-color-ffffff);
    background: var(--fixed-color-d0af7d);
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Dropdown sắp xếp */
.products-categories .catlist-heading__dropdown {
    position: relative;
}
.products-categories .catlist-heading__dropdown__check {
    display: none;
}
.products-categories .catlist-heading__dropdown__label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--card-bg);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
    user-select: none;
}
.products-categories .catlist-heading__dropdown__label:hover {
    border-color: var(--fixed-color-d0af7d);
}
.products-categories .catlist-heading__dropdown__label__icon {
    color: var(--fixed-color-d0af7d);
    transition: transform 0.2s;
}
.products-categories .catlist-heading__dropdown__label__icon svg{
    width: 12px;
    height: 16px;
    fill: var(--fixed-color-232323);
}
.products-categories .catlist-heading__dropdown__check:checked ~ .catlist-heading__dropdown__label .catlist-heading__dropdown__label__icon {
    transform: rotate(180deg);
}
.products-categories .catlist-heading__dropdown__items {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 220px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.2s;
    overflow: hidden;
}
.products-categories .catlist-heading__dropdown__check:checked ~ .catlist-heading__dropdown__items {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.products-categories .catlist-heading__dropdown__items__item {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: 0.2s;
}
.products-categories .catlist-heading__dropdown__items__item:last-child {
    border-bottom: none;
}
.products-categories .catlist-heading__dropdown__items__item:hover,
.products-categories .catlist-heading__dropdown__items__item.active {
    background: var(--fixed-color-edd5a6);
    color: var(--fixed-color-000000);
}



@media (max-width: 576px) {
    .products-categories .catlist-heading {
        flex-direction: column;
        align-items: flex-start;
    }
    .products-categories .catlist-heading__dropdown {
        width: 100%;
    }
    .products-categories .catlist-heading__dropdown__label {
        width: 100%;
        justify-content: space-between;
    }
    .products-categories .catlist-heading__dropdown__items {
        left: 0;
        right: 0;
        width: 100%;
    }
}

/* ==================== DANH MỤC CON ==================== */
.products-categories .category-block {
    margin-bottom: 25px;
}
.products-categories .category-heading{
    margin-bottom: 20px;
}

.products-categories .category-title {
    font-family: manrope;
    font-size: 26px;
    text-transform: uppercase;
    font-weight: bold;
}

/* ==================== MÔ TẢ DANH MỤC: THU GỌN / XEM THÊM ==================== */

.products-categories .category-description-wrap {
    margin-bottom: 10px;
}
.products-categories .category-description--full {
    display: none;
    margin-top: 10px;
}
.products-categories .cat-detail-check {
    display: none;
}
.products-categories .cat-detail-check:checked ~ .category-description--full {
    display: block;
}
.products-categories .category-detail-toggle {
    text-align: center;
    margin-top: 15px;
}

.products-categories .category-detail-toggle svg{
    fill: var(--fixed-color-232323);
}

.products-categories .cat-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--fixed-color-232323);
    font-weight: 600;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 30px;
    transition: 0.2s;
    background: var(--fixed-color-edd5a6);
}
.products-categories .cat-toggle-label:hover {
    background: var(--fixed-color-ffcd6a);
    color: var(--fixed-color-000000);
}
.products-categories .cat-toggle-label--up {
    display: none;
}
.products-categories .cat-detail-check:checked ~ .category-detail-toggle .cat-toggle-label--down {
    display: none;
}
.products-categories .cat-detail-check:checked ~ .category-detail-toggle .cat-toggle-label--up {
    display: inline-flex;
}

/* ==================== BỘ LỌC GIÁ NHANH ==================== */
.products-categories .price-quick-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.products-categories .price-chip {
    display: block;
    text-align: left;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text);
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
}
.products-categories .price-chip:hover {
    border-color: var(--fixed-color-d0af7d);
    color: var(--fixed-color-d0af7d);
}
.products-categories .price-chip.active {
    background: var(--fixed-color-edd5a6);
    border-color: var(--fixed-color-edd5a6);
    color: var(--fixed-color-000000);
    font-weight: normal;
}

/* ==================== SIDEBAR: HIỆN DẠNG DROPDOWN, ĐẨY NỘI DUNG XUỐNG ==================== */
@media (max-width: 991px) {
    .products-categories .sidebar-overlay {
        display: none !important; /* Bỏ lớp phủ mờ nền, không cần nữa vì không còn trượt từ trái */
    }
    .products-categories .sidebar {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        box-shadow: none !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: auto !important;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        margin-bottom: 0;
        transition: max-height 0.3s ease, opacity 0.25s ease, margin-bottom 0.3s ease;
    }
    .products-categories .sidebar.active {
        opacity: 1;
        margin-bottom: 20px;
    }
}

/* ==================== HOVER ĐỔI ẢNH ==================== */
.products-categories .product-image {
    position: relative;
    overflow: hidden;
}
.products-categories .product-image__primary,
.products-categories .product-image__secondary {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.35s ease;
}
.products-categories .product-image__secondary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.products-categories .product-card:hover .product-image__primary {
    opacity: 0;
}
.products-categories .product-card:hover .product-image__secondary {
    opacity: 1;
}

/* ==================== ALBUM ẢNH TRONG CARD ==================== */
.products-categories .product-album {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    margin: 0 auto;
}
.products-categories .product-album::-webkit-scrollbar {
    height: 4px;
}
.products-categories .product-album__thumb {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: 0.2s;
}
.products-categories .product-album__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.products-categories .product-album__thumb:hover {
    border-color: var(--fixed-color-d0af7d);
    transform: translateY(-2px);
}

/* ==================== LIGHTBOX XEM ẢNH SẢN PHẨM ==================== */
body.lightbox-open { overflow: hidden; }
.product-lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 5000; display: none; align-items: center; justify-content: center;
}
.product-lightbox.active { display: flex; }
.product-lightbox__overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--fixed-color-000000-alpha-0p9);
}
.product-lightbox__container {
    position: relative; width: 90%; max-width: 800px; z-index: 1;
}
.product-lightbox__close {
    position: absolute; top: -40px; right: 0; background: none; border: none;
    color: var(--fixed-color-ffffff); font-size: 28px; cursor: pointer; z-index: 2;
}
.product-lightbox__main { width: 100%; border-radius: 6px; overflow: hidden; }
.product-lightbox__main .swiper-slide {
    display: flex; align-items: center; justify-content: center; background: var(--fixed-color-111111);
}
.product-lightbox__main .swiper-slide img { max-width: 100%; max-height: 70vh; object-fit: contain; }
.product-lightbox__main .swiper-button-next,
.product-lightbox__main .swiper-button-prev {
    color: var(--fixed-color-ffffff); background: var(--fixed-color-000000-alpha-0p4); width: 36px; height: 36px; border-radius: 50%;
}
.product-lightbox__main .swiper-button-next::after,
.product-lightbox__main .swiper-button-prev::after { font-size: 16px; }
.product-lightbox__thumbs { margin-top: 10px; height: 70px; }
.product-lightbox__thumbs .swiper-slide {
    width: 70px; height: 70px; opacity: 0.5; cursor: pointer;
    border-radius: 4px; overflow: hidden; border: 2px solid var(--fixed-color-transparent);
}
.product-lightbox__thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--fixed-color-d0af7d); }
.product-lightbox__thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 576px) {
    .product-lightbox__container { width: 95%; }
    .product-lightbox__thumbs .swiper-slide { width: 50px; height: 50px; }
}

/* ==============PRODUCT PAGE ======================*/
.product-page{
    background: var(--background);
    padding: 10px 0px;
}

/* ===== Product Detail ===== =====*/
.product-detail {
    padding-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border-radius: 3px;
}
.product-gallery { position: relative; }
.main-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    cursor: zoom-in;
    transition: 0.3s;
}
.main-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}
.main-image:hover img { transform: scale(1.05); }
.thumb-list {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--fixed-color-transparent);
    transition: 0.2s;
}
.thumb-item.active { border-color: var(--fixed-color-d0af7d); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.product-info-detail h1 {
    font-size: 22px;
    color: var(--text);
    margin-bottom: 5px;
    font-family: math, sans-serif;
}
.product-category-link {
    display: inline-block;
    margin-bottom: 3px;
    font-size: 14px;
    color: var(--background);
    font-weight: 500;
    background: var(--light-bg);
    border-radius: 25px;
    padding: 5px 15px;
}
.product-category-link i { margin-right: 5px; }
.product-price-detail {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}
.product-rrp-detail {
    font-size: 18px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 15px;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
    color: var(--accent);
    font-size: 12px;
    padding-bottom: 5px;
}
.stars {
    color: var(--fixed-color-f1c40f);
    font-size: 12px;
    letter-spacing: 2px;
}

.product-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.5;
}

.product-rating .stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.product-rating .rs-star {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
    transition: color 0.2s ease;
}

/* Sao đã được đánh giá */
.product-rating .rs-star-active {
    color: var(--fixed-color-ffb400);
}

/* Sao chưa được đánh giá */
.product-rating .rs-star-inactive {
    color: var(--fixed-color-d9d9d9);
}

/* Số lượng đánh giá */
.product-rating .rating-count {
    font-size: 14px;
    color: var(--fixed-color-666666);
}
.product-stock {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}

.product-stock.unlimited { color: var(--fixed-color-27ae60); }
.product-stock.in-stock { color: var(--fixed-color-27ae60); }
.product-stock.out-of-stock { color: var(--fixed-color-e74c3c); }
.product-description {
    margin-bottom: 10px;
    color: var(--text);
    line-height: 22px;
    font-size: 14px;
    padding-right: 0px;
    text-align: justify;
    border-bottom: solid 1px var(--border);
    padding-bottom: 10px;
}
.product-actions-detail {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}



.product-actions-button{
    display: flex;
    gap: 10px;
}
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 10px;
    background: var(--light-bg);
    width: 100px;
}
.quantity-selector button {
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 0px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.2s;
    color: var(--text);
}
.quantity-selector button:hover { background: var(--fixed-color-d0af7d); color: var(--fixed-color-ffffff); }
.quantity-selector span {
    font-size: 18px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
    color: var(--text);
}
#addToCartDetail{
    background: var(--background);
    border: solid 2px var(--border);
    color: var(--text-light);
    max-width: 135px;
}

#buyNowDetail {
    background: var(--fixed-color-d0af7d);
    color: var(--text-white);
    max-width: 100px;
}


.wishlist-btn-detail {
    background: var(--fixed-color-transparent);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 0px 10px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
}
.wishlist-btn-detail.active {
    color: var(--primary-2);
    border-color: var(--primary-2);
}
.wishlist-btn-detail i { font-size: 18px; }



.pg-attribute-error{font-size:13px;line-height:1.5;color:#b42318;overflow-wrap:anywhere}
.pg-attribute-error:not(:empty){display:flex;align-items:flex-start;gap:7px;margin-top:8px;padding:8px 10px;background:#fff1f0;border-left:3px solid #c24136;border-radius:4px}
.pg-attribute-error:not(:empty)::before{content:"!";display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;height:16px;border:1px solid currentColor;border-radius:50%;font-weight:700;margin-top:2px}
.pg-attribute-group.is-invalid .pg-choice-body{border-color:#c24136}
.pg-attribute-group{scroll-margin-top:110px}.pg-sku{font-size:13px;opacity:.8;margin:6px 0 12px}
.pg-product-highlights {
    list-style: none;
    padding: 0;
    margin: 0px 0;
    display: grid;
    gap: 5px;
}
.pg-product-highlights li{
    display:flex;align-items:flex-start;
    gap:6px;
    overflow-wrap:anywhere;
    line-height: 24px;
}
.pg-highlight-icon{display:inline-flex;flex:0 0 16px;width:16px;height:16px;margin-top:4px;color:#d4ae73}
.pg-product-highlights .pg-highlight-icon svg{
    fill: var(--fixed-color-d1b07f);
}
.pg-product-highlights .pg-highlight-icon svg path{
    fill: var(--fixed-color-d1b07f);
}
.pa-selectors{display:grid;gap:16px;margin:18px 0}
.pg-attribute-group{border:0;padding:0;margin:0;min-width:0}
.pg-attribute-group legend{font-weight:600;margin-bottom:8px}
.pg-selected-label{
    font-size:13px;
    font-weight:400;
    color: var(--secondary);
    margin-left:8px
    
}
.pg-attribute-choices{display:flex;flex-wrap:wrap;gap:8px}
.pg-choice{position:relative;cursor:pointer;max-width:100%}
.pg-choice input{position:absolute;opacity:0;width:1px;height:1px}
.pg-choice-body {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0px 13px;
    border: 1px solid var(--border-2);
    border-radius: 6px;
    min-height: 36px;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}
.pg-choice input:checked+.pg-choice-body{border-color:#d4ae73;background:rgba(212,174,115,.14);box-shadow:inset 0 0 0 1px #d4ae73}
.pg-choice input:focus-visible+.pg-choice-body{outline:2px solid #d4ae73;outline-offset:3px}
.pg-choice:hover .pg-choice-body{border-color:#d4ae73}
.pg-swatch{width:20px;height:20px;border:1px solid #aaa;border-radius:50%;flex:none}
.product-actions-detail button:disabled{opacity:.45;cursor:not-allowed;transform:none!important}

 /* ===== PRODUCT PAGE GALLERY (LUXE) ===== */
.product-page-gallery {
    max-width: 665px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

/* Slider chính */
.product-page-main-swiper {
    width: 100%;
    height: auto;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    background: #f8f8f8;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.product-page-main-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-page-main-swiper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Nút điều hướng chính */
.product-page-main-swiper .swiper-button-next,
.product-page-main-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.4);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}
.product-page-main-swiper .swiper-button-next:hover,
.product-page-main-swiper .swiper-button-prev:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}
.product-page-main-swiper .swiper-button-next::after,
.product-page-main-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Phân trang (dots) chính */
.product-page-main-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}
.product-page-main-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: linear-gradient(135deg, #f9e08c, #d4af37);
    width: 12px;
    border-radius: 6px;
}

/* Thumbnail bên dưới */
.product-page-thumb-swiper {
    margin-top: 16px;
    height: 110px;
    padding: 4px 0;
}
.product-page-thumb-swiper .swiper-slide {
    width: 110px !important;
    height: 110px !important;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.55;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}
.product-page-thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #d4af37;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}
.product-page-thumb-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== LIGHTBOX ===== */
.product-page-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    animation: productPageFadeIn 0.4s ease;
}
.product-page-lightbox.active {
    display: flex;
}
@keyframes productPageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-page-lightbox-container {
    width: 90vw;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

/* Slider chính lightbox */
.product-page-lightbox-swiper {
    flex: 1;
    min-height: 0;
    border-radius: 3px;
    overflow: hidden;
    background: #111;
}
.product-page-lightbox-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-page-lightbox-swiper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}

/* Nút điều hướng lightbox */
.product-page-lightbox-swiper .swiper-button-next,
.product-page-lightbox-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(255,255,255,0.15);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: 0.3s;
}
.product-page-lightbox-swiper .swiper-button-next:hover,
.product-page-lightbox-swiper .swiper-button-prev:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}
.product-page-lightbox-swiper .swiper-button-next::after,
.product-page-lightbox-swiper .swiper-button-prev::after {
    font-size: 22px;
    font-weight: bold;
}

/* Phân trang lightbox */
.product-page-lightbox-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}
.product-page-lightbox-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: linear-gradient(135deg, #f9e08c, #d4af37);
    width: 12px;
    border-radius: 6px;
}

/* Thumbnail lightbox */
.product-page-lightbox-thumb-swiper {
    height: 120px;
    padding: 4px 0;
    flex-shrink: 0;
}
.product-page-thumb-swiper .swiper-slide {
    width: 100px !important;
    height: 100px !important;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    opacity: 1;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.product-page-lightbox-thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #d4af37;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}
.product-page-lightbox-thumb-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nút đóng lightbox */
.product-page-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 44px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.product-page-lightbox-close:hover {
    transform: rotate(90deg);
    background: rgba(255,255,255,0.25);
}

/* ===== PRODUCT INFO DETAIL (LUXE) ===== */
.product-info-detail--luxe .product-category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: #a17c30;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 25px;
    padding: 6px 16px;
    transition: all 0.25s ease;
}
.product-info-detail--luxe .product-category-link:hover {
    background: rgba(212, 175, 55, 0.22);
}
.product-info-detail--luxe .product-category-link i { font-size: 11px; }

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.product-info-detail--luxe .product-price-detail {
    font-size: 22px;
    font-weight: bold;
    background: var(--secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
}
.product-info-detail--luxe .product-rrp-detail {
    font-size: 18px;
    color: var(--base-color);
    text-decoration: line-through;
    opacity: 0.7;
    margin-bottom: 0;
}

.product-info-detail--luxe .product-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.product-info-detail--luxe .product-stock.unlimited,
.product-info-detail--luxe .product-stock.in-stock {
    color: #1e7e34;
    background: rgba(39, 174, 96, 0.12);
}
.product-info-detail--luxe .product-stock.out-of-stock {
    color: #c0392b;
    background: rgba(231, 76, 60, 0.12);
}

#addToCartDetail{
    background: transparent;
    border: 2px solid #d4af37;
    color: #a17c30;
    max-width: 160px;
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s ease;
}
#addToCartDetail:hover {
    background: rgba(212, 175, 55, 0.1);
}

#buyNowDetail {
    background: var(--secondary);
    color: var(--primary-2);
    max-width: 130px;
    border-radius: 25px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}
#buyNowDetail:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(212, 175, 55, 0.4);
}


.pg-policy{
    list-style: none;
    margin: 12px 0;
    display: grid;
    gap: 1px;
    border: solid 1px var(--primary-dark);
    padding: 10px;
    background: var(--fixed-color-edd5a6);
    border-radius: 10px;
}
.pg-policy li{display:flex;align-items:flex-start;gap:7px;line-height:1.65;overflow-wrap:anywhere}
.pg-policy .pg-normal svg{width:15px;height:15px;flex:none;margin-top:5px}
.pg-policy .pg-normal svg path{
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 5px;
    fill: #000000;
}
.pg-policy .pg-accent svg{width:15px;height:15px;flex:none;margin-top:5px}
.pg-policy .pg-accent svg path{
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 5px;
    fill: var(--fixed-color-ff0000);;
}
.pg-policy .pg-accent{color: var(--fixed-color-ff0000);}

/* ===== MÔ TẢ ĐẦY ĐỦ SẢN PHẨM ===== */
.product-full-description {
    margin-top: 15px;
    padding: 20px;
    background: var(--background-2);
    border-radius: 5px;
    border: 1px solid var(--border);
    color: var(--text);
    line-height: 1.85;
    font-size: 16px;
}

.product-full-description p { margin-bottom: 16px; }
.product-full-description img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
    margin: 15px 0;
}
.product-full-description ul,
.product-full-description ol {
    margin: 12px 0 12px 25px;
}
.product-full-description li { margin-bottom: 8px; }

.product-full-description table {
    width: 100%;
    border-collapse: collapse;
    max-width: 550px;
    margin: 0 auto;
}
.product-full-description table td,
.product-full-description table th {
    padding: 10px;
    border: 1px solid var(--border);
}

@media (max-width: 640px) {
    .product-info-detail--luxe .product-price-detail { font-size: 24px; }
}

/* ===== RELATED PRODUCTS CARD (đồng bộ products.php) ===== */
.related-section.products-categories .product-image {
    position: relative;
    overflow: hidden;
}
.related-section.products-categories .product-image__primary,
.related-section.products-categories .product-image__secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease;
}
.related-section.products-categories .product-image__primary { position: relative; opacity: 1; }
.related-section.products-categories .product-image__secondary { opacity: 0; }
.related-section.products-categories .product-card:hover .product-image__primary { opacity: 0; }
.related-section.products-categories .product-card:hover .product-image__secondary { opacity: 1; }

.related-section.products-categories .product-album {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.related-section.products-categories .product-album__thumb {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    opacity: 0.75;
    transition: all 0.2s ease;
}
.related-section.products-categories .product-album__thumb:hover,
.related-section.products-categories .product-album__thumb.active {
    opacity: 1;
    border-color: var(--primary, #d4af37);
    transform: scale(1.05);
}
.related-section.products-categories .product-album__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* ===== Related Products ===== */
.related-section {
    margin: 0px 0;
}
.related-title {
    font-size: 28px;
    color: var(--text);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}
.related-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--fixed-color-d0af7d);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ===== Reviews ===== */
.reviews-section {
    margin: 40px 0 60px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.reviews-title {
    font-size: 24px;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.reviews-title .stars { font-size: 22px; }
.review-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.review-item:last-child { border-bottom: none; }
.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.review-author { font-weight: 600; color: var(--text); }
.review-date { color: var(--text-light); font-size: 14px; }
.review-rating { color: var(--fixed-color-f1c40f); }
.review-content { color: var(--text-light); line-height: 1.6; }
.no-reviews { color: var(--text-light); text-align: center; padding: 20px; }


/* Responsive */
@media (max-width: 1024px) {
    .product-detail { grid-template-columns: 1fr; gap: 30px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .related-grid { grid-template-columns: 1fr; }
    .product-actions-detail { flex-direction: column; }
    .product-actions-detail .btn { width: 100%; }
    .product-info-detail h1 { font-size: 24px; }
}
/* Check out ===============================================*/
/* ===== LAYOUT ===== */
.checkout-section { margin: 60px 0; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.checkout-form { background: var(--card-bg); border-radius: 12px; padding: 30px; box-shadow: var(--shadow); }
.checkout-summary { background: var(--card-bg); border-radius: 12px; padding: 30px; box-shadow: var(--shadow); height: fit-content; position: sticky; top: 100px; }
.section-title-sm { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; border: 1px solid var(--border); border-radius: 8px; background: var(--card-bg); color: var(--text); font-size: 16px; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== CART ITEMS ===== */
.cart-items-list { max-height: 500px; overflow-y: auto; margin-bottom: 20px; }
.checkout-item { display: flex; gap: 15px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.checkout-item-img { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.checkout-item-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item-info { flex: 1; }
.checkout-item-name { 
    font-weight: 600; 
    color: var(--text); 
    margin-bottom: 5px; 
    font-size: 14px;
}
.checkout-item-name small{
    background: var(--fixed-color-edd5a6);
    padding: 3px;
    border-radius: 4px;
    margin-left: 5px;
    color: #000;
}
.checkout-item-price {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 6px;
}
.item-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0px;
    background: var(--card-bg-2);
    padding: 2px;
    border-radius: 3px;
}
.quantity-btn { width: 28px; height: 28px; background: var(--light-bg); border: 1px solid var(--border); border-radius: 4px; cursor: pointer; font-weight: bold; transition: var(--transition); }
.quantity-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.item-quantity { min-width: 30px; text-align: center; font-weight: 500; }
.remove-item { background: none; border: none; color: #e74c3c; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 5px; transition: color 0.2s; }
.remove-item:hover { color: #c0392b; text-decoration: underline; }

/* ===== SUMMARY ===== */
.summary-line { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 16px; }
.summary-total { font-size: 20px; font-weight: 700; color: var(--primary); border-top: 2px solid var(--border); padding-top: 15px; margin-top: 10px; }

/* ===== BUTTONS ===== */
.btn-checkout { width: 100%; background: var(--primary); color: white; padding: 14px; font-size: 18px; font-weight: 700; border: none; border-radius: 8px; cursor: pointer; transition: var(--transition); margin-top: 20px; }
.btn-checkout:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-checkout:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.empty-cart-checkout { text-align: center; padding: 40px; }
.empty-cart-checkout i { font-size: 48px; opacity: 0.5; margin-bottom: 15px; }
.empty-cart-checkout a { color: var(--primary); text-decoration: underline; }

/* ===== DISCOUNT ===== */
.discount-code-section { margin: 15px 0; }
.discount-code-section .input-group { display: flex; gap: 10px; }
.discount-code-section .input-group input { flex: 1; padding: 10px 15px; border: 1px solid var(--border); border-radius: 8px; background: var(--card-bg); color: var(--text); font-size: 15px; transition: var(--transition); }
.discount-code-section .input-group input:focus { outline: none; border-color: var(--primary); }
.discount-code-section .input-group .btn-apply { padding: 10px 20px; background: var(--primary); color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; transition: var(--transition); white-space: nowrap; }
.discount-code-section .input-group .btn-apply:hover { background: var(--primary-dark); }
.discount-code-section .input-group .btn-apply:disabled { opacity: 0.6; cursor: not-allowed; }
.discount-msg { font-size: 14px; margin-top: 5px; min-height: 20px; }
.discount-msg.success { color: #2ab574; }
.discount-msg.error { color: #e74c3c; }

/* ===== VALIDATION ===== */
.form-group.is-invalid input,
.form-group.is-invalid textarea,
.form-group.is-invalid select {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.12);
}
.invalid-feedback { display: none; color: #e74c3c; font-size: 14px; margin-top: 5px; }
.invalid-feedback.show { display: block; }

/* ===== MODAL ===== */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}
.confirm-modal.show { visibility: visible; opacity: 1; }
.confirm-modal-container {
    background: var(--card-bg);
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
}
.confirm-modal.show .confirm-modal-container { transform: scale(1); }
.confirm-modal-header {
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}
.confirm-modal-header h3 { font-size: 20px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.confirm-modal-close { font-size: 24px; cursor: pointer; color: var(--text-light); transition: color 0.2s; }
.confirm-modal-close:hover { color: var(--primary); }
.confirm-modal-body { padding: 25px 20px; text-align: center; }
.confirm-modal-body i { font-size: 48px; color: #e74c3c; margin-bottom: 15px; }
.confirm-modal-body p { font-size: 16px; color: var(--text); margin-bottom: 5px; }
.confirm-modal-footer { padding: 0 20px 25px 20px; display: flex; gap: 15px; justify-content: center; }
.confirm-modal-footer .btn { flex: 1; padding: 10px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: var(--transition); text-align: center; border: none; }
.btn-confirm-cancel { background: var(--light-bg); color: var(--text); border: 1px solid var(--border); }
.btn-confirm-cancel:hover { background: var(--border); }
.btn-confirm-ok { background: #e74c3c; color: white; }
.btn-confirm-ok:hover { background: #c0392b; transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-summary { position: static; margin-top: 30px; }
}
@media (max-width: 768px) {
    .row-2 { grid-template-columns: 1fr; gap: 15px; }
    .checkout-item-img { width: 60px; height: 60px; }
    .discount-code-section .input-group { flex-direction: column; }
}

/* blog ===================================================*/
       
.post-layout { display: flex; gap: 40px; margin: 40px 0; position: relative; }
.category-list li { margin-bottom: 12px; }
.category-list li a i { width: 24px; color: var(--fixed-color-d0af7d); }
.recent-item { display: flex; gap: 12px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.recent-item-img { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; }
.recent-item-img img { width: 100%; height: 100%; object-fit: cover; }
.recent-item-info h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.recent-item-info .price { font-size: 13px; color: var(--fixed-color-d0af7d); font-weight: 600; }
.empty-recent { text-align: center; padding: 20px; color: var(--text-light); }
.post-detail {
    border-radius: 3px;
    padding: 10px;
    box-shadow: var(--shadow);
}
.post-detail h1 {
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 15px;
}
.post-meta { display: flex; gap: 20px; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid var(--border); color: var(--text-light); font-size: 14px; }
.post-meta i { margin-right: 5px; color: var(--fixed-color-d0af7d); }
.post-featured-image {
    margin-bottom: 25px;
    border-radius: 3px;
    overflow: hidden;
}
.post-featured-image img { width: 100%; height: auto; }
.post-content { color: var(--text-light); line-height: 1.8; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin: 15px 0 15px 25px; }
.post-content li { margin-bottom: 8px; }
.related-posts { margin-top: 50px; }
.related-title { font-size: 24px; color: var(--text); margin-bottom: 25px; padding-bottom: 10px; border-bottom: 2px solid var(--fixed-color-d0af7d); }
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.related-card { background: var(--card-bg); border-radius: 12px; overflow: hidden; transition: 0.3s; box-shadow: var(--shadow); }
.related-card:hover { transform: translateY(-5px); }
.related-img { height: 160px; overflow: hidden; }
.related-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.related-card:hover .related-img img { transform: scale(1.05); }
.related-info { padding: 15px; }
.related-info h4 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.related-info .date { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }

@media (max-width: 1024px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .post-detail { padding: 20px; }
    .post-detail h1 { font-size: 24px; }
    .related-grid { grid-template-columns: 1fr; }
   
}

/* Contact action ==============================*/
/* ========== POPUP LIÊN HỆ CAO CẤP ========== */
.royalart_contact_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--fixed-color-000000-alpha-0p75);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.royalart_contact_overlay.active {
    opacity: 1;
    visibility: visible;
}
.royalart_contact_popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 95%;
    max-width: 550px;
    background: var(--fixed-color-transparent);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), 
                transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                visibility 0.4s;
}
.royalart_contact_popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
.royalart_form_action {
    padding: 5px;
    background: linear-gradient(135deg, var(--fixed-color-2ab574), var(--fixed-color-3da341));
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px var(--fixed-color-000000-alpha-0p5);
}
.royalart_form_action .royalart_col_inner {
    background: var(--fixed-color-ffffff);
    border-radius: 16px;
    padding: 30px 25px;
    position: relative;
}
.royalart_close_btn {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    background: var(--fixed-color-ffffff);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--fixed-color-333333);
    cursor: pointer;
    box-shadow: 0 5px 15px var(--fixed-color-000000-alpha-0p2);
    transition: all 0.2s;
    z-index: 10000;
}
.royalart_close_btn:hover {
    background: var(--fixed-color-2ab574);
    color: var(--fixed-color-ffffff);
    transform: rotate(90deg);
}
.royalart_text_center {
    text-align: center;
    margin: 0 0 5px;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--fixed-color-666666);
}
.royalart_text_center + h3 {
    margin-top: 0;
    font-size: 26px;
    font-weight: 800;
    color: var(--fixed-color-222222);
}
.royalart_hr_dots {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--fixed-color-2ab574), var(--fixed-color-283891));
    border-radius: 4px;
    margin: 15px auto 25px;
}
/* Form style */
.wpcf7-form input, .royalart-contact-form input {
    width: 100%;
    padding: 12px 0;
    margin-bottom: 15px;
    border: none;
    border-bottom: 1px solid var(--fixed-color-dddddd);
    background: var(--fixed-color-transparent);
    transition: border 0.2s;
}
.wpcf7-form input:focus, .royalart-contact-form input:focus {
    border-bottom-color: var(--fixed-color-2ab574);
    outline: none;
}
.wpcf7-form input[type="submit"], .royalart-contact-form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(248deg, var(--fixed-color-2ab574), var(--fixed-color-3da341));
    border: none;
    border-radius: 40px;
    color: var(--fixed-color-ffffff);
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.wpcf7-form input[type="submit"]:hover, .royalart-contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--fixed-color-000000-alpha-0p1);
}
.royalart_form_action ul {
    margin-top: 25px;
    padding-left: 0;
}
.royalart_form_action ul li {
    list-style: none;
    margin-bottom: 8px;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}
.royalart_form_action ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--fixed-color-2ab574);
    font-weight: bold;
}
/* Contact bar */
.royalart_contact_bar {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.royalart_contact_item {
    display: flex;
    align-items: center;
    height: 50px;
    border-radius: 60px;
    overflow: hidden;
    color: var(--fixed-color-ffffff) !important;
    text-decoration: none;
    box-shadow: 0 8px 20px var(--fixed-color-000000-alpha-0p2);
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    animation: royalartFloat 3s ease-in-out infinite;
    max-width: max-content;
    position: relative;
    transform-origin: right center;
    will-change: transform;
}
.royalart_contact_item:hover {
    transform: translateX(-8px) scale(1.03);
    filter: brightness(1.05);
    box-shadow: 0 12px 28px var(--fixed-color-000000-alpha-0p3);
}
.royalart_contact_item:hover .royalart_icon img {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}
/* Hiệu ứng riêng từng nút */
.royalart_phone {
    background: linear-gradient(135deg, var(--fixed-color-ff1800), var(--fixed-color-ff0000));
    animation: royalart_pulse 1.2s infinite;
}
@keyframes royalart_pulse {
    0% { box-shadow: 0 0 0 0 var(--fixed-color-ff1800-alpha-0p7); }
    70% { box-shadow: 0 0 0 10px var(--fixed-color-ff1800-alpha-0); }
    100% { box-shadow: 0 0 0 0 var(--fixed-color-ff1800-alpha-0); }
}
.royalart_zalo {
    background: linear-gradient(135deg, var(--fixed-color-009dff), var(--fixed-color-0062ff));
}
.royalart_zalo:hover .royalart_icon img {
    transform: rotate(5deg) scale(1.1);
}
.royalart_facebook {
    background: linear-gradient(135deg, var(--fixed-color-1877f2), var(--fixed-color-0d5fd8));
}
.royalart_facebook:hover {
    animation: royalart_shake 0.3s ease-in-out 0s 2;
}
@keyframes royalart_shake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}
.royalart_register {
    background: linear-gradient(135deg, var(--fixed-color-4caf50), var(--fixed-color-08790d));
    transition: background 0.3s, transform 0.2s;
}
.royalart_register:hover {
    background: linear-gradient(135deg, var(--fixed-color-5cb85c), var(--fixed-color-0a5c0a));
}
.royalart_icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.royalart_icon img {
    width: 28px;
    height: 28px;
    transition: transform 0.2s ease;
}
.royalart_text {
    padding-right: 20px;
    font-weight: 600;
    font-size: 14px;
}
.royalart_hot {
    position: absolute;
    top: -0px;
    right: 8px;
    background: var(--fixed-color-ff8600);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 20px;
}
@keyframes royalartFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
/* Rung icon phone */
.royalart_phone:hover .royalart_icon img {
    animation: royalart_phoneShake 0.3s ease-in-out 0s 2;
}
@keyframes royalart_phoneShake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}
/* Ripple effect */
.ripple-effect {
    position: absolute;
    background: var(--fixed-color-ffffff-alpha-0p5);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
    z-index: 2;
}
@keyframes ripple-animation {
    to { transform: scale(4); opacity: 0; }
}
@media (max-width: 768px) {
    .royalart_contact_bar { right: 10px; bottom: 10px; }
    .royalart_text { display: none; }
    .royalart_icon { width: 48px; height: 48px; }
    .royalart_icon img { width: 24px; }
}

/* GENERAL RESPONSIVE =======ALL===================================*/
@media screen and (max-width: 480px){
    .product-actions-button{
        display: block;
    }
    .wishlist-btn-detail {
        margin-top: 5px;
    }
}

/* Container chính */

/* Link quay lại */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--fixed-color-374151);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    background-color: var(--fixed-color-transparent);
    border: 1px solid var(--fixed-color-transparent);
}

/* Hover effect */
.back-link:hover {
    background-color: var(--fixed-color-f3f4f6);
    color: var(--fixed-color-111827);
    border-color: var(--fixed-color-e5e7eb);
    transform: translateX(-2px);
}

/* Active/Click effect */
.back-link:active {
    transform: scale(0.96);
}

/* Focus state - accessibility */
.back-link:focus-visible {
    outline: 2px solid var(--fixed-color-3b82f6);
    outline-offset: 2px;
}

/* Icon SVG styling */
.back-link svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

/* Icon animation on hover */
.back-link:hover svg {
    transform: translateX(-3px);
}

/* Optional: Dark mode support */
@media (prefers-color-scheme: dark) {

    .back-link {
        color: var(--base-color);
    }

    .back-link:hover {
        background-color: var(--fixed-color-374151);
        color: var(--fixed-color-f3f4f6);
        border-color: var(--fixed-color-4b5563);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {

    .back-link {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* ====================================================================
   BỔ SUNG CHO style-phucangold.css
   Dùng cho các trang: portfolios.php, projects.php, project.php,
   sites.php, site.php, posts.php, post-detail.php
   -> Dán khối này vào CUỐI file style-phucangold.css hiện có.
   Toàn bộ đều dùng lại biến màu (--primary, --card-bg, --text...)
   và ngôn ngữ thiết kế "luxe" đã có sẵn trong file gốc, không định
   nghĩa lại màu sắc riêng.
==================================================================== */

/* ---- Tiêu đề trang dùng chung (projects, sites, posts, portfolio) ---- */
.page-head-luxe {
    text-align: center;
    padding: 40px 0 10px;
}
.page-head-luxe .section-subtitle {
    margin-top: 10px;
}

/* ---- Tiêu đề cột nội dung trong layout sidebar (portfolios.php, posts.php) ---- */
.category-header {
    margin-bottom: 25px;
}
.category-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    border-left: 4px solid var(--primary, var(--fixed-color-d0af7d));
    padding-left: 15px;
}

/* ---- Icon minh hoạ cho khối "không có dữ liệu" ---- */
.no-results-icon {
    font-size: 42px;
    color: var(--primary, var(--fixed-color-d0af7d));
    margin-bottom: 15px;
}

/* ---- Pagination dạng liên kết <a> (projects.php, sites.php) ----
   Dùng chung ngôn ngữ hình khối với .pagination .page-btn (button) đã có,
   chỉ mở rộng selector để áp dụng được cho thẻ <a>. */
.pagination a.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 36px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--border, var(--fixed-color-edd5a6));
    background: var(--card-bg, var(--fixed-color-ffffff));
    color: var(--text, var(--fixed-color-000000));
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}
.pagination a.page-btn.active {
    background: var(--primary, var(--fixed-color-d0af7d));
    color: var(--text-white, var(--fixed-color-ffffff));
    border-color: var(--fixed-color-transparent);
}
.pagination a.page-btn:hover:not(.active) {
    background: var(--light-bg, var(--fixed-color-f5f5f5));
}
.pagination a.page-prev,
.pagination a.page-next {
    padding: 0 16px;
}

/* ====================================================================
   TRANG CHI TIẾT DÙNG CHUNG (project.php, site.php)
   Trước đây mỗi trang tự viết CSS riêng trong thẻ <style> (site.php)
   hoặc không có CSS nào (project.php). Nay gộp lại thành 1 bộ dùng chung.
==================================================================== */
.page-detail-luxe {
    padding: 40px 0 20px;
}

.back-nav {
    margin-bottom: 0px;
}

.detail-card-luxe {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 50px;
}

.detail-card-luxe .detail-image {
    position: relative;
    height: 420px;
    overflow: hidden;
}
.detail-card-luxe .detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-card-luxe .image-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 140px;
    background: linear-gradient(to top, var(--fixed-color-000000-alpha-0p65), var(--fixed-color-transparent));
}
.detail-card-luxe .image-caption {
    position: absolute;
    bottom: 18px;
    left: 28px;
}
.detail-card-luxe .caption-badge {
    background: linear-gradient(135deg, var(--fixed-color-f9e08c), var(--fixed-color-d4af37));
    color: var(--fixed-color-1a1200);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.detail-card-luxe .detail-content {
    padding: 35px 40px;
}
.detail-card-luxe .content-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.detail-card-luxe .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
}
.detail-card-luxe .detail-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.3;
}
.detail-card-luxe .content-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--fixed-color-d4af37), var(--fixed-color-f9e08c));
    border-radius: 2px;
    margin-bottom: 28px;
}
.detail-card-luxe .detail-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
}
.detail-card-luxe .detail-body p { margin-bottom: 18px; }
.detail-card-luxe .detail-body h2,
.detail-card-luxe .detail-body h3 { color: var(--text); margin: 25px 0 12px; }
.detail-card-luxe .detail-body img { border-radius: 8px; margin: 18px 0; }
.detail-card-luxe .detail-body blockquote {
    border-left: 4px solid var(--primary, var(--fixed-color-d0af7d));
    padding-left: 18px;
    margin: 18px 0;
    font-style: italic;
    color: var(--text-light);
}
.detail-card-luxe .detail-body table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.detail-card-luxe .detail-body th,
.detail-card-luxe .detail-body td { border: 1px solid var(--border); padding: 10px; }

.detail-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 35px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary, var(--fixed-color-d0af7d));
}

/* Thư viện ảnh chi tiết dự án */
.detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.gallery-item-luxe {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}
.gallery-item-luxe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item-luxe:hover img {
    transform: scale(1.08);
}

/* Danh sách đánh giá khách hàng trong trang chi tiết dự án
   (tái dùng .testimonial-row--luxe, chỉ thêm khoảng cách dọc) */
.testimonials-list-luxe {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 1024px) {
    .detail-card-luxe .detail-image { height: 320px; }
    .detail-card-luxe .detail-content { padding: 28px; }
    .detail-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .detail-card-luxe .detail-image { height: 220px; }
    .detail-card-luxe .detail-content { padding: 20px; }
    .detail-card-luxe .detail-title { font-size: 22px; }
    .detail-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-row--luxe { flex-direction: column; text-align: center; }
}