/* ===== SWEET DREAMS - MODERN WHITE & PINK THEME ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* SEO-Optimized Fonts: Playfair Display for headings, Poppins for body */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Màu sắc chính - White & Pink Pastel Theme */
    --primary-white: #FFFFFF;
    --soft-pink: #FFF1F2;
    --pastel-pink: #FECACA;
    --medium-pink: #FB7185;
    --accent-pink: #E11D48;
    --deep-pink: #BE185D;

    /* Text Colors - SEO & Accessibility Optimized (WCAG AA Compliant) */
    --text-primary: #2D2D2D;
    --text-secondary: #4A5568;
    --text-light: #718096;
    --text-white: #FFFFFF;
    --text-pink: #C81D53;

    /* Background & Surface */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-accent: #FFF1F2;
    --surface: #FFFFFF;

    /* Borders & Shadows */
    --border-light: #F3F4F6;
    --border-medium: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-pink: 0 4px 14px 0 rgba(225, 29, 72, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Typography - SEO Optimized */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Layout */
    --header-height: 80px;
    --container-max: 1600px;
    --container-padding: 2rem;
    --border-radius: 12px;
    --border-radius-lg: 20px;

    /* Animations */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== SMOOTH SCROLLING & SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== BASE STYLES ===== */
body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Scroll padding for fixed header */
    scroll-padding-top: calc(var(--header-height) + 2rem);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== TYPOGRAPHY - SEO OPTIMIZED ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

h5 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* ===== TABLE STYLES (Responsive & SEO-Friendly) ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

thead {
    background: linear-gradient(135deg, var(--accent-pink), var(--medium-pink));
    color: white;
}

th {
    padding: 1rem;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

tbody tr:hover {
    background-color: var(--soft-pink);
    transition: background-color var(--transition-fast);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive table wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    table {
        font-size: 0.875rem;
    }

    th,
    td {
        padding: 0.75rem 0.5rem;
    }
}

/* ===== ACCESSIBILITY & FOCUS STATES ===== */
*:focus {
    outline: 3px solid var(--accent-pink);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--accent-pink);
    outline-offset: 2px;
}

a:focus,
button:focus {
    outline: 3px solid var(--accent-pink);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
}

/* Skip to main content link for screen readers */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-pink);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 10000;
}

.skip-to-main:focus {
    top: 0;
}

/* ===== FORM ELEMENTS (SEO & UX Optimized) ===== */
input,
textarea,
select,
button {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-medium);
    border-radius: var(--border-radius);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition-normal);
    font-size: 1rem;
    min-height: 48px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-pink);
    outline: none;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

/* Placeholder styles */
::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

/* Form validation states */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

/* ===== HEADER & NAVBAR - MODERN DESIGN ===== */
.header {
    background-color: var(--primary-white);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    position: relative;
    width: 100%;
    max-width: 100%;
    gap: 1rem;
}

/* ===== LOGO DESIGN ===== */
.navbar-brand {
    flex-shrink: 0;
    margin-right: auto;
    padding-right: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: transform var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(225, 29, 72, 0.2));
    transition: filter var(--transition-normal);
    -webkit-text-fill-color: initial !important;
    background: none !important;
}

.logo:hover .logo-icon {
    filter: drop-shadow(0 4px 8px rgba(225, 29, 72, 0.3));
}

.logo-text {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-pink), var(--medium-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0;
}

/* ===== NAVIGATION MENU ===== */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    white-space: nowrap;
    /* Accessibility improvements */
    min-height: 44px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-pink), var(--medium-pink));
    transition: all var(--transition-normal);
    border-radius: 2px;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--accent-pink);
    transform: translateY(-2px);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-pink);
    font-weight: 600;
}

/* ===== DROPDOWN MENU ===== */
.nav-item.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover .dropdown-icon,
.nav-item.has-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Desktop dropdown styles - only apply on larger screens */
@media (min-width: 769px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
        padding: 0.75rem;
        margin-top: 0.5rem;
        min-width: 280px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        list-style: none;
    }

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

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: var(--soft-pink);
    color: var(--accent-pink);
    transform: translateX(4px);
}

.dropdown-icon-wrapper {
    display: none !important;
}

.dropdown-item:hover .dropdown-icon-wrapper {
    display: none !important;
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.dropdown-item-title {
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.3;
}

.dropdown-item-desc {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.3;
}

/* ===== CART ICON ===== */
.cart-icon {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: auto;
}

.cart-icon:hover {
    transform: translateY(-2px);
}

.cart-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    stroke: var(--text-primary);
    fill: none;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.cart-icon:hover svg {
    color: var(--accent-pink);
    stroke: var(--accent-pink);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-pink);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cartBounce 0.5s ease;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes cartBounce {

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

    50% {
        transform: scale(1.3);
    }
}

.add-to-cart-message {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #10B981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: slideIn 0.3s ease;
    font-weight: 500;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

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

@keyframes slideOut {
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    border-radius: 8px;
    transition: background-color var(--transition-normal);
    gap: 4px;
}

.hamburger:hover {
    background-color: var(--soft-pink);
}

.hamburger-line {
    width: 24px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--accent-pink), var(--medium-pink));
    transition: all var(--transition-normal);
    transform-origin: center;
    border-radius: 2px;
    display: block;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION - STUNNING DESIGN ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg,
            var(--primary-white) 0%,
            var(--soft-pink) 30%,
            var(--pastel-pink) 60%,
            var(--medium-pink) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(225, 29, 72, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(251, 113, 133, 0.15) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 241, 242, 0.8) 70%);
    pointer-events: none;
}

.hero-background {
    position: relative;
    width: 100%;
    padding: 5rem 0;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FECACA" opacity="0.3"/><circle cx="75" cy="75" r="0.5" fill="%23FB7185" opacity="0.2"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--deep-pink), var(--accent-pink), var(--medium-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 3px 6px rgba(225, 29, 72, 0.15);
    position: relative;
    letter-spacing: -0.03em;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-pink), var(--medium-pink));
    border-radius: 2px;
}

.hero-emoji {
    display: inline-block;
    animation: bounce 2s infinite;
    font-size: 1.2em;
}

.hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    text-align: center;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

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

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

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent-pink), var(--medium-pink), var(--deep-pink));
    color: var(--text-white);
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(225, 29, 72, 0.4);
}

.cta-button.secondary {
    background: var(--primary-white);
    color: var(--accent-pink);
    border-color: var(--accent-pink);
    box-shadow: var(--shadow-md);
}

.cta-button.secondary:hover {
    background: var(--accent-pink);
    color: var(--primary-white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(225, 29, 72, 0.3);
}

.button-icon {
    font-size: 1.2em;
}

/* ===== HERO IMAGE ===== */
.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all var(--transition-slow);
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(225, 29, 72, 0.4);
}

.hero-cake {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: saturate(1.2) contrast(1.1);
}

.hero-image-container:hover .hero-cake {
    transform: scale(1.1);
    filter: saturate(1.3) contrast(1.2);
}

/* ===== IMAGE OPTIMIZATION & LAZY LOADING ===== */
img {
    max-width: 100%;
    height: auto;
    /* Không dùng display: block để không ảnh hưởng inline images */
}

/* KHÔNG tự động ẩn ảnh - để browser tự xử lý lazy loading */
/* Ảnh sẽ hiển thị bình thường với loading="lazy" attribute */

/* Image placeholder during loading */
.image-placeholder {
    background: linear-gradient(90deg,
            var(--bg-secondary) 0%,
            var(--soft-pink) 50%,
            var(--bg-secondary) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.hero-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--medium-pink), var(--accent-pink), var(--deep-pink));
    border-radius: 50%;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.3);
}

.hero-decoration::before {
    content: '🎂';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

/* ===== BREADCRUMB SECTION ===== */
.breadcrumb-section {
    background-color: var(--bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9375rem;
    /* Accessibility - larger click area */
    min-height: 44px;
}

.breadcrumb-link:hover {
    color: var(--accent-pink);
    background-color: var(--soft-pink);
    transform: translateX(2px);
}

.breadcrumb-home-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.breadcrumb-separator {
    color: var(--text-light);
    font-weight: 400;
    user-select: none;
}

.breadcrumb-item.active {
    color: var(--accent-pink);
    font-weight: 500;
}

/* ===== LOADING STATES & SKELETON SCREENS ===== */
.skeleton {
    background: linear-gradient(90deg,
            var(--bg-secondary) 0%,
            var(--soft-pink) 50%,
            var(--bg-secondary) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--border-radius);
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.skeleton-title {
    height: 2rem;
    width: 60%;
    margin-bottom: 1rem;
    border-radius: 6px;
}

.skeleton-image {
    height: 200px;
    width: 100%;
    border-radius: var(--border-radius);
}

/* Loading spinner */
.loading-spinner {
    border: 3px solid var(--border-light);
    border-top: 3px solid var(--accent-pink);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {

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

    50% {
        transform: translateY(-20px);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 1400px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        padding: 0.75rem 0.75rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.75rem 0.4rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 768px) {
    .header {
        background-color: rgba(255, 255, 255, 1);
        z-index: 9999;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .navbar-brand {
        flex: 0 0 auto;
        margin-right: auto;
    }

    /* Hamburger Menu - Make sure it's visible */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 32px;
        height: 32px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 4px;
        z-index: 10001;
        flex-shrink: 0;
        order: 3;
    }

    .hamburger-line {
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--accent-pink), var(--medium-pink));
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Cart Icon - Fix positioning */
    .cart-icon {
        position: relative;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0.5rem;
        z-index: 10001;
        background: transparent;
        flex-shrink: 0;
        order: 2;
    }

    .cart-icon svg {
        width: 24px;
        height: 24px;
        color: var(--text-primary);
        stroke: var(--text-primary);
        fill: none;
        stroke-width: 2;
    }

    .cart-count {
        position: absolute;
        top: 2px;
        right: 2px;
        min-width: 18px;
        height: 18px;
        background: var(--accent-pink);
        color: white;
        font-size: 0.65rem;
        font-weight: 700;
        padding: 0 4px;
        border-radius: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile Menu */
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid var(--border-light);
        z-index: 9998;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        border-bottom: 1px solid var(--border-light);
    }

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

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.25rem 1.5rem;
        font-size: 1.05rem;
        font-weight: 500;
        text-align: center;
        min-height: 56px;
        color: var(--text-primary);
        gap: 0.5rem;
    }

    .nav-link:hover {
        background: var(--soft-pink);
    }

    .nav-link::after {
        display: none;
    }

    /* Dropdown mobile styles - Beautiful redesign */
    .nav-item.has-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0;
        background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
        display: block !important;
        border-top: 1px solid rgba(225, 29, 72, 0.1);
    }

    .nav-item.has-dropdown.active .dropdown-menu {
        max-height: 700px;
        padding: 1rem 0;
    }

    .nav-item.has-dropdown .dropdown-menu::before {
        display: none;
    }

    .dropdown-item {
        padding: 1rem 1.5rem !important;
        font-size: 0.95rem;
        display: flex !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        border-radius: 0;
        transition: all 0.2s ease;
        border-bottom: 1px solid rgba(225, 29, 72, 0.05);
        background: transparent;
    }

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

    .dropdown-item:active,
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.6);
        padding-left: 2rem !important;
    }

    .dropdown-icon-wrapper {
        display: none !important;
    }

    .dropdown-item-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .dropdown-item-title {
        font-weight: 600;
        font-size: 1rem;
        color: var(--text-dark);
        line-height: 1.3;
    }

    .dropdown-item-desc {
        font-size: 0.85rem;
        color: var(--text-secondary);
        line-height: 1.4;
    }

    .dropdown-toggle {
        justify-content: center;
        cursor: pointer;
        user-select: none;
        position: relative;
    }

    .dropdown-icon {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        margin-left: 0.5rem;
    }

    .nav-item.has-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Add overlay when menu is open */
    body.menu-open::after {
        content: '';
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 9997;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Mobile typography - ensure minimum 16px for body text */
    body {
        font-size: 16px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .hero-buttons {
        justify-content: center;
    }

    .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-cake {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-background {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .hero-cake {
        height: 280px;
    }

    .breadcrumb-list {
        font-size: 0.8rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

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

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

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.hidden {
    display: none;
}

.visible {
    visibility: visible;
}

.invisible {
    visibility: hidden;
}

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

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.hero-cake,
.logo-icon {
    will-change: transform;
}

.nav-link::after,
.hamburger-line {
    will-change: width, transform;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== SPECIAL EFFECTS & ANIMATIONS ===== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }

    50% {
        transform: scale(1) rotate(180deg);
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(225, 29, 72, 0);
    }
}

@keyframes rainbow {
    0% {
        filter: hue-rotate(0deg);
    }

    25% {
        filter: hue-rotate(90deg);
    }

    50% {
        filter: hue-rotate(180deg);
    }

    75% {
        filter: hue-rotate(270deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes glow {

    0%,
    100% {
        text-shadow: 0 0 5px rgba(225, 29, 72, 0.25),
            0 0 10px rgba(225, 29, 72, 0.18),
            0 0 15px rgba(225, 29, 72, 0.12);
    }

    50% {
        text-shadow: 0 0 8px rgba(225, 29, 72, 0.4),
            0 0 15px rgba(225, 29, 72, 0.25),
            0 0 20px rgba(225, 29, 72, 0.15);
    }
}

/* ===== ENHANCED PRODUCT SECTION ===== */
.section:nth-child(even) {
    background: linear-gradient(135deg,
            var(--bg-secondary) 0%,
            var(--soft-pink) 30%,
            var(--pastel-pink) 70%,
            var(--bg-secondary) 100%);
    position: relative;
}

.section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="0.5" fill="%23FECACA" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>') repeat;
    animation: sparkle 25s linear infinite;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: glow 3s ease-in-out infinite;
    position: relative;
}

.section-title::before {
    content: '✨';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: rainbow 4s linear infinite;
}

.section-title::after {
    content: '✨';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: rainbow 4s linear infinite reverse;
}

/* Enhanced Product Cards */
.product-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(225, 29, 72, 0.1);
    /* Performance optimization */
    will-change: transform, box-shadow;
}

.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(225, 29, 72, 0.1), transparent);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover::after {
    opacity: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Enhanced buttons */
.product-button,
.category-link {
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.product-button::after,
.category-link::after {
    content: '🚀';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all var(--transition-normal);
}

.product-button:hover::after,
.category-link:hover::after {
    opacity: 1;
    right: 10px;
}

/* Add sparkle effect to hero */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 15%;
    width: 4px;
    height: 4px;
    background: var(--accent-pink);
    border-radius: 50%;
    animation: sparkle 3s infinite;
    box-shadow:
        10px 10px 0 var(--medium-pink),
        25px 5px 0 var(--pastel-pink),
        40px 20px 0 var(--accent-pink),
        55px 8px 0 var(--medium-pink),
        70px 25px 0 var(--pastel-pink);
}

/* Animated background for hero */
.hero {
    background: linear-gradient(135deg,
            var(--primary-white) 0%,
            var(--soft-pink) 25%,
            var(--pastel-pink) 50%,
            var(--medium-pink) 75%,
            var(--accent-pink) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Add pulse animation to CTA buttons */
.cta-button.primary {
    animation: pulse 3s infinite;
}

/* Floating icons around hero */
.hero-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
}

.floating-icon:nth-child(4) {
    top: 70%;
    right: 25%;
    animation-delay: 3s;
}

.floating-icon:nth-child(5) {
    top: 40%;
    left: 50%;
    animation-delay: 4s;
}

/* Enhanced card hover effects */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(225, 29, 72, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.product-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-top: 2px solid var(--accent-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== PAGE HEADERS FOR SUB-PAGES ===== */
.page-header {
    background: linear-gradient(135deg,
            var(--primary-white) 0%,
            var(--soft-pink) 30%,
            var(--pastel-pink) 60%,
            var(--medium-pink) 100%);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(225, 29, 72, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(251, 113, 133, 0.15) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 241, 242, 0.6) 70%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 4px;
    height: 4px;
    background: var(--accent-pink);
    border-radius: 50%;
    animation: sparkle 3s infinite;
    box-shadow:
        15px 15px 0 var(--medium-pink),
        30px 5px 0 var(--pastel-pink),
        45px 25px 0 var(--accent-pink),
        60px 8px 0 var(--medium-pink);
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--deep-pink), var(--accent-pink), var(--medium-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 3px 6px rgba(225, 29, 72, 0.15);
    animation: glow 3s ease-in-out infinite;
}

/* Fix emoji display - tách emoji ra khỏi gradient text */
.emoji-icon {
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    background: none !important;
    color: initial !important;
    display: inline-block;
    filter: none !important;
    text-shadow: none !important;
}

.page-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    display: inline-block;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

/* ===== IMPROVED BREADCRUMB FOR SUB-PAGES ===== */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--bg-secondary), var(--soft-pink));
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="breadcrumbDots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23FECACA" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23breadcrumbDots)"/></svg>') repeat;
}

.breadcrumb {
    position: relative;
    z-index: 2;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    max-width: fit-content;
}

/* ===== MAIN CONTENT SECTIONS ===== */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--soft-pink) 100%);
}

.section-title {
    font-family: var(--font-accent);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--accent-pink), var(--medium-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-pink), var(--medium-pink));
    border-radius: 2px;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.content p {
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--accent-pink);
}

.content strong {
    color: var(--accent-pink);
    font-weight: 600;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Tối ưu layout cho 5 sản phẩm */
@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--primary-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(225, 29, 72, 0.25);
}

/* Badge cho sản phẩm nổi bật */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent-pink), var(--deep-pink));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.05);
    }
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-pink);
    margin-bottom: 1rem;
}

.product-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-pink), var(--medium-pink));
    color: var(--text-white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-normal);
    width: 100%;
}

.product-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(225, 29, 72, 0.3);
}

/* ===== PRODUCTS SHOWCASE SECTION ===== */
.products-showcase {
    background: linear-gradient(135deg,
            var(--accent-pink) 0%,
            var(--medium-pink) 50%,
            var(--deep-pink) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.products-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23stars)"/></svg>') repeat;
    animation: sparkle 20s linear infinite;
}

.showcase-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--primary-white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    animation: pulse 3s infinite;
}

.showcase-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.3rem);
    color: var(--soft-pink);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    line-height: 1.6;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(225, 29, 72, 0.1), transparent);
    transition: left 0.6s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: bounce 2s infinite;
    -webkit-text-fill-color: initial !important;
    background: none !important;
}

.category-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--accent-pink);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.category-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.category-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-pink), var(--medium-pink));
    color: var(--primary-white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

.category-link:hover::before {
    left: 100%;
}

.category-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.4);
}

/* ===== ENHANCED FOOTER STYLING ===== */
.footer {
    background: linear-gradient(135deg,
            #111827 0%,
            #1F2937 25%,
            #374151 50%,
            #4B5563 75%,
            #6B7280 100%);
    color: var(--text-white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--accent-pink);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(225, 29, 72, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(251, 113, 133, 0.12) 0%, transparent 60%),
        linear-gradient(45deg, transparent 20%, rgba(255, 241, 242, 0.08) 50%, transparent 80%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerDots" width="15" height="15" patternUnits="userSpaceOnUse"><circle cx="7.5" cy="7.5" r="1" fill="white" opacity="0.04"/><circle cx="3" cy="12" r="0.5" fill="%23FECACA" opacity="0.06"/></pattern></defs><rect width="100%" height="100%" fill="url(%23footerDots)"/></svg>') repeat;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 3;
    background: rgba(31, 41, 55, 0.85);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.footer-section {
    position: relative;
    padding: 1.5rem;
    background: rgba(55, 65, 81, 0.6);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-pink);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-section:hover {
    background: rgba(75, 85, 99, 0.8);
    transform: translateY(-5px);
    border-left-color: var(--medium-pink);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-section h3 {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-white);
    position: relative;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section h3::before {
    content: '🎂';
    font-size: 1.2em;
    filter: drop-shadow(0 0 10px rgba(225, 29, 72, 0.5));
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-pink), var(--medium-pink), var(--pastel-pink));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.5);
}

.footer-section p,
.footer-section li {
    line-height: 1.8;
    margin-bottom: 0.75rem;
    transition: all var(--transition-fast);
    color: #F9FAFB;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-section p:hover,
.footer-section li:hover {
    color: var(--primary-white);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(225, 29, 72, 0.35);
}

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

.footer-section a {
    color: #F9FAFB;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    font-size: 0.9375rem;
    line-height: 1.6;
    /* Accessibility */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-section a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-pink), var(--medium-pink));
    transition: width var(--transition-normal);
    border-radius: 4px;
    opacity: 0.3;
}

.footer-section a:hover::before {
    width: 100%;
    opacity: 0.6;
}

.footer-section a:hover {
    color: var(--primary-white);
    transform: translateX(8px);
    text-shadow: 0 0 12px rgba(225, 29, 72, 0.45);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.2), rgba(251, 113, 133, 0.2));
    border-radius: 50%;
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-pink), var(--medium-pink));
    transform: scale(0);
    transition: transform var(--transition-normal);
    border-radius: 50%;
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a:hover {
    color: var(--primary-white);
    transform: translateY(-8px) scale(1.2);
    box-shadow: 0 15px 30px rgba(225, 29, 72, 0.4);
    border-color: var(--pastel-pink);
}

.social-links a span {
    position: relative;
    z-index: 2;
}

.footer-bottom {
    text-align: center;
    padding: 2.5rem;
    border-top: 2px solid rgba(225, 29, 72, 0.3);
    font-size: 1.1rem;
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg,
            rgba(17, 24, 39, 0.95) 0%,
            rgba(31, 41, 55, 0.9) 50%,
            rgba(55, 65, 81, 0.85) 100%);
    margin: 0 -2rem -2rem -2rem;
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    color: var(--primary-white);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== NAVIGATION MENU ===== */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-block;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

/* Hiệu ứng hover - Underline mềm */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--pink-accent);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover {
    color: var(--pink-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--pink-accent);
    font-weight: 600;
}

/* ===== HAMBURGER MENU (MOBILE) ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-line:not(:last-child) {
    margin-bottom: 6px;
}

/* Animation hamburger khi active */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== BREADCRUMB NAVIGATION ===== */
.breadcrumb {
    background-color: var(--pastel-pink);
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-light);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--pink-accent);
}

.breadcrumb-home-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.breadcrumb-separator {
    color: var(--text-light);
    font-weight: 400;
    user-select: none;
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet & Mobile */
@media (max-width: 968px) {
    .container {
        padding: 0 1rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.95rem;
    }
}

/* Mobile Design */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--primary-white);
        border-top: 1px solid var(--border-light);
        box-shadow: var(--shadow-medium);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem var(--container-padding);
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: var(--pastel-pink);
        color: var(--pink-accent);
    }

    /* Breadcrumb trên mobile */
    .breadcrumb-list {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    /* Ngăn scroll khi menu mở */
    body.menu-open {
        overflow: hidden;
    }
}

/* Mobile nhỏ */
@media (max-width: 480px) {
    .logo-text {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .breadcrumb-list {
        gap: 0.375rem;
    }
}

/* ===== MAIN CONTENT STYLES ===== */

/* Logo Styles */
.navbar-brand {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
    font-family: 'Poppins', sans-serif;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Effects */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--hover-pink);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--hover-pink);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 80%;
}

/* Active State */
.nav-link.active {
    color: var(--hover-pink);
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.nav-link.active::before {
    width: 80%;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hamburger Animation */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== RESPONSIVE DESIGN ===== */
/* Tablet và Mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    /* Show Hamburger */
    .hamburger {
        display: flex;
    }

    /* Hide Desktop Menu */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navbar-gradient);
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow);
    }

    /* Active Mobile Menu */
    .nav-menu.active {
        top: 100%;
        max-height: 70vh;
        padding: 1rem 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 16px;
        font-weight: 500;
        border-radius: 0;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        gap: 0.5rem;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(0);
    }

    .nav-link::before {
        display: none;
    }

    /* Mobile Active State */
    .nav-link.active {
        background: rgba(255, 255, 255, 0.2);
        color: var(--hover-pink);
    }

    /* Dropdown Mobile Styles for this section */
    .nav-item.has-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.15);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
        display: block !important;
        border-radius: 0;
    }

    .nav-item.has-dropdown.active .dropdown-menu {
        max-height: 600px;
        padding: 0.5rem 0;
    }

    .nav-item.has-dropdown .dropdown-item {
        padding: 0.75rem 2.5rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 14px;
    }

    .nav-item.has-dropdown .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .dropdown-icon {
        transition: transform 0.3s ease;
        margin-left: 0.5rem;
    }

    .nav-item.has-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar {
        padding: 0.6rem 0.8rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .nav-link {
        font-size: 15px;
        padding: 0.8rem 1.5rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .nav-link {
        font-size: 16px;
        padding: 0.8rem 1.5rem;
    }

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

/* Hero Section */
.hero {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--gradient);
    color: var(--white);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: var(--accent-color);
}

/* Container chung */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section chung */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Grid sản phẩm */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    width: 100%;
    height: 250px;
    background: var(--gradient);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.4;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.product-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    background: var(--light-pink);
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #999;
}

/* Content area */
.content {
    padding: 2rem 0;
    line-height: 1.8;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.8rem;
    color: var(--secondary-color);
}

.content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Blog card */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: var(--gradient);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text-color);
}

.blog-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.9375rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-top: auto;
    display: inline-block;
}

.blog-link:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #999;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .product-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Lazy loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* ===== PRODUCT DETAIL PAGE - SEO OPTIMIZED ===== */
.product-detail {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
    background: var(--bg-secondary);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.thumbnail-images .thumb {
    cursor: pointer;
    border-radius: var(--border-radius);
    border: 3px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
    aspect-ratio: 1;
    object-fit: cover;
}

.thumbnail-images .thumb:hover,
.thumbnail-images .thumb.active {
    border-color: var(--medium-pink);
    box-shadow: var(--shadow-pink);
}

/* Product Info */
.product-info {
    padding: 1rem 0;
}

.product-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-accent);
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.product-rating .stars {
    color: #FFC107;
    font-size: 1.1rem;
}

.product-rating .rating-text {
    color: var(--text-secondary);
}

.product-price-box {
    background: linear-gradient(135deg, var(--soft-pink) 0%, var(--pastel-pink) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.current-price {
    font-size: 3rem;
    color: var(--accent-pink);
    font-weight: 800;
    font-family: var(--font-accent);
}

.unit {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.product-short-desc {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--medium-pink);
}

.product-short-desc p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.product-highlights {
    background: var(--bg-accent);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.product-highlights h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-highlights ul {
    list-style: none;
    padding: 0;
}

.product-highlights li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

/* Order Box */
.product-order-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    border: 2px solid var(--medium-pink);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--medium-pink);
    color: white;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--accent-pink);
}

.qty-input {
    width: 70px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-add-cart,
.btn-buy-now {
    flex: 1;
    min-width: 180px;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-cart {
    background: var(--bg-accent);
    color: var(--text-primary);
    border: 2px solid var(--medium-pink);
}

.btn-add-cart:hover {
    background: var(--soft-pink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-buy-now {
    background: linear-gradient(135deg, var(--medium-pink) 0%, var(--accent-pink) 100%);
    color: white;
    box-shadow: var(--shadow-pink);
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(225, 29, 72, 0.3);
}

/* Product Meta */
.product-meta {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.product-meta p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.product-meta strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
}

.product-meta a {
    color: var(--medium-pink);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-meta a:hover {
    color: var(--accent-pink);
    text-decoration: underline;
}

/* Product Description Section */
.product-description-section {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.product-description-section h2,
.product-description-section h3,
.product-description-section h4 {
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-family: var(--font-accent);
    line-height: 1.3;
}

.product-description-section h2 {
    font-size: 2rem;
    border-bottom: 3px solid var(--medium-pink);
    padding-bottom: 0.5rem;
}

.product-description-section h3 {
    font-size: 1.6rem;
}

.product-description-section h4 {
    font-size: 1.3rem;
}

.product-description-section p {
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.product-description-section ul,
.product-description-section ol {
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.product-description-section li {
    padding: 0.5rem 0;
    line-height: 1.8;
    color: var(--text-secondary);
}

.product-description-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.product-description-section img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    margin: 2.5rem 0;
    box-shadow: var(--shadow-lg);
}

/* Related Products */
.related-products {
    margin-top: 5rem;
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
}

.related-products h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-size: 2.2rem;
    font-family: var(--font-accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-images {
        position: relative;
        top: 0;
    }

    .product-name {
        font-size: 2rem;
    }

    .current-price {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .product-order-box {
        flex-direction: column;
    }

    .btn-add-cart,
    .btn-buy-now {
        width: 100%;
    }

    .product-name {
        font-size: 1.8rem;
    }

    .current-price {
        font-size: 2rem;
    }

    .thumbnail-images {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .product-description-section h2 {
        font-size: 1.6rem;
    }

    .product-description-section h3 {
        font-size: 1.3rem;
    }
}

/* ===== PRINT STYLES (SEO & ACCESSIBILITY) ===== */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    header,
    .header,
    .hamburger,
    .nav-menu,
    footer,
    .footer,
    .cta-button,
    .social-links {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    h1 {
        font-size: 24pt;
    }

    h2 {
        font-size: 20pt;
    }

    h3 {
        font-size: 16pt;
    }

    h4 {
        font-size: 14pt;
    }

    h5,
    h6 {
        font-size: 12pt;
    }

    a {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }

    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    .page-break {
        page-break-after: always;
    }
}

/* ===== UTILITY CLASSES (SEO & Performance Helpers) ===== */

/* Text utilities */
.text-center {
    text-align: center;
}

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

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

.text-small {
    font-size: 0.875rem;
}

.text-large {
    font-size: 1.125rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

/* Spacing utilities */
.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.pt-1 {
    padding-top: 0.5rem;
}

.pt-2 {
    padding-top: 1rem;
}

.pt-3 {
    padding-top: 1.5rem;
}

.pt-4 {
    padding-top: 2rem;
}

.pb-1 {
    padding-bottom: 0.5rem;
}

.pb-2 {
    padding-bottom: 1rem;
}

.pb-3 {
    padding-bottom: 1.5rem;
}

.pb-4 {
    padding-bottom: 2rem;
}

/* Display utilities */
.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

/* Flex utilities */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.flex-column {
    flex-direction: column;
}

/* Gap utilities */
.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

/* Visibility utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .hidden-desktop {
        display: none !important;
    }

    .show-desktop {
        display: block !important;
    }
}

/* Performance utilities */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Truncate text */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Shadow utilities */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Border radius utilities */
.rounded {
    border-radius: var(--border-radius);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

.rounded-full {
    border-radius: 50%;
}

/* ===== BACK TO TOP BUTTON (UX Enhancement) ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-pink), var(--medium-pink));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
    transition: all var(--transition-normal);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.4);
    background: linear-gradient(135deg, var(--deep-pink), var(--accent-pink));
}

.back-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* ===== ALERT & MESSAGE COMPONENTS ===== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.alert-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.alert-success {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.alert-error {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.alert-warning {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
}

.alert-info {
    background-color: #dbeafe;
    border: 1px solid #3b82f6;
    color: #1e40af;
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    min-width: 300px;
    max-width: 400px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

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

@media (max-width: 768px) {
    .toast {
        left: 1rem;
        right: 1rem;
        min-width: auto;
    }
}

/* ===== PREMIUM CATEGORY PAGE STYLES (SHARED) ===== */
/* Used for: Bánh Bông Lan Cuốn, Macaron, Bánh Su Kem, Bánh Mì Ngọt, Bánh Hong Kong */

/* Category Hero Section */
.category-hero {
    position: relative;
    height: 75vh;
    min-height: 550px;
    overflow: hidden;
}

.category-hero.gradient-pink {
    background: linear-gradient(135deg, #FFE5EC 0%, #FFF0F5 100%);
}

.category-hero.gradient-lavender {
    background: linear-gradient(135deg, #E6E6FA 0%, #FFF0F5 50%, #FFDAB9 100%);
}

.category-hero.gradient-cream {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFE4E1 100%);
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 4rem;
    padding: 0 5%;
}

.hero-text-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-text-content h1 {
    font-size: 3.8rem;
    font-weight: 300;
    color: var(--text-dark, #2C2C2C);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    font-family: var(--font-heading);
}

.hero-text-content h1 strong {
    font-weight: 600;
    color: var(--accent-pink, #FF69B4);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light, #6B6B6B);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-hero {
    padding: 1rem 2.5rem;
    background: var(--accent-pink, #FF69B4);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
}

.btn-secondary-hero {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-dark, #2C2C2C);
    border: 2px solid var(--text-dark, #2C2C2C);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-hero:hover {
    background: var(--text-dark, #2C2C2C);
    color: white;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-image {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

/* Introduction Section */
.intro-section {
    padding: 8rem 5%;
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.intro-text h2 {
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--text-dark, #2C2C2C);
    margin-bottom: 2rem;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.intro-text h2 strong {
    font-weight: 600;
    color: var(--accent-pink, #FF69B4);
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-light, #6B6B6B);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-dark, #2C2C2C);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light, #6B6B6B);
    line-height: 1.8;
}

/* Product Showcase Grid */
.product-showcase {
    padding: 8rem 5%;
    background: white;
}

.product-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card-premium {
    background: var(--soft-white, #FAFAFA);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

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

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

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

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-pink, #FF69B4);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-info-premium {
    padding: 2rem;
}

.product-info-premium h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark, #2C2C2C);
    margin-bottom: 0.8rem;
}

.product-info-premium p {
    font-size: 1rem;
    color: var(--text-light, #6B6B6B);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.product-price-premium {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-pink, #FF69B4);
}

.btn-view-product {
    padding: 0.7rem 1.5rem;
    background: var(--primary-pink, #FFE5EC);
    color: var(--text-dark, #2C2C2C);
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-view-product:hover {
    background: var(--accent-pink, #FF69B4);
    color: white;
}

/* Process Section */
.process-section {
    padding: 8rem 5%;
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: var(--primary-pink, #FFE5EC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    background: var(--accent-pink, #FF69B4);
    transform: scale(1.1);
}

.process-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: var(--elegant-gold, #D4AF37);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark, #2C2C2C);
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 1rem;
    color: var(--text-light, #6B6B6B);
    line-height: 1.7;
}

/* Special Collection */
.special-collection {
    padding: 8rem 5%;
    background: linear-gradient(135deg, var(--soft-pink, #FFF0F5) 0%, var(--primary-pink, #FFE5EC) 100%);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.collection-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    transition: all 0.4s ease;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.collection-image {
    flex: 0 0 200px;
}

.collection-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}

.collection-content {
    flex: 1;
}

.collection-content h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-dark, #2C2C2C);
    margin-bottom: 1rem;
}

.collection-content p {
    font-size: 1.05rem;
    color: var(--text-light, #6B6B6B);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.collection-price {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent-pink, #FF69B4);
    margin-bottom: 1.5rem;
}

/* Customization Service */
.customization-section {
    padding: 8rem 5%;
    background: white;
}

.customization-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.custom-card {
    background: var(--soft-white, #FAFAFA);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.custom-card:hover {
    border-color: var(--accent-pink, #FF69B4);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.2);
}

.custom-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.custom-card h3 {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-dark, #2C2C2C);
    margin-bottom: 1rem;
}

.custom-card p {
    font-size: 1.05rem;
    color: var(--text-light, #6B6B6B);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.custom-features {
    text-align: left;
    margin-bottom: 2rem;
    list-style: none;
}

.custom-features li {
    font-size: 0.95rem;
    color: var(--text-light, #6B6B6B);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.custom-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-pink, #FF69B4);
    font-weight: 600;
}

/* Final CTA */
.final-cta {
    padding: 8rem 5%;
    background: linear-gradient(135deg, var(--accent-pink, #FF69B4) 0%, #FF1493 100%);
    text-align: center;
    color: white;
}

.final-cta h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.btn-final-cta {
    padding: 1.2rem 3rem;
    background: white;
    color: var(--accent-pink, #FF69B4);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-final-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Category Pages */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 3rem 5%;
    }

    .hero-text-content {
        max-width: 100%;
    }

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

    .hero-cta-group {
        justify-content: center;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .collection-grid {
        grid-template-columns: 1fr;
    }

    .customization-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-text-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .product-grid-premium {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .collection-card {
        flex-direction: column;
        text-align: center;
    }

    .final-cta h2 {
        font-size: 2rem;
    }
}

/* ===== BLOG PAGE STYLES ===== */
/* Blog specific styles */
.blog-hero {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE4E1 100%);
    padding: 5rem 0 3rem;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.blog-search {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.blog-search input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.blog-search input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.blog-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
}

.blog-search button:hover {
    background: var(--secondary-color);
}

.featured-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin: 3rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.featured-post-image {
    position: relative;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-post:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.featured-post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-category {
    display: inline-block;
    background: var(--accent-color);
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.category-count {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 1rem;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.blog-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.blog-post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.1);
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post-title {
    font-size: 1.2rem;
    margin: 0.8rem 0;
    color: var(--text-dark);
    line-height: 1.5;
}

.blog-post-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 1rem;
}

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 4rem 0;
}

.newsletter-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form button {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.tag {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
}

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

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination button {
    background: white;
    border: 1px solid #ddd;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination button:disabled {
    background: #f0f0f0;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Blog Page Responsive */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .newsletter-form {
        flex-direction: column;
    }
}

/* ===== BLOG POST DETAIL STYLES ===== */
.breadcrumb-section {
    background: #f9f9f9;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin: 0 0.5rem;
    color: #999;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 600;
}

/* Blog Post Article */
.blog-post {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.post-meta-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #666;
    font-size: 0.95rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.post-meta-info span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-image {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-content .lead {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.post-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.8rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.post-content blockquote {
    background: var(--bg-accent);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 5px;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.post-content table th,
.post-content table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #ddd;
}

.post-content table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.post-content table tr:nth-child(even) {
    background: #f9f9f9;
}

/* Post Tags */
.post-tags {
    margin: 3rem 0 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.post-tags h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.post-tags .tag {
    display: inline-block;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.post-tags .tag:hover {
    background: var(--primary-color);
    color: white;
}

/* Post Share */
.post-share {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-accent);
    border-radius: 10px;
}

.post-share h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Related Posts */
.related-posts {
    margin: 4rem 0;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.blog-link:hover {
    gap: 1rem;
}

/* Comments Section */
.comments-section {
    margin: 4rem 0;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 15px;
}

.comments-section h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.comment-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.comment-form button:hover {
    background: var(--secondary-color);
}

.comments-list {
    background: white;
    border-radius: 10px;
    padding: 1rem;
}

/* Article Content Styles */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--text-primary);
}

.content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.content ul,
.content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.content blockquote {
    background: var(--bg-accent);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 5px;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.content table th,
.content table td {
    padding: 0.8rem;
    text-align: left;
    border: 1px solid #ddd;
}

.content table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* Blog Post Detail Responsive */
@media (max-width: 768px) {

    .post-header h1,
    .content h1 {
        font-size: 1.8rem;
    }

    .post-content h2,
    .content h2 {
        font-size: 1.5rem;
    }

    .post-content h3,
    .content h3 {
        font-size: 1.2rem;
    }

    .post-content,
    .content p {
        font-size: 1rem;
    }

    .post-meta-info {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .comment-form>div {
        grid-template-columns: 1fr !important;
    }
}

/* ===== MOBILE NAVBAR FIXES - ENHANCED ===== */
@media (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        position: relative;
        gap: 1rem;
    }

    /* Logo always visible */
    .navbar-brand {
        z-index: 1002;
        position: relative;
        flex-shrink: 0;
    }

    /* Cart icon và Hamburger container */
    .navbar::after {
        content: '';
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    /* Cart icon - absolute positioning */
    .cart-icon {
        position: absolute;
        top: 50%;
        right: 70px;
        transform: translateY(-50%);
        z-index: 1001;
        color: var(--text-dark, #2C2C2C);
        width: 40px;
        height: 40px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
    }

    .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        background: var(--accent-pink, #E11D48);
        color: white;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    /* Hamburger button - FORCE DISPLAY */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1002;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 24px;
        padding: 0;
    }

    .hamburger-line {
        width: 100%;
        height: 3px;
        background: #2C2C2C !important;
        transition: all 0.3s ease;
        border-radius: 2px;
        display: block !important;
    }

    /* Hamburger animation */
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile menu */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-menu.active {
        max-height: calc(100vh - 70px);
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
        padding: 1rem 0;
    }

    /* Nav items */
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        color: var(--text-dark, #2C2C2C);
        text-align: left;
    }

    .nav-link:hover {
        background: #f9f9f9;
        color: var(--accent-pink, #E11D48);
    }

    /* Dropdown on mobile */
    .has-dropdown {
        position: relative;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .dropdown-icon {
        transition: transform 0.3s ease;
    }

    .has-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }

    /* Override desktop dropdown styles */
    .nav-item.has-dropdown .dropdown-menu,
    .has-dropdown .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #f9f9f9 !important;
        border-radius: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
        margin: 0 !important;
        display: block !important;
        min-width: 100% !important;
        width: 100%;
        left: 0 !important;
        top: 0 !important;
    }

    .nav-item.has-dropdown .dropdown-menu::before,
    .has-dropdown .dropdown-menu::before {
        display: none !important;
    }

    .nav-item.has-dropdown.active .dropdown-menu,
    .has-dropdown.active .dropdown-menu {
        max-height: 600px;
        padding: 0.5rem 0;
    }

    .dropdown-item {
        padding: 0.8rem 2rem;
        border-bottom: 1px solid #e5e5e5;
        font-size: 1rem;
        display: block !important;
        width: 100%;
    }

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

    .dropdown-item-content {
        display: block !important;
    }

    .dropdown-icon-wrapper {
        display: none !important;
    }

    /* Prevent body scroll when menu open */
    body.menu-open {
        overflow: hidden;
    }

    /* Overlay */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .logo-text {
        font-size: 1.1rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }

    .cart-icon {
        right: 50px;
        width: 36px;
        height: 36px;
    }

    .hamburger {
        right: 0.75rem;
        width: 26px;
        height: 20px;
    }

    .hamburger-line {
        height: 2.5px;
    }

    .dropdown-item {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Force dropdown visibility with highest specificity */
@media (max-width: 768px) {
    .nav-menu .nav-item.has-dropdown.active .dropdown-menu {
        max-height: 800px !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        overflow: visible !important;
        padding: 0.5rem 0 !important;
    }

    .nav-menu .nav-item.has-dropdown.active .dropdown-item {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Very small devices */
@media (max-width: 375px) {
    .navbar {
        padding: 0.75rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .cart-icon {
        right: 45px;
        width: 32px;
        height: 32px;
    }

    .hamburger {
        right: 0.5rem;
        width: 24px;
        height: 18px;
    }
}

.product-image {
    width: 100%;
    background: #e6d0b4;
    /* màu nền sau ảnh (tuỳ chọn) */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    /* cho ảnh không bị dính mép */
}

.product-image img {
    width: 100%;
    height: auto;
    /* giữ tỉ lệ, không bóp méo */
    object-fit: contain;
    /* KHÔNG CẮT ẢNH */
    border-radius: 12px;
    /* cho đẹp */
    display: block;
}

.btn-order {
    min-width: 120px;
    height: 44px;
    padding: 0 1.5rem;
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.35);
    background: linear-gradient(135deg, #BE123C 0%, #9F1239 100%);
}

.btn-order span {
    line-height: 1;
    white-space: nowrap;
}

/* Xóa style cũ của nút tròn nếu có */
.product-footer .btn-order {
    width: auto;
    height: 44px;
    border-radius: 12px;
}

.hero-line-1 {
    white-space: nowrap;
}