/* Reset & Pengaturan Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    padding-bottom: 50px;
}

/* Container Umum untuk Landing Page */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================= */
/* KHUSUS HALAMAN PRODUK (DETAIL PRODUCT CONTAINER)  */
/* ================================================= */
.product-detail-layout {
    max-width: 1000px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Header Logo di dalam Halaman Produk */
.store-header {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 10px;
}

.header-logo {
    max-width: 220px;
    height: auto;
    object-fit: contain;
}

/* Bagian Galeri Kiri (Foto & Video Utama) */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-display {
    width: 100%;
    height: 420px;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.main-display img, 
.main-display video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Daftar Thumbnail */
.thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail-list img, 
.thumbnail-list .video-thumb {
    width: 75px;
    height: 75px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background: #e2e8f0;
}

.thumbnail-list img.active, 
.thumbnail-list .video-thumb.active {
    border-color: #0f172a;
    transform: scale(1.05);
}

.video-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    background: #e2e8f0;
}

/* Bagian Detail Produk Kanan */
.product-details h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.price {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 15px;
}

.meta-info {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 20px 0;
}

/* Pilihan Varian Warna */
.variant-section {
    margin-bottom: 20px;
}

.variant-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-btn {
    padding: 8px 16px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.color-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* Tombol Marketplace & Aksi */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.btn-marketplace {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-marketplace:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-shopee { background-color: #EE4D2D; }
.btn-toktok { background-color: #010101; }
.btn-toco { background-color: #f59e0b; color: #fff; }
.btn-telegram { background-color: #229ED9; }
.btn-whatsapp { background-color: #25D366; }

.badge-verify {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    color: #10b981;
    background: #ecfdf5;
    padding: 8px;
    border-radius: 6px;
    margin-top: 5px;
    font-weight: 500;
}

/* Deskripsi Produk */
.description h3 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.description p {
    font-size: 0.92rem;
    color: #475569;
    margin-bottom: 12px;
}

.desc-subtitle {
    font-weight: 600;
    color: #1e293b;
    margin-top: 15px;
    margin-bottom: 5px;
}

.description ul {
    padding-left: 18px;
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 12px;
}

.description li {
    margin-bottom: 4px;
}

.desc-footer {
    font-style: italic;
    color: #64748b;
    margin-top: 15px;
}

/* ================================================= */
/* STYLING UNTUK LANDING PAGE (INDEX.HTML)           */
/* ================================================= */
.hero-landing {
    text-align: center;
    padding: 60px 20px 40px;
}

.logo-container {
    margin-bottom: 24px;
}

.brand-logo {
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

.badge {
    background-color: #e2e8f0;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 16px;
}

.hero-landing h1 {
    font-size: 2.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.vision-text {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.product-selection {
    text-align: center;
    padding: 40px 0;
}

.product-selection h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.section-subtitle {
    color: #64748b;
    margin-bottom: 30px;
}

.product-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.product-link-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-img-thumb {
    width: 100%;
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background-color: #f1f5f9;
}

.card-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-link-card:hover .card-img-thumb img {
    transform: scale(1.05);
}

.product-link-card span {
    font-size: 1.15rem;
    color: #1e293b;
}

.contact-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.contact-section h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 10px;
}

.contact-section p {
    color: #64748b;
    margin-bottom: 24px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-telegram {
    background-color: #229ED9;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.btn-telegram:hover {
    background-color: #1b8ac1;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
}

footer {
    text-align: center;
    padding: 30px 0;
    color: #94a3b8;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
}

/* Responsif untuk Layar HP */
@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        padding: 20px;
        margin: 10px;
    }
}