/* ==========================================================================
   ANestLand - 70-20-10 Brand Identity Architecture (WCAG AAA/AA Compliant)
   Typography: Montserrat (Primary) & Playfair Display (Headings/Editorial)
   70% Burgundy (#5E0A06) · 20% Gold Light (#E0BC72) · 20% Gold Deep (#7A5A14) · 10% Accent Red (#A3120F)
   Backgrounds: Ivory (#FBF5E8) · Cream (#F3E7CF) · Champagne (#EBD9C6)
   Text: Ink (#1F0D0B) · Muted (#5A4033) · On Dark (#FFF8EA)
   ========================================================================== */

:root {
  /* 70% Primary: Burgundy */
  --color-burgundy: #5E0A06;
  --primary-color: #5E0A06;
  --primary-blue: #5E0A06;
  --primary-navy: #450603;
  --primary-dark: #5E0A06;
  --primary-hover: #A3120F;

  /* 20% Gold Light (Dùng TRÊN nền burgundy / nền tối: 7,6:1) */
  --color-gold-light: #E0BC72;
  --gold-light: #E0BC72;
  --gold-vip: #E0BC72;
  --accent-cyan: #E0BC72;

  /* 20% Gold Deep (Dùng TRÊN nền sáng / Ivory / Cream: 5,9:1) */
  --color-gold-deep: #7A5A14;
  --gold-deep: #7A5A14;

  /* 10% Accent Red (Hover CTA, huy hiệu, liên kết nhấn: 7,3:1 trên Ivory) */
  --color-accent-red: #A3120F;
  --accent-red: #A3120F;
  --badge-red: #A3120F;
  --badge-red-bg: #FDF2F1;
  --badge-yellow: #7A5A14;
  --badge-yellow-bg: #F3E7CF;
  --success: #15803D;

  /* Nhóm Nền Trung Tính */
  --color-bg-ivory: #FBF5E8;     /* Nền nội dung chính */
  --color-bg-cream: #F3E7CF;     /* Nền section phụ, thẻ thông tin */
  --color-bg-champagne: #EBD9C6; /* Section quà tặng, nội dung cảm xúc */
  --bg-body: #FBF5E8;
  --bg-card: #FFFFFF;
  --bg-secondary: #F3E7CF;
  --color-ivory: #FBF5E8;
  --color-cream: #F3E7CF;
  --color-champagne: #EBD9C6;

  /* Nhóm Chữ Trung Tính */
  --color-text-ink: #1F0D0B;     /* Chữ chính, nội dung dài (17,3:1 trên Ivory) */
  --color-text-muted: #5A4033;   /* Chữ phụ, chú thích (8,7:1 trên Ivory) */
  --color-text-on-dark: #FFF8EA; /* Chữ trên nền burgundy (13,1:1 trên Burgundy) */
  --text-dark: #1F0D0B;
  --text-body: #1F0D0B;
  --text-muted: #5A4033;
  --text-white: #FFF8EA;

  /* Surfaces, Gradients & Backgrounds */
  --bg-hero: radial-gradient(circle at 75% 30%, #7A0D07 0%, #5E0A06 50%, #3D0503 100%);
  --bg-deal: linear-gradient(135deg, #5E0A06 0%, #3D0503 100%);
  --bg-quiz: linear-gradient(135deg, #FBF5E8 0%, #F3E7CF 100%);
  --bg-member: linear-gradient(145deg, #5E0A06 0%, #200201 100%);
  --bg-footer: #5E0A06;

  /* Typography: Montserrat & Playfair Display */
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-montserrat: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-playfair: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Borders & Shadows */
  --border-color: #E2D3BE;
  --border-subtle: #EDE0CE;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 9999px;
  --radius-banner: 4px;
  --radius-control: 8px;
  --radius-card: 12px;

  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;

  --shadow-sm: 0 1px 3px rgba(94, 10, 6, 0.04);
  --shadow-md: 0 4px 14px rgba(94, 10, 6, 0.08);
  --shadow-lg: 0 12px 28px rgba(94, 10, 6, 0.12);
  --shadow-hover: 0 14px 32px rgba(94, 10, 6, 0.18);

  --max-width: 1240px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Reset & Global
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-ivory, #FBF5E8);
  color: var(--color-text-ink, #1F0D0B);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   Storefront Shared Buttons (Đồng bộ theo quy tắc 70-20-10)
   - Nút CTA chính: nền Burgundy (#5E0A06), chữ Text on Dark (#FFF8EA); hover chuyển sang Accent Red (#A3120F).
   - Nút phụ: viền Gold Deep (#7A5A14), chữ Burgundy (#5E0A06), nền trong suốt.
   -------------------------------------------------------------------------- */
.btn-primary {
  background-color: var(--color-burgundy, #5E0A06) !important;
  color: var(--color-text-on-dark, #FFF8EA) !important;
  border: 1.5px solid var(--color-burgundy, #5E0A06) !important;
  border-radius: var(--radius-lg, 8px);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(94, 10, 6, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--color-accent-red, #A3120F) !important;
  border-color: var(--color-accent-red, #A3120F) !important;
  box-shadow: 0 4px 16px rgba(163, 18, 15, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary {
  background-color: transparent !important;
  color: var(--color-burgundy, #5E0A06) !important;
  border: 1.5px solid var(--color-gold-deep, #7A5A14) !important;
  border-radius: var(--radius-lg, 8px);
  padding: 11px 22px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--color-bg-ivory, #FBF5E8) !important;
  border-color: var(--color-burgundy, #5E0A06) !important;
  color: var(--color-accent-red, #A3120F) !important;
}

.btn-outline {
  background-color: transparent !important;
  color: var(--color-burgundy, #5E0A06) !important;
  border: 1.5px solid var(--color-gold-deep, #7A5A14) !important;
  border-radius: var(--radius-lg, 8px);
  padding: 11px 22px;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--color-bg-ivory, #FBF5E8) !important;
  border-color: var(--color-burgundy, #5E0A06) !important;
}

/* --------------------------------------------------------------------------
   Auth Split Card Layout (Tối ưu responsive Desktop & Mobile)
   -------------------------------------------------------------------------- */
.auth-split-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  max-width: 1000px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
  overflow: hidden;
}

.auth-split-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
  color: #FFFFFF;
}

.auth-split-form {
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
}

@media (max-width: 900px) {
  .auth-split-card {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .auth-split-visual {
    min-height: 200px;
    padding: 24px 20px !important;
  }
  .auth-split-form {
    padding: 28px 20px !important;
  }
  .auth-split-desc {
    display: none !important;
  }
  .auth-split-badges {
    display: none !important;
  }
}

/* Single unified Container for Header, Breadcrumb, Shop Archive & Footer */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

@media (max-width: 1024px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* --------------------------------------------------------------------------
   Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--color-burgundy, #5E0A06);
  color: var(--color-text-on-dark, #FFF8EA);
  font-size: 12px;
  border-bottom: 1px solid rgba(224, 188, 114, 0.2);
  height: 38px;
  display: flex;
  align-items: center;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.top-bar-features {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
  font-weight: 500;
}

.top-feature-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-action-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
  font-weight: 500;
  transition: var(--transition);
}

.top-bar-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(224, 188, 114, 0.16);
  color: #E0BC72;
  border: 1px solid rgba(224, 188, 114, 0.45);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-bar-auth-btn:hover {
  background: var(--color-gold-light, #E0BC72);
  color: var(--color-burgundy, #5E0A06);
  border-color: var(--color-gold-light, #E0BC72);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(224, 188, 114, 0.35);
}

.user-avatar-squircle {
  border: 2px solid #E0BC72 !important;
  box-shadow: 0 3px 10px rgba(224, 188, 114, 0.3) !important;
}

.top-action-link:hover {
  color: var(--accent-cyan);
}

.top-action-link svg {
  width: 14px;
  height: 14px;
}

.cart-badge-count {
  background-color: var(--accent-cyan);
  color: #5E0A06;
  font-size: 10px;
  font-weight: 800;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 2px;
}

/* --------------------------------------------------------------------------
   Main Header
   -------------------------------------------------------------------------- */
.main-header {
  background-color: var(--bg-card);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.logo-wrapper {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 52px; /* Cùng chiều cao với logo */
}

.brand-title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-burgundy, #5E0A06);
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.brand-slogan {
  font-family: var(--font-main, 'Montserrat', sans-serif);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--color-gold-deep, #7A5A14);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1.2;
}

/* Header Search Bar (Căn giữa, loại bỏ khung chữ nhật bên trong) */
.search-form {
  flex: 1;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.search-input-group {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1.5px solid rgba(122, 90, 20, 0.28);
  border-radius: var(--radius-full, 9999px);
  padding: 4px 6px 4px 20px;
  height: 46px;
  transition: var(--transition);
  box-sizing: border-box;
}

.search-input-group:focus-within {
  border-color: var(--color-burgundy, #5E0A06);
  box-shadow: 0 0 0 3px rgba(94, 10, 6, 0.12);
}

/* Xóa bỏ hoàn toàn khung chữ nhật bên trong của input search */
.search-form .search-input,
.search-input-group input[type="search"].search-input,
.search-input-group input[type="search"] {
  flex: 1 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 12px 0 0 !important;
  margin: 0 !important;
  height: 100% !important;
  font-size: 14px !important;
  color: var(--color-text-ink, #1F0D0B) !important;
}

.search-input::placeholder {
  color: #94A3B8;
  font-size: 13.5px;
}

.search-btn {
  background-color: var(--color-burgundy, #5E0A06);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full, 9999px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.search-btn:hover {
  background-color: var(--color-accent-red, #A3120F);
  transform: scale(1.04);
}

.search-btn svg {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   Header Action Buttons: Cart & Account Squircle (Matching Reference Image)
   ========================================================================== */
.header-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.desktop-header-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.mobile-menu-trigger-btn {
  display: none;
}

/* Squircle Action Button (Đỏ đô #5E0A06 bo góc chuẩn vibe ảnh) */
.squircle-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: var(--color-burgundy, #5E0A06);
  color: var(--color-text-on-dark, #FFF8EA);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(224, 188, 114, 0.25);
  box-shadow: 0 3px 10px rgba(94, 10, 6, 0.28);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  flex-shrink: 0;
  padding: 0;
}

.squircle-action-btn:hover {
  background-color: var(--color-accent-red, #A3120F);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(163, 18, 15, 0.38);
  border-color: var(--color-gold-light, #E0BC72);
}

.squircle-action-btn:active {
  transform: translateY(0) scale(0.97);
}

.squircle-icon {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
  display: block;
}

/* Badge số lượng giỏ hàng */
.squircle-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--accent-cyan, #D4AF37);
  color: #5E0A06;
  font-size: 10.5px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  padding: 0 4px;
  line-height: 1;
}

/* Account Dropdown Wrapper & Menu on Hover */
.account-hover-container {
  position: relative;
  display: inline-flex;
}

/* Vùng đệm chuột tránh bị hụt hover */
.account-hover-container::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 14px;
  background: transparent;
  pointer-events: auto;
}

.account-hover-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 235px;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #EADBCE;
  box-shadow: 0 14px 34px rgba(102, 11, 5, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Tam giác chỉ hướng sang trọng */
.account-hover-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 15px;
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  border-left: 1px solid #EADBCE;
  border-top: 1px solid #EADBCE;
  transform: rotate(45deg);
}

.account-hover-container:hover .account-hover-menu,
.account-hover-container:focus-within .account-hover-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.account-hover-menu-header {
  padding: 10px 18px 8px;
  border-bottom: 1px solid #F5EBE1;
}

.account-hover-menu-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: block;
}

.account-hover-menu-subtitle {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 2px;
  display: block;
}

.account-hover-menu-list {
  list-style: none;
  padding: 6px 0;
  margin: 0;
}

.account-hover-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.18s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.account-hover-menu-item:hover {
  background-color: #FAF4ED;
  color: var(--primary-color);
  padding-left: 22px;
}

.account-hover-menu-item svg {
  width: 17px;
  height: 17px;
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: color 0.18s ease;
}

.account-hover-menu-item:hover svg {
  color: var(--primary-color);
}

.account-hover-menu-divider {
  height: 1px;
  background-color: #F5EBE1;
  margin: 4px 0;
}

.account-hover-logout-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #B91C1C;
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}

.account-hover-logout-btn:hover {
  background-color: #FEF2F2;
  color: #DC2626;
  padding-left: 22px;
}

.account-hover-logout-btn svg {
  width: 17px;
  height: 17px;
  color: #DC2626;
  flex-shrink: 0;
}

/* Sticky Navbar Action Icons */
.nav-sticky-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-sticky-actions.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-sticky-actions .squircle-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-sticky-actions .squircle-action-btn .squircle-icon {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.main-nav-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 54px;
  width: 100%;
}

/* Category Dropdown Button & Wrapper */
.cat-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

/* Vùng đệm chuột tránh bị hụt hover */
.cat-dropdown-wrapper::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
  pointer-events: auto;
}

.cat-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-burgundy, #5E0A06);
  color: var(--color-text-on-dark, #FFF8EA);
  border: 1.5px solid var(--color-burgundy, #5E0A06);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 20px;
  border-radius: var(--radius-full, 9999px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(94, 10, 6, 0.22);
}

.cat-dropdown-btn:hover {
  background-color: var(--color-accent-red, #A3120F);
  border-color: var(--color-accent-red, #A3120F);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(163, 18, 15, 0.32);
}

.cat-dropdown-btn svg {
  width: 16px;
  height: 16px;
}

.cat-caret-icon {
  margin-left: 2px;
  transition: transform 0.22s ease;
}

.cat-dropdown-wrapper:hover .cat-caret-icon,
.cat-dropdown-wrapper.is-open .cat-caret-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu Container (Hover vào hiện 6 danh mục) */
.cat-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 310px;
  background: #FFFFFF;
  border: 1px solid rgba(122, 90, 20, 0.22);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(94, 10, 6, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 8px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: block !important;
}

/* Hover danh mục sản phẩm thì hiện menu */
.cat-dropdown-wrapper:hover .cat-dropdown-menu,
.cat-dropdown-wrapper:focus-within .cat-dropdown-menu,
.cat-dropdown-wrapper.is-open .cat-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.cat-menu-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text-ink, #1F0D0B);
  transition: all 0.2s ease;
}

.cat-item-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-bg-ivory, #FBF5E8);
  border: 1px solid rgba(122, 90, 20, 0.18);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cat-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat-item-name {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  color: var(--color-text-ink, #1F0D0B);
  transition: color 0.2s ease;
  line-height: 1.3;
}

.cat-item-arrow {
  color: #CBD5E1;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* Hover danh mục chuyển màu đỏ */
.cat-menu-item:hover {
  background-color: #FDF2F1;
  color: var(--color-burgundy, #5E0A06) !important;
}

.cat-menu-item:hover .cat-item-name {
  color: var(--color-burgundy, #5E0A06) !important;
  font-weight: 700;
}

.cat-menu-item:hover .cat-item-thumb {
  border-color: var(--color-burgundy, #5E0A06);
  transform: scale(1.05);
}

.cat-menu-item:hover .cat-item-arrow {
  color: var(--color-burgundy, #5E0A06);
  transform: translateX(3px);
}

/* Tất cả sản phẩm xếp cuối cùng */
.cat-menu-footer {
  border-top: 1px solid rgba(122, 90, 20, 0.12);
  margin-top: 6px;
  padding-top: 6px;
}

.cat-all-products-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  background: var(--color-bg-ivory, #FBF5E8);
  color: var(--color-burgundy, #5E0A06);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}

.cat-all-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-gold-deep, #7A5A14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-burgundy, #5E0A06);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cat-all-text {
  flex: 1;
  font-weight: 700;
}

.cat-all-products-link:hover {
  background-color: var(--color-burgundy, #5E0A06);
  color: #FFFFFF !important;
}

.cat-all-products-link:hover .cat-all-text {
  color: #FFFFFF !important;
}

.cat-all-products-link:hover .cat-all-icon {
  background-color: var(--color-accent-red, #A3120F);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.cat-all-products-link:hover .cat-item-arrow {
  color: #FFFFFF;
  transform: translateX(4px);
}

/* Nav Menu Links (Hiệu ứng select: tô nền đỏ chữ trắng, bo tròn như Danh mục sản phẩm) */
.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  height: 100%;
  margin: 0;
  padding: 0;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-ink, #1F0D0B);
  padding: 8px 18px;
  border-radius: var(--radius-full, 9999px);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-burgundy, #5E0A06);
  background-color: rgba(94, 10, 6, 0.06);
}

/* Active / Select Item: Tô nền đỏ chữ trắng, bo tròn như Danh mục sản phẩm */
.nav-item.active .nav-link,
.nav-link.active {
  background-color: var(--color-burgundy, #5E0A06) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: var(--radius-full, 9999px) !important;
  padding: 8px 18px !important;
  box-shadow: 0 2px 8px rgba(94, 10, 6, 0.22);
}

.nav-item.active .nav-link:hover {
  background-color: var(--color-accent-red, #A3120F) !important;
  color: #FFFFFF !important;
}

/* Xóa bỏ hoàn toàn gạch chân phía dưới */
.nav-item.active .nav-link::after,
.nav-link::after {
  display: none !important;
  content: none !important;
}

/* ==========================================================================
   Mobile Menu Trigger Button
   ========================================================================== */
.mobile-menu-trigger-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: #5E0A06;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 3px 10px rgba(102, 11, 5, 0.28);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  padding: 0;
}

.mobile-menu-trigger-btn:hover {
  background-color: #7D0E07;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(102, 11, 5, 0.35);
}

.mobile-menu-trigger-btn:active {
  transform: scale(0.96);
}

.mobile-menu-trigger-btn svg {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
  display: block;
}

/* ==========================================================================
   Mobile Drawer Menu (Off-canvas Navigation)
   Thứ tự chuẩn yêu cầu:
   1. Logo & Slogan + Đóng | 2. Thanh tìm kiếm | 3. Menu danh mục | 4. Đăng nhập / Đăng ký
   ========================================================================== */
.mobile-drawer-portal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: drawerFadeIn 0.22s ease-out forwards;
}

@keyframes drawerFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-drawer-sheet {
  position: relative;
  width: 86%;
  max-width: 360px;
  height: 100%;
  background: #FAF7F2;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.28);
  z-index: 1;
  animation: drawerSlideIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overflow: hidden;
}

@keyframes drawerSlideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/* 1. Drawer Header (Logo & Slogan + Nút Đóng) */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid #EADBCE;
  flex-shrink: 0;
}

.drawer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.drawer-logo-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark, #5E0A06);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.drawer-logo-sub {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: var(--gold-deep, #9E7A2A);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.drawer-close-btn:hover {
  background: #FEE2E2;
  color: #B91C1C;
  border-color: #FECACA;
}

/* 2. Drawer Search Bar */
.drawer-search-wrap {
  padding: 12px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid #F1E5D8;
  flex-shrink: 0;
}

.drawer-search-form {
  display: flex;
  align-items: center;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 9999px;
  padding: 3px 4px 3px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.drawer-search-form:focus-within {
  border-color: var(--primary-color, #A3120F);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(126, 14, 6, 0.12);
}

.drawer-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px 8px 6px 0;
  font-size: 13px;
  color: #1E293B;
  outline: none;
  min-width: 0;
}

.drawer-search-input::placeholder {
  color: #94A3B8;
}

.drawer-search-btn {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: #5E0A06;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease;
}

.drawer-search-btn:hover {
  background: #7D0E07;
}

/* 3. Drawer Body (Menu Navigation) */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px;
}

.drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.18s ease;
}

.drawer-nav-item:hover,
.drawer-nav-item.active {
  background: rgba(102, 11, 5, 0.08);
  color: #5E0A06;
}

.drawer-nav-item.active {
  font-weight: 700;
}

.drawer-badge-hot {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.drawer-accordion-btn {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.drawer-arrow {
  font-size: 13px;
  transition: transform 0.2s ease;
  color: #64748B;
}

.drawer-arrow.open {
  transform: rotate(180deg);
  color: #5E0A06;
}

.drawer-subnav-list {
  list-style: none;
  padding: 4px 0 6px 12px;
  margin: 0 0 4px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid #EADBCE;
}

.drawer-subnav-item {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: all 0.18s ease;
}

.drawer-subnav-item:hover {
  background: rgba(102, 11, 5, 0.06);
  color: #5E0A06;
  padding-left: 16px;
}

.drawer-subnav-item.highlight {
  font-weight: 700;
  color: #5E0A06;
}

/* 4. Drawer Footer (Đăng nhập / Đăng ký) */
.drawer-footer {
  padding: 14px 16px;
  background: #FFFFFF;
  border-top: 1px solid #EADBCE;
  flex-shrink: 0;
}

.drawer-auth-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748B;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.drawer-auth-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.drawer-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
}

.drawer-auth-btn.login {
  background: #5E0A06;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(102, 11, 5, 0.25);
}

.drawer-auth-btn.login:hover {
  background: #7D0E07;
}

.drawer-auth-btn.register {
  background: #FAF7F2;
  color: #5E0A06;
  border: 1.5px solid #D4AF37;
}

.drawer-auth-btn.register:hover {
  background: #F3EBE1;
}

/* Drawer User Profile (Khi đã đăng nhập) */
.drawer-user-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-user-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E0BC72, #7A5A14);
  color: #1E293B;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  overflow: hidden;
  flex-shrink: 0;
}

.drawer-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-user-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.drawer-user-name {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-user-role {
  font-size: 11px;
  color: #64748B;
  margin-top: 1px;
}

.drawer-user-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.drawer-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  transition: all 0.18s ease;
}

.drawer-action-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.drawer-action-btn.admin {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FDE68A;
  font-weight: 700;
}

.drawer-action-btn.logout {
  width: 100%;
  cursor: pointer;
  color: #DC2626;
  background: #FEF2F2;
  border-color: #FECACA;
}

.drawer-action-btn.logout:hover {
  background: #FEE2E2;
}

/* ==========================================================================
   Mobile Bottom Navigation Bar (Menu Footer Fixed)
   Thứ tự chuẩn ảnh số 2:
   1. Gọi điện | 2. Zalo | 3. Giỏ hàng (nổi bật) | 4. Đặt lịch | 5. Đăng nhập
   ========================================================================== */
.mobile-bottom-nav {
  display: none; /* Chỉ hiện trên mobile */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 56px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  z-index: 99999;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 1px;
  width: 100%;
  min-width: 0;
  height: 100%;
  transition: all 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.bottom-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  margin-bottom: 2px;
  position: relative;
}

.bottom-nav-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #475569;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 360px) {
  .bottom-nav-label {
    font-size: 9.5px;
    letter-spacing: -0.5px;
  }
}

.mobile-bottom-nav-item.active .bottom-nav-label {
  color: #0077D7;
  font-weight: 700;
}

/* Editorial Article Responsive Grid & Card */
.editorial-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: flex-start;
}

.editorial-article-card {
  background: #FFF;
  border-radius: 10px;
  padding: 36px 40px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  min-width: 0;
}

@media (max-width: 1024px) {
  .editorial-article-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .editorial-article-card {
    padding: 22px 16px;
    border-radius: 8px;
  }
}

/* Responsive Magazine & Article Grid for Cẩm Nang */
.cam-nang-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

@media (max-width: 1024px) {
  .cam-nang-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .cam-nang-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 380px) {
  .cam-nang-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

/* 1. Gọi điện: Green phone icon */
.nav-item-call .bottom-nav-icon svg {
  stroke: #10B981;
}

/* 2. Zalo: Blue circular badge with white Zalo text */
.zalo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background-color: #0068FF;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: -0.3px;
  box-shadow: 0 2px 6px rgba(0, 104, 255, 0.35);
}

/* 3. Giỏ hàng: Nút tròn nổi bật ở giữa (Elevated Floating Center Button chuẩn ảnh 2) */
.nav-item-cart-center {
  position: relative;
  overflow: visible;
}

.cart-center-floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-burgundy, #5E0A06);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -22px;
  border: 3.5px solid #FFFFFF;
  box-shadow: 0 6px 18px rgba(94, 10, 6, 0.42), 0 2px 6px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.cart-center-floating-btn svg {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
  display: block;
}

.nav-item-cart-center:active .cart-center-floating-btn,
.cart-center-floating-btn:active {
  transform: scale(0.92);
}

.cart-center-floating-btn.cart-spinning {
  transform: scale(1.15) !important;
  box-shadow: 0 8px 24px rgba(94, 10, 6, 0.55) !important;
}

.cart-center-floating-btn.cart-spinning svg {
  animation: cartRotate360 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

.cart-center-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent-red, #DC2626);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  padding: 0 4px;
  line-height: 1;
}

.bottom-nav-label.center-label {
  color: var(--color-burgundy, #5E0A06);
  font-weight: 700;
  margin-top: 1px;
}

/* 4. Cửa hàng: Store icon */
.nav-item-shop .bottom-nav-icon svg,
.nav-item-booking .bottom-nav-icon svg {
  stroke: var(--gold-deep, #7A5A14);
}

/* 5. Đăng nhập / Tài khoản: Slate user icon */
.nav-item-account .bottom-nav-icon svg {
  stroke: #475569;
}

.mobile-bottom-nav-item.active .bottom-nav-label {
  color: var(--color-burgundy, #5E0A06) !important;
  font-weight: 700 !important;
}

.mobile-bottom-nav-item.active .bottom-nav-icon svg {
  stroke: var(--color-burgundy, #5E0A06) !important;
}

/* --------------------------------------------------------------------------
   E-commerce Hero Banner Section (Shopee/Lazada 2:1 Split Architecture)
   Banner border-radius: 4px
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 16px 0 24px;
}

.hero-grid-ecommerce {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6px;
  align-items: stretch;
}

/* Pure Image Banners (Shopee/Lazada style: exact horizontal ratio, pure image, no HTML text overlay) */
.hero-pure-image-banner {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  background-color: #F8F5F0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-pure-image-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.hero-pure-image-banner:hover .hero-banner-img {
  transform: scale(1.012);
}

/* Left Main Banner: Exact Shopee aspect ratio 796:235 (approx 3.39:1) */
.hero-main-banner-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 796 / 235;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Right Column (2 stacked sub-banners with 6px gap) */
.hero-side-banners {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}

/* Each Sub-banner: Exact Shopee sub-banner aspect ratio 395:114.5 (approx 3.45:1) */
.hero-sub-banner-wrap {
  position: relative;
  flex: 1;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 395 / 114.5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.admin-banner-bar {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-edit-badge-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(102, 11, 5, 0.9);
  color: #FFFFFF;
  border: 1.5px solid #E0BC72;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.admin-edit-badge-btn:hover {
  background: #A3120F;
  transform: scale(1.05);
}

.admin-edit-badge-btn.mini {
  padding: 4px 10px;
  font-size: 11px;
}



.hero-main-slide {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  color: #FFFFFF;
  background: radial-gradient(circle at 75% 30%, #A3120F 0%, #5E0A06 50%, #5E0A06 100%);
  text-decoration: none;
}

.hero-main-slide-content {
  flex: 1;
  max-width: 440px;
  z-index: 2;
}

.hero-main-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.hero-voucher-box {
  background: linear-gradient(135deg, rgba(224, 188, 114, 0.22) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1.5px solid #E0BC72;
  border-radius: 4px;
  padding: 12px 18px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-voucher-label {
  font-size: 11px;
  font-weight: 700;
  color: #E0BC72;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.hero-voucher-title {
  font-size: 23px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.hero-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-mini-tag {
  background: #E0BC72;
  color: #5E0A06;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.hero-mini-tag.alt {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-main-slide-img {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-slide-img img {
  max-height: 230px;
  width: auto;
  border-radius: 4px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

/* Dots and arrows for main slider */
.hero-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-slider-dot.active {
  width: 22px;
  background-color: #FFFFFF;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 48px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  z-index: 10;
  transition: all 0.2s ease;
  border: none;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  user-select: none;
}

.hero-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

.hero-slider-arrow.prev { left: 8px; }
.hero-slider-arrow.next { right: 8px; }



.hero-sub-banner {
  flex: 1;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.hero-sub-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-sub-banner.top {
  background: linear-gradient(135deg, #FBF6EE 0%, #F5ECE0 100%);
  border: 1px solid #E8DCCF;
  color: #260402;
}

.hero-sub-banner.bottom {
  background: linear-gradient(135deg, #FFF5F4 0%, #FAECEB 100%);
  border: 1px solid #F3D0CD;
  color: #260402;
}

.hero-sub-content {
  flex: 1;
  padding-right: 12px;
}

.hero-sub-badge {
  display: inline-block;
  background: #5E0A06;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.hero-sub-title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 4px;
  color: #260402;
}

.hero-sub-desc {
  font-size: 11px;
  color: #6B5A53;
  font-weight: 500;
  margin-bottom: 6px;
}

.hero-sub-action {
  font-size: 11px;
  font-weight: 700;
  color: #5E0A06;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-sub-img {
  width: 90px;
  height: 90px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .hero-grid-ecommerce {
    grid-template-columns: 1fr;
  }
  .hero-side-banners {
    flex-direction: row;
  }
}

@media (max-width: 640px) {
  .hero-side-banners {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Section Common Header
   -------------------------------------------------------------------------- */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title-wrap h2 {
  font-size: clamp(20px, 4.8vw, 24px);
  font-weight: 800;
  color: var(--primary-dark, #5A0B05);
  letter-spacing: -0.3px;
  line-height: 1.25;
  text-wrap: balance;
  margin-bottom: 4px;
}

.section-title-wrap p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  text-wrap: pretty;
}

.section-view-all-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.section-view-all-link:hover {
  color: var(--primary-hover);
  transform: translateX(3px);
}

.section-view-all-link svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Section: Wave Dividers (Oriental Luxury Organic Transitions)
   -------------------------------------------------------------------------- */
.section-wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.section-wave-divider svg {
  display: block;
  width: 100%;
  height: 36px;
}

.hero-wave-divider {
  margin-top: 4px;
  margin-bottom: 8px;
}

.footer-wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  display: block;
  background: transparent;
  margin-bottom: -1px;
}

.footer-wave-divider svg {
  display: block;
  width: 100%;
  height: clamp(44px, 5vw, 72px);
}

/* --------------------------------------------------------------------------
   Section 1: Category Section ("Danh mục sản phẩm" Squircle Card Vibe)
   -------------------------------------------------------------------------- */
.category-section {
  padding: clamp(8px, 1.2vw, 10px) 0 clamp(24px, 3.2vw, 36px);
  position: relative;
  overflow-x: clip;
}

.category-vibe-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.category-vibe-header {
  flex: 0 0 210px;
  min-width: 0;
}

.category-vibe-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.category-vibe-leaf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8C651A;
  margin-top: 3px;
  flex-shrink: 0;
}

.category-vibe-title {
  font-size: clamp(20px, 4.8vw, 24px);
  font-weight: 800;
  color: #5E0A06;
  line-height: 1.25;
  letter-spacing: -0.3px;
  text-wrap: balance;
  margin: 0 0 6px;
}

.category-vibe-sub {
  font-size: 13px;
  color: #7A6356;
  line-height: 1.4;
  text-wrap: pretty;
  margin-left: 2px;
}

.category-vibe-slider {
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.category-group-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.category-group-container {
  width: 100%;
  min-width: 0;
  background-color: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(226, 214, 202, 0.65);
  box-shadow: 0 4px 16px rgba(102, 11, 5, 0.04);
  padding: 10px 8px;
  height: 122px;
  min-height: 122px;
  box-sizing: border-box;
  align-items: center;
  transition: box-shadow 0.25s ease;
}

.category-group-container:hover {
  box-shadow: 0 6px 20px rgba(102, 11, 5, 0.07);
}

.category-group-container.is-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  justify-items: center;
}

.category-group-container.is-slider {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.category-group-container.is-slider::-webkit-scrollbar {
  display: none;
}

.category-group-container.is-slider .category-group-item {
  flex: 0 0 135px;
  width: 135px;
}

.category-group-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  height: 100%;
  padding: 6px 4px;
  border-radius: 14px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.category-group-item:hover {
  background-color: #FAF5ED;
  transform: translateY(-2px);
}

.category-capsule-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid #F0E6D8;
  background-color: #FAF5ED;
  overflow: hidden;
  margin-bottom: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.category-capsule-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.category-group-item:hover .category-capsule-avatar img {
  transform: scale(1.08);
}

.category-capsule-name {
  font-size: 12px;
  font-weight: 700;
  color: #5E0A06;
  text-align: center;
  line-height: 1.25;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-wrap: balance;
  transition: color 0.2s ease;
  padding: 0 4px;
  width: 100%;
  box-sizing: border-box;
}

.category-group-item:hover .category-capsule-name {
  color: #5E0A06;
}

.category-nav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #F8EFE4;
  border: 1.5px solid #ECDCCB;
  color: #7A4219;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.category-nav-arrow:hover {
  background-color: #5E0A06;
  color: #FFFFFF;
  border-color: #5E0A06;
  transform: scale(1.06);
}

@media (max-width: 992px) {
  .category-vibe-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .category-vibe-header {
    flex: none;
    width: 100%;
  }
  .category-group-container {
    display: flex !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    height: 118px !important;
    min-height: 118px !important;
  }
  .category-group-container::-webkit-scrollbar {
    display: none !important;
  }
  .category-group-item {
    flex: 0 0 88px !important;
    width: 88px !important;
    min-width: 88px !important;
  }
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.category-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 14px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  border-color: #F87171;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.category-image-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.category-image-wrap img {
  max-height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.category-card:hover .category-image-wrap img {
  transform: scale(1.08);
}

.category-card-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.category-card-count {
  font-size: 11.5px;
  color: var(--primary-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.category-card-count svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.category-card:hover .category-card-count svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Section 2: Featured Brands ("Thương hiệu nổi bật")
   -------------------------------------------------------------------------- */
.brands-section {
  padding: 10px 0 44px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.brand-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.brand-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.brand-card img {
  max-height: 32px;
  max-width: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Section 3: Bestselling Products ("Sản phẩm bán chạy")
   -------------------------------------------------------------------------- */
.products-section {
  padding: clamp(8px, 1.2vw, 10px) 0 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color, #E2D3BE);
  border-radius: 14px;
  padding: 12px 12px 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.product-card:hover {
  border-color: var(--gold-deep, #7A5A14);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(94, 10, 6, 0.08);
}

/* Nút yêu thích (Wishlist Heart) đưa lên góc phải trên của card */
.product-card-wishlist-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.product-card-wishlist-btn:hover {
  transform: scale(1.1);
  background: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.product-card-wishlist-btn:active {
  transform: scale(0.92);
}

.product-card-wishlist-btn.active svg {
  fill: #A3120F !important;
  stroke: #A3120F !important;
}

/* Hàng thông tin lượt bán (gọn gàng, chuẩn dữ liệu thật) */
.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 6px;
  width: 100%;
}

.product-sold-tag {
  font-size: 12px;
  color: var(--text-muted, #5A4033);
  font-weight: 600;
  white-space: nowrap;
}

/* Mô tả ngắn sản phẩm */
.product-card-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Discount Badge */
.product-discount-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--badge-red);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.product-image-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 12px;
  background: var(--color-bg-ivory, #FBF5E8);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.product-image-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  transition: transform 0.35s ease;
  display: block;
}

.product-card:hover .product-image-wrap img,
.combo-product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

.product-brand {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 40px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.rating-stars {
  display: flex;
  color: #FBBF24;
}

.rating-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.rating-count {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  row-gap: 2px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  margin-top: auto;
}

.product-current-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.3px;
}

.product-old-price {
  font-size: 12.5px;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 500;
}

/* Product Card 3-Action Row (Layout matched to user reference) */
.product-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.btn-buy-now {
  flex: 1;
  background-color: var(--primary-navy);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-buy-now:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.25);
  transform: translateY(-1px);
}

.btn-action-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background-color: #FFFFFF;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-action-icon:hover {
  border-color: var(--badge-red);
  color: var(--badge-red);
  background-color: #FEF2F2;
}

.btn-action-icon.active {
  border-color: var(--badge-red);
  color: var(--badge-red);
  background-color: #FEF2F2;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

.btn-action-icon svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.btn-action-icon.active svg {
  fill: var(--badge-red);
  transform: scale(1.15);
}

.btn-add-to-cart {
  flex: 1;
  background-color: var(--primary-navy);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.btn-add-to-cart:hover {
  background-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.25);
}

.btn-wishlist {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.btn-wishlist:hover,
.btn-wishlist.active {
  border-color: var(--badge-red);
  color: var(--badge-red);
  background-color: #FEF2F2;
}

.btn-wishlist svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.btn-wishlist.active svg {
  fill: var(--badge-red);
  transform: scale(1.15);
}

/* Flash Sale Highlight Box - Khung đỏ nổi bật thu hút */
.flash-sale-wrapper {
  background: radial-gradient(circle at 88% 12%, #8F1208 0%, #5E0A06 48%, #3D0502 100%);
  border: 2px solid #8C1007;
  border-radius: var(--radius-xl);
  padding: 24px 22px 28px;
  margin: 10px 0 44px;
  box-shadow: 0 14px 38px rgba(102, 11, 5, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .flash-sale-wrapper {
    padding: 20px 12px 22px;
    margin: 8px auto 32px;
    max-width: 480px;
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--radius-lg);
  }
}

/* Flash Sale Empty State Notification */
.flash-sale-empty-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px dashed rgba(255, 224, 130, 0.45);
  border-radius: var(--radius-lg);
  padding: 38px 24px;
  text-align: center;
  max-width: 620px;
  margin: 10px auto 16px;
  backdrop-filter: blur(8px);
}
.flash-empty-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 224, 130, 0.18);
  color: #FFE082;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.flash-empty-title {
  font-family: var(--font-heading), 'STIX Two Text', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFF8EA;
  margin-bottom: 10px;
  line-height: 1.35;
}
.flash-empty-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 248, 234, 0.88);
  margin-bottom: 22px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.btn-flash-empty-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFE082 0%, #E6B033 100%);
  color: #4A0804;
  font-size: 14px;
  font-weight: 800;
  padding: 11px 26px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-flash-empty-shop:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: #2A0402;
}


/* Header căn giữa đối xứng: Badge ở trên, Countdown ở dưới */
.flash-sale-center-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
  text-align: center;
}

.flash-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFE082 0%, #F59E0B 100%);
  color: #520904;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Bộ đếm thời gian Flash Sale thu hút hơn xếp ngay bên dưới badge */
.flash-countdown {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.42);
  border: 1.5px solid rgba(255, 224, 130, 0.4);
  padding: 5px 12px;
  border-radius: 9px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.flash-countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flash-time-digit {
  background: linear-gradient(180deg, #1C0302 0%, #050000 100%);
  color: #FFE082;
  border: 1px solid rgba(255, 224, 130, 0.45);
  font-size: 16px;
  font-weight: 900;
  font-family: monospace, var(--font-main);
  padding: 4px 9px;
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.flash-time-label {
  font-size: 9.5px;
  color: #FCD34D;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 3px;
  letter-spacing: 0.3px;
}

.flash-time-colon {
  color: #FFE082;
  font-weight: 900;
  font-size: 17px;
  margin-bottom: 8px;
  animation: flash-colon-blink 1s ease-in-out infinite;
}

@keyframes flash-colon-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.9); }
}

/* Slider Container Wrapper & Nút điều hướng 2 bên sườn như banner */
.flash-slider-container-wrap {
  position: relative;
  width: 100%;
}

.flash-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(224, 188, 114, 0.65);
  color: #5E0A06;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
}

.flash-slider-arrow:hover:not(:disabled) {
  background-color: #FFE082;
  color: #520904;
  border-color: #FFE082;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.flash-slider-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.flash-slider-arrow.prev {
  left: 6px;
}

.flash-slider-arrow.next {
  right: 6px;
}

@media (max-width: 768px) {
  .flash-slider-arrow {
    width: 36px;
    height: 36px;
  }
  .flash-slider-arrow.prev {
    left: 4px;
  }
  .flash-slider-arrow.next {
    right: 4px;
  }
}

/* Mobile Bottom Navigation Bar */
.flash-mobile-nav-bar {
  display: none;
}

@media (max-width: 640px) {
  .flash-mobile-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    user-select: none;
  }
  .flash-mobile-nav-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid rgba(224, 188, 114, 0.65);
    color: #5E0A06;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
  }
  .flash-mobile-nav-arrow:active {
    transform: scale(0.92);
  }
  .flash-mobile-nav-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
  }
  .flash-mobile-dots {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .flash-mobile-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .flash-mobile-dot.active {
    width: 22px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFE082, #F59E0B);
    box-shadow: 0 0 8px rgba(255, 224, 130, 0.6);
  }
  .flash-mobile-counter {
    font-size: 13px;
    font-weight: 700;
    color: #FFE082;
    letter-spacing: 0.5px;
    min-width: 38px;
    text-align: center;
  }
}

/* Flash Slide Catalog Viewport & Track */
.flash-slider-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
  --flash-step: calc((100% - 48px) / 4 + 16px);
}

@media (max-width: 1024px) {
  .flash-slider-viewport {
    --flash-step: calc((100% - 16px) / 2 + 16px);
  }
}

@media (max-width: 640px) {
  .flash-slider-container-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .flash-slider-viewport {
    width: calc(100% - 68px);
    max-width: 320px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 14px;
    --flash-step: 100%;
  }
}

.flash-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.flash-slider-track .product-card {
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: calc((100% - 48px) / 4);
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .flash-slider-track .product-card {
    flex: 0 0 calc((100% - 16px) / 2);
    min-width: calc((100% - 16px) / 2);
  }
}

@media (max-width: 640px) {
  .flash-slider-track {
    display: flex;
    gap: 16px;
    width: 100%;
  }
  .flash-slider-track .product-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto;
    text-align: center;
    padding: 14px 12px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  }
  .flash-slider-track .product-card .product-image-wrap {
    margin: 0 auto 10px;
    max-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .flash-slider-track .product-card .product-brand {
    text-align: center !important;
    font-size: 11px;
    letter-spacing: 0.5px;
  }
  .flash-slider-track .product-card .product-title {
    text-align: center !important;
    font-size: 14px;
    line-height: 1.4;
    min-height: auto;
    margin: 4px 0 8px !important;
  }
  .flash-slider-track .product-card .product-title a {
    text-align: center !important;
    display: inline-block !important;
  }
  .flash-slider-track .product-card .product-price-row {
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto 10px !important;
  }
  .flash-slider-track .product-card .sale-progress-text {
    font-size: 12px;
    padding: 0 4px;
    margin-bottom: 6px;
  }
  .flash-slider-track .product-card .product-action-row {
    justify-content: center;
    gap: 8px;
  }
  .flash-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    z-index: 20;
  }
  .flash-slider-arrow.prev {
    left: 0;
  }
  .flash-slider-arrow.next {
    right: 0;
  }
}

.sale-progress-container {
  width: 100%;
  background-color: #FAECEB;
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}

.sale-progress-bar {
  background: linear-gradient(90deg, #E0BC72 0%, #5E0A06 100%);
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.sale-progress-text {
  font-size: 11.5px;
  color: #5E0A06;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Section: Combo Giá Tốt (2 Product Cards + 1 Large Media Feature Card)
   -------------------------------------------------------------------------- */
.combo-gia-tot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.combo-product-card {
  background-color: var(--bg-card, #FFFFFF);
  border: 1px solid #EFE4D6;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 14px rgba(102, 11, 5, 0.04);
  transition: var(--transition, all 0.3s ease);
}

.combo-product-card:hover {
  border-color: #C5A059;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover, 0 10px 25px rgba(0,0,0,0.08));
}

.combo-product-card .product-discount-badge {
  top: 14px;
  left: 14px;
}

/* Thẻ Video Feature 16:9 Nhúng từ Customize */
.combo-video-feature-card {
  background-color: var(--bg-card, #FFFFFF);
  border: 1px solid #EFE4D6;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(102, 11, 5, 0.04);
  transition: var(--transition, all 0.3s ease);
}

.combo-video-feature-card:hover {
  border-color: #C5A059;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover, 0 10px 25px rgba(0,0,0,0.08));
}

/* Container Video chuẩn tỉ lệ 16:9 */
.combo-video-player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #1A0403;
  overflow: hidden;
  border-radius: 13px 13px 0 0;
}

.combo-video-player-container iframe,
.combo-video-player-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* Poster banner dự phòng khi chưa cấu hình video */
.combo-feature-banner-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.combo-feature-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.combo-video-feature-card:hover .combo-feature-bg {
  transform: scale(1.05);
}

.combo-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38,4,2,0.35) 0%, rgba(38,4,2,0.72) 60%, rgba(38,4,2,0.92) 100%);
  pointer-events: none;
}

.combo-feature-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.combo-feature-quote {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.35;
  color: #FDF6E2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}

.combo-feature-quote span {
  display: block;
  font-size: 17px;
  color: #FFE082;
  font-weight: 600;
  margin-top: 2px;
}

.combo-play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 224, 130, 0.85);
  color: #FFE082;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.combo-play-btn:hover {
  transform: scale(1.12);
  background: #FFE082;
  color: #520904;
  border-color: #FFE082;
}

.combo-play-btn svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

/* Caption bên dưới video */
.combo-video-caption {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #FAF4EC;
  border-top: 1px solid #EFE4D6;
}

.combo-video-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #8C651A;
  margin-bottom: 6px;
}

.combo-video-caption-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 16px;
  font-weight: 700;
  color: #260402;
  line-height: 1.35;
  margin: 0 0 6px 0;
}

.combo-video-caption-desc {
  font-size: 12.5px;
  color: var(--text-muted, #6B5A53);
  line-height: 1.5;
  margin: 0;
}

/* Tablet: 2 cột sản phẩm phía trên, video nằm dưới */
@media (max-width: 1024px) {
  .combo-gia-tot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .combo-video-feature-card {
    grid-column: span 2;
  }
}

/* Mobile: 2 cột sản phẩm combo, video nằm dưới full chiều ngang */
@media (max-width: 768px) {
  .combo-gia-tot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .combo-product-card {
    padding: 10px !important;
    border-radius: 10px !important;
  }
  .combo-product-card .product-discount-badge {
    top: 8px;
    left: 8px;
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
  .combo-product-card .product-card-wishlist-btn {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
  }
  .combo-product-card .product-brand {
    font-size: 10px !important;
    margin-bottom: 2px !important;
  }
  .combo-product-card .product-title {
    font-size: 13px !important;
    min-height: 36px !important;
    line-height: 1.3 !important;
    margin: 2px 0 6px 0 !important;
  }
  .combo-product-card .product-price-row {
    margin-bottom: 8px !important;
    flex-direction: column !important;
    gap: 2px !important;
  }
  .combo-product-card .product-current-price {
    font-size: 15px !important;
  }
  .combo-product-card .product-old-price {
    font-size: 11.5px !important;
  }
  .combo-product-card .product-action-row {
    gap: 6px !important;
  }
  .combo-product-card .btn-buy-now {
    font-size: 12px !important;
    padding: 7px 6px !important;
  }
  .combo-product-card .btn-action-icon {
    width: 32px !important;
    height: 32px !important;
  }

  /* Video nằm dưới full chiều ngang trên mobile với tỉ lệ 16:9 */
  .combo-video-feature-card {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 6px;
    border-radius: 12px !important;
  }
  .combo-video-player-container {
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
    border-radius: 11px 11px 0 0 !important;
  }
  .combo-video-caption {
    padding: 12px 14px 14px !important;
  }
  .combo-video-caption-title {
    font-size: 15px !important;
  }
  .combo-video-caption-desc {
    font-size: 12px !important;
  }
}

/* --------------------------------------------------------------------------
   Section 4: Dual Promo Banners (2:1 Asymmetrical Layout)
   -------------------------------------------------------------------------- */
.promo-banners-section {
  padding: 10px 0 48px;
}

.promo-banners-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
}

/* Left Banner: Deal Tuần Này & Right Banner: Tư Vấn (Full-Frame Background Image) */
.promo-banner-card {
  border-radius: 14px;
  padding: 34px 38px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 250px;
  box-shadow: 0 10px 30px rgba(9, 30, 54, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.promo-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(9, 30, 54, 0.2);
}

.promo-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.promo-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-banner-card:hover .promo-bg-img {
  transform: scale(1.06);
}

.promo-bg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.promo-overlay-deal {
  background: linear-gradient(90deg, rgba(38, 4, 8, 0.94) 0%, rgba(48, 6, 10, 0.82) 48%, rgba(48, 6, 10, 0.45) 80%, rgba(48, 6, 10, 0.2) 100%);
}

.promo-overlay-quiz {
  background: linear-gradient(90deg, rgba(10, 18, 36, 0.94) 0%, rgba(12, 24, 48, 0.82) 48%, rgba(12, 24, 48, 0.45) 80%, rgba(12, 24, 48, 0.2) 100%);
}

.promo-card-edit-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 15;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.promo-card-edit-btn:hover {
  background: var(--primary-color);
  border-color: #FFFFFF;
  transform: scale(1.05);
}

.banner-deal {
  color: #FFFFFF;
}

.banner-content {
  flex: 1;
  max-width: 380px;
  position: relative;
  z-index: 5;
}

.deal-badge {
  display: inline-block;
  background-color: #FCD34D;
  color: #78350F;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.quiz-badge {
  display: inline-block;
  background-color: #38BDF8;
  color: #0C4A6E;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.banner-deal-title {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-deal-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.btn-banner-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: var(--primary-navy);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-banner-white:hover {
  background-color: #F8FAFC;
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.btn-banner-white svg {
  width: 14px;
  height: 14px;
}

.banner-quiz-title {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-quiz-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.btn-banner-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-banner-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.55);
  filter: brightness(1.08);
}

.btn-banner-gold svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .promo-banners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .promo-banner-card {
    padding: 28px 24px;
    min-height: 210px;
  }
  .banner-deal-title, .banner-quiz-title {
    font-size: 20px;
  }
}

/* --------------------------------------------------------------------------
   Section 5: USPs ("Vì sao nên chọn ANestLand?")
   Nền đỏ primary (#5E0A06), chữ trắng, đảm bảo tính tương phản cao WCAG AAA
   -------------------------------------------------------------------------- */
.features-section {
  padding: 10px 0 48px;
}

.features-container {
  background: linear-gradient(135deg, #A3120F 0%, #5E0A06 52%, #420703 100%);
  border: 1px solid rgba(224, 188, 114, 0.32);
  border-radius: 36px;
  padding: 34px 40px;
  box-shadow: 0 12px 36px rgba(102, 11, 5, 0.22);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .features-container {
    border-radius: 20px;
    padding: 24px 18px;
  }
}

.features-title-row {
  margin-bottom: 24px;
}

.features-title-row h2 {
  font-size: 21px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.feature-item:hover .feature-icon-circle {
  background-color: #FFFFFF;
  color: #5E0A06;
  border-color: #FFFFFF;
  transform: scale(1.08);
}

.feature-icon-circle svg {
  width: 24px;
  height: 24px;
}

.feature-info h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.feature-info p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Section 6: Knowledge & Articles (Cẩm nang dinh dưỡng)
   Desktop: 2 cột (Cột 1: 1 bài mới nhất, Cột 2: 4 bài 2 dọc 2 ngang bằng chiều cao)
   Mobile: 4 bài chia 2 cột (Ảnh đại diện, danh mục, tiêu đề)
   -------------------------------------------------------------------------- */
.knowledge-section {
  padding: 24px 0 60px;
}

/* ==========================================================================
   Knowledge Section: 1 Featured Left, 6 Sub-articles Right (2 Rows x 3 Cols)
   Compact height, title clamped to 2 lines
   ========================================================================== */
.knowledge-grid-1-6 {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 1400px) {
  .knowledge-grid-1-6 {
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 24px;
  }
}

/* Featured Article Compact (Left) */
.featured-article-card-compact {
  background-color: var(--bg-card, #FFFFFF);
  border: 1px solid var(--border-color, #F0E6DB);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.featured-article-card-compact:hover {
  border-color: #E0BC72;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.featured-thumb-wrap-compact {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 195px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-secondary, #FDFBF7);
  display: block;
}

.featured-thumb-wrap-compact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-article-card-compact:hover .featured-thumb-wrap-compact img {
  transform: scale(1.04);
}

.featured-article-body-compact {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-article-body-compact .article-tag {
  display: inline-block;
  background-color: #FDF2F1;
  color: #5E0A06;
  border: 1px solid #F7D7D4;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm, 4px);
  margin-bottom: 6px;
  width: fit-content;
}

.featured-article-title-compact {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark, #2D2323);
  line-height: 1.35;
  height: 2.7em;
  margin: 4px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-article-title-compact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.featured-article-title-compact a:hover {
  color: var(--primary-color, #5E0A06);
}

.featured-article-excerpt-compact {
  font-size: 12.5px;
  color: var(--text-muted, #64748B);
  line-height: 1.45;
  height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  flex: 1;
}

.featured-author-row-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle, #F8F3EC);
  padding-top: 8px;
  margin-top: auto;
}

.featured-author-row-compact .featured-article-date {
  font-size: 11.5px;
  color: var(--text-muted, #94A3B8);
}

/* Sub Articles Grid: 3 columns x 2 rows = 6 items */
.sub-articles-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  height: 100%;
}

.sub-card-compact {
  background-color: var(--bg-card, #FFFFFF);
  border: 1px solid var(--border-color, #F0E6DB);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}

.sub-card-compact:hover {
  border-color: #E0BC72;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.sub-compact-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 95px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-secondary, #FDFBF7);
  display: block;
}

.sub-compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.sub-card-compact:hover .sub-compact-thumb img {
  transform: scale(1.05);
}

.sub-compact-body {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-tag-mini {
  display: inline-block;
  background-color: #FAF4E8;
  color: #8B4513;
  border: 1px solid #F1E5CF;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  margin-bottom: 4px;
  width: fit-content;
  line-height: 1.3;
}

.sub-compact-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark, #2D2323);
  line-height: 1.35;
  height: 2.7em;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sub-compact-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sub-compact-title a:hover {
  color: var(--primary-color, #5E0A06);
}

.sub-compact-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-muted, #94A3B8);
  border-top: 1px solid var(--border-subtle, #F8F3EC);
  padding-top: 6px;
  margin-top: auto;
}

.sub-compact-readmore {
  color: var(--primary-color, #5E0A06);
  display: inline-flex;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .knowledge-grid-1-6 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sub-articles-grid-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}

@media (max-width: 640px) {
  .sub-articles-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 10px;
  }
  .sub-compact-thumb {
    max-height: 85px;
  }
}

@media (max-width: 360px) {
  .sub-articles-grid-6 {
    grid-template-columns: 1fr;
  }
}

/* Desktop layout (>= 769px): 2 columns matching height */
.knowledge-desktop-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .knowledge-desktop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

/* Cột 1: Bài viết mới nhất (Featured) */
.featured-article-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.featured-article-card:hover {
  border-color: #E0BC72;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.featured-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-secondary);
  display: block;
}

.featured-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-article-card:hover .featured-thumb-wrap img {
  transform: scale(1.04);
}

.featured-article-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-article-body .article-tag {
  display: inline-block;
  background-color: #FDF2F1;
  color: #5E0A06;
  border: 1px solid #F7D7D4;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  width: fit-content;
}

.featured-article-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.42;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-article-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.featured-article-title a:hover {
  color: var(--primary-color, #5E0A06);
}

.featured-article-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.featured-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  margin-top: auto;
}

.featured-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F5ECE0;
  color: #5E0A06;
  border: 1.5px solid #E8DCCF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.featured-author-meta {
  display: flex;
  flex-direction: column;
}

.featured-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.featured-article-date {
  font-size: 12px;
  color: var(--text-muted);
}

.featured-readmore-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color, #5E0A06);
  transition: gap 0.2s ease;
}

.featured-readmore-link:hover {
  gap: 7px;
}

/* Cột 2: 4 bài dạng 2 dọc 2 ngang (2x2 grid) cùng chiều cao Cột 1 */
.sub-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  height: 100%;
}

.sub-article-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.sub-article-card:hover {
  border-color: #E0BC72;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sub-article-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-secondary);
  display: block;
}

.sub-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sub-article-card:hover .sub-article-thumb img {
  transform: scale(1.05);
}

.sub-article-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sub-article-body .article-tag {
  display: inline-block;
  background-color: #FAF4E8;
  color: #8B4513;
  border: 1px solid #F1E5CF;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 6px;
  width: fit-content;
}

.sub-article-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.42;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.sub-article-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.sub-article-title a:hover {
  color: var(--primary-color, #5E0A06);
}

.sub-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
  margin-top: auto;
}

.sub-article-readmore {
  color: var(--primary-color, #5E0A06);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.sub-article-readmore:hover {
  color: var(--primary-hover);
}

/* Mobile View: 4 bài chia 2 cột (<= 768px) */
.knowledge-mobile-grid {
  display: none;
}

@media (max-width: 768px) {
  .knowledge-desktop-grid {
    display: none;
  }

  .knowledge-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .mobile-article-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
  }

  .mobile-article-thumb {
    width: 100%;
    aspect-ratio: 16 / 11;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
    display: block;
  }

  .mobile-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-article-body {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .mobile-article-body .article-tag {
    display: inline-block;
    background-color: #FAF4E8;
    color: #8B4513;
    border: 1px solid #F1E5CF;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 6px;
    width: fit-content;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .mobile-article-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
  }

  .mobile-article-title a {
    color: inherit;
  }
}

/* Right: Dentaluck Membership Card */
.membership-card {
  background: var(--bg-member);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(38, 5, 3, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.membership-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.membership-crown-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(253, 211, 77, 0.2);
  border: 1.5px solid #FCD34D;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FCD34D;
  font-size: 18px;
}

.membership-title-wrap h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.membership-title-wrap p {
  font-size: 12px;
  color: #E0BC72;
}

.membership-benefits-list {
  list-style: none;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #F1F5F9;
}

.benefit-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.membership-action-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.btn-member-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #FFFFFF;
  color: var(--primary-navy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-member-explore:hover {
  background-color: #F8FAFC;
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.membership-gift-img {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: transparent !important;
  color: #FFFFFF !important;
  padding-top: 0;
  margin-top: 48px;
  position: relative;
  font-size: 13.5px;
}

.footer-main-content {
  background-color: var(--bg-footer, #4A0905);
  padding-top: 36px;
  color: #FFFFFF !important;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.footer-brand p {
  font-size: 13.5px;
  color: #FFFFFF !important;
  opacity: 1 !important;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  color: #FFFFFF !important;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: #FFE082 !important;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: #FFFFFF !important;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #FFE082 !important;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links-list a {
  color: #FFFFFF !important;
  opacity: 1 !important;
  font-size: 13.5px;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: #FFE082 !important;
  opacity: 1 !important;
  padding-left: 4px;
}

/* Social Media Icons */
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-circle-btn:hover {
  background-color: var(--primary-blue);
  transform: translateY(-3px);
}

.social-circle-btn svg {
  width: 16px;
  height: 16px;
}

/* Newsletter Subscribe */
.newsletter-form {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 3px;
  margin-top: 6px;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 9px 12px;
  color: #FFFFFF;
  font-size: 12.5px;
}

.newsletter-input::placeholder {
  color: #64748B;
}

.newsletter-btn {
  background-color: var(--primary-blue);
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: var(--accent-cyan);
}

.newsletter-btn svg {
  width: 16px;
  height: 16px;
}

/* Bottom Bar */
.footer-bottom-bar {
  padding: 22px 0 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: #FFFFFF !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom-bar p {
  color: #FFFFFF !important;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  opacity: 1 !important;
}

.footer-bottom-bar a {
  color: #FFFFFF !important;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-bottom-bar a:hover {
  color: #FFE082 !important;
}

.footer-bottom-links a:hover {
  color: #CBD5E1;
}

/* --------------------------------------------------------------------------
   Interactive Modals & Toast Alerts
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: #FFFFFF;
  color: var(--text-dark);
  border-left: 4px solid var(--success);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  pointer-events: auto;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  color: var(--success);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 25, 46, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.modal-close-btn:hover {
  background: var(--border-color);
  color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   Responsive Design Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .hero-description {
    margin: 0 auto 28px;
  }
  .hero-brand-tag {
    justify-content: center;
  }
  .hero-dots {
    justify-content: center;
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .knowledge-layout-grid {
    grid-template-columns: 1fr;
  }
  .articles-subgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Ẩn hoàn toàn top-bar, main-nav-bar và cụm desktop action buttons */
  .top-bar {
    display: none !important;
  }
  .main-nav-bar {
    display: none !important;
  }
  .desktop-header-actions {
    display: none !important;
  }

  /* Header trên mobile:
     1. Row 1: Logo (trái) + Button menu (phải)
     2. Row 2: Thanh tìm kiếm (full-width)
  */
  .main-header {
    padding: 8px 0 10px !important;
  }
  .header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .logo-wrapper {
    order: 1 !important;
    flex: 0 1 auto !important;
    max-width: calc(100% - 54px) !important;
    min-width: 0 !important;
  }
  .brand-link {
    gap: 8px !important;
  }
  .brand-logo-img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    object-fit: contain !important;
  }
  .brand-title {
    font-size: 1.25rem !important;
  }
  .brand-slogan {
    font-size: 8px !important;
    letter-spacing: 0.8px !important;
  }
  .mobile-menu-trigger-btn {
    order: 2 !important;
    display: flex !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    width: 40px !important;
    height: 40px !important;
  }
  .search-form {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 0 !important;
    clear: both !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .search-input-group {
    padding: 2px 4px 2px 14px !important;
    height: 42px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .search-input {
    font-size: 13.5px !important;
    padding: 6px 6px 6px 0 !important;
    width: 100% !important;
  }
  .search-btn {
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
  }

  /* Kích hoạt Menu Footer Mobile (Fixed Bottom Nav) */
  .mobile-bottom-nav {
    display: grid !important;
  }

  /* Ẩn nút Zalo & Phone nổi trên mobile vì đã tích hợp trực tiếp vào Bottom Nav */
  .floating-contact-widget .floating-zalo,
  .floating-contact-widget .floating-phone {
    display: none !important;
  }
  .floating-contact-widget {
    bottom: 74px !important;
    right: 16px !important;
  }

  /* Loại bỏ khoảng trống vàng dưới footer trên mobile */
  body {
    padding-bottom: 0 !important;
  }
  .site-footer {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .footer-main-content {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .hero-banner-container {
    padding: 32px 20px;
  }
  .hero-title {
    font-size: 28px;
  }
  .promo-banners-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
  }
  .section-title-wrap h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  /* Ẩn bớt mô tả trên mobile để card thanh thoát, gọn gàng */
  .product-card-desc {
    display: none !important;
  }

  /* Tối ưu kích thước card sản phẩm trên mobile */
  .product-card {
    padding: 12px 10px 14px;
    border-radius: 12px;
  }
  .product-image-wrap {
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    padding: 0;
    margin-bottom: 8px;
  }
  .product-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
  }
  .product-card-wishlist-btn {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
  }
  .product-card-wishlist-btn svg {
    width: 14px;
    height: 14px;
  }
  .product-title {
    font-size: 13px;
    line-height: 1.35;
    min-height: 35px;
    margin: 2px 0 4px;
  }
  .product-price-row {
    margin-bottom: 8px;
    gap: 4px;
  }
  .product-current-price {
    font-size: 15.5px;
  }
  .product-old-price {
    font-size: 11px;
  }
  .product-action-row {
    gap: 6px;
  }
  .product-action-row .btn-buy-now {
    font-size: 11.5px;
    padding: 6px 8px;
    height: 32px;
  }
  .product-action-row .btn-action-icon {
    width: 32px;
    height: 32px;
  }
  .product-action-row .btn-action-icon svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 480px) {
  .product-action-row {
    gap: 6px;
  }
  .btn-buy-now {
    font-size: 11.5px;
    padding: 7px 6px;
    height: 34px;
    white-space: nowrap;
  }
  .btn-action-icon {
    width: 34px;
    height: 34px;
  }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .articles-subgrid {
    grid-template-columns: 1fr;
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .category-vibe-wrap {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ==========================================================================
   WordPress Core & Theme Extensions Styles
   ========================================================================== */

/* Breadcrumbs */
.dentaluck-breadcrumbs {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 12px 0;
  font-size: 13px;
  color: #64748B;
}
.dentaluck-breadcrumbs .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.dentaluck-breadcrumbs a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.dentaluck-breadcrumbs a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}
.dentaluck-breadcrumbs .bc-sep {
  color: #94A3B8;
}
.dentaluck-breadcrumbs .bc-current {
  color: var(--text-dark);
  font-weight: 600;
}

/* Page & Single Layout */
.page-main-layout,
.single-main-layout,
.archive-main-layout,
.search-main-layout,
.error-404-layout,
.woocommerce-main-layout {
  padding: 40px 0 60px;
  background-color: var(--bg-soft);
  min-height: calc(100vh - 350px);
}

.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.page-content-card,
.single-article-card,
.woocommerce-content-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

.entry-header {
  margin-bottom: 24px;
}
.entry-meta-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #64748B;
  flex-wrap: wrap;
}
.entry-category-badge {
  background: var(--accent-light-blue);
  color: var(--primary-blue);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 12px;
}
.entry-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
}
.entry-featured-media {
  margin: 20px 0 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.entry-featured-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}
.entry-content {
  color: #334155;
  font-size: 15.5px;
  line-height: 1.8;
}
.entry-content p {
  margin-bottom: 18px;
}
.entry-content h2, .entry-content h3, .entry-content h4 {
  color: var(--text-dark);
  font-weight: 800;
  margin: 32px 0 16px;
  line-height: 1.4;
}
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}
.entry-content blockquote {
  border-left: 4px solid var(--primary-blue);
  background: #F8FAFC;
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: #475569;
}
.entry-content ul, .entry-content ol {
  margin: 0 0 20px 24px;
}
.entry-content li {
  margin-bottom: 8px;
}

/* Post Navigation */
.post-navigation {
  margin: 40px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}
.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.post-navigation a {
  text-decoration: none;
  font-weight: 700;
  color: var(--primary-blue);
}
.post-navigation a:hover {
  text-decoration: underline;
}

/* Sidebar Widgets */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.widget {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-light-blue);
  position: relative;
}
.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-blue);
}
.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget ul li {
  padding: 8px 0;
  border-bottom: 1px dashed #E2E8F0;
  font-size: 14px;
}
.widget ul li:last-child {
  border-bottom: none;
}
.widget ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}
.widget ul li a:hover {
  color: var(--primary-blue);
  padding-left: 4px;
}

/* Hotline Card Widget */
.hotline-sidebar-card {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #071E3D 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.hotline-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.hotline-badge-icon svg {
  width: 26px;
  height: 26px;
  stroke: #FFFFFF;
}
.hotline-sidebar-card h3 {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.hotline-sidebar-card p {
  font-size: 13.5px;
  color: #94A3B8;
  margin-bottom: 20px;
  line-height: 1.5;
}
.btn-sidebar-call {
  display: inline-block;
  background: var(--primary-blue);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-sidebar-call:hover {
  background: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Archive & Search Cards */
.archive-header-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.archive-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.archive-subtitle {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}
.search-highlight {
  color: var(--primary-blue);
}
.archive-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.loop-article-card {
  background: #FFFFFF;
}

/* Pagination */
.dentaluck-pagination {
  margin: 32px 0;
  text-align: center;
}
.dentaluck-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.dentaluck-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.dentaluck-pagination .page-numbers:hover,
.dentaluck-pagination .page-numbers.current {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--primary-blue);
}

/* 404 Error Page */
.error-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  max-width: 720px;
  margin: 20px auto;
  box-shadow: var(--shadow-md);
}
.error-badge-404 {
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  letter-spacing: -3px;
}
.error-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.error-desc {
  font-size: 15px;
  color: #64748B;
  margin-bottom: 28px;
  line-height: 1.6;
}
.error-search-box {
  max-width: 460px;
  margin: 0 auto 32px;
}
.error-action-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Comments Area */
.comments-area {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
}
.comments-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}
.comment-body {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}
.comment-author {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.comment-metadata {
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 12px;
}
.comment-content {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.6;
}
.comment-reply-link {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 8px;
  text-decoration: none;
}
.comment-respond {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.comment-reply-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.comment-form p {
  margin-bottom: 16px;
}
.comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
}
.comment-form input[type="submit"] {
  background: var(--primary-blue);
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.2s ease;
}
.comment-form input[type="submit"]:hover {
  background: var(--primary-hover);
}

/* Category Dropdown handled in main navigation */

/* Mobile Toggle & Drawer */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle-btn svg {
  width: 28px;
  height: 28px;
}
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.6);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.mobile-nav-backdrop.active {
  display: block;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 999;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-drawer.active {
  left: 0;
}
.mobile-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-drawer-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #64748B;
  cursor: pointer;
}
.mobile-drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.mobile-search-wrap input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
}
.mobile-menu-items {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.mobile-menu-items li {
  border-bottom: 1px solid #F1F5F9;
}
.mobile-menu-items a {
  display: block;
  padding: 12px 0;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.mobile-menu-items a:hover {
  color: var(--primary-blue);
}
.mobile-drawer-hotline {
  background: var(--accent-light-blue);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-drawer-hotline svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-blue);
}
.mobile-drawer-hotline span {
  font-size: 11.5px;
  color: #64748B;
  display: block;
}
.mobile-drawer-hotline a {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .layout-with-sidebar {
    grid-template-columns: 1fr;
  }
  .mobile-toggle-btn {
    display: block;
  }
  .archive-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Section: Khách Hàng Nói Về ANestLand (Unboxed Editorial Slider)
   Desktop: 3 cột, Mobile: 1 cột chạy ngang từ phải sang trái
   Cột trái: Avatar + Tên bên dưới | Cột phải: Trích câu nói (Không đóng khung)
   ========================================================================== */
.reviews-section {
  padding: 20px 0 52px;
  position: relative;
}

/* Navigation Controls góc trên bên phải header */
.section-slider-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrow-btn:hover {
  background-color: var(--primary-color, #5E0A06);
  color: #FFFFFF;
  border-color: var(--primary-color, #5E0A06);
  transform: translateY(-1px);
}

.slider-arrow-btn:active {
  transform: translateY(0);
}

/* Outer wrapper for slider track */
.reviews-carousel-outer {
  --items-visible: 3;
  --slider-gap: 28px;
  position: relative;
  overflow: hidden;
  padding: 10px 0 18px;
  width: 100%;
}

@media (max-width: 1024px) {
  .reviews-carousel-outer {
    --items-visible: 2;
    --slider-gap: 20px;
  }
}

@media (max-width: 768px) {
  .reviews-carousel-outer {
    --items-visible: 1 !important;
    --slider-gap: 0px !important;
    padding: 6px 0 14px;
  }
}

.reviews-track {
  display: flex;
  gap: var(--slider-gap);
  width: 100%;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Review Item Không đóng khung (Unboxed, background transparent, no border) */
.review-unboxed-item {
  flex: 0 0 calc((100% - (var(--items-visible) - 1) * var(--slider-gap)) / var(--items-visible));
  min-width: 0;
  box-sizing: border-box;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 6px;
  transition: transform 0.25s ease;
}

/* Cột trái: Avatar + Tên bên dưới */
.review-author-col {
  width: 95px;
  min-width: 95px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.review-avatar-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--border-color, #E8DCCF);
  box-shadow: 0 4px 12px rgba(102, 11, 5, 0.08);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.review-unboxed-item:hover .review-avatar-circle {
  transform: scale(1.06);
}

.review-author-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.review-author-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark, #260402);
  margin-top: 8px;
  line-height: 1.35;
  word-break: break-word;
}

.review-author-location {
  font-size: 11.5px;
  color: var(--text-muted, #6B5A53);
  margin-top: 2px;
  line-height: 1.3;
}

/* Cột phải: Trích câu nói & đánh giá */
.review-quote-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-left: 1.5px solid #EFE4D6;
  padding-left: 16px;
}

.review-stars-row {
  display: flex;
  gap: 3px;
  color: #F59E0B;
  margin-bottom: 8px;
}

.review-star-icon {
  width: 14px;
  height: 14px;
}

.review-quote-text {
  font-size: 13.5px;
  line-height: 1.62;
  color: #3E2B27;
  margin: 0 0 10px 0;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-product-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #5E0A06;
  background-color: #FDF2F1;
  border: 1px solid #F7D7D4;
  border-radius: 4px;
  padding: 3px 8px;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: auto;
}

.review-product-tag span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .reviews-carousel-outer {
    --items-visible: 1 !important;
    --slider-gap: 0px !important;
  }
  .reviews-track {
    gap: 0 !important;
  }
  .review-unboxed-item {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 6px 4px !important;
    box-sizing: border-box !important;
    gap: 12px;
  }
  .review-author-col {
    width: 78px;
    min-width: 78px;
  }
  .review-avatar-circle {
    width: 48px;
    height: 48px;
    font-size: 14px;
  }
  .review-author-name {
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.3;
  }
  .review-author-location {
    font-size: 10.5px;
    line-height: 1.25;
  }
  .review-quote-col {
    padding-left: 12px;
    border-left: 1.5px solid #EFE4D6;
    min-width: 0;
  }
  .review-stars-row {
    margin-bottom: 6px;
    gap: 2.5px;
  }
  .review-star-icon {
    width: 13px;
    height: 13px;
  }
  .review-quote-text {
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 8px 0;
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }
  .review-product-tag {
    font-size: 10.5px;
    padding: 3px 8px;
    white-space: normal !important;
    word-break: break-word;
    max-width: 100%;
    display: inline-flex;
    align-items: flex-start;
    line-height: 1.35;
    gap: 5px;
  }
  .review-product-tag svg {
    flex-shrink: 0;
    margin-top: 2px;
  }
  .review-product-tag span {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word;
  }
}

/* Indicators & Centered Slide Dots */
.reviews-dots-wrap,
.reviews-indicators-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  width: 100%;
}

.reviews-dot-btn,
.reviews-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full, 9999px);
  background-color: #E2E8F0;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  outline: none;
}

.reviews-dot-btn:hover,
.reviews-indicator-dot:hover {
  background-color: #CBD5E1;
  transform: scale(1.15);
}

.reviews-dot-btn.active,
.reviews-indicator-dot.active {
  width: 28px;
  border-radius: 14px;
  background-color: var(--primary-color, #5E0A06);
  box-shadow: 0 2px 8px rgba(102, 11, 5, 0.3);
}

/* ==========================================================================
   Storefront Shop Archive - Unified Architecture (No shop.css)
   Tokens: Burgundy (#5E0A06) · Champagne (#FDF4E7) · Gold Accent (#E0BC72)
   Layout: 2-column Desktop (280px sidebar | 1fr content), gap 24px
   Alignment: Single .container ensures exact alignment with Header & Footer
   ========================================================================== */

.shop-page-wrapper {
  background-color: var(--bg-body, #FBF9F5);
  min-height: 80vh;
  padding-bottom: 64px;
}

/* Breadcrumb Bar */
.shop-breadcrumb-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border-subtle, #E2E8F0);
  padding: 14px 0;
}

.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #64748B;
}

.shop-breadcrumb a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.15s;
}

.shop-breadcrumb a:hover {
  color: var(--primary-color, #5E0A06);
}

.shop-breadcrumb .current {
  color: var(--primary-color, #5E0A06);
  font-weight: 600;
}

/* Main Shop Wrap */
.shop-main-wrap {
  padding-top: 28px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

/* Sidebar: MỘT khung duy nhất, bo góc 12px, border 1px, cuộn mượt */
.shop-sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle, #E2E8F0);
  border-radius: var(--radius-card, 12px);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.shop-sidebar::-webkit-scrollbar {
  width: 5px;
}
.shop-sidebar::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.shop-filter-header {
  display: flex;
  align-items: center;
  justifyContent: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-subtle, #E2E8F0);
}

.shop-filter-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-dark, #260402);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-filter-header-icon {
  color: var(--primary-color, #5E0A06);
}

.shop-filter-clear-btn {
  font-size: 12.5px;
  color: var(--primary-color, #5E0A06);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
  transition: opacity 0.15s;
}
.shop-filter-clear-btn:hover {
  text-decoration: underline;
}

/* Filter Groups inside Sidebar (Ảnh 1) */
.shop-filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid #F1F5F9;
}
.shop-filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.shop-filter-group-header {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark, #260402);
  display: flex;
  align-items: center;
  justifyContent: space-between;
  cursor: pointer;
  user-select: none;
  padding: 2px 0;
}

.shop-filter-title-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: #1E293B;
}

.shop-group-icon {
  color: var(--primary-color, #5E0A06);
  flex-shrink: 0;
}

/* Category List & Rows (Ảnh 1) */
.shop-cat-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-cat-list.scrollable {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Thin modern scrollbar for Category list */
.shop-cat-list.scrollable::-webkit-scrollbar {
  width: 4px;
}
.shop-cat-list.scrollable::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}
.shop-cat-list.scrollable::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
.shop-cat-list.scrollable::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

.shop-cat-item {
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  background: transparent;
  border: none;
}

.shop-cat-item:hover {
  background: #F8FAFC;
  color: var(--primary-color, #5E0A06);
}

.shop-cat-item.active {
  background: #FDF2F1;
  color: var(--primary-color, #5E0A06);
  font-weight: 700;
}

.shop-cat-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.shop-cat-count {
  margin-left: auto;
  min-width: 24px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: #F1F5F9;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.shop-cat-item.active .shop-cat-count {
  background: #FCE7E5;
  color: var(--primary-color, #5E0A06);
}

/* Price Presets (Ảnh 1: nút xếp dọc, active nền đỏ đậm chữ trắng) */
.shop-price-presets {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.shop-price-preset-btn {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  color: #334155;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  text-align: left;
  transition: all 0.15s ease;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.shop-price-preset-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #1E293B;
}

.shop-price-preset-btn.active {
  background: var(--primary-color, #5E0A06);
  color: #FFFFFF;
  font-weight: 700;
  border-color: var(--primary-color, #5E0A06);
  box-shadow: 0 2px 6px rgba(102, 11, 5, 0.18);
}

.shop-price-custom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed #E2E8F0;
}

.shop-price-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-price-input {
  flex: 1;
  height: 38px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-control, 8px);
  padding: 0 10px;
  font-size: 13px;
  background: #FFFFFF;
  color: #1E293B;
  outline: none;
}
.shop-price-input:focus {
  border-color: var(--primary-color, #5E0A06);
}

.shop-price-apply-btn {
  min-height: 38px;
  border: none;
  border-radius: var(--radius-control, 8px);
  background: var(--primary-color, #5E0A06);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-price-apply-btn:hover {
  background: var(--primary-hover, #A3120F);
}

/* Checkbox Filter Row (OnSale, InStock, Brands) */
.shop-filter-checkbox-item {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: #334155;
  transition: background 0.15s;
  width: 100%;
  background: transparent;
}
.shop-filter-checkbox-item:hover {
  background: #F8FAFC;
}
.shop-filter-checkbox-item.active {
  background: #FDF2F1;
  color: var(--primary-color, #5E0A06);
  font-weight: 600;
}

/* Right Content Column: Xếp dọc, khoảng cách chính xác 20px */
.shop-main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* Title Card (Ảnh 2: Thu nhỏ lại, title + sort cùng 1 dòng, không hiển thị số kết quả) */
.shop-header-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle, #E2E8F0);
  border-radius: var(--radius-lg, 8px);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.shop-header-card.compact {
  padding: 14px 20px;
  border-radius: var(--radius-lg, 8px);
}

.shop-header-top.single-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.shop-page-title.compact {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark, #260402);
  line-height: 1.25;
  margin: 0;
}

.shop-header-controls {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-sort-wrapper.compact {
  display: flex;
  align-items: center;
}

.shop-sort-select.compact {
  height: 38px;
  min-width: 190px;
  padding: 0 12px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  background: #FFFFFF;
  font-size: 13.5px;
  color: #1E293B;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}
.shop-sort-select.compact:focus {
  border-color: var(--primary-color, #5E0A06);
}

/* Active Filter Chips */
.shop-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
  width: 100%;
}

.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #F1F5F9;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #E2E8F0;
}

.shop-chip-remove {
  border: none;
  background: none;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  transition: color 0.15s;
}
.shop-chip-remove:hover {
  color: var(--primary-color, #5E0A06);
}

/* Product Grid */
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Product Card (Bo góc tương tự trang chủ: radius-lg = 8px) */
.shop-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle, #E2E8F0);
  border-radius: var(--radius-lg, 8px);
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
}

.shop-product-card:hover {
  border-color: var(--color-gold-accent, #E0BC72);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(102, 11, 5, 0.09);
}

/* Image Wrap: Tỉ lệ thống nhất 3:2, padding 10px, object-fit contain */
.shop-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #F8FAFC;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.shop-card-image-link {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.shop-card-image-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.shop-card-image-inner img {
  object-fit: contain !important;
  transition: transform 0.25s ease;
}

.shop-product-card:hover .shop-card-image-inner img {
  transform: scale(1.05);
}

/* Nút Trái Tim Wishlist góc trên-phải ảnh sản phẩm */
.shop-card-wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 0;
}
.shop-card-wishlist-btn:hover {
  background: #FFFFFF;
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(102, 11, 5, 0.15);
  border-color: #FCA5A5;
}
.shop-card-wishlist-btn.active {
  background: #FFF1F2;
  border-color: #FECDD3;
}

.shop-badge-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: var(--color-discount-red, #B91C1C);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  line-height: 1.2;
}

.shop-badge-outofstock {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: #64748B;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  line-height: 1.2;
}

/* Clickable Body Link */
.shop-card-body-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.shop-card-body {
  padding: 14px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.shop-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shop-card-brand {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shop-card-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  margin: 0;
}

.shop-card-price-row {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-current-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-color, #5E0A06);
}

.shop-regular-price {
  font-size: 13px;
  color: #94A3B8;
  text-decoration: line-through;
}

/* Card Actions Pinned to Bottom, SEPARATED FROM <Link> */
.shop-card-actions {
  padding: 12px 16px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #F8FAFC;
  margin-top: auto;
}

.shop-btn-buy {
  flex: 1;
  height: 40px;
  border-radius: var(--radius-control, 8px);
  background: var(--primary-color, #5E0A06);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s;
}
.shop-btn-buy:hover:not(:disabled) {
  background: var(--primary-hover, #A3120F);
}
.shop-btn-buy:disabled {
  background: #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
}

.shop-btn-cart {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-control, 8px);
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: var(--primary-color, #5E0A06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}
.shop-btn-cart:hover:not(:disabled) {
  background: #F8FAFC;
  border-color: var(--primary-color, #5E0A06);
}
.shop-btn-cart:disabled {
  border-color: #E2E8F0;
  color: #CBD5E1;
  cursor: not-allowed;
}

/* Empty State */
.shop-empty-state {
  text-align: center;
  padding: 60px 24px;
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle, #E2E8F0);
  border-radius: var(--radius-card, 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.shop-empty-state p {
  color: #64748B;
  font-size: 15px;
  margin: 0;
}

/* Pagination: Buttons 40x40px, cách lưới 32px */
.shop-pagination {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.shop-page-link {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  border-radius: var(--radius-control, 8px);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}
.shop-page-link:hover:not(.active):not(.disabled) {
  border-color: var(--primary-color, #5E0A06);
  color: var(--primary-color, #5E0A06);
}
.shop-page-link.active {
  background: var(--primary-color, #5E0A06);
  border-color: var(--primary-color, #5E0A06);
  color: #FFFFFF;
  font-weight: 700;
}
.shop-page-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Mobile Filter Trigger Button */
.shop-mobile-filter-trigger {
  display: none;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-control, 8px);
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
  cursor: pointer;
}

/* Mobile Filter Drawer Overlay */
.shop-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
}
.shop-drawer-overlay.open {
  display: block;
}

.shop-drawer-content {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 340px;
  max-width: 88vw;
  background: #FFFFFF;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 16px;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.25s ease-out;
}
.shop-drawer-overlay.open .shop-drawer-content {
  transform: translateX(0);
}

/* Responsive Overrides */
@media (max-width: 1199px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    display: none;
  }
  .shop-mobile-filter-trigger {
    display: inline-flex;
  }
  .shop-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .shop-main-wrap {
    padding-top: 20px;
  }
  .shop-header-card {
    padding: 16px;
  }
  .shop-header-card.compact {
    padding: 12px 14px;
  }
  .shop-header-top.single-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }
  .shop-page-title.compact {
    font-size: 16px;
    margin: 0;
  }
  .shop-header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .shop-sort-select.compact {
    min-width: 135px;
    height: 36px;
    font-size: 12.5px;
  }
  .shop-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .shop-card-body {
    padding: 12px 12px 8px;
  }
  .shop-card-title {
    font-size: 13.5px;
    min-height: 38px;
  }
  .shop-current-price {
    font-size: 16px;
  }
  .shop-page-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .shop-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .shop-card-actions {
    padding: 8px 10px 12px;
    gap: 6px;
  }
  .shop-btn-buy {
    font-size: 12px;
    height: 36px;
  }
  .shop-btn-cart {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================================
   STOREFRONT SHARED EDITORIAL ARCHITECTURE (REUSABLE COMPONENTS)
   Adheres to Rule 1A: Reusable across pages, No 100vw/100vh, Anti-overflow,
   Design Tokens driven (Burgundy, Ivory, Champagne, Gold)
   ========================================================================== */

/* 1. Storefront Breadcrumb */
.storefront-breadcrumb-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  width: 100%;
}

.storefront-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.storefront-breadcrumb-link {
  color: var(--text-muted);
  transition: var(--transition);
  text-decoration: none;
}

.storefront-breadcrumb-link:hover {
  color: var(--primary-color);
}

.storefront-breadcrumb-current {
  color: var(--primary-color);
  font-weight: 700;
}

/* 2. Storefront Hero (Full-bleed background with clean container overlay) */
.storefront-hero {
  position: relative;
  width: 100%;
  min-height: clamp(380px, 52svh, 500px);
  display: flex;
  align-items: center;
  overflow: clip;
}

.storefront-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.storefront-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  transform: scale(1.01);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.storefront-hero-slide-item.active .storefront-hero-bg-img {
  transform: scale(1.04);
}

.storefront-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(26, 13, 12, 0.94) 0%,
    rgba(26, 13, 12, 0.84) 38%,
    rgba(26, 13, 12, 0.50) 65%,
    rgba(26, 13, 12, 0.15) 85%,
    rgba(26, 13, 12, 0.0) 100%
  );
  pointer-events: none;
}

.storefront-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 36px;
  padding-bottom: 36px;
}

.storefront-hero-content {
  max-width: 580px;
  color: #FFFFFF;
}

.storefront-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.storefront-hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--accent-cyan);
}

.storefront-hero-title {
  font-family: var(--font-heading), 'STIX Two Text', Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-bottom: 14px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.storefront-hero-lead {
  font-size: clamp(13.5px, 1.25vw, 15px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}

.storefront-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Storefront Hero Slider (Reusable carousel with smooth cross-fade) */
.storefront-hero-slider {
  position: relative;
  width: 100%;
  min-height: clamp(480px, 38vw, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #1A0D0C;
  margin-bottom: clamp(24px, 3.2vw, 36px);
}

.storefront-hero-slider .storefront-hero-container {
  padding-left: clamp(48px, 6vw, 84px);
  padding-right: clamp(48px, 6vw, 84px);
}

.storefront-hero-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.7s;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.storefront-hero-slide-item.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.storefront-hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(20, 10, 10, 0.45);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
  line-height: 1;
  transition: var(--transition);
  user-select: none;
}

.storefront-hero-nav-arrow:hover {
  background: var(--primary-color);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-50%) scale(1.06);
}

.storefront-hero-nav-arrow.prev {
  left: 20px;
}

.storefront-hero-nav-arrow.next {
  right: 20px;
}

.storefront-hero-dots,
.storefront-hero-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.storefront-hero-dot,
.storefront-hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.storefront-hero-dot:hover,
.storefront-hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: scale(1.15);
}

.storefront-hero-dot.active,
.storefront-hero-slider-dot.active {
  width: 32px;
  border-radius: 6px;
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(224, 188, 114, 0.6);
}

/* Storefront Generic Buttons */
.storefront-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent-cyan);
  color: var(--primary-dark);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 4px 14px rgba(224, 188, 114, 0.3);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.storefront-btn-primary:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 188, 114, 0.45);
}

.storefront-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.storefront-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.24);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.storefront-btn-burgundy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: 1px solid var(--primary-color);
  box-shadow: 0 4px 14px rgba(102, 11, 5, 0.25);
  transition: var(--transition);
  cursor: pointer;
}

.storefront-btn-burgundy:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(102, 11, 5, 0.35);
}

/* 3. Section Wrapper Base - Harmonized with homepage spacing */
.storefront-section {
  width: 100%;
  padding: clamp(32px, 4.2vw, 50px) 0;
  position: relative;
}

.storefront-section.bg-ivory {
  background-color: var(--color-ivory, #FBF5E8);
}

.storefront-section.bg-white {
  background-color: #FFFFFF;
}

.storefront-section.bg-burgundy {
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.storefront-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(20px, 2.8vw, 32px);
}

.storefront-section-tag {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
  display: block;
}

.storefront-section.bg-burgundy .storefront-section-tag {
  color: var(--accent-cyan);
}

.storefront-section-title {
  font-family: var(--font-main);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.3;
  color: var(--color-text-editorial-main, #2A1413);
  margin-bottom: 8px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.storefront-section.bg-burgundy .storefront-section-title {
  color: #FFFFFF;
}

.storefront-section-lead {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-editorial-sub, #6C5040);
  overflow-wrap: anywhere;
}

.storefront-section.bg-burgundy .storefront-section-lead {
  color: rgba(255, 255, 255, 0.88);
}

/* 4. Storefront Split Section (Editorial Image & Text) */
.storefront-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  width: 100%;
}

.storefront-split-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: clip;
  aspect-ratio: 4 / 3;
  width: 100%;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.storefront-split-content {
  width: 100%;
  min-width: 0;
}

.storefront-split-title {
  font-family: var(--font-main);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--color-text-editorial-main, #2A1413);
  line-height: 1.3;
  margin-bottom: 12px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.storefront-split-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-editorial-sub, #6C5040);
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.storefront-editorial-callout {
  margin-top: 18px;
  padding: 12px 16px;
  background-color: var(--color-ivory, #FBF5E8);
  border-left: 3px solid var(--gold-deep);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 12.5px;
  color: var(--color-text-editorial-sub, #6C5040);
  line-height: 1.6;
}

.storefront-editorial-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  background: #FDF2F1;
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-top: 10px;
}

/* 5. Values & Commitments 3-Column Grid */
.storefront-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  width: 100%;
}

.storefront-value-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 2.4vw, 26px);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.storefront-value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #F87171;
}

.storefront-value-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background-color: #FDF2F1;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid #FECACA;
}

.storefront-value-title {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--color-text-editorial-main, #2A1413);
  margin-bottom: 6px;
}

.storefront-value-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-editorial-sub, #6C5040);
  margin: 0;
  overflow-wrap: anywhere;
}

/* 6. Product Ecosystem (Featured Focus + Grid) */
.storefront-ecosystem-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 3vw, 36px);
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 2.8vw, 30px);
  margin-bottom: clamp(20px, 2.8vw, 30px);
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.storefront-ecosystem-featured-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: clip;
  width: 100%;
  background-color: var(--bg-body);
}

.storefront-ecosystem-featured-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-deep) 0%, #8C651A 100%);
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.storefront-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  width: 100%;
}

.storefront-ecosystem-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
}

.storefront-ecosystem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #F87171;
}

.storefront-ecosystem-thumb {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 6px;
  background-color: var(--bg-body);
  border-radius: var(--radius-md);
}

.storefront-ecosystem-thumb img {
  max-height: 110px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.storefront-ecosystem-card:hover .storefront-ecosystem-thumb img {
  transform: scale(1.06);
}

.storefront-ecosystem-name {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--color-text-editorial-main, #2A1413);
  margin-bottom: 4px;
}

.storefront-ecosystem-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-text-editorial-sub, #6C5040);
  margin-bottom: 14px;
  flex: 1;
  overflow-wrap: anywhere;
}

.storefront-ecosystem-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-color);
  background-color: #FDF2F1;
  border: 1px solid #FECACA;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  margin-top: auto;
}

.storefront-ecosystem-btn:hover {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
}

/* 7. Trust Credentials 4-Column Grid */
.storefront-credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  width: 100%;
}

.storefront-credential-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.storefront-credential-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-cyan);
}

.storefront-credential-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-ivory, #FBF5E8);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid #E8DCCF;
}

.storefront-credential-title {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text-editorial-main, #2A1413);
  margin-bottom: 6px;
}

.storefront-credential-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-text-editorial-sub, #6C5040);
  margin: 0;
  overflow-wrap: anywhere;
}

.storefront-credential-status {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--gold-deep);
  font-weight: 600;
  background-color: #FEF3C7;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* 8. Vision Banner (Deep Burgundy Editorial) */
.storefront-vision-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.storefront-vision-quote {
  font-family: var(--font-main);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.35;
  color: #FFFFFF;
  margin-bottom: 14px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.storefront-vision-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-champagne, #E7D1C3);
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.storefront-vision-divider {
  width: 50px;
  height: 2px;
  background-color: var(--accent-cyan);
  margin: 0 auto 16px;
}

/* 9. FAQ Accordion (Clean details/summary, resilient and anti-overflow) */
.storefront-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.storefront-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: clip;
  transition: var(--transition);
}

.storefront-faq-item[open] {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.storefront-faq-summary {
  padding: 15px 20px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--color-text-editorial-main, #2A1413);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
  outline: none;
  gap: 16px;
}

.storefront-faq-summary::-webkit-details-marker {
  display: none;
}

.storefront-faq-summary:hover {
  color: var(--primary-color);
}

.storefront-faq-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.storefront-faq-item[open] .storefront-faq-icon {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.storefront-faq-content {
  padding: 0 20px 14px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--color-text-editorial-sub, #6C5040);
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  overflow-wrap: anywhere;
}

/* 10. Storefront CTA Band */
.storefront-cta-band {
  background: linear-gradient(135deg, #5E0A06 0%, #5E0A06 100%);
  color: #FFFFFF;
  text-align: center;
  padding: clamp(38px, 4.5vw, 54px) 0 clamp(48px, 5.5vw, 68px); /* safe-area padding at bottom */
  width: 100%;
  position: relative;
}

.storefront-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.storefront-cta-title {
  font-family: var(--font-main);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 10px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.storefront-cta-lead {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}

/* Responsive Overrides (Anti-Overflow & Editorial Cadence) */
@media (max-width: 1023px) {
  .storefront-split-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .storefront-ecosystem-featured {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .storefront-ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .storefront-credentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .storefront-hero-nav-arrow {
    display: none;
  }
}

@media (max-width: 767px) {
  .storefront-hero,
  .storefront-hero-slider {
    min-height: clamp(440px, 75svh, 560px);
  }
  .storefront-hero-slider .storefront-hero-container {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
    padding-bottom: 56px;
  }
  .storefront-hero-nav-arrow {
    display: none;
  }
  .storefront-hero-dots,
  .storefront-hero-slider-dots {
    bottom: 14px;
  }
  .storefront-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 13, 12, 0.45) 0%,
      rgba(26, 13, 12, 0.85) 50%,
      rgba(26, 13, 12, 0.96) 100%
    );
  }
  .storefront-hero-bg-img {
    object-position: center center !important;
  }
  .storefront-values-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .storefront-credentials-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .storefront-faq-summary {
    padding: 16px 18px;
    font-size: 14.5px;
  }
  .storefront-faq-content {
    padding: 0 18px 16px;
    padding-top: 12px;
  }
}

@media (max-width: 480px) {
  .storefront-ecosystem-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .storefront-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .storefront-btn-primary,
  .storefront-btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-hero-bg-img,
  .storefront-value-card,
  .storefront-ecosystem-card,
  .storefront-credential-card,
  .storefront-faq-icon,
  .storefront-btn-primary,
  .storefront-btn-secondary,
  .storefront-btn-burgundy {
    transition: none !important;
    transform: none !important;
  }
}



