/* FOOTER CSS - OYUNATA TARZI */
.site-footer {
    margin-top: 3rem;
    background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb, 155, 23, 212), 0.05));
    color: var(--text-sub, var(--text-secondary));
    padding: 0 0 1.4rem;
    font-size: 14px;
    position: relative;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.6rem;
    padding: 3.2rem 0 2.2rem;
}

.foot-logo img {
    height: 28px;
    width: auto;
    margin-bottom: 1.1rem;
}

.foot-text-logo {
    color: var(--text-main, var(--text-primary));
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 0 1.1rem;
}

.foot-text-logo .highlight {
    color: var(--site-primary, var(--accent-color));
}

.foot-brand-desc {
    color: var(--text-sub, var(--text-secondary));
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 21rem;
    margin: 0;
}

.foot-email {
    margin: 0.7rem 0 0;
}

.foot-email a {
    color: var(--site-primary, var(--accent-color));
    font-weight: 600;
    text-decoration: none;
}

.foot-email a:hover {
    text-decoration: underline;
}

.foot-socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.3rem;
    flex-wrap: wrap;
}

.foot-socials a {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color);
    background: var(--bg-card, rgba(255, 255, 255, 0.04));
    color: var(--text-sub, var(--text-secondary));
    text-decoration: none;
    transition: all 0.22s ease;
    font-size: 1.1rem;
}

.foot-socials a:hover {
    color: #fff;
    border-color: var(--site-primary, var(--accent-color));
    background: var(--site-primary, var(--accent-color));
    transform: translateY(-2px);
}

.foot-col h4 {
    font-family: 'Sora', var(--font-display, sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-main, var(--text-primary));
    margin: 0 0 1.1rem;
}

.foot-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.foot-col a {
    color: var(--text-sub, var(--text-secondary));
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.foot-col a:hover {
    color: var(--site-primary, var(--accent-color));
    padding-left: 4px;
}

.foot-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.4rem 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.foot-bottom p {
    margin: 0;
    color: var(--text-sub, var(--text-secondary));
    font-size: 0.8rem;
}

.pay-chips {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pay-chips .chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 30px;
    border: 1px solid var(--border-color);
    background: var(--bg-card, rgba(255, 255, 255, 0.04));
    border-radius: 8px;
    padding: 0.35rem 0.7rem;
}

.pay-chips .chip img {
    display: block;
    height: 14px;
    width: auto;
}

.pay-chips .chip-bank {
    color: #0a2e5c;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

html.light-theme .pay-chips .chip-bank {
    color: #0a2e5c;
}

.pay-chips .chip-lbl {
    color: var(--text-sub, var(--text-secondary));
    white-space: nowrap;
}

/* ==========================================
   MOBİL NAVİGASYON (TEMA UYUMLU)
   ========================================== */
.mobile-nav-wrapper {
    display: none;
    position: fixed;
    bottom: max(18px, env(safe-area-inset-bottom, 0px) + 10px);
    left: 0;
    width: 100%;
    z-index: 9999;
    pointer-events: none;
    justify-content: center;
}

/* Liquid glass bar (iOS tarzı, yeşil tema) */
.bottom-nav {
    pointer-events: auto;
    width: 92%;
    max-width: 390px;
    height: 66px;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    border-radius: 26px;
    background: rgba(18, 22, 20, 0.55);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.25);
    transition: width 0.38s cubic-bezier(0.34, 1.2, 0.64, 1), max-width 0.38s cubic-bezier(0.34, 1.2, 0.64, 1), height 0.38s cubic-bezier(0.34, 1.2, 0.64, 1), padding 0.38s cubic-bezier(0.34, 1.2, 0.64, 1), gap 0.38s ease, border-radius 0.38s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

html.light-theme .bottom-nav {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(17, 24, 39, 0.08);
    box-shadow: 0 12px 36px rgba(17, 24, 39, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-btn {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    gap: 3px;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    color: rgba(241, 230, 245, 0.66);
    transition: color 0.3s ease, height 0.38s cubic-bezier(0.34, 1.2, 0.64, 1), gap 0.38s ease;
}

html.light-theme .nav-btn {
    color: rgba(31, 41, 55, 0.6);
}

.nav-btn:not(.active):hover {
    color: #b43fe6;
}

.icon-box {
    position: relative;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    transition: width 0.38s cubic-bezier(0.34, 1.2, 0.64, 1), height 0.38s cubic-bezier(0.34, 1.2, 0.64, 1), font-size 0.3s ease, transform 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.nav-text {
    display: block;
    width: 100%;
    color: currentColor;
    font-size: 8.5px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0;
    transition: font-size 0.3s ease, opacity 0.3s ease;
}

/* Aktif öğe: kapsül değil, ikon dairesi */
.nav-btn.active {
    color: #fff;
}

.nav-btn.active .icon-box {
    color: #fff;
    background: linear-gradient(135deg, #9422c5 0%, #7916a3 100%);
    box-shadow: 0 8px 20px rgba(121, 22, 163, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Scroll küçülme: aşağı kaydırınca tüm bar küçülür, yukarı kaydırınca tam boyuta döner */
.bottom-nav.nav-shrink {
    width: 72%;
    max-width: 310px;
    height: 50px;
    padding: 0 7px;
    gap: 2px;
    border-radius: 23px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.bottom-nav.nav-shrink .nav-btn {
    height: 42px;
    gap: 2px;
}

.bottom-nav.nav-shrink .icon-box {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.bottom-nav.nav-shrink .nav-text {
    font-size: 7px;
}

/* Ürün sayfası: mobil dock → fiyat + sepete ekle */
.bottom-nav--pdp {
    width: min(96%, 440px);
    max-width: 440px;
    height: auto;
    min-height: 60px;
    padding: 10px 12px;
    gap: 12px;
    border-radius: 999px;
    justify-content: space-between;
    align-items: center;
    background: var(--header-bg, rgba(18, 22, 20, 0.72));
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

html.light-theme .bottom-nav--pdp {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(17, 24, 39, 0.1);
    box-shadow: 0 14px 44px rgba(17, 24, 39, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.dock-pdp-price {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.1;
    padding-left: 2px;
}

.dock-pdp-price .price-old {
    font-size: 0.68rem;
    color: rgba(241, 230, 245, 0.5);
    text-decoration: line-through;
}

html.light-theme .dock-pdp-price .price-old {
    color: rgba(31, 41, 55, 0.42);
}

.dock-pdp-price strong {
    font-family: 'Sora', var(--font-display, sans-serif);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.dock-pdp-price strong small {
    font-size: 0.55em;
    font-weight: 800;
    color: var(--site-primary, #9b17d4);
    margin-left: 0.1em;
}

html.light-theme .dock-pdp-price strong {
    color: #111827;
}

.dock-pdp-add {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 46px;
    max-width: 58%;
    padding: 0.6rem 1rem;
    border: 1.5px solid rgba(var(--accent-rgb), 0.65);
    border-radius: 999px;
    background: rgba(17, 8, 20, 0.35);
    color: var(--site-primary, #9b17d4);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

html.light-theme .dock-pdp-add {
    background: rgba(255, 255, 255, 0.45);
    color: #7916a3;
    border-color: rgba(121, 22, 163, 0.55);
    box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.18);
}

.dock-pdp-add i {
    font-size: 1.1rem;
}

.dock-pdp-add:hover:not(:disabled) {
    background: rgba(var(--accent-rgb), 0.12);
    border-color: rgba(var(--accent-rgb), 0.85);
    box-shadow: 0 0 26px rgba(var(--accent-rgb), 0.35);
}

.dock-pdp-add:active:not(:disabled) {
    transform: scale(0.98);
}

/* Bildirim Rozeti */
.badge {
    position: absolute;
    top: -6px;
    right: -9px;
    background: linear-gradient(135deg, #b43fe6, #7916a3);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(18, 22, 20, 0.85);
    box-shadow: 0 6px 16px rgba(121, 22, 163, 0.4);
}

html.light-theme .badge {
    border-color: rgba(255, 255, 255, 0.95);
}

.cart-flyer {
    position: fixed;
    left: 0;
    top: 0;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b43fe6, #7916a3);
    color: #fff;
    box-shadow: 0 18px 40px rgba(121, 22, 163, 0.32);
    z-index: 12000;
    pointer-events: none;
    will-change: transform, opacity;
}

.cart-flyer i {
    font-size: 1.2rem;
}

.cart-anchor-bump {
    animation: cartAnchorBump 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-badge-pop {
    animation: cartBadgePop 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-toast {
    position: fixed;
    left: 50%;
    bottom: max(24px, env(safe-area-inset-bottom, 0px) + 16px);
    transform: translate(-50%, 18px);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: min(90vw, 260px);
    max-width: min(92vw, 360px);
    padding: 0.95rem 1.1rem;
    border-radius: 16px;
    color: #f9f0fd;
    background: rgba(17, 24, 39, 0.94);
    border: 1px solid rgba(178, 74, 222, 0.28);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
    opacity: 0;
    z-index: 12000;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(14px);
}

.cart-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.cart-toast.is-error {
    border-color: rgba(248, 113, 113, 0.3);
}

.cart-toast i {
    font-size: 1.15rem;
    flex-shrink: 0;
}

@keyframes cartAnchorBump {
    0% { transform: scale(1); }
    35% { transform: scale(1.16); }
    100% { transform: scale(1); }
}

@keyframes cartBadgePop {
    0% { transform: scale(0.8); }
    45% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .mobile-nav-wrapper { display: flex; }
    .site-footer { padding-bottom: 100px; }
    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding-top: 2.4rem;
    }
    .foot-brand {
        grid-column: 1 / -1;
    }
    .foot-brand-desc {
        max-width: none;
    }
}
@media (max-width: 576px) {
    .foot-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }
    .foot-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .pay-chips {
        width: 100%;
    }
    .cart-flyer {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }
    .cart-toast {
        top: max(18px, env(safe-area-inset-top, 0px) + 8px);
        bottom: auto;
        transform: translate(-50%, -18px);
    }
    .cart-toast.show {
        transform: translate(-50%, 0);
    }
}

/* Logo Değişimi */
html.light-theme .logo-dark { display: none !important; }
html.light-theme .logo-light { display: inline-block !important; }
html.dark-theme .logo-light { display: none !important; }
html.dark-theme .logo-dark { display: inline-block !important; }

/* Font Awesome -> Remixicon (alt menu ikonlari): FA glifleri em kutusunu dolduruyordu, Remixicon glifleri
   24 birimlik izgarada ~%83; gorunen boyut eskisiyle ayni kalsin diye 1.2em (kutu boyutu ve line-height .icon-box'ta) */
.bottom-nav .icon-box > [class^="ri-"] {
    font-size: 1.2em;
}
