/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-o5ofvf40j9] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-o5ofvf40j9] {
    flex: 1;
}

.sidebar[b-o5ofvf40j9] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-o5ofvf40j9] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-o5ofvf40j9]  a, .top-row[b-o5ofvf40j9]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-o5ofvf40j9]  a:hover, .top-row[b-o5ofvf40j9]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-o5ofvf40j9]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-o5ofvf40j9] {
        justify-content: space-between;
    }

    .top-row[b-o5ofvf40j9]  a, .top-row[b-o5ofvf40j9]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-o5ofvf40j9] {
        flex-direction: row;
    }

    .sidebar[b-o5ofvf40j9] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-o5ofvf40j9] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-o5ofvf40j9]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-o5ofvf40j9], article[b-o5ofvf40j9] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.home-wrapper[b-4watd75lpq] {
    background-color: var(--mud-palette-background);
    min-height: 100vh;
    padding-bottom: 80px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.02);
}

/* Sticky Header & Category Bar */
.sticky-header[b-4watd75lpq] {
    position: sticky;
    top: 48px; /* Toggle bar için yer bırak */
    z-index: 98;
    background: var(--mud-palette-surface);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Biraz daha belirgin gölge */
}

@media (max-width: 600px) {
    .sticky-header[b-4watd75lpq] {
        top: 46px; /* Mobilde toggle yüksekliğine göre ayarlandi */
    }
}

.search-bar-container[b-4watd75lpq] {
    padding: 12px 16px;
}

.category-scroll-wrapper[b-4watd75lpq] {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 2px;
    gap: 12px;
    scrollbar-width: none; /* Firefox */
}

.category-scroll-wrapper[b-4watd75lpq]::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.category-chip[b-4watd75lpq] {
    flex: 0 0 auto;
    padding: 6px 14px;
    border-radius: 20px;
    background: transparent;
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--mud-palette-lines-default);
    margin: 0 4px;
    white-space: nowrap;
    text-decoration: none !important;
}

.category-chip.active[b-4watd75lpq] {
    background-color: var(--mud-palette-primary) !important;
    color: var(--mud-palette-primary-text) !important;
    border-color: var(--mud-palette-primary) !important;
    font-weight: 700 !important;
}

.nav-arrow-btn[b-4watd75lpq] {
    background-color: var(--mud-palette-surface) !important;
    color: var(--mud-palette-text-primary) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
}

@media (max-width: 600px) {
    .category-chip[b-4watd75lpq] {
        padding: 4px 8px;
        font-size: 0.75rem; /* Mobilde daha minimal */
    }

    .nav-arrow-btn[b-4watd75lpq] {
        display: none !important; /* Mobilde okları gizle */
    }
}

/* Reviews Section */
.reviews-section[b-4watd75lpq] {
    padding: 20px 16px;
}

.review-card[b-4watd75lpq] {
    min-width: 280px;
    max-width: 280px;
    background: var(--mud-palette-surface);
    border-radius: 12px;
    padding: 16px;
    margin-right: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid var(--mud-palette-lines-default);
}

/* Product Section */
.category-section[b-4watd75lpq] {
    padding: 10px;
    /* Dinamik Ofsetleme: JS tarafından hesaplanan --header-height değişkenini kullanır */
    scroll-margin-top: var(--header-height, 160px); 
}

.category-title[b-4watd75lpq] {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--mud-palette-text-primary);
    margin-bottom: 16px;
    padding-left: 4px;
    border-left: 5px solid var(--mud-palette-primary);
}

.product-card-horizontal[b-4watd75lpq] {
    background: var(--mud-palette-surface);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s;
    border: 1px solid var(--mud-palette-lines-default);
}

.product-card-horizontal:active[b-4watd75lpq] {
    transform: scale(0.98);
}

.product-info[b-4watd75lpq] {
    flex: 1;
}

.product-image-container[b-4watd75lpq] {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: var(--mud-palette-background-grey);
    position: relative;
    align-self: center;
}

.add-btn-fab[b-4watd75lpq] {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--mud-palette-surface);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.price-tag[b-4watd75lpq] {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--mud-palette-warning);
}

.old-price[b-4watd75lpq] {
    text-decoration: line-through;
    color: var(--mud-palette-text-disabled);
    font-size: 0.8rem;
    margin-left: 4px;
}

@media (max-width: 600px) {
    .category-scroll-wrapper[b-4watd75lpq] {
        gap: 8px;
    }
}

.category-scroll-wrapper[b-4watd75lpq] {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-scroll-wrapper[b-4watd75lpq]::-webkit-scrollbar {
    display: none;
}

.category-chip[b-4watd75lpq] {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Drawer Style Overrides */
[b-4watd75lpq] .product-drawer .mud-drawer-overlay {
    backdrop-filter: blur(4px);
}

[b-4watd75lpq] .product-drawer .mud-paper {
    border-radius: 20px 20px 0 0 !important;
    overflow: hidden !important;
}

[b-4watd75lpq] .mud-input-outlined-border {
    border-radius: 24px !important;
}

/* Scroll To Top Responsive */
.scroll-to-top-btn[b-4watd75lpq] {
    opacity: 0.8;
}

@media (max-width: 600px) {
    /* Mobilde alt bar (60px) üzerine çıkması için boşluk bırak */
    [b-4watd75lpq] .mud-scroll-to-top {
        bottom: 74px !important; 
    }
}

/* Minimalist Sadakat Bölümü Stilleri */
.loyalty-minimal-section[b-4watd75lpq] {
    background: #fbfbfb;
    border-radius: 20px;
    padding: 12px 8px;
    border: 1px solid rgba(0,0,0,0.03);
}

.loyalty-scroll-container[b-4watd75lpq] {
    overflow-x: auto;
    display: flex;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding:3px;
}

.loyalty-scroll-container[b-4watd75lpq]::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.loyalty-item-card[b-4watd75lpq] {
    flex: 0 0 auto;
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, filter 0.3s ease, opacity 0.3s ease;
}

.loyalty-item-card:not(.earned)[b-4watd75lpq] {
    filter: grayscale(1);
    opacity: 0.6;
}

.loyalty-item-card.active[b-4watd75lpq] {
    transform: scale(1.05);
    opacity: 0.8;
}

.coupon-img-wrapper[b-4watd75lpq] {
    position: relative;
    width: 70px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-bg[b-4watd75lpq] {
    width: 100%; 
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.loyalty-item-card.active .coupon-bg[b-4watd75lpq] {
    opacity: 0.8;
    filter: none;
}

.loyalty-item-card.earned .coupon-bg[b-4watd75lpq] {
    opacity: 1;
    filter: none;
}

.coupon-content[b-4watd75lpq] {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}

.coupon-content .amount[b-4watd75lpq] {
    font-weight: 900;
    font-size: 18px; /* Boyutu daha da büyüttük */
    color: #757575;
}

.coupon-content .currency[b-4watd75lpq] {
    font-size: 9px; 
    font-weight: 800;
    color: #757575;
}

.loyalty-item-card.active .coupon-content .amount[b-4watd75lpq],
.loyalty-item-card.earned .coupon-content .amount[b-4watd75lpq] {
    color: #1a237e;
}

.earned-overlay[b-4watd75lpq] {
    position: absolute;
    top: -4px;
    right: -4px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-badge[b-4watd75lpq] {
    position: absolute;
    top: -10px;
    right: 22px;
    background-color: #156ae3;
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    pointer-events: none;
    white-space: nowrap;
}

/* Favorilerim Bölümü Stilleri */
.favorites-section[b-4watd75lpq] {
    padding: 12px ;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 16px;
    margin: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.favorites-header[b-4watd75lpq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.favorites-scroll-container[b-4watd75lpq] {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 4px;
    scrollbar-width: none;
}

.favorites-scroll-container[b-4watd75lpq]::-webkit-scrollbar {
    display: none;
}

.favorite-item[b-4watd75lpq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 70px;
    flex-shrink: 0;
    cursor: pointer;
}

.favorite-avatar[b-4watd75lpq] {
    width: 60px;
    height: 60px;
    border: 2px solid var(--mud-palette-primary);
    padding: 2px;
    background: white;
    transition: transform 0.2s;
}

.favorite-item:active .favorite-avatar[b-4watd75lpq] {
    transform: scale(0.95);
}

.favorite-name[b-4watd75lpq] {
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--mud-palette-text-primary);
}
