/* ==========================================================
   Lisen Industrial — Global E-commerce Site
   Reference: newegg.com visual pattern (dark blue + orange CTA)
   Adaptation: B2B industrial automation parts (PLC / HMI / Drives / Sensors)
   ========================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand-blue: #003D7A;
  --brand-blue-2: #0A4A8F;
  --brand-orange: #E65C00;
  --brand-orange-2: #FF6B1A;
  --gray-900: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --green: #10B981;
  --red: #DC2626;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

html, body {
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-orange); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ============ TOP UTILITY BAR ============ */
.top-bar {
  background: #0a0a0a;
  color: #ccc;
  font-size: 12px;
  padding: 8px 0;
}
.top-bar .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: #ccc; margin-left: 18px; }
.top-bar a:hover { color: #fff; }
.top-bar .left { display: flex; align-items: center; gap: 16px; }
.top-bar .left .ship-badge {
  color: var(--brand-orange);
  font-weight: 600;
}
.top-bar .right { display: flex; align-items: center; }

/* ============ MAIN HEADER ============ */
.header {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
}
.header .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--brand-blue);
  border-radius: 6px;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  bottom: 6px; right: 6px;
  width: 10px; height: 10px;
  background: var(--brand-orange);
  border-radius: 50%;
}
.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.3px;
}
.logo-text small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--gray-500);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Search */
.search {
  flex: 1;
  max-width: 720px;
  display: flex;
  border: 2px solid var(--brand-blue);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.search select {
  border: none;
  background: var(--gray-50);
  padding: 0 12px;
  font-size: 13px;
  color: var(--gray-700);
  border-right: 1px solid var(--gray-200);
  cursor: pointer;
}
.search input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
}
.search button {
  background: var(--brand-blue);
  color: #fff;
  padding: 0 24px;
  font-weight: 600;
  font-size: 14px;
}
.search button:hover { background: var(--brand-blue-2); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.header-actions .action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-700);
}
.header-actions .action .icon {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-size: 18px;
}
.header-actions .action small {
  display: block;
  font-size: 11px;
  color: var(--gray-500);
}
.cart-btn {
  background: var(--brand-orange);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.cart-btn:hover { background: var(--brand-orange-2); color: #fff !important; }
.cart-btn .count {
  background: #fff;
  color: var(--brand-orange);
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

/* ============ MAIN NAV (CAT) ============ */
.main-nav {
  background: var(--brand-blue);
  color: #fff;
}
.main-nav .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
}
.main-nav .menu-btn {
  background: var(--brand-blue-2);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.main-nav .menu-btn .bars {
  display: flex; flex-direction: column; gap: 3px;
}
.main-nav .menu-btn .bars span {
  display: block;
  width: 18px; height: 2px;
  background: #fff;
}
.main-nav ul {
  display: flex;
  flex: 1;
}
.main-nav ul li a {
  display: block;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  transition: background 0.15s;
}
.main-nav ul li a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.main-nav ul li.hot a {
  color: #FFE5B4;
}
.main-nav ul li.hot a::after {
  content: "HOT";
  background: var(--brand-orange);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
  margin-left: 4px;
  vertical-align: top;
}
.main-nav .ship-msg {
  font-size: 12px;
  color: #B5D5F0;
  padding: 0 18px;
  white-space: nowrap;
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  background: var(--gray-50);
  padding: 10px 0;
  font-size: 12.5px;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--brand-orange); }
.breadcrumb .sep { margin: 0 6px; color: var(--gray-400); }
.breadcrumb .current { color: var(--gray-900); font-weight: 500; }

/* ============ LAYOUT ============ */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 36px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-blue);
}
.section-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
}
.section-head h2 .accent { color: var(--brand-orange); }
.section-head .more {
  font-size: 13px;
  color: var(--brand-blue);
  font-weight: 500;
}

/* ============ HERO ============ */
.hero {
  padding: 24px 0;
  background: var(--gray-50);
}
.hero .container {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 16px;
}
.cat-sidebar {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cat-sidebar h3 {
  background: var(--brand-blue);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
}
.cat-sidebar ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.cat-sidebar ul li a:hover {
  background: var(--gray-50);
  color: var(--brand-orange);
  padding-left: 20px;
}
.cat-sidebar ul li a .arrow { color: var(--gray-400); font-size: 11px; }

.hero-main {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #003D7A 0%, #0A4A8F 50%, #1E6BB8 100%);
  min-height: 420px;
  padding: 48px 56px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-main::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: radial-gradient(circle at 80% 50%, rgba(230,92,0,0.25), transparent 60%);
}
.hero-main .tag {
  display: inline-block;
  background: var(--brand-orange);
  color: #fff;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  width: fit-content;
  margin-bottom: 16px;
}
.hero-main h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  max-width: 560px;
  position: relative;
  z-index: 1;
}
.hero-main h1 span { color: #FFB37A; }
.hero-main p {
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 28px;
  opacity: 0.92;
  position: relative;
  z-index: 1;
}
.hero-main .cta-group {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s;
}
.btn-primary {
  background: var(--brand-orange);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-orange-2); color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover { background: #fff; color: var(--brand-blue); }
.btn-blue {
  background: var(--brand-blue);
  color: #fff;
}
.btn-blue:hover { background: var(--brand-blue-2); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 15px; }

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-side .promo {
  border-radius: var(--radius-md);
  padding: 20px;
  color: #fff;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.hero-side .promo.p1 {
  background: linear-gradient(135deg, #E65C00, #FF8C42);
}
.hero-side .promo.p2 {
  background: linear-gradient(135deg, #1F2937, #374151);
}
.hero-side .promo.p3 {
  background: linear-gradient(135deg, #10B981, #059669);
}
.hero-side .promo .tag {
  background: rgba(255,255,255,0.2);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 10px;
}
.hero-side .promo h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
}
.hero-side .promo p {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 12px;
}
.hero-side .promo a {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

/* ============ FEATURES BAR ============ */
.features-bar {
  background: #fff;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
}
.features-bar .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-item .icon-circle {
  width: 44px; height: 44px;
  background: var(--gray-50);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--brand-blue);
}
.feature-item .text strong {
  display: block;
  font-size: 13.5px;
  color: var(--gray-900);
  font-weight: 700;
  margin-bottom: 2px;
}
.feature-item .text span {
  font-size: 12px;
  color: var(--gray-500);
}

/* ============ CATEGORY GRID ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
  transition: all 0.15s;
}
.cat-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cat-card .icon-box {
  width: 56px; height: 56px;
  background: var(--gray-50);
  border-radius: 12px;
  display: grid; place-items: center;
  margin: 0 auto 10px;
  font-size: 28px;
  color: var(--brand-blue);
}
.cat-card .name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.cat-card .count {
  font-size: 11px;
  color: var(--gray-500);
}

/* ============ DEAL STRIP ============ */
.deal-strip {
  background: linear-gradient(90deg, #E65C00, #FF6B1A);
  color: #fff;
  padding: 20px 0;
}
.deal-strip .container {
  display: flex;
  align-items: center;
  gap: 24px;
}
.deal-strip .badge {
  background: #fff;
  color: var(--brand-orange);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.deal-strip h3 {
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}
.deal-strip .timer {
  display: flex;
  gap: 6px;
  align-items: center;
}
.deal-strip .timer-box {
  background: #1F2937;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 18px;
  min-width: 44px;
  text-align: center;
}
.deal-strip .timer-sep {
  font-size: 20px;
  font-weight: 700;
}
.deal-strip .desc {
  flex: 1;
  font-size: 14px;
  opacity: 0.95;
}
.deal-strip .desc strong { color: #FFE5B4; }
.deal-strip .btn {
  background: #fff;
  color: var(--brand-orange);
  flex-shrink: 0;
}

/* ============ PRODUCT GRID ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.15s;
  position: relative;
}
.product-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}
.product-card .badges {
  position: absolute;
  top: 8px; left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.product-card .badge-tag {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}
.badge-tag.deal { background: var(--brand-orange); }
.badge-tag.new { background: var(--green); }
.badge-tag.hot { background: #DC2626; }
.badge-tag.eol { background: #1F2937; }

.product-card .img-wrap {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: grid; place-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.product-card .img-wrap .img-placeholder {
  width: 100%; height: 100%;
  background:
    /* LED row at top */
    linear-gradient(180deg, transparent 12%, #10B981 12%, #10B981 14%, transparent 14%, transparent 18%, #DC2626 18%, #DC2626 20%, transparent 20%, transparent 24%, #F59E0B 24%, #F59E0B 26%, transparent 26%, transparent 30%, #10B981 30%, #10B981 32%, transparent 32%),
    /* terminal block bottom */
    linear-gradient(0deg, #1F2937 18%, transparent 18%),
    /* product body */
    linear-gradient(135deg, #D1D5DB 0%, #9CA3AF 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  background-position: top, bottom, center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1F2937;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  text-align: center;
  position: relative;
  padding: 18% 8% 22%;
  gap: 2px;
}
.product-card .img-wrap .img-placeholder::before {
  content: "";
  position: absolute;
  top: 36%;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgba(0,0,0,0.1);
  border-radius: 1px;
}
.product-card .img-wrap .img-placeholder::after {
  content: "";
  position: absolute;
  bottom: 22%;
  left: 8%;
  right: 8%;
  height: 14px;
  background: repeating-linear-gradient(90deg, #374151 0 6px, #1F2937 6px 8px);
  border-radius: 2px;
}
.product-card .img-wrap .img-placeholder .ph-brand {
  font-size: 11px;
  font-weight: 800;
  color: #003D7A;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.product-card .img-wrap .img-placeholder .ph-model {
  font-size: 13px;
  font-weight: 700;
  color: #1F2937;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  background: rgba(255,255,255,0.7);
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.1);
}
.product-card .img-wrap .img-placeholder br { display: none; }
.product-card .body {
  padding: 12px;
}
.product-card .brand {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.product-card .title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.35;
  margin-bottom: 6px;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card .model {
  font-size: 11.5px;
  color: var(--gray-600);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  margin-bottom: 8px;
  background: var(--gray-50);
  padding: 3px 6px;
  border-radius: 3px;
  display: inline-block;
}
.product-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.product-card .price {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-orange);
}
.product-card .price-old {
  font-size: 12px;
  color: var(--gray-400);
  text-decoration: line-through;
}
.product-card .price-unit {
  font-size: 11px;
  color: var(--gray-500);
}
.product-card .stock {
  font-size: 11.5px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.product-card .stock.low { color: var(--brand-orange); }
.product-card .stock.out { color: var(--red); }
.product-card .stock::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.product-card .btn-cart {
  width: 100%;
  background: var(--brand-blue);
  color: #fff;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
}
.product-card .btn-cart:hover { background: var(--brand-blue-2); }
.product-card .btn-cart.rfq {
  background: var(--brand-orange);
}
.product-card .btn-cart.rfq:hover { background: var(--brand-orange-2); }

/* ============ BRAND SHOWCASE ============ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.brand-showcase .section-head { border-bottom-color: var(--gray-50); }
.brand-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
  transition: all 0.15s;
}
.brand-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.brand-card .logo-box {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.brand-card .logo-box .accent { color: var(--brand-orange); }
.brand-card .desc {
  font-size: 11px;
  color: var(--gray-500);
}

/* ============ USP / VALUE PROPS ============ */
.usp-section {
  background: var(--gray-900);
  color: #fff;
  padding: 48px 0;
}
.usp-section .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.usp-item h4 {
  color: var(--brand-orange);
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.usp-item p {
  font-size: 13px;
  color: #D1D5DB;
  line-height: 1.6;
}

/* ============ FOOTER ============ */
.footer {
  background: #0a0a0a;
  color: #9CA3AF;
  padding: 48px 0 0;
  font-size: 13px;
}
.footer .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-col h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a:hover { color: var(--brand-orange); }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text small { color: #9CA3AF; }
.footer-brand p {
  margin-top: 14px;
  line-height: 1.7;
  color: #9CA3AF;
}
.footer-brand .contact-info {
  margin-top: 16px;
}
.footer-brand .contact-info div {
  display: flex; gap: 8px;
  margin-bottom: 6px;
  color: #D1D5DB;
}
.footer-brand .contact-info .icon { color: var(--brand-orange); }
.footer-brand .socials {
  margin-top: 16px;
  display: flex; gap: 8px;
}
.footer-brand .socials a {
  width: 32px; height: 32px;
  background: #1F2937;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
}
.footer-brand .socials a:hover { background: var(--brand-orange); }

.footer-bottom {
  background: #000;
  padding: 16px 0;
  border-top: 1px solid #1F2937;
  font-size: 12px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.footer-bottom .pay {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-bottom .pay span {
  background: #fff;
  color: #1F2937;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
}

/* ============ PLP (Product List Page) ============ */
.plp-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 20px 0;
}

/* Category filters are displayed above the product result area. */
.plp-layout {
  display: block;
}
.filter-sidebar {
  width: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
  padding: 14px;
}
.filter-sidebar .filter-group {
  margin: 0;
  padding: 0;
  border: 0;
}
.filter-sidebar .filter-group h4 {
  min-height: 32px;
  margin-bottom: 7px;
}
.filter-sidebar .filter-group label {
  font-size: 11px;
  line-height: 1.35;
}
@media (max-width: 1050px) {
  .filter-sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .filter-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.filter-sidebar {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  height: fit-content;
}
.filter-group {
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
}
.filter-group:last-child { border-bottom: none; }
.filter-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter-group h4::after {
  content: "−";
  color: var(--gray-400);
}
.filter-group ul li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 12.5px;
}
.filter-group ul li a { color: var(--gray-700); }
.filter-group ul li a:hover { color: var(--brand-orange); }
.filter-group ul li .count { color: var(--gray-400); }
.filter-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--gray-700);
  padding: 4px 0;
  cursor: pointer;
}
.filter-group input[type="checkbox"] { accent-color: var(--brand-blue); }
.filter-group .price-inputs {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
}
.filter-group .price-inputs input {
  flex: 1;
  width: 0;
  padding: 6px 8px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 12px;
}

.plp-main .plp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 14px;
}
.plp-head .result-count {
  font-size: 13px;
  color: var(--gray-700);
}
.plp-head .result-count strong { color: var(--gray-900); font-weight: 700; }
.plp-head .sort-select {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
}
.plp-head .sort-select select {
  padding: 6px 10px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 13px;
}
.plp-head .view-toggle {
  display: flex;
  gap: 4px;
}
.plp-head .view-toggle button {
  width: 32px; height: 32px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  background: #fff;
  color: var(--gray-500);
}
.plp-head .view-toggle button.active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.plp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}
.pagination button, .pagination span {
  min-width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--gray-200);
  background: #fff;
  border-radius: 4px;
  font-size: 13px;
  color: var(--gray-700);
  padding: 0 10px;
}
.pagination .active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  font-weight: 700;
}
.pagination button:hover:not(.active) {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* ============ PDP (Product Detail) ============ */
.pdp-layout {
  display: grid;
  grid-template-columns: 80px 480px 1fr 320px;
  gap: 24px;
  padding: 24px 0;
}
.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pdp-thumbs .thumb {
  width: 80px; height: 80px;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  font-size: 11px;
  color: var(--gray-400);
  cursor: pointer;
}
.pdp-thumbs .thumb.active { border-color: var(--brand-blue); }

.pdp-main-img {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.pdp-main-img .img-placeholder {
  width: 90%; height: 90%;
  background:
    /* heatsink fins on the right */
    repeating-linear-gradient(90deg, #6B7280 0 4px, #4B5563 4px 6px) right center / 25% 70% no-repeat,
    /* LED row top */
    linear-gradient(180deg, transparent 14%, #10B981 14%, #10B981 16%, transparent 16%, transparent 20%, #DC2626 20%, #DC2626 22%, transparent 22%, transparent 26%, #F59E0B 26%, #F59E0B 28%, transparent 28%, transparent 32%, #10B981 32%, #10B981 34%, transparent 34%, transparent 38%, #F59E0B 38%, #F59E0B 40%, transparent 40%) top left / 75% 100% no-repeat,
    /* terminal block bottom */
    linear-gradient(0deg, #1F2937 14%, transparent 14%) bottom left / 75% 100% no-repeat,
    /* main body */
    linear-gradient(135deg, #D1D5DB 0%, #9CA3AF 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1F2937;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-align: center;
  position: relative;
  padding: 18% 30% 18% 8%;
  gap: 4px;
}
.pdp-main-img .img-placeholder::after {
  content: "";
  position: absolute;
  bottom: 18%;
  left: 8%;
  width: 67%;
  height: 16px;
  background: repeating-linear-gradient(90deg, #374151 0 8px, #1F2937 8px 10px);
  border-radius: 2px;
}
.pdp-main-img .img-placeholder .ph-brand {
  font-size: 14px;
  font-weight: 800;
  color: #003D7A;
  letter-spacing: 1.5px;
}
.pdp-main-img .img-placeholder .ph-model {
  font-size: 18px;
  font-weight: 700;
  color: #1F2937;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  background: rgba(255,255,255,0.85);
  padding: 4px 12px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.15);
}
.pdp-main-img .img-placeholder small {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
}
.pdp-main-img .img-placeholder br { display: none; }
.pdp-main-img .zoom-hint {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
}

.pdp-info h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: 8px;
}
.pdp-info .model-line {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.pdp-info .model {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--gray-700);
}
.pdp-info .stars {
  color: #F59E0B;
  font-size: 13px;
}
.pdp-info .stars span { color: var(--gray-500); margin-left: 6px; }
.pdp-info .badge-row {
  display: flex; gap: 6px;
  margin-bottom: 16px;
}
.pdp-info .price-block {
  background: var(--gray-50);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.pdp-info .price-now {
  font-size: 36px;
  font-weight: 800;
  color: var(--brand-orange);
  margin-bottom: 4px;
}
.pdp-info .price-now small { font-size: 18px; vertical-align: top; }
.pdp-info .price-was {
  font-size: 14px;
  color: var(--gray-500);
  text-decoration: line-through;
  margin-bottom: 8px;
}
.pdp-info .save {
  display: inline-block;
  background: var(--brand-orange);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}
.pdp-info .qty-row {
  display: flex; gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.pdp-info .qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}
.pdp-info .qty button {
  width: 36px; height: 40px;
  background: var(--gray-50);
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-700);
}
.pdp-info .qty input {
  width: 60px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}
.pdp-info .cta-row {
  display: flex; gap: 10px;
  margin-bottom: 20px;
}
.pdp-info .cta-row .btn { flex: 1; justify-content: center; }
.pdp-info .features-list {
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}
.pdp-info .features-list li {
  display: flex; gap: 10px;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--gray-700);
}
.pdp-info .features-list li .ico { color: var(--brand-blue); font-weight: 700; }

.pdp-side {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
  height: fit-content;
}
.pdp-side .ship-box {
  display: flex; gap: 10px;
  padding: 12px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  font-size: 12.5px;
}
.pdp-side .ship-box .ico { font-size: 22px; color: var(--brand-blue); }
.pdp-side .ship-box strong { display: block; color: var(--gray-900); margin-bottom: 2px; }
.pdp-side .trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.pdp-side .trust-badges .tb {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 8px;
  text-align: center;
  font-size: 11px;
  color: var(--gray-700);
}
.pdp-side .trust-badges .tb .ico { font-size: 20px; color: var(--brand-orange); display: block; margin-bottom: 4px; }
.pdp-side .ask-question {
  background: var(--gray-50);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-top: 14px;
}
.pdp-side .ask-question h4 { font-size: 13px; margin-bottom: 8px; }
.pdp-side .ask-question textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 8px;
  font-size: 12px;
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}
.pdp-side .ask-question button {
  width: 100%;
  margin-top: 8px;
  background: var(--brand-orange);
  color: #fff;
  padding: 8px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
}

/* Tabs (PDP) */
.pdp-tabs {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}
.pdp-tabs .tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--gray-200);
}
.pdp-tabs .tabs-nav button {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.pdp-tabs .tabs-nav button.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}
.pdp-tabs .tab-content {
  padding: 24px;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.specs-table tr {
  border-bottom: 1px solid var(--gray-200);
}
.specs-table td {
  padding: 10px 12px;
}
.specs-table td:first-child {
  background: var(--gray-50);
  font-weight: 600;
  width: 200px;
  color: var(--gray-700);
}

/* ============ ABOUT PAGE ============ */
.page-hero {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0A4A8F 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: radial-gradient(circle at 80% 50%, rgba(230,92,0,0.2), transparent 60%);
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.page-hero h1 span { color: #FFB37A; }
.page-hero p {
  font-size: 17px;
  max-width: 640px;
  opacity: 0.92;
  line-height: 1.6;
}
.page-hero .bread {
  margin-top: 18px;
  font-size: 13px;
  opacity: 0.7;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px 0;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
}
.stat-card .num {
  font-size: 40px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .num .accent { color: var(--brand-orange); }
.stat-card .label {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 500;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--gray-900);
  letter-spacing: -0.3px;
}
.two-col h2 .accent { color: var(--brand-orange); }
.two-col p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 14px;
}
.two-col ul {
  margin-top: 14px;
}
.two-col ul li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--gray-700);
}
.two-col ul li::before {
  content: "✓";
  color: var(--brand-orange);
  font-weight: 800;
  flex-shrink: 0;
}
.two-col .img-side {
  background: linear-gradient(135deg, #F3F4F6, #E5E7EB);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: grid; place-items: center;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 500;
}

.timeline {
  background: var(--gray-50);
  padding: 48px 0;
}
.timeline .section-head { margin-bottom: 32px; }
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.timeline-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 4px solid var(--brand-blue);
}
.timeline-card .year {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-orange);
  margin-bottom: 6px;
}
.timeline-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.timeline-card p {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ============ CONTACT PAGE ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  padding: 32px 0;
}
.contact-info {
  background: var(--brand-blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.contact-info::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: radial-gradient(circle at 80% 30%, rgba(230,92,0,0.2), transparent 60%);
}
.contact-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}
.contact-info > p {
  opacity: 0.9;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
  position: relative;
}
.contact-info .ci-list {
  position: relative;
}
.contact-info .ci-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-info .ci-item .icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info .ci-item h4 {
  font-size: 13px;
  margin-bottom: 4px;
  color: #FFB37A;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-info .ci-item p {
  font-size: 14px;
  line-height: 1.5;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-form > p {
  color: var(--gray-600);
  margin-bottom: 24px;
  font-size: 13.5px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.form-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-field label .req { color: var(--brand-orange); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand-blue);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field .hint { font-size: 11px; color: var(--gray-500); margin-top: 4px; }
.contact-form .submit {
  width: 100%;
  background: var(--brand-orange);
  color: #fff;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
}
.contact-form .submit:hover { background: var(--brand-orange-2); }

.faq-section {
  background: var(--gray-50);
  padding: 48px 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.faq-item h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}
.faq-item h4::before {
  content: "Q.";
  color: var(--brand-orange);
  font-weight: 800;
}
.faq-item p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
  padding-left: 24px;
}

/* Product listing: balanced top-to-bottom filter area. */
.plp-layout .filter-sidebar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0 0 20px;
  border: 0;
  background: transparent;
}
.plp-layout .filter-sidebar .filter-group {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 1px 2px rgba(18, 48, 70, .03);
}
.plp-layout .filter-sidebar .filter-group h4 {
  min-height: auto;
  padding-bottom: 9px;
  margin: 0 0 7px;
  border-bottom: 1px solid var(--gray-100);
}
.plp-layout .filter-sidebar .filter-group label {
  min-height: 23px;
  font-size: 12px;
  padding: 3px 0;
}
.plp-layout .filter-sidebar .filter-group .price-inputs {
  margin-top: 4px;
}
.plp-layout .filter-sidebar .filter-group .price-inputs input {
  min-width: 0;
}
.plp-layout .filter-sidebar .filter-group .btn {
  margin-top: 10px !important;
}
@media (max-width: 900px) {
  .plp-layout .filter-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .plp-layout .filter-sidebar { grid-template-columns: 1fr; }
}

/* This category page uses sub-categories as its single discovery control. */
.plp-layout .filter-sidebar {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}
.plp-layout .filter-sidebar .filter-group:not(:first-child) {
  display: none;
}
.plp-layout .filter-sidebar .filter-group:first-child {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 16px;
}
.plp-layout .filter-sidebar .filter-group:first-child h4 {
  grid-column: 1 / -1;
  border: 0;
  padding: 0;
  margin: 0 0 3px;
}
.plp-layout .filter-sidebar .filter-group:first-child label {
  display: flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  background: var(--gray-50);
  font-size: 12px;
}
.plp-layout .filter-sidebar .filter-group:first-child label:has(input:checked) {
  border-color: var(--brand-blue);
  background: #edf5fb;
  color: var(--brand-blue);
  font-weight: 700;
}
@media (max-width: 800px) {
  .plp-layout .filter-sidebar .filter-group:first-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .plp-layout .filter-sidebar .filter-group:first-child { grid-template-columns: 1fr; }
}

/* Borderless category navigation for the products page. */
.plp-layout .filter-sidebar .filter-group:first-child { gap: 5px; padding: 8px 0; }
.plp-layout .filter-sidebar .filter-group:first-child h4 { padding: 0 8px; margin-bottom: 5px; border: 0; }
.plp-layout .filter-sidebar .filter-group:first-child label { min-height: 34px; padding: 7px 9px; border: 0; border-radius: 8px; background: transparent; }
.plp-layout .filter-sidebar .filter-group:first-child label:hover { background: #f1f6fa; }
.plp-layout .filter-sidebar .filter-group:first-child label:has(input:checked) { border: 0; background: #edf5fb; color: var(--brand-blue); }
