/* container */
.dj-container{max-width:1200px;margin:0 auto;padding:40px 16px}

/* titluri */
.dj-h1{font-size:32px;line-height:1.2;margin:0 0 8px;font-weight:600}
.dj-h2{font-size:22px;margin:0 0 12px;font-weight:600}
.dj-muted{color:#6b7280}

/* card-uri & grile */
.dj-grid{display:grid;gap:20px}
.dj-grid-2{grid-template-columns:repeat(2,1fr)}
.dj-grid-3{grid-template-columns:repeat(3,1fr)}
.dj-grid-5{grid-template-columns:repeat(5,1fr)}
@media (max-width:1024px){.dj-grid-5{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){.dj-grid-5,.dj-grid-3{grid-template-columns:repeat(2,1fr)}}

.dj-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;transition:box-shadow .2s,transform .2s}
.dj-card:hover{box-shadow:0 10px 30px rgba(0,0,0,.08);transform:translateY(-2px)}
.dj-card-body{padding:14px}

/* media blocks */
.dj-media{position:relative;aspect-ratio:1/1;background:#f6f6f6;overflow:hidden}
.dj-media img,.dj-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* info box */
.dj-box{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px}

/* select + formular */
.dj-select{border:1px solid #d1d5db;border-radius:8px;padding:8px 12px}

/* tabel */
.dj-table-wrap{overflow-x:auto;border:1px solid #e5e7eb;border-radius:16px;background:#fff}
.dj-table{width:100%;border-collapse:collapse}
.dj-table th,.dj-table td{padding:12px 14px;border-bottom:1px solid #f1f5f9;text-align:left}
.dj-table thead th{background:#f8fafc;color:#475569;font-size:14px}
.dj-chip{display:inline-block;padding:3px 8px;border-radius:14px;background:#f1f5f9;color:#475569;font-size:12px}

/* paginare la nevoie */
.dj-pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}

/* utilitare */
.mt-8{margin-top:32px}
.mt-16{margin-top:64px}

.video-section {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* Video principal */
.video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

/* Imagine fallback (ascunsă când video-ul pornește) */
.video-fallback {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: none;
  filter: brightness(0.8);
}

/* Text peste video */
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  padding: 0 20px;
}

.video-overlay h1 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.video-overlay p {
  font-size: 18px;
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Responsivitate */
@media (max-width: 768px) {
  .video-section {
    height: 320px;
  }
  .video-overlay h1 {
    font-size: 24px;
  }
  .video-overlay p {
    font-size: 14px;
  }
}
.cat-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: #222;
}

/* ====== HERO ====== */
.category-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.hero-text { padding-top: 6px; }

.cat-title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  margin: 0 0 10px 0;
  letter-spacing: 0.2px;
}

.cat-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, #c9a14a, #b3872e);
  border-radius: 999px;
}

.cat-sub {
  margin: 16px 0 0 0;
  max-width: 820px;
  font-size: 18px;
  line-height: 1.65;
  color: #444;
  text-align: justify;
}

.hero-media {
  border-radius: 16px;
  overflow: hidden;
  background: #f6f6f6;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ====== Sortare ====== */
.sortbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.sortbar label {
  font-size: 14px;
  color: #6b7280;
}
.sortbar select {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  font-size: 14px;
  color: #111827;
  outline: none;
}
.sortbar select:focus {
  border-color: #c9a14a;
  box-shadow: 0 0 0 3px rgba(201,161,74,0.15);
}

/* ====== Card tabel ====== */
.table-card {
  margin-top: 22px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.04);
  overflow: hidden;
}

/* ====== Tabel ====== */
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table thead th {
  background: #fafafa;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #555;
  border-bottom: 1px solid #eee;
}
.data-table tbody td {
  padding: 16px;
  border-bottom: 1px solid #f1f1f1;
  vertical-align: middle;
  background: #fff;
}
.data-table tbody tr:hover td {
  background: #fffdfa; /* ușor cald */
}

.ta-right { text-align: right; }

.prod-cell { padding-right: 8px; }
.prod-title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #1f2937;
  margin-bottom: 4px;
}
.prod-meta {
  color: #6b7280;
  font-size: 13px;
}

.price-cell {
  text-align: right;
  font-weight: 800;
  font-size: 17px;
  color: #b3872e; /* auriu elegant */
  white-space: nowrap;
}

.empty-row {
  text-align: center;
  padding: 26px 12px;
  color: #6b7280;
}

/* ====== Paginare (Laravel) ====== */
.pagination {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.pagination nav { display: inline-block; }

/* ====== Responsive ====== */
@media (max-width: 980px) {
  .category-hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; }  /* imaginea deasupra pe mobil */
}
@media (max-width: 640px) {
  .table-card { border-radius: 12px; }
  .data-table thead th, .data-table tbody td { padding: 12px; }
  .prod-title { font-size: 15px; }
  .price-cell { font-size: 16px; }
}
.whatsapp-btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 50px;
  background-color: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  margin-top: 10px;
  margin-left: 10px;
}

.whatsapp-btn:hover {
  background-color: #1ebe5a;
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}