/*!
 * Geliştirici: hello@halilcan.dev
 */
.bg-primary {
    background-color: #F97316 !important;
}

.text-primary {
    color: #F97316 !important;
}

.border-primary {
    border-color: #F97316 !important;
}

.group:hover .group-hover\:text-primary {
    color: #F97316 !important;
}

.group:hover .group-hover\:bg-primary {
    background-color: #F97316 !important;
}

/* Line Clamp */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* Hide scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hesabım: sade üst şerit ve sekme düzeni */
.hesap-ust {
    background: #fff;
    border-bottom: 1px solid #e6e8ec;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 28px;
}
.hesap-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.hesap-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.hesap-don {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: none;
    white-space: nowrap;
}
.hesap-don:hover {
    border-color: #F97316;
    color: #c2410c;
}

.hesap-menu button.aktif {
    background: #fff4ec;
    color: #c2410c;
}
.hesap-menu button.aktif i {
    color: #F97316;
}

@media (max-width: 800px) {
    .hesap-ust {
        padding: 0 16px;
        height: 64px;
    }
    /* Dar ekranda logo küçülür, "Ana sayfaya dön" butonu sayfayı yana taşırmaz */
    .hesap-logo {
        flex-shrink: 1;
        min-width: 0;
    }
    .hesap-logo img {
        height: 32px;
        max-width: 100%;
    }
    .hesap-don {
        flex-shrink: 0;
        padding: 0 12px;
        font-size: 13px;
        white-space: nowrap;
    }

}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Fix pagination bullets */
.pagination,
.pagination li,
nav[aria-label="Pagination"] li {
    list-style: none !important;
    list-style-type: none !important;
}

/* Gövde yazı tipi: bilesenler.css --t-govde-font (admin > Tema ayarları > Yazı tipleri) */
body {
    font-family: var(--t-govde-font, 'Inter', sans-serif);
}

.kat-kutu {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 14px;
    padding: 16px 12px 10px;
}
.kat-kutu h3 {
    margin: 0 4px 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef0f3;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}
.kat-kokler,
.kat-dal {
    list-style: none;
    margin: 0;
    padding: 0;
}
.kat-dal {
    display: none;
    margin: 2px 8px 8px 22px;
    padding: 4px 0 4px 10px;
    border-left: 1px solid #e7e9ee;
}
.kat-oge.acik > .kat-dal {
    display: block;
}
.kat-satir {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 4px 6px;
    border-radius: 10px;
}
.kat-oge.aktif > .kat-satir {
    background: #fff4ec;
}
.kat-satir:hover {
    background: #f7f7f8;
}
.kat-oge.aktif > .kat-satir:hover {
    background: #fff1e6;
}
.kat-ac {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: #f3f4f6;
    color: #4b5563;
    cursor: pointer;
    flex-shrink: 0;
}
.kat-oge.acik > .kat-satir > .kat-ac i {
    transform: rotate(180deg);
}
.kat-ac i {
    transition: transform 0.15s ease;
    font-size: 11px;
}
.kat-ad {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    text-align: left;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
}
.kat-isim {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kat-rozet {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #fff7ed;
    color: #F97316;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
}
.kat-oge.acik > .kat-satir .kat-rozet,
.kat-oge.aktif > .kat-satir .kat-rozet {
    background: #F97316;
    color: #fff;
}
.kat-kokler > .kat-oge > .kat-satir .kat-ad {
    font-weight: 700;
    font-size: 15px;
}
.kat-oge.aktif > .kat-satir .kat-ad,
.kat-yaprak.aktif {
    color: #c2410c;
}
.kat-yaprak {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 34px;
}
.kat-nokta {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F97316;
    flex-shrink: 0;
}
.kat-git {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    flex-shrink: 0;
}
.kat-git:hover {
    background: #fff;
    color: #c2410c;
}

.footer-izgara {
    display: grid;
    /* 1fr içerik genişliğinin altına inmez; uzun link metni kolonu açıp sayfayı yana taşırıyordu */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
}
@media (max-width: 1023.98px) {
    /* Logo/açıklama ve iletişim + bülten formu dar yarım kolona sığmıyor */
    .footer-izgara > :first-child,
    .footer-izgara > :last-child {
        grid-column: 1 / -1;
    }
}
@media (min-width: 1024px) {
    .footer-izgara {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 32px;
    }
}
.magaza-yukari {
    position: fixed;
    z-index: 60;
    bottom: 104px;
    right: 16px;
}
.magaza-whatsapp {
    position: fixed !important;
    z-index: 70;
    left: 16px !important;
    right: auto !important;
    top: auto !important;
    bottom: 16px !important;
    margin: 0 !important;
    transform: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    border-radius: 0;
    background: #25D366;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
    border: 0;
}
.magaza-whatsapp i {
    font-size: 20px;
    color: #111;
}
.magaza-whatsapp:hover {
    color: #111;
    background: #1ebe5d;
}
@media (max-width: 1023px) {
    .magaza-whatsapp {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    }
}
@media (min-width: 1024px) {
    .magaza-yukari {
        bottom: 24px;
        right: 24px;
    }
}
.bant-reklam {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.bant-reklam a {
    display: block;
    width: 100%;
}
.bant-reklam img {
    width: 100%;
    height: auto;
    display: block;
}
@media (min-width: 768px) {
    .bant-reklam a[data-col="12"] { width: 100%; }
    .bant-reklam a[data-col="6"] { width: calc(50% - 6px); }
    .bant-reklam a[data-col="4"] { width: calc(33.333% - 8px); }
    .bant-reklam a[data-col="3"] { width: calc(25% - 9px); }
    .bant-reklam a[data-col="2"] { width: calc(16.666% - 10px); }
}

.hero-izgara {
    align-items: stretch;
}
.heroSwiper,
.heroSwiper .swiper-wrapper,
.heroSwiper .swiper-slide {
    height: auto !important;
}
.heroSwiper .swiper-slide a {
    display: block;
    height: auto !important;
    line-height: 0;
}
.hero-gorsel {
    width: 100%;
    height: auto !important;
    max-width: 100%;
    display: block;
    object-fit: fill;
    object-position: center;
}
.showcaseSwiper,
.showcaseSwiper .swiper-wrapper,
.showcaseSwiper .swiper-slide,
.showcaseSwiper .swiper-slide a {
    height: 100%;
}
.showcaseSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.lisans-bant {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 92px;
    margin-bottom: 16px;
    padding: 18px 22px;
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
}
.lisans-bant-gorsel {
    position: absolute;
    inset: -8%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    animation: lisans-kay 18s ease-in-out infinite alternate;
}
.lisans-bant-duz {
    inset: 0;
    background-image: linear-gradient(100deg, #0f172a 0%, #1e3a5f 42%, #F97316 100%);
    background-size: 140% 140%;
    animation: lisans-duz 12s ease-in-out infinite alternate;
}
.lisans-bant-katman {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.55) 48%, rgba(15, 23, 42, 0.28) 100%);
}
.lisans-bant-parlama {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.16) 48%, transparent 64%);
    background-size: 220% 100%;
    animation: lisans-parla 7s linear infinite;
}
.lisans-bant-metin,
.lisans-bant-link {
    position: relative;
    z-index: 1;
}
.lisans-bant-metin {
    display: flex;
    align-items: baseline;
    gap: 14px;
    min-width: 0;
}
.lisans-bant-metin h2 {
    margin: 0;
    padding-left: 12px;
    border-left: 4px solid #F97316;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.lisans-bant-metin p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.4;
}
.lisans-bant-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: rgba(15, 23, 42, 0.28);
}
.lisans-bant-link:hover {
    background: #F97316;
    border-color: #F97316;
    color: #fff;
}
@keyframes lisans-kay {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to { transform: scale(1.12) translate3d(-2%, -1%, 0); }
}
@keyframes lisans-duz {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}
@keyframes lisans-parla {
    from { background-position: 130% 0; }
    to { background-position: -130% 0; }
}
@media (max-width: 700px) {
    .lisans-bant {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }
    .lisans-bant-metin {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .lisans-bant-metin h2 {
        white-space: normal;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lisans-bant-gorsel,
    .lisans-bant-duz,
    .lisans-bant-parlama {
        animation: none;
    }
}

/* "Sepete eklendi" modalı: mobilde alttan açılan sayfa görünümü */
@media (max-width: 639.98px) {
    .sepet-modal {
        border-bottom: 0;
        border-radius: 16px 16px 0 0;
        padding-bottom: env(safe-area-inset-bottom);
    }
}

.guvenlik-kodu-giris {
    text-transform: uppercase;
    letter-spacing: .2em;
    font-weight: 600;
}
.guvenlik-kodu-giris::placeholder {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

/* Mobil alt menü (~64px) ve yüzen yukarı/WhatsApp düğmeleri alt bilginin son satırlarını örtmesin */
@media (max-width: 1023px) {
    .site-alt-bilgi {
        padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    }
}

