/* ============================================================
   Aladin B2B — Modern Design System
   ============================================================ */

:root {
  --primary:    #1a56db;
  --primary-dk: #1245b5;
  --secondary:  #f0f4ff;
  --accent:     #ff6b2b;
  --dark:       #1e2a3b;
  --mid:        #4b5563;
  --light:      #f9fafb;
  --border:     #e5e7eb;
  --radius:     8px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-md:  0 4px 24px rgba(0,0,0,.12);
  --font:       'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  color: var(--dark);
  background: #f0f4f8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Top Bar ─────────────────────────────────────────── */
.top-bar {
  background: var(--dark);
  color: #cdd5e0;
  font-size: 12px;
  padding: 5px 0;
}
.top-bar a { color: #cdd5e0; }
.top-bar a:hover { color: #fff; text-decoration: none; }
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar-links { display: flex; gap: 14px; align-items: center; }

/* Currency selector in top bar */
.cur-select {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #e2e8f0;
  padding: 2px 6px 2px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background .15s, border-color .15s;
  letter-spacing: .3px;
}
.cur-select:hover  { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); }
.cur-select:focus  { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.cur-select option { background: #1e2a3b; color: #f1f5f9; }

/* Country / site-filter selector in top bar */
.top-select {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #e2e8f0;
  padding: 2px 6px 2px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: background .15s, border-color .15s;
  max-width: 140px;
}
.top-select:hover  { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); }
.top-select:focus  { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.top-select option { background: #1e2a3b; color: #f1f5f9; }

/* Thin separator pill in top bar */
.tb-sep { display: inline-block; width: 1px; height: 14px; background: rgba(255,255,255,.2); flex-shrink: 0; }

/* Language flag buttons in top bar */
.lang-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 3px;
  opacity: .55; transition: opacity .15s, transform .1s;
  text-decoration: none; flex-shrink: 0;
}
.lang-flag:hover { opacity: 1; transform: scale(1.2); }
.lang-flag.lang-active { opacity: 1; box-shadow: 0 0 0 2px rgba(255,255,255,.55); }
.lang-flag .fi { font-size: 14px; border-radius: 2px; line-height: 1; }

/* ── Custom top-bar pickers (country + language) ─────────── */
.tb-picker { position: relative; }

.tb-picker-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #e2e8f0;
  padding: 4px 10px 4px 9px;
  border-radius: 20px;
  font-size: 12px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.tb-picker-btn:hover,
.tb-picker.open .tb-picker-btn {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.38);
  box-shadow: 0 0 0 3px rgba(255,255,255,.07);
}
.tb-picker-btn .fi { font-size: 15px; flex-shrink: 0; border-radius: 2px; }
.tb-pname { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tb-picker-chevron {
  width: 9px; height: 9px; opacity: .55; flex-shrink: 0;
  transition: transform .2s, opacity .15s;
}
.tb-picker-btn:hover .tb-picker-chevron,
.tb-picker.open .tb-picker-chevron { opacity: .9; }
.tb-picker.open .tb-picker-chevron { transform: rotate(180deg); }

.tb-picker-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 5px;
  min-width: 175px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
}
.tb-picker-menu::-webkit-scrollbar { width: 4px; }
.tb-picker-menu::-webkit-scrollbar-track { background: transparent; }
.tb-picker-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 4px; }

.tb-picker.open .tb-picker-menu {
  display: block;
  animation: tbDrop .14s ease;
}
@keyframes tbDrop {
  from { opacity: 0; transform: translateY(-6px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.tb-picker-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  font-size: 12px; color: rgba(255,255,255,.72);
  text-decoration: none; border-radius: 8px;
  transition: background .1s, color .1s;
  cursor: pointer; white-space: nowrap;
}
.tb-picker-item:hover { background: rgba(255,255,255,.1); color: #fff; }
.tb-picker-item.tbi-active {
  background: rgba(99,102,241,.32);
  color: #c7d2fe; font-weight: 600;
}
.tb-picker-item .fi { font-size: 15px; flex-shrink: 0; border-radius: 2px; }

/* Converted price span */
.cur-val {
  font-weight: 700;
  color: #dc2626;
}

/* ── Main Navbar ─────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img { height: 44px; }
.site-logo .logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

/* Search bar */
.header-search {
  flex: 1;
  max-width: 660px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 1.5px solid #c7d2fe;
  border-radius: 50px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 14px rgba(26,86,219,.10), 0 1px 4px rgba(0,0,0,.05);
  transition: box-shadow .2s, border-color .2s;
}
.header-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12), 0 2px 16px rgba(26,86,219,.12);
}
.header-search > input[type="text"] {
  flex: 1;
  min-width: 100px;
  border: 0;
  outline: none;
  padding: 10px 12px 10px 20px;
  font-size: 14px;
  background: transparent;
  color: var(--dark);
}
.header-search > input[type="text"]::placeholder { color: #9ca3af; }
.search-filters {
  display: flex;
  align-items: stretch;
  border-left: 1px solid #dde2f5;
  background: #f4f6ff;
}
.header-search select {
  border: none;
  border-right: 1px solid #dde2f5;
  outline: none;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
  background: transparent;
  width: 128px;
  cursor: pointer;
  color: #374151;
  transition: background .15s;
  flex-shrink: 0;
}
.header-search select:last-of-type { border-right: 0; }
.header-search select:hover  { background: rgba(99,102,241,.09); }
.header-search select:focus  { background: #e0e7ff; outline: none; }
.header-search button {
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a56db 0%, #2563eb 100%);
  border: 0;
  color: #fff;
  padding: 0 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  white-space: nowrap;
  transition: filter .18s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-search button::before { content: "🔍"; font-size: 13px; }
.header-search button:hover   { filter: brightness(1.1); }

/* Nav actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--primary-dk); color: #fff; text-decoration: none; }
.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.btn-accent:hover { background: #e85c22; color: #fff; text-decoration: none; }

/* Welcome message */
.welcome-msg {
  font-size: 13px;
  color: var(--mid);
}
.welcome-msg strong { color: var(--primary); }

/* ── Category Nav ────────────────────────────────────── */
.cat-nav {
  background: linear-gradient(180deg, #1b2c44 0%, #122038 100%);
  border-bottom: 2px solid rgba(96,165,250,.35);
  box-shadow: 0 3px 12px rgba(0,0,0,.22);
}
.cat-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a {
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  display: block;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s, background .18s;
  letter-spacing: .01em;
}
.cat-nav a:hover, .cat-nav a.active {
  color: #fff;
  border-bottom-color: #60a5fa;
  text-decoration: none;
  background: rgba(255,255,255,.07);
  border-radius: 4px 4px 0 0;
}

/* ── Picker search ─────────────────────────────────────── */
.tb-search-wrap {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 3px;
  position: sticky; top: 0;
  background: #1e293b;
  border-radius: 10px 10px 0 0;
  z-index: 1;
}
.tb-si { width: 13px; height: 13px; opacity: .4; flex-shrink: 0; color: #e2e8f0; }
.tb-search-input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 12px; color: #e2e8f0;
  outline: none; font-family: inherit;
  transition: border-color .15s, background .15s;
}
.tb-search-input::placeholder { color: rgba(255,255,255,.3); }
.tb-search-input:focus {
  border-color: rgba(99,102,241,.65);
  background: rgba(255,255,255,.13);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.tb-no-result {
  padding: 10px 12px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  text-align: center;
  display: none;
}

/* ── Language Bar ─────────────────────────────────────── */
.lang-bar {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}
.lang-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.lang-bar a { display: inline-flex; align-items: center; opacity: .75; transition: opacity .2s; }
.lang-bar a:hover { opacity: 1; }
.lang-bar a img { height: 16px; border-radius: 2px; }

/* ── Page Container ──────────────────────────────────── */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* ── Hero Banner ─────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  padding: 48px 0 56px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}
.hero h1 { font-size: 32px; font-weight: 700; margin: 0 0 10px; line-height: 1.2; }
.hero p { font-size: 16px; opacity: .9; margin: 0 0 28px; }
.hero-search {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.hero-search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--dark);
}
.hero-search button {
  background: var(--accent);
  border: 0;
  color: #fff;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.hero-search button:hover { background: #e85c22; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 22px; font-weight: 700; }
.hero-stat .lbl { font-size: 12px; opacity: .8; }

/* ── Section ─────────────────────────────────────────── */
.section { padding: 40px 0; }
.section-alt { background: var(--secondary); }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  border-left: 4px solid var(--primary);
  padding-left: 10px;
}
.section-link { font-size: 13px; color: var(--primary); font-weight: 600; }

/* ── Cards Grid ──────────────────────────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
@media(max-width:900px){ .grid-4{grid-template-columns:repeat(2,1fr);} .grid-3{grid-template-columns:repeat(2,1fr);} }
@media(max-width:600px){ .grid-4,.grid-3,.grid-2{grid-template-columns:1fr;} }

/* Product Card */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: 12px;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 12px; }
.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 4px;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card-sub { font-size: 12px; color: var(--mid); margin: 0 0 8px; }
.card-price { font-size: 16px; font-weight: 700; color: var(--accent); }
.card-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.card-badge.gold { background: #d97706; }
.card-badge.featured { background: var(--accent); }

/* Supplier Card */
.supplier-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: box-shadow .2s;
}
.supplier-card:hover { box-shadow: var(--shadow-md); }
.supplier-logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: var(--secondary);
  flex-shrink: 0;
}
.supplier-info .name { font-weight: 700; font-size: 14px; color: var(--dark); margin: 0 0 2px; }
.supplier-info .country { font-size: 12px; color: var(--mid); }
.supplier-info .type { font-size: 11px; margin-top: 4px; }

/* ── Form Box ─────────────────────────────────────────── */
.form-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--dark); }
.form-label .req { color: #ef4444; }
.form-control {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: border .2s;
  background: #fff;
  color: var(--dark);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.form-error { color: #ef4444; font-size: 12px; margin-top: 4px; font-weight: 600; }
.form-hint { color: var(--mid); font-size: 12px; margin-top: 4px; }

/* ── Table ────────────────────────────────────────────── */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  background: var(--secondary);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--border);
  color: var(--dark);
}
.tbl td {
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--mid);
  vertical-align: middle;
}
.tbl tr:hover td { background: #f8faff; }

/* ── Badges & Tags ────────────────────────────────────── */
.tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid #c7d7fc;
}

/* ── Alert ────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: 6px; font-size: 13px; margin-bottom: 16px; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ── Breadcrumb ───────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mid);
  padding: 12px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--border); }

/* ── Pagination ───────────────────────────────────────── */
.pagination { display: flex; gap: 4px; align-items: center; justify-content: center; padding: 20px 0; flex-wrap: wrap; }
/* Reset Bootstrap's page-item li, style page-link instead */
.page-item { border: none !important; background: transparent !important; padding: 0 !important; min-width: 0 !important; height: auto !important; }
.page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border: 1.5px solid var(--border) !important;
  border-radius: 6px !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  transition: all .2s;
  padding: 0 8px;
  background: #fff;
  text-decoration: none;
}
.page-item .page-link:hover,
.page-item.active .page-link { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: #9ca3af;
  font-size: 13px;
  margin-top: 48px;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
@media(max-width:800px){ .footer-top{grid-template-columns:1fr 1fr;} }
@media(max-width:500px){ .footer-top{grid-template-columns:1fr;} }
.footer-brand .logo-text { font-size: 20px; font-weight: 700; color: #fff; }
.footer-brand p { margin: 10px 0 0; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #9ca3af; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px;
  text-align: center;
  font-size: 12px;
}

/* ── Sidebar ──────────────────────────────────────────── */
.layout-with-sidebar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}
@media(max-width:768px){ .layout-with-sidebar{grid-template-columns:1fr;} }
.sidebar {}
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.sidebar-widget-title {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
}
.sidebar-widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar-widget ul li { border-bottom: 1px solid var(--border); }
.sidebar-widget ul li:last-child { border-bottom: 0; }
.sidebar-widget ul li a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--mid);
  transition: all .2s;
}
.sidebar-widget ul li a:hover { background: var(--secondary); color: var(--primary); text-decoration: none; padding-left: 18px; }

/* ── My Account ───────────────────────────────────────── */
.account-menu {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.account-menu-title { background: var(--primary); color: #fff; font-weight: 700; padding: 12px 16px; font-size: 14px; border-radius: var(--radius) var(--radius) 0 0; }
.account-menu ul { list-style: none; margin: 0; padding: 8px; }
.account-menu ul li a { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 6px; color: var(--mid); font-size: 13px; transition: all .2s; }
.account-menu ul li a:hover, .account-menu ul li a.active { background: var(--secondary); color: var(--primary); text-decoration: none; }

/* ── Utility ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.gap-8 { gap: 8px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.justify-between { justify-content: space-between; }

/* ── Hamburger button ────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background .2s;
  flex-shrink: 0;
}
.menu-toggle:hover { background: rgba(0,0,0,.06); }
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ── Full-screen nav overlay ─────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0f1a2e;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.nav-overlay.open {
  transform: translateX(0);
}
.nav-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.nav-overlay-logo img {
  height: 36px;
  width: auto;
}
.nav-overlay-close {
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.nav-overlay-close:hover { background: rgba(255,255,255,.22); }
.nav-overlay-links {
  display: flex;
  flex-direction: column;
  padding: 12px 0 32px;
  flex: 1;
}
.nav-overlay-links a {
  color: rgba(255,255,255,.85);
  font-size: 17px;
  font-weight: 600;
  padding: 16px 24px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .15s, color .15s;
}
.nav-overlay-links a:hover,
.nav-overlay-links a:active {
  background: rgba(255,255,255,.07);
  color: #fff;
}
.nav-overlay-links a::before {
  content: "›";
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.nav-overlay-divider {
  height: 1px;
  background: rgba(255,255,255,.12);
  margin: 10px 24px;
}
.nav-overlay-action {
  font-size: 15px !important;
  padding: 13px 24px !important;
  color: rgba(255,255,255,.6) !important;
}
.nav-overlay-action.accent {
  color: var(--accent) !important;
}

/* ── Mobile breakpoint ───────────────────────────────── */
@media(max-width:768px){
  .menu-toggle       { display: flex; margin-left: auto; }
  .header-search     { display: none; }
  .header-actions    { display: none; }
  .cat-nav           { display: none; }
}

/* ── Gold Badge ───────────────────────────────────────── */
.gold-crown::before { content: "★ "; color: #d97706; }

/* ── News Card ────────────────────────────────────────── */
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.news-card-img { height: 140px; background: var(--secondary); overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 14px; }
.news-card-title { font-size: 14px; font-weight: 600; color: var(--dark); margin: 0 0 6px; line-height: 1.4; }
.news-card-date { font-size: 11px; color: var(--mid); }
.news-card-desc { font-size: 12px; color: var(--mid); margin: 6px 0 0; line-height: 1.5; }

/* ── Stats Strip ──────────────────────────────────────── */
.stats-strip {
  background: var(--primary);
  color: #fff;
  padding: 20px 0;
}
.stats-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-item { text-align: center; }
.stat-item .n { font-size: 26px; font-weight: 700; }
.stat-item .l { font-size: 12px; opacity: .8; margin-top: 2px; }

/* ── Full-width escape for legacy table-wrapped pages ────────
   When header/footer are inside a centered 1000px table cell,
   these rules make them visually full-width. Idempotent when
   the element is already in a full-width container.           */
.top-bar, .site-header, .cat-nav, .lang-bar, .site-footer {
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}
/* Prevent horizontal scrollbar caused by the escape technique */
body { overflow-x: hidden; }

/* ── Override old site CSS conflicts ─────────────────────── */
table { border-spacing: 0; }
a:hover { text-decoration: none; }
.topnavigation, .topnavigation_selected { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   Language Switcher — nav button + full-screen modal
   ═══════════════════════════════════════════════════════════ */

/* Spacer that pushes the lang button to the right in the nav */
.store-nav-spacer { flex: 1; min-width: 8px; }

/* ── Globe button (in the nav bar) ── */
.nav-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  background: #f8faff;
  color: #374151;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  align-self: center;
  margin: 4px 0 4px 6px;
  white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s;
}
.nav-lang-btn:hover {
  background: #eff6ff;
  border-color: #1a56db;
  color: #1a56db;
}
.nav-lang-flag {
  height: 16px;
  border-radius: 2px;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  flex-shrink: 0;
}
.nav-lang-label {
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-lang-chev { font-size: 10px; opacity: .6; }

/* ── Modal overlay ── */
.lsw-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 30, 61, .58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.lsw-overlay.open { opacity: 1; pointer-events: all; }

/* ── Modal panel ── */
.lsw-modal {
  background: #fff;
  border-radius: 22px;
  width: min(740px, 96vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
  transform: scale(.94) translateY(18px);
  transition: transform .24s cubic-bezier(.34, 1.56, .64, 1);
}
.lsw-overlay.open .lsw-modal { transform: scale(1) translateY(0); }

/* ── Header ── */
.lsw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  flex-shrink: 0;
}
.lsw-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 800;
  color: #0f1e3d;
}
.lsw-title i { color: #1a56db; font-size: 20px; }
.lsw-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f3f4f6;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.lsw-close:hover { background: #fee2e2; color: #dc2626; }

/* ── Search ── */
.lsw-search-wrap {
  position: relative;
  padding: 0 24px 14px;
  flex-shrink: 0;
}
.lsw-search-icon {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-54%);
  color: #9ca3af;
  font-size: 14px;
  pointer-events: none;
}
.lsw-search {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 13.5px;
  outline: none;
  color: #1e2a3b;
  background: #f8faff;
  transition: border-color .18s, box-shadow .18s;
}
.lsw-search:focus {
  border-color: #1a56db;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, .1);
  background: #fff;
}

/* ── Language grid ── */
.lsw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px 18px 22px;
  overflow-y: auto;
  flex: 1;
}
@media(max-width: 640px) { .lsw-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 360px) { .lsw-grid { grid-template-columns: 1fr; } }

/* ── Language item ── */
.lsw-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background .15s, border-color .15s;
  width: 100%;
  min-height: 46px;
}
.lsw-item:hover { background: #eff6ff; border-color: #bfdbfe; }
.lsw-item.active { background: #eff6ff; border-color: #1a56db; }

.lsw-flag {
  height: 22px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}
.lsw-iname {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #1e2a3b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
.lsw-inative {
  display: block;
  font-size: 10.5px;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.lsw-icheck { color: #1a56db; font-size: 16px; flex-shrink: 0; margin-left: auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   STORE THEME — Complete Modern Design 2025
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset / base ──────────────────────────────────────────────────────── */
.store-bg {
  background: #f0f2f5;
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
.store-bg *, .store-bg *::before, .store-bg *::after { box-sizing: border-box; }
.store-bg a { text-decoration: none; }

/* ── Topbar ───────────────────────────────────────────────────────────── */
.s-topbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #060e1f;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.s-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.s-topbar-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  transition: color .17s;
}
.s-topbar-back:hover { color: #fff; }
.s-topbar-back .bi { font-size: 18px; }
.s-topbar-store {
  color: rgba(255,255,255,.45);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Cover ────────────────────────────────────────────────────────────── */
.s-cover {
  height: 220px;
  background: linear-gradient(135deg, #060e1f 0%, #0d2147 45%, #1a56db 100%);
  position: relative;
  overflow: hidden;
}
.s-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,.03) 0px,
    rgba(255,255,255,.03) 1px,
    transparent 1px,
    transparent 28px
  );
}
.s-cover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(6,14,31,.35));
}

/* ── Identity Panel ───────────────────────────────────────────────────── */
.s-identity {
  background: #fff;
  border-bottom: 1px solid #e8ecff;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}
.s-id-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.s-id-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 18px;
}

/* Logo */
.s-logo {
  width: 110px;
  height: 110px;
  border-radius: 20px;
  border: 4px solid #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
  overflow: hidden;
  flex-shrink: 0;
  margin-top: -55px;
  position: relative;
  z-index: 10;
  background: #f8faff;
}
.s-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.s-logo-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d2147, #1a56db);
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2px;
}

/* Company name wrap */
.s-name-wrap {
  flex: 1;
  min-width: 0;
  padding-top: 10px;
}
.s-name {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 900;
  color: #0a1628;
  margin: 0 0 6px;
  line-height: 1.2;
}
.s-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 10px;
}
.s-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #6b7280;
}
.s-meta .bi { color: #1a56db; font-size: 13px; }
.s-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.s-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2px;
}
.s-badge-gold     { background: #fffbeb; color: #92400e; border: 1.5px solid #fde68a; }
.s-badge-gold .bi { color: #f59e0b; }
.s-badge-verified     { background: #eff6ff; color: #1d4ed8; border: 1.5px solid #bfdbfe; }
.s-badge-verified .bi { color: #2563eb; }
.s-badge-est     { background: #f0fdf4; color: #15803d; border: 1.5px solid #bbf7d0; }
.s-badge-est .bi { color: #16a34a; }

/* CTA Actions */
.s-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 10px;
}
.s-btn-primary, .s-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all .18s;
  cursor: pointer;
  border: none;
}
.s-btn-primary {
  background: linear-gradient(135deg, #1a56db, #2563eb);
  color: #fff;
  box-shadow: 0 3px 12px rgba(26,86,219,.35);
}
.s-btn-primary:hover { background: linear-gradient(135deg, #1e40af, #1a56db); color: #fff; box-shadow: 0 5px 18px rgba(26,86,219,.45); transform: translateY(-1px); }
.s-btn-outline { background: #fff; color: #1e2a3b; border: 1.5px solid #e5e7eb !important; }
.s-btn-outline:hover { border-color: #1a56db !important; color: #1a56db; background: #eff6ff; }

/* Stats */
.s-stats {
  display: flex;
  gap: 0;
  padding: 14px 0 0;
  border-top: 1px solid #f1f5f9;
}
.s-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 8px 16px;
  border-right: 1px solid #f1f5f9;
  cursor: default;
}
.s-stat:last-child { border-right: none; }
.s-stat-n {
  font-size: 26px;
  font-weight: 900;
  color: #0a1628;
  line-height: 1;
  letter-spacing: -1px;
}
.s-stat-l {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ── Store Nav ────────────────────────────────────────────────────────── */
.store-nav {
  background: #fff;
  border-bottom: 2px solid #f1f5f9;
  position: sticky;
  top: 44px;
  z-index: 400;
}
.store-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.store-nav-inner::-webkit-scrollbar { display: none; }
.store-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 48px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .17s, border-color .17s;
  text-decoration: none;
}
.store-nav a:hover { color: #1a56db; }
.store-nav a.active { color: #1a56db; border-bottom-color: #1a56db; }
.store-nav a .bi { font-size: 14px; }
.store-nav-spacer { flex: 1; min-width: 8px; }

/* ── Body Layout ─────────────────────────────────────────────────────── */
.store-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 64px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Sidebar Blocks ──────────────────────────────────────────────────── */
.sidebar-block {
  background: #fff;
  border: 1px solid #e8ecff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.sidebar-block-head {
  background: linear-gradient(135deg, #0a1628, #0d2147);
  color: #e2e8f0;
  padding: 11px 15px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.sidebar-block-head .bi { color: #60a5fa; font-size: 13px; }
.sidebar-block-body { padding: 10px; }

/* Category links */
.cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  font-size: 12.5px;
  color: #374151;
  border-radius: 7px;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.cat-link:hover { background: #eff6ff; color: #1a56db; }
.cat-link.active { background: #eff6ff; color: #1a56db; font-weight: 700; }
.cat-cnt {
  background: #e8ecff;
  color: #4b5563;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 20px;
  flex-shrink: 0;
}
.cat-link.active .cat-cnt { background: #bfdbfe; color: #1d4ed8; }

/* Category pills */
.cat-bar { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all .17s;
  text-decoration: none;
}
.cat-pill:hover { border-color: #1a56db; color: #1a56db; background: #eff6ff; }
.cat-pill.active { border-color: #1a56db; background: #1a56db; color: #fff; }
.cat-pill .cnt { background: rgba(255,255,255,.25); font-size: 10px; padding: 1px 6px; border-radius: 10px; font-weight: 700; }
.cat-pill.active .cnt { background: rgba(255,255,255,.3); color: #fff; }

/* Sidebar CTA */
.sidebar-cta-area { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.btn-inquire {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px; background: linear-gradient(135deg, #1a56db, #2563eb); color: #fff;
  border-radius: 9px; font-size: 13px; font-weight: 700; text-decoration: none;
  transition: all .18s; box-shadow: 0 3px 10px rgba(26,86,219,.3);
}
.btn-inquire:hover { background: linear-gradient(135deg, #1e40af, #1a56db); color: #fff; transform: translateY(-1px); }
.btn-outline-sm {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 10px; background: #fff; color: #374151; border: 1.5px solid #e5e7eb;
  border-radius: 9px; font-size: 12.5px; font-weight: 600; text-decoration: none; transition: all .17s;
}
.btn-outline-sm:hover { border-color: #1a56db; color: #1a56db; background: #eff6ff; }

/* ── Content Cards ───────────────────────────────────────────────────── */
.content-card {
  background: #fff; border: 1px solid #e8ecff; border-radius: 16px;
  padding: 22px 24px; margin-bottom: 18px; box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.content-card-title {
  display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 800;
  color: #0a1628; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1.5px solid #f1f5f9;
}
.content-card-title .bi { color: #1a56db; font-size: 16px; }

/* Section head */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-size: 16px; font-weight: 800; color: #0a1628; display: flex; align-items: center; gap: 8px; }
.section-title .bi { color: #1a56db; }
.section-count { background: #eff6ff; color: #1d4ed8; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }

/* ── Product Grid ────────────────────────────────────────────────────── */
.products-grid, .product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px;
}
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1.5px solid #e8ecff;
  border-radius: 14px; overflow: hidden; text-decoration: none; color: #1e2a3b;
  transition: border-color .18s, box-shadow .2s, transform .2s;
}
.product-card:hover { border-color: #1a56db; box-shadow: 0 8px 28px rgba(26,86,219,.12); transform: translateY(-3px); color: #1a56db; }
.product-card-img-wrap { width: 100%; height: 148px; overflow: hidden; background: #f8faff; flex-shrink: 0; }
.product-card-img, .product-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.product-card:hover .product-card-img, .product-card:hover img { transform: scale(1.05); }
.product-card-body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.product-card-name { font-size: 12.5px; font-weight: 700; margin-bottom: 4px; line-height: 1.35; }
.product-card-date { font-size: 10.5px; color: #9ca3af; margin-top: auto; padding-top: 6px; }
.product-card-footer { display: flex; gap: 4px; padding: 8px 10px; border-top: 1px solid #f1f5f9; background: #fafbff; }
.pc-btn-view, .pc-btn-contact, .pc-btn-paypal {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 5px 6px; border-radius: 7px; font-size: 10.5px; font-weight: 600; text-decoration: none; transition: all .15s;
}
.pc-btn-view    { background: #eff6ff; color: #1d4ed8; }
.pc-btn-contact { background: #f0fdf4; color: #15803d; }
.pc-btn-paypal  { background: #fef3c7; color: #92400e; }
.pc-btn-view:hover    { background: #1a56db; color: #fff; }
.pc-btn-contact:hover { background: #16a34a; color: #fff; }
.pc-btn-paypal:hover  { background: #f59e0b; color: #fff; }

/* Loader / empty */
.products-loader { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 28px; color: #6b7280; font-size: 13.5px; }
.spinner { width: 22px; height: 22px; border: 3px solid #e5e7eb; border-top-color: #1a56db; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.products-empty, .empty-state { text-align: center; padding: 56px 24px; color: #6b7280; }
.products-empty .bi, .empty-icon { font-size: 54px; color: #d1d5db; display: block; margin-bottom: 14px; }
.products-empty h3, .empty-title { font-size: 16px; font-weight: 700; color: #374151; margin-bottom: 7px; }
.products-empty p, .empty-sub { font-size: 13.5px; color: #9ca3af; margin: 0; }
.products-no-more { text-align: center; padding: 18px; font-size: 13px; color: #9ca3af; border-top: 1px solid #f1f5f9; margin-top: 8px; }

/* ── Lead Cards ──────────────────────────────────────────────────────── */
.lead-card {
  display: flex; gap: 16px; background: #fff; border: 1.5px solid #e8ecff;
  border-radius: 14px; padding: 16px; margin-bottom: 12px; transition: border-color .17s, box-shadow .17s;
}
.lead-card:hover { border-color: #1a56db; box-shadow: 0 4px 18px rgba(26,86,219,.09); }
.lead-thumb { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #f8faff; display: block; }
.lead-thumb-placeholder {
  width: 72px; height: 72px; border-radius: 10px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 28px; color: #93c5fd;
}
.lead-body { flex: 1; min-width: 0; }
.lead-title { font-size: 14px; font-weight: 700; color: #0a1628; margin-bottom: 5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 7px; }
.lead-cat, .lead-date { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: #6b7280; }
.lead-cat .bi { color: #1a56db; }
.lead-excerpt { font-size: 12.5px; color: #6b7280; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
.lead-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-lead-view { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; background: #eff6ff; color: #1d4ed8; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none; transition: all .16s; }
.btn-lead-view:hover { background: #1a56db; color: #fff; }
.btn-lead-contact { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; background: #f0fdf4; color: #15803d; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none; transition: all .16s; }
.btn-lead-contact:hover { background: #16a34a; color: #fff; }
.leads-empty { text-align: center; padding: 56px 24px; color: #9ca3af; }
.leads-empty .bi { font-size: 52px; color: #d1d5db; display: block; margin-bottom: 12px; }

/* ── About Us ─────────────────────────────────────────────────────────── */
.about-img { width: 100%; border-radius: 14px; object-fit: cover; max-height: 280px; margin-bottom: 18px; display: block; }
.about-text { font-size: 14px; color: #374151; line-height: 1.75; margin: 0; }
.profile-table { width: 100%; border-collapse: collapse; }
.profile-table tr:nth-child(even) td { background: #fafbff; }
.profile-table td { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; color: #374151; }
.profile-table td:first-child { font-weight: 700; color: #0a1628; white-space: nowrap; width: 38%; }
.profile-icon { color: #1a56db; margin-right: 6px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; background: #eff6ff; color: #1d4ed8; border: 1.5px solid #bfdbfe; border-radius: 20px; font-size: 12px; font-weight: 600; }
.cert-tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; background: #f0fdf4; color: #15803d; border: 1.5px solid #bbf7d0; border-radius: 20px; font-size: 12px; font-weight: 600; }
.product-thumb { display: block; border: 1.5px solid #e8ecff; border-radius: 10px; overflow: hidden; text-decoration: none; color: #1e2a3b; font-size: 11.5px; transition: border-color .17s; }
.product-thumb:hover { border-color: #1a56db; color: #1a56db; }
.product-thumb-img { width: 100%; height: 80px; object-fit: cover; display: block; background: #f8faff; }
.product-thumb-name { padding: 6px 8px; font-weight: 600; line-height: 1.3; }
.embed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.embed-card { border: 1.5px solid #e8ecff; border-radius: 12px; overflow: hidden; background: #fff; }
.embed-card-head { padding: 10px 12px; background: #f8faff; font-size: 12px; font-weight: 700; color: #0a1628; border-bottom: 1px solid #e8ecff; }
.embed-card-body { padding: 12px; }

/* ── Ratings ──────────────────────────────────────────────────────────── */
.rating-summary { display: flex; gap: 32px; align-items: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1.5px solid #f1f5f9; }
.rating-big { text-align: center; }
.rating-big-num { font-size: 52px; font-weight: 900; color: #0a1628; line-height: 1; }
.rating-big-max { font-size: 18px; color: #9ca3af; }
.rating-big-stars { color: #f59e0b; font-size: 20px; display: flex; gap: 3px; margin: 8px 0 4px; }
.rating-big-count { font-size: 12.5px; color: #6b7280; }
.rating-bars { flex: 1; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.rating-bar-lbl { font-size: 12px; color: #6b7280; flex-shrink: 0; width: 42px; text-align: right; }
.rating-bar-track { flex: 1; height: 8px; background: #f1f5f9; border-radius: 4px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: linear-gradient(90deg, #f59e0b, #fbbf24); border-radius: 4px; }
.rating-bar-cnt { font-size: 12px; color: #6b7280; flex-shrink: 0; width: 28px; }
.write-review-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; background: linear-gradient(135deg, #1a56db, #2563eb); color: #fff; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; border: none; margin-bottom: 20px; transition: all .18s; box-shadow: 0 3px 10px rgba(26,86,219,.3); }
.write-review-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(26,86,219,.4); }
.review-form-wrap { background: #f8faff; border: 1.5px solid #e8ecff; border-radius: 14px; padding: 20px; margin-bottom: 20px; }
.form-label-custom { font-size: 12.5px; font-weight: 700; color: #374151; margin-bottom: 6px; display: block; }
.rating-select-wrap { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.rating-opt { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border: 1.5px solid #e5e7eb; border-radius: 8px; font-size: 13px; color: #374151; cursor: pointer; transition: all .15s; font-weight: 600; background: #fff; }
.rating-opt:hover { border-color: #f59e0b; color: #92400e; background: #fffbeb; }
.rating-opt.active { border-color: #f59e0b; background: #fffbeb; color: #92400e; }
.comment-card { background: #fff; border: 1.5px solid #e8ecff; border-radius: 13px; padding: 16px; margin-bottom: 12px; }
.comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #1a56db, #2563eb); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; font-weight: 800; flex-shrink: 0; }
.comment-meta { flex: 1; }
.comment-meta strong { display: block; font-size: 13.5px; font-weight: 700; color: #0a1628; }
.comment-meta span  { font-size: 11.5px; color: #9ca3af; }
.comment-rating { color: #f59e0b; font-size: 14px; display: flex; gap: 2px; }
.comment-text { font-size: 13.5px; color: #374151; line-height: 1.65; margin: 0; }

/* ── Contact Form ─────────────────────────────────────────────────────── */
.recipient-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: #f8faff; border: 1.5px solid #e8ecff; border-radius: 13px; margin-bottom: 20px; }
.recipient-avatar { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: linear-gradient(135deg, #0d2147, #1a56db); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 800; flex-shrink: 0; }
.recipient-name { font-size: 14px; font-weight: 700; color: #0a1628; }
.recipient-sub  { font-size: 12px; color: #6b7280; margin-top: 2px; }
.form-section { margin-bottom: 20px; }
.form-section-title { font-size: 13px; font-weight: 800; color: #0a1628; margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.form-section-title .bi { color: #1a56db; }
.field-row { margin-bottom: 14px; }
.field-label { display: block; font-size: 12px; font-weight: 700; color: #374151; margin-bottom: 5px; }
.field-input { width: 100%; padding: 9px 13px; border: 1.5px solid #e5e7eb; border-radius: 9px; font-size: 13.5px; color: #1e2a3b; background: #fff; transition: border-color .17s, box-shadow .17s; }
.field-input:focus { outline: none; border-color: #1a56db; box-shadow: 0 0 0 3px rgba(26,86,219,.12); }
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-img { border: 1.5px solid #e5e7eb; border-radius: 8px; height: 44px; }
.captcha-input { flex: 1; }
.btn-send { display: inline-flex; align-items: center; gap: 8px; padding: 11px 28px; background: linear-gradient(135deg, #1a56db, #2563eb); color: #fff; border: none; border-radius: 11px; font-size: 14px; font-weight: 800; cursor: pointer; transition: all .18s; box-shadow: 0 4px 14px rgba(26,86,219,.35); }
.btn-send:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,86,219,.45); }
.services-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #eff6ff; color: #1d4ed8; border: 1.5px solid #bfdbfe; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all .15s; }
.services-toggle:hover { background: #dbeafe; }

/* ── Video ────────────────────────────────────────────────────────────── */
.video-player-wrap { position: relative; border-radius: 14px; overflow: hidden; background: #000; margin-bottom: 16px; box-shadow: 0 4px 24px rgba(0,0,0,.18); }
.video-player-wrap video, .video-player-wrap iframe { width: 100%; display: block; border: none; }
.video-meta { margin-bottom: 14px; }
.video-title { font-size: 16px; font-weight: 800; color: #0a1628; margin-bottom: 6px; }
.btn-download { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; background: #f0fdf4; color: #15803d; border: 1.5px solid #bbf7d0; border-radius: 8px; font-size: 12.5px; font-weight: 700; text-decoration: none; transition: all .17s; }
.btn-download:hover { background: #16a34a; color: #fff; border-color: #16a34a; }
.empty-video { text-align: center; padding: 64px 24px; color: #9ca3af; }
.empty-video .bi { font-size: 58px; color: #d1d5db; display: block; margin-bottom: 14px; }

/* ── Contact Details ─────────────────────────────────────────────────── */
.contact-table { width: 100%; border-collapse: collapse; }
.contact-table tr:hover td { background: #fafbff; }
.contact-table td { padding: 11px 14px; font-size: 13.5px; border-bottom: 1px solid #f1f5f9; color: #374151; vertical-align: middle; }
.contact-table td:first-child { font-weight: 700; color: #0a1628; white-space: nowrap; width: 36%; }
.contact-icon { color: #1a56db; margin-right: 7px; }
.inquire-banner { background: linear-gradient(135deg, #0a1628, #1a56db); border-radius: 14px; padding: 28px 24px; text-align: center; margin-top: 20px; }
.inquire-banner-text { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.btn-inquire-lg { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: #fff; color: #1a56db; border-radius: 12px; font-size: 14px; font-weight: 800; text-decoration: none; transition: all .18s; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.btn-inquire-lg:hover { background: #eff6ff; transform: translateY(-1px); }

/* ── Store Footer ─────────────────────────────────────────────────────── */
.s-footer { background: #060e1f; border-top: 1px solid rgba(255,255,255,.06); margin-top: 48px; }
.s-footer-inner { max-width: 1200px; margin: 0 auto; padding: 32px 20px 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.s-footer-logo { font-size: 17px; font-weight: 900; color: #fff; letter-spacing: -.3px; }
.s-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.s-footer-links a { color: rgba(255,255,255,.45); font-size: 12.5px; font-weight: 500; transition: color .17s; text-decoration: none; }
.s-footer-links a:hover { color: rgba(255,255,255,.85); }
.s-footer-copy { font-size: 11.5px; color: rgba(255,255,255,.25); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .s-cover { height: 150px; }
  .s-logo { width: 84px; height: 84px; margin-top: -42px; border-radius: 14px; }
  .s-logo-ph { font-size: 32px; }
  .s-id-top { flex-wrap: wrap; gap: 12px; }
  .s-name-wrap { order: 2; width: 100%; }
  .s-actions  { order: 3; flex-direction: row; flex-wrap: wrap; }
  .s-name { font-size: 1.3rem; }
  .store-body { grid-template-columns: 1fr; padding: 16px 14px 48px; gap: 16px; }
  .store-nav a { padding: 0 12px; font-size: 12px; height: 44px; }
  .products-grid, .product-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .lead-card { flex-direction: column; }
  .lead-thumb, .lead-thumb-placeholder { width: 100%; height: 140px; border-radius: 10px; }
  .s-stats { overflow-x: auto; }
  .s-stat-n { font-size: 22px; }
}
@media (max-width: 480px) {
  .s-topbar-store { display: none; }
  .s-btn-primary, .s-btn-outline { padding: 8px 14px; font-size: 12px; }
  .products-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STORE HEADER v2 — Horizontal dark header (sh-* classes)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Topbar ── */
.sh-topbar {
  background: #020912;
  height: 38px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sh-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sh-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.5);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color .17s;
}
.sh-back:hover { color: #fff; }
.sh-back .bi { font-size: 13px; }
.sh-topbar-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.35);
  font-size: 12px;
  font-weight: 500;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sh-topbar-name .bi { color: rgba(255,255,255,.3); font-size: 13px; }

/* ── Main Header ── */
.sh-main {
  background: linear-gradient(160deg, #07111f 0%, #0c1e3e 60%, #0f265a 100%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: sticky;
  top: 0;
  z-index: 500;
}
.sh-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 18px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.sh-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  border: 3px solid rgba(255,255,255,.15);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.sh-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-logo-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
}

/* Info */
.sh-info { flex: 1; min-width: 0; }
.sh-name {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.2;
  letter-spacing: -.3px;
}
.sh-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}
.sh-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 8px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1px;
  border: 1px solid;
}
.sh-badge-gold  { background: rgba(245,158,11,.18); color: #fcd34d; border-color: rgba(245,158,11,.35); }
.sh-badge-gold .bi { color: #fbbf24; }
.sh-badge-free  { background: rgba(96,165,250,.15); color: #93c5fd; border-color: rgba(96,165,250,.3); }
.sh-badge-free .bi { color: #60a5fa; }
.sh-badge-est   { background: rgba(52,211,153,.12); color: #6ee7b7; border-color: rgba(52,211,153,.25); }
.sh-badge-est .bi { color: #34d399; }
.sh-badge-biz   { background: rgba(167,139,250,.12); color: #c4b5fd; border-color: rgba(167,139,250,.25); }
.sh-badge-biz .bi { color: #a78bfa; }
.sh-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.sh-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}
.sh-meta .bi { font-size: 12px; color: rgba(255,255,255,.35); }

/* Actions */
.sh-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.sh-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  background: #2563eb;
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .17s, transform .17s, box-shadow .17s;
  box-shadow: 0 3px 12px rgba(37,99,235,.45);
}
.sh-btn-primary:hover { background: #1d4ed8; color: #fff; transform: translateY(-1px); box-shadow: 0 5px 18px rgba(37,99,235,.55); }
.sh-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 20px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .17s, color .17s;
}
.sh-btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ── Stats bar ── */
.sh-statsbar {
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.07);
}
.sh-statsbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
}
.sh-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11px 20px 12px;
  border-right: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  transition: background .16s;
  cursor: default;
  min-width: 100px;
}
a.sh-stat { cursor: pointer; }
a.sh-stat:hover { background: rgba(255,255,255,.05); }
.sh-stat:last-child { border-right: none; }
.sh-stat-n {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}
.sh-stat-l {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: rgba(255,255,255,.42);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .6px;
  white-space: nowrap;
}
.sh-stat-l .bi { font-size: 10px; }

/* ── Nav overrides for new header ── */
.store-nav { top: 0; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .sh-main-inner { flex-wrap: wrap; padding: 14px 16px 12px; gap: 14px; }
  .sh-logo { width: 60px; height: 60px; border-radius: 12px; }
  .sh-logo-ph { font-size: 22px; }
  .sh-info { min-width: 0; flex: 1; }
  .sh-name { font-size: 1.15rem; margin-bottom: 5px; }
  .sh-actions { flex-direction: row; width: 100%; order: 3; }
  .sh-btn-primary, .sh-btn-ghost { flex: 1; font-size: 12px; padding: 8px 12px; }
  .sh-statsbar-inner { overflow-x: auto; scrollbar-width: none; }
  .sh-statsbar-inner::-webkit-scrollbar { display: none; }
  .sh-stat { min-width: 80px; padding: 9px 14px 10px; }
  .sh-stat-n { font-size: 18px; }
  .sh-topbar-name { display: none; }
}
@media (max-width: 480px) {
  .sh-logo { width: 52px; height: 52px; }
  .sh-badges { gap: 4px; }
  .sh-badge { font-size: 10.5px; padding: 2px 8px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STORE HEADER v2 — Animated bg + Scroll collapse
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Animated background on .sh-main ── */
.sh-main {
  background: linear-gradient(
    135deg,
    #06101f 0%,
    #0a1b3d 25%,
    #0f2459 50%,
    #132d6e 75%,
    #0a1b3d 100%
  );
  background-size: 300% 300%;
  animation: shBgFlow 14s ease-in-out infinite;
  position: sticky;
  top: 0;
  z-index: 500;
  overflow: hidden;
}

/* Dot grid that drifts slowly */
.sh-main::before {
  content: '';
  position: absolute;
  inset: -30px;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  animation: shDotDrift 22s linear infinite;
  z-index: 0;
}

/* Glowing accent line at bottom */
.sh-main::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(59,130,246,.4) 20%,
    rgba(99,102,241,.9) 50%,
    rgba(59,130,246,.4) 80%,
    transparent 100%
  );
  animation: shLineGlow 4s ease-in-out infinite;
  z-index: 1;
}

/* All inner children above pseudo-elements */
.sh-main-inner, .sh-statsbar { position: relative; z-index: 2; }

@keyframes shBgFlow {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}
@keyframes shDotDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-26px, -26px); }
}
@keyframes shLineGlow {
  0%, 100% { opacity: .4; transform: scaleX(.6); }
  50%       { opacity: 1;  transform: scaleX(1); }
}

/* ── Collapse transitions ── */
.sh-badges {
  overflow: hidden;
  max-height: 80px;
  opacity: 1;
  transition: max-height .32s cubic-bezier(.4,0,.2,1),
              opacity .22s ease,
              margin-bottom .32s ease;
}
.sh-meta {
  overflow: hidden;
  max-height: 40px;
  opacity: 1;
  transition: max-height .3s cubic-bezier(.4,0,.2,1),
              opacity .2s ease;
}
.sh-statsbar {
  overflow: hidden;
  max-height: 70px;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.sh-logo {
  transition: width .3s ease, height .3s ease, border-radius .3s ease;
}
.sh-name {
  transition: font-size .3s ease, margin-bottom .28s ease;
}
.sh-main-inner {
  transition: padding .3s ease;
}
.sh-btn-ghost {
  overflow: hidden;
  max-width: 200px;
  transition: max-width .3s ease, opacity .22s ease, padding .3s ease;
}

/* ── Compact / scrolled state ── */
.sh-main.sh-compact .sh-badges { max-height: 0; opacity: 0; margin-bottom: 0 !important; }
.sh-main.sh-compact .sh-meta   { max-height: 0; opacity: 0; }
.sh-main.sh-compact .sh-statsbar { max-height: 0; }
.sh-main.sh-compact .sh-main-inner { padding: 8px 20px; }
.sh-main.sh-compact .sh-logo { width: 42px; height: 42px; border-radius: 10px; }
.sh-main.sh-compact .sh-name { font-size: 1rem; margin-bottom: 0; }
.sh-main.sh-compact .sh-btn-ghost { max-width: 0; opacity: 0; padding-left: 0; padding-right: 0; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE REDESIGN — Modern 2025
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #07101d 0%, #0c1e3c 28%, #1045c8 72%, #1a56db 100%);
  padding: 68px 0 62px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 15% 65%, rgba(99,102,241,.18) 0%, transparent 65%),
              radial-gradient(ellipse 55% 45% at 88% 18%, rgba(56,189,248,.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
  line-height: 1.15;
  margin: 0 0 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  margin: 0 0 32px;
  opacity: 1;
}
.hero-search {
  max-width: 560px;
  margin: 0 auto 40px;
  display: flex;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.28);
  border-radius: 50px;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  padding: 5px;
}
.hero-search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  padding: 10px 18px;
  font-size: 14px;
  color: #fff;
  min-width: 0;
}
.hero-search input::placeholder { color: rgba(255,255,255,.45); }
.hero-search button {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border: 0;
  color: #fff;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 40px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(234,88,12,.45);
  white-space: nowrap;
}
.hero-search button:hover { transform: scale(1.04); box-shadow: 0 6px 22px rgba(234,88,12,.55); }
.hero-stats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-stat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: 14px 20px;
  min-width: 88px;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
  text-align: center;
}
.hero-stat:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.hero-stat .num { font-size: 22px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 5px; display: block; opacity: 1; }
.hero-stat .lbl { font-size: 10.5px; color: rgba(255,255,255,.62); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; opacity: 1; }

/* ── Sidebar widget ── */
.sidebar-widget {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15,23,42,.05), 0 1px 2px rgba(15,23,42,.03);
  padding: 16px;
  margin-bottom: 16px;
  transition: box-shadow .22s;
}
.sidebar-widget:hover { box-shadow: 0 6px 22px rgba(15,23,42,.08); }

/* Sidebar gradient headers — widgets carry inline padding:0; overflow:hidden,
   so the header sits flush to the box edges (no negative margin needed) and the
   parent's rounded corners clip it. */
.sw-hd {
  margin: 0;
  padding: 13px 16px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
}
/* subtle highlight line along the top of every gradient header */
.sw-hd::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: rgba(255,255,255,.25);
  pointer-events: none;
}
.sw-hd a { color: inherit !important; text-decoration: none; }
.sw-hd.blue   { background: linear-gradient(90deg, #1a56db, #2563eb); color: #fff; }
.sw-hd.teal   { background: linear-gradient(90deg, #0f766e, #0d9488); color: #fff; }
.sw-hd.indigo { background: linear-gradient(90deg, #1d4ed8, #3b82f6); color: #fff; }
.sw-hd.dark   { background: linear-gradient(90deg, #1e2a3b, #2d3f54); color: #fff; }
.sw-hd.gray   { background: linear-gradient(90deg, #374151, #4b5563); color: #fff; }

/* Category accordion */
.cat-accordion { padding: 4px 0; }
.cat-accordion .cat-item { border-bottom: 1px solid #f1f5f9; }
.cat-accordion .cat-item:last-child { border-bottom: none; }
.cat-toggle {
  padding: 10px 14px 10px 13px;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  border-left: 3px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.cat-toggle:hover,
.cat-toggle.open {
  background: #f0f7ff;
  color: #1a56db;
  border-left-color: #1a56db;
  font-weight: 600;
}
.cat-toggle .arrow {
  color: #cbd5e1;
  font-size: 9px;
  flex-shrink: 0;
  margin-left: 8px;
  transition: transform .2s, color .15s;
}
.cat-toggle:hover .arrow,
.cat-toggle.open .arrow { color: #1a56db; }
/* Subcategory list — clean vertical list with a guide rail.
   Long lists (some categories have 90+ subs) scroll inside the panel
   instead of stretching the whole sidebar down the page. */
.cat-sub {
  background: #f8fbff;
  padding: 6px 0;
  margin-left: 13px;
  border-left: 2px solid #dbeafe;
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cat-sub::-webkit-scrollbar { width: 7px; }
.cat-sub::-webkit-scrollbar-track { background: transparent; }
.cat-sub::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.cat-sub::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.cat-sub a {
  display: block;
  font-size: 11.5px;
  line-height: 1.4;
  color: #64748b;
  padding: 5px 14px;
  text-decoration: none;
  transition: color .15s, background .15s, padding-left .15s;
}
.cat-sub a::before { content: '–'; color: #cbd5e1; margin-right: 6px; }
.cat-sub a:hover { color: #1a56db; background: #eef5ff; padding-left: 18px; }
.cat-sub a:hover::before { color: #1a56db; }

/* Tool links */
.tool-link { display: block; padding: 8px 14px; font-size: 12.5px; color: #475569; border-bottom: 1px solid #f1f5f9; transition: background .15s, color .15s; text-decoration: none; }
.tool-link::before { content: '›'; font-size: 16px; color: #cbd5e1; margin-right: 6px; transition: color .15s; }
.tool-link:hover { color: #1a56db; background: #f0f7ff; text-decoration: none; }
.tool-link:hover::before { color: #1a56db; }

/* Section headings */
.section-heading {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 3px solid #1a56db;
  line-height: 1.3;
}
.section-heading a { font-size: 11.5px; font-weight: 500; color: #1a56db; border: none; padding: 0; }

/* Bootstrap card */
.card { border: 1px solid #e8edf3 !important; border-radius: 12px !important; box-shadow: 0 2px 8px rgba(15,23,42,.05) !important; }
.card:hover { box-shadow: 0 6px 24px rgba(26,86,219,.08) !important; }

/* Lead list */
.lead-list li { gap: 7px; padding: 6px 4px; border-bottom: 1px solid #f1f5f9; border-radius: 4px; transition: background .12s; }
.lead-list li:hover { background: #f8fbff; }
.lead-list li a { color: #1e293b; font-weight: 500; }
.lead-list li a:hover { color: #1a56db; }
.lead-date { color: #94a3b8; font-size: 10px; }

/* Item grid cards */
.item-grid { gap: 12px; }
.item-card { border: 1px solid #e8edf3; border-radius: 12px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.item-card:hover { box-shadow: 0 8px 24px rgba(26,86,219,.12); transform: translateY(-3px); }
.item-card img { width: 100%; height: 110px !important; object-fit: cover; display: block; transition: transform .3s; }
.item-card:hover img { transform: scale(1.04); }

/* Supplier thumbnail with initials fallback */
.thumb-wrap { position: relative; height: 80px; overflow: hidden; }
.thumb-initials {
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
  user-select: none;
  text-shadow: 0 1px 5px rgba(0,0,0,.2);
  transition: transform .3s;
}
.item-card:hover .thumb-initials { transform: scale(1.04); }
/* Compact square initials avatar for list/profile cards */
.thumb-initials.sq64 { width: 64px; height: 64px; border-radius: 8px; font-size: 24px; flex-shrink: 0; transition: none; }

/* Product thumbnail — neutral image-icon placeholder */
.pthumb { height: 110px; }
.thumb-ph {
  height: 110px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef2f7, #dfe6ef);
  color: #b3c0d0;
}
.thumb-ph svg { width: 40px; height: 40px; }
.item-card .ic-body { padding: 9px 10px 11px; }
.item-card .ic-name { font-size: 11.5px; font-weight: 600; color: #1e293b; }
.item-card .ic-name:hover { color: #1a56db; }
.item-card .ic-price { font-size: 12px; font-weight: 700; color: #dc2626; margin-top: 3px; }

/* Hot news bar */
.hot-news-bar {
  background: linear-gradient(90deg, #fff7ed, #fffbf0, #fff);
  border: 1px solid #fed7aa;
  border-left: 3px solid #f97316;
  border-radius: 9px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  overflow: hidden;
  margin-bottom: 16px;
}
.hot-badge {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(249,115,22,.3);
  flex-shrink: 0;
}
.hot-news-bar a { color: #9a3412; font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* CTA box — right sidebar join/sign-in */
.cta-box {
  background: linear-gradient(135deg, #0f1c33 0%, #1a1f3c 40%, #1a56db 100%);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(99,102,241,.25);
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 180px; height: 180px;
  background: rgba(96,165,250,.12);
  border-radius: 50%;
  pointer-events: none;
}
.cta-box p { color: rgba(255,255,255,.8); font-size: 13px; margin: 0 0 16px; line-height: 1.5; position: relative; }
.cta-join {
  display: block;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff !important;
  border-radius: 9px;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 9px;
  box-shadow: 0 4px 14px rgba(234,88,12,.4);
  transition: transform .15s, box-shadow .15s;
  position: relative;
}
.cta-join:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(234,88,12,.5); color: #fff !important; }
.cta-signin {
  display: block;
  background: rgba(255,255,255,.1);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 9px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
  position: relative;
}
.cta-signin:hover { background: rgba(255,255,255,.18); color: #fff !important; }

/* Contact Us */
.contact-btn {
  display: block;
  border: 1.5px solid #1a56db;
  color: #1a56db;
  border-radius: 9px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background .15s, color .15s, box-shadow .15s;
}
.contact-btn:hover { background: #1a56db; color: #fff !important; box-shadow: 0 4px 14px rgba(26,86,219,.25); }

/* Popular products */
.pop-product { padding: 7px 14px; border-bottom: 1px solid #f1f5f9; font-size: 12px; transition: background .15s; }
.pop-product:last-child { border-bottom: none; }
.pop-product:hover { background: #f0f7ff; }
.pop-product a { color: #374151; text-decoration: none; font-weight: 500; }
.pop-product:hover a { color: #1a56db; }
.pop-product a::before { content: '›'; color: #94a3b8; margin-right: 5px; font-size: 15px; }

/* Trade news */
.news-row { padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
.news-row:last-child { border-bottom: none; }
.news-row:hover { background: #f8fbff; border-radius: 4px; padding-left: 4px; }
.news-row a { font-size: 13px; font-weight: 600; color: #1e293b; text-decoration: none; display: block; }
.news-row:hover a { color: #1a56db; }
.news-row-date { font-size: 10.5px; color: #94a3b8; display: block; margin-top: 2px; }

/* Newsletter */
.newsletter-row { display: flex; gap: 8px; margin-top: 14px; }
.newsletter-row .form-control { border-radius: 9px !important; border: 1px solid #e2e8f0 !important; font-size: 12px !important; }
.newsletter-row .form-control:focus { border-color: #1a56db !important; box-shadow: 0 0 0 3px rgba(26,86,219,.1) !important; }
.newsletter-row .btn-sub {
  background: linear-gradient(135deg, #1a56db, #1245b5);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(26,86,219,.3);
  transition: transform .15s;
}
.newsletter-row .btn-sub:hover { transform: scale(1.03); }

/* Login widget */
.login-widget .form-label { font-size: 11.5px; font-weight: 600; color: #475569; }
.login-widget .form-control { border-radius: 8px !important; border: 1px solid #e2e8f0 !important; font-size: 12px !important; color: #334155 !important; }
.login-widget .form-control:focus { border-color: #1a56db !important; box-shadow: 0 0 0 3px rgba(26,86,219,.1) !important; }
.login-widget .btn-primary {
  background: linear-gradient(135deg, #1a56db, #1245b5) !important;
  border: none !important;
  border-radius: 9px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: 0 4px 12px rgba(26,86,219,.28) !important;
  transition: transform .15s, box-shadow .15s !important;
}
.login-widget .btn-primary:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 18px rgba(26,86,219,.38) !important; }

/* Trade shows */
.ts-row { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid #f1f5f9; transition: background .15s; }
.ts-row:last-child { border-bottom: none; }
.ts-row:hover { background: #f0f7ff; }
.ts-row a { font-size: 12px; font-weight: 600; color: #1e293b; text-decoration: none; display: block; }
.ts-row:hover a { color: #1a56db; }
.ts-row-date { font-size: 10.5px; color: #94a3b8; margin-top: 2px; display: block; }

/* Top/right banner */
.home-banner { border-radius: 12px; overflow: hidden; margin-bottom: 18px; box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.home-banner img { display: block; width: 100%; }

/* Gold badge */
.gpill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(245,158,11,.3);
  margin-top: 3px;
}

/* Success story */
.story-img { width: 100%; border-radius: 9px; margin-bottom: 10px; }
.story-title { font-size: 13px; font-weight: 600; color: #1e293b; text-decoration: none; display: block; line-height: 1.45; }
.story-title:hover { color: #1a56db; }
.story-author { font-size: 12px; color: #64748b; margin: 5px 0; }
.story-more { font-size: 12px; color: #1a56db; text-decoration: none; }

/* Footer top border */
.site-footer { border-top: 3px solid rgba(26,86,219,.35) !important; }
