/* Portal anasayfa — kategori slider: canlı görsel + altta modern etiket */
.portal-home .vcs-zone {
  --vcs-red: #c31313;
  --vcs-red-soft: rgba(195, 19, 19, 0.1);
  --vcs-red-glow: rgba(195, 19, 19, 0.22);
  margin-bottom: 1.1rem;
  padding: 0 2px;
}

.portal-home .vcs-swiper {
  padding: 4px 2px 6px;
}

.portal-home .vcs-swiper .swiper-slide {
  height: auto;
}

.portal-home .vcs-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef2f6;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-home .vcs-card:hover,
.portal-home .vcs-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(195, 19, 19, 0.32);
  box-shadow: 0 12px 28px var(--vcs-red-glow);
  outline: none;
}

.portal-home .vcs-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  flex-shrink: 0;
}

.portal-home .vcs-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  filter: brightness(1.1) saturate(1.2) contrast(1.04);
  transition: filter 0.25s ease, transform 0.35s ease;
}

.portal-home .vcs-card:hover .vcs-card__img,
.portal-home .vcs-card:focus-visible .vcs-card__img {
  filter: brightness(1.14) saturate(1.26) contrast(1.05);
  transform: scale(1.02);
}

.portal-home .vcs-card__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: saturate(1.12);
}

.portal-home .vcs-card__fallback i {
  font-size: clamp(1.85rem, 7vw, 2.5rem);
  opacity: 0.95;
}

.portal-home .vcs-card__caption {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.48rem 0.5rem 0.52rem;
  background: #fff;
  border-top: 1px solid #f1f5f9;
  position: relative;
}

.portal-home .vcs-card__caption::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vcs-red), #f97316);
  opacity: 0.85;
}

.portal-home .vcs-card__name {
  width: 100%;
  color: #1e293b;
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  text-align: center;
  margin-top: 0.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.portal-home .vcs-card:hover .vcs-card__name,
.portal-home .vcs-card:focus-visible .vcs-card__name {
  color: var(--vcs-red);
}

/* Slider navigation */
.portal-home .vcs-nav {
  width: 32px !important;
  height: 32px !important;
  background: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.12) !important;
  color: #334155 !important;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.portal-home .vcs-nav::after {
  font-size: 12px !important;
  font-weight: 800 !important;
}

.portal-home .vcs-nav:hover {
  color: var(--vcs-red) !important;
  border-color: rgba(195, 19, 19, 0.35);
}

@media (min-width: 768px) {
  .portal-home .vcs-card__name {
    font-size: 0.87rem;
  }

  .portal-home .vcs-card__caption {
    min-height: 2.85rem;
    padding: 0.52rem 0.55rem 0.58rem;
  }
}

@media (max-width: 767.98px) {
  .portal-home .vcs-zone {
    margin-bottom: 0.65rem;
  }

  .portal-home .vcs-card {
    border-radius: 11px;
  }

  .portal-home .vcs-card__caption {
    min-height: 2.45rem;
    padding: 0.4rem 0.38rem 0.44rem;
  }

  .portal-home .vcs-card__name {
    font-size: 0.74rem;
  }

  .portal-home .vcs-card__caption::before {
    width: 22px;
    height: 2px;
  }
}

/* Bottom bar kategori paneli — anasayfa slider kart stili */
#catPanel .cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

#catPanel .vcs-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef2f6;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

#catPanel .vcs-card:active {
  transform: scale(0.98);
  border-color: rgba(195, 19, 19, 0.32);
  box-shadow: 0 8px 20px rgba(195, 19, 19, 0.18);
}

#catPanel .vcs-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  flex-shrink: 0;
}

#catPanel .vcs-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  filter: brightness(1.1) saturate(1.2) contrast(1.04);
}

#catPanel .vcs-card__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: saturate(1.12);
}

#catPanel .vcs-card__fallback i {
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  opacity: 0.95;
}

#catPanel .vcs-card__caption {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.4rem 0.38rem 0.44rem;
  background: #fff;
  border-top: 1px solid #f1f5f9;
  position: relative;
}

#catPanel .vcs-card__caption::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c31313, #f97316);
  opacity: 0.85;
}

#catPanel .vcs-card__name {
  width: 100%;
  color: #1e293b;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  text-align: center;
  margin-top: 0.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#catPanel .vcs-card__hint {
  font-size: 0.58rem;
  color: #94a3b8;
  margin-top: 2px;
  line-height: 1.2;
}
