/* =======================================================
   CSS HEADER TOKO Wargercep (STYLE SHOPEE MALL - FINAL)
   ======================================================= */


/* 2. Pembungkus Utama (Full Width Background Putih) */
.store-profile-container {
    background-color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 20px;

    /* --- JURUS BREAKOUT SUPER: Memaksa warna putih penuh sampai ujung layar --- */
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* 3. Area Profil Atas (Isi Konten Tetap di Tengah) */
.store-profile-top {
    display: flex;
    max-width: 1200px; /* Menjaga isi tetap sejajar dengan konten lain */
    margin: 0 auto;
    padding: 25px 15px;
    gap: 35px;
    align-items: stretch;
}

/* --- KOTAK PROFIL KIRI (Profil Toko) --- */
.store-profile-card {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 420px; 
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Area Logo & Badge */
.store-logo-area {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 85px;
}

.store-logo {
    width: 85px;
    height: 85px;
    min-width: 85px;   
    min-height: 85px;  
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #f0f0f0;
    overflow: hidden; /* Kunci: Memotong gambar agar tetap bulat */
    position: relative;
    padding: 5px;
    box-sizing: border-box;
}

.store-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Memastikan logo tidak terpotong atau gepeng */
    object-position: center;
}

.mall-badge {
    position: absolute;
    bottom: -8px;
    background-color: #d0011b; 
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Nama Toko & Status */
.store-info-area {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.store-name {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    color: #222222;
    line-height: 1.2;
}

.store-status {
    margin: 0;
    font-size: 12px;
    color: #757575;
    display: flex;
    align-items: center;
}

.store-status::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #26aa99; 
    border-radius: 50%;
    margin-right: 6px;
}

/* --- GRID STATISTIK KANAN --- */
.store-stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Kolom */
    gap: 15px 40px;
    align-content: center;
}

.stat-item {
    font-size: 14px;
    color: #555555;
    display: flex;
    align-items: center;
}

.icon-gray {
    color: #999999;
    width: 25px;
    text-align: center;
    margin-right: 10px;
    font-size: 16px;
}

.stat-red {
    color: #d0011b; 
    font-weight: 600;
    margin-left: 6px;
}

/* --- 4. NAVIGASI MENU TOKO (BAWAH) --- */
.store-navbar-wrapper {
    background-color: #ffffff;
    border-top: 1px solid #f2f2f2;
}

.store-navbar {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 15px;
}

.store-navbar::-webkit-scrollbar {
    display: none;
}

.store-nav-link {
    padding: 16px 25px;
    color: #333333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
    border-bottom: 4px solid transparent;
    transition: all 0.2s ease;
}

.store-nav-link:hover {
    color: #d0011b;
}

.store-nav-link.active {
    color: #d0011b;
    border-bottom-color: #d0011b;
    font-weight: 500;
}

/* =======================================================
   5. RESPONSIVE DESIGN
   ======================================================= */

@media (max-width: 992px) {
    .store-profile-top {
        flex-direction: column;
        gap: 25px;
    }
    .store-profile-card {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 576px) {
    .store-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .store-nav-link {
        padding: 14px 15px;
        font-size: 14px;
    }
}
/* =======================================================
   CSS BANNER PROMO BESAR (FULL CONTENT WIDTH)
   ======================================================= */

.store-big-banner-wrapper {
    max-width: 1200px; /* Menyelaraskan dengan lebar profil dan menu toko */
    margin: 20px auto 40px; /* Jarak agar tidak menempel dengan elemen di atas/bawahnya */
    width: 100%;
    background-color: #ffffff;
}

/* Jika Anda ingin menumpuk beberapa gambar sekaligus tanpa celah */
.store-big-banner-wrapper a, 
.store-big-banner-wrapper div {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* KUNCI GAMBAR RESPONSIF & FULL */
.store-big-banner-wrapper img {
    width: 100%;       /* Gambar akan selalu 100% mengisi lebar pembungkusnya */
    height: auto;      /* Tinggi akan otomatis menyesuaikan agar tidak gepeng/distorsi */
    display: block;    /* Menghilangkan spasi/garis putih di bagian bawah gambar */
    object-fit: cover; /* Memastikan gambar tampil mulus */
}

/* =======================================================
   RESPONSIVE DESIGN (HP & TABLET)
   ======================================================= */
@media (max-width: 1200px) {
    .store-big-banner-wrapper {
        /* Jika layar lebih kecil dari 1200px, gambar akan melebar mentok ke tepi layar */
        width: 100%; 
        max-width: 100%;
    }
}