/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --primary-bg: #f0fdf4;
    --secondary: #2d3436;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #ffffff;
    --bg-alt: #fafafa;
    --border: #f0f0f0;
    --shadow-sm: 0 2px 8px rgb(0 0 0 / 12%);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary);
    border-color: white;
    font-weight: 600;
}

.btn-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

/* ===== Top Bar ===== */
.top-bar {
    background: linear-gradient(135deg, var(--primary), #059669);
    color: white;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.topbar-clock-mobile {
    display: none;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar i {
    color: rgba(255,255,255,0.8);
    font-size: 11px;
}

/* ===== Header ===== */
.header {
    background: white;
    padding: 12px 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
    background: white;
}

.sticky-wrapper.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.header-content {
    display: flex;
    align-items: center;
    /* gap: 24px; */
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Playfair Display', serif;
}

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

.logo-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
}

.logo-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--text-light);
}

/* Search icon button in header */
.search-icon-btn {
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
}

.search-icon-btn:hover {
    color: var(--primary);
}

/* Search Modal */
.search-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.search-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-modal {
    background: #fff;
    border-radius: 16px;
    padding: 39px 32px 32px 32px;
    width: 100%;
    max-width: 600px;
    margin: 0 1rem;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.25s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.search-modal-overlay.active .search-modal {
    transform: translateY(0);
}

.search-modal-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: none;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.search-modal-close:hover {
    background: #e2e8f0;
}

.search-modal-form {
    display: flex;
    gap: 8px;
    margin-bottom: 0.75rem;
}

.search-modal-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

.search-modal-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.search-modal-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.search-modal-btn:hover {
    background: var(--primary-dark);
}

.search-modal-hint {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
}

.header-actions {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
    position: relative;
}

.header-action i {
    font-size: 20px;
    color: var(--text-light);
}

.header-action:hover {
    color: var(--primary);
}

.header-action:hover i {
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: -8px;
    left: 12px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Navigation ===== */
.main-nav {
    flex: 1;
    background: transparent;
    border-bottom: none;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Nav dropdown on Banh sinh nhat */
.nav-has-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border);
    /* border-top: 3px solid var(--primary); */
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 50;
}

.nav-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    text-transform: none;
    font-weight: 400;
}

.nav-dropdown a::after {
    display: none;
}

.nav-dropdown a:last-child {
    border-bottom: none;
}

.nav-dropdown a::before {
    content: '›';
    margin-right: 8px;
    font-size: 16px;
    color: var(--primary);
    font-weight: 700;
}

.nav-dropdown a:hover {
    background: var(--primary-bg);
    color: var(--primary);
    padding-left: 24px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    margin-left: 0;
    flex: 1;
    justify-content: space-around;
}

.nav-links a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0px;
    right: 0px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 50%, #a7f3d0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--secondary);
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
    border: 6px solid rgba(255,255,255,0.6);
}

/* Slider */
.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
    animation: heroFadeIn 0.6s ease;
}

.hero-slide.active {
    display: block;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.7);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    color: var(--primary);
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-prev:hover,
.hero-next:hover {
    background: var(--primary);
    color: white;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ===== Feature Banners ===== */
.feature-banners {
    padding: 0;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.banners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.banner-card {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 3px solid white;
    outline: 1px solid rgba(0,0,0,0.06);
}

.banner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.banner-card:hover img {
    transform: scale(1.03);
}

/* ===== Section Header ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
}

.section-header.center {
    justify-content: center;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border: 2px solid var(--primary);
    border-radius: 50px;
}

.view-all-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== Products ===== */
.products-section {
    padding: 40px 0;
}

.products-section.alt-bg {
    background: var(--bg-alt);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    display: block;
}

a.product-card:hover {
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
    transform: translateY(100%);
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

.product-overlay button,
.product-overlay a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
    text-decoration: none;
}

.product-overlay button:hover,
.product-overlay a:hover {
    background: var(--primary);
    color: white;
}

.product-info {
    padding: 16px;
}

.product-info h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
    height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* ===== Blog ===== */
.blog-section {
    padding: 40px 0;
    background: var(--bg-alt);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 40px;
    transition: var(--transition);
}

.blog-card:hover .blog-image-placeholder {
    transform: scale(1.05);
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.blog-meta i {
    margin-right: 4px;
    color: var(--primary-light);
}

.blog-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
    color: var(--primary);
}

.blog-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more:hover {
    gap: 10px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    padding: 70px 0;
    color: white;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
}

.cta-contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.cta-contact-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.cta-contact-item p {
    font-size: 15px;
    opacity: 0.9;
}

.cta-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.cta-socials a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    transition: var(--transition);
}

.cta-socials a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.zalo-icon span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* ===== Catalog Page ===== */
.catalog-page {
    padding: 30px 0 70px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

/* Sidebar */
.catalog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 130px;
}

.sidebar-box {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.sidebar-title {
    background: var(--primary);
    color: white;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
}

.sidebar-categories {
    list-style: none;
    padding: 0;
}

.sidebar-categories li {
    border-bottom: 1px solid var(--border);
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.sidebar-categories a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
}

.sidebar-categories a i {
    font-size: 10px;
    color: var(--primary);
    transition: var(--transition);
}

.sidebar-categories a:hover,
.sidebar-categories a.active {
    color: var(--primary);
    background: var(--primary-bg);
    padding-left: 22px;
}

/* Sidebar Contact */
.sidebar-phones {
    list-style: none;
    padding: 10px 0;
}

.sidebar-phones li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
}

.phone-label {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    min-width: 55px;
    text-align: center;
}

.sidebar-phones a {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.sidebar-phones a:hover {
    text-decoration: underline;
}

.sidebar-empty {
    padding: 18px;
    font-size: 13px;
    color: var(--text-light);
}

/* Catalog Main */
.catalog-main {
    min-width: 0;
}

.catalog-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--primary);
}

.catalog-intro {
    margin-bottom: 24px;
}

.catalog-intro p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
}

.catalog-intro strong {
    color: var(--primary);
}

.read-more-toggle {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more-toggle:hover {
    background: var(--primary);
    color: white;
}

/* Sort Bar */
.catalog-sort {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    margin-bottom: 20px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}

.catalog-sort > span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.sort-options {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
}

.sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: white;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.sort-btn:hover,
.sort-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.sort-btn i {
    font-size: 11px;
}

/* Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: white;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Catalog Responsive */
@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .catalog-sidebar {
        position: static;
        order: 2;
    }

    .catalog-main {
        order: 1;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .catalog-header h1 {
        font-size: 22px;
    }

    .catalog-sort {
        gap: 8px;
        padding: 10px 0;
    }

    .sort-options {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .sort-options::-webkit-scrollbar {
        display: none;
    }

    .catalog-page {
        padding: 20px 0 40px;
    }
}

/* ===== Blog Page ===== */
.blog-page {
    padding: 30px 0 70px;
}

.blog-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Blog Tags */
.blog-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.blog-tag {
    padding: 8px 20px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    background: white;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.blog-tag.active,
.blog-tag:hover {
    background: var(--primary);
    color: white;
}

/* Blog Grid */
.blog-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.blog-page-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.blog-page-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-page-img {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-page-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-page-card:hover .blog-page-img img {
    transform: scale(1.05);
}

.blog-page-info {
    padding: 18px;
}

.blog-page-info h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-page-info h3 a {
    color: var(--text);
    transition: var(--transition);
}

.blog-page-info h3 a:hover {
    color: var(--primary);
}

.blog-page-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-page-meta i {
    margin-right: 4px;
    color: var(--primary-light);
    font-size: 12px;
}

.blog-page-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-page {
        padding: 20px 0 40px;
    }

    .blog-page-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .blog-page-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-page-card {
        display: flex;
    }

    .blog-page-img {
        width: 130px;
        min-height: 100%;
        aspect-ratio: auto;
        flex-shrink: 0;
    }

    .blog-page-info {
        padding: 12px;
        flex: 1;
    }

    .blog-page-info h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .blog-page-meta {
        gap: 10px;
        font-size: 11px;
        margin-bottom: 6px;
    }

    .blog-page-info p {
        font-size: 13px;
    }

    .blog-tags {
        gap: 8px;
        margin-bottom: 20px;
    }

    .blog-tag {
        padding: 6px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .blog-page-card {
        flex-direction: column;
    }

    .blog-page-img {
        width: 100%;
        aspect-ratio: 16/9;
        min-height: auto;
    }
}

/* ===== Store Locator Page ===== */
.stores-page {
    padding: 30px 0 70px;
}

.stores-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    min-height: 600px;
}

/* Store Sidebar */
.stores-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.stores-filter {
    margin-bottom: 12px;
}

.stores-filter label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.stores-filter select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23636e72' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: var(--transition);
}

.stores-filter select:focus {
    border-color: var(--primary-light);
}

.stores-search {
    margin-bottom: 16px;
}

.stores-search input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.stores-search input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

/* Store List */
.stores-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.stores-list::-webkit-scrollbar {
    width: 4px;
}

.stores-list::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.store-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.store-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.store-card.active {
    border-color: var(--primary);
    background: var(--primary-bg);
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.12);
}

.store-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.store-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 4px;
}

.store-card p i {
    color: var(--primary);
    font-size: 12px;
    margin-right: 4px;
}

.store-phone {
    margin-top: 6px;
    font-weight: 600;
    color: var(--text);
}

.store-phone a {
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
}

.store-phone a:hover {
    text-decoration: underline;
}

/* Map */
.stores-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #e8e8e8;
    position: sticky;
    top: 90px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.map-placeholder i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.5;
}

.map-placeholder h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.map-placeholder p {
    font-size: 13px;
    max-width: 280px;
    text-align: center;
}

.map-placeholder span {
    font-size: 14px;
    color: #f39c12;
    font-weight: 600;
}

/* Stores Responsive */
@media (max-width: 768px) {
    .stores-page {
        padding: 20px 0 40px;
    }

    .stores-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .stores-map {
        position: static;
        order: -1;
    }

    .map-placeholder {
        min-height: 300px;
    }

    .stores-list {
        max-height: none;
    }
}

/* ===== Blog Detail Page ===== */
.blog-detail-page {
    padding: 30px 0 70px;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

/* Sidebar search */
.sidebar-search-input {
    display: flex;
    padding: 12px;
}

.sidebar-search-input input {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 13px;
    outline: none;
    font-family: inherit;
}

.sidebar-search-input button {
    padding: 8px 14px;
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}

/* Blog Detail Main */
.blog-detail-main {
    min-width: 0;
}

.blog-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.3;
}

/* Author */
.blog-detail-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.author-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
    border: 2px solid var(--border);
}

.author-label {
    font-size: 13px;
    color: var(--text-light);
}

.author-date {
    font-size: 12px;
    color: var(--text-light);
}

.author-right {
    text-align: right;
    font-size: 13px;
    color: var(--text-light);
}

.author-right .stars i {
    color: #ffc107;
    font-size: 14px;
}

/* Blog Images */
.blog-detail-img {
    margin: 24px 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.blog-detail-img img {
    width: 100%;
    height: auto;
    display: block;
}

.img-caption {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
    padding: 10px 0;
}

/* Table of Contents */
.blog-toc {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 30px;
}

.toc-header {
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--secondary);
}

.toc-list {
    padding-left: 20px;
    margin: 0;
}

.toc-list li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.toc-list a {
    color: var(--text);
}

.toc-list a:hover {
    color: var(--primary);
}

.toc-list ol {
    padding-left: 20px;
    margin-top: 6px;
}

/* Blog Content */
.blog-detail-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    margin: 30px 0 14px;
}

.blog-detail-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin: 20px 0 10px;
}

.blog-detail-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.blog-detail-content strong {
    color: var(--text);
}

/* Guide Table */
.guide-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.guide-table th {
    background: var(--primary);
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.guide-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}

.guide-table tr:nth-child(even) td {
    background: var(--primary-bg);
}

.guide-table td:first-child {
    font-weight: 600;
    color: var(--primary);
}

/* Guide List */
.guide-list {
    padding-left: 24px;
    margin: 12px 0 20px;
}

.guide-list li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 8px;
}

.guide-list li strong {
    color: var(--text);
}

/* Share Buttons */
.blog-share {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 30px 0;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.share-fb { background: #1877f2; }
.share-x { background: #000; }
.share-email { background: #ea4335; }
.share-pinterest { background: #e60023; }
.share-linkedin { background: #0a66c2; }
.share-telegram { background: #0088cc; }

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    margin-bottom: 40px;
    border: 1px solid var(--border);
}

.author-box-avatar {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 32px;
    border: 3px solid var(--border);
    flex-shrink: 0;
}

.author-box-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.author-box-info p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 12px;
}

.author-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.author-link:hover {
    gap: 10px;
}

/* Related Posts */
.related-posts-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: white;
    border: 1px solid var(--border);
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.related-post-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.related-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-post-card:hover img {
    transform: scale(1.05);
}

.related-post-card h4 {
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.related-post-card:hover h4 {
    color: var(--primary);
}

/* Blog Detail Responsive */
@media (max-width: 768px) {
    .blog-detail-page {
        padding: 20px 0 40px;
    }

    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-detail-layout .catalog-sidebar {
        display: none;
    }

    .blog-detail-title {
        font-size: 22px;
    }

    .blog-detail-author {
        flex-direction: column;
        align-items: flex-start;
    }

    .author-right {
        text-align: left;
    }

    .blog-detail-content h2 {
        font-size: 19px;
    }

    .blog-detail-content p {
        font-size: 14px;
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .related-post-card {
        display: flex;
    }

    .related-post-img {
        width: 120px;
        aspect-ratio: auto;
        min-height: 100%;
    }

    .blog-share {
        flex-wrap: wrap;
    }
}

/* ===== Checkout Page ===== */
.checkout-page {
    padding: 30px 0 70px;
    background: var(--bg-alt);
    min-height: 80vh;
}

.checkout-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
}

.checkout-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.checkout-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-card-title i {
    color: var(--primary);
    font-size: 18px;
}

/* Form */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    background: white;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23636e72' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    padding: 10px 0;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-label i {
    color: var(--primary);
}

/* Gift Form */
.gift-form {
    display: none;
    background: var(--primary-bg);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 10px;
}

.gift-form.active {
    display: block;
}

.gift-form .form-group {
    margin-bottom: 0;
}

/* Delivery Tabs */
.delivery-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.delivery-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.delivery-tab i {
    font-size: 22px;
    color: var(--text-light);
    transition: var(--transition);
}

.delivery-tab span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.delivery-tab.active {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.delivery-tab.active i {
    color: var(--primary);
}

.delivery-tab.active span {
    color: var(--primary);
}

.delivery-panel {
    display: none;
}

.delivery-panel.active {
    display: block;
}

/* Store pickup list */
.pickup-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.store-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.store-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-bottom: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    color: var(--text);
}

.store-option:first-child {
    border-radius: 8px 8px 0 0;
}

.store-option:last-child {
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 8px 8px;
}

.store-option.active {
    background: var(--primary-bg);
    border-color: var(--primary);
}

.store-option.active + .store-option {
    border-top-color: var(--primary);
}

.store-option input {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

/* Order Summary */
.summary-card {
    position: sticky;
    top: 90px;
}

.summary-item {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.summary-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.summary-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-item-info {
    flex: 1;
    min-width: 0;
}

.summary-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 4px;
}

.summary-item-qty {
    font-size: 13px;
    color: var(--text-light);
}

.summary-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 14px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.summary-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.summary-total span:last-child {
    color: var(--primary);
    font-size: 22px;
}

/* Payment */
.payment-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 10px;
}

.payment-option.active {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.payment-option input {
    margin-top: 3px;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.payment-info {
    flex: 1;
}

.payment-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.payment-name i {
    color: var(--text-light);
    font-size: 16px;
}

.payment-name strong {
    font-size: 14px;
    color: var(--text);
}

.payment-desc {
    font-size: 12px;
    color: var(--text-light);
}

/* Checkout Button */
.btn-checkout {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), #059669);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 16px;
    font-family: inherit;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Checkout Responsive */
@media (max-width: 768px) {
    .checkout-page {
        padding: 20px 0 40px;
    }

    .checkout-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .checkout-card {
        padding: 20px 16px;
        margin-bottom: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .delivery-tabs {
        gap: 10px;
    }

    .delivery-tab {
        padding: 14px 12px;
    }

    .delivery-tab i {
        font-size: 18px;
    }

    .delivery-tab span {
        font-size: 13px;
    }

    .summary-card {
        position: static;
    }

    .summary-total span:last-child {
        font-size: 20px;
    }

    .btn-checkout {
        font-size: 14px;
        padding: 14px;
    }
}

/* ===== Product Detail Page ===== */
.detail-page {
    padding: 30px 0 70px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Gallery */
.detail-gallery {
    position: sticky;
    top: 90px;
    align-self: start;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    background: none;
    padding: 0;
    transition: var(--transition);
}

.thumb.active,
.thumb:hover {
    border-color: var(--primary);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Recently viewed in detail */
.detail-recently {
    margin-top: 0;
}

.recently-item {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
}

.recently-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recently-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recently-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.recently-info a {
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
}

.recently-info a:hover {
    color: var(--primary);
}

/* Detail Info */
.detail-info {
    min-width: 0;
}

.detail-name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.detail-meta i {
    margin-right: 4px;
}

.detail-meta strong {
    color: var(--text);
}

.text-green {
    color: #27ae60;
}

.stars i {
    color: #ddd;
    font-size: 12px;
}

.detail-price {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.detail-price span {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
}

.detail-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

/* Options */
.detail-option {
    margin-bottom: 18px;
}

.detail-option label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option-btn {
    padding: 8px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.option-btn:hover {
    border-color: var(--primary-light);
}

.option-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
    font-weight: 600;
}

/* Quantity */
.detail-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 20px 0;
    width: fit-content;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-alt);
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.detail-quantity input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    outline: none;
}

/* Order Button */
.btn-order {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), #059669);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 12px;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-order-main {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-order-sub {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
}

/* Zalo Button */
.btn-zalo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    transition: var(--transition);
}

.btn-zalo:hover {
    border-color: #0068ff;
}

.btn-zalo-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.btn-zalo-phone {
    font-size: 20px;
    font-weight: 700;
    color: #0068ff;
}

/* Callback form */
.callback-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.callback-form > span {
    font-size: 14px;
    color: var(--text-light);
    white-space: nowrap;
}

.callback-input {
    display: flex;
    flex: 1;
    min-width: 200px;
}

.callback-input input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.callback-input input:focus {
    border-color: var(--primary-light);
}

.callback-input button {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.callback-input button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Description Tabs */
.detail-description {
    margin-bottom: 50px;
}

.desc-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
}

.desc-tab {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    margin-bottom: -2px;
    font-family: inherit;
}

.desc-tab.active,
.desc-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.desc-content {
    text-align: center;
}

.desc-image-placeholder {
    width: 100%;
    aspect-ratio: 16/7;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.desc-image-placeholder i {
    font-size: 40px;
    opacity: 0.4;
}

/* Related Products */
.related-products {
    margin-bottom: 20px;
}

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

/* Detail Responsive */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 400px 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .detail-page {
        padding: 20px 0 40px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-gallery {
        position: static;
    }

    .detail-name {
        font-size: 22px;
    }

    .detail-price span {
        font-size: 22px;
    }

    .detail-meta {
        gap: 10px;
        font-size: 12px;
    }

    .option-btn {
        padding: 7px 14px;
        font-size: 12px;
    }

    .btn-order-main {
        font-size: 16px;
    }

    .related-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .detail-recently {
        display: none;
    }

    .callback-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .callback-input {
        width: 100%;
    }
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: var(--bg-alt);
    padding: 14px 0;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 10px;
    margin: 0 8px;
    color: var(--text-light);
}

/* ===== About Page ===== */
.about-page {
    padding: 50px 0 70px;
}

.about-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary);
}

.about-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
}

.about-intro {
    margin-bottom: 40px;
}

.about-intro p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}

.about-intro p strong {
    color: var(--primary);
}

.about-banner {
    margin: 40px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-banner-placeholder {
    width: 100%;
    aspect-ratio: 16/7;
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
}

.about-banner-placeholder i {
    font-size: 48px;
}

.about-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.about-section {
    margin-bottom: 36px;
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    position: relative;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.about-section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 14px;
}

.about-section p strong {
    color: var(--primary);
}

/* About responsive */
@media (max-width: 768px) {
    .about-page {
        padding: 30px 0 40px;
    }

    .about-header h1 {
        font-size: 22px;
    }

    .about-section h2 {
        font-size: 20px;
    }

    .about-intro p,
    .about-section p {
        font-size: 14px;
    }

    .about-banner-placeholder {
        aspect-ratio: 16/9;
    }

    .breadcrumb {
        padding: 10px 0;
        font-size: 13px;
    }
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(160deg, #10b981 0%, #059669 50%, #047857 100%);
    color: white;
    padding: 30px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.footer .container {
    position: relative;
    z-index: 1;
}

/* CTA inside footer */
.footer .cta-content {
    display: flex;
    align-items: center;
    gap: 50px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer .cta-text {
    flex: 1;
}

.footer .cta-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.footer .cta-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 480px;
}

.footer .cta-contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer .cta-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer .cta-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    color: white;
}

.footer .cta-contact-item strong {
    display: block;
    font-size: 13px;
    color: white;
    margin-bottom: 2px;
}

.footer .cta-contact-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.footer .cta-socials {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.footer .cta-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    transition: var(--transition);
}

.footer .cta-socials a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.footer .zalo-icon span {
    font-size: 11px;
    font-weight: 700;
}

.footer .btn-white {
    background: white;
    color: var(--primary);
    border-color: white;
    padding: 12px 28px;
    font-size: 14px;
}

.footer .btn-white:hover {
    background: transparent;
    color: white;
}

@media (max-width: 768px) {
    .footer .cta-content {
        flex-direction: column;
        text-align: left;
        gap: 24px;
    }

    .footer .cta-text h2 {
        font-size: 22px;
    }

    .footer .cta-text p {
        max-width: none;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo .logo-icon {
    width: 46px;
    height: 46px;
    font-size: 17px;
    background: white;
    color: var(--primary);
    border-radius: 12px;
}

.footer-logo .logo-name {
    color: white;
    font-size: 17px;
}

.footer-logo .logo-sub {
    color: rgba(255,255,255,0.85);
}

.footer h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: white;
    border-radius: 2px;
    opacity: 0.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.footer-links a::before {
    content: '';
    display: inline-block;
    width: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover::before {
    content: '›';
    width: 12px;
    margin-right: 2px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
}

.footer-col p strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 18px 0;
    text-align: center;
    background: rgba(0,0,0,0.08);
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.3px;
}

/* ===== Hamburger Button (hidden on desktop) ===== */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

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

/* ===== Mobile Overlay ===== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== Mobile Drawer ===== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #fafafa;
    z-index: 1000;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 30px rgba(0,0,0,0.18);
}

.mobile-drawer.active {
    right: 0;
}

/* Drawer Header */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary), #059669);
    flex-shrink: 0;
}

.drawer-header .logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.drawer-close {
    background: rgba(255,255,255,0.2);
    border: none;
    font-size: 16px;
    color: white;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.drawer-close:hover {
    background: rgba(255,255,255,0.35);
}

/* Drawer Tabs */
.drawer-tabs {
    display: flex;
    background: white;
    border-bottom: none;
    padding: 12px 16px 0;
    gap: 8px;
    flex-shrink: 0;
}

.drawer-tab {
    flex: 1;
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 700;
    background: var(--bg-alt);
    border: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
}

.drawer-tab.active {
    color: white;
    background: var(--primary);
}

.drawer-tab:hover:not(.active) {
    color: var(--primary);
    background: var(--primary-bg);
}

/* Drawer Panels */
.drawer-panel {
    display: none;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 12px 20px;
}

.drawer-panel.active {
    display: block;
}

.drawer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer-links li {
    border-bottom: none;
    margin-bottom: 2px;
}

.drawer-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    border-radius: 10px;
    background: white;
    border: 1px solid transparent;
}

.drawer-links a:hover {
    color: var(--primary);
    background: var(--primary-bg);
    border-color: rgba(16, 185, 129, 0.12);
}

.drawer-links a.active {
    color: var(--primary);
    background: var(--primary-bg);
    border-color: var(--primary);
    font-weight: 600;
}

.drawer-links a i {
    font-size: 11px;
    color: var(--text-light);
    transition: var(--transition);
}

.drawer-links a:hover i,
.drawer-links a.active i {
    color: var(--primary);
}

/* Has-sub items */
.drawer-links .has-sub a {
    font-weight: 500;
}

/* Body lock khi drawer mo */
body.drawer-open {
    overflow: hidden;
}

/* ===== Floating Contact Icons ===== */
.floating-contact {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.floating-toggle {
    width: 52px;
    height: 52px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.floating-toggle:hover {
    transform: scale(1.08);
}

.floating-toggle .fa-times {
    display: none;
}

.floating-contact.open .floating-toggle .fa-comment-dots { display: none; }
.floating-contact.open .floating-toggle .fa-times { display: block; }

.floating-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.floating-contact.open .floating-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row-reverse;
}

.floating-item-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: var(--transition);
}

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

.floating-item-icon.messenger {
    background: #0084ff;
}

.floating-item-icon.zalo {
    background: #0068ff;
    font-size: 12px;
    font-weight: 800;
}

.floating-item-icon.phone {
    background: #27ae60;
}

.floating-item-label {
    background: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .floating-contact {
        right: 16px;
        bottom: 20px;
    }

    .floating-toggle {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .floating-item-label {
        display: none;
    }

    .floating-item-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* ===== Contact Page ===== */
.contact-intro {
    text-align: center;
    margin-bottom: 32px;
    padding: 28px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.contact-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
    font-style: italic;
}

.contact-hotline {
    font-size: 15px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

.contact-hotline strong {
    font-size: 18px;
    color: var(--primary-dark);
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

.contact-form .form-group textarea {
    resize: vertical;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), #059669);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-intro h2 {
        font-size: 18px;
    }
}

/* ===== Lightbox Gallery ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 2;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.15);
}

.lightbox-img {
    max-width: 85vw;
    max-height: 85vh;
    border-radius: var(--radius);
    object-fit: contain;
    animation: lbIn 0.3s ease;
}

@keyframes lbIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    font-size: 22px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
}

/* ===== Login Modal ===== */
.login-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.login-overlay.active {
    display: flex;
}

.login-modal {
    background: white;
    border-radius: var(--radius);
    width: 400px;
    max-width: 90vw;
    padding: 36px 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-light);
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.login-close:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.login-modal h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-form .form-group {
    margin-bottom: 18px;
}

.login-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.login-form .form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.login-form .form-group input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
}

.login-remember input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.btn-login {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), #059669);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    margin-bottom: 14px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.login-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-footer a {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

.login-divider {
    text-align: center;
    margin: 18px 0;
    position: relative;
    color: var(--text-light);
    font-size: 13px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border);
}

.login-divider::before { left: 0; }
.login-divider::after { right: 0; }

.btn-register {
    display: block;
    width: 100%;
    padding: 12px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-align: center;
}

.btn-register:hover {
    background: var(--primary-bg);
}

/* ===== Cart Drawer ===== */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: white;
    z-index: 1002;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 30px rgba(0,0,0,0.18);
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary), #059669);
    color: white;
    flex-shrink: 0;
}

.cart-drawer-header h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-drawer-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.cart-drawer-close:hover {
    background: rgba(255,255,255,0.35);
}

.cart-drawer-count {
    padding: 12px 24px;
    font-size: 14px;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-drawer-count strong {
    font-weight: 700;
}

/* Cart Items */
.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-drawer-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.cart-drawer-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.cart-item-info .cart-item-variant {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-qty {
    font-size: 13px;
    color: var(--text-light);
}

.cart-item-remove {
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
    font-family: inherit;
}

.cart-item-remove:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

/* Cart Footer */
.cart-drawer-footer {
    border-top: 2px solid var(--border);
    padding: 20px 24px;
    flex-shrink: 0;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total-row span:first-child {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
}

.cart-total-row span:last-child {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.btn-cart-checkout {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), #059669);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
    margin-bottom: 10px;
}

.btn-cart-checkout:hover {
    background: linear-gradient(135deg, var(--primary-dark), #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.cart-detail-link {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    padding: 8px;
}

.cart-detail-link:hover {
    color: var(--primary);
}

.cart-detail-link i {
    margin-left: 4px;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll reveal classes */
.animate-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.animate-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.6s ease, transform 0.6s ease !important;
}

/* ===== Responsive ===== */

/* Tablet landscape */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-image-placeholder {
        width: 320px;
        height: 320px;
    }

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

/* Tablet portrait & mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Top bar */
    .top-bar {
        display: block;
        font-size: 11px;
        padding: 6px 0;
    }

    .top-bar-right {
        display: none;
    }

    .top-bar-left {
        width: 100%;
        justify-content: space-between;
    }

    .topbar-hotline-text {
        display: none;
    }

    .topbar-hours {
        margin-left: auto;
    }

    .topbar-clock-desktop {
        display: none;
    }

    .topbar-clock-mobile {
        display: inline;
    }

    /* Header mobile: hamburger trai - logo giua - gio hang phai */
    .header {
        padding: 10px 0;
    }

    .header-content {
        display: grid;
        grid-template-columns: 40px 1fr auto;
        grid-template-rows: auto;
        align-items: center;
        gap: 10px;
    }

    /* Hamburger: col 1, row 1 */
    .hamburger {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    /* Logo: col 2, row 1 - centered */
    .logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 15px;
        border-radius: 10px;
    }

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

    /* Header actions: col 3, row 1 */
    .header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        gap: 12px;
    }

    .header-action span:not(.cart-badge) {
        display: none;
    }

    /* Hide user icon on mobile, keep search + cart */
    .header-action:not(.cart-action) {
        display: none;
    }

    .search-icon-btn {
        display: flex;
        font-size: 22px;
        color: var(--text);
        padding: 4px;
    }

    .cart-action i {
        font-size: 22px;
    }

    /* Search bar: full width row 2 */
    .search-bar {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: 100%;
    }

    .search-bar input {
        padding: 10px 16px;
        font-size: 14px;
    }

    /* Hide desktop nav */
    .main-nav {
        display: none;
    }

    /* Hero mobile */
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .hero-text p {
        margin: 0 auto 24px;
        font-size: 14px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-image-placeholder {
        width: 220px;
        height: 220px;
    }

    .hero-image-placeholder i {
        font-size: 48px;
    }

    .hero-dots {
        padding-bottom: 20px;
    }

    /* Banners mobile - xep doc */
    .feature-banners {
        margin-top: 0;
        padding: 16px 0;
    }

    .banners-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Section headers mobile */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-label {
        font-size: 11px;
    }

    .view-all-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    /* Products mobile */
    .products-section {
        padding: 40px 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .product-price {
        font-size: 14px;
    }

    .product-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent 20%, rgba(0,0,0,0.25));
        padding: 10px;
    }

    .product-overlay button,
    .product-overlay a {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    /* Blog mobile */
    .blog-section {
        padding: 40px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-card {
        display: flex;
        flex-direction: row;
    }

    .blog-card .blog-image {
        width: 130px;
        min-height: 100%;
        flex-shrink: 0;
        aspect-ratio: auto;
    }

    .blog-content {
        padding: 14px;
        flex: 1;
    }

    .blog-content h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .blog-content p {
        font-size: 13px;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
    }

    .blog-meta {
        font-size: 11px;
        gap: 10px;
        margin-bottom: 8px;
    }

    .read-more {
        font-size: 13px;
    }

    /* CTA mobile - giong mau */
    .cta-section {
        padding: 36px 0;
    }

    .cta-content {
        flex-direction: column;
        text-align: left;
        gap: 0;
    }

    .cta-text {
        margin-bottom: 28px;
    }

    .cta-text h2 {
        font-family: 'Inter', sans-serif;
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .cta-text p {
        font-size: 13px;
        margin-bottom: 20px;
        line-height: 1.6;
        max-width: none;
    }

    .btn-white {
        padding: 12px 28px;
        font-size: 14px;
        border: 2px solid white;
        border-radius: 50px;
    }

    .cta-contact {
        align-items: flex-start;
        gap: 16px;
    }

    .cta-contact-item {
        gap: 12px;
    }

    .cta-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        background: rgba(255,255,255,0.25);
    }

    .cta-contact-item strong {
        font-size: 13px;
    }

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

    .cta-socials {
        justify-content: flex-start;
        gap: 10px;
        margin-top: 12px;
    }

    .cta-socials a {
        width: 42px;
        height: 42px;
        background: rgba(0,0,0,0.5);
        font-size: 18px;
    }

    .cta-socials a:hover {
        background: rgba(0,0,0,0.7);
        color: white;
        transform: none;
    }

    /* Footer mobile - mau hong */
    .footer {
        padding: 0;
        background: var(--primary);
        color: white;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 0;
    }

    .footer-col {
        padding: 20px 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-logo {
        margin-bottom: 16px;
    }

    .footer-logo .logo-icon {
        background: white;
        color: var(--primary);
    }

    .footer-logo .logo-name {
        color: white;
        font-size: 16px;
    }

    .footer-logo .logo-sub {
        color: rgba(255,255,255,0.7);
    }

    .footer h4 {
        color: white;
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 14px;
        text-transform: uppercase;
    }

    .footer h4::after {
        background: white;
    }

    .footer-links a {
        font-size: 14px;
        color: rgba(255,255,255,0.85);
    }

    .footer-links a:hover {
        color: white;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-col p {
        color: rgba(255,255,255,0.8);
    }

    .footer-col p strong {
        color: white;
    }

    .footer-bottom {
        background: rgba(0,0,0,0.1);
        border-top: 1px solid rgba(255,255,255,0.2);
        padding: 16px 0;
    }

    .footer-bottom p {
        font-size: 11px;
        line-height: 1.6;
        color: rgba(255,255,255,0.7);
    }

    /* Back to top mobile */
    .back-to-top {
        bottom: 20px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 26px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 5px 14px;
    }

    .hero-content {
        padding: 30px 0;
        gap: 24px;
    }

    .hero-image-placeholder {
        width: 180px;
        height: 180px;
    }

    .hero-image-placeholder i {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }


    .section-title {
        font-size: 22px;
    }

    .products-grid {
        gap: 10px;
    }

    .product-info {
        padding: 10px;
    }

    .product-info h3 {
        font-size: 12px;
    }

    .product-price {
        font-size: 13px;
    }

    /* Blog card nhỏ - stack lại */
    .blog-card {
        flex-direction: column;
    }

    .blog-card .blog-image {
        width: 100%;
        aspect-ratio: 16/9;
        min-height: auto;
    }

    .cta-text h2 {
        font-size: 22px;
    }

    .footer-bottom p {
        font-size: 10px;
    }
}
