/* ==========================================================================
   SQK DENIM (三千客) — Global B2B Custom Denim & Wholesale Digital Showroom
   Industrial Luxury Denim Design System + Mobile-First + Full Arabic RTL
   ========================================================================== */

:root {
  --indigo-950: #070E1A;
  --indigo-900: #0B1628;
  --indigo-800: #142541;
  --indigo-700: #1E355B;
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --canvas-50: #F8F7F4;
  --canvas-100: #EFECE6;
  --white: #FFFFFF;

  --copper-600: #A86E34;
  --copper-500: #C88A4B;
  --copper-400: #E0A468;
  --copper-100: #FDF3E7;

  --wa-600: #1DA851;
  --wa-500: #25D366;
  --wa-100: #DCFCE7;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(11, 22, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 22, 40, 0.09);
  --shadow-lg: 0 20px 48px rgba(7, 14, 26, 0.18);
  --shadow-copper: 0 8px 24px rgba(200, 138, 75, 0.25);
  --shadow-wa: 0 8px 24px rgba(37, 211, 102, 0.32);

  --container-max: 1320px;
  --transition: 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Tahoma", sans-serif;
  background-color: var(--canvas-50);
  color: var(--slate-900);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: clip;
  overflow-wrap: break-word;
  padding-bottom: 74px; /* Reserve space for mobile sticky bar */
}

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

html[dir="rtl"] body {
  font-family: "Segoe UI", "Tahoma", "Geeza Pro", "Arial", "PingFang SC", sans-serif;
}

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

button, input, select, textarea {
  font: inherit;
}

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

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

/* Subtle diagonal denim twill weave pattern for dark sections */
.denim-weave {
  background-color: var(--indigo-900);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.018) 0px,
    rgba(255, 255, 255, 0.018) 2px,
    transparent 2px,
    transparent 6px
  );
}

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

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

/* Directional Arrows for RTL Mirroring */
html[dir="rtl"] .dir-arrow {
  display: inline-block;
  transform: scaleX(-1);
}

/* ==========================================================================
   1. Sticky 2-Tier Global Utility + Navigation Header (Zero Collision)
   ========================================================================== */
section[id] {
  scroll-margin-top: 98px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(11, 22, 40, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
}

.top-bar {
  background: var(--indigo-950);
  color: #E2E8F0;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(200, 138, 75, 0.26);
  padding-block: 5px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  direction: ltr !important;
}

.top-bar-slogan {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.2px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[dir="rtl"] .top-bar-slogan {
  direction: rtl;
  text-align: left;
}

@media (min-width: 768px) {
  .top-bar-slogan {
    display: flex;
    flex: 1 1 auto;
  }
}

.copper-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper-500);
  box-shadow: 0 0 8px var(--copper-400);
  flex-shrink: 0;
}

.top-bar-right-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
  direction: ltr !important;
  width: 100%;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .top-bar-right-tools {
    width: auto;
    justify-content: flex-end;
  }
}

.top-admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(200, 138, 75, 0.16);
  border: 1px solid rgba(200, 138, 75, 0.45);
  color: var(--copper-400);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
}

.top-admin-pill:hover {
  background: var(--copper-500);
  color: var(--indigo-950);
}

/* Language Switcher Bar (Always pinned top-right in LTR order so clicking languages never jumps) */
.lang-switcher {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
  direction: ltr !important;
}

.lang-btn {
  color: #CBD5E1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 5px;
  transition: all var(--transition);
  white-space: nowrap;
  flex: 1 1 auto;
  text-align: center;
  min-height: 26px;
}

@media (min-width: 768px) {
  .lang-btn {
    flex: 0 0 auto;
    padding: 3px 8px;
    min-height: 24px;
  }
}

.lang-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.lang-btn.active {
  background: var(--copper-500);
  color: var(--indigo-950);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  gap: 10px;
  flex-wrap: nowrap;
}

@media (min-width: 768px) {
  .header-inner {
    min-height: 62px;
    gap: 10px;
  }
}

@media (min-width: 1180px) {
  .site-header .container {
    max-width: 1400px;
    padding-inline: 22px;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  min-width: 0;
}

.logo-rivet {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--copper-400), var(--copper-600));
  color: var(--indigo-950);
  font-weight: 900;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.45), 0 4px 12px rgba(200,138,75,0.3);
  overflow: hidden;
}

.logo-rivet.has-svg-logo {
  background: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  border-radius: 8px;
}

.logo-badge-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .logo-rivet {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-name {
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  line-height: 1.1;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .logo-name {
    font-size: 1.1rem;
  }
}

.logo-sub {
  color: var(--copper-400);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 145px;
}

@media (min-width: 768px) {
  .logo-sub {
    font-size: 0.64rem;
    max-width: 160px;
  }
}

@media (min-width: 1360px) {
  .logo-sub {
    font-size: 0.65rem;
    max-width: 185px;
  }
}

.main-nav {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 2px;
  column-gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding-inline: 2px;
}

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

.nav-link {
  color: #E2E8F0;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 5px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 1420px) {
  .main-nav {
    column-gap: 3px;
  }
  .nav-link {
    font-size: 0.79rem;
    padding: 6px 7px;
  }
}

.nav-link:hover, .nav-link.active {
  color: var(--copper-400);
  background: rgba(255, 255, 255, 0.06);
}

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

.quote-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(200, 138, 75, 0.45);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 36px;
}

@media (min-width: 768px) {
  .quote-cart-btn {
    font-size: 0.8rem;
    padding: 7px 11px;
  }
}

.quote-cart-btn:hover {
  background: rgba(200, 138, 75, 0.18);
}

.quote-badge {
  background: var(--copper-500);
  color: var(--indigo-950);
  font-size: 0.7rem;
  font-weight: 900;
  min-width: 19px;
  height: 19px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 5px;
}

.header-wa-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--wa-500);
  color: #052E16;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-wa);
  transition: transform var(--transition), background var(--transition);
  white-space: nowrap;
}

.header-wa-btn:hover {
  background: #33DF72;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .header-wa-btn {
    display: inline-flex;
  }
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.15rem;
  flex-shrink: 0;
}

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

.mobile-nav-drawer {
  display: none;
  background: var(--indigo-950);
  border-bottom: 2px solid var(--copper-500);
  padding: 14px 20px 20px;
}

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

.mobile-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-nav-links a {
  background: rgba(255, 255, 255, 0.05);
  color: #F1F5F9;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   2. Hero Video Showcase Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: var(--indigo-950);
  color: var(--white);
  overflow: hidden;
  padding-block: 56px 68px;
}

@media (min-width: 992px) {
  .hero-section {
    min-height: 740px;
    padding-block: 76px 88px;
  }
}

.hero-media-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0.52;
  filter: contrast(1.06) saturate(1.08);
  transition: opacity 0.5s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 14, 26, 0.93) 0%,
    rgba(7, 14, 26, 0.76) 52%,
    rgba(7, 14, 26, 0.42) 100%
  );
}

html[dir="rtl"] .hero-overlay {
  background: linear-gradient(
    270deg,
    rgba(7, 14, 26, 0.93) 0%,
    rgba(7, 14, 26, 0.76) 52%,
    rgba(7, 14, 26, 0.42) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
    gap: 48px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 138, 75, 0.16);
  border: 1px solid rgba(200, 138, 75, 0.55);
  color: var(--copper-400);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  max-width: 100%;
  line-height: 1.4;
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--white);
}

.hero-title .highlight {
  color: var(--copper-400);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: #CBD5E1;
  max-width: 660px;
  margin-bottom: 26px;
  line-height: 1.65;
}

.hero-pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 32px;
  max-width: 660px;
}

@media (min-width: 600px) {
  .hero-pills {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: #F1F5F9;
}

.hero-pill-check {
  color: var(--wa-500);
  font-weight: 900;
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-wa-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wa-500);
  color: #052E16;
  font-size: 1rem;
  font-weight: 800;
  padding: 15px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-wa);
  transition: all var(--transition);
}

.btn-wa-primary:hover {
  background: #34E275;
  transform: translateY(-2px);
}

.btn-copper-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(200, 138, 75, 0.14);
  border: 1.5px solid var(--copper-400);
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.btn-copper-outline:hover {
  background: var(--copper-500);
  color: var(--indigo-950);
}

/* Hero Side Reel Switcher & Live Showcase Card */
.hero-reel-card {
  background: rgba(11, 22, 40, 0.82);
  border: 1px solid rgba(200, 138, 75, 0.42);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
}

.reel-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.reel-tab {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.reel-tab.active {
  background: var(--copper-500);
  color: var(--indigo-950);
}

.reel-preview-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.reel-preview-frame video,
.reel-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-live-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  background: rgba(7, 14, 26, 0.85);
  border: 1px solid rgba(200, 138, 75, 0.6);
  color: #F8FAFC;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa-500);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

.reel-thumbs-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.reel-thumb {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 2px solid transparent;
  opacity: 0.72;
  transition: all var(--transition);
  cursor: pointer;
}

.reel-thumb:hover, .reel-thumb.active {
  opacity: 1;
  border-color: var(--copper-400);
}

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

/* ==========================================================================
   3. Hardcore Factory Trust Bar
   ========================================================================== */
.trust-strip {
  background: var(--indigo-900);
  border-bottom: 3px solid var(--copper-500);
  padding-block: 26px;
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(200, 138, 75, 0.18);
  border: 1px solid rgba(200, 138, 75, 0.45);
  color: var(--copper-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.trust-metric {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
}

.trust-desc {
  font-size: 0.8rem;
  color: #CBD5E1;
  margin-top: 3px;
}

/* ==========================================================================
   4. Common Section Headers
   ========================================================================== */
.section {
  padding-block: 68px;
}

@media (min-width: 992px) {
  .section {
    padding-block: 88px;
  }
}

.section-alt {
  background: var(--canvas-100);
}

.section-dark {
  background: var(--indigo-900);
  color: var(--white);
}

.section-head {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 44px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--copper-600);
  background: var(--copper-100);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-dark .section-kicker {
  background: rgba(200, 138, 75, 0.18);
  color: var(--copper-400);
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
  color: inherit;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.section-dark .section-subtitle {
  color: #CBD5E1;
}

/* ==========================================================================
   5. Digital Sample Showroom (Filters + Front/Back Flip Cards)
   ========================================================================== */
.showroom-notice {
  background: linear-gradient(90deg, var(--indigo-900), var(--indigo-800));
  color: var(--white);
  border-inline-start: 5px solid var(--copper-500);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.showroom-notice-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #F1F5F9;
}

.showroom-notice-text strong {
  color: var(--copper-400);
}

.filter-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-row + .filter-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--slate-200);
}

.filter-label {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--indigo-900);
  margin-inline-end: 6px;
  white-space: nowrap;
}

.filter-chip {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--canvas-50);
  border: 1px solid var(--slate-200);
  transition: all var(--transition);
}

.filter-chip:hover {
  border-color: var(--copper-500);
  color: var(--indigo-900);
}

.filter-chip.active {
  background: var(--indigo-900);
  color: var(--white);
  border-color: var(--indigo-900);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

@media (min-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 138, 75, 0.55);
}

.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #F1F5F9;
  overflow: hidden;
  cursor: pointer;
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.36s ease, transform 0.5s ease;
}

.product-img.back-view {
  opacity: 0;
}

.product-media.showing-back .product-img.back-view {
  opacity: 1;
}

.product-media.showing-back .product-img.front-view {
  opacity: 0;
}

/* Desktop hover automatic preview if user hasn't locked toggle */
@media (hover: hover) {
  .product-media:not(.manual-lock):hover .product-img.back-view {
    opacity: 1;
    transform: scale(1.03);
  }
  .product-media:not(.manual-lock):hover .product-img.front-view {
    opacity: 0;
  }
}

.card-top-badges {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  inset-inline-end: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  z-index: 3;
}

.style-code-badge {
  background: rgba(7, 14, 26, 0.88);
  color: var(--copper-400);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.craft-badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--indigo-900);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  min-width: 0;
  max-width: 65%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Front / Back Switcher Pill */
.side-switcher {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 10px;
  z-index: 4;
  display: inline-flex;
  background: rgba(7, 14, 26, 0.84);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,0.18);
}

.side-btn {
  color: #CBD5E1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.side-btn.active {
  background: var(--copper-500);
  color: var(--indigo-950);
}

.zoom-trigger-btn {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 10px;
  z-index: 4;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--indigo-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

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

.fit-tag-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.fit-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--copper-600);
  background: var(--copper-100);
  padding: 3px 9px;
  border-radius: 5px;
}

.moq-mini {
  font-size: 0.73rem;
  color: var(--slate-500);
  font-weight: 600;
}

.product-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.35;
  margin-bottom: 8px;
  cursor: pointer;
}

.product-title:hover {
  color: var(--indigo-700);
}

.product-specs-mini {
  font-size: 0.8rem;
  color: var(--slate-600);
  background: var(--canvas-50);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.product-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-wa-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--wa-500);
  color: #052E16;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.card-wa-btn:hover {
  background: #32DF72;
}

.card-sub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.btn-detail-ghost, .btn-basket-toggle {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  background: var(--white);
  transition: all var(--transition);
  text-align: center;
}

.btn-detail-ghost:hover, .btn-basket-toggle:hover {
  border-color: var(--indigo-800);
  color: var(--indigo-900);
}

.btn-basket-toggle.added {
  background: var(--indigo-900);
  color: var(--copper-400);
  border-color: var(--indigo-900);
}

/* Custom Any-Photo Card (#13) */
.custom-any-card {
  background: linear-gradient(160deg, var(--indigo-900), var(--indigo-950));
  color: var(--white);
  border: 2px dashed var(--copper-500);
  padding: 28px 22px;
  justify-content: space-between;
  text-align: center;
}

/* ==========================================================================
   6. Interactive 1:1 Custom OEM/ODM Configurator Section
   ========================================================================== */
.oem-ways-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

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

.oem-way-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--copper-500);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}

.way-num {
  display: inline-block;
  background: var(--indigo-900);
  color: var(--copper-400);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 4px 11px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.oem-way-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--indigo-900);
}

.oem-way-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
}

.oem-builder-box {
  background: var(--indigo-900);
  color: var(--white);
  border: 1px solid rgba(200, 138, 75, 0.42);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 992px) {
  .oem-builder-box {
    padding: 38px 40px;
  }
}

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

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

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

.field-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--copper-400);
  margin-bottom: 7px;
}

.field-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.field-control option {
  background: var(--indigo-900);
  color: var(--white);
}

.field-control::placeholder {
  color: #94A3B8;
}

.oem-steps-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 36px;
}

@media (min-width: 992px) {
  .oem-steps-bar {
    grid-template-columns: repeat(6, 1fr);
  }
}

.step-node {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
}

.step-idx {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--copper-500);
  color: var(--indigo-950);
  font-weight: 900;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.step-node h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--indigo-900);
  margin-bottom: 4px;
}

.step-node p {
  font-size: 0.78rem;
  color: var(--slate-600);
}

/* ==========================================================================
   7. Three Owned Bases + Factory Panorama Video + Real Showroom Wall
   ========================================================================== */
.bases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 44px;
}

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

.base-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.base-badge {
  align-self: flex-start;
  background: rgba(200, 138, 75, 0.2);
  border: 1px solid var(--copper-400);
  color: var(--copper-400);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.base-card h3 {
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--white);
}

.base-loc {
  font-size: 0.85rem;
  color: var(--copper-400);
  font-weight: 600;
}

.base-card p {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.6;
}

.factory-video-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(200, 138, 75, 0.5);
  margin-bottom: 44px;
  background: #000;
  position: relative;
}

.factory-video-banner video {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

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

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

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(transparent, rgba(7, 14, 26, 0.92));
  color: var(--white);
  padding: 26px 14px 12px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Comparison Table */
.compare-wrap {
  overflow-x: auto;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: rgba(15, 23, 42, 0.7);
}

.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.compare-table th {
  background: rgba(7, 14, 26, 0.9);
  color: var(--copper-400);
  font-weight: 800;
}

.compare-us {
  background: rgba(37, 211, 102, 0.08);
  color: #F8FAFC;
  font-weight: 600;
}

/* ==========================================================================
   8. Visit Us in China & China Buying Agent Reception Section
   ========================================================================== */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .visit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.visit-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.visit-card.agent-highlight {
  border-color: var(--copper-500);
  background: linear-gradient(180deg, #FFFFFF 0%, #FDF9F3 100%);
}

.agent-cn-box {
  background: var(--indigo-950);
  color: #F1F5F9;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.86rem;
  line-height: 1.65;
  border-inline-start: 4px solid var(--copper-500);
  white-space: pre-line;
}

/* ==========================================================================
   9. FAQ Accordion & Catalog Unlock Lead Form
   ========================================================================== */
.faq-list {
  max-width: 920px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: start;
  font-size: 1rem;
  font-weight: 800;
  color: var(--indigo-900);
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--canvas-100);
  color: var(--copper-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--indigo-900);
  color: var(--copper-400);
}

.faq-a {
  display: none;
  padding: 0 22px 20px;
  font-size: 0.94rem;
  color: var(--slate-600);
  line-height: 1.7;
  border-top: 1px solid var(--canvas-100);
  padding-top: 14px;
}

.faq-item.open .faq-a {
  display: block;
}

/* Catalog & Contact Split */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 960px) {
  .contact-split {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.lead-form-card {
  background: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}

.lead-form-card .field-control {
  background: var(--canvas-50);
  border: 1px solid var(--slate-300);
  color: var(--slate-900);
}

.lead-form-card label {
  color: var(--indigo-900);
}

.channels-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 138, 75, 0.4);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

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

.social-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  transition: all var(--transition);
}

.social-pill:hover {
  border-color: var(--copper-400);
  background: rgba(200, 138, 75, 0.16);
}

/* ==========================================================================
   10. Footer, Floating Orb, Mobile Sticky Bar & Modals
   ========================================================================== */
.site-footer {
  background: var(--indigo-950);
  color: #94A3B8;
  padding-block: 52px 36px;
  border-top: 2px solid rgba(200, 138, 75, 0.35);
}

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

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

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

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

/* Floating Desktop WhatsApp Orb */
.floating-wa-orb {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 24px;
  z-index: 850;
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--wa-500);
  color: #052E16;
  font-weight: 900;
  font-size: 0.92rem;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition);
}

.floating-wa-orb:hover {
  transform: scale(1.05);
}

@media (min-width: 992px) {
  .floating-wa-orb {
    display: inline-flex;
  }
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 880;
  background: var(--indigo-950);
  border-top: 2px solid var(--copper-500);
  padding: 9px 12px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

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

.mob-cat-btn {
  background: rgba(200, 138, 75, 0.18);
  border: 1px solid var(--copper-400);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 11px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.mob-wa-btn {
  background: var(--wa-500);
  color: #052E16;
  font-size: 0.84rem;
  font-weight: 900;
  padding: 11px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
}

/* Universal Modal System */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7, 14, 26, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

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

.modal-dialog {
  background: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.24s ease-out;
}

.modal-dialog.narrow {
  max-width: 620px;
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-sticky-close-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 0;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.modal-close {
  pointer-events: auto;
  margin: 12px 14px 0 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 22, 40, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

html[dir="rtl"] .modal-close {
  margin: 12px 0 0 14px;
}

.modal-inner-pad {
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom, 0px));
}

.modal-basket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 18px;
}

.form-two-col,
.modal-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 540px) {
  .form-two-col,
  .modal-action-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 22px 24px 24px;
}

@media (min-width: 820px) {
  .detail-modal-grid {
    grid-template-columns: 0.95fr 1.05fr;
    padding: 28px 32px 32px;
  }
}

.detail-main-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: #F1F5F9;
  aspect-ratio: 3 / 4;
  position: relative;
  cursor: zoom-in;
}

.detail-main-img-wrap.zoomed img {
  transform: scale(1.85);
  cursor: zoom-out;
}

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

.detail-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.detail-thumb-btn {
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--canvas-50);
  font-size: 0.82rem;
  font-weight: 700;
}

.detail-thumb-btn.active {
  border-color: var(--copper-500);
  background: var(--copper-100);
}

.detail-thumb-btn img {
  width: 44px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}

.tier-box {
  background: var(--canvas-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-block: 14px;
}

.gcc-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #14532D;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.size-chart-modal-wrap {
  padding: 0 28px 32px;
  overflow-x: auto;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 10px;
}

.size-table th {
  background: var(--indigo-900);
  color: var(--white);
  padding: 10px 12px;
  text-align: center;
}

.size-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--slate-200);
  text-align: center;
  font-weight: 600;
}

.pre-msg-box {
  background: #0F172A;
  color: #E2E8F0;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.86rem;
  padding: 16px;
  border-radius: var(--radius-md);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.55;
  border: 1px solid var(--copper-500);
  margin-block: 14px;
}

.toast-banner {
  position: fixed;
  top: 86px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  background: var(--indigo-950);
  color: var(--white);
  border: 1.5px solid var(--wa-500);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: none;
}

.toast-banner.show {
  display: block;
}


/* ==========================================================================
   11. Extended Components: Brand Heritage Pillars, Lightbox & Inquiry UX
   ========================================================================== */
.heritage-box {
  background: rgba(7, 14, 26, 0.65);
  border: 1px solid rgba(200, 138, 75, 0.38);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  margin-bottom: 44px;
}

.heritage-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 24px;
}

.heritage-head h3 {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--copper-400);
  margin-bottom: 8px;
}

.heritage-head p {
  font-size: 0.94rem;
  color: #CBD5E1;
}

.heritage-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

.heritage-pillar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--copper-500);
  border-radius: var(--radius-md);
  padding: 20px 18px;
}

.heritage-pillar-kicker {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--copper-400);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.heritage-pillar-val {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.heritage-pillar-desc {
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.55;
}

.base-scale-pill {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--wa-500);
}

.factory-video-caption-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(7, 14, 26, 0.95);
  border-top: 1px solid rgba(200, 138, 75, 0.35);
}

.factory-video-caption-bar span {
  font-size: 0.88rem;
  font-weight: 700;
  color: #F1F5F9;
}

.gallery-tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #E2E8F0;
  transition: all var(--transition);
}

.gallery-tab-btn:hover {
  border-color: var(--copper-400);
  color: var(--white);
}

.gallery-tab-btn.active {
  background: var(--copper-500);
  border-color: var(--copper-500);
  color: var(--indigo-950);
}

.visit-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--copper-100);
  color: var(--copper-600);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.visit-card h3 {
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--indigo-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.visit-card p {
  font-size: 0.94rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.visit-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.visit-checklist li {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-900);
  background: var(--canvas-50);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
}

.btn-indigo-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--indigo-900);
  color: var(--copper-400);
  border: 1.5px solid var(--copper-500);
  font-size: 0.96rem;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.btn-indigo-solid:hover {
  background: var(--indigo-800);
  color: var(--white);
}

.direct-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

@media (min-width: 540px) {
  .direct-sub-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.btn-channel-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.btn-channel-secondary:hover {
  border-color: var(--copper-400);
  background: rgba(200, 138, 75, 0.2);
}

.social-pill-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.social-pill-status {
  font-size: 0.68rem;
  color: var(--copper-400);
  font-weight: 600;
}

/* Quote Basket Items */
.quote-list-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block: 16px;
  max-height: 340px;
  overflow-y: auto;
}

.quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--canvas-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
}

.quote-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-row-left img {
  width: 46px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
}

.quote-remove-btn {
  color: #DC2626;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 5px;
  background: #FEE2E2;
}

/* Lightbox Modal */
.lightbox-dialog {
  background: var(--indigo-950);
  color: var(--white);
  border: 1px solid rgba(200, 138, 75, 0.45);
  max-width: 1060px;
}

.lightbox-body {
  padding: 20px 24px calc(24px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.lightbox-img-frame {
  background: #040911;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-frame img {
  max-height: 72vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.lightbox-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.86rem;
}

.lightbox-nav-btn:hover {
  background: var(--copper-500);
  color: var(--indigo-950);
}

.unit-toggle-group {
  display: inline-flex;
  background: var(--canvas-100);
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
}

.unit-btn {
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-700);
  border-radius: 6px;
}

.unit-btn.active {
  background: var(--indigo-900);
  color: var(--copper-400);
}


/* ==========================================================================
   12. Mobile-First Overseas Buyer UX Optimization (< 768px & < 600px)
   ========================================================================== */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding-inline: 14px;
  }

  .section {
    padding-block: 44px;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .section-title {
    font-size: 1.44rem;
    line-height: 1.26;
  }

  .section-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* Compact Hero for Thumb-First Conversion + Mobile Data Saver */
  .hero-video {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding-block: 22px 32px;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    padding: 5px 11px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 1.64rem;
    line-height: 1.22;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .hero-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 20px;
  }

  .hero-pill {
    padding: 8px 9px;
    font-size: 0.74rem;
    line-height: 1.3;
    gap: 6px;
    align-items: flex-start;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-cta-group > * {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.93rem;
  }

  .hero-reel-card {
    padding: 12px;
  }

  .reel-tab {
    font-size: 0.75rem;
    padding: 8px 6px;
  }

  .reel-live-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Fix Trust Strip Narrow Columns on Phones */
  .trust-strip {
    padding-block: 18px;
  }

  .trust-grid {
    gap: 10px;
  }

  .trust-item {
    flex-direction: column;
    gap: 7px;
    padding: 11px 12px;
  }

  .trust-icon {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }

  .trust-metric {
    font-size: 0.88rem;
  }

  .trust-desc {
    font-size: 0.74rem;
    line-height: 1.4;
  }

  /* Horizontal Touch-Swipe Filter Strips */
  .showroom-notice {
    padding: 14px 15px;
    margin-bottom: 18px;
    gap: 12px;
  }

  .showroom-notice-text {
    font-size: 0.85rem;
  }

  .showroom-notice .btn-copper-outline {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.86rem;
  }

  .filter-panel {
    padding: 12px 12px;
    margin-bottom: 18px;
  }

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

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-row + .filter-row {
    margin-top: 10px;
    padding-top: 10px;
  }

  .filter-chip {
    flex-shrink: 0;
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  /* Prevent iOS Safari 16px Input Auto-Zoom & Comfort Padding */
  .field-control {
    font-size: 16px !important;
    min-height: 46px;
  }

  .oem-way-card,
  .oem-builder-box,
  .base-card,
  .heritage-box,
  .visit-card,
  .lead-form-card,
  .channels-card {
    padding: 20px 16px;
  }

  .oem-steps-bar {
    gap: 10px;
    margin-top: 24px;
  }

  .step-node {
    padding: 12px 10px;
  }

  .factory-video-caption-bar {
    padding: 12px 14px;
  }

  .factory-video-caption-bar button {
    width: 100%;
  }

  .gallery-tabs {
    gap: 8px;
  }

  .gallery-tab-btn {
    width: 100%;
    font-size: 0.82rem;
    padding: 10px 14px;
    text-align: center;
  }

  .compare-table {
    min-width: 520px;
  }

  .compare-table th,
  .compare-table td {
    padding: 11px 12px;
    font-size: 0.82rem;
  }

  .faq-q {
    padding: 14px 15px;
    font-size: 0.92rem;
  }

  .faq-a {
    padding: 12px 15px 16px;
    font-size: 0.86rem;
  }

  .social-matrix {
    grid-template-columns: 1fr;
  }

  /* Bottom-Sheet App-Style Modals & Safe-Area Sticky Bar */
  .mobile-sticky-bar {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .modal-backdrop {
    padding: 10px 6px 0;
    align-items: flex-end;
  }

  .modal-dialog {
    max-height: 89vh;
    max-height: 89dvh;
    border-radius: 18px 18px 0 0;
  }

  .detail-modal-grid {
    padding: 16px 14px 14px;
    gap: 16px;
  }

  .size-chart-modal-wrap {
    padding: 0 14px calc(26px + env(safe-area-inset-bottom, 0px));
  }

  .modal-inner-pad {
    padding: 18px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .modal-basket-actions {
    flex-direction: column-reverse;
  }

  .modal-basket-actions button {
    width: 100%;
  }

  .toast-banner {
    top: 90px;
    width: calc(100% - 28px);
    max-width: 400px;
    text-align: center;
    font-size: 0.82rem;
    padding: 10px 14px;
    border-radius: 14px;
  }
}

/* 2-Column Mobile B2B Showroom Grid (350px - 599px: 12 styles = 6 neat pairs + full-width Custom Card) */
@media (min-width: 350px) and (max-width: 599px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card.custom-any-card {
    grid-column: 1 / -1;
    padding: 22px 16px;
  }

  .card-top-badges {
    top: 6px;
    inset-inline-start: 6px;
    inset-inline-end: 6px;
    gap: 4px;
  }

  .style-code-badge {
    font-size: 0.66rem;
    padding: 3px 6px;
  }

  .craft-badge {
    font-size: 0.6rem;
    padding: 3px 6px;
    max-width: 64%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Thumb-Friendly Full-Width Front/Back Toggle on Mobile Cards */
  .zoom-trigger-btn {
    display: none;
  }

  .side-switcher {
    bottom: 6px;
    inset-inline-start: 6px;
    inset-inline-end: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 2px;
  }

  .side-btn {
    font-size: 0.69rem;
    min-height: 29px;
    padding: 4px 4px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .product-body {
    padding: 10px;
  }

  .fit-tag-line {
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 5px;
  }

  .fit-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .moq-mini {
    font-size: 0.61rem;
  }

  .product-title {
    font-size: 0.82rem;
    line-height: 1.32;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-specs-mini {
    font-size: 0.69rem;
    padding: 6px 7px;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-actions {
    gap: 5px;
  }

  .card-wa-btn {
    font-size: 0.74rem;
    min-height: 36px;
    padding: 7px 6px;
    gap: 4px;
  }

  /* Stack sub-actions vertically so 0% of AR/FR/ES/ZH text truncates and thumb taps never miss */
  .card-sub-actions {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .btn-detail-ghost,
  .btn-basket-toggle {
    font-size: 0.71rem;
    min-height: 31px;
    padding: 5px 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==========================================================================
   14. UPGRADE V4: Men's 8-Silhouette Bento Matrix, 8-Wash Lab,
       Fabric Oz + Private Label Trims Split, & 3-Stage OEM Visual Case Strip
   ========================================================================== */

/* --- 14.1 Men's 8 Core Fit Silhouettes Bento Lookbook Grid --- */
.fits-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

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

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

.fit-bento-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.fit-bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--copper-500);
}

.fit-bento-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--indigo-950);
  overflow: hidden;
  cursor: pointer;
}

.fit-bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s ease;
}

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

.fit-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,14,26,0) 62%, rgba(7,14,26,0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 12px;
  pointer-events: none;
}

.fit-bento-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.fit-num-badge {
  background: var(--indigo-900);
  color: var(--copper-400);
  border: 1px solid rgba(200, 138, 75, 0.45);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.4px;
}

.fit-market-badge {
  background: rgba(200, 138, 75, 0.16);
  color: #9A5B1A;
  border: 1px solid rgba(200, 138, 75, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  line-height: 1.3;
}

.fit-bento-bottom-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fit-spec-pill {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  color: #F8FAFC;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
}

.fit-bento-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fit-bento-title {
  font-size: 1.04rem;
  font-weight: 900;
  color: var(--indigo-900);
  line-height: 1.3;
  margin-bottom: 6px;
}

.fit-bento-desc {
  font-size: 0.84rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

.fit-bento-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
}

.fit-wa-btn {
  width: 100%;
  padding: 10px 12px;
  background: var(--indigo-900);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--transition);
}

.fit-wa-btn:hover {
  background: var(--copper-500);
  color: var(--indigo-950);
}

.fit-filter-jump-btn {
  width: 100%;
  padding: 7px 10px;
  background: var(--canvas-50);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition);
}

.fit-filter-jump-btn:hover {
  border-color: var(--copper-500);
  color: var(--indigo-900);
  background: var(--copper-100);
}

/* --- 14.2 8-Wash Macro Swatch Matrix --- */
.wash-swatch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 44px;
}

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

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

.wash-swatch-card {
  background: rgba(15, 25, 44, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition);
}

.wash-swatch-card:hover {
  transform: translateY(-4px);
  border-color: var(--copper-400);
}

.wash-swatch-img-wrap {
  position: relative;
  aspect-ratio: 2 / 1;
  background: #070D18;
  overflow: hidden;
  cursor: pointer;
}

.wash-swatch-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.wash-swatch-card:hover .wash-swatch-img-wrap img {
  transform: scale(1.06);
}

.wash-code-pill {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  background: rgba(7, 14, 26, 0.88);
  color: var(--copper-400);
  border: 1px solid rgba(200, 138, 75, 0.45);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 5px;
}

.wash-swatch-body {
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wash-swatch-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 5px;
  line-height: 1.3;
}

.wash-swatch-desc {
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.wash-inquire-btn {
  width: 100%;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(200, 138, 75, 0.16);
  border: 1px solid rgba(200, 138, 75, 0.45);
  color: var(--copper-300);
  font-size: 0.78rem;
  font-weight: 800;
  transition: all var(--transition);
}

.wash-inquire-btn:hover {
  background: var(--copper-500);
  color: var(--indigo-950);
}

/* --- 14.3 Split Editorial: Denim Fabric Oz Guide + OEM Hardware & Trims Board --- */
.fabric-trims-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 992px) {
  .fabric-trims-split {
    grid-template-columns: 1fr 1.12fr;
    gap: 32px;
  }
}

.fabric-library-box,
.oem-trims-box {
  background: rgba(11, 20, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.oem-trims-box {
  padding: 0;
  overflow: hidden;
}

.trims-img-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #060B14;
  overflow: hidden;
  cursor: pointer;
}

.trims-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trims-img-frame:hover img {
  transform: scale(1.04);
}

.trims-img-badge {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 12px;
  background: rgba(7, 14, 26, 0.88);
  color: var(--copper-400);
  border: 1px solid rgba(200, 138, 75, 0.5);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
}

.trims-copy-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sub-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: var(--copper-400);
  margin-bottom: 6px;
}

.fabric-library-box h3,
.trims-copy-body h3 {
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.28;
}

.sub-desc {
  font-size: 0.88rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 18px;
}

.fabric-oz-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.fabric-oz-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-inline-start: 4px solid var(--copper-500);
  border-radius: 10px;
  padding: 13px 15px;
}

.fabric-oz-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.fabric-oz-weight {
  font-size: 0.96rem;
  font-weight: 900;
  color: var(--copper-400);
}

.fabric-oz-tag {
  font-size: 0.74rem;
  font-weight: 800;
  background: rgba(200, 138, 75, 0.18);
  color: #FDE68A;
  padding: 2px 8px;
  border-radius: 5px;
}

.fabric-oz-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 3px;
}

.fabric-oz-detail {
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.5;
}

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

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

.trim-spec-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
}

.trim-spec-item strong {
  display: block;
  font-size: 0.84rem;
  color: var(--copper-400);
  margin-bottom: 2px;
}

.trim-spec-item span {
  font-size: 0.78rem;
  color: #E2E8F0;
  line-height: 1.45;
}

/* --- 14.4 Visual 3-Stage "1 Reference Photo -> 7-Day Real Sample" Case Strip --- */
.oem-case-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 32px;
}

@media (min-width: 860px) {
  .oem-case-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.oem-case-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.oem-case-img {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--indigo-950);
  overflow: hidden;
}

.oem-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oem-case-step-pill {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  background: rgba(7, 14, 26, 0.9);
  color: var(--copper-400);
  border: 1px solid rgba(200, 138, 75, 0.5);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
}

.oem-case-body {
  padding: 14px 16px;
}

.oem-case-body h4 {
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--indigo-900);
  margin-bottom: 5px;
}

.oem-case-body p {
  font-size: 0.83rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ==========================================================================
   15. UPGRADE V6: Google SEO B2B Sourcing Insights & Blog CMS Section
   ========================================================================== */
.seo-blog-section {
  background: var(--canvas-50);
  border-top: 1px solid var(--slate-200);
}

.seo-blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--indigo-950);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 138, 75, 0.4);
  margin-bottom: 28px;
}

.seo-blog-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.seo-google-badge {
  background: rgba(37, 211, 102, 0.16);
  color: #4ADE80;
  border: 1px solid rgba(74, 222, 128, 0.45);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.seo-admin-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--copper-500);
  color: var(--indigo-950);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 9px 16px;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.seo-admin-jump-btn:hover {
  background: var(--copper-400);
  transform: translateY(-1px);
}

.seo-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.seo-article-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.seo-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--copper-500);
}

.seo-article-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--indigo-950);
  overflow: hidden;
  cursor: pointer;
}

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

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

.seo-article-cat-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  background: rgba(7, 14, 26, 0.9);
  color: var(--copper-400);
  border: 1px solid rgba(200, 138, 75, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

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

.seo-article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.seo-article-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--indigo-900);
  line-height: 1.36;
  margin-bottom: 10px;
  cursor: pointer;
}

.seo-article-title:hover {
  color: var(--copper-600);
}

.seo-article-summary {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.58;
  margin-bottom: 14px;
  flex: 1;
}

.seo-kw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.seo-kw-tag {
  background: var(--canvas-100);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
  font-size: 0.69rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.seo-article-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.btn-read-article {
  flex: 1;
  padding: 9px 12px;
  background: var(--indigo-900);
  color: var(--white);
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  transition: background var(--transition);
}

.btn-read-article:hover {
  background: var(--copper-500);
  color: var(--indigo-950);
}

.btn-wa-article {
  padding: 9px 12px;
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #15803D;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  transition: all var(--transition);
}

.btn-wa-article:hover {
  background: var(--wa-500);
  color: #052E16;
}

.seo-reader-content h3,
.seo-reader-content h4 {
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--indigo-900);
  margin: 18px 0 8px;
}

.seo-reader-content p {
  font-size: 0.94rem;
  color: var(--slate-700);
  line-height: 1.72;
  margin-bottom: 12px;
}

.seo-reader-content ul {
  margin: 8px 0 14px 20px;
  list-style: disc;
}

.seo-reader-content li {
  font-size: 0.91rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 6px;
}



/* ==========================================================================
   16. UPGRADE V8: Multi-Page Official Site (Sub-Hero Banner, Gateway Bars,
       Blog Channel & Static Article Editorial Layout)
   ========================================================================== */
.nav-link.active,
.mob-nav-item.active {
  color: var(--copper-400) !important;
  font-weight: 900;
}

.page-hero-banner {
  background: radial-gradient(circle at 80% 20%, rgba(200, 138, 75, 0.18), transparent 55%),
    linear-gradient(135deg, #070E1A 0%, #0F1E36 100%);
  color: var(--white);
  padding: 44px 0 48px;
  border-bottom: 2px solid rgba(200, 138, 75, 0.4);
}

.page-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--copper-400);
  background: rgba(200, 138, 75, 0.12);
  border: 1px solid rgba(200, 138, 75, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.page-breadcrumb a {
  color: #E2E8F0;
}

.page-breadcrumb a:hover {
  color: var(--copper-400);
}

.page-hero-title {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.22;
  margin-bottom: 14px;
  max-width: 920px;
}

.page-hero-subtitle {
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  color: #CBD5E1;
  line-height: 1.68;
  max-width: 860px;
}

/* Homepage -> Subpage Gateway Bar */
.section-gateway-bar {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FDF9F3 100%);
  border: 1.5px solid var(--copper-500);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
}

.section-gateway-copy {
  flex: 1 1 420px;
}

.section-gateway-copy h3 {
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--indigo-900);
  margin-bottom: 6px;
}

.section-gateway-copy p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.section-gateway-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Blog channel category pills */
.blog-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}

.blog-cat-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.85rem;
  font-weight: 800;
  transition: all var(--transition);
}

.blog-cat-pill:hover,
.blog-cat-pill.active {
  background: var(--indigo-900);
  border-color: var(--indigo-900);
  color: var(--white);
}

a.seo-article-title,
a.seo-article-media {
  display: block;
  color: inherit;
}

a.btn-read-article {
  display: inline-block;
}

/* Static article page: 2-column editorial layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

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

.article-main {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px 26px 32px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

@media (min-width: 768px) {
  .article-main {
    padding: 36px 40px 40px;
  }
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-bottom: 14px;
}

.article-h1 {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 900;
  color: var(--indigo-900);
  line-height: 1.28;
  margin-bottom: 16px;
}

.article-lead-summary {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 20px;
  border-inline-start: 4px solid var(--copper-500);
  padding-inline-start: 14px;
}

.article-cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--indigo-950);
  margin-bottom: 26px;
}

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

.article-body h2,
.article-body h3,
.article-body h4 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--indigo-900);
  margin: 26px 0 10px;
  line-height: 1.35;
}

.article-body p {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.8;
  margin-bottom: 14px;
}

.article-body ul,
.article-body ol {
  margin: 8px 0 18px;
  padding-inline-start: 22px;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  font-size: 0.97rem;
  color: var(--slate-700);
  line-height: 1.75;
  margin-bottom: 8px;
}

.article-body strong {
  color: var(--indigo-900);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 0.9rem;
}

.article-body th,
.article-body td {
  border: 1px solid var(--slate-200);
  padding: 9px 12px;
  text-align: start;
}

.article-body th {
  background: var(--indigo-900);
  color: var(--white);
}

.article-inline-cta {
  margin: 28px 0 8px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--indigo-950);
  color: #E2E8F0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.article-inline-cta strong {
  color: var(--copper-400);
  font-size: 1.02rem;
}

.article-prevnext {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
}

@media (min-width: 640px) {
  .article-prevnext {
    grid-template-columns: 1fr 1fr;
  }
}

.article-prevnext a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--canvas-50);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--indigo-900);
  line-height: 1.45;
  transition: border-color var(--transition);
}

.article-prevnext a:hover {
  border-color: var(--copper-500);
}

.article-prevnext small {
  display: block;
  font-size: 0.74rem;
  color: var(--copper-600);
  margin-bottom: 4px;
}

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

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

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card.dark {
  background: var(--indigo-950);
  border-color: rgba(200, 138, 75, 0.45);
  color: #E2E8F0;
}

.sidebar-card h3 {
  font-size: 1.02rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--indigo-900);
}

.sidebar-card.dark h3 {
  color: var(--copper-400);
}

.sidebar-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.sidebar-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-link-btn {
  display: block;
  text-align: center;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(200, 138, 75, 0.55);
  color: var(--copper-400);
  font-size: 0.86rem;
  font-weight: 800;
}

.sidebar-link-btn:hover {
  background: rgba(200, 138, 75, 0.14);
}

.related-sku-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-sku-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  transition: border-color var(--transition);
}

.related-sku-item:hover {
  border-color: var(--copper-500);
}

.related-sku-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--canvas-100);
}

.related-sku-item strong {
  display: block;
  font-size: 0.86rem;
  color: var(--indigo-900);
}

.related-sku-item span {
  font-size: 0.78rem;
  color: var(--slate-600);
  line-height: 1.4;
}
