/* VeloStock — wit + oranje #E8782E
   Gebaseerd op Bull-dog layout, eigen huisstijl */

:root {
  --orange: #E8782E;
  --orange-dark: #C45F1B;
  --orange-light: #FCE4D2;
  --text: #2C2C2C;
  --muted: #6B6B6B;
  --light-bg: #F8F8F8;
  --border: #E5E5E5;
  --success: #27AE60;
  --warning: #F39C12;
  --danger: #E74C3C;
  --footer-bg: #1F1F1F;
  --shadow: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-hover: 0 4px 16px rgba(232, 120, 46, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

img { max-width: 100%; display: block; }

/* ======= TOP NAV ======= */
.topbar {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  font-size: 13px;
  color: var(--muted);
}
.topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar a { color: var(--muted); }
.topbar a:hover { color: var(--orange); }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.logo:hover { opacity: 0.85; }
.logo-text {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -1.2px;
  color: var(--text);
  line-height: 1;
}
.logo-text span {
  color: var(--orange);
}
/* Legacy — verborgen op klant-nav, blijft beschikbaar voor admin sidebar */
.nav .logo-mark { display: none; }

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 22px 16px;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s;
}
.nav-link:hover { color: var(--orange); }
.nav-link.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
  font-weight: 600;
}

.price-toggle {
  position: relative;
  background: #fff;
  border: 2px solid var(--orange-light);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--orange-dark);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-toggle:hover { border-color: var(--orange); }
.price-toggle::after {
  content: '▾';
  font-size: 10px;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text);
  font-size: 11px;
  cursor: pointer;
  position: relative;
}
.nav-icon svg { width: 22px; height: 22px; }
.nav-icon:hover { color: var(--orange); }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.lang-switch {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* ======= BREADCRUMB ======= */
.breadcrumb {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* ======= CONTAINER ======= */
.container { max-width: 1320px; margin: 0 auto; padding: 32px 24px; }

/* ======= HERO ======= */
.hero {
  background: linear-gradient(135deg, #fff 0%, var(--orange-light) 100%);
  padding: 64px 24px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-img {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-img img {
  border-radius: 8px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* ======= USP STRIP ======= */
.usp-strip {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 24px;
}
.usp-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.usp {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.usp-icon {
  width: 40px;
  height: 40px;
  background: var(--orange-light);
  color: var(--orange-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.usp-text strong { display: block; font-weight: 600; }
.usp-text span { color: var(--muted); font-size: 13px; }

/* ======= BUTTONS ======= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn-outline {
  background: #fff;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-danger {
  background: #fff;
  color: var(--danger);
  border-color: var(--danger);
}
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ======= SECTIONS ======= */
.section {
  padding: 56px 24px;
}
.section-alt {
  background: var(--light-bg);
}
.section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.section .subtitle {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}
.section-inner {
  max-width: 1320px;
  margin: 0 auto;
}

/* ======= CATEGORY CARDS ======= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cat-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.cat-card-emoji {
  font-size: 36px;
  margin-bottom: 8px;
}
.cat-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.cat-card-meta {
  font-size: 13px;
  color: var(--muted);
}
.cat-card-cta {
  margin-top: auto;
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Larger feature cards (home) */
.cat-card-lg {
  padding: 32px 24px;
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
}
.cat-card-lg.featured {
  background: linear-gradient(135deg, var(--orange-light) 0%, #fff 100%);
  border-color: var(--orange-light);
}

/* ===== CLEAN CATEGORY CARDS (typografisch, geen iconen) ===== */
.cat-card-clean {
  position: relative;
  padding: 32px 24px 24px !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-height: 160px;
  justify-content: space-between;
  overflow: hidden;
}
.cat-card-clean::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s ease;
}
.cat-card-clean:hover::before { transform: scaleY(1); }
.cat-card-clean.featured::before { transform: scaleY(1); }
.cat-card-clean h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0 0 6px 0;
  color: var(--text);
  line-height: 1.2;
}
.cat-card-clean .cat-card-parent {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  margin-bottom: 20px;
}
.cat-card-clean .cat-card-count-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  line-height: 1.4;
}
.cat-card-clean.featured .cat-card-count-badge {
  background: var(--orange);
  color: #fff;
}
.cat-card-clean .cat-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  align-self: flex-start;
}

/* ======= WEBSHOP LAYOUT (with sidebar) ======= */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px;
}
.sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 84px;
}
.sidebar h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 700;
}
.search-box {
  position: relative;
  margin-bottom: 14px;
}
.search-box input {
  width: 100%;
  padding: 11px 36px 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}
.search-box input:focus {
  outline: none;
  border-color: var(--orange);
}
.search-box .clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--danger);
  cursor: pointer;
  font-size: 16px;
}
.search-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.4;
}
.select-group {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  margin-bottom: 14px;
  font-family: inherit;
  color: var(--text);
}
.category-tree {
  list-style: none;
  margin-top: 8px;
}
.category-tree li {
  border-bottom: 1px solid var(--border);
}
.category-tree li:last-child { border-bottom: none; }
.category-tree a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.category-tree a:hover { color: var(--orange); }
.category-tree a.active { color: var(--orange); font-weight: 600; }
.category-tree .arrow { color: var(--muted); font-size: 12px; }

/* Main content area for webshop */
.shop-main {
  min-width: 0;
}
.shop-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.shop-quick-grid .cat-card-lg { padding: 28px 20px; }

/* ======= PRODUCT GRID ======= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.product-img {
  background: var(--light-bg);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--orange);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-badge.outlet { background: var(--danger); }
.product-badge.new { background: var(--success); }
.product-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-sku {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.product-name {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--text);
  min-height: 38px;
}
.product-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.product-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin-bottom: 10px;
}
.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}
.stock-dot.warning { background: var(--warning); }
.stock-dot.danger { background: var(--danger); }
.stock-ok { color: var(--success); font-weight: 600; }
.stock-low { color: var(--warning); font-weight: 600; }
.stock-none { color: var(--danger); font-weight: 600; }

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.product-price-old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-right: 6px;
}
.product-price-unit {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.btn-icon:hover { background: var(--orange-dark); transform: scale(1.08); }

/* Login-required overlay */
.price-locked {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}
.price-locked::before {
  content: '🔒';
  font-style: normal;
}

/* Filter bar (categorie pagina) */
.filter-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.filter-bar .count { color: var(--muted); font-size: 14px; }
.filter-bar .filter-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-bar select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  font-family: inherit;
}

/* ======= PRODUCT DETAIL ======= */
.product-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.detail-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
}
.detail-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-thumb {
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
}
.detail-thumb.active { border-color: var(--orange); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-main-img {
  background: var(--light-bg);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.detail-main-img img { width: 100%; height: 100%; object-fit: cover; }

.detail-info h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}
.detail-meta {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.detail-price-block {
  margin: 24px 0;
  padding: 20px;
  background: var(--light-bg);
  border-radius: 12px;
}
.detail-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.detail-price-info {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.detail-discount {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}
.qty-spinner {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.qty-spinner button {
  width: 40px;
  height: 44px;
  background: #fff;
  border: none;
  font-size: 20px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.qty-spinner button:hover { background: var(--orange-light); color: var(--orange-dark); }
.qty-spinner input {
  width: 60px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
}
.qty-spinner input:focus { outline: none; }

.detail-tabs {
  margin-top: 32px;
  border-top: 1px solid var(--border);
}
.tab-headers {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.tab-header {
  padding: 14px 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.tab-header.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.tab-content {
  padding: 24px 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}
.tab-content table {
  width: 100%;
  border-collapse: collapse;
}
.tab-content td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.tab-content td:first-child { color: var(--muted); width: 200px; }
.tab-content td:last-child { font-weight: 600; }

/* ======= LOGIN/REGISTER ======= */
.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 48px auto;
  padding: 0 24px;
}
.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.auth-card h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}
.auth-card .subtitle {
  color: var(--muted);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-input,
.form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-light);
}
.form-input.with-icon { padding-left: 40px; }
.form-help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.form-info-box {
  background: var(--orange-light);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--orange-dark);
  margin-bottom: 20px;
  line-height: 1.5;
}
.form-info-box strong { display: block; margin-bottom: 4px; color: var(--orange-dark); }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  font-size: 13px;
  color: var(--muted);
}
.checkbox-row input { margin-top: 2px; }

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.auth-footer a { font-weight: 600; }

/* ======= ACCOUNT PAGINA ======= */
.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px;
}
.account-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  height: fit-content;
  position: sticky;
  top: 84px;
}
.account-user {
  padding: 18px 14px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.account-user .avatar {
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.account-user .name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.account-user .company {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.account-tabs {
  list-style: none;
}
.account-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  border-left: 3px solid transparent;
  text-decoration: none;
}
.account-tab:hover {
  background: var(--light-bg);
  color: var(--orange);
}
.account-tab.active {
  background: var(--orange-light);
  color: var(--orange-dark);
  border-left-color: var(--orange);
  font-weight: 600;
}
.account-tab .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.account-main {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  min-width: 0;
}
.account-main h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}
.account-main .lead {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.account-section {
  margin-bottom: 32px;
}
.account-section h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--light-bg);
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:hover { background: #FAFAFA; }
.data-table .sku-cell {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-dark);
}
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.data-table img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.data-table .product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.data-table .product-cell .name {
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}
.data-table .product-cell .sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.status-badge.processing { background: #FFF3E0; color: var(--orange-dark); }
.status-badge.shipped    { background: #E3F2FD; color: #1976D2; }
.status-badge.delivered  { background: #E8F5E9; color: var(--success); }
.status-badge.backorder  { background: #FFEBEE; color: var(--danger); }
.empty-state-sm {
  text-align: center;
  padding: 40px 20px;
  background: var(--light-bg);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}
.empty-state-sm .icon { font-size: 36px; margin-bottom: 10px; }

.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  margin-bottom: 6px;
}
.password-strength span {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}
.password-strength span.weak { background: var(--danger); }
.password-strength span.med  { background: var(--warning); }
.password-strength span.strong { background: var(--success); }

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.toolbar .search-mini {
  position: relative;
  flex: 1;
  max-width: 320px;
}
.toolbar .search-mini input {
  width: 100%;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
}

/* ======= ADMIN ZONE ======= */
.admin-body {
  background: #F4F5F7;
  min-height: 100vh;
  display: flex;
}
.admin-sidebar {
  width: 240px;
  background: #1F2937;
  color: #fff;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.admin-brand {
  padding: 24px 22px 20px;
  border-bottom: 1px solid #374151;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-brand .logo-mark {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}
.admin-brand .name {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.admin-brand .sub {
  font-size: 11px;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}
.admin-nav {
  flex: 1;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-nav-section {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #6B7280;
  padding: 14px 12px 8px;
  font-weight: 700;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #D1D5DB;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
}
.admin-nav a:hover {
  background: #374151;
  color: #fff;
}
.admin-nav a.active {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
}
.admin-nav a .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2;
}
.admin-nav .badge {
  margin-left: auto;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}
.admin-nav a.active .badge {
  background: #fff;
  color: var(--orange);
}
.admin-user {
  padding: 14px 22px;
  border-top: 1px solid #374151;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.admin-user .avatar {
  width: 32px;
  height: 32px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}
.admin-user .meta { line-height: 1.3; min-width: 0; flex: 1; }
.admin-user .meta .n { font-weight: 600; color: #fff; }
.admin-user .meta .r { font-size: 11px; color: #9CA3AF; }

.admin-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-topbar h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.admin-topbar .crumb { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.admin-topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.admin-main {
  padding: 28px;
  flex: 1;
}

/* KPI cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.kpi-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.kpi-card .icon-corner {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  background: var(--orange-light);
  color: var(--orange-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.kpi-card .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.kpi-card .value {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.kpi-card .delta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.kpi-card .delta strong { color: var(--success); }
.kpi-card .delta strong.warn { color: var(--warning); }
.kpi-card .delta strong.bad { color: var(--danger); }
.kpi-card.warn .icon-corner { background: #FEF3C7; color: #B45309; }
.kpi-card.bad .icon-corner { background: #FEE2E2; color: #B91C1C; }

/* Card-wrappers */
.admin-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 0;
  margin-bottom: 24px;
  overflow: hidden;
}
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #E5E7EB;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-card-header h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.admin-card-body {
  padding: 22px;
}
.admin-card-body.no-pad { padding: 0; }

/* Filter rij */
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: #FAFBFC;
  border-bottom: 1px solid #E5E7EB;
  align-items: center;
}
.filter-row .grow { flex: 1; min-width: 220px; }
.filter-row input,
.filter-row select {
  padding: 9px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
}
.filter-row input { width: 100%; }
.filter-row input:focus,
.filter-row select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-light); }

/* Admin tabel */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  text-align: left;
  padding: 10px 14px;
  background: #F9FAFB;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #E5E7EB;
  white-space: nowrap;
}
.admin-table th.sortable { cursor: pointer; user-select: none; }
.admin-table th.sortable:hover { color: var(--orange-dark); }
.admin-table th .sort-ind { color: var(--orange); margin-left: 4px; }
.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #F3F4F6;
  vertical-align: middle;
}
.admin-table tbody tr:hover { background: #FAFBFC; }
.admin-table .sku {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-dark);
}
.admin-table .name { font-weight: 500; line-height: 1.3; max-width: 360px; }
.admin-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.admin-table .meta { font-size: 11px; color: var(--muted); }
.admin-table img { width: 38px; height: 38px; object-fit: cover; border-radius: 6px; border: 1px solid #E5E7EB; }

.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}
.stock-pill.ok { background: #D1FAE5; color: #065F46; }
.stock-pill.low { background: #FEF3C7; color: #92400E; }
.stock-pill.none { background: #FEE2E2; color: #991B1B; }

.row-actions { display: flex; gap: 4px; justify-content: flex-end; }
.icon-btn {
  width: 30px;
  height: 30px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  font-size: 14px;
}
.icon-btn:hover { background: #F3F4F6; color: var(--text); border-color: #E5E7EB; }
.icon-btn.danger:hover { background: #FEE2E2; color: #DC2626; border-color: #FECACA; }
.icon-btn.primary:hover { background: var(--orange-light); color: var(--orange-dark); border-color: var(--orange); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  border-top: 1px solid #E5E7EB;
  background: #FAFBFC;
  font-size: 13px;
  color: var(--muted);
}
.pagination .pages { display: flex; gap: 4px; }
.pagination button {
  min-width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  font-family: inherit;
  padding: 0 10px;
}
.pagination button:hover { background: #F3F4F6; }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination button.active { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 600; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn 0.15s ease-out;
}
.modal-backdrop.open { display: flex; }
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }
.modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.modal-header {
  padding: 22px 26px 16px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-close {
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.modal-close:hover { background: #F3F4F6; color: var(--text); }
.modal-body { padding: 22px 26px; }
.modal-footer {
  padding: 16px 26px 22px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #FAFBFC;
}

/* Inline message */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text);
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 200;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: var(--success); }
.toast.danger { background: var(--danger); }

@media (max-width: 1024px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { width: 64px; }
  .admin-sidebar .name, .admin-sidebar .sub, .admin-nav a span:not(.badge),
  .admin-nav-section, .admin-user .meta { display: none; }
  .admin-nav a { justify-content: center; padding: 12px; }
  .admin-brand { justify-content: center; padding: 18px 8px; }
  .admin-user { justify-content: center; padding: 14px 8px; }
}
@media (max-width: 640px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .admin-main { padding: 16px; }
  .filter-row .grow { min-width: 100%; }
  .admin-topbar { padding: 12px 16px; }
}

/* ======= FOOTER ======= */
.footer {
  background: var(--footer-bg);
  color: #B8B8B8;
  padding: 56px 24px 24px;
  margin-top: 64px;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.footer ul {
  list-style: none;
}
.footer li {
  margin-bottom: 8px;
  font-size: 14px;
}
.footer a {
  color: #B8B8B8;
  text-decoration: none;
  transition: color 0.15s;
}
.footer a:hover { color: var(--orange); }
.footer-hours {
  font-size: 13px;
  line-height: 1.8;
}
.footer-hours .day {
  display: inline-block;
  width: 100px;
  color: #888;
}
.footer-bottom {
  max-width: 1320px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 13px;
  color: #888;
}
.footer-bottom span { color: var(--orange); }

/* ======= UTILITIES ======= */
.demo-badge {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.demo-badge::before {
  content: '🎨 ';
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 36px; }
  .shop-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .sidebar, .account-sidebar { position: static; }
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .auth-wrapper { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .usp-inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .shop-quick-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .nav-inner { height: auto; padding: 12px 16px; gap: 12px; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 0; }
  .nav-link { padding: 12px; font-size: 14px; white-space: nowrap; }
  .price-toggle { display: none; }
  .hero { padding: 40px 16px; }
  .hero h1 { font-size: 28px; }
  .section { padding: 40px 16px; }
  .section h2 { font-size: 24px; }
  .shop-layout { padding: 16px; gap: 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-name { font-size: 13px; min-height: 32px; }
  .product-price { font-size: 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .usp-inner { grid-template-columns: 1fr; }
  .auth-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .shop-quick-grid { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-thumbs { flex-direction: row; }
  .detail-thumb { width: 60px; }
}
