/* ==========================================================================
   INAX Vietnam Design System (INAX Japan Architectural + Kidohomes Luxury)
   ========================================================================== */

:root {
  --color-primary: #30c2e7;         /* INAX Japanese Blue */
  --color-primary-dark: #169ab8;
  --color-primary-light: #e8f4fc;
  --color-primary-surface: #f0f7fd;
  
  --color-accent: #af1f24;          /* Kidohomes Crimson (Sale / CTA / Price) */
  --color-accent-dark: #8f171b;
  --color-accent-light: #fef2f2;
  
  --color-text: #111827;            /* Charcoal */
  --color-text-secondary: #475569;  /* Slate */
  --color-text-muted: #64748b;
  --color-text-subtle: #94a3b8;
  
  --color-bg: #f8fafc;              /* Architectural Alabaster */
  --color-surface: #ffffff;         /* Porcelain White */
  --color-surface-hover: #f1f5f9;
  
  --color-border: #e2e8f0;
  --color-border-subtle: #f1f5f9;
  --color-border-card: #e5e7eb;
  
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-error: #dc2626;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 12px 24px -4px rgba(48, 194, 231, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --container-max: 1240px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

button, input, select, textarea {
  font: inherit;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Utility buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #ffffff;
}

.btn-accent {
  background-color: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-surface);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-sale {
  background-color: var(--color-accent);
  color: #ffffff;
}

.badge-inax {
  background-color: var(--color-primary);
  color: #ffffff;
}

.badge-soft {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

/* ==========================================================================
   Site Header
   ========================================================================== */

.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-topbar {
  background-color: #0f172a;
  color: #cbd5e1;
  font-size: 12.5px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.topbar-link:hover {
  color: #38bdf8;
}

.topbar-hotline {
  color: #fca5a5;
  font-weight: 700;
}

.header-main {
  padding: 12px 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-logo-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1;
}

.brand-logo-sub {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 540px;
  position: relative;
}

.header-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-input {
  width: 100%;
  padding: 10px 42px 10px 16px;
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  outline: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.header-search-input:focus {
  background-color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(48, 194, 231, 0.12);
}

.header-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
}

.header-search-btn:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* Search Autocomplete dropdown */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 420px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-results-dropdown.active {
  display: block;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.search-item:hover {
  background-color: var(--color-primary-surface);
}

.search-item-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 2px;
  flex-shrink: 0;
}

.search-item-info {
  flex: 1;
  min-width: 0;
}

.search-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-top: 2px;
}

.search-item-price {
  color: var(--color-accent);
  font-weight: 700;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-hotline-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background-color: var(--color-accent-light);
  border: 1px solid rgba(175, 31, 36, 0.15);
  border-radius: var(--radius-md);
  text-decoration: none;
}

.action-hotline-card:hover {
  background-color: #fee2e2;
  border-color: var(--color-accent);
}

.action-hotline-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.action-hotline-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.action-hotline-number {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-accent-dark);
}

/* Primary Navigation Bar (Desktop) */
.header-nav {
  background-color: var(--color-primary);
  color: #ffffff;
}

.header-nav .container {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.nav-item:hover > .nav-link {
  background-color: var(--color-primary-dark);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  list-style: none;
  padding: 6px 0;
  display: none;
  z-index: 50;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text);
}

.dropdown-link:hover {
  background-color: var(--color-primary-surface);
  color: var(--color-primary);
  padding-left: 22px;
}

/* ==========================================================================
   Product Grid
   ========================================================================== */

.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .prod-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .prod-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* ==========================================================================
   Section Title
   ========================================================================== */

.section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-bar {
  width: 4px;
  height: 22px;
  background-color: var(--color-primary);
  border-radius: var(--radius-sm);
}

.section-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.section-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ==========================================================================
   Blog Post Card
   ========================================================================== */

.post-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: var(--color-bg);
}

.post-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-date {
  font-size: 12px;
  color: var(--color-text-subtle);
  margin-bottom: 6px;
}

.post-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card:hover .post-card-title {
  color: var(--color-primary);
}

.post-card-excerpt {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Mobile Bottom Bar
   ========================================================================== */

.mobile-bottom-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  z-index: 99;
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}

@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.bottom-bar-item.active, .bottom-bar-item:hover {
  color: var(--color-primary);
}

.bottom-bar-item.highlight {
  color: var(--color-accent);
}

@media (max-width: 1023px) {
  body {
    padding-bottom: 64px;
  }
}

/* ==========================================================================
   Lead Form Modal
   ========================================================================== */

.lead-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lead-modal.active, .lead-modal:target {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal-content {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.lead-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 20px;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-modal-close:hover {
  background-color: var(--color-bg);
  color: var(--color-text);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(48, 194, 231, 0.12);
}

/* ==========================================================================
   Prose for Content Formatting
   ========================================================================== */

.prose {
  line-height: 1.7;
  color: #334155;
  font-size: 15px;
}

.prose h2, .prose h3, .prose h4 {
  color: var(--color-text);
  font-weight: 800;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  line-height: 1.3;
}

.prose p {
  margin-bottom: 1.2em;
}

.prose img {
  border-radius: var(--radius-md);
  margin: 1.5em auto;
}

.prose ul, .prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

.prose li {
  margin-bottom: 0.4em;
}

/* ==========================================================================
   Universal Rich Text, Prose, Tables & Media Defaults
   ========================================================================== */

.prose,
.archive-rich-content,
.product-description,
.article-content {
  font-size: 15.5px;
  line-height: 1.8;
  color: #334155;
}

.prose p,
.archive-rich-content p,
.article-content p {
  margin: 0 0 18px 0;
  line-height: 1.8;
}

.prose ul,
.archive-rich-content ul,
.article-content ul {
  list-style-type: disc;
  margin: 0 0 18px 28px;
  padding: 0;
}

.prose ol,
.archive-rich-content ol,
.article-content ol {
  list-style-type: decimal;
  margin: 0 0 18px 28px;
  padding: 0;
}

.prose li,
.archive-rich-content li,
.article-content li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.prose h2,
.archive-rich-content h2,
.article-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 36px 0 14px 0;
  line-height: 1.35;
}

.prose h3,
.archive-rich-content h3,
.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #30c2e7;
  margin: 28px 0 12px 0;
  line-height: 1.4;
}

.prose strong,
.archive-rich-content strong,
.article-content strong {
  color: #0f172a;
}

.prose a,
.archive-rich-content a,
.article-content a {
  color: #30c2e7;
  text-decoration: underline;
}

.prose a:hover,
.archive-rich-content a:hover,
.article-content a:hover {
  color: #169ab8;
}

/* Universal Tables: Crisp Borders, Header Color & Responsive Container */
table,
.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
}

table th,
table td,
.table-responsive th,
.table-responsive td {
  border: 1px solid #cbd5e1 !important;
  padding: 12px 16px;
  line-height: 1.6;
  vertical-align: top;
  text-align: left;
}

table thead th,
table th,
.table-responsive th {
  background-color: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
  border-bottom: 2px solid #30c2e7 !important;
  letter-spacing: 0.02em;
}

table tbody tr:nth-child(even),
table tr:nth-child(even),
.table-responsive tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

table tbody tr:hover,
table tr:hover,
.table-responsive tbody tr:hover {
  background-color: #f0f7ff;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Universal Content Images: Slightly Rounded */
.prose img,
.archive-rich-content img,
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: block;
  margin: 20px auto;
}

.content-figure {
  margin: 24px 0;
  text-align: center;
}

.content-figcaption {
  font-size: 13.5px;
  font-style: italic;
  color: #64748b;
  text-align: center;
  line-height: 1.4;
  margin-top: 6px;
}



/* --- Styles for SiteHeader --- */
.topbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  height: 34px;
  color: #64748b;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-divider {
  color: #cbd5e1;
}

.topbar-hours {
  display: none;
}

@media (min-width: 768px) {
  .topbar-hours {
    display: inline-flex;
  }
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-social-label {
  font-weight: 600;
  color: #475569;
  font-size: 11.5px;
  display: none;
}

@media (min-width: 640px) {
  .topbar-social-label {
    display: inline;
  }
}

.topbar-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.topbar-social-link:hover {
  color: #30c2e7;
  transform: translateY(-1px);
}

.social-text-badge {
  display: inline-block;
  padding: 2px 6px;
  background-color: #30c2e7;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-logo-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #30c2e7;
  font-family: inherit;
}

.brand-logo-country {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #1e293b;
  margin-top: 3px;
}

.btn-quote-header {
  display: none;
}

@media (min-width: 1024px) {
  .btn-quote-header {
    display: inline-flex;
  }
}

.search-empty {
  padding: 16px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

.search-all-link {
  display: block;
  padding: 10px;
  text-align: center;
  background: #f8fafc;
  color: #30c2e7;
  font-weight: 700;
  font-size: 13px;
  border-top: 1px solid #e2e8f0;
}

.search-sku {
  color: #64748b;
  font-size: 11px;
}

.search-quote-text {
  color: #30c2e7;
  font-weight: 700;
}



/* --- Product Card & Secondary Gallery Image Hover --- */
.product-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  border-color: #30c2e7;
  box-shadow: 0 10px 24px -4px rgba(48, 194, 231, 0.14);
}

.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.product-card-image-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  margin: 0;
  transition: opacity 0.3s ease;
}

.product-card-img.img-secondary {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

.product-card:hover .product-card-img.img-primary.has-hover {
  opacity: 0;
}

.product-card:hover .product-card-img.img-secondary {
  opacity: 1;
}

.product-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.product-card-body {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.product-card:hover .product-card-title a {
  color: #30c2e7;
}

.product-card-pricing {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.product-card-price {
  font-size: 16px;
  font-weight: 800;
  color: #af1f24;
}

.product-card-regular {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.btn-card-detail {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  padding: 7px 12px;
  background-color: #f0f7ff;
  color: #30c2e7;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.product-card:hover .btn-card-detail {
  background-color: #30c2e7;
  color: #ffffff;
  border-color: #30c2e7;
}

.btn-card-cart {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 34px;
  background-color: #ffffff;
  color: #30c2e7;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-card-cart:hover {
  background-color: #af1f24;
  color: #ffffff;
  border-color: #af1f24;
}



/* --- Archive Lead Description & Numbered Pagination --- */
.archive-lead-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
  margin-top: 8px;
}

.subcat-showcase {
  margin: 20px 0 28px 0;
}

.subcat-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 12px;
}

.subcat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .subcat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .subcat-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.subcat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 8px;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.subcat-card:hover {
  border-color: #30c2e7;
  box-shadow: 0 6px 16px rgba(48, 194, 231, 0.1);
  transform: translateY(-2px);
}

.subcat-card-media {
  width: 72px;
  height: 72px;
  margin: 0 auto 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subcat-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.subcat-card-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 24px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toolbar-label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.toolbar-select {
  padding: 6px 12px;
  font-size: 13px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #1e293b;
  outline: none;
}

.toolbar-select:focus {
  border-color: #30c2e7;
}

/* Numbered Pagination (1, 2, 3, 4 ... ) */
.pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 36px 0;
  flex-wrap: wrap;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-btn,
.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.page-number:hover,
.page-btn:hover {
  border-color: #30c2e7;
  color: #30c2e7;
  background: #f0f7ff;
}

.page-number.active {
  background: #30c2e7;
  color: #ffffff;
  border-color: #30c2e7;
  box-shadow: 0 2px 6px rgba(48, 194, 231, 0.3);
  cursor: default;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 38px;
  color: #94a3b8;
  font-size: 14px;
}

.archive-description-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #e2e8f0;
}


/* --- Styles from src/components/SiteFooter.astro --- */

  .site-footer {
    background-color: #0b132b;
    color: #94a3b8;
    margin-top: 48px;
    border-top: 1px solid #1e293b;
    font-size: 13.5px;
  }

  .footer-trust-bar {
    background-color: #0f1c3f;
    border-bottom: 1px solid #1e293b;
    padding: 24px 0;
  }

  .footer-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  @media (min-width: 640px) {
    .footer-trust-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .footer-trust-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .trust-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .trust-title {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.03em;
    margin: 0;
  }

  .trust-desc {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
  }

  .footer-main {
    padding: 48px 0 36px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  @media (min-width: 640px) {
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .footer-grid {
      grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    }
  }

  .footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .footer-brand-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .footer-brand-name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #ffffff;
  }

  .footer-brand-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #38bdf8;
  }

  .footer-text {
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
  }

  .footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
  }

  .footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: #1e293b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #334155;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  }

  .footer-social-btn:hover {
    background: #30c2e7;
    border-color: #30c2e7;
    color: #ffffff;
  }

  .footer-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px 0;
    position: relative;
    padding-bottom: 8px;
  }

  .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: #30c2e7;
  }

  .footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
  }

  .footer-list a:hover {
    color: #38bdf8;
    padding-left: 4px;
  }

  .footer-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
  }

  .footer-contact-icon {
    flex-shrink: 0;
    margin-top: 3px;
  }

  .footer-highlight-link {
    color: #f87171;
    font-weight: 800;
    text-decoration: none;
  }

  .footer-white-link {
    color: #ffffff;
    text-decoration: none;
  }

  .footer-highlight-link:hover,
  .footer-white-link:hover {
    text-decoration: underline;
  }

  .footer-bottom {
    background-color: #050b1a;
    border-top: 1px solid #141f36;
    padding: 20px 0;
  }

  .footer-bottom-container {
    text-align: center;
    line-height: 1.6;
  }

  .copyright-text {
    color: #94a3b8;
    font-size: 12.5px;
    margin: 0 0 4px 0;
  }

  .copyright-text strong {
    color: #ffffff;
  }

  .copyright-sub {
    color: #64748b;
    font-size: 11.5px;
    margin: 0;
  }


/* --- Styles from src/components/Breadcrumbs.astro --- */

  .breadcrumbs-nav {
    padding: 14px 0;
    font-size: 13px;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
    background: #ffffff;
  }

  .breadcrumbs-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .breadcrumb-home {
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .breadcrumb-home:hover {
    color: var(--color-primary);
  }

  .breadcrumb-sep {
    color: #cbd5e1;
  }

  .breadcrumb-link {
    color: #64748b;
  }

  .breadcrumb-link:hover {
    color: var(--color-primary);
  }

  .breadcrumb-current {
    color: #0f172a;
    font-weight: 600;
  }


/* --- Styles from src/components/PostCard.astro --- */

  .post-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 80, 160, 0.1);
    border-color: #93c5fd;
  }

  .post-card-media {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    overflow: hidden;
  }

  .post-card-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .post-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .post-card:hover .post-card-thumb {
    transform: scale(1.05);
  }

  .post-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .post-card-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
  }

  .post-date-icon {
    flex-shrink: 0;
    color: #30c2e7;
  }

  .post-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
  }

  .post-card:hover .post-card-title a {
    color: #30c2e7;
  }

  .post-card-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }


/* --- Styles from src/components/FixedContactBar.astro --- */

  .fixed-contact-bar {
    position: fixed;
    right: 18px;
    bottom: 85px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 990;
  }

  .contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    group: relative;
    transition: transform 0.2s ease;
  }

  .contact-btn:hover {
    transform: scale(1.08);
  }

  .contact-btn-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }

  /* Hotline */
  .contact-btn-hotline .contact-btn-icon-wrap {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  }

  .hotline-pulse {
    animation: pulseGlow 1.8s infinite;
  }

  @keyframes pulseGlow {
    0% {
      box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
      box-shadow: 0 0 0 12px rgba(239, 68, 68, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
  }

  /* Zalo */
  .contact-btn-zalo .contact-btn-icon-wrap {
    background: linear-gradient(135deg, #0084ff 0%, #0063c6 100%);
  }

  .zalo-text-icon {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #ffffff;
    font-family: Arial, sans-serif;
  }

  /* Maps / Directions */
  .contact-btn-maps .contact-btn-icon-wrap {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  }

  /* Back to Top */
  .contact-btn-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
  }

  .contact-btn-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .contact-btn-top .contact-btn-icon-wrap {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #ffffff;
  }

  .contact-btn-top:hover .contact-btn-icon-wrap {
    background-color: #30c2e7;
    border-color: #30c2e7;
  }

  .contact-btn-label {
    font-size: 10px;
    font-weight: 700;
    color: #1e293b;
    background: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    border: 1px solid #e2e8f0;
  }

  @media (max-width: 640px) {
    .fixed-contact-bar {
      right: 12px;
      bottom: 72px;
      gap: 10px;
    }

    .contact-btn-icon-wrap {
      width: 42px;
      height: 42px;
    }

    .contact-btn-label {
      display: none;
    }
  }


/* --- Styles from src/components/LeadModal.astro --- */

  .modal-header {
    text-align: center;
    margin-bottom: 20px;
  }

  .modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #30c2e7;
    margin-bottom: 6px;
  }

  .modal-subtitle {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.4;
  }

  .honeypot-field {
    display: none !important;
  }

  .required-star {
    color: #dc2626;
  }

  .btn-submit-lead {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .modal-footer-note {
    font-size: 11.5px;
    text-align: center;
    color: #94a3b8;
    margin-top: 12px;
  }


/* --- Styles from src/pages/index.astro --- */

  /* 8/12 + 4/12 Hero Section Layout */
  .hero-banner-section {
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .hero-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  @media (min-width: 1024px) {
    .hero-layout-grid {
      grid-template-columns: 8fr 4fr;
      gap: 20px;
    }
  }

  /* Left 8/12: Interactive Slider */
  .hero-slider-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 380px;
  }

  @media (max-width: 640px) {
    .hero-slider {
      min-height: 300px;
      aspect-ratio: 4 / 3;
    }
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    display: flex;
    align-items: flex-end;
  }

  .hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }

  .hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-slide-overlay {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 32px 36px 40px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(15, 23, 42, 0.95) 100%);
    color: #ffffff;
  }

  @media (max-width: 640px) {
    .hero-slide-overlay {
      padding: 20px;
    }
  }

  .hero-badge {
    margin-bottom: 8px;
  }

  .hero-slide-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 8px 0;
  }

  .hero-slide-desc {
    font-size: clamp(13px, 1.4vw, 15px);
    color: #e2e8f0;
    line-height: 1.5;
    margin: 0 0 16px 0;
    max-width: 540px;
  }

  .hero-slide-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero-btn-white {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
  }

  .hero-btn-white:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
  }

  /* Slider Arrows */
  .hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }

  .hero-nav-arrow:hover {
    background: #30c2e7;
    border-color: #30c2e7;
    transform: translateY(-50%) scale(1.08);
  }

  .hero-prev {
    left: 14px;
  }

  .hero-next {
    right: 14px;
  }

  /* Slider Dots */
  .hero-dots {
    position: absolute;
    bottom: 14px;
    right: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }

  .hero-dot.active {
    background: #30c2e7;
    width: 24px;
    border-radius: 9999px;
  }

  /* Right 4/12: 2 Stacked Feature Banners */
  .hero-side-banners {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  @media (max-width: 1023px) and (min-width: 640px) {
    .hero-side-banners {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .side-banner-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: flex-end;
    min-height: 180px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .side-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 80, 160, 0.15);
  }

  .side-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .side-banner-card:hover .side-banner-img {
    transform: scale(1.05);
  }

  .side-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.88) 60%, rgba(15, 23, 42, 0.98) 100%);
    color: #ffffff;
  }

  .side-banner-badge {
    display: inline-block;
    padding: 3px 8px;
    background: #af1f24;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
  }

  .side-banner-badge-blue {
    background: #30c2e7;
  }

  .side-banner-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    line-height: 1.3;
  }

  .side-banner-desc {
    font-size: 12px;
    color: #cbd5e1;
    margin: 0 0 8px 0;
    line-height: 1.4;
  }

  .side-banner-link {
    font-size: 12px;
    font-weight: 700;
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  /* Categories Showcase Grid */
  .section-categories {
    margin-bottom: 48px;
  }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  @media (min-width: 640px) {
    .category-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
  }

  @media (min-width: 1024px) {
    .category-grid {
      grid-template-columns: repeat(8, 1fr);
      gap: 14px;
    }
  }

  .category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .category-card:hover {
    transform: translateY(-3px);
    border-color: #30c2e7;
    box-shadow: 0 8px 18px rgba(48, 194, 231, 0.12);
  }

  .category-card-media {
    width: 64px;
    height: 64px;
    margin: 0;
    padding: 4px;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .category-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
  }

  .category-card:hover .category-card-img {
    transform: scale(1.08);
  }

  .category-card-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin: 0;
  }

  .category-card:hover .category-card-title {
    color: #30c2e7;
  }

  .category-card-count {
    font-size: 11px;
    color: #64748b;
  }

  /* Interactive Tabbed Sections */
  .category-tab-section {
    margin-bottom: 56px;
  }

  .tab-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
  }

  .tab-nav-wrapper {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .tab-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
  }

  .tab-btn {
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  }

  .tab-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
  }

  .tab-btn.active {
    background: #30c2e7;
    color: #ffffff;
    border-color: #30c2e7;
    box-shadow: 0 2px 8px rgba(48, 194, 231, 0.25);
  }

  .tab-panel {
    display: none;
  }

  .tab-panel.active {
    display: block;
    animation: fadeIn 0.25s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .tab-footer-action {
    text-align: center;
    margin-top: 24px;
  }

  .btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: #30c2e7;
    padding: 8px 20px;
    background: #f0f7ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    text-decoration: none;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  }

  .btn-view-all:hover {
    background: #30c2e7;
    color: #ffffff;
    border-color: #30c2e7;
  }

  /* Technology Section */
  .tech-section {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 56px 0;
    margin-bottom: 56px;
  }

  .tech-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
  }

  .tech-title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    color: #0f172a;
    margin: 10px 0 12px;
  }

  .tech-subtitle {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
  }

  .tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  @media (min-width: 640px) {
    .tech-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .tech-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .tech-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(48, 194, 231, 0.1);
    background: #ffffff;
    border-color: #bae6fd;
  }

  .tech-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f0f7ff;
    border: 1px solid #bae6fd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
  }

  .tech-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
  }

  .tech-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
  }

  /* Showroom Section */
  .showroom-section {
    margin-bottom: 56px;
  }

  .showroom-banner-inner {
    background: linear-gradient(135deg, #0b132b 0%, #169ab8 100%);
    border-radius: 12px;
    padding: 44px 36px;
    color: #ffffff;
  }

  .showroom-banner-text {
    max-width: 720px;
  }

  .showroom-banner-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    margin: 12px 0 14px;
    color: #ffffff;
    line-height: 1.25;
  }

  .showroom-banner-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 16px;
  }

  .showroom-banner-address {
    font-style: normal;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13.5px;
    color: #ffffff;
    margin-bottom: 24px;
  }

  .showroom-banner-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .btn-accent {
    background: #af1f24;
    color: #ffffff;
    border: 1px solid #af1f24;
  }

  .btn-accent:hover {
    background: #8f171b;
  }

  /* News Grid */
  .section-news {
    margin-bottom: 60px;
  }

  .news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  @media (min-width: 640px) {
    .news-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .news-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }


/* --- Styles from src/templates/ProductTemplate.astro --- */

  .product-entry {
    padding-bottom: 60px;
  }

  .product-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  @media (min-width: 1024px) {
    .product-showcase {
      grid-template-columns: 1fr 1.15fr;
      gap: 40px;
      padding: 36px;
    }
  }

  .product-gallery {
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .product-gallery__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
  }

  .product-gallery__stage {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-gallery__main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
  }

  .product-gallery__stage:hover .product-gallery__main-image {
    transform: scale(1.05);
  }

  .product-gallery__thumbnails {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px;
  }

  .product-gallery__thumb-button {
    width: 64px;
    height: 64px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    padding: 2px;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s ease;
  }

  .product-gallery__thumb-button.active,
  .product-gallery__thumb-button:hover {
    border-color: #30c2e7;
  }

  .product-gallery__thumb-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .product-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .product-sku {
    display: inline-block;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .product-sku data {
    color: #0f172a;
    font-weight: 700;
  }

  .product-title {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
  }

  .product-pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
  }

  .product-price {
    font-size: 26px;
    font-weight: 900;
    color: #af1f24;
  }

  .product-price-original {
    font-size: 15px;
    color: #94a3b8;
    text-decoration: line-through;
  }

  .product-guarantees {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13.5px;
    color: #334155;
  }

  @media (min-width: 640px) {
    .product-guarantees {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
  }

  .product-actions__primary {
    padding: 14px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-align: center;
  }

  .product-actions__secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-actions__call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    color: #af1f24;
    border-color: #fca5a5;
  }

  .product-actions__call:hover {
    background: #af1f24;
    color: #ffffff;
    border-color: #af1f24;
  }

  .product-actions__zalo {
    text-align: center;
  }

  /* Full-width Product Content Container (NO sidebar) */
  .product-content-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 36px 32px;
    margin-bottom: 48px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  @media (min-width: 1024px) {
    .product-content-wrap {
      padding: 44px 56px;
    }
  }

  .product-empty-note {
    font-size: 14.5px;
    color: #64748b;
    font-style: italic;
    margin: 0;
  }

  /* Showroom Bottom Banner */
  .showroom-bottom-banner {
    margin-top: 48px;
    border-top: 1px solid #e2e8f0;
    padding-top: 36px;
  }

  .showroom-bottom-inner {
    background: linear-gradient(135deg, #0b132b 0%, #169ab8 100%);
    border-radius: 8px;
    padding: 32px 36px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  @media (min-width: 860px) {
    .showroom-bottom-inner {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  }

  .showroom-bottom-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 8px 0;
  }

  .showroom-bottom-desc {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 10px 0;
    max-width: 580px;
  }

  .showroom-bottom-address {
    font-style: normal;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #ffffff;
  }

  .showroom-bottom-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
  }

  /* Related Products */
  .product-related {
    margin-top: 20px;
  }


/* --- Styles from src/templates/PostTemplate.astro --- */

  .article-entry {
    max-width: 880px;
    padding-bottom: 60px;
  }

  .article-header {
    margin-bottom: 24px;
  }

  .article-badge {
    margin-bottom: 12px;
  }

  .article-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.25;
    color: #0f172a;
    margin-bottom: 16px;
  }

  .article-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    flex-wrap: wrap;
    font-size: 13.5px;
  }

  .article-meta-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: #475569;
  }

  .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .meta-icon {
    flex-shrink: 0;
    color: #30c2e7;
  }

  .article-share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .share-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
  }

  .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  }

  .share-btn-fb {
    background: #1877f2;
    color: #ffffff;
  }

  .share-btn-fb:hover {
    background: #0d65d9;
  }

  .share-btn-zalo {
    background: #0068ff;
    color: #ffffff;
    font-size: 11px;
    padding: 5px 8px;
  }

  .share-btn-zalo:hover {
    background: #0052cc;
  }

  .share-btn-copy {
    background: #ffffff;
    color: #1e293b;
    border-color: #cbd5e1;
  }

  .share-btn-copy:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
  }

  .article-featured {
    margin: 20px 0 28px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
  }

  .article-featured-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
  }

  /* Table of Contents */
  .article-content .table-of-contents {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #30c2e7;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  .article-content .toc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
  }

  .article-content .toc-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .article-content .toc-title {
    font-size: 14px;
    font-weight: 800;
    color: #30c2e7;
    letter-spacing: 0.04em;
  }

  .article-content .toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .article-content .toc-item {
    font-size: 14px;
    line-height: 1.5;
  }

  .article-content .toc-h2 {
    font-weight: 700;
  }

  .article-content .toc-h3 {
    padding-left: 20px;
    font-size: 13.5px;
    color: #475569;
  }

  .article-content .toc-link {
    color: #1e293b;
    text-decoration: none;
  }

  .article-content .toc-link:hover {
    color: #30c2e7;
    text-decoration: underline;
  }

  /* Author Bio Box */
  .author-bio-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin: 40px 0 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }

  .author-avatar {
    flex-shrink: 0;
  }

  .author-avatar-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #30c2e7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(48, 194, 231, 0.25);
  }

  .author-bio-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .author-role-tag {
    font-size: 11px;
    font-weight: 800;
    color: #30c2e7;
    letter-spacing: 0.08em;
  }

  .author-bio-name {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
  }

  .author-bio-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 4px 0 0 0;
  }

  .article-cta {
    background: #f0f7ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 28px 32px;
    margin: 28px 0 40px;
    text-align: center;
  }

  .article-cta-title {
    font-size: 18px;
    font-weight: 800;
    color: #30c2e7;
    margin-bottom: 8px;
  }

  .article-cta-desc {
    font-size: 14px;
    color: #475569;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .article-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* Related Articles Slider */
  .related-articles-section {
    margin-top: 48px;
    border-top: 1px solid #e2e8f0;
    padding-top: 36px;
  }

  .slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .slider-controls-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .slider-nav-arrows {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .slider-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  }

  .slider-nav-btn:hover {
    background: #30c2e7;
    color: #ffffff;
    border-color: #30c2e7;
  }

  .related-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .related-slider-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }

  @media (min-width: 640px) {
    .related-slider-item {
      flex: 0 0 calc((100% - 16px) / 2);
    }
  }

  @media (min-width: 860px) {
    .related-slider-item {
      flex: 0 0 calc((100% - 32px) / 3);
    }
  }


/* --- Styles from src/templates/PostArchive.astro --- */

  .archive-container {
    padding-bottom: 60px;
  }

  .archive-header {
    background: #ffffff;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
  }

  .archive-title {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 8px;
  }

  .archive-desc {
    font-size: 14.5px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 760px;
  }

  .articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  @media (min-width: 640px) {
    .articles-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }
  }

  @media (min-width: 1024px) {
    .articles-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
  }

  .pagination-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
  }

  .page-btn {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text);
  }

  .page-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
  }

  .page-current {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text-muted);
  }


/* --- Styles from src/pages/search.astro --- */

  .search-page {
    padding-bottom: 60px;
  }

  .search-header {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    margin-bottom: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
  }

  .search-title {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
  }

  .search-box {
    max-width: 680px;
    margin: 0 auto 12px auto;
  }

  .search-main-input {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    outline: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    background: var(--color-bg);
  }

  .search-main-input:focus {
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(48, 194, 231, 0.12);
  }

  .search-status-text {
    font-size: 14px;
    color: var(--color-text-muted);
  }

  .search-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .search-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
  }

  .search-card-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
  }

  .search-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .search-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .search-card-sku {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
  }

  .search-card-price {
    font-size: 16px;
    font-weight: 800;
    color: #af1f24;
    margin-top: auto;
    margin-bottom: 12px;
  }

  .search-card-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px;
    background: var(--color-primary-surface);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
  }

  .search-card:hover .search-card-btn {
    background: var(--color-primary);
    color: #ffffff;
  }


/* --- Styles from src/pages/404.astro --- */

  .not-found-container {
    padding: 80px 16px 100px;
    display: flex;
    justify-content: center;
  }

  .not-found-card {
    max-width: 520px;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
  }

  .not-found-code {
    font-size: 72px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 12px;
  }

  .not-found-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 12px;
  }

  .not-found-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .not-found-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }


/* --- Styles from src/pages/thank-you.astro --- */

  .thank-you-container {
    padding: 60px 16px 80px;
    display: flex;
    justify-content: center;
  }

  .thank-you-card {
    max-width: 580px;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
  }

  .thank-you-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background-color: #dcfce7;
    color: #16a34a;
    font-size: 32px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
  }

  .thank-you-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 12px;
  }

  .thank-you-desc {
    font-size: 14.5px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .thank-you-hotline-box {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
  }

  .hotline-box-label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
  }

  .hotline-box-link {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-accent);
  }

  .thank-you-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }


/* --- Styles from src/pages/lead-error.astro --- */

  .error-container {
    padding: 60px 16px 80px;
    display: flex;
    justify-content: center;
  }

  .error-card {
    max-width: 540px;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
  }

  .error-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background-color: #fee2e2;
    color: #dc2626;
    font-size: 32px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
  }

  .error-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 12px;
  }

  .error-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }


/* --- Styles from src/templates/PageTemplate.astro --- */

  .page-entry {
    max-width: 900px;
    padding-bottom: 60px;
  }

  .page-header {
    margin-bottom: 24px;
    text-align: center;
  }

  .page-title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: var(--color-text);
  }

  .page-content {
    background: #ffffff;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
  }
/* ==========================================================================
   Anti-AI Agency Design System, Responsive Fixes & Layout Families
/* ==========================================================================
   Anti-AI Agency Design System, Responsive Fixes & Layout Families
   ========================================================================== */

/* 1. Strict Viewport Containment (Zero Mobile Horizontal Overflow) */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Monospace technical codes & SKUs */
.product-sku data,
.search-sku,
.search-card-sku {
  font-family: var(--font-mono);
}

/* 2. Mobile Header & Navigation Responsive Fixes */
.header-main-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 767px) {
  .topbar-right,
  .topbar-divider {
    display: none !important;
  }

  .topbar-container {
    justify-content: center;
  }

  .header-main {
    padding: 10px 0;
  }

  .header-main-container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .header-search {
    order: 3;
    flex: 1 1 100%;
    max-width: 100%;
  }

  .action-hotline-card {
    padding: 5px 10px;
    gap: 8px;
  }

  .action-hotline-icon {
    width: 28px;
    height: 28px;
  }

  .action-hotline-label {
    font-size: 10px;
  }

  .action-hotline-number {
    font-size: 13px;
  }
}

.header-nav .container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.header-nav .container::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1023px) {
  .nav-link {
    padding: 11px 13px;
    font-size: 13px;
  }

  .nav-item:hover .nav-dropdown {
    display: none;
  }

  /* Hide floating contact circles on mobile/tablet where MobileBottomBar is active */
  .fixed-contact-bar {
    display: none !important;
  }
}

/* 3. Hero Slider Controls (Top-Right Cluster - Never Overlaps Text) */
.hero-controls-top {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-nav-arrow {
  position: static;
  transform: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero-nav-arrow:hover {
  background: #30c2e7;
  border-color: #30c2e7;
  transform: none;
}

@media (max-width: 640px) {
  .hero-controls-top {
    top: 12px;
    right: 12px;
    gap: 6px;
  }

  .hero-nav-arrow {
    width: 32px;
    height: 32px;
  }
}

/* 4. Section Spacing & Architectural Headers (No .section-bar) */
.section-padding {
  padding: 36px 0;
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 48px 0;
  }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.section-title {
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  max-width: 60ch;
  margin: 0;
}

.text-center-block {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-bottom: none;
}

/* 5. Universal Table of Contents (Category, Product, and Article pages) */
.table-of-contents {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #30c2e7;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 0 0 28px 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.toc-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.toc-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.toc-item {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 !important;
}

.toc-h2 {
  font-weight: 600;
}

.toc-h3 {
  padding-left: 18px;
  font-size: 13.5px;
  color: #475569;
}

.toc-link {
  color: #1e293b !important;
  text-decoration: none !important;
}

.toc-link:hover {
  color: #30c2e7 !important;
  text-decoration: underline !important;
}

/* 6. Previously Unstyled Utility & Structural Classes */
.category-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.archive-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-summary__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.showroom-bottom-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-author,
.meta-date {
  font-size: 13px;
  color: #475569;
}

.site-main {
  flex: 1;
  display: block;
}

.craft-spec-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col,
.footer-col-contact {
  display: flex;
  flex-direction: column;
}

.footer-title {
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  font-size: 15px !important;
}

.wp-block-image,
.size-large {
  margin: 20px 0;
}

.hero-slide {
  background-color: #0f172a;
}

@media (max-width: 480px) {
  .product-actions__secondary .btn {
    padding: 10px 8px;
    font-size: 13px;
    white-space: nowrap;
  }
}

.product-rich-content {
  width: 100%;
}

.silo-internal-link {
  color: #30c2e7;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.no-products {
  text-align: center;
  padding: 48px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #475569;
}

.btn-back-home {
  margin-top: 14px;
}

.page-btn-prev,
.page-btn-next {
  font-weight: 600;
}

.product-item {
  display: flex;
  flex-direction: column;
}

.product-item > .product-card {
  flex: 1;
}

.search-results-grid {
  margin-top: 16px;
}

.not-found-card {
  max-width: 520px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.not-found-code {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 800;
  color: #30c2e7;
  line-height: 1;
  margin-bottom: 12px;
}

.not-found-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.not-found-desc {
  font-size: 14.5px;
  color: #475569;
  margin-bottom: 24px;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Homepage Layout Families (Zero White Voids, Distinct Visual Rhythm)
   ========================================================================== */

/* Category Switcher Bar */
.category-switcher-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.category-switcher-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.cat-pill:hover,
.cat-pill.active {
  color: #30c2e7;
  border-color: #30c2e7;
  background: #f0f7fd;
}

/* Layout Family 1: Horizontal Flagship Spotlight + 4-Col Product Row */
.flagship-horizontal-banner {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

@media (min-width: 992px) {
  .flagship-horizontal-banner {
    grid-template-columns: 4fr 8fr;
    padding: 28px 32px;
    gap: 32px;
  }
}

.flagship-horiz-media {
  width: 100%;
  max-height: 250px;
  aspect-ratio: 4 / 3;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin: 0;
}

.flagship-img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.flagship-horiz-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flagship-kicker {
  font-size: 12px;
  font-weight: 700;
  color: #30c2e7;
  letter-spacing: 0.02em;
}

.flagship-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
}

.flagship-title a:hover {
  color: #30c2e7;
}

.flagship-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  max-width: 68ch;
}

.flagship-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 4px 0;
}

.flagship-spec-pill {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
}

.flagship-horiz-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.flagship-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.flagship-price {
  font-size: 24px;
  font-weight: 800;
  color: #af1f24;
}

.flagship-regular {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
}

.flagship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Layout Family 2: Single-Row Editorial Split (Showers - Exact Height Match) */
.onsen-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .onsen-bento-grid {
    grid-template-columns: 3.5fr 8.5fr;
  }
}

.onsen-tall-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.onsen-tall-card:hover {
  border-color: #30c2e7;
  box-shadow: 0 8px 24px rgba(48, 194, 231, 0.1);
}

.onsen-tall-media {
  width: 100%;
  height: 180px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin: 0;
}

.onsen-tall-img {
  max-width: 100%;
  max-height: 156px;
  object-fit: contain;
}

.onsen-tall-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.onsen-tall-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 6px 0;
}

.onsen-tall-title a:hover {
  color: #30c2e7;
}

.onsen-tall-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.onsen-tall-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.onsen-tall-price {
  font-size: 19px;
  font-weight: 800;
  color: #af1f24;
}

.onsen-subgrid-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .onsen-subgrid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Layout Family 3: 2-Column Paired Horizontal Catalogue (Basins & Faucets) */
.vessel-pair-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .vessel-pair-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.vessel-column {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.vessel-col-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.vessel-col-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.vessel-col-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.vessel-col-link {
  font-size: 13px;
  font-weight: 700;
  color: #30c2e7;
  white-space: nowrap;
  flex-shrink: 0;
}

.vessel-col-link:hover {
  text-decoration: underline;
}

.vessel-col-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vessel-product-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.vessel-product-item:hover {
  background: #ffffff;
  border-color: #30c2e7;
}

.vessel-product-thumb {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.vessel-product-info {
  flex: 1;
  min-width: 0;
}

.vessel-product-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vessel-product-item:hover .vessel-product-name {
  color: #30c2e7;
}

.vessel-product-meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}

.vessel-product-price {
  font-size: 15px;
  font-weight: 800;
  color: #af1f24;
}

/* Layout Family 4: Tiered Commercial Combo Packages */
.combo-package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .combo-package-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.combo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.combo-card.is-recommended {
  border: 2px solid #30c2e7;
  box-shadow: 0 10px 28px -6px rgba(48, 194, 231, 0.14);
}

.combo-card:hover {
  border-color: #30c2e7;
  box-shadow: 0 12px 28px -6px rgba(48, 194, 231, 0.14);
}

.combo-rec-badge {
  background: #30c2e7;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  padding: 6px 12px;
}

.combo-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f8fafc;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.combo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.combo-save-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #af1f24;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.combo-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.combo-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.combo-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.combo-item-row {
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.combo-item-row svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.combo-pricing-block {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  margin-bottom: 14px;
}

.combo-price-label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 2px;
}

.combo-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.combo-price {
  font-size: 21px;
  font-weight: 800;
  color: #af1f24;
}

.combo-regular {
  font-size: 13.5px;
  color: #94a3b8;
  text-decoration: line-through;
}

.combo-actions {
  display: grid;
  grid-template-columns: 1fr;
}

/* Layout Family 5: Architectural Specification Matrix (Replaces 01/02/03 Cards) */
.craft-narrative-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 56px 0;
  margin: 24px 0;
}

.craft-matrix-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 992px) {
  .craft-matrix-layout {
    grid-template-columns: 4fr 8fr;
    gap: 48px;
  }
}

.craft-matrix-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.craft-spec-table {
  display: flex;
  flex-direction: column;
  border-top: 2px solid #0f172a;
}

.craft-spec-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
  .craft-spec-row {
    grid-template-columns: 150px 1fr;
    gap: 24px;
    align-items: baseline;
  }
}

.craft-spec-metric {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: #30c2e7;
  letter-spacing: -0.02em;
}

.craft-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.craft-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* Layout Family 6: Showroom Experience Center (Light Architectural Stone - Page Theme Lock) */
.showroom-trust-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7fd 100%);
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 36px 28px;
  margin: 28px auto;
}

@media (min-width: 992px) {
  .showroom-trust-section {
    padding: 44px 40px;
  }
}

.showroom-trust-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .showroom-trust-inner {
    grid-template-columns: 7fr 5fr;
  }
}

.showroom-trust-title {
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.showroom-trust-lead {
  font-size: 15px;
  color: #334155;
  line-height: 1.65;
  margin: 0 0 22px 0;
  max-width: 60ch;
}

.showroom-pillars-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .showroom-pillars-list {
    grid-template-columns: 1fr 1fr;
  }
}

.showroom-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.45;
}

.showroom-pillar-item svg {
  flex-shrink: 0;
  color: #30c2e7;
  margin-top: 2px;
}

.showroom-trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.showroom-address-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.showroom-address-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}

.showroom-address-row strong {
  color: #0f172a;
}

.showroom-address-row svg {
  flex-shrink: 0;
  color: #30c2e7;
  margin-top: 2px;
}

.showroom-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  background: #f0f7fd;
  color: #30c2e7;
  border: 1px solid #bae6fd;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.showroom-map-link:hover {
  background: #30c2e7;
  color: #ffffff;
  border-color: #30c2e7;
}

/* Product Page Showroom Bottom Banner (Light Architectural Stone - Page Theme Lock) */
.showroom-bottom-inner {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7fd 100%) !important;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 28px 32px;
  color: #0f172a !important;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 860px) {
  .showroom-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.showroom-bottom-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a !important;
  margin: 0;
}

.showroom-bottom-desc {
  font-size: 14px;
  color: #334155 !important;
  line-height: 1.6;
  margin: 0;
  max-width: 580px;
}

.showroom-bottom-address {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b !important;
}

/* ============================================================================
 * LINKS MANAGER & SEO GRAPH DASHBOARD (/links-manager/)
 * ============================================================================ */
.lm-container {
  padding-top: 24px;
  padding-bottom: 64px;
}

.lm-header {
  margin-bottom: 24px;
}

.lm-header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.lm-noindex-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.lm-jump-btn {
  padding: 7px 14px;
  font-size: 13px;
}

.lm-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.lm-subtitle {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  max-width: 960px;
}

.lm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.lm-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lm-kpi-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
}

.lm-kpi-value {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-mono);
}

.lm-kpi-good {
  color: #15803d;
}

.lm-kpi-meta {
  font-size: 12px;
  color: #64748b;
}

.lm-silo-section {
  margin-bottom: 28px;
}

.lm-section-heading {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.lm-silo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.lm-silo-card {
  text-align: left;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  font-family: inherit;
}

.lm-silo-card:hover,
.lm-silo-card.active {
  border-color: #30c2e7;
  background: #f0f9ff;
  box-shadow: 0 6px 16px -4px rgba(48, 194, 231, 0.14);
}

.lm-silo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.lm-silo-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.lm-silo-total {
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  background: #e0f2fe;
  color: #0369a1;
  padding: 2px 8px;
  border-radius: 99px;
}

.lm-silo-hub {
  font-size: 12px;
  color: #475569;
  margin-bottom: 8px;
}

.lm-silo-counts {
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: #334155;
}

.lm-toolbar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

@media (max-width: 960px) {
  .lm-toolbar {
    grid-template-columns: 1fr;
  }
}

.lm-filter-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.lm-search-input,
.lm-select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 13.5px;
  font-family: inherit;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #0f172a;
}

.lm-search-input:focus,
.lm-select:focus {
  outline: none;
  border-color: #30c2e7;
  box-shadow: 0 0 0 3px rgba(48, 194, 231, 0.12);
}

.lm-toolbar-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
  color: #334155;
}

.lm-reset-btn {
  background: none;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.lm-reset-btn:hover {
  border-color: #30c2e7;
  color: #30c2e7;
}

.lm-table-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow-x: auto;
  margin-bottom: 40px;
}

.lm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.lm-table th {
  background: #f1f5f9;
  color: #1e293b;
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid #cbd5e1;
  white-space: nowrap;
}

.lm-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.lm-table tbody tr:hover {
  background: #f8fafc;
}

.lm-type-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.lm-type-category {
  background: #dbeafe;
  color: #1e40af;
}

.lm-type-post {
  background: #dcfce7;
  color: #166534;
}

.lm-type-product {
  background: #f1f5f9;
  color: #334155;
}

.lm-type-page {
  background: #f3e8ff;
  color: #6b21a8;
}

.lm-role-text {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.lm-url-link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #30c2e7;
  word-break: break-all;
}

.lm-url-link:hover {
  text-decoration: underline;
}

.lm-old-url,
.lm-sku-tag {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 4px;
}

.lm-node-title {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.4;
  max-width: 320px;
}

.lm-node-metrics {
  display: flex;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
}

.lm-cluster-name {
  font-weight: 600;
  color: #1e293b;
  font-size: 12.5px;
  margin-bottom: 3px;
}

.lm-cluster-hub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #30c2e7;
}

.lm-details {
  min-width: 200px;
}

.lm-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lm-count-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-family: var(--font-mono);
}

.lm-count-in {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.lm-count-out {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.lm-sub-counts {
  font-size: 11px;
  color: #64748b;
}

.lm-dropdown-list {
  margin-top: 8px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  max-height: 240px;
  overflow-y: auto;
  max-width: 360px;
}

.lm-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lm-link-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #e2e8f0;
}

.lm-mini-tag {
  font-size: 10px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 1px 6px;
  border-radius: 3px;
  width: fit-content;
}

.lm-tag-ext {
  background: #fef3c7;
  color: #92400e;
}

.lm-mini-link {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #30c2e7;
  word-break: break-all;
}

.lm-mini-anchor {
  font-size: 11px;
  color: #475569;
}

.lm-more-note,
.lm-empty-note {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
}

.lm-redirect-section {
  margin-top: 32px;
}

.lm-redirect-header {
  margin-bottom: 16px;
}

/* ==========================================================================
   OpenDesign & UI-Audit Compliance Layer (Accessibility, Performance, Hierarchy)
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 99999;
  padding: 10px 18px;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: top 0.15s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

a,
button,
input,
select,
textarea,
summary,
[role="button"] {
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

h1,
h2,
h3,
.section-title,
.archive-title,
.product-title,
.article-title {
  text-wrap: normal !important;
  max-width: 100% !important;
}

.hero-slide-title {
  text-wrap: balance;
}

h2[id],
h3[id],
section[id],
[id] {
  scroll-margin-top: 96px;
}

/* Ensure strict H1 > H2 > H3 visual hierarchy on Desktop and Mobile */
.hero-slide-title {
  font-size: 24px;
}

@media (min-width: 768px) {
  .hero-slide-title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .product-title {
    font-size: 23px;
    line-height: 1.3;
  }
}

/* Virtualize / Offscreen rendering optimization for 1,152 rows in /links-manager/ */
.lm-row {
  content-visibility: auto;
  contain-intrinsic-size: 0 72px;
}

.lm-btn-reset {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}




/* ============================================================================
 * 2026 UX/UI & SEO REFINEMENTS (Be Vietnam Pro, TOC, Semantic Figure, Sliders)
 * ============================================================================ */

:root {
  --font-sans: 'Be Vietnam Pro', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

html, body {
  font-family: var(--font-sans) !important;
  color: #1e293b;
}

/* 1. Brand Logo Text: 1 Horizontal Line, Black */
.brand-logo-text {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

.brand-logo-title,
.brand-logo-country {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

.brand-logo-sub {
  display: none !important;
}

/* 2. Clickable Section Title Design */
.section-title-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f172a !important;
  text-decoration: none !important;
  position: relative;
  padding-left: 14px;
  transition: color 0.2s ease;
}

.section-title-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, #30c2e7 0%, #0284c7 100%);
}

.section-title-link:hover {
  color: #30c2e7 !important;
}

.section-title-arrow {
  color: #30c2e7;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.section-title-link:hover .section-title-arrow {
  transform: translateX(4px);
}

/* 3. Full-Space Category Cards (Homepage & Category Archives) */
.category-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 14px !important;
}

@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
}

@media (min-width: 960px) {
  .category-grid {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 16px !important;
  }
}

.category-card,
.subcat-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

.category-card:hover,
.subcat-card:hover {
  transform: translateY(-3px) !important;
  border-color: #30c2e7 !important;
  box-shadow: 0 10px 20px -5px rgba(48, 194, 231, 0.14) !important;
}

.category-card-media,
.subcat-card-media {
  width: 100% !important;
  height: 128px !important;
  aspect-ratio: 16 / 10 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #0f172a !important;
  position: relative !important;
}

.category-card-img,
.subcat-card-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.35s ease !important;
}

.category-card:hover .category-card-img,
.subcat-card:hover .subcat-card-img {
  transform: scale(1.06) !important;
}

.category-card-body {
  padding: 10px 10px !important;
  text-align: center !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
}

.category-card-title,
.subcat-card-name {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  padding: 8px 6px !important;
  text-align: center !important;
}

.category-card-body .category-card-title {
  padding: 0 !important;
}

.category-card-count {
  display: none !important;
}

/* 4. Product Card Equal Image Containers (Zero Padding) & Top-Right Discount Badge */
.product-card-badges,
.product-gallery__badge {
  right: 10px !important;
  left: auto !important;
  top: 10px !important;
}

.product-card-media {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  display: block !important;
  overflow: hidden !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.product-card-image-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.product-card-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

/* 5. Product Detail Page: Meta Specs Below Title, Short Desc, Category Tags Below Zalo, 4-Col Guarantees Row */
.product-meta-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 10px 0 4px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13.5px;
  color: #334155;
}

.product-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-meta-item dt {
  color: #64748b;
  font-weight: 500;
}

.product-meta-item dd {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
}

.product-short-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 4px 0 8px;
}

.product-short-desc p {
  margin: 0;
}

.product-categories-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #cbd5e1;
}

.product-categories-label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.product-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-category-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  background: #f0f7fd;
  color: #30c2e7 !important;
  border: 1px solid #bae6fd;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.product-category-pill:hover {
  background: #30c2e7;
  color: #ffffff !important;
  border-color: #30c2e7;
}

/* Dedicated 1-Row 4-Column Trust Guarantees Bar */
.product-guarantees-row {
  list-style: none;
  margin: 22px 0 30px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7fd 100%);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .product-guarantees-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-guarantees-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.guarantee-row-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.guarantee-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #bae6fd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 6. Table of Contents: Clean 1px Border, No Left AI Stripe, Right Toggle Icon, Collapsed Default */
.toc-nav {
  margin: 20px 0 26px !important;
}

details.table-of-contents {
  border: 1px solid #cbd5e1 !important;
  border-left: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

summary.toc-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 12px 16px !important;
  cursor: pointer !important;
  list-style: none !important;
  user-select: none !important;
  background: #f8fafc !important;
  margin: 0 !important;
}

summary.toc-header::-webkit-details-marker {
  display: none !important;
}

.toc-title-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.toc-toggle-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #30c2e7 !important;
  background: #e0f2fe !important;
  border: 1px solid #bae6fd !important;
  padding: 4px 10px !important;
  border-radius: 99px !important;
}

.toc-toggle-icon-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.toc-chevron {
  transition: transform 0.22s ease !important;
}

details.table-of-contents[open] .toc-chevron {
  transform: rotate(180deg) !important;
}

details.table-of-contents > .toc-list {
  margin: 0 !important;
  padding: 14px 20px 16px 26px !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

/* 7. Links in Content & TOC: Distinct Color, NO Underline */
.prose a:not(.btn),
.product-rich-content a:not(.btn),
.article-content a:not(.btn),
.archive-rich-content a:not(.btn),
.toc-link {
  color: #30c2e7 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  font-weight: 600;
}

.prose a:not(.btn):hover,
.product-rich-content a:not(.btn):hover,
.article-content a:not(.btn):hover,
.archive-rich-content a:not(.btn):hover,
.toc-link:hover {
  color: #169ab8 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* 8. International Semantic <figure> + <figcaption> Overlaid Inside Image With Blurred Background */
figure.content-figure,
.prose figure,
.product-rich-content figure,
.article-content figure,
.archive-rich-content figure {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 840px !important;
  margin: 24px auto !important;
  padding: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
}

figure.content-figure img,
.prose figure img,
.product-rich-content figure img,
.article-content figure img,
.archive-rich-content figure img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

figcaption.content-figcaption,
.prose figure figcaption,
.product-rich-content figure figcaption,
.article-content figure figcaption,
.archive-rich-content figure figcaption {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #f8fafc !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  font-style: normal !important;
  line-height: 1.45 !important;
  text-align: center !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  z-index: 2 !important;
}

/* 9. Category Archive Description 500px Default Collapse */
.archive-description-collapsible {
  max-height: 500px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.35s ease;
}

.archive-description-collapsible:not(.is-expanded)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 90%);
  pointer-events: none;
}

.archive-description-collapsible.is-expanded {
  max-height: none;
  overflow: visible;
}

.archive-description-footer {
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

.archive-desc-toggle-btn {
  padding: 10px 24px;
  border-radius: 99px;
  font-weight: 700;
  border-color: #30c2e7;
  color: #30c2e7;
  background: #f0f7fd;
}

.archive-desc-toggle-btn[aria-expanded="true"] .archive-desc-chevron {
  transform: rotate(180deg);
}

/* 10. Related Products & Articles Sliders (Hidden Scrollbar) */
.related-slider-controls,
.slider-controls-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-slider-track {
  display: flex !important;
  gap: 20px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 4px 2px 12px !important;
}

.related-slider-track::-webkit-scrollbar,
.category-switcher-bar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.category-switcher-bar {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.related-slider-slide,
.related-slider-item {
  flex: 0 0 calc(25% - 15px) !important;
  min-width: 245px !important;
  scroll-snap-align: start !important;
}

/* 11. Fixed Contact Bar: Clean Icon-Only Circular Buttons (No Text Labels) */
.fixed-contact-bar .contact-btn {
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  justify-content: center !important;
}

.fixed-contact-bar .contact-btn-label {
  display: none !important;
}

/* 12. Desktop Navigation Dropdown Fix (Prevent Clipping by overflow-x: auto) */
@media (min-width: 1024px) {
  .site-header,
  .header-nav,
  .header-nav .container,
  .nav-menu,
  .nav-item {
    overflow: visible !important;
  }

  .nav-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 250px !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-top: 2px solid #30c2e7 !important;
    border-radius: 0 0 10px 10px !important;
    box-shadow: 0 14px 32px -4px rgba(15, 23, 42, 0.18) !important;
    padding: 8px 0 !important;
    list-style: none !important;
    margin: 0 !important;
    z-index: 9999 !important;
    display: none !important;
  }

  .nav-item:hover > .nav-dropdown,
  .nav-item:focus-within > .nav-dropdown {
    display: block !important;
  }

  .dropdown-link {
    display: block !important;
    padding: 9px 18px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease !important;
  }

  .dropdown-link:hover {
    background-color: #f0f7fd !important;
    color: #30c2e7 !important;
    padding-left: 22px !important;
  }
}

/* 13. Post Grid (.post-grid & .articles-grid) + Top-Aligned Post Images */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

.post-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-card-media {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #f1f5f9 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.post-card-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
}

.article-featured-img {
  object-position: top center !important;
}

/* 14. Full-Width Article & Product Titles (Fix Narrow Wrapped Title Bug) */
.article-title {
  width: 100% !important;
  max-width: 100% !important;
  text-wrap: normal !important;
  font-size: clamp(24px, 2.8vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.32 !important;
  color: #0f172a !important;
  margin: 0 0 16px 0 !important;
}

/* 15. Homepage Category Grid: 2 Rows Default (12 Main Categories) + "Xem thêm" Button */
.section-title-plain {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 14px;
  color: #0f172a !important;
}

.section-title-plain::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, #30c2e7 0%, #0284c7 100%);
}

.category-grid:not(.is-expanded) .category-card-extra {
  display: none !important;
}

.category-toggle-footer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.category-toggle-btn {
  padding: 10px 24px;
  border-radius: 99px;
  font-weight: 700;
  border-color: #30c2e7;
  color: #30c2e7;
  background: #f0f7fd;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.category-toggle-btn:hover {
  background: #30c2e7;
  color: #ffffff;
}

.category-toggle-btn[aria-expanded="true"] .category-toggle-chevron {
  transform: rotate(180deg);
}

/* 16. Product Detail Page: 2 Primary Conversion Buttons (Thêm vào giỏ & Mua ngay) + Meta Icons */
.product-meta-icon {
  flex-shrink: 0;
  color: #30c2e7;
}

.product-actions__primary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-outline-primary,
.product-actions__add-cart {
  background-color: #f0f7fd;
  color: #30c2e7;
  border: 1.5px solid #30c2e7;
  padding: 13px 14px;
  font-size: 14.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-outline-primary:hover,
.product-actions__add-cart:hover {
  background-color: #30c2e7;
  color: #ffffff;
  border-color: #30c2e7;
}

.product-actions__buy-now {
  background-color: #af1f24;
  color: #ffffff;
  border: 1.5px solid #af1f24;
  padding: 13px 14px;
  font-size: 14.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-actions__buy-now:hover {
  background-color: #8f171b;
  color: #ffffff;
  border-color: #8f171b;
}

/* ============================================================================
 * 17. MOBILE UI & RESPONSIVE OVERHAUL (Zero Overflow, Hamburger Drawer, Clean Padding)
 * ============================================================================ */

/* A. Preserve Container Left/Right Padding Across All Sections (Fix .section-padding wipeout) */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

@media (min-width: 768px) {
  .container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

.section-padding {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }
}

/* B. Header Brand Group, Hamburger Icon & Mobile Slide-Out Drawer */
.header-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:active {
  background-color: #f0f7fd;
  border-color: #30c2e7;
  color: #30c2e7;
}

.mobile-nav-overlay,
.mobile-nav-drawer {
  display: none;
}

@media (max-width: 1023px) {
  /* Hide horizontal desktop nav bar completely on mobile & tablet */
  .header-nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 320px);
    max-width: 100%;
    background-color: #ffffff;
    z-index: 9999;
    transform: translateX(-102%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 12px 0 32px rgba(15, 23, 42, 0.22);
    overflow: hidden;
  }

  .mobile-nav-drawer.active {
    transform: translateX(0);
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background-color: #0f172a;
    color: #ffffff;
    border-bottom: 1px solid #1e293b;
  }

  .mobile-drawer-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mobile-drawer-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  .mobile-drawer-sub {
    font-size: 11.5px;
    color: #38bdf8;
    font-weight: 600;
  }

  .mobile-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0;
  }

  .mobile-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-drawer-item {
    border-bottom: 1px solid #f1f5f9;
  }

  .mobile-drawer-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
  }

  .mobile-drawer-link {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 13px 18px;
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
  }

  .mobile-drawer-link:active,
  .mobile-drawer-link:hover {
    color: #30c2e7;
    background-color: #f8fafc;
  }

  .mobile-submenu-toggle {
    width: 48px;
    border: none;
    border-left: 1px solid #f1f5f9;
    background-color: transparent;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-submenu-chevron {
    transition: transform 0.2s ease;
  }

  .mobile-drawer-item.is-open .mobile-submenu-chevron {
    transform: rotate(180deg);
    color: #30c2e7;
  }

  .mobile-drawer-item.is-open > .mobile-drawer-row {
    background-color: #f0f7fd;
  }

  .mobile-drawer-item.is-open > .mobile-drawer-row .mobile-drawer-link {
    color: #30c2e7;
  }

  .mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 6px 0 10px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: none;
  }

  .mobile-drawer-item.is-open .mobile-submenu {
    display: block;
  }

  .mobile-submenu-link {
    display: block;
    padding: 9px 18px 9px 28px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    position: relative;
  }

  .mobile-submenu-link::before {
    content: '•';
    position: absolute;
    left: 16px;
    color: #30c2e7;
  }

  .mobile-submenu-link:active,
  .mobile-submenu-link:hover {
    color: #30c2e7;
    background-color: #e0f2fe;
  }

  .mobile-drawer-footer {
    padding: 14px 16px;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-drawer-cta {
    width: 100%;
    justify-content: center;
    font-size: 13.5px;
    padding: 11px 14px;
  }
}

/* C. Strict Grid Column Containment (minmax(0, 1fr) Prevents Any Card Overflow) */
.prod-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

@media (min-width: 640px) {
  .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (min-width: 768px) {
  .prod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (min-width: 1024px) {
  .prod-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }
}

.category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 960px) {
  .category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

.subcat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (min-width: 640px) {
  .subcat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .subcat-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

.product-item,
.product-card,
.category-card,
.subcat-card,
.post-card,
.combo-card {
  min-width: 0 !important;
  max-width: 100% !important;
}

/* D. Prevent Price Wrapping ("13.460.000 \n ₫") Across All Viewports */
.product-card-price,
.product-card-regular,
.product-price,
.product-price-original,
.combo-price,
.combo-regular {
  white-space: nowrap !important;
}

/* E. Mobile Bottom Bar Button Reset */
.bottom-bar-item {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

/* F. Comprehensive Mobile Layout Refinements (< 767px) */
@media (max-width: 767px) {
  /* 1. Topbar & Header */
  .topbar-container {
    height: 30px !important;
    font-size: 11.5px !important;
  }

  .topbar-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 310px;
  }

  .header-main {
    padding: 8px 0 !important;
  }

  .header-main .container,
  .header-main-container {
    gap: 8px 8px !important;
  }

  .header-brand-group {
    gap: 8px !important;
  }

  .mobile-menu-toggle {
    width: 36px !important;
    height: 36px !important;
  }

  .brand-logo-title,
  .brand-logo-country {
    font-size: 16.5px !important;
  }

  .action-hotline-card {
    padding: 5px 10px !important;
    gap: 6px !important;
  }

  .action-hotline-icon {
    width: 24px !important;
    height: 24px !important;
  }

  .action-hotline-icon svg {
    width: 13px !important;
    height: 13px !important;
  }

  .action-hotline-label {
    display: none !important;
  }

  .action-hotline-number {
    font-size: 12.5px !important;
    line-height: 1.2 !important;
  }

  .header-search-input {
    padding: 9px 38px 9px 14px !important;
    font-size: 13.5px !important;
  }

  /* 2. Hero Banner on Mobile */
  .hero-banner-section {
    margin-top: 12px !important;
    margin-bottom: 24px !important;
  }

  .hero-slider {
    min-height: 260px !important;
    aspect-ratio: 4 / 3 !important;
  }

  .hero-slide-overlay {
    padding: 16px !important;
  }

  .hero-slide-title {
    font-size: 20px !important;
    line-height: 1.28 !important;
    margin-bottom: 6px !important;
  }

  .hero-slide-desc {
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-slide-actions {
    gap: 8px !important;
  }

  .hero-slide-actions .btn {
    padding: 8px 12px !important;
    font-size: 12.5px !important;
  }

  .side-banner-card {
    min-height: 145px !important;
  }

  .side-banner-content {
    padding: 14px 16px !important;
  }

  /* 3. Category Cards on Mobile */
  .section-categories {
    margin-bottom: 24px !important;
  }

  .category-grid {
    gap: 10px !important;
  }

  .category-card-media,
  .subcat-card-media {
    height: 104px !important;
  }

  .category-card-body {
    padding: 8px 6px !important;
    min-height: 38px !important;
  }

  .category-card-title,
  .subcat-card-name {
    font-size: 12.5px !important;
  }

  /* 4. Product Cards on Mobile (Zero Overflow, Clean Price) */
  .product-card-body {
    padding: 10px !important;
  }

  .product-card-title {
    font-size: 13px !important;
    line-height: 1.35 !important;
    height: 35px !important;
    margin-bottom: 6px !important;
  }

  .product-card-pricing {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 2px 6px !important;
    margin-bottom: 8px !important;
  }

  .product-card-price {
    font-size: 14.5px !important;
  }

  .product-card-regular {
    font-size: 11px !important;
  }

  .btn-card-detail {
    padding: 6px 8px !important;
    font-size: 12px !important;
  }

  .btn-card-cart {
    width: 32px !important;
    height: 30px !important;
  }

  /* 5. Category Archive Header & Filter Toolbar (Fix 442px Overflow) */
  .archive-header {
    padding: 16px !important;
    margin-bottom: 16px !important;
  }

  .archive-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .archive-lead-desc,
  .archive-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  .archive-toolbar {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 12px !important;
    margin-bottom: 16px !important;
  }

  .filter-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    min-width: 0 !important;
  }

  .toolbar-label {
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .toolbar-select {
    width: 100% !important;
    min-width: 0 !important;
    padding: 7px 8px !important;
    font-size: 12.5px !important;
  }

  /* 6. Product Detail Page on Mobile (Fix Nested Padding & Button Wrapping) */
  .product-showcase {
    padding: 14px !important;
    gap: 18px !important;
    margin-bottom: 20px !important;
  }

  .product-title {
    font-size: 20px !important;
    line-height: 1.32 !important;
  }

  .product-meta-specs {
    padding: 10px 12px !important;
    gap: 6px 14px !important;
    font-size: 13px !important;
  }

  .product-price {
    font-size: 23px !important;
  }

  .product-short-desc {
    padding: 10px 12px !important;
    font-size: 13.5px !important;
  }

  .product-actions__primary-row,
  .product-actions__secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .product-actions__add-cart,
  .product-actions__buy-now,
  .product-actions__call,
  .product-actions__zalo {
    padding: 11px 8px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }

  .product-guarantees-row {
    padding: 14px 14px !important;
    gap: 10px !important;
    margin: 16px 0 22px !important;
  }

  .guarantee-row-item {
    font-size: 13px !important;
  }

  .product-content-wrap {
    padding: 16px 14px !important;
    margin-bottom: 28px !important;
  }

  /* 7. Table of Contents on Mobile (Single Line Header, No Cramped Wrap) */
  summary.toc-header {
    padding: 10px 12px !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .toc-title-wrap {
    font-size: 13px !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }

  .toc-toggle-label {
    font-size: 11.5px !important;
    padding: 3px 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  details.table-of-contents > .toc-list {
    padding: 12px 14px 14px 18px !important;
  }

  /* 8. Prose Typography, Lists & Semantic Figures on Mobile (Fix "Text Thò Thụt") */
  .prose,
  .archive-rich-content,
  .product-description,
  .article-content {
    font-size: 14.5px !important;
    line-height: 1.7 !important;
  }

  .prose h2,
  .archive-rich-content h2,
  .article-content h2 {
    font-size: 18.5px !important;
    margin: 24px 0 10px 0 !important;
  }

  .prose h3,
  .archive-rich-content h3,
  .article-content h3 {
    font-size: 16px !important;
    margin: 18px 0 8px 0 !important;
  }

  .prose ul,
  .prose ol,
  .archive-rich-content ul,
  .archive-rich-content ol,
  .article-content ul,
  .article-content ol {
    margin: 0 0 14px 0 !important;
    padding-left: 18px !important;
  }

  /* Make figure captions sit cleanly below image on mobile so technical drawings are never covered */
  figcaption.content-figcaption,
  .prose figure figcaption,
  .product-rich-content figure figcaption,
  .article-content figure figcaption,
  .archive-rich-content figure figcaption {
    position: static !important;
    background: #f8fafc !important;
    color: #475569 !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* 9. Showroom, Author Bio & CTA Cards on Mobile */
  .showroom-bottom-banner {
    margin-top: 28px !important;
    padding-top: 20px !important;
  }

  .showroom-bottom-inner {
    padding: 18px 14px !important;
    gap: 14px !important;
  }

  .showroom-bottom-actions {
    width: 100% !important;
  }

  .showroom-bottom-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .showroom-trust-section {
    padding: 20px 16px !important;
    margin: 16px auto !important;
  }

  .showroom-trust-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .showroom-address-card {
    padding: 16px !important;
  }

  .author-bio-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px !important;
    gap: 12px !important;
    margin: 24px 0 20px !important;
  }

  .article-cta {
    padding: 20px 16px !important;
    margin: 20px 0 28px !important;
  }

  .article-cta-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .article-title {
    font-size: 22px !important;
    line-height: 1.32 !important;
  }

  .article-meta-row {
    padding: 10px 12px !important;
    gap: 10px !important;
  }

  .search-header {
    padding: 20px 16px !important;
    margin-bottom: 20px !important;
  }

  .page-content {
    padding: 18px 16px !important;
  }
}

/* ============================================================================
 * 18. FINAL ARCHITECTURAL & MOBILE OVERHAUL (INAX #30c2e7, Pure CSS Sliders, Gallery)
 * ============================================================================ */

:root {
  --color-primary: #30c2e7 !important;
  --color-primary-dark: #169ab8 !important;
  --color-primary-light: #e8f9fd !important;
  --color-primary-surface: #f2fbfd !important;
}

/* 1. Remove AI-style vertical pill bar on section titles; use clean architectural header */
.section-title-link,
.section-title-plain {
  padding-left: 0 !important;
  position: static !important;
}

.section-title-link::before,
.section-title-plain::before,
.section-title::before {
  content: none !important;
  display: none !important;
}

.section-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-bottom: 12px !important;
  margin-bottom: 20px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.section-head-right,
.section-head-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0;
}

/* 2. Slider Navigation Buttons (< >) */
.slider-nav-btns,
.related-slider-controls {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

.slider-nav-btn,
.related-slider-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: 1px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.18s ease !important;
  flex-shrink: 0 !important;
}

.slider-nav-btn:hover,
.related-slider-btn:hover {
  background-color: #30c2e7 !important;
  border-color: #30c2e7 !important;
  color: #ffffff !important;
}

/* 3. Pure CSS 2-Row Horizontal Slider for Homepage 32-Product Sections */
.prod-grid.prod-slider-2row {
  display: grid !important;
  grid-template-columns: none !important;
  grid-template-rows: repeat(2, auto) !important;
  grid-auto-flow: column !important;
  grid-auto-columns: calc(50% - 5px) !important;
  gap: 10px !important;
  overflow-x: auto !important;
  overscroll-behavior-x: contain !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 2px 2px 10px !important;
}

.prod-grid.prod-slider-2row::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.prod-grid.prod-slider-2row > * {
  scroll-snap-align: start !important;
}

@media (min-width: 768px) {
  .prod-grid.prod-slider-2row {
    grid-auto-columns: calc(33.333% - 13.333px) !important;
    gap: 20px !important;
  }
}

@media (min-width: 1024px) {
  .prod-grid.prod-slider-2row {
    grid-auto-columns: calc(25% - 16.5px) !important;
    gap: 22px !important;
  }
}

/* 4. Frosted Translucent Gray <figcaption> (Not Dark/Black) */
figcaption.content-figcaption,
.prose figure figcaption,
.product-rich-content figure figcaption,
.article-content figure figcaption,
.archive-rich-content figure figcaption {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  background: rgba(241, 245, 249, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #1e293b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  font-style: normal !important;
  line-height: 1.45 !important;
  text-align: center !important;
  border-top: 1px solid rgba(203, 213, 225, 0.75) !important;
  z-index: 2 !important;
}

/* 5. Showroom Experience Center: Left Info + Right Photo Gallery */
.showroom-trust-inner {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  align-items: center !important;
}

@media (min-width: 1024px) {
  .showroom-trust-inner {
    grid-template-columns: 1.05fr 0.95fr !important;
    gap: 32px !important;
  }
}

.showroom-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.showroom-gallery-item {
  position: relative !important;
  margin: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  aspect-ratio: 16 / 11 !important;
  background: #0f172a !important;
}

.showroom-gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

.showroom-gallery-item:hover img {
  transform: scale(1.05) !important;
}

.showroom-gallery-item figcaption {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 6px 10px !important;
  background: rgba(241, 245, 249, 0.88) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  color: #0f172a !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

/* 6. Author Bio Card Logo & Footer Bộ Công Thương Badge */
.author-avatar.author-logo-circle {
  width: 56px !important;
  height: 56px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1) !important;
}

.author-logo-circle-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  margin: 0 !important;
  display: block !important;
}

.footer-bct-wrap {
  margin-top: 14px !important;
}

.footer-bct-link {
  display: inline-block !important;
}

.footer-bct-img {
  height: 48px !important;
  width: auto !important;
  display: block !important;
}

/* 7. Related Products & Cẩm Nang Tư Vấn Slider Header Row Alignment */
.related-slider-section .section-head,
.related-articles-section .section-head {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
}

.related-slider-section .section-title,
.related-articles-section .section-title {
  margin: 0 !important;
  min-width: 0 !important;
}

/* 8. Mobile Specific Requirements (Full-Width Menu, 1-Line Breadcrumb, 1-Line Scroll Categories, Sliders) */
@media (max-width: 1023px) {
  /* Full-width mobile navigation drawer (100% width instead of 2/3) */
  .mobile-nav-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }
}

@media (max-width: 767px) {
  /* Mobile breadcrumb: strictly 1 line with ellipsis */
  .breadcrumbs-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }

  .breadcrumb-home,
  .breadcrumb-link,
  .breadcrumb-sep {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .breadcrumb-current {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  /* Mobile product-categories-meta: 1 line with horizontal scroll */
  .product-categories-meta {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 6px !important;
  }

  .product-categories-meta::-webkit-scrollbar {
    display: none !important;
  }

  .product-categories-label {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .product-categories-list {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .product-category-pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  /* Homepage & Related Sliders on Mobile: Title + Prev/Next on 1 Row, Hide Xem tất cả on Mobile */
  .hide-on-mobile,
  .related-articles-section .section-link,
  .related-slider-section .section-link {
    display: none !important;
  }

  .home-product-slider-section .section-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .home-product-slider-section .section-head-right {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .home-product-slider-section .category-switcher-bar {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  .related-slider-section .section-head,
  .related-articles-section .section-head {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  .related-slider-section .section-title,
  .related-articles-section .section-title {
    font-size: 17.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .related-slider-track > .related-slider-slide,
  .related-slider-track > .related-slider-item {
    flex: 0 0 76% !important;
    min-width: 230px !important;
    max-width: 280px !important;
  }

  /* Frosted gray figcaption on mobile too */
  figcaption.content-figcaption,
  .prose figure figcaption,
  .product-rich-content figure figcaption,
  .article-content figure figcaption,
  .archive-rich-content figure figcaption {
    background: rgba(241, 245, 249, 0.92) !important;
    color: #1e293b !important;
    border-top: 1px solid rgba(203, 213, 225, 0.8) !important;
  }
}


/* =========================================================================
   9. Multi-Product Shopping Cart & Search Infinite Lazyload
   ========================================================================= */
.header-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-cart-btn:hover {
  border-color: #30c2e7;
  color: #30c2e7;
  background: #f0fbff;
}

.header-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.header-cart-badge[hidden] {
  display: none !important;
}

.cart-items-box {
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.cart-items-box[hidden] {
  display: none !important;
}

.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
  color: #334155;
}

.cart-clear-btn {
  border: none;
  background: transparent;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
}

.cart-clear-btn:hover {
  text-decoration: underline;
}

.cart-items-list {
  max-height: 220px;
  overflow-y: auto;
  divide-y: 1px solid #e2e8f0;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

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

.cart-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-name:hover {
  color: #30c2e7;
}

.cart-item-price {
  font-size: 12.5px;
  font-weight: 700;
  color: #dc2626;
  margin-top: 2px;
}

.cart-item-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover {
  background: #e2e8f0;
}

.cart-qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

.cart-item-remove {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  color: #dc2626;
  background: #fee2e2;
}

.cart-items-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 13.5px;
  color: #0f172a;
}

.cart-total-amount {
  font-size: 15px;
  font-weight: 800;
  color: #dc2626;
}

.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  max-width: min(440px, calc(100vw - 32px));
}

.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cart-toast-body {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.cart-toast-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-toast-btn {
  padding: 6px 12px;
  border-radius: 6px;
  background: #30c2e7;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-toast-btn:hover {
  background: #1daed3;
  color: #ffffff;
}

.search-load-sentinel {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
}

.search-sentinel-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid #cbd5e1;
  border-top-color: #30c2e7;
  animation: inaxSpin 0.75s linear infinite;
}

@keyframes inaxSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1023px) {
  .header-cart-text {
    display: none;
  }
  .header-cart-btn {
    padding: 8px 10px;
  }
  .cart-toast {
    bottom: 74px;
    left: 16px;
    right: 16px;
    justify-content: space-between;
  }
}

/* =========================================================================
   Instant Page Navigation (Next.js-style Progress Bar & Nav Hover Reset)
   ========================================================================= */
.header-nav.nav-suppress-hover .nav-item > .nav-dropdown {
  display: none !important;
}

#instantNavProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #003865 0%, #30c2e7 60%, #7dd3fc 100%);
  box-shadow: 0 0 8px rgba(48, 194, 231, 0.65);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: width 0.18s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

#instantNavProgress.is-loading {
  opacity: 1;
}

/* =========================================================================
   SEO Master Dashboard (/seo-dashboard/)
   ========================================================================= */
.seo-dash-external-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.seo-dash-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.seo-dash-section-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.seo-dash-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.seo-infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.seo-infra-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
}

.seo-infra-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 8px 0 10px 0;
}

.seo-infra-item ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.65;
}

.seo-infra-item li {
  margin-bottom: 6px;
}

.seo-infra-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.seo-infra-badge.pass {
  background: #dcfce7;
  color: #15803d;
}

.seo-infra-badge.info {
  background: #e0f2fe;
  color: #0369a1;
}

.seo-top-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.seo-top-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #30c2e7;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-top-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.seo-rank-badge {
  background: #003865;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.seo-type-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.seo-score-pill {
  margin-left: auto;
  background: #ecfdf5;
  color: #059669;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.seo-top-card-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.seo-top-card-title a {
  color: #0f172a;
  text-decoration: none;
}

.seo-top-card-title a:hover {
  color: #0067b1;
}

.seo-top-card-url code {
  font-size: 12px;
  color: #64748b;
}

.seo-top-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12.5px;
  color: #334155;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 8px;
}

.seo-top-card-next {
  font-size: 12.5px;
  color: #0f172a;
  line-height: 1.5;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px dashed #e2e8f0;
}

.seo-tier-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.seo-tier-tag.tier-pillar-top {
  background: #dcfce7;
  color: #166534;
}

.seo-tier-tag.tier-quick-win {
  background: #e0f2fe;
  color: #075985;
}

.seo-tier-tag.tier-need-optimize {
  background: #fef3c7;
  color: #92400e;
}

.seo-metrics-mini {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12.5px;
  color: #334155;
}

.seo-score-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 13.5px;
  font-weight: 800;
}

.seo-score-circle.high {
  background: #dcfce7;
  color: #15803d;
  border: 2px solid #86efac;
}

.seo-score-circle.mid {
  background: #e0f2fe;
  color: #0369a1;
  border: 2px solid #7dd3fc;
}

.seo-score-circle.low {
  background: #fef3c7;
  color: #b45309;
  border: 2px solid #fcd34d;
}

.seo-action-list {
  margin: 0;
  padding-left: 16px;
  font-size: 12.5px;
  color: #334155;
  line-height: 1.55;
}

.seo-action-list li {
  margin-bottom: 4px;
}

@media (max-width: 1023px) {
  .seo-infra-grid,
  .seo-top-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Ẩn hoàn toàn header-topbar trên Mobile & Tablet theo yêu cầu */
  .header-topbar {
    display: none !important;
  }
}

@media (max-width: 767px) {
  /* Khoá Hàng 1: [Hamburger + INAX VIỆT NAM] bên trái và [Hotline + Giỏ hàng] bên phải, tuyệt đối không rớt dòng */
  .header-main .container,
  .header-main-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px 6px !important;
  }

  .header-brand-group {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
  }

  .header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }

  .header-search {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 3 !important;
  }

  .mobile-menu-toggle {
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
  }

  .brand-logo-title {
    font-size: 15px !important;
    white-space: nowrap !important;
    letter-spacing: -0.02em !important;
  }

  .action-hotline-card {
    padding: 4px 8px !important;
    gap: 5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .action-hotline-icon {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
  }

  .action-hotline-number {
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .header-cart-btn {
    padding: 6px 8px !important;
    height: 32px !important;
    min-width: 34px !important;
    flex-shrink: 0 !important;
  }
}

/* ============================================================================
 * 19. CELLPHONES-STYLE SPLIT MOBILE DRAWER, ICON-ONLY MOBILE PHONE,
 *     ADMIN LOGIN GATE, LEAD MODAL CLOSE & LIGHTHOUSE 100/100 CONTRAST/A11Y
 * ============================================================================ */

/* 19.1 Mobile Header: Hide Topbar, Icon-Only Phone Button, 1-Row Brand + Actions */
@media (max-width: 767px) {
  .header-topbar {
    display: none !important;
  }

  .header-main .container,
  .header-main-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px 8px !important;
  }

  .header-brand-group {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  .header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .header-search {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .action-hotline-text {
    display: none !important;
  }

  .action-hotline-card {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background-color: #fef2f2 !important;
    border: 1.5px solid #fecaca !important;
  }

  .action-hotline-icon {
    width: 24px !important;
    height: 24px !important;
    background-color: #af1f24 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
  }

  .header-cart-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }

  .mobile-menu-toggle {
    width: 36px !important;
    height: 36px !important;
  }

  .brand-logo-title {
    font-size: 16.5px !important;
  }
}

/* 19.2 CellphoneS-Style Split Mobile Category Drawer */
.mobile-nav-drawer:not(.active) {
  visibility: hidden !important;
  pointer-events: none !important;
}

.mobile-nav-drawer.active {
  visibility: visible !important;
  pointer-events: auto !important;
}

@media (max-width: 1023px) {
  .mobile-nav-drawer {
    width: 100vw !important;
    max-width: 430px !important;
  }
}

.mobile-split-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #f4f6f8;
}

.mobile-cat-rail {
  width: 92px;
  flex-shrink: 0;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 4px;
}

.mobile-cat-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  border: none;
  border-radius: 10px;
  background: var(--tab-tint, #f8fafc);
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.mobile-cat-tab.active {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 90, 158, 0.12);
  outline: 2px solid #005a9e;
}

.mobile-cat-tab-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.mobile-cat-tab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-cat-tab-label {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  line-height: 1.2;
}

.mobile-cat-panels {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px;
}

.mobile-cat-panel {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.mobile-cat-panel.active {
  display: flex;
}

.mobile-panel-head-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e2e8f0;
}

.mobile-panel-main-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
}

.mobile-panel-view-all {
  font-size: 12.5px;
  font-weight: 700;
  color: #005a9e;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-panel-group-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
}

.mobile-panel-group-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.mobile-panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-panel-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  background: #ffffff;
  text-decoration: none;
  position: relative;
}

.mobile-panel-chip:hover,
.mobile-panel-chip:active {
  border-color: #005a9e;
  color: #005a9e;
  background: #f0f7ff;
}

.mobile-chip-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  margin-left: 5px;
  color: #ffffff;
  background: #dc2626;
}

.mobile-chip-badge.is-new {
  background: #005a9e;
}

/* 19.3 Lead Modal Close Button Flush Right & Single-Line Title */
.lead-modal:not(.active):not(:target) {
  visibility: hidden;
}

.lead-modal.active,
.lead-modal:target {
  visibility: visible;
}

.lead-modal-close {
  top: 6px !important;
  right: 6px !important;
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
  color: #64748b !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 18px !important;
}

.lead-modal-close:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.modal-header {
  padding: 0 20px !important;
}

@media (max-width: 767px) {
  .modal-title {
    font-size: 17.5px !important;
    white-space: nowrap !important;
  }
}

/* 19.4 Admin Login Gate on /seo-dashboard/ */
.seo-admin-login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 16px 56px;
}

.seo-admin-login-wrap[hidden] {
  display: none !important;
}

.seo-admin-login-card {
  max-width: 440px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.seo-admin-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 99px;
  background: #e0f2fe;
  color: #005a9e;
  margin-bottom: 12px;
}

.seo-admin-login-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.seo-admin-login-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 20px 0;
}

.seo-admin-login-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.seo-admin-login-error[hidden] {
  display: none !important;
}

.seo-admin-session-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: #0f172a;
}

/* 19.5 Lighthouse 100/100 Accessibility: WCAG AA Contrast & Touch Targets */
.header-nav {
  background-color: #005a9e !important;
}

.nav-item:hover > .nav-link {
  background-color: #004478 !important;
}

.btn-primary,
.combo-rec-badge,
.social-text-badge,
.cart-toast-btn {
  background-color: #005a9e !important;
  border-color: #005a9e !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.cart-toast-btn:hover {
  background-color: #004478 !important;
  border-color: #004478 !important;
  color: #ffffff !important;
}

.cat-pill.active,
.cat-pill:hover,
.btn-card-detail,
.btn-view-all,
.section-link {
  color: #005a9e !important;
}

.cat-pill.active,
.btn-card-detail,
.btn-view-all {
  background-color: #f0f7ff !important;
  border-color: #93c5fd !important;
}

.product-card:hover .btn-card-detail,
.btn-view-all:hover {
  background-color: #005a9e !important;
  border-color: #005a9e !important;
  color: #ffffff !important;
}

del.product-card-regular,
del.combo-regular,
.product-price-original,
.flagship-regular {
  color: #475569 !important;
}

.topbar-item,
.topbar-item span,
.topbar-social-label,
.topbar-social-link,
p.copyright-sub,
.trust-desc {
  color: #cbd5e1 !important;
}

.footer-white-link {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.hero-dots {
  gap: 4px !important;
}

button.hero-dot {
  min-width: 24px !important;
  min-height: 24px !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 2px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  cursor: pointer !important;
}

button.hero-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.2s ease, background-color 0.2s ease;
}

button.hero-dot.active::after {
  width: 20px;
  background: #30c2e7;
}

/* 19.6 Offscreen Rendering Containment (Eliminates 1,000ms+ Initial Style & Layout TBT) */
.home-product-slider-section,
.related-articles-section,
.site-footer,
section[aria-label="Combo thiết bị vệ sinh đồng bộ"],
section[aria-label="Showroom trải nghiệm INAX chính hãng - Kidohomes"] {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.mobile-nav-drawer:not(.active) {
  content-visibility: hidden;
}

.mobile-nav-drawer.active {
  content-visibility: visible;
}

