/* Envanter — kompakt ürün grid + detay */

.page-envanter .ev-hero {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid var(--border, #e5e5e5);
}

.page-envanter .ev-lead {
  max-width: 42rem;
  color: var(--text-2, #555);
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

.ev-section {
  margin: 2rem 0 1.25rem;
}

.ev-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  letter-spacing: 0.02em;
}

.ev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0.85rem 0.75rem;
}

.ev-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
}

.ev-card:hover .ev-card-name {
  color: var(--gold, #b0892e);
}

.ev-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(145deg, #1a2332 0%, #2a3548 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border, #e5e5e5);
}

.ev-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ev-thumb-ini {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d4c4a0;
}

.ev-card-name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

.ev-card-meta {
  font-size: 0.72rem;
  color: var(--text-3, #888);
  margin: 0;
}

.page-envanter .ev-carousel {
  margin: 0 0 1.25rem;
}

.ev-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.ev-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(176, 137, 46, 0.12);
  color: var(--gold, #8a6a22);
}

.ev-name {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.4rem;
  line-height: 1.15;
}

.ev-sub {
  color: var(--text-2, #555);
  margin: 0 0 1rem;
  max-width: 40rem;
}

.ev-carousel {
  position: relative;
  margin: 1rem 0 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
  max-height: 420px;
}

.ev-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}

.ev-carousel-track figure {
  min-width: 100%;
  margin: 0;
  height: 100%;
}

.ev-carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ev-carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  padding: 0 0.5rem;
}

.ev-carousel-nav button {
  pointer-events: auto;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.ev-carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.ev-carousel-dots button {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
}

.ev-carousel-dots button.active {
  background: #fff;
}

.ev-govde {
  max-width: 42rem;
  line-height: 1.65;
  font-size: 1.02rem;
}

.ev-govde p {
  margin: 0 0 1rem;
}

.ev-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0 2rem;
}

.ev-related a {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: var(--bg-2, #f3f3f3);
  text-decoration: none;
  color: inherit;
}

.ev-related a:hover {
  background: rgba(176, 137, 46, 0.15);
}

.ev-news-title {
  font-size: 1.2rem;
  margin: 0 0 1rem;
}

@media (max-width: 600px) {
  .ev-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
}
