/* Store Detail Page CSS - NargilePazari Orange Brand */

/* ===== SCROLL PERFORMANCE FIX ===== */
html {
    scroll-behavior: auto !important;
}
.store-header,
.store-banner,
.mn-product-card,
.review-card-inner,
.filter-card {
    will-change: auto;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
* {
    scroll-behavior: auto !important;
}

/* ===== STORE HEADER ===== */
.store-header {
    position: relative;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin-bottom: 32px;
    overflow: hidden;
}

.store-banner {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #fef3e2;
    position: relative;
    background-repeat: no-repeat;
}

.store-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

/* Default Banner */
.store-banner.store-banner-default {
    background-image: none !important;
    background: linear-gradient(135deg, #fef3e2 0%, #fde8cc 50%, #fce0b6 100%);
}

.store-banner.store-banner-default::after {
    background: none;
}

.store-banner-default-content {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.store-banner-default-name {
    font-size: 2rem;
    font-weight: 700;
    color: #E87E04;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.06);
    padding: 0 20px;
    text-align: center;
    line-height: 1.3;
}

/* ===== STORE INFO BAR ===== */
.store-info-bar {
    padding: 20px 30px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: -60px;
}

.store-profile {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.store-logo {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    object-fit: contain;
    border: 3px solid #fff;
}

.store-details h1 {
    font-size: 22px;
    font-weight: 700;
    color: #2b3445;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.store-meta {
    color: #6b7280;
    font-size: 13px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.store-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== STORE TYPE BADGES ===== */
.store-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: middle;
}

.store-type-badge.corporate {
    background: linear-gradient(135deg, #E87E04 0%, #f59e0b 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(232,126,4,0.3);
}

.store-type-badge.individual {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(107,114,128,0.25);
}

.store-type-badge i {
    font-size: 14px;
}

/* ===== STATS ===== */
.store-stats {
    display: flex;
    gap: 20px;
    padding-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #2b3445;
}

.stat-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.store-description {
    padding: 0 30px 20px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

/* ===== TABS ===== */
.mn-single-pro-tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: none !important;
}

.mn-single-pro-tab-nav .nav-tabs {
    border-bottom: none;
    display: inline-flex;
    background: #f5f5f5;
    padding: 5px;
    border-radius: 50px;
    gap: 4px;
}

.mn-single-pro-tab-nav .nav-item {
    margin-bottom: 0;
}

.mn-single-pro-tab-nav .nav-link {
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s ease;
    font-size: 14px;
}

.mn-single-pro-tab-nav .nav-link:hover {
    color: #E87E04;
    background: rgba(232,126,4,0.06);
    border: none;
}

.mn-single-pro-tab-nav .nav-link.active {
    background: #fff;
    color: #E87E04;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: none;
}

/* ===== REVIEW FILTERS ===== */
.review-filters {
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.btn-filter {
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-filter:hover {
    background: #fef3e2;
    border-color: #E87E04;
    color: #E87E04;
}

.btn-filter.active {
    background: #E87E04;
    color: #fff;
    border-color: #E87E04;
    box-shadow: 0 3px 10px rgba(232,126,4,0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .store-info-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -50px;
    }
    .store-profile {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .store-logo {
        width: 90px;
        height: 90px;
    }
    .store-details h1 {
        justify-content: center;
        font-size: 18px;
    }
    .store-meta {
        justify-content: center;
    }
    .store-stats {
        padding-top: 8px;
        width: 100%;
        justify-content: center;
    }
    .store-banner {
        height: 150px;
    }
    .store-banner-default-name {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
}