/* ==========================================================================
   YBGJW (ybgjw.com) — Theme v3 Clean Industrial Precision Design System
   - 100% Self-Contained: Zero legacy Bootstrap/CDN CSS bloat, crisp sans-serif typography
   - 100% SEO-Safe: Preserves all IIS Rewrite URLs, TDK, and server-rendered HTML
   - Built for Scale: Supports 5 to 100+ dynamic big/small categories & thousands of SKUs
   ========================================================================== */

:root {
  --ybg-navy-950: #061523;
  --ybg-navy-900: #0b2239;
  --ybg-navy-800: #133557;
  --ybg-blue-700: #0369a1;
  --ybg-blue-600: #0284c7;
  --ybg-blue-500: #0ea5e9;
  --ybg-blue-100: #e0f2fe;
  --ybg-blue-50: #f0f9ff;
  --ybg-accent: #ea580c;
  --ybg-accent-hover: #c2410c;
  --ybg-green: #059669;
  --ybg-green-soft: #ecfdf5;
  --ybg-bg: #f8fafc;
  --ybg-surface: #ffffff;
  --ybg-border: #e2e8f0;
  --ybg-border-strong: #cbd5e1;
  --ybg-ink: #0f172a;
  --ybg-muted: #475569;
  --ybg-subtle: #64748b;
  --ybg-radius-sm: 6px;
  --ybg-radius: 10px;
  --ybg-radius-lg: 14px;
  --ybg-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --ybg-shadow: 0 8px 24px rgba(11, 34, 57, 0.08);
  --ybg-shadow-lg: 0 18px 42px rgba(6, 21, 35, 0.16);
  --ybg-container: 1280px;
  --ybg-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--ybg-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ybg-ink);
  background-color: var(--ybg-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ybg-blue-700);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--ybg-navy-900);
}

img {
  max-width: 100%;
  height: auto;
}

.ybg-container {
  width: 100%;
  max-width: var(--ybg-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. Self-Contained Vector Icons (Zero External Font 404s)
   ========================================================================== */
.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-grid { -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='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%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='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
.ybg-ico-rows { -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.2' stroke-linecap='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Ccircle cx='4' cy='6' r='1.2' fill='black'/%3E%3Ccircle cx='4' cy='12' r='1.2' fill='black'/%3E%3Ccircle cx='4' cy='18' r='1.2' fill='black'/%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.2' stroke-linecap='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Ccircle cx='4' cy='6' r='1.2' fill='black'/%3E%3Ccircle cx='4' cy='12' r='1.2' fill='black'/%3E%3Ccircle cx='4' cy='18' r='1.2' fill='black'/%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-right { -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%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='13 6 19 12 13 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' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='13 6 19 12 13 18'/%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-shield { -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='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%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='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.ybg-ico-truck { -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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='3' width='15' height='13'/%3E%3Cpolygon points='16 8 20 8 23 11 23 16 16 16 16 8'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='3' width='15' height='13'/%3E%3Cpolygon points='16 8 20 8 23 11 23 16 16 16 16 8'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E"); }
.ybg-ico-clock { -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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='12 7 12 12 15.5 14'/%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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='12 7 12 12 15.5 14'/%3E%3C/svg%3E"); }
.ybg-ico-globe { -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' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%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' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); }
.ybg-ico-check { -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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='9 12 11.5 14.5 16 9.5'/%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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='9 12 11.5 14.5 16 9.5'/%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"); }
.ybg-ico-folder { -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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }

/* ==========================================================================
   2. Topbar, Sticky Header & Scalable Two-Level Mega Menu
   ========================================================================== */
.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: 16px;
  min-height: 38px;
  flex-wrap: wrap;
  padding: 6px 20px;
}

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

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

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

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

.ybg-header {
  background: var(--ybg-surface);
  border-bottom: 1px solid var(--ybg-border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

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

.ybg-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

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

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

.ybg-search-form {
  display: flex;
  align-items: stretch;
  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-blue-600);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
  background: #fff;
}

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

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

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

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

/* Unified Button System */
.ybg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--ybg-radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}

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

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

.ybg-btn-blue {
  background: var(--ybg-blue-600);
  color: #fff;
}

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

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

.ybg-btn-outline:hover {
  border-color: var(--ybg-blue-600);
  color: var(--ybg-blue-700);
  background: var(--ybg-blue-50);
}

.ybg-btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.ybg-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.ybg-btn-sm {
  padding: 7px 12px;
  font-size: 13px;
  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 12px;
  font-size: 16px;
  cursor: pointer;
}

/* Primary Navigation Bar & Scalable 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;
  font-size: 14px;
  font-weight: 600;
}

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

.ybg-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  color: var(--ybg-ink);
  border-top: 3px solid var(--ybg-blue-600);
  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: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ybg-border);
}

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

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

.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);
  margin-bottom: 6px;
}

.ybg-mega-group-title:hover {
  color: var(--ybg-blue-700);
}

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

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

.ybg-mega-sublist a:hover {
  color: var(--ybg-blue-600);
}

/* ==========================================================================
   3. Homepage Hero, KPI Trust Strip & Standard Sections
   ========================================================================== */
.ybg-hero {
  position: relative;
  background: linear-gradient(115deg, var(--ybg-navy-950) 0%, var(--ybg-navy-900) 56%, var(--ybg-blue-700) 100%);
  color: #fff;
  overflow: hidden;
  padding: 58px 0 64px;
}

.ybg-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: center;
}

.ybg-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.36);
  color: #7dd3fc;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ybg-hero-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.ybg-hero-desc {
  margin: 0 0 24px;
  font-size: 16px;
  color: #cbd5e1;
  max-width: 600px;
}

.ybg-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ybg-hero-visual {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.ybg-hero-visual img {
  border-radius: 10px;
  max-height: 310px;
  width: 100%;
  object-fit: contain;
  background: #fff;
  padding: 14px;
}

.ybg-trust-strip {
  background: var(--ybg-surface);
  border-bottom: 1px solid var(--ybg-border);
}

.ybg-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
}

.ybg-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
}

.ybg-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ybg-blue-50);
  color: var(--ybg-blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.ybg-trust-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--ybg-navy-900);
}

.ybg-trust-item span {
  display: block;
  font-size: 12.5px;
  color: var(--ybg-muted);
}

.ybg-section {
  padding: 50px 0;
}

.ybg-section-alt {
  background: var(--ybg-surface);
  border-top: 1px solid var(--ybg-border);
  border-bottom: 1px solid var(--ybg-border);
}

.ybg-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ybg-section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ybg-blue-600);
  margin-bottom: 4px;
}

.ybg-section-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--ybg-navy-900);
  letter-spacing: -0.02em;
}

.ybg-section-sub {
  margin: 6px 0 0;
  font-size: 14.5px;
  color: var(--ybg-muted);
}

/* ==========================================================================
   4. Category Grid & Product Cards (Zero CLS Pure CSS Aspect Ratio)
   ========================================================================== */
.ybg-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.ybg-cat-card {
  display: flex;
  flex-direction: column;
  background: var(--ybg-surface);
  border: 1px solid var(--ybg-border);
  border-radius: var(--ybg-radius-lg);
  overflow: hidden;
  box-shadow: var(--ybg-shadow-sm);
}

.ybg-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ybg-shadow);
  border-color: var(--ybg-blue-600);
}

.ybg-cat-card-media {
  height: 185px;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--ybg-border);
  overflow: hidden;
}

.ybg-cat-card-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ybg-cat-card-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--ybg-blue-50);
  color: var(--ybg-blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.ybg-cat-card-body {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  font-weight: 700;
  color: var(--ybg-navy-900);
  font-size: 14.5px;
}

.ybg-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 18px;
}

.ybg-product-grid.is-list-view {
  grid-template-columns: 1fr;
}

.ybg-product-card {
  background: var(--ybg-surface);
  border: 1px solid var(--ybg-border);
  border-radius: var(--ybg-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ybg-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ybg-product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ybg-shadow);
  border-color: var(--ybg-blue-500);
}

.ybg-product-grid.is-list-view .ybg-product-card {
  flex-direction: row;
  align-items: stretch;
}

.ybg-product-media {
  height: 205px;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--ybg-border);
  overflow: hidden;
}

.ybg-product-grid.is-list-view .ybg-product-media {
  width: 210px;
  height: 165px;
  border-bottom: 0;
  border-right: 1px solid var(--ybg-border);
  flex-shrink: 0;
}

.ybg-product-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.ybg-product-card:hover .ybg-product-media img {
  transform: scale(1.04);
}

.ybg-product-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ybg-product-title {
  margin: 0 0 12px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ybg-navy-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ybg-product-title a {
  color: inherit;
}

.ybg-product-title a:hover {
  color: var(--ybg-blue-600);
}

.ybg-product-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

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

/* ==========================================================================
   5. Inner Page Banner, Two-Column Shell, Sidebar, Toolbar & Pagination
   ========================================================================== */
.ybg-page-banner {
  position: relative;
  background: linear-gradient(120deg, var(--ybg-navy-950) 0%, var(--ybg-navy-800) 60%, var(--ybg-blue-700) 100%);
  color: #fff;
  overflow: hidden;
  padding: 34px 0;
}

.ybg-page-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  filter: blur(1.5px);
  pointer-events: none;
}

.ybg-page-banner-inner {
  position: relative;
  z-index: 2;
}

.ybg-page-banner h1 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.ybg-page-banner p {
  margin: 0;
  font-size: 14px;
  color: #bae6fd;
}

.ybg-page-shell {
  max-width: var(--ybg-container);
  margin: 0 auto;
  padding: 28px 20px 56px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.ybg-sidebar {
  position: sticky;
  top: 90px;
}

.ybg-card {
  background: var(--ybg-surface);
  border: 1px solid var(--ybg-border);
  border-radius: var(--ybg-radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--ybg-shadow-sm);
}

.ybg-sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ybg-border);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ybg-navy-900);
}

.ybg-sidebar-filter {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  border: 1px solid var(--ybg-border-strong);
  border-radius: 7px;
  margin-bottom: 10px;
  background: var(--ybg-bg);
  outline: none;
}

.ybg-sidebar-filter:focus {
  border-color: var(--ybg-blue-600);
  background: #fff;
}

.ybg-side-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 460px;
  overflow-y: auto;
}

.ybg-side-cat-list > li {
  border-bottom: 1px solid #f1f5f9;
}

.ybg-side-cat-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ybg-ink);
}

.ybg-side-cat-list > li > a:hover,
.ybg-side-cat-list > li > a.is-active {
  background: var(--ybg-blue-50);
  color: var(--ybg-blue-700);
}

.ybg-side-sub-list {
  list-style: none;
  margin: 0 0 8px 12px;
  padding: 4px 0 4px 10px;
  border-left: 2px solid var(--ybg-blue-100);
}

.ybg-side-sub-list a {
  display: block;
  padding: 5px 6px;
  font-size: 12.5px;
  color: var(--ybg-muted);
}

.ybg-side-sub-list a:hover {
  color: var(--ybg-blue-600);
}

.ybg-side-cta {
  background: linear-gradient(155deg, var(--ybg-navy-900) 0%, var(--ybg-blue-700) 100%);
  color: #fff;
  border: 0;
}

.ybg-side-cta h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #fff;
}

.ybg-side-cta p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #cbd5e1;
}

.ybg-side-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.ybg-side-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Breadcrumbs, Subcategory Pills, Toolbar, Pagination */
.ybg-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: var(--ybg-surface);
  border: 1px solid var(--ybg-border);
  border-radius: var(--ybg-radius);
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--ybg-muted);
}

.ybg-breadcrumb .sep {
  color: var(--ybg-border-strong);
}

.ybg-subcat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ybg-subcat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ybg-border-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--ybg-ink);
}

.ybg-subcat-pill:hover {
  border-color: var(--ybg-blue-600);
  background: var(--ybg-blue-50);
  color: var(--ybg-blue-700);
}

.ybg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--ybg-surface);
  border: 1px solid var(--ybg-border);
  border-radius: var(--ybg-radius);
  padding: 12px 16px;
  margin-bottom: 18px;
}

.ybg-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 220px;
}

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

.ybg-toolbar-left input:focus {
  border-color: var(--ybg-blue-600);
}

.ybg-view-switch {
  display: inline-flex;
  border: 1px solid var(--ybg-border-strong);
  border-radius: 8px;
  overflow: hidden;
}

.ybg-view-btn {
  border: 0;
  background: #fff;
  color: var(--ybg-muted);
  padding: 7px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ybg-view-btn.is-active {
  background: var(--ybg-navy-900);
  color: #fff;
}

.ybg-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 16px;
  background: var(--ybg-surface);
  border: 1px solid var(--ybg-border);
  border-radius: var(--ybg-radius);
}

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

.ybg-pagination a:hover {
  border-color: var(--ybg-blue-600);
  background: var(--ybg-blue-50);
  color: var(--ybg-blue-700);
}

/* ==========================================================================
   6. Product Detail Gallery, Specs, Forms & Rich Prose
   ========================================================================== */
.ybg-detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: 24px;
  background: var(--ybg-surface);
  border: 1px solid var(--ybg-border);
  border-radius: var(--ybg-radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--ybg-shadow-sm);
}

.ybg-gallery-main {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--ybg-border);
  border-radius: var(--ybg-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  margin-bottom: 10px;
}

.ybg-gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ybg-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ybg-gallery-thumb {
  width: 62px;
  height: 62px;
  padding: 4px;
  border: 1.5px solid var(--ybg-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ybg-gallery-thumb.is-active,
.ybg-gallery-thumb:hover {
  border-color: var(--ybg-blue-600);
}

.ybg-gallery-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ybg-detail-title {
  margin: 0 0 12px;
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 800;
  color: var(--ybg-navy-900);
  line-height: 1.25;
}

.ybg-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ybg-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ybg-bg);
  border: 1px solid var(--ybg-border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ybg-muted);
}

.ybg-pill-green {
  background: var(--ybg-green-soft);
  border-color: #a7f3d0;
  color: #047857;
}

.ybg-detail-summary {
  background: var(--ybg-bg);
  border: 1px solid var(--ybg-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ybg-muted);
  margin-bottom: 18px;
  line-height: 1.65;
}

.ybg-prose {
  overflow-x: auto;
  color: var(--ybg-muted);
  line-height: 1.75;
}

.ybg-prose h2, .ybg-prose h3, .ybg-prose h4 {
  color: var(--ybg-navy-900);
  margin-top: 20px;
  margin-bottom: 10px;
}

.ybg-prose table {
  border-collapse: collapse;
  max-width: 100%;
  margin: 14px 0;
}

.ybg-prose table td,
.ybg-prose table th {
  border: 1px solid var(--ybg-border);
  padding: 8px 12px;
  font-size: 14px;
}

.ybg-prose table th {
  background: var(--ybg-bg);
  color: var(--ybg-navy-900);
  font-weight: 700;
}

/* Modern Quick Quote Form */
.ybg-rfq-card {
  background: var(--ybg-surface);
  border: 1px solid var(--ybg-border);
  border-top: 4px solid var(--ybg-accent);
  border-radius: var(--ybg-radius-lg);
  padding: 24px;
  margin: 24px 0;
  box-shadow: var(--ybg-shadow-sm);
}

.ybg-rfq-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.ybg-rfq-head h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ybg-navy-900);
}

.ybg-rfq-head p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ybg-muted);
}

.ybg-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ybg-form-full {
  grid-column: 1 / -1;
}

.ybg-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ybg-ink);
  margin-bottom: 5px;
}

.ybg-field input,
.ybg-field select,
.ybg-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--ybg-border-strong);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ybg-ink);
  background: #fff;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.ybg-field input:focus,
.ybg-field select:focus,
.ybg-field textarea:focus {
  border-color: var(--ybg-blue-600);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

/* News Cards */
.ybg-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.ybg-news-card {
  background: var(--ybg-surface);
  border: 1px solid var(--ybg-border);
  border-radius: var(--ybg-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ybg-shadow-sm);
}

.ybg-news-card-media {
  aspect-ratio: 16 / 9;
  background: var(--ybg-bg);
  overflow: hidden;
}

.ybg-news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ybg-news-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ybg-news-card-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.ybg-news-card-body h3 a {
  color: var(--ybg-navy-900);
}

.ybg-news-card-body h3 a:hover {
  color: var(--ybg-blue-600);
}

/* ==========================================================================
   7. Enterprise Footer, Mobile Drawer, Multi-Item RFQ Drawer & FABs
   ========================================================================== */
.ybg-footer {
  background: var(--ybg-navy-950);
  color: #cbd5e1;
  margin-top: 32px;
}

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

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

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

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

.ybg-footer-links a {
  color: #cbd5e1;
  font-size: 13.5px;
}

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

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

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

.ybg-footer-tags a:hover {
  background: var(--ybg-blue-600);
  color: #fff;
}

.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: 18px 0 24px;
  font-size: 12.5px;
  color: #94a3b8;
}

/* Drawers */
.ybg-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 21, 35, 0.56);
  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(340px, 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-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-drawer-head {
  background: var(--ybg-navy-900);
  color: #fff;
  padding: 15px 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;
}

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

.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);
}

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

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

.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: 5px 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;
  font-size: 17px;
  box-shadow: 0 6px 18px rgba(6, 21, 35, 0.24);
  border: 0;
  cursor: pointer;
  position: relative;
}

.ybg-float-rfq { background: var(--ybg-accent); }
.ybg-float-wa { background: #16a34a; }
.ybg-float-mail { background: var(--ybg-blue-600); }
.ybg-float-btn:hover { color: #fff; transform: scale(1.06); }

.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);
}

/* ==========================================================================
   8. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .ybg-hero-grid { grid-template-columns: 1fr; }
  .ybg-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .ybg-footer-top { grid-template-columns: repeat(2, 1fr); }
  .ybg-detail-hero { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .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-page-shell { grid-template-columns: 1fr; }
  .ybg-sidebar { position: static; order: 2; }
  .ybg-product-grid.is-list-view .ybg-product-card { flex-direction: column; }
  .ybg-product-grid.is-list-view .ybg-product-media { width: 100%; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--ybg-border); }
}

@media (max-width: 640px) {
  .ybg-topbar-right { display: none; }
  .ybg-header-actions .ybg-btn-accent { display: none; }
  .ybg-trust-grid { grid-template-columns: 1fr; }
  .ybg-form-grid { grid-template-columns: 1fr; }
  .ybg-footer-top { grid-template-columns: 1fr; }
}
