/* ==========================================================================
   XƯỞNG SẢN XUẤT SOFA KIM THANH - MAIN STYLESHEET
   Design System: Modern Terracotta / Warm Cognac & Pure Atelier White
   ========================================================================== */

:root {
  /* Brand Colors - Warm Cognac & Orange Terracotta */
  --primary: #ea580c;
  --primary-hover: #c2410c;
  --primary-deep: #9a3412;
  --primary-light: #fff7ed;
  --primary-tint: #ffedd5;
  --primary-border: #fed7aa;
  --primary-glow: rgba(234, 88, 12, 0.15);

  /* Backgrounds & Neutrals */
  --bg-body: #faf9f6;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --bg-secondary: #f4efe9;
  --bg-subtle: #f8f6f2;
  --bg-dark: #181513;

  /* Text & Inks */
  --text-main: #1c1917;
  --text-secondary: #57534e;
  --text-muted: #857f79;
  --text-light: #f5f5f4;
  --text-white: #ffffff;

  /* Borders & Dividers */
  --border-light: #e7e5e4;
  --border-subtle: #f0eee9;
  --border-strong: #d6d3d1;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(28, 25, 23, 0.06), 0 2px 6px -1px rgba(28, 25, 23, 0.03);
  --shadow-lg: 0 12px 28px -4px rgba(28, 25, 23, 0.09), 0 4px 10px -2px rgba(28, 25, 23, 0.04);
  --shadow-xl: 0 20px 38px -6px rgba(28, 25, 23, 0.13), 0 8px 16px -4px rgba(28, 25, 23, 0.05);
  --shadow-orange: 0 8px 24px -4px rgba(234, 88, 12, 0.35);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Plus Jakarta Sans", "Be Vietnam Pro", sans-serif;

  /* Transitions */
  --trans-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --container-max: 1240px;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 74px; /* Space for mobile sticky bottom bar */
}

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

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 1280px) {
  .container {
    padding-inline: 24px;
  }
}

/* Utilities */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 10px;
  max-width: 62ch;
}

.text-center {
  text-align: center;
}
.text-center .section-desc {
  margin-inline: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary-deep);
  border: 1px solid var(--primary-border);
}

.badge-dark {
  background: var(--bg-dark);
  color: #fff;
}

.badge-hot {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans-normal);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(234, 88, 12, 0.45);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-zalo {
  background: #0068ff;
  color: #ffffff !important;
  box-shadow: 0 6px 20px -2px rgba(0, 104, 255, 0.35);
}

.btn-zalo:hover {
  background: #0056d6;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -2px rgba(0, 104, 255, 0.45);
}

.btn-phone {
  background: #16a34a;
  color: #ffffff !important;
  box-shadow: 0 6px 20px -2px rgba(22, 163, 74, 0.35);
}

.btn-phone:hover {
  background: #15803d;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.topbar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-block: 8px;
}

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

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary-deep);
}

.topbar-badge span.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.topbar-info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--trans-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
  flex: none;
}

.brand-icon-box svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Links */
nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav.desktop-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding-block: 4px;
}

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

nav.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--trans-normal);
  border-radius: 2px;
}

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

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  place-items: center;
  color: var(--text-main);
}

@media (max-width: 1024px) {
  nav.desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: grid;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
  border-top: 1px solid var(--border-light);
}

.mobile-nav-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-drawer a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  padding-block: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-drawer a:hover {
  color: var(--primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-block: 48px 60px;
  background: radial-gradient(circle at 85% 20%, var(--primary-light) 0%, transparent 45%);
}

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

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--primary-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-deep);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-tagline svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.hero-title span.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-top: 18px;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-swatches {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.swatch-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.swatch-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.swatch-color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}

/* Hero Media Card */
.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
  background: var(--bg-card);
  aspect-ratio: 16/10;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
}

.floating-text h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.floating-text p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* ==========================================================================
   TRUST PILLARS (4 CAM KẾT XUẤT XƯỞNG)
   ========================================================================== */
.trust-section {
  padding-block: 20px 50px;
}

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

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

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

.trust-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-normal);
  display: flex;
  flex-direction: column;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.trust-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  transition: all var(--trans-normal);
}

.trust-card:hover .trust-card-icon {
  background: var(--primary);
  color: #ffffff;
}

.trust-card-icon svg {
  width: 24px;
  height: 24px;
}

.trust-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.trust-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.55;
}

/* ==========================================================================
   SPOTLIGHT: GHẾ TÌNH YÊU (BEST-SELLER)
   ========================================================================== */
.spotlight-section {
  padding-block: 40px 60px;
}

.spotlight-box {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 992px) {
  .spotlight-box {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.spotlight-gallery {
  position: relative;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.spotlight-main-image-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.spotlight-main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spotlight-main-image-wrap:hover img {
  transform: scale(1.04);
}

.spotlight-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.spotlight-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb-btn {
  width: 70px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex: none;
  opacity: 0.65;
  transition: all var(--trans-fast);
  background: #ffffff;
}

.thumb-btn.active, .thumb-btn:hover {
  opacity: 1;
  border-color: var(--primary);
  transform: scale(1.04);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

@media (min-width: 768px) {
  .spotlight-content {
    padding: 44px 38px;
  }
}

.spotlight-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-top: 6px;
}

.spotlight-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 14px;
}

.spotlight-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
  padding-block: 20px;
  border-block: 1px solid var(--border-light);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.spec-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 3px;
}

.spotlight-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ==========================================================================
   PRODUCT CATALOG & TABS
   ========================================================================== */
.catalog-section {
  padding-block: 60px;
}

.catalog-header {
  margin-bottom: 32px;
}

/* Filter Tabs / Chips */
.filter-tabs-wrapper {
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 8px;
  margin-bottom: 36px;
  -webkit-overflow-scrolling: touch;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  width: max-content;
  padding-inline: 2px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-main);
  background: var(--bg-subtle);
}

.filter-btn.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.2);
}

.filter-btn .dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.filter-btn.active .dot-indicator {
  background: #ffffff;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

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

/* Product Card */
.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-lg);
}

.product-card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-subtle);
  cursor: pointer;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.06);
}

.product-badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.quick-view-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: var(--text-main);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--trans-normal);
}

.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-btn:hover {
  background: var(--primary);
  color: #fff;
}

.quick-view-btn svg {
  width: 16px;
  height: 16px;
}

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

.product-category-name {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-top: 4px;
}

.product-material-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 6px;
  flex-grow: 1;
}

.product-swatches-mini {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 12px;
}

.swatch-mini-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}

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

.price-factory-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-deep);
}

/* ==========================================================================
   INTERACTIVE PRICE ESTIMATOR (DỰ TOÁN BÁO GIÁ)
   ========================================================================== */
.estimator-section {
  padding-block: 60px;
  background: var(--bg-secondary);
}

.estimator-card {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  margin-top: 36px;
}

@media (min-width: 768px) {
  .estimator-card {
    padding: 44px 40px;
  }
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 992px) {
  .estimator-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
  }
}

.step-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 8px;
}

.select-options-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.option-tile {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  cursor: pointer;
  background: #ffffff;
  transition: all var(--trans-fast);
  font-size: 0.9rem;
}

.option-tile:hover {
  border-color: var(--primary-border);
  background: var(--primary-light);
}

.option-tile.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-deep);
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--primary-border);
}

.estimator-result-box {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-tint);
}

.result-price-display {
  margin-block: 16px;
}

.price-big {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.price-sub-note {
  font-size: 0.8rem;
  color: #a8a29e;
  margin-top: 6px;
}

.result-summary-list {
  list-style: none;
  border-top: 1px solid #332d29;
  padding-top: 14px;
  margin-bottom: 20px;
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  color: #d6d3d1;
}

.result-summary-list li {
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   SERVICES SECTION (DỊCH VỤ XƯỞNG)
   ========================================================================== */
.services-section {
  padding-block: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
}

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

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

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: all var(--trans-normal);
}

.service-card:hover .service-icon-box {
  background: var(--primary);
  color: #ffffff;
}

.service-icon-box svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
  flex-grow: 1;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
}

.service-card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform var(--trans-fast);
}

.service-card:hover .service-card-cta svg {
  transform: translateX(4px);
}

/* ==========================================================================
   WORKSHOP CRAFT & PROCESS (QUY TRÌNH & VỀ XƯỞNG)
   ========================================================================== */
.process-section {
  padding-block: 60px;
  background: var(--bg-subtle);
  border-block: 1px solid var(--border-light);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

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

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

.process-step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-tint);
  line-height: 1;
  font-family: var(--font-heading);
}

.process-step-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 10px;
}

.process-step-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 6px;
}

/* About Workshop Section */
.about-section {
  padding-block: 70px;
}

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

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

.about-photo-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
}

.about-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  margin-top: 8px;
}

.about-text p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
}

.about-commitments {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.about-commitments li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-main);
}

.about-commitments svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex: none;
  margin-top: 2px;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding-block: 60px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.faq-container {
  max-width: 800px;
  margin-inline: auto;
  margin-top: 36px;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color var(--trans-fast);
}

.faq-item:hover {
  border-color: var(--primary-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  transition: transform var(--trans-normal);
  flex: none;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CALL TO ACTION BANNER (LIÊN HỆ BÁO GIÁ)
   ========================================================================== */
.cta-banner-section {
  padding-block: 40px 70px;
}

.cta-banner-card {
  background: linear-gradient(135deg, #1e1b18 0%, #29241f 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 44px 30px;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 860px) {
  .cta-banner-card {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 56px 48px;
  }
}

.cta-banner-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.25), transparent 70%);
  pointer-events: none;
}

.cta-banner-title {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
}

.cta-banner-desc {
  font-size: 1.02rem;
  color: #d6d3d1;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 52ch;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}

@media (min-width: 480px) {
  .cta-banner-actions {
    flex-direction: row;
  }
}

@media (min-width: 860px) {
  .cta-banner-actions {
    flex-direction: column;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding-block: 50px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact-list {
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-contact-list li {
  display: flex;
  gap: 10px;
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex: none;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==========================================================================
   FLOATING ACTIONS & MOBILE STICKY BOTTOM BAR
   ========================================================================== */
/* Desktop Floating Action Stack */
.floating-action-stack {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 767px) {
  .floating-action-stack {
    display: none; /* Replaced by bottom bar on mobile */
  }
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all var(--trans-normal);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn.zalo-float {
  background: #0068ff;
}

.floating-btn.phone-float {
  background: var(--primary);
}

.floating-btn svg {
  width: 26px;
  height: 26px;
}

.floating-btn .tooltip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-dark);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-fast);
}

.floating-btn:hover .tooltip {
  opacity: 1;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-strong);
  padding: 8px 12px;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
  .mobile-sticky-bar {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8px;
  }
}

.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-sticky-btn.call-btn {
  background: var(--bg-card);
  border: 1px solid var(--primary);
  color: var(--primary);
}

.mobile-sticky-btn.zalo-btn {
  background: #0068ff;
  color: #ffffff !important;
}

.mobile-sticky-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   QUICK VIEW MODAL (XEM CHI TIẾT SẢN PHẨM)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 15, 13, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}

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

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 860px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  color: var(--text-main);
  transition: all var(--trans-fast);
}

.modal-close-btn:hover {
  background: var(--bg-dark);
  color: #ffffff;
}

.modal-inner-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .modal-inner-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.modal-media-wrap {
  background: var(--bg-subtle);
  aspect-ratio: 4/3;
  position: relative;
}

.modal-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content-wrap {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.modal-product-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 6px;
}

.modal-product-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 12px;
}

.modal-specs-list {
  margin-block: 16px;
  padding-block: 14px;
  border-block: 1px solid var(--border-light);
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
}

.modal-spec-row {
  display: flex;
  justify-content: space-between;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}
