/*
JIFAN Official Website - Based on Clearwave Template
Customized for Dongguan Jifan Electric Appliance Co., Ltd.
*/

/* ── TOKENS ── */
:root {
  --bg:           #E1E8F0;
  --bg-alt:       #D3DCE6;
  --surface:      #FFFFFF;
  --surface-2:    #FFFFFF;
  --accent:       #006EF0;
  --accent-mid:   #0055C0;
  --accent-light: #3390FF;
  --accent-ghost: rgba(0,110,240,0.08);
  --accent-border:rgba(0,110,240,0.15);
  --text-1:       #1A1D28;
  --text-2:       #555B6E;
  --text-3:       #8B90A0;
  --border:       rgba(0,0,0,0.08);
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.13);
  --silk:         cubic-bezier(0.16, 1, 0.3, 1);
  --silk-dur:     0.8s;
  --radius:       16px;
  --radius-lg:    24px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 64px; overflow-x: hidden; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: var(--text-1);
  padding-top: 34px;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
  scroll-snap-type: y proximity;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
/* Chinese-specific content: hidden in non-Chinese mode */
html:not(.lang-zh) .zh-only { display: none !important; }
html.lang-zh .zh-only { display: block !important; }
#product-highlights .container,
#pump-tech .container { max-width: 1350px; }
/* Only the homepage uses a wider container */
.homepage .container { max-width: 1600px; }
/* All pages: footer container matches homepage width */
footer .container { max-width: 1450px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-ghost);
  border: 1px solid var(--accent-border);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 20px;
}
.section-label::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
}
.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.15; color: var(--text-1);
}
.section-title em {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
}
.section-sub {
  font-size: 1.0625rem; line-height: 1.75;
  color: var(--text-2); max-width: 820px; margin-top: 16px;
}

/* ── SCROLL REVEAL ── */
/* Entry: scale up + fade in + subtle slide */
.hero-fade { animation:heroFadeIn 1.2s ease forwards; }
@keyframes heroFadeIn { from{opacity:0} to{opacity:1} }

.reveal {
  opacity: 0;
  transform: scale(0.95) translateY(24px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ── Reveal variants (controlled by data-animation) ── */
.reveal[data-animation="left"] {
  transform: translateX(-48px);
  transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1), transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal[data-animation="left"].visible { transform: translateX(0); }
.reveal[data-animation="right"] {
  transform: translateX(48px);
  transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1), transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal[data-animation="right"].visible { transform: translateX(0); }
.reveal[data-animation="up"] {
  transform: translateY(20px);
  transition: opacity 2.8s cubic-bezier(0.16, 1, 0.3, 1), transform 2.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal[data-animation="up"].visible { transform: translateY(0); }
.reveal[data-animation="down"] {
  transform: translateY(-16px);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal[data-animation="down"].visible { transform: translateY(0); }
.reveal[data-animation="scale"] {
  transform: scale(0.85);
  transition: opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1), transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal[data-animation="scale"].visible { transform: scale(1); }
.reveal[data-animation="fade"] {
  transform: none;
  transition: opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Stagger children inside revealed sections */
.reveal.visible .about-row,
.reveal.visible .features-grid,
.reveal.visible .product-highlight-grid,
.reveal.visible .about-data-grid {
  animation: section-pop 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes section-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.reveal-delay-1 { transition-delay: 0.4s; }
.reveal-delay-2 { transition-delay: 0.8s; }
.reveal-delay-3 { transition-delay: 1.2s; }
.reveal-delay-4 { transition-delay: 1.6s; }

/* ── Reveal grid rows (responsive-aware) ── */
.reveal-row-2{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.reveal-row-det{display:grid;grid-template-columns:1fr 1fr;gap:32px}

@media(max-width:1024px){
  .reveal-row-2,.reveal-row-det{grid-template-columns:1fr}
}

/* ── PRODUCT DETAIL: image fade transition ── */
.detail-main-image {
  position: relative;
  border: 60px solid #FAFBFF;
  border-radius: 0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: inset 8px 0 12px -8px rgba(210, 225, 245, 0.15),
              inset -8px 0 12px -8px rgba(210, 225, 245, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 600px;
  opacity: 0;
  animation: detailImageIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
@keyframes detailImageIn {
  from { opacity: 0; transform: translateX(-32px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* Image track: all slides side by side, translate to show active one */
.img-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-track .img-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.img-track .img-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Arrow buttons — always visible */
.img-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #999;
  opacity: 1;
  transition: color 0.3s;
  z-index: 2;
  line-height: 1;
  border: none;
  background: transparent;
  border-radius: 0;
}
.img-arrow:hover {
  color: #1E67C4;
}
.img-prev { left: 14px; }
.img-next { right: 14px; }

/* Thumbnail strip */
#detail-color-variants {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.variant-thumb {
  width: 58px; height: 58px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: border-color 0.3s;
  flex-shrink: 0;
  position: relative;
}
.variant-thumb:hover {
  border-color: #1E67C4;
}
.variant-thumb.active {
  border-bottom: 3px solid #1E67C4;
}
.variant-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── PRODUCT DETAIL: pricing sections (desktop vs mobile) ── */
#detail-pricing-section-mobile { display: none; } /* hidden on desktop by default */
.product-detail-header {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.product-detail-header .detail-left-col {
  flex: 0 0 calc(50% - 24px);
  max-width: calc(50% - 24px);
}
.product-detail-header .detail-right-info {
  flex: 1;
  min-width: 0;
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-detail-header .detail-right-info.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── PRODUCT DETAIL: bottom sections (specs, video, detail images) staggered reveal ── */
.detail-specs,
#detail-pricing-section,
#detail-video-section,
#detail-images-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.detail-specs.reveal,
#detail-pricing-section.reveal,
#detail-video-section.reveal,
#detail-images-section.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   1. NAV
══════════════════════════════════════════ */
/* ── Top Bar (homepage message bar) ── */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 34px;
  background: #111111; z-index: 1001;
  display: flex; align-items: center;
}
.top-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto; padding: 0 100px;
  width: 100%; height: 100%;
}
.top-bar-slogan {
  font-size: 12px; color: #ffffff; font-style: italic;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.18em;
}
.top-bar-lang {
  font-size: 11px; color: #ffffff; cursor: pointer;
  font-weight: 500; text-decoration: none; margin-left: 10px;
}
.top-bar-lang:hover { color: rgba(255,255,255,0.8); }

/* ── Top-bar search ── */
.top-bar-right {
  display: flex; align-items: center; gap: 0;
  height: 100%;
}

.top-bar-search-trigger {
  background: none; border: none; cursor: pointer;
  padding: 0 8px; height: 100%;
  display: flex; align-items: center;
  opacity: 0.85; transition: opacity 0.2s;
}
.top-bar-search-trigger:hover { opacity: 1; }
.top-bar-search-trigger.hidden { display: none; }

.top-bar-search {
  display: flex; align-items: center;
  height: 22px; border-bottom: 1px solid rgba(255,255,255,0.6);
  gap: 4px; padding: 0 0;
  max-width: 0; overflow: hidden;
  opacity: 0; white-space: nowrap;
  transition: max-width 0.5s ease, opacity 0.35s ease 0.1s, padding 0.5s ease;
}
.top-bar-search.open {
  max-width: 260px; opacity: 1; padding: 0 4px;
}

.top-bar-search-input {
  background: none; border: none; outline: none;
  color: #ffffff; font-size: 11px;
  width: 180px; padding: 0 4px;
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
}
.top-bar-search-input::placeholder { color: rgba(255,255,255,0.45); }
.top-bar-search-input::-moz-placeholder { color: rgba(255,255,255,0.45); }

.top-bar-search-btn {
  background: none; border: none; cursor: pointer;
  padding: 0 4px; display: flex; align-items: center;
  opacity: 0; flex-shrink: 0;
  transition: opacity 0.35s ease 0.25s;
}
.top-bar-search.open .top-bar-search-btn { opacity: 0.75; }
.top-bar-search-btn:hover { opacity: 1 !important; }

.top-bar-search-close {
  background: none; border: none; cursor: pointer;
  padding: 0 4px; display: flex; align-items: center;
  opacity: 0; flex-shrink: 0;
  transition: opacity 0.35s ease 0.25s;
}
.top-bar-search.open .top-bar-search-close { opacity: 0.7; }
.top-bar-search-close:hover { opacity: 1 !important; }
.top-bar-search-close:hover { opacity: 1; }

/* ── Search results dropdown ── */
.top-bar-search-results {
  display: none;
  position: fixed; top: 34px; right: 48px;
  width: 320px; max-height: 300px; overflow-y: auto;
  background: #ffffff; border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 1002;
}
.search-result-item {
  display: block; padding: 12px 16px;
  text-decoration: none; color: var(--text-1);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.search-result-item:last-child { border-bottom: none; border-radius: 0 0 8px 8px; }
.search-result-item:hover { background: #f5f7fb; }
.search-result-item strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.search-result-item span { display: block; font-size: 0.75rem; color: var(--text-3); line-height: 1.4; }
.search-result-empty {
  padding: 24px 16px; text-align: center;
  color: var(--text-3); font-size: 0.85rem;
}

/* Homepage: nav sits below top-bar */
/* Top-bar pushes nav down on all pages */
.homepage .nav { top: 34px; }
.homepage .hero-banner-simple {
  margin-top: 80px;
  height: calc(100vh - 80px);
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0;
  background: #ffffff;
  display: flex; align-items: center;
  min-height: 80px;
  transition: min-height var(--silk-dur) var(--silk);
}
.nav.scrolled {
  padding: 0;
  min-height: 66px;
}
/* Top-bar restored; nav sits below it */
.nav { top: 34px; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto; width: 100%; padding: 0 180px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo-img {
  height: 70px; width: auto;
  transition: height var(--silk-dur) var(--silk);
}
.nav.scrolled .nav-logo-img { height: 56px; }
.nav-brand-text {
  font-size: 1.55rem; font-weight: 700; letter-spacing: -0.04em;
  color: var(--text-1);
}
.nav-brand-text span { color: var(--accent); }
.nav-links {
  display: flex; align-items: center; gap: 6px;
  margin-right: 20px;
}
.nav-links a {
  font-size: 1.3rem; font-weight: 500; color: var(--text-2);
  position: relative; padding: 12px 8px;
  transition: color 0.35s var(--silk);
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%) scaleX(0);
  width: calc(100% - 36px); height: 2px; border-radius: 0;
  background: var(--accent);
  transition: transform 0.35s var(--silk);
}
.nav-links a:hover,
.nav-links a.active,
.nav-dropdown-toggle.active {
  color: var(--accent);
}
.nav-links a:hover::after,
.nav-links a.active::after,
.nav-dropdown-toggle.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* CONTACT US — blue square button */
.nav-links a[data-i18n="nav_contact"] {
  background: #006EF0;
  color: #ffffff;
  border-radius: 0;
  margin-left: 8px;
  padding: 12px 22px;
}
.nav-links a[data-i18n="nav_contact"]::after {
  display: none; /* Blue button doesn't need underline */
}
.nav-links a[data-i18n="nav_contact"]:hover {
  background: #0055BB;
  color: #ffffff;
}

/* Chinese nav: items centered between logo and Contact */
html.lang-zh .nav-links {
  flex: 1;
  justify-content: center;
  gap: 6px;
  position: relative;
}
html.lang-zh .nav-links a[data-i18n="nav_contact"] {
  position: absolute;
  right: 0;
  z-index: 1;
}

/* Language toggle - separator color for white nav */
.lang-switch span {
  color: var(--text-3) !important;
}

.btn-primary {
  font-size: 0.875rem; font-weight: 600; color: #fff;
  background: var(--accent); padding: 10px 22px; border-radius: 100px;
  transition: background 0.35s var(--silk), transform 0.35s var(--silk), box-shadow 0.35s var(--silk);
  box-shadow: 0 4px 16px rgba(30,103,196,0.25);
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: opacity 0.35s var(--silk);
}
.btn-primary:hover {
  background: #1656A8;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30,103,196,0.4);
}
.btn-primary:hover::before { opacity: 1; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; padding: 4px; cursor: pointer;
  margin-left: auto;
}
.nav-hamburger span {
  display: block; height: 2px; background: var(--text-1);
  border-radius: 2px; transition: all 0.4s var(--silk);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start;
  gap: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--silk);
  overflow-y: auto;
  padding: 100px 32px 100px;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text-1); padding: 14px 0; width: 100%; text-align: center;
  border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--silk), transform 0.5s var(--silk), color 0.3s;
}
.mobile-menu a:first-child { border-top: 1px solid var(--border); }
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu a:nth-child(6) { transition-delay: 0.30s; }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown::after {
  content: '';
  position: absolute; top: 100%; left: 0; right: 0;
  height: 14px; /* hover bridge: eliminate gap between toggle and menu */
}
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-dropdown-arrow {
  font-size: 0.6rem; margin-left: 2px;
  transition: transform 0.3s var(--silk);
}
.nav-dropdown:hover .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s var(--silk), transform 0.28s var(--silk);
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a:nth-child(1) { transition: background 0.25s, color 0.25s, transform 0.25s var(--silk), padding-left 0.25s var(--silk), opacity 0.3s var(--silk) 0.04s; }
.nav-dropdown-menu a:nth-child(2) { transition: background 0.25s, color 0.25s, transform 0.25s var(--silk), padding-left 0.25s var(--silk), opacity 0.3s var(--silk) 0.08s; }
.nav-dropdown-menu a:nth-child(3) { transition: background 0.25s, color 0.25s, transform 0.25s var(--silk), padding-left 0.25s var(--silk), opacity 0.3s var(--silk) 0.12s; }
.nav-dropdown-menu a:nth-child(4) { transition: background 0.25s, color 0.25s, transform 0.25s var(--silk), padding-left 0.25s var(--silk), opacity 0.3s var(--silk) 0.16s; }
.nav-dropdown-menu a:nth-child(5) { transition: background 0.25s, color 0.25s, transform 0.25s var(--silk), padding-left 0.25s var(--silk), opacity 0.3s var(--silk) 0.20s; }
.nav-dropdown-menu a:nth-child(6) { transition: background 0.25s, color 0.25s, transform 0.25s var(--silk), padding-left 0.25s var(--silk), opacity 0.3s var(--silk) 0.24s; }
.nav-dropdown-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-radius: 10px;
  font-size: 0.875rem; font-weight: 500; color: var(--text-2);
  white-space: nowrap;
  opacity: 0.65;
}
.nav-dropdown:hover .nav-dropdown-menu a { opacity: 1; }
.nav-dropdown-menu a:hover {
  background: var(--accent-ghost);
  color: var(--accent);
  transform: translateX(3px);
}
.nav-dropdown-count {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-3); background: var(--bg);
  padding: 2px 8px; border-radius: 100px;
  margin-left: 12px;
}

/* Mobile dropdown */
.mobile-submenu {
  display: none;
  flex-direction: column; width: 100%; padding: 0;
}
.mobile-submenu.open { display: flex; }
.mobile-submenu a {
  font-size: 0.95rem; font-weight: 500; padding: 10px 0;
  border-bottom: none; border-top: none;
}
.mobile-menu .nav-dropdown { width: 100%; }
.mobile-menu .nav-dropdown-toggle {
  font-size: 1.1rem; font-weight: 600; padding: 14px 0;
  width: 100%; text-align: center;
  border-bottom: 1px solid var(--border);
  justify-content: center; cursor: pointer;
  color: var(--text-1);
}
.mobile-menu .nav-dropdown-menu {
  position: static; transform: none;
  opacity: 1; pointer-events: all;
  background: transparent; border: none;
  box-shadow: none; padding: 4px 0 8px;
  min-width: auto; width: 100%;
  display: none;
}
.mobile-menu .nav-dropdown-menu.open { display: block; }
.mobile-menu .nav-dropdown-menu a {
  justify-content: center; padding: 8px 0;
  color: var(--text-2);
}

/* ══════════════════════════════════════════
   2. HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding: 100px 0 60px;
  position: relative; overflow: hidden;
  touch-action: pan-y;
}
.hero-carousel {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,29,40,0.65) 0%, rgba(26,29,40,0.35) 50%, rgba(30,103,196,0.25) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  text-align: center; max-width: 800px; margin: 0 auto;
  padding: 0 32px;
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-text-overlay {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none; margin-bottom: 16px;
}
.hero-text-overlay.active {
  opacity: 1; transform: translateY(0);
}
.hero-text-overlay .hero-title {
  margin-bottom: 8px;
}
.hero-text-overlay .hero-sub {
  margin-bottom: 0;
}
.hero-logo { height: 100px; width: auto; margin: 0 auto 32px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px; padding: 6px 16px 6px 8px;
  margin-bottom: 28px; color: #fff;
}
.hero-badge-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff; font-weight: 700; flex-shrink: 0;
}
.hero-badge span { font-size: 0.9rem; font-weight: 500; }
.hero-badge strong { color: var(--accent-light); }
.hero-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.1;
  margin-bottom: 20px; color: #fff;
}
.hero-title em {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: var(--accent-light);
}
.hero-sub {
  font-size: 1.125rem; line-height: 1.75;
  color: rgba(255,255,255,0.75); max-width: 600px;
  margin: 0 auto 40px;
}
.hero-actions {
  position: absolute; bottom: 75px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; z-index: 3;
}
.btn-primary-lg {
  font-size: 1.3rem; font-weight: 600; color: #fff;
  background: var(--accent-light); padding: 18px 44px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background var(--silk-dur) var(--silk), transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
  box-shadow: 0 6px 24px rgba(74,144,217,0.30);
}
.btn-primary-lg:hover { background: var(--accent-mid); transform: scale(1.02); box-shadow: 0 8px 32px rgba(30,103,196,0.40); }
.btn-outline-lg {
  font-size: 1.3rem; font-weight: 600; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35); padding: 18px 44px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-light);
  box-shadow: 0 6px 24px rgba(74,144,217,0.30);
  transition: background 0.4s, border-color 0.4s, transform var(--silk-dur) var(--silk);
}
.btn-outline-lg:hover { background: var(--accent-mid); border-color: rgba(255,255,255,0.6); transform: scale(1.02); box-shadow: 0 8px 32px rgba(30,103,196,0.40); }

/* Hero indicator dots */
.hero-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.35); cursor: pointer;
  transition: all 0.4s;
}
.hero-dot.active { background: #fff; width: 28px; border-radius: 5px; }

/* ── SIMPLE HERO BANNER (full-width image) ── */
.hero-banner-simple {
  display: flex; flex-direction: column;
  width: 100%; height: calc(100vh - 80px); margin-top: 80px; overflow: hidden;
}
.hero-carousel-wrap {
  flex: 1; width: 100%; position: relative; overflow: hidden; min-height: 0;
}
.hero-img-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.5s ease-in-out;
}
.hero-img-slide.active { opacity: 1; }

/* Dots on image */
.hero-img-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-img-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
  transition: all 0.3s;
}
.hero-img-dot.active { background: #fff; width: 26px; border-radius: 5px; }
.hero-img-dot:hover { background: rgba(255,255,255,0.8); }

/* ── BRIGHT BLUE INFO BANNER (3 columns) ── */
.info-banner {
  background: #006EF0; padding: 28px 0; flex-shrink: 0;
}
.info-banner-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 16px; align-items: start;
  max-width: 1200px; margin: 0 auto;
  position: relative;
}
.info-banner-grid::before,
.info-banner-grid::after {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(255,255,255,0.5);
  opacity: 0;
  animation: bannerDivFade 0.5s ease 0.15s forwards;
}
@keyframes bannerDivFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.info-banner-grid::before {
  left: calc((100% - 32px) / 3 + 8px);
}
.info-banner-grid::after {
  left: calc(2 * (100% - 32px) / 3 + 24px);
}
.info-banner-item {
  text-align: center; color: #ffffff;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0;
  animation: bannerFadeUp 0.7s ease 0.15s forwards;
}

@keyframes bannerFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.info-banner-icon {
  width: 64px; height: 64px; display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-banner-icon svg {
  width: 52px; height: 52px;
}
/* Third honor icon slightly smaller */
.info-banner-item:nth-child(3) .info-banner-icon {
  width: 56px; height: 56px;
}
.info-banner-item:nth-child(3) .info-banner-icon img {
  width: 46px; height: 46px;
}
.info-banner-title {
  font-size: 1.25rem; font-weight: 700; line-height: 1.4;
}
.info-banner-desc {
  font-size: 0.95rem; opacity: 0.9; line-height: 1.5; max-width: 260px;
}

/* ── ABOUT PREVIEW (fixed bg + left text / right stats) ── */
.about-preview {
  position: relative;
  background: #ffffff;
}
.about-preview::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/bg-fixed-pattern.png') center center / cover fixed;
  opacity: 0.4;
  pointer-events: none;
}
.about-preview-wrap {
  position: relative; z-index: 1;
  padding: 60px 0;
}
.about-preview-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 48px; align-items: center;
}
/* Left text */
.about-preview-left {
  padding-left: 150px;
}
.about-preview-left > :not(.about-preview-btn) {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.about-preview.inview .about-preview-left > :not(.about-preview-btn) {
  opacity: 1; transform: translateY(0);
}
.about-preview-title {
  font-size: 1.6rem; font-weight: 700; color: var(--text-1);
  margin-bottom: 20px; position: relative;
  padding-bottom: 12px;
}
.about-preview-title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 40px; height: 3px; background: #006EF0; border-radius: 2px;
}
.about-preview-text {
  font-size: 0.95rem; color: #000000;
  line-height: 1.75; margin-bottom: 14px;
}
.about-preview-btn {
  display: inline-block; margin-top: 8px;
  background: #006EF0; color: #ffffff;
  padding: 10px 24px; font-size: 0.9rem; font-weight: 600;
  transition: background 0.3s; border-radius: 0;
}
.about-preview-btn:hover { background: #0055BB; }
/* Pyramid */
.about-preview-pyramid {
  display: block; max-width: 566px; width: 100%; height: auto;
  margin-top: 12px; margin-bottom: 8px; margin-left: auto;
}

/* Right stats */
.about-preview-right {
  display: flex; flex-direction: column; gap: 24px;
  padding-right: 150px;
}
.about-preview-stat {
  display: flex; flex-direction: row-reverse; align-items: center; gap: 72px;
  padding-bottom: 16px;
  position: relative;
}
.about-preview-stat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(100% - 200px - 72px - 64px);
  width: calc(200px + 72px + 64px);
  height: 1px;
  background: #E0E0E0;
}
.about-preview-stat-icon {
  width: 76px; height: 76px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.about-preview-stat-icon svg { width: 56px; height: 56px; }
.about-preview-stat-icon .stat-icon-img {
  width: 56px; height: 56px; object-fit: contain; display: block;
  filter: brightness(0) saturate(100%) invert(18%) sepia(94%) saturate(5113%) hue-rotate(213deg) brightness(94%) contrast(108%);
}
.about-preview-stat-body { width: 200px; flex-shrink: 0; text-align: left; }

/* ── Product Highlights Animations ── */
#product-highlights .highlights-row > div:first-child {
  opacity: 0; transform: translateX(80px); transition: opacity 0.6s ease, transform 0.6s ease;
}
#product-highlights .highlights-row > div:first-child.anim-in {
  opacity: 1; transform: translateX(0);
}
#product-highlights .feature-item {
  opacity: 0; transform: translateY(16px); transition: opacity 0.4s ease, transform 0.4s ease;
}
#product-highlights .feature-item.anim-in {
  opacity: 1; transform: translateY(0);
}
.about-preview-stat-val {
  font-size: 2rem; font-weight: 400; color: #006EF0;
  line-height: 1.2;
}
.about-preview-stat-val [data-stat-val] {
  font-weight: 600;
}
.stat-unit {
  display: inline; font-size: 0.85rem; font-weight: 400; color: #006EF0; margin-left: 4px;
}
.about-preview-stat-desc {
  font-size: 0.85rem; font-weight: 400; color: #666; margin-top: 2px;
}
.about-preview-stat-label {
  font-size: 0.95rem; color: var(--text-2); margin-top: 4px;
}

/* ── Video Area Custom Play Button ── */
.video-wrapper {
  position: relative; overflow: hidden; cursor: pointer;
  background: #000;
}
.video-wrapper video { width: 100%; display: block; }
#leftVideoCol { position: relative; overflow: hidden; }
#leftVideoCol .video-wrapper { position: absolute; inset: 0; }
#leftVideoCol video { width: 100%; height: 100%; object-fit: cover; }

/* ── Right video thumbnails (replaces video-wrapper) ── */
.video-thumb {
  position: relative; cursor: pointer; overflow: hidden;
  background: #000; border-radius: 0;
}
.video-thumb img,
.video-thumb video { display: block; }
.video-thumb .video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; background: rgba(0,0,0,0.5);
  border-radius: 50%; border: 2px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; transition: opacity 0.3s, transform 0.3s;
  z-index: 2;
}
.video-thumb .video-play-btn::after {
  content: ''; display: block;
  width: 0; height: 0;
  border-style: solid; border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.video-thumb:hover .video-play-btn { background: rgba(0,110,240,0.75); border-color: #fff; }

/* ── Video lightbox popup ── */
.video-modal {
  display: none; position: fixed; inset: 0; z-index: 99999;
  align-items: center; justify-content: center;
}
.video-modal.active { display: flex; }
.video-modal-bg {
  position: absolute; inset: 0; background: rgba(0,0,0,0.8);
}
.video-modal-box {
  position: relative; max-width: 85vw; max-height: 85vh;
}
.video-modal-close {
  position: absolute; top: -36px; right: 0;
  background: none; border: none; color: #fff;
  font-size: 22px; cursor: pointer; z-index: 3;
  padding: 4px 8px; line-height: 1;
}
.video-modal-player video {
  max-width: 85vw; max-height: 80vh;
  border-radius: 0; display: block;
}

/* ── Right video scroll panel (native scrollbar + arrows) ── */
.right-video-panel {
  position: relative;
}
.about-video-scroll {
  display: flex; flex-direction: column; gap: 12px;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #bbb transparent;
}
.about-video-scroll::-webkit-scrollbar { width: 6px; }
.about-video-scroll::-webkit-scrollbar-thumb { background: #bbb; border-radius: 3px; }
.about-video-scroll::-webkit-scrollbar-track { background: transparent; }

/* Arrow hint */
.scroll-hint-top,
.scroll-hint-bottom {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 10px; color: #999; line-height: 1;
  pointer-events: none; z-index: 1;
  opacity: 0.6;
}
.scroll-hint-top { top: -14px; }
.scroll-hint-bottom { bottom: -14px; }
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; background: rgba(0,0,0,0.5);
  border-radius: 50%; border: 2px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; transition: opacity 0.3s, transform 0.3s;
  z-index: 2;
}
.video-play-btn::after {
  content: ''; display: block;
  width: 0; height: 0;
  border-style: solid; border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.video-wrapper.playing .video-play-btn { opacity: 0; transform: translate(-50%,-50%) scale(0.8); }
.video-wrapper:hover .video-play-btn { background: rgba(0,110,240,0.75); border-color: #fff; }

@media (max-width: 768px) {
  .info-banner-grid { grid-template-columns: 1fr; gap: 24px; }
  .homepage .hero-banner-simple { margin-top: calc(80px); height: auto; }
  .hero-carousel-wrap { flex: none; aspect-ratio: 2 / 1; min-height: 0; }
  .info-banner { padding: 20px 0; }
  .about-preview-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-preview-wrap { padding: 16px 0 36px; }
}

/* ══════════════════════════════════════════
   4. STATS
══════════════════════════════════════════ */
.stats-section { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #ffffff; }
.stat-card {
  padding: 20px 12px;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background 0.35s var(--silk), transform 0.35s var(--silk);
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: rgba(0,0,0,0.03); transform: translateY(-2px); }
.stat-icon {
  font-size: 1.1rem; margin-bottom: 6px; color: var(--accent-light);
}
.stat-value {
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  font-weight: 700; letter-spacing: -0.04em;
  color: var(--text-1); line-height: 1; margin-bottom: 4px;
}
.stat-value small { font-size: 0.6em; }
.stat-label { font-size: 0.72rem; color: var(--text-3); font-weight: 500; }
.stats-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.stats-grid-6 {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.stats-grid-6 .stat-card { border-right: 1px solid var(--border); }
.stats-grid-6 .stat-card:last-child { border-right: none; }

/* ══════════════════════════════════════════
   5. SECTIONS (shared)
══════════════════════════════════════════ */
.section { padding: 48px 0; scroll-snap-align: start; background: #ffffff; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 32px; }
.section-header .section-sub { margin: 12px auto 0; text-align: center; }

/* ══════════════════════════════════════════
   6. PRODUCT CARDS
══════════════════════════════════════════ */
/* ═══════════════════════════════════════
   6.3 PRODUCTS PAGE LAYOUT (Left Sidebar + Grid)
═══════════════════════════════════════ */
.products-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
/* Sticky sidebar */
.products-sidebar {
  position: sticky;
  top: 100px;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  border: 1px solid var(--border);
}
.sidebar-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
/* ── Sidebar Links: color-bar + card-style (B+C fusion) ── */
.sidebar-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 12px 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.3s var(--silk);
  margin-bottom: 8px;
  position: relative;
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
  border-left: 3px solid transparent;
  overflow: hidden;
}
.sidebar-link:hover {
  background: var(--surface-1);
  color: var(--text-1);
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sidebar-link.active {
  background: var(--surface-1);
  color: var(--text-1);
  transform: translateX(4px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  font-weight: 600;
}
/* Color indicator bars — each category gets its own accent */
.sidebar-link[data-cat="all"]       { --cat-color: #6B7280; }
.sidebar-link[data-cat="flosser"]    { --cat-color: #3B82F6; }
.sidebar-link[data-cat="toothbrush"] { --cat-color: #10B981; }
.sidebar-link[data-cat="dental-scaler"] { --cat-color: #8B5CF6; }
.sidebar-link[data-cat="ear-washer"] { --cat-color: #F59E0B; }
.sidebar-link[data-cat="cleanser"]   { --cat-color: #EC4899; }
.sidebar-link:hover,
.sidebar-link.active {
  border-left-color: var(--cat-color);
}
.sidebar-count {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.3s var(--silk);
}
.sidebar-link:hover .sidebar-count,
.sidebar-link.active .sidebar-count {
  background: color-mix(in srgb, var(--cat-color) 12%, transparent);
  color: var(--cat-color);
}
/* Products main area */
.products-main {
  min-width: 0;
}
.products-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.products-grid-title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-1);
}
.products-grid-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
/* Keep existing product grid for 3-col on desktop */
.products-main .products-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Category Tabs (legacy — hidden when sidebar is used) */
.cat-tabs {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.cat-tab {
  padding: 10px 24px; border-radius: 100px;
  font-size: 0.875rem; font-weight: 500; color: var(--text-2);
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  transition: all 0.4s var(--silk);
  cursor: pointer;
}
.cat-tab:hover { border-color: var(--accent-border); color: var(--accent); }
.cat-tab.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(30,103,196,0.25);
}
.cat-tab-count {
  font-size: 0.72rem; font-weight: 600;
  margin-left: 4px; opacity: 0.7;
}
.cat-tab.active .cat-tab-count { opacity: 1; color: rgba(255,255,255,0.85); }

/* Product Grid */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.product-card {
  display: block; color: inherit;
  background: var(--surface-2); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 1;
  transform: scale(1);
  transition:
    transform 0.45s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.45s cubic-bezier(0.16,1,0.3,1),
    opacity 0.45s cubic-bezier(0.16,1,0.3,1);
}
.product-card.card-hidden {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}
.product-card:hover { transform: translateY(-6px) scale(1); box-shadow: var(--shadow-lg); }
.product-img-wrap {
  aspect-ratio: 1; overflow: hidden;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.product-img-wrap img { max-height: 100%; object-fit: contain; transition: transform var(--silk-dur) var(--silk); }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-info { padding: 20px 24px 24px; }
.product-cat { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.product-name { font-size: 1.05rem; font-weight: 400; color: #000000; margin-bottom: 8px; letter-spacing: -0.02em; }
.product-desc { font-size: 0.85rem; color: var(--text-3); line-height: 1.6; margin-bottom: 14px; }
.product-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.product-tag {
  font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 100px;
  background: var(--accent-ghost); color: var(--accent);
  border: 1px solid var(--accent-border);
}

/* Product placeholder / no-link */
.product-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); color: var(--text-3);
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: 0.04em;
}
.product-card.no-link {
  cursor: default;
  opacity: 0.85;
}
.product-card.no-link:hover {
  transform: none !important;
  box-shadow: var(--shadow-sm) !important;
}
.product-card.no-link .product-img-wrap { pointer-events: none; }

/* ══════════════════════════════════════════
   6.4 FIRST SCREEN — Hero Banner + Quick Nav
═══════════════════════════════════════════ */

/* First screen wrapper: hero + quick nav together occupy 100vh */
.first-screen {
  height: calc(100vh - 34px);  /* Subtract body padding-top, align bottom to viewport */
  display: flex;
  flex-direction: column;
  padding-top: 80px;  /* nav offset — matches nav height */
  background: #ffffff;
}

/* Override base .hero for first-screen context: flex:1 fills space above blue banner */
.first-screen .hero {
  flex: 1;
  min-height: 0;
  padding: 0;
  display: block;
}
.first-screen .hero-inner {
  text-align: center;
  padding: 0 20px;
}
.first-screen .hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

/* Bottom section: title + quick nav at very bottom */
.first-screen-bottom {
  flex-shrink: 0;
  padding-top: 8px;
  background: #fff;
  width: 100%;
}

/* ── Blue divider between 4 major categories and 7 category cards ── */
.section-products-grid {
  position: relative;
  border-top: none;
}
.section-products-grid::before {
  content: '';
  position: absolute;
  top: 0;  /* first-screen height adapted, blue line at fold */
  left: 50%;
  transform: translateX(-50%);
  width: min(60%, 1200px);
  height: 1px;
  background: #3B82F6;
}

/* Product Categories title */
.first-screen-header {
  padding: 12px 0 24px;  /* Reduced spacing for top bar */
  text-align: center;
  background: #fff;
}
.first-screen-header .section-title {
  margin-bottom: 0;
  font-size: clamp(1.68rem, 3.6vw, 2.16rem);  /* +20% bigger */
}

/* Hero banner: shows full bottom of image (cropped from top) */
.category-hero-banner {
  width: 100%;
  flex: none;
  aspect-ratio: 1920 / 500;    /* Match image actual size 1920x500 */
  overflow: hidden;              /* Preserve cropping */
}


/* Flex spacer between hero and bottom section */
.first-screen-spacer {
  flex: 1;
  min-height: 0;
}
.category-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* Cover container, no letterboxing */
  object-position: center bottom; /* Bottom aligned, ensure full bottom visibility */
  display: block;
}

/* Quick nav: 5 links below the banner */
.category-quick-nav {
  padding: 4px 0 0;
}
.category-quick-nav-inner {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
}
.cat-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;  /* Double icon-to-text spacing */
  padding: 20px 36px;
  color: var(--text-1);
  border-right: 1px solid var(--border);
  flex: 0 1 auto;

  /* Slide-up fade animation */
  opacity: 0;
  transform: translateY(24px);
  animation: catQuickSlideUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.cat-quick-link:nth-child(1) { animation-delay: 0.10s; }
.cat-quick-link:nth-child(2) { animation-delay: 0.20s; }
.cat-quick-link:nth-child(3) { animation-delay: 0.30s; }
.cat-quick-link:nth-child(4) { animation-delay: 0.40s; }
.cat-quick-link:nth-child(5) { animation-delay: 0.50s; }

/* Decorative hover: light blue background */
.cat-quick-link:hover {
  background: rgba(59, 130, 246, 0.08);
  border-radius: 8px;
}

@keyframes catQuickSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cat-quick-link:last-child {
  border-right: none;
}
.cat-quick-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 2px;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.08));
}
.cat-quick-name {
  font-size: 1.08rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   6.5 CATEGORY CARDS GRID (second screen)
═══════════════════════════════════════════ */

/* Category cards grid: 4 cols × 3 rows, 85% width more compact */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto auto auto;
  gap: 14px;
  width: 85%;
  margin: 0 auto;
  min-height: 960px;  /* prevent layout shift during reveal */
}

/* New Products — tall card spanning 2 rows */
.category-card-new {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 400px;
}

/* Individual category card */
.category-card {
  position: relative;
  border-radius: 0;           /* Square frame */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-1);
  transition: transform 0.45s var(--silk), box-shadow 0.45s var(--silk);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: 1px solid transparent;  /* Border (thin line, transparent by default) */
  --brand-bg-height: 55%; /* Adjust here, refresh to see effect */
}
.category-card-new {
  aspect-ratio: auto;
  border: none !important;  /* No border for new products */
}

/* Row 1: blue border */
.category-card[data-cat="flosser"],
.category-card[data-cat="facial-cleanser"],
.category-card[data-cat="toothbrush"] {
  border-color: #3B82F6;
}

/* Row 2: orange border */
.category-card[data-cat="dental-scaler"],
.category-card[data-cat="ear-washer"],
.category-card[data-cat="manual-toothbrush"] {
  border-color: #F59E0B;
}

/* Row 3: green border */
.category-card[data-cat="irrigator"],
.category-card[data-cat="oxygen-injector"],
.category-card[data-cat="nasal-strips"],
.category-card[data-cat="mens-trimmer"] {
  border-color: #10B981;
}

/* Row 4: purple border */
.category-card[data-cat="foot-file"],
.category-card[data-cat="shaker-bottle"],
.category-card[data-cat="body-fat-scale"],
.category-card[data-cat="nail-file"] {
  border-color: #8B5CF6;
}

/* Row 5: rose border */
.category-card[data-cat="ultrasonic-cleaner"] {
  border-color: #EC4899;
}

/* Desktop: Explore More spans 3 cols in row 5 */
.category-card-explore {
  grid-column: 2 / 5;
  grid-row: 5;
  aspect-ratio: auto;
  border: 1px dashed #EC4899;
  background: #f8fafc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-card-explore:hover {
  border-color: #EC4899;
  border-style: solid;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.category-card-explore:hover .explore-text,
.category-card-explore:hover .explore-arrow {
  opacity: 1;
  text-shadow: 0 0 12px rgba(255,255,255,0.8);
}
.category-card-explore .category-card-content {
  gap: 10px;
}
.explore-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: 0.03em;
}
.explore-arrow {
  font-size: 1.8rem;
  color: var(--text-1);
  opacity: 0.4;
  line-height: 1;
}

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

/* Background image container */
.category-card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.category-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.0);
  opacity: 0.18;  /* Subtle fade — semi-transparent background */
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.category-card:hover .category-card-bg img {
  transform: scale(1.08);  /* Slow zoom on hover */
  opacity: 1;              /* Image fully visible */
}

/* Dark overlay on hover (very subtle, to not gray out the image) */
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.22) 100%);
  z-index: 2;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
}
.category-card:hover::before {
  opacity: 0;  /* Remove overlay on hover for clean image */
}

/* Card content: text only (no icons) */
.category-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Default: text is visible and prominent */
.category-card-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-1);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-card-name-zh {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-card-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-ghost);
  padding: 3px 14px;
  border-radius: 100px;
  margin-top: 4px;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover: text completely disappears */
.category-card:hover .category-card-name,
.category-card:hover .category-card-name-zh,
.category-card:hover .category-card-count {
  opacity: 0;
}

/* "New Products" tall card — same style as others, no gradient overlay */
.category-card-new .category-card-content {
  background: transparent;
  color: var(--text-1);
  height: 100%;
  border-radius: 0;
}
.category-card-new .category-card-name,
.category-card-new .category-card-name-zh {
  color: var(--text-1);
}
.category-card-new .category-card-name {
  font-size: 1.6rem;
}
.category-card-new .category-card-name-zh {
  font-size: 1.2rem;
  opacity: 0.9;
}
.category-card-new .category-card-count {
  color: var(--accent);
  background: var(--accent-ghost);
  border-radius: 100px;
}
.category-card-new:hover .category-card-name,
.category-card-new:hover .category-card-name-zh,
.category-card-new:hover .category-card-count {
  opacity: 0;
}
/* New product hover: keep background transparent for full image display */
.category-card-new:hover .category-card-content {
  background: transparent;
}

/* Products list section (when category selected) */
.products-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.products-list-header .products-grid-title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-1);
}
.products-list-header .products-grid-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Back button */
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all 0.3s var(--silk);
}
.btn-secondary:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-ghost);
}

#products-section {
  background: #ffffff;
}

/* ══════════════════════════════════════════
   6.7 PRODUCT LISTING VIEW (category drill-down)
═══════════════════════════════════════════ */

/* Listing first screen: hero + search bar */
.listing-first-screen {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 64px;
  background: #ffffff;
}

/* Search section pushed to bottom of first screen */
.listing-search-section {
  margin-top: auto;
  flex-shrink: 0;
  padding: 28px 0 36px;
  background: #fff;
  width: 100%;
}

/* ── Listing view slide-up animations ── */
@keyframes listingSlideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Group 1: search bar + bottom-left — animate on page load */
.search-bar-inner,
.listing-bottom-left {
  opacity: 0;
  animation: listingSlideUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}
.search-bar-inner { animation-delay: 0.15s; }
.listing-bottom-left { animation-delay: 0.30s; }

/* Group 2: sidebar + product grid — animate via IntersectionObserver */
.listing-sidebar,
.listing-main {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.listing-sidebar.visible,
.listing-main.visible {
  opacity: 1;
  transform: translateY(0);
}

.search-bar-inner {
  display: flex;
  justify-content: center;
  padding: 0;
}
.search-bar-left {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 1212px;  /* 1.5x width, centered */
}
.search-bar-left input {
  flex: 1;
  padding: 34px 60px 34px 24px;
  font-size: 1.15rem;
  border: none;  /* Remove border, solid background */
  border-radius: 0;
  outline: none;
  background: #F0F2F5;  /* Solid background */
  transition: background 0.3s;
  width: 100%;
}
.search-bar-left input:focus {
  background: #EAECF0;
}

/* Search icon inside the input */
.search-input-wrap {
  position: relative;
  width: 100%;
}
.btn-search-inside {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 5;  /* Ensure above input */
  padding: 6px;
  transition: opacity 0.3s;
}
.btn-search-inside:hover {
  opacity: 0.7;
}
.btn-search-inside svg {
  display: block;  /* Prevent SVG inline text issues */
}
.listing-product-count {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}

/* Bottom-left area: product count only */
.listing-bottom-left {
  margin-top: 24px;
  padding: 18px 0 0 4px;  /* 4px left offset to align with Categories */
  border-top: 1.5px solid var(--border);
}
.listing-bottom-left .listing-product-count {
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--text-3);
}

/* Categories section label above sidebar list */
.sidebar-section-label {
  font-size: 1.19rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 8px;
  padding-left: 4px;  /* Slight offset from category list below */
}

/* Listing section — pure white background, compact spacing */
.listing-section {
  background: #ffffff;
  padding: 20px 0 80px;  /* Reduced top, cards moved up */
}

/* Listing layout: sidebar + main */
.listing-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.listing-sidebar {
  flex: 0 0 240px;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--border);
}
.sidebar-cat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-cat-item {
  display: block;
  padding: 10px 14px;
  font-size: 1.1rem;
  font-weight: 400;
  color: #000000;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.25s;
}
.sidebar-cat-item:hover {
  background: rgba(59,130,246,0.06);
  color: var(--accent);
}
.sidebar-cat-item.active {
  background: rgba(59,130,246,0.12);
  color: var(--accent);
  font-weight: 600;
}
.sidebar-cat-count {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-3);
  margin-left: 6px;
}
/* Search result label in sidebar */
.search-result-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  padding: 4px 14px 8px;
  font-style: italic;
}

/* Listing main area */
.listing-main {
  flex: 1;
  min-width: 0;
}

/* Compact product grid — 4 columns */
.listing-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* Compact product card */
.listing-products-grid .product-card {
  border-radius: 0;
  cursor: pointer;
  transition: none;
  border: none;
  box-shadow: none;
}
/* Category filter animation: fade in + slide up */
.listing-products-grid .product-card.cat-filter-in {
  animation: catFilterFade 0.4s ease both;
}
@keyframes catFilterFade {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.listing-products-grid .product-card:hover {
  /* Card stays put, only image and text change */
  transform: none !important;
  box-shadow: none !important;
}
.listing-products-grid .product-img-wrap {
  aspect-ratio: 1 / 1;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #ddd;
}
.listing-products-grid .product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
/* Main image: visible by default */
.listing-products-grid .product-img-wrap .product-main-img {
  opacity: 1;
  z-index: 1;
  transition: opacity 0s;  /* Instant show on exit */
}
/* Hover image: hidden by default, prep GPU layer */
.listing-products-grid .product-img-wrap .product-hover-img {
  opacity: 0;
  z-index: 2;
  will-change: transform;
  transition: opacity 0s;  /* Instant hide on exit */
}
.listing-products-grid .product-card:hover .product-img-wrap .product-main-img {
  opacity: 0;
  transition: opacity 0.1s ease;
}
.listing-products-grid .product-card:hover .product-img-wrap .product-hover-img {
  opacity: 1;
  transform: scale(1.15);
  transition: opacity 0.1s ease, transform 1.2s ease;
}
/* ── No-hover cards: products without a hover image — zoom main image instead ── */
.listing-products-grid .product-card.no-hover .product-img-wrap .product-main-img {
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.listing-products-grid .product-card.no-hover:hover .product-img-wrap .product-main-img {
  opacity: 1 !important;
  transform: scale(1.08) !important;
}
.listing-products-grid .product-card.no-hover:hover .product-img-wrap .product-hover-img {
  opacity: 0 !important;
  transform: none !important;
}
.listing-products-grid .product-card.no-hover:hover .product-name {
  color: inherit !important;
}
.listing-products-grid .product-card.no-hover:hover .learn-more-btn {
  background: #fff !important;
  color: #555 !important;
  border-color: #ccc !important;
}
.listing-products-grid .product-info {
  padding: 14px 16px 16px;
  text-align: center;
}
.listing-products-grid .product-cat {
  display: none;  /* Hide model label */
}

.listing-products-grid .product-name {
  margin-bottom: 8px;
  transition: color 0.25s;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-products-grid .product-card:hover .product-name {
  color: #3B82F6;
}

/* Learn More button — white bg, gray border, centered */
.learn-more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;
  text-align: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
  user-select: none;
}
.product-card:hover .learn-more-btn {
  background: #3B82F6;
  color: #fff;
  border-color: #3B82F6;
}

/* Pagination */
.listing-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.page-btn:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}
.page-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  cursor: default;
}
.page-btn.disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* Mobile sidebar → dropdown */
.mobile-cat-select {
  display: none;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 24px;
  cursor: pointer;
}

/* ══════════════════════════════════════════
   6.8 HOT PRODUCTS CAROUSEL (Homepage)
   Horizontal row with arrows + sliding progress bar
═══════════════════════════════════════════ */

/* ── Carousel Container (defined in section 12 below) */

.hot-products-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 16px;
}
.hot-products-grid::-webkit-scrollbar { display: none; }

/* Each card snaps to position and has a fixed width */
.hot-product-card {
  display: block;
  color: inherit;
  background: transparent;
  overflow: hidden;  /* Crop beyond card boundary */
  cursor: pointer;
  flex-shrink: 0;
  width: calc((100% - 36px) / 4); /* 12px gap × 3 gaps = 36px, show 4 cards */
  scroll-snap-align: start;
}
.hot-product-card:hover {
  /* name highlight handled by .hot-product-name hover */
}
.hot-product-img-wrap {
  position: relative;
  overflow: hidden;  /* Crop ribbon beyond image area */
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;  /* Square on desktop too */
}
.hot-badge {
  position: absolute;
  top: 16px;
  right: -30px;
  z-index: 5;
  width: 118px;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.35;
  padding: 4px 0;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(231,76,60,0.35);
}
.hot-product-img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: contain;
}
/* Light blue border - drawn with pseudo-element */
.hot-product-img-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(30,103,196,0.25);
}
.hot-product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--silk);
  padding: 16px;
}
.hot-product-card:hover .hot-product-overlay {
  opacity: 1;
}
.hot-product-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.hot-product-specs li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  padding: 4px 0;
  line-height: 1.55;
}
.hot-product-info {
  padding: 14px 16px 16px;
  text-align: center;
  overflow: visible;
}
.hot-product-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-1);
  transition: color 0.3s var(--silk);
}
.hot-product-card:hover .hot-product-name {
  color: var(--accent);
}
/* Quick View — slides up from bottom on hover */
.hot-quick-view {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-top: 8px;
}
.hot-product-card:hover .hot-quick-view {
  opacity: 1;
  transform: translateY(0);
}
.hot-product-card:hover .hot-quick-view:hover {
  text-decoration: underline;
}

/* ── Arrow Navigation Buttons ── */
.hp-arrow {
  flex-shrink: 0;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  color: #555;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  -webkit-user-select: none;
  user-select: none;
}
.hp-arrow:hover {
  background: #fff;
  border-color: rgba(0,0,0,0.35);
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hp-arrow:active { transform: scale(0.92); }
.hp-arrow.disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.4;
}

/* ── Progress Bar ── */
.hp-progress-bar-wrap {
  margin-top: 28px;
  text-align: center;
}
.hp-progress-bar-track {
  width: 100%;
  max-width: 400px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin: 0 auto;
  cursor: pointer;
  position: relative;
}
.hp-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #00b4d8);
  border-radius: 3px;
  width: 0%;
  transition: width 0.15s ease-out;
  position: relative;
  z-index: 1;
}
.hp-progress-bar-track.dragging .hp-progress-bar-fill,
.hp-progress-bar-track:active .hp-progress-bar-fill {
  height: 8px;
  margin-top: -1px;
}

/* Product Features Section (Homepage) — merged with Schoben brand */
/* ── Row container: left image + right scrollable list ── */
.highlights-row {
  display: flex;
  gap: 28px;
  align-items: stretch;
}
/* Left: pure image (no overlay) */
.highlights-left {
  flex: 0 0 55%;
  min-height: 0;
}
/* Right: section header + feature list */
.highlights-right {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.highlights-section-header {
  margin-bottom: 20px;
}
.h-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.8rem; font-weight: 500; margin: 0 0 6px;
}
.h-section-sub {
  font-size: 0.95rem; color: var(--text-2); margin: 0;
}
.highlights-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.highlights-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right: feature list — simple, no timeline, vertically centered */
.features-list {
  width: 100%;
  padding: 0;
}
.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  transition: color 0.25s ease, opacity 0.6s ease, transform 0.6s ease;
}
/* Hidden before reveal */
.highlights-right.reveal .feature-item {
  opacity: 0;
  transform: translateY(14px);
}
/* Visible: staggered in from bottom */
.highlights-right.reveal.visible .feature-item {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delays — overall slower than text */
.highlights-right.reveal .feature-item:nth-child(1) { transition-delay: 0.6s; }
.highlights-right.reveal .feature-item:nth-child(2) { transition-delay: 0.8s; }
.highlights-right.reveal .feature-item:nth-child(3) { transition-delay: 1.0s; }
.highlights-right.reveal .feature-item:nth-child(4) { transition-delay: 1.2s; }
.highlights-right.reveal .feature-item:nth-child(5) { transition-delay: 1.4s; }
.highlights-right.reveal .feature-item:nth-child(6) { transition-delay: 1.6s; }
.feature-item:hover .feature-item-title {
  color: var(--accent);
}
.feature-item-text {
  flex: 1;
  min-width: 0;
}
.feature-item-title {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 3px;
  color: var(--text-1);
  line-height: 1.3;
}
.feature-item-desc {
  font-size: 0.76rem;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0;
}

/* ══════════════════════════════════════════
   7. ABOUT - Content Rows
══════════════════════════════════════════ */
.about-row {
  display: grid; grid-template-columns: 3fr 2fr;
  align-items: center; gap: 64px; margin-bottom: 80px;
}
.about-row:last-child { margin-bottom: 0; }
.about-row.reverse { direction: rtl; }
.about-row.reverse > * { direction: ltr; }

/* Homepage company intro: video left + right video panel, flex equal-height */
#company-intro .about-row.about-row-video {
  --intro-video-gap: 17px;
  --intro-side-width: 280px;
  --intro-scroll-gap: 8px;
  --intro-video-width: calc(var(--intro-side-width) - var(--intro-scroll-gap));
  --intro-video-height: calc(var(--intro-video-width) * 9 / 16);
  --intro-stack-height: calc(var(--intro-video-height) * 3 + var(--intro-video-gap) * 2);
  display: flex; gap: 20px; align-items: stretch;
  max-width: 1200px; margin: 0 auto;
}
#company-intro .about-img {
  height: var(--intro-stack-height);
  flex: 1; position: relative; overflow: hidden; min-height: 0;
  display: flex; align-items: flex-end; justify-content: center;
}
#company-intro .about-img video {
  width: 100%; height: 100%; object-fit: cover;
}
.about-content-video-panel {
  width: var(--intro-side-width); flex-shrink: 0;
  display: flex; flex-direction: column;
}
.about-video-row {
  display: flex; flex-direction: column;
}
/* Note: .about-video-scroll base styles are defined in the Video Area section above (line ~1008).
   Do NOT duplicate here — the second definition overrides the first and breaks gap/spacing. */
.about-sub-video {
  width: 100%; height: var(--intro-video-height);
  display: block; flex: 0 0 auto;
  object-fit: cover;
  border-radius: 0; box-shadow: var(--shadow-sm);
}

.about-img {
  overflow: hidden;
  box-shadow: var(--shadow-md); transition: transform var(--silk-dur) var(--silk);
}
#company-intro .about-img {
  height: var(--intro-stack-height);
}
#who-we-are .about-img {
  aspect-ratio: 4/3;
}
#pump-tech .about-img {
  aspect-ratio: 3/4;
  max-width: 500px;
  justify-self: center;
  align-self: center;
}
#pump-tech .about-row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 12px;
  min-height: 400px;
  align-items: start;
}
/* Desktop: title + content-top + content-bottom in col 1, image in col 2 spanning 3 rows */
#pumpRow #pumpTitle { grid-column: 1; grid-row: 1; }
#pumpRow .about-content-top { grid-column: 1; grid-row: 2; }
#pumpRow #pumpImg { grid-column: 2; grid-row: 1 / 4; }
#pumpRow .about-content-bottom { grid-column: 1; grid-row: 3; }
/* pump-advantages moved into about-content, no extra grid needed */
.about-img:hover { transform: scale(1.015); }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
#company-intro .about-img img { object-position: right center; }

.about-content h3 {
  font-size: 1.35rem; font-weight: 500;
  letter-spacing: -0.03em; margin-bottom: 16px; color: var(--text-1);
  line-height: 1.25;
}
.about-content p, .about-content li {
  font-size: 0.95rem; line-height: 1.75; color: var(--text-2); margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.about-content strong {
  font-weight: 400;
}
/* Key advantages label bold - use data attribute */
.about-content strong[data-i18n="pump_key_advantages"] {
  font-weight: 700;
  display: block;
  margin-top: 4px;
}
.about-content .cn-text {
  font-size: 0.9rem; color: var(--text-3); font-style: italic; line-height: 1.8;
}
.pump-advantages {
  margin-top: 16px;
}
.pump-features li {
  display: flex; align-items: flex-start; gap: 6px;
  padding: 3px 0; font-size: 0.9rem; color: var(--text-2); line-height: 1.5;
}
.pump-check {
  color: #22C55E; font-weight: 700; flex-shrink: 0;
  margin-top: 1px;
}

/* About data cards */
.about-data-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 64px;
}
.about-data-card {
  background: var(--surface-2); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 24px;
  text-align: center; transition: all var(--silk-dur) var(--silk);
}
.about-data-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-border); }
.about-data-val {
  font-size: 1.6rem; font-weight: 700; color: var(--accent);
  letter-spacing: -0.03em; margin-bottom: 4px;
}
.about-data-label { font-size: 0.8rem; color: var(--text-3); font-weight: 500; }

/* Timeline */
.timeline { position: relative; padding: 40px 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  top: 0; bottom: 0; width: 2px; background: var(--accent-border);
}
.timeline-item {
  display: flex; align-items: flex-start; margin-bottom: 40px;
  position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-dot {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
  z-index: 2; top: 6px;
}
.timeline-year {
  font-size: 1.1rem; font-weight: 700; color: var(--accent);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.timeline-text { font-size: 0.9rem; color: var(--text-2); }
.timeline-content {
  width: 45%; padding: 12px 20px;
  background: var(--surface-2); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30,103,196,0.12);
  border-color: var(--accent);
}
.timeline-content:hover .timeline-year { color: var(--accent-mid); }
.timeline-dot {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item:has(.timeline-content:hover) .timeline-dot {
  transform: translateX(-50%) scale(1.4);
  box-shadow: 0 0 0 8px rgba(30,103,196,0.12);
}

/* Certificates grid */
.certs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.cert-card {
  background: var(--surface-2); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  aspect-ratio: 3/4; transition: transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
  cursor: pointer;
}
.cert-card:hover { transform: scale(1.04); box-shadow: var(--shadow-lg); }
.cert-card img { width: 100%; height: 100%; object-fit: contain; padding: 16px; background: #fff; }
.cert-name { text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--text-2); padding: 8px 8px 2px; background: var(--bg); }
.cert-desc { text-align: center; font-size: 0.68rem; color: var(--text-3); padding: 0 8px 10px; background: var(--bg); }
.cert-group-title {
  font-size: 1.2rem; font-weight: 700; color: var(--text-1);
  margin-bottom: 8px; letter-spacing: -0.02em;
}
.cert-group-desc {
  font-size: 0.9rem; color: var(--text-2); line-height: 1.7;
  margin-bottom: 32px; max-width: 600px;
}
.cert-note {
  margin-top: 40px; padding: 24px 28px;
  background: var(--accent-ghost); border: 1px solid var(--accent-border);
  border-radius: var(--radius); text-align: center;
}
.cert-note p { font-size: 0.9rem; color: var(--text-2); line-height: 1.8; }

/* Certification Badges (replacing scanned cert images) */
.cert-badges {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 16px;
}
.cert-badges-sm { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
.cert-badge {
  background: var(--surface-2); border-radius: 0;
  border: 1px solid var(--border);
  padding: 18px 14px 16px; text-align: center;
  transition: transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
}
.cert-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-badge-icon {
  width: 56px; height: 56px; margin: 0 auto 8px;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.cert-badge-icon svg { width: 40px; height: 40px; display: block; }
.cert-badge-icon img {
  height: 40px; width: auto; max-width: 70px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.35s ease;
}
.cert-badge:hover .cert-badge-icon img { filter: grayscale(0%); }
/* Individual icon size overrides (within 56px white frame) */
.cert-badge-icon.cert-icon-sm img { height: 32px; max-width: 56px; }
.cert-badge-icon.cert-icon-sm svg { width: 30px; height: 30px; }
.cert-badge-icon.cert-icon-lg img { height: 50px; max-width: 58px; }
.ce-icon { color: #1E67C4; }
.fcc-icon { color: #2D3748; }
.fda-icon { color: #0D47A1; }
.rohs-icon { color: #2E7D32; }
.ipx7-icon { color: #8B90A0; transition: color 0.35s ease; }
.cert-badge:hover .ipx7-icon { color: #0277BD; }
.license-icon { color: #5D4037; }
.iso-icon { color: #C62828; }
.cert-badge-name { font-size: 0.9rem; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.cert-badge-desc { font-size: 0.78rem; color: var(--text-2); line-height: 1.5; margin-bottom: 6px; }
.cert-badge-scope { font-size: 0.7rem; color: var(--text-3); font-weight: 500; }

/* 1024px: cert badges 3 columns */
@media (max-width: 1024px) {
  .cert-badges { grid-template-columns: repeat(3, 1fr); }
  .cert-badges-sm { grid-template-columns: repeat(2, 1fr); max-width: none; }
}
/* 768px: cert badges — 2 cols × 4 rows */
@media (max-width: 768px) {
  .cert-badges {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    gap: 10px;
    padding-bottom: 0;
    overflow-x: visible;
    -webkit-overflow-scrolling: unset;
    scroll-snap-type: none;
  }
  .cert-badges-sm { grid-template-columns: repeat(2, 1fr); }
  .cert-badge {
    padding: 12px 10px; display: flex; align-items: center; gap: 10px; border-radius: 10px;
    scroll-snap-align: unset;
    min-width: 0;
  }
  .cert-badge-icon { width: 48px; height: 48px; flex-shrink: 0; margin-bottom: 0; }
  .cert-badge-icon svg { width: 34px; height: 34px; }
  .cert-badge-icon img { height: 36px; max-width: 48px; }
  .cert-badge-icon.cert-icon-sm img { height: 28px; max-width: 48px; }
  .cert-badge-icon.cert-icon-sm svg { width: 28px; height: 28px; }
  .cert-badge-icon.cert-icon-lg img { height: 40px; max-width: 48px; }
  .cert-badge-name { font-size: 0.72rem; text-align: left; margin: 0; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cert-badge-desc, .cert-badge-scope { display: none; }
}
/* 480px: cert badges — 2 cols, more compact */
@media (max-width: 480px) {
  .cert-badges, .cert-badges-sm {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    gap: 8px;
    overflow-x: visible;
    -webkit-overflow-scrolling: unset;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  .cert-badge { padding: 10px 8px; display: flex; align-items: center; gap: 8px; border-radius: 8px; min-width: 0; }
  .cert-badge-icon { width: 40px; height: 40px; margin-bottom: 0; flex-shrink: 0; }
  .cert-badge-icon svg { width: 28px; height: 28px; }
  .cert-badge-icon img { height: 30px; max-width: 40px; }
  .cert-badge-icon.cert-icon-sm img { height: 24px; max-width: 40px; }
  .cert-badge-icon.cert-icon-sm svg { width: 24px; height: 24px; }
  .cert-badge-icon.cert-icon-lg img { height: 34px; max-width: 40px; }
  .cert-badge-name { font-size: 0.65rem; text-align: left; margin: 0; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cert-badge-desc, .cert-badge-scope { display: none; }
}

/* Tech highlight */
.tech-highlight {
  background: var(--surface-2); border-radius: var(--radius-lg);
  border: 1px solid var(--accent-border); padding: 40px;
  box-shadow: var(--shadow-md);
}
.tech-highlight h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; color: var(--accent); }
.tech-highlight p { line-height: 1.8; color: var(--text-2); }

/* Advantage pills */
.advantage-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.advantage-card {
  background: var(--surface-2); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 24px 16px; text-align: center;
  transition: all var(--silk-dur) var(--silk);
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.advantage-icon { font-size: 1.6rem; margin-bottom: 10px; }
.advantage-title { font-size: 0.85rem; font-weight: 700; color: var(--text-1); margin-bottom: 4px; }
.advantage-sub { font-size: 0.75rem; color: var(--text-3); }

/* ══════════════════════════════════════════
   8. CONTACT
══════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}
.contact-form-wrap { background:#fff; border:1px solid var(--border); padding:24px; height:100%; display:flex; flex-direction:column; }
.contact-form-wrap h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-2);
  margin-bottom: 6px; letter-spacing: 0.04em; text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: 0;
  font-size: 0.9rem; font-family: inherit; color: var(--text-1);
  background: var(--surface-2);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ghost);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  font-size: 0.9375rem; font-weight: 600; color: #fff;
  background: var(--accent); padding: 14px 36px; border-radius: 0; border: none;
  width: 100%; cursor: pointer;
}
.btn-submit:hover { background: var(--accent); }

.contact-info-side { background:#fff; border:1px solid var(--border); padding:24px; height:100%; }
.contact-info-side h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 24px; }
.contact-card {
  background: var(--surface-2); border-radius: 0;
  border: 1px solid var(--border); padding: 13px 20px;
  margin-bottom: 14px; display: flex; align-items: flex-start; gap: 14px;
  transition: all var(--silk-dur) var(--silk);
}
.contact-card:hover { }
.contact-card-icon {
  width: 44px; height: 44px; border-radius: 0;
  background: var(--accent-ghost); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; color: var(--accent);
}
.contact-card-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.contact-card-val { font-size: 0.95rem; font-weight: 400; color: var(--text-1); }

/* ══════════════════════════════════════════
   9. CTA
══════════════════════════════════════════ */
.cta-section { padding: 60px 0; }
.cta-inner {
  background: var(--text-1);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute; top: -40%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(74,144,217,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700;
  letter-spacing: -0.03em; color: #fff; margin-bottom: 16px;
}
.cta-content h2 em { font-style: italic; font-family: 'Playfair Display', serif; color: var(--accent-light); }
.cta-content p { font-size: 1.05rem; color: rgba(255,255,255,0.55); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cta {
  font-size: 0.9375rem; font-weight: 600; color: #fff;
  background: var(--accent); padding: 16px 36px; border-radius: 100px;
  transition: background var(--silk-dur) var(--silk), transform var(--silk-dur) var(--silk);
  box-shadow: 0 8px 32px rgba(30,103,196,0.40);
}
.btn-cta:hover { background: var(--accent-mid); transform: scale(1.02); }
.btn-cta-ghost {
  font-size: 0.9375rem; font-weight: 500; color: rgba(255,255,255,0.6);
  padding: 16px 36px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.15);
  transition: color 0.3s, border-color 0.3s;
}
.btn-cta-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.35); }

/* ══════════════════════════════════════════
   10. FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--text-1); padding: 80px 0 40px;
  border-top: none;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 64px;
}
.footer-brand .nav-brand-text { color: #fff; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.footer-brand-logo { height: 44px; width: auto; }
.footer-brand-desc { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.4); max-width: 240px; margin-top: 14px; }
.footer-col-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-label { font-weight: 600; color: rgba(255,255,255,0.7); }
.footer-mobile-contact { display: none; }
.footer-mobile-contact-item { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.footer-mobile-contact-item a { color: rgba(255,255,255,0.55); }
.footer-mobile-contact-item a:hover { color: var(--accent-light); }
.footer-links a {
  font-size: 0.875rem; color: rgba(255,255,255,0.45);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }

/* ══════════════════════════════════════════
   11. PAGE HERO (sub pages)
══════════════════════════════════════════ */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative; overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(74,144,217,0.15) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .section-label { margin-bottom: 16px; }
.page-hero .section-title { margin-bottom: 12px; }
.page-hero .section-sub { margin: 0 auto; }

/* ══════════════════════════════════════════
   12. HOT PRODUCTS
══════════════════════════════════════════ */
.hot-products-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.hot-products-carousel {
  position: relative;
  min-height: 100px;
}
.hot-products-carousel .hp-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 10;
}
.hot-products-carousel .hp-arrow-left { left: -44px; }
.hot-products-carousel .hp-arrow-right { right: -44px; }
.hot-products-track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-behavior: smooth;
  padding: 8px 4px 16px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.hot-products-track::-webkit-scrollbar { display: none; }
.hot-cat-card {
  flex-shrink: 0; width: 270px;
  background: var(--surface-2); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
  display: block;
}
.hot-cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hot-cat-img {
  aspect-ratio: 1; overflow: hidden;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.hot-cat-img img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  transition: transform var(--silk-dur) var(--silk);
}
.hot-cat-card:hover .hot-cat-img img { transform: scale(1.06); }
.hot-cat-info { padding: 16px 20px 20px; }
.hot-cat-name {
  font-size: 0.95rem; font-weight: 700; color: var(--text-1);
  margin-bottom: 4px; letter-spacing: -0.02em;
}
.hot-cat-sub {
  font-size: 0.78rem; color: var(--text-3); font-weight: 500;
}

/* Hot arrows */
.hot-arrow {
  position: absolute; top: calc(50% - 44px);
  transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-1); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
  box-shadow: var(--shadow-md);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.hot-arrow:hover {
  background: var(--accent); color: #fff;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 24px rgba(30,103,196,0.3);
}
.hot-arrow-left { left: -16px; }
.hot-arrow-right { right: -16px; }

/* ══════════════════════════════════════════
   13. LIGHTBOX
══════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; background: rgba(26,29,40,0.92);
  z-index: 2000; display: none; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev,
.lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
  font-size: 2rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.3s; z-index: 2100;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 0.9rem;
  background: rgba(0,0,0,0.4); padding: 6px 16px; border-radius: 20px;
  z-index: 2100;
}

/* ══════════════════════════════════════════
   14. BRAND BRIDGE
══════════════════════════════════════════ */
.bridge-grid {
  display: flex; align-items: center; justify-content: center; gap: 0;
  flex-wrap: nowrap;
}
.bridge-card {
  flex: 1; min-width: 0; max-width: 320px;
  background: var(--bg); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 36px 28px;
  text-align: center;
  transition: transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
  box-shadow: var(--shadow-sm);
}
.bridge-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bridge-icon-wrap {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-ghost);
  border: 2px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--silk);
}
.bridge-card:hover .bridge-icon-wrap { transform: scale(1.08); }
.bridge-icon-green {
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.2);
}
.bridge-icon {
  font-size: 1.6rem; color: var(--accent);
}
.bridge-icon-green .bridge-icon { color: #22C55E; }
.bridge-title {
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.03em;
  color: var(--text-1); margin-bottom: 4px;
}
.bridge-title span {
  font-size: 0.65em; font-weight: 500; color: var(--text-3);
  letter-spacing: 0.06em;
}
.bridge-sub {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.bridge-desc {
  font-size: 0.875rem; line-height: 1.7; color: var(--text-2);
}
.bridge-arrow {
  flex-shrink: 0; padding: 0 8px;
  color: var(--accent-border); opacity: 0.5;
  transition: opacity 0.4s, transform 0.4s;
}
.bridge-arrow svg { display: block; }

/* ══════════════════════════════════════════
   15. VIDEO SECTIONS
══════════════════════════════════════════ */
/* Note: .video-wrapper base styles are defined above (line ~948).
   Do NOT add max-width / border-radius / box-shadow here — they
   conflict with the custom play-button layout. */
.promo-video {
  display: block; width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  background: var(--surface-2); border-radius: 0;
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--silk-dur) var(--silk), box-shadow var(--silk-dur) var(--silk);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-video-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden; background: #000;
}
.testimonial-video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.testimonial-meta {
  padding: 14px 16px; text-align: center;
}
.testimonial-flag { font-size: 1.4rem; margin-bottom: 6px; }
.testimonial-name {
  font-size: 0.95rem; font-weight: 700; color: var(--text-1);
  margin-bottom: 2px;
}
.testimonial-product {
  font-size: 0.78rem; color: var(--text-3); font-weight: 500;
}

/* ══════════════════════════════════════════
   16. PUMP FEATURES
══════════════════════════════════════════ */
/* ── Mobile Category Dropdown (hidden on desktop, custom component) ── */
.mobile-cat-select { display: none; } /* legacy compatibility */
.mobile-cat-dropdown { display: none; position: relative; margin-bottom: 24px; }

/* Dropdown trigger button */
.mobile-cat-dropdown-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-1);
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  gap: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.mobile-cat-dropdown-btn:focus,
.mobile-cat-dropdown.open .mobile-cat-dropdown-btn {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ghost);
}
.mobile-cat-btn-label { flex: 1; text-align: left; }
.mobile-cat-btn-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: auto;
}
.mobile-cat-btn-arrow {
  font-size: 0.65rem;
  color: var(--accent);
  transition: transform 0.3s var(--silk);
  margin-left: 4px;
}
.mobile-cat-dropdown.open .mobile-cat-btn-arrow { transform: rotate(180deg); }

/* Dropdown menu */
.mobile-cat-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 100;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s var(--silk), transform 0.25s var(--silk);
}
.mobile-cat-dropdown.open .mobile-cat-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Dropdown items */
.mobile-cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, padding-left 0.25s var(--silk);
  border-left: 3px solid transparent;
}
.mobile-cat-item:hover {
  background: var(--accent-ghost);
  color: var(--text-1);
  padding-left: 20px;
}
.mobile-cat-item.active {
  background: var(--accent-ghost);
  color: var(--accent);
  font-weight: 600;
}
.mobile-cat-item-bar {
  width: 3px;
  height: 18px;
  border-radius: 2px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.mobile-cat-item.active .mobile-cat-item-bar { opacity: 1; }
.mobile-cat-item-label { flex: 1; }
.mobile-cat-item-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
}
.mobile-cat-item.active .mobile-cat-item-count {
  color: var(--accent);
}

/* ══════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */

/* ── 1024px ── */
@media (max-width: 1024px) {
  .products-layout {
    grid-template-columns: 1fr;
  }
  .products-sidebar {
    display: none;
  }
  .mobile-cat-dropdown {
    display: block;
  }
  .products-main .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-row { grid-template-columns: 1fr; gap: 32px; }
  .about-row.reverse { direction: ltr; }
  .about-img { max-width: 500px; margin: 0 auto; }
  #pump-tech .about-img { aspect-ratio: 16/9; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  /* Category cards mobile: 1 column stack */
  .category-cards-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
    width: 100%;
  }
  .category-card-new {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 2.2 / 1;
    min-height: 0;
  }
  .category-card {
    aspect-ratio: 1 / 1;
  }
  .category-card[data-cat="irrigator"],
  .category-card[data-cat="facial-cleanser"],
  .category-card[data-cat="oxygen-injector"],
  .category-card[data-cat="nasal-strips"],
  .category-card[data-cat="mens-trimmer"],
  .category-card[data-cat="foot-file"],
  .category-card[data-cat="shaker-bottle"],
  .category-card[data-cat="body-fat-scale"],
  .category-card[data-cat="nail-file"],
  .category-card[data-cat="ultrasonic-cleaner"],
  .category-card-explore {
    grid-column: auto;
    grid-row: auto;
  }
  /* Mobile: no hover, keep image faint, text visible */
  .category-card-bg img {
    opacity: 0.18;
    transform: scale(1.0);
    transition: none;
  }
  .category-card:hover .category-card-bg img {
    opacity: 0.18;
    transform: scale(1.0);
  }
  .category-card:hover .category-card-name,
  .category-card:hover .category-card-name-zh,
  .category-card:hover .category-card-count {
    opacity: 1;
  }
  .category-card:hover::before {
    opacity: 0;
  }
  .cat-quick-link { padding: 12px 20px; gap: 10px; }
  .cat-quick-icon { width: 32px; height: 32px; }
  .cat-quick-name { font-size: 0.82rem; }
  .category-quick-nav { padding: 4px 0 0; }
  .stats-grid, .stats-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-card:nth-child(3) { border-bottom: none; }
  .certs-grid { grid-template-columns: 1fr; max-width: 260px; }
  /* Hot Products Carousel: 3 visible on tablet */
  .hot-product-card {
    width: calc((100% - 48px) / 3);
  }
  .hp-arrow { width: 38px; height: 38px; font-size: 1.35rem; }
  /* Hot Sale Ribbon — tablet medium size */
  .hot-badge {
    width: 100px;
    font-size: 0.68rem;
    top: 14px;
    right: -24px;
  }
  .cert-card { aspect-ratio: auto; }
  .cert-card img { padding: 12px; max-height: 140px; }
  .cert-name { font-size: 0.7rem; padding: 6px 8px 2px; }
  .cert-desc { font-size: 0.64rem; padding: 0 8px 8px; }
  .advantage-grid { grid-template-columns: 1fr 1fr; }
  .about-data-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-logo { height: 72px; }
  .page-hero { padding: 140px 0 60px; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .cta-inner { padding: 40px 24px; }
  /* Task 86: hot product image area - slightly larger on tablet */
  .hot-product-img-wrap { padding: 20px; }
  .hot-product-img-wrap img { max-height: 220px; }
  /* Task 87: allow 2-line product names on tablet */
  .hot-product-name { font-size: 0.88rem; line-height: 1.35; min-height: 2.6em; }
  /* Category cards: 1024px — 2 columns */
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    width: 90%;
    gap: 12px;
  }
  .category-card-new {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 2.8 / 1;
  }
  .category-card {
    aspect-ratio: 1 / 1;
  }
  .category-card[data-cat="irrigator"],
  .category-card[data-cat="facial-cleanser"],
  .category-card[data-cat="oxygen-injector"],
  .category-card-explore {
    grid-column: auto;
    grid-row: auto;
  }
  .category-quick-nav { padding: 0; }
  .cat-quick-link { padding: 14px 16px; gap: 10px; }
  .cat-quick-icon { width: 38px; height: 38px; }
  .cat-quick-name { font-size: 0.82rem; }
  .category-hero-banner { aspect-ratio: 16/9; }
  .first-screen-header { padding: 12px 0 16px; }
  .first-screen-header .section-title { font-size: clamp(1.1rem, 3vw, 1.4rem); }
  /* Listing view — 1024px */
  .layout-with-sidebar { flex-direction: column; }
  .listing-sidebar { flex: none; width: 100%; position: static; max-height: none; }
  .sidebar-cat-list { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .sidebar-cat-item { font-size: 0.82rem; padding: 8px 12px; }
  .listing-products-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .listing-search-section { padding: 20px 0 28px; }
  .search-bar-inner { padding-left: 0; }
  .search-bar-left { max-width: 100%; }
  .btn-search-inside svg { width: 16px; height: 16px; }
  .listing-bottom-left { margin-top: 12px; }
}

/* Hide swipe hint on desktop (shown only on mobile inside the 768px media query) */
.swipe-hint { display: none; }

/* ── 768px ── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: clamp(1rem, 2.5vw, 1.6rem); }
  /* Hot products wrapper: prevents horizontal overflow leak */
  .hot-products-wrap {
    position: relative;
    overflow-x: hidden;
  }
  /* Hot Products Carousel: 2 visible on small tablet */
  .hot-product-card {
    width: calc((100% - 24px) / 2);
  }
  .hp-arrow { width: 36px; height: 36px; font-size: 1.3rem; }
  /* Highlights row: narrower gap on tablet */
  .highlights-row { gap: 20px; }
  .highlights-left { flex: 0 0 55%; min-height: 0; }
  /* Bridge cards wrap */
  .bridge-grid { flex-wrap: wrap; gap: 12px; }
  .bridge-card { min-width: 0; flex: 1 1 45%; }
  .bridge-arrow { display: none; }
  /* Testimonials 2 columns */
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  /* Stats: 3 columns (already set in 1024, reinforce) */
  .stats-grid, .stats-grid-6 { grid-template-columns: repeat(3, 1fr); }
  /* Certs: still 1 column but a bit larger */
  .certs-grid { max-width: 300px; }
  .cert-card img { max-height: 160px; padding: 14px; }
  /* Hot product card adjustments */
  .hot-product-info { padding: 12px 14px 16px; }
  .hot-product-name { font-size: 0.85rem; }
  /* Feature card */
  .feature-card { padding: 24px 20px; }
  /* Advantage grid */
  .advantage-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* About data */
  .about-data-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* Nav: show hamburger */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  /* Mobile logo smaller */
  .nav-logo-img { height: 48px; }
  .nav.scrolled .nav-logo-img { height: 36px; }
  /* 768px: nav height = 48px logo + 20px padding = 68px, fix first-screen offset */
  .first-screen { padding-top: 80px; }
  .listing-first-screen { padding-top: 80px; }
  /* Hero adjustments */
  .hero-title { font-size: clamp(2rem, 5vw, 3rem); }
  .hero-inner { padding: 0 20px; }
  /* CTA */
  .cta-inner { padding: 56px 36px; }
  .cta-content h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }

  /* ── Product Detail: stack to single column on mobile ── */
  .product-detail-header {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .product-detail-header .detail-left-col {
    flex: none !important;
    max-width: 100% !important;
  }
  /* Mobile order: image → thumbs → name → price → desc → specs → btn */
  .detail-left-col {
    order: 1;
  }
  .detail-right-info {
    order: 2;
    display: flex;
    flex-direction: column;
  }
  #detail-product-name { order: 1; }
  #detail-pricing-section-mobile { order: 2; display: block !important; }
  #detail-description-section { order: 3; }
  #detail-specs { order: 4; }
  #detail-inquiry-btn { order: 5; }
  /* Hide desktop pricing on mobile, show mobile pricing */
  #detail-pricing-section { display: none !important; }
  /* Detail image: full width */
  #detail-main-image {
    border-width: 8px !important;
    padding: 8px !important;
    height: 320px !important;
  }
  .img-track .img-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  /* Right info: restore text sizes */
  #detail-product-name { font-size: 1.5rem !important; }
  /* Color variant thumbnails: smaller on mobile */
  #detail-color-variants { gap: 6px !important; }
  .variant-thumb { width: 44px; height: 44px; }
  /* Specs table: smaller font */
  .detail-specs table { font-size: 0.82rem; }
  /* Detail images section: tighter gap */
  #detail-images { gap: 4px !important; }

  /* ── Mobile category cards: 2-column complex layout ── */
  /*
    Row 1-2:  [ New Products (tall 1:2) | Water Flosser      ]
                                           Electric Toothbrush ]
    Row 3:    [ Countertop Flosser        | Dental Scaler      ]
    Row 4:    [ Ear Washer                | Manual Toothbrush  ]
  */
  .category-cards-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(6, auto);
    gap: 10px;
    width: 100%;
  }
  .category-card-new {
    grid-column: 1;
    grid-row: 1 / 3;
    aspect-ratio: 1 / 2;
    min-height: 0;
  }
  .category-card-new .category-card-bg img {
    object-fit: contain;
    object-position: center center;
    background: #fff;
  }
  .category-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .category-card:nth-child(3) { grid-column: 2; grid-row: 2; }
  .category-card {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
  .category-card-bg img {
    opacity: 0.15;
    transform: scale(1.0);
    transition: none;
  }
  .category-card-new .category-card-bg img {
    object-fit: contain;
    object-position: center center;
    background: #fff;
  }
  .category-card-content {
    padding: 16px;
  }
  .category-card-name {
    font-size: 0.85rem;
  }
  .category-card-count {
    font-size: 0.7rem;
  }
  /* Mobile: override row 3 positioning for auto-flow in 2-col grid */
  .category-card[data-cat="facial-cleanser"],
  .category-card[data-cat="oxygen-injector"] {
    grid-column: auto;
    grid-row: auto;
  }
  .category-card-explore {
    /* Mobile: single cell, 1:1 ratio like other cards */
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
  .category-card-explore .category-card-content {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }
  .category-card-explore:hover {
    border-color: var(--accent);
    border-style: solid;
  }

  /* ── About rows: stack vertically on mobile ── */
  #company-intro .about-row,
  #who-we-are .about-row,
  #pump-tech .about-row {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  #company-intro .about-row {
    gap: 20px !important;
  }
  #company-intro .about-img {
    aspect-ratio: 16/9 !important;
  }

  /* ── Video section mobile: 3 rows ── */
  #videoGrid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  #videoGrid #leftVideoCol {
    height: auto !important;
    aspect-ratio: 16/9 !important;
    grid-row: 1;
  }
  #videoGrid .right-video-panel {
    grid-row: 2 / 4;
  }
  #videoGrid .right-video-panel .about-video-scroll {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  #videoGrid .right-video-panel .scroll-hint-top,
  #videoGrid .right-video-panel .scroll-hint-bottom {
    display: none !important;
  }
  /* Video lightbox: use more screen width on mobile */
  .video-modal-box { max-width: 95vw; }
  .video-modal-player video { max-width: 95vw; max-height: 60vh; }

  /* ── Product highlights mobile: stack ── */
  #product-highlights .highlights-row {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* ── Pump tech mobile: title → image → desc_1 → desc_2 + advantages ── */
  #pump-tech .about-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  #pumpRow #pumpTitle,
  #pumpRow .about-content-top,
  #pumpRow #pumpImg,
  #pumpRow .about-content-bottom { width: 100% !important; grid-column: 1 !important; }
  #pumpRow #pumpTitle { grid-row: 1; }
  #pumpRow .about-content-top { grid-row: 2; }
  #pumpRow #pumpImg { grid-row: 3; }
  #pumpRow #pumpImg img { width: 100%; display: block; }
  #pumpRow .about-content-bottom { grid-row: 4; }

  /* ── About-preview stats mobile: compact ── */
  .about-preview-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .about-preview-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-preview-stat-body {
    width: auto;
    text-align: center;
  }
  .about-preview-stat-icon .stat-icon-img {
    width: 40px;
    height: 40px;
  }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .section-header { margin-bottom: 28px; }

  /* ── Products first screen: stack naturally, no fullscreen ── */
  .first-screen {
    height: auto;
    padding-top: 76px;
    min-height: 0;
  }
  .first-screen .hero {
    min-height: auto !important;
    flex: none !important;
    aspect-ratio: 9 / 16;
  }
  .first-screen-spacer { display: none; }
  .first-screen-bottom { padding-top: 0; }
  .category-hero-banner { aspect-ratio: 3/2; max-height: 30vh; flex: none; }
  .category-quick-nav { padding: 0; }

  .category-quick-nav-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
  }
  .cat-quick-link {
    padding: 6px 4px;
    gap: 4px;
    border-right: 1px solid var(--border);
    flex: 1;
    min-width: 0;
  }
  .cat-quick-link:last-child { border-right: none; }
  .cat-quick-icon { width: 20px; height: 20px; }
  .cat-quick-name {
    font-size: 0.58rem;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 100%;
    line-height: 1.2;
    text-align: center;
  }
  .first-screen-header { padding: 4px 0 6px; }
  .first-screen-header .section-title { font-size: clamp(0.82rem, 3.2vw, 0.95rem); margin-bottom: 0; }
  /* 480px: category cards stay square (except New Products 1:2 and Explore More) */
  .category-card:not(.category-card-new):not(.category-card-explore) { aspect-ratio: 1 / 1; min-height: 0; }
  .category-card-new { aspect-ratio: 1 / 2; }
  .category-card-explore { aspect-ratio: 1 / 1; min-height: 0; }
  /* 480px: product detail */
  #detail-main-image { height: 260px !important; border-width: 4px !important; padding: 4px !important; }
  .variant-thumb { width: 36px; height: 36px; }
  /* 480px: listing view stack */
  .listing-first-screen { padding-top: 76px; }
  .listing-search-section { padding: 6px 0 2px; }
  .search-bar-left input { font-size: 0.85rem; padding: 8px 36px 8px 10px; }
  .listing-section { padding: 0 0 30px; }
  .listing-section .container { padding: 0 6px; }
  .sidebar-cat-item { padding: 4px 0; font-size: 0.78rem; }
  .listing-products-grid { gap: 4px; }
  .listing-products-grid .product-name { font-size: 0.7rem; min-height: 2.2em; text-align: center; }

  /* Stats: 2 columns */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid-6 { grid-template-columns: 1fr 1fr; }
  .stat-card:nth-last-child(-n+2) { border-bottom: none; }
  .stat-value { font-size: clamp(1rem, 4vw, 1.4rem); }
  .stat-label { font-size: 0.68rem; }
  /* Culture tagline - keep on one row */
  .page-hero .section-title { font-size: clamp(1rem, 4.2vw, 1.4rem); white-space: nowrap; }
  /* About data */
  .about-data-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .about-data-card { padding: 16px 12px; }
  .about-data-val { font-size: 1.3rem; }
  /* Certs on About page - 3 per row, tight fit */
  .certs-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: none; }
  .cert-card { aspect-ratio: auto; background: transparent; border: 1px solid var(--border); border-radius: 8px; }
  .cert-card img { padding: 4px; max-height: 90px; background: transparent; }
  .cert-name { font-size: 0.55rem; padding: 2px 4px 0; background: transparent; }
  .cert-desc { font-size: 0.5rem; padding: 0 4px 4px; background: transparent; }
  /* Advantage: Task 95 - horizontal list, icon left + text right */
  .advantage-grid { grid-template-columns: 1fr; gap: 10px; max-width: 420px; margin: 0 auto; }
  .advantage-card {
    padding: 16px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: left;
  }
  .advantage-icon { font-size: 1.4rem; margin-bottom: 0; flex-shrink: 0; width: 32px; text-align: center; }
  .advantage-title { font-size: 0.82rem; margin-bottom: 2px; }
  .advantage-sub { font-size: 0.7rem; }
  /* Hero — match desktop style on mobile */
  .hero { padding: 60px 0 40px; min-height: auto; }
  .hero-logo { height: 56px; }
  .hero-badge { display: none; }
  .hero-actions { position: static; transform: none; flex-direction: column; align-items: center; margin-top: 24px; }
  .hero-actions .btn-primary-lg,
  .hero-actions .btn-outline-lg { width: 100%; justify-content: center; font-size: 0.875rem; padding: 12px 24px; white-space: nowrap; box-sizing: border-box; }
  /* Page hero */
  .page-hero { padding: 120px 0 48px; }
  /* Hot Products Carousel: 1 visible on mobile, swipe */
  .hot-products-carousel {
    position: relative;
  }
  .hot-products-grid {
    gap: 14px;
    padding: 8px 0 16px;
  }
  .hot-product-card {
    width: 75%; /* show mostly 1 card, hint of next */
    scroll-snap-align: start;
  }
  .hp-arrow { display: none; } /* hide arrows on mobile, use swipe */
  /* Mobile product images stay square */
  .hot-product-img-wrap { aspect-ratio: 1 / 1; }
  /* Hot Sale Ribbon — smaller on mobile */
  .hot-badge {
    width: 86px;
    font-size: 0.62rem;
    top: 12px;
    right: -20px;
    padding: 3px 0;
  }
  .hp-progress-bar-wrap {
    margin-top: 16px;
  }
  /* Highlights: stack vertically on mobile */
  .highlights-row {
    flex-direction: column;
    gap: 16px;
  }
  .highlights-left {
    flex: none;
    aspect-ratio: 16/9;
  }
  .features-list {
    width: 100%;
  }
  .feature-item {
    padding: 6px 0;
    gap: 10px;
  }
  .feature-item-title {
    font-size: 0.85rem;
  }
  .feature-item-desc {
    font-size: 0.7rem;
  }
  /* Bridge: Task 92 - vertical chain with ↓ arrows */
  .bridge-grid-compact { flex-direction: column !important; align-items: center !important; gap: 4px !important; }
  .bridge-card-compact { max-width: 100% !important; width: 100% !important; min-width: unset !important; }
  .bridge-card-compact h4 { font-size: 0.9rem; }
  .bridge-card-compact p { font-size: 0.72rem; }
  /* Rotate horizontal → arrows to vertical ↓ */
  .bridge-grid-compact > div:nth-child(even) {
    transform: rotate(90deg);
    margin: 2px 0;
    color: var(--accent);
  }
  /* Testimonials: 1 column */
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-video-wrap { aspect-ratio: 16 / 10; }
  /* CTA */
  .cta-inner { padding: 40px 20px; }
  .cta-content h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn-cta,
  .cta-actions .btn-cta-ghost { width: 100%; justify-content: center; max-width: 280px; }
  /* Footer: stack all columns, show all links */
  .footer { padding: 32px 0 20px; }
  .footer-grid { gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-grid > div:first-child .nav-brand-text { display: none; }
  .footer-brand-desc { max-width: 100%; }
  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Product grid on products.html - 2 columns */
  .products-main .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-info { padding: 16px 18px 20px; }
  .product-name { font-size: 1rem; }
  /* Mobile menu tweaks */
  .mobile-menu { padding: 100px 20px 80px; }
  .mobile-menu a { font-size: 1rem; padding: 12px 0; }
  /* About row */
  .about-row { gap: 24px; }
  .about-content h3 { font-size: clamp(1.2rem, 4vw, 1.6rem); }
  .about-content p { font-size: 0.9rem; }
  /* Timeline */
  .timeline::before { left: 8px; }
  .timeline-dot { left: 8px; }
  .timeline-item { flex-direction: row !important; padding-left: 30px; }
  .timeline-content { width: 100%; }
  .timeline-item:nth-child(even) { flex-direction: row; }
  /* Listing view — 768px */
  .listing-first-screen {
    height: auto;
    display: block;
    padding-top: 68px;
  }
  .listing-search-section {
    margin-top: 0;
    padding: 8px 0 4px;
    position: static;
  }
  .listing-section {
    padding: 0 0 60px;
  }
  .listing-section .container { padding: 0 8px; }
  .listing-layout {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: 100%;
  }
  .listing-main { width: 100%; }
  .listing-sidebar {
    display: block !important;
    position: static;
    width: 100%;
    flex: none;
    max-height: none;
    padding: 4px 0 12px;
    background: transparent;
  }
  .sidebar-section-label { display: none; }
  .sidebar-cat-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    max-height: 196px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) #eef2f7;
    padding-right: 6px;
  }
  .sidebar-cat-list::-webkit-scrollbar {
    width: 4px;
  }
  .sidebar-cat-list::-webkit-scrollbar-track {
    background: #eef2f7;
    border-radius: 2px;
  }
  .sidebar-cat-list::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
  }
  .sidebar-cat-item {
    display: block;
    padding: 5px 0;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-2);
    text-decoration: none;
    background: transparent;
    border-radius: 0;
    border: none;
    white-space: normal;
    flex-shrink: 0;
  }
  .sidebar-cat-item:last-child { border: none; }
  .sidebar-cat-item.active {
    color: var(--accent) !important;
    font-weight: 600;
    background: transparent !important;
    border: none;
  }
  .sidebar-cat-item:hover { background: transparent; color: var(--text-1); }
  .mobile-cat-select { display: none; }
  .listing-products-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 0; justify-items: stretch; }
  .listing-products-grid .product-card { width: 100%; max-width: 100%; min-width: 0; }
  .listing-products-grid .product-img-wrap { aspect-ratio: 1 / 1; width: 100%; }
  .listing-products-grid .product-img-wrap img { border: none; }
  .listing-products-grid .product-info { padding: 12px 8px 14px; text-align: center; }
  .listing-products-grid .product-name { font-size: 0.82rem; text-align: center; }
  .search-bar-inner { flex-direction: column; padding-left: 0; }
  .search-bar-left { max-width: 100%; }
  .btn-search-inside svg { width: 14px; height: 14px; }
  .listing-product-count { text-align: right; }
  .listing-bottom-left { margin-top: 12px; padding-top: 8px; }
  .listing-pagination { margin-top: 28px; gap: 4px; }
  .page-btn { min-width: 32px; height: 32px; font-size: 0.78rem; }

  /* ── Mobile: info-banner keep 3 columns, smaller font ── */
  .info-banner-grid { grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
  .info-banner { padding: 10px 0; }
  .info-banner-icon { width: 28px; height: 28px; }
  .info-banner-icon svg { width: 18px; height: 18px; }
  .info-banner-icon img { width: 18px; height: 18px; display: block; object-fit: contain; }
  .info-banner-item:nth-child(3) .info-banner-icon { width: 24px; height: 24px; }
  .info-banner-item:nth-child(3) .info-banner-icon img { width: 16px; height: 16px; }
  .info-banner-title { font-size: 0.75rem; }
  .info-banner-desc { font-size: 0.6rem; }
  .info-banner-item { gap: 4px; }

  /* Mobile: hero carousel height */
  .homepage .hero-banner-simple { margin-top: 76px; height: auto; }
  .hero-carousel-wrap { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .top-bar { display: none; }
  body { padding-top: 0; }
  .nav { top: 0; }
  .homepage .nav { top: 0; }
  .nav-inner { padding: 0 20px; }
  .nav { min-height: 60px; }
  .nav.scrolled { min-height: 52px; }

  /* ── Mobile: About Preview ── */
  .about-preview-left { padding-left: 0; }
  /* Mobile: directly show about content */
  .about-preview-left > :not(.about-preview-btn) {
    opacity: 1 !important; transform: translateY(0) !important; transition: none !important;
  }
  .about-preview-right { padding-right: 0; gap: 12px; }
  .about-preview-title { font-size: 1.2rem; }
  .about-preview-text { font-size: 0.82rem; }
  .about-preview-wrap { padding: 16px 0 24px; }
  .info-banner { padding: 10px 0 4px; }

  /* Stats: 2x2 grid, hide 5th stat */
  .about-preview-right { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-right: 0; }
  .about-preview-stat { flex-direction: row; align-items: center; gap: 10px; text-align: left; }
  .about-preview-stat-icon { width: 52px; height: 52px; flex-shrink: 0; }
  .about-preview-stat-icon svg { width: 38px; height: 38px; }
  .about-preview-stat-icon .stat-icon-img { width: 38px; height: 38px; }
  .about-preview-stat-val { font-size: 1.3rem; }
  .about-preview-stat-label { font-size: 0.7rem; }
  .about-preview-stat-body { width: auto; text-align: left; }
  .about-preview-stat::after { display: none; }
  .about-preview-stat { padding-bottom: 0; }
  .about-preview-stat:nth-child(5) { display: none; }
  .about-preview-pyramid { max-width: 100%; }

  /* ── Mobile: Video area ── */
  #company-intro .about-row.about-row-video {
    flex-direction: column;
    gap: 16px;
  }
  #company-intro .about-img {
    height: auto;
    aspect-ratio: 16/9;
    width: 100%;
  }
  .about-content-video-panel { width: 100%; }
  .about-video-scroll {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    gap: 10px;
  }
  /* All videos 50% width, 2 per row */
  .about-sub-video {
    width: calc(50% - 5px);
    height: auto;
    aspect-ratio: 16/9;
  }

  /* ── Mobile: Pump Technology stacked ── */
  #pump-tech .about-img { aspect-ratio: 16/9; max-width: 100%; }
  .pump-advantages { margin-top: 12px; }
  /* Fix: Chinese pump image fill & advantages left-aligned */
  .pump-img-zh img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .pump-advantages { text-align: left; align-self: flex-start; }
  .pump-features { text-align: left; }
  /* Hide subtitle on mobile, reduce top spacing */
  #pump-tech .section-title span:last-child { display: none; }
  #product-highlights.section,
  #pump-tech.section { padding: 32px 0; }
}

/* ── Mobile homepage: fixed first screen height, carousel fills remaining space, blue 3-column fixed at bottom ── */
@media (max-width: 480px) {
  .homepage .first-screen {
    height: calc(100vh - 28px);
    padding-top: 76px;
  }
  .homepage .first-screen .hero {
    flex: 1 !important;
    min-height: 0 !important;
  }
}

/* Ensure overlay text appears above image */
.hot-product-card .hot-product-overlay { z-index: 3; }

/* ── PUMP TECH IMAGE (bilingual switch) ── */
.pump-img { display: contents; }
.pump-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
html.lang-zh .pump-img-en { display: none !important; }
.pump-img-zh { display: none; }
html.lang-zh .pump-img-zh { display: block !important; }
html.lang-zh .pump-img-zh img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Ensure pump image fills container on mobile */
#pump-tech .about-img { background: #e8eef5; }

/* ══════════════════════════════════════════════
   Image Gallery (per-section multi-image carousel)
   - single frame, one image at a time
   - hover -> zoom current image in place
   - bottom-right dots (one per image), autoplay, click to switch
   - 1 image degrades to plain single image (no dots / no autoplay)
   ══════════════════════════════════════════════ */
.img-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef2f7;
}
.img-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity .6s ease, transform 1.2s cubic-bezier(.25, .46, .45, .94);
}
.img-gallery img.active { opacity: 1; }
.img-gallery:hover img.active { transform: scale(1.25); }
.img-gallery .gallery-dots {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.img-gallery .gallery-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
  cursor: pointer;
  transition: all .3s ease;
}
.img-gallery .gallery-dots .dot.active {
  background: #fff;
  transform: scale(1.35);
}

/* ── Compact gallery: 78% width 4:3, left-aligned with detail-body padding + slower cross-fade ── */
.img-gallery--compact {
  width: 78%;
  margin: 0 0 0 22px;
}
.img-gallery--compact img {
  transition: opacity 2s ease, transform 1.2s cubic-bezier(.25, .46, .45, .94);
}

/* Mobile: full-width, natural aspect ratio, no crop */
@media (max-width: 767px) {
  .img-gallery--compact {
    width: 100%;
    margin: 0;
    aspect-ratio: auto;
  }
  .img-gallery--compact img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: none;
  }
  .img-gallery--compact img.active {
    display: block;
    opacity: 1;
  }
}

/* HONICE wordmark (text logo, replaces icon) */
.brand-wordmark{font-size:1.8rem;font-weight:700;letter-spacing:0.04em;color:var(--text-1);font-family:'DM Sans',sans-serif;line-height:1}
.footer-brand .brand-wordmark{color:#fff}
.nav.scrolled .brand-wordmark{font-size:1.55rem}

/* ============================================================
   AMAZON-STYLE PRODUCT DETAIL (detail_template = 'amazon')
   Title + price + 5 bullets + image gallery
   ============================================================ */
#amazon-detail { display:none; }
.amz-grid {
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap:48px;
  align-items:start;
  margin-top:8px;
}
.amz-left {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: flex-start;
  position: sticky;
  top: 120px;
}
.amz-main-image {
  order: 2;
  flex: 1;
  min-width: 0;
  aspect-ratio:1/1;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  cursor:zoom-in;
}
.amz-main-image img { width:100%; height:100%; object-fit:contain; display:block; }
.amz-main-image.amz-img-empty {
  background:#F5F7FA;
  cursor:default;
}
.amz-main-image.amz-img-empty::after {
  content:'Image coming soon';
  color:var(--text-3);
  font-size:0.9rem;
}
.amz-thumbs {
  order: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 0;
  overflow-y: auto;
  max-height: 580px;
}
.amz-thumb {
  width:48px; height:48px;
  border:1px solid var(--border);
  border-radius:6px;
  overflow:hidden;
  cursor:pointer;
  padding:3px;
  background:#fff;
  transition:border-color .15s;
}
.amz-thumb.active { border-color:var(--accent); }
.amz-thumb img { width:100%; height:100%; object-fit:contain; display:block; }

.amz-right { padding-top:4px; }
.amz-title {
  font-size:1.6rem;
  font-weight:600;
  line-height:1.35;
  letter-spacing:-0.01em;
  color:var(--text-1);
  margin:0 0 18px;
}
.amz-price {
  display:flex;
  align-items:baseline;
  gap:4px;
  margin-bottom:22px;
  color:#B12704; /* Amazon-style price red */
}
.amz-price-sym { font-size:1.1rem; font-weight:600; }
.amz-price-num { font-size:2rem; font-weight:700; font-family:Consolas,'Courier New',monospace; }
.amz-price-from { font-size:0.85rem; color:var(--text-3); margin-left:6px; align-self:center; }
.amz-bullets {
  list-style:none;
  margin:0 0 28px;
  padding:0;
}
.amz-bullets li {
  position:relative;
  padding-left:22px;
  margin-bottom:12px;
  font-size:0.92rem;
  line-height:1.6;
  color:var(--text-2);
}
.amz-bullets li::before {
  content:'•';
  position:absolute;
  left:6px;
  top:0;
  color:var(--accent);
  font-weight:700;
}

@media (max-width: 767px) {
  .amz-grid { grid-template-columns:1fr; gap:28px; }
  .amz-left { position:static; flex-direction:column; }
  .amz-main-image { order:1; }
  .amz-thumbs { order:2; flex-direction:row; flex-wrap:wrap; max-height:none; overflow-y:visible; margin-top:14px; }
  .amz-title { font-size:1.35rem; }
}
