/* ==========================================
   MENU.CSS - Stiluri Slider Promo, Categorii, Produse & Concurs
   ========================================== */

/* ---------------- Slider Promo (Carousel) ---------------- */
.slider-wrapper { padding: 12px 0 8px; }
.promo-slider {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  gap: 12px; padding: 0 16px; scroll-behavior: smooth;
}
.promo-slider::-webkit-scrollbar { display: none; }

.promo-card {
  flex: 0 0 100%; scroll-snap-align: center;
  border-radius: 20px; padding: 24px 20px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  position: relative; overflow: hidden;
  color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.promo-card.bg-1 { background: linear-gradient(135deg, var(--flame) 0%, var(--flame-dark) 100%); }
.promo-card.bg-2 { background: linear-gradient(135deg, var(--mustard) 0%, #E08900 100%); color: var(--ink); }
.promo-card.bg-3 { background: linear-gradient(135deg, var(--ink) 0%, #1A120E 100%); }

.promo-title { font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; z-index: 2; line-height: 1.2; }
.promo-desc { font-size: 13.5px; opacity: 0.9; line-height: 1.4; z-index: 2; margin-top: 4px; font-weight: 500; }

.promo-card::after {
  content: ''; position: absolute; right: -20px; bottom: -20px; width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  border-radius: 50%; z-index: 1; pointer-events: none;
}

.slider-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.slider-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background var(--dur-fast), transform var(--dur-fast); }
.slider-dots .dot.active { background: var(--flame); transform: scale(1.4); }

/* ---------------- Secțiunea de Produse ---------------- */
.cat-heading{
  font-family: var(--font-display); font-size:24px; letter-spacing: 0.5px;
  color: var(--ink); margin: 0 0 20px; line-height:1.1; display:flex; align-items:center; gap:8px;
}

.product-list{ display:flex; flex-direction:column; gap:20px; }
@media(min-width: 480px) { .product-list { display: grid; grid-template-columns: 1fr; } }

.product-card{
  background: var(--card-bg); border-radius: var(--radius-card);
  overflow:hidden; box-shadow: var(--shadow-card);
  transition: transform var(--dur-fast); cursor: pointer;
  border: 1px solid rgba(36,26,20,0.04); position:relative;
}
.product-card:active { transform: scale(0.98); }

/* Stil special pentru produsul CONCURS */
.product-card.concurs-card {
  border: 2px solid var(--flame); background: #FFF0ED; box-shadow: 0 8px 30px rgba(225,70,42,0.15);
}
.product-card.concurs-card .add-btn { background: var(--mustard); color: var(--ink); border-color: var(--mustard); }

.product-img-wrap{ position:relative; height:190px; width:100%; background: #EFEBE4; }
.product-img { width: 100%; height: 100%; object-fit: cover; }

.featured-badge{
  position:absolute; top:12px; left:12px; background: var(--mustard); color: var(--ink);
  font-family: var(--font-mono); font-size:11px; font-weight:700; text-transform:uppercase;
  letter-spacing:0.5px; padding: 6px 12px; border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.product-body{ padding: 18px; }
.product-name{ font-size:19px; font-weight:800; line-height:1.2; }
.product-desc{ font-size:13.5px; color: var(--ink-soft); margin-top:8px; line-height:1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer{ display:flex; align-items:center; justify-content:space-between; margin-top:16px; }
.product-price{ font-family: var(--font-mono); font-weight:700; font-size:19px; color: var(--flame); }

.add-btn{
  display:flex; align-items:center; gap:6px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--bg-ticket); color: var(--flame); font-weight:700; font-size:14px;
  border: 2px solid var(--flame); transition: all var(--dur-fast);
}
.product-card:active .add-btn { background: var(--flame); color: #fff; }

/* ==========================================
   Sub-categories Filter Cards (Filtre Rapide)
   ========================================== */
.subcat-filter-cards {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 16px;
  margin-bottom: 8px;
  scroll-behavior: smooth;
}
.subcat-filter-cards::-webkit-scrollbar {
  display: none;
}

.subcat-card {
  flex: 0 0 auto;
  background: var(--card-bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(36,26,20,0.04);
  transition: all var(--dur-fast) var(--ease-fluid);
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.subcat-card:hover {
  border-color: var(--flame);
  color: var(--flame);
  transform: translateY(-2px);
}

.subcat-card:active {
  transform: scale(0.96);
  background: var(--flame);
  color: #fff;
  border-color: var(--flame);
}


/* Stiluri pentru secțiunile cu titluri de sub-categorii în pagină */
.product-subcat-section {
  margin-bottom: 28px;
}

.subcat-section-title {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 14px 4px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px dashed var(--line);
  padding-bottom: 6px;
}

.subcat-products-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

