@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Colors */
  --bg-color: #fcfbf9;
  --text-primary: #1c1d1a;
  --text-secondary: #60625d;
  --accent-olive: #565944;
  --accent-olive-light: #e5e6e1;
  --accent-amber: #d97d54;
  --accent-amber-light: #faede6;
  --accent-terracotta: #a35d46;
  --accent-frost: #d4e3e6;
  --border-color: #e5e4e0;
  --white: #ffffff;

  /* Fonts - Đồng bộ 100% font Roboto Mono / Monospace với Admin */
  --font-primary: 'Roboto Mono', 'Courier New', monospace;
  --font-mono: 'Roboto Mono', 'Courier New', monospace;

  /* Spacing */
  --announcement-height: 0px;
  --nav-height: 72px;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Typography Utility */
.font-mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Block 1: Announcement Bar */
.announcement-bar {
  display: none !important; /* Tạm ẩn toàn bộ thanh thông báo & bộ nút điều khiển theo yêu cầu người dùng */
  height: var(--announcement-height);
  background-color: var(--accent-olive);
  color: var(--white);
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
  font-size: 0.85rem;
  font-weight: 400;
  position: relative;
  z-index: 101;
}

.announcement-slider {
  flex: 1;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.announcement-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.announcement-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.announcement-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.announcement-arrow, .announcement-play-pause {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition-fast);
  padding: 4px;
}

.announcement-arrow:hover, .announcement-play-pause:hover {
  color: var(--white);
}

/* Block 2: Logo + Menu (Header) */
.main-header {
  position: absolute;
  top: var(--announcement-height);
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  transition: var(--transition-smooth);
}

/* Header hover / scroll state */
.main-header.scrolled {
  position: fixed;
  top: 0;
  background: rgba(252, 251, 249, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.logo-boxed3d {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.header-center {
  display: flex;
  gap: 2.5rem;
  height: 100%;
  /* .nav-item will align relative to .main-header instead of itself */
}

.nav-item {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item > a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: var(--transition-fast);
  padding: 10px 0;
}

.nav-item > a:hover {
  opacity: 1;
}

/* COMPACT DROPDOWN MENU */
.nav-item.has-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: max-content;
  min-width: 200px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 250;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Show menu on hover */
.nav-item.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.mega-menu-column h4 {
  display: none;
}

.mega-menu-column a {
  color: var(--text-primary) !important;
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition-fast);
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

.mega-menu-column a:hover {
  opacity: 1;
  background-color: var(--accent-light);
  padding-left: 12px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-right: 8px;
}

.lang-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.5;
  font-weight: 500;
  transition: var(--transition-fast);
  padding: 4px;
}

.lang-btn.active {
  opacity: 1;
  font-weight: 700;
}

.lang-separator {
  opacity: 0.3;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-link {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  opacity: 0.85;
  transition: var(--transition-fast);
}

.header-link:hover {
  opacity: 1;
}

.header-icon-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.header-icon-btn:hover {
  opacity: 1;
}

.cart-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  transition: var(--transition-fast);
}

/* Mobile Hamburger Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 150;
  color: inherit;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: var(--transition-fast);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background-color: var(--white);
  z-index: 201;
  box-shadow: 10px 0 40px rgba(0,0,0,0.05);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  left: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.mobile-dropdown {
  display: flex;
  flex-direction: column;
}

.mobile-dropdown-toggle {
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
  gap: 0.8rem;
  margin-top: 0.5rem;
  border-left: 1.5px solid var(--border-color);
}

.mobile-dropdown-content.open {
  display: flex;
}

.mobile-group-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.mobile-dropdown-content a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

/* Block 3: Hero Slide Carousel */
.hero-carousel {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #000;
}

.carousel-container {
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: scale(1.05);
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide.active .slide-bg {
  transform: scale(1);
}

.slide-content {
  color: var(--white);
  max-width: 580px;
  z-index: 3;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.carousel-slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-tag {
  color: var(--accent-olive-light);
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

.slide-title {
  font-size: clamp(2rem, 3.3vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.slide-title span {
  font-style: italic;
  font-weight: 300;
}

.slide-desc {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.btn-shop-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background-color: var(--white);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.btn-shop-now:hover {
  background-color: var(--accent-olive);
  color: var(--white);
  transform: translateY(-2px);
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.indicator.active {
  background-color: var(--white);
  transform: scale(1.2);
}

/* Featured Products Grid */
.section {
  padding: 8% 4%;
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-desc {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  max-width: 320px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 2.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(86, 89, 68, 0.05);
  border-color: var(--text-secondary);
}

.product-card-image {
  aspect-ratio: 1;
  background-color: #f5f4f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-image img, .product-card-image svg {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.product-card-image svg.hover-img, .product-card-image img.hover-img {
  position: absolute;
  opacity: 0;
}

.product-card:hover .product-card-image img.main-img,
.product-card:hover .product-card-image svg.main-img {
  opacity: 0;
}

.product-card:hover .product-card-image svg.hover-img,
.product-card:hover .product-card-image img.hover-img {
  opacity: 1;
  transform: scale(1.05);
}

.product-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border-color);
  flex: 1;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  min-height: calc(1.15rem * 1.3 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-category {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.product-card-tag {
  display: inline-block;
  background-color: var(--accent-olive-light);
  color: var(--accent-olive);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 8px;
  width: fit-content;
}

.product-card-price {
  font-family: var(--font-mono);
  font-weight: 600;
}

.product-card-add {
  position: absolute;
  bottom: 85px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.product-card-add:hover {
  background: var(--accent-olive);
}

/* Interactive Customizer */
.customizer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.customizer-visual {
  background-color: var(--accent-olive-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  border-right: 1px solid var(--border-color);
  position: relative;
  transition: background-color 0.8s ease;
}

.customizer-preview {
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
  filter: drop-shadow(0 20px 45px rgba(0,0,0,0.1));
  transition: var(--transition-smooth);
}

.customizer-options {
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.customizer-tag {
  color: var(--accent-olive);
  font-weight: 600;
  margin-bottom: 1rem;
}

.customizer-title {
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.customizer-desc {
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 440px;
}

.option-group {
  margin-bottom: 2.5rem;
}

.option-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  display: block;
}

.color-swatches {
  display: flex;
  gap: 1rem;
}

.swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
  padding: 3px;
}

.swatch-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.swatch.active {
  border-color: var(--text-primary);
}

.swatch[data-color="olive"] .swatch-inner { background-color: var(--accent-olive); }
.swatch[data-color="amber"] .swatch-inner { background-color: var(--accent-amber); }
.swatch[data-color="terracotta"] .swatch-inner { background-color: var(--accent-terracotta); }
.swatch[data-color="frost"] .swatch-inner { background-color: #e2eff2; border: 1px solid var(--border-color); }

.price-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.customizer-price {
  font-size: 2rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Process Section (Behind The Scenes) */
.process-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.process-card {
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.process-card.image-card {
  padding: 0;
  position: relative;
}

.process-card img, .process-card svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.process-card.image-card:hover img, .process-card.image-card:hover svg {
  transform: scale(1.05);
}

.process-num {
  font-family: var(--font-mono);
  color: var(--accent-olive);
  font-size: 1.2rem;
}

.process-card h3 {
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 1.5rem 0 1rem 0;
}

.process-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  max-width: 100%;
  height: 100vh;
  background: var(--white);
  box-shadow: -10px 0 40px rgba(0,0,0,0.05);
  border-left: 1px solid var(--border-color);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  right: 0;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28, 29, 26, 0.3);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title {
  font-size: 1.3rem;
  font-weight: 500;
}

.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}

.cart-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

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

.cart-item-img {
  width: 80px;
  height: 80px;
  background-color: var(--accent-olive-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cart-item-img img, .cart-item-img svg {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 1rem;
  font-weight: 500;
}

.cart-item-variant {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 2px;
}

.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.qty-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: var(--text-primary);
  color: var(--white);
  border-color: var(--text-primary);
}

.qty-val {
  margin: 0 10px;
  font-family: var(--font-mono);
}

.cart-item-price {
  font-family: var(--font-mono);
  font-weight: 600;
}

.cart-footer {
  padding: 32px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-color);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.cart-subtotal-price {
  font-family: var(--font-mono);
  font-weight: 600;
}

.checkout-btn {
  width: 100%;
  padding: 16px;
  background-color: var(--text-primary);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.checkout-btn:hover {
  background-color: var(--accent-olive);
}

/* Premium Footer Styles */
.site-footer {
  background-color: var(--accent-olive);
  color: #fcfbf9;
  padding: 6rem 8% 3rem 8%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

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

.footer-logo {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: none; /* sentence case matching reference */
}

.footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-brand-desc {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 1rem;
  max-width: 280px;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.75;
  margin-bottom: 1.5rem;
}

.wavy-icon {
  margin-bottom: 1.5rem;
}

.spaced-logo-text {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.35em;
  color: var(--white);
  margin-top: 10px;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.footer-socials a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-socials a:hover {
  opacity: 1;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.newsletter-col p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.4;
}

.newsletter-form {
  display: flex;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 6px;
  margin-top: 1.5rem;
  align-items: center;
}

.newsletter-form input {
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  outline: none;
  flex: 1;
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0 4px;
}

/* Zalo CTA pill button (footer col 5) */
.zalo-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.5rem;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  width: fit-content;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.zalo-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
  text-decoration: none;
}

.zalo-icon {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 999px;
  display: block;
}

.zalo-cta-text {
  flex: none;
  white-space: nowrap;
}

.zalo-cta-arrow {
  margin-left: 2px;
  opacity: 0.7;
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-payments {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-badge {
  font-size: 0.6rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.05em;
}

/* Accordion, Instagram & Back-In-Stock Banner Styles */
.work-with-us-section {
  padding: 6rem 8%;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.accordion-container {
  max-width: 750px;
  margin: 0 auto;
}

.accordion-main-title {
  font-size: 2.2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  font-size: 1.25rem;
  font-family: var(--font-primary);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.accordion-header:hover {
  opacity: 0.8;
}

.accordion-icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.accordion-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  padding-bottom: 24px;
  font-size: 0.95rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
  max-height: 3000px; /* expands smoothly */
}

/* Instagram Grid Styles */
.instagram-section {
  padding: 6rem 4%;
  background: #fcfbf9;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.instagram-title {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.instagram-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: #f5f4f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
}

.instagram-item:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.instagram-item svg {
  width: 100%;
  height: 100%;
}

/* Instagram embed items */
.instagram-embed-item {
  aspect-ratio: unset !important;
  min-height: 400px;
  padding: 0;
  background: transparent;
  border: none;
}
.instagram-embed-item blockquote {
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}
.instagram-embed-item blockquote .instagram-media {
  width: 100% !important;
}
.instagram-embed-item iframe {
  min-height: 400px !important;
}

/* Instagram item overlay with button */
.instagram-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
}
.instagram-item:hover .instagram-item-overlay {
  opacity: 1;
}
.instagram-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.95);
  color: #262626;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.instagram-view-btn:hover {
  background: #fff;
}

/* Ảnh cached admin upload (thay cho embed Instagram thật) */
.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
a.instagram-item {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* === Instagram Lightbox Modal (popup ảnh/video) === */
.ig-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ig-lightbox.is-open {
  display: flex;
}
.ig-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.ig-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.ig-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.ig-lightbox-content {
  position: relative;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(1100px, 95vw);
  max-height: 95vh;
  gap: 16px;
}
.ig-lightbox-media {
  max-width: 100%;
  max-height: calc(95vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.ig-lightbox-media img,
.ig-lightbox-media video {
  display: block;
  max-width: 100%;
  max-height: calc(95vh - 90px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.ig-lightbox-media video {
  width: auto;
  height: auto;
  background: #000;
}
.ig-lightbox-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}
.ig-lightbox-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}
@media (max-width: 600px) {
  .ig-lightbox {
    padding: 12px;
  }
  .ig-lightbox-close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
  .ig-lightbox-cta {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  .ig-lightbox-media img,
  .ig-lightbox-media video {
    max-height: calc(95vh - 80px);
  }
}

.instagram-text-item {
  background-color: #385265;
  color: #fff;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-text-item .item-text {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.brand-logo-item {
  background-color: #ea580c; /* Wooj orange brand color */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-brand {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 4px;
}

/* Back in Stock Banner */
.back-in-stock-banner {
  position: relative;
  height: 50vh;
  min-height: 350px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://images.unsplash.com/photo-1541167760496-1628856ab772?q=80&w=1920&auto=format&fit=crop'); /* liquid drip glass backdrop */
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-color);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 29, 26, 0.4);
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.banner-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: block;
}

.banner-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* Reviews Carousel Styles */
.reviews-section {
  padding: 6rem 8%;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
}

.reviews-container {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.reviews-heading {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.reviews-stars-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 3.5rem;
}

.reviews-stars-summary .stars {
  color: #eab308;
  font-size: 1.2rem;
}

.reviews-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.checkmark {
  color: #0d9488;
  font-weight: 700;
  margin-left: 2px;
}

.reviews-slider {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  /* width set dynamically by app.js initReviewsSlider() = (n * 100)% */
}

.review-slide {
  /* width set dynamically by app.js initReviewsSlider() = (100/n)% */
  flex-shrink: 0;
  padding: 0 40px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.review-slide.active {
  opacity: 1;
  transform: scale(1);
}

.review-stars {
  color: #eab308;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.review-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.review-body {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.reviews-navigation {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-nav-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.review-nav-btn:hover {
  background: var(--text-primary);
  color: var(--white);
  border-color: var(--text-primary);
}

/* Alternating Split Rows CSS Layout */
.split-features-section {
  background-color: var(--white);
}

.split-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  height: 100vh; /* full screen height */
}

.split-feature-row.reverse {
  /* Reverse thứ tự grid cells: text bên trái, ảnh bên phải */
  direction: rtl;
}
.split-feature-row.reverse > .split-feature-visual,
.split-feature-row.reverse > .split-feature-text {
  direction: ltr; /* giữ text alignment tiếng Việt bình thường */
}

.split-feature-visual {
  height: 100%; /* take full row height */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: var(--white); /* mặc định phủ kín container — tránh lộ khoảng trắng khi SVG fallback nhỏ */
}

.split-feature-visual.bg-warm-gray { background-color: #eae8e2; }
.split-feature-visual.bg-bedroom { background-color: #1c1a17; }
.split-feature-visual.bg-cream-grid { background-color: #f8f7f2; border-left: 1px solid var(--border-color); }
.split-feature-row.reverse .split-feature-visual { border-left: 1px solid var(--border-color); }
.split-feature-row:not(.reverse) .split-feature-visual { border-right: 1px solid var(--border-color); }

/* Khi admin upload ảnh cho split feature row */
.split-feature-visual.has-image {
  background-color: transparent;
}
.split-feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Khi dùng SVG fallback: kéo giãn SVG lấp đầy container để không còn khoảng trắng ở góc */
.split-feature-visual svg.svg-visual {
  width: 100%;
  height: 100%;
  display: block;
}

.svg-visual {
  width: 100%;
  height: 100%;
}

.split-feature-text {
  padding: 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-label {
  color: var(--accent-olive);
  font-weight: 600;
  margin-bottom: 1rem;
}

.split-heading {
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.split-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition-fast);
}

.split-link:hover {
  opacity: 0.7;
}

/* Adjustments for smaller viewports */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .split-feature-row, .split-feature-row.reverse {
    grid-template-columns: 1fr;
    height: auto; /* reset height for mobile stacking */
    direction: ltr; /* reset RTL for mobile stacking */
  }
  .split-feature-row.reverse .split-feature-text {
    order: 2;
  }
  .split-feature-visual {
    height: 400px;
    border: none !important;
  }
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .site-footer {
    padding: 4rem 6% 2rem 6%;
  }
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive design */
@media (max-width: 1024px) {
  .hero-carousel {
    height: 70vh;
  }
  .customizer {
    grid-template-columns: 1fr;
  }
  .customizer-visual {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    min-height: 400px;
  }
  .customizer-options {
    padding: 4rem 2rem;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .announcement-bar {
    font-size: 0.75rem;
  }
  .main-header {
    padding: 0 5%;
  }
  
  /* Mobile Menu Styles */
  .header-center {
    display: none;
  }
  .header-link {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  
  .section {
    padding: 12% 5%;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Block 4: Press Section */
.press-section {
  background-color: #d5d9bd; /* Sage green exact match */
  padding: 5rem 6%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.press-container {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.press-label {
  font-size: 0.75rem;
  color: var(--accent-olive);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.press-quote {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 3rem;
  max-width: 860px;
}

.press-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 3.5rem;
  justify-content: center;
  align-items: center;
  opacity: 0.8;
}

.press-logo {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.press-logo.dwell {
  font-weight: 700;
  letter-spacing: -0.04em;
}

.press-logo.ny-mag {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-style: italic;
}

.press-logo.ad-mag {
  font-weight: 800;
  letter-spacing: -0.06em;
}

.press-logo.tqe {
  font-weight: 300;
  font-family: serif;
  font-style: italic;
}

.press-logo.apt-therapy {
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Block 5: Video Background Section */
.video-hero-section {
  position: relative;
  height: 450px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-color);
}

.video-hero-section.video-parallax {
  background-attachment: fixed;
}

.video-hero-section.no-bg {
  display: none;
}

/* Legacy child selectors kept harmless if any element slips in */
.video-bg,
.video-bg-image {
  display: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 29, 26, 0.45); /* warm dark filter */
  z-index: 2;
}

.video-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 5%;
}

.video-text {
  color: var(--white);
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* Responsive adjustment for product grid columns */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .press-logos {
    gap: 1.5rem 2rem;
  }
}

/* Search Box & Product Card Action Buttons Styling */
.search-box-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2px 10px;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.main-header.scrolled .search-box-container {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--border-color);
}

.search-input-field {
  background: none;
  border: none;
  color: inherit;
  outline: none;
  width: 0;
  padding: 0;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  font-size: 0.6rem;
}

.search-box-container.active {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.main-header.scrolled .search-box-container.active {
  background: rgba(255, 255, 255, 1);
  border-color: var(--text-secondary);
}

.search-box-container.active .search-input-field {
  width: 160px;
  padding-right: 10px;
}

.search-input-field::placeholder {
  color: inherit;
  opacity: 0.55;
}

/* Product Card Actions */
.product-card-actions {
  display: flex;
  gap: 12px;
  padding: 1.25rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.btn-card-contact {
  flex: 1;
  padding: 10px 0;
  border: 1px solid var(--border-color);
  background: none;
  border-radius: 24px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-family: var(--font-primary);
}

.btn-card-contact:hover {
  background: var(--accent-olive-light);
  border-color: var(--accent-olive);
}

.btn-card-shopee {
  flex: 1;
  padding: 10px 0;
  background: var(--text-primary);
  color: var(--white);
  border-radius: 24px;
  font-weight: 500;
  transition: var(--transition-fast);
  text-decoration: none;
  text-align: center;
  font-size: 0.85rem;
  display: block;
}

.btn-card-shopee:hover {
  background: var(--accent-olive);
}

/* Contact Dropdown Options */
.contact-dropdown {
  position: absolute;
  bottom: 85%;
  left: 1.5rem;
  right: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: none;
  flex-direction: column;
  z-index: 20;
  box-shadow: 0 15px 30px rgba(86, 89, 68, 0.12);
  padding: 8px 0;
  animation: slideUpFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-dropdown.open {
  display: flex;
}

.contact-dropdown a {
  padding: 10px 20px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-fast);
}

.contact-dropdown a:hover {
  background: var(--accent-olive-light);
}

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

/* Product Detail Page Styles */
.product-detail-section {
  padding: 8rem 8% 6rem 8%;
  background: var(--bg-color);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  max-width: 1100px; /* narrower width matching Wooj design */
  margin: 0 auto;
}

.product-gallery {
  display: flex;
  flex-direction: column;
}

.breadcrumbs {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

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

.breadcrumbs a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1;
  background-color: #eae8e2;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: background-color 0.4s ease;
}

.gallery-preview-svg {
  width: 90%;
  height: 90%;
}

.gallery-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.gallery-sub-item {
  aspect-ratio: 1;
  background-color: #eae8e2;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-fast);
}

.gallery-sub-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.gallery-sub-item svg, .gallery-sub-item img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.clickable-img {
  cursor: zoom-in;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28, 29, 26, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

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

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--white);
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 2001;
}

.lightbox-close:hover {
  opacity: 0.8;
}

.lightbox-content {
  width: 90%;
  max-width: 800px;
  max-height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img-container svg, .lightbox-img-container img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.3));
}

/* Info Panel */
.product-info-panel {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.info-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.info-category {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--accent-olive);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.info-title {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.info-header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-header-left {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.info-reviews-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.info-reviews-row .stars {
  color: var(--text-primary);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.info-reviews-row .reviews-link {
  font-size: 0.85rem;
  color: var(--text-primary);
  text-decoration: underline;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.info-price {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 0.5rem;
}

.info-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* Variant Selector */
.info-variants {
  margin-bottom: 2.5rem;
}

.variant-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.variant-label span {
  text-transform: none;
  font-weight: 500;
  color: var(--text-primary);
}

.swatch-container {
  display: flex;
  gap: 12px;
}

.detail-swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 3px;
  position: relative;
  background-clip: content-box !important;
  transition: var(--transition-fast);
}

.detail-swatch.active {
  border: 1.5px solid var(--text-primary);
}

.size-option-underlined {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
}

/* Action Buttons */
.info-actions {
  margin-bottom: 2.5rem;
}

.actions-wrapper {
  display: flex;
  gap: 16px;
  position: relative;
}

.btn-detail-contact {
  flex: 1;
  padding: 16px 0;
  border: 1px solid var(--border-color);
  background: none;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-primary);
}

.btn-detail-contact:hover {
  background: var(--accent-olive-light);
  border-color: var(--accent-olive);
}

.btn-detail-shopee {
  flex: 1;
  padding: 16px 0;
  background: var(--text-primary);
  color: var(--white);
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition-smooth);
  text-decoration: none;
  text-align: center;
  font-size: 0.95rem;
  display: block;
}

.btn-detail-shopee:hover {
  background: var(--accent-olive);
}

.detail-contact-dropdown {
  position: absolute;
  bottom: 110%;
  left: 0;
  width: calc(50% - 8px);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: none;
  flex-direction: column;
  z-index: 20;
  box-shadow: 0 15px 30px rgba(86, 89, 68, 0.12);
  padding: 8px 0;
  animation: slideUpFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-contact-dropdown.open {
  display: flex;
}

.detail-contact-dropdown a {
  padding: 10px 20px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-fast);
}

.detail-contact-dropdown a:hover {
  background: var(--accent-olive-light);
}

/* Highlights */
.info-highlights {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  margin-bottom: 2.5rem;
}

.info-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-highlights ul li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Accordion */
.detail-accordion {
  border-top: 1px solid var(--border-color);
}

.detail-accordion .accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.detail-accordion .accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  letter-spacing: -0.01em;
}

.detail-accordion .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-inner {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-bottom: 2rem;
}

.accordion-inner p {
  margin: 0 0 1rem 0;
}

.accordion-inner ul {
  margin: 0 0 1rem 0;
  padding-left: 1.25rem;
}

.accordion-inner ul li {
  margin-bottom: 0.25rem;
}

.accordion-orange-link {
  color: #d97d54;
  text-decoration: underline;
  transition: var(--transition-fast);
}

.accordion-orange-link:hover {
  opacity: 0.8;
}

.detail-accordion .accordion-item.active .accordion-content {
  max-height: 3000px !important; /* large enough for full spec list + all FAQs */
}

/* Reviews Grid */
.detail-reviews {
  margin-top: 6rem;
  border-top: 1px solid var(--border-color);
  padding-top: 5rem;
}

.reviews-section-title {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 3rem;
  text-align: center;
}

.reviews-grid-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.review-card {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.review-card-body {
  font-size: 1.15rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.review-card .review-stars {
  color: #eab308;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.review-card .review-author {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Detail page responsive */
@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .product-info-panel {
    position: static;
  }
  .reviews-grid-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Video Background Section Styles - duplicate removed; see .video-hero-section at line 1837 */

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 29, 26, 0.45); /* dark semi-transparent overlay */
  z-index: 2;
}

.video-content {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 900px;
  text-align: center;
  padding: 2rem;
}

.video-text {
  font-size: 1.8rem;
  line-height: 1.5;
  color: var(--white);
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .video-hero-section {
    height: 350px;
  }
  .video-text {
    font-size: 1.3rem;
    line-height: 1.4;
  }
}

/* Static header for pages without transparent hero image */
.main-header.static-header {
  position: sticky !important;
  top: 0 !important;
  background: rgba(252, 251, 249, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  color: var(--text-primary) !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02) !important;
}

/* Dynamic Media Gallery Styles */
.gallery-preview-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.gallery-sub-item img, 
.gallery-sub-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.gallery-sub-item.active {
  border: 2px solid var(--text-primary);
}

/* Additional Images Styles */
.additional-images-section {
  margin-top: 6rem;
  border-top: 1px solid var(--border-color);
  padding-top: 5rem;
}
.additional-images-title {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: -0.01em;
}
.additional-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.additional-image-item {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.additional-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
}
.additional-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.additional-image-wrapper img:hover {
  transform: scale(1.03);
}
.additional-image-caption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  line-height: 1.4;
  font-weight: 400;
}

/* Detailed Reviews Widget */
.detailed-reviews-widget {
  margin-top: 6rem;
  border-top: 1px solid var(--border-color);
  padding-top: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.widget-title {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 3rem;
  text-align: center;
}
.widget-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.summary-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.summary-stars {
  color: var(--text-primary);
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.summary-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.btn-write-review {
  background-color: var(--accent-olive);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.btn-write-review:hover {
  background-color: var(--text-primary);
}
.widget-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}
.sort-selector {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sort-selector select {
  border: none;
  background: none;
  font-family: inherit;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  outline: none;
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.review-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2.5rem;
}
.review-item:last-child {
  border-bottom: none;
}
.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.review-stars-static {
  color: var(--text-primary);
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.review-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.review-author-line {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.review-author-line strong {
  color: var(--text-primary);
}
.verified-badge {
  background-color: #f3f4f1;
  color: #565944;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-left: 8px;
  font-weight: 600;
}
.review-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.review-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Mission Banner Section */
.mission-banner-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/products/p1/detail2.jpg'); /* fallback background */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: 6rem;
  margin-bottom: -6rem; /* pull up to meet footer */
}
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  padding: 2rem;
}
.banner-text {
  font-size: 1.8rem;
  line-height: 1.5;
  color: var(--white);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .additional-images-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .widget-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .banner-text {
    font-size: 1.3rem;
  }
}

/* Related Products Section */
.related-products-section {
  margin-top: 6rem;
  border-top: 1px solid var(--border-color);
  padding-top: 5rem;
}
.related-products-title {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 3rem;
  text-align: center;
}
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr; /* Moi row cung chieu cao = row cao nhat */
  gap: 2rem;
}
.related-product-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.related-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.related-card-media-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-color);
}
.related-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.related-card-name {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  /* Gioi han toi da 2 dong, luon giu chieu cao 2 dong cho deu card */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1rem * 1.4 * 2);
  line-height: 1.4;
}
.related-card-price {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  /* Gia luon 1 dong, khong xuong dong */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: auto;
}
.product-card-tag {
  display: inline-block;
  background: var(--accent-olive-light);
  color: var(--accent-olive);
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .related-products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Reviews Link Styling on Product Detail Page */
.info-reviews-right .reviews-link {
  text-transform: lowercase !important;
  font-size: 0.8rem !important;
  text-decoration: none !important;
  color: var(--text-secondary) !important;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2px;
}
.info-reviews-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.info-reviews-right .stars {
  font-size: 0.85rem !important;
}

/* Detail page styling overrides */
.product-info-panel .info-title {
  font-size: 2rem !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  margin-bottom: 0.5rem !important;
}

/* ============================================================
   INFO / CONTENT PAGES  (our-story, materials, partnerships,
   shipping-returns, terms, privacy, contact)
   Nguồn duy nhất — các trang không còn <style> riêng.
   ============================================================ */
.info-page-hero {
  padding: 5rem 8% 2rem 8%;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-color);
}
.info-page-hero h1 {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.info-page-hero .hero-sub {
  max-width: 34rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.info-page-content {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.prose h2 {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border-color);
}
.prose h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.prose h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.prose ul,
.prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.prose li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.prose a {
  color: var(--accent-olive);
  text-decoration: underline;
}
.prose a:hover {
  color: var(--text-primary);
}
.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Opening paragraph, set slightly larger */
.prose .lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

/* Fact strip */
.prose .stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-bottom: 2.25rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--accent-olive-light);
  border-radius: 2px;
}
.prose .stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.prose .stat-num {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-olive);
  line-height: 1.2;
}
.prose .stat-label {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* Pull quote */
.prose blockquote {
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent-olive);
}
.prose blockquote p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 0;
}

/* List with em-dash markers instead of bullets */
.prose ul.dash-list {
  list-style: none;
  padding-left: 0;
}
.prose ul.dash-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose ul.dash-list li::before {
  content: "\2014 ";
  position: absolute;
  left: 0;
  color: var(--accent-olive);
}

/* Boxed block — contact details, definitions, key terms */
.prose .contact-box {
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 2px;
}
.prose .contact-box h3 {
  margin-top: 0;
}
.prose .contact-box ul {
  margin-bottom: 0;
}
.prose .contact-box li {
  margin-bottom: 0.4rem;
}

@media (max-width: 640px) {
  .info-page-hero {
    padding: 3.5rem 6% 1.5rem 6%;
  }
  .info-page-hero h1 {
    font-size: 1.9rem;
  }
  .info-page-content {
    margin: 2.5rem auto;
    padding: 0 1.25rem;
  }
  .prose .stat-row {
    gap: 1rem 1.75rem;
    padding: 1rem 1.25rem;
  }
  .prose .contact-box {
    padding: 1.25rem 1.25rem;
  }
}

/* ============================================================
   BILINGUAL CONTENT BLOCKS
   Each content page carries both languages in the DOM; the block
   matching <html lang> is the only one shown. <html lang> is kept
   in sync by translatePage() in app.js / product-app.js, so no JS is
   needed here and the content still renders if JS fails.
   ============================================================ */
[data-lang-block] {
  display: none;
}
html[lang="vi"] [data-lang-block="vi"],
html[lang="en"] [data-lang-block="en"] {
  display: block;
}

/* Back to top button (moss green) */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #6B8E23;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, visibility 0.3s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #7DA33C;
}
