/* CHIBA Site Overrides - Canonical Baseline with Mobile Optimizations */
.pending { display: block; color: #7a5610; font-size: 0.9rem; font-weight: 700; }
.detail dt { color: #5e6872; }
.hero .eyebrow { color: #ff7278; }
.split .eyebrow { color: #b61f29; }

/* Keep the entire source photograph visible in every product image box */
.gallery { align-content: start; align-items: start; }
.gallery img, .gallery img:first-child, .card img, .hero-image img {
  object-fit: contain;
  object-position: center;
  background: #fff;
  display: block;
}
.gallery img { height: auto; max-width: 100%; }
.product > * { min-width: 0; }
.detail h1, .detail dd { overflow-wrap: anywhere; }

/* Focus outlines for accessibility */
a:focus-visible, button:focus-visible { outline: 3px solid #b92027; outline-offset: 4px; }
.variant-option:focus-visible { outline: 3px solid #b92027; outline-offset: 3px; }

/* Responsive adjustments */
@media (min-width: 801px) and (max-width: 1100px) {
  .nav nav { gap: 12px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product { gap: 24px; padding: 48px 4vw; }
}

/* Colour pills & variant options for cycling & fitness */
.colour-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px !important;
}
.colour-list span {
  border: 1px solid #c8cbca;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.72rem;
  line-height: 1.35;
}
.variant-picker { margin: 26px 0; }
.variant-picker h2 { font-size: 1rem; margin: 0 0 10px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-option {
  appearance: none;
  background: #fff;
  border: 1px solid #aeb3b0;
  padding: 8px 11px;
  color: #101318;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}
.variant-option:hover, .variant-option:focus-visible {
  border-color: #d42b31;
  outline: 2px solid transparent;
}
.variant-option.active {
  background: #101318;
  border-color: #101318;
  color: #fff;
}
.admin-only { margin: 25px 7vw 0; }
.admin-only ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.fitness-card strong, .cycling-card strong { display: block; margin-top: 6px; }

@media (max-width: 800px) {
  .variant-option { min-height: 42px; }
  .colour-list span { font-size: 0.7rem; }
  .fitness-product .gallery, .cycling-product .gallery { order: 0; }
}

/* Catalogue & Card overrides */
.catalogue-controls {
  display: flex;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}
.catalogue-controls label { display: grid; gap: 0.4rem; }
.catalogue-controls input, .catalogue-controls select, footer select {
  font: inherit;
  padding: 0.65rem;
  border: 1px solid #666;
  background: #fff;
  color: #202830;
  max-width: 100%;
}
.catalogue-controls [role=status] { flex-basis: 100%; color: #505860; }
.card[hidden] { display: none !important; }
.order-contact { margin: 0.5rem 0 0.5rem 0.5rem; }
footer a { color: inherit; text-decoration: underline; }
.contact-links { line-height: 2; }
.card img { height: auto; aspect-ratio: 1/1; }

/* Size Guide styles */
.size-hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  padding: 72px 7vw;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.size-hero:before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border: 72px solid rgba(240, 68, 74, 0.07);
  border-radius: 50%;
  right: -160px;
  top: -190px;
  pointer-events: none;
}
.size-hero > div { position: relative; z-index: 1; }
.size-hero h1 {
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
  margin: 0.1em 0 0.2em;
}
.size-hero p:not(.eyebrow) { max-width: 580px; color: #505860; }
.size-hero .button { margin-top: 14px; }
.size-hero-mark {
  justify-self: end;
  width: min(100%, 300px);
  aspect-ratio: 1;
  border: 1px solid #c8cbca;
  background: #f4f4f1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(-8deg);
}
.size-hero-mark span { font-size: 5rem; font-weight: 900; line-height: 0.8; color: #d42b31; }
.size-hero-mark strong { font-size: 2.2rem; line-height: 1.1; }
.size-hero-mark small { color: #67727d; }

.size-content { padding: 72px 7vw; }
.size-content:nth-of-type(2) { background: #fff; }
.size-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin: 0.1em 0 0.7em;
  letter-spacing: -0.05em;
}
.size-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0 48px;
}
.size-steps article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
}
.size-steps article > span {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}
.size-steps h3 { margin: 12px 0 4px; font-size: 1.25rem; }
.size-steps p { margin: 0; color: #505860; }

.size-measurement-image {
  margin: 0 auto 48px;
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--line);
}
.size-measurement-image img { display: block; width: 100%; height: auto; }
.size-measurement-image figcaption {
  padding: 10px 14px;
  color: #505860;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.size-checker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 28px;
  background: #fff4f1;
  border: 1px solid #f5c5c2;
}
.size-checker h2 { margin: 0.1em 0 0.3em; }
.size-checker p { margin: 0.3em 0; }
.size-checker form { background: #fff; padding: 22px; border: 1px solid var(--line); }
.size-checker label { display: block; font-weight: bold; margin-bottom: 8px; }
.size-input { display: flex; gap: 8px; }
.size-input input {
  min-width: 0;
  flex: 1;
  border: 1px solid #7d858a;
  padding: 11px;
  font: inherit;
}
.size-input .button { border: 0; cursor: pointer; }
.size-result { min-height: 1.6em; color: #17633b; font-weight: bold; }
.size-result[data-state=error] { color: #a32227; }

.size-reference { background: #f7f7f5; border-top: 1px solid var(--line); }
.size-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0;
}
.size-tables h3 { margin: 0 0 10px; }
.table-scroll {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}
.size-tables table { width: 100%; min-width: 430px; margin: 0; }
.size-tables th, .size-tables td { white-space: nowrap; }

.size-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.size-links a {
  display: grid;
  gap: 4px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(16, 19, 24, 0.05);
  color: var(--ink);
  text-decoration: none;
}
.size-links a:hover, .size-links a:focus-visible { border-color: var(--red); }
.size-links strong { font-size: 1.3rem; }
.size-links span { color: #5d666d; }

.size-notes { display: grid; gap: 14px; margin: 24px 0; }
.size-notes > p { margin: 0; color: #505860; }
.size-notes .size-note { margin: 0; }
.size-note {
  padding: 20px 24px;
  border-left: 5px solid #d09900;
  background: #fff2c8;
}
.size-note p { margin: 0.3em 0 0; }
.size-note a { color: inherit; font-weight: bold; }

@media (max-width: 800px) {
  .size-hero { grid-template-columns: 1fr; padding: 42px 5vw; }
  .size-hero-mark { justify-self: start; width: 190px; }
  .size-content { padding: 42px 5vw; }
  .size-steps, .size-checker, .size-links { grid-template-columns: 1fr; }
  .size-checker { padding: 20px; }
  .size-steps { gap: 10px; margin-bottom: 32px; }
  .size-tables { grid-template-columns: 1fr; }
  .size-tables > * { min-width: 0; }
}

/* Size Guide Navigation override */
body:has(.size-hero) .nav {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(16, 19, 24, 0.06);
}
body:has(.size-hero) .nav nav a { color: var(--ink); }
body:has(.size-hero) .menu { color: var(--ink); }
body.open:has(.size-hero) .nav nav {
  background: #fff;
  color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 8px 16px rgba(16, 19, 24, 0.08);
}
body.open:has(.size-hero) .nav nav a { color: var(--ink); }

/* Homepage Navigation & Hero overrides */
body:has(> .nav + main > .hero) .nav {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(16, 19, 24, 0.06);
}
body:has(> .nav + main > .hero) .nav nav a { color: var(--ink); }
body:has(> .nav + main > .hero) .menu { color: var(--ink); }
body.open:has(> .nav + main > .hero) .nav nav {
  background: #fff;
  color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 8px 16px rgba(16, 19, 24, 0.08);
}
body.open:has(> .nav + main > .hero) .nav nav a { color: var(--ink); }

body:has(> .nav + main > .hero) .hero {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
body:has(> .nav + main > .hero) .hero > div { position: relative; z-index: 1; }
body:has(> .nav + main > .hero) .hero .eyebrow { color: var(--red); }
body:has(> .nav + main > .hero) .hero h1 {
  font-size: clamp(2.3rem, 6vw, 6.5rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
}
body:has(> .nav + main > .hero) .hero .hero-description {
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  color: #505860;
  max-width: 620px;
}
body:has(> .nav + main > .hero) .hero-image {
  background: #343638;
  border: 1px solid #252729;
  box-shadow: 0 10px 30px rgba(16, 19, 24, 0.18);
}
body:has(> .nav + main > .hero) .hero-image img { mix-blend-mode: normal; }
body:has(> .nav + main > .hero) .text-link { color: var(--ink); }

/* Hero CTA action buttons spacing */
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}
.hero .actions .text-link {
  margin-left: 0;
}
@media (max-width: 800px) {
  .hero .actions {
    margin-top: 20px;
    gap: 14px;
  }
}

body:has(> .nav + main > .hero) .intro {
  background: #eef1f1;
  position: relative;
  overflow: hidden;
}
body:has(> .nav + main > .hero) .intro:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  filter: blur(1px);
  background: linear-gradient(90deg, rgba(238, 241, 241, 0.72), rgba(238, 241, 241, 0.32)), url("/assets/products/cycling/3010320-cool-air/cycling__3010320__a7986b17ffa56c67__3010320_01_7.jpg") center/cover no-repeat;
  pointer-events: none;
}
body:has(> .nav + main > .hero) .intro > * { position: relative; z-index: 1; }
body:has(> .nav + main > .hero) .intro .card {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(16, 19, 24, 0.12);
}

body:has(> .nav + main > .hero) .home-fitness-featured {
  background: #f0edf0;
  position: relative;
  overflow: hidden;
}
body:has(> .nav + main > .hero) .home-fitness-featured:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.44;
  filter: blur(1px);
  background: linear-gradient(90deg, rgba(240, 237, 240, 0.72), rgba(240, 237, 240, 0.3)), url("/assets/products/fitness/40945-lady-diamond/turquoise-18/fitness__40945__turquoise-18__1930a3ef7a41d24d__40945-18-1.jpg") center/cover no-repeat;
  pointer-events: none;
}
body:has(> .nav + main > .hero) .home-fitness-featured > * { position: relative; z-index: 1; }
body:has(> .nav + main > .hero) .home-fitness-featured .card {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(16, 19, 24, 0.12);
}
body:has(> .nav + main > .hero) .split {
  background: #f7f7f5;
  border-top: 1px solid var(--line);
}

/* Homepage Category Grid */
.home-categories {
  padding: 72px 7vw;
  background: #f7f7f5;
  border-bottom: 1px solid var(--line);
}
.home-section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}
.home-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
  margin: 0.1em 0 0.35em;
}
.home-section-heading p:not(.eyebrow) { color: #505860; margin: 0; }
.home-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.home-category {
  position: relative;
  display: block;
  min-height: 360px;
  overflow: hidden;
  background: #fff;
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--line);
}
.home-category:after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(16, 19, 24, 0.82));
}
.home-category img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.home-category span {
  position: absolute;
  z-index: 1;
  left: 26px;
  right: 26px;
  bottom: 24px;
  display: grid;
  gap: 4px;
}
.home-category small {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: bold;
  color: #ffb000;
}
.home-category strong {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
}
.home-category em { font-style: normal; font-weight: bold; }
.home-category:hover img, .home-category:focus-visible img { transform: scale(1.04); }
.home-category:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

@media (max-width: 800px) {
  .home-categories { padding: 42px 5vw; }
  .home-category-grid { grid-template-columns: 1fr; }
  .home-category, .home-category img { min-height: 280px; }
}

/* Homepage Featured Cycling Product */
.home-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  gap: 0;
  margin: 0 7vw 72px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(16, 19, 24, 0.06);
}
.home-featured-image {
  background: #f4f4f1;
  min-height: 420px;
}
.home-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}
.home-featured-copy h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
  margin: 0.1em 0 0.25em;
}
.home-featured-copy p:not(.eyebrow) {
  color: #505860;
  max-width: 430px;
}
.home-featured-price {
  font-size: 1.7rem;
  font-weight: bold;
  color: var(--ink) !important;
}
.home-featured-price small {
  font-size: 0.8rem;
  font-weight: normal;
  color: #67727d;
}
.home-featured-copy .button { align-self: flex-start; }

@media (max-width: 800px) {
  .home-featured { grid-template-columns: 1fr; margin: 0 5vw 42px; }
  .home-featured-image { min-height: 280px; }
  .home-featured-copy { padding: 30px 24px; }
}

/* Homepage Featured Fitness Section */
.home-fitness {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin: 0 7vw 72px;
  background: #f7f7f5;
  border: 1px solid var(--line);
}
.home-fitness-image {
  min-height: 340px;
  background: #fff;
}
.home-fitness-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-fitness-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}
.home-fitness-copy h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
  margin: 0.1em 0 0.3em;
}
.home-fitness-copy p:not(.eyebrow) {
  color: #505860;
  max-width: 420px;
}
.home-fitness-copy .button { align-self: flex-start; }

@media (max-width: 800px) {
  .home-fitness { grid-template-columns: 1fr; margin: 0 5vw 42px; }
  .home-fitness-image { min-height: 260px; }
  .home-fitness-copy { padding: 30px 24px; }
}

/* Prose headings line-height fix for Chinese typography */
.prose h1 { font-size: clamp(2.2rem, 5.5vw, 5rem); line-height: 1.25; }

@media (max-width: 800px) {
  body:has(> .nav + main > .hero) .hero-image {
    height: 300px;
    min-height: 0;
  }
  body:has(> .nav + main > .hero) .hero-image img {
    height: 100%;
    object-fit: cover;
  }
}

/* ==========================================================================
   CHIBA Technology Flagship Page Styles (Scoped to .tech-main)
   ========================================================================== */
.tech-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 4vw 64px;
  color: #1a1d20;
}

/* Tech Page Header */
.tech-page-header {
  margin: 32px 0 24px;
}
.tech-page-title {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #101318;
  line-height: 1.15;
  margin: 0;
}

/* Tech Hero */
.tech-hero {
  position: relative;
  background: #0d1117;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.tech-hero-banner {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #000;
}
.tech-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.85;
  display: block;
}
.tech-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,17,23,0.2) 0%, rgba(13,17,23,0.92) 80%, #0d1117 100%);
}
.tech-hero-content {
  position: relative;
  padding: 0 44px 40px;
  margin-top: -120px;
  z-index: 2;
}
.tech-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ff5e63;
  margin-bottom: 12px;
}
.tech-hero-eyebrow span {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #ff5e63;
}
.tech-hero-title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.2;
  font-weight: 850;
  color: #ffffff;
  margin: 0 0 16px;
}
.tech-hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.7;
  color: #e5e7eb;
  max-width: 820px;
  margin: 0;
}

/* Integrated Clinical Stat Strip */
.tech-stat-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(185, 32, 39, 0.95) 0%, rgba(144, 20, 26, 0.95) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 20px 28px;
  margin-top: 24px;
  color: #ffffff;
}
.tech-stat-strip-num {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #ffffff;
}
.tech-stat-strip-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: #ffffff;
}
.tech-stat-strip-text p {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.94;
  color: #ffffff;
}

/* Legacy Stat Callout Banner (fallback) */
.tech-stat-banner {
  background: linear-gradient(135deg, #b92027 0%, #90141a 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 32px 28px;
  margin: 36px 0 54px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(185,32,39,0.22);
}
.tech-stat-banner .stat-num {
  font-size: clamp(3rem, 7vw, 4.8rem);
  font-weight: 900;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.tech-stat-banner .stat-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 800;
  margin: 0 0 10px;
  color: #ffffff;
}
.tech-stat-banner .stat-detail {
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.94;
}

/* Sections */
.tech-section {
  margin: 54px 0;
}
.tech-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}
.tech-section-eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #b92027;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.tech-section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.25;
  font-weight: 800;
  color: #111827;
  margin: 0 0 12px;
}
.tech-section-lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* Nerve Analysis Horizontal Split-Row Layout */
.tech-nerve-rows {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
}
.tech-nerve-row {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 460px 1fr;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.tech-nerve-row:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.tech-nerve-visual {
  background: #f8fafc;
  border-right: 1px solid #f1f5f9;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.tech-nerve-visual img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.06));
  transition: transform 0.25s ease;
}
.tech-nerve-row:hover .tech-nerve-visual img {
  transform: scale(1.02);
}
.tech-nerve-visual-caption {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 14px;
  text-align: center;
  line-height: 1.4;
}
.tech-nerve-info {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tech-nerve-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 750;
  width: fit-content;
  margin-bottom: 12px;
}
.badge-ulnar { background: #e6f4ea; color: #137333; }
.badge-median { background: #e8f0fe; color: #1a73e8; }
.tech-nerve-info h3 {
  font-size: 1.6rem;
  font-weight: 850;
  color: #111827;
  margin: 0 0 16px;
  line-height: 1.25;
}
.tech-meta-item {
  margin-bottom: 14px;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #374151;
}
.tech-meta-item strong {
  color: #111827;
  font-weight: 750;
}
.tech-nerve-symptoms {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin-top: 18px;
  font-size: 0.92rem;
  color: #991b1b;
  line-height: 1.55;
}

/* BioXCell Spotlight */
.bioxcell-spotlight {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 44px;
  margin: 36px 0;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 44px;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.bioxcell-spotlight-img {
  text-align: center;
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
}
.bioxcell-spotlight-img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.bioxcell-spotlight-caption {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 14px;
  line-height: 1.45;
}
.bioxcell-pillars {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.bioxcell-pillar-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pillar-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #fee2e2;
  color: #b92027;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
}
.bioxcell-pillar-item h4 {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #0f172a;
}
.bioxcell-pillar-item p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* Materials & Functions 4-column Grid */
.tech-materials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.tech-material-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tech-material-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.tech-material-thumb {
  height: 160px;
  background: #f1f5f9;
  overflow: hidden;
  position: relative;
}
.tech-material-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.tech-material-card:hover .tech-material-thumb img {
  transform: scale(1.05);
}
.tech-material-icon-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  color: #b92027;
}
.tech-material-icon-box svg {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}
.tech-material-icon-box span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #475569;
}
.tech-material-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tech-material-tag {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: #b92027;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tech-material-body h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #111827;
}
.tech-material-body p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

/* Products Recommendation Grid */
.tech-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.tech-product-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tech-product-card:hover, .tech-product-card:focus-visible {
  transform: translateY(-3px);
  border-color: #b92027;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.tech-product-thumb {
  height: 200px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.tech-product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tech-product-info {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tech-product-series {
  font-size: 0.72rem;
  font-weight: 750;
  color: #b92027;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.tech-product-name {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #0f172a;
}
.tech-product-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 14px;
}
.tech-product-footer, .tech-product-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tech-product-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
}
.tech-product-link {
  font-size: 0.85rem;
  font-weight: 750;
  color: #b92027;
}

/* Mobile & Tablet Responsive Breakpoints for Tech Page */
@media (max-width: 900px) {
  .tech-hero-banner { height: 320px; }
  .tech-hero-content { margin-top: -60px; padding: 0 24px 28px; }
  .tech-stat-strip { flex-direction: column; text-align: center; gap: 12px; padding: 18px; }
  .tech-stat-strip-num { font-size: 2.6rem; }
  .tech-nerve-row { grid-template-columns: 1fr; }
  .tech-nerve-visual { border-right: none; border-bottom: 1px solid #f1f5f9; padding: 22px; }
  .tech-nerve-visual img { max-height: 320px; }
  .tech-nerve-info { padding: 24px 20px; }
  .bioxcell-spotlight { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; }
  .tech-materials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .tech-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .tech-main { padding: 0 4vw 48px; }
  .tech-page-header { margin: 20px 0 16px; }
  .tech-page-title { font-size: 1.75rem; }
  .tech-hero { margin-bottom: 24px; border-radius: 12px; }
  .tech-hero-title { font-size: 1.7rem; }
  .tech-hero-desc { font-size: 0.98rem; }
  .tech-section { margin: 42px 0; }
  .tech-section-title { font-size: 1.55rem; }
}

@media (max-width: 520px) {
  .tech-hero-banner { height: 260px; }
  .tech-hero-content { padding: 0 16px 20px; margin-top: -40px; }
  .tech-hero-title { font-size: 1.5rem; }
  .tech-hero-desc { font-size: 0.92rem; }
  .tech-nerve-visual img { max-height: 260px; }
  .tech-nerve-info h3 { font-size: 1.35rem; }
  .tech-materials-grid { grid-template-columns: 1fr; }
  .tech-products-grid { grid-template-columns: 1fr; gap: 16px; }
  .tech-product-thumb { height: 180px; }
}

/* ==========================================================================
   Header Language Switcher & Interactive Toast
   ========================================================================== */
.nav nav {
  align-items: center;
}
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
}
.nav-lang__btn {
  background: none;
  border: none;
  padding: 4px 6px;
  font-size: inherit;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  border-radius: 4px;
  line-height: 1;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-lang__btn.active {
  color: #ffffff;
  font-weight: 700;
  cursor: default;
}
.nav-lang__btn:not(.active):hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}
.nav-lang__divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  user-select: none;
}

/* Light Header Adaptation (Homepage & Size Guide) */
body:has(> .nav + main > .hero) .nav-lang,
body:has(.size-hero) .nav-lang {
  border-left-color: rgba(0, 0, 0, 0.15);
}
body:has(> .nav + main > .hero) .nav-lang__btn,
body:has(.size-hero) .nav-lang__btn {
  color: rgba(16, 19, 24, 0.55);
}
body:has(> .nav + main > .hero) .nav-lang__btn.active,
body:has(.size-hero) .nav-lang__btn.active {
  color: var(--ink);
}
body:has(> .nav + main > .hero) .nav-lang__btn:not(.active):hover,
body:has(.size-hero) .nav-lang__btn:not(.active):hover {
  color: var(--ink);
  background-color: rgba(0, 0, 0, 0.05);
}
body:has(> .nav + main > .hero) .nav-lang__divider,
body:has(.size-hero) .nav-lang__divider {
  color: rgba(0, 0, 0, 0.25);
}

/* Mobile Viewport Adaptation */
@media (max-width: 800px) {
  .nav-lang {
    margin-left: 0;
    margin-top: 16px;
    padding-left: 0;
    padding-top: 16px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }
  .nav-lang__btn {
    padding: 8px 18px;
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
  }
  .nav-lang__btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
  }
  .nav-lang__divider {
    display: none;
  }

  body.open:has(> .nav + main > .hero) .nav-lang,
  body.open:has(.size-hero) .nav-lang {
    border-top-color: rgba(0, 0, 0, 0.1);
  }
  body.open:has(> .nav + main > .hero) .nav-lang__btn,
  body.open:has(.size-hero) .nav-lang__btn {
    background: rgba(0, 0, 0, 0.04);
    color: rgba(16, 19, 24, 0.7);
  }
  body.open:has(> .nav + main > .hero) .nav-lang__btn.active,
  body.open:has(.size-hero) .nav-lang__btn.active {
    background: rgba(0, 0, 0, 0.1);
    color: var(--ink);
  }
}

/* Floating Toast Notification */
.lang-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #101318;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
}
/* ==========================================================================
   Products Hub (/zh-tw/products/) - Flagship Product Matrix & Heritage Showcase
   ========================================================================== */
.products-hub-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 4vw 72px;
  color: #101318;
}

/* Header */
.products-hub-header {
  margin: 36px 0 32px;
}
.products-hub-eyebrow {
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d42b31;
  margin: 0 0 10px;
}
.products-hub-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #101318;
  margin: 0 0 10px;
}
.products-hub-slogan {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: #d42b31;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.products-hub-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.65;
  color: #475569;
  max-width: 820px;
  margin: 0;
}
.products-hub-lead--strong {
  font-weight: 650;
  color: #1e293b;
  margin-bottom: 8px;
}
.products-hub-pillars {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 10px 20px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}
.products-hub-pillars .pillar-tag {
  font-size: 0.95rem;
  font-weight: 800;
  color: #101318;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.products-hub-pillars .pillar-sep {
  color: #d42b31;
  font-weight: 900;
  font-size: 0.9rem;
}

/* Section Common */
.products-section {
  margin: 48px 0;
}
.products-section-header {
  margin-bottom: 24px;
}
.products-badge-official {
  display: inline-block;
  background: #d42b31;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.products-badge-global {
  display: inline-block;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.products-section-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: #101318;
  margin: 0 0 8px;
}
.products-section-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* Active Lines Grid (2-Columns) */
.products-active-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.products-active-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.products-active-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
  border-color: #cbd5e1;
}
.products-active-media {
  position: relative;
  width: 100%;
  height: 360px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}
.products-active-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
  transition: transform 0.4s ease;
}
.products-active-card:hover .products-active-media img {
  transform: scale(1.05);
}
.products-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}
.products-active-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.products-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.products-sku-count {
  font-weight: 700;
  color: #d42b31;
}
.products-price-range {
  font-weight: 800;
  color: #0f172a;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
}
.products-active-body h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #101318;
  margin: 0 0 10px;
}
.products-active-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 18px;
}
.products-feature-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.products-feature-tags li {
  font-size: 0.76rem;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}
.products-btn-primary {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #101318;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.products-btn-primary:hover {
  background: #d42b31;
  transform: translateY(-1px);
}

/* Global Heritage Grid (4-Columns) */
.products-global-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.products-global-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.products-global-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}
.products-global-media {
  position: relative;
  width: 100%;
  height: 240px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}
.products-global-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.07));
  transition: transform 0.35s ease;
}
.products-global-card:hover .products-global-media img {
  transform: scale(1.06);
}
.products-global-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}
.products-global-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.products-global-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #101318;
  margin: 0 0 4px;
}
.products-global-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: #d42b31;
  margin: 0 0 10px;
}
.products-global-text {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 14px;
  flex: 1;
}
.products-global-highlight {
  font-size: 0.74rem;
  line-height: 1.45;
  background: #f8fafc;
  border-left: 3px solid #64748b;
  padding: 6px 10px;
  border-radius: 0 4px 4px 0;
  color: #334155;
}

/* Global Heritage Note */
.products-global-note {
  margin-top: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #d42b31;
  border-radius: 8px;
  padding: 16px 20px;
}
.products-global-note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #334155;
}
.products-global-note a {
  color: #d42b31;
  font-weight: 700;
  text-decoration: underline;
}

/* Support Section (Technology & Size Guide) */
.products-support-section {
  margin: 48px 0;
}
.products-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.products-support-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.products-support-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.products-support-icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.products-support-content {
  flex: 1;
}
.products-support-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #d42b31;
  display: block;
  margin-bottom: 6px;
}
.products-support-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #101318;
  margin: 0 0 8px;
}
.products-support-content p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 14px;
}
.products-support-link {
  font-size: 0.88rem;
  font-weight: 750;
  color: #101318;
  text-decoration: none;
  transition: color 0.15s ease;
}
.products-support-link:hover {
  color: #d42b31;
  text-decoration: underline;
}

/* Trust Section */
.products-trust-section {
  margin: 48px 0 20px;
}
.products-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 36px;
}
.products-trust-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #101318;
  margin: 0 0 8px;
}
.products-trust-item p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}
.products-trust-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 750;
  color: #d42b31;
  text-decoration: none;
}
.products-trust-link:hover {
  text-decoration: underline;
}

/* Responsive Breakpoints for Products Hub */
@media (max-width: 1024px) {
  .products-global-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .products-hub-main {
    padding: 0 4vw 48px;
  }
  .products-hub-header {
    margin: 24px 0 24px;
  }
  .products-hub-pillars {
    padding: 8px 14px;
    gap: 8px;
  }
  .products-hub-pillars .pillar-tag {
    font-size: 0.8rem;
  }
  .products-active-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .products-active-media {
    height: 300px;
    padding: 20px;
  }
  .products-active-body {
    padding: 22px 20px;
  }
  .products-support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .products-trust-grid {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 20px;
  }
}
@media (max-width: 520px) {
  .products-global-grid {
    grid-template-columns: 1fr;
  }
  .products-global-media {
    height: 220px;
    padding: 16px;
  }
}

/* Global Footer Theme: Refined White Minimalist */
footer {
  background: #ffffff !important;
  color: #101318 !important;
  border-top: 1px solid #e2e8f0;
  padding: 48px 7vw 40px !important;
}
footer .brand {
  color: #101318 !important;
  margin-bottom: 16px;
}
footer .brand span {
  color: #101318 !important;
  font-size: 1.7rem;
  font-weight: 900;
}
footer .brand small {
  color: #64748b !important;
  letter-spacing: .12em;
}
footer p {
  color: #334155 !important;
  line-height: 1.7;
  margin: 10px 0;
}
footer a {
  color: #101318 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}
footer a:hover {
  color: #d42b31 !important;
  text-decoration: underline !important;
}
footer .quiet {
  color: #94a3b8 !important;
  font-size: 0.85rem;
  margin-top: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #f1f5f9;
}
footer nav a {
  color: #64748b !important;
  font-size: 0.85rem !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}
footer nav a:hover {
  color: #d42b31 !important;
  text-decoration: underline !important;
}


/* ==========================================================================
   Global Brand Option B & Unified White Header/Footer
   ========================================================================== */
header.nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background-color: #ffffff !important;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 2px 12px rgba(16, 19, 24, 0.06) !important;
}
header.nav a.brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}
header.nav a.brand img.brand-icon {
  height: 32px !important;
  width: auto !important;
  display: block !important;
}
header.nav a.brand img.brand-wordmark {
  height: 28px !important;
  width: auto !important;
  display: block !important;
}
header.nav nav a {
  color: var(--ink) !important;
}
header.nav nav a:hover {
  color: var(--red) !important;
}
header.nav .menu {
  color: var(--ink) !important;
}

/* Nav Actions & Sticky Header Language Switcher */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-lang-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 3px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  cursor: pointer;
  opacity: 0.65;
}
.nav-lang-flag:hover {
  transform: translateY(-1px);
  opacity: 1;
}
.nav-lang-flag.active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--red, #dc2626);
  cursor: default;
}
.nav-lang-flag .flag-img {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

@media (min-width: 801px) {
  header.nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 5vw !important;
  }
  header.nav nav {
    margin-left: auto;
  }
  .nav-actions {
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px solid var(--line, #e2e8f0);
  }
  .nav-actions .menu {
    display: none !important;
  }
}

@media (max-width: 800px) {
  header.nav {
    padding: 10px 14px !important;
  }
  .nav-actions {
    gap: 10px;
  }
  .nav-lang-flag .flag-img {
    width: 22px;
    height: 14.5px;
  }
  header.nav .menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1;
    background: transparent;
    border: none;
    cursor: pointer;
  }
  body.open header.nav nav {
    top: 100% !important;
    background: #ffffff !important;
    color: var(--ink) !important;
    border-top: 1px solid var(--line) !important;
    box-shadow: 0 8px 16px rgba(16, 19, 24, 0.08) !important;
  }
}

@media (max-width: 380px) {
  header.nav {
    padding: 8px 10px !important;
  }
  header.nav a.brand {
    gap: 6px !important;
  }
  header.nav a.brand img.brand-icon {
    height: 28px !important;
  }
  header.nav a.brand img.brand-wordmark {
    height: 24px !important;
  }
  .nav-actions {
    gap: 6px !important;
  }
}

/* Global Footer Option B */
footer {
  background: #ffffff !important;
  border-top: 1px solid var(--line) !important;
  color: var(--ink) !important;
}
footer .brand {
  margin-bottom: 14px !important;
}
footer .brand a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
}
footer .brand img.brand-icon {
  height: 26px !important;
  width: auto !important;
  display: inline-block !important;
}
footer .brand img.brand-wordmark {
  height: 22px !important;
  width: auto !important;
  display: inline-block !important;
}
footer .brand small {
  display: block !important;
  color: var(--ink) !important;
  margin-top: 4px !important;
}
footer a {
  color: #475569 !important;
}
footer a:hover {
  color: var(--red) !important;
}
footer .quiet {
  color: #94a3b8 !important;
}

.site-footer {
  padding: 32px 7vw 20px !important;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 1.4fr) minmax(220px, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}
.site-footer-brand .brand {
  display: inline-grid !important;
  gap: 4px;
  margin-bottom: 0 !important;
}
.site-footer-brand small {
  display: block !important;
  margin-top: 10px !important;
  color: #64748b !important;
  font-size: .68rem;
  letter-spacing: .12em;
}
.site-footer-contact {
  display: grid;
  gap: 4px;
  color: #475569;
  font-size: .82rem;
  line-height: 1.45;
}
.site-footer-contact strong {
  color: #101318;
  font-size: .95rem;
}
.site-footer-contact b {
  color: #101318;
  font-size: .72rem;
  letter-spacing: .06em;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 6px 16px;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
  font-size: .8rem;
}
.site-footer-links a {
  color: #475569 !important;
  text-decoration: none !important;
}
.site-footer-links a:hover {
  color: #d42b31 !important;
}
.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: 24px auto 0;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  color: #94a3b8;
  font-size: .72rem;
}
@media (max-width: 800px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .site-footer-links {
    max-width: 360px;
  }
  .site-footer-bottom {
    display: block;
  }
  .site-footer-bottom span {
    display: block;
  }
  .site-footer-bottom span + span {
    margin-top: 4px;
  }
}

/* Contact 3-in-1 Page Layout */
.contact-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0 24px;
}
.contact-hero .eyebrow {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.contact-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 16px;
}
.contact-hero .lead {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 0 32px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(16, 19, 24, 0.04);
}
.contact-card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.contact-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}
.contact-card p {
  color: #475569;
  line-height: 1.65;
  font-size: 0.95rem;
  margin: 0 0 14px;
}
.contact-callout {
  background: #f8fafc;
  border-left: 3px solid var(--red);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.6;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 2;
  color: var(--ink);
}
.contact-btn {
  display: inline-block;
  background: var(--ink);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none !important;
  font-size: 0.9rem;
  transition: background-color 0.15s ease;
}
.contact-btn:hover {
  background: var(--red);
}

/* About CHIBA Taiwan Layout */
.about-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0 24px;
}
.about-hero .eyebrow {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.about-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 20px;
}
.about-highlight-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 4px 16px rgba(16, 19, 24, 0.04);
  margin-bottom: 40px;
}
.about-highlight-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #1e293b;
  margin: 0;
  font-weight: 500;
}
.about-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 20px;
}
.about-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.about-matrix-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(16, 19, 24, 0.03);
}
.about-matrix-card .icon {
  font-size: 1.75rem;
  margin-bottom: 10px;
}
.about-matrix-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.about-matrix-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 12px;
}
.about-matrix-card a {
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.about-matrix-card a:hover {
  text-decoration: underline;
}
.about-agent-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.about-agent-bar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}
.about-agent-bar p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

/* Enhanced Catalogue Search & Filter Controls */
.search-controls-wrapper {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.search-input-group {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}
.search-input-box {
  flex: 1 1 240px;
  position: relative;
  display: grid;
  gap: 0.35rem;
}
.search-input-box label,
.search-select-box label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.search-input-box input {
  width: 100%;
  padding: 0.7rem 2.2rem 0.7rem 0.85rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-input-box input:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(185, 32, 39, 0.12);
}
.search-clear-btn {
  position: absolute;
  right: 10px;
  bottom: 9px;
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 13px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.search-clear-btn:hover {
  background: #cbd5e1;
  color: var(--ink);
}
.search-select-box {
  flex: 0 1 200px;
  min-width: 160px;
  display: grid;
  gap: 0.35rem;
}
.search-select-box select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--ink);
}
.search-chips-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.search-chips-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}
.search-chip {
  appearance: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.search-chip:hover {
  border-color: var(--red);
  color: var(--red);
  background: #fff5f5;
}
.search-chip.active {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(185, 32, 39, 0.2);
}
.search-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: #64748b;
  border-top: 1px dashed #e2e8f0;
  padding-top: 0.7rem;
}
.search-count-badge {
  font-weight: 600;
  color: var(--ink);
}
.search-reset-link {
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  display: none;
}
.search-reset-link:hover {
  color: #92151b;
}

@media (max-width: 600px) {
  .search-controls-wrapper {
    padding: 1rem;
  }
  .search-select-box {
    flex: 1 1 100%;
  }
  .search-chips-bar {
    gap: 0.4rem;
  }
  .search-chip {
    padding: 0.28rem 0.65rem;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   TOP UTILITY BAR (Modeled on chiba.co.id Flag Switcher & Social Links)
   ========================================================================== */
.topbar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: #64748b;
  position: relative;
  z-index: 101;
}
.topbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-germany-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 3px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.topbar-germany-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}
.topbar-badge {
  background: #0f172a;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.topbar-tagline {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.topbar-ig {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #475569;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.topbar-ig:hover {
  color: #e1306c;
  background-color: #f1f5f9;
}
.ig-icon {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
}
.topbar-sep {
  color: #cbd5e1;
  font-size: 0.75rem;
  user-select: none;
}
.topbar-flags {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.topbar-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 3px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  cursor: pointer;
  opacity: 0.65;
}
.topbar-flag:hover {
  transform: translateY(-1px);
  opacity: 1;
}
.topbar-flag.active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--red, #dc2626);
  cursor: default;
}
.flag-img {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

@media (max-width: 520px) {
  .topbar {
    padding: 5px 10px;
  }
  .topbar-tagline {
    font-size: 0.7rem;
  }
  .topbar-ig-text {
    display: none;
  }
  .topbar-ig {
    padding: 2px 4px;
  }
  .flag-img {
    width: 22px;
    height: 14.5px;
  }
  .topbar-actions {
    gap: 7px;
  }
  .topbar-flags {
    gap: 5px;
  }
}

/* ==========================================================================
   Dynamic Hero Showcase Slider (chiba.co.id style)
   ========================================================================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 2rem;
  width: 100%;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  min-height: 480px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  box-sizing: border-box;
  gap: 2.5rem;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

.hero-slide-content {
  z-index: 2;
}

.hero-slide-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
  background: rgba(227, 6, 19, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

.hero-slide-title {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.hero-slide-desc {
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: #475569;
  margin: 0 0 1.75rem;
  max-width: 520px;
}

.hero-slide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-slide-actions .button {
  background: var(--red);
  color: #ffffff;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(227, 6, 19, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-slide-actions .button:hover {
  background: #c00412;
  transform: translateY(-1px);
}

.hero-slide-actions .text-link {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}

.hero-slide-actions .text-link:hover {
  border-color: var(--red);
  color: var(--red);
}

.hero-slide-media {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 380px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: #e2e8f0;
}

.hero-slide-media img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

@keyframes kenBurnsZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.06);
  }
}

.hero-slide.active .hero-slide-media img {
  animation: kenBurnsZoom 4.5s ease-out forwards;
}

/* Arrows */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.hero-slider-arrow:hover {
  background: #ffffff;
  color: var(--red);
  border-color: var(--red);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.hero-slider-arrow--prev {
  left: 1.25rem;
}

.hero-slider-arrow--next {
  right: 1.25rem;
}

/* Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-dot.active {
  width: 28px;
  background: var(--red);
}

@media (max-width: 900px) {
  .hero-slide {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.25rem 3.5rem;
    gap: 1.5rem;
  }
  .hero-slide-media {
    max-height: 260px;
  }
  .hero-slide-media img {
    max-height: 260px;
  }
  .hero-slider-arrow {
    display: none; /* Mobile relies on swipe, dots & automatic transition */
  }
}

@media (max-width: 480px) {
  .about-agent-bar {
    padding: 18px 16px;
  }
  .about-agent-bar > div:last-child {
    width: 100%;
    flex-direction: column;
  }
  .about-agent-bar > div:last-child a {
    text-align: center;
    justify-content: center;
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }
}
