/* ==========================================
   ESTARABIM TREND SHOP - DESIGN SYSTEM & STYLES
   ========================================== */

/* 1. Global Reset & Variables */
:root {
    --primary-color: #ff3366;
    --primary-glow: rgba(255, 51, 102, 0.4);
    --secondary-color: #1e1e24;
    --sidebar-bg: #fff0f3;
    --sidebar-active-bg: #fff0f3;
    --text-main: #2b2b30;
    --text-muted: #888890;
    --card-bg: #fff0f3;
    --card-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 20px 45px rgba(255, 51, 102, 0.15);
    --top-banner-height: 40px;
    --sidebar-width: 70px;
    --font-family: 'Outfit', sans-serif;
    --star-color: #ffcc00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: #f7f4f6;
    color: var(--text-main);
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 2. Top Banner (Kampanya ve Dalgalı Renk Geçişi) */
.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-left: var(--sidebar-width);
    height: var(--top-banner-height);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000000;
}

.banner-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff0055, #7a00ff, #00e5ff, #ff0055);
    background-size: 300% 100%;
    opacity: 0.35;
    animation: waveGradient 6s ease infinite;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.banner-content:hover {
    transform: scale(1.02);
}

.banner-badge {
    background: #fff0f3;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    padding: 2px;
}

.banner-text {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.banner-arrow {
    width: 14px;
    height: 14px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.banner-content:hover .banner-arrow {
    transform: translateX(4px);
}

/* Keyframes for Top Banner Wave Gradient */
@keyframes waveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 3. Main Container Layout */
.main-container {
    display: flex;
    flex: 1;
    margin-top: 0; /* Sidebar en yukarıdan başlıyor */
    height: 100vh;
}

/* 4. Sol Menü (Sidebar) */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-top-right-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    z-index: 101;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
}

.logo-container {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.15);
}

#store-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-fallback {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
}

.nav-item {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

@media (min-width: 769px) {
    #feedbackNavBtn {
        position: absolute !important;
        bottom: 25px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

.nav-item i {
    width: 20px;
    height: 20px;
    stroke-width: 2px; /* Outline'ları daha belirgin yapmak için */
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover ve Aktif Durumu */
.nav-item:hover {
    color: var(--primary-color);
    background-color: var(--sidebar-active-bg);
}

.nav-item:hover i {
    transform: scale(1.1);
}

.nav-item.active {
    color: var(--primary-color);
    background-color: var(--sidebar-active-bg);
}

/* Premium Tooltip (Üzerine Gelince Açılan İsim Baloncuğu) */
.nav-item::after {
    content: attr(title);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: var(--secondary-color);
    color: white;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
}

.nav-item:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(18px);
}


/* 5. Content Area */
.content-area {
    margin-left: var(--sidebar-width);
    padding-top: var(--top-banner-height);
    flex: 1;
    position: relative;
    overflow-y: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Öncelikli arka plan görseli, yoksa yedek şık gradyan */
    background-image: url('assets/images/hero-bg.webp'), radial-gradient(circle at 80% 20%, #ffeaf0 0%, #f7f4f6 100%);
    transition: background-image 0.5s ease;
}

/* 6. Hero Section */
.hero-section {
    position: relative;
    z-index: 2;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 40px 30px 40px;
}

/* 7. Search Bar */
.search-container {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.search-form {
    display: flex;
    align-items: center;
    background: #fff0f3;
    border-radius: 50px;
    padding: 0 6px 0 24px;
    height: 56px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05), 0 2px 5px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.search-form:focus-within {
    transform: scale(1.02);
    box-shadow: 0 15px 45px rgba(255, 51, 102, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
    border-color: rgba(255, 51, 102, 0.15);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    background: transparent;
    font-family: var(--font-family);
    height: 44px;
    line-height: 44px;
}

.search-input::placeholder {
    color: #b0b0b8;
}

.search-button {
    background-color: var(--primary-color);
    border: none;
    outline: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.search-button:hover {
    transform: rotate(90deg);
    background-color: #e02253;
}

.search-button i {
    width: 20px;
    height: 20px;
}

/* 8. Floating Product Cards */
.floating-cards-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Kartlar hariç tıklamaları arkaya geçir */
    z-index: 5;
}

.product-card {
    position: absolute;
    width: 190px;
    background: var(--card-bg);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--card-shadow);
    pointer-events: auto; /* Kart tıklanabilir ve hover edilebilir olsun */
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    user-select: none;
}

/* Kart Görsel Bölgesi */
.product-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: #f4f4f6;
}

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

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #a0a0b0;
    background: linear-gradient(135deg, #fbfafc, #eae7ec);
}

.img-placeholder i {
    width: 28px;
    height: 28px;
}

.img-placeholder span {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Kart Detay Bölgesi */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 2px 4px;
}

.product-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stars {
    display: flex;
    gap: 1px;
}

.stars i, .stars svg {
    width: 10px;
    height: 10px;
    color: #e0e0e8;
}

.stars i.filled, .stars svg.filled {
    color: var(--star-color);
    fill: var(--star-color);
}

.review-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Floating Animations & Positions (Desktop) */
@keyframes bobbing-1 {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}
@keyframes bobbing-2 {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}
@keyframes bobbing-3 {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -9px; }
}
@keyframes bobbing-4 {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
}
@keyframes bobbing-5 {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}
@keyframes bobbing-6 {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

/* Kartların Bireysel Konumları */
.card-1 {
    top: 12%;
    left: 10%;
    animation: bobbing-1 5s ease-in-out infinite;
}

.card-5 {
    top: 10%;
    left: 28%;
    animation: bobbing-5 4.8s ease-in-out infinite;
}

.card-6 {
    top: 12%;
    right: 32%;
    animation: bobbing-6 5.8s ease-in-out infinite;
}

.card-4 {
    top: 11%;
    right: 10%;
    animation: bobbing-4 6.5s ease-in-out infinite;
}

.card-2 {
    bottom: 12%;
    left: 16%;
    animation: bobbing-2 6s ease-in-out infinite;
}

.card-3 {
    bottom: 11%;
    right: 18%;
    animation: bobbing-3 5.5s ease-in-out infinite;
}

/* Hover Davranışları */
.product-card:hover {
    animation-play-state: paused;
    transform: scale(1.08) rotate(0deg) translateY(-8px) !important;
    box-shadow: var(--card-shadow-hover);
    z-index: 12;
}

/* 9. Slider Dots (Pagination) */
.slider-dots {
    display: flex;
    gap: 8px;
    align-self: center;
    margin-bottom: 20px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: var(--primary-color);
}

.dot.active {
    background-color: #475569;
    transform: scale(1.2);
}

@media (max-width: 1366px) {
    .hero-bg-layer {
        background-size: cover !important;
    }
    .product-card {
        width: 160px !important;
    }
    .card-1 { left: 8% !important; top: 12% !important; bottom: auto !important; }
    .card-5 { left: 26% !important; top: 10% !important; bottom: auto !important; }
    .card-6 { right: 29% !important; top: 12% !important; bottom: auto !important; }
    .card-4 { right: 8% !important; top: 11% !important; bottom: auto !important; }
    .card-2 { left: 14% !important; bottom: 12% !important; top: auto !important; }
    .card-3 { right: 16% !important; bottom: 11% !important; top: auto !important; }
}

/* 10. Responsive Design */
@media (max-width: 1024px) {
    .product-card {
        width: 160px;
    }
    .card-1 { left: 10%; top: 15%; }
    .card-2 { left: 28%; bottom: 6%; }
    .card-3 { right: 18%; bottom: 8%; }
    .card-4 { right: 12%; top: 12%; }
    .card-5 { left: 4%; bottom: 15%; }
    .card-6 { right: 3%; bottom: 25%; }
    
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 15px !important;
    }
    .shop-product-card {
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .cart-page-layout,
    .offers-page-layout,
    .favorites-page-layout {
        padding: 20px 15px !important;
    }
    /* Mobilde veya Küçük Ekranlarda Grid Düzenine Geçiş */
    .top-banner {
        left: 0;
        border-top-left-radius: 0;
    }
    
    .sidebar {
        width: 100% !important;
        height: 60px !important;
        display: flex !important;
        flex-direction: row !important;
        padding: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        border-right: none !important;
        border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
        background: #fff0f3 !important;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.03) !important;
    }
    
    .logo-container {
        display: none !important;
    }
    
    .sidebar-nav {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center !important;
        width: 100% !important;
        height: 100% !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 10px !important;
        flex: none !important;
    }
    
    .nav-item {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        margin: 0 !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-item.active::before {
        display: none !important;
    }
    
    .top-banner {
        padding-left: 0;
    }
    
    .content-area {
        margin-left: 0;
        padding-top: var(--top-banner-height);
        padding-bottom: 60px; /* Sidebar payı */
        padding-left: 10px !important;
        padding-right: 10px !important;
        overflow-y: auto;
    }
    
    .hero-section {
        padding: 20px 15px;
        justify-content: flex-start;
        gap: 30px;
        height: auto;
        min-height: calc(100vh - var(--top-banner-height) - 60px);
    }
    
    .search-container {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 380px !important;
        margin: 0 !important;
        z-index: 15 !important;
    }
    
    .floating-cards-container {
        position: relative;
        display: block !important;
        height: 540px !important;
        pointer-events: auto;
        padding: 0;
        margin: 20px 0;
    }
    
    .product-card {
        position: absolute !important;
        width: 95px !important;
        padding: 5px !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
        height: auto !important; /* Dikey uzamayı kesin olarak engelle */
    }
    
    .product-card .product-title {
        font-size: 0.68rem !important;
        margin-top: 2px !important;
    }
    
    .product-card .product-rating {
        font-size: 0.6rem !important;
        gap: 2px !important;
        justify-content: flex-start !important;
    }

    .product-card .stars {
        gap: 0.5px !important;
    }

    .product-card .stars i,
    .product-card .stars svg {
        width: 7px !important;
        height: 7px !important;
    }

    .product-card .rating-count {
        display: none !important;
    }

    .product-card .product-image-wrapper {
        border-radius: 6px !important;
    }

    .product-card .wishlist-btn {
        top: 8px !important;
        right: 8px !important;
        width: 22px !important;
        height: 22px !important;
    }

    .product-card .wishlist-btn i {
        width: 12px !important;
        height: 12px !important;
    }

    /* Mobile coordinates for scattered look (3 cards above search bar, 3 cards below) */
    .card-1 { left: 4% !important; top: 2% !important; bottom: auto !important; transform: rotate(-5deg) !important; }
    .card-2 { right: 4% !important; top: 10% !important; bottom: auto !important; transform: rotate(4deg) !important; }
    .card-6 { left: 37% !important; top: 20% !important; bottom: auto !important; transform: rotate(2deg) !important; }
    .card-3 { left: 4% !important; top: 62% !important; bottom: auto !important; transform: rotate(-4deg) !important; }
    .card-4 { right: 4% !important; top: 68% !important; bottom: auto !important; transform: rotate(5deg) !important; }
    .card-5 { left: 36% !important; top: 76% !important; bottom: auto !important; transform: rotate(-2deg) !important; }
    
    .product-card:hover {
        transform: translateY(-5px) !important;
    }
    
    .slider-dots {
        position: absolute !important;
        top: calc(50% + 40px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        z-index: 20 !important;
        display: flex !important;
        gap: 8px !important;
    }

    /* Mobilde Ana Sayfa Özel Tek Ekran (Scrollsuz) Görünümü */
    body.home-page {
        overflow: hidden !important;
        height: 100vh !important;
        height: 100dvh !important;
    }

    body.home-page .main-container {
        height: 100vh !important;
        height: 100dvh !important;
        overflow: hidden !important;
    }

    body.home-page .content-area {
        height: calc(100vh - 60px) !important;
        height: calc(100dvh - 60px) !important;
        max-height: calc(100dvh - 60px) !important;
        padding-top: var(--top-banner-height) !important;
        padding-bottom: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: hidden !important;
        position: relative !important;
    }

    body.home-page .hero-section {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
    }

    body.home-page .floating-cards-container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        pointer-events: auto !important;
    }

    body.home-page .search-container {
        position: absolute !important;
        top: 48% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 360px !important;
        margin: 0 !important;
        z-index: 15 !important;
    }

    body.home-page .slider-dots {
        position: absolute !important;
        top: calc(48% + 38px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        z-index: 20 !important;
        display: flex !important;
        gap: 8px !important;
    }

    body.home-page .card-1 { left: 4% !important; top: 2% !important; bottom: auto !important; transform: rotate(-5deg) !important; }
    body.home-page .card-2 { right: 4% !important; top: 7% !important; bottom: auto !important; transform: rotate(4deg) !important; }
    body.home-page .card-6 { left: 37% !important; top: 15% !important; bottom: auto !important; transform: rotate(2deg) !important; }
    body.home-page .card-3 { left: 4% !important; top: 58% !important; bottom: auto !important; transform: rotate(-4deg) !important; }
    body.home-page .card-4 { right: 4% !important; top: 64% !important; bottom: auto !important; transform: rotate(5deg) !important; }
    body.home-page .card-5 { left: 36% !important; top: 70% !important; bottom: auto !important; transform: rotate(-2deg) !important; }

    body.home-page .store-footer {
        position: absolute !important;
        bottom: 4px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1px !important;
        padding: 4px 10px 6px 10px !important;
        margin: 0 !important;
        font-size: 0.68rem !important;
        z-index: 10 !important;
        border-top: none !important;
        background: transparent !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    
    .shop-product-card {
        padding: 8px !important;
        gap: 8px !important;
        height: auto !important;
    }
    
    .desktop-filters-group {
        display: none !important;
    }

    .shop-top-bar {
        padding: 10px 8px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .mobile-filter-trigger {
        display: block !important;
        flex: 0 0 42px !important;
        min-width: 0 !important;
    }
    
    .mobile-filter-trigger button {
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }
    
    .products-count {
        display: block !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: var(--text-muted) !important;
        text-align: center !important;
        white-space: nowrap !important;
        flex: 1 !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .sort-selector {
        flex: 1.3 !important;
        min-width: 0 !important;
        display: block !important;
    }

    .sort-selector .custom-sort-dropdown {
        width: 100% !important;
        min-width: 0 !important;
    }
    
    .sort-selector .sort-dropdown-btn {
        width: 100% !important;
        padding: 8px 6px !important;
        font-size: 0.72rem !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        gap: 4px !important;
    }
    
    .sort-selector .sort-dropdown-menu {
        min-width: 100% !important;
        width: 100% !important;
    }
}

/* =================================================================
   ESTARABIM E-COMMERCE & ADMIN PANEL ADDITIONAL STYLES
   ================================================================= */

/* 1. Ortak Butonlar ve Badge Sınıfları */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    background-color: #e02253;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--primary-glow);
}

.btn-secondary {
    background-color: #fff0f3;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.btn-secondary:hover {
    background-color: #f7f4f6;
    border-color: rgba(0, 0, 0, 0.15);
}

/* Sidebar Navigasyon Rozeti (Badge) */
.nav-item .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--sidebar-bg);
    animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* 2. Shop Page Layout (Ürün Listeleme & Filtreler) */
.shop-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 30px;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

/* Üst Yatay Yapışkan Filtre ve Sıralama Barı */
.shop-top-bar {
    position: sticky;
    top: 0;
    z-index: 95;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 240, 243, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 51, 102, 0.12);
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

/* Masaüstü Filtre Grubu & Mobil Kontroller */
.desktop-filters-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.mobile-filter-trigger {
    display: none;
}

.mobile-only-count {
    display: none;
}

/* Mobil Filtre Paneli (Varsayılan olarak masaüstünde gizli) */
.filter-sidebar {
    display: none;
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.close-filters-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.filter-group h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-label, .filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
}

.filter-label input[type="radio"], .filter-checkbox input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

/* Fiyat Filtresi */
.price-filter input[type="range"] {
    width: 100%;
    accent-color: var(--primary-color);
    margin-bottom: 8px;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.clear-filters-btn {
    background-color: #f7f4f6;
    color: var(--text-muted);
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    background-color: var(--sidebar-active-bg);
    color: var(--primary-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.top-bar-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.08);
    margin: 0 2px;
}

/* Ürün Sayısı Rozeti */
.products-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.85rem;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    white-space: nowrap;
}

.products-count-badge .badge-icon {
    width: 15px;
    height: 15px;
    color: var(--primary-color);
}

/* Filtre Açılır Butonları */
.filter-dropdown-wrapper {
    position: relative;
}

.filter-bar-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    white-space: nowrap;
}

.filter-bar-btn:hover, .filter-bar-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(255, 51, 102, 0.08);
}

.filter-bar-btn.is-active {
    border-color: var(--primary-color);
    background: rgba(255, 51, 102, 0.08);
    color: var(--primary-color);
    font-weight: 700;
}

.filter-bar-btn .btn-icon {
    width: 15px;
    height: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.filter-bar-btn .chevron-icon {
    width: 13px;
    height: 13px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.filter-bar-btn.active .chevron-icon {
    transform: rotate(180deg);
}

/* Filtre Açılır Menüleri */
.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: #ffffff;
    border: 1px solid rgba(255, 51, 102, 0.15);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 120;
}

.filter-dropdown-menu.show {
    display: flex;
    animation: slideDownFade 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.filter-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-dropdown-list {
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-right: 4px;
}

.category-dropdown-item, .subcategory-dropdown-item {
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.category-dropdown-item:hover, .subcategory-dropdown-item:hover {
    background: #fff0f3;
}

.category-dropdown-item.active {
    background: rgba(255, 51, 102, 0.08);
    color: var(--primary-color);
    font-weight: 700;
}

.subcategory-dropdown-wrapper {
    padding-left: 12px;
    margin-top: 3px;
    margin-bottom: 3px;
    border-left: 2px solid rgba(255, 51, 102, 0.25);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.subcategory-dropdown-item {
    font-size: 0.82rem;
}

.filter-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-main);
    user-select: none;
}

.filter-radio-label input[type="radio"] {
    accent-color: var(--primary-color);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* Fiyat Menüsü & Slider */
.price-menu {
    width: 270px;
    padding: 12px;
}

.price-val-badge {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.9rem;
}

.price-slider-box {
    padding: 10px 4px 4px;
}

.price-slider-box input[type="range"] {
    width: 100%;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Kapıda Ödeme Toggle Hap Butonu */
.filter-pill-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    white-space: nowrap;
}

.filter-pill-toggle:hover {
    border-color: #2b8a3e;
    color: #2b8a3e;
}

.filter-pill-toggle.is-active {
    background: rgba(43, 138, 62, 0.1);
    border-color: #2b8a3e;
    color: #2b8a3e;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(43, 138, 62, 0.12);
}

.filter-pill-toggle .pill-icon {
    width: 15px;
    height: 15px;
}

/* Filtreleri Temizle Butonu */
.clear-filters-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.2);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
    white-space: nowrap;
}

.clear-filters-pill:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.clear-filters-pill svg {
    width: 13px;
    height: 13px;
}

/* --- Custom Sort Dropdown Styles --- */
.custom-sort-dropdown {
    position: relative;
    width: 300px;
    z-index: 100;
}

.sort-dropdown-btn {
    width: 100%;
    background: #fff0f3;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.sort-dropdown-btn:hover, .sort-dropdown-btn.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.05);
}

.sort-dropdown-btn .sort-icon {
    width: 16px;
    height: 16px;
    color: var(--text-main);
    opacity: 0.8;
    flex-shrink: 0;
}

.sort-dropdown-btn .chevron-icon {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.sort-dropdown-btn.active .chevron-icon {
    transform: rotate(180deg);
}

.selected-sort-label {
    flex: 1;
    text-align: left;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.sort-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 100%;
    min-width: 220px;
    background: #fff0f3;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
}

.sort-dropdown-menu.show {
    display: flex;
    animation: slideDownFade 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sort-option {
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.sort-option:hover {
    background: var(--sidebar-active-bg);
    color: var(--primary-color);
}

.sort-option.active {
    background: var(--sidebar-active-bg);
    color: var(--primary-color);
    font-weight: 700;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ürün Grid ve Kartı (6 Kolonlu Genişletilmiş Tasarım) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    flex: 1;
    align-content: start;
    width: 100%;
}

@media (max-width: 1440px) {
    .products-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 1180px) {
    .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

.shop-product-card {
    background: #fff0f3;
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    height: auto;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.shop-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.card-img-wrapper {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f4f4f6;
    cursor: pointer;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #fff0f3;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: var(--text-muted);
    transition: all 0.3s ease;
    z-index: 6;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

.wishlist-btn.active {
    color: var(--primary-color);
}

.wishlist-btn.active svg {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

.wishlist-btn i {
    width: 15px;
    height: 15px;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.product-brand {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.product-name:hover {
    color: var(--primary-color);
}

.card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 4px;
}

.product-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
}

.shop-product-card .add-to-cart-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 3. Product Detail Page Layout */
.product-detail-layout {
    width: 100%;
    padding: 30px;
    max-width: 1550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

.back-nav {
    display: flex;
}

.btn-back {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.btn-back:hover {
    color: var(--primary-color);
}

.detail-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
    background: #fff0f3;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    max-width: 1100px;
    width: 100%;
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    height: 100%;
}

.main-image-wrapper {
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    background-color: #f4f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.thumbnail-list {
    display: flex;
    gap: 15px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item.active {
    border-color: var(--primary-color);
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-brand {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.detail-rating-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 10px;
    margin-left: -10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.detail-rating-row:hover {
    background-color: var(--sidebar-active-bg);
}

.star-rating-item {
    color: #ccc !important;
    fill: transparent !important;
    transition: color 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                fill 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer;
}

.star-rating-item[data-star="1"] { transition-delay: 0.0s !important; }
.star-rating-item[data-star="2"] { transition-delay: 0.04s !important; }
.star-rating-item[data-star="3"] { transition-delay: 0.08s !important; }
.star-rating-item[data-star="4"] { transition-delay: 0.12s !important; }
.star-rating-item[data-star="5"] { transition-delay: 0.16s !important; }

.star-rating-item.selected,
.star-rating-item.hovered {
    color: #ffc107 !important;
    fill: #ffc107 !important;
    transform: scale(1.2) !important;
}

.detail-reviews {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.detail-description-short {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.detail-action-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

/* Adet Seçici */
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff0f3;
    width: 120px;
}

.qty-selector button {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: background-color 0.2s ease;
}

.qty-selector button:hover {
    background-color: #f7f4f6;
}

.qty-selector input[type="number"] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-family);
    -moz-appearance: textfield;
}

.qty-selector input[type="number"]::-webkit-outer-spin-button,
.qty-selector input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-big-btn {
    flex: 1;
    padding: 12px;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.share-big-btn, .fav-big-btn {
    background: #fff0f3;
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.share-big-btn:hover, .fav-big-btn:hover {
    color: var(--primary-color);
    background-color: var(--sidebar-active-bg);
}

.fav-big-btn.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.fav-big-btn.active svg {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

/* WhatsApp Bilgi Butonu */
.whatsapp-ask-row {
    margin-top: 10px;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

/* Detay Sekmeleri */
.detail-tabs {
    margin-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 25px;
}

.tab-headers {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.tab-link {
    background: transparent;
    border: none;
    outline: none;
    padding-bottom: 10px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-family);
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.tab-link.active {
    color: var(--text-main);
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.tab-content.active {
    display: block;
}

/* 4. Cart Page Layout (Sepet ve Ödeme) */
.cart-page-layout {
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Ortak Sayfa Başlıkları Standardı */
.cart-page-layout .page-title,
.offers-page-layout .page-title,
.favorites-page-layout .page-title {
    font-size: 2rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-top: 0px !important;
    margin-bottom: 20px !important;
    color: var(--text-main) !important;
    letter-spacing: -0.5px !important;
}

.cart-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.cart-items-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Sepet Kartları */
.cart-item {
    background: #fff0f3;
    border-radius: 18px;
    padding: 15px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f4f4f6;
}

.cart-item-cod-ribbon {
    position: absolute;
    top: 12px;
    left: -24px;
    background-color: #2b8a3e;
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    text-align: center;
    width: 85px;
    padding: 3px 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
}

.cart-item-qty {
    display: flex;
    align-items: center;
}

.cart-item-qty .qty-selector {
    width: 90px !important;
    min-width: 90px !important;
    flex: none !important;
}

.cart-item-qty .qty-selector button {
    width: 30px;
    height: 30px;
}

.cart-item-qty .qty-selector span {
    width: 30px;
    text-align: center;
    font-weight: 600;
}

.cart-item-total {
    font-weight: 700;
    min-width: 80px;
    text-align: right;
    font-size: 0.95rem;
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: #b0b0b8;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-remove-item:hover {
    color: #ff3333;
}

/* Sağ Kolon Özet & Form */
.cart-summary-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.2s ease;
}
.cart-summary-column.is-empty {
    opacity: 0.5;
    pointer-events: none;
}

.summary-card, .checkout-card {
    background: #fff0f3;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--card-shadow);
}

.summary-card h2, .checkout-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.summary-row.total-row {
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 800;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input, .form-group textarea, .form-group select {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: var(--font-family);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--sidebar-active-bg);
}

.form-group textarea {
    height: 90px;
    resize: none;
}

.btn-checkout {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
    justify-content: center;
}

/* Boş Durum (Empty State) */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    text-align: center;
    background: #fff0f3;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    gap: 15px;
}

.empty-state i {
    width: 48px;
    height: 48px;
    color: #cbd5e1;
}

.empty-state h2 {
    font-size: 1.3rem;
    font-weight: 700;
}

.empty-state p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 320px;
    margin-bottom: 10px;
}

/* 5. Ödeme/Sipariş Başarı Modalı */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-backdrop.show {
    display: flex;
}

.success-modal {
    background: #fff0f3;
    width: 90%;
    max-width: 520px;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e6f7ed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.success-icon {
    width: 36px;
    height: 36px;
    color: #4caf50;
}

.success-modal h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.iban-info-box {
    width: 100%;
    background-color: #f7f4f6;
    border-radius: 16px;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(255, 51, 102, 0.05);
    margin-bottom: 15px;
}

.iban-field {
    font-size: 0.85rem;
    color: var(--text-main);
}

.iban-copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff0f3;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    padding: 6px 12px;
    margin-top: 4px;
}

.iban-text {
    font-weight: 700;
    font-family: monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.btn-copy {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.btn-copy:hover {
    color: var(--primary-color);
}

.ref-code {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.modal-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff9e6;
    border-radius: 10px;
    padding: 10px 14px;
    color: #b38600;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: left;
    width: 100%;
    margin-bottom: 15px;
}

.modal-warning i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.modal-whatsapp-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.btn-modal-wa {
    background-color: #25d366;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-modal-wa:hover {
    background-color: #20ba59;
}

.btn-modal-close {
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-muted);
    padding: 10px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-family);
}

.btn-modal-close:hover {
    background-color: #f7f4f6;
    color: var(--text-main);
}

/* 6. Admin Panel Styles */
.admin-body {
    background-color: #f3f2f5;
    font-family: var(--font-family);
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-header {
    background-color: #000000;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 100;
    position: relative;
    overflow: hidden;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-fallback.mini {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 10px var(--primary-glow);
}

.admin-brand h1 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-session {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.btn-logout-header {
    background: transparent;
    border: 1px solid rgba(255, 51, 102, 0.15);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 8px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-logout-header:hover {
    background-color: var(--sidebar-active-bg);
}

/* Admin Dashboard Layout */
.admin-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.admin-sidebar {
    width: 240px;
    background-color: #fff0f3;
    border-right: 1px solid rgba(0,0,0,0.05);
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.btn-logout-sidebar {
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 10px;
    width: 100%;
    text-align: left;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9rem;
    color: #fa5252;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-logout-sidebar:hover {
    background-color: #fff5f5;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-nav-item {
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 10px;
    width: 100%;
    text-align: left;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-nav-item:hover {
    background-color: #f7f4f6;
    color: var(--text-main);
}

.admin-nav-item.active {
    background-color: var(--sidebar-active-bg);
    color: var(--primary-color);
}

.admin-main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.admin-panel {
    display: none;
    flex-direction: column;
    gap: 25px;
}

.admin-panel.active {
    display: flex;
}

.panel-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
}

.panel-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Admin Tabloları */
.orders-table-wrapper, .table-wrapper {
    background-color: #fff0f3;
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.02);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background-color: #fbfafc;
    padding: 14px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.admin-table td {
    padding: 14px 20px;
    font-size: 0.85rem;
    color: var(--text-main);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.compact-dashboard-table th {
    padding: 6px 10px !important;
    font-size: 0.7rem !important;
}
.compact-dashboard-table td {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
}

.table-loading, .table-empty {
    text-align: center;
    padding: 40px !important;
    color: var(--text-muted);
    font-weight: 500;
}

.text-center {
    text-align: center !important;
}

.table-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f4f4f6;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.table-thumbnail.js-zoomable-thumb {
    cursor: zoom-in;
}

.table-thumbnail.js-zoomable-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.table-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* Sipariş Durum Etiketleri */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-badge.status-pending { background-color: #fff4e6; color: #ff922b; }
.status-badge.status-preparing { background-color: #f3f0ff; color: #7950f2; }
.status-badge.status-paid { background-color: #e6f7ed; color: #4caf50; }
.status-badge.status-shipped { background-color: #e7f5ff; color: #228be6; }
.status-badge.status-delivered { background-color: #d3f9d8; color: #2b8a3e; }
.status-badge.status-cancelled { background-color: #ffe3e3; color: #fa5252; }

.order-status-select {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-family);
    outline: none;
    border: 1px solid transparent;
    min-width: 140px;
    cursor: pointer;
    text-align: center;
    text-align-last: center;
    transition: all 0.2s ease;
}

.order-status-select option {
    background-color: #fff0f3;
    color: var(--text-main);
    font-weight: 500;
}

.order-status-select.status-pending { background-color: #fff4e6; color: #ff922b; border-color: rgba(255, 146, 43, 0.15); }
.order-status-select.status-preparing { background-color: #f3f0ff; color: #7950f2; border-color: rgba(121, 80, 242, 0.15); }
.order-status-select.status-paid { background-color: #e6f7ed; color: #4caf50; border-color: rgba(76, 175, 80, 0.15); }
.order-status-select.status-shipped { background-color: #e7f5ff; color: #228be6; border-color: rgba(34, 139, 230, 0.15); }
.order-status-select.status-delivered { background-color: #d3f9d8; color: #2b8a3e; border-color: rgba(43, 138, 62, 0.15); }
.order-status-select.status-cancelled { background-color: #ffe3e3; color: #fa5252; border-color: rgba(250, 82, 82, 0.15); }


.btn-action-view, .btn-action-edit, .btn-action-delete {
    background: transparent;
    border: none;
    font-family: var(--font-family);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 8px;
}

.btn-action-view { color: #228be6; }
.btn-action-edit { color: #4caf50; }
.btn-action-delete { color: #fa5252; }

/* Admin Ürün Yönetim Düzeni (Altlı Üstlü Düzen) */
.product-management-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.admin-top-split-layout {
    display: grid;
    grid-template-columns: 1fr 3fr; /* Kategori Ekle (%25), Ürün Ekle (%75) */
    gap: 30px;
    width: 100%;
    align-items: start;
}

.product-form-card, .product-list-card, .category-form-card {
    background-color: #fff0f3;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    width: 100%;
}

.category-form-card, .product-form-card {
    height: 760px;
    display: flex;
    flex-direction: column;
}

.prod-options-toggles-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.prod-options-toggles-row .set-product-toggle {
    margin-left: auto;
}

.product-form-card h3, .product-list-card h3, .category-form-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.product-list-card .table-wrapper {
    box-shadow: none;
    border: none;
    border-radius: 0;
    overflow-x: auto;
    margin-top: 15px;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-form .form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.admin-form .form-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    align-items: start;
}

.admin-form .form-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    width: 100%;
}

.admin-form label {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    height: 18px;
    line-height: 18px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-form input,
.admin-form select {
    width: 100%;
    height: 42px;
    min-height: 42px;
    box-sizing: border-box;
    padding: 0 11px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    outline: none;
    font-family: var(--font-family);
    font-size: 0.85rem;
    color: var(--text-main);
    background-color: #fff0f3;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.admin-form textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    outline: none;
    font-family: var(--font-family);
    font-size: 0.85rem;
    color: var(--text-main);
    background-color: #fff0f3;
    transition: all 0.2s ease;
    resize: vertical;
    min-height: 54px;
    height: 54px;
    box-sizing: border-box;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.1);
}

/* Dosya Yükleme (Görsel Seçici) Tasarımı - Input Kutusuyla Eşit Yükseklik ve Hizada */
.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    min-height: 42px;
    box-sizing: border-box;
    background-color: #fff0f3;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 4px 8px;
    transition: all 0.2s ease;
}

.file-upload-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.1);
}

.custom-file-upload {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.custom-file-upload:hover {
    background-color: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.custom-file-upload i {
    width: 15px;
    height: 15px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.custom-file-upload:hover i {
    color: var(--primary-color);
}

.file-name-preview {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* Ana Kategoriler Dikey Liste Tasarımı */
.category-pill-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #f8f9fa;
    color: var(--text-main);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    user-select: none;
}

.category-pill-tag:hover {
    background-color: var(--sidebar-active-bg);
    color: var(--primary-color);
    border-color: rgba(255, 51, 102, 0.15);
}

.category-pill-tag.selected-main {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 51, 102, 0.2);
    border-color: transparent;
}


.admin-form .form-actions {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 5px;
}

.admin-form .btn-save {
    flex: 2.5;
    padding: 8px;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.9rem;
}

.btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    background-color: #f1f3f5;
    color: var(--text-muted);
    border: none;
    padding: 8px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background-color: #e9ecef;
    color: var(--text-main);
}


/* Admin Login Sayfası */
.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background-color: #1e1e24;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    text-align: center;
    border: 1px solid rgba(255,51,102,0.1);
}

.login-logo {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px var(--primary-glow);
}

.login-card h1 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.login-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.firebase-warning-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: rgba(255, 51, 102, 0.08);
    border: 1px solid rgba(255, 51, 102, 0.2);
    border-radius: 10px;
    padding: 12px;
    text-align: left;
    font-size: 0.75rem;
    color: #ff4d79;
    margin-bottom: 20px;
}

.firebase-warning-box i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.login-form label {
    color: #e0e0e8;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.input-icon-wrapper input {
    background-color: #121216;
    border: 1px solid rgba(255,255,255,0.06);
    color: white;
    padding-left: 44px;
    width: 100%;
}

.input-icon-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    background-color: #0f0f12;
}

.login-error-message {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fa5252;
    background-color: rgba(250, 82, 82, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
}

.btn-login {
    width: 100%;
    padding: 12px;
    justify-content: center;
}

.login-footer {
    margin-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.login-footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.login-footer a:hover {
    color: var(--primary-color);
}

/* Admin Detay Modalı */
.admin-modal {
    background: #fff0f3;
    width: 90%;
    max-width: 760px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
}

.btn-modal-close-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 26px;
}

.customer-info-box, .order-items-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.customer-info-box h3, .order-items-box h3 {
    font-size: 0.95rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.customer-info-box p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.modal-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
    font-size: 0.85rem;
}

.modal-order-item:last-of-type {
    border-bottom: none;
}

.modal-order-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.modal-order-item-thumb {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
    cursor: zoom-in;
    transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, border-color 0.2s ease;
}

.modal-order-item-thumb:hover {
    transform: scale(1.12);
    box-shadow: 0 5px 14px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.modal-order-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Görsel Büyütme (Image Zoom Lightbox) */
.image-zoom-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    cursor: zoom-out;
}

.image-zoom-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.image-zoom-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.35);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.25s ease;
    cursor: default;
}

.image-zoom-backdrop.show .image-zoom-container {
    transform: scale(1);
    opacity: 1;
}

.image-zoom-img-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 10px;
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15);
    max-width: 85vw;
    max-height: 80vh;
}

.image-zoom-img {
    max-width: 80vw;
    max-height: 72vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    cursor: zoom-out;
}

.image-zoom-caption {
    margin-top: 14px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    text-align: center;
    max-width: 85vw;
    word-break: break-word;
}

.image-zoom-close {
    position: absolute;
    top: -16px;
    right: -16px;
    background: #ffffff;
    color: #333333;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.image-zoom-close:hover {
    transform: scale(1.12);
    background-color: var(--primary-color, #ff3366);
    color: #ffffff;
}

.modal-order-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.modal-order-item-title {
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
    font-size: 0.85rem;
    word-break: break-word;
}

.modal-order-item-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.modal-order-item-price {
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    text-align: right;
    font-size: 0.9rem;
    margin-left: 8px;
}

.total-row-modal {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.total-row-modal.grand-total {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 800;
}

/* 7. E-Commerce Responsive Adaptations */
@media (max-width: 1024px) {
    .detail-main-wrapper {
        gap: 20px !important;
    }

    .detail-container {
        gap: 30px;
        padding: 24px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .detail-gallery, .detail-info {
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .main-image-wrapper {
        width: 100% !important;
        max-width: 450px !important;
        margin: 0 auto !important;
    }
    
    .main-image-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
    
    .detail-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .shop-layout {
        flex-direction: column;
        padding: 15px;
    }
    
    .desktop-filters-group {
        display: none !important;
    }

    .mobile-filter-trigger {
        display: block !important;
    }

    .mobile-only-count {
        display: block !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        color: var(--text-muted) !important;
        text-align: center !important;
        white-space: nowrap !important;
        flex: 1 !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .shop-top-bar {
        padding: 10px 12px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex-wrap: nowrap !important;
    }

    .sort-selector {
        flex: 0 0 auto !important;
        max-width: 150px !important;
    }

    .sort-selector .custom-sort-dropdown {
        width: 100% !important;
        min-width: 0 !important;
    }

    .sort-selector .sort-dropdown-btn {
        width: 100% !important;
        padding: 8px 8px !important;
        font-size: 0.72rem !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        gap: 4px !important;
    }
    
    /* Mobil Filtre Paneli Sürgülü Bottom Sheet */
    .filter-sidebar {
        display: flex !important;
        position: fixed !important;
        bottom: -100% !important;
        left: 0 !important;
        width: 100% !important;
        height: 70vh !important;
        z-index: 1000 !important;
        border-radius: 24px 24px 0 0 !important;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.15) !important;
        transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
        overflow-y: auto !important;
        background: #fff0f3 !important;
        padding: 24px !important;
        flex-direction: column !important;
        gap: 25px !important;
        box-sizing: border-box !important;
    }
    
    .filter-sidebar.open {
        bottom: 0 !important;
    }
    
    .close-filters-btn {
        display: block !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .shop-product-card {
        padding: 8px !important;
        gap: 8px !important;
        height: auto !important;
    }
    
    .detail-container {
        padding: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .cart-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cart-item {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .cart-item-total {
        width: 100%;
        text-align: left;
        order: 4;
        border-top: 1px dashed rgba(0,0,0,0.03);
        padding-top: 8px;
    }
    
    .cart-item-qty {
        order: 3;
    }
    
    .form-grid, .form-grid-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .prod-options-toggles-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    
    .prod-options-toggles-row .set-product-toggle {
        margin-left: 0 !important;
    }
    
    .admin-top-split-layout, .dashboard-split-grid {
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .dashboard-split-grid > div {
        flex: 1 1 100% !important;
        min-width: 0 !important;
    }
    
    .category-form-card, .product-form-card {
        height: auto !important;
        min-height: auto !important;
    }
    
    .admin-brand h1 {
        font-size: 1.1rem !important;
    }

    .admin-layout {
        flex-direction: column;
        overflow: hidden;
    }
    
    .admin-sidebar {
        width: 100%;
        padding: 12px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background-color: #fff0f3;
        transition: all 0.3s ease;
    }

    .admin-mobile-bar {
        display: flex !important;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }
    
    .admin-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 5px;
        margin-top: 12px;
    }
    
    .admin-nav-item {
        width: 100%;
        padding: 12px 18px;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .admin-sidebar-footer {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 5px;
        margin-top: 10px;
        border-top: 1px solid rgba(0,0,0,0.05);
        padding-top: 10px;
    }

    .admin-sidebar.menu-open .admin-nav,
    .admin-sidebar.menu-open .admin-sidebar-footer {
        display: flex;
    }

    .admin-sidebar.menu-open #mobileChevronIcon {
        transform: rotate(180deg);
    }

    .admin-sidebar-footer .admin-nav-item,
    .admin-sidebar-footer .btn-logout-sidebar {
        width: 100%;
        padding: 12px 18px;
        margin-bottom: 0 !important;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
    }

    .admin-main-content {
        padding: 15px;
    }
    
    .modal-details-grid {
        grid-template-columns: 1fr;
    }

    .product-form-card, .category-form-card {
        min-width: 100% !important;
        width: 100% !important;
    }
}

/* =================================================================
   ESTARABIM OFFERS & CAMPAIGNS STYLES
   ================================================================= */
.offers-page-layout {
    padding: 15px 30px 5px 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.favorites-page-layout {
    padding: 15px 30px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.favorites-page-layout .products-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.offers-grid {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
    flex: 1;
}

.offer-card {
    background: #fff0f3;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: auto;
    flex: 1 1 320px;
    max-width: 450px;
    width: 100%;
    box-sizing: border-box;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(255, 51, 102, 0.08);
    border-color: rgba(255, 51, 102, 0.1);
}

.offer-badge {
    align-self: flex-start;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    box-shadow: 0 4px 10px var(--primary-glow);
    margin-bottom: 2px;
}

/* Badge Renk Varyasyonları */
.offer-badge.bg-orange {
    background-color: #ff922b;
    box-shadow: 0 4px 10px rgba(255, 146, 43, 0.25);
}

.offer-badge.bg-purple {
    background-color: #7a00ff;
    box-shadow: 0 4px 10px rgba(122, 0, 255, 0.25);
}

.offer-badge.bg-cyan {
    background-color: #00d2e5;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 210, 229, 0.25);
}

.offer-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    margin-top: 0;
}

.offer-content h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.35;
}

.offer-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.offer-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.offer-date i {
    width: 14px;
    height: 14px;
}

.promo-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #fff5f7 0%, #fff0f3 100%);
    border: 1.5px dashed var(--primary-color);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.8rem;
    color: var(--text-main);
    margin: 8px 0;
    box-shadow: inset 0 2px 4px rgba(255, 51, 102, 0.01);
}

.promo-code-box strong {
    font-size: 0.95rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.offer-actions {
    margin-top: auto;
    padding-top: 8px;
}

.btn-offer {
    width: 100%;
    padding: 12px;
    justify-content: center;
    font-size: 0.9rem;
    border-radius: 12px;
    font-weight: 700;
}

/* Arka Plan Görseli Olan Kartlar İçin Premium Kontrast Ayarları */
.offer-card.has-bg-img {
    border: none;
}

.offer-card.has-bg-img .offer-content h2 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.offer-card.has-bg-img .offer-content p {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.offer-card.has-bg-img .offer-date {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.offer-card.has-bg-img .promo-code-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px dashed rgba(255, 255, 255, 0.4);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.offer-card.has-bg-img .promo-code-box strong {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.offer-card.has-bg-img .offer-badge {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Kaydırılabilir Dikey Liste Kutuları */
.scrollable-list {
    height: 280px; /* 5. öğenin alt sınır çizgisinin kusursuz görünmesi için yükseltildi */
    overflow-y: auto;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.scrollable-list::-webkit-scrollbar {
    width: 5px;
}
.scrollable-list::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.02);
    border-radius: 10px;
}
.scrollable-list::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.12);
    border-radius: 10px;
}
.scrollable-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
}

/* Kategori Silme Butonu */
.btn-delete-tag {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.btn-delete-tag:hover {
    background-color: rgba(250, 82, 82, 0.1);
    color: #fa5252;
}

.btn-delete-tag i {
    width: 14px;
    height: 14px;
}

/* Kategori Düzenleme Butonu */
.btn-edit-tag {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s ease;
    margin-left: 4px;
}

.btn-edit-tag:hover {
    background-color: rgba(74, 144, 226, 0.1);
    color: #4a90e2;
}

.btn-edit-tag i {
    width: 14px;
    height: 14px;
}

.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.custom-toast {
    background: rgba(255, 255, 255, 0.98);
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 380px;
    pointer-events: auto;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15), opacity 0.3s ease;
    opacity: 0;
}

.custom-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.custom-toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

.toast-icon.success {
    background-color: #e3faf2;
    color: #0ca678;
}

.toast-icon.warning {
    background-color: #fff3bf;
    color: #f08c00;
}

.toast-icon.error {
    background-color: #ffe3e3;
    color: #f03e3e;
}

.toast-icon i {
    width: 16px;
    height: 16px;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.toast-message {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background-color: rgba(0,0,0,0.05);
    color: var(--text-main);
}

.toast-close i {
    width: 14px;
    height: 14px;
}

/* --- Ürün Detay Seçenek Havuzu (Dışarıda, Sol Boşlukta) --- */
.detail-main-wrapper {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.detail-main-wrapper .detail-container {
    flex: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.options-selector-wrapper {
    position: relative;
    width: 100%;
    margin-top: 20px;
    font-family: var(--font-family);
    box-sizing: border-box;
    flex-shrink: 0;
}

.combobox-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    outline: none;
}

.combobox-trigger:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.combobox-trigger i {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.options-selector-wrapper.open .combobox-trigger i {
    transform: rotate(180deg);
}

.combobox-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 6px;
    background: #ffffff;
    border: 1px solid #eef0f6;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.combobox-search-box input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-family: var(--font-family);
    font-size: 0.85rem;
    outline: none;
    font-weight: 500;
    box-sizing: border-box;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Custom Scrollbar for options grid if options exceed space */
.options-grid::-webkit-scrollbar {
    width: 4px;
}
.options-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.options-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.combobox-option-item {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fdfdfd;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.combobox-option-item:hover {
    border-color: var(--primary-color);
    background: #fff0f3;
    color: var(--primary-color);
}

.combobox-option-item.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
}

.options-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid #eef0f6;
}

/* Mobil Uyum */
@media (max-width: 992px) {
    .detail-main-wrapper {
        gap: 20px;
    }
    
    .options-selector-wrapper {
        width: 100%;
        align-self: auto;
    }
    
    .options-grid {
        grid-template-columns: repeat(8, 1fr); /* Tablet/Mobilde daha yayvan olsun */
        max-height: none;
    }
}

@media (max-width: 576px) {
    .options-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* --- Global Store Footer --- */
.store-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    font-family: var(--font-family);
    letter-spacing: 0.5px;
    opacity: 0.7;
    padding: 15px 15px 10px 15px;
    margin-top: auto; /* Yapışkan (Sticky) Footer */
    border-top: 1px solid rgba(0,0,0,0.03);
    clear: both;
    position: relative;
    z-index: 10;
    transition: opacity 0.2s ease;
}

.store-footer:hover {
    opacity: 1;
}

.store-footer-separator {
    color: var(--text-muted);
    opacity: 0.5;
    font-size: 0.85rem;
}

.rockdev-credit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.rockdev-powered {
    font-weight: 500;
    opacity: 0.85;
}

.rockdev-credit:hover {
    color: var(--primary-color, #e02475);
    transform: translateY(-1px);
}

.rockdev-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
    transition: transform 0.25s ease;
}

.rockdev-credit:hover .rockdev-logo {
    transform: scale(1.18) rotate(6deg);
}

.rockdev-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .store-footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1px !important;
        padding: 4px 10px 6px 10px !important;
        margin-top: auto !important;
        margin-bottom: 0 !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        text-align: center !important;
        font-size: 0.68rem !important;
        border-top: none !important;
        background: transparent !important;
    }

    .store-footer-separator {
        display: block !important;
        font-size: 0.6rem !important;
        line-height: 1 !important;
        margin: 0 !important;
        opacity: 0.4 !important;
    }

    .rockdev-credit {
        font-size: 0.68rem !important;
        gap: 4px !important;
    }

    .rockdev-logo {
        width: 14px !important;
        height: 14px !important;
        vertical-align: middle !important;
    }
}

/* --- Admin Dashboard Overview CSS Rules --- */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: #fff0f3;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    width: 24px;
    height: 24px;
}

.stat-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-details h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    margin: 0;
}

.stat-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}/* =================================================================
   ESTARABIM RECOMMENDATIONS (OTHERS ALSO PURCHASED) CAROUSEL STYLES
   ================================================================= */
.recommendations-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.rec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.rec-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.rec-nav-arrows {
    display: flex;
    gap: 10px;
}

.rec-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f4f6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-main);
}

.rec-arrow-btn:hover {
    background: var(--primary-color);
    color: white;
}

.rec-arrow-btn svg {
    width: 18px;
    height: 18px;
}

.rec-carousel-container {
    overflow: hidden;
    width: 100%;
}

.rec-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Card Styles */
.rec-product-card {
    flex: 0 0 calc((100% - 60px) / 4); /* Desktop: 4 cards visible */
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rec-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f6f6f8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rec-product-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.rec-product-card:hover .rec-product-img {
    transform: scale(1.05);
}

.rec-card-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.rec-card-actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.rec-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff0f3;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.rec-card-actions .wishlist-btn {
    position: static !important;
    top: auto !important;
    right: auto !important;
}

.rec-action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.rec-action-btn.wishlist-btn.active {
    color: var(--primary-color);
}

.rec-action-btn.wishlist-btn.active svg {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

.rec-action-btn svg {
    width: 16px;
    height: 16px;
}

.rec-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rec-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rec-rating-row .stars {
    display: flex;
    gap: 2px;
}

.rec-rating-row .stars i, .rec-rating-row .stars svg {
    width: 12px;
    height: 12px;
    color: #e0e0e0;
    fill: #e0e0e0;
}

.rec-rating-row .stars i.filled, .rec-rating-row .stars svg.filled {
    color: #000;
    fill: #000;
}

.rec-rating-row .review-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rec-brand {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.rec-product-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 36px;
    line-height: 18px;
    cursor: pointer;
}

.rec-product-name:hover {
    color: var(--primary-color);
}

.rec-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.rec-price-row .product-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.rec-price-row .product-price.discounted {
    color: var(--primary-color);
}

.rec-price-row .original-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

@media (max-width: 992px) {
    .rec-product-card {
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

@media (max-width: 768px) {
    .rec-product-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
    
    .rec-title {
        font-size: 1.3rem;
    }
}

/* --- Mobile Product Detail Page Optimization --- */
@media (max-width: 576px) {
    .product-detail-layout {
        padding: 0 !important;
        gap: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .back-nav {
        padding: 15px 15px 0 15px !important;
    }
    
    .detail-container {
        display: flex !important;
        flex-direction: column !important;
        padding: 15px !important;
        border-radius: 16px !important;
        gap: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .detail-title {
        font-size: 1.35rem !important;
    }
    
    .detail-price {
        font-size: 1.6rem !important;
    }
    
    /* Action Row Wrap with Flex & Order */
    .detail-action-row {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .qty-selector {
        order: 1 !important;
        flex: 1 !important;
        min-width: 140px !important;
        box-sizing: border-box !important;
    }
    
    .share-big-btn {
        order: 2 !important;
        width: 46px !important;
        height: 46px !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
    }
    
    .fav-big-btn {
        order: 3 !important;
        width: 46px !important;
        height: 46px !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
    }
    
    .add-to-cart-big-btn {
        order: 4 !important;
        width: 100% !important;
        flex: 1 1 100% !important;
        padding: 14px !important;
        font-size: 0.95rem !important;
        box-sizing: border-box !important;
    }
    
    /* WhatsApp Button responsive sizing */
    .btn-whatsapp {
        padding: 12px 14px !important;
        font-size: 0.85rem !important;
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    /* Tabs Horizontal Scroll */
    .tab-headers {
        gap: 12px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 2px !important;
    }
    
    .tab-link {
        font-size: 0.85rem !important;
        flex-shrink: 0 !important;
    }
    
    /* Carousel Adjustments */
    .recommendations-section {
        margin-top: 30px !important;
        padding-top: 20px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    
    .rec-title {
        font-size: 1.2rem !important;
    }
    
    .rec-carousel-track {
        gap: 12px !important;
    }
    
    .rec-product-card {
        flex: 0 0 calc((100% - 12px) / 2) !important;
    }
    
    .rec-img-wrapper {
        border-radius: 12px !important;
    }
    
    .rec-product-name {
        font-size: 0.8rem !important;
        height: 32px !important;
        line-height: 16px !important;
    }
    
    .rec-arrow-btn {
        width: 32px !important;
        height: 32px !important;
    }
}

.feedback-message-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.feedback-message-clamp:hover {
    opacity: 0.7;
}

/* Search Autocomplete Dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff0f3;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    z-index: 100;
    display: flex;
    flex-direction: column;
    animation: slideDownFade 0.25s ease-out;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    text-decoration: none;
}

.search-result-item:hover {
    background-color: rgba(255, 51, 102, 0.04);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-result-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.search-result-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
}

.search-result-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.search-result-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--sidebar-active-bg);
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    text-align: center;
    border-top: 1px solid rgba(255, 51, 102, 0.05);
    text-decoration: none;
}

.search-result-view-all:hover {
    background-color: rgba(255, 51, 102, 0.1);
}

.search-result-view-all i {
    width: 16px;
    height: 16px;
}
