/* ==========================================================================
   TRANH SƠN DẦU VĂN TIẾN (vantien.com)
   Design System: Modern Art Gallery — Mobile-First & High Conversion
   ========================================================================== */

:root {
  /* Color Palette - Warm Art Gallery */
  --bg-canvas: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-warm: #F3EFE8;
  --bg-warm-deep: #EAE3D7;
  --bg-dark: #181615;
  --bg-dark-soft: #252220;

  --text-primary: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #78716C;
  --text-light: #FAF8F5;

  /* Brand & Conversion Accents */
  --accent-gold: #A67532;
  --accent-gold-light: #FDF8F0;
  --accent-gold-border: #DFC6A1;
  --accent-emerald: #1B3B2F;
  --accent-emerald-hover: #122920;
  --accent-quote: #7C4D25;
  --zalo-color: #0068FF;
  --success-color: #1E6F50;

  /* Borders & Shadows */
  --border-subtle: #E7E2DA;
  --border-strong: #D5CDBE;
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 10px 30px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 20px 50px rgba(28, 25, 23, 0.14);
  --shadow-painting: 0 18px 38px rgba(20, 16, 12, 0.26), 0 4px 10px rgba(20, 16, 12, 0.14);

  /* Typography — Vietnamese Fine-Art Gallery System */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii & Transitions */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout — Modern Gallery Fluid Width (2026 Standard) */
  --container-max: 1380px;
  --header-height: 70px;
  --mobile-bar-height: 66px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  padding-bottom: var(--mobile-bar-height);
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.8vw, 40px);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, #163328 0%, #1E4436 50%, #163328 100%);
  color: #EFECE6;
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 163, 89, 0.32);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.topbar-usp {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D4A359;
  flex-shrink: 0;
}

.topbar-contacts {
  display: none;
  align-items: center;
  gap: 20px;
}

.topbar-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #F3EFE8;
  transition: color var(--transition);
}

.topbar-contacts a:hover {
  color: #D4A359;
}

@media (min-width: 768px) {
  .topbar-contacts {
    display: flex;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.05;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .brand-logo-img {
    height: 50px;
  }
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: 2px;
}

@media (min-width: 1120px) {
  .brand-title {
    font-size: 26px;
  }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 15px;
}

@media (min-width: 1280px) {
  .main-nav {
    gap: 22px;
  }
}

.main-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

@media (min-width: 1180px) {
  .main-nav {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  position: relative;
  transition: all var(--transition);
}

.icon-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--accent-emerald);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-hotline {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: var(--accent-emerald);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.header-hotline:hover {
  background: var(--accent-emerald-hover);
  transform: translateY(-1px);
}

@media (min-width: 640px) {
  .header-hotline {
    display: inline-flex;
  }
}

/* Search Bar Drawer */
.search-bar-wrap {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  display: none;
}

.search-bar-wrap.open {
  display: block;
}

.search-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
}

.search-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
}

/* ==========================================================================
   HERO SECTION (MOBILE-FIRST GALLERY SHOWCASE)
   ========================================================================== */
.hero {
  padding: 20px 0 36px;
  position: relative;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(212, 163, 89, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse at 88% 82%, rgba(27, 59, 47, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #F5EFE4 0%, var(--bg-canvas) 100%);
}

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

@media (min-width: 960px) {
  .hero {
    padding: 44px 0 60px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
  }
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: #2b2623;
  order: -1;
}

@media (min-width: 960px) {
  .hero-visual {
    order: 2;
    aspect-ratio: 5 / 4;
  }
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-visual:hover img {
  transform: scale(1.03);
}

.hero-floating-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  background: rgba(24, 22, 21, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 768px) {
  .hero-floating-tag {
    left: 14px;
    bottom: 14px;
    right: 14px;
    padding: 11px 16px;
    border-radius: var(--radius-md);
  }
}

.hero-floating-tag strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 600;
  color: #F7E4C3;
}

.hero-floating-tag span {
  font-size: 11.5px;
  color: #D6D3D1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-gold-light);
  border: 1px solid var(--accent-gold-border);
  color: var(--accent-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.12;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent-gold);
  font-weight: 600;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 15.5px;
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

@media (min-width: 520px) {
  .hero-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14.5px;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent-emerald);
  color: #fff;
  box-shadow: 0 6px 18px rgba(27, 59, 47, 0.22);
}

.btn-primary:hover {
  background: var(--accent-emerald-hover);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--accent-gold);
  color: #fff;
  box-shadow: 0 6px 18px rgba(166, 117, 50, 0.24);
}

.btn-gold:hover {
  background: #8E6124;
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.trust-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 8px;
  padding: 16px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(182, 134, 58, 0.22);
  box-shadow: 0 4px 14px rgba(18, 28, 22, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.trust-metric:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 134, 58, 0.45);
  box-shadow: 0 8px 20px rgba(18, 28, 22, 0.07);
}

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

.trust-metric-copy {
  min-width: 0;
  width: 100%;
}

.trust-metric strong {
  display: block;
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-emerald);
  line-height: 1.15;
}

.trust-metric span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.38;
  color: var(--text-secondary);
  text-wrap: balance;
}

/* ==========================================================================
   DUAL FLAGSHIP COLLECTIONS BANNER
   ========================================================================== */
.dual-collections {
  padding: 20px 0 36px;
}

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

@media (min-width: 768px) {
  .dual-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.collection-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.collection-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.collection-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 15, 12, 0.12) 0%, rgba(18, 15, 12, 0.84) 100%);
}

.collection-banner:hover img {
  transform: scale(1.05);
}

.collection-banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
}

.collection-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #F5D7A1;
  font-weight: 600;
  margin-bottom: 4px;
}

.collection-banner h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.18;
  margin-bottom: 6px;
}

.collection-banner p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.collection-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   CATALOG & SMART FILTER BAR (THUMB-FRIENDLY)
   ========================================================================== */
.catalog-section {
  padding: 20px 0 42px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.15;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 14.5px;
}

.filter-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  scrollbar-width: none;
}

.filter-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  background: var(--bg-canvas);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition);
}

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

.filter-chip.active {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--bg-dark);
}

.subfilters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .subfilters-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.filter-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-select-wrap label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-select-wrap select {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-canvas);
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
}

.filter-select-wrap select:focus {
  border-color: var(--accent-gold);
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.reset-filter-btn {
  color: var(--accent-gold);
  font-weight: 600;
  text-decoration: underline;
  font-size: 13px;
}

/* ==========================================================================
   PRODUCT CARDS GRID
   ========================================================================== */
.paintings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 560px) {
  .paintings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

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

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

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-warm);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.card-framed-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 6px solid #3B2B20;
  box-shadow: inset 0 0 0 2px #D7C4A3, 0 10px 24px rgba(24, 20, 15, 0.24);
  transition: transform 0.5s ease;
}

.painting-card:hover .card-framed-art {
  transform: scale(1.03);
}

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

.tag-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.tag-pill.style-trad {
  background: rgba(27, 59, 47, 0.9);
  color: #fff;
}

.tag-pill.style-modern {
  background: rgba(166, 117, 50, 0.92);
  color: #fff;
}

.tag-pill.bespoke {
  background: rgba(24, 22, 21, 0.88);
  color: #F6D8A4;
}

.card-fengshui {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

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

.card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  cursor: pointer;
}

.card-title:hover {
  color: var(--accent-gold);
}

.card-sizes-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.size-mini-pill {
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-warm);
  color: var(--text-secondary);
}

.card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-block .price-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.price-block .price-value {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--accent-emerald);
}

.price-block .price-quote-text {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent-quote);
}

.card-cta-btn {
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition);
}

.card-cta-btn.buy-mode {
  background: var(--accent-emerald);
  color: #fff;
}

.card-cta-btn.buy-mode:hover {
  background: var(--accent-emerald-hover);
}

.card-cta-btn.quote-mode {
  background: var(--accent-gold-light);
  color: var(--accent-quote);
  border: 1px solid var(--accent-gold-border);
}

.card-cta-btn.quote-mode:hover {
  background: var(--accent-gold);
  color: #fff;
}

/* ==========================================================================
   FREE ROOM MOCKUP SERVICE BANNER (HIGHEST CONVERSION DRIVER)
   ========================================================================== */
.room-service-section {
  position: relative;
  overflow: hidden;
  padding: 68px 0;
  color: var(--text-light);
  background: #0D1E17;
}

.room-service-section::before {
  content: '';
  position: absolute;
  inset: -24px;
  background: url('../uploads/paintings/son-thuy.png') center / cover no-repeat;
  filter: blur(18px) brightness(0.52) saturate(0.92);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.room-service-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(226, 180, 109, 0.14) 0%, transparent 48%),
    linear-gradient(125deg, rgba(10, 26, 19, 0.84) 0%, rgba(12, 28, 21, 0.76) 55%, rgba(15, 22, 18, 0.84) 100%);
  pointer-events: none;
  z-index: 1;
}

.room-service-section > .container {
  position: relative;
  z-index: 2;
}

.room-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .room-service-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
}

.room-service-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.15;
  color: #FAF8F5;
  margin-bottom: 14px;
}

.room-service-section h2 span {
  color: #E2B46D;
  font-style: italic;
}

.steps-3-list {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.step-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(10, 24, 18, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 15px 17px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(235, 200, 130, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-row strong {
  display: block;
  font-size: 15px;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.step-row p {
  font-size: 13.5px;
  color: #E2DDD4;
  line-height: 1.55;
}

.mockup-form-card {
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.mockup-form-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 6px;
}

.mockup-form-card > p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-canvas);
  outline: none;
  font-size: 14.5px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent-gold);
  background: #fff;
}

/* ==========================================================================
   TRUST & CRAFTSMANSHIP SECTION
   ========================================================================== */
.craft-section {
  padding: 60px 0;
  position: relative;
  background:
    radial-gradient(circle at 8% 15%, rgba(212, 163, 89, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 92% 85%, rgba(27, 59, 47, 0.09) 0%, transparent 45%),
    repeating-linear-gradient(0deg, rgba(166, 117, 50, 0.025) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(90deg, rgba(166, 117, 50, 0.025) 0 1px, transparent 1px 16px),
    #F3EEE5;
}

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

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

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

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

.craft-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.craft-card h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 6px;
}

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

/* ==========================================================================
   PRODUCT DETAIL MODAL / FULL-VIEW (SIZE + LIVE 3D FRAME + ROOM PREVIEW)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(20, 18, 16, 0.72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.modal-backdrop.open {
  display: flex;
}

@media (min-width: 768px) {
  .modal-backdrop {
    align-items: center;
    padding: 20px;
  }
}

.product-modal {
  background: var(--bg-canvas);
  width: 100%;
  max-width: 1160px;
  max-height: 94vh;
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUpModal 0.28s ease;
}

@media (min-width: 768px) {
  .product-modal {
    border-radius: 20px;
    max-height: 90vh;
  }
}

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close-btn {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  clear: both;
}

@media (min-width: 800px) {
  .product-detail-layout {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

/* Interactive Stage (Artwork / Room Preview / Brushstroke Zoom) */
.detail-stage-col {
  padding: 8px 18px 24px;
}

@media (min-width: 800px) {
  .detail-stage-col {
    padding: 20px 26px 30px;
    border-right: 1px solid var(--border-subtle);
  }
}

.stage-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 25%, #FCFBF9 0%, #EAE4DA 100%);
  border: 1px solid var(--border-subtle);
  transition: background 0.35s ease;
}

/* Mode 2: Photorealistic Luxury Living Room Wall Mockup + Gallery Lighting */
.room-backdrop-layer,
.room-spotlight-overlay,
.room-light-switcher,
.room-shuffle-btn {
  display: none;
}

.stage-viewport.mode-room {
  background: #1E1914;
  padding: 0;
}

.stage-viewport.mode-room .room-backdrop-layer {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--room-backdrop-url, url('../uploads/ui/room-sofa-backdrop.jpg'));
  background-size: cover;
  background-position: center center;
  transition: filter 0.4s ease;
  filter: brightness(0.97) contrast(1.02);
}

/* Top-down triple gallery spotlight cone over the wall & artwork */
.stage-viewport.mode-room .room-spotlight-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 36% at 50% 24%, rgba(255, 241, 206, 0.16) 0%, rgba(255, 232, 185, 0.05) 55%, transparent 80%),
    radial-gradient(ellipse 100% 70% at 50% 42%, transparent 56%, rgba(18, 12, 6, 0.18) 100%);
  mix-blend-mode: soft-light;
  transition: opacity 0.4s ease, background 0.4s ease;
}

/* Light Preset: Daylight */
.stage-viewport.mode-room.light-day .room-backdrop-layer {
  filter: brightness(1.06) contrast(0.99) saturate(0.97);
}
.stage-viewport.mode-room.light-day .room-spotlight-overlay {
  background:
    linear-gradient(105deg, rgba(255, 252, 245, 0.16) 0%, transparent 55%, rgba(20, 16, 12, 0.08) 100%);
}

/* Light Preset: Evening Gallery Spotlight */
.stage-viewport.mode-room.light-evening .room-backdrop-layer {
  filter: brightness(0.62) contrast(1.10) saturate(0.92);
}
.stage-viewport.mode-room.light-evening .room-spotlight-overlay {
  mix-blend-mode: normal;
  background:
    radial-gradient(ellipse 38% 36% at 50% 39%, rgba(255, 224, 158, 0.22) 0%, rgba(255, 208, 128, 0.06) 52%, rgba(10, 8, 6, 0.42) 100%);
}

/* Room Lighting Ambience Switcher (Top-Right Pill) */
.stage-viewport.mode-room .room-light-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 6;
  padding: 3px;
  border-radius: 99px;
  background: rgba(20, 18, 16, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.room-light-btn {
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  transition: all 0.2s ease;
}

.room-light-btn:hover {
  color: #FFFFFF;
}

.room-light-btn.active {
  background: #E2BC6B;
  color: #161412;
}

.stage-viewport.mode-room .room-shuffle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  bottom: 10px;
  right: 12px;
  z-index: 6;
  padding: 5px 11px;
  border-radius: 99px;
  background: rgba(20, 18, 16, 0.78);
  backdrop-filter: blur(8px);
  color: #FAF8F5;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s ease;
}

.stage-viewport.mode-room .room-shuffle-btn:hover {
  background: #183A2C;
  border-color: #E2BC6B;
  color: #F6E2B3;
}

.room-sofa-prop {
  display: none !important;
}

.sofa-back {
  position: absolute;
  bottom: 34%;
  left: 6%;
  right: 6%;
  height: 56%;
  background: linear-gradient(180deg, #EFECE6 0%, #DDD6CA 100%);
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.06);
}

.sofa-seat {
  position: absolute;
  bottom: 8%;
  left: 0;
  right: 0;
  height: 36%;
  background: linear-gradient(180deg, #F6F4F0 0%, #E3DDD2 100%);
  border-radius: 8px 8px 4px 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.sofa-scale-caption {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 5;
  background: rgba(24, 22, 21, 0.78);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: none;
}

.stage-viewport.mode-room .sofa-scale-caption {
  display: inline-block;
}

/* Live Framed Artwork Element */
.framed-painting-wrapper {
  position: relative;
  max-width: 88%;
  max-height: 86%;
  transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow-painting);
  overflow: hidden;
}

.stage-viewport.mode-room .framed-painting-wrapper {
  position: absolute;
  z-index: 2;
  top: var(--room-art-top, 41.5%);
  left: var(--room-art-left, 50%);
  transform: translate(-50%, -50%);
  max-width: 58%;
  max-height: 46%;
  /* Multi-layered physical wall drop-shadow from top spotlights + left window */
  box-shadow:
    1px 2px 4px rgba(24, 16, 8, 0.44),
    2px 10px 18px -2px rgba(28, 18, 10, 0.36),
    4px 22px 36px -6px rgba(32, 22, 12, 0.28);
}

.stage-viewport.mode-room .framed-painting-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Warm top-down gallery spotlight sheen across the framed canvas */
.stage-viewport.mode-room .framed-painting-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(255, 244, 214, 0.22) 0%, transparent 72%),
    linear-gradient(180deg, rgba(255, 242, 210, 0.08) 0%, transparent 45%, rgba(18, 12, 6, 0.14) 100%);
  mix-blend-mode: soft-light;
}

/* Harmonize digital canvas white-balance with warm indoor 3000K plaster wall */
.stage-viewport.mode-room .framed-painting-wrapper img {
  filter: brightness(0.95) contrast(1.03) sepia(0.06) saturate(0.97);
}

/* Top molding casts realistic recessed shadow onto top edge of canvas */
.stage-viewport.mode-room .framed-painting-wrapper.frame-style-real::after {
  box-shadow:
    inset 0 5px 9px -2px rgba(14, 9, 4, 0.56),
    inset 0 0 8px rgba(0, 0, 0, 0.30),
    inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.stage-viewport.mode-room.light-day .framed-painting-wrapper {
  box-shadow:
    2px 2px 5px rgba(28, 22, 16, 0.32),
    4px 10px 18px -3px rgba(32, 24, 16, 0.24),
    6px 20px 32px -6px rgba(32, 24, 16, 0.18);
}
.stage-viewport.mode-room.light-day .framed-painting-wrapper img {
  filter: brightness(1.00) contrast(1.01) sepia(0.02);
}

.stage-viewport.mode-room.light-evening .framed-painting-wrapper {
  box-shadow:
    0 3px 6px rgba(8, 5, 2, 0.62),
    0 14px 26px -2px rgba(10, 6, 2, 0.54),
    0 26px 46px -4px rgba(8, 5, 2, 0.44);
}
.stage-viewport.mode-room.light-evening .framed-painting-wrapper img {
  filter: brightness(0.92) contrast(1.07) sepia(0.10) saturate(1.02);
}

.framed-painting-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

/* Mode 3: Macro Brushstroke Inspection */
.stage-viewport.mode-macro .framed-painting-wrapper {
  max-width: 100%;
  max-height: 100%;
  border: none !important;
  border-image: none !important;
  padding: 0 !important;
}

.stage-viewport.mode-macro .framed-painting-wrapper img {
  transform: scale(2.15);
  transform-origin: 55% 45%;
}

/* Real Photographed 9-Slice Frame Molding (CSS border-image) */
.frame-style-real {
  border-style: solid;
  border-color: transparent;
  border-width: var(--real-frame-width, 24px);
  border-image-source: var(--real-frame-image);
  border-image-slice: 64;
  border-image-repeat: round;
  padding: var(--real-liner-width, 8px);
  background: linear-gradient(145deg, #FAF6EC 0%, #EFE8D6 100%);
  box-shadow:
    inset 0 0 4px rgba(32, 20, 10, 0.28),
    0 24px 48px rgba(18, 22, 18, 0.34),
    0 8px 18px rgba(18, 22, 18, 0.22);
}

.frame-style-real img {
  border: var(--real-fillet-width, 1.5px) solid #CCA24A;
}

.frame-style-real::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.stage-viewport.mode-room .framed-painting-wrapper.frame-style-real {
  border-width: calc(var(--real-frame-width, 24px) * 0.42);
}

.stage-frame-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(20, 26, 22, 0.78);
  backdrop-filter: blur(8px);
  color: #FAF8F5;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

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

.stage-viewport.mode-macro .stage-frame-badge {
  display: none;
}

/* Realistic Live CSS Frame Styles (Legacy fallback) */
.frame-style-walnut {
  border: 12px solid #3B281CC9;
  border-color: #4A3222 #352216 #2A1B11 #4E3626;
  padding: 6px;
  background: #F7F3EB;
}

.frame-style-oak {
  border: 12px solid #C59B6D;
  border-color: #D2AA7C #B5895A #9E7447 #CCA374;
  padding: 6px;
  background: #FAF7F2;
}

.frame-style-gold {
  border: 14px solid #C59B38;
  border-color: #DFB858 #A97E22 #8F6817 #D5AD4B;
  padding: 8px;
  background: #FBF8F1;
  box-shadow: inset 0 0 0 2px #7A5915, var(--shadow-painting);
}

.frame-style-floating {
  border: 6px solid #1C1917;
  padding: 5px;
  background: #2C2926;
}

.frame-style-none {
  border: none;
  border-image: none;
  padding: 0;
  box-shadow: 0 22px 44px rgba(18, 22, 18, 0.28), 0 4px 10px rgba(18, 22, 18, 0.16);
}

/* Visual Frame Selector (Real Photographed Corners) */
.frame-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.frame-filter-tab {
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-canvas);
  border: 1px solid var(--border-strong);
  transition: all var(--transition);
}

.frame-filter-tab:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

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

.frame-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-height: 318px;
  overflow-y: auto;
  padding: 2px 4px 4px 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(24, 58, 44, 0.28) transparent;
}

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

.frame-thumb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 7px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: #FFFFFF;
  text-align: left;
  transition: all 0.2s ease;
}

.frame-thumb-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(24, 58, 44, 0.08);
}

.frame-thumb-card.selected {
  border-color: var(--accent-emerald);
  background: #F1F7F4;
  box-shadow: 0 0 0 1.5px var(--accent-emerald);
}

.frame-thumb-card .frame-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-emerald);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(24, 58, 44, 0.35);
}

.frame-thumb-card.selected .frame-check {
  display: inline-flex;
}

.frame-thumb-preview {
  height: 68px;
  border-radius: 7px;
  background: linear-gradient(180deg, #FAF8F4 0%, #F1ECE3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 6px;
  padding: 4px;
}

.frame-thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.frame-thumb-card:hover .frame-thumb-preview img {
  transform: scale(1.06);
}

.frame-thumb-none-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 54px;
  height: 40px;
  border: 2px dashed #B5ADA0;
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  background: #FFFFFF;
}

.frame-thumb-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.8px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--text-primary);
  min-height: 30px;
}

.frame-thumb-price {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold);
}

.frame-thumb-card.selected .frame-thumb-price {
  color: var(--accent-emerald);
}

.frame-active-info {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #FAF8F4;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

.frame-active-info img {
  width: 52px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  background: #FFFFFF;
  border-radius: 6px;
  padding: 3px;
  border: 1px solid var(--border-subtle);
}

.stage-mode-switcher {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.stage-mode-btn {
  flex: 1;
  min-width: 115px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.stage-mode-btn.active {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--bg-dark);
}

.painting-story-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-secondary);
}

.painting-story-box h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

/* Right Column: Options, Price, Actions */
.detail-info-col {
  padding: 16px 18px 28px;
  background: var(--bg-surface);
}

@media (min-width: 920px) {
  .detail-info-col {
    padding: 24px 28px 32px;
  }
}

.detail-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.detail-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.05vw, 27px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  text-wrap: pretty !important;
  margin-bottom: 12px;
}

.detail-price-box {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.detail-price-main {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-emerald);
  line-height: 1.2;
}

.detail-price-quote {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-quote);
}

.detail-price-note {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.option-group {
  margin-bottom: 20px;
}

.option-group-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.option-group-label span.hint {
  font-weight: 500;
  font-size: 12px;
  color: var(--accent-gold);
}

.size-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.option-radio-card {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-canvas);
  text-align: left;
  transition: all var(--transition);
}

.option-radio-card:hover {
  border-color: var(--accent-gold);
}

.option-radio-card.selected {
  border-color: var(--accent-emerald);
  background: #F1F7F4;
  box-shadow: 0 0 0 1px var(--accent-emerald);
}

.option-radio-card strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
}

.option-radio-card small {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
}

.frame-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

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

.frame-swatch-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-canvas);
  text-align: left;
  transition: all var(--transition);
}

.frame-swatch-btn.selected {
  border-color: var(--accent-emerald);
  background: #F1F7F4;
  box-shadow: 0 0 0 1px var(--accent-emerald);
}

.swatch-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(0, 0, 0, 0.15);
}

.detail-actions-stack {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.detail-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-zalo {
  background: var(--zalo-color);
  color: #fff;
}

.btn-zalo:hover {
  background: #0055D4;
}

.detail-guarantees {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   QUICK ORDER / QUOTE MODAL (1-STEP CHECKOUT)
   ========================================================================== */
.quick-form-modal {
  background: var(--bg-surface);
  width: 100%;
  max-width: 520px;
  border-radius: 20px 20px 0 0;
  padding: 24px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
}

@media (min-width: 640px) {
  .quick-form-modal {
    border-radius: 20px;
  }
}

.selected-summary-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  align-items: center;
}

.selected-summary-card img {
  width: 68px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.cart-drawer {
  background: var(--bg-surface);
  width: 100%;
  max-width: 440px;
  height: 100%;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  margin: 16px 0;
}

.cart-item-row {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
}

.cart-item-row img {
  width: 72px;
  height: 58px;
  object-fit: cover;
  border-radius: 4px;
}

/* ==========================================================================
   LUXURY GALLERY FOOTER (4-COLUMN EXECUTIVE + ARTISTIC BACKDROP)
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #DDD7CD;
  padding: 44px 0 30px;
  border-top: 2px solid rgba(212, 163, 89, 0.55);
  background:
    radial-gradient(ellipse at 12% 10%, rgba(214, 166, 86, 0.16) 0%, transparent 46%),
    radial-gradient(ellipse at 88% 92%, rgba(30, 82, 62, 0.28) 0%, transparent 52%),
    linear-gradient(160deg, #122820 0%, #15211C 55%, #1A1714 100%);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: -16px;
  background: url('../uploads/paintings/son-thuy.png') center / cover no-repeat;
  filter: blur(14px) saturate(0.9);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.site-footer > .container {
  position: relative;
  z-index: 2;
}

/* Pre-footer Luxury Consultation Ribbon */
.footer-cta-ribbon {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 38px;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 245, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 180, 109, 0.25);
}

@media (min-width: 820px) {
  .footer-cta-ribbon {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
  }
}

.footer-cta-ribbon h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 28px);
  color: #FAF8F5;
  line-height: 1.2;
  margin-bottom: 4px;
}

.footer-cta-ribbon p {
  font-size: 13.5px;
  color: #C5BEB3;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  align-items: stretch;
}

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

@media (min-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1.32fr 0.96fr 1.04fr 1.18fr;
    gap: 34px;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-logo-wrap {
  min-height: 44px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.footer-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 18px;
}

.footer-trust-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: #F3D59E;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(212, 163, 89, 0.12);
  border: 1px solid rgba(212, 163, 89, 0.3);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FAF8F5;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition);
}

.footer-social-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-brand-desc {
  font-size: 13.8px;
  color: #C9C2B7;
  line-height: 1.68;
}

.footer-acc-chev {
  display: none;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.2;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #FAF8F5;
  margin-bottom: 14px;
  padding-bottom: 8px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: #D4A359;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8.5px;
  font-size: 13.8px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #CFC9BE;
  transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
  color: #F4D59B;
  transform: translateX(3px);
}

.footer-contact-card {
  background: rgba(255, 252, 245, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.footer-contact-list {
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 13.5px;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer-contact-list .fc-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A8A095;
  font-weight: 600;
}

.footer-contact-list strong {
  color: #F4D59B;
  font-size: 14.5px;
}

.footer-payment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-pay-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
  color: #E5DFD5;
}

.footer-bottom {
  padding-top: 20px;
  font-size: 13px;
  color: #A39B8F;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links a:hover {
  color: #F4D59B;
}

/* ==========================================================================
   STICKY MOBILE THUMB-ZONE ACTION BAR (< 900px)
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 180;
  height: var(--mobile-bar-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 8px;
  padding: 8px 10px;
  align-items: center;
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.m-bar-btn {
  height: 100%;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.15;
  gap: 3px;
}

.m-bar-call {
  background: #F4EFE7;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.m-bar-zalo {
  background: #EBF3FF;
  color: var(--zalo-color);
  border: 1px solid #BBD6FF;
}

.m-bar-primary {
  background: var(--accent-emerald);
  color: #fff;
  font-size: 13px;
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 82px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  max-width: 92vw;
  text-align: center;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE OPTIMIZATION (<= 767px)
   Proportional real-frame thickness, Sofa stage, Header, Cards & Footer
   ========================================================================== */
@media (max-width: 767px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Header & Topbar */
  .topbar {
    font-size: 11px;
    padding: 5px 0;
  }

  .site-header {
    height: 62px;
  }

  .brand-logo-img {
    height: 36px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-icon-btn {
    width: 38px;
    height: 38px;
  }

  .search-drawer-input {
    font-size: 16px; /* Prevents iOS Safari zoom on focus */
  }

  /* Product Detail Stage & Proportional Real Frame Thickness on Mobile */
  .stage-viewport {
    padding: 12px;
    border-radius: 12px;
  }

  .framed-painting-wrapper {
    max-width: 92%;
    max-height: 82%;
  }

  .framed-painting-wrapper img {
    max-height: 260px;
  }

  /* Scale real photographed border-width proportionally for 360-430px viewports */
  .framed-painting-wrapper.frame-style-real {
    border-width: calc(var(--real-frame-width, 24px) * 0.56);
    box-shadow:
      0 14px 28px rgba(18, 22, 18, 0.30),
      0 4px 10px rgba(18, 22, 18, 0.18);
  }

  /* Sofa Mode on Mobile: Crisp proportional frame + zero badge overlap */
  .stage-viewport.mode-room .framed-painting-wrapper {
    top: var(--room-art-top, 41.5%);
    left: var(--room-art-left, 50%);
    max-width: 48%;
    max-height: 38%;
  }

  .stage-viewport.mode-room .room-shuffle-btn {
    bottom: 8px;
    right: 8px;
    padding: 4px 9px;
    font-size: 10px;
  }

  .sofa-scale-caption {
    top: 8px;
    bottom: auto;
    left: 8px;
    font-size: 9.5px;
    padding: 3px 7px;
    max-width: 46%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .stage-viewport.mode-room .framed-painting-wrapper.frame-style-real {
    border-width: calc(var(--real-frame-width, 24px) * 0.28);
  }

  .stage-viewport.mode-room .stage-frame-badge {
    display: none;
  }

  .stage-frame-badge {
    bottom: 8px;
    left: 8px;
    padding: 4px 10px;
    font-size: 11px;
    max-width: calc(100% - 16px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sofa-scale-caption {
    top: auto;
    bottom: 8px;
    left: 8px;
    font-size: 10px;
    padding: 3px 8px;
    max-width: calc(100% - 16px);
  }

  .stage-viewport.mode-room .room-light-switcher {
    top: 8px;
    right: 8px;
    padding: 2px;
    gap: 2px;
  }

  .room-light-btn {
    padding: 3px 7px;
    font-size: 10px;
  }

  /* 3-tab Stage Mode Switcher fits cleanly without horizontal clipping */
  .stage-mode-switcher {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    overflow-x: visible;
    margin-top: 10px;
  }

  .stage-mode-btn {
    min-width: 0;
    padding: 8px 5px;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
  }

  /* Size & Visual 18-Frame Selector on Mobile */
  .option-group-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .size-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .option-radio-card {
    padding: 9px 10px;
  }

  .option-radio-card strong {
    font-size: 13px;
  }

  .option-radio-card small {
    font-size: 10.5px;
  }

  .frame-filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .frame-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .frame-filter-tab {
    flex-shrink: 0;
    padding: 5px 10px;
    font-size: 11.5px;
  }

  .frame-visual-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-height: 276px;
  }

  .frame-thumb-card {
    padding: 5px;
    border-radius: 8px;
  }

  .frame-thumb-card .frame-check {
    width: 17px;
    height: 17px;
    font-size: 10px;
    top: 4px;
    right: 4px;
  }

  .frame-thumb-preview {
    height: 50px;
    margin-bottom: 4px;
    padding: 3px;
  }

  .frame-thumb-name {
    font-size: 10.5px;
    line-height: 1.22;
    min-height: 26px;
  }

  .frame-thumb-price {
    font-size: 10px;
    margin-top: 2px;
  }

  .frame-active-info {
    padding: 8px 10px;
    font-size: 12px;
    gap: 8px;
  }

  .frame-active-info img {
    width: 44px;
    height: 32px;
  }

  .detail-price-box {
    padding: 12px 14px;
  }

  .detail-price-main {
    font-size: 26px;
  }

  .detail-secondary-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-secondary-actions .btn {
    width: 100%;
    padding: 11px 14px;
    font-size: 13.5px;
  }

  /* Footer Mobile Polish — Native Luxury App Style */
  .site-footer {
    padding-top: 28px;
    padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }

  .footer-cta-ribbon {
    padding: 20px 16px;
    margin-bottom: 24px;
    border-radius: 16px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .footer-cta-ribbon h3 {
    font-size: 20px;
    line-height: 1.28;
    margin-bottom: 6px;
  }

  .footer-cta-ribbon p {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

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

  .footer-grid {
    gap: 14px;
    padding-bottom: 22px;
  }

  /* Centered Brand Identity Block on Mobile */
  .footer-col-brand {
    text-align: center;
    align-items: center;
    padding-bottom: 8px;
  }

  .footer-col-brand .footer-brand-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  .footer-col-brand .footer-brand-desc {
    font-size: 13px;
    line-height: 1.55;
    max-width: 340px;
    margin: 0 auto 12px;
  }

  .footer-col-brand .footer-trust-pills {
    justify-content: center;
    gap: 6px;
  }

  .footer-col-brand .footer-trust-pill {
    font-size: 11px;
    padding: 4px 10px;
  }

  .footer-col-brand .footer-social-row {
    justify-content: center;
    margin-top: 12px;
  }

  /* Collapsible Accordion Panels for Links on Mobile */
  .footer-col-accordion {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 0 16px;
  }

  .footer-col-accordion .footer-acc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 14px 0;
    cursor: pointer;
    user-select: none;
    font-size: 15px;
  }

  .footer-col-accordion .footer-acc-head::after {
    display: none;
  }

  .footer-col-accordion .footer-acc-chev {
    display: inline-block;
    color: #E2B46D;
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  .footer-col-accordion.open .footer-acc-chev {
    transform: rotate(180deg);
  }

  .footer-col-accordion .footer-links {
    display: none;
    padding-bottom: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 10px;
  }

  .footer-col-accordion.open .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-col-accordion .footer-links a {
    font-size: 13.5px;
    padding: 2px 0;
  }

  /* Contact Card Mobile Polish */
  .footer-col-contact h4 {
    text-align: center;
    margin-bottom: 12px;
  }

  .footer-col-contact h4::after {
    margin: 8px auto 0;
  }

  .footer-contact-card {
    padding: 16px;
    border-radius: 14px;
  }

  .footer-payment-tags {
    justify-content: center;
  }

  /* Centered Copyright Bar */
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding-top: 18px;
    font-size: 12.5px;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}


/* ==========================================================================
   LUXURY QUOTE MODAL POPUP (#vtQuoteModal)
   ========================================================================== */
.vt-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(16, 22, 18, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.vt-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.vt-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 26px 24px 22px;
  box-shadow: 0 28px 64px rgba(12, 18, 14, 0.36);
  border: 1px solid var(--border-subtle);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.vt-modal-overlay.open .vt-modal-dialog {
  transform: translateY(0) scale(1);
}

.vt-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F4F1EC;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}

.vt-modal-close:hover {
  background: #E6E0D6;
}

.vt-modal-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.vt-modal-title {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.vt-modal-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #FAF8F4;
  border: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.vt-modal-summary img {
  width: 68px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.vt-modal-summary strong {
  display: block;
  font-size: 13.5px;
  color: var(--text-primary);
  line-height: 1.3;
}

.vt-modal-code {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
}

.vt-modal-config {
  display: inline-block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-emerald);
  background: #E7F4ED;
  padding: 2px 8px;
  border-radius: 99px;
}

.vt-modal-dialog .form-field {
  margin-bottom: 12px;
}

.vt-modal-dialog .form-field label {
  font-size: 12.5px;
  margin-bottom: 4px;
}

.vt-modal-alt {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
}

.vt-modal-alt a {
  color: var(--zalo-color);
  font-weight: 700;
  text-decoration: underline;
}


/* ==========================================================================
   LUXURY ART GALLERY DESIGN SYSTEM POLISH (2026 REFINEMENT)
   Refined color harmony, editorial typography, gallery whitespace & micro-interactions
   ========================================================================== */
:root {
  --bg-canvas: #FAF9F6;
  --bg-warm: #F4F0E8;
  --accent-emerald: #153327;
  --accent-emerald-hover: #0E241B;
  --accent-gold: #A87932;
  --shadow-sm: 0 2px 10px rgba(20, 24, 21, 0.04);
  --shadow-md: 0 14px 34px rgba(20, 24, 21, 0.08);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Editorial Serif Headings — Balanced Wrapping & Tighter Luxury Tracking */
h1, h2, .section-title, .hero-title {
  text-wrap: balance;
}

.card-title {
  text-wrap: wrap;
}

.detail-title {
  text-wrap: pretty !important;
}

.section-title {
  letter-spacing: -0.015em;
  font-weight: 600;
}

.section-subtitle {
  font-size: 15px;
  line-height: 1.65;
  max-width: 640px;
}

/* Generous Gallery Vertical Rhythm on Desktop */
@media (min-width: 900px) {
  .catalog-section {
    padding: 44px 0 74px;
  }

  .section-header {
    margin-bottom: 30px;
  }
}

/* Harmonized Luxury Buttons & Tactile Hover States */
.btn {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 10px 22px rgba(21, 51, 39, 0.24);
}

.btn-gold:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 10px 22px rgba(168, 121, 50, 0.28);
}

/* Refined Zalo Button — Recognizable Brand Blue without Clashing with Luxury Palette */
.btn-zalo {
  background: #EFF6FF;
  color: #005CE6;
  border: 1.5px solid #BFDBFE;
}

.btn-zalo:hover {
  background: #0068FF;
  color: #FFFFFF;
  border-color: #0068FF;
  transform: translateY(-1.5px);
  box-shadow: 0 10px 20px rgba(0, 104, 255, 0.22);
}

/* Accessible Focus Rings */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Elevated Museum Painting Cards */
.painting-card {
  border-radius: 16px;
  border-color: rgba(213, 205, 190, 0.65);
  box-shadow: 0 2px 10px rgba(20, 24, 21, 0.035);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.painting-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 121, 50, 0.45);
  box-shadow: 0 20px 40px rgba(21, 35, 28, 0.10);
}

.card-media {
  background: radial-gradient(circle at 50% 35%, #FCFBF8 0%, #EFEAE0 100%);
  padding: 20px;
}

.card-framed-art {
  border: 5px solid #2C211A;
  box-shadow:
    inset 0 0 0 1.5px #E5D4B3,
    0 14px 28px rgba(18, 14, 10, 0.24),
    0 4px 10px rgba(18, 14, 10, 0.14);
}

.tag-pill {
  font-size: 10.5px;
  letter-spacing: 0.02em;
  padding: 3.5px 9.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.card-fengshui {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(28, 25, 23, 0.06);
  font-size: 10.5px;
  padding: 3px 9px;
}

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

.card-title {
  letter-spacing: -0.01em;
  min-height: 0;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-cta-btn {
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.card-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(21, 51, 39, 0.2);
}

/* Crisp Glass Header Elevation */
.site-header {
  background: rgba(250, 249, 246, 0.92);
  box-shadow: 0 1px 0 rgba(28, 25, 23, 0.05), 0 4px 18px rgba(28, 25, 23, 0.03);
}


/* ==========================================================================
   PRODUCT DETAIL STAGE ASPECT-RATIO, TRUST STRIP & LIGHTBOX POLISH
   ========================================================================== */
.framed-painting-wrapper {
  display: inline-block;
  line-height: 0;
  max-width: 88%;
  max-height: none;
}

.framed-painting-wrapper img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.stage-viewport.mode-room .framed-painting-wrapper {
  display: block;
  max-height: none;
}

.stage-viewport.mode-room .framed-painting-wrapper img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.stage-zoom-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(20, 26, 22, 0.74);
  backdrop-filter: blur(8px);
  color: #FAF8F5;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, transform 0.2s ease;
}

.stage-zoom-btn:hover {
  background: var(--accent-emerald);
  transform: translateY(-1px);
}

.stage-viewport.mode-room .stage-zoom-btn,
.stage-viewport.mode-macro .stage-zoom-btn {
  display: none;
}

.option-group-label-stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

/* 4-Pillar Trust Strip under Product Stage */
.pd-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .pd-trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

.pd-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 10px rgba(20, 32, 26, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pd-trust-item:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 134, 58, 0.4);
}

.pd-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #F1F6F3;
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pd-trust-text {
  min-width: 0;
  width: 100%;
}

.pd-trust-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  white-space: nowrap;
}

.pd-trust-text span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--text-muted);
  text-wrap: balance;
}

/* Fullscreen Artwork Lightbox */
.vt-lightbox-dialog {
  position: relative;
  width: fit-content;
  min-width: min(92vw, 460px);
  max-width: min(94vw, 1140px);
  max-height: 94vh;
  background: radial-gradient(ellipse 80% 55% at 50% 8%, #FFFFFF 0%, #F7F6F2 56%, #ECEAE2 100%);
  border-radius: 16px;
  padding: clamp(26px, 3vw, 40px) clamp(28px, 4.2vw, 56px) 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.vt-lightbox-topbar {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.vt-lightbox-zoom-tools {
  display: none;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #DDD8CE;
  border-radius: 999px;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(24, 20, 15, 0.10);
  pointer-events: auto;
}

.vt-lb-zoom-btn,
.vt-lb-zoom-level {
  border: none;
  background: transparent;
  color: #1C1917;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background 0.16s ease, opacity 0.16s ease;
}

.vt-lb-zoom-btn {
  width: 32px;
  height: 32px;
  font-size: 17px;
  line-height: 1;
}

.vt-lb-zoom-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.vt-lb-zoom-level {
  min-width: 48px;
  height: 32px;
  padding: 0 6px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.vt-lb-zoom-btn:not(:disabled):active,
.vt-lb-zoom-level:active {
  background: rgba(28, 25, 23, 0.08);
}

.vt-lightbox-dialog .vt-modal-close {
  position: static;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.94);
  color: #1C1917;
  border: 1px solid #DDD8CE;
  box-shadow: 0 4px 14px rgba(24, 20, 15, 0.12);
}

.vt-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 0;
}

.vt-lightbox-frame {
  display: inline-block !important;
  line-height: 0;
  max-width: 100% !important;
  max-height: none !important;
  flex-shrink: 0;
  border-radius: 0 !important;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 2px 6px rgba(28, 22, 16, 0.22),
    6px 18px 34px -4px rgba(28, 22, 16, 0.28),
    14px 36px 64px -10px rgba(28, 22, 16, 0.20) !important;
}

.vt-lightbox-dialog .vt-lightbox-frame img {
  max-width: 100%;
  max-height: calc(92vh - 195px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.vt-lightbox-cap {
  width: 0;
  min-width: 100%;
  color: #3E3934;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.vt-lightbox-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #1C1917;
  line-height: 1.35;
  text-wrap: balance;
}

.vt-lightbox-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.vt-lightbox-meta span {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.06);
  border: 1px solid rgba(28, 25, 23, 0.08);
  color: #4A443E;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

@media (max-width: 767px) {
  #vtLightboxModal.vt-modal-overlay {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    background: rgba(16, 20, 18, 0.94);
  }

  #vtLightboxModal .vt-lightbox-dialog {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 6px calc(env(safe-area-inset-bottom, 0px) + 12px);
    justify-content: space-between;
    gap: 8px;
  }

  #vtLightboxModal .vt-lightbox-topbar {
    position: static;
    width: 100%;
    padding: 0 6px;
    justify-content: space-between;
    pointer-events: auto;
    flex-shrink: 0;
  }

  #vtLightboxModal .vt-lightbox-zoom-tools {
    display: inline-flex;
  }

  #vtLightboxModal .vt-lightbox-dialog .vt-modal-close {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  #vtLightboxModal .vt-lightbox-stage {
    flex: 1;
    width: 100%;
    padding: 6px 2px 12px;
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #vtLightboxModal .vt-lightbox-stage::-webkit-scrollbar {
    display: none;
  }

  #vtLightboxModal .vt-lightbox-stage.is-zoomed {
    align-items: flex-start;
    justify-content: flex-start;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  #vtLightboxModal .vt-lightbox-frame {
    margin: auto;
  }

  #vtLightboxModal .vt-lightbox-frame.is-zoomed {
    max-width: none !important;
  }

  #vtLightboxModal .vt-lightbox-frame.frame-style-real {
    border-width: var(--real-frame-width, 16px);
  }

  #vtLightboxModal .vt-lightbox-dialog .vt-lightbox-frame img {
    max-width: 100%;
    max-height: calc(100dvh - 190px);
    width: auto;
    height: auto;
  }

  #vtLightboxModal .vt-lightbox-cap {
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
    padding: 8px 6px 2px;
    border-top: 1px solid rgba(28, 25, 23, 0.08);
    gap: 6px;
  }

  #vtLightboxModal .vt-lightbox-title {
    font-size: 13.5px;
    line-height: 1.35;
  }

  #vtLightboxModal .vt-lightbox-meta {
    gap: 5px;
  }

  #vtLightboxModal .vt-lightbox-meta span {
    font-size: 11px;
    padding: 2.5px 8px;
  }
}

@media (max-width: 767px) {
  .stage-viewport .framed-painting-wrapper img {
    max-height: 220px;
  }

  .stage-zoom-btn {
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    font-size: 11px;
  }
}


/* ==========================================================================
   GALLERY CARD NATURAL ASPECT RATIO & EQUAL-HEIGHT GRID ALIGNMENT
   Landscape, Portrait & Square paintings each display in true proportion inside a uniform 4:3 museum stage
   ========================================================================== */
.card-media {
  aspect-ratio: 4 / 3;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, #FCFBF8 0%, #EFEAE0 100%);
}

.card-framed-art {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  border-style: solid;
  border-color: #7A3E24;
  border-width: 9px;
  border-image-source: url('../uploads/frames/border-khung-02.png?v=3');
  border-image-slice: 64;
  border-image-repeat: round;
  padding: 4px;
  background: linear-gradient(145deg, #FAF6EC 0%, #EFE8D6 100%);
  box-shadow:
    inset 0 0 0 1px rgba(196, 152, 62, 0.55),
    0 14px 28px rgba(45, 28, 14, 0.24),
    0 4px 10px rgba(45, 28, 14, 0.16);
}

@media (max-width: 767px) {
  .card-framed-art {
    border-width: 6px;
    padding: 3px;
  }
}

.card-sizes-preview {
  min-height: 0;
  gap: 6px;
  margin-bottom: 14px;
  align-content: flex-start;
}

.price-quote-text {
  white-space: nowrap;
  font-size: 13.5px !important;
}

/* Category Page Quick Orientation Filter Pills */
.shop-orientation-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

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

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

.shop-ori-pill:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

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


/* ==========================================================================
   NATIVE MOBILE E-COMMERCE APP DESIGN SYSTEM (<= 767px)
   Touch-first, 5-tab Bottom Bar, Swipeable Carousels, 2-Col Shop Cards,
   Product Purchase Dock & Native Bottom-Sheet Modals
   ========================================================================== */

/* Desktop: hide mobile-only app shells */
.vt-mob-cat-strip,
.vt-app-tabbar,
.pd-mobile-dock {
  display: none;
}

@media (max-width: 767px) {
  /* Touch & App Scroll Feel */
  a, button, input, select, textarea, label {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    background-color: #F7F5F0;
  }

  /* Compact App Topbar + Header */
  .topbar {
    font-size: 10.5px;
    padding: 4px 0;
  }

  .site-header {
    height: 58px;
    box-shadow: 0 2px 12px rgba(20, 26, 22, 0.06);
  }

  .brand-logo-img {
    height: 34px;
  }

  /* Swipeable Category Story Strip right under Header */
  .vt-mob-cat-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .vt-mob-cat-strip::-webkit-scrollbar {
    display: none;
  }

  .vt-mob-cat-chip {
    flex-shrink: 0;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 8px;
    border-radius: 99px;
    background: #F5F2EB;
    border: 1px solid #E5DFD3;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
  }

  .vt-mob-cat-chip.active {
    background: var(--accent-emerald);
    border-color: var(--accent-emerald);
    color: #FFFFFF;
  }

  .vt-mob-cat-ico {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--accent-emerald);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .vt-mob-cat-chip.active .vt-mob-cat-ico {
    background: rgba(255, 255, 255, 0.18);
    color: #F3D59E;
  }

  /* Native App Hero on Mobile: Visual first + Crisp CTA */
  .hero {
    padding: 16px 0 22px;
  }

  .hero-grid {
    gap: 16px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual > img {
    border-radius: 14px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .hero-floating-tag {
    display: none;
  }

  .hero-eyebrow {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 8px;
  }

  .hero-title {
    font-size: 27px;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .hero-desc {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
    text-align: center;
    justify-content: center;
  }

  .hero-trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
  }

  .trust-metric {
    background: #FFFFFF;
    border: 1px solid rgba(182, 134, 58, 0.2);
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(20, 30, 24, 0.03);
  }

  .trust-metric-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .trust-metric strong {
    font-size: 14.5px;
    line-height: 1.15;
    color: var(--accent-emerald);
  }

  .trust-metric span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--text-secondary);
    text-wrap: balance;
  }

  /* Horizontal Swipeable Carousels (Spaces, 11 Collections, Blog, Reviews) */
  .space-shortcuts {
    padding: 14px 0;
  }

  .space-pills-row {
    display: flex !important;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .space-pills-row::-webkit-scrollbar {
    display: none;
  }

  .space-shortcut-card {
    flex: 0 0 142px;
    scroll-snap-align: start;
    padding: 12px 10px;
    border-radius: 14px;
  }

  .space-shortcut-card strong {
    font-size: 13px;
  }

  .space-shortcut-card span:not(.space-icon-badge) {
    font-size: 11px;
  }

  .special-collections-strip {
    padding: 22px 0;
  }

  .special-col-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .special-col-grid::-webkit-scrollbar {
    display: none;
  }

  .special-col-tile {
    flex: 0 0 210px;
    scroll-snap-align: start;
  }

  /* Remove conflicting max-width on blog/review grids so they align 100% cleanly on mobile */
  .blog-grid,
  .reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  /* 2-Column Native E-Commerce Painting Cards Grid on Mobile */
  .paintings-grid,
  .shop-main-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .painting-card {
    border-radius: 12px;
  }

  .card-media {
    padding: 10px;
  }

  .card-framed-art {
    border-width: 3px;
  }

  .card-badges {
    top: 6px;
    left: 6px;
    gap: 4px;
  }

  .card-badges .tag-pill {
    font-size: 9px;
    padding: 2px 6px;
  }

  .card-badges .tag-pill.bespoke {
    display: none;
  }

  .card-fengshui {
    display: none;
  }

  .card-body {
    padding: 10px 10px 11px;
  }

  .card-meta-line {
    font-size: 10px;
    margin-bottom: 3px;
  }

  .card-meta-line span:last-child {
    display: none;
  }

  .card-title {
    font-size: 13.5px;
    line-height: 1.32;
    min-height: 0;
    margin-bottom: 6px;
    text-wrap: wrap !important;
  }

  .card-sizes-preview {
    display: none;
  }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 8px;
  }

  .price-label {
    font-size: 9.5px;
  }

  .price-value {
    font-size: 14.5px;
  }

  .price-quote-text {
    font-size: 12.5px !important;
  }

  .card-cta-btn {
    width: 100%;
    text-align: center;
    padding: 7px 8px;
    font-size: 11.5px;
  }

  /* Section Headers Compact on Mobile */
  .catalog-section {
    padding: 20px 0 38px;
  }

  .section-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin-bottom: 16px;
  }

  .section-header > div {
    min-width: 0;
    flex: 1 1 210px;
  }

  .section-title {
    font-size: 21px;
    line-height: 1.22;
    text-wrap: balance;
  }

  .section-subtitle {
    display: none;
  }

  .section-header .btn {
    padding: 7px 12px;
    font-size: 11.5px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Native Mobile App 5-Tab Bottom Navigation Bar */
  .mobile-sticky-bar {
    display: none !important;
  }

  .vt-app-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 400;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    height: calc(62px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(28, 25, 23, 0.08);
    box-shadow: 0 -8px 24px rgba(18, 26, 22, 0.08);
  }

  .vt-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 60px;
    color: #6B6661;
    font-size: 10px;
    font-weight: 600;
    transition: color 0.15s ease;
  }

  .vt-tab-item.active {
    color: var(--accent-emerald);
    font-weight: 700;
  }

  .vt-tab-zalo {
    color: #005CE6;
  }

  .vt-tab-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    height: 60px;
    padding-bottom: 6px;
    color: var(--accent-emerald);
    font-size: 10px;
    font-weight: 700;
  }

  .vt-tab-center-pill {
    width: 44px;
    height: 44px;
    margin-top: -16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #183A2C 0%, #245742 100%);
    color: #F3D59E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FFFFFF;
    box-shadow: 0 6px 16px rgba(21, 51, 39, 0.34);
  }

  /* Native Product Detail Sticky Purchase Dock (<= 767px) */
  .pd-mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 410;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(28, 25, 23, 0.09);
    box-shadow: 0 -8px 24px rgba(18, 26, 22, 0.1);
  }

  .pd-dock-zalo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-width: 52px;
    height: 44px;
    border-radius: 10px;
    background: #EFF6FF;
    color: #005CE6;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid #BFDBFE;
  }

  .pd-dock-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    height: 44px;
    padding: 0 10px;
    border-radius: 10px;
    background: #F4F1EC;
    color: var(--text-primary);
    font-size: 12.5px;
    font-weight: 700;
    border: 1px solid var(--border-strong);
  }

  .pd-dock-buy {
    flex: 1;
    height: 44px;
    padding: 4px 12px;
    border-radius: 10px;
    background: var(--accent-emerald);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    box-shadow: 0 6px 14px rgba(21, 51, 39, 0.25);
  }

  .pd-dock-buy.is-quote {
    background: var(--accent-gold);
    box-shadow: 0 6px 14px rgba(168, 121, 50, 0.28);
  }

  .pd-dock-buy small {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.88;
  }

  .pd-dock-buy strong {
    font-size: 13px;
    font-weight: 800;
  }

  /* Native iOS/Android Bottom-Sheet Modal on Mobile */
  #vtQuoteModal.vt-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  #vtQuoteModal .vt-modal-dialog {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 22px 22px 0 0;
    padding: 20px 18px calc(22px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    overscroll-behavior-y: contain;
  }

  #vtQuoteModal.vt-modal-overlay.open .vt-modal-dialog {
    transform: translateY(0);
  }

  #vtQuoteModal .vt-modal-dialog::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 99px;
    background: #D6CFC4;
    margin: -6px auto 12px;
  }
}

/* ============================================================================
   HOMEPAGE UPGRADE: BESTSELLER SECTION & CUSTOMIZABLE EDITORIAL BANNERS
   ============================================================================ */
.bestseller-section {
  padding: 52px 0 48px;
  background: linear-gradient(180deg, #FAF7F1 0%, #F4EFE6 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-eyebrow-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9A6B22;
  background: rgba(182, 134, 58, 0.12);
  border: 1px solid rgba(182, 134, 58, 0.28);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.tag-pill.bestseller {
  background: linear-gradient(135deg, #B88635 0%, #D4A653 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(154, 107, 34, 0.28);
}

/* Dual Editorial Promo Banners */
.home-promo-banners {
  padding: 40px 0 12px;
}

.promo-banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.promo-banner-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 280px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #FFFFFF;
  box-shadow: 0 14px 34px rgba(17, 29, 23, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  isolation: isolate;
}

.promo-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -2;
}

.promo-banner-card:hover .promo-banner-bg {
  transform: scale(1.06);
}

.promo-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.promo-theme-emerald .promo-banner-overlay {
  background: linear-gradient(100deg, rgba(11, 32, 24, 0.92) 0%, rgba(15, 42, 31, 0.78) 54%, rgba(15, 42, 31, 0.28) 100%);
}

.promo-theme-obsidian .promo-banner-overlay {
  background: linear-gradient(100deg, rgba(22, 18, 14, 0.92) 0%, rgba(30, 24, 18, 0.78) 54%, rgba(30, 24, 18, 0.26) 100%);
}

.promo-banner-content {
  position: relative;
  padding: 30px 32px;
  max-width: 84%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-banner-eyebrow {
  display: inline-block;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F3CF94;
  background: rgba(243, 207, 148, 0.14);
  border: 1px solid rgba(243, 207, 148, 0.34);
  padding: 4px 11px;
  border-radius: 999px;
}

.promo-banner-content h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.24;
  color: #FFFFFF;
  margin: 0;
  font-weight: 700;
}

.promo-banner-content p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245, 240, 232, 0.88);
  margin: 0;
}

.promo-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #F6D89E;
  transition: gap 0.25s ease, color 0.25s ease;
}

.promo-banner-card:hover .promo-banner-cta {
  gap: 11px;
  color: #FFFFFF;
}

/* Full-Width Atelier Signature Banner */
.home-atelier-banner-section {
  padding: 8px 0 44px;
}

.home-atelier-banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 260px;
  color: #FFFFFF;
  box-shadow: 0 18px 42px rgba(13, 30, 23, 0.16);
  isolation: isolate;
}

.atelier-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.atelier-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(13, 36, 27, 0.94) 0%, rgba(16, 44, 33, 0.84) 52%, rgba(16, 44, 33, 0.45) 100%);
  z-index: -1;
}

.atelier-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 44px;
}

.atelier-banner-copy {
  max-width: 610px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atelier-banner-copy h2 {
  font-family: var(--font-serif);
  font-size: 31px;
  line-height: 1.22;
  color: #FFFFFF;
  margin: 0;
}

.atelier-banner-copy p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(242, 238, 230, 0.88);
  margin: 0;
}

.atelier-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.atelier-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
}

.atelier-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.atelier-banner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex-shrink: 0;
}

.atelier-stat-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(243, 207, 148, 0.28);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 18px 16px;
  min-width: 112px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.atelier-stat-pill strong {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
  color: #F6D89E;
}

.atelier-stat-pill span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
}

@media (max-width: 991px) {
  .promo-banners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .atelier-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 26px;
  }

  .atelier-banner-stats {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .bestseller-section {
    padding: 28px 0 30px;
  }

  .section-eyebrow-gold {
    font-size: 10.5px;
    padding: 4px 10px;
    margin-bottom: 6px;
  }

  .home-promo-banners {
    padding: 22px 0 6px;
  }

  .promo-banner-card {
    min-height: 210px;
    border-radius: 16px;
  }

  .promo-banner-content {
    padding: 20px 18px;
    max-width: 100%;
    gap: 7px;
  }

  .promo-banner-content h3 {
    font-size: 20px;
  }

  .promo-banner-content p {
    font-size: 13px;
  }

  .home-atelier-banner-section {
    padding: 4px 0 26px;
  }

  .home-atelier-banner {
    border-radius: 16px;
  }

  .atelier-banner-inner {
    padding: 24px 18px;
    gap: 20px;
  }

  .atelier-banner-copy h2 {
    font-size: 22px;
  }

  .atelier-banner-copy p {
    font-size: 13px;
  }

  .atelier-banner-actions {
    width: 100%;
  }

  .atelier-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .atelier-banner-stats {
    gap: 8px;
  }

  .atelier-stat-pill {
    min-width: 0;
    padding: 12px 8px;
    border-radius: 12px;
  }

  .atelier-stat-pill strong {
    font-size: 22px;
  }

  .atelier-stat-pill span {
    font-size: 11px;
  }
}

/* ============================================================================
   PRODUCT DETAIL: EXACT NATURAL ASPECT RATIO (NGANG / DỌC / VUÔNG) & ZERO OVERLAP
   ============================================================================ */
.stage-viewport:not(.mode-room):not(.mode-macro) {
  aspect-ratio: auto !important;
  min-height: 430px;
  padding: 54px 28px 56px !important;
}

.stage-viewport:not(.mode-room):not(.mode-macro) .framed-painting-wrapper {
  display: inline-block !important;
  width: auto;
  height: auto;
  max-width: 100% !important;
  max-height: none !important;
  overflow: visible;
  box-sizing: border-box;
}

.stage-viewport:not(.mode-room):not(.mode-macro) .framed-painting-wrapper img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 400px !important;
  object-fit: contain !important;
}

.stage-viewport.orient-ngang:not(.mode-room):not(.mode-macro) .framed-painting-wrapper img {
  max-height: 390px !important;
}

.stage-viewport.orient-vuong:not(.mode-room):not(.mode-macro) .framed-painting-wrapper img {
  max-height: 420px !important;
}

.stage-viewport.orient-doc:not(.mode-room):not(.mode-macro) .framed-painting-wrapper img {
  max-height: 480px !important;
}

.stage-viewport.mode-room,
.stage-viewport.mode-macro {
  aspect-ratio: 4 / 3 !important;
  min-height: 0;
  padding: 0 !important;
}

/* Dedicated safe-gutter positioning so badges NEVER cover the painting frame */
.stage-viewport:not(.mode-room):not(.mode-macro) .stage-zoom-btn {
  top: 10px;
  right: 12px;
}

.stage-viewport:not(.mode-room):not(.mode-macro) .stage-frame-badge {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Crisp Subtle Metadata Chips in Product Detail */
.detail-code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
}

.detail-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  line-height: 1.2;
  color: var(--text-muted);
  background: rgba(28, 25, 23, 0.035);
  border: 1px solid rgba(28, 25, 23, 0.06);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.detail-meta-chip strong {
  font-weight: 600;
  color: var(--text-secondary);
}

.detail-meta-chip.is-orient {
  background: rgba(24, 58, 44, 0.055);
  border-color: rgba(24, 58, 44, 0.09);
  color: #3A6050;
  font-weight: 600;
}

@media (max-width: 767px) {
  .stage-viewport:not(.mode-room):not(.mode-macro) {
    min-height: 0;
    padding: 46px 14px 50px !important;
  }

  .stage-viewport.orient-ngang:not(.mode-room):not(.mode-macro) .framed-painting-wrapper img {
    max-height: 290px !important;
  }

  .stage-viewport.orient-vuong:not(.mode-room):not(.mode-macro) .framed-painting-wrapper img {
    max-height: 330px !important;
  }

  .stage-viewport.orient-doc:not(.mode-room):not(.mode-macro) .framed-painting-wrapper img {
    max-height: 430px !important;
  }

  .stage-viewport:not(.mode-room):not(.mode-macro) .stage-zoom-btn {
    top: 8px;
    right: 10px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .stage-viewport:not(.mode-room):not(.mode-macro) .stage-frame-badge {
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 20px);
    padding: 4px 12px;
    font-size: 11px;
  }

  .detail-meta-chip {
    font-size: 10.5px;
    padding: 2px 7px;
  }
}

/* ==========================================================================
   VIETNAMESE RESPONSIVE TYPOGRAPHY SYSTEM (Desktop >= 1024px | Tablet | Mobile)
   Playfair Display (Display Serif chuẩn dấu TV) + Be Vietnam Pro (UI/Body)
   ========================================================================== */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.68;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* Giãn dòng chuẩn dấu thanh Tiếng Việt (ế, ổ, ử, ệ...) cho toàn bộ tiêu đề Serif */
h1, h2, h3,
.hero-title,
.section-title,
.page-hero h1,
.detail-title,
.card-title {
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: -0.01em;
}

/* Desktop (>= 1024px) */
.hero-title {
  font-size: clamp(38px, 3.6vw, 48px);
  line-height: 1.22;
  font-weight: 700;
}

.page-hero h1 {
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.24;
  font-weight: 700;
}

.section-title {
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.26;
  font-weight: 700;
}

.detail-title {
  font-size: clamp(22px, 1.85vw, 26px);
  line-height: 1.32;
  font-weight: 700;
}

.card-title {
  font-size: 17px;
  line-height: 1.38;
  font-weight: 600;
}

.hero-desc,
.section-subtitle,
.page-hero p {
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 100%;
}

.article-prose {
  font-size: 16.5px;
  line-height: 1.8;
}

.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.price-value,
.detail-price-main {
  font-variant-numeric: tabular-nums;
}

/* Tablet (768px – 1023px) */
@media (max-width: 1023px) {
  body {
    font-size: 15.5px;
    line-height: 1.66;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.24;
  }

  .page-hero h1 {
    font-size: 32px;
    line-height: 1.26;
  }

  .section-title {
    font-size: 28px;
    line-height: 1.28;
  }

  .detail-title {
    font-size: 23px;
    line-height: 1.32;
  }

  .card-title {
    font-size: 16px;
    line-height: 1.38;
  }

  .hero-desc,
  .section-subtitle,
  .page-hero p {
    font-size: 15.5px;
    line-height: 1.66;
  }

  .article-prose {
    font-size: 16px;
    line-height: 1.78;
  }
}

/* Mobile (<= 767px) */
@media (max-width: 767px) {
  body {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-title {
    font-size: 28px !important;
    line-height: 1.26 !important;
  }

  .page-hero h1 {
    font-size: 25px !important;
    line-height: 1.28 !important;
  }

  .section-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .detail-title {
    font-size: 20px !important;
    line-height: 1.34 !important;
  }

  .card-title {
    font-size: 14.5px !important;
    line-height: 1.38 !important;
  }

  .hero-desc,
  .section-subtitle,
  .page-hero p {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
  }

  .article-prose {
    font-size: 15.5px;
    line-height: 1.76;
  }

  .detail-price-main {
    font-size: 24px !important;
  }
}
