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

:root {
  --brand-dark:    #0f1923;
  --brand-mid:     #1a2a3a;
  --brand-accent:  #f97316;
  --brand-accent2: #fbbf24;
  --text-primary:  #1e293b;
  --text-muted:    #64748b;
  --border:        #e2e8f0;
  --bg-page:       #f1f5f9;
  --bg-card:       #ffffff;
  --radius:        8px;
  --shadow:        0 1px 4px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── TOPBAR ── */
.topbar {
  background: var(--brand-dark);
  color: #94a3b8;
  font-size: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 6px 40px;
}
.topbar a { color: #94a3b8; }
.topbar a:hover { color: #fff; }

/* ── HEADER ── */
header {
  background: var(--brand-mid);
  padding: 0 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo-icon {
  width: 36px; height: 36px;
  background: var(--brand-accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; fill: #fff; }
.logo-text { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.logo-text span { color: var(--brand-accent); }

.search-wrap {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.search-wrap:focus-within { border-color: var(--brand-accent); }
.search-cat {
  background: #e2e8f0; border: none; padding: 0 12px;
  font-size: 13px; cursor: pointer; color: var(--text-primary);
  border-right: 1px solid #cbd5e1;
}
.search-cat:focus { outline: none; }
.search-input {
  flex: 1; border: none; padding: 0 16px;
  font-size: 15px; background: #fff; color: var(--text-primary); min-width: 0;
}
.search-input:focus { outline: none; }
.search-input::placeholder { color: #94a3b8; }
.search-btn {
  background: var(--brand-accent); border: none; padding: 0 18px;
  cursor: pointer; display: flex; align-items: center; transition: background .2s;
}
.search-btn:hover { background: #ea6c10; }
.search-btn svg { width: 20px; height: 20px; fill: #fff; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-btn {
  color: #cbd5e1; display: flex; flex-direction: column; align-items: center;
  gap: 2px; font-size: 11px; cursor: pointer; padding: 6px; border-radius: 4px;
  transition: color .2s, background .2s;
}
.header-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.header-btn svg { width: 24px; height: 24px; fill: currentColor; }
.header-btn .label { font-size: 11px; }

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px;
  background: rgba(249,115,22,.15); border: 1px solid var(--brand-accent);
  border-radius: 6px; padding: 8px 16px; color: var(--brand-accent);
  font-weight: 700; cursor: pointer; transition: background .2s;
}
.cart-btn:hover { background: rgba(249,115,22,.25); }
.cart-btn svg { width: 20px; height: 20px; fill: currentColor; }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--brand-accent); color: #fff;
  font-size: 10px; font-weight: 800; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* ── NAV ── */
nav {
  background: #162130;
  display: flex; align-items: center;
  padding: 0 40px; gap: 4px;
  overflow-x: auto; scrollbar-width: none;
}
nav::-webkit-scrollbar { display: none; }
.nav-all {
  display: flex; align-items: center; gap: 8px;
  padding: 0 16px; height: 44px; white-space: nowrap;
  color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
  border-right: 1px solid #1e3048;
}
.nav-all svg { width: 18px; height: 18px; stroke: currentColor; }
.nav-link {
  padding: 0 14px; height: 44px;
  display: flex; align-items: center;
  white-space: nowrap; font-size: 14px; color: #94a3b8;
  cursor: pointer; transition: color .2s; border-radius: 0;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.highlight { color: var(--brand-accent2); }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 12px 40px;
  font-size: 13px; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-accent); }
.breadcrumb span { color: var(--text-primary); font-weight: 500; }
.breadcrumb-sep { color: #cbd5e1; }

/* ── MAIN ── */
main { padding: 28px 40px; max-width: 1600px; margin: 0 auto; }

/* ── HERO ── */
.hero {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--brand-mid) 60%, #1e3a5f);
  border-radius: var(--radius); padding: 56px 56px;
  margin-bottom: 32px; overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(249,115,22,.2); border: 1px solid rgba(249,115,22,.4);
  color: var(--brand-accent); font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
.hero h1 { color: #fff; font-size: 36px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.hero h1 span { color: var(--brand-accent); }
.hero p { color: #94a3b8; font-size: 16px; margin-bottom: 28px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--brand-accent); color: #fff; border: none;
  padding: 12px 28px; border-radius: 6px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: #ea6c10; }
.btn-secondary {
  background: transparent; color: #cbd5e1;
  border: 1px solid #2d4a6a; padding: 12px 28px;
  border-radius: 6px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: #fff; color: #fff; }
.hero-visual {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual-inner {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 32px; text-align: center;
}
.hero-stat { color: #fff; font-size: 42px; font-weight: 800; line-height: 1; }
.hero-stat-label { color: #64748b; font-size: 13px; margin-top: 4px; }
.hero-stats { display: flex; gap: 32px; margin-top: 24px; justify-content: center; }
.hero-stat-sm { text-align: center; }
.hero-stat-sm strong { display: block; color: var(--brand-accent); font-size: 24px; font-weight: 800; }
.hero-stat-sm span { color: #64748b; font-size: 12px; }

/* ── PROMO BAND ── */
.promo-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 32px;
}
.promo-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.promo-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.promo-icon svg { width: 22px; height: 22px; }
.promo-title { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.promo-sub { font-size: 12px; color: var(--text-muted); }

/* ── SECTION HEADER ── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.section-title { font-size: 20px; font-weight: 800; color: var(--text-primary); }
.section-title span { color: var(--brand-accent); }
.view-all {
  font-size: 13px; font-weight: 600; color: var(--brand-accent);
  display: flex; align-items: center; gap: 4px; cursor: pointer;
}
.view-all:hover { color: #ea6c10; }

/* ── CATEGORY GRID ── */
.category-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px; margin-bottom: 40px;
}
.cat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 16px;
  text-align: center; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cat-card:hover {
  border-color: var(--brand-accent);
  box-shadow: 0 4px 20px rgba(249,115,22,.12);
  transform: translateY(-2px);
}
.cat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-page);
}
.cat-icon svg { width: 26px; height: 26px; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.cat-count { font-size: 12px; color: var(--text-muted); }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; position: relative;
  transition: box-shadow .2s, transform .15s;
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.product-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px;
}
.badge-sale { background: #ef4444; color: #fff; }
.badge-new  { background: #22c55e; color: #fff; }
.badge-low  { background: #f59e0b; color: #fff; }

.product-img {
  aspect-ratio: 1; background: #f8fafc;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-bottom: 1px solid var(--border);
}
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.product-img-ph {
  font-size: 48px; color: #cbd5e1; user-select: none;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}

.product-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-brand { font-size: 11px; font-weight: 600; color: var(--brand-accent); text-transform: uppercase; letter-spacing: .5px; }
.product-name { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.4; }
.product-artnr { font-size: 11px; color: var(--text-muted); font-family: monospace; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.price-main { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.product-meta { font-size: 12px; color: #22c55e; }
.product-meta.out { color: #ef4444; }

.add-to-cart {
  margin-top: auto; padding: 10px 14px; border: none; border-radius: 6px;
  background: var(--brand-accent); color: #fff; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.add-to-cart:hover { background: #ea6c10; }
.add-to-cart svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* ── TRUST BAR ── */
.trust-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; padding: 20px 40px;
  background: var(--bg-card); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); margin-bottom: 32px;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item svg { width: 22px; height: 22px; fill: var(--brand-accent); flex-shrink: 0; }
.trust-text strong { display: block; font-size: 13px; font-weight: 700; }
.trust-text span { font-size: 12px; color: var(--text-muted); }

/* ── SIDEBAR LAYOUT ── */
.sidebar-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }

/* ── FILTER PANEL ── */
.filter-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; position: sticky; top: 88px;
}
.filter-header {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.filter-header h3 { font-size: 15px; font-weight: 700; }
.filter-reset { font-size: 12px; color: var(--brand-accent); cursor: pointer; }
.filter-reset:hover { text-decoration: underline; }
.filter-section { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.filter-section:last-child { border-bottom: none; }
.filter-section-title { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.filter-option {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 7px; cursor: pointer; font-size: 13px; color: var(--text-primary);
}
.filter-option input[type=checkbox] { accent-color: var(--brand-accent); }
.filter-count { font-size: 11px; color: var(--text-muted); background: var(--bg-page); padding: 1px 6px; border-radius: 10px; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-input {
  flex: 1; border: 1px solid var(--border); border-radius: 4px;
  padding: 6px 10px; font-size: 13px; color: var(--text-primary); background: #fff;
}
.price-input:focus { outline: none; border-color: var(--brand-accent); }
.apply-filter {
  width: calc(100% - 40px); margin: 16px 20px; padding: 10px;
  background: var(--brand-accent); color: #fff; border: none; border-radius: 6px;
  font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s;
}
.apply-filter:hover { background: #ea6c10; }

/* ── SORT BAR ── */
.sort-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px;
}
.sort-bar-left { font-size: 14px; color: var(--text-muted); }
.sort-bar-right { display: flex; align-items: center; gap: 12px; }
.sort-bar select {
  border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 12px; font-size: 13px; cursor: pointer;
  color: var(--text-primary); background: #fff;
}
.sort-bar select:focus { outline: none; border-color: var(--brand-accent); }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 32px; height: 32px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted);
  border: 1px solid var(--border); background: #fff;
}
.view-btn.active, .view-btn:hover { color: var(--brand-accent); border-color: var(--brand-accent); }
.view-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ── PAGINATION ── */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 32px 0 16px;
}
.page-btn {
  min-width: 36px; height: 36px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; font-weight: 600;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-primary); transition: all .15s; padding: 0 10px;
}
.page-btn:hover { border-color: var(--brand-accent); color: var(--brand-accent); }
.page-btn.active { background: var(--brand-accent); border-color: var(--brand-accent); color: #fff; }
.page-btn.disabled { opacity: .4; cursor: default; pointer-events: none; }

/* ── PRODUCT DETAIL ── */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.detail-img-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.detail-img-wrap img { max-width: 80%; max-height: 80%; object-fit: contain; }
.detail-info {}
.detail-brand { font-size: 13px; font-weight: 600; color: var(--brand-accent); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.detail-title { font-size: 24px; font-weight: 800; color: var(--text-primary); line-height: 1.3; margin-bottom: 8px; }
.detail-artnr { font-size: 13px; color: var(--text-muted); font-family: monospace; margin-bottom: 20px; }
.detail-price { font-size: 36px; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }
.detail-stock { font-size: 14px; margin-bottom: 24px; }
.detail-stock.in { color: #22c55e; }
.detail-stock.out { color: #ef4444; }
.detail-qty { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.qty-input {
  display: flex; align-items: center;
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
}
.qty-btn {
  width: 36px; height: 44px; border: none; background: var(--bg-page);
  font-size: 18px; cursor: pointer; transition: background .2s;
}
.qty-btn:hover { background: var(--border); }
.qty-val {
  width: 60px; height: 44px; border: none; border-left: 1px solid var(--border);
  border-right: 1px solid var(--border); text-align: center; font-size: 16px;
  font-weight: 700; background: #fff;
}
.qty-val:focus { outline: none; }
.detail-actions { display: flex; gap: 12px; margin-bottom: 28px; }
.btn-cart {
  flex: 1; padding: 14px 24px; background: var(--brand-accent); color: #fff;
  border: none; border-radius: 6px; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-cart:hover { background: #ea6c10; }
.btn-wish {
  padding: 14px 18px; background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 6px; font-size: 16px;
  cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 8px;
}
.btn-wish:hover { border-color: #ef4444; color: #ef4444; }
.detail-meta-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.detail-meta-table td { padding: 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.detail-meta-table td:first-child { color: var(--text-muted); width: 140px; }
.detail-meta-table td:last-child { font-weight: 600; }
.detail-desc { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 32px; }
.detail-desc h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.detail-desc p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ── CART ── */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-items { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 16px; padding: 20px; border-bottom: 1px solid var(--border); align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 80px; height: 80px; object-fit: contain; border-radius: 4px; background: var(--bg-page); }
.cart-item-info {}
.cart-item-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cart-item-artnr { font-size: 12px; color: var(--text-muted); font-family: monospace; }
.cart-item-price { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.cart-item-actions { text-align: right; }
.cart-item-total { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.cart-remove { font-size: 12px; color: #ef4444; cursor: pointer; background: none; border: none; }
.cart-remove:hover { text-decoration: underline; }
.cart-empty { padding: 48px; text-align: center; color: var(--text-muted); }
.cart-empty svg { width: 64px; height: 64px; fill: var(--border); margin: 0 auto 16px; }

.order-summary {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; position: sticky; top: 88px;
}
.order-summary h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.summary-row.total { font-size: 18px; font-weight: 800; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }
.inquiry-form { margin-top: 24px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 14px; color: var(--text-primary); background: #fff;
}
.form-input:focus { outline: none; border-color: var(--brand-accent); }
textarea.form-input { resize: vertical; min-height: 80px; }

/* ── NEWSLETTER ── */
.newsletter {
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
  background: linear-gradient(135deg, var(--brand-mid), #1e3a5f);
  border-radius: var(--radius); padding: 32px 40px; margin: 32px 0;
}
.newsletter h2 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.newsletter p { color: #64748b; font-size: 14px; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-input {
  border: 1px solid #2d4a6a; border-radius: 6px; padding: 10px 16px;
  font-size: 14px; background: rgba(255,255,255,.07); color: #fff; width: 260px;
}
.newsletter-input::placeholder { color: #475569; }
.newsletter-input:focus { outline: none; border-color: var(--brand-accent); }

/* ── FOOTER ── */
footer { background: var(--brand-dark); color: #94a3b8; padding: 48px 40px 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #1e293b;
}
.footer-brand .logo-text { font-size: 18px; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: #475569; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px; background: #1e293b; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s;
}
.social-btn:hover { background: var(--brand-accent); }
.social-btn svg { width: 16px; height: 16px; fill: #94a3b8; }
.social-btn:hover svg { fill: #fff; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.footer-link {
  display: block; font-size: 13px; color: #475569;
  margin-bottom: 8px; cursor: pointer; transition: color .2s;
}
.footer-link:hover { color: var(--brand-accent); }
.footer-bottom {
  padding: 20px 0; display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: #334155;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #334155; cursor: pointer; }
.footer-bottom-links a:hover { color: #94a3b8; }

/* ── ALERTS ── */
.alert { padding: 12px 16px; border-radius: 6px; font-size: 14px; margin-bottom: 16px; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .sidebar-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 900px) {
  header { padding: 0 16px; gap: 12px; height: 64px; }
  nav { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; padding: 40px 24px; }
  .hero-visual { display: none; }
  main { padding: 20px 16px; }
  .promo-band { grid-template-columns: 1fr 1fr; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .filter-panel { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { width: 100%; }
  .topbar { padding: 6px 16px; }
  .trust-bar { gap: 16px; padding: 12px 16px; flex-wrap: wrap; }
  .detail-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .breadcrumb { padding: 12px 16px; }
}
@media (max-width: 600px) {
  .promo-band { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
