/**
 * LisansMod - Shared Global CSS
 * v2.5.5 — Premium Mobile Redesign
 */

/* ——————————————————————————————
   Material Symbols
—————————————————————————————— */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* ——————————————————————————————
   Navigation & Glass Surfaces
—————————————————————————————— */
.glass-nav {
    background: rgba(6, 11, 20, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.glass-bottom-nav {
    background: #060e1c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

/* ——————————————————————————————
   Hero & Background
—————————————————————————————— */
.hero-gradient {
    background: linear-gradient(160deg, #060B14 0%, #0A1222 60%, #0F1A2A 100%);
}

/* ——————————————————————————————
   Scrollbar Helpers
—————————————————————————————— */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ——————————————————————————————
   Category Bar — Fade-out edges (mobile only)
—————————————————————————————— */
.category-fade-wrap {
    position: relative;
}
@media (max-width: 1023px) {
    .category-fade-wrap::before,
    .category-fade-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 32px;
        z-index: 10;
        pointer-events: none;
    }
    .category-fade-wrap::before {
        left: 0;
        background: linear-gradient(to right, #0A1222, transparent);
    }
    .category-fade-wrap::after {
        right: 0;
        background: linear-gradient(to left, #0A1222, transparent);
    }
} /* desktop'ta gradient görünmez — v2.5.21 */

/* ——————————————————————————————
   Cards — Premium Surface
—————————————————————————————— */
.card-premium {
    background: rgba(26, 41, 66, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}
.card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 79, 0, 0.15);
    border-color: rgba(255, 79, 0, 0.2);
}
.card-premium:active {
    transform: translateY(-2px) scale(0.985);
}

/* ——————————————————————————————
   Mobile Drawer Menu
—————————————————————————————— */
#mobile-drawer {
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
#mobile-drawer.open {
    transform: translateX(0);
}
#drawer-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
#drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ——————————————————————————————
   Bottom Nav — Active State
—————————————————————————————— */
.bottom-nav-item .nav-icon {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}
.bottom-nav-item.active .nav-icon {
    color: #FF4F00;
    transform: translateY(-2px);
}
.bottom-nav-item.active .nav-label {
    color: #FF4F00;
}

/* ——————————————————————————————
   Thumbnail (Product Page)
—————————————————————————————— */
.thumb-active {
    box-shadow: 0 0 0 2px #FF4F00;
    opacity: 1;
}
.thumb-item {
    cursor: pointer;
    transition: all 0.2s;
}
.thumb-item:hover { opacity: 1; }
.thumb-item.selected {
    outline: 2px solid #FF4F00;
    opacity: 1;
}
.thumb-item:not(.selected) { opacity: 0.5; }

/* ——————————————————————————————
   Pill Search Input
—————————————————————————————— */
.search-pill {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.search-pill:focus-within {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 79, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 79, 0, 0.1);
}

/* ——————————————————————————————
   Add-to-Cart Button — Mobile
—————————————————————————————— */
.btn-cart-mobile {
    min-height: 48px;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-cart-mobile:active {
    transform: scale(0.94);
}

/* ——————————————————————————————
   Açık Çerçeve (U-Frame) Kart Tasarımı
   —————————————————————————————— */
.u-frame-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.u-frame-card {
    position: relative;
    border-radius: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.6); /* Tüm kartın gölgesi */
}

.u-frame-card:hover {
    box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.9);
}

.u-frame-card .image-container {
    position: relative;
    z-index: 20;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover'da resmin hafifçe yukarı sıçraması */
.u-frame-card:hover .image-container {
    transform: translateY(-10px) scale(1.02);
}

.u-frame-info {
    position: relative;
    z-index: 10;
    margin-top: -30px; 
    padding-top: 40px; 
    margin-left: 8px;  
    margin-right: 8px; 
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.01), rgba(255,255,255,0.025));
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.u-frame-card:hover .u-frame-info {
    border-color: rgba(255, 79, 0, 0.3);
    background: rgba(255, 255, 255, 0.04);
}
