/* ===================================================================
   CƯỜNG TUẤN - MAIN STYLESHEET
   Design: Mẫu 3 - Năng động bán hàng (đỏ vàng đen)
   =================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; }
html { scroll-behavior: smooth; }
body { background: #fff; color: #1a1a1a; line-height: 1.5; max-width: 1440px; margin: 0 auto; box-shadow: 0 0 60px rgba(0,0,0,0.08); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes float {
    0%, 100% { transform: rotate(15deg) translateY(0); }
    50% { transform: rotate(15deg) translateY(-10px); }
}
@keyframes pulse-scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reveal-on-scroll - CHỈ áp dụng khi có JS (tránh ẩn content nếu JS lỗi) */
html.js .reveal { opacity: 0; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
html.js .reveal-up { transform: translateY(50px); }
html.js .reveal-left { transform: translateX(-50px); }
html.js .reveal-right { transform: translateX(50px); }
html.js .reveal-scale { transform: scale(0.92); }
html.js .reveal.visible { opacity: 1; transform: none; }

/* Stagger delays for children */
html.js .reveal[data-delay="100"] { transition-delay: 0.1s; }
html.js .reveal[data-delay="200"] { transition-delay: 0.2s; }
html.js .reveal[data-delay="300"] { transition-delay: 0.3s; }
html.js .reveal[data-delay="400"] { transition-delay: 0.4s; }

/* Respect user's reduced motion preference (accessibility) */
@media (prefers-reduced-motion: reduce) {
    html.js .reveal { opacity: 1 !important; transform: none !important; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Initial page load animations */
.hero { animation: fadeInUp 0.8s ease-out; }
.features .feature { animation: fadeInUp 0.6s ease-out backwards; }
.features .feature:nth-child(1) { animation-delay: 0.1s; }
.features .feature:nth-child(2) { animation-delay: 0.2s; }
.features .feature:nth-child(3) { animation-delay: 0.3s; }
.features .feature:nth-child(4) { animation-delay: 0.4s; }


/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.text-center { text-align: center; }
.text-red { color: #d62828; }
.text-yellow { color: #ffd60a; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 6px; font-weight: 700; font-size: 14px; cursor: pointer; border: none; text-align: center; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.btn-yellow { background: #ffd60a; color: #1a1a1a; }
.btn-yellow:hover { background: #f0c800; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(255, 214, 10, 0.5); }
.btn-red { background: #d62828; color: #fff; }
.btn-red:hover { background: #b91c1c; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(214, 40, 40, 0.4); }
.btn-outline { border: 2px solid #1a1a1a; color: #1a1a1a; background: transparent; }
.btn-outline:hover { background: #1a1a1a; color: #fff; transform: translateY(-3px); }
.btn-outline-white { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: #d62828; transform: translateY(-3px); }
.btn-block { display: block; width: 100%; }
.product-btn { transition: all 0.2s; }
.product-btn:hover { background: #f0c800 !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 214, 10, 0.5); }

/* ===== TOP BAR ===== */
.topbar { background: #d62828; color: #fff; padding: 8px 40px; font-size: 12px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.topbar-marquee { background: #ffd60a; color: #d62828; padding: 4px 12px; border-radius: 3px; font-weight: 800; }
.topbar a { color: #fff; text-decoration: none; margin-left: 16px; }

/* ===== HEADER ===== */
.header { background: #fff; padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 8px rgba(0,0,0,0.08); gap: 20px; }
.logo-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid #d62828; }
.brand-name { font-size: 22px; font-weight: 900; color: #d62828; letter-spacing: -0.5px; line-height: 1.1; }
.brand-sub { font-size: 11px; color: #666; font-weight: 600; }
.search { flex: 1; max-width: 480px; position: relative; }
.search input { width: 100%; padding: 12px 16px; border: 2px solid #f1f1f1; border-radius: 30px; font-size: 13px; background: #f8f8f8; outline: none; }
.search input:focus { border-color: #d62828; background: #fff; }
.search-btn { position: absolute; right: 6px; top: 6px; background: #d62828; color: #fff; border: none; padding: 6px 18px; border-radius: 30px; font-weight: 700; font-size: 12px; cursor: pointer; }
.header-actions { display: flex; gap: 16px; align-items: center; flex-shrink: 0; }
.hotline { display: flex; gap: 8px; align-items: center; }
.hotline-icon { background: #d62828; color: #fff; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.hotline-text { font-size: 11px; color: #999; }
.hotline-num { font-size: 16px; font-weight: 900; color: #d62828; line-height: 1; }
.cart-btn { background: #ffd60a; color: #1a1a1a; padding: 10px 18px; border-radius: 6px; font-weight: 700; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.cart-count { background: #d62828; color: #fff; min-width: 20px; height: 20px; border-radius: 50%; font-size: 11px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; }

/* ===== MAIN MENU ===== */
.menu-bar { background: #1a1a1a; padding: 14px 40px; display: flex; gap: 28px; flex-wrap: wrap; }
.menu-bar a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.menu-bar a:hover, .menu-bar a.active { color: #ffd60a; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #d62828 0%, #b91c1c 100%); padding: 60px 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50px; right: -50px; width: 300px; height: 300px; background: #ffd60a; opacity: 0.15; border-radius: 50%; }
.hero-content { color: #fff; position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: #ffd60a; color: #1a1a1a; padding: 6px 14px; border-radius: 20px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.hero h1 { font-size: 54px; font-weight: 900; line-height: 1.05; margin-bottom: 18px; letter-spacing: -1.5px; }
.hero h1 .yellow { color: #ffd60a; }
.hero p { font-size: 16px; opacity: 0.95; margin-bottom: 28px; line-height: 1.55; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-btns .btn-yellow { padding: 16px 32px; box-shadow: 0 6px 20px rgba(255, 214, 10, 0.4); text-transform: uppercase; }
.hero-img-wrap { position: relative; z-index: 1; }
.hero-img { background: #fff; border-radius: 16px; height: 380px; overflow: hidden; transform: rotate(-2deg); box-shadow: 0 30px 60px rgba(0,0,0,0.25); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-since { position: absolute; top: -20px; right: -20px; background: #ffd60a; color: #d62828; width: 110px; height: 110px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 900; transform: rotate(15deg); box-shadow: 0 10px 30px rgba(0,0,0,0.25); text-align: center; animation: float 4s ease-in-out infinite; }
.hero-since small { font-size: 11px; }
.hero-since strong { font-size: 26px; line-height: 1; margin: 2px 0; }
.hero-since tiny { font-size: 9px; }

/* ===== FEATURE STRIP ===== */
.features { background: #ffd60a; padding: 18px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { display: flex; align-items: center; gap: 10px; color: #1a1a1a; }
.feature-icon { font-size: 22px; }
.feature-text { font-size: 12px; font-weight: 700; }

/* ===== ABOUT SECTION ===== */
.about { background: #fff; padding: 60px 40px; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.about-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-img-grid > img { width: 100%; height: auto; object-fit: cover; border-radius: 12px; display: block; aspect-ratio: 4/3; }
.about-img-main { grid-column: 1 / -1; aspect-ratio: 16/9 !important; }
.about-tag { color: #d62828; font-size: 12px; letter-spacing: 3px; font-weight: 800; text-transform: uppercase; }
.about h2 { font-size: 38px; font-weight: 900; color: #1a1a1a; margin: 12px 0 20px; line-height: 1.15; letter-spacing: -0.5px; }
.about h2 .red { color: #d62828; }
.about p { font-size: 14.5px; color: #444; line-height: 1.75; margin-bottom: 12px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.about-stat { padding: 18px; background: #fff8e7; border-left: 4px solid #ffd60a; border-radius: 4px; }
.about-stat-num { font-size: 32px; font-weight: 900; color: #d62828; line-height: 1; }
.about-stat-label { font-size: 11px; color: #555; font-weight: 700; text-transform: uppercase; margin-top: 4px; }

/* ===== SECTIONS (Quality, Process, etc.) ===== */
.section { padding: 60px 40px; overflow: hidden; position: relative; }
.section-light { background: #fff; }
.section-gray { background: #f8f8f8; }
.section-dark { background: #1a1a1a; color: #fff; }

.section-head-center { text-align: center; margin-bottom: 36px; }
.section-tag { color: #d62828; font-size: 12px; letter-spacing: 3px; font-weight: 800; text-transform: uppercase; }
.section-head-center h2 { font-size: 36px; font-weight: 900; color: #1a1a1a; margin-top: 10px; letter-spacing: -0.5px; }
.section-head-center h2 .red { color: #d62828; }
.section-head-center p { color: #666; margin-top: 8px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ===== PROCESS CARDS ===== */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.05); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease; }
.process-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.process-img { height: 220px; overflow: hidden; }
.process-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.process-card:hover .process-img img { transform: scale(1.06); }
.process-info { padding: 22px; }
.process-num { display: inline-block; background: #d62828; color: #fff; width: 30px; height: 30px; border-radius: 50%; text-align: center; line-height: 30px; font-weight: 900; font-size: 13px; margin-bottom: 12px; transition: transform 0.3s; }
.process-card:hover .process-num { transform: rotate(360deg); }
.process-info h3 { font-size: 18px; font-weight: 800; color: #1a1a1a; margin-bottom: 8px; }
.process-info p { font-size: 13px; color: #666; line-height: 1.6; }

/* ===== SUPPLIERS ===== */
.suppliers { background: #fff; padding: 50px 40px; text-align: center; }
.suppliers h3 { font-size: 16px; color: #666; margin-bottom: 22px; letter-spacing: 4px; text-transform: uppercase; font-weight: 700; }
.suppliers h3 .red { color: #d62828; }
.suppliers-row { display: flex; justify-content: center; gap: 50px; align-items: center; flex-wrap: wrap; }
.supplier-logo { padding: 16px 36px; background: #f8f8f8; border-radius: 8px; font-weight: 900; font-size: 26px; color: #1a1a1a; letter-spacing: 2px; }
.supplier-logo.cp { background: #003a70; color: #fff; }
.supplier-logo.japfa { background: #d62828; color: #fff; }
.supplier-logo.f3 { background: #1a1a1a; color: #ffd60a; }

/* ===== PRODUCT GRID ===== */
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; }
.section-head h2 { font-size: 30px; font-weight: 900; color: #1a1a1a; letter-spacing: -0.5px; }
.section-head h2 .red { color: #d62828; }
.section-head a { color: #d62828; text-decoration: none; font-weight: 700; font-size: 13px; }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.06); position: relative; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease; }
.product:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(214, 40, 40, 0.15); }
.product-badge { position: absolute; top: 12px; left: 12px; background: #d62828; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 10px; font-weight: 800; z-index: 1; letter-spacing: 1px; transition: transform 0.3s; }
.product:hover .product-badge { transform: scale(1.08); }
.product-badge.hot { background: #ff6b35; }
.product-badge.fresh { background: #4caf50; }
.product-badge.new { background: #1976d2; }
.product-fav { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; background: rgba(255,255,255,0.95); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; z-index: 1; cursor: pointer; transition: all 0.2s; }
.product-fav:hover { background: #ffd60a; transform: scale(1.1); }
.product-img-wrap { display: block; height: 180px; overflow: hidden; background: #f8f8f8; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.product:hover .product-img-wrap img { transform: scale(1.08); }
.product-info { padding: 14px; }
.product-cat { font-size: 10px; color: #d62828; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; }
.product h3 { font-size: 15px; font-weight: 700; color: #1a1a1a; line-height: 1.3; min-height: 40px; margin-top: 6px; }
.product h3 a { color: inherit; }
.product-meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; color: #888; }
.product-meta .star { color: #ffd60a; }
.product-price-wrap { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e0e0e0; display: flex; justify-content: space-between; align-items: center; }
.product-price { color: #d62828; font-weight: 900; font-size: 18px; }
.product-price-unit { font-size: 11px; color: #888; font-weight: 600; }
.product-btn { background: #ffd60a; color: #1a1a1a; padding: 6px 14px; border-radius: 4px; font-weight: 800; font-size: 11px; letter-spacing: 1px; border: none; cursor: pointer; }
.product-btn:hover { background: #f0c800; }

/* ===== CERTS (DARK SECTION) ===== */
.certs { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%); color: #fff; padding: 60px 40px; overflow: hidden; }
.certs-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }
.certs-tag { color: #ffd60a; font-size: 12px; letter-spacing: 3px; font-weight: 800; text-transform: uppercase; }
.certs h2 { font-size: 36px; font-weight: 900; margin: 12px 0 20px; line-height: 1.15; letter-spacing: -0.5px; }
.certs h2 .yellow { color: #ffd60a; }
.certs p { color: #c0c0c0; font-size: 14.5px; line-height: 1.75; margin-bottom: 24px; }
.cert-items { display: grid; gap: 14px; }
.cert-item { display: flex; gap: 14px; align-items: start; padding: 16px; background: rgba(255, 214, 10, 0.05); border-left: 3px solid #ffd60a; border-radius: 4px; }
.cert-icon { background: #ffd60a; color: #1a1a1a; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; flex-shrink: 0; }
.cert-content strong { display: block; font-size: 14px; color: #fff; margin-bottom: 4px; }
.cert-content span { font-size: 12px; color: #aaa; line-height: 1.5; }
.certs-img-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.certs-img { border-radius: 8px; overflow: hidden; height: 220px; }
.certs-img img { width: 100%; height: 100%; object-fit: cover; }
.certs-img.full { grid-column: 1 / -1; height: 250px; }

/* ===== WHY US / STATS ===== */
.why { background: #1a1a1a; color: #fff; padding: 50px 40px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.why-item { text-align: center; }
.why-num { font-size: 48px; font-weight: 900; color: #ffd60a; line-height: 1; }
.why-item h3 { font-size: 14px; margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }
.why-item p { font-size: 12px; color: #aaa; margin-top: 6px; }

/* ===== FOOTER ===== */
.footer { background: #0a0a0a; color: #aaa; padding: 40px 40px 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #ffd60a; font-size: 12px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; }
.footer p, .footer a { font-size: 12px; color: #999; line-height: 1.7; text-decoration: none; display: block; margin-bottom: 4px; }
.footer a:hover { color: #ffd60a; }
.footer-brand-line { font-size: 22px; color: #fff; font-weight: 900; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #222; margin-top: 30px; padding-top: 16px; text-align: center; font-size: 11px; color: #555; }

/* ===== PAGE HERO (cho các trang inner) ===== */
.breadcrumb { background: #fff; padding: 14px 40px; font-size: 13px; color: #666; border-bottom: 1px solid #eee; }
.breadcrumb a { color: #666; text-decoration: none; }
.breadcrumb .current { color: #d62828; font-weight: 700; }

.page-hero { background: linear-gradient(135deg, #d62828 0%, #b91c1c 100%); padding: 50px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 300px; height: 300px; background: #ffd60a; opacity: 0.12; border-radius: 50%; }
.page-hero::after { content: ''; position: absolute; bottom: -50px; left: -50px; width: 200px; height: 200px; background: #ffd60a; opacity: 0.1; border-radius: 50%; }
.page-hero-tag { display: inline-block; background: #ffd60a; color: #1a1a1a; padding: 6px 16px; border-radius: 20px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.page-hero h1 { font-size: 48px; font-weight: 900; line-height: 1.1; margin-bottom: 12px; letter-spacing: -1.5px; position: relative; z-index: 1; }
.page-hero h1 .yellow { color: #ffd60a; }
.page-hero p { font-size: 15px; opacity: 0.95; max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }

/* ===== FILTER BAR ===== */
.filter-bar { background: #fff; padding: 24px 40px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; flex-wrap: wrap; gap: 16px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab { background: #f8f8f8; color: #555; padding: 10px 18px; border-radius: 30px; font-size: 13px; font-weight: 700; cursor: pointer; border: 2px solid transparent; }
.filter-tab.active { background: #d62828; color: #fff; }
.filter-sort { display: flex; align-items: center; gap: 12px; color: #666; font-size: 13px; }
.sort-select { padding: 8px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; background: #fff; font-weight: 600; color: #333; cursor: pointer; }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.page-btn { background: #fff; color: #666; padding: 10px 16px; border-radius: 6px; border: 1px solid #ddd; font-weight: 700; font-size: 13px; text-decoration: none; }
.page-btn:hover:not(.disabled):not(.active) { border-color: #d62828; color: #d62828; }
.page-btn.active { background: #d62828; color: #fff; border-color: #d62828; }
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%); padding: 40px; margin: 0 40px; border-radius: 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; color: #fff; }
.cta-banner h3 { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; }
.cta-banner h3 .yellow { color: #ffd60a; }
.cta-banner p { color: #ccc; margin-top: 6px; font-size: 14px; }
.cta-banner-btn { background: #ffd60a; color: #1a1a1a; padding: 16px 30px; border-radius: 8px; font-weight: 800; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }

/* ===== FLASH MESSAGES ===== */
.flash-msg { padding: 14px 20px; margin: 16px 40px; border-radius: 8px; font-weight: 600; }
.flash-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.flash-error { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.flash-info { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-weight: 700; font-size: 13px; color: #1a1a1a; margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 14px; border: 2px solid #e5e5e5; border-radius: 8px; font-size: 14px; font-family: inherit; outline: none; }
.form-control:focus { border-color: #d62828; }
textarea.form-control { min-height: 100px; resize: vertical; }
.form-required { color: #d62828; }

/* ===== FLOATING CHAT WIDGET ===== */
.chat-widget { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; }
.chat-btn { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.2); cursor: pointer; transition: transform 0.2s; text-decoration: none; }
.chat-btn:hover { transform: scale(1.1); }
.chat-btn img { width: 32px; height: 32px; }
.chat-zalo { background: #0068ff; }
.chat-messenger { background: #0084ff; }
.chat-phone { background: #d62828; animation: pulse 2s infinite; }
.chat-phone::before { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; background: #d62828; opacity: 0.4; animation: pulse-ring 1.5s infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.chat-btn svg { width: 28px; height: 28px; fill: #fff; }

/* ===== MOBILE MENU TOGGLE (HAMBURGER) ===== */
.mobile-menu-toggle { display: none; background: transparent; border: none; padding: 8px; cursor: pointer; flex-direction: column; gap: 5px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.mobile-menu-toggle span { display: block; width: 26px; height: 3px; background: #d62828; border-radius: 2px; transition: all 0.3s; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Accessibility: focus states */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid #ffd60a;
  outline-offset: 2px;
}

/* Touch targets: chuẩn iOS/Android 44x44px */
.menu-bar a, .btn, .product-btn, .cart-btn, .page-btn, .filter-tab, .search-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* Lazy loading placeholder */
img[loading="lazy"] { background: #f0f0f0; }

/* Skip-to-content link cho accessibility */
.skip-link { position: absolute; top: -40px; left: 0; background: #d62828; color: #fff; padding: 8px 16px; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 0; }

/* ===== RESPONSIVE - TABLET (768-991px) ===== */
@media (max-width: 991px) {
    .topbar, .header, .menu-bar, .hero, .features, .about, .section, .footer, .breadcrumb, .filter-bar, .page-hero, .certs, .why, .suppliers, .cta-banner { padding-left: 20px; padding-right: 20px; }
    .cta-banner { margin: 0 20px; }
    .hero { gap: 30px; padding: 50px 20px; }
    .hero h1 { font-size: 38px; line-height: 1.1; }
    .hero p { font-size: 14px; }
    .hero-img { height: 320px; }
    .products { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .certs-grid { gap: 30px; grid-template-columns: 1fr; }
    .about-img-grid { max-height: 500px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid .process-card:nth-child(3) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:nth-child(3) { grid-column: 2 / 3; }
    .section { padding: 50px 20px; }
    .about h2, .certs h2, .section-head-center h2 { font-size: 30px; line-height: 1.2; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
    /* Hiển thị hamburger */
    .mobile-menu-toggle { display: flex; }
    
    /* Ẩn search trên header mobile, đẩy xuống menu */
    .search { order: 99; flex-basis: 100%; max-width: 100%; margin-top: 12px; display: none; }
    .menu-bar.open ~ .search, .header.menu-open .search { display: block; }
    
    /* Header layout mobile */
    .header { flex-wrap: wrap; padding: 12px 16px; gap: 10px; justify-content: space-between; }
    .header-actions { gap: 8px; }
    .hotline-text, .hotline { display: none; }
    .header-actions .hotline { display: flex; }
    
    /* Menu trượt xuống */
    .menu-bar { display: none; flex-direction: column; gap: 0; padding: 0; }
    .menu-bar.open { display: flex; }
    .menu-bar a { padding: 14px 16px; border-bottom: 1px solid #2a2a2a; font-size: 13px; width: 100%; justify-content: flex-start; }

    .topbar, .header, .menu-bar, .hero, .features, .about, .section, .footer, .breadcrumb, .filter-bar, .page-hero, .certs, .why, .suppliers, .cta-banner { padding-left: 16px; padding-right: 16px; }
    .cta-banner { margin: 0 16px; }
    .header { flex-wrap: wrap; }
    .search { order: 3; flex-basis: 100%; max-width: 100%; }
    .hero { grid-template-columns: 1fr; padding: 40px 16px; }
    .hero h1 { font-size: 36px; }
    .hero-img { height: 280px; transform: none; }
    .about-grid, .certs-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-img-grid { height: auto; }
    .about-img-main { aspect-ratio: 16/9; }
    .process-grid { grid-template-columns: 1fr; }
    .products { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .features { grid-template-columns: 1fr 1fr; gap: 12px; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .menu-bar { gap: 14px; font-size: 12px; }
    .menu-bar a { font-size: 11px; }
    .cta-banner { grid-template-columns: 1fr; text-align: center; }
    .filter-bar { padding: 16px; }
    .page-hero h1 { font-size: 32px; }
    .about h2, .certs h2, .section-head-center h2 { font-size: 26px; }
    .suppliers-row { gap: 20px; }
    .supplier-logo { padding: 12px 24px; font-size: 20px; }
}

@media (max-width: 600px) {
    .topbar { font-size: 11px; flex-direction: column; gap: 4px; text-align: center; }
    .topbar a { margin: 0 6px; }
    .hotline-text { display: none; }
    .brand-name { font-size: 18px; }
    .brand-sub { font-size: 9px; }
    .logo-img { width: 48px; height: 48px; }
    .products { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-info { padding: 10px; }
    .product h3 { font-size: 13px; min-height: 34px; }
    .product-price { font-size: 15px; }
    .footer-grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .hero h1 { font-size: 28px; }
    .about h2, .certs h2 { font-size: 22px; }
    .about-stats { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .menu-bar { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .menu-bar a { white-space: nowrap; }
}
