/* ==========================================================================
   Urun kartlari - kategori sayfasi ve urun detay "diger urunler" bolumu
   ========================================================================== */

.urun-listesi {
    padding: 60px 0 100px;
}

.urun-listesi-header {
    margin-bottom: 40px;
}

.urun-listesi-etiket {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--accent-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0.75;
    margin-bottom: 14px;
}

.urun-listesi-etiket::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--accent-color);
    display: inline-block;
}

.urun-listesi-header h2 {
    font-family: var(--accent-font);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
    font-size: clamp(34px, 5vw, 68px);
}

.urun-listesi-not {
    font-family: var(--accent-font);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0.55;
}

/* ---------- kart ---------- */

.urun-kart {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-color);
    text-decoration: none;
    isolation: isolate;
    color: var(--white-color);
}

.urun-kart img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.urun-kart::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 34%, rgba(0, 0, 0, 0) 62%);
    transition: opacity 0.4s ease;
    z-index: 1;
}

.urun-kart:hover img {
    transform: scale(1.06);
}

.urun-kart-no {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    font-family: var(--accent-font);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 7px 13px;
    backdrop-filter: blur(4px);
}

.urun-kart-icerik {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 24px;
    z-index: 3;
}

.urun-kart-kategori {
    display: block;
    font-family: var(--accent-font);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white-color);
    opacity: 0.8;
    margin-bottom: 9px;
}

.urun-kart-baslik {
    font-family: var(--accent-font);
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--white-color);
    margin: 0 0 16px;
}

.urun-kart-link {
    display: inline-block;
    font-family: var(--accent-font);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-color);
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.urun-kart:hover .urun-kart-link {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

@media only screen and (max-width: 767px) {
    .urun-listesi {
        padding: 40px 0 70px;
    }

    .urun-kart {
        aspect-ratio: 4 / 3.2;
    }

    .urun-kart-icerik {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

/* ==========================================================================
   Urun detay sayfasi
   ========================================================================== */

.urun-detay {
    padding: 130px 0 70px;
}

.urun-detay-yol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-family: var(--accent-font);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    margin-bottom: 34px;
}

.urun-detay-yol a {
    color: var(--text-color);
    opacity: 0.55;
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.urun-detay-yol a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.urun-detay-yol .ayrac {
    opacity: 0.3;
}

.urun-detay-yol .aktif {
    color: var(--primary-color);
}

/* ---------- sol: gorsel alani ---------- */

.urun-ana-gorsel {
    position: relative;
    background: var(--secondary-color);
    aspect-ratio: 4 / 3.4;
    overflow: hidden;
}

.urun-ana-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.urun-zoom,
.urun-sayac {
    position: absolute;
    z-index: 2;
    font-family: var(--accent-font);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--white-color);
    color: var(--primary-color);
    padding: 10px 16px;
    border: 0;
    line-height: 1;
}

.urun-zoom {
    top: 18px;
    left: 18px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.urun-zoom:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.urun-sayac {
    right: 18px;
    bottom: 18px;
    pointer-events: none;
}

.urun-kucuk-gorseller {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.urun-kucuk {
    width: 94px;
    height: 78px;
    padding: 0;
    border: 2px solid transparent;
    background: var(--secondary-color);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

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

.urun-kucuk:hover {
    border-color: var(--accent-secondary-color);
}

.urun-kucuk.aktif {
    border-color: var(--accent-color);
}

.urun-lightbox {
    display: none;
}

/* ---------- sag: urun kunyesi ---------- */

.urun-bilgi {
    padding-left: 10px;
}

.urun-bilgi-etiket {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--accent-font);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--text-color);
    opacity: 0.75;
    margin-bottom: 18px;
}

.urun-bilgi-etiket::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    display: inline-block;
}

.urun-bilgi-baslik {
    font-family: var(--accent-font);
    font-weight: 700;
    font-size: clamp(38px, 4.4vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: var(--primary-color);
    margin: 0 0 26px;
}

.urun-bilgi-metin {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-color);
    opacity: 0.85;
    margin-bottom: 26px;
}

.urun-bilgi-metin p:last-child {
    margin-bottom: 0;
}

.urun-bilgi-liste {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.urun-bilgi-liste li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    font-family: var(--accent-font);
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
}

.urun-bilgi-liste li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.urun-bilgi-buton {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    font-family: var(--accent-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 42px;
    transition: background 0.3s ease, color 0.3s ease;
}

.urun-bilgi-buton:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.urun-bilgi-not {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.55;
    margin: 16px 0 0;
}

@media only screen and (max-width: 991px) {
    .urun-detay {
        padding: 100px 0 50px;
    }

    .urun-bilgi {
        padding-left: 0;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 767px) {
    .urun-detay {
        padding: 80px 0 40px;
    }

    .urun-detay-yol {
        font-size: 11px;
        margin-bottom: 24px;
    }

    .urun-ana-gorsel {
        aspect-ratio: 4 / 3.6;
    }

    .urun-kucuk {
        width: 72px;
        height: 60px;
    }

    .urun-bilgi-buton {
        display: block;
        text-align: center;
        padding: 18px 24px;
    }
}