* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

/* Header Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
}

.logo span {
    color: #e63946;
}

.btn-wa {
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.btn-primary {
    background: #e63946;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

/* Container Katalog */
.katalog-container {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.katalog-container h2 {
    text-align: center;
    margin-bottom: 25px;
}

/* Filter & Search Bar */
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.filter-btn.active, .filter-btn:hover {
    background: #e63946;
    color: white;
    border-color: #e63946;
}

#searchInput {
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
    width: 250px;
}

/* Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #f1f5f9;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.product-price {
    color: #e63946;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Pilihan Warna */
.color-selection {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.color-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.color-dots {
    display: flex;
    gap: 8px;
}

.color-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    outline: 1px solid #cbd5e1;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-dot.active {
    outline: 2px solid #e63946;
    transform: scale(1.15);
}

/* Kotak Skema Kredit / UM & Tenor */
.credit-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    max-height: 250px;
    overflow-y: auto;
}

.skema-group {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
}

.skema-group:last-child {
    margin-bottom: 0;
}

.dp-header {
    color: #1e293b;
    font-size: 0.85rem;
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px dashed #e2e8f0;
}

.dp-header strong {
    color: #e63946;
}

.tenor-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    font-size: 0.82rem;
}

.tenor-bulan {
    color: #64748b;
    font-weight: 600;
}

.tenor-harga {
    font-weight: 700;
    color: #059669;
}

/* Tombol WA */
.btn-buy {
    display: block;
    text-align: center;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: auto;
}