:root {
    --orange-utama: #FF6600;    /* Orange Vibrant */
    --orange-muda: #FFF5EC;     /* Background lembut */
    --navy-gelap: #003366;      /* Warna Teks/Tombol */
    --putih: #ffffff;
    --abu-bg: #F2F2F2;          /* Warna dasar aplikasi */
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin: 0;
    padding-bottom: 80px;
    background-color: var(--abu-bg);
}

.container-mobile {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
}

/* Tombol Khas Marketplace */
.btn-orange {
    background-color: var(--orange-utama);
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
}

/* Container utama untuk grid */
.produk-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Membagi 2 kolom (khas mobile) */
    gap: 12px;
    padding: 12px;
}

/* Card Produk */
.produk-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* Membuat Gambar Responsif */
.produk-img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Membuat gambar tetap kotak (square) */
    overflow: hidden;
}

.produk-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar akan terpotong rapi tanpa penyet */
    display: block;
}

/* Styling Info Teks agar rapi */
.produk-info {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.produk-nama {
    font-size: 14px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Nama produk maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px; /* Jaga agar tinggi tetap konsisten */
}

.produk-harga {
    font-weight: bold;
    color: var(--orange-utama);
    font-size: 16px;
}

.btn-keranjang {
    width: 100%;
    margin-top: 8px;
    font-size: 13px;
}

/* --- Tambahan untuk Style App-Like --- */

/* Section 1: Slider */
.slider-container {
    width: 100%;
    padding: 15px 15px 0 15px;
    box-sizing: border-box;
}
.slider-wrapper {
    width: 100%;
    height: 160px;
    background: linear-gradient(45deg, var(--orange-utama), #ff944d);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* Section 2: Kategori App Style */
.kategori-section {
    padding: 20px 15px;
}
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.kategori-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.kategori-icon {
    width: 50px;
    height: 50px;
    background: var(--orange-muda);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.kategori-nama {
    font-size: 12px;
    color: var(--navy-gelap);
    font-weight: 500;
}

/* Section 3: List Produk Header */
.section-title {
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-title h2 {
    font-size: 18px;
    color: var(--navy-gelap);
}

/* Section 4 & 5: Banner Promo */
.banner-promo {
    padding: 10px 15px;
}
.promo-card {
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    box-sizing: border-box;
    margin-bottom: 15px;
    color: white;
    position: relative;
    overflow: hidden;
}
.bg-orange { background: var(--orange-utama); }
.bg-navy { background: var(--navy-gelap); }

.promo-card h3 { margin: 0; font-size: 18px; }
.promo-card p { margin: 5px 0 0; font-size: 13px; opacity: 0.9; }

/* Komisi Badge di dalam Card */
.produk-komisi {
    font-size: 10px;
    background: var(--orange-muda);
    color: var(--orange-utama);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    width: fit-content;
}

/* Header Logo Styling */
.app-header {
    background: #ffffff;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.app-logo {
    height: 32px; /* Sesuaikan tinggi logo Anda */
    width: auto;
    object-fit: contain;
}

.slider-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-content .logo-box {
    flex: 0 0 auto;
}

.slider-content .logo-box img {
    max-width: 80px; /* atur ukuran logo sesuai kebutuhan */
    height: auto;
}

.slider-content .text-box {
    flex: 1;
}

.slider-content h2 {
    margin: 0;
}

.slider-content p {
    margin: 5px 0 0 0;
}