/* ── VK Shop — Custom styles ───────────────────────────── */

:root {
  --card-radius: 12px;
  --img-height: 220px;
}

body {
  background-color: #f5f6fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ── Product cards ─────────────────────────────────────── */

.product-card {
  border-radius: var(--card-radius) !important;
  transition: box-shadow .18s, transform .18s;
  overflow: hidden;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
  transform: translateY(-2px);
}

.product-img-wrap {
  display: block;
  overflow: hidden;
  height: var(--img-height);
  background: #eee;
}

.product-img {
  width: 100%;
  height: var(--img-height);
  object-fit: cover;
  transition: transform .3s;
}

.product-card:hover .product-img {
  transform: scale(1.04);
}

.card-title-link {
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.type-badge {
  font-size: .68rem;
  padding: 2px 7px;
  border-radius: 6px;
}

/* ── Product detail ─────────────────────────────────────── */

.product-detail-img {
  height: 380px;
  object-fit: contain;
  background: #f8f9fa;
}

.thumb-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s;
}

.thumb-img:hover {
  border-color: #0d6efd;
}

/* ── Buttons & icons ────────────────────────────────────── */

.btn-icon {
  border: none;
  background: transparent;
  padding: 2px 6px;
  line-height: 1;
}

.btn-icon:hover { background: rgba(0,0,0,.06); border-radius: 6px; }

/* ── Nav ────────────────────────────────────────────────── */

.navbar-brand { font-size: 1.2rem; letter-spacing: -.3px; }

/* ── Cards shared ──────────────────────────────────────── */

.card { border-radius: var(--card-radius) !important; }

/* ── Carousel indicators tweak ─────────────────────────── */

.carousel-indicators [data-bs-slide-to] {
  width: 8px; height: 8px;
  border-radius: 50%;
}

/* ── Badges ─────────────────────────────────────────────── */

.badge { font-weight: 500; }

/* ── Empty state icon ───────────────────────────────────── */

.bi { vertical-align: -.1em; }

/* ── Hoverable card (shipments list) ───────────────────── */

.card-hover {
  transition: box-shadow .18s, transform .18s;
  cursor: pointer;
}
.card-hover:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1) !important;
  transform: translateY(-1px);
}

/* ── Admin ─────────────────────────────────────────────── */

.admin-tabs-shell {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.88));
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.admin-tabs {
  gap: 10px;
}

.admin-tabs .nav-link {
  border-radius: 999px;
  color: #495057;
  background: #eef2f7;
  font-weight: 600;
  padding: 10px 16px;
}

.admin-tabs .nav-link.active {
  background: linear-gradient(135deg, #212529, #495057);
  color: #fff;
}

.etl-log-pre {
  white-space: pre-wrap;
  max-height: 320px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
