/* ============================================================
   Inhaiphong WebApp — shared stylesheet
   Header/topbar/navigation: handled by Tailwind (tailwind.min.js)
   This file: base resets, complex animations, footer, sections
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

/* ── Base reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    background: #fff;
}
body {
    margin: 0;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #374151;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; transition: color 0.2s ease; }
img { max-width: 100%; }

/* ── Layout ─────────────────────────────────────────────────── */
/* Clip horizontal overflow at the content wrapper (not on html/body), so that
   position:fixed widgets living outside .page-wrapper (support widget, scroll-to-top)
   are not clipped/shifted by a root-level overflow context. */
.page-wrapper { display: flex; flex-direction: column; min-height: 100vh; overflow-x: clip; }

.container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Dropdown menu ───────────────────────────────────────────── */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 0px);
    left: -16px;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 20px 50px -5px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
    z-index: 100;
}
.nav-dropdown-trigger:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Arrow pointer */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 28px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(0,0,0,0.06);
    border-top: 1px solid rgba(0,0,0,0.06);
    transform: rotate(45deg);
    border-radius: 2px 0 0 0;
}
.nav-dropdown li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    border-radius: 8px;
    transition: background 150ms ease, color 150ms ease;
    white-space: nowrap;
}
.nav-dropdown li > a:hover {
    background: #FFF1F1;
    color: #ff0b11;
}
/* Sub-sub dropdown — slides right */
.nav-dropdown .nav-dropdown {
    top: -8px;
    left: calc(100% + 8px);
}
.nav-dropdown .nav-dropdown::before { display: none; }

/* ── Sticky header ───────────────────────────────────────────── */
/* ── Image lazyload skeleton ─────────────────────────────────────── */
img.lazy-img {
    background: linear-gradient(110deg, #eef0f2 8%, #f7f8f9 18%, #eef0f2 33%);
    background-size: 200% 100%;
    animation: imgSkeletonShimmer 1.4s linear infinite;
}
img.lazy-img.is-loaded {
    animation: none;
    background: none;
}
@keyframes imgSkeletonShimmer {
    to { background-position-x: -200%; }
}

/* Broken-image placeholder element (inserted by app.js global fallback) */
.img-fallback {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #f3f4f6 !important;
    color: #cbd5e1;
    overflow: hidden;
    animation: none !important;
}
.img-fallback svg { width: 2.25rem; height: 2.25rem; max-width: 40%; max-height: 40%; }

.sticky-header--normal.is-sticky {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9;
    background-color: #fff;
    box-shadow: 0 2px 16px rgba(10,34,65,0.09);
    animation: slideDown 300ms ease forwards;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

/* ── Topbar link focus ───────────────────────────────────────── */
/* Replace the browser's default black focus outline (the "black box" that
   appears on the phone/email/language links when clicked) with an accessible
   white focus-visible ring that fits the colored topbar. Mouse clicks no longer
   show a box; keyboard navigation still gets a clear, on-brand focus indicator. */
.bg-topbar a:focus { outline: none; }
.bg-topbar a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
    border-radius: 3px;
}

/* ── Topbar language switcher (flags) ────────────────────────── */
.lang-switch { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.lang-switch__item { display: flex; align-items: center; }

/* Flag: taller for readability, no border on the active one */
.lang-flag { position: relative; display: block; flex-shrink: 0; line-height: 0; border-radius: 3px; overflow: hidden; }
.lang-flag img { display: block; height: 30px; width: auto; }

/* Text fallback when the flag image is missing/broken */
.lang-flag__code { display: none; padding: 0 6px; font-size: 0.875rem; font-weight: 500; line-height: 30px; text-transform: uppercase; color: #fff; }
.lang-flag__code.is-visible { display: inline-block; }

/* Inactive language gets a gray overlay; it fades out on hover for a color preview */
.lang-flag.is-inactive::after {
    content: ""; position: absolute; inset: 0;
    background: rgba(107, 114, 128, 0.55);
    transition: opacity 0.3s ease;
}
.lang-flag.is-inactive:hover::after { opacity: 0; }

/* ── Mobile nav ──────────────────────────────────────────────── */
.mobile-nav__wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    /* Contain the off-screen panel (translateX(-100%)) so it can't create
       page-level horizontal overflow now that html/body no longer clip. */
    overflow: hidden;
}
.mobile-nav__wrapper.expanded { pointer-events: auto; }

.mobile-nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-nav__wrapper.expanded .mobile-nav__overlay { opacity: 1; }

/* Panel */
.mobile-nav__panel {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 100%;
    max-width: 400px;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.mobile-nav__wrapper.expanded .mobile-nav__panel { transform: translateX(0); }

/* Panel header */
.mobile-nav__panel-header {
    display: flex;
    align-items: center;
    padding: 14px 16px 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    gap: 8px;
}
.mobile-nav__panel-logo { display: flex; align-items: center; flex: 1; min-width: 0; }
.mobile-nav__panel-logo-img { max-height: 48px; width: auto; max-width: 100%; }
.mobile-nav__close {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: none;
    border: none; border-radius: 6px;
    color: #6b7280; cursor: pointer;
    flex-shrink: 0;
    transition: color 0.15s, background 0.15s;
}
.mobile-nav__close:hover { color: #ff0b11; background: #FFF1F1; }

/* Search */
.mobile-nav__search {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.mobile-nav__search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 10px 14px;
}
.mobile-nav__search-inner svg { width: 16px; height: 16px; color: #9ca3af; flex-shrink: 0; }
.mobile-nav__search-inner input {
    flex: 1; background: none; border: none; outline: none;
    font-size: 0.9rem; color: #374151;
    font-family: inherit;
}
.mobile-nav__search-inner input::placeholder { color: #9ca3af; }

/* Nav list */
.mobile-nav__nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__item { border-bottom: 1px solid #f7f7f7; }
.mobile-nav__item--sub { border-bottom: none; }

.mobile-nav__item-row {
    display: flex;
    align-items: center;
}
.mobile-nav__link {
    flex: 1;
    display: block;
    padding: 13px 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
    transition: color 0.15s;
}
.mobile-nav__link:hover { color: #ff0b11; }
.mobile-nav__item--sub .mobile-nav__link {
    padding: 10px 20px 10px 36px;
    font-size: 0.875rem;
    font-weight: 400;
    color: #4b5563;
}
.mobile-nav__item--sub .mobile-nav__link:hover { color: #ff0b11; }

/* Accordion button */
.mobile-nav__accordion-btn {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    color: #9ca3af; flex-shrink: 0;
    transition: color 0.2s;
}
.mobile-nav__accordion-btn svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.mobile-nav__accordion-btn[aria-expanded="true"] { color: #ff0b11; }
.mobile-nav__accordion-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Submenu */
.mobile-nav__submenu {
    list-style: none; margin: 0; padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafafa;
}
.mobile-nav__submenu.open { max-height: 600px; }

/* Contact block */
.mobile-nav__contact-block {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}
.mobile-nav__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.15s;
}
a.mobile-nav__contact-item:hover { color: #ff0b11; }
.mobile-nav__contact-icon {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: #FFF1F1; border-radius: 8px; flex-shrink: 0;
    color: #ff0b11;
}
.mobile-nav__contact-icon svg { width: 16px; height: 16px; }

/* ── Scroll to top ──────────────────────────────────────────── */
.scroll-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    background: #ff0b11;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s ease;
    z-index: 50;
}
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: #CC0009; color: #fff; }
.scroll-to-top__text {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ── Online support widget ──────────────────────────────────── */
.online-support-widget {
    position: fixed;
    right: 1.5rem;
    bottom: 4.875rem;
    z-index: 49;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.625rem;
}
.online-support-widget__item {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff0b11;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.online-support-widget__item:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.28);
    color: #fff;
}
@keyframes online-support-pulse-red {
    0%   { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.6); }
    70%  { box-shadow: 0 0 0 14px rgba(229, 57, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}
@keyframes online-support-pulse-blue {
    0%   { box-shadow: 0 0 0 0 rgba(5, 115, 255, 0.6); }
    70%  { box-shadow: 0 0 0 14px rgba(5, 115, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 115, 255, 0); }
}
.online-support-widget__item--pulse-red  { animation: online-support-pulse-red 2.2s ease-out infinite; }
.online-support-widget__item--pulse-blue { animation: online-support-pulse-blue 2.2s ease-out infinite; }
.online-support-widget__icon-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
}
.online-support-widget__icon-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}
.online-support-widget__icon-text {
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
@media (max-width: 767.98px) {
    /* right/bottom inherit từ desktop (1.5rem / 4.875rem) để thẳng cột với .scroll-to-top */
    .online-support-widget__item--desktop-only { display: none; }
}
@media (min-width: 768px) {
    .online-support-widget__item--mobile-only { display: none; }
}

/* ── Sections ───────────────────────────────────────────────── */
.section-space { padding: 4rem 0; }
.section-space-top { padding-top: 4rem; }
@media (min-width: 1024px) {
    .section-space { padding: 6rem 0; }
    .section-space-top { padding-top: 6rem; }
}
.sec-title { margin-bottom: 3rem; }
.sec-title__tagline {
    color: #ff0b11;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}
.sec-title__title { font-size: 1.875rem; font-weight: 700; color: #111827; line-height: 1.2; margin: 0; }
@media (min-width: 1024px) { .sec-title__title { font-size: 1.875rem; } }

/* ── Footer ─────────────────────────────────────────────────── */
.main-footer { background: #111827; color: #d1d5db; margin-top: auto; padding: 4rem 0 0; }

.footer-widget__title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1.25rem;
}
/* Footer 4-column grid (25% each) */
.row.footer-row { grid-template-columns: 1fr; }
@media (min-width: 768px) { .row.footer-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .row.footer-row { grid-template-columns: repeat(4, 1fr); } }

.footer-widget__logo { margin-bottom: 1.5rem; }
.footer-widget__logo img { max-height: 3rem; width: auto; display: block; }
/* Cột 1: logo căn giữa, cao tối đa 120px */
.footer-widget--about { text-align: center; }
.footer-widget--about .footer-widget__logo { margin-bottom: 1rem; }
.footer-widget--about .footer-widget__logo img { max-height: 120px; width: auto; margin: 0 auto; display: block; }
.footer-widget__company-name { color: #fff; font-weight: 700; font-size: 1.125rem; margin: 0 0 0.75rem; }
.footer-widget--about .footer-widget__about-text { margin-left: auto; margin-right: auto; }
.footer-widget__about-text { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-widget__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-widget__links li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; }
.footer-icon { display: inline-flex; flex-shrink: 0; margin-top: 0.15rem; opacity: 0.7; }
.footer-widget__links a { color: #d1d5db; display: inline-flex; align-items: center; gap: 0.35rem; }
.footer-widget__links a:hover { color: #fff; }
.footer-link-arrow { flex-shrink: 0; opacity: 0.6; transition: transform 0.2s, opacity 0.2s; }
.footer-widget__links a:hover .footer-link-arrow { transform: translateX(3px); opacity: 1; }

.social-links { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.social-links a {
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: #d1d5db;
    transition: background 0.2s ease, color 0.2s ease;
}
.social-links a:hover { background: #ff0b11; color: #fff; }

.main-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 0;
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
}
.footer-iframe { border-radius: 0.5rem; overflow: hidden; margin-top: 0.5rem; }

/* ── Grid helpers (footer, content grids) ───────────────────── */
.row { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .row { grid-template-columns: repeat(3, 1fr); } }
.row.gutter-y-30 { gap: 1.875rem; }
.row.gutter-y-40 { gap: 2.5rem; }

/* ── Home sections ──────────────────────────────────────────── */
.news-section { background: #f9fafb; }
.news-card__thumb { position: relative; aspect-ratio: 4 / 3; }
.news-card__thumb > div { position: absolute; inset: 0; }

.main-slider { position: relative; overflow: hidden; background: #1a1a1a; }

/* ── Main slider (vanilla JS) ───────────────────────────────── */
.ms-track { display: flex; transition: transform 0.55s cubic-bezier(0.4,0,0.2,1); will-change: transform; align-items: flex-start; }
.ms-slide { min-width: 100%; flex: 0 0 100%; position: relative; }
/* Ảnh luôn rộng 100%, cao tự động theo tỉ lệ thật — không cắt, không méo */
.ms-slide img { display: block; width: 100%; height: auto; }

.ms-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.25); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; }
.ms-arrow:hover { background: rgba(255,255,255,0.30); }
.ms-prev { left: 16px; }
.ms-next { right: 16px; }
@media (min-width: 768px) { .ms-prev { left: 28px; } .ms-next { right: 28px; } }

.ms-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.ms-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; cursor: pointer; transition: background 0.25s, transform 0.25s; padding: 0; }
.ms-dot.active { background: #fff; transform: scale(1.25); }
.cta-banner { background: #ff0b11; color: #fff; }
.cta-banner__inner { text-align: center; padding: 1rem 0; }

/* ── Partners / customers logo carousel (homepage) ───────────── */
.partner-logo-item { padding: 0 6px; }
.partner-logo-card {
    aspect-ratio: 2 / 1;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.partner-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ── Press-info logo carousel + links panel (homepage) ───────────── */
.press-info-section { background: #fff; }
.press-logo-item { padding: 0; }
.press-logo-item + .press-logo-item .press-logo-trigger { border-left: 1px solid #eef0f2; }
.press-logo-trigger {
    position: relative;
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 8px;
}
.press-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    padding: 10px 8px;
    border-radius: 6px;
    overflow: hidden;
    transition: background 0.2s;
}
.press-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.press-logo-trigger:hover .press-logo-card { background: #f4f6fb; }
.press-logo-trigger.is-active .press-logo-card { background: #f4f6fb; }

/* Caret under the active logo, pointing to the panel below */
.press-caret {
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 9px solid var(--press-caret-color, #0b4ea2);
}

/* Links panel */
.press-info-panel {
    background: #f4f6fb;
    border: 1px solid #e6eaf2;
    border-radius: 8px;
    padding: 18px 24px;
}
.press-link-list { list-style: none; margin: 0; padding: 0; }
.press-link-list li { padding: 4px 0; }
.press-link {
    color: #0b4ea2;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.press-link:hover { color: #06366f; }
.press-link--plain { color: #374151; text-decoration: none; cursor: default; }

/* ── About section (homepage) ────────────────────────────────── */
.about-section { padding: 5rem 0; background: #fff; }
@media (max-width: 768px) { .about-section { padding: 3rem 0; } }

.about-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.09);
}
@media (max-width: 900px) {
    .about-section__inner { grid-template-columns: 1fr; }
}

.about-section__cover {
    position: relative;
    min-height: 420px;
    background: #f3f4f6;
    overflow: hidden;
    border-radius:5px;
}
@media (max-width: 900px) { .about-section__cover { min-height: 260px; } }

.about-section__cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video giới thiệu lấp đầy slot cover; giữ trọn khung hình (không cắt) trên nền tối */
.about-section__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
}
video.about-section__video {
    object-fit: contain;
}

.about-section__img-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

.about-section__body {
    padding: 3.5rem 3rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}
@media (max-width: 1024px) { .about-section__body { padding: 2.5rem 2rem; } }
@media (max-width: 900px)  { .about-section__body { padding: 2rem 1.5rem; } }

.about-section__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ff0b11;
    margin: 0;
}
.about-section__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.25;
    margin: 0;
}
@media (max-width: 640px) { .about-section__title { font-size: 1.5rem; } }

.about-section__desc {
    font-size: 0.975rem;
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
}
/* Nội dung TinyMCE (ShortDescription) — list dấu tích hiện đại + khoảng cách block */
.about-section__desc p { margin: 0 0 0.75rem; }
.about-section__desc p:last-child { margin-bottom: 0; }
.about-section__desc ul { padding-left: 0; margin: 0 0 0.75rem; list-style: none; }
.about-section__desc ol { padding-left: 1.25rem; margin: 0 0 0.75rem; list-style: decimal; }
.about-section__desc li { margin-bottom: 0.4rem; }
.about-section__desc ul > li { position: relative; padding-left: 1.5rem; }
.about-section__desc ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 0.95rem;
    height: 0.95rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff0b11' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.about-section__desc > *:last-child { margin-bottom: 0; }
.about-section__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    align-self: flex-start;
    padding: 0.65rem 1.5rem;
    background: #ff0b11;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s, gap 0.2s;
}
.about-section__btn:hover { background: #CC0009; color: #fff; gap: 0.65rem; }

/* ── Section spacing ─────────────────────────────────────────── */
.section-space { padding: 4rem 0; }
@media (max-width: 768px) { .section-space { padding: 2.5rem 0; } }
.section-heading { font-size: 1.5rem; font-weight: 700; color: #1f2937; margin-bottom: 1.5rem; }

/* ── Prose content (TinyMCE rich text) ──────────────────────── */
.prose-content {
    line-height: 1.8;
    color: #374151;
    font-size: 1rem;
    word-break: break-word;
}
.prose-content h1 { font-size: 1.25rem; font-weight: 700; color: #1f2937; margin: 1.75rem 0 0.875rem; line-height: 1.25; }
.prose-content h2 { font-size: 1.5rem;   font-weight: 700; color: #1f2937; margin: 1.5rem  0 0.75rem;  line-height: 1.3;  }
.prose-content h3 { font-size: 1.25rem;  font-weight: 700; color: #1f2937; margin: 1.25rem 0 0.6rem;   line-height: 1.35; }
.prose-content h4 { font-size: 1.05rem;  font-weight: 600; color: #1f2937; margin: 1rem    0 0.5rem;   line-height: 1.4;  }
@media (max-width: 640px) {
    .prose-content h1 { font-size: 1.5rem; }
    .prose-content h2 { font-size: 1.25rem; }
    .prose-content h3 { font-size: 1.1rem; }
}
.prose-content p  { margin-bottom: 1rem; }
/* List: <ul> dùng marker dấu tích hiện đại; <ol> giữ số thứ tự */
.prose-content ul { padding-left: 0; margin-bottom: 1rem; list-style: none; }
.prose-content ol { padding-left: 1.5rem; margin-bottom: 1rem; list-style: decimal; }
.prose-content li { margin-bottom: 0.4rem; }
.prose-content ul > li { position: relative; padding-left: 1.6rem; }
.prose-content ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 1rem;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff0b11' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.prose-content img { max-width: 100%; height: auto; border-radius: 8px; display:inline-block}
/* YouTube nhúng trong nội dung: rộng 100%, tối đa 800px, giữ tỉ lệ 16:9, căn giữa */
.prose-content iframe[src*="youtube.com"],
.prose-content iframe[src*="youtube-nocookie.com"] {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    margin-left: auto;
    margin-right: auto;
}
.prose-content a { color: #ff0b11;  }
.prose-content strong { font-weight: 700; color: #1f2937; }
.prose-content em { font-style: italic; }
.prose-content blockquote { border-left: 3px solid #ff0b11; padding: 0.75rem 1.25rem; margin: 1rem 0; background: #f9fafb; border-radius: 0 8px 8px 0; color: #4b5563; }
/* Wrapper sinh bởi app.js để bảng cuộn ngang trên di động (responsive) */
.prose-content .table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1rem; }
.prose-content .table-responsive > table { margin-bottom: 0; }
/* Ép bảng luôn 100% và bỏ qua mọi inline width còn sót trong data cũ (style="width:48%"...) */
.prose-content table { width: 100% !important; border-collapse: collapse; margin-bottom: 1rem; font-size: 0.9rem; table-layout: auto; }
.prose-content th { background: #f3f4f6; font-weight: 600; text-align: left; padding: 7px 15px; border: 1px solid #e5e7eb; color: #1f2937; width: auto !important; }
.prose-content td { padding: 7px 15px; border: 1px solid #e5e7eb; vertical-align: top; width: auto !important; }
/* Thẻ <p> trong ô bảng: margin nhỏ hơn, thẻ cuối cùng bỏ margin-bottom */
.prose-content td p,
.prose-content th p { margin: 0 0 0.425rem; }
.prose-content td p:last-child,
.prose-content th p:last-child { margin-bottom: 0; }
.prose-content tr:nth-child(even) td { background: #fafafa; }
/* Trên di động giữ nguyên layout bảng, cho cuộn ngang thay vì bóp méo cột */
@media (max-width: 640px) {
    .prose-content .table-responsive > table { min-width: 560px; }
}
.prose-content hr { border: none; border-top: 1px solid #e5e7eb; margin: 1.5rem 0; }

/* ── Page header / breadcrumb ────────────────────────────────── */
.page-header { background: #f9fafb; border-bottom: 1px solid #f0f0f0; padding: 0.875rem 0; }

.page-header__breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    color: #9ca3af;
    font-size:0.875rem;
}

.page-header__breadcrumb li {
    display: inline-flex;
    align-items: center;
}

/* separator giữa các li */
.page-header__breadcrumb li + li::before {
    content: '/';
    padding: 0 0.45rem;
    color: #d1d5db;
    font-size: 0.75rem;
}

.page-header__breadcrumb a {
    display: inline-flex;
    align-items: center;
    color: #9ca3af;
    transition: color 0.15s;
    line-height: 1;
}
.page-header__breadcrumb a:hover { color: #ff0b11; }
.page-header__breadcrumb a svg { display: block; }

/* title item — cùng font-size li nhưng đậm + tối màu hơn */
.page-header__title-crumb {
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 420px;
}
@media (max-width: 640px) { .page-header__title-crumb { max-width: 200px; } }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.4rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 0.6rem; border-radius: 8px; font-size: 0.875rem; font-weight: 500; color: #374151; border: 1px solid #e5e7eb; background: #fff; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.pagination__btn:hover { border-color: #ff0b11; color: #ff0b11; }
.pagination__btn--active { background: #ff0b11; color: #fff; border-color: #ff0b11; }
.pagination__btn--disabled { opacity: 0.4; cursor: default; pointer-events: none; }
.pagination__ellipsis { color: #9ca3af; padding: 0 0.25rem; }

/* ── About detail page (/gioi-thieu) ─────────────────────────── */
.about-detail { display: flex; flex-direction: column; gap: 2rem; }

.about-detail__cover {
    position: relative;
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    border-radius: 16px;
    background: #f3f4f6;
}
.about-detail__cover img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: 520px; }
.about-detail__img-fallback { position: absolute; inset: 0; align-items: center; justify-content: center; background: #f3f4f6; }

.about-detail__intro { display: flex; flex-direction: column; gap: 0.75rem; }
.about-detail__eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #ff0b11; margin: 0; }
.about-detail__title { font-size: 2rem; font-weight: 800; color: #1f2937; line-height: 1.25; margin: 0; }
@media (max-width: 640px) { .about-detail__title { font-size: 1.5rem; } }
.about-detail__lead { font-size: 1.05rem; color: #374151; line-height: 1.8; margin: 0; font-weight: 500; padding: 1rem 1.25rem; background: #f9fafb; border-left: 3px solid #ff0b11; border-radius: 0 8px 8px 0; }

.about-detail__content { border-top: 1px solid #f0f0f0; padding-top: 1.5rem; }

/* ── Contact page ────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info__heading { font-size: 1.25rem; font-weight: 700; color: #1f2937; margin-bottom: 1.25rem; }
.contact-info__company { font-weight: 600; font-size: 1rem; color: #374151; margin-bottom: 0.5rem; text-transform: uppercase; }
.contact-info__description { font-size: 0.9rem; color: #364153; line-height: 1.6; margin-bottom: 1rem; }
.contact-info__row { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.5rem; font-size: 0.9rem; color: #374151; background: #f3f4f6; border-radius: 8px; padding: 0.55rem 0.875rem; }
.contact-info__row a { color: #374151; }
.contact-info__row a:hover { color: #374151; text-decoration: none; }
.contact-info__socials { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; display: flex; align-items: center; gap: 0.75rem; }
.contact-info__socials .social-links { margin-top: 0; }
.contact-info__socials-label { font-size: 0.95rem; font-weight: 700; color: #111827; white-space: nowrap; flex-shrink: 0; text-transform: uppercase; line-height: 1; align-self: center; }
.contact-info__icon-circle { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.contact-info__icon-circle--red  { background-color: #ff0b11; }
.contact-info__icon-circle--blue { background-color: #0068ff; }
.contact-info__icon-circle--gray { background-color: #6b7280; }
.contact-info__zalo-text { font-weight: 700; font-size: 0.6rem; letter-spacing: 0.04em; }

/* ── Contact info block (article / product detail) ──────────── */
.contact-info-block { margin-top: 2rem; padding: 1.25rem 1.5rem; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; }
.contact-info-block__heading { font-size: 1.05rem; font-weight: 700; color: #1f2937; margin-bottom: 1rem; }
.contact-info-block__company { font-weight: 600; font-size: 0.95rem; color: #374151; margin-bottom: 0.75rem; }
.contact-info-block__row { display: flex; gap: 0.65rem; align-items: flex-start; margin-bottom: 0.6rem; font-size: 0.88rem; color: #374151; }
.contact-info-block__row:last-child { margin-bottom: 0; }
.contact-info-block__row a { color: #ff0b11; }
.contact-info-block__row a:hover { text-decoration: underline; }
.contact-info-block__icon { width: 18px; height: 18px; flex-shrink: 0; color: #ff0b11; margin-top: 1px; }
.contact-form-wrap { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1.5rem; }
.contact-form__heading { font-size: 1.25rem; font-weight: 700; color: #1f2937; margin-bottom: 1.25rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .contact-form__row { grid-template-columns: 1fr; } }
.contact-form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form__field label { font-size: 0.875rem; font-weight: 500; color: #374151; }
.contact-form__field input,.contact-form__field textarea { padding: 0.625rem 0.875rem; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 0.9rem; line-height: 1.5; font-family: inherit; color: #374151; background: #fff; outline: none; transition: border-color 0.15s; resize: vertical; -webkit-appearance: none; appearance: none; }
.contact-form__field input { height: 2.75rem; }
.contact-form__field input:focus,.contact-form__field textarea:focus { border-color: #ff0b11; }
.contact-form__field input::placeholder,.contact-form__field textarea::placeholder { color: #9ca3af; }
.contact-form__error { font-size: 0.8rem; color: #dc2626; min-height: 1rem; }
.contact-form__submit { display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; padding: 0.75rem 1.75rem; background: #ff0b11; color: #fff; font-size: 0.9rem; font-weight: 600; font-family: inherit; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s; }
.contact-form__submit:hover { background: #CC0009; }
.contact-form__success { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; color: #166534; font-size: 0.95rem; }
.contact-map { border-radius: 16px; overflow: hidden; border: 1px solid #f0f0f0; }
.contact-map iframe { display: block; }

/* ── Product listing ─────────────────────────────────────────── */
.product-list-nav a { display: inline-block; padding: 0.5rem 1rem; font-size: 0.875rem; color: #374151; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 9999px; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.product-list-nav a:hover,.product-list-nav a.active { background: #FFF1F1; color: #ff0b11; border-color: #FFCBCB; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1280px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } }
.product-list-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: 4rem 0; color: #9ca3af; font-size: 0.9rem; }

/* ── Sub-category cards (image left, title + description right; 2 per row) ──────── */
.subcat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 768px) { .subcat-grid { grid-template-columns: 1fr; } }
.subcat-card { display: flex; gap: 1.1rem; padding: 1rem; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.subcat-card__thumb { position: relative; flex: 0 0 240px; width: 240px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #eef2f7; }
.subcat-card__img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.subcat-card__ph { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; color: #cbd5e1; }
.subcat-card__ph svg { width: 2.25rem; height: 2.25rem; }
.subcat-card__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.subcat-card__title { font-size: 1.05rem; font-weight:500; color: #1f2937; line-height: 1.4; transition: color 0.2s ease; }
.subcat-card:hover .subcat-card__title { color: #ff0b11; }
.subcat-card__desc { color: #6b7280; font-size: 0.9rem; line-height: 1.7; margin: 0; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 480px) {
    .subcat-card { flex-direction: column; }
    .subcat-card__thumb { flex-basis: auto; width: 100%; aspect-ratio: 16 / 9; }
}
.category-content-section { padding-top: 2.5rem; border-top: 1px solid #eef2f7; }

.category-content { position: relative; overflow: hidden; max-height: 8.5rem; transition: max-height 0.45s ease; }
.product-detail__content-section .category-content { max-height: 31.5rem; }
.category-content.is-expanded { }
.category-content__inner { color: #4b5563; font-size: 0.95rem; line-height: 1.85; }
.category-content__inner p { margin: 0 0 0.85rem; }
.category-content__inner h2,
.category-content__inner h3 { color: #1f2937; font-weight: 700; margin: 1rem 0 0.5rem; }
.category-content__inner img { max-width: 100%; height: auto; border-radius: 0.5rem; }
/* Restore list markers stripped by the global reset (rich-text content from TinyMCE). */
.category-content__inner ul { padding-left: 1.5rem; margin: 0 0 0.85rem; list-style: disc; }
.category-content__inner ol { padding-left: 1.5rem; margin: 0 0 0.85rem; list-style: decimal; }
.category-content__inner li { margin-bottom: 0.4rem; }
.category-content__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 3.5rem; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%); transition: opacity 0.35s ease; pointer-events: none; }
.category-content.is-expanded .category-content__fade { opacity: 0; }
.category-content__btn { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #ff0b11; background: none; border: none; cursor: pointer; transition: color 0.2s ease; }
.category-content__btn:hover { color: #CC0009; }
.category-content__btn svg { transition: transform 0.3s ease; }
.category-content__btn.is-expanded svg { transform: rotate(180deg); }

/* ── Search page ─────────────────────────────────────────────── */
.search-page__form {
    display: flex;
    gap: 0;
    max-width: 640px;
    margin-bottom: 2rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s;
}
.search-page__form:focus-within { border-color: #ff0b11; }
.search-page__form input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #374151;
    border: none;
    outline: none;
    background: transparent;
    min-width: 0;
}
.search-page__form input[type="search"]::placeholder { color: #9ca3af; }
.search-page__form button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 1.25rem;
    background: #ff0b11;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}
.search-page__form button:hover { background: #CC0009; }

.search-page__hint { color: #9ca3af; font-size: 0.9rem; }
.search-page__count { color: #4b5563; font-size: 0.9rem; margin-bottom: 1.5rem; }
.search-page__group-title {
    color: #111827;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 2.5rem 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}
.search-page__group-title:first-of-type { margin-top: 0; }
.search-page__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 4rem 0;
    color: #9ca3af;
    text-align: center;
    font-size: 0.95rem;
}
.search-page__empty strong { color: #374151; }
.search-page__browse { color: #ff0b11; font-weight: 600; font-size: 0.875rem; }
.search-page__browse:hover { text-decoration: underline; }

/* ── Article listing ─────────────────────────────────────────── */
/* .article-list-layout — defined in the shared 2-column layout block below. */
.article-list-sidebar__heading { font-size: 1rem; font-weight: 700; color: #1f2937; margin-bottom: 0.75rem; }
.article-list-sidebar__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.article-list-sidebar__menu a { display: block; padding: 0.5rem 0.75rem; font-size: 0.875rem; color: #374151; border-radius: 8px; transition: background 0.15s, color 0.15s; }
.article-list-sidebar__menu a:hover,.article-list-sidebar__menu a.active { background: #FFF1F1; color: #ff0b11; font-weight: 600; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 640px) { .article-grid { grid-template-columns: 1fr; } }
.article-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid #f0f0f0; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.05); transition: box-shadow 0.2s, transform 0.2s; }
.article-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.10); transform: translateY(-2px); }
.article-card__img-wrap { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #f3f4f6; }
.article-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.article-card:hover .article-card__img-wrap img { transform: scale(1.05); }
.article-card__body { padding: 1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.article-card__date { font-size: 0.75rem; color: #9ca3af; margin-bottom: 0.5rem; }
.article-card__title { font-size: 0.95rem; font-weight: 700; color: #1f2937; margin-bottom: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card:hover .article-card__title { color: #ff0b11; }
.article-card__desc { font-size: 0.975rem; color: #4b5563; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.article-card__more { font-size: 0.8rem; color: #ff0b11; font-weight: 600; margin-top: 0.75rem; }

.article-row-list { display: flex; flex-direction: column; gap: 1.5rem; }
.article-row-item { display: flex; gap: 0; border-radius: 16px; overflow: hidden; border: 1px solid #f0f0f0; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.05); transition: box-shadow 0.2s, transform 0.2s; }
.article-row-item__img-wrap { width: 280px; flex-shrink: 0; aspect-ratio: 4/3; overflow: hidden; background: #f3f4f6; }
.article-row-item__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-row-item__body { flex: 1; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; min-width: 0; }
.article-row-item__title { font-size: 1.05rem; font-weight: 600; color: #1f2937; margin-bottom: 0.4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-row-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; font-size: 0.75rem; color: #9ca3af; margin-bottom: 0.5rem; }
.article-row-item__meta-item { display: inline-flex; align-items: center; gap: 0.35rem; }
.article-row-item__meta-icon { flex-shrink: 0; color: #ff0b11; }
.article-row-item:hover .article-row-item__title { color: #ff0b11; }
.article-row-item__desc { font-size: 0.9rem; color: #4b5563; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.article-row-item__more { font-size: 0.8rem; color: #ff0b11; font-weight: 600; margin-top: 0.75rem; }
@media (max-width: 640px) {
    .article-row-item { flex-direction: column; }
    .article-row-item__img-wrap { width: 100%; aspect-ratio: 16/9; }
}

/* ── Product detail ──────────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; align-items: start; }
@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; gap: 1.5rem; } }
.product-detail__main-img { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #f9fafb; border-radius: 16px; overflow: hidden; border: 1px solid #f0f0f0; }
.product-detail__main-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-detail__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 9999px; background: rgba(255,255,255,0.85); border: 1px solid #f0f0f0; display: flex; align-items: center; justify-content: center; color: #4b5563; cursor: pointer; transition: background-color 0.15s, color 0.15s; z-index: 2; }
.product-detail__nav:hover { background: #fff; color: #ff0b11; }
.product-detail__nav--prev { left: 12px; }
.product-detail__nav--next { right: 12px; }
.product-detail__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; z-index: 2; }
.product-detail__dot { width: 8px; height: 8px; border-radius: 9999px; background: rgba(0,0,0,0.2); cursor: pointer; transition: background-color 0.15s, width 0.15s; }
.product-detail__dot.active { background: #ff0b11; width: 20px; border-radius: 9999px; }
.product-detail__thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.product-detail__thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; border: 2px solid #e5e7eb; background: #f9fafb; cursor: pointer; transition: border-color 0.15s; padding: 0; }
.product-detail__thumb:hover,.product-detail__thumb.active { border-color: #ff0b11; }
.product-detail__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-detail__name { font-size: 1.4rem; font-weight: 600; color: #1f2937; margin-bottom: 0.6rem; line-height: 1.3; text-transform: uppercase; }
@media (max-width: 640px) { .product-detail__name { font-size: 1.25rem; } }
.product-detail__sub-meta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1rem; font-size: 0.85rem; color: #6b7280; }
.product-detail__sub-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.product-detail__sub-meta a { color: #6b7280; transition: color 0.15s; }
.product-detail__sub-meta a:hover { color: #ff0b11; }
.product-detail__cta-hint { font-size: 0.85rem; color: #6b7280; margin-bottom: 0.75rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; }
.product-detail__cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 0.75rem; }
.product-detail__call-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; border: 1px solid #FFCBCB; color: #ff0b11; background: #FFF6F6; transition: background 0.2s, color 0.2s; flex-shrink: 0; }
.product-detail__call-btn:hover { background: #ff0b11; color: #fff; }
.product-detail__hotline { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.4rem 0.9rem 0.4rem 0.4rem; border-radius: 10px; border: 1px solid #FFCBCB; background: #FFF6F6; transition: background 0.2s; }
.product-detail__hotline:hover { background: #FFE3E3; }
.product-detail__hotline .product-detail__call-btn { border: none; background: #ff0b11; color: #fff; width: 40px; height: 40px; }
.product-detail__hotline-text { display: flex; flex-direction: column; line-height: 1.25; }
.product-detail__hotline-text small { font-size: 0.75rem; color: #6b7280; }
.product-detail__hotline-text strong { font-size: 0.95rem; color: #ff0b11; font-weight: 700; }
.product-detail__hotline--zalo { border-color: #BBD7FF; background: #F2F7FF; }
.product-detail__hotline--zalo:hover { background: #E3EFFF; }
.product-detail__hotline--zalo .product-detail__call-btn { background: #0068ff; color: #fff; }
.product-detail__hotline--zalo .product-detail__hotline-text strong { color: #0068ff; }
.product-detail__price-wrap { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.product-detail__price { font-size: 1.75rem; font-weight: 800; color: #ff0b11; }
.product-detail__price--contact { font-size: 1.25rem; }
.product-detail__old-price { font-size: 1rem; color: #9ca3af; text-decoration: line-through; }
.product-detail__badge { background: #ff0b11; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; }
.product-detail__desc { font-size: 0.95rem; color: #4b5563; line-height: 1.7; margin-bottom: 1.5rem; }
.product-detail__order-btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.875rem 2rem; background: #ff0b11; color: #fff; font-size: 1rem; font-weight: 700; font-family: inherit; border: none; border-radius: 10px; cursor: pointer; transition: background 0.2s; }
.product-detail__order-btn:hover { background: #CC0009; }
.product-detail__content-section { margin-bottom: 3rem; }
.product-detail__description {
    margin-bottom: 1rem;
}
    .product-detail__content-section .prose-content h2,
    .product-detail__content-section .prose-content h3 {
        font-size: 1.25rem;
    }
.product-detail__content-heading { font-size: 1.25rem; font-weight: 700; color: #1f2937; margin-bottom: 3rem; padding-bottom: 0.75rem; border-bottom: 2px solid #ff0b11; display: inline-block; }
.product-detail__related { margin-top: 2rem; }
.product-detail__related-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.product-detail__related-head .section-heading { margin-bottom: 0; }
.product-detail__related-nav { display: flex; align-items: center; gap: 0.5rem; }
.product-detail__nav--static { position: static; transform: none; background: #fff; }
.product-detail__nav--static:disabled { opacity: 0.4; cursor: default; pointer-events: none; }

/* Home product slider — drag-to-navigate */
.ps-track { cursor: grab; user-select: none; }
.ps-track.is-dragging { cursor: grabbing; }
.ps-track.is-dragging * { pointer-events: none; }
.product-detail__related .product-card:hover img { transform: none !important; }
.product-detail__related .cust-card__thumb { aspect-ratio: 16 / 9; }

/* PC: horizontal slider, 3 cards per row (scroll-snap) */
.product-detail__related .product-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 1.25rem) / 3);
    grid-template-columns: none;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.product-detail__related .product-grid::-webkit-scrollbar { display: none; }
.product-detail__related .product-grid > * { scroll-snap-align: start; }
.product-detail__related .product-grid { cursor: grab; user-select: none; }
.product-detail__related .product-grid.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.product-detail__related .product-grid.is-dragging * { pointer-events: none; }

/* Mobile: 2-column grid, no slider */
@media (max-width: 768px) {
    .product-detail__related .product-grid {
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: unset;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
        scroll-snap-type: none;
    }
}

/* ── Article detail ──────────────────────────────────────────── */
/* ── Shared 2-column layout (content + sidebar) — single source of truth ──────
   Used by: article list (ArticleCategory/Index), article detail (Article/Detail),
   product detail (Product/Detail). Change the column widths here ONCE. */
.article-list-layout,
.article-detail-layout,
.detail-sidebar-layout { display: grid; grid-template-columns: 1fr 450px; gap: 3rem; align-items: start; }
@media (max-width: 900px) {
    .article-list-layout,
    .article-detail-layout,
    .detail-sidebar-layout { grid-template-columns: 1fr; }
}
.article-detail__title { font-size: 1.6rem; font-weight: 700; color: #1f2937; line-height: 1.35; margin-bottom: 0.75rem; }
.article-detail__meta { background: #f3f4f6; padding: 15px 7px; border-radius: 6px; margin: 1.5rem 0; }
.article-detail-sidebar__heading { font-size: 1rem; font-weight: 700; color: #1f2937; margin-bottom: 1rem; }
.article-detail__related { margin-top: 2rem; }
.article-related-list { display: flex; flex-direction: column; gap: 1rem; }
.article-related-item { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.75rem; border-radius: 10px; border: 1px solid #f0f0f0; transition: border-color 0.15s, background 0.15s; }
.article-related-item:hover { border-color: #FFCBCB; background: #FFF6F6; }
.article-related-item__img { width: 72px; height: 60px; flex-shrink: 0; overflow: hidden; border-radius: 8px; background: #f3f4f6; }
.article-related-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-related-item__title { font-size: 0.82rem; font-weight: 600; color: #1f2937; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0.25rem; }
.article-related-item:hover .article-related-item__title { color: #ff0b11; }
.article-related-item__date { font-size: 0.72rem; color: #9ca3af; }

.product-related-list { display: flex; flex-direction: column; gap: 1rem; }
.product-related-item { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.75rem; border-radius: 10px; border: 1px solid #f0f0f0; transition: border-color 0.15s, background 0.15s; }
.product-related-item:hover { border-color: transparent; background: #FFF6F6; }
.product-related-item__img { width: 72px; height: 60px; flex-shrink: 0; overflow: hidden; border-radius: 8px; background: #f3f4f6; }
.product-related-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-related-item__title { font-size: 0.92rem; font-weight: 500; text-transform: uppercase; color: #1f2937; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0.3rem; }
.product-related-item:hover .product-related-item__title { color: #ff0b11; }
.product-related-item__price { font-size: 0.8rem; font-weight: 700; color: #ff0b11; }
.product-related-item__old-price { font-size: 0.72rem; color: #9ca3af; text-decoration: line-through; margin-left: 0.4rem; }

/* ── Sidebar layout: shared between Product and Article pages ─── */
/* .detail-sidebar-layout — defined in the shared 2-column layout block above. */
.detail-sidebar { display: flex; flex-direction: column; gap: 2rem; }
.detail-sidebar__block { border: 1px solid #f0f0f0; border-radius: 12px; padding: 1.25rem; }
.detail-sidebar__heading { position: relative; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: #1f2937; margin-bottom: 1.1rem; padding-bottom: 0.75rem; border-bottom: 2px solid #ff0b11; }
/* Level-1 product category styled like the section heading. */
.sidebar-category-heading { display: block; position: relative; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: #1f2937; margin-bottom: 1.1rem; padding-bottom: 0.75rem; border-bottom: 2px solid #ff0b11; transition: color 0.15s; }
.sidebar-category-heading:hover { color: #ff0b11; }
.sidebar-category-list { display: flex; flex-direction: column; gap: 0.4rem; }
.sidebar-category-tree { display: flex; flex-direction: column; gap: 0.35rem; }
.sidebar-category-node { display: flex; flex-direction: column; }
.sidebar-category-node + .sidebar-category-node { margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid #f1f1f1; }
.sidebar-category-children { display: flex; flex-direction: column; gap: 0.1rem; margin-top: 0.35rem; }
.sidebar-category-group { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.95rem; font-weight: 700; color: #ff0b11; background: transparent; border-radius: 8px; padding: 0.55rem 0.75rem; transition: background 0.15s, color 0.15s; }
.sidebar-category-group:hover, .sidebar-category-group.active { background: #FFF6F6; color: #CC0009; }
.sidebar-category-group__count { flex-shrink: 0; font-size: 0.75rem; font-weight: 700; color: #ff0b11; background: #fff; border-radius: 999px; padding: 0.1rem 0.55rem; line-height: 1.4; }
.sidebar-category-item { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.4rem 0.5rem 0.4rem 0.2rem; border-radius: 6px; font-size: 0.95rem; font-weight: 500; color: #4b5563; transition: background 0.15s, color 0.15s; }
.sidebar-category-item:hover { color: #ff0b11; }
.sidebar-category-item.active { background: #FFF6F6; color: #ff0b11; }
.sidebar-category-item__label { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; text-transform: capitalize; }
.sidebar-category-item__label svg { flex-shrink: 0; color: #9ca3af; transition: color 0.15s; }
.sidebar-category-item:hover .sidebar-category-item__label svg, .sidebar-category-item.active .sidebar-category-item__label svg { color: #ff0b11; }
.sidebar-category-item__count { flex-shrink: 0; font-size: 0.72rem; font-weight: 600; color: #6b7280; background: #f3f4f6; border-radius: 999px; padding: 0.1rem 0.5rem; line-height: 1.4; }
.sidebar-category-item:hover .sidebar-category-item__count, .sidebar-category-item.active .sidebar-category-item__count { color: #ff0b11; background: #fff; }

/* ── Why Choose Us (Tại sao chọn chúng tôi) ──────────────────── */
.wcu-section { background: #eef3fb; }
.wcu-section__heading { text-transform: uppercase; }
.wcu-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .wcu-section__grid { grid-template-columns: 360px 1fr; gap: 4rem; }
}

/* Intro card (left) */
.wcu-intro {
    background: #0A2241;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    color: #fff;
    height: 100%;
}
.wcu-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f97316;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.wcu-intro__eyebrow svg { width: 1.1rem; height: 1.1rem; }
.wcu-intro__title { font-size: 1.6rem; font-weight: 800; line-height: 1.3; margin: 0 0 1rem; color: #fff; }
.wcu-intro__desc { font-size: 0.95rem; line-height: 1.7; color: #c7d2e0; margin: 0 0 1.75rem; }
.wcu-intro__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.6rem;
    background: #fff;
    color: #0A2241;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: gap 0.2s, background 0.2s, color 0.2s;
}
.wcu-intro__btn svg { width: 1rem; height: 1rem; }
.wcu-intro__btn:hover { background: #ff0b11; color: #fff; gap: 0.7rem; }

/* Reasons grid (right) */
.wcu-reasons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem 4rem;
    max-width: 1150px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .wcu-reasons { grid-template-columns: repeat(2, 1fr); }
    .wcu-reasons > .wcu-reason:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 2rem);
        margin: 0 auto;
        width: 100%;
    }
}
.wcu-reason {
    position: relative;
    background: #fff;
    border: 1px solid #d9e4f2;
    border-radius: 12px;
    padding: 2rem 1.75rem 2.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    cursor: default;
    transition: box-shadow 0.2s, transform 0.2s;
}
.wcu-reason:hover { box-shadow: 0 10px 30px rgba(10,34,65,0.10); transform: translateY(-3px); }
.wcu-reason__text { margin: 0; font-size: 0.95rem; font-weight: 600; color: #1f2d44; line-height: 1.5; cursor: default; }
.wcu-reason__badge {
    position: absolute;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0A2241;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(10,34,65,0.25);
    border: 3px solid #eef3fb;
}
.wcu-reason__badge svg { width: 15px; height: 15px; }

/* ===== Sản phẩm tiêu biểu (Featured product categories) — demo palette ===== */
.featured-categories__heading       { color: #0A2241; }
.featured-category-card__title      { color: #0A2241; font-weight: 600; text-transform: uppercase; transition: color 0.2s; }
.featured-category-card__title:hover { color: #293A8E; }
.featured-category-card__product    { color: #56657f; transition: color 0.2s; }
.featured-category-card__product:hover { color: #0068ff; }
.featured-category-card__more       { color: #293A8E; transition: color 0.2s; }
.featured-category-card__more:hover { color: #0A2241; }

/* ── Homepage services block (self-contained; does not rely on JIT Tailwind) ── */
.featured-categories-section { padding-top: 3.5rem; padding-bottom: 3.5rem; background: #fff; }

.svc-block { margin-bottom: 3.5rem; }
.svc-block:last-child { margin-bottom: 0; }

.svc-head { text-align: center; margin-bottom: 2.5rem; }
.svc-head__desc { margin: 0.75rem auto 0; max-width: 48rem; color: #6b7280; font-size: 0.95rem; line-height: 1.6; white-space: pre-line; }

.svc-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px)  { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
    .svc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .svc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.svc-card { display: flex; flex-direction: column; }
.svc-card--v4 { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 1rem; padding: 1.25rem; }

.svc-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0.5rem; background: #f3f4f6; }
.svc-thumb--v4 { aspect-ratio: 4 / 3; border-radius: 0.75rem; }
.svc-thumb__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.svc-thumb:hover .svc-thumb__img { transform: scale(1.05); }
.svc-thumb__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #f3f4f6; color: #d1d5db; }
.svc-thumb__ph svg { width: 2.5rem; height: 2.5rem; }

.svc-card__title { display: block; margin-top: 1rem; margin-bottom: 0.75rem; font-size: 1.125rem; }
.svc-card--v4 .svc-card__title { margin-top: 0; margin-bottom: 0; text-align: center; font-size: 1rem; }

.svc-card__desc { margin: 0.5rem 0 1rem; text-align: center; font-size: 0.875rem; color: #6b7280; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.svc-list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 1.5rem; flex: 1 1 auto; align-content: start; }
@media (min-width: 640px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-list > li { border-bottom: 1px solid #f3f4f6; min-width: 0; }
.svc-list a { display: block; padding: 0.625rem 0; font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.svc-tick { margin-top: 1rem; flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.625rem; }
.svc-tick > li { display: flex; align-items: flex-start; gap: 0.5rem; min-width: 0; }
.svc-tick a { display: block; font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-tick__check { width: 1rem; height: 1rem; margin-top: 0.125rem; flex-shrink: 0; color: #0068ff; }

.svc-more { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 1rem; font-size: 0.875rem; font-weight: 500; }
.svc-more svg { width: 1rem; height: 1rem; }

/* Category listing page: "Xem tất cả" sits directly under the level-3 list (no bottom
   pinning) and level-2 cards get extra vertical spacing between rows. */
.svc-grid-flow .svc-list { flex: 0 0 auto; }
.svc-grid-flow .svc-grid { row-gap: 3.5rem; }

/* Category listing: full-width cover banner with a centered H1 overlaid on the image. */
.category-cover { position: relative; width: 100%; min-height: 180px; max-height: 250px; overflow: hidden; background: linear-gradient(135deg, #1f2937, #374151); }
.category-cover__img { display: block; width: 100%; height: 250px; max-height: 250px; object-fit: cover; }
/* Dark scrim so the white title stays legible over any image. */
.category-cover::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.38); z-index: 1; }
.category-cover__overlay {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
    padding: 0 1rem; text-align: center;
}
.category-cover__title {
    margin: 0; color: #fff;
    font-size: 1.6rem; font-weight: 600; line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    text-transform: uppercase;
}
/* Meta line under the title: parent category + view count. */
.category-cover__meta { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.25rem; color: rgba(255, 255, 255, 0.92); font-size: 0.9rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); }
.category-cover__meta-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.category-cover__meta svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.category-intro { max-width: 1000px; margin: 1.75rem auto 0; text-align: center; color: #4b5563; font-size: 1rem; line-height: 1.7; }

/* ── Leaf service page ─────────────────────────────────────────────────────── */

/* 1. Business info block: image left, name + description + Hotline/Zalo right. */
.svc-biz { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2rem; align-items: stretch; }
@media (max-width: 768px) { .svc-biz { grid-template-columns: 1fr; gap: 1.25rem; } }
.svc-biz__body { display: flex; flex-direction: column; justify-content: flex-start; }
.svc-biz__media { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 0.75rem; overflow: hidden; background: #f3f4f6; }
.svc-biz__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
.svc-biz__img.is-active { opacity: 1; }
.svc-biz__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #d1d5db; }
.svc-biz__ph svg { width: 3rem; height: 3rem; }
.svc-biz__name { font-size: 1.5rem; font-weight: 700; color: #1f2937; margin: 0 0 0.75rem; line-height: 1.3; }
.svc-biz__desc { color: #4b5563; font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.25rem; }
.svc-biz__desc p:last-child { margin-bottom: 0; }
.svc-biz__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.svc-biz__btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.25rem; border-radius: 5px; font-weight: 600; font-size: 0.9rem; color: #fff; transition: filter 0.15s ease; }
.svc-biz__btn svg { width: 1.1rem; height: 1.1rem; }
.svc-biz__btn:hover { filter: brightness(0.93); }
.svc-biz__btn--hotline { background: #ef4444; }
.svc-biz__btn--zalo { background: #0068ff; }
/* Meta under the company name: category + view count. */
.svc-biz__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; margin: 0 0 1rem; color: #6b7280; font-size: 0.875rem; }
.svc-biz__meta-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.svc-biz__meta-item + .svc-biz__meta-item::before { content: "|"; color: #d1d5db; }
.svc-biz__meta svg { width: 1rem; height: 1rem; flex-shrink: 0; }

/* 3. Featured-customers carousel: 4-up, prev/next, drag. Stacked on mobile. */
.cust-carousel { position: relative; display: flex; align-items: center; gap: 0.5rem; }
.cust-viewport { overflow: hidden; flex: 1 1 auto; }
.cust-track { display: flex; transition: transform 0.5s ease; cursor: grab; }
.cust-item { flex: 0 0 25%; max-width: 25%; padding: 0 0.625rem; box-sizing: border-box; }
.cust-card { display: block; border: 1px solid #eef2f7; border-radius: 12px; overflow: hidden; background: #fff; height: 100%; color: inherit; text-decoration: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
a.cust-card:hover { border-color: #293A8E; box-shadow: 0 4px 14px rgba(41, 58, 142, 0.12); }
.cust-card__thumb { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #f8fafc; display: flex; align-items: center; justify-content: center; }
.cust-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cust-card__title { text-align: center; font-size: 0.9rem; font-weight: 600; color: #374151; padding: 0.75rem 0.5rem; margin: 0; }
.cust-nav { flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 1px solid #e5e7eb; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #374151; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.cust-nav:hover { background: #293A8E; color: #fff; border-color: #293A8E; }
.cust-nav svg { width: 1.1rem; height: 1.1rem; }
/* Mobile: stacked list, no carousel. */
.cust-carousel.is-stacked { display: block; }
.cust-carousel.is-stacked .cust-nav { display: none; }
.cust-carousel.is-stacked .cust-viewport { overflow: visible; }
.cust-carousel.is-stacked .cust-track { display: block; transform: none !important; }
.cust-carousel.is-stacked .cust-item { max-width: 100%; padding: 0 0 1rem; }

.svc-more-wrap { margin-top: 2rem; text-align: center; }
.svc-more-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.625rem 1.5rem; border: 1px solid #293A8E; border-radius: 9999px;
    font-size: 0.9rem; font-weight: 600; color: #293A8E;
    transition: background-color 0.2s, color 0.2s;
}
.svc-more-btn:hover { background: #293A8E; color: #fff; }
.svc-more-btn svg { width: 1rem; height: 1rem; }
