﻿:root {
    --dark-earth: #3e2723;
    --rich-soil: #5d4037;
    --cream-soil: #f5f5dc;
    --pure-white: #fff
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter',system-ui,-apple-system,sans-serif;
    background-color: var(--cream-soil);
    color: var(--dark-earth);
    line-height: 1.6;
    padding-top: 100px;
}
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
#components-reconnect-modal {    
    display: none;
}
.banamama-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg,#3e2723 0%,#5d4037 100%);
    color: #fff;
    padding: .75rem 1rem;
    z-index: 1000;
}

.banamama-product-seo-header {
    padding: 1rem 1.5rem;
    background: var(--pure-white);
    border-radius: 12px;
    margin: .5rem 1rem 1rem;
}

.banamama-seo-h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-earth);
    margin-bottom: .25rem;
    line-height: 1.3;
}

.banamama-skeleton {
    background: linear-gradient(90deg,#d7ccc8 25%,#f5f5dc 50%,#d7ccc8 75%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

/* Critical Bootstrap - Sadece ilk yükleme için gerekli */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .375rem;
    transition: color .15s,background-color .15s,border-color .15s,box-shadow .15s
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd
}

    .btn-primary:hover {
        background-color: #0b5ed7;
        border-color: #0a58ca
    }

.container, .container-fluid {
    width: 100%;
    padding-right: .75rem;
    padding-left: .75rem;
    margin-right: auto;
    margin-left: auto
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -.75rem;
    margin-left: -.75rem
}

.col, .col-12, .col-md-6, .col-lg-4 {
    position: relative;
    width: 100%;
    padding-right: .75rem;
    padding-left: .75rem
}

.d-flex {
    display: flex !important
}

.d-none {
    display: none !important
}

.justify-content-between {
    justify-content: space-between !important
}

.align-items-center {
    align-items: center !important
}

.text-center {
    text-align: center !important
}

.mt-2 {
    margin-top: .5rem !important
}

.mb-3 {
    margin-bottom: 1rem !important
}

.p-3 {
    padding: 1rem !important
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    transition: border-color .15s,box-shadow .15s
}

@media(min-width:768px) {
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%
    }
}

@media(min-width:992px) {
    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.333333%
    }
}

/* Critical Banamama - Header, Logo, Search, Product Grid */
.banamama-header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem
}

.banamama-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem
}

.banamama-logo-section-title {
    display: flex;
    gap: .5rem
}

.banamama-logo-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff
}

.banamama-tagline {
    font-size: .85rem;
    opacity: .9;
    font-weight: 300
}

.banamama-search-container {
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
    position: relative;
    z-index: 1002
}

.banamama-search-box {
    width: 100%;
    padding: .9rem 1.5rem;
    border-radius: 50px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 4px 15px rgba(62,39,35,.1)
}

.banamama-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg,#a0522d,#b8860b);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer
}

.banamama-user-section {
    display: flex;
    align-items: center;
    gap: 1.5rem
}
.banamama-user-info-parent {
    display: flex;
    gap: 1rem;
}

.banamama-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.banamama-user-name {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.banamama-logout-btn {
    background: #7B5E00; /* Koyu altın - Kontrast: 5.2:1 */
    color: var(--pure-white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .banamama-logout-btn:hover {
        background: var(--burnt-sienna);
        transform: translateY(-2px);
    }
.banamama-menu-btn {
    background: none;
    border: none;
    color: var(--pure-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .banamama-menu-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.1);
    }

.banamama-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(380px,1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 0 2rem
}

.banamama-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(62,39,35,.1)
}

.banamama-product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background-color: #fff
}

.banamama-product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #fff
}

.banamama-product-info {
    padding: 1.5rem
}

.banamama-product-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #3e2723;
    line-height: 1.3;
    display: flex;
    align-items: center
}

.banamama-seller-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem
}

.banamama-seller-name {
    font-size: .85rem;
    color: #a0522d;
    font-weight: 500
}

.banamama-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3e2723
}

.banamama-contact-buttons {
    display: flex;
    gap: .5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap
}

.banamama-contact-btn {
    flex: 1;
    min-width: 60px;
    padding: .6rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem
}

.banamama-whatsapp-btn {
    background: #128C7E;
    color: #fff
}

.banamama-call-btn {
    background: #8B4513;
    color: #fff
}

.banamama-message-btn {
    background: #7B5E00;
    color: #fff
}

.banamama-main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem
}
/* ========== HERO COMPONENT STYLES ========== */
.banamama-hero {
    background: var(--gradient-1);
    color: var(--pure-white);
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

    .banamama-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.1;
    }

.banamama-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.banamama-hero-title {
    font-size: 3rem !important;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.banamama-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

@media(max-width:768px) {
    body {
        padding-top: 140px
    }

    .banamama-header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem
    }

    .banamama-search-container {
        margin: 0;
        width: 100%
    }

    .banamama-products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }
}

@media (max-width: 576px) {
    .banamama-hero-title {
        font-size: 2rem !important;
    }

    .banamama-hero-subtitle {
        font-size: 0.9rem;
    }
}
