/* ============================================
   THÀNH PHONG - BẢO HỘ LAO ĐỘNG
   Brand Colors:
   - Primary Blue: #1D5FA8
   - Dark Navy: #1A2744
   - Light Blue: #2F79C5
   - Accent Blue: #3B8DD4
   - White: #FFFFFF
   - Light Gray: #F5F8FC
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #1D5FA8;
    --primary-dark: #164A85;
    --primary-light: #2F79C5;
    --primary-lighter: #3B8DD4;
    --navy: #1A2744;
    --navy-light: #243554;
    --accent: #E8A500;
    --accent-light: #FFD04D;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --success: #10B981;
    --danger: #EF4444;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-blue: 0 8px 30px rgba(29, 95, 168, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Be Vietnam Pro', 'Inter', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

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

.section {
    padding: 100px 0;
}

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

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

/* === Preloader === */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-logo {
    width: 180px;
    height: auto;
    margin: 0 auto 30px;
    animation: pulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--white));
    border-radius: 2px;
    animation: loading 1.5s ease-in-out forwards;
}

@keyframes loading {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes pulse {

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

    50% {
        transform: scale(1.08);
        opacity: 0.8;
    }
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.nav-logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

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

.nav-brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.2;
    transition: var(--transition);
}

.nav-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.navbar.scrolled .nav-brand {
    color: var(--gray-600);
}

.navbar.scrolled .nav-tagline {
    color: var(--gray-500);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link {
    color: var(--gray-600);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(29, 95, 168, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.nav-phone:hover {
    background: var(--accent-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 165, 0, 0.4);
}

.nav-phone i {
    font-size: 12px;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {

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

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-10deg);
    }

    30% {
        transform: rotate(10deg);
    }

    40% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(0);
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--navy);
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--white);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -150px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-light);
    top: 40%;
    left: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

    33% {
        transform: translate(20px, -20px);
    }

    66% {
        transform: translate(-10px, 15px);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slogan {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-light);
    font-style: italic;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--navy);
    border-color: var(--accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 165, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

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

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    font-family: var(--font);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-white:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    display: block;
    line-height: 1;
    background: linear-gradient(135deg, var(--white), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: floatCard 3s ease-in-out infinite;
}

.hero-floating-card i {
    font-size: 20px;
    color: var(--primary);
}

.hero-floating-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

.card-1 {
    top: 30px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 40px;
    left: -20px;
    animation-delay: 1.5s;
}

@keyframes floatCard {

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

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

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* === Partners Marquee === */
.partners-marquee {
    padding: 24px 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.marquee-track {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    white-space: nowrap;
}

.marquee-item i {
    color: var(--primary);
    font-size: 16px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* === Section Headers === */
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-label.center {
    justify-content: center;
}

.label-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 1px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title.center {
    text-align: center;
}

.section-title .highlight {
    color: var(--primary);
}

.section-desc {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.section-header {
    margin-bottom: 60px;
}

/* === About Section === */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-exp-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-blue);
}

.exp-number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

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

.about-features {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    transition: var(--transition);
}

.about-feature:hover {
    background: rgba(29, 95, 168, 0.05);
    transform: translateX(4px);
}

.feature-icon {
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 20px;
    color: var(--primary);
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 13px;
    color: var(--gray-500);
}

/* === Products Section === */
.products {
    position: relative;
    background: var(--gray-50);
}

.products-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

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

.product-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: rgba(29, 95, 168, 0.05);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-blue);
}

.filter-btn i {
    font-size: 13px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(29, 95, 168, 0.15);
}

.product-card.hidden {
    display: none;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 14px;
    background: linear-gradient(135deg, var(--danger), #FF6B6B);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    z-index: 2;
    letter-spacing: 0.5px;
}

.product-badge.new {
    background: linear-gradient(135deg, var(--success), #34D399);
}

.product-image {
    aspect-ratio: 1/1;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-50), rgba(29, 95, 168, 0.05));
    position: relative;
    overflow: hidden;
}

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

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

.product-frame-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 2;
}

.zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(29, 95, 168, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.product-image:hover .zoom-overlay {
    opacity: 1;
}

.zoom-overlay i {
    font-size: 24px;
}

.zoom-overlay span {
    font-size: 13px;
    font-weight: 600;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(transparent, var(--white));
}

.product-icon-large {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-size: 36px;
    box-shadow: 0 8px 25px rgba(29, 95, 168, 0.3);
    transition: var(--transition);
}

.product-card:hover .product-icon-large {
    transform: scale(1.1) rotate(5deg);
}

.product-info {
    padding: 20px 24px 24px;
}

.product-category-tag {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(29, 95, 168, 0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-info p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

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

.product-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.product-link i {
    font-size: 12px;
    transition: var(--transition);
}

/* Products CTA */
.products-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-200);
}

.products-cta p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* === Why Choose Us === */
.why-us {
    background: var(--white);
}

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

.why-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(29, 95, 168, 0.15);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(29, 95, 168, 0.08), rgba(29, 95, 168, 0.04));
    color: var(--primary);
    font-size: 28px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    transform: scale(1.05);
    box-shadow: var(--shadow-blue);
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* === Services Banner === */
.services-banner {
    padding: 0;
}

.services-banner .container {
    max-width: 100%;
    padding: 0;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 48px 60px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.banner-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.banner-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 32px;
}

.banner-text {
    flex: 1;
}

.banner-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.banner-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* === Testimonials === */
.testimonials {
    background: var(--gray-50);
}

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

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 72px;
    font-weight: 800;
    color: rgba(29, 95, 168, 0.06);
    line-height: 1;
    font-family: Georgia, serif;
}

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

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 14px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 40px;
    color: var(--primary-light);
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
    color: var(--navy);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--gray-400);
}

/* === Contact Section === */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
    padding: 40px;
    border-radius: var(--radius-xl);
    color: var(--white);
    height: 100%;
}

.contact-info-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details {
    display: grid;
    gap: 20px;
}

.contact-detail {
    display: flex;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    font-size: 16px;
}

.contact-detail strong {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-detail p {
    font-size: 14px;
    color: var(--white);
    line-height: 1.5;
}

.contact-detail a {
    color: var(--accent-light);
}

.contact-detail a:hover {
    color: var(--white);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

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

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

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

.form-group label i {
    color: var(--primary);
    margin-right: 6px;
    font-size: 13px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font);
    color: var(--gray-700);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(29, 95, 168, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* === Map Section === */
.map-section {
    line-height: 0;
}

.map-section iframe {
    filter: grayscale(20%);
}

/* === Footer === */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

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

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

.footer-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.footer-brand-name {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-brand-tag {
    display: block;
    font-size: 14px;
    color: var(--primary-light);
    font-weight: 500;
}

.footer-slogan {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-light);
    font-style: italic;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 1px;
}

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

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

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

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 6px;
}

.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 1px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item i {
    color: var(--primary-light);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item a:hover {
    color: var(--accent-light);
}

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

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* === Floating Actions === */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.fab-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-lg);
}

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

.phone-btn {
    background: linear-gradient(135deg, var(--success), #34D399);
    animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
    }
}

.zalo-btn {
    background: linear-gradient(135deg, #0068FF, #00A6FF);
}

.scroll-top-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-tooltip {
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 14px;
    background: var(--navy);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.fab-btn:hover .fab-tooltip {
    opacity: 1;
    visibility: visible;
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-desc {
        max-width: 100%;
        margin: 0 auto 32px;
    }

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

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

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

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

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

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

    .banner-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.8);
        padding: 14px 16px;
        border-radius: var(--radius-sm);
        font-size: 15px;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-phone span {
        display: none;
    }

    .nav-phone {
        padding: 10px;
        border-radius: 50%;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-slogan {
        font-size: 18px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .hero-floating-card {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

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

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

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

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

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

    .product-filters {
        gap: 8px;
    }

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

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

    .contact-form {
        padding: 24px;
    }

    .contact-info-card {
        padding: 28px;
    }

    .nav-logo img {
        width: 56px;
        height: 56px;
    }

    .nav-brand {
        font-size: 20px;
    }

    .nav-tagline {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

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

    .product-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 8px;
    }

    .product-filters::-webkit-scrollbar {
        display: none;
    }
}

/* === Selection === */
::selection {
    background: rgba(29, 95, 168, 0.2);
    color: var(--navy);
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ================================================================
   CHỨC NĂNG LIGHTBOX CHI TIẾT SẢN PHẨM
   ================================================================ */

/* 1. Khung nền bao phủ */
.product-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    /* Ẩn mặc định */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-lightbox.open {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

/* 2. Khung nội dung chính */
.lightbox-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 11;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lightbox-close:hover {
    background: #ff4d4f;
    color: #fff;
}

/* 3. Bố cục Grid (Chia 2 cột) */
.lightbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    /* Đảm bảo 2 bên cao bằng nhau */
}

/* --- CỘT TRÁI: KHUNG CHỨA ẢNH CỐ ĐỊNH --- */
.lightbox-main-visual {
    position: relative;
    background: #f8f9fa;
    /* Màu nền cho vùng trống của ảnh */
    display: flex;
    align-items: center;
    justify-content: center;

    /* CỐ ĐỊNH TỶ LỆ KHUNG HÌNH 1:1 (Hình vuông) */
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

#lightboxMainImg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    /* Giữ nguyên tỉ lệ ảnh, không làm méo, nằm gọn trong khung vuông */
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Nút điều hướng ảnh (Trái/Phải) */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--primary);
    color: #fff;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* --- CỘT PHẢI: THÔNG TIN CHI TIẾT --- */
.lightbox-side-panel {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #eee;
}

.lightbox-prod-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}

.lightbox-price {
    font-size: 24px;
    color: #e4393c;
    /* Đỏ giá tiền chuyên nghiệp */
    font-weight: 700;
    margin-bottom: 20px;
}

/* Nhóm chọn Size và Số lượng */
.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.product-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    width: fit-content;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-control button {
    width: 40px;
    height: 40px;
    border: none;
    background: #f1f1f1;
    cursor: pointer;
    font-weight: bold;
}

.quantity-control button:hover {
    background: #e2e2e2;
}

.quantity-control input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    font-weight: 700;
    font-size: 16px;
}

.lightbox-prod-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 20px 0;
}

/* Danh sách ảnh nhỏ (Thumbnails) */
.lightbox-thumbnails {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.thumb-item {
    width: 60px;
    height: 60px;
    border: 2px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
}

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

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

/* Nút mua hàng */
.btn-add-cart {
    background: #ff4d4f;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-add-cart:hover {
    background: #d4380d;
    transform: translateY(-2px);
}

/* Responsive cho điện thoại */
@media (max-width: 768px) {
    .lightbox-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-content-wrapper {
        height: 90vh;
        overflow-y: auto;
    }

    .lightbox-side-panel {
        padding: 20px;
    }
}

#preloader,
.preloader,
#loading-screen {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

body {
    overflow: auto !important;
    opacity: 1 !important;
}

/* === News Section === */
.news {
    background: var(--gray-50);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 48px;
}

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

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.news-card.featured {
    grid-column: span 2;
    flex-direction: row;
}

@media (max-width: 768px) {
    .news-card.featured {
        grid-column: span 1;
        flex-direction: column;
    }
}

.news-image {
    position: relative;
    flex-shrink: 0;
}

.news-card.featured .news-image {
    width: 340px;
}

.news-img-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.7);
}

.news-card.featured .news-img-placeholder {
    height: 100%;
    min-height: 220px;
}

.news-img-1 {
    background: linear-gradient(135deg, #1D5FA8, #2F79C5);
}

.news-img-2 {
    background: linear-gradient(135deg, #E8A500, #FFD04D);
    color: rgba(0, 0, 0, 0.4) !important;
}

.news-img-3 {
    background: linear-gradient(135deg, #1A2744, #243554);
}

.news-img-4 {
    background: linear-gradient(135deg, #10B981, #34D399);
}

.news-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.news-tag.hot {
    background: var(--accent);
    color: var(--white);
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.news-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.news-meta span {
    font-size: 13px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.5;
}

.news-card.featured .news-content h3 {
    font-size: 20px;
}

.news-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    flex: 1;
}

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

.news-link:hover {
    color: var(--accent);
    gap: 10px;
}

/* ============================================================
   HIỆU ỨNG GAK-STYLE: ANNOUNCEMENT BAR + FLOAT + BANNERS + DIARY
   ============================================================ */

/* === 1. ANNOUNCEMENT BAR === */
.announcement-bar {
    background: linear-gradient(90deg, var(--navy) 0%, var(--primary) 50%, var(--navy) 100%);
    background-size: 200% 100%;
    animation: annGradient 5s ease infinite;
    color: var(--white);
    position: relative;
    z-index: 1001;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
}

@keyframes annGradient {
    0% {
        background-position: 0% 50%
    }

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

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

.ann-inner {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ann-marquee {
    display: flex;
    gap: 60px;
    animation: annScroll 30s linear infinite;
    white-space: nowrap;
}

.ann-marquee:hover {
    animation-play-state: paused;
}

@keyframes annScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.ann-item {
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ann-item i {
    color: var(--accent-light);
    font-size: 12px;
}

.ann-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
    flex-shrink: 0;
}

.ann-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    padding: 0 16px;
    font-size: 14px;
    transition: color 0.2s;
    flex-shrink: 0;
    height: 40px;
    display: flex;
    align-items: center;
}

.ann-close:hover {
    color: var(--white);
}

body.has-ann-bar .navbar {
    top: 40px;
}

/* === 2. FLOATING BUTTONS ENHANCEMENT === */
.fab-pulse-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    pointer-events: none;
    animation: gakPulseRing 2.2s ease-out infinite;
}

@keyframes gakPulseRing {
    0% {
        box-shadow: 0 0 0 0 currentColor;
        opacity: 0.8
    }

    70% {
        box-shadow: 0 0 0 16px transparent;
        opacity: 0
    }

    100% {
        box-shadow: 0 0 0 16px transparent;
        opacity: 0
    }
}

.messenger-btn {
    background: linear-gradient(135deg, #0084ff 0%, #a334fa 100%);
}

.messenger-btn .fab-pulse-ring {
    color: rgba(163, 52, 250, 0.5);
    animation-delay: 0.7s;
}

.zalo-btn .fab-pulse-ring {
    color: rgba(0, 104, 255, 0.5);
    animation-delay: 0.35s;
}

.phone-btn .fab-pulse-ring {
    color: rgba(16, 185, 129, 0.5);
    animation-delay: 0s;
}

/* === 3. CATEGORY FEATURE BANNERS === */
.cat-banners {
    overflow: hidden;
}

.cat-banner {
    position: relative;
    height: 360px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cat-banner-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cat-banner:hover .cat-banner-bg {
    transform: scale(1.06);
}

.cat-banner-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse at 25% 50%, rgba(255, 255, 255, 0.07) 0%, transparent 65%), repeating-linear-gradient(-55deg, transparent 0px, transparent 18px, rgba(255, 255, 255, 0.025) 18px, rgba(255, 255, 255, 0.025) 19px);
}

.cat-banner-content {
    position: relative;
    z-index: 2;
    padding: 0 80px;
    max-width: 620px;
}

.cat-banner.reverse .cat-banner-content {
    margin-left: auto;
    text-align: right;
}

.cat-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
    text-transform: uppercase;
}

.cat-banner-content h3 {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.cat-banner-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15.5px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cat-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--navy);
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(232, 165, 0, 0.35);
}

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

.cat-cta i {
    transition: transform 0.3s ease;
}

.cat-cta:hover i {
    transform: translateX(6px);
}

/* === 4. DIARY / GALLERY SECTION === */
.diary-section {
    background: var(--gray-50);
}

.diary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 210px);
    gap: 10px;
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.diary-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.diary-item.diary-tall {
    grid-column: span 2;
    grid-row: span 2;
}

.diary-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.diary-item:hover img {
    transform: scale(1.09);
}

.diary-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29, 95, 168, 0.7) 0%, rgba(26, 39, 68, 0.6) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.diary-item:hover .diary-hover {
    opacity: 1;
}

.diary-hover i {
    font-size: 26px;
}

.diary-hover span {
    font-size: 13px;
    font-weight: 600;
}

.diary-hashtags {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.diary-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 22px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.diary-tag:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

@media (max-width: 768px) {
    .cat-banner {
        height: 280px;
    }

    .cat-banner-content {
        padding: 0 28px;
    }

    .cat-banner-content h3 {
        font-size: 24px;
    }

    .cat-banner.reverse .cat-banner-content {
        margin-left: 0;
        text-align: left;
    }

    .diary-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }

    .diary-item.diary-tall {
        grid-column: span 2;
    }
}

/* ================================================================
   MOBILE OPTIMIZATION - TOÀN DIỆN CHO ĐIỆN THOẠI
   ================================================================ */

/* === NAVBAR MOBILE === */
@media (max-width: 768px) {

    /* Announcement bar gọn hơn */
    .announcement-bar {
        height: 36px;
    }

    .ann-item {
        font-size: 11.5px;
    }

    /* Navbar */
    body.has-ann-bar .navbar {
        top: 36px;
    }

    .navbar {
        padding: 10px 0;
    }

    .nav-container {
        padding: 0 16px;
        gap: 8px;
    }

    /* Logo nhỏ hơn */
    .nav-logo img {
        width: 44px;
        height: 44px;
    }

    .nav-brand {
        font-size: 17px;
        letter-spacing: 0.5px;
    }

    .nav-tagline {
        font-size: 10px;
    }

    /* Ẩn search và lang toggle trên mobile nhỏ */
    .nav-search {
        display: none;
    }

    .nav-lang {
        padding: 4px 8px;
        font-size: 11px;
        gap: 5px;
    }

    .lang-btn {
        font-size: 11px;
    }

    /* Phone button - chỉ hiện icon */
    .nav-phone {
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .nav-phone span {
        display: none;
    }

    .nav-phone i {
        font-size: 14px;
    }

    /* Hamburger button */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        border-radius: 6px;
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: var(--transition);
        display: block;
    }

    .navbar.scrolled .nav-toggle span {
        background: var(--navy);
    }

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

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

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

    /* Mobile menu panel */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 78%;
        max-width: 300px;
        height: 100dvh;
        background: linear-gradient(160deg, var(--navy) 0%, #0d1a35 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 90px 20px 30px;
        gap: 4px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.82);
        padding: 13px 16px;
        border-radius: var(--radius-sm);
        font-size: 15px;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-menu .nav-link::before {
        content: '';
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--accent);
        flex-shrink: 0;
        opacity: 0;
        transition: opacity 0.2s;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(255, 255, 255, 0.08);
        color: var(--white);
        padding-left: 20px;
    }

    .nav-menu .nav-link:hover::before,
    .nav-menu .nav-link.active::before {
        opacity: 1;
    }

    /* Overlay mờ khi mở menu */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    .nav-overlay.show {
        opacity: 1;
        pointer-events: all;
    }
}

/* === HERO SECTION MOBILE === */
@media (max-width: 768px) {

    /* Hero slider */
    .hero-slider {
        height: 100svh;
        min-height: 560px;
    }

    .hero-slide-content {
        padding-top: 70px;
        padding-bottom: 60px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 30px !important;
        line-height: 1.2;
        margin-bottom: 12px;
        letter-spacing: -0.5px;
    }

    .hero-slogan {
        font-size: 16px !important;
        margin-bottom: 14px;
    }

    .hero-desc {
        font-size: 14px !important;
        line-height: 1.65;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 13px 24px;
        font-size: 14px;
    }

    /* Ẩn nút điều hướng slider trên mobile */
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none;
    }

    .hero-slider .swiper-pagination {
        bottom: 16px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        min-height: 520px;
    }

    .hero-title {
        font-size: 26px !important;
    }

    .hero-slogan {
        font-size: 14px !important;
    }

    .hero-desc {
        font-size: 13px !important;
    }
}

/* === ABOUT SECTION MOBILE === */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-img {
        height: 280px;
    }

    .about-exp-badge {
        padding: 12px 18px;
        bottom: 16px;
        right: 16px;
    }

    .exp-number {
        font-size: 28px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-feature {
        padding: 14px;
    }
}

/* === PRODUCTS SECTION MOBILE === */
@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }

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

    .section-title {
        font-size: 26px !important;
        line-height: 1.25;
    }

    .section-desc {
        font-size: 14px;
    }

    /* Filter buttons - cuộn ngang */
    .product-filters {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        padding-bottom: 6px;
        justify-content: flex-start;
        margin-bottom: 28px;
    }

    .product-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 12.5px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Status filters */
    .status-filters {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        padding-bottom: 6px;
        justify-content: flex-start;
        margin-bottom: 24px;
    }

    .status-filters::-webkit-scrollbar {
        display: none;
    }

    /* Products grid - 2 cột trên mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-card {
        border-radius: var(--radius-md);
    }

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

    .product-image {
        height: auto;
    }

    .product-icon-large {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }

    .product-info {
        padding: 14px 14px 16px;
    }

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

    .product-info p {
        font-size: 12px;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-category-tag {
        font-size: 10px;
        padding: 2px 10px;
        margin-bottom: 7px;
    }

    .product-link {
        font-size: 12px;
    }

    .product-badge {
        top: 10px;
        left: 10px;
        padding: 3px 10px;
        font-size: 10px;
    }

    .products-cta {
        padding: 28px 20px;
        margin-top: 32px;
    }

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

@media (max-width: 380px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-image {
        height: auto;
    }
}

/* === WHY US SECTION MOBILE === */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-card {
        padding: 24px 20px;
        display: flex;
        align-items: flex-start;
        gap: 16px;
        text-align: left;
    }

    .why-icon {
        margin: 0;
        width: 56px;
        height: 56px;
        font-size: 22px;
        flex-shrink: 0;
    }

    .why-card h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .why-card p {
        font-size: 13px;
    }
}

/* === SERVICES BANNER MOBILE === */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 20px;
    }

    .banner-icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
        margin: 0 auto;
    }

    .banner-text h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .banner-text p {
        font-size: 14px;
    }

    .banner-content .btn {
        width: 100%;
        justify-content: center;
    }
}

/* === TESTIMONIALS MOBILE === */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .testimonial-text {
        font-size: 13.5px;
    }
}

/* === NEWS SECTION MOBILE === */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card.featured {
        grid-column: span 1;
        flex-direction: column;
    }

    .news-card.featured .news-image {
        width: 100%;
    }

    .news-content {
        padding: 18px;
    }

    .news-content h3 {
        font-size: 15px;
    }

    .news-card.featured .news-content h3 {
        font-size: 17px;
    }
}

/* === CAT BANNERS MOBILE === */
@media (max-width: 768px) {
    .cat-banner {
        height: 240px;
    }

    .cat-banner-content {
        padding: 0 24px;
        max-width: 100%;
    }

    .cat-label {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .cat-banner-content h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .cat-banner-content p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .cat-cta {
        padding: 10px 22px;
        font-size: 13px;
    }

    .cat-banner.reverse .cat-banner-content {
        margin-left: 0;
        text-align: left;
    }
}

/* === DIARY / GALLERY MOBILE === */
@media (max-width: 768px) {
    .diary-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 160px);
        gap: 8px;
    }

    .diary-item.diary-tall {
        grid-column: span 2;
        grid-row: span 1;
    }

    .diary-hashtags {
        gap: 8px;
    }

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

/* === CONTACT SECTION MOBILE === */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-info-card {
        padding: 28px 22px;
        border-radius: var(--radius-lg);
    }

    .contact-info-card h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .contact-form {
        padding: 24px 20px;
        border-radius: var(--radius-lg);
    }

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

    .contact-social {
        margin-top: 20px;
        padding-top: 18px;
    }
}

/* === FOOTER MOBILE === */
@media (max-width: 768px) {
    .footer {
        padding-top: 40px;
    }

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

    .footer-grid>*:first-child {
        grid-column: span 2;
    }

    .footer-logo img {
        width: 52px;
        height: 52px;
    }

    .footer-brand-name {
        font-size: 20px;
    }

    .footer-slogan {
        font-size: 14px;
    }

    .footer-desc {
        font-size: 13px;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .footer-links a,
    .footer-contact-item {
        font-size: 13px;
    }

    .footer-bottom {
        padding: 16px 0;
    }

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

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

    .footer-grid>*:first-child {
        grid-column: span 1;
    }
}

/* === FLOATING ACTION BUTTONS MOBILE === */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 18px;
        right: 16px;
        gap: 10px;
    }

    .fab-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    /* Ẩn tooltip trên mobile */
    .fab-tooltip {
        display: none;
    }

    /* Pulse ring nhỏ hơn */
    @keyframes gakPulseRing {
        0% {
            box-shadow: 0 0 0 0 currentColor;
            opacity: 0.8;
        }

        70% {
            box-shadow: 0 0 0 10px transparent;
            opacity: 0;
        }

        100% {
            box-shadow: 0 0 0 10px transparent;
            opacity: 0;
        }
    }

    .scroll-top-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}


/* === LIGHTBOX MOBILE === */
@media (max-width: 768px) {
    .product-lightbox {
        padding: 0;
        align-items: flex-end;
    }

    .lightbox-content-wrapper {
        width: 100%;
        max-width: 100%;
        height: 92dvh;
        border-radius: 20px 20px 0 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

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

    .lightbox-main-visual {
        aspect-ratio: 4/3;
        border-radius: 20px 20px 0 0;
    }

    .lightbox-side-panel {
        padding: 20px 18px 32px;
        border-left: none;
        border-top: 1px solid var(--gray-100);
    }

    .lightbox-prod-title {
        font-size: 22px;
    }

    .lightbox-price {
        font-size: 20px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .lightbox-thumbnails {
        flex-wrap: wrap;
        gap: 8px;
    }

    .thumb-item {
        width: 52px;
        height: 52px;
    }

    .btn-add-cart {
        padding: 14px;
        font-size: 15px;
    }
}

/* === SCROLL TOP BTN MOBILE === */
@media (max-width: 768px) {
    .scroll-top-btn.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* === PARTNERS MARQUEE MOBILE === */
@media (max-width: 768px) {
    .partners-marquee {
        padding: 16px 0;
    }

    .marquee-item {
        font-size: 12.5px;
    }

    .marquee-content {
        gap: 32px;
        animation-duration: 22s;
    }
}

/* === GENERAL MOBILE TWEAKS === */
@media (max-width: 768px) {

    /* Container padding */
    .container {
        padding: 0 16px;
    }

    /* Section padding */
    .section {
        padding: 52px 0;
    }

    /* Section label */
    .section-label {
        font-size: 12px;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }

    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }

    /* Make inputs easier to tap */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 13px 14px;
        font-size: 16px;
        /* Prevent iOS zoom */
        -webkit-appearance: none;
    }

    /* Touch targets minimum 44px */
    .nav-link,
    .filter-btn,
    .btn {
        min-height: 44px;
    }

    /* Improve tap highlight */
    a,
    button {
        -webkit-tap-highlight-color: rgba(29, 95, 168, 0.1);
    }
}

/* === VERY SMALL SCREENS (iPhone SE, etc.) === */
@media (max-width: 375px) {
    .hero-title {
        font-size: 24px !important;
    }

    .hero-desc {
        font-size: 13px !important;
    }

    .hero-buttons .btn {
        padding: 11px 20px;
        font-size: 13px;
    }

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

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

    .product-image {
        height: auto;
    }

    .contact-info-card,
    .contact-form {
        padding: 20px 16px;
    }
}
/* === Product Title Marquee === */
.product-title-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    white-space: nowrap;
}
.product-title-wrapper.is-long .product-title-marquee {
    display: inline-block;
    animation: marquee-title 6s linear infinite;
    padding-right: 20px;
}
.product-title-wrapper.is-long:hover .product-title-marquee {
    animation-play-state: paused;
}
@keyframes marquee-title {
    0%, 15% { transform: translateX(0); }
    50%, 65% { transform: translateX(calc(-100% + 200px)); }
    80%, 100% { transform: translateX(0); }
}

/* === Proper Marquee for Product Titles === */
.product-title-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}
.product-title-wrapper.is-long .product-title-marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-title-infinite 10s linear infinite;
}
.product-title-wrapper.is-long:hover .product-title-marquee {
    animation-play-state: paused;
}
@keyframes marquee-title-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* === Thicken Category Icons === */
.cat-icon {
    font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 24 !important;
}
