:root {
  --purple: #9C90D9;
  --purple-dark: #5B21B6;
  --purple-light: #EDE7FB;
  --magenta: #C8A7DB;
  --gray-light: #F0F0F0;
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --text: #4B4B4B;
  --text-strong: #2B2B2B;
  --text-mute: #63636B;
  --border: #E6E6E6;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, "Segoe UI", Roboto, "Malgun Gothic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 8% -10%, rgba(124,58,237,0.13), transparent 60%),
    radial-gradient(900px 700px at 100% 0%, rgba(148,163,184,0.28), transparent 55%),
    linear-gradient(180deg, #E3E6EB 0%, #EEF0F3 46%, #EEF0F3 100%);
  background-attachment: fixed;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-strong);
}
.logo span { color: var(--purple); }

.gnb {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.gnb a:hover { color: var(--purple-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}
.cart-link { position: relative; }
.cart-badge {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -9px;
  right: -14px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--purple-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--gray-light);
  border-radius: 30px;
  padding: 12px 24px;
  min-width: 330px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 19px;
  width: 100%;
  color: var(--text);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--purple-dark); color: #fff; box-shadow: 0 4px 14px rgba(91,33,182,0.3); }
.btn-primary:hover { background: #4A1B94; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(91,33,182,0.4); }
.btn-outline { background: #fff; border: 1px solid var(--purple); color: var(--purple-dark); }
.btn-ghost { background: var(--gray-light); color: var(--text-strong); }
.btn-block { width: 100%; text-align: center; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #7c3aed 0%, #6C5CE7 50%, #8B7FE8 100%);
  padding: 72px 0 64px;
  text-align: left;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-text { max-width: 620px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.35;
}
.hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  margin: 0;
}

/* Trust mini strip */
.trust-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 28px 0 8px;
}
.trust-mini .mini-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.trust-mini .mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(139,127,232,0.15);
}
.trust-mini .mini-icon { font-size: 22px; margin-bottom: 6px; }
.trust-mini .mini-title { font-size: 13px; font-weight: 700; color: var(--text-strong); }
.trust-mini .mini-sub { font-size: 11px; color: var(--text-mute); margin-top: 2px; }

/* Category cards */
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 4px;
}
.section-sub {
  font-size: 14px;
  color: var(--text-mute);
  margin: 0 0 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 48px 0;
}
.category-card {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: block;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(139,127,232,0.22);
  border-color: var(--purple);
}
.category-card .thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--purple-light);
}
.category-card .body { padding: 20px; }
.category-card .num {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-dark);
  letter-spacing: 1px;
}
.category-card h3 {
  font-size: 18px;
  margin: 6px 0 6px;
  color: var(--text-strong);
}
.category-card p {
  font-size: 13px;
  color: var(--text-mute);
  margin: 0;
}
.badge-soon {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  background: var(--gray-light);
  color: var(--text-mute);
  padding: 4px 10px;
  border-radius: 12px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 32px 0 64px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 336px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(124,58,237,0.18);
}
.product-card .thumb {
  position: relative;
  height: 180px;
  flex: none;
  background: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 12px;
  box-sizing: border-box;
}
.card-link { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.card-quick-actions {
  display: flex;
  gap: 4px;
  padding: 6px;
  flex: none;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.cqa-btn {
  flex: 1;
  font-size: 9.5px;
  font-weight: 700;
  padding: 6px 1px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}
.cqa-btn.cqa-buy { background: var(--purple-dark); color: #fff; border-color: var(--purple-dark); }
.cqa-btn.cqa-buy:hover { background: #4A1B94; }
.cqa-btn.cqa-cart:hover, .cqa-btn.cqa-quote:hover { background: var(--purple-light); border-color: var(--purple); color: var(--purple-dark); }

/* 활선용/간접활선용 install-method ribbon badge (product-card thumb + detail main-img) */
.install-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.install-badge.badge-live { background: var(--purple-dark); }
.install-badge.badge-indirect { background: #E08A2E; }
.detail-gallery .main-img { position: relative; }
.detail-gallery .install-badge { top: 16px; left: 16px; font-size: 12px; padding: 5px 12px; }
.product-card .body {
  padding: 14px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-card .brand {
  font-size: 11px;
  font-weight: 800;
  color: var(--purple-dark);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.product-card h4 {
  font-size: 13.5px;
  margin: 0 0 6px;
  color: var(--text-strong);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.product-card .price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
}
.product-card .price .unit { font-size: 13px; font-weight: 500; }
.product-card .inquiry {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-dark);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--text-mute);
  padding: 18px 0;
}
.breadcrumb a:hover { color: var(--purple-dark); }

/* Category page header */
.category-header {
  background: linear-gradient(135deg, #F3F0FE 0%, #E8E2FB 100%);
  padding: 32px 0;
  margin-bottom: 8px;
}
.category-header h1 { font-size: 24px; margin: 0 0 6px; color: var(--text-strong); }
.category-header p { margin: 0; font-size: 14px; color: var(--text); }

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-mute);
}
.meter-mfr-heading {
  grid-column: 1 / -1;
  font-size: 15px;
  font-weight: 700;
  color: var(--purple-dark);
  padding: 22px 0 8px;
  margin-top: 4px;
  border-top: 2px solid var(--purple-light);
  scroll-margin-top: 90px;
}
.product-grid > .meter-mfr-heading:first-child { margin-top: 0; border-top: none; padding-top: 0; }

/* 브랜드별 상품을 세로 나열 대신 옆으로(컬럼) 배치할 때 사용 */
.brand-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 20px;
}
.brand-column { display: flex; flex-direction: column; }
.brand-column-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--purple-light);
  scroll-margin-top: 90px;
}
@media (max-width: 700px) {
  .brand-columns { grid-template-columns: 1fr; }
}

.brand-navbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  margin: 20px 0 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.brand-navbar a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-mute);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.brand-navbar a:hover {
  border-color: var(--purple);
  color: var(--purple-dark);
  background: var(--purple-light);
}
.filter-bar select {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--text);
  background: #fff;
}

/* Product detail */
.detail-wrap {
  display: grid;
  grid-template-columns: 336px 1fr;
  gap: 48px;
  padding: 20px 0 48px;
}
.detail-gallery .main-img {
  width: 100%;
  height: 420px;
  border-radius: 14px;
  background: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid var(--border);
  box-sizing: border-box;
  padding: 20px;
}
.gallery-quick-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.gallery-quick-bar .btn {
  flex: 1;
  padding: 9px 0;
  font-size: 13px;
}
.detail-gallery { position: relative; }
.detail-gallery .main-img {
  transition: transform 0.25s ease;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
}
.detail-gallery .main-img:hover {
  transform: scale(1.4);
  z-index: 5;
}
.gallery-thumbs .thumb-img {
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color .15s ease, transform .15s ease;
}
.gallery-thumbs .thumb-img.active {
  border-color: var(--purple-dark, #7c3aed);
  border-width: 2px;
}
.gallery-thumbs .thumb-img:hover {
  transform: scale(1.05);
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.gallery-thumbs .thumb-img {
  flex: 0 0 90px;
  width: 90px;
  height: 90px;
  border-radius: 8px;
  background: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid var(--border);
  cursor: pointer;
}
/* 썸네일이 4장 이상일 때: 한 줄에 3칸씩, 넘치는 장은 아래 줄로 정렬 */
.gallery-thumbs.thumbs-3col {
  display: grid;
  grid-template-columns: repeat(3, 90px);
}
.gallery-thumbs.thumbs-3col .thumb-img { flex: none; }
.detail-section .full-img {
  width: 60%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: block;
}
@media (max-width: 768px) {
  .detail-section .full-img {
    width: 100%;
  }
}
.detail-gallery .img-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.detail-gallery .stack-img {
  width: 100%;
  height: 380px;
  background-color: #fff;
  border: 1px solid var(--border);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
  transition: transform 0.25s ease;
  cursor: zoom-in;
}
.detail-gallery .stack-img:hover {
  transform: scale(1.18);
  position: relative;
  z-index: 5;
}
.detail-info .brand-line {
  font-size: 21px;
  color: var(--purple-dark);
  font-weight: 700;
  margin-bottom: 8px;
}
.detail-info h1 {
  font-size: 38px;
  color: var(--text-strong);
  margin: 0 0 10px;
}
.detail-info .model {
  font-size: 21px;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.trust-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.trust-badge {
  font-size: 19px;
  font-weight: 600;
  background: var(--purple-light);
  color: var(--purple-dark);
  padding: 6px 12px;
  border-radius: 14px;
}
.price-box {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  margin-bottom: 18px;
}
.price-box .final-price {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-strong);
}
.price-box .ship-note {
  font-size: 21px;
  color: var(--text-mute);
  margin-top: 6px;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.qty-selector button {
  width: 32px; height: 32px;
  border: none; background: var(--gray-light);
  font-size: 16px; cursor: pointer;
}
.qty-selector input {
  width: 44px; text-align: center; border: none; outline: none; font-size: 14px;
}
.action-row {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.action-row .btn { flex: 1; }
.quick-quote {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 21px;
  color: var(--purple-dark);
  font-weight: 600;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 26px 0 8px;
}
.trust-strip .item {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 14px;
  font-size: 12px;
  text-align: center;
  color: var(--text);
}
.trust-strip .item b { display:block; font-size: 13px; color: var(--text-strong); margin-bottom: 2px; }

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-top: 48px;
}
.tabs .tab {
  padding: 14px 28px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-mute);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.tabs .tab.active {
  color: var(--purple-dark);
  border-bottom-color: var(--purple);
}
.tab-panel { padding: 32px 0 60px; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 22px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.spec-table th {
  width: 220px;
  background: var(--bg-soft);
  color: var(--text-mute);
  font-weight: 500;
}
.detail-section { margin-bottom: 36px; }
.detail-section h3 { font-size: 27px; color: var(--text-strong); margin: 0 0 10px; }
.detail-section p { font-size: 22px; color: var(--text); }
.detail-section img { border-radius: 12px; margin-top: 10px; }

/* Sunsco KEPCO detail gallery */
.sunsco-detail-gallery,
.vendor-detail-gallery {
  background: var(--purple-light);
  border: 1px solid rgba(139, 127, 232, 0.22);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.sunsco-detail-gallery img,
.vendor-detail-gallery img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(139, 127, 232, 0.14);
}
@media (max-width: 768px) {
  .sunsco-detail-gallery,
  .vendor-detail-gallery { padding: 16px; gap: 16px; }
}
.vendor-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vendor-feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 22px;
  color: var(--text);
  line-height: 1.55;
}
.vendor-feature-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}
.kepco-hero {
  position: relative;
  padding: 64px 0 56px;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 60%, var(--magenta) 100%);
  overflow: hidden;
}
.kepco-hero::before {
  content: "";
  position: absolute;
  inset: -10px;
  background-image: url('images/kepco-powerline.png');
  background-size: cover;
  background-position: center 55%;
  filter: blur(3px) brightness(0.7) saturate(1.1);
  transform: scale(1.05);
  pointer-events: none;
}
.kepco-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(46,33,92,0.82) 0%, rgba(108,92,231,0.55) 55%, rgba(139,127,232,0.30) 100%);
  pointer-events: none;
}
.kepco-hero-inner { position: relative; z-index: 1; }
.kepco-hero h1 { color: #fff; font-size: 32px; margin: 0 0 10px; }
.kepco-hero p { color: rgba(255,255,255,0.88); font-size: 15px; margin: 0; }
@media (max-width: 768px) {
  .kepco-hero { padding: 40px 0 34px; }
  .kepco-hero h1 { font-size: 24px; }
}

.coop-section { margin-top: 12px; }
.coop-group { margin-bottom: 28px; }
.coop-group h3 { font-size: 16px; color: var(--purple-dark); margin: 0 0 10px; padding-left: 12px; border-left: 4px solid var(--purple); }
.coop-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--border); }
.coop-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.coop-table thead th {
  background: var(--purple-light);
  color: var(--purple-dark);
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.coop-table tbody td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: top; }
.coop-table tbody tr:last-child td { border-bottom: none; }
.coop-table tbody tr:nth-child(odd) { background: #FCFBFF; }
.coop-table .coop-name { font-weight: 600; color: var(--text-strong); white-space: nowrap; }
.coop-table .coop-unit, .coop-table .coop-qty { white-space: nowrap; color: var(--text-mute); }

.vendor-source-note {
  margin-top: 14px;
  font-size: 19px;
  color: var(--text-mute);
}
.spec-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
.spec-stat-tile {
  background: linear-gradient(160deg, var(--purple-light) 0%, #fff 100%);
  border: 1px solid rgba(139, 127, 232, 0.22);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
}
.spec-stat-tile .stat-label {
  font-size: 19px;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.spec-stat-tile .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--purple-dark);
  line-height: 1.3;
}
@media (max-width: 768px) {
  .spec-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Related */
.related h2 { font-size: 18px; margin: 0 0 20px; }

/* Footer */
.site-footer {
  background: #F0F0F0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 32px 0 20px;
  font-size: 12px;
  color: #999999;
}
.footer-links { display: flex; gap: 18px; margin-bottom: 14px; }
.footer-links a { color: #888888; }
.footer-links a:hover { color: #555555; }
.footer-info div { margin-bottom: 4px; }
.footer-biz-toggle { cursor: pointer; user-select: none; color: #999999; }
.footer-biz-toggle:hover { color: #666666; }
.footer-biz-arrow { display: inline-block; font-size: 10px; transition: transform 0.2s; }
.footer-biz-details { display: none; margin-top: 4px; }
.footer-info.open .footer-biz-details { display: block; }
.footer-info.open .footer-biz-arrow { transform: rotate(180deg); }
.footer-mascot { width: 34px; opacity: 0.85; margin-bottom: 14px; }

/* Floating quote button */
.floating-quote {
  position: fixed;
  right: 28px;
  bottom: 28px;
  background: var(--purple-dark);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 22px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(139,127,232,0.4);
  z-index: 60;
}
.floating-quote:hover { background: #4A1B94; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .category-grid { grid-template-columns: 1fr; }
  .detail-wrap { grid-template-columns: 1fr; }
  .gnb { display: none; }
  .search-box { display: none; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-mini { grid-template-columns: repeat(2, 1fr); }
  .hero { text-align: center; padding: 60px 0; }
  .hero-text { max-width: 100%; }
}

/* Auth pages */
.auth-wrap {
  max-width: 420px;
  margin: 60px auto 100px;
  padding: 0 24px;
}
.auth-wrap h1 {
  font-size: 22px;
  text-align: center;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.auth-wrap .sub {
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 32px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--purple); }
.member-type-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.member-type-toggle button {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
  cursor: pointer;
}
.member-type-toggle button.active {
  border-color: var(--purple);
  background: var(--purple-light);
  color: var(--purple-dark);
}
.auth-links {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-mute);
}
.auth-links a { color: var(--purple-dark); font-weight: 600; }
.guest-order-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-mute);
  text-decoration: underline;
}

/* 회원가입/마이페이지: 필드가 많은 폼(주소, 연락처 등) */
.auth-wrap-wide { max-width: 520px; }
.form-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 28px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.form-section-title:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-group label .req { color: #C0392B; margin-left: 2px; }
.form-group label .opt { color: var(--text-mute); font-weight: 400; margin-left: 4px; }
.addr-row { display: flex; gap: 8px; }
.addr-row input { flex: 1; }
.addr-row .btn-outline { flex-shrink: 0; padding: 0 16px; font-size: 13px; white-space: nowrap; }
.checkbox-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-mute);
  margin: -6px 0 16px;
}
.checkbox-row input[type="checkbox"] { width: auto; }
.mypage-view-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.mypage-view-row .k { color: var(--text-mute); font-size: 13px; }
.mypage-view-row .v { color: var(--text-strong); font-weight: 500; text-align: right; }
.withdraw-confirm {
  display: none; margin-top: 12px; padding: 14px;
  border: 1px solid #f0c6c6; background: #fdf4f4; border-radius: 8px; font-size: 13px; color: #8a2f2f;
}
.withdraw-confirm.show { display: block; }
.withdraw-confirm .confirm-actions { display: flex; gap: 8px; margin-top: 12px; }
.withdraw-confirm .confirm-actions button { flex: 1; padding: 9px; font-size: 13px; border-radius: 7px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.withdraw-confirm .confirm-actions button.confirm-yes { background: #C0392B; border-color: #C0392B; color: #fff; font-weight: 600; }

/* Cart page */
.cart-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.cart-table th {
  text-align: left; font-size: 13px; color: var(--text-mute); font-weight: 500;
  padding: 12px 10px; border-bottom: 1px solid var(--border);
}
.cart-table td { padding: 16px 10px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.cart-item-name { display: flex; align-items: center; gap: 12px; }
.cart-item-name .thumb-sm {
  width: 64px; height: 64px; border-radius: 8px; background: var(--purple-light);
  background-size: cover; background-position: center; flex-shrink: 0;
}
.cart-summary {
  margin-left: auto;
  width: 320px;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 20px;
}
.cart-summary .row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.cart-summary .row.total { font-size: 17px; font-weight: 700; color: var(--text-strong); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }

/* Quote request page */
.quote-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: 32px 0 60px; }
.autocomplete-wrap { position: relative; }
.autocomplete-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  max-height: 320px;
  overflow-y: auto;
  z-index: 30;
  display: none;
}
.autocomplete-list.show { display: block; }
.autocomplete-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: var(--purple-light); }
.autocomplete-item .ac-name { color: var(--text-strong); font-weight: 500; }
.autocomplete-item .ac-meta { font-size: 12px; color: var(--text-mute); }
.autocomplete-empty { padding: 16px; font-size: 13px; color: var(--text-mute); text-align: center; }
.autocomplete-empty button {
  margin-top: 10px; display: block; margin-left: auto; margin-right: auto;
}

.quote-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.quote-table th { text-align: left; font-size: 12px; color: var(--text-mute); font-weight: 500; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.quote-table td { padding: 12px 8px; border-bottom: 1px solid var(--border); font-size: 13px; }
.quote-table input[type=number] { width: 60px; padding: 6px; border: 1px solid var(--border); border-radius: 6px; }
.quote-table input[type=text] { width: 100%; padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }
.quote-table .remove-btn { color: #C0392B; cursor: pointer; font-size: 12px; font-weight: 600; }
.quote-empty { font-size: 13px; color: var(--text-mute); padding: 20px 0; text-align: center; border: 1px dashed var(--border); border-radius: 10px; }

.catalog-browser { margin-top: 12px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; max-height: 480px; overflow-y: auto; }
.catalog-cat { border-bottom: 1px solid var(--border); }
.catalog-cat:last-child { border-bottom: none; }
.catalog-cat summary { cursor: pointer; padding: 12px 16px; font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; align-items: center; background: var(--gray-light); position: sticky; top: 0; }
.catalog-cat summary::-webkit-details-marker { display: none; }
.catalog-cat summary .catalog-count { font-weight: 400; font-size: 12px; color: var(--text-mute); }
.catalog-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 13px; cursor: pointer; }
.catalog-item:hover { background: var(--purple-light); }
.catalog-item .ci-name { color: var(--text-strong); }
.catalog-item .ci-meta { font-size: 12px; color: var(--text-mute); }
.catalog-item .ci-add { font-size: 12px; color: var(--purple-dark); font-weight: 700; white-space: nowrap; margin-left: 12px; }

.quote-side {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 22px;
  height: fit-content;
}
.quote-side h3 { font-size: 15px; margin: 0 0 16px; color: var(--text-strong); }
.quote-note {
  font-size: 12px;
  color: var(--text-mute);
  background: var(--purple-light);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 16px;
}
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-strong);
  color: #fff;
  padding: 14px 24px;
  border-radius: 30px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
  .quote-layout { grid-template-columns: 1fr; }
  .cart-summary { width: 100%; }
}

/* Admin */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 70vh; }
.admin-sidebar {
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  padding: 24px 0;
}
.admin-sidebar .admin-logo { font-size: 18px; font-weight: 700; padding: 0 20px 20px; color: var(--text-strong); }
.admin-sidebar a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text);
}
.admin-sidebar a.active { background: var(--purple-light); color: var(--purple-dark); font-weight: 700; border-right: 3px solid var(--purple); }
.admin-main { padding: 32px 36px; }
.admin-main h1 { font-size: 20px; margin: 0 0 4px; color: var(--text-strong); }
.admin-main .sub { font-size: 13px; color: var(--text-mute); margin-bottom: 24px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.admin-stats .card { background: var(--bg-soft); border-radius: 12px; padding: 18px; }
.admin-stats .card .num { font-size: 22px; font-weight: 700; color: var(--text-strong); }
.admin-stats .card .label { font-size: 12px; color: var(--text-mute); margin-top: 4px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; padding: 10px 12px; background: var(--bg-soft); color: var(--text-mute); font-weight: 500; }
.admin-table td { padding: 12px; border-bottom: 1px solid var(--border); }
.status-pill { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 12px; }
.status-pending { background: #FFF3E0; color: #B8720A; }
.status-done { background: var(--purple-light); color: var(--purple-dark); }
.status-wait { background: var(--gray-light); color: var(--text-mute); }
.admin-subtab { font-size: 13px; font-weight: 600; color: var(--text-mute); padding: 10px 4px; border-bottom: 2px solid transparent; }
.admin-subtab.active { color: var(--purple-dark); border-bottom-color: var(--purple); }
.pf-row { margin-bottom: 14px; }
.pf-row label { display: block; font-size: 12px; font-weight: 600; color: var(--text-mute); margin-bottom: 5px; }
.pf-row input[type="text"], .pf-row input[type="number"], .pf-row textarea, .pf-row select {
  width: 100%; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-family: inherit;
}
.pf-row textarea { resize: vertical; min-height: 70px; }
.pf-spec-row { display: flex; gap: 8px; margin-bottom: 6px; }
.pf-spec-row input { flex: 1; }
.pf-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pf-thumb { width: 64px; height: 64px; border-radius: 8px; background-size: cover; background-position: center; position: relative; border: 1px solid var(--border); }
.pf-thumb .pf-thumb-x { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: #C0392B; color: #fff; font-size: 11px; line-height: 18px; text-align: center; cursor: pointer; }

/* Series landing cards (하이크마이크로 스타일) */
.series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 8px 0 40px;
}
.series-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}
.series-card:hover {
  box-shadow: 0 10px 26px rgba(139,127,232,0.18);
  transform: translateY(-3px);
}
.series-card .series-thumb {
  height: 160px;
  background: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 14px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
}
.series-card .series-body {
  padding: 14px 16px 18px;
}
.series-card .series-body h4 {
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--text-strong);
}
.series-card .series-body p {
  font-size: 12px;
  color: var(--text-mute);
  margin: 0;
  line-height: 1.5;
}
.series-section {
  padding-top: 20px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}
.series-section h2 {
  font-size: 19px;
  color: var(--text-strong);
  margin: 0 0 4px;
}
.series-section .series-desc {
  font-size: 13px;
  color: var(--text-mute);
  margin: 0 0 18px;
}
@media (max-width: 900px) {
  .series-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Rich detail page sections (hikmicrotech 스타일) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 8px;
}
.feature-block {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 20px;
}
.feature-block .feature-icon {
  font-size: 26px;
  margin-bottom: 10px;
}
.feature-block h4 {
  font-size: 15px;
  color: var(--text-strong);
  margin: 0 0 8px;
}
.feature-block p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}
.app-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0 8px;
}
.app-gallery figure {
  margin: 0;
}
.app-gallery .app-img {
  height: 130px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}
.app-gallery figcaption {
  font-size: 12px;
  color: var(--text-mute);
  text-align: center;
  margin-top: 6px;
}
.package-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.package-list li {
  font-size: 13px;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}
.package-list li::before {
  content: "•";
  color: var(--purple);
  position: absolute;
  left: 0;
}
.hikmicro-badge-strip {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.hikmicro-badge-strip .badge-item {
  text-align: center;
  background: var(--purple-light);
  border-radius: 10px;
  padding: 12px 18px;
  min-width: 90px;
}
.hikmicro-badge-strip .badge-item .num {
  font-size: 22px;
  font-weight: 700;
  color: var(--purple-dark);
}
.hikmicro-badge-strip .badge-item .label {
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 2px;
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .app-gallery { grid-template-columns: repeat(2, 1fr); }
  .package-list { grid-template-columns: 1fr; }
}

/* ===== Homepage promo banner (falling brand/category words) ===== */
.promo-banner {
  margin: 56px 0 40px;
  padding: 48px 24px 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, #6C5CE7 0%, #8B7FE8 55%, #A79AF0 100%);
  overflow: hidden;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 50px rgba(108, 92, 231, 0.28);
}
.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.16) 0, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.12) 0, transparent 50%);
  pointer-events: none;
}
.promo-caption {
  position: relative;
  margin: 0 0 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
}
.promo-track {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 44px;
  min-height: 140px;
}
.promo-word {
  display: inline-block;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 6px 20px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(-120px) scale(0.9);
  animation: promoDropIn 4.9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  white-space: nowrap;
}
.promo-word:nth-child(odd) { color: #fff7d6; }
@keyframes promoDropIn {
  0%   { opacity: 0; transform: translateY(-120px) scale(0.9); }
  10%  { opacity: 1; transform: translateY(6px) scale(1.04); }
  16%  { opacity: 1; transform: translateY(0) scale(1); }
  78%  { opacity: 1; transform: translateY(0) scale(1); }
  92%  { opacity: 0; transform: translateY(-14px) scale(0.97); }
  100% { opacity: 0; transform: translateY(-120px) scale(0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-word {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 768px) {
  .promo-banner { padding: 36px 16px 44px; border-radius: 20px; }
  .promo-word { font-size: 26px; }
  .promo-track { gap: 12px 24px; min-height: 100px; }
}

/* Homepage category cards — bigger thumb */
.category-grid-big .category-card .thumb { height: 260px; }
@media (max-width: 640px) {
  .category-grid-big .category-card .thumb { height: 200px; }
}

/* 계측기 카드 — 로고 월 이미지, 잘리지 않게 background-size(퍼센트)만 은은하게 확대/축소 */
.meter-card-thumb {
  background-size: 78% auto !important;
  animation: meterCardBreathe 7s ease-in-out infinite alternate;
}
@keyframes meterCardBreathe {
  0%   { background-size: 78% auto; }
  100% { background-size: 88% auto; }
}
@media (prefers-reduced-motion: reduce) {
  .meter-card-thumb { animation: none; background-size: 82% auto !important; }
}

/* ===== Homepage new-product image slider ===== */
.new-product-slider {
  margin: 40px 0 56px;
  padding: 32px 0 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 55%, var(--magenta) 100%);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.28);
}
.new-product-slider .promo-caption {
  margin: 0 24px 22px;
}
.slider-viewport {
  overflow: hidden;
  width: 100%;
}
.slider-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 0 24px;
  animation: sliderScroll 28s linear infinite;
}
.slider-track:hover { animation-play-state: paused; }
.slide-item {
  flex: 0 0 180px;
  width: 180px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  transition: transform .2s ease;
}
.slide-item:hover { transform: translateY(-4px); }
.slide-img {
  height: 140px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  padding: 10px;
  box-sizing: border-box;
}
.slide-item span {
  display: block;
  padding: 10px 12px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes sliderScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .slider-track { animation: none; }
}
@media (max-width: 768px) {
  .slide-item { flex-basis: 140px; width: 140px; }
  .slide-img { height: 110px; }
}

.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-light);
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 600;
}

/* Thermal (HIKMICRO) hero */
.thermal-hero {
  position: relative;
  padding: 56px 0 48px;
  background: #0B0E14;
  overflow: hidden;
  margin-bottom: 8px;
}
.thermal-hero::before {
  content: "";
  position: absolute;
  inset: -10px;
  background-image: url('images/hikmicro-building.png');
  background-size: cover;
  background-position: center 60%;
  filter: blur(3px) brightness(0.55);
  transform: scale(1.05);
  pointer-events: none;
}
.thermal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,14,20,0.88) 0%, rgba(11,14,20,0.55) 55%, rgba(11,14,20,0.25) 100%);
  pointer-events: none;
}
.thermal-hero-inner { position: relative; z-index: 1; }
.thermal-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #FF8A00;
  background: rgba(255,138,0,0.14);
  border: 1px solid rgba(255,138,0,0.4);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.thermal-hero h1 { color: #fff; font-size: 28px; margin: 0 0 8px; }
.thermal-hero p { color: rgba(255,255,255,0.7); font-size: 14px; margin: 0; }
@media (max-width: 768px) {
  .thermal-hero { padding: 36px 0 30px; }
  .thermal-hero h1 { font-size: 22px; }
}

/* 브랜드 모아보기 페이지 히어로 (유신기업사 등) */
.brand-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(560px 380px at 12% 15%, rgba(139,127,232,0.35), transparent 60%),
    radial-gradient(620px 420px at 90% 80%, rgba(108,92,231,0.30), transparent 55%),
    linear-gradient(150deg, #0E0B1F 0%, #17123A 45%, #1E1750 100%);
  padding: 56px 0 40px;
  margin-bottom: 8px;
}
.brand-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 90%);
  pointer-events: none;
}
.brand-hero .container { position: relative; z-index: 2; }
.brand-hero-logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 12px 22px;
  margin-bottom: 22px;
}
.brand-hero-logo img { height: 30px; display: block; }
.brand-hero h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -.4px;
}
.brand-hero p.lead {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  max-width: 580px;
  margin: 0 0 26px;
  line-height: 1.6;
}
.brand-hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.brand-hero-stat b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.brand-hero-stat span {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
@media (max-width: 768px) {
  .brand-hero { padding: 40px 0 32px; }
  .brand-hero h1 { font-size: 24px; }
}

/* Homepage hero — blurred photo background (main-page-bg.png) */
.hero {
  position: relative;
  overflow: hidden;
  background: #201933;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10px;
  background-image: url('images/main-page-bg.png');
  background-size: cover;
  background-position: center 62%;
  filter: blur(3px) brightness(0.6) saturate(1.05);
  transform: scale(1.05);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(32,25,51,0.82) 0%, rgba(76,60,130,0.55) 55%, rgba(139,127,232,0.28) 100%);
  pointer-events: none;
}

/* RS-style promo cards + icon grid (KEPCO category page) */
.promo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px 0 0;
}
.promo-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  min-height: 128px;
}
.promo-card .tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--purple-dark);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.promo-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; line-height: 1.35; }
.promo-card p { font-size: 12.5px; color: var(--text-mute); margin: 0; }
.promo-card .more { font-size: 12.5px; font-weight: 700; color: var(--purple-dark); margin-top: 14px; display: inline-block; }
.promo-card.accent { background: var(--purple-dark); border-color: var(--purple-dark); }
.promo-card.accent .tag { color: rgba(255,255,255,0.75); }
.promo-card.accent h3 { color: #fff; }
.promo-card.accent p { color: rgba(255,255,255,0.85); }
.promo-card.accent .more { color: #fff; }

.icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.icon-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: border-color .15s ease, transform .15s ease;
}
.icon-card:hover { border-color: var(--purple); transform: translateY(-2px); }
.icon-card .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--purple-light); color: var(--purple-dark);
  display: flex; align-items: center; justify-content: center;
}
.icon-card .ic svg { width: 21px; height: 21px; }
.icon-card span { font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--text-strong); }
.icon-card .cat-count { font-size: 10.5px; font-weight: 600; color: var(--text-mute); }
@media (max-width: 860px) {
  .promo-row { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
}

.section { padding: 40px 0 0; }
.section-head { margin-bottom: 18px; }
.section-head h2 { font-size: 19px; font-weight: 800; margin: 0; letter-spacing: -0.2px; color: var(--text-strong); }

/* Grainger-style category tiles (photo-led) */
.grainger-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.grainger-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: block;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.grainger-tile:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(139,127,232,0.16);
}
.grainger-thumb {
  height: 150px;
  background-color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 14px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
}
.grainger-label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-strong);
  padding: 14px 14px 2px;
}
.grainger-count {
  font-size: 12px;
  color: var(--text-mute);
  padding: 0 14px 14px;
}
@media (max-width: 860px) {
  .grainger-grid { grid-template-columns: repeat(2, 1fr); }
}
.grainger-thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-dark);
}

/* RS-style horizontal category tiles: name left / representative image right (homepage) */
.rs-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.rs-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  min-height: 96px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.rs-tile:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(139,127,232,0.16);
}
.rs-tile-name { flex: 1; min-width: 0; }
.rs-tile-name h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 6px;
  line-height: 1.35;
}
.rs-tile-name p {
  font-size: 12.5px;
  color: var(--text-mute);
  margin: 0;
}
.rs-tile-img {
  flex: 0 0 92px;
  width: 92px;
  height: 70px;
  background-color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid var(--border);
  border-radius: 8px;
}
@media (max-width: 640px) {
  .rs-tile-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Homepage redesign (electools.kr-inspired dark hero + curated rows)
   ============================================================ */
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background:
    radial-gradient(560px 380px at 14% 18%, rgba(167,139,250,0.45), transparent 60%),
    radial-gradient(620px 420px at 88% 78%, rgba(139,92,246,0.40), transparent 55%),
    linear-gradient(150deg, #2E1065 0%, #4C1D95 45%, #6D28D9 100%);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 90%);
  pointer-events: none;
}
.home-hero .container { position: relative; z-index: 2; width: 100%; }

/* 히어로 슬라이드쇼 (여러 배너 자동 전환) */
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 88px 0 96px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 3; }
.hero-slide-bg {
  position: absolute;
  inset: 0;
  max-width: 1180px;
  margin: 0 auto;
  left: 0;
  right: 0;
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  pointer-events: none;
}
.hero-slide-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.32;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -.4px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero-slide-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #E4DBFF;
  margin: 0 0 26px;
  letter-spacing: -.2px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero-slide-logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 7px 14px;
  margin-bottom: 16px;
}
.hero-slide-logo-raised { margin-top: -22px; }
.hero-slide-title-equal { font-size: 28px; }
.hero-slide-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, opacity .15s ease;
}
.hero-slide-link:hover {
  border-bottom-color: currentColor;
  opacity: .88;
}
.hero-slide-logo img { height: 18px; display: block; }
.hero-slide-split { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-slide-text { flex: 1 1 auto; min-width: 0; }
.hero-showcase-imgs { display: flex; gap: 14px; flex: 0 0 auto; }
.hero-showcase-card {
  width: 150px; height: 190px;
  background: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(20,14,46,0.35);
}
.hero-showcase-card img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
@media (max-width: 900px) {
  .hero-showcase-imgs { display: none; }
}
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.55);
  padding: 0;
  cursor: pointer;
  transition: width .3s ease, border-radius .3s ease, background .3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.6); }
.hero-dot.active {
  width: 24px;
  border-radius: 5px;
  background: #fff;
  border-color: #fff;
}
.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #C9BFFF;
  background: rgba(139,127,232,0.16);
  border: 1px solid rgba(139,127,232,0.45);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.home-hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #A78BFA;
  box-shadow: 0 0 0 4px rgba(167,139,250,0.25);
}
.home-hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.28;
  color: #fff;
  margin: 0 0 18px;
  max-width: 640px;
  letter-spacing: -.5px;
}
.home-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #A78BFA, #C9BFFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-hero p.lead {
  font-size: 16px;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  margin: 0 0 32px;
}
.home-hero-actions { display: flex; gap: 12px; margin-bottom: 40px; }
.home-hero-actions .btn-hero-primary {
  background: linear-gradient(90deg, #8B7FE8, #6C5CE7);
  color: #fff;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(139,127,232,0.4);
}
.home-hero-actions .btn-hero-outline {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.24);
  color: #fff;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
}
.home-hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.home-hero-pills a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.home-hero-pills a:hover {
  background: rgba(139,127,232,0.22);
  border-color: rgba(167,139,250,0.55);
  transform: translateY(-2px);
}
.home-hero-corner {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 2;
  text-align: right;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.38);
  letter-spacing: .2px;
}
.home-hero-corner b { color: rgba(201,191,255,0.75); font-weight: 700; }

/* Curated product rows */
.home-row-section { padding: 52px 0 8px; }
.home-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.home-row-head h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0;
}
.home-row-head h2 span {
  font-weight: 500;
  font-size: 13.5px;
  color: var(--text-mute);
  margin-left: 10px;
}
.home-row-head a.more {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-dark);
  white-space: nowrap;
}
.home-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}
.home-row::-webkit-scrollbar { height: 6px; }
.home-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
.home-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: block;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(139,127,232,0.18);
  border-color: var(--purple);
}
.home-card .thumb {
  height: 150px;
  background-color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 10px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
}
.home-card .body { padding: 13px 14px 16px; }
.home-card .brand-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 4px;
}
.home-card h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 37px;
}
.home-card .spec-line {
  font-size: 11px;
  color: var(--text-mute);
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-card .price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
}
.home-card .price.tbd { font-size: 13px; color: var(--purple-dark); }
.home-card .price .unit { font-size: 12px; font-weight: 500; }

@media (max-width: 720px) {
  .home-hero h1 { font-size: 30px; }
  .home-hero-corner { position: static; text-align: left; margin-top: 24px; }
  .home-card { flex-basis: 160px; }
  .home-hero { min-height: 460px; }
  .hero-slide { padding: 60px 0 76px; }
  .hero-slide-title { font-size: 26px; }
  .hero-slide-title-equal { font-size: 22px; }
}

/* ============================================================
   계측기 category hero banner (메인계측기.png) — subtle animation
   ============================================================ */
.meter-hero {
  position: relative;
  overflow: hidden;
  height: 220px;
  margin-bottom: 4px;
}
.meter-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/meter-hero-banner.png');
  background-size: cover;
  background-position: center center;
  animation: meterHeroZoom 22s ease-in-out infinite alternate;
  filter: url('#illustrateFilter');
}
@keyframes meterHeroZoom {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.06); }
}
.meter-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,11,31,0.15) 0%, rgba(14,11,31,0.55) 70%, rgba(14,11,31,0.82) 100%);
}
.meter-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 26px;
}
.meter-hero-inner .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  color: #C9BFFF;
  background: rgba(139,127,232,0.2);
  border: 1px solid rgba(139,127,232,0.5);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  opacity: 0;
  animation: meterHeroFadeUp .7s ease .15s forwards;
}
.meter-hero-inner h1 {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -.4px;
  opacity: 0;
  animation: meterHeroFadeUp .7s ease .3s forwards;
}
.meter-hero-inner p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 560px;
  opacity: 0;
  animation: meterHeroFadeUp .7s ease .45s forwards;
}
@keyframes meterHeroFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .meter-hero-bg { animation: none; }
  .meter-hero-inner .eyebrow, .meter-hero-inner h1, .meter-hero-inner p { animation: none; opacity: 1; }
}
@media (max-width: 720px) {
  .meter-hero { height: 190px; }
  .meter-hero-inner h1 { font-size: 24px; }
}

/* 사이트 전체: 상단 대분류 탭 바 (헤더 바로 아래, 한 줄) */
.cat-nav-bar {
  background: var(--purple-dark);
}
.cat-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.cat-nav-inner a {
  flex-shrink: 0;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.cat-nav-inner a:hover { background: rgba(255,255,255,0.14); color: #fff; }
.cat-nav-inner-banner { justify-content: center; }
.cat-nav-inner-banner a { font-size: 15px; letter-spacing: .2px; }

/* 서브페이지 상단 카테고리 네비게이션 (둥근 필 버튼) */
.cat-nav-inner.cat-nav-pills {
  gap: 10px;
  padding: 12px 0;
  justify-content: center;
  flex-wrap: wrap;
}
.cat-nav-pills a {
  flex-shrink: 0;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}
.cat-nav-pills a:hover {
  background: #fff;
  color: var(--purple-dark);
  transform: translateY(-1px);
}
@media (max-width: 700px) {
  .cat-nav-inner.cat-nav-pills { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}

/* 홈페이지: 테마 타일 아래 주요 브랜드 로고 스트립 */
.brand-strip { max-width: 1180px; margin: 8px 0 28px; }
.brand-strip-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 10px;
}
.brand-strip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.brand-strip-item {
  flex: 1 1 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.brand-strip-item:hover {
  border-color: var(--purple);
  box-shadow: 0 4px 14px rgba(124,58,237,0.14);
  transform: translateY(-2px);
}
.brand-strip-item img {
  max-width: 78%;
  max-height: 34px;
  object-fit: contain;
}
.brand-strip-item.brand-strip-text {
  font-weight: 800;
  font-size: 16px;
  color: #1f2937;
  letter-spacing: .2px;
}
.brand-strip-item.brand-strip-dark { background: #14100a; border-color: #14100a; }
.brand-strip-item.brand-strip-dual { gap: 8px; }
.brand-strip-item.brand-strip-dual img { max-height: 22px; }
.brand-strip-item.brand-strip-dual span {
  font-weight: 800;
  font-size: 14px;
  color: #1f2937;
  letter-spacing: .2px;
}
.brand-strip-item.brand-strip-yusin img { max-height: 46px; max-width: 88%; }
.brand-strip-item.brand-strip-milwaukee {
  font-weight: 800;
  font-size: 20px;
  font-style: italic;
  letter-spacing: -.2px;
  color: #E4002B;
}

/* 홈페이지: 테마별 카테고리 타일 (사진 + 하단 브랜드 배너) */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
}
@media (max-width: 900px) { .theme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .theme-grid { grid-template-columns: 1fr; } }

.theme-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.theme-tile:hover { box-shadow: 0 10px 28px rgba(108,92,231,0.14); transform: translateY(-2px); }

.theme-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 20px 18px;
  min-height: 128px;
}
.theme-top h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.35;
}
.theme-photo {
  width: 112px;
  height: 90px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  flex-shrink: 0;
  background-color: var(--purple-light);
}
.theme-slider {
  position: relative;
  width: 128px;
  height: 100px;
  border-radius: 10px;
  flex-shrink: 0;
  background-color: #fff;
  overflow: hidden;
}
.theme-slider .slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity .7s ease;
}
.theme-slider .slide.active { opacity: 1; }
.grainger-slider {
  width: auto;
  height: 150px;
  border-radius: 0;
  background-color: #fff;
}
.grainger-slider .slide { background-size: contain; }
.theme-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.theme-brands span {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--text-mute);
}
.theme-brands .brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 3px 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 5px;
}
.theme-brands .brand-logo img {
  max-height: 16px;
  max-width: 62px;
  object-fit: contain;
  display: block;
}
.theme-brands .brand-logo-dark { background: #1a1a1a; border-color: #1a1a1a; }
