/* ================================================================
   slider-4-stack.css
   Stack Cards Slider — horizontal cards with layered shadow depth
   ================================================================ */


/* ── SLIDE PADDING (creates visible stacking depth) ──────────── */

.stack-swiper .swiper-slide { padding: 12px 8px 20px; }


/* ── CARD ────────────────────────────────────────────────────── */

.stack-card {
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 2px 0 8px  rgba(0,186,186,.08),
    0 4px 0 16px rgba(0,186,186,.04);
  border: 1px solid var(--line);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  transition: box-shadow .2s;
}

.stack-card:hover {
  box-shadow:
    0  8px 0 8px  rgba(0,186,186,.10),
    0 14px 0 16px rgba(0,186,186,.05),
    0 20px 28px   rgba(0,0,0,.08);
}


/* ── PRODUCT IMAGE AREA ──────────────────────────────────────── */

.stack-card .sc-img {
  width: 160px;
  flex-shrink: 0;
  background: radial-gradient(circle at 40% 50%, #fbf9f5, #ede9df);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.stack-card .sc-img img {
  max-height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.14));
}

@media (max-width: 480px) {
  .stack-card              { flex-direction: column; }
  .stack-card .sc-img      { width: 100%; height: 160px; }
}


/* ── CONTENT AREA ────────────────────────────────────────────── */

.stack-card .sc-body {
  padding: 20px 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.stack-card .sc-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
}

.stack-card .sc-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.stack-card .sc-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}


/* ── FOOTER (price + button) ─────────────────────────────────── */

.stack-card .sc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.stack-card .sc-price {
  font-size: 18px;
  font-weight: 800;
}

.stack-card .sc-btn {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Vazirmatn', sans-serif;
  cursor: pointer;
  transition: background .15s;
}

.stack-card .sc-btn:hover { background: var(--primary); }
