/* Custom styles for theme_modern - Add after Tailwind */

/* Primary Color Utilities */
.bg-primary {
    background-color: #F97316 !important;
}

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

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

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

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

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

.bg-primary\/90 {
    background-color: rgb(249 115 22 / 0.9) !important;
}

.bg-primary\/30 {
    background-color: rgb(249 115 22 / 0.3) !important;
}

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

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

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

.focus\:ring-primary:focus {
    --tw-ring-color: #F97316 !important;
}

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

.shadow-primary\/30 {
    box-shadow: 0 20px 25px -5px rgb(249 115 22 / 0.3), 0 8px 10px -6px rgb(249 115 22 / 0.3) !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-sayfa {
    background: #f4f5f7;
    min-height: calc(100vh - 72px);
}
.hesap-icerik {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 56px;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.hesap-menu {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    padding: 8px;
    position: sticky;
    top: 16px;
}
.hesap-kim {
    padding: 12px 12px 10px;
    border-bottom: 1px solid #eef0f3;
    margin-bottom: 6px;
}
.hesap-kim strong {
    display: block;
    color: #111827;
    font-size: 15px;
    line-height: 1.3;
}
.hesap-kim span {
    display: block;
    margin-top: 2px;
    color: #6b7280;
    font-size: 12px;
    word-break: break-all;
}
.hesap-menu button,
.hesap-cikis {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 0;
    background: transparent;
    color: #3f4651;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    box-shadow: none;
}
.hesap-menu button i,
.hesap-cikis i {
    width: 18px;
    text-align: center;
    color: #9ca3af;
}
.hesap-menu button:hover {
    background: #f7f7f8;
    color: #c2410c;
}
.hesap-menu button.aktif {
    background: #fff4ec;
    color: #c2410c;
}
.hesap-menu button.aktif i {
    color: #F97316;
}
.hesap-cikis {
    color: #b91c1c;
    margin-top: 4px;
    border-top: 1px solid #eef0f3;
    border-radius: 0 0 8px 8px;
}
.hesap-cikis:hover {
    background: #fef2f2;
}
.hesap-sayfa button,
.hesap-sayfa a,
.hesap-sayfa [class*="shadow"] {
    box-shadow: none !important;
}
.hk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #F97316;
    color: #fff;
    border: 0;
    border-radius: 8px;
    min-height: 44px;
    padding: 0 18px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
}
.hk-btn:hover {
    background: #ea580c;
    color: #fff;
}
.hk-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}
.hk-btn-ikincil {
    background: #fff;
    color: #1f2937;
    border: 1px solid #d7dbe2;
}
.hk-btn-ikincil:hover {
    background: #fff;
    color: #c2410c;
    border-color: #F97316;
}
.hk-sifre-satir {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.hk-sifre {
    flex: 1 1 220px;
    min-width: 0;
    height: 44px;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
    background: #fff;
    box-shadow: none;
}
.hk-sifre:focus {
    border-color: #F97316;
}
.hk-mesaj {
    min-height: 1.25em;
    margin-top: 10px;
    font-size: 14px;
    color: #b91c1c;
}
.hk-mesaj-ok {
    color: #15803d;
}
.hk-kod {
    margin-top: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
    color: #111827;
    background: #f8fafc;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    padding: 10px 12px;
    word-break: break-all;
}
@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;
    }
    .hesap-icerik {
        grid-template-columns: 1fr;
        padding: 16px 12px 40px;
    }
    .hesap-menu {
        position: static;
        display: flex;
        gap: 4px;
        overflow-x: auto;
        padding: 8px;
    }
    .hesap-kim {
        display: none;
    }
    .hesap-menu button {
        width: auto;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

.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;
}

/* Custom font */
body {
    font-family: '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-alt-kat {
    padding-left: 18px;
    font-size: 13px;
}
.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;
    }
}

/* Bildirim ve "sepete eklendi" modalları: ödeme/hesap sayfalarıyla aynı düz kart, gölge yok */
.modal-kart {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    overflow: hidden;
}
.modal-kapat {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
}
.modal-kapat:hover {
    background: #f4f5f7;
    color: #374151;
}
@media (max-width: 639.98px) {
    /* Mobilde alttan açılan sayfa görünümü */
    .sepet-modal {
        border-bottom: 0;
        border-radius: 16px 16px 0 0;
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Sepet ve ödeme adımı: hesap/kurumsal sayfalarıyla aynı düz tasarım, alan ve butonlarda gölge yok */
.odeme-sayfa {
    background: #f4f5f7;
}
.odeme-sayfa button,
.odeme-sayfa a,
.odeme-sayfa input,
.odeme-sayfa textarea,
.odeme-sayfa select,
.odeme-sayfa [class*="shadow"] {
    box-shadow: none !important;
}
.odeme-kart {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}
.odeme-baslik {
    margin: 0 0 14px;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}
.odeme-etiket {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}
.odeme-alan {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    outline: none;
    transition: border-color .15s;
}
textarea.odeme-alan {
    height: auto;
    min-height: 80px;
    padding: 10px 14px;
    resize: vertical;
}
.odeme-alan:focus {
    border-color: #F97316;
}
.odeme-alan-ikon {
    padding-left: 40px;
}
.odeme-secim {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
.odeme-secim:hover {
    border-color: #f5b88a;
}
.odeme-secim:has(input:checked) {
    border-color: #F97316;
    background: #fff8f2;
}
.odeme-secim:has(input:disabled) {
    opacity: .6;
    cursor: not-allowed;
}
.odeme-secim-baslik {
    display: block;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}
.odeme-sayfa input[type="radio"],
.odeme-sayfa input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    flex-shrink: 0;
    accent-color: #F97316;
}
.odeme-secim.items-center {
    align-items: center;
}
.odeme-secim.items-center input[type="radio"] {
    margin: 0;
}
.odeme-adres-ozet {
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid #eef0f3;
    border-radius: 8px;
    background: #fff;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.55;
}
.odeme-adres-ozet strong {
    color: #111827;
}
.odeme-not {
    color: #6b7280;
    font-size: 13px;
}
.odeme-onay {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #374151;
    font-size: 13px;
}
.odeme-onay a {
    color: #c2410c;
    font-weight: 700;
}
.odeme-sayfa fieldset {
    border: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    min-width: 0;
}

.kurumsal-sayfa {
    background: #f4f5f7;
}
.kurumsal-dar {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 32px 28px;
}
.kurumsal-genis {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}
.kurumsal-kart {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}
.kurumsal-baslik {
    text-align: center;
    margin-bottom: 22px;
}
.kurumsal-baslik img {
    height: 40px;
    width: auto;
    margin: 0 auto 16px;
    object-fit: contain;
}
.kurumsal-baslik h1,
.kurumsal-baslik h2 {
    margin: 0;
    color: #111827;
    font-size: 26px;
    font-weight: 700;
}
.kurumsal-baslik p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
}
.kurumsal-baslik a {
    color: #c2410c;
    font-weight: 700;
    text-decoration: none;
}
.kurumsal-sayfa button,
.kurumsal-sayfa a,
.kurumsal-sayfa input,
.kurumsal-sayfa textarea,
.kurumsal-sayfa select,
.kurumsal-sayfa [class*="shadow"] {
    box-shadow: none !important;
}
.kurumsal-sayfa input[type="text"],
.kurumsal-sayfa input[type="email"],
.kurumsal-sayfa input[type="password"],
.kurumsal-sayfa input[type="tel"],
.kurumsal-sayfa input[type="number"],
.kurumsal-sayfa textarea,
.kurumsal-sayfa select {
    border: 1px solid #d7dbe2 !important;
    border-radius: 8px !important;
    background: #fff !important;
}
.kurumsal-sayfa input:focus,
.kurumsal-sayfa textarea:focus,
.kurumsal-sayfa select:focus {
    border-color: #F97316 !important;
    outline: none;
}
.kurumsal-not {
    margin-top: 8px;
    color: #6b7280;
    font-size: 13px;
}
.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;
}
.kurumsal-kod {
    display: flex;
    align-items: center;
    gap: 12px;
}
.kurumsal-kod img {
    height: 56px;
    width: 180px;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    background: #fff;
}
.kurumsal-onay {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    color: #374151;
    font-size: 13px;
}
.kurumsal-onay a {
    color: #c2410c;
    font-weight: 700;
}