/* ---------- Marka sayfası ürün vitrini (filtreli ızgara) ---------- */
.urunler-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.urunler-head h2 { margin: 0; }
.urunler-head .more { color: var(--brand-text, var(--red)); font-weight: 600; text-decoration: none; white-space: nowrap; }
.urunler-head .more:hover { text-decoration: underline; }

.urun-filtre { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.urun-filtre button { font: inherit; font-size: .9rem; font-weight: 500; padding: .55em 1.15em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.urun-filtre button:hover { border-color: var(--brand-text, var(--red)); color: var(--brand-text, var(--red)); }
.urun-filtre button.aktif { background: var(--brand, var(--red)); border-color: var(--brand, var(--red)); color: var(--ink); }
.urun-filtre button:focus-visible { outline: 2px solid var(--brand-text, var(--red)); outline-offset: 2px; }

.urun-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.urun { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.urun:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(28,26,27,.10); }
.urun[hidden] { display: none; }
.urun-img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.urun-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.urun:hover .urun-img img { transform: scale(1.04); }
.urun-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.urun-seri { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text, var(--red)); }
.urun-body h3 { font-size: 1rem; line-height: 1.3; margin: 2px 0 0; }
.urun-hacim { font-size: .88rem; color: var(--muted); }
.urun-btn { margin-top: auto; padding-top: 12px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.urun:hover .urun-btn { color: var(--brand-text, var(--red)); }
.urun-not { margin: 28px 0 0; color: var(--muted); font-size: .92rem; }
.urun-not a { color: var(--brand-text, var(--red)); font-weight: 600; }

@media (max-width: 960px) { .urun-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .urun-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .urun-filtre { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .urun-filtre::-webkit-scrollbar { display: none; }
  .urun-filtre button { flex: none; }
  .urun-body { padding: 12px 14px 14px; }
  .urun-body h3 { font-size: .92rem; }
}

/* Üzerine gelince ikinci ürün görseli */
.urun-img { position: relative; }
.urun-img .ikinci { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; opacity: 0; transition: opacity .35s ease, transform .4s; pointer-events: none; }
@media (hover: hover) {
  .urun:hover .urun-img:has(.ikinci) img:first-child { opacity: 0; }
  .urun:hover .urun-img .ikinci { opacity: 1; }
}
.urun-img img:first-child { transition: opacity .35s ease, transform .4s; }

/* Koyu marka rengi için aktif filtre yazısı */
.urun-filtre button.aktif { color: var(--brand-on, var(--ink)); }

/* Kayan video şeridi */
.video-serit { overflow: hidden; }
.video-serit .wrap { margin-bottom: 28px; }
.video-serit h2 { margin: 0; }
.video-kayan { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.video-iz { display: flex; gap: 20px; width: max-content; animation: videoKay 70s linear infinite; }
.video-kayan:hover .video-iz { animation-play-state: paused; }
.video-kart { flex: none; width: 250px; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #111; position: relative; }
.video-kart video { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes videoKay { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) { .video-kart { width: 180px; } .video-iz { gap: 12px; animation-duration: 55s; } }
@media (prefers-reduced-motion: reduce) { .video-iz { animation: none; } .video-kayan { overflow-x: auto; } }
.video-kart { cursor: pointer; border: 0; padding: 0; font: inherit; }
.video-kart::after { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(0,0,0,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 26px no-repeat; opacity: 0; transition: opacity .25s; pointer-events: none; }
.video-kart:hover::after, .video-kart:focus-visible::after { opacity: 1; }
.video-kart:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.video-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(10,10,10,.88); display: grid; place-items: center; padding: 24px; }
.video-modal[hidden] { display: none; }
.video-modal video { max-height: 88vh; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; background: #000; }
.video-modal-kapat { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 26px; line-height: 1; cursor: pointer; }
body.modal-acik { overflow: hidden; }
