/* =========================================================
   Tianju IoT — Refined B2B theme (industrial export catalog)
   Loaded after site.css; overrides template noise, unifies light system
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

:root {
  --bg-0: #f2f4f7;
  --bg-1: #e8edf3;
  --bg-2: #ffffff;
  --card-bg: #ffffff;
  --card-bg-2: #f7f8fa;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);
  --accent: #1a56db;
  --accent-2: #1d4ed8;
  --ink: #0b1220;
  --text-1: #0b1220;
  --text-2: #3a4558;
  --text-3: #6b778c;
  --shadow-lg: 0 24px 56px rgba(11, 18, 32, 0.09);
  --shadow-md: 0 10px 28px rgba(11, 18, 32, 0.06);
  --shadow-soft: 0 2px 0 rgba(11, 18, 32, 0.03), 0 12px 32px rgba(11, 18, 32, 0.05);
  --radius-card: 18px;
  --section-pad: 88px;
  --font-display: "Plus Jakarta Sans", Manrope, Inter, system-ui, sans-serif;
}

/* ---- Global: paper catalog canvas ---- */
body {
  background:
    linear-gradient(180deg, #f7f8fa 0%, var(--bg-0) 42%, #eef1f5 100%);
  color: var(--text-2);
  font-family: Manrope, Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  letter-spacing: -0.011em;
}

body::before {
  background:
    radial-gradient(920px 520px at 6% -8%, rgba(26, 86, 219, 0.05) 0%, transparent 68%),
    radial-gradient(760px 460px at 96% 4%, rgba(11, 18, 32, 0.035) 0%, transparent 70%);
}

body::after {
  display: none !important;
}

section::before,
section::after {
  display: none;
}

.section-title {
  margin-bottom: 40px;
  max-width: 44rem;
}

.section-title h2,
.section-title h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.038em;
  color: var(--text-1);
  line-height: 1.15;
}

.section-title p {
  color: var(--text-3);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 12px;
  max-width: 38rem;
}

.section-alt {
  background: transparent;
}

h1, h2, h3, .logo, .pd-title, .product-info h3,
.catalog-cta-copy strong, .footer-title {
  font-family: var(--font-display);
}

/* ---- Nav ---- */
.navbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(11, 18, 32, 0.03);
  backdrop-filter: blur(14px);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.06);
}

.nav-links a {
  font-weight: 650;
  color: var(--text-2);
}

.nav-links a:hover {
  color: var(--text-1);
}

.inquiry-btn {
  background: var(--ink) !important;
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 999px;
  box-shadow: none !important;
}

/* ---- Buttons ---- */
.btn-primary {
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(26, 86, 219, 0.22);
  font-weight: 750;
  border-radius: 12px;
  font-family: var(--font-display);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(26, 86, 219, 0.28);
  filter: none;
}

.btn-outline {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--text-1);
  box-shadow: none;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
}

.btn-outline:hover {
  background: #f5f6f8;
  border-color: rgba(26, 86, 219, 0.28);
}

/* ---- Hero: background/stage refinement only (images untouched) ---- */
.hero-header {
  position: relative;
  overflow: clip;
}

.hero-header::before {
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(123, 166, 255, 0.26) 0%, rgba(123, 166, 255, 0.06) 36%, transparent 68%),
    radial-gradient(760px 460px at 82% 24%, rgba(87, 198, 255, 0.18) 0%, rgba(87, 198, 255, 0.04) 34%, transparent 70%),
    linear-gradient(120deg, rgba(246, 249, 253, 0.16) 0%, rgba(202, 219, 243, 0.12) 46%, rgba(160, 187, 224, 0.08) 100%);
  opacity: 0.92;
  filter: blur(0);
}

.hero-header::after {
  background:
    linear-gradient(90deg, rgba(10, 18, 32, 0.88) 0%, rgba(17, 32, 56, 0.68) 28%, rgba(31, 53, 86, 0.42) 54%, rgba(62, 98, 148, 0.14) 74%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 34%, transparent 72%, rgba(244, 247, 251, 0.18) 100%);
}

.hero-header .hero-soft-fog {
  background:
    radial-gradient(ellipse 92% 72% at 32% 50%, rgba(96, 165, 250, 0.14) 0%, rgba(96, 165, 250, 0.03) 42%, transparent 70%),
    radial-gradient(ellipse 66% 56% at 72% 42%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 54%, transparent 72%),
    linear-gradient(180deg, rgba(7, 12, 24, 0.06), rgba(7, 12, 24, 0.02));
  backdrop-filter: blur(2px);
}

.hero-share-bg .hero-bg-video {
  opacity: 0.62;
  filter: saturate(0.88) contrast(1.02) brightness(0.88);
}

.hero-inner {
  gap: clamp(26px, 3vw, 56px);
}

.hero-product-stage {
  position: relative;
}

.hero-product-stage::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 8%;
  bottom: 8%;
  height: clamp(78px, 11vw, 132px);
  background:
    radial-gradient(ellipse at center, rgba(13, 22, 40, 0.34) 0%, rgba(38, 74, 128, 0.14) 38%, rgba(255, 255, 255, 0) 74%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.hero-cabinet-showcase {
  position: relative;
}

.hero-cabinet-showcase::before {
  content: "";
  position: absolute;
  inset: clamp(20px, 3vw, 40px) 0 clamp(18px, 3vw, 36px) 2%;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 20% 30%, rgba(125, 211, 252, 0.08), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 0;
}

.hero-copy {
  font-size: 1.25em;
  max-width: 700px;
  padding: clamp(18px, 2.2vw, 28px) clamp(18px, 2.1vw, 28px) clamp(18px, 2vw, 24px) clamp(34px, 4.2vw, 64px);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, 0.26) 0%, rgba(10, 18, 32, 0.18) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 58px rgba(8, 15, 28, 0.18);
  backdrop-filter: blur(10px);
}

.hero-kicker {
  display: inline-flex;
  width: auto;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(235, 244, 255, 0.92);
  margin: 0 0 16px auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.hero-title .title-accent {
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  color: #a5f3fc;
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: rgba(231, 239, 250, 0.9);
  max-width: 32rem;
  margin-left: auto;
}

.hero-metrics {
  gap: 10px;
  margin-top: 18px;
  justify-content: flex-end;
}

.hero-badge {
  font-size: 0.8rem;
  font-weight: 650;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
  color: rgba(243, 247, 252, 0.96);
}

.hero-actions {
  gap: 12px;
  margin-top: 18px;
  justify-content: flex-end;
}

.hero-note {
  color: rgba(198, 218, 243, 0.88);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  margin-top: 16px;
}

.hero-header .hero-carousel-dots {
  bottom: 22px;
}

.hero-header .hero-carousel-dot {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
}

.hero-header .hero-carousel-dot.is-active {
  background: #ffffff;
  border-color: #ffffff;
}

.hero-header + .page-top-pad,
.hero-header + section,
.hero-header + .seo-answer-section {
  position: relative;
}

.hero-header + .page-top-pad::before,
.hero-header + section::before,
.hero-header + .seo-answer-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -38px;
  height: 56px;
  background: linear-gradient(180deg, rgba(230, 236, 244, 0) 0%, rgba(242, 244, 247, 0.92) 100%);
  pointer-events: none;
}

@media (min-width: 981px) {
  .hero-copy {
    font-size: 1.15em;
    transform: translateX(clamp(16px, 3vw, 48px));
    padding-left: clamp(26px, 3vw, 42px);
  }
}

@media (max-width: 980px) {
  .hero-copy {
    background: linear-gradient(180deg, rgba(8, 14, 26, 0.3) 0%, rgba(8, 14, 26, 0.16) 100%);
    padding: 18px 16px;
    border-radius: 18px;
    backdrop-filter: blur(8px);
  }

  .hero-kicker {
    margin-left: auto;
  }

  .hero-product-stage::after,
  .hero-cabinet-showcase::before {
    display: none;
  }
}

/* ---- SEO strip ---- */
.seo-answer-section {
  padding: 40px 0 36px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.seo-answer-lead {
  color: var(--text-2);
  font-size: 1.05rem;
}

.seo-answer-lead strong {
  color: var(--text-1);
}

.hub-path a {
  color: var(--accent);
  border-bottom-color: rgba(29, 78, 216, 0.25);
  font-weight: 600;
}

/* ---- Home products preview ---- */
.home-products-section {
  padding: var(--section-pad) 0;
  background: #fff;
}

.home-products-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.home-products-cta .btn-primary {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
}

/* ---- Factory floor split (home) ---- */
.factory-proof-section {
  position: relative;
  background: #0c121c;
  overflow: hidden;
}

.factory-proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  min-height: min(72vh, 640px);
  width: 100%;
}

.factory-proof__visual {
  margin: 0;
  position: relative;
  min-height: 420px;
  height: 100%;
  overflow: hidden;
  background: #101820;
}

.factory-proof__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 62%, rgba(12, 18, 28, 0.55) 100%);
}

.factory-proof__video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  transform-origin: center;
  animation: fp-drift 24s ease-in-out infinite alternate;
}

.factory-proof__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 84px) clamp(24px, 4.5vw, 72px);
  background: linear-gradient(180deg, #121a26 0%, #0e151f 100%);
  box-shadow: -48px 0 64px rgba(8, 12, 18, 0.35);
}

.factory-proof__kicker {
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7ecfc2;
  animation: fp-kicker 0.9s ease both;
}

.factory-proof__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.04;
  color: #f3f5f7;
  max-width: 11ch;
  margin: 0;
  animation: fp-up 0.7s ease both;
}

.factory-proof__lede {
  margin: 18px 0 0;
  max-width: 32rem;
  color: #b4becb;
  font-size: 1.02rem;
  line-height: 1.65;
  animation: fp-up 0.75s ease 0.08s both;
}

.factory-proof__spec {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.factory-proof__spec li {
  display: grid;
  grid-template-columns: minmax(6.8rem, 0.4fr) 1fr;
  gap: 12px 18px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: fp-up 0.55s ease both;
}

.factory-proof__spec li:nth-child(1) { animation-delay: 0.12s; }
.factory-proof__spec li:nth-child(2) { animation-delay: 0.18s; }
.factory-proof__spec li:nth-child(3) { animation-delay: 0.24s; }
.factory-proof__spec li:nth-child(4) { animation-delay: 0.3s; }

.factory-proof__spec strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.factory-proof__spec span {
  color: #9aa6b6;
  font-size: 0.92rem;
  font-weight: 550;
}

.factory-proof__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  animation: fp-up 0.7s ease 0.38s both;
}

.factory-proof__clips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.factory-proof__clip {
  display: grid;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.factory-proof__clip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #0b1326;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.factory-proof__clip span {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #b8c4d4;
  border-bottom: 1px solid transparent;
}

.factory-proof__clip:hover span {
  color: #f3f5f7;
  border-bottom-color: rgba(243, 245, 247, 0.55);
}

.about-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.about-jump a {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.about-jump a:hover {
  color: var(--text-1);
  border-bottom-color: currentColor;
}

#factory-floor,
#factory-process,
#factory-ship {
  scroll-margin-top: 96px;
}

.factory-proof__cta .btn-outline,
.factory-proof__cta .btn-primary {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.factory-proof__cta .btn-outline {
  background: transparent;
  color: #f3f5f7;
  border-color: rgba(255, 255, 255, 0.28);
}

.factory-proof__cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.45);
}

@keyframes fp-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes fp-kicker {
  from { opacity: 0; letter-spacing: 0.34em; }
  to { opacity: 1; letter-spacing: 0.2em; }
}

@keyframes fp-drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (max-width: 900px) {
  .factory-proof {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .factory-proof__visual::after {
    background: linear-gradient(180deg, transparent 48%, rgba(12, 18, 28, 0.82) 100%);
  }

  .factory-proof__copy {
    padding: 28px var(--container-pad) 40px;
    box-shadow: none;
  }

  .factory-proof__copy h2 {
    max-width: none;
    font-size: clamp(1.55rem, 6.2vw, 2rem);
  }

  .factory-proof__lede {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .factory-proof__spec {
    margin-top: 22px;
  }

  .factory-proof__spec li {
    grid-template-columns: minmax(5.5rem, 0.38fr) 1fr;
    padding: 11px 0;
  }

  .factory-proof__visual,
  .factory-proof__video {
    min-height: 200px;
    max-height: 240px;
  }

  .factory-proof__clips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
  }

  .factory-proof__cta {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .factory-proof__cta .btn-outline,
  .factory-proof__cta .btn-primary {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 420px) {
  .factory-proof__cta {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .factory-proof__kicker,
  .factory-proof__copy h2,
  .factory-proof__lede,
  .factory-proof__spec li,
  .factory-proof__cta,
  .factory-proof__video {
    animation: none;
  }
}

/* ---- Product cards: catalog plate ---- */
.product-grid {
  gap: 22px;
}

.product-grid::before,
.product-grid::after {
  display: none;
}

.product-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.22s ease;
}

.product-card::before,
.product-card::after {
  display: none;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 86, 219, 0.2);
  box-shadow: 0 28px 60px rgba(11, 18, 32, 0.1);
}

.product-img,
.product-img.product-img--gallery,
.product-card--cabinet-orange .product-img--gallery,
.product-img--pb,
.product-img--cable {
  background:
    radial-gradient(120% 80% at 50% 0%, #ffffff 0%, #f6f7f9 100%);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.product-img::before,
.product-img::after {
  display: none;
}

.product-img img,
.product-img--gallery img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 240px;
  padding: 20px 16px;
  filter: none;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}

/* Shared cables are tall product shots — give them more display height so they stay sharp */
.product-img--cable {
  min-height: 320px;
}

.product-img--cable img {
  max-height: 400px;
  padding: 12px 10px;
  image-rendering: auto;
}

.product-card:hover .product-img img {
  transform: none;
}

.product-card--cabinet-orange {
  border-color: rgba(194, 65, 12, 0.16);
}

.product-info {
  padding: 1.1rem 1.25rem 1.3rem;
  background: #fff;
  border-top: none;
}

.product-info h3 {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-1);
  line-height: 1.3;
}

.product-info p {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: 14px;
  letter-spacing: -0.01em;
}

.product-info p::after {
  content: " →";
}

.spec-badge-list {
  gap: 6px;
  margin-top: 12px;
}

.spec-badge {
  background: #f3f5f8;
  border: 1px solid transparent;
  color: #526074;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  padding: 5px 9px;
  box-shadow: none;
}

.product-subnav {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-soft) !important;
  backdrop-filter: blur(12px);
  border-radius: 16px !important;
  padding: 10px 12px !important;
  gap: 8px !important;
}

.product-subnav::before {
  display: none !important;
}

.product-subnav .cat-btn {
  background: transparent !important;
  color: var(--text-2) !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 0.86rem !important;
  padding: 9px 14px !important;
}

.product-subnav .cat-btn:hover {
  background: #f3f5f8 !important;
  color: var(--text-1) !important;
}

.product-subnav .cat-btn.active {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #fff !important;
}

.catalog-cta-strip {
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  border-radius: 16px;
  padding: 18px 20px;
}

/* ---- Factory / scenarios section ---- */
.below-blog-section {
  background:
    radial-gradient(80% 60% at 10% 0%, rgba(26, 86, 219, 0.05), transparent 55%),
    linear-gradient(180deg, #f6f8fb 0%, #eef2f7 100%);
  padding: var(--section-pad) 0;
}

.below-blog-section::before,
.below-blog-section::after {
  display: none;
}

.below-blog-section .section-title h2,
.below-blog-section .section-title p {
  color: inherit;
}

.below-blog-section .section-title p {
  color: var(--text-3);
  max-width: 42rem;
}

.scenario-grid-wrap {
  margin: 8px 0 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.scenario-grid-head h3 {
  color: var(--text-1);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.scenario-grid-head p {
  color: var(--text-3);
}

.scenario-card {
  gap: 12px;
}

.scenario-card__media {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.scenario-card:hover .scenario-card__media {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

.scenario-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.01);
  padding: 0;
  transition: transform 0.45s ease;
}

.scenario-card:hover .scenario-card__media img {
  transform: scale(1.04);
}

.scenario-card__meta {
  display: grid;
  gap: 4px;
  padding: 0 2px;
}

.scenario-card__label {
  margin: 0;
  color: var(--text-1);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-align: left;
  text-shadow: none;
}

.scenario-card__sku {
  margin: 0;
  color: var(--text-3);
  font-size: 0.84rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.scenario-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}

.scenario-footer .btn-outline,
.scenario-footer .btn-primary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
}

.merge-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1.6rem;
}

.merge-card h3 {
  color: var(--text-1);
  font-size: 1.05rem;
}

.merge-card p {
  color: var(--text-3);
}

.merge-card i {
  color: var(--accent);
}

.below-blog-section .merge-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.below-blog-section .merge-card h3 {
  color: var(--text-1);
}

.below-blog-section .merge-card p {
  color: var(--text-3);
}

.below-blog-section .merge-card i {
  color: var(--accent);
}

/* ---- Cases & FAQ ---- */
.cases-section,
.faq-section {
  padding: var(--section-pad) 0;
  background: #fff;
}

.cases-section .section-title h2,
.faq-section .section-title h2,
.cases-section .section-title p,
.faq-section .section-title p {
  color: inherit;
}

.cases-section .section-title p,
.faq-section .section-title p {
  color: var(--text-3);
}

.cases-section .case-card-stat {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.cases-section .case-card-stat .big-stat {
  color: var(--accent);
}

.faq-search {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-2);
}

.faq-item details {
  background: #fff;
  border: 1px solid var(--border);
}

.faq-item summary {
  color: var(--text-1);
}

.faq-item .faq-answer {
  color: var(--text-3);
}

/* ---- Blog: light editorial (matches new cover art) ---- */
.blog-section {
  min-height: auto;
  display: block;
  padding: var(--section-pad) 0;
  background: #f8fafc;
}

.blog-section::before,
.blog-section::after {
  display: none;
}

.blog-section .section-title h2 {
  color: var(--text-1);
}

.blog-section .section-title p {
  color: var(--text-3);
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.blog-card::before {
  display: none;
}

.blog-media {
  height: 180px;
  background-color: #e2e8f0;
}

.blog-media.is-cover::after {
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.35) 100%);
}

.blog-body h3 {
  color: var(--text-1);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
}

.blog-body p {
  color: var(--text-3);
}

.blog-meta {
  color: var(--text-3);
  font-weight: 600;
}

.blog-card .blog-read-link {
  color: var(--accent);
}

.blog-badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-1);
  border: 1px solid var(--border);
}

/* ---- Cards shared ---- */
.merge-card:hover,
.blog-card:hover,
.case-card-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 78, 216, 0.16);
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* ---- Floating widgets: quieter ---- */
.customer-trigger {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.customer-trigger span {
  display: none;
}

.wa-float {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
}

.to-top {
  background: #fff;
  color: var(--text-1);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* ---- Insight modal ---- */
.insight-modal {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.insight-modal__panel {
  background: #fff;
  border: 1px solid var(--border);
}

.insight-modal__close {
  background: #fff;
  color: var(--text-1);
  border: 1px solid var(--border);
}

.insight-article {
  color: var(--text-2);
}

.insight-article h1,
.insight-article h2 {
  color: var(--text-1);
}

.insight-article .sub,
.insight-article p,
.insight-article ul,
.insight-article ol {
  color: var(--text-2);
}

.insight-article figcaption {
  color: var(--text-3);
  background: #f8fafc;
}

.insight-article .callout {
  background: #f0f9ff;
  border-left-color: var(--accent);
  color: var(--text-2);
}

.insight-article__meta {
  color: var(--text-3);
  border-bottom-color: var(--border);
}

.insight-article__meta a {
  color: var(--accent);
}

.insight-article .cta-row .btn {
  background: #f8fafc;
  border-color: var(--border);
  color: var(--text-2);
}

.insight-article .cta-row .btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

@media (max-width: 768px) {
  :root {
    --section-pad: 72px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-title .title-accent {
    font-size: clamp(1.1rem, 4.5vw, 1.45rem);
  }
}

/* ---- OEM page: keep videos, remove "template cinema" feel ---- */
.oem-fs-page {
  margin-top: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  transform: none;
}

.oem-fs-section {
  min-height: auto;
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.oem-fs-section::before {
  display: none;
}

.oem-fs-media {
  filter: saturate(0.92) contrast(0.94) brightness(1.02);
}

.oem-fs-media[data-oem-video] {
  filter: saturate(0.9) contrast(0.92) brightness(1.03);
}

.oem-fs-mask,
.oem-fs-section--hero .oem-fs-mask,
.oem-fs-section--cinematic .oem-fs-mask,
.oem-fs-section--interactive .oem-fs-mask {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.84) 0%, rgba(248, 250, 252, 0.90) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(248, 250, 252, 0.08) 100%);
  backdrop-filter: blur(4px);
}

.oem-fs-inner {
  width: min(1180px, 94vw);
  color: var(--text-2);
  transform: none;
  opacity: 1;
}

.oem-fs-kicker {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--accent);
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.oem-fs-title,
.oem-fs-section--hero .oem-fs-title {
  color: var(--text-1);
  max-width: 15ch;
  font-size: clamp(1.95rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.oem-fs-desc,
.oem-fs-section--hero .oem-fs-desc {
  color: var(--text-2);
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.78;
}

.oem-fs-tech-row {
  gap: 14px;
  margin-top: 22px;
}

.oem-fs-tech-pill,
.oem-fs-step,
.oem-fs-stat,
.oem-lux-glass,
.oem-lux-step {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
  color: var(--text-2);
  backdrop-filter: blur(12px);
}

.oem-pill-top,
.oem-fs-mini-note,
.oem-lux-step span,
.oem-fs-step p,
.oem-fs-stat .note {
  color: var(--text-3);
}

.oem-pill-value,
.oem-lux-glass strong,
.oem-fs-step strong,
.oem-lux-step strong,
.oem-fs-stat .label {
  color: var(--text-1);
}

.oem-fs-stat .value {
  color: var(--accent);
}

.seo-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 22px;
  font-size: 0.88rem;
  font-weight: 650;
}

.seo-product-links a {
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

.seo-product-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.oem-pay-matrix {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.oem-pay-matrix__title {
  margin: 0 0 10px;
  font-weight: 750;
  color: var(--text-1);
  font-size: 0.95rem;
}

.oem-pay-matrix__list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  color: var(--text-2);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .oem-pay-matrix__list {
    grid-template-columns: 1fr;
  }
}

.oem-hero-right {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.oem-backend-caption {
  color: var(--text-2);
  background: #f8fafc;
  border: 1px solid var(--border);
}

.oem-backend-caption strong {
  color: var(--text-1) !important;
}

.oem-backend-demo {
  border: 1px solid var(--border);
  background: #e2e8f0;
  box-shadow: none;
}

.oem-fs-cert-table {
  color: var(--text-2);
  font-size: 0.84rem;
}

.oem-fs-cert-table th,
.oem-fs-cert-table td {
  border: 1px solid #e2e8f0;
  background: #fff;
}

.oem-fs-cert-table th {
  color: var(--text-1);
  background: #f8fafc;
}

.oem-fs-divider {
  display: none;
}

.oem-page-dots {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.oem-dot {
  border-color: rgba(148, 163, 184, 0.8);
  background: rgba(148, 163, 184, 0.35);
}

.oem-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

@media (max-width: 980px) {
  .oem-fs-section {
    padding: 72px 0;
  }

  .oem-fs-title,
  .oem-fs-section--hero .oem-fs-title {
    max-width: none;
    font-size: clamp(1.65rem, 7vw, 2.2rem);
  }

  .oem-fs-actions .btn-primary,
  .oem-fs-actions .btn-outline {
    width: auto;
  }
}

/* ---- Contact and footer ---- */
#contactPage {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.contact-block {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.contact-info {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--text-2);
  border-right: 1px solid var(--border);
}

.contact-info h2,
.contact-info h1 {
  color: var(--text-1) !important;
}

.contact-info p,
.contact-info div,
.contact-info a.contact-info__link {
  color: var(--text-2);
}

.contact-info i {
  color: var(--accent);
}

.contact-form {
  background: #ffffff;
}

.contact-form-title {
  color: var(--text-1);
}

.form-control {
  border-color: #dbe3ee;
  background: #fff;
  color: var(--text-2);
}

.form-control:focus {
  border-color: rgba(29, 78, 216, 0.34);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.08);
}

.footer-top-note {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-2);
}

.footer-row {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.footer-title,
.footer-social-label {
  color: var(--text-1);
}

.footer-sub,
.footer-contact-item,
.footer-top-note,
.footer-contact-item a {
  color: var(--text-2);
}

.footer-nav-list a {
  color: var(--text-2);
}

.footer-nav-list a:hover,
.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-icons a {
  border-color: var(--border);
  box-shadow: none;
}

/* ---- About page cards and media ---- */
.about-stat-card,
.about-process-card,
.contact-block,
.media-slot,
.image-placeholder {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.about-process-card,
.about-stat-card {
  background: #fff;
}

.about-process-body h3,
.about-stat-card .num {
  color: var(--text-1);
}

.about-process-body p,
.about-stat-card .label,
.about-process-lead {
  color: var(--text-3);
}

.about-process-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.about-main-visual-slot,
.factory-video-slot {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #0b1326;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.about-main-visual-video,
.factory-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0b1326;
}

.about-process-step {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  margin: 0;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.about-ship-section {
  margin-top: 46px;
}

.about-ship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.about-ship-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.about-ship-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #0b1326;
}

.about-ship-card figcaption {
  padding: 14px 16px 16px;
  display: grid;
  gap: 6px;
}

.about-ship-card figcaption strong {
  color: var(--text-1);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.about-ship-card figcaption span {
  color: var(--text-3);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .about-ship-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Products page — catalog polish pass
   ========================================================= */

body[data-tj-route="products"],
#allProductsPage,
#productListPage,
#productDetailPage {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(26, 86, 219, 0.045) 0%, transparent 60%),
    linear-gradient(180deg, #f7f8fa 0%, #f1f3f6 55%, #eef1f5 100%);
}

.product-detail-page-wrap::before,
#allProductsPage::before,
#productListPage::before,
#productDetailPage::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

#allProductsPage > .container,
#productListPage > .container,
#productDetailPage > .container,
.product-detail-page-wrap > .container {
  position: relative;
  z-index: 1;
}

#allProductsPage .section-title h2,
#allProductsPage .section-title h1,
#productListPage .section-title h2,
#productDetailPage .section-title h2 {
  color: var(--text-1);
}

#allProductsPage .section-title p,
#productListPage .section-title p {
  color: var(--text-3);
}

#allProductsPage .page-top-pad,
#productListPage .page-top-pad,
#productDetailPage .page-top-pad,
.product-detail-page-wrap {
  padding-top: 28px;
}

.product-img,
.product-img.product-img--gallery,
.product-card--cabinet-orange .product-img--gallery,
.product-img--pb,
.product-img--cable {
  background:
    radial-gradient(120% 80% at 50% 0%, #ffffff 0%, #f6f7f9 100%);
}

.product-info {
  background: #fff;
}

.catalog-cta-strip {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  align-items: center;
}

.catalog-cta-copy {
  color: var(--text-2);
  font-weight: 600;
}

.catalog-cta-copy strong {
  color: var(--text-1);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.catalog-cta-strip .download-catalog-btn {
  border-radius: 12px !important;
  box-shadow: 0 10px 24px rgba(26, 86, 219, 0.22) !important;
}

/* Detail gallery — studio plate */
.pd-hero {
  gap: clamp(20px, 2.8vw, 36px);
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.detail-gallery-frame,
.detail-gallery-frame--orange {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  border-radius: 20px;
  overflow: hidden;
}

.detail-gallery-frame::before {
  display: none;
}

.detail-gallery-main {
  min-height: min(48vw, 360px);
  padding: clamp(16px, 3vw, 36px);
  background:
    radial-gradient(80% 70% at 50% 40%, #ffffff 0%, #f7f8fa 100%);
}

.detail-gallery-main img {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.detail-nav-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-1);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  width: 42px;
  height: 42px;
}

.detail-nav-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.detail-thumb-strip img,
.pd-thumb-row img,
.pd-thumb-row img.tj-cabinet-shot {
  background: #fff !important;
  border: 1px solid var(--border);
  opacity: 1;
  box-shadow: none;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.detail-thumb-strip img:hover,
.pd-thumb-row img:hover {
  transform: translateY(-1px);
}

.detail-thumb-strip img.is-active,
.pd-thumb-row img.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(26, 86, 219, 0.16);
  opacity: 1;
}

.pd-zoom-badge {
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  font-weight: 650;
  box-shadow: var(--shadow-soft);
}

/* Detail info — quiet paper panel */
.pd-col-info {
  padding-top: 4px;
}

.pd-col-info::before {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  border-radius: 22px;
  inset: -14px -16px -16px -12px;
  pointer-events: none;
}

.pd-title {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--text-1);
  -webkit-text-fill-color: var(--text-1);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 16px;
}

.pd-selling-row {
  gap: 10px;
  margin-bottom: 16px;
}

.pd-selling-item {
  color: var(--text-2);
  background: #f5f6f8;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 0.9rem;
  font-weight: 600;
}

.pd-selling-item i {
  color: var(--accent);
}

.pd-mini-tag {
  background: #eef1f5;
  border: 1px solid transparent;
  color: #3f4b5f;
  font-weight: 700;
  border-radius: 999px;
  padding: 7px 12px;
}

.pd-oem-pill {
  background: #eef4ff;
  border: 1px solid #d5e3ff;
  color: #1e3a8a;
  box-shadow: none;
  border-radius: 14px;
}

.pd-theme-orange .pd-mini-tag {
  background: #fff4ea;
  border-color: transparent;
  color: #9a3412;
}

.pd-theme-orange .pd-oem-pill {
  background: #fff4ea;
  border-color: #ffd7b5;
  color: #9a3412;
}

.pd-stack-tabs,
.pd-stack-color-tabs {
  background: #eef2f7;
  border: 1px solid #d5dde8;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0 14px;
  position: relative;
  z-index: 2;
}

.pd-stack-tabs__label,
.pd-stack-color-tabs__label {
  color: #334155;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  margin-bottom: 10px;
}

.pd-stack-color-tabs__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pd-stack-tab,
.pd-stack-color-tab,
.pd-color-tab {
  background: #fff;
  border: 1.5px solid #c9d4e3;
  color: #1e293b;
  border-radius: 999px;
  font-weight: 750;
  padding: 8px 14px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pd-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.pd-color-tab.is-white .pd-color-dot,
.pd-stack-color-tab.is-white .pd-color-dot {
  background: linear-gradient(145deg, #ffffff, #e5e7eb);
}

.pd-color-tab.is-orange .pd-color-dot,
.pd-stack-color-tab.is-orange .pd-color-dot {
  background: linear-gradient(145deg, #fb923c, #ea580c);
}

.pd-color-tab.is-yellow .pd-color-dot,
.pd-stack-color-tab.is-yellow .pd-color-dot {
  /* realistic ABS taxi yellow */
  background: linear-gradient(145deg, #f2d04a, #d4a017 55%, #b8860b);
  box-shadow: inset 0 1px 0 rgba(255, 248, 210, 0.55);
}

.pd-color-tab.is-cyan .pd-color-dot,
.pd-stack-color-tab.is-cyan .pd-color-dot {
  /* realistic teal-cyan ABS */
  background: linear-gradient(145deg, #6fd4d8, #1aa8b0 55%, #0e7480);
  box-shadow: inset 0 1px 0 rgba(210, 250, 252, 0.45);
}

.pd-stack-tab:hover,
.pd-stack-color-tab:hover,
.pd-color-tab:hover {
  border-color: rgba(26, 86, 219, 0.4);
  background: #f3f7ff;
  transform: translateY(-1px);
}

.pd-stack-tab.is-active,
.pd-stack-color-tab.is-active,
.pd-color-tab.is-active {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.12);
}

.pd-stack-color-tab.is-active .pd-color-dot,
.pd-color-tab.is-active .pd-color-dot {
  border-color: rgba(255, 255, 255, 0.55);
}

.pd-theme-orange .pd-stack-tab.is-active,
.pd-theme-orange .pd-stack-color-tab.is-active,
.pd-theme-orange .pd-color-tab.is-active {
  border-color: #c2410c;
  background: #c2410c;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(194, 65, 12, 0.16);
}

.pd-cta-row {
  gap: 10px;
  margin-top: 4px;
}

.pd-cta-row .btn-primary,
.pd-cta-row .btn-outline {
  border-radius: 12px;
  font-weight: 750;
}

.pd-trust-row {
  color: var(--text-3);
  font-size: 0.8rem;
}

.pd-trust-row i {
  color: var(--accent);
}

/* Bento / content cards */
.pd-bento {
  gap: clamp(16px, 2.4vw, 22px);
}

.pd-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  border-radius: 20px;
  padding: clamp(20px, 2.6vw, 28px);
}

.pd-card::before {
  display: none;
}

.pd-card h2 {
  color: var(--text-1);
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.pd-card .pd-prose {
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.78;
}

.pd-spec-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.pd-spec-table th {
  color: var(--text-1);
  background: #f5f6f8;
  font-weight: 750;
  width: 32%;
}

.pd-spec-table td {
  color: var(--text-2);
}

.pd-spec-table th,
.pd-spec-table td {
  border-bottom-color: #e8ecf1;
  padding: 13px 15px;
}

.pd-apps-item,
.pd-factory-item,
.pd-oem-cell {
  background: #f7f8fa;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.pd-apps-item:hover,
.pd-factory-item:hover {
  border-color: rgba(26, 86, 219, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pd-apps-item figcaption,
.pd-factory-item p,
.pd-oem-cell {
  color: var(--text-2);
}

.pd-oem-cell i {
  color: var(--accent);
}

.pd-related-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.pd-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 86, 219, 0.18);
  box-shadow: var(--shadow-lg);
}

.pd-related-card img {
  background: #f7f8fa !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  height: 150px;
  padding: 16px;
}

.pd-related-card h4 {
  color: var(--text-1);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.pd-related-card .pd-rc-spec {
  color: var(--text-3);
}

/* Product chrome */
body[data-tj-route="products"] footer {
  background: #0b1220;
}

body[data-tj-route="products"] .page-crumb {
  margin-bottom: 14px;
  font-size: 0.82rem;
}

body[data-tj-route="products"] .page-crumb a {
  color: var(--accent);
  font-weight: 650;
}

body[data-tj-route="products"] .back-arrow.is-floating {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  color: var(--text-1);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

body[data-tj-route="products"] .back-arrow.is-floating:hover {
  background: #fff;
  border-color: rgba(26, 86, 219, 0.24);
}

/* Shared button polish */
.btn-primary {
  background: var(--accent);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(26, 86, 219, 0.24);
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -0.01em;
}

.btn-outline {
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text-1);
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: none;
}

.inquiry-btn {
  border-radius: 999px !important;
  font-weight: 750 !important;
}

.navbar .logo {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.nav-links a {
  font-weight: 650;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .pd-col-info::before {
    inset: -10px -10px -12px -8px;
    border-radius: 18px;
  }
}

/* Product pages: never force width+height together (that stretches the photo) */
#allProductsPage .product-img,
#productListPage .product-img,
#productDetailPage .product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  overflow: hidden;
}

#allProductsPage .product-img img,
#productListPage .product-img img,
#productDetailPage .product-img img,
#allProductsPage .product-img--gallery img,
#productListPage .product-img--gallery img,
#productDetailPage .product-img--pb img,
#productDetailPage .product-img--cable img {
  width: auto !important;
  height: auto !important;
  max-width: calc(100% - 28px) !important;
  max-height: 240px !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 12px !important;
  margin: 0 auto;
  filter: none !important;
  transform: none !important;
}

#allProductsPage .product-img--cable img,
#productListPage .product-img--cable img,
#productDetailPage .product-img--cable img {
  max-height: 420px !important;
  max-width: calc(100% - 16px) !important;
  padding: 8px !important;
}

#productDetailPage .detail-gallery-main.product-img--cable,
#productDetailPage .detail-gallery-main:has(img[src*="charging-cable"]) {
  min-height: 360px;
}

#productDetailPage .detail-gallery-main:has(img[src*="charging-cable"]) img {
  max-height: min(72vh, 640px) !important;
}

#allProductsPage .product-card:hover .product-img img,
#productListPage .product-card:hover .product-img img {
  transform: none !important;
}

#productDetailPage .detail-gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

#productDetailPage .detail-gallery-main img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(68vh, 560px) !important;
  object-fit: contain !important;
  object-position: center !important;
}

#productDetailPage .pd-thumb-row img,
#productDetailPage .detail-thumb-strip img,
#productDetailPage .pd-related-card img {
  object-fit: contain !important;
  object-position: center !important;
}

#productDetailPage .pd-related-card img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 160px;
  margin: 12px auto;
  display: block;
}

@media (max-width: 768px) {
  #allProductsPage .product-img,
  #productListPage .product-img {
    min-height: 220px;
  }

  #allProductsPage .product-img img,
  #productListPage .product-img img {
    max-height: 200px !important;
  }

  #allProductsPage .product-img--cable,
  #productListPage .product-img--cable {
    min-height: 280px;
  }

  #allProductsPage .product-img--cable img,
  #productListPage .product-img--cable img {
    max-height: 320px !important;
  }
}
