/* ==========================================================================
   YBGJW (ybgjw.com) — Theme v2 Industrial Precision Instrumentation Design
   - Zero SEO / URL Impact: 100% compatible with existing Classic ASP & IIS Rewrite
   - Scalable Architecture: Multi-column Mega Menu (Big + Small Classes), Grid Filter, Multi-Item RFQ
   ========================================================================== */

:root {
  --ybg-navy-950: #061826;
  --ybg-navy-900: #0a2540;
  --ybg-navy-800: #10375c;
  --ybg-primary: #0284c7;
  --ybg-primary-dark: #0369a1;
  --ybg-primary-soft: #e0f2fe;
  --ybg-accent: #ea580c;
  --ybg-accent-dark: #c2410c;
  --ybg-bg: #f8fafc;
  --ybg-surface: #ffffff;
  --ybg-border: #e2e8f0;
  --ybg-border-strong: #cbd5e1;
  --ybg-ink: #0f172a;
  --ybg-muted: #475569;
  --ybg-subtle: #64748b;
  --ybg-radius: 10px;
  --ybg-radius-lg: 14px;
  --ybg-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --ybg-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
  --ybg-shadow-lg: 0 18px 42px rgba(6, 24, 38, 0.16);
  --ybg-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--ybg-font) !important;
  background-color: var(--ybg-bg) !important;
  color: var(--ybg-ink) !important;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

/* ==========================================================================
   1. Self-Contained Vector Icons (Zero Broken Font Dependencies)
   ========================================================================== */
.ybg-ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.14em;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  flex-shrink: 0;
}

.ybg-ico-search { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); }
.ybg-ico-mail { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 7L2 7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 7L2 7'/%3E%3C/svg%3E"); }
.ybg-ico-phone { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.ybg-ico-wa { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a10 10 0 0 0-8.66 15l-1.3 4.75 4.88-1.28A10 10 0 1 0 12 2zm0 18a8 8 0 0 1-4.08-1.12l-.29-.17-2.9.76.77-2.82-.19-.3A8 8 0 1 1 12 20zm4.39-5.99c-.24-.12-1.42-.7-1.64-.78s-.38-.12-.54.12-.62.78-.76.94-.28.18-.52.06a6.56 6.56 0 0 1-1.94-1.2 7.28 7.28 0 0 1-1.34-1.66c-.14-.24 0-.37.1-.49.11-.11.24-.28.36-.42s.16-.24.24-.4.04-.3-.02-.42-.54-1.3-.74-1.78c-.2-.47-.4-.4-.54-.41h-.46a.89.89 0 0 0-.64.3 2.7 2.7 0 0 0-.84 2 4.68 4.68 0 0 0 .98 2.49 10.74 10.74 0 0 0 4.11 3.63c.57.25 1.02.4 1.37.51a3.29 3.29 0 0 0 1.51.1 2.47 2.47 0 0 0 1.62-1.14 2 2 0 0 0 .14-1.14c-.06-.1-.22-.16-.46-.28z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a10 10 0 0 0-8.66 15l-1.3 4.75 4.88-1.28A10 10 0 1 0 12 2zm0 18a8 8 0 0 1-4.08-1.12l-.29-.17-2.9.76.77-2.82-.19-.3A8 8 0 1 1 12 20zm4.39-5.99c-.24-.12-1.42-.7-1.64-.78s-.38-.12-.54.12-.62.78-.76.94-.28.18-.52.06a6.56 6.56 0 0 1-1.94-1.2 7.28 7.28 0 0 1-1.34-1.66c-.14-.24 0-.37.1-.49.11-.11.24-.28.36-.42s.16-.24.24-.4.04-.3-.02-.42-.54-1.3-.74-1.78c-.2-.47-.4-.4-.54-.41h-.46a.89.89 0 0 0-.64.3 2.7 2.7 0 0 0-.84 2 4.68 4.68 0 0 0 .98 2.49 10.74 10.74 0 0 0 4.11 3.63c.57.25 1.02.4 1.37.51a3.29 3.29 0 0 0 1.51.1 2.47 2.47 0 0 0 1.62-1.14 2 2 0 0 0 .14-1.14c-.06-.1-.22-.16-.46-.28z'/%3E%3C/svg%3E"); }
.ybg-ico-list { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='M9 12h6M9 16h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='M9 12h6M9 16h6'/%3E%3C/svg%3E"); }
.ybg-ico-down { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }
.ybg-ico-bars { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cline x1='3' y1='18' x2='21' y2='18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cline x1='3' y1='18' x2='21' y2='18'/%3E%3C/svg%3E"); }
.ybg-ico-plus { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"); }
.ybg-ico-send { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E"); }
.ybg-ico-bolt { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); }
.ybg-ico-pin { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }

/* ==========================================================================
   2. Modern Topbar, Sticky Header & Scalable Two-Level Mega Menu
   ========================================================================== */
.ybg-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.ybg-topbar {
  background: var(--ybg-navy-950);
  color: #cbd5e1;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ybg-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 7px 20px;
}

.ybg-topbar-left,
.ybg-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ybg-topbar a {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.ybg-topbar a:hover {
  color: #38bdf8;
}

.ybg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 132, 199, 0.22);
  color: #7dd3fc;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.ybg-header {
  background: #fff;
  border-bottom: 1px solid var(--ybg-border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.05);
}

.ybg-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px;
}

.ybg-logo img {
  max-height: 52px;
  width: auto;
  display: block;
}

.ybg-search-wrap {
  flex: 1;
  max-width: 480px;
}

.ybg-search-form {
  display: flex;
  background: var(--ybg-bg);
  border: 1.5px solid var(--ybg-border-strong);
  border-radius: var(--ybg-radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ybg-search-form:focus-within {
  border-color: var(--ybg-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
  background: #fff;
}

.ybg-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--ybg-ink);
  outline: none;
  min-width: 0;
}

.ybg-search-btn {
  border: 0;
  background: var(--ybg-primary);
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ybg-search-btn:hover {
  background: var(--ybg-navy-900);
}

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

.ybg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--ybg-radius);
  font-size: 13.5px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
}

.ybg-btn-accent {
  background: var(--ybg-accent);
  color: #fff !important;
}

.ybg-btn-accent:hover {
  background: var(--ybg-accent-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.ybg-btn-primary {
  background: var(--ybg-primary);
  color: #fff !important;
}

.ybg-btn-primary:hover {
  background: var(--ybg-navy-900);
  color: #fff !important;
}

.ybg-btn-outline {
  background: #fff;
  color: var(--ybg-navy-900) !important;
  border-color: var(--ybg-border-strong);
}

.ybg-btn-outline:hover {
  border-color: var(--ybg-primary);
  color: var(--ybg-primary-dark) !important;
  background: #f0f9ff;
}

.ybg-btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: 7px;
}

.ybg-rfq-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ybg-accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

.ybg-mobile-toggle {
  display: none;
  border: 1.5px solid var(--ybg-border-strong);
  background: #fff;
  color: var(--ybg-navy-900);
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 17px;
  cursor: pointer;
}

/* Primary Nav & Scalable Two-Level Mega Menu */
.ybg-nav-bar {
  background: var(--ybg-navy-900);
}

.ybg-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
}

.ybg-nav-item {
  position: static;
}

.ybg-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  color: #e2e8f0 !important;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  text-decoration: none !important;
}

.ybg-nav-link:hover,
.ybg-nav-item:hover > .ybg-nav-link {
  background: var(--ybg-navy-800);
  color: #fff !important;
}

.ybg-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 3px solid var(--ybg-primary);
  border-bottom: 1px solid var(--ybg-border);
  box-shadow: var(--ybg-shadow-lg);
  padding: 22px 24px;
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  max-height: 72vh;
  overflow-y: auto;
}

.ybg-nav-item.has-mega:hover .ybg-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ybg-mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ybg-border);
}

.ybg-mega-head h4 {
  margin: 0;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ybg-muted);
  font-weight: 700;
}

.ybg-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.ybg-mega-group {
  background: var(--ybg-bg);
  border: 1px solid var(--ybg-border);
  border-radius: 10px;
  padding: 12px 14px;
}

.ybg-mega-group-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ybg-navy-900) !important;
  margin-bottom: 6px;
  text-decoration: none !important;
}

.ybg-mega-group-title:hover {
  color: var(--ybg-primary-dark) !important;
}

.ybg-mega-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.ybg-mega-sublist a {
  display: block;
  font-size: 12.5px;
  color: var(--ybg-muted) !important;
  padding: 2px 0;
  text-decoration: none !important;
}

.ybg-mega-sublist a:hover {
  color: var(--ybg-primary) !important;
}

/* Mobile Slide Drawer */
.ybg-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 38, 0.55);
  z-index: 1150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.ybg-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.ybg-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(330px, 88vw);
  background: #fff;
  z-index: 1160;
  transform: translateX(-100%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ybg-shadow-lg);
}

.ybg-mobile-drawer.is-open {
  transform: translateX(0);
}

.ybg-drawer-head {
  background: var(--ybg-navy-900);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.ybg-drawer-close {
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.ybg-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
}

.ybg-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ybg-mobile-nav > li {
  border-bottom: 1px solid var(--ybg-border);
}

.ybg-mobile-nav > li > a {
  display: block;
  padding: 11px 4px;
  font-weight: 600;
  color: var(--ybg-ink) !important;
  text-transform: capitalize;
}

.ybg-mobile-sub {
  list-style: none;
  margin: 0 0 10px;
  padding: 4px 0 4px 14px;
  border-left: 2px solid var(--ybg-primary-soft);
}

.ybg-mobile-sub a {
  display: block;
  padding: 5px 4px;
  font-size: 13.5px;
  color: var(--ybg-muted) !important;
}

/* ==========================================================================
   3. Homepage Sections Visual Upgrade (Hero, Features, Catalog, Products, About, News)
   ========================================================================== */
.slider-area {
  background: linear-gradient(115deg, var(--ybg-navy-950) 0%, var(--ybg-navy-900) 58%, var(--ybg-navy-800) 100%) !important;
  min-height: 460px !important;
  height: auto !important;
  padding: 52px 0 !important;
}

.slider-area .container-fluid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px !important;
}

.slider-content h1 {
  color: #fff !important;
  font-size: clamp(26px, 3.6vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 14px !important;
}

.slider-content p {
  color: #cbd5e1 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  margin-bottom: 22px !important;
}

.slider-button a {
  background: var(--ybg-accent) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 26px !important;
  font-weight: 700 !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
}

.slider-button a:hover {
  background: var(--ybg-accent-dark) !important;
  transform: translateY(-2px);
}

.slider-thumb img {
  border-radius: 14px;
  max-height: 360px;
  width: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
}

/* Feature Advantage Boxes */
.feature-area {
  padding: 48px 0 36px !important;
  background: #fff !important;
  border-bottom: 1px solid var(--ybg-border);
}

.single-feature-box {
  background: var(--ybg-bg) !important;
  border: 1px solid var(--ybg-border) !important;
  border-radius: var(--ybg-radius-lg) !important;
  padding: 24px 18px !important;
  text-align: center;
  height: 100%;
  margin-bottom: 20px;
  box-shadow: var(--ybg-shadow-sm) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.single-feature-box:hover {
  transform: translateY(-3px);
  border-color: var(--ybg-primary) !important;
  box-shadow: var(--ybg-shadow) !important;
}

.single-feature-box .feature-thumb img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border: 3px solid var(--ybg-primary-soft);
}

.single-feature-box .feature-title h2 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--ybg-navy-900) !important;
  margin: 14px 0 8px !important;
}

.single-feature-box .feature-content-text p {
  font-size: 13.5px !important;
  color: var(--ybg-muted) !important;
  margin: 0 !important;
}

/* Section Titles */
.service-area.style-four,
.case-study-area {
  padding: 52px 0 !important;
  background: var(--ybg-bg) !important;
}

.case-study-area {
  background: #fff !important;
  border-top: 1px solid var(--ybg-border);
  border-bottom: 1px solid var(--ybg-border);
}

.service-area .container-fluid,
.case-study-area .container-fluid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px !important;
}

.dreamit-section-title .dreamit-section-sub-title h5 {
  font-size: clamp(22px, 2.3vw, 28px) !important;
  font-weight: 800 !important;
  color: var(--ybg-navy-900) !important;
  text-transform: none !important;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 8px;
}

.dreamit-section-title .dreamit-section-sub-title h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--ybg-primary);
}

/* Product & Category Cards — Zero-CLS Pure CSS Aspect Ratio (Replaces Old jQuery Height Hack!) */
.single-service-box {
  background: #fff !important;
  border: 1px solid var(--ybg-border) !important;
  border-radius: var(--ybg-radius-lg) !important;
  padding: 14px !important;
  margin-bottom: 22px !important;
  box-shadow: var(--ybg-shadow-sm) !important;
  display: flex;
  flex-direction: column;
  height: calc(100% - 22px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.single-service-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--ybg-shadow) !important;
  border-color: var(--ybg-primary) !important;
}

.product_img,
.product_img2,
.product_img .x2,
.product_img .x3,
.product_img2 .x2-,
.product_img2 .x3- {
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  position: static !important;
  border: 0 !important;
}

.product_img .x3,
.product_img2 .x3- {
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
  margin-bottom: 12px !important;
}

.product_img .x3 a,
.product_img2 .x3- a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product_img .x3 img,
.product_img2 .x3- img {
  position: static !important;
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  margin: auto;
  transition: transform 0.25s ease;
}

.single-service-box:hover .product_img img,
.single-service-box:hover .product_img2 img {
  transform: scale(1.04);
}

.single-service-box .service-btn {
  margin-top: auto;
  padding: 4px 2px 2px !important;
  text-align: left !important;
}

.single-service-box .service-btn a {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: var(--ybg-navy-900) !important;
  line-height: 1.4 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none !important;
}

.single-service-box .service-btn a:hover {
  color: var(--ybg-primary) !important;
}

.ybg-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.ybg-card-actions .ybg-btn {
  flex: 1;
}

/* About, CTA, News Shapes Cleanup */
.about-area {
  background: #fff !important;
  padding: 56px 0 !important;
}

.about-shape,
.case-shape,
.blog-shape {
  display: none !important;
}

.about-thumb img:first-child {
  border-radius: 16px !important;
  box-shadow: var(--ybg-shadow);
  width: 100%;
  object-fit: cover;
}

.about-thumb .rotate {
  display: none !important;
}

.skills-section {
  position: relative;
  padding: 56px 0 !important;
}

.skills-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 24, 38, 0.88) 0%, rgba(10, 37, 64, 0.78) 100%);
}

.skills-section .container {
  position: relative;
  z-index: 2;
}

.skills-content h3 { color: #7dd3fc !important; font-size: 16px !important; text-transform: uppercase; letter-spacing: 0.08em; }
.skills-content h1 { color: #fff !important; font-size: clamp(24px, 3vw, 34px) !important; font-weight: 800 !important; }
.call-do-action-btn a {
  background: var(--ybg-accent) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 13px 28px !important;
  font-weight: 700 !important;
}

.blog-area {
  padding: 52px 0 !important;
  background: var(--ybg-bg) !important;
}

.blog-single-box {
  background: #fff !important;
  border: 1px solid var(--ybg-border) !important;
  border-radius: var(--ybg-radius-lg) !important;
  overflow: hidden;
  padding: 18px !important;
  margin-bottom: 20px;
  box-shadow: var(--ybg-shadow-sm) !important;
}

.blog-title h2 a {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--ybg-navy-900) !important;
}

/* ==========================================================================
   4. Inner Page Banners, Subcategory Pills, Toolbar, Detail & Pagination
   ========================================================================== */
.ailata-breatcome-area {
  position: relative !important;
  min-height: 170px !important;
  height: auto !important;
  padding: 36px 0 !important;
  background-color: var(--ybg-navy-900) !important;
}

.ailata-breatcome-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 24, 38, 0.90) 0%, rgba(16, 55, 92, 0.80) 100%);
}

.ailata-breatcome-area .container {
  position: relative;
  z-index: 2;
}

.breatcome-content-title h1 {
  color: #fff !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 800 !important;
  margin-bottom: 10px !important;
}

.breatcome-content-text ul li,
.breatcome-content-text ul li a {
  color: #e2e8f0 !important;
  font-size: 14px !important;
}

.breatcome-content-text ul li a:hover {
  color: #7dd3fc !important;
}

.breatcome-content-text hr {
  border-color: rgba(255, 255, 255, 0.16);
  margin: 14px 0;
}

/* Filter Toolbar on Products Listing */
.ybg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--ybg-border);
  border-radius: var(--ybg-radius);
  padding: 12px 16px;
  margin-bottom: 22px;
  box-shadow: var(--ybg-shadow-sm);
}

.ybg-toolbar input {
  width: 100%;
  max-width: 340px;
  padding: 8px 12px;
  border: 1.5px solid var(--ybg-border-strong);
  border-radius: 8px;
  font-size: 13.5px;
  outline: none;
}

.ybg-toolbar input:focus {
  border-color: var(--ybg-primary);
}

/* Pagination */
#page {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0 !important;
  padding: 16px !important;
  background: #fff;
  border: 1px solid var(--ybg-border);
  border-radius: var(--ybg-radius);
}

#page a,
#page span.text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid var(--ybg-border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ybg-ink) !important;
  background: #fff;
  text-decoration: none !important;
}

#page a:hover {
  background: var(--ybg-primary);
  border-color: var(--ybg-primary);
  color: #fff !important;
}

/* Product Detail Sidebar, Specs & Inquiry Form */
.left-content {
  border: 1px solid var(--ybg-border) !important;
  border-radius: var(--ybg-radius-lg) !important;
  overflow: hidden;
  box-shadow: var(--ybg-shadow-sm);
}

.left-content .widget-title {
  background: var(--ybg-navy-900) !important;
  color: #fff !important;
  border: 0 !important;
  font-size: 14px !important;
  letter-spacing: 0.05em;
}

.treeview {
  border: 0 !important;
  padding: 8px 12px !important;
  max-height: 520px;
  overflow-y: auto;
}

.treeview li {
  background: none !important;
  line-height: 1.4 !important;
}

.treeview li a {
  padding: 9px 10px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  color: var(--ybg-ink) !important;
  font-weight: 500;
  border-radius: 6px;
}

.treeview li a:hover {
  background: #f0f9ff;
  color: var(--ybg-primary-dark) !important;
}

.product-single {
  background: #fff;
  border: 1px solid var(--ybg-border);
  border-radius: var(--ybg-radius-lg);
  padding: 22px;
  box-shadow: var(--ybg-shadow-sm);
}

.product-single h4 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--ybg-navy-900) !important;
}

#tabs-1 + .tab-content,
.tab-content {
  background: #fff;
  border: 1px solid var(--ybg-border);
  border-radius: 0 var(--ybg-radius-lg) var(--ybg-radius-lg) var(--ybg-radius-lg);
  padding: 24px;
  overflow-x: auto;
}

form#feedback {
  background: #fff;
  border: 1px solid var(--ybg-border);
  border-top: 4px solid var(--ybg-accent);
  border-radius: var(--ybg-radius-lg);
  padding: 24px;
  margin-top: 24px;
  box-shadow: var(--ybg-shadow-sm);
}

form#feedback .form-control {
  background: #fff !important;
  border: 1.5px solid var(--ybg-border-strong) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  height: auto !important;
}

form#feedback .form-control:focus {
  border-color: var(--ybg-primary) !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14) !important;
}

form#feedback .btn {
  background: var(--ybg-accent) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 700 !important;
  border: 0 !important;
}

form#feedback .btn:hover {
  background: var(--ybg-accent-dark) !important;
}

/* ==========================================================================
   5. Modern Enterprise Footer, Inquiry Drawer & Floating Actions
   ========================================================================== */
.ybg-footer {
  background: var(--ybg-navy-950);
  color: #cbd5e1;
  margin-top: 48px;
}

.ybg-footer-top {
  padding: 48px 0 36px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 32px;
}

.ybg-footer-logo img {
  max-height: 46px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.ybg-footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.ybg-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ybg-footer-links a {
  color: #cbd5e1 !important;
  font-size: 13.5px;
  text-decoration: none !important;
}

.ybg-footer-links a:hover {
  color: #38bdf8 !important;
}

.ybg-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.ybg-footer-tags a {
  font-size: 12px;
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 9px;
  border-radius: 999px;
  text-decoration: none !important;
}

.ybg-footer-tags a:hover {
  background: var(--ybg-primary);
  color: #fff !important;
}

.ybg-footer-contact {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  margin-bottom: 10px;
}

.ybg-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 22px;
  font-size: 12.5px;
  color: #94a3b8;
}

/* Hide legacy QQ/MSN green sidebar & old popup */
#scrollsidebar,
.search-popup {
  display: none !important;
}

/* Slide-Over Multi-Product Inquiry Drawer */
.ybg-rfq-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 94vw);
  background: #fff;
  z-index: 1210;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ybg-shadow-lg);
}

.ybg-rfq-drawer.is-open {
  transform: translateX(0);
}

.ybg-rfq-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--ybg-border);
  border-radius: 10px;
  background: var(--ybg-bg);
  margin-bottom: 10px;
}

.ybg-rfq-item-info {
  flex: 1;
  min-width: 0;
}

.ybg-rfq-item-info strong {
  display: block;
  font-size: 13.5px;
  color: var(--ybg-navy-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ybg-rfq-qty {
  width: 60px;
  padding: 4px 6px;
  border: 1px solid var(--ybg-border-strong);
  border-radius: 6px;
  text-align: center;
}

.ybg-rfq-del {
  border: 0;
  background: transparent;
  color: #ef4444;
  cursor: pointer;
  font-size: 17px;
}

.ybg-float-bar {
  position: fixed;
  right: 12px;
  bottom: 18px;
  z-index: 880;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ybg-float-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 17px;
  box-shadow: 0 6px 18px rgba(6, 24, 38, 0.24);
  border: 0;
  cursor: pointer;
  position: relative;
  text-decoration: none !important;
}

.ybg-float-rfq { background: var(--ybg-accent); }
.ybg-float-wa { background: #16a34a; }
.ybg-float-mail { background: var(--ybg-primary); }

.ybg-float-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ybg-navy-950);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ybg-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--ybg-navy-950);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s;
}

.ybg-toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Responsive */
@media (max-width: 960px) {
  .ybg-nav-bar { display: none; }
  .ybg-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .ybg-header-main { flex-wrap: wrap; gap: 12px; }
  .ybg-search-wrap { order: 3; flex: 1 0 100%; max-width: 100%; }
  .ybg-footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ybg-topbar-right { display: none; }
  .ybg-header-actions .ybg-btn-accent { display: none; }
}
