/* ==================================== */
/* === ETALASE PRODUCT PAGE STYLES === */
/* ==================================== */
/* === Etalase Hero Section === */
.etalase-hero-bg {
    height: 60vh;
    /* Sedikit lebih pendek dari hero utama */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    color: var(--color-text-light);
    background-attachment: fixed;
    /* Efek paralaks */
    position: relative;
}

.etalase-hero-bg::before {
    /* Overlay gelap untuk teks */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Opasitas 40% */
}

.etalase-hero-bg .hero-content {
    background: none;
    /* Hilangkan background overlay dari kelas hero-content umum */
    padding: 2rem;
    border-radius: 10px;
    max-width: 900px;
    z-index: 2;
    /* Pastikan teks di atas overlay */
}

.etalase-hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
    /* Kuning untuk judul utama */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.etalase-hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Penyesuaian padding untuk main content agar tidak tumpang tindih dengan hero */
.etalase-main {
    padding-top: 0;
    /* Hero sudah ada di atas, tidak perlu padding dari navbar lagi */
}

/* Responsif untuk Hero Etalase */
@media (max-width: 768px) {
    .etalase-hero-bg {
        height: 40vh;
        /* Lebih pendek di mobile */
    }

    .etalase-hero-title {
        font-size: 2rem;
    }

    .etalase-hero-subtitle {
        font-size: 1rem;
    }
}

.etalase-main {
    padding-top: 80px;
    /* Jarak dari fixed navbar */
    min-height: 100vh;
}

.etalase-section {
    padding: 3rem 5%;
    text-align: center;
}

.etalase-title {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.etalase-subtitle {
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Grid Utama (Desktop Default) */
.product-grid {
    display: grid;
    /* Desktop: 4 kolom untuk tampilan yang lebih padat */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0 auto;
}

/* Kartu Produk */
.product-card {
    background: var(--color-text-light);
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 15px;
    text-align: left;
}

.product-info h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.product-info p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    min-height: 40px;
    /* Jaga konsistensi tinggi */
}

.detail-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #757575;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.detail-btn:hover {
    background-color: #5d5d5d;
}

.primary-btn {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 600;
}

.primary-btn:hover {
    background-color: #ffeb3b;
}

/* Penanda Produk Saat Ini */
.current-product {
    border: 3px solid var(--color-secondary);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.8);
}

/* === Responsif Etalase (Mobile) === */
@media (max-width: 768px) {
    .etalase-title {
        font-size: 2rem;
    }

    /* Mobile: 2 Kolom */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-img {
        height: 150px;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    .product-info p {
        min-height: 30px;
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .detail-btn {
        width: 100%;
        text-align: center;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {

    /* Ukuran layar sangat kecil: tetap 2 kolom, tapi lebih rapat */
    .product-grid {
        gap: 10px;
    }

    .product-img {
        height: 120px;
    }
}