body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #333;
}

header {
    position: relative;
    color: #fff;
    padding: 36px 18px;
    /* min-height: 350px; */
    display: flex;
    align-items: center;
    background-image: url("assets/store_image/hai_co_gi_hay_removed_bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 20, 0.45);
    pointer-events: none;
}

.hero-header {
    overflow: hidden;
}

.hero-header .hero-copy {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(8, 12, 20, 0.38);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hero-header .hero-copy h1,
.hero-header .hero-copy p {
    color: #fff;
}

.hero-header .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
}

header .header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

#logo {
    max-width: 100px;
    height: auto;
    display: block;
    border-radius: 12px;
    background: none;
    padding: 10px;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.site-nav {
    display: flex;
    justify-content: center;
    padding: 20px 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 0 15px 0;
    padding: 0;
    list-style: none;
}

.site-nav li {
    margin: 0;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
    background: #f7f7f7;
    color: #111;
    transform: translateY(-1px);
}

.site-nav a:focus-visible {
    outline: 2px solid #00a8ff;
    outline-offset: 4px;
}

.site-nav a {
    color: #111;
    text-decoration: none;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
    background: #f0f0f0;
}

@media (max-width: 576px) {
  .site-nav {
    display: flex;
    justify-content: flex-start; /* Căn lề trái */
    gap: 1rem; /* Khoảng cách giữa nút và logo */
  } 
  .burger-menu {
    display: block;
    order: -1; /* Đưa nút burger lên trước */
  }

  .logo {
    order: 0; /* Logo sau nút burger */
  }

  .nav-links {
    display: none; /* Ẩn mặc định */
    flex-direction: row; /* Hiển thị theo hàng ngang */
    
    /* Vị trí xuất hiện */
    position: sticky;
    top: 100%;    /* Hiện ngay dưới thanh navbar */
    left: 0;      /* Căn lề sát bên trái (ngay dưới nút burger) */
    
    
    padding: 1rem;
    z-index: 100;
  }

  /* Khi nhấn vào burger, class này được JS thêm vào */
  .nav-links.active {
    display: flex; 
  }
}

.section-title {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
}

.products-section,
.about-section {
    margin: 0 0 40px;
    padding-top: 12px;
}

.header-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

header h1 {
    margin: 0;
    font-size: 32px;
}
.about-section {
    margin-bottom: 28px;
}

.about-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.about-card-inner {
    position: relative;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.about-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.about-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding: 32px;
}

.about-logo {
    width: 120px;
    height: auto;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px;
}

.about-card-content h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 28px;
}

.about-card-content p {
    margin: 0;
    color: #f4f4f4;
    max-width: 620px;
    line-height: 1.7;
}
header p {
    margin: 4px 0 0;
    font-size: 14px;
    opacity: 0.8;
}

.container {
    max-width: 1160px;
    margin: 20px auto;
    padding: 0 16px 40px;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.toolbar .search,
.toolbar .filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar input,
.toolbar select,
.sort-toggle {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    min-width: 220px;
}

.sort-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    background: #1a1a1a;
    color: #fff;
    border-color: #333;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sort-toggle:hover {
    background: #333;
}

.sort-toggle .sort-icon {
    display: inline-block;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.sort-toggle.desc .sort-icon {
    transform: rotate(180deg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    transform-origin: center center;
}

.product-card:hover {
    transform: translateY(-6px) scale(1.15);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.products-grid.blog-grid {
    display: block;
    width: 100%;
    column-width: 280px;
    column-gap: 18px;
    column-fill: balance;
    align-items: start;
}

.products-grid.blog-grid > .blog-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 18px;
    break-inside: avoid;
    page-break-inside: avoid;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag {
    background: #eef4fb;
    color: #1b6f9d;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.blog-card--text-only {
    min-height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(245,249,253,0.98));
}

.blog-thumb-link img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.blog-card-meta {
    margin: 0;
    color: #1b6f9d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-card h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.blog-card h2 a {
    color: #14253a;
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: #1b6f9d;
}

.blog-card-excerpt {
    margin: 0;
    color: #526173;
    font-size: 14px;
    line-height: 1.6;
}

.blog-read-more {
    margin-top: 4px;
    color: #1b6f9d;
    text-decoration: none;
    font-weight: 600;
}

.blog-read-more:hover {
    color: #0f5a87;
}

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

.product-info {
    padding: 16px;
}

.product-info h2 {
    margin: 0 0 10px;
    font-size: 18px;
}

.product-info p {
    margin: 0 0 14px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.product-info .price {
    font-weight: bold;
    font-size: 16px;
    color: #1b6f9d;
}

.product-info .sale-price {
    /* font-size: 1.5rem; */
    font-weight: 700;
    color: #1b6f9d;
}

.product-info .tags {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-info .tag {
    background: #eef4fb;
    color: #1b6f9d;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
}

footer {
    background: #151515;
    color: #e5e5e5;
    padding: 32px 0;
    font-size: 14px;
}

footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 16px;
}

footer .footer-info,
footer .footer-cta {
    min-width: 240px;
    flex: 1;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
    color: #00a8ff;
}

footer h2 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #fff;
}

footer p,
footer a {
    color: #c7c7c7;
    text-decoration: none;
    line-height: 1.6;
}

footer a:hover {
    color: #00a8ff;
}

.cta-button {
    display: inline-block;
    padding: 12px 22px;
    background: #00a8ff;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.cta-button:hover {
    background: #0086cc;
}

.zalo-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #00a8ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    
    animation: tilt-shaking 0.5s ease-in-out infinite;
}

.zalo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.24);
}

.zalo-button svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.zalo-bubble {
    position: fixed;
    right: 96px;
    bottom: 38px;
    max-width: 220px;
    background: rgba(0, 168, 255, 0.95);
    color: #fff;
    padding: 12px 14px;
    border-radius: 18px;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 999;
    animation: fade-in-out 4s ease-in-out infinite;
    
}


.zalo-bubble::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: 16px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid rgba(0, 168, 255, 0.95);
}

@media (max-width: 640px) {
    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar input,
    .toolbar select,
    .sort-toggle {
        width: 100%;
    }

    .sort-control {
        flex-direction: column;
        align-items: stretch;
    }

    .zalo-bubble {
        right: 80px;
        bottom: 90px;
        max-width: 180px;
    }
}

@media (min-width: 904px) {
    
}

.blog-page {
    padding-bottom: 56px;
}

.blog-hero {
    margin-bottom: 28px;
    padding: 28px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(5, 18, 35, 0.78), rgba(27, 111, 157, 0.72)),
        url("assets/store_image/hai_co_gi_hay_removed_bg.png") center/cover no-repeat;
    color: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #eff8ff;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    color: #fff;
}

.blog-hero p {
    max-width: 760px;
    color: #edf5ff;
    line-height: 1.65;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    font-size: 14px;
    color: #e8f3ff;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.blog-shell {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: start;
}

.blog-sidebar {
    position: sticky;
    top: 18px;
}

.toc {
    background: #fff;
    border: 1px solid #e6edf6;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.toc h2 {
    margin: 0 0 10px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1b6f9d;
}

.toc ul {
    margin: 0;
    padding-left: 18px;
    color: #445;
}

.toc li + li {
    margin-top: 6px;
}

.toc a {
    color: #1f3b53;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.45;
}

.toc a:hover {
    color: #1b6f9d;
    text-decoration: underline;
}

.blog-post {
    background: #fff;
    border: 1px solid #e9edf4;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.blog-post h1,
.blog-post h2,
.blog-post h3 {
    color: #14253a;
    line-height: 1.25;
}

.blog-post h2 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.blog-post h3 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.blog-post p,
.blog-post li {
    color: #3c4a5b;
    font-size: 16px;
    line-height: 1.75;
}

.blog-post code {
    padding: 2px 6px;
    border-radius: 6px;
    background: #eef4fb;
    color: #1b6f9d;
    font-size: 94%;
}

.blog-post table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #e1e8f1;
}

.blog-post th,
.blog-post td {
    padding: 10px 12px;
    border-bottom: 1px solid #edf2f8;
    text-align: left;
    vertical-align: top;
}

.blog-post th {
    background: #f5f9fd;
    color: #1b6f9d;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-post blockquote {
    margin: 18px 0;
    padding: 14px 16px;
    border-left: 4px solid #1b6f9d;
    background: #f5f9fd;
    color: #334;
    border-radius: 0 10px 10px 0;
}

.related-section {
    margin-top: 28px;
}

.related-section h2 {
    margin-bottom: 12px;
    font-size: 18px;
    color: #14253a;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.related-card {
    display: block;
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e7edf5;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.related-card span {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1b6f9d;
}

.related-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: #14253a;
}

.related-card p {
    margin: 0;
    color: #566373;
    font-size: 14px;
    line-height: 1.55;
}

@media (min-width: 1400px) {
    .products-grid.blog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1399px) and (min-width: 1024px) {
    .products-grid.blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .products-grid.blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

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

    .blog-sidebar {
        position: static;
    }

    .products-grid.blog-grid {
        column-count: 1;
    }
}

@media (max-width: 640px) {
    .products-grid.blog-grid {
        column-count: 1;
    }
}

.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

/* Set a specific color for each brand */
.fa-facebook-f {
    background: #1877F2;
    color: #FFFFFF;
}

.fa-tiktok{
    background: #000000;
    color: #FFFFFF;
}

.fa-youtube{
    background: #FF0033;
    color: #FFFFFF;
}

.faqs-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faqs-container .faq-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
}

@keyframes tilt-shaking {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0eg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

@keyframes fade-in-out {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}

.footer-cta-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}