/* YB Photonics — site-wide styles (v3) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --yb-primary: #a32413;
  --yb-primary-dark: #7a1a0e;
  --yb-primary-light: #c03d2a;
  --yb-primary-bg-light: #fff5f3;
  --yb-navy: #0f172a;
  --yb-navy-mid: #1e293b;
  --yb-text-dark: #1f2937;
  --yb-text-gray: #4b5563;
  --yb-text-light: #94a3b8;
  --yb-border: #e5e7eb;
  --yb-bg: #f8fafc;
  --yb-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --yb-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --yb-radius: 12px;
  --yb-radius-lg: 16px;
  --yb-container: 1180px;
  --yb-font: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ========== Base ========== */
body {
  font-family: var(--yb-font);
  background: var(--yb-bg);
  color: var(--yb-text-dark);
  -webkit-font-smoothing: antialiased;
}

/* Remove default black focus ring on click (Bootstrap / browser) */
#layout-content a:focus,
#layout-content a:active,
.yb-cat-item:focus,
.yb-cat-item:active,
.yb-product-card:focus,
.yb-product-card:active,
.yb-product-tab__item:focus,
.yb-product-tab__item:active,
.product-center .product-card:focus,
.product-center .product-card:active,
.product-center .tab-item:focus,
.product-center .tab-item:active,
a.thumbnail:focus,
a.thumbnail:active {
  outline: none !important;
}

.yb-cat-item,
.yb-product-card,
.product-center .product-card,
.product-center .tab-item,
.yb-product-tab__item {
  -webkit-tap-highlight-color: transparent;
}

#layout-content > .container,
#layout-content > .container.product-content,
.yb-site .container,
.yb-page .container,
.product-content.container,
#layout-footer .container,
#footer .container {
  width: min(var(--yb-container), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ========== Top announcement bar ========== */
#layout-nav .yb-nav-topbar,
#layout-nav > div:first-child {
  background: linear-gradient(90deg, var(--yb-navy) 0%, var(--yb-navy-mid) 100%) !important;
  font-size: 13px !important;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

#layout-nav .yb-nav-topbar a,
#layout-nav > div:first-child a {
  display: block;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none;
  transition: color 0.2s;
}

#layout-nav .yb-nav-topbar a:hover,
#layout-nav > div:first-child a:hover {
  color: #fff !important;
}

/* ========== Navbar ========== */
body.yb-has-fixed-nav {
  padding-top: 112px;
}

#layout-nav.navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--yb-border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.3s;
  z-index: 1030;
}

#layout-nav.navbar.is-scrolled {
  box-shadow: var(--yb-shadow);
}

@media (min-width: 768px) {
  #layout-nav > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #layout-nav .navbar-header {
    float: none;
    margin-right: 0;
    flex: 0 0 auto;
  }

  #layout-nav .navbar-collapse.navbar-main-collapse,
  #layout-nav .navbar-collapse:not(.in):not(.collapsing) {
    float: none !important;
    width: auto;
    flex: 1 1 auto;
    display: flex !important;
    justify-content: flex-end;
    padding-right: 0;
    border-top: 0;
    box-shadow: none;
  }

  #layout-nav .navbar-nav,
  #layout-nav .navbar-nav.navbar-right {
    float: right !important;
    margin: 0;
    display: flex;
    align-items: center;
  }

  #layout-nav .navbar-nav > li {
    float: none;
    position: relative;
  }

  #layout-nav .navbar-nav li.separator {
    width: 1px;
    height: 30px;
    margin: 20px 10px 0;
    background: rgba(15, 23, 42, 0.12);
  }
}

#layout-nav .navbar-nav > li {
  position: relative;
}

#layout-nav .navbar-nav > li > a {
  color: var(--yb-text-dark) !important;
  font-weight: 500;
  font-size: 14px;
  padding: 18px 14px !important;
  transition: color 0.2s;
}

#layout-nav .navbar-nav > li > a .caret {
  margin-left: 4px;
  border-top-color: var(--yb-text-gray);
}

#layout-nav .navbar-nav > li > a:hover,
#layout-nav .navbar-nav > li > a:focus {
  color: var(--yb-primary) !important;
  background: transparent !important;
}

#layout-nav .navbar-nav > li > a:hover .caret,
#layout-nav .navbar-nav > li.open > a .caret {
  border-top-color: var(--yb-primary);
}

.navbar-collapse:not(.in):not(.collapsing) .navbar-nav li.active > a {
  background: transparent !important;
  color: var(--yb-primary) !important;
  box-shadow: inset 0 -2px 0 var(--yb-primary);
}

#layout-nav .navbar-nav > .open > a,
#layout-nav .navbar-nav > .open > a:hover,
#layout-nav .navbar-nav > .open > a:focus,
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  background-color: var(--yb-primary-bg-light) !important;
  color: var(--yb-primary-dark) !important;
}

#layout-nav .yb-nav-brand,
#layout-nav .navbar-header > a {
  display: block;
  float: left;
  margin-top: 0;
  color: #000;
}

#layout-nav .yb-nav-brand img,
#layout-nav .navbar-header img {
  max-height: 44px;
  width: auto;
  margin-top: 8px !important;
}

#layout-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  float: none;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius);
  box-shadow: var(--yb-shadow-lg);
  margin-top: 12px;
  padding: 0;
  z-index: 1050;
}

#layout-nav .dropdown-menu.ybnav-prod-dropdown,
#layout-nav .dropdown-menu.ybnav-solutions-dropdown,
#layout-nav .dropdown-menu[style*="width:600px"],
#layout-nav .dropdown-menu[style*="width: 600px"] {
  padding: 32px 36px !important;
}

@media (min-width: 768px) {
  #layout-nav .navbar-nav > li:nth-last-child(2) > .dropdown-menu,
  #layout-nav .navbar-nav > li:nth-last-child(3) > .dropdown-menu {
    left: auto;
    right: 0;
  }
}

#layout-nav .dropdown-menu > li > a {
  color: var(--yb-text-dark) !important;
  font-size: 14px;
  padding: 9px 20px;
  white-space: normal;
}

#layout-nav .dropdown-menu > li > a:hover,
#layout-nav .dropdown-menu > li > a:focus {
  color: var(--yb-primary) !important;
  background: var(--yb-primary-bg-light) !important;
}

#layout-nav .dropdown-menu .divider {
  margin: 8px 0;
  background: var(--yb-border);
}

.ybnav-prod-dropdown {
  width: min(820px, calc(100vw - 2.5rem));
  padding: 32px 36px;
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius);
  box-shadow: var(--yb-shadow-lg);
  margin-top: 12px;
}

.ybnav-solutions-dropdown {
  width: min(620px, calc(100vw - 2.5rem));
  min-height: auto;
  padding: 32px 36px;
  background: #fff;
  margin-top: 12px;
}

/* Live site fallback: Solutions dropdown still uses inline width/height */
#layout-nav .dropdown-menu[style*="width:600px"],
#layout-nav .dropdown-menu[style*="width: 600px"] {
  width: min(620px, calc(100vw - 2.5rem)) !important;
  height: auto !important;
  min-height: auto;
  padding: 32px 36px !important;
  margin-top: 12px !important;
  background: #fff;
}

#layout-nav .dropdown-menu[style*="width:600px"] strong,
#layout-nav .dropdown-menu[style*="width: 600px"] strong,
.ybnav-solutions-dropdown strong,
.ybnav-prod-dropdown .flex-col > strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yb-primary);
  margin: 16px 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--yb-border);
}

.ybnav-solutions-dropdown strong:first-child,
.ybnav-prod-dropdown .flex-col > strong:first-child {
  margin-top: 0;
}

#layout-nav .dropdown-menu[style*="width:600px"] ul,
#layout-nav .dropdown-menu[style*="width: 600px"] ul,
.ybnav-solutions-dropdown ul {
  list-style: none;
  padding: 0 8px;
  margin: 0 0 16px;
}

#layout-nav .dropdown-menu[style*="width:600px"] li,
#layout-nav .dropdown-menu[style*="width: 600px"] li,
.ybnav-solutions-dropdown li {
  margin-bottom: 10px;
}

#layout-nav .dropdown-menu[style*="width:600px"] li a,
#layout-nav .dropdown-menu[style*="width: 600px"] li a,
.ybnav-solutions-dropdown li a {
  color: var(--yb-text-dark);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  padding: 6px 10px;
  margin: 0 -10px;
  display: inline-block;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

#layout-nav .dropdown-menu[style*="width:600px"] li a:hover,
#layout-nav .dropdown-menu[style*="width: 600px"] li a:hover,
.ybnav-solutions-dropdown li a:hover {
  color: var(--yb-primary);
  background: var(--yb-primary-bg-light);
}

.ybnav-menu-dropdown {
  min-width: 260px;
  padding: 8px 0;
}

.ybnav-prod-dropdown .flex-row {
  display: flex;
  gap: 36px;
}

.ybnav-prod-dropdown .flex-col {
  flex: 1;
  min-width: 0;
  padding: 0 8px;
}

.ybnav-prod-dropdown ul {
  list-style: none;
  padding: 0 4px;
  margin: 0;
}

.ybnav-prod-dropdown li {
  margin-bottom: 10px;
}

.ybnav-prod-dropdown li a {
  color: var(--yb-text-dark);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  padding: 6px 10px;
  margin: 0 -10px;
  display: inline-block;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.ybnav-prod-dropdown li a:hover {
  color: var(--yb-primary);
  background: var(--yb-primary-bg-light);
}

.ybnav-prod-dropdown .red-pdf,
.ybnav-prod-dropdown__pdf a {
  color: var(--yb-primary) !important;
  font-weight: 600;
  text-decoration: underline !important;
}

.ybnav-prod-dropdown__pdf {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--yb-border);
}

@media (max-width: 992px) {
  body.yb-has-fixed-nav {
    padding-top: 96px;
  }

  #layout-nav .navbar-nav > li {
    position: relative;
  }

  #layout-nav .dropdown-menu.ybnav-prod-dropdown,
  #layout-nav .dropdown-menu.ybnav-solutions-dropdown,
  .ybnav-prod-dropdown,
  .ybnav-solutions-dropdown {
    position: static !important;
    width: 100%;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    margin-top: 0;
    padding: 16px 20px 20px 28px !important;
  }

  #layout-nav .dropdown-menu > li > a {
    padding-left: 28px;
  }
}

/* ========== Homepage wrapper ========== */
.yb-site {
  overflow-x: clip;
}

.yb-site .jumbotron {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

/* ========== Hero ========== */
.yb-hero {
  position: relative;
  padding: 64px 0 72px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(163, 36, 19, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--yb-bg) 100%);
  overflow: hidden;
}

/* Premium hero — light gradient (early version, clean & professional) */
.yb-hero--premium {
  padding: 80px 0 88px;
  background: #fff;
  color: var(--yb-text-dark);
}

.yb-hero--premium .yb-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 82% 8%, rgba(163, 36, 19, 0.09) 0%, transparent 52%),
    radial-gradient(ellipse 55% 55% at 8% 88%, rgba(59, 130, 180, 0.07) 0%, transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 55%, #fdf9f8 100%);
  pointer-events: none;
}

.yb-hero--premium .yb-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 88%);
}

.yb-hero--premium::before {
  display: none;
}

.yb-hero__grid--premium {
  position: relative;
  z-index: 1;
  align-items: center;
}

.yb-hero__eyebrow--light {
  color: var(--yb-primary);
  background: var(--yb-primary-bg-light);
  border-color: rgba(163, 36, 19, 0.18);
}

.yb-hero__title--light {
  color: var(--yb-navy);
  font-size: clamp(2.125rem, 4.5vw, 3.25rem);
}

.yb-hero__title--light em {
  color: var(--yb-primary);
}

.yb-hero__desc--light {
  color: var(--yb-text-gray);
  max-width: 540px;
  font-size: 18px;
}

.yb-btn--ghost {
  background: #fff;
  color: var(--yb-navy);
  border: 1px solid var(--yb-border);
  box-shadow: var(--yb-shadow);
}

.yb-btn--ghost:hover {
  background: var(--yb-primary-bg-light);
  color: var(--yb-primary);
  border-color: rgba(163, 36, 19, 0.25);
  transform: translateY(-2px);
}

.yb-btn--outline-light {
  background: transparent;
  color: var(--yb-navy);
  border-color: var(--yb-border);
}

.yb-btn--outline-light:hover {
  border-color: var(--yb-primary);
  color: var(--yb-primary);
  background: var(--yb-primary-bg-light);
}

.yb-hero__showcase {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.yb-hero__product {
  flex: 1;
  max-width: 200px;
}

.yb-hero__product-link {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius-lg);
  padding: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--yb-shadow);
}

.yb-hero__product-link:hover {
  background: #fff;
  border-color: rgba(163, 36, 19, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--yb-shadow-lg);
}

.yb-hero__product-link img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.yb-hero__product-label {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--yb-navy);
  text-align: center;
  letter-spacing: 0.02em;
}

.yb-hero__connector {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
}

.yb-hero__connector-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 300;
  color: #fff;
  background: var(--yb-primary);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(163, 36, 19, 0.5);
}

.yb-hero__connector-text {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yb-text-light);
  white-space: nowrap;
}

/* ========== Site footer — dark, full original content preserved ========== */
#layout-footer,
#footer {
  background: linear-gradient(180deg, #2d384c 0%, #263245 100%);
  margin-top: 0;
  font-family: var(--yb-font);
  color: rgba(255, 255, 255, 0.86);
}

#layout-footer .container,
#footer .container {
  padding-bottom: 36px;
}

#layout-footer hr,
#footer hr {
  border-color: rgba(255, 255, 255, 0.14);
  margin: 28px 0 24px;
  opacity: 1;
}

/* Fixed 4-column grid — prevents Company Information wrapping below */
#layout-footer .row,
#footer .row {
  display: grid;
  grid-template-columns: minmax(140px, 2fr) minmax(220px, 4fr) minmax(180px, 3fr) minmax(180px, 3fr);
  gap: 28px 24px;
  margin-left: 0;
  margin-right: 0;
  color: rgba(255, 255, 255, 0.86) !important;
}

#layout-footer .row::before,
#layout-footer .row::after,
#footer .row::before,
#footer .row::after {
  display: none;
}

#layout-footer [class*="col-md-"],
#footer [class*="col-md-"] {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
}

#layout-footer strong,
#footer strong {
  color: #fff;
  font-weight: 600;
}

#layout-footer a,
#footer a {
  color: rgba(255, 255, 255, 0.76) !important;
  text-decoration: none;
  transition: color 0.2s;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#layout-footer a:hover,
#footer a:hover {
  color: #f0b4a8 !important;
}

#layout-footer p,
#footer p {
  line-height: 1.65;
}

#layout-footer ul,
#footer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#layout-footer li,
#footer li {
  margin-bottom: 7px;
}

#layout-footer img,
#footer img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 992px) {
  #layout-footer .row,
  #footer .row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  #layout-footer .row,
  #footer .row {
    grid-template-columns: 1fr;
  }
}

/* ========== Featured products ========== */
.yb-featured {
  padding: 64px 0 56px;
  background: #fff;
  border-bottom: 1px solid var(--yb-border);
}

.yb-featured__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.yb-featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius-lg);
  overflow: hidden;
  box-shadow: var(--yb-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.yb-featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--yb-shadow-lg);
}

.yb-featured-card--accent {
  border-color: rgba(163, 36, 19, 0.25);
  box-shadow: 0 8px 32px rgba(163, 36, 19, 0.1);
}

.yb-featured-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yb-navy);
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--yb-shadow);
}

.yb-featured-card__badge--hot {
  color: #fff;
  background: var(--yb-primary);
}

.yb-featured-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

.yb-featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.4s;
}

.yb-featured-card:hover .yb-featured-card__media img {
  transform: scale(1.04);
}

.yb-featured-card__body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.yb-featured-card__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--yb-navy);
}

.yb-featured-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.yb-featured-card__title a:hover {
  color: var(--yb-primary);
}

.yb-featured-card__model {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--yb-primary);
  font-family: ui-monospace, "Cascadia Code", monospace;
}

.yb-featured-card__desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--yb-text-gray);
}

.yb-featured-card__specs {
  list-style: none;
  margin: 0 0 20px;
  padding: 16px;
  background: var(--yb-bg);
  border-radius: var(--yb-radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.yb-featured-card__specs li {
  font-size: 13px;
  color: var(--yb-text-gray);
  padding-left: 14px;
  position: relative;
}

.yb-featured-card__specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yb-primary);
}

.yb-featured-card__specs strong {
  color: var(--yb-navy);
}

.yb-featured-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--yb-primary);
  text-decoration: none;
  transition: gap 0.2s;
}

.yb-featured-card__cta:hover {
  text-decoration: underline;
}

.yb-system-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 28px 32px;
  background: linear-gradient(135deg, #fff8f6 0%, #f4f7fb 55%, #eef4fa 100%);
  border: 1px solid rgba(163, 36, 19, 0.16);
  border-radius: var(--yb-radius-lg);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  color: var(--yb-text-dark);
}

.yb-system-banner__content {
  flex: 1 1 320px;
  min-width: 0;
}

.yb-system-banner__media {
  flex: 0 1 380px;
  max-width: 100%;
}

.yb-system-banner__media img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--yb-radius);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.yb-system-banner__media a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.yb-system-banner__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--yb-primary);
  letter-spacing: -0.01em;
}

.yb-system-banner__model {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--yb-primary-dark);
}

.yb-system-banner__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--yb-text-gray);
  max-width: 560px;
}

.yb-system-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.yb-system-banner .yb-btn--outline {
  color: var(--yb-primary);
  border-color: rgba(163, 36, 19, 0.35);
  background: #fff;
}

.yb-system-banner .yb-btn--outline:hover {
  border-color: var(--yb-primary);
  color: #fff;
  background: var(--yb-primary);
}

.yb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 80%);
  pointer-events: none;
}

.yb-hero__grid {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.yb-hero__content {
  flex: 1.15;
  min-width: 280px;
}

.yb-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yb-primary);
  background: var(--yb-primary-bg-light);
  border: 1px solid rgba(163, 36, 19, 0.15);
  border-radius: 999px;
}

.yb-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--yb-navy);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.yb-hero__title em {
  font-style: normal;
  color: var(--yb-primary);
}

.yb-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.yb-hero__tag {
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--yb-text-gray);
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: 999px;
}

.yb-hero__desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--yb-text-gray);
  margin: 0 0 32px;
  max-width: 560px;
}

.yb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.yb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.yb-btn--primary {
  background: var(--yb-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(163, 36, 19, 0.35);
}

.yb-btn--primary:hover {
  background: var(--yb-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(163, 36, 19, 0.35);
}

.yb-btn--outline {
  background: #fff;
  color: var(--yb-navy);
  border-color: var(--yb-border);
}

.yb-btn--outline:hover {
  border-color: var(--yb-primary);
  color: var(--yb-primary);
}

.yb-hero__visual {
  flex: 0.85;
  min-width: 260px;
  text-align: center;
}

.yb-hero__visual-frame {
  position: relative;
  display: inline-block;
  padding: 24px;
  background: #fff;
  border-radius: var(--yb-radius-lg);
  box-shadow: var(--yb-shadow-lg);
  border: 1px solid var(--yb-border);
}

.yb-hero__visual-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(163, 36, 19, 0.3), transparent 50%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.yb-hero__visual img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== Stats strip ========== */
.yb-stats {
  margin-top: -28px;
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
}

.yb-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #fff;
  padding: 8px;
  border-radius: var(--yb-radius-lg);
  box-shadow: var(--yb-shadow-lg);
  border: 1px solid var(--yb-border);
}

.yb-stat {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--yb-radius);
  transition: background 0.2s;
}

.yb-stat:hover {
  background: var(--yb-primary-bg-light);
}

.yb-stat__value {
  font-size: 28px;
  font-weight: 700;
  color: var(--yb-primary);
  line-height: 1.2;
  margin-bottom: 6px;
}

.yb-stat__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--yb-text-gray);
  line-height: 1.4;
}

/* ========== Section headers ========== */
.yb-section {
  padding: 56px 0;
}

.yb-section--muted {
  background: #fff;
  border-top: 1px solid var(--yb-border);
  border-bottom: 1px solid var(--yb-border);
}

.yb-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.yb-section__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yb-primary);
  margin-bottom: 8px;
}

.yb-section__title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--yb-navy);
  margin: 0;
  letter-spacing: -0.02em;
}

.yb-section__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--yb-primary);
  text-decoration: none;
  white-space: nowrap;
}

.yb-section__link:hover {
  text-decoration: underline;
}

/* ========== Product category cards ========== */
.yb-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.yb-prod-cta {
  margin-top: 36px;
  text-align: center;
}

.yb-prod-cat {
  background: #fff;
  border-radius: var(--yb-radius-lg);
  border: 1px solid var(--yb-border);
  overflow: hidden;
  box-shadow: var(--yb-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.yb-prod-cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--yb-shadow-lg);
}

.yb-prod-cat__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 16px;
  background: linear-gradient(135deg, var(--yb-primary-bg-light) 0%, #fff 100%);
  border-bottom: 1px solid var(--yb-border);
}

.yb-prod-cat__head img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  box-shadow: var(--yb-shadow);
}

.yb-prod-cat__head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--yb-navy);
}

.yb-prod-cat__list {
  list-style: none;
  margin: 0;
  padding: 12px 8px 16px;
}

.yb-prod-cat__list li a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--yb-text-gray);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
}

.yb-prod-cat__list li a:hover {
  color: var(--yb-primary);
  background: var(--yb-primary-bg-light);
  padding-left: 18px;
}

.yb-prod-cat__list li a::before {
  content: "→";
  opacity: 0;
  margin-right: 0;
  transition: all 0.2s;
  display: inline-block;
  width: 0;
}

.yb-prod-cat__list li a:hover::before {
  opacity: 1;
  width: 16px;
  margin-right: 6px;
}

/* ========== Why choose us ========== */
.yb-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.yb-feature {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: var(--yb-radius-lg);
  border: 1px solid var(--yb-border);
  transition: all 0.25s;
}

.yb-feature:hover {
  border-color: rgba(163, 36, 19, 0.25);
  box-shadow: var(--yb-shadow);
  transform: translateY(-3px);
}

.yb-feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}

.yb-feature__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yb-feature__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--yb-navy);
  margin: 0 0 8px;
  text-transform: capitalize;
}

.yb-feature__desc {
  font-size: 14px;
  color: var(--yb-text-gray);
  line-height: 1.6;
  margin: 0;
}

/* ========== Solutions / video block ========== */
.yb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  padding: 48px;
  border-radius: var(--yb-radius-lg);
  border: 1px solid var(--yb-border);
  box-shadow: var(--yb-shadow);
}

.yb-split__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--yb-navy);
  margin: 0 0 20px;
  line-height: 1.3;
}

.yb-split__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--yb-text-gray);
  margin: 0 0 16px;
}

.yb-split__link {
  color: var(--yb-primary);
  font-weight: 600;
  text-decoration: none;
}

.yb-split__link:hover {
  text-decoration: underline;
}

.yb-split__video {
  border-radius: var(--yb-radius);
  overflow: hidden;
  box-shadow: var(--yb-shadow-lg);
  background: var(--yb-navy);
}

.yb-split__video video {
  width: 100%;
  display: block;
}

.yb-split__caption {
  text-align: center;
  font-size: 13px;
  color: var(--yb-text-gray);
  margin-top: 12px;
}

/* ========== Video cards ========== */
.yb-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.yb-video-card {
  background: #fff;
  border-radius: var(--yb-radius);
  overflow: hidden;
  border: 1px solid var(--yb-border);
  box-shadow: var(--yb-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.yb-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--yb-shadow-lg);
}

.yb-video-card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--yb-navy-mid);
}

.yb-video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.yb-video-card:hover .yb-video-card__thumb img {
  transform: scale(1.05);
}

.yb-video-card__title {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--yb-text-dark);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yb-video-card:hover .yb-video-card__title {
  color: var(--yb-primary);
}

/* ========== Recent updates — compact multi-column ========== */
.yb-updates {
  background: #fff;
  border-radius: var(--yb-radius-lg);
  border: 1px solid var(--yb-border);
  padding: 16px 20px;
  box-shadow: var(--yb-shadow);
}

.yb-updates ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: updates;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  gap: 6px 24px;
}

.yb-updates li {
  counter-increment: updates;
  min-width: 0;
}

.yb-updates li a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--yb-text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.yb-updates li a::before {
  content: counter(updates, decimal-leading-zero);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--yb-primary);
  background: var(--yb-primary-bg-light);
  border-radius: 6px;
}

.yb-updates li a:hover {
  color: var(--yb-primary);
}

@media (max-width: 992px) {
  .yb-updates ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(9, auto);
    grid-auto-flow: column;
    gap: 6px 16px;
  }
}

@media (max-width: 576px) {
  .yb-updates {
    padding: 12px 16px;
  }

  .yb-updates ol {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

/* ========== Customer logos ========== */
.yb-customers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.yb-customer {
  text-align: center;
  padding: 20px 12px;
  background: #fff;
  border-radius: var(--yb-radius);
  border: 1px solid var(--yb-border);
  transition: all 0.25s;
}

.yb-customer:hover {
  border-color: rgba(163, 36, 19, 0.2);
  box-shadow: var(--yb-shadow);
}

.yb-customer img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 10px;
  filter: grayscale(30%);
  transition: filter 0.25s;
}

.yb-customer:hover img {
  filter: grayscale(0%);
}

.yb-customer p {
  font-size: 11px;
  line-height: 1.35;
  color: var(--yb-text-gray);
  margin: 0;
  font-weight: 500;
}

/* ========== Reveal animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Legacy compat (doc / case pages) ========== */
.typetitle { font-size: 16px; font-weight: 600; }

.doc-sidenav {
  background: #fff !important;
  border-right: 1px solid var(--yb-border) !important;
  padding: 10px 0 !important;
}
.doc-sidenav ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.menu-group { margin-bottom: 30px; }
.menu-level1-title {
  display: block !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--yb-text-dark) !important;
  padding: 0 0 5px !important;
  margin: 0 0 8px !important;
  border-bottom: 1px solid var(--yb-border) !important;
}
.menu-sub { padding: 0 20px 14px !important; margin: 0 !important; }
.menu-link {
  display: block !important;
  font-size: 14px !important;
  color: var(--yb-text-gray) !important;
  padding: 7px 10px !important;
  text-decoration: none !important;
  border-radius: 0 !important;
}
.menu-link:hover { background: var(--yb-primary-bg-light) !important; color: var(--yb-primary) !important; }
.menu-link.active {
  color: var(--yb-primary) !important;
  font-weight: 500 !important;
  background: var(--yb-primary-bg-light) !important;
  border-left: 2px solid var(--yb-primary) !important;
  padding-left: 8px !important;
}

.doc-content {
  font-family: var(--yb-font) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: var(--yb-text-dark) !important;
  padding: 10px !important;
  background: #fff !important;
}
.doc-content h1 {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: var(--yb-primary) !important;
  margin-bottom: 20px !important;
  border-bottom: 2px solid var(--yb-primary) !important;
  padding-bottom: 10px !important;
}
.doc-content h2 { font-size: 22px !important; font-weight: 600 !important; margin: 24px 0 12px !important; }
.doc-content h3 { font-size: 18px !important; font-weight: 600 !important; margin: 20px 0 10px !important; }
.doc-content p { margin-bottom: 16px !important; }
.doc-content table { width: 100% !important; border-collapse: collapse !important; margin: 20px 0 !important; font-size: 14px !important; }
.doc-content th {
  background: var(--yb-primary-bg-light) !important;
  color: var(--yb-primary) !important;
  font-weight: 600 !important;
  padding: 8px 10px !important;
  border: 1px solid var(--yb-border) !important;
}
.doc-content td { padding: 8px 10px !important; border: 1px solid var(--yb-border) !important; }
.doc-content tr:hover td { background: var(--yb-primary-bg-light) !important; }
.doc-content img { max-width: 100% !important; height: auto !important; margin: 20px auto !important; display: block !important; }

.doc-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 32px 0 48px;
}
.doc-card {
  background: #fff;
  border-radius: var(--yb-radius-lg);
  overflow: hidden;
  box-shadow: var(--yb-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(163, 36, 19, 0.1); }
.doc-card a { display: block; text-decoration: none; }
.doc-card img { width: 100%; height: 160px; object-fit: cover; margin: 0; }
.doc-card-title {
  display: block;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: var(--yb-text-dark);
  border-top: 1px solid var(--yb-border);
}
.doc-card:hover .doc-card-title { color: var(--yb-primary); }

.case-content { font-family: var(--yb-font) !important; background: #fff !important; padding: 40px !important; }
.case-content h1 {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--yb-primary) !important;
  margin-bottom: 25px !important;
  border-bottom: 2px solid var(--yb-primary) !important;
  padding-bottom: 12px !important;
}
.case-content p { font-size: 15px !important; line-height: 1.7 !important; margin-bottom: 18px !important; }
.case-content h2 { font-size: 20px !important; font-weight: 600 !important; margin: 25px 0 15px !important; }
.case-content .related-product a {
  display: inline-block !important;
  color: var(--yb-primary) !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  border: 1px solid var(--yb-primary) !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
}
.case-content .related-product a:hover { background: var(--yb-primary) !important; color: #fff !important; }
.case-content img { max-width: 100% !important; height: auto !important; margin: 25px auto !important; display: block !important; }

.case-list-wrap { background: #fff !important; padding: 40px !important; max-width: 1300px; margin: 0 auto; }
.case-list-wrap h1 {
  font-size: 26px !important;
  font-weight: 700 !important;
  margin-bottom: 32px !important;
  border-bottom: 2px solid var(--yb-primary) !important;
  padding-bottom: 12px !important;
}
.case-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 26px !important; }
.case-card {
  background: #fff !important;
  border: 1px solid var(--yb-border) !important;
  box-shadow: var(--yb-shadow) !important;
  overflow: hidden !important;
  transition: transform 0.25s ease;
}
.case-card:hover { transform: translateY(-4px) !important; }
.case-card img { width: 100% !important; height: 170px !important; object-fit: cover !important; }
.case-card-body { padding: 18px !important; }
.case-card-title {
  display: block !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--yb-text-dark) !important;
  margin: 0 0 10px !important;
  line-height: 1.4;
  text-decoration: none !important;
}
.case-card-title:hover { color: var(--yb-primary) !important; }
.case-card-desc {
  font-size: 13px !important;
  color: var(--yb-text-gray) !important;
  line-height: 1.6;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.customerlogo { height: auto; text-align: center; margin-bottom: 16px; }
.customerlogo p { line-height: 1.35; margin-top: 8px; font-weight: 500; color: var(--yb-text-dark); font-size: 11px; }

a.index_li {
  position: relative;
  width: 100%;
  float: left;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  background: #fff;
  border-radius: var(--yb-radius);
  overflow: hidden;
  box-shadow: var(--yb-shadow);
  text-decoration: none;
}
.index_li:hover { box-shadow: 0 12px 24px rgba(163, 36, 19, 0.18); transform: translateY(-4px); }
.index_img img { width: 100%; display: block; }
.index_text {
  text-align: center;
  color: var(--yb-text-dark);
  padding: 14px 8px 16px;
  font-size: 16px;
  font-weight: 500;
  background: #fff;
  transition: color 0.2s, background 0.2s;
}
a.index_li:hover .index_text { color: var(--yb-primary); background: var(--yb-primary-bg-light); }

.ybmenuul li { margin-bottom: 6px; }
.ybmenuul li a { color: var(--yb-text-gray); transition: color 0.2s; text-decoration: none; }
.ybmenuul li a:hover { color: var(--yb-primary); }

/* ========== Products page ========== */
.yb-page--products {
  padding: 32px 0 64px;
}

.yb-page-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--yb-border);
}

.yb-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

.yb-breadcrumb a {
  color: var(--yb-text-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.yb-breadcrumb a:hover {
  color: var(--yb-primary);
}

.yb-breadcrumb__sep {
  color: var(--yb-text-light);
}

.yb-breadcrumb [aria-current="page"] {
  color: var(--yb-navy);
  font-weight: 500;
}

.yb-page-header__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--yb-navy);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  padding-left: 16px;
  border-left: 4px solid var(--yb-primary);
}

.yb-page-header__desc {
  margin: 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--yb-text-gray);
}

.yb-product-center {
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius-lg);
  box-shadow: var(--yb-shadow);
  padding: 28px 24px 32px;
}

.yb-product-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--yb-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.yb-product-tabs::-webkit-scrollbar {
  display: none;
}

.yb-product-tab__item {
  flex: 0 0 auto;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--yb-text-gray);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.yb-product-tab__item.active {
  color: var(--yb-primary);
  font-weight: 600;
}

.yb-product-tab__item.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--yb-primary);
  border-radius: 2px 2px 0 0;
}

.yb-product-tab__item:not(.active):hover {
  color: var(--yb-primary);
}

.yb-product-panel {
  display: none;
  animation: ybFadeIn 0.3s ease;
}

.yb-product-panel.active {
  display: block;
}

@keyframes ybFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.yb-product-grid {
  margin: 0 -10px;
}

.yb-product-grid > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
}

.yb-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.yb-product-card:hover {
  border-color: rgba(163, 36, 19, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.yb-product-card--featured {
  border-color: rgba(163, 36, 19, 0.25);
  box-shadow: 0 4px 16px rgba(163, 36, 19, 0.08);
}

.yb-product-card__img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.yb-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.yb-product-card:hover .yb-product-card__img img {
  transform: scale(1.04);
}

.yb-product-card__title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--yb-text-dark);
  padding: 14px 12px 16px;
  text-align: center;
  line-height: 1.5;
  transition: color 0.2s;
}

.yb-product-card:hover .yb-product-card__title {
  color: var(--yb-primary);
}

/* Legacy product-center classes (inline styles on live CMS page) */
.product-center {
  width: 100%;
}

.product-center .product-tab {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--yb-border);
}

.product-center .tab-item {
  padding: 12px 22px;
  font-size: 15px;
  color: var(--yb-text-gray);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

.product-center .tab-item.active {
  color: var(--yb-primary);
  font-weight: 600;
}

.product-center .tab-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--yb-primary);
  border-radius: 2px 2px 0 0;
}

.product-center .tab-item:not(.active):hover {
  color: var(--yb-primary);
}

.product-center .tab-panel {
  display: none;
  animation: ybFadeIn 0.3s ease;
}

.product-center .tab-panel.active {
  display: block;
}

.product-center .product-card-row {
  margin: 0 -10px;
}

.product-center .product-card {
  display: block;
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.25s ease;
  margin: 0 10px 20px;
}

.product-center .product-card:hover {
  border-color: rgba(163, 36, 19, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.product-center .card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #fff;
}

.product-center .card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-center .product-card:hover .card-img img {
  transform: scale(1.04);
}

.product-center .card-title {
  font-size: 14px;
  color: var(--yb-text-dark);
  padding: 14px 12px 16px;
  text-align: center;
  line-height: 1.5;
  min-height: 48px;
}

.product-center .product-card:hover .card-title {
  color: var(--yb-primary);
}

/* ========== Product category page ========== */
.yb-page--category {
  padding: 28px 0 64px;
}

.yb-cat-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.yb-cat-sidebar {
  flex: 0 0 260px;
  width: 260px;
  position: sticky;
  top: 128px;
}

.yb-cat-nav {
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--yb-shadow);
}

.yb-cat-nav__heading {
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--yb-navy-mid) 0%, #475569 100%);
}

.yb-cat-nav__list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.yb-cat-nav__list--tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px;
}

.yb-cat-nav__list li {
  margin: 0;
}

.yb-cat-nav__link {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--yb-text-gray);
  text-decoration: none;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  border-left: 3px solid transparent;
}

.yb-cat-nav__link:hover {
  color: var(--yb-primary);
  background: var(--yb-primary-bg-light);
}

.yb-cat-nav__link.is-active {
  color: var(--yb-primary);
  font-weight: 600;
  background: var(--yb-primary-bg-light);
  border-left-color: var(--yb-primary);
}

.yb-cat-nav__tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--yb-text-gray);
  background: var(--yb-bg);
  border: 1px solid var(--yb-border);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
}

.yb-cat-nav__tag:hover {
  color: var(--yb-primary);
  border-color: rgba(163, 36, 19, 0.35);
  background: var(--yb-primary-bg-light);
}

.yb-cat-main {
  flex: 1;
  min-width: 0;
}

.yb-cat-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--yb-border);
}

.yb-cat-header__title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--yb-navy);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  padding-left: 14px;
  border-left: 4px solid var(--yb-primary);
}

.yb-cat-header__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--yb-text-gray);
  max-width: 680px;
}

.yb-cat-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.yb-cat-grid::before,
.yb-cat-grid::after {
  display: none;
}

.yb-cat-grid > [class*="col-"] {
  display: flex;
  flex-direction: column;
  float: none;
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 24px;
}

.yb-cat-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.yb-cat-item:hover {
  border-color: rgba(163, 36, 19, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.yb-cat-item--featured {
  border-color: rgba(163, 36, 19, 0.25);
  box-shadow: 0 4px 16px rgba(163, 36, 19, 0.08);
}

.yb-cat-item__img {
  height: 190px;
  padding: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--yb-border);
}

.yb-cat-item__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.yb-cat-item:hover .yb-cat-item__img img {
  transform: scale(1.04);
}

.yb-cat-item__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.yb-cat-item__model {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--yb-primary);
  flex-shrink: 0;
}

.yb-cat-item__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--yb-text-dark);
  transition: color 0.2s;
  flex: 1;
  min-height: 4.5em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.yb-cat-item:hover .yb-cat-item__title {
  color: var(--yb-primary);
}

/* ========== Product detail page (breadcrumb + title only) ========== */
.product-content .breadcrumb {
  background: transparent !important;
  padding: 8px 0;
  margin-bottom: 16px;
  font-size: 13px;
}

.product-content .breadcrumb a {
  color: var(--yb-text-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.product-content .breadcrumb a:hover {
  color: var(--yb-primary);
}

.product-content .breadcrumb > .active {
  color: var(--yb-navy);
  font-weight: 500;
}

.product-content .col-md-7 h1 {
  font-family: var(--yb-font) !important;
  font-size: clamp(1.375rem, 2.2vw, 2rem) !important;
  font-weight: 700 !important;
  color: var(--yb-navy);
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  padding-left: 14px;
  border-left: 4px solid var(--yb-primary);
}

/* Related products (bottom of product detail page) */
.product-content .col-md-12:has(> h3) {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.product-content .col-md-12:has(> h3) > h3 {
  flex: 0 0 100%;
  width: 100%;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--yb-navy);
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 4px solid var(--yb-primary);
}

.product-content .col-md-12:has(> h3) > .col-md-3 {
  display: flex;
  flex-direction: column;
  float: none;
  height: auto !important;
  padding: 0 10px;
  margin-bottom: 24px;
}

.product-content .col-md-12:has(> h3) > .col-md-3 .thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius);
  margin-bottom: 10px !important;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.product-content .col-md-12:has(> h3) > .col-md-3 .thumbnail:hover {
  border-color: rgba(163, 36, 19, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.product-content .col-md-12:has(> h3) > .col-md-3 .thumbnail img {
  max-height: 160px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  object-fit: contain;
}

.product-content .col-md-12:has(> h3) > .col-md-3 > p {
  flex: 1;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  min-height: 4.5em;
}

.product-content .col-md-12:has(> h3) > .col-md-3 > p a {
  color: var(--yb-text-dark) !important;
  text-decoration: none;
  transition: color 0.2s;
}

.product-content .col-md-12:has(> h3) > .col-md-3 > p a:hover {
  color: var(--yb-primary) !important;
}

.product-content .col-md-12:has(> h3) > .col-md-3 > p a strong {
  display: block;
  color: var(--yb-primary) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

/* ========== About / company pages ========== */
.yb-page--about {
  padding: 28px 0 64px;
}

.yb-about-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.yb-about-sidebar {
  flex: 0 0 260px;
  width: 260px;
  position: sticky;
  top: 128px;
}

.yb-about-nav {
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius-lg);
  overflow: hidden;
  box-shadow: var(--yb-shadow);
}

.yb-about-nav__heading {
  margin: 0;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--yb-navy-mid) 0%, #475569 100%);
  border-top: 1px solid var(--yb-border);
}

.yb-about-nav__list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.yb-about-nav__link {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--yb-text-gray);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color 0.2s, background 0.2s;
}

.yb-about-nav__link:hover {
  color: var(--yb-primary);
  background: var(--yb-primary-bg-light);
}

.yb-about-nav__link.is-active {
  color: var(--yb-primary);
  font-weight: 600;
  background: var(--yb-primary-bg-light);
  border-left-color: var(--yb-primary);
}

.yb-about-main {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius-lg);
  box-shadow: var(--yb-shadow);
  padding: 28px 32px 36px;
}

.yb-about-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--yb-border);
}

.yb-about-header__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--yb-navy);
  margin: 0;
  letter-spacing: -0.02em;
  padding-left: 14px;
  border-left: 4px solid var(--yb-primary);
}

.yb-about-figure {
  margin: 0 0 28px;
  border-radius: var(--yb-radius);
  overflow: hidden;
  border: 1px solid var(--yb-border);
}

.yb-about-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.yb-about-figure--hero {
  box-shadow: var(--yb-shadow);
}

.yb-about-section {
  margin-bottom: 36px;
}

.yb-about-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yb-navy);
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--yb-primary);
}

.yb-about-prose {
  font-size: 15px;
  line-height: 1.75;
  color: var(--yb-text-gray);
}

.yb-about-prose p {
  margin: 0 0 1em;
}

.yb-about-prose a {
  color: var(--yb-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yb-about-prose a:hover {
  color: var(--yb-primary-dark);
}

.yb-about-prose strong {
  color: var(--yb-text-dark);
  font-weight: 600;
}

.yb-about-contact {
  background: var(--yb-bg);
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius);
  padding: 24px;
}

.yb-about-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}

.yb-about-contact__item--full {
  grid-column: 1 / -1;
}

.yb-about-contact__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yb-text-light);
  margin-bottom: 4px;
}

.yb-about-contact__value {
  font-size: 14px;
  line-height: 1.5;
  color: var(--yb-text-dark);
}

.yb-about-contact__value a {
  color: var(--yb-primary);
  text-decoration: none;
  margin-left: 6px;
}

.yb-about-contact__value a:hover {
  text-decoration: underline;
}

.yb-about-contact__sep {
  color: var(--yb-text-light);
  margin: 0 4px;
}

/* Contact page quick-info strip */
.yb-contact-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--yb-primary-bg-light);
  border: 1px solid rgba(163, 36, 19, 0.12);
  border-radius: var(--yb-radius);
}

.yb-contact-highlight__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yb-text-light);
  margin-bottom: 4px;
}

.yb-contact-highlight__value {
  font-size: 16px;
  font-weight: 600;
  color: var(--yb-navy);
  text-decoration: none;
}

a.yb-contact-highlight__value:hover {
  color: var(--yb-primary);
  text-decoration: underline;
}

.yb-contact-highlight__value--badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--yb-primary);
  background: #fff;
  border: 1px solid rgba(163, 36, 19, 0.2);
  border-radius: 999px;
}

/* R&D & Production page — two-column content + gallery */
.yb-rd-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.yb-rd-content {
  flex: 1;
  min-width: 0;
}

.yb-rd-content .yb-about-section {
  margin-bottom: 28px;
}

.yb-rd-content .yb-about-section:last-child {
  margin-bottom: 0;
}

.yb-rd-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yb-rd-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--yb-text-gray);
}

.yb-rd-list li:last-child {
  margin-bottom: 0;
}

.yb-rd-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yb-primary);
}

.yb-rd-gallery {
  flex: 0 0 340px;
  width: 340px;
  position: sticky;
  top: 128px;
}

.yb-rd-gallery .yb-about-figure {
  margin-bottom: 16px;
}

.yb-rd-gallery .yb-about-figure:last-child {
  margin-bottom: 0;
}

/* Legacy R&D page flex layout (.mynavlist pages) */
.container:has(.mynavlist) .col-md-9 > div[style*="display:flex"] {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 0 !important;
}

.container:has(.mynavlist) .col-md-9 > div[style*="display:flex"] > div:first-child {
  flex: 1 1 300px;
  min-width: 0;
}

.container:has(.mynavlist) .col-md-9 > div[style*="display:flex"] > div:last-child {
  flex: 0 1 340px;
  min-width: 260px;
  margin-left: 0 !important;
}

.container:has(.mynavlist) .col-md-9 > div[style*="display:flex"] ul {
  list-style: none;
  padding-left: 0;
}

.container:has(.mynavlist) .col-md-9 > div[style*="display:flex"] ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--yb-text-gray);
}

.container:has(.mynavlist) .col-md-9 > div[style*="display:flex"] ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yb-primary);
}

.container:has(.mynavlist) .col-md-9 > div[style*="display:flex"] img {
  width: 100% !important;
  margin-bottom: 16px;
  border-radius: var(--yb-radius);
  border: 1px solid var(--yb-border);
}

/* Customers page */
.yb-customers-intro {
  margin-bottom: 32px;
}

.yb-customers-region {
  margin-bottom: 36px;
}

.yb-customers-region:last-child {
  margin-bottom: 0;
}

.yb-customers--page {
  grid-template-columns: repeat(5, 1fr);
}

.yb-page--customers .yb-customer img {
  width: 80px;
  height: 80px;
}

.yb-customer--wide {
  grid-column: span 2;
}

.yb-customer--wide img {
  width: 100%;
  max-width: 200px;
  height: 80px;
}

/* Advantages page */
.yb-advantage-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.yb-advantage-block {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 24px 28px;
  background: var(--yb-bg);
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius-lg);
}

.yb-advantage-block__content {
  flex: 1;
  min-width: 0;
}

.yb-advantage-block__content .yb-about-section__title {
  margin-top: 0;
}

.yb-advantage-block__media {
  flex: 0 0 260px;
  width: 260px;
}

.yb-advantage-block__media a {
  display: block;
  border-radius: var(--yb-radius);
  overflow: hidden;
  border: 1px solid var(--yb-border);
  background: #fff;
  transition: box-shadow 0.25s;
}

.yb-advantage-block__media a:hover {
  box-shadow: var(--yb-shadow);
}

.yb-advantage-block__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* Purchase-related pages */
.yb-purchase-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.yb-purchase-step__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--yb-navy);
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--yb-primary);
}

.yb-shipping-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 20px 0;
}

.yb-shipping-logos img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.yb-shipping-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.yb-payment-banner {
  margin-bottom: 28px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, var(--yb-primary) 0%, #8a1e10 100%);
  border-radius: var(--yb-radius);
}

.yb-bank-info {
  background: var(--yb-bg);
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius);
  padding: 24px;
}

.yb-bank-info__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  margin: 0;
}

.yb-bank-info__item {
  margin: 0;
}

.yb-bank-info__item--full {
  grid-column: 1 / -1;
}

.yb-bank-info__item dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yb-text-light);
  margin-bottom: 4px;
}

.yb-bank-info__item dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--yb-text-dark);
  line-height: 1.5;
}

.yb-bank-info__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--yb-border);
  font-size: 14px;
  line-height: 1.6;
  color: var(--yb-text-gray);
}

.yb-bank-info__note strong {
  color: var(--yb-primary);
}

.yb-payment-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 24px;
  background: var(--yb-bg);
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius-lg);
}

.yb-payment-contact__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yb-border);
}

.yb-payment-contact__details {
  flex: 1;
  min-width: 200px;
}

.yb-payment-contact__details p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--yb-text-dark);
}

.yb-payment-contact__label {
  display: inline-block;
  min-width: 72px;
  font-weight: 600;
  color: var(--yb-primary);
}

.yb-payment-contact__qr {
  flex: 0 0 160px;
  margin: 0;
  text-align: center;
}

.yb-payment-contact__qr img {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto 8px;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius);
}

.yb-payment-contact__qr figcaption {
  font-size: 12px;
  color: var(--yb-text-gray);
}

.yb-callout {
  padding: 18px 22px;
  border-radius: var(--yb-radius);
  margin-bottom: 16px;
}

.yb-callout:last-child {
  margin-bottom: 0;
}

.yb-callout strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--yb-navy);
  margin-bottom: 8px;
}

.yb-callout p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--yb-text-gray);
}

.yb-callout p:last-child {
  margin-bottom: 0;
}

.yb-callout--highlight {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
}

.yb-callout--info {
  background: #f0fdfa;
  border-left: 4px solid #14b8a6;
}

.yb-callout .yb-rd-list {
  margin: 12px 0;
}

.yb-delivery-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.yb-delivery-table th,
.yb-delivery-table td {
  padding: 14px 16px;
  border: 1px solid var(--yb-border);
  text-align: center;
}

.yb-delivery-table th {
  background: var(--yb-navy-mid);
  color: #fff;
  font-weight: 700;
}

.yb-delivery-table td {
  background: #fff;
  color: var(--yb-text-dark);
  font-weight: 600;
}

/* Legacy purchase pages (.mynavlist) */
.container:has(.mynavlist) .col-md-9 h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--yb-navy);
  margin: 24px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--yb-primary);
}

.container:has(.mynavlist) .col-md-9 .table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
}

.container:has(.mynavlist) .col-md-9 .table td {
  padding: 12px 16px;
  border: 1px solid var(--yb-border);
  text-align: center;
}

.container:has(.mynavlist) .col-md-9 .table tr:first-child td {
  background: var(--yb-navy-mid);
  color: #fff;
  font-weight: 700;
}

/* Legacy customers logo grid (.mynavlist pages) */
.container:has(.mynavlist) .col-md-9 > .row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.container:has(.mynavlist) .col-md-9 > .row > [class*="col-md-"] {
  flex: 0 0 calc(20% - 10px);
  min-width: 120px;
  float: none;
  width: auto;
  text-align: center;
  padding: 16px 10px;
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius);
}

.container:has(.mynavlist) .col-md-9 > .row > .col-md-4 {
  flex: 0 0 calc(40% - 8px);
}

.container:has(.mynavlist) .col-md-9 > .row img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain;
  margin: 0 auto 8px;
}

.container:has(.mynavlist) .col-md-9 > .row > [class*="col-md-"] p {
  font-size: 11px !important;
  line-height: 1.35;
  color: var(--yb-text-gray);
  margin: 0;
}

/* Legacy about pages (.mynavlist sidebar on live CMS) */
.container:has(.mynavlist) {
  background: transparent !important;
  padding: 28px 0 64px !important;
}

.container:has(.mynavlist) .breadcrumb,
.container:has(.mynavlist) ol.breadcrumb {
  background: transparent !important;
  padding: 8px 0;
  margin-bottom: 20px;
  font-size: 13px;
}

.container:has(.mynavlist) .breadcrumb a,
.container:has(.mynavlist) ol.breadcrumb a {
  color: var(--yb-text-gray);
  text-decoration: none;
}

.container:has(.mynavlist) .breadcrumb a:hover,
.container:has(.mynavlist) ol.breadcrumb a:hover {
  color: var(--yb-primary);
}

.container:has(.mynavlist) .breadcrumb > .active,
.container:has(.mynavlist) ol.breadcrumb > .active {
  color: var(--yb-navy);
  font-weight: 500;
}

.container:has(.mynavlist) > .row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.container:has(.mynavlist) .col-md-3 {
  flex: 0 0 260px;
  width: 260px;
  float: none;
  position: sticky;
  top: 128px;
}

.container:has(.mynavlist) .mynavlist {
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius-lg);
  box-shadow: var(--yb-shadow);
  padding: 8px 0;
  margin: 0;
}

.container:has(.mynavlist) .mynavlist li a {
  display: block;
  padding: 9px 16px !important;
  font-size: 13px;
  color: var(--yb-text-gray) !important;
  background: transparent !important;
  border-left: 3px solid transparent;
  border-radius: 0;
}

.container:has(.mynavlist) .mynavlist li.active a,
.container:has(.mynavlist) .mynavlist li a:hover {
  color: var(--yb-primary) !important;
  background: var(--yb-primary-bg-light) !important;
}

.container:has(.mynavlist) .mynavlist li.active a {
  font-weight: 600;
  border-left-color: var(--yb-primary);
}

.container:has(.mynavlist) .mynavlist .nav-header {
  margin: 0;
  padding: 10px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(90deg, var(--yb-navy-mid) 0%, #475569 100%) !important;
  border-top: 1px solid var(--yb-border);
}

.container:has(.mynavlist) .col-md-9 {
  flex: 1;
  min-width: 0;
  float: none;
  background: #fff;
  border: 1px solid var(--yb-border);
  border-radius: var(--yb-radius-lg);
  box-shadow: var(--yb-shadow);
  padding: 28px 32px 36px;
}

.container:has(.mynavlist) .col-md-9 h1 {
  font-family: var(--yb-font) !important;
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  font-weight: 700 !important;
  color: var(--yb-navy);
  margin: 0 0 24px;
  padding-left: 14px;
  border-left: 4px solid var(--yb-primary);
}

.container:has(.mynavlist) .col-md-9 h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yb-navy);
  margin: 36px 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--yb-primary);
}

.container:has(.mynavlist) .col-md-9 p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--yb-text-gray);
}

.container:has(.mynavlist) .col-md-9 a {
  color: var(--yb-primary);
}

.container:has(.mynavlist) .col-md-9 img {
  border-radius: var(--yb-radius);
  border: 1px solid var(--yb-border);
  margin-bottom: 8px;
}

/* Legacy category markup compatibility */
.label-default { background: var(--yb-primary) !important; }

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .yb-hero__showcase { flex-wrap: wrap; margin-top: 16px; }
  .yb-hero__product { max-width: 160px; }
  .yb-featured__grid { grid-template-columns: 1fr; }
  .yb-featured-card__specs { grid-template-columns: 1fr; }
  .yb-system-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .yb-system-banner__media {
    flex: 1 1 auto;
    order: -1;
  }
  .yb-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .yb-prod-grid { grid-template-columns: 1fr; }
  .yb-features { grid-template-columns: repeat(2, 1fr); }
  .yb-video-grid { grid-template-columns: repeat(2, 1fr); }
  .yb-customers { grid-template-columns: repeat(3, 1fr); }
  .yb-split { grid-template-columns: 1fr; padding: 32px 24px; }
  .yb-product-center { padding: 20px 16px 24px; }
  .yb-cat-layout { flex-direction: column; gap: 24px; }
  .yb-cat-sidebar { flex: none; width: 100%; position: static; }
  .yb-about-layout { flex-direction: column; gap: 24px; }
  .yb-about-sidebar { flex: none; width: 100%; position: static; }
  .yb-about-main { padding: 20px 18px 28px; }
  .yb-about-contact__grid { grid-template-columns: 1fr; }
  .yb-rd-layout { flex-direction: column; gap: 24px; }
  .yb-rd-gallery { flex: none; width: 100%; position: static; }
  .yb-customers--page { grid-template-columns: repeat(3, 1fr); }
  .yb-customer--wide { grid-column: span 1; }
  .yb-advantage-block { flex-direction: column; padding: 20px 18px; }
  .yb-advantage-block__media { flex: none; width: 100%; }
  .yb-shipping-gallery { grid-template-columns: 1fr; }
  .yb-bank-info__grid { grid-template-columns: 1fr; }
  .yb-payment-contact { flex-direction: column; }
  .yb-payment-contact__qr { flex: none; width: 100%; }
  .container:has(.mynavlist) > .row { flex-direction: column; }
  .container:has(.mynavlist) .col-md-3 { flex: none; width: 100%; position: static; }
  .container:has(.mynavlist) .col-md-9 { padding: 20px 18px 28px; }
  .doc-card-grid, .case-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 576px) {
  .yb-hero--premium { padding: 48px 0 56px; }
  .yb-hero__grid--premium { flex-direction: column; text-align: center; }
  .yb-hero__desc--light { margin-inline: auto; }
  .yb-hero__actions { justify-content: center; }
  .yb-hero__showcase { order: -1; gap: 8px; }
  .yb-hero__product { max-width: 130px; }
  .yb-hero__connector-icon { width: 28px; height: 28px; font-size: 16px; }
  .yb-hero { padding: 40px 0 48px; }
  .yb-hero__grid { flex-direction: column; text-align: center; gap: 32px; }
  .yb-hero__desc { margin-inline: auto; }
  .yb-hero__actions { justify-content: center; }
  .yb-hero__visual { order: -1; }
  .yb-stats__grid { grid-template-columns: 1fr; }
  .yb-features { grid-template-columns: 1fr; }
  .yb-video-grid { grid-template-columns: 1fr; }
  .yb-customers { grid-template-columns: repeat(2, 1fr); }
  .yb-page--products { padding: 20px 0 48px; }
  .yb-product-tab__item { padding: 10px 14px; font-size: 13px; }
  .doc-card-grid, .case-grid { grid-template-columns: 1fr !important; }
}
