/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #FAFAFA; /* Putih bersih keabu-abuan */
    color: #333333; /* Teks abu-abu gelap agar nyaman dibaca */
    line-height: 1.6;
}

/* Navigasi */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .logo {
    font-size: 24px;
    font-weight: 600;
    color: #D87093; /* Pink elegan */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #D87093;
    font-weight: 600;
}

.burger-menu {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #D87093;
    cursor: pointer;
}

/* Hero Section / Banner - Versi Estetik */
.hero-section {
    width: 100%;
    text-align: center;
    background-color: #FAFAFA;
    /* Tambahan efek pattern titik-titik estetik di background */
    background-image: radial-gradient(#FFD1DC 2px, transparent 2px);
    background-size: 30px 30px;
    padding: 40px 5% 50px 5%; /* Memberikan ruang napas di atas dan bawah */
}

.hero-banner {
    width: 100%;
    max-width: 1000px; /* Dibatasi agar tidak terlalu melebar di layar PC */
    height: auto;
    display: block;
    margin: 0 auto 30px auto;
    border-radius: 20px; /* Efek ujung melengkung */
    box-shadow: 0 15px 35px rgba(216, 112, 147, 0.2); /* Bayangan pink lembut */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Efek saat banner disorot mouse */
.hero-banner:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 45px rgba(216, 112, 147, 0.3);
}

.hero-text {
    /* Mengubah kotak penuh menjadi bentuk pil melayang */
    display: inline-block;
    background: linear-gradient(135deg, #FFB6C1, #D87093); /* Warna gradasi */
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(216, 112, 147, 0.3);
    animation: fadeInUp 1s ease; /* Animasi muncul */
}

.hero-text h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Animasi sederhana untuk membuat web terasa hidup */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    padding: 20px;
    background-color: #FFB6C1; /* Aksen light pink */
    color: #ffffff;
}

.hero-text h2 {
    font-size: 18px;
    font-weight: 600;
}

/* Welcome Section */
.welcome-section {
    padding: 50px 5%;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-section h3 {
    color: #D87093;
    margin-bottom: 20px;
    font-size: 22px;
}

.welcome-section p {
    margin-bottom: 15px;
    color: #666;
}

/* Tombol Utama */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #D87093;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background-color: #C75B7E;
    transform: translateY(-3px);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #FFECF0;
    color: #888;
    font-size: 14px;
    margin-top: 40px;
}

/* Responsif untuk HP */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none; /* Disembunyikan dulu, nanti diatur JS */
    }
    .burger-menu {
        display: block;
    }
    .hero-text h2 {
        font-size: 16px;
    }
}

/* Katalog Header */
.catalog-header {
    text-align: center;
    padding: 40px 20px 20px 20px;
}
.catalog-header h2 { color: #D87093; }
.catalog-header p { color: #666; font-size: 14px; }

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 5%;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(216, 112, 147, 0.15); }

.product-img-placeholder {
    height: 150px;
    background: #FFECF0;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D87093;
    font-weight: bold;
    font-size: 18px;
}

.product-card h4 { font-size: 15px; margin-bottom: 10px; color: #333; height: 45px; }
.product-card .price { color: #D87093; font-weight: 600; margin-bottom: 15px; }

.btn-add {
    background: white;
    color: #D87093;
    border: 2px solid #D87093;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    width: 100%;
}
.btn-add:hover { background: #D87093; color: white; }

/* Floating Cart Button */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #D87093;
    color: white;
    padding: 15px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(216, 112, 147, 0.4);
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    z-index: 1000;
    transition: 0.3s;
}
.floating-cart:hover { transform: scale(1.1); }

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    right: -100%; /* Sembunyi di luar layar */
    width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: 0.4s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}
.cart-modal.active { right: 0; }

.cart-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { color: #D87093; }
.close-cart { background: none; border: none; font-size: 20px; cursor: pointer; color: #333; }

.cart-items { flex-grow: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; justify-content: space-between; margin-bottom: 15px; border-bottom: 1px dashed #ccc; padding-bottom: 10px; }
.item-name { font-size: 14px; font-weight: 600; }
.item-price { font-size: 14px; color: #D87093; }

.cart-footer { padding: 20px; border-top: 1px solid #eee; background: #fafafa; }
.cart-footer h4 { margin-bottom: 15px; display: flex; justify-content: space-between; }
.btn-checkout { width: 100%; background: #25D366; color: white; border: none; padding: 12px; border-radius: 10px; font-weight: 600; cursor: pointer; transition: 0.3s; font-size: 16px; }
.btn-checkout:hover { background: #1EBE55; }

/* Responsive Grid HP */
@media screen and (max-width: 600px) {
    .cart-modal { width: 100%; }
}

/* --- Penyesuaian List Produk Menyamping (Grid) --- */
.text-product-list { max-width: 1000px; margin: 0 auto; padding: 0 5% 50px 5%; }

.product-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.text-product-item { 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    background: white; 
    padding: 20px; 
    border-radius: 12px; 
    box-shadow: 0 3px 10px rgba(0,0,0,0.05); 
    border: 1px solid #FFECF0;
    transition: transform 0.2s, border-color 0.2s; 
}

.text-product-item:hover { 
    transform: translateY(-5px); 
    border-color: #D87093;
    box-shadow: 0 8px 20px rgba(216, 112, 147, 0.15);
}

.prod-info {
    margin-bottom: 20px;
}

.prod-info strong {
    display: block;
    margin: 5px 0;
    color: #333;
    font-size: 15px;
    line-height: 1.3;
}

.btn-add-sm { 
    width: 100%;
    background: #FFECF0; 
    color: #D87093; 
    border: none; 
    padding: 10px 15px; 
    border-radius: 20px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: 0.3s; 
}

.btn-add-sm:hover { 
    background: #D87093; 
    color: white; 
}

/* --- Halaman Keranjang Penuh --- */
.cart-page-container { display: flex; flex-wrap: wrap; gap: 30px; max-width: 1000px; margin: 40px auto; padding: 0 5%; }
.cart-details { flex: 2; background: white; padding: 30px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); min-width: 300px; }
/* --- Penyesuaian UI Keranjang (Checkbox & Hapus) --- */
.cart-item-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 0; 
    border-bottom: 1px dashed #eee; 
}

.cart-item-left { 
    display: flex; 
    align-items: center; 
    gap: 15px; /* Jarak antara centang dan nama produk */
}

.cart-item-right { 
    display: flex; 
    align-items: center; 
}

/* Memperbesar dan mewarnai kotak centang */
.cart-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #D87093; /* Warna pink saat dicentang */
    cursor: pointer;
}

/* Animasi untuk tombol hapus (tong sampah) */
.btn-remove {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ff4d4d;
    transition: transform 0.2s;
    padding: 5px;
}

.btn-remove:hover {
    transform: scale(1.2) rotate(-10deg);
}
.payment-info-box { flex: 1; background: #FFECF0; padding: 30px; border-radius: 15px; min-width: 300px; text-align: center; }
.payment-images img { width: 100%; max-width: 250px; border-radius: 10px; margin: 10px 0; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-checkout-large { width: 100%; background: #25D366; color: white; border: none; padding: 15px; border-radius: 30px; font-weight: 600; font-size: 16px; margin-top: 20px; cursor: pointer; transition: 0.3s; }
.btn-checkout-large:hover { background: #1EBE55; transform: scale(1.02); }

/* --- Kolom Pencarian --- */
.search-container {
    text-align: center;
    margin: 10px auto 40px auto;
    max-width: 600px;
    padding: 0 5%;
}

.search-bar {
    width: 100%;
    padding: 15px 25px;
    border-radius: 30px;
    border: 2px solid #FFECF0;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    box-shadow: 0 5px 15px rgba(216, 112, 147, 0.08);
    transition: 0.3s ease;
}

.search-bar:focus {
    border-color: #D87093;
    box-shadow: 0 5px 20px rgba(216, 112, 147, 0.25);
}

.empty-search {
    text-align: center;
    color: #888;
    padding: 20px;
    font-style: italic;
}
/* --- Penyesuaian Posisi Gambar Banner Agar Pasti di Tengah --- */
.price-list-banner { 
    text-align: center; 
    padding: 0 5%; 
    margin-bottom: 40px; 
    width: 100%;
}

.banner-img-center {
    width: 100%; 
    max-width: 1000px; 
    border-radius: 15px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: block; /* Membuat gambar mengambil barisnya sendiri */
    margin: 0 auto; /* Margin kiri & kanan auto = otomatis ke tengah */
}
/* --- UI Hacks: Header Card Estetik --- */
.card-visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #FFECF0;
}

.brand-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFB6C1, #D87093);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(216, 112, 147, 0.3);
}

.trust-badge {
    background-color: #FAFAFA;
    color: #D87093;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid #FFECF0;
}
/* --- UI Hacks: Alur Pengiriman di Keranjang --- */
.shipping-flow-box {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #FFB6C1;
    text-align: center;
}

.shipping-flow-box h3 {
    color: #D87093;
    font-size: 16px;
    margin-bottom: 15px;
}

.shipping-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.shipping-steps {
    text-align: left;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 12px;
    color: #555;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.03);
}

.shipping-steps p {
    margin-bottom: 8px;
    line-height: 1.4;
}

.shipping-steps strong {
    color: #D87093;
}

/* --- Form Input Alamat Checkout --- */
.address-form-box {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed #FFECF0;
}
.address-form-box h3 { color: #D87093; margin-bottom: 15px; font-size: 18px; }
.input-form {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}
.input-form:focus { border-color: #D87093; box-shadow: 0 0 8px rgba(216, 112, 147, 0.2); }

/* --- Dropdown Menu Navigasi Estetik --- */
.nav-links li { position: relative; }
.nav-links a { 
    display: block; 
    padding: 10px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* Garis bawah animasi saat di-hover pada menu utama */
.nav-links > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #D87093;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-links > li:hover > a::after { width: 80%; }
.nav-links > li:hover > a { color: #D87093; }

/* Styling Dropdown Box */
.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px); /* Efek blur ala Apple/Glassmorphism */
    min-width: 220px;
    box-shadow: 0px 15px 30px rgba(216, 112, 147, 0.15);
    z-index: 1000;
    border-radius: 12px;
    overflow: hidden;
    top: 120%; /* Mulai agak ke bawah untuk animasi */
    left: 0;
    border: 1px solid rgba(255, 236, 240, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(10px);
}

.dropdown-content li { list-style: none; border-bottom: 1px solid #f9f9f9; }
.dropdown-content li:last-child { border-bottom: none; }

.dropdown-content li a {
    color: #555;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* Animasi saat item dropdown disentuh */
.dropdown-content li a:hover { 
    background-color: #FFECF0; 
    color: #D87093;
    padding-left: 25px; /* Efek teks bergeser sedikit */
}

/* Munculkan submenu dengan animasi meluncur naik */
.dropdown:hover .dropdown-content { 
    visibility: visible;
    opacity: 1; 
    top: 100%;
    transform: translateY(0);
}
/* Menyembunyikan Submenu Default */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

.dropdown-content li { list-style: none; }
.dropdown-content li a {
    color: #555;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-content li a:hover { background-color: #FFECF0; color: #D87093; }

/* Munculkan submenu saat dihover */
.dropdown:hover .dropdown-content { display: block; }

/* --- Fitur Box Salin Rekening --- */
.copy-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #FFECF0;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.copy-box strong { 
    color: #D87093; 
    font-size: 12px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.copy-box span { 
    font-size: 16px; 
    font-weight: 600; 
    color: #333; 
}

.btn-copy {
    background: #FFECF0; 
    color: #D87093; 
    border: none; 
    padding: 6px 12px; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: 600; 
    font-size: 12px; 
    transition: 0.3s;
}

.btn-copy:hover { 
    background: #D87093; 
    color: white; 
}

/* --- Seksi Testimoni (Beranda) --- */
.testimonial-section {
    text-align: center;
    padding: 60px 5%;
    background-color: #ffffff; /* Latar putih agar kontras dengan bagian atas */
    margin-top: 40px;
    border-top: 2px dashed #FFECF0;
}

.testimonial-section h3 {
    color: #D87093;
    font-size: 24px;
    margin-bottom: 10px;
}

.testimonial-section p {
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
}

.testi-gallery {
    display: flex;
    justify-content: center;
}

.testi-img {
    width: 100%;
    max-width: 600px; /* Dibatasi agar tidak terlalu lebar di layar PC */
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(216, 112, 147, 0.15);
    border: 5px solid #FFECF0;
    transition: transform 0.4s ease;
}

.testi-img:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 35px rgba(216, 112, 147, 0.25);
}

/* --- UI Hacks: Toast Notification Keren --- */
.toast-notification {
    position: fixed;
    top: 30px;
    right: -350px; /* Sembunyi di luar layar kanan */
    background: linear-gradient(135deg, #D87093, #FFB6C1); /* Gradasi Pink Reza Beauty */
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(216, 112, 147, 0.4);
    font-weight: 600;
    font-size: 14px;
    z-index: 9999; /* Pastikan selalu berada di paling depan */
    
    /* Animasi masuk dengan efek sedikit memantul */
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
}

/* Class tambahan yang ditrigger oleh JavaScript */
.toast-notification.show {
    right: 20px; /* Masuk ke dalam layar */
}
/* --- TATA LETAK ADMIN DASHBOARD --- */
.admin-login-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 10000; }
.login-box { background: white; padding: 40px; border-radius: 15px; width: 90%; max-width: 400px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; background: white; border-right: 1px solid #eee; padding: 20px 0; }
.admin-logo { font-size: 20px; font-weight: 600; color: #D87093; text-align: center; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.admin-menu { list-style: none; }
.admin-menu li a { display: block; padding: 15px 25px; color: #555; text-decoration: none; font-weight: 500; transition: 0.3s; }
.admin-menu li a:hover, .admin-menu li a.active-menu { background: #FFECF0; color: #D87093; border-left: 4px solid #D87093; }

.admin-content { flex: 1; padding: 40px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-header h2 { color: #333; }

/* Tabel Admin */
.table-container { background: white; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th, .admin-table td { padding: 15px 20px; border-bottom: 1px solid #f0f0f0; }
.admin-table th { background: #fafafa; color: #888; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.admin-table td { color: #444; font-size: 14px; }

.btn-edit { background: #fdf2f8; color: #D87093; border: 1px solid #D87093; padding: 5px 10px; border-radius: 6px; cursor: pointer; }
.btn-delete { background: #fff0f0; color: #ff4d4d; border: 1px solid #ff4d4d; padding: 5px 10px; border-radius: 6px; cursor: pointer; }
.status-badge { padding: 5px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status-badge.pending { background: #fff3cd; color: #856404; }

/* --- UI Admin Dashboard (Transaksi) --- */
.status-badge.success { background: #d4edda; color: #155724; }
.status-badge.danger { background: #f8d7da; color: #721c24; }

.btn-success-sm {
    background: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    margin-right: 5px;
    transition: 0.3s;
}
.btn-success-sm:hover { background: #218838; }

.btn-danger-sm {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-danger-sm:hover { background: #c82333; }

/* --- Footer & Hidden Admin Link --- */
.footer-section {
    text-align: center;
    padding: 25px 20px;
    background-color: #FFECF0;
    color: #D87093;
    font-size: 14px;
    margin-top: 50px;
    position: relative; /* Penting untuk mengatur posisi link rahasia */
}

.admin-secret-link {
    position: absolute;
    bottom: 25px;
    right: 30px;
    font-size: 14px;
    text-decoration: none;
    opacity: 0.3; /* Dibuat samar agar tidak mencolok */
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.admin-secret-link:hover {
    opacity: 4; /* Akan terlihat jelas saat disorot mouse */
    transform: scale(5.2); /* Sedikit membesar saat disorot */
}
/* =========================================
   UI STARTUP HERO BANNER (GLASSMORPHISM)
========================================= */

.startup-hero {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto 60px auto; /* Memberi jarak aman atas dan bawah */
    padding: 0 20px;
    text-align: center;
}

.hero-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: 24px; /* Membuat sudut gambar melengkung kekinian */
    
    /* Efek Glow/Bayangan estetik ala Startup berwarna soft pink */
    box-shadow: 0 20px 50px rgba(216, 112, 147, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Efek interaktif: Banner akan sedikit melayang saat kursor diarahkan */
.hero-image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(216, 112, 147, 0.35);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
    object-fit: cover; 
}

/* Slogan yang menempel di ujung bawah gambar (Floating Badge) */
.hero-floating-badge {
    position: absolute;
    bottom: -20px; /* Sengaja dikeluarkan 20px ke bawah agar estetik */
    left: 50%;
    transform: translateX(-50%); /* Memastikan posisinya pas di tengah */
    
    /* Efek Kaca (Glassmorphism) */
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    
    color: #D87093;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(216, 112, 147, 0.15);
}

/* Responsif: Menyesuaikan ukuran badge saat dibuka di HP */
@media (max-width: 768px) {
    .hero-floating-badge {
        font-size: 12px;
        padding: 10px 20px;
        bottom: -15px;
    }
}
/* =========================================
   SISTEM RESPONSIF (UNTUK HP & TABLET)
========================================= */
@media screen and (max-width: 768px) {
    /* 1. Navigasi & Header */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0;
    }
    nav ul li { margin: 5px; }

    /* 2. Katalog Produk (Jadi 2 Kolom di HP) */
    #productGrid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Memaksa 2 produk bersampingan di HP */
        gap: 10px;
        padding: 10px;
    }
    .text-product-item { padding: 10px; }
    .prod-info strong { font-size: 13px; } /* Mengecilkan teks nama produk */

    /* 3. Keranjang Belanja */
    .cart-item-row {
        flex-direction: column; /* Mengubah susunan menyamping jadi atas-bawah */
        align-items: flex-start;
        gap: 10px;
    }
    .cart-item-right {
        width: 100%;
        justify-content: space-between;
        border-top: 1px dashed #eee;
        padding-top: 10px;
        margin-top: 5px;
    }

    /* 4. Dasbor Admin (Menu pindah ke atas) */
    .admin-layout {
        flex-direction: column; /* Memindahkan sidebar ke atas konten */
    }
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #FFECF0;
        padding: 10px 0;
    }
    .admin-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }
    .admin-menu li a {
        padding: 10px 15px;
        font-size: 13px;
    }
    .admin-content { padding: 15px; }

    /* 5. Tabel Admin Anti-Hancur (Bisa di-swipe ke samping) */
    .table-container {
        width: 100%;
        overflow-x: auto; /* Memunculkan scroll bar horizontal */
        -webkit-overflow-scrolling: touch;
    }
    .admin-table {
        min-width: 600px; /* Menjaga agar tabel tidak menyusut dan teks tidak bertumpuk */
    }
}

/* Khusus untuk layar HP yang sangat kecil (Lebar di bawah 480px) */
@media screen and (max-width: 480px) {
    /* Jadikan katalog produk 1 kolom penuh agar lebih jelas */
    #productGrid {
        grid-template-columns: 1fr;
    }
    .hero-image-wrapper {
        border-radius: 15px;
    }
    .hero-image {
        border-radius: 15px;
    }
}

/* =========================================
   UI PEMBAYARAN & PENGIRIMAN (TRUST SECTION)
========================================= */
.trust-section {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
    margin-top: 20px;
}

.trust-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap; /* Penting agar responsif di HP */
}

.trust-box {
    flex: 1;
    min-width: 300px;
    background: #FFECF0;
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(216, 112, 147, 0.08);
    transition: transform 0.3s ease;
}

.trust-box:hover {
    transform: translateY(-5px);
}

.trust-box h3 {
    color: #D87093;
    font-size: 18px;
    margin-bottom: 5px;
}

.trust-box p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.trust-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
/* =========================================
   MODAL POPUP GAMBAR (DARI MENU)
========================================= */
.modal-gambar-overlay {
    display: none; /* Disembunyikan awalnya */
    position: fixed;
    z-index: 9999; /* Pastikan selalu paling depan */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    cursor: pointer; /* Memberi tahu user bisa diklik untuk tutup */
}

.modal-gambar-overlay img {
    max-width: 90%;
    max-height: 90vh; /* Menyesuaikan tinggi layar HP */
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* =========================================
   POPUP MENU (ANTI-ERROR)
========================================= */
.popup-anti-error {
    display: none; /* Awalnya disembunyikan */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.popup-konten {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    max-height: 85vh; /* Biar bisa di-scroll di HP kalau kepanjangan */
    overflow-y: auto;
    cursor: default;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: munculPopup 0.3s ease-out;
}

.popup-konten img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.popup-tutup {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}
.popup-tutup:hover { color: #D87093; }

@keyframes munculPopup {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}