/* ==========================================================================
   MULTI-PAGE EXTENSIONS — TRANH SƠN DẦU VĂN TIẾN (vantien.com)
   Kế thừa bảng màu & bố cục Modern Art Gallery, tối ưu 11 trang khách hàng
   ========================================================================== */

/* Mobile Navigation Drawer */
.mobile-menu-toggle {
  display: inline-flex;
}

@media (min-width: 1180px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 18, 16, 0.65);
  backdrop-filter: blur(4px);
  display: none;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-panel {
  width: 86%;
  max-width: 340px;
  background: var(--bg-canvas);
  height: 100%;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.mobile-nav-links {
  list-style: none;
  display: grid;
  gap: 4px;
  margin: 16px 0;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.mobile-nav-links a.active {
  background: var(--accent-emerald);
  color: #fff;
  border-color: var(--accent-emerald);
}

/* Inner Page Hero & Breadcrumbs */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 92% 20%, rgba(212, 163, 89, 0.16) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(27, 59, 47, 0.07) 0%, transparent 48%),
    repeating-linear-gradient(45deg, rgba(166, 117, 50, 0.022) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #F5EFE4 0%, var(--bg-canvas) 100%);
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .page-hero {
    padding: 24px 0 26px;
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.24;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 100%;
  font-size: 15.5px;
}

/* Flash Alert Banner */
.flash-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin: 16px 0;
  font-weight: 500;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.flash-success {
  background: #E8F5EE;
  color: #145339;
  border: 1px solid #A7DEC0;
}

.flash-error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Space Quick Shortcuts Strip on Home */
.space-shortcuts {
  padding: 12px 0 28px;
}

.space-pills-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 768px) {
  .space-pills-row {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
}

.space-shortcut-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: all var(--transition);
}

.space-shortcut-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.space-shortcut-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.space-shortcut-card span:not(.space-icon-badge) {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-muted);
}

/* Dedicated Product Detail Page */
.product-page-wrap {
  padding: 24px 0 56px;
}

.product-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

@media (min-width: 900px) {
  .product-page-grid {
    grid-template-columns: 1.12fr 0.88fr;
    grid-template-rows: auto 1fr;
    column-gap: 40px;
    row-gap: 24px;
  }

  .product-stage-col {
    grid-column: 1;
    grid-row: 1;
  }

  .product-story-col {
    grid-column: 1;
    grid-row: 2;
  }

  .product-panel-col {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.product-sticky-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .product-sticky-panel {
    position: sticky;
    top: 88px;
    padding: 28px;
  }
}

/* Collections Cards */
.collections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.collection-card-full {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.collection-card-full img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.collection-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.advisor-callout {
  background: var(--accent-gold-light);
  border-left: 4px solid var(--accent-gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text-primary);
}

/* Showcase & Testimonials */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 700px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.showcase-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.showcase-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stars-gold {
  color: #D99B26;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 6px;
}

/* Blog / Cam Nang */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 680px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  letter-spacing: 0.005em;
}

.article-prose h2 {
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums;
  font-size: 26px;
  line-height: 1.28;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--accent-emerald);
  text-wrap: pretty !important;
}

.article-prose h3 {
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--accent-emerald);
  text-wrap: pretty !important;
}

.article-prose h4 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  margin: 18px 0 8px;
  color: var(--text-primary);
  text-wrap: pretty !important;
}

.article-prose p {
  margin-bottom: 14px;
  line-height: 1.7;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.article-prose ul,
.article-prose ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.article-prose li {
  margin-bottom: 10px;
  line-height: 1.62;
  text-wrap: pretty;
}

.article-prose li:last-child {
  margin-bottom: 0;
}

.article-prose code {
  font-family: inherit;
  font-size: 0.93em;
  font-weight: 700;
  color: var(--accent-emerald);
  background: #F3EFE7;
  border: 1px solid rgba(28, 25, 23, 0.08);
  padding: 1px 6px;
  border-radius: 5px;
  white-space: nowrap;
}

.article-prose blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent-gold);
  background: #FAF7F1;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  line-height: 1.62;
  color: var(--text-secondary);
}

.article-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Cart, Checkout & VietQR Box */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
  }
}

.content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
}

@media (min-width: 768px) {
  .content-card {
    padding: 28px;
  }
}

.vietqr-card {
  background: #F4F9F6;
  border: 1.5px solid #A7DEC0;
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
}

.vietqr-card img {
  max-width: 240px;
  margin: 12px auto;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

/* Comparison Table */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14.5px;
}

.compare-table th {
  background: var(--bg-warm);
  font-family: var(--font-serif);
  font-size: 18px;
}

/* Status Pill */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

.status-new { background: #FEF3C7; color: #92400E; }
.status-confirmed { background: #DBEAFE; color: #1E40AF; }
.status-crafting { background: #F3E8FF; color: #6B21A8; }
.status-shipping { background: #E0F2FE; color: #075985; }
.status-completed { background: #DCFCE7; color: #166534; }
.status-cancelled { background: #FEE2E2; color: #991B1B; }

/* ==========================================================================
   UPGRADED HOMEPAGE ICONS (HÌNH 1 & HÌNH 2), 12 CATEGORIES & 11 COLLECTIONS
   ========================================================================== */

/* Hình 1: Space Shortcut Icon Badge */
.space-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(145deg, #FDF9F1 0%, #F1E5CF 100%);
  border: 1.5px solid #E2CCA5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.space-shortcut-card:hover .space-icon-badge {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 18px rgba(166, 117, 50, 0.18);
}

.space-shortcut-card.highlight-fengshui {
  background: linear-gradient(180deg, #FDF8EE 0%, #F7ECDA 100%);
  border-color: var(--accent-gold-border);
}

/* Hình 2: Golden Commitments Icon Badge & Centered Symmetrical Alignment */
.craft-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.craft-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.craft-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(145deg, #FDF8EE 0%, #EFE1C6 100%);
  border: 1.5px solid #DFC495;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  flex-shrink: 0;
}

.craft-step-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.craft-card h4 {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.craft-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* 12 Danh mục Tranh Sơn Dầu Grid */
.categories-showcase {
  padding: 28px 0 44px;
}

.cat-12-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .cat-12-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cat-12-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.cat-showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.cat-showcase-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cat-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, #FCF8F0 0%, #F1E6D2 100%);
  border: 1px solid #E5D4B7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-card-head h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.2;
  color: var(--text-primary);
}

.cat-card-head h3 a:hover {
  color: var(--accent-gold);
}

.cat-sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cat-sub-pill {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.cat-sub-pill:hover {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #fff;
}

/* 11 Bộ sưu tập Đặc biệt Quảng bá Trang chủ */
.special-collections-strip {
  padding: 40px 0 48px;
  background:
    radial-gradient(circle at 12% 25%, rgba(212, 163, 89, 0.13) 0%, transparent 48%),
    radial-gradient(circle at 88% 75%, rgba(27, 59, 47, 0.08) 0%, transparent 48%),
    repeating-linear-gradient(0deg, rgba(166, 117, 50, 0.022) 0 1px, transparent 1px 18px),
    #F4EFE6;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.artistic-cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 40px 26px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(20, 46, 36, 0.86) 0%, rgba(44, 34, 24, 0.84) 100%),
    url('../uploads/paintings/thuan-buom.png') center / cover no-repeat;
  border: 1px solid rgba(226, 180, 109, 0.35);
  box-shadow: var(--shadow-md);
}

.special-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .special-col-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1120px) {
  .special-col-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.special-col-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 155px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.special-col-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.special-col-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.08) 0%, rgba(20, 16, 12, 0.82) 100%);
}

.special-col-tile:hover img {
  transform: scale(1.06);
}

.special-col-tile-body {
  position: relative;
  z-index: 2;
  color: #fff;
}

.special-col-tile-body span {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #F3CF94;
  font-weight: 700;
}

.special-col-tile-body strong {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.2;
  display: block;
}

/* Desktop Mega-Menu Dropdown for 12 Categories — Anti-Gap Hover & Prominent Parent Headers */
.nav-mega-item {
  position: relative;
  height: var(--header-height);
  display: inline-flex;
  align-items: center;
}

.mega-dropdown {
  position: fixed;
  top: calc(var(--header-height) - 2px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(1320px, 95vw);
  max-height: calc(100vh - var(--header-height) - 18px);
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-top: 2px solid var(--accent-gold);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 24px 60px rgba(20, 16, 12, 0.18);
  padding: 20px 24px 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease 0.12s, transform 0.18s ease 0.12s, visibility 0.18s ease 0.12s;
  z-index: 160;
}

/* Cầu nối chuột vô hình giúp rê chuột từ chữ "Sản phẩm ▾" xuống bảng không bao giờ bị tắt */
.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  height: 22px;
}

.nav-mega-item:hover .mega-dropdown,
.nav-mega-item:focus-within .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mega-cat-card {
  background: #FAF8F3;
  border: 1px solid #EAE3D6;
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.mega-cat-card:hover {
  background: #FFFFFF;
  border-color: var(--accent-gold-border);
  box-shadow: 0 6px 18px rgba(166, 117, 50, 0.09);
}

.main-nav .mega-col-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--accent-emerald);
  padding: 0 0 8px 0;
  margin-bottom: 8px;
  border-bottom: 1.5px solid #E6D8C0;
  white-space: normal;
  line-height: 1.2;
}

.main-nav .mega-col-title::after {
  display: none;
}

.main-nav .mega-col-title:hover {
  color: var(--accent-gold);
}

.mega-icon-pill {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(145deg, #FDF8EE 0%, #EFE1C6 100%);
  border: 1px solid #DFC495;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-sub-list {
  list-style: none;
  display: grid;
  gap: 2px;
}

.main-nav .mega-sub-list a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 500;
  white-space: normal;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav .mega-sub-list a::after {
  display: none;
}

.main-nav .mega-sub-list a:hover {
  background: #F2ECE0;
  color: var(--accent-emerald);
  font-weight: 600;
}

.mega-footer-bar {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.main-nav .mega-footer-cta {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-emerald);
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
}

.main-nav .mega-footer-cta::after {
  display: none;
}

.main-nav .mega-footer-cta:hover {
  background: var(--accent-emerald-hover);
  color: #fff;
}

/* ==========================================================================
   SHOP PAGE (/san-pham) — LEFT SIDEBAR CATEGORIES & FILTERS LAYOUT
   ========================================================================== */
.shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 960px) {
  .shop-layout {
    grid-template-columns: 295px minmax(0, 1fr);
    gap: 28px;
  }
}

@media (min-width: 1200px) {
  .shop-layout {
    grid-template-columns: 315px minmax(0, 1fr);
    gap: 32px;
  }
}

.mobile-filter-toggle-btn {
  display: inline-flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-primary);
  margin-bottom: 14px;
}

@media (min-width: 960px) {
  .mobile-filter-toggle-btn {
    display: none;
  }
}

.shop-sidebar {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.shop-sidebar.open {
  display: flex;
}

@media (min-width: 960px) {
  .shop-sidebar {
    display: flex;
    position: sticky;
    top: 84px;
  }
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.sidebar-heading {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-cat-list {
  display: grid;
  gap: 4px;
}

.sidebar-all-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition);
}

.sidebar-all-link:hover {
  background: var(--bg-warm);
}

.sidebar-all-link.active {
  background: var(--accent-emerald);
  color: #fff;
}

.cat-tree-group {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cat-tree-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.cat-tree-head:hover {
  background: var(--bg-warm);
}

.cat-tree-head.active {
  background: #EDF5F1;
}

.cat-tree-link {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.cat-tree-head.active .cat-tree-link {
  color: var(--accent-emerald);
}

.cat-expand-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.cat-expand-btn:hover {
  background: var(--bg-warm-deep);
  color: var(--text-primary);
}

.cat-tree-group.expanded .cat-expand-btn {
  transform: rotate(180deg);
}

.cat-tree-children {
  display: none;
  margin-left: 16px;
  padding: 4px 0 8px 10px;
  border-left: 1.5px solid #E6DEC8;
  gap: 2px;
}

.cat-tree-group.expanded .cat-tree-children {
  display: grid;
}

.cat-tree-children a {
  font-size: 13px;
  line-height: 1.38;
  color: var(--text-secondary);
  padding: 5px 9px;
  border-radius: 6px;
  transition: all var(--transition);
}

.cat-tree-children a:hover {
  background: var(--bg-warm);
  color: var(--accent-gold);
}

.cat-tree-children a.active {
  background: var(--accent-emerald);
  color: #fff;
  font-weight: 600;
}

.sidebar-filter-group {
  margin-bottom: 16px;
}

.sidebar-filter-group:last-child {
  margin-bottom: 0;
}

.sidebar-filter-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.sidebar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sidebar-pill {
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.sidebar-pill:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.sidebar-pill.active {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #fff;
  font-weight: 600;
}

.shop-topbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 580px) {
  .shop-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .shop-main-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Enhanced Header Search Drawer with Quick Keyword Suggestions */
.header-search-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 4px 0 6px;
}

.header-search-form {
  padding: 6px 8px 6px 16px;
  background: #FAF8F5;
  border: 1.5px solid var(--accent-gold-border);
  box-shadow: 0 6px 20px rgba(28, 25, 23, 0.06);
}

.search-quick-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.search-quick-tags a {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition);
}

.search-quick-tags a:hover {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #fff;
}

/* ==========================================================================
   ABOUT PAGE (/gioi-thieu) — EDITORIAL COLLAGE & ICON POLISH
   ========================================================================== */
.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}

.about-collage-main {
  grid-column: 1 / -1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  position: relative;
}

.about-collage-main img,
.about-collage-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-collage-sub {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  border: 4px solid #fff;
}

.about-collage-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(20, 44, 35, 0.86);
  backdrop-filter: blur(8px);
  color: #FAF8F5;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(226, 180, 109, 0.4);
  font-size: 12.5px;
  font-weight: 600;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 26px;
}

.about-stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
}

.about-stat-box strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--accent-emerald);
  line-height: 1.1;
}

.about-stat-box span {
  font-size: 12px;
  color: var(--text-muted);
}

.about-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold-border);
}

.about-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.about-step-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(145deg, #FDF8EE 0%, #EFE1C6 100%);
  border: 1.5px solid #DFC495;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-gallery-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 900px) {
  .about-gallery-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.about-art-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.about-art-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.about-art-tile:hover img {
  transform: scale(1.06);
}

.about-art-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 22, 19, 0.85) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   ARTICLE DETAIL PAGE (/cam-nang/{slug}) — FULL 1380px 2-COLUMN EDITORIAL
   ========================================================================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
  }
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 1024px) {
  .article-sidebar {
    position: sticky;
    top: 86px;
  }
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.article-related-post {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.article-related-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.article-related-post img {
  width: 74px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.article-related-post strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--text-primary);
}

.article-related-post:hover strong {
  color: var(--accent-gold);
}


/* ==========================================================================
   MOBILE PAGE LAYOUT POLISH (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .product-page-wrap {
    padding: 14px 0 42px;
  }

  .product-page-grid {
    gap: 18px;
  }

  .product-sticky-panel {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .painting-story-box {
    margin-top: 16px !important;
    padding: 16px 14px !important;
  }

  .painting-story-box h3 {
    font-size: 20px !important;
  }

  /* Article Detail Mobile */
  .article-layout {
    gap: 20px;
  }

  .article-body-card,
  .article-sidebar-card {
    padding: 18px 15px;
  }

  .article-prose {
    font-size: 15px;
    line-height: 1.64;
  }

  .article-prose h2 {
    font-size: 22px;
    line-height: 1.28;
    margin: 22px 0 8px;
  }

  .article-prose h3 {
    font-size: 20px;
    line-height: 1.3;
    margin: 20px 0 8px;
  }

  .article-prose p {
    line-height: 1.64;
    margin-bottom: 12px;
  }

  .article-prose li {
    line-height: 1.58;
    margin-bottom: 9px;
  }

  /* Page Hero Compact */
  .page-hero {
    padding: 20px 0 22px;
  }

  .page-hero h1 {
    font-size: clamp(24px, 6.5vw, 30px);
  }

  .breadcrumb {
    font-size: 12px;
    flex-wrap: wrap;
    row-gap: 4px;
  }

  /* About Page Collage & Grids */
  .about-hero-grid,
  .about-story-grid {
    gap: 20px;
  }

  .about-collage {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


/* ==========================================================================
   SERVICES PAGE (/dich-vu) — LUXURY ATELIER SERVICES UI
   ========================================================================== */
.srv-hero {
  background: linear-gradient(180deg, #F6F1E8 0%, #FAF8F5 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 26px 0 46px;
}

.srv-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 960px) {
  .srv-hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 44px;
  }
}

.srv-eyebrow,
.srv-section-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.srv-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.srv-hero-lead {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 22px;
  max-width: 580px;
}

.srv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.srv-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.srv-stat-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--accent-emerald);
  line-height: 1.1;
}

.srv-stat-item span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
}

.srv-hero-visual {
  position: relative;
}

.srv-hero-main-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(24, 34, 28, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.srv-hero-main-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.srv-hero-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(18, 28, 22, 0.8);
  backdrop-filter: blur(8px);
  color: #FAF8F5;
  font-size: 12px;
  font-weight: 600;
}

.srv-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E2BC6B;
}

.srv-hero-inset {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 28px rgba(18, 24, 20, 0.18);
}

.srv-hero-inset img {
  width: 48px;
  height: 36px;
  object-fit: contain;
}

.srv-hero-inset strong {
  display: block;
  font-size: 13px;
  color: var(--text-primary);
}

.srv-hero-inset span {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* 4 Illustrated Service Cards */
.srv-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 52px;
}

@media (min-width: 768px) {
  .srv-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }
}

.srv-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.srv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(24, 42, 32, 0.1);
}

.srv-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ECE6DC;
}

.srv-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.srv-card:hover .srv-card-media > img {
  transform: scale(1.04);
}

.srv-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.srv-card-tag.tag-free {
  background: rgba(24, 58, 44, 0.88);
  color: #FAF8F5;
}

.srv-card-tag.tag-gold {
  background: rgba(176, 127, 42, 0.92);
  color: #FFFFFF;
}

.srv-card-tag.tag-dark {
  background: rgba(24, 24, 24, 0.86);
  color: #F3D59E;
}

.srv-frame-strip {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.srv-frame-strip img {
  width: 100%;
  height: 36px;
  object-fit: contain;
}

.srv-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.srv-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.srv-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #F1F6F3;
  border: 1px solid rgba(24, 58, 44, 0.12);
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.srv-card-head h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.22;
  color: var(--text-primary);
}

.srv-card-desc {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.68;
  margin-bottom: 14px;
}

.srv-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-primary);
}

.srv-checklist li {
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}

.srv-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-emerald);
  font-weight: 800;
}

.srv-card-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* 4-Step Process Grid */
.srv-process-section {
  background: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 34px 26px;
  margin-bottom: 52px;
}

.srv-process-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

.srv-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .srv-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .srv-process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.srv-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
}

.srv-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.srv-step-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
}

.srv-step-time {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-emerald);
  background: #EAF3EE;
  padding: 4px 10px;
  border-radius: 99px;
}

.srv-step-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.srv-step-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Form + Concierge 2-Column Layout */
.srv-form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 52px;
}

@media (min-width: 960px) {
  .srv-form-layout {
    grid-template-columns: 1.32fr 0.68fr;
    gap: 30px;
  }
}

.srv-form-card {
  background: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.srv-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.srv-type-pill {
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  transition: all 0.2s ease;
}

.srv-type-pill.active {
  background: var(--accent-emerald);
  color: #FFFFFF;
  border-color: var(--accent-emerald);
}

.srv-upload-box {
  display: block;
  border: 2px dashed #C7BEAF;
  border-radius: 12px;
  background: #FFFFFF;
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.srv-upload-box:hover {
  border-color: var(--accent-emerald);
  background: #F6FAF8;
}

.srv-upload-box input[type="file"] {
  display: none;
}

.srv-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.srv-upload-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EEF4F0;
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.srv-upload-placeholder strong {
  font-size: 14px;
  color: var(--text-primary);
}

.srv-upload-placeholder span {
  font-size: 12px;
  color: var(--text-muted);
}

.srv-upload-preview {
  align-items: center;
  gap: 14px;
}

.srv-upload-preview img {
  width: 78px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.srv-upload-preview strong {
  display: block;
  font-size: 13.5px;
  color: var(--accent-emerald);
}

.srv-upload-preview span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Concierge Card */
.srv-concierge-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(155deg, #163327 0%, #0E221A 100%);
  color: #FAF8F5;
  padding: 28px 24px;
  box-shadow: 0 20px 42px rgba(14, 34, 26, 0.22);
}

.srv-concierge-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #F3D59E;
  background: rgba(212, 163, 89, 0.16);
  border: 1px solid rgba(212, 163, 89, 0.35);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.srv-concierge-card h3 {
  font-family: var(--font-serif);
  font-size: 27px;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.srv-concierge-card > .srv-concierge-inner > p {
  font-size: 14px;
  line-height: 1.65;
  color: #D4CFC7;
  margin-bottom: 18px;
}

.srv-concierge-contacts {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.srv-contact-row {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.srv-contact-row:hover {
  background: rgba(255, 255, 255, 0.12);
}

.srv-contact-row span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #BDB6AA;
}

.srv-contact-row strong {
  font-size: 15.5px;
  color: #F3D59E;
  margin-top: 2px;
}

.srv-concierge-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

.srv-concierge-guarantees {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #E2DDD4;
}

/* FAQ Accordion */
.srv-faq-section {
  margin-top: 10px;
}

.srv-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.srv-faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 20px;
}

.srv-faq-item summary {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.srv-faq-item summary::-webkit-details-marker {
  display: none;
}

.srv-faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 500;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.srv-faq-item[open] summary::after {
  content: "−";
}

.srv-faq-item p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}

@media (max-width: 767px) {
  .srv-hero {
    padding: 18px 0 30px;
  }

  .srv-hero-inset {
    position: static;
    margin-top: 10px;
  }

  .srv-card-body {
    padding: 18px 16px 20px;
  }

  .srv-card-head h3 {
    font-size: 21px;
  }

  .srv-card-btn {
    width: 100%;
    text-align: center;
  }

  .srv-process-section,
  .srv-form-card,
  .srv-concierge-card {
    padding: 20px 16px;
  }
}


/* ==========================================================================
   FENG SHUI & 42.9CM LU BAN RULER PAGE (/tu-van-phong-thuy)
   ========================================================================== */
.fs-hero {
  background: linear-gradient(180deg, #F6F1E8 0%, #FAF8F5 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0 36px;
}

.fs-hero-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 960px) {
  .fs-hero-top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }
}

.fs-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.fs-hero-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 660px;
}

.fs-hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* Tool 01: Ngũ Hành Lookup Card */
.fs-tool-card {
  background: var(--bg-warm);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 42px;
  box-shadow: var(--shadow-sm);
}

.fs-tool-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--text-primary);
  margin-bottom: 6px;
}

.fs-tool-head p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.fs-element-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.fs-el-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.fs-el-pill:hover,
.fs-el-pill.active {
  background: var(--el-bg);
  border-color: var(--el-color);
  color: var(--el-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.fs-el-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--el-color);
}

.fs-lookup-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  align-items: end;
}

.fs-result-box {
  margin-top: 24px;
  padding: 24px;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1.5px solid var(--el-color);
  box-shadow: 0 12px 28px rgba(24, 38, 30, 0.06);
}

.fs-result-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.fs-result-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--el-bg);
  color: var(--el-color);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.fs-result-title-wrap h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--text-primary);
  line-height: 1.15;
}

.fs-relation-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fs-chip-good,
.fs-chip-warn {
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
}

.fs-chip-good {
  background: #E8F5EE;
  color: #165B3E;
}

.fs-chip-warn {
  background: #FDF1EE;
  color: #A63624;
}

.fs-result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 700px) {
  .fs-result-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fs-info-tile {
  padding: 14px 16px;
  border-radius: 10px;
  background: #FAF8F4;
  border: 1px solid var(--border-subtle);
}

.fs-info-tile.is-warn {
  background: #FDF7F5;
  border-color: rgba(184, 59, 40, 0.22);
}

.fs-info-tile strong {
  display: block;
  font-size: 13px;
  color: var(--accent-emerald);
  margin-bottom: 4px;
}

.fs-info-tile.is-warn strong {
  color: #A63624;
}

.fs-info-tile p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-primary);
}

.fs-result-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Tool 02: Interactive 42.9cm Lu Ban Ruler */
.fs-luban-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}

.fs-luban-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

@media (min-width: 920px) {
  .fs-luban-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.fs-luban-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--text-primary);
  margin-bottom: 6px;
}

.fs-luban-head p {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 650px;
}

.fs-luban-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.fs-preset-btn {
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--bg-warm);
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.fs-preset-btn.active,
.fs-preset-btn:hover {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #FFFFFF;
}

.fs-luban-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 960px) {
  .fs-luban-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 28px;
  }
}

.fs-dim-input-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.fs-luban-verdicts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

@media (min-width: 600px) {
  .fs-luban-verdicts {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fs-verdict-card {
  padding: 15px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: #FAF8F4;
}

.fs-verdict-card.is-good {
  border-color: #C23A2B;
  background: #FFF8F7;
}

.fs-verdict-card.is-bad {
  border-color: #525252;
  background: #F4F4F3;
}

.fs-verdict-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13.5px;
}

.fs-verdict-pill {
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fs-verdict-card.is-good .fs-verdict-pill {
  background: #C23A2B;
  color: #FFFFFF;
}

.fs-verdict-card.is-bad .fs-verdict-pill {
  background: #3A3A3A;
  color: #FFFFFF;
}

.fs-verdict-cung {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.fs-verdict-card.is-good .fs-verdict-cung {
  color: #A8281B;
}

.fs-verdict-hint {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* Visual 42.9cm Ruler Strip */
.fs-ruler-visual {
  padding: 14px 16px;
  border-radius: 12px;
  background: #FAF8F4;
  border: 1px solid var(--border-subtle);
}

.fs-ruler-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.fs-ruler-bar {
  position: relative;
  display: flex;
  height: 34px;
  border-radius: 8px;
  overflow: visible;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.fs-ruler-bar > span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.fs-ruler-bar > span:first-child {
  border-radius: 7px 0 0 7px;
}

.fs-ruler-bar > span:last-of-type {
  border-radius: 0 7px 7px 0;
  border-right: none;
}

.fs-ruler-bar .cung-cat {
  background: linear-gradient(180deg, #CC3E2E 0%, #A92A1C 100%);
}

.fs-ruler-bar .cung-hung {
  background: linear-gradient(180deg, #424242 0%, #262626 100%);
}

.fs-ruler-pin {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 4px;
  background: #F4C44E;
  border: 1px solid #1C1917;
  border-radius: 4px;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: left 0.25s ease;
}

.fs-ruler-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.fs-ruler-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  margin-right: 5px;
}

.fs-ruler-legend .dot-cat {
  background: #B83123;
}

.fs-ruler-legend .dot-hung {
  background: #333333;
}

/* Sofa Golden Ratio Calculator */
.fs-sofa-calc-box {
  background: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
}

.fs-sofa-calc-box h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.fs-slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.fs-slider-row input[type="range"] {
  flex: 1;
  accent-color: var(--accent-emerald);
}

.fs-slider-row strong {
  font-size: 14px;
  color: var(--accent-emerald);
  white-space: nowrap;
}

.fs-sofa-rec-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
}

.fs-sofa-rec-box span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.fs-sofa-rec-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  padding-top: 6px;
  border-top: 1px dashed var(--border-subtle);
}

/* 4 Principles Grid */
.fs-principles-section {
  margin-bottom: 48px;
}

.fs-principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .fs-principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .fs-principles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fs-principle-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.fs-principle-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--text-primary);
  margin: 12px 0 8px;
  line-height: 1.25;
}

.fs-principle-card p {
  font-size: 13.8px;
  line-height: 1.65;
  color: var(--text-secondary);
}

@media (max-width: 767px) {
  .fs-tool-card,
  .fs-luban-card {
    padding: 18px 14px;
  }

  .fs-result-box {
    padding: 16px 14px;
  }

  .fs-ruler-bar > span {
    font-size: 9.5px;
  }
}


/* ==========================================================================
   COLLECTIONS PAGE (/bo-suu-tap & /bo-suu-tap/{slug})
   ========================================================================== */
.col-index-hero,
.col-detail-hero {
  background: linear-gradient(180deg, #F6F1E8 0%, #FAF8F5 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0 32px;
}

.col-index-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}

@media (min-width: 920px) {
  .col-index-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }
}

.col-index-title,
.col-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.col-index-lead,
.col-detail-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 660px;
}

.col-search-box {
  width: 100%;
  max-width: 380px;
  flex-shrink: 0;
}

.col-search-box input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 99px;
  border: 1.5px solid var(--border-strong);
  background: #FFFFFF;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.col-search-box input:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(24, 58, 44, 0.1);
}

.col-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.col-filter-pill {
  padding: 8px 16px;
  border-radius: 99px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.col-filter-pill:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.col-filter-pill.active {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #FFFFFF;
}

/* Featured Spotlight Collection Card */
.col-spotlight-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 18px 38px rgba(24, 38, 30, 0.08);
}

@media (min-width: 900px) {
  .col-spotlight-card {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.col-spotlight-media {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 260px;
}

.col-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.col-spotlight-card:hover .col-spotlight-media img {
  transform: scale(1.03);
}

.col-spotlight-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(24, 58, 44, 0.9);
  color: #F3D59E;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.col-spotlight-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.col-spotlight-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.18;
  color: var(--text-primary);
}

.col-spotlight-desc {
  font-size: 14.8px;
  line-height: 1.68;
  color: var(--text-secondary);
}

.col-advisor-inline {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-warm);
  border-left: 3px solid var(--accent-gold);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-primary);
}

.col-detail-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.col-pill-gold {
  padding: 4px 12px;
  border-radius: 99px;
  background: #FBF4E4;
  border: 1px solid #E8D29D;
  color: #8F6318;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.col-pill-count {
  padding: 4px 12px;
  border-radius: 99px;
  background: #EDF4F0;
  color: var(--accent-emerald);
  font-size: 12px;
  font-weight: 700;
}

/* 3-Column Curated Gallery Grid */
.col-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 44px;
}

@media (min-width: 680px) {
  .col-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1060px) {
  .col-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.col-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.col-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold-border);
  box-shadow: 0 18px 34px rgba(24, 42, 32, 0.1);
}

.col-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ECE6DC;
}

.col-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.col-card:hover .col-card-media img {
  transform: scale(1.05);
}

.col-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(20, 26, 22, 0.78);
  backdrop-filter: blur(6px);
  color: #F3D59E;
  font-size: 11px;
  font-weight: 700;
}

.col-card-count {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-emerald);
  font-size: 11px;
  font-weight: 700;
}

.col-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.col-card-body h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.col-card-desc {
  font-size: 13.8px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.col-card-tip {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
  padding: 9px 11px;
  border-radius: 8px;
  background: #FAF8F4;
  border-left: 2.5px solid var(--accent-gold);
  margin-bottom: 16px;
}

.col-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.col-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-emerald);
  transition: gap 0.2s ease, color 0.2s ease;
}

.col-card:hover .col-card-link {
  gap: 10px;
  color: var(--accent-gold);
}

/* Collection Detail Hero & Toolbar */
.col-detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 920px) {
  .col-detail-hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 36px;
  }
}

.col-advisor-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.col-advisor-box strong {
  display: block;
  font-size: 13.5px;
  color: var(--accent-emerald);
  margin-bottom: 3px;
}

.col-advisor-box p {
  font-size: 13.8px;
  line-height: 1.58;
  color: var(--text-secondary);
}

.col-detail-cover {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(24, 34, 28, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.col-detail-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.col-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.col-toolbar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.col-toolbar-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.col-toolbar-sort select {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  font-size: 13.5px;
  color: var(--text-primary);
}

/* Bottom Dark Emerald CTA Banner */
.col-cta-banner {
  margin-top: 44px;
  padding: 28px 30px;
  border-radius: 16px;
  background: linear-gradient(145deg, #163428 0%, #0E221A 100%);
  color: #FAF8F5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 18px 36px rgba(14, 34, 26, 0.18);
}

.col-cta-banner h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 28px);
  color: #FFFFFF;
  margin-bottom: 4px;
}

.col-cta-banner p {
  font-size: 14px;
  color: #CFC9BF;
  max-width: 600px;
}

/* Other Collections Mini Grid */
.col-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 900px) {
  .col-mini-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.col-mini-card {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.col-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.col-mini-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.col-mini-body {
  padding: 12px 14px;
}

.col-mini-body span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 3px;
}

.col-mini-body strong {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text-primary);
  line-height: 1.25;
}

@media (max-width: 767px) {
  .col-spotlight-body,
  .col-cta-banner {
    padding: 20px 16px;
  }

  .col-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .col-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .col-filter-pill {
    flex-shrink: 0;
    padding: 7px 13px;
    font-size: 12.5px;
  }
}


/* ==========================================================================
   CONTACT PAGE (/lien-he) — LUXURY ATELIER CONTACT UI
   ========================================================================== */
.ct-hero {
  background: linear-gradient(180deg, #F6F1E8 0%, #FAF9F6 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0 38px;
}

.ct-hero-head {
  max-width: 720px;
  margin-bottom: 26px;
}

.ct-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.ct-hero-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.ct-channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .ct-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .ct-channels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

.ct-channel-card {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ct-channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold-border);
  box-shadow: var(--shadow-md);
}

.ct-channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ct-channel-card small {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.ct-channel-card strong {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.ct-channel-card span:last-child {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-top: auto;
}

/* Main 2-Col Contact Layout */
.ct-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: stretch;
}

@media (min-width: 960px) {
  .ct-main-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
  }
}

.ct-atelier-card {
  border-radius: 18px;
  background: linear-gradient(155deg, #163327 0%, #0E221A 100%);
  color: #FAF8F5;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 42px rgba(14, 34, 26, 0.2);
}

.ct-atelier-card h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.ct-atelier-sub {
  font-size: 14px;
  line-height: 1.65;
  color: #D2CCC2;
  margin-bottom: 20px;
}

.ct-info-list {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.ct-info-item {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-info-item span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #BEB7AC;
  margin-bottom: 3px;
}

.ct-info-item strong {
  font-size: 14px;
  color: #FAF8F5;
  line-height: 1.45;
}

.ct-partner-box {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(212, 163, 89, 0.13);
  border: 1px solid rgba(212, 163, 89, 0.34);
  margin-bottom: 22px;
}

.ct-partner-box strong {
  display: block;
  font-size: 13.5px;
  color: #F3D59E;
  margin-bottom: 4px;
}

.ct-partner-box p {
  font-size: 13px;
  line-height: 1.58;
  color: #E5DFD5;
}

.ct-atelier-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.ct-form-card {
  background: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.ct-form-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 34px);
  color: var(--text-primary);
  margin-bottom: 6px;
}

.ct-form-lead {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.ct-subject-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.ct-subj-pill {
  padding: 7px 13px;
  border-radius: 99px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.ct-subj-pill.active,
.ct-subj-pill:hover {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #FFFFFF;
}

.ct-form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .ct-form-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .ct-atelier-card,
  .ct-form-card {
    padding: 20px 16px;
  }
}

/* ============================================================================
   SITE-WIDE BALANCED TYPOGRAPHY, ANTI-WRAP & MOBILE ALIGNMENT HARDENING
   ============================================================================ */
html,
body {
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
.hero-title,
.section-title,
.page-hero h1,
.promo-banner-content h3,
.atelier-banner-copy h2,
.blog-card-body h3,
.craft-card h4 {
  text-wrap: balance;
  overflow-wrap: break-word;
}

.card-title {
  text-wrap: wrap !important;
  overflow-wrap: break-word;
}

p,
.hero-desc,
.section-subtitle,
.blog-card-body p,
.showcase-body p,
.craft-card p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* Prevent awkward mid-phrase line breaks on UI controls, prices, pills & nav */
.nav-link,
.topbar-links a,
.btn,
.card-cta-btn,
.promo-banner-cta,
.price-value,
.tag-pill,
.size-mini-pill,
.section-eyebrow-gold,
.promo-banner-eyebrow,
.vt-tab-item,
.vt-tab-center,
.ct-subj-pill,
.trust-metric strong,
.space-shortcut-card strong {
  white-space: nowrap;
}

.btn {
  max-width: 100%;
  box-sizing: border-box;
}

/* Symmetrical multi-line truncation for product & blog cards */
.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  /* Full-width centered alignment for Blog, Showcase & Craft cards */
  .blog-grid,
  .showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .blog-grid > *,
  .showcase-grid > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .blog-card-body {
    padding: 16px;
  }

  .blog-card-body h3 {
    font-size: 18px !important;
    line-height: 1.32 !important;
  }

  .blog-card-body p {
    font-size: 13.5px !important;
    line-height: 1.55;
  }

  .showcase-body {
    padding: 16px;
  }

  /* Keep breadcrumbs on one clean swipeable line on mobile */
  .breadcrumb,
  .breadcrumb-bar .container {
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .breadcrumb::-webkit-scrollbar,
  .breadcrumb-bar .container::-webkit-scrollbar {
    display: none;
  }

  /* Ensure header & footer containers never cause horizontal scroll */
  .container,
  .section-header,
  .hero-grid,
  .room-service-grid {
    min-width: 0;
  }

  .card-cta-btn {
    padding: 7px 6px;
    font-size: 11px;
  }

  .price-quote-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Prevent ANY button or action group from overflowing or getting clipped on mobile */
  .btn {
    white-space: normal;
    text-wrap: balance;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
  }

  .section-header .btn {
    white-space: nowrap;
  }

  .hero-cta-group,
  .detail-secondary-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .hero-cta-group .btn,
  .detail-secondary-actions .btn,
  .footer-cta-actions .btn,
  .atelier-banner-actions .btn,
  .srv-hero-actions .btn,
  .srv-concierge-actions .btn,
  .ct-atelier-actions .btn {
    width: 100% !important;
    justify-content: center;
  }

  .footer-cta-actions,
  .atelier-banner-actions,
  .srv-hero-actions,
  .srv-concierge-actions,
  .ct-atelier-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
}

@media (max-width: 359px) {
  .section-header .btn {
    white-space: normal;
    text-align: center;
  }
}

/* ============================================================================
   TRANG KHÁCH HÀNG & CÔNG TRÌNH THỰC TẾ (/khach-hang)
   ============================================================================ */
.kh-hero {
  padding-bottom: 36px;
}

.kh-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 960px) {
  .kh-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
  }
}

.kh-hero-copy h1 {
  margin-top: 8px;
  margin-bottom: 12px;
}

.kh-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kh-stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 4px 16px rgba(18, 28, 22, 0.04);
}

.kh-stat-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.15;
  color: var(--accent-emerald);
  white-space: nowrap;
}

.kh-stat-card span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary);
  text-wrap: balance;
}

/* Spotlight Case Study */
.kh-spotlight-section {
  padding: 12px 0 28px;
}

.kh-spotlight-card {
  display: grid;
  grid-template-columns: 1fr;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(17, 29, 23, 0.08);
}

@media (min-width: 960px) {
  .kh-spotlight-card {
    grid-template-columns: 1.12fr 0.88fr;
  }
}

.kh-spotlight-media {
  position: relative;
  min-height: 260px;
  background: #1A1714;
  overflow: hidden;
}

.kh-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.kh-spotlight-media:hover img {
  transform: scale(1.03);
}

.kh-spotlight-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #B88635 0%, #D4A653 100%);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
}

.kh-zoom-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 24, 20, 0.78);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.kh-zoom-btn:hover {
  background: var(--accent-emerald);
}

.kh-spotlight-body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kh-verified-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.kh-verified-row .stars-gold {
  margin: 0;
  font-size: 13.5px;
}

.kh-verified-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #166534;
  background: #DCFCE7;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.kh-date-label {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.kh-spotlight-body h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.22;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.kh-location-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.kh-location-line svg {
  flex-shrink: 0;
}

.kh-spotlight-quote {
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 3px solid var(--accent-gold);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  font-style: italic;
}

.kh-art-spec {
  background: #FAF8F4;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.kh-art-spec-title {
  font-size: 13.5px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.kh-art-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kh-art-spec-chips span {
  font-size: 12px;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 3px 9px;
  border-radius: 6px;
}

.kh-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Filter Toolbar & Gallery Grid */
.kh-gallery-section {
  padding-top: 12px;
  padding-bottom: 48px;
}

.kh-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.kh-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kh-filter-pill {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.kh-filter-pill span {
  opacity: 0.7;
  font-weight: 500;
}

.kh-filter-pill:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.kh-filter-pill.active {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #FFFFFF;
}

.kh-result-count {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.kh-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(17, 29, 23, 0.09);
}

.kh-card-media {
  position: relative;
  overflow: hidden;
  background: #1A1714;
}

.kh-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.5s ease;
}

.kh-card:hover .kh-card-media img {
  transform: scale(1.04);
}

.kh-type-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 24, 20, 0.76);
  color: #F6E6C6;
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.kh-zoom-icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(18, 24, 20, 0.72);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.kh-zoom-icon:hover {
  background: var(--accent-emerald);
  transform: scale(1.06);
}

.kh-card-body {
  padding: 18px 20px 20px;
}

.kh-client-name {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.24;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.kh-quote-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 16px;
  flex: 1;
}

.kh-art-spec-compact {
  margin-bottom: 0;
  padding: 12px 14px;
}

.kh-art-spec-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.kh-art-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-emerald);
  white-space: nowrap;
}

.kh-art-link:hover {
  color: var(--accent-gold);
}

/* 4-Step Assurance Section */
.kh-assurance-section {
  padding: 48px 0;
  background: linear-gradient(180deg, #FAF7F1 0%, #F3EDE2 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.kh-assurance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .kh-assurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .kh-assurance-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.kh-assurance-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px 18px;
}

.kh-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(24, 58, 44, 0.08);
  color: var(--accent-emerald);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.kh-assurance-item h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 6px;
  color: var(--text-primary);
}

.kh-assurance-item p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* Bottom CTA Banner */
.kh-cta-section {
  padding: 44px 0 56px;
}

.kh-cta-banner {
  text-align: center;
  padding: 42px 28px;
  border-radius: 22px;
}

.kh-cta-banner h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.22;
  color: #FAF8F5;
  margin: 12px auto 10px;
  max-width: 680px;
}

.kh-cta-banner p {
  color: #D6D3D1;
  max-width: 580px;
  margin: 0 auto 22px;
  font-size: 14.5px;
}

.kh-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Lightbox Modal */
.kh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.kh-lightbox.open {
  display: flex;
}

.kh-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 14, 0.88);
  backdrop-filter: blur(8px);
}

.kh-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #171B18;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.kh-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.65);
  color: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
}

.kh-lightbox-dialog img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #0F1210;
}

.kh-lightbox-caption {
  padding: 16px 20px;
  color: #F4EFE6;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kh-lightbox-caption strong {
  font-family: var(--font-serif);
  font-size: 20px;
}

.kh-lightbox-caption span {
  font-size: 13px;
  color: #F3CF94;
}

.kh-lightbox-caption em {
  font-size: 12.5px;
  color: rgba(244, 239, 230, 0.78);
  font-style: normal;
}

.kh-empty-state {
  text-align: center;
  padding: 48px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
}

@media (max-width: 767px) {
  .kh-hero {
    padding-bottom: 24px;
  }

  .kh-stat-card {
    padding: 12px 10px;
    border-radius: 12px;
  }

  .kh-stat-card strong {
    font-size: 20px;
  }

  .kh-stat-card span {
    font-size: 11.5px;
  }

  .kh-spotlight-body {
    padding: 20px 16px;
  }

  .kh-spotlight-body h2 {
    font-size: 22px;
  }

  .kh-spotlight-quote {
    font-size: 14px;
  }

  .kh-spotlight-actions,
  .kh-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .kh-spotlight-actions .btn,
  .kh-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .kh-filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    width: 100%;
  }

  .kh-filter-pills::-webkit-scrollbar {
    display: none;
  }

  .kh-filter-pill {
    font-size: 12px;
    padding: 7px 12px;
  }

  .kh-card-body {
    padding: 16px;
  }

  .kh-client-name {
    font-size: 19px;
  }

  .kh-assurance-section {
    padding: 32px 0;
  }

  .kh-cta-banner {
    padding: 28px 18px;
  }

  .kh-cta-banner h2 {
    font-size: 24px;
  }
}

/* ============================================================================
   MOBILE INNER-PAGE OPTIMIZATION: DANH MỤC, PHONG THỦY, BỘ SƯU TẬP, DỊCH VỤ, CẨM NANG
   ============================================================================ */
.shop-sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-sort-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.shop-sort-select {
  padding: 7px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--bg-canvas);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.mft-left {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mft-right {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-emerald);
  background: #EAF4EE;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  /* 1. Compact Inner-Page Heroes so real content shows immediately above the fold */
  .page-hero,
  .fs-hero,
  .srv-hero,
  .col-index-hero,
  .blog-hero {
    padding: 14px 0 18px !important;
  }

  .page-hero .breadcrumb,
  .fs-hero .breadcrumb {
    margin-bottom: 8px !important;
    font-size: 12px;
  }

  .page-hero h1,
  .fs-hero-title,
  .srv-hero h1,
  .col-index-hero h1,
  .blog-hero h1 {
    font-size: 22px !important;
    line-height: 1.24 !important;
    margin-bottom: 6px !important;
  }

  .page-hero p,
  .fs-hero-lead,
  .col-index-lead {
    font-size: 13px !important;
    line-height: 1.48 !important;
    margin-bottom: 0;
  }

  /* 2. Danh mục Tranh (/san-pham): Ultra-compact Native App Filter & Sort Bar */
  .catalog-section {
    padding-top: 14px !important;
  }

  .mobile-filter-toggle-btn {
    padding: 10px 12px !important;
    margin-bottom: 10px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    gap: 8px !important;
    align-items: center;
  }

  .shop-topbar {
    padding: 9px 12px !important;
    margin-bottom: 10px !important;
    border-radius: 12px !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .shop-topbar > div:first-child {
    font-size: 12.5px !important;
    line-height: 1.3;
    min-width: 0;
  }

  .shop-sort-label {
    display: none;
  }

  .shop-sort-select {
    padding: 6px 8px !important;
    font-size: 12.5px !important;
    border-radius: 8px;
    max-width: 155px;
  }

  .shop-orientation-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px !important;
  }

  .shop-ori-pills {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 6px !important;
    width: 100%;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .shop-ori-pills::-webkit-scrollbar {
    display: none;
  }

  .shop-ori-pill {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  #shopOriCountText {
    font-size: 11.5px !important;
  }

  /* 3. Trang Phong Thủy (/tu-van-phong-thuy): Compact App-Grade Lookup & Ruler */
  .fs-hero-top {
    gap: 12px !important;
  }

  .fs-hero-shortcuts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
  }

  .fs-hero-shortcuts .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 13px;
  }

  .fs-tool-card,
  .loban-card {
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }

  .fs-tool-head h2,
  .loban-card h2 {
    font-size: 20px !important;
    line-height: 1.25;
  }

  .fs-tool-head p {
    font-size: 13px;
    line-height: 1.5;
  }

  .fs-element-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 8px !important;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .fs-element-pills::-webkit-scrollbar {
    display: none;
  }

  .fs-el-pill {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 13px !important;
    font-size: 12.5px !important;
  }

  .fs-lookup-form {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .fs-lookup-form input,
  .fs-lookup-form select {
    font-size: 16px !important; /* Prevent iOS auto-zoom */
    min-height: 44px;
  }

  .fs-lookup-form .btn {
    width: 100%;
    justify-content: center;
  }

  .fs-result-box {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .fs-result-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .loban-inputs-row,
  .loban-quick-sizes {
    gap: 8px !important;
  }

  .loban-quick-sizes {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .loban-quick-sizes::-webkit-scrollbar {
    display: none;
  }

  .loban-quick-sizes button {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* 4. Bộ sưu tập, Cẩm nang, Dịch vụ, Giới thiệu: Swipeable Filter Bars & Tight Cards */
  .blog-cat-pills,
  .col-filter-bar,
  .srv-tabs {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .blog-cat-pills::-webkit-scrollbar,
  .col-filter-bar::-webkit-scrollbar,
  .srv-tabs::-webkit-scrollbar {
    display: none;
  }

  .blog-cat-pills > *,
  .col-filter-bar > *,
  .srv-tabs > * {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .content-card {
    padding: 18px 14px !important;
  }

  .content-card .btn {
    width: 100%;
    justify-content: center;
  }
}

.fs-table-cta {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  justify-content: space-between;
}

.fs-table-cta-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  flex: 1 1 280px;
}

.fs-table-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .fs-table-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px 4px 2px;
    gap: 12px;
  }

  .fs-table-cta-text {
    font-size: 13.5px;
    text-wrap: balance;
    flex: none;
  }

  .fs-table-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .fs-table-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 4 Golden Feng Shui Principles Card Polish */
.fs-principle-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px !important;
  border-radius: 16px !important;
  border: 1px solid var(--border-subtle) !important;
  background: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(18, 28, 22, 0.04) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.fs-principle-card:hover {
  transform: translateY(-3px);
  border-color: rgba(182, 134, 58, 0.45) !important;
  box-shadow: 0 12px 28px rgba(18, 28, 22, 0.08) !important;
}

.fs-principle-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.fs-principle-top .srv-icon-box {
  margin-bottom: 0 !important;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F2F6F3;
  border: 1px solid rgba(24, 58, 44, 0.08);
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fs-principle-num {
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: rgba(182, 134, 58, 0.34);
  letter-spacing: -0.02em;
}

.fs-principle-card h3 {
  font-family: var(--font-serif);
  font-size: 18.5px !important;
  line-height: 1.28 !important;
  margin: 0 0 10px !important;
  color: var(--text-primary);
  text-wrap: wrap !important;
}

.fs-principle-card p {
  font-size: 13.8px !important;
  line-height: 1.62 !important;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 767px) {
  .fs-principle-card {
    padding: 18px 16px !important;
  }

  .fs-principle-top {
    margin-bottom: 10px;
  }

  .fs-principle-card h3 {
    font-size: 18px !important;
  }
}

/* ============================================================================
   MULTI-DEVICE RESPONSIVE POLISH FOR BỘ SƯU TẬP (/bo-suu-tap & /bo-suu-tap/{slug})
   ============================================================================ */
.col-spotlight-actions,
.col-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.col-spotlight-actions {
  margin-top: auto;
  padding-top: 10px;
}

.col-spotlight-actions .btn,
.col-cta-actions .btn {
  justify-content: center;
  text-align: center;
}

/* Tablet (768px - 1023px): Symmetrical 2-column 50/50 equal buttons */
@media (min-width: 768px) and (max-width: 1023px) {
  .col-spotlight-actions,
  .col-cta-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .col-spotlight-actions .btn,
  .col-cta-actions .btn {
    width: 100%;
    padding: 11px 14px;
    font-size: 13.5px;
  }
}

/* Mobile (<= 767px): Full-width equal buttons, compact cards & swipeable toolbars */
@media (max-width: 767px) {
  .col-index-head {
    gap: 12px !important;
  }

  .col-search-box {
    width: 100%;
  }

  .col-search-box input {
    width: 100%;
    font-size: 16px !important; /* Prevent iOS zoom */
    min-height: 44px;
    padding: 10px 14px;
  }

  .col-spotlight-card {
    border-radius: 16px !important;
    margin-bottom: 20px !important;
  }

  .col-spotlight-body {
    padding: 18px 16px !important;
  }

  .col-spotlight-body h2 {
    font-size: 22px !important;
    line-height: 1.24;
  }

  .col-spotlight-desc {
    font-size: 13.5px !important;
    line-height: 1.55;
  }

  .col-spotlight-actions,
  .col-cta-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .col-spotlight-actions .btn,
  .col-cta-actions .btn {
    width: 100% !important;
    padding: 11px 16px !important;
    font-size: 13.5px !important;
    justify-content: center;
  }

  .col-gallery-grid {
    gap: 16px !important;
  }

  .col-card-body {
    padding: 16px !important;
  }

  .col-card-body h3 {
    font-size: 19px !important;
  }

  .col-cta-banner {
    padding: 24px 16px !important;
    border-radius: 16px !important;
    text-align: center;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }

  .col-cta-banner h3 {
    font-size: 21px !important;
    line-height: 1.25;
  }

  .col-cta-banner p {
    font-size: 13.5px !important;
  }

  /* Collection Detail Page (/bo-suu-tap/{slug}) on Mobile */
  .col-detail-hero {
    padding: 14px 0 20px !important;
  }

  .col-detail-title {
    font-size: 24px !important;
    line-height: 1.22;
  }

  .col-detail-desc {
    font-size: 13.5px !important;
  }

  .col-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .col-toolbar-pills {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .col-toolbar-pills::-webkit-scrollbar {
    display: none;
  }

  .col-toolbar-pills .col-filter-pill {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 12px;
  }

  .col-toolbar-sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .col-toolbar-sort select {
    flex: 1;
    max-width: 210px;
    font-size: 13px;
    padding: 7px 10px;
  }

  .col-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .col-mini-body {
    padding: 10px !important;
  }

  .col-mini-body strong {
    font-size: 14px !important;
    line-height: 1.25;
  }
}

/* ============================================================================
   ARTICLE DETAIL HERO TITLE & META BAR POLISH (/cam-nang/{slug})
   ============================================================================ */
.article-hero-title {
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums;
  font-size: clamp(23px, 3.6vw, 40px);
  line-height: 1.24;
  max-width: 960px;
  margin-bottom: 10px;
  text-wrap: pretty !important;
}

.article-hero-excerpt {
  max-width: 860px;
  font-size: 15px;
  line-height: 1.58;
  color: var(--text-secondary);
  margin-bottom: 14px;
  text-wrap: pretty;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px !important;
  margin-top: 12px !important;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-muted);
}

.article-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(28, 25, 23, 0.05);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.article-meta-author {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .article-hero-title {
    font-size: 22px !important;
    line-height: 1.26 !important;
    text-wrap: wrap !important;
  }

  .article-hero-excerpt {
    font-size: 13.5px !important;
    line-height: 1.52 !important;
    margin-bottom: 12px;
  }

  .article-meta-bar {
    gap: 6px 8px !important;
    margin-top: 10px !important;
  }

  .article-meta-author {
    font-size: 12.5px;
    width: 100%;
    white-space: normal;
  }
}

/* ==========================================================================
   PRODUCT DETAIL SEO TAGS & FAQ ACCORDION
   ========================================================================== */
.pd-seo-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.pd-seo-link-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--bg-warm, #F8F5EE);
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.pd-seo-link-chip:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background: #FFFFFF;
}

.pd-faq-box {
  margin-top: 18px;
  padding: 22px 24px;
}

.pd-faq-heading {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pd-faq-list {
  display: grid;
  gap: 10px;
}

.pd-faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: #FFFFFF;
  padding: 12px 14px;
}

.pd-faq-q {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pd-faq-q::-webkit-details-marker {
  display: none;
}

.pd-faq-q::after {
  content: '+';
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.pd-faq-item[open] .pd-faq-q::after {
  content: '−';
}

.pd-faq-a {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ==========================================================================
   TRANG CHÍNH SÁCH BẢO HÀNH & GIAO NHẬN (/chinh-sach)
   ========================================================================== */
.policy-wrap {
  max-width: var(--container-max);
  display: grid;
  gap: 24px;
}

.policy-hero p {
  max-width: 920px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.policy-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.policy-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.policy-toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 4px 4px;
}

.policy-side-contact {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-warm);
  font-size: 13.5px;
  color: var(--text-secondary);
}

.policy-side-contact strong {
  color: var(--text-primary);
  font-size: 15px;
}

.policy-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.policy-highlight {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: #FFFFFF;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.policy-highlight strong {
  font-size: 14px;
  color: var(--text-primary);
}

.policy-highlight-icon {
  color: var(--accent-emerald);
  display: inline-flex;
}

.policy-toc {
  display: grid;
  gap: 6px;
}

.policy-toc a {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
}

.policy-toc a:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

.policy-section {
  scroll-margin-top: 90px;
}

.policy-section h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--accent-emerald);
  margin-bottom: 10px;
}

.policy-section p {
  margin-bottom: 10px;
}

.policy-section ul,
.policy-section ol {
  padding-left: 20px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.policy-steps {
  display: grid;
  gap: 8px;
}

.policy-note {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.policy-note a {
  color: var(--accent-gold);
  font-weight: 600;
  text-decoration: underline;
}

.policy-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-warm);
}

.policy-contact h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 4px;
}

.policy-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1023px) {
  .policy-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .policy-side {
    position: static;
  }

  .policy-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .policy-toc-title,
  .policy-side-contact {
    display: none;
  }

  .policy-toc a {
    padding: 6px 13px;
    border-radius: 99px;
    font-size: 12.5px;
  }
}

@media (max-width: 767px) {
  .policy-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-section h2 {
    font-size: 22px;
  }

  .policy-contact-actions {
    width: 100%;
  }

  .policy-contact-actions .btn {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   ANDROID / NARROW MOBILE (360px - 414px) RIGHT-EDGE CLIPPING FIX
   Ngăn CSS Grid 1fr bị giãn rộng quá màn hình bởi thanh cuộn ngang .shop-ori-pills
   ========================================================================== */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 959px) {
  .shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.shop-layout > *,
.shop-main-grid,
.shop-main-grid > *,
.paintings-grid > *,
.painting-card,
.shop-topbar,
.shop-orientation-bar {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 767px) {
  .shop-main-grid,
  .paintings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .shop-topbar {
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
  }

  .shop-sort-form {
    min-width: 0;
    max-width: 58%;
  }

  .shop-sort-select {
    max-width: 100%;
    min-width: 0;
    padding-left: 10px !important;
    padding-right: 24px !important;
  }

  .shop-ori-pills {
    max-width: 100%;
    box-sizing: border-box;
  }

  .painting-card .card-body {
    padding: 10px !important;
  }

  .painting-card .card-title,
  .painting-card .card-title a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* ==========================================================================
   LUXURY GALLERY CART & CHECKOUT PAGE (/gio-hang, /dat-hang)
   ========================================================================== */
.cart-page-section {
  padding-top: 28px;
}

.cart-empty-card {
  max-width: 680px;
  margin: 12px auto 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 48px 28px 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cart-empty-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: #F1F6F3;
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-empty-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--text-primary);
  margin-bottom: 10px;
}

.cart-empty-card p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.cart-empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cart-empty-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* 3-Step Checkout Progress */
.cart-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 12px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
}

.cart-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.cart-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ECEAE4;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-step.active {
  color: var(--accent-emerald);
}

.cart-step.active .cart-step-num {
  background: var(--accent-emerald);
  color: #FFFFFF;
}

.cart-step-line {
  width: 44px;
  height: 1.5px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* Checkout Layout */
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (min-width: 960px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 28px;
  }

  .cart-right-col {
    position: sticky;
    top: 88px;
  }
}

.cart-left-col {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.cart-items-card {
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.cart-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-card-head h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-count-pill {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  background: #E6F4EE;
  color: var(--accent-emerald);
  padding: 2px 10px;
  border-radius: 99px;
}

.cart-card-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}

.cart-add-more-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-emerald);
  padding: 6px 12px;
  border-radius: 99px;
  background: #F1F6F3;
  transition: background 0.18s ease;
}

.cart-add-more-link:hover {
  background: #E2EFE8;
}

/* Cart Item Cards */
.cart-items-list {
  display: grid;
  gap: 14px;
}

.cart-item-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px;
  border-radius: 14px;
  background: #FAF9F6;
  border: 1px solid rgba(213, 205, 190, 0.72);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-item-card:hover {
  border-color: rgba(168, 121, 50, 0.48);
  box-shadow: 0 6px 18px rgba(20, 24, 21, 0.05);
}

.cart-item-thumb-link {
  flex-shrink: 0;
  display: block;
  padding: 4px;
  background: #FAF6EC;
  border: 3px solid #5B311D;
  box-shadow: 0 6px 14px rgba(24, 18, 12, 0.18);
}

.cart-item-thumb {
  width: 102px;
  height: 76px;
  object-fit: cover;
  display: block;
}

.cart-item-body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 8px;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--text-primary);
}

.cart-item-title:hover {
  color: var(--accent-emerald);
}

.cart-item-remove {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #991B1B;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.cart-item-remove:hover {
  background: #FEF2F2;
  border-color: #FECACA;
}

.cart-item-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cart-spec-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 3px 9px;
  border-radius: 99px;
}

.cart-item-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
}

.cart-item-price-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cart-item-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent-emerald);
  font-variant-numeric: tabular-nums;
}

.cart-item-unit {
  font-size: 11.5px;
  color: var(--text-muted);
}

.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  overflow: hidden;
}

.cart-qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

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

.cart-qty-input {
  width: 40px;
  height: 34px;
  border: none;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  background: #FFFFFF;
  -moz-appearance: textfield;
}

.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-items-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.cart-update-btn {
  padding: 9px 15px;
  font-size: 13px;
}

.cart-subtotal-wrap {
  text-align: right;
  margin-left: auto;
}

.cart-subtotal-wrap span {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
}

.cart-subtotal-wrap strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-emerald);
  font-variant-numeric: tabular-nums;
}

/* Workshop Trust Strip below Cart Items */
.cart-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cart-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.cart-trust-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #F1F6F3;
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-trust-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.cart-trust-item span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Right Checkout Card */
.cart-checkout-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F3 100%);
  border: 1.5px solid rgba(21, 51, 39, 0.18);
  border-top: 4px solid var(--accent-emerald);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.cart-checkout-head h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 5px;
}

.cart-checkout-head p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.cart-order-summary-strip {
  background: #F4F7F5;
  border: 1px solid #D7E5DC;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.cart-summary-total {
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px dashed #B9D0C2;
  font-size: 15px;
  color: var(--text-primary);
}

.cart-summary-total strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-emerald);
  font-variant-numeric: tabular-nums;
}

.cart-checkout-form .form-field {
  margin-bottom: 13px;
}

.cart-checkout-form .form-field label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}

.cart-checkout-form input[type="text"],
.cart-checkout-form input[type="tel"],
.cart-checkout-form input[type="email"],
.cart-checkout-form textarea {
  background: #FFFFFF;
}

.cart-form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 12px;
}

@media (min-width: 560px) {
  .cart-form-row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cart-pay-options {
  display: grid;
  gap: 8px;
}

.cart-pay-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 11px;
  border: 1.5px solid var(--border-subtle);
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.cart-pay-card:has(input:checked) {
  border-color: var(--accent-emerald);
  background: #F3F8F5;
}

.cart-pay-card input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--accent-emerald);
  flex-shrink: 0;
}

.cart-pay-content {
  display: grid;
  gap: 2px;
}

.cart-pay-content strong {
  font-size: 13.5px;
  color: var(--text-primary);
}

.cart-pay-content small {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.cart-submit-btn {
  width: 100%;
  padding: 15px 18px;
  font-size: 15.5px;
  font-weight: 700;
  margin-top: 4px;
}

.cart-support-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 12px;
}

.cart-support-note a {
  color: var(--accent-emerald);
  font-weight: 700;
}

@media (max-width: 767px) {
  .cart-steps-bar {
    gap: 6px;
    padding: 10px 10px;
    margin-bottom: 16px;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .cart-step {
    font-size: 12px;
  }

  .cart-step-line {
    width: 18px;
  }

  .cart-items-card,
  .cart-checkout-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .cart-item-card {
    gap: 11px;
    padding: 11px;
  }

  .cart-item-thumb {
    width: 78px;
    height: 60px;
  }

  .cart-item-title {
    font-size: 15px;
  }

  .cart-item-remove span {
    display: none;
  }

  .cart-trust-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cart-subtotal-wrap strong {
    font-size: 20px;
  }
}
