/* ==========================================================================
   YIWU NUODA BAGS CO., LTD. (YUANFLY / WEEKEIGHT) — UI TEMPLATE 2
   1:1 Pixel-Grade UI Replica of Global Top 5 B2B Custom Bag Manufacturers:
   - MerrisBags (merris_hero.css + merris_collections.css + merris_home.css)
   - Benshine Bags (BaseLayout.bsIdpRJq.css: .product-line-panel, .process-grid, .facts)
   - LantaoBags (global.BBHxHjdH.css: Sticky White Glass Header + Mega-Dropdown Menu)
   - RontaBags & Rivta (Tabular-Nums Spec Matrix & 4-Step Production Gate)
   ========================================================================== */

:root {
  --primary-blue: #1a6dfc;
  --secondary-blue: #4d8df8;
  --dark-blue: #0a4cb3;
  --light-blue: #e8f1ff;
  --ink: #102437;
  --ink-deep: #071521;
  --ink-soft: #304b60;
  --muted: #526574;
  --cyan: #109bc5;
  --cyan-dark: #087f9f;
  --cyan-pale: #edfbff;
  --gold: #efb64b;
  --paper: #f6f8fa;
  --line: #e3e9ed;
  --white: #ffffff;
  --border-radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --box-shadow: 0 8px 24px rgba(22, 51, 74, 0.06);
  --shadow-hover: 0 18px 40px rgba(16, 36, 55, 0.13);
  --transition: all 0.25s cubic-bezier(0.2, 0.75, 0.25, 1);
  --container-max: 1280px;
  /* Legacy variable aliases for inner pages */
  --bg-warm-cream: #ffffff;
  --bg-warm-alt: #f6f8fa;
  --text-primary: #102437;
  --text-secondary: #526574;
  --brand-orange: #1a6dfc;
  --brand-orange-dark: #0a4cb3;
  --border-warm: #e3e9ed;
}

*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", Aptos, "Segoe UI Variable Text", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.65;
  letter-spacing: -0.008em;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--dark-blue);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--primary-blue);
}

.container {
  width: min(1380px, 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1.2rem;
  z-index: 100000;
  border-radius: 4px;
}
.skip-link:focus { top: 0.6rem; }

/* ==========================================================================
   1. B2B Topbar (1:1 Benshine .topbar + Multi-Language/Currency & Template Switch)
   ========================================================================== */
.header-topbar {
  color: #f5fdff;
  background: linear-gradient(90deg, #071521 0%, #102437 55%, #0a4cb3 100%);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1001;
}

.header-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  padding: 4px 0;
}

.topbar-trust-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #d0dce4;
  font-weight: 500;
  font-size: 0.76rem;
}

.topbar-pill + .topbar-pill::before {
  content: "·";
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.35);
}

.topbar-pill a {
  color: #efb64b !important;
  font-weight: 700;
}

.topbar-pill-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #1a6dfc;
  color: #ffffff !important;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.topbar-pill-switch:hover {
  background: #1258d5;
}

.topbar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.switcher-select {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.switcher-select option {
  background: #102437;
  color: #ffffff;
}

.fx-disclaimer {
  font-size: 0.7rem;
  color: #9fb3c2;
}

/* ==========================================================================
   2. Sticky White Backdrop-Blur Header + LantaoBags Mega-Dropdown
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e3e9ed;
  box-shadow: 0 2px 12px rgba(16, 36, 55, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 78px;
  gap: 20px;
  position: relative;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--ink) !important;
  letter-spacing: -0.025em;
  flex-shrink: 0;
}

.brand-logo img {
  width: auto;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-sub {
  display: block;
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: nowrap;
}

.main-nav > a,
.nav-dropdown-wrap > a {
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown-wrap:hover > a {
  background: var(--light-blue);
  color: var(--primary-blue);
}

/* LantaoBags 3-Column Visual Mega-Dropdown on "18 Bag Categories" */
.nav-dropdown-wrap {
  position: static;
}

.nav-mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e3e9ed;
  border-top: 2px solid var(--primary-blue);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 24px 48px rgba(16, 36, 55, 0.14);
  padding: 24px 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1005;
}

.nav-dropdown-wrap:hover .nav-mega-panel,
.nav-dropdown-wrap:focus-within .nav-mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
}

.nav-mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink) !important;
  transition: background 0.18s ease;
}

.nav-mega-item:hover {
  background: #f6f8fa;
}

.nav-mega-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: #eef1f3;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e3e9ed;
}

.nav-mega-title {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.nav-mega-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

.nav-mega-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e3e9ed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* MerrisBags 4px Architectural Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.35;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(26, 109, 252, 0.22);
}

.btn-primary:hover {
  background: #1258d5;
  border-color: #1258d5;
  color: #ffffff !important;
}

.btn-whatsapp {
  background: #1f7a4c;
  border-color: #1f7a4c;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(31, 122, 76, 0.22);
}

.btn-whatsapp:hover {
  background: #165e39;
  border-color: #165e39;
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink) !important;
  border: 1px solid #c5d1db;
}

.btn-secondary:hover {
  background: var(--light-blue);
  border-color: var(--primary-blue);
  color: var(--dark-blue) !important;
}

/* Breadcrumb Bar */
.breadcrumb-bar {
  background: #f6f8fa;
  border-bottom: 1px solid #e3e9ed;
  padding: 9px 0;
  font-size: 0.81rem;
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 6px;
  color: #9fb3c2;
}

/* ==========================================================================
   3. 1:1 MerrisBags .hero-banner.bag-hero (home-hero.05bdd934.css)
   ========================================================================== */
.hero-banner.bag-hero {
  position: relative;
  height: clamp(640px, 48vw, 760px);
  background: #102437;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
}

.bag-hero::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(7, 21, 33, 0.92) 0%, rgba(7, 21, 33, 0.78) 34%, rgba(7, 21, 33, 0.25) 62%, rgba(7, 21, 33, 0.1) 82%),
    linear-gradient(0deg, rgba(7, 21, 33, 0.88) 0%, transparent 28%);
  z-index: 1;
  pointer-events: none;
}

.bag-hero .hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bag-hero .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.75s ease, transform 7s ease;
  transform: scale(1.04);
  pointer-events: none;
}

.bag-hero .hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.bag-hero .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bag-hero .hero-content {
  position: absolute;
  left: 6%;
  top: 47%;
  transform: translateY(-54%);
  width: 48%;
  max-width: 650px;
  z-index: 2;
  text-align: left;
  color: #ffffff;
}

.bag-hero .hero-badge {
  display: block;
  color: #efb64b;
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.bag-hero .hero-title {
  color: #ffffff;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.bag-hero .hero-title span {
  color: var(--gold);
  background: linear-gradient(110deg, #efb64b 10%, #fff1bb 45%, #efb64b 72%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bag-hero .hero-subtitle {
  color: #d3dde5;
  font-size: 15px;
  line-height: 1.78;
  margin: 0 0 26px;
  font-weight: 400;
  max-width: 560px;
}

.bag-hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.bag-hero .hero-cta .btn-hero-primary {
  min-height: 48px;
  padding: 14px 22px;
  font-size: 13.5px;
  line-height: 1.35;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid #1a6dfc;
  border-radius: 4px;
  background: #1a6dfc;
  box-shadow: 0 6px 20px rgba(26, 109, 252, 0.28);
  font-weight: 600;
}

.bag-hero .hero-cta .btn-hero-primary::after {
  content: "↗";
  font-size: 18px;
  font-weight: 400;
}

.bag-hero .hero-cta .btn-hero-primary:hover {
  background: #1258d5;
  border-color: #1258d5;
}

.bag-hero .hero-cta .btn-hero-link {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff !important;
  padding: 10px 2px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 0;
}

.bag-hero .hero-cta .btn-hero-link:hover {
  border-bottom-color: #efb64b;
  color: #efb64b !important;
}

/* Benshine .hero-proof pills */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof a,
.hero-proof span {
  color: #e2ecf2 !important;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.hero-proof a:hover {
  border-color: #efb64b;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
}

/* Right-side Floating Live Specimen Card on Desktop Hero */
.hero-floating-card {
  position: absolute;
  right: 6%;
  top: 44%;
  transform: translateY(-50%);
  width: 340px;
  background: rgba(7, 21, 33, 0.84);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 16px;
  z-index: 2;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero-floating-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* MerrisBags Bottom Numbered 01-06 Slider Controls */
.bag-hero .slider-controls {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 22px;
  display: flex;
  align-items: stretch;
  gap: 0;
  z-index: 3;
  counter-reset: collection;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.bag-hero .slider-dot {
  counter-increment: collection;
  display: flex;
  flex: 1;
  height: 54px;
  min-width: 0;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  border-top: 2px solid transparent;
  padding: 10px 8px 0 0;
  margin: -1px 0 0;
  cursor: pointer;
  color: #b8c7d4;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.bag-hero .slider-dot::before {
  content: "0" counter(collection);
  font-size: 10px;
  color: #efb64b;
  font-weight: 700;
  opacity: 0.85;
}

.bag-hero .slider-dot.active,
.bag-hero .slider-dot:hover {
  color: #ffffff;
  border-top-color: #ffffff;
  font-weight: 700;
}

.bag-hero .slider-arrow {
  position: absolute;
  z-index: 3;
  bottom: 92px;
  width: 42px;
  height: 42px;
  background: rgba(7, 21, 33, 0.55);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.bag-hero .slider-arrow:hover {
  background: #1a6dfc;
  border-color: #1a6dfc;
}

.bag-hero .slider-arrow.prev {
  right: calc(6% + 52px);
}

.bag-hero .slider-arrow.next {
  right: 6%;
}

/* ==========================================================================
   4. 1:1 MerrisBags .curated-collections (home-collections.b316f0c8.css)
      4-Column Editorial Spec Cards with <dl class="collection-specs">
   ========================================================================== */
.curated-collections {
  background: #f6f8fa;
  padding: 84px 0;
  color: #183044;
  border-bottom: 1px solid #e3e9ed;
}

.collections-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 36px;
}

.collections-heading > div {
  max-width: 780px;
}

.collections-eyebrow {
  display: block;
  color: #526b7c;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.collections-heading .section-title {
  text-align: left;
  color: #0a4cb3;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}

.collections-heading .section-subtitle {
  text-align: left;
  max-width: 700px;
  color: #526574;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.collections-all {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: none;
  color: #155bce !important;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #adc8ed;
  padding: 0 0 8px;
}

.collections-all:hover {
  color: #0a4cb3 !important;
  border-bottom-color: #0a4cb3;
}

/* 4-Column Product Grid (MerrisBags .new-products-grid) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  border: 1px solid #e3e9ed;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: #a9c2dd;
  box-shadow: 0 12px 28px rgba(22, 51, 74, 0.08);
  transform: translateY(-3px);
}

.product-thumb-link {
  position: relative;
  aspect-ratio: 1.12;
  overflow: hidden;
  background: #eef1f3;
  display: block;
  border-bottom: 1px solid #e9edf1;
}

.product-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-link img {
  transform: scale(1.04);
}

.sku-pill-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(16, 36, 55, 0.9);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.moq-pill-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #1a6dfc;
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.product-card-body {
  padding: 20px 19px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-cat {
  color: #637d8f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-card-title {
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 700;
  color: #183044;
  margin: 0 0 15px;
  letter-spacing: -0.015em;
}

.product-card-title a {
  color: #183044;
}

.product-card-title a:hover {
  color: #1a6dfc;
}

/* MerrisBags Definition-List Style Specs */
.product-spec-list {
  list-style: none;
  margin: 0 0 15px;
  padding: 0 0 13px;
  border-bottom: 1px solid #e9edf1;
  font-size: 12px;
  line-height: 1.55;
  color: #304b60;
}

.product-spec-list li {
  margin: 0 0 7px;
}

.product-spec-list li:last-child {
  margin: 0;
}

.product-spec-list li strong {
  display: block;
  font-size: 10px;
  color: #6c7e8b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1px;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  margin-bottom: 12px;
  font-size: 12px;
  color: #526574;
}

.price-fob {
  font-weight: 700;
  color: #0a4cb3;
  font-size: 12.5px !important;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}

.btn-sku-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  min-height: 38px;
}

.btn-sku-action.btn-primary {
  background: #1a6dfc;
  color: #ffffff !important;
  border: 1px solid #1a6dfc;
  box-shadow: none;
}

.btn-sku-action.btn-primary:hover {
  background: #1258d5;
  border-color: #1258d5;
}

.btn-sku-action.btn-secondary {
  background: #f6f8fa;
  color: #183044 !important;
  border: 1px solid #d5dfe7;
}

.btn-sku-action.btn-secondary:hover {
  background: #e8f1ff;
  border-color: #1a6dfc;
  color: #0a4cb3 !important;
}

/* ==========================================================================
   5. 1:1 Benshine .product-line-panel (18 Bag Categories Dark Ink Drawer)
      & .dark-section .process-grid (01-04 Gold Numbered OEM Workflow)
   ========================================================================== */
.product-line-panel {
  border-radius: 20px;
  background: #102437;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(15, 112, 141, 0.14);
  padding: 38px;
  margin: 28px 0;
}

.product-line-panel .eyebrow {
  color: #efb64b;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.product-line-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.85fr);
  gap: 34px;
  align-items: stretch;
}

.product-line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 16px;
  margin: 22px 0 26px;
}

.product-line-grid a {
  color: #d8e8ed !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.product-line-grid a span.arrow {
  color: #efb64b;
  opacity: 0.45;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-line-grid a:hover {
  color: #ffffff !important;
  border-color: #109bc5;
  transform: translateX(4px);
}

.product-line-grid a:hover span.arrow {
  opacity: 1;
  transform: translateX(3px);
}

.product-line-feature {
  background: #071521;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 340px;
}

.product-line-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-line-feature:hover img {
  transform: scale(1.04);
}

.product-line-feature-caption {
  position: absolute;
  inset: auto 14px 14px 14px;
  background: rgba(7, 21, 33, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Benshine 4-Fact Bar (.facts) */
.facts-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 10px;
}

.fact-box {
  border-left: 4px solid #1a6dfc;
  background: linear-gradient(145deg, #f0f7ff, #fbfcfe);
  padding: 22px 20px;
  border-radius: 0 10px 10px 0;
  border-top: 1px solid #e3e9ed;
  border-right: 1px solid #e3e9ed;
  border-bottom: 1px solid #e3e9ed;
}

.fact-box strong {
  color: #102437;
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.fact-box span {
  color: #526574;
  margin-top: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  display: block;
}

/* Benshine Dark Process Section (.dark-section + .process-grid) */
.dark-process-section {
  color: #ffffff;
  background: linear-gradient(135deg, #0a3e4c 0%, #0b6079 58%, #0a4cb3 100%);
  padding: 80px 0;
}

.process-grid {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.process-card {
  counter-increment: step;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 26px 22px;
  backdrop-filter: blur(8px);
}

.process-card::before {
  content: "0" counter(step);
  color: #efb64b;
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 900;
  display: block;
}

.process-card h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.process-card p {
  color: #d9eBF2;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   6. General Sections, MerrisBags Specs Tables, Workbench & Google Maps
   ========================================================================== */
.section {
  padding: 78px 0;
}

.section-alt {
  background: #f6f8fa;
  border-top: 1px solid #e3e9ed;
  border-bottom: 1px solid #e3e9ed;
}

.section-mint {
  background: linear-gradient(155deg, #f1fbfe 0%, #fffaf2 100%);
  border-top: 1px solid #d7e9ee;
  border-bottom: 1px solid #d7e9ee;
}

.section-header {
  max-width: 820px;
  margin: 0 0 38px;
  text-align: left;
}

.section-eyebrow {
  display: block;
  color: #087f9f;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 800;
}

.section-title {
  color: #102437;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}

.section-header p {
  color: #526574;
  font-size: 15.5px;
  line-height: 1.72;
  margin: 0;
}

/* Inner Page Hero (Benshine .page-hero style) */
.hero-showcase:not(.bag-hero) {
  border-bottom: 1px solid #d7e9ee;
  background: linear-gradient(135deg, #102437 0%, #0a4cb3 100%);
  color: #ffffff;
  padding: 64px 0 54px;
}

.hero-showcase:not(.bag-hero) .hero-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 920px;
}

.hero-showcase:not(.bag-hero) .hero-subtitle {
  color: #d3dde5;
  font-size: 1.04rem;
  max-width: 820px;
  margin: 0 0 22px;
}

.safety-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.safety-shield-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.section .safety-shield-pill {
  background: #e8f1ff;
  color: #0a4cb3;
  border-color: #bfd6ff;
}

.section .safety-shield-pill.orange {
  background: #fff8e1;
  color: #92400e;
  border-color: #fde68a;
}

/* GEO Answer Box (Benshine .buyer-project-brief style) */
.geo-answer-box {
  border: 1px solid #c9e2ec;
  border-left: 4px solid #1a6dfc;
  border-radius: 12px;
  background: linear-gradient(145deg, #f3f9ff 0%, #ffffff 100%);
  padding: 24px 28px;
  margin: 22px 0;
  box-shadow: var(--box-shadow);
}

.geo-answer-tag {
  display: inline-block;
  color: #0a4cb3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* MerrisBags Specs Table (.specs-table-wrapper) */
.table-responsive {
  overflow-x: auto;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e3e9ed;
  box-shadow: var(--box-shadow);
  margin: 20px 0;
}

.eng-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.eng-table th {
  padding: 15px 18px;
  background: #f6f8fa;
  border-bottom: 2px solid #1a6dfc;
  color: #102437;
  font-weight: 700;
}

.eng-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #eaeef2;
  color: #304b60;
}

.eng-table tr.highlight-row td {
  background: #f4f8ff;
  font-weight: 600;
  color: #102437;
}

/* Workbench & Forms */
.workbench-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.workbench-card {
  background: #ffffff;
  border: 1px solid #e3e9ed;
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #102437;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #ffffff;
  color: #102437;
  min-height: 44px;
}

.form-control:focus {
  outline: none;
  border-color: #1a6dfc;
  box-shadow: 0 0 0 3px rgba(26, 109, 252, 0.14);
}

.calc-result-panel {
  background: #f3f8ff;
  border: 1px solid #bfd6ff;
  border-left: 4px solid #1a6dfc;
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 16px;
  color: #102437;
  font-size: 0.88rem;
}

/* Factory Media Gallery (Benshine .media-gallery) */
.factory-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.factory-photo-card {
  border: 1px solid #e3e9ed;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.factory-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.factory-photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.factory-photo-body {
  padding: 18px;
}

.factory-photo-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #102437;
  margin: 0 0 6px;
}

.factory-photo-body p {
  font-size: 0.83rem;
  color: #526574;
  margin: 0;
}

/* Google Maps & Logistics */
.logistics-map-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.map-embed-box {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  box-shadow: var(--box-shadow);
}

.map-iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

/* FAQ Cards (MerrisBags & Benshine clean bordered cards) */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

.faq-item {
  border: 1px solid #e3e9ed;
  background: #ffffff;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 4px 14px rgba(16, 36, 55, 0.04);
}

.faq-q {
  font-size: 1.02rem;
  font-weight: 700;
  color: #102437;
  margin: 0 0 8px;
}

.faq-a {
  font-size: 0.92rem;
  color: #526574;
  margin: 0;
}

/* Footer (MerrisBags #1a1a2e / #102437 dark industrial footer) */
.site-footer {
  background: #0b1926;
  color: #d0dce4;
  padding: 68px 0 28px;
  margin-top: 48px;
  border-top: 3px solid #1a6dfc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.site-footer h3, .site-footer h4 {
  color: #ffffff;
  font-size: 1.02rem;
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9fb3c2;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.floating-wa-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9995;
  background: linear-gradient(135deg, #216e47 0%, #165334 100%);
  color: #ffffff !important;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 12px 28px rgba(22, 83, 52, 0.38);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #d5f4df;
}

/* Responsive Breakpoints */
@media (max-width: 1180px) {
  .hero-floating-card {
    display: none;
  }
  .bag-hero .hero-content {
    width: 68%;
    max-width: 680px;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-line-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .nav-mega-panel {
    display: none !important;
  }
  .product-grid,
  .factory-gallery-grid,
  .process-grid,
  .facts-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-line-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workbench-grid,
  .logistics-map-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-banner.bag-hero {
    height: auto;
    min-height: 620px;
    padding: 40px 0 90px;
  }
  .bag-hero .hero-content {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 90%;
    margin: 0 auto;
  }
  .bag-hero .hero-nav-label {
    display: none;
  }
  .product-grid,
  .factory-gallery-grid,
  .process-grid,
  .facts-strip,
  .product-line-grid {
    grid-template-columns: 1fr;
  }
  .collections-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === NAVBAR OVERLAP HARDENING FIX (2026-11-27) === */
.header-inner {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px 18px !important;
}
.brand-logo {
  flex-shrink: 0 !important;
  min-width: max-content !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.brand-logo img {
  height: 46px !important;
  width: auto !important;
  max-width: 190px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}
.main-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px 6px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.main-nav > a,
.main-nav .nav-dropdown-wrap,
.main-nav .nav-dropdown-wrap > a {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  padding: 8px 11px !important;
  font-size: 0.85rem !important;
  line-height: 1.3 !important;
}
.header-cta-group {
  flex-shrink: 0 !important;
  min-width: max-content !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.header-cta-group .btn {
  flex-shrink: 0 !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  padding: 9px 15px !important;
  font-size: 0.83rem !important;
}



/* === SINGLE-LINE DESKTOP NAVBAR FIT (1200px+) === */
.site-header .container, .site-header .header-inner {
  width: min(1400px, 100% - 32px) !important;
  max-width: 1400px !important;
}
@media (min-width: 1200px) {
  .header-inner {
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }
  .brand-logo img {
    height: 40px !important;
    max-width: 160px !important;
  }
  .main-nav {
    flex-wrap: nowrap !important;
    gap: 2px !important;
  }
  .main-nav > a,
  .main-nav .nav-dropdown-wrap > a {
    padding: 7px 8px !important;
    font-size: 0.82rem !important;
  }
  .header-cta-group {
    gap: 6px !important;
  }
  .header-cta-group .btn {
    padding: 8px 12px !important;
    font-size: 0.80rem !important;
    min-height: 38px !important;
  }
}

/* === P1-07 Mobile 390x850 Above-the-Fold Header & Hero Compaction === */
@media (max-width: 960px) {
  .header-topbar {
    padding: 4px 0 !important;
    font-size: 11px !important;
  }
  .header-topbar .topbar-trust-pills span:nth-child(n+2),
  .header-topbar .topbar-pill-switch {
    display: none !important;
  }
  .header-topbar .topbar-inner {
    gap: 4px !important;
    justify-content: space-between !important;
  }
  .site-header .container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 0 !important;
    gap: 6px !important;
  }
  .brand-logo img {
    height: 36px !important;
    max-width: 155px !important;
  }
  .header-actions {
    width: auto !important;
    gap: 6px !important;
    justify-content: flex-end !important;
  }
  .header-actions .btn {
    min-height: 30px !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
  }
  .header-actions .btn-whatsapp {
    display: none !important;
  }
  .main-nav {
    order: 3 !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 4px !important;
    padding: 2px 0 4px !important;
    border-top: 1px solid #eef2f6 !important;
  }
  .main-nav::-webkit-scrollbar {
    display: none !important;
  }
  .main-nav > a,
  .main-nav .nav-item-dropdown > a {
    padding: 4px 8px !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
  }
  .breadcrumb-bar {
    padding: 6px 0 !important;
    font-size: 11.5px !important;
  }
  .hero-showcase {
    padding: 18px 0 20px !important;
  }
  .hero-showcase .hero-title,
  h1 {
    font-size: 1.32rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.45rem !important;
  }
  .hero-showcase .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.65rem !important;
  }
  .bag-hero {
    min-height: 420px !important;
    padding: 18px 0 64px !important;
  }
  .bag-hero h1 {
    font-size: 1.4rem !important;
    margin-bottom: 8px !important;
  }
  .bag-hero .hero-subtitle {
    font-size: 0.84rem !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .bag-hero .hero-proof-grid,
  .bag-hero .hero-floating-card {
    display: none !important;
  }
  /* Compact SKU detail specimen image on mobile so H1 + CTA appear above 850px fold */
  .section {
    padding: 16px 0 !important;
  }
  .specimen-stage {
    padding: 8px !important;
  }
  .specimen-stage .specimen-main-img-wrap {
    max-width: 170px !important;
    max-height: 170px !important;
    margin: 0 auto !important;
  }
  .safety-pill-row {
    margin-bottom: 6px !important;
    gap: 4px !important;
  }
  .safety-shield-pill {
    font-size: 10.5px !important;
    padding: 2px 7px !important;
  }
  .geo-answer-box {
    padding: 10px 12px !important;
    margin-bottom: 10px !important;
  }
  .geo-answer-box p {
    font-size: 0.8rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
}
