/* =================================================================
   Parvati Attire - Main & Final Stylesheet
   ================================================================= */

/* --- Root Variables --- */
:root {
    --primary-color: #8D455D;
    --secondary-color: #F8F4F0;
    --text-color: #333;
    --header-footer-bg: #FFFFFF;
    --border-color: #e0e0e0;
    --success-color: #28a745;
}

/* --- Base & Typography --- */
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}
.container { max-width: 1200px; margin: auto; padding: 0 20px; }
h1, h2, h3, h4 { color: var(--primary-color); font-weight: 600; }
h2 { text-align: center; margin-bottom: 50px; font-size: 2.5rem; }
section { padding: 60px 0; }

/* --- Hero Section (Homepage) --- */
/* --- Hero Section (Homepage) --- */
#hero {
    /* DIUBAH: Menggunakan link placeholder untuk TES */
    background: linear-gradient(rgba(248, 244, 240, 0.8), rgba(248, 244, 240, 0.8)), 
                url('https://parvatiattire.com/images/hero-background.jpg') no-repeat center center/cover;
    
    color: var(--primary-color);
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

#hero h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    /* Warna font (color) dan text-shadow dihapus agar mengikuti style dari #hero */
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    font-weight: 400;
    /* Warna font (color) dan text-shadow dihapus agar mengikuti style dari #hero */
}

.cta-button { 
    display: inline-block; 
    background: var(--primary-color); 
    color: #fff; /* Warna teks tombol sudah putih */
    padding: 14px 30px; 
    text-decoration: none; 
    border-radius: 8px; 
    margin-top: 20px; 
    font-size: 1.1rem; 
    font-weight: 600; 
    transition: all 0.3s ease; 
}
.cta-button:hover { 
    background-color: #6a3245; 
    transform: translateY(-3px); 
    box-shadow: 0 6px 15px rgba(141, 69, 93, 0.35); 
}
/* --- Page Header (Koleksi & Cek) --- */
.page-header { text-align: center; margin-bottom: 40px; }
.page-header p { max-width: 600px; margin: 0 auto; color: #666; }

/* --- Form Filter (Cek Ketersediaan) --- */
.filter-box { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.07); max-width: 800px; margin: 0 auto 40px auto; }
.filter-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; align-items: flex-end; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 1rem; }
#cek-button { padding: 12px 30px; background-color: var(--primary-color); color: white; border: none; border-radius: 8px; cursor: pointer; font-size: 1rem; font-weight: 600; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; min-height: 48px; }
#cek-button:hover:not(:disabled) { background-color: #6a3245; transform: translateY(-2px); }
#cek-button:disabled { background-color: #a0848f; cursor: not-allowed; }
.search-filter-box { max-width: 800px; margin: -20px auto 30px auto; display: none; }
#search-filter-box label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-color); }
.search-input-wrapper { position: relative; }
#search-filter-input { width: 100%; padding: 12px 40px 12px 12px; border: 1px solid var(--border-color); border-radius: 8px; box-sizing: border-box; font-family: 'Poppins', sans-serif; font-size: 1rem; background: #fff; }
.clear-search-btn { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); background: none; border: none; font-size: 1.8rem; line-height: 1; color: #aaa; cursor: pointer; padding: 0 5px; display: none; }
.clear-search-btn:hover { color: #333; }
/* --- Filter Controls (Koleksi) --- */
.filter-controls { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    margin-bottom: 40px; 
    position: static; /* <-- DIUBAH: Tidak lagi sticky */
    /* top: 74px; (Tidak lagi diperlukan) */
    background-color: var(--secondary-color); 
    padding: 15px 0; 
    /* z-index: 990; (Tidak lagi diperlukan) */
    box-shadow: none; /* <-- DIUBAH: Hapus shadow agar menyatu */
}
.filter-buttons { display: flex; gap: 10px; overflow-x: auto; white-space: nowrap; -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 10px; }
.filter-buttons::-webkit-scrollbar { display: none; }
.filter-buttons button { background-color: #fff; border: 1px solid #ddd; border-radius: 20px; padding: 8px 20px; font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; flex-shrink: 0; }
.filter-buttons button:hover { background-color: #f0f0f0; }
.filter-buttons button.active { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.search-bar input { width: 100%; padding: 10px 15px; border: 1px solid #ddd; border-radius: 20px; font-family: 'Poppins', sans-serif; font-size: 0.9rem; }

/* --- STYLES BARU: Search + View Toggle --- */
.search-and-view {
    display: flex;
    gap: 15px;
    align-items: center;
}
.search-bar {
    flex-grow: 1;
}
.search-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.search-filter-header label {
    margin-bottom: 0;
}
.view-toggle-buttons {
    display: none; /* Sembunyi di desktop */
    flex-shrink: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 2px;
}
.view-toggle-btn {
    background: transparent;
    border: none;
    border-radius: 18px;
    padding: 6px 10px;
    font-size: 1.2rem;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
}
.view-toggle-btn:hover {
    color: #333;
}
.view-toggle-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 2px 5px rgba(141, 69, 93, 0.3);
}


 /* --- Category Filters (Cek Ketersediaan) --- */
.category-filters { display: none; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px auto 15px auto; max-width: 800px; }
.filter-btn { padding: 8px 18px; border: 1px solid var(--primary-color); background-color: transparent; color: var(--primary-color); border-radius: 20px; cursor: pointer; font-size: 0.9em; transition: all 0.3s ease; font-weight: 500; }
.filter-btn:hover { background-color: #e9e4e0; }
.filter-btn.active { background-color: var(--primary-color); color: white; }

/* --- Gallery & Cards --- */
.gallery-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07); transition: transform 0.3s, box-shadow 0.3s, opacity 0.4s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }
.card a > img { text-decoration: none; }
.card img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; }
.card-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; text-align: center; }
.card-info h3 { margin: 0 0 10px 0; font-size: 1rem; flex-grow: 1; }
.card-info p { margin-bottom: 20px; color: #666; }
.btn-secondary { display: inline-block; padding: 8px 24px; border: 2px solid var(--primary-color); color: var(--primary-color); border-radius: 8px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
.btn-secondary:hover { background-color: var(--primary-color); color: white; transform: translateY(-2px); }
.card-buttons { display: flex; gap: 10px; margin-top: 15px; }
.card-buttons .btn-primary, .card-buttons .btn-secondary { flex: 1; margin-top: 0; padding: 10px 5px; font-size: 0.9rem; gap: 8px; text-decoration: none; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; }
.card-buttons .btn-primary { background: var(--primary-color); color: #fff; border: 2px solid var(--primary-color); }
.card-buttons .btn-primary:hover { background-color: #6a3245; border-color: #6a3245; }
.card-buttons .btn-secondary { background: #fff; border: 2px solid var(--primary-color); color: var(--primary-color); }
.card-buttons .btn-secondary:hover { background-color: var(--primary-color); color: #fff; }

/* --- Homepage Sections --- */
#how-to { background-color: var(--secondary-color); }
.step { padding: 30px 20px; background-color: #fff; border-radius: 12px; transition: transform 0.3s, box-shadow 0.3s; border: 1px solid var(--border-color); }
.step:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.step .icon { display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; background-color: var(--primary-color); color: white; font-size: 1.5rem; font-weight: 700; border-radius: 50%; margin: 0 auto 20px auto; }
.step h3 { margin-bottom: 10px; }
#testimonials { background: var(--header-footer-bg); }
.testimonial-card { padding: 30px; text-align: center; background: #fff; border-radius: 12px; border: 1px solid var(--border-color); }
.testimonial-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 4px solid var(--secondary-color); }
.testimonial-card blockquote { margin: 0; font-style: italic; color: #555; }
.testimonial-card cite { display: block; margin-top: 15px; font-weight: 600; color: var(--primary-color); font-style: normal; }
#faq { background-color: #fff; }
.faq-category { margin-top: 40px; margin-bottom: 15px; padding-bottom: 5px; border-bottom: 2px solid var(--primary-color); display: inline-block; }
.faq-category:first-of-type { margin-top: 0; }
.faq-item { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.faq-item summary { font-size: 1.1rem; font-weight: 600; padding: 18px 25px; cursor: pointer; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary-color); position: absolute; right: 25px; top: 50%; transform: translateY(-50%); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-content { padding: 0 25px 20px 25px; border-top: 1px solid #eee; }
.faq-content a { color: var(--primary-color); font-weight: bold; text-decoration: none; }
.faq-content a:hover { text-decoration: underline; }

/* --- Status, Loaders & Buttons --- */
.availability-text { text-align: center; font-size: 1.1em; font-weight: 500; margin-bottom: 40px; display: none; }
.status-text { text-align: center; font-size: 1.1em; color: #555; margin: 40px 20px; }
#not-found-message, .load-more-container { text-align: center; padding: 40px 20px; display: none; }
#load-more-btn { background-color: var(--primary-color); color: #fff; border: none; border-radius: 25px; padding: 12px 30px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.button-loader { width: 22px; height: 22px; border: 3px solid #fff; border-bottom-color: transparent; border-radius: 50%; display: none; animation: spin 1s linear infinite; }
#cek-button.loading .button-loader { display: inline-block; }
#cek-button.loading .button-text { display: none; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.skeleton-img, .skeleton-text, .skeleton-button { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: skeleton-pulse 1.5s infinite; }
.skeleton-img { width: 100%; aspect-ratio: 9 / 16; }
.skeleton-info { padding: 20px; }
.skeleton-text { height: 22px; width: 80%; margin: 0 auto 15px auto; border-radius: 4px; }
.skeleton-button { height: 44px; width: 70%; margin: 15px auto 0 auto; border-radius: 8px; }
@keyframes skeleton-pulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }


/* ================================================================
   STYLE HALAMAN LOKASI & DETAIL PRODUK
   ================================================================ */
.location-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.location-map iframe { width: 100%; height: 500px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.location-info-card { background-color: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.07); }
.location-info-card h3 { margin-top: 0; font-size: 1.8rem; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; display: inline-block; }
.location-info-card address { font-style: normal; font-size: 1.1rem; line-height: 1.6; margin: 20px 0; }
.location-info-card h4 { margin-top: 30px; margin-bottom: 10px; }
.location-info-card p { margin: 0; display: flex; align-items: flex-start; gap: 10px; }
.location-info-card p i { font-size: 1.4rem; margin-top: 4px; color: var(--primary-color); }
.location-actions { margin-top: 30px; display: grid; gap: 15px; }
.action-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; border: 2px solid transparent; }
.action-button i { font-size: 1.2rem; }
.action-button.primary { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.action-button.primary:hover { background-color: #6a3245; border-color: #6a3245; transform: translateY(-2px); }
.action-button.secondary { background-color: var(--secondary-color); color: var(--primary-color); border-color: var(--border-color); }
.action-button.secondary:hover { border-color: var(--primary-color); background-color: #e9e4e0; }
#copy-address-btn { width: 100%; font-family: 'Poppins', sans-serif; cursor: pointer; }

#product-detail-container { padding: 40px 0; }
.initial-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50vh; gap: 20px; color: #555; }
.breadcrumbs { margin-bottom: 30px; font-size: 0.9rem; color: #666; }
.breadcrumbs a { color: var(--primary-color); text-decoration: none; font-weight: 500; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 8px; }
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background-color: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.07); }
.detail-gallery { display: grid; grid-template-columns: 80px 1fr; gap: 15px; }
.detail-gallery-thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 550px; overflow-y: auto; padding-right: 5px; }
.thumb-item img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; border: 2px solid var(--border-color); cursor: pointer; transition: border-color 0.3s, opacity 0.3s; opacity: 0.7; }
.thumb-item img:hover { opacity: 1; }
.thumb-item.active img { border-color: var(--primary-color); opacity: 1; }
.detail-gallery-main img { width: 100%; height: 550px; object-fit: cover; border-radius: 8px; }
.detail-info h1 { font-size: 2.2rem; margin: 0 0 10px 0; }
.detail-info .price { font-size: 2rem; font-weight: 700; color: #333; margin-bottom: 20px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid var(--border-color); }
.tag-item { background-color: var(--secondary-color); color: var(--primary-color); padding: 6px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.detail-info h4 { margin: 25px 0 15px 0; font-size: 1.1rem; }
.detail-info ul { list-style: none; padding-left: 0; margin-bottom: 25px; }
.detail-info ul li { margin-bottom: 8px; display: flex; }
.detail-info ul li strong { min-width: 150px; color: #555; }
.detail-action-buttons { display: flex; gap: 15px; margin: 30px 0; }
.detail-main-button { flex-grow: 1; text-align: center; background: var(--primary-color); color: #fff; padding: 15px 20px; text-decoration: none; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 1rem; }
.detail-main-button:hover { background-color: #6a3245; transform: translateY(-2px); }
.detail-share-button { flex-shrink: 0; width: 54px; height: 54px; border: 2px solid var(--border-color); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #555; text-decoration: none; transition: all 0.3s ease; background: none; cursor: pointer; }
.detail-share-button:hover { border-color: var(--primary-color); color: var(--primary-color); background-color: var(--secondary-color); }
.trust-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding-top: 25px; border-top: 1px solid var(--border-color); }
.badge-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #333; }
.badge-item i { font-size: 1.5rem; color: var(--success-color); }

/* --- Footer --- */
.main-footer { background: var(--primary-color); color: #fff; text-align: center; padding: 25px 0; margin-top: 40px; }

/* --- Bottom Navigation (Mobile) --- */
.bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; height: 60px; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1); z-index: 1000; align-items: center; border-top: 1px solid #eee; }
.bottom-nav>a, .bottom-nav>.nav-cta { width: 20%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #666; font-size: 0.65rem; font-weight: 500; }
.bottom-nav a:hover, .bottom-nav a.active { color: var(--primary-color); }
.bottom-nav a i { font-size: 1.6rem; margin-bottom: 2px; }
.bottom-nav .nav-cta a { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; transform: translateY(-15px); background-color: var(--primary-color); color: white; box-shadow: 0 0 15px rgba(141, 69, 93, 0.5); border: 3px solid white; }
.bottom-nav .nav-cta a i { margin-bottom: 0; font-size: 1.8rem; }

/* --- Modal (Pop-up) Styles --- */
.wide-swal { max-width: 900px !important; }
.product-modal { display: flex; text-align: left; gap: 25px; }
.modal-gallery { flex: 1; min-width: 0; }
.modal-single-image { width: 100%; object-fit: cover; border-radius: 8px; }
.swiper { width: 100%; height: 100%; border-radius: 8px; }
.swiper-slide { display: flex; justify-content: center; align-items: center; }
.swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.swiper .swiper-button-next, .swiper .swiper-button-prev { color: var(--primary-color); }
.swiper .swiper-pagination-bullet-active { background-color: var(--primary-color); }
.modal-info { flex: 1; max-height: 500px; overflow-y: auto; padding-right: 10px; }
.modal-info h3 { margin: 0; font-size: 1.8rem; }
.modal-price { display: block; font-size: 1.3rem; font-weight: 600; margin-bottom: 15px; }
.modal-info h4 { margin: 20px 0 10px 0; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.modal-size-chart, .modal-details-list { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.modal-size-chart li, .modal-details-list li { margin-bottom: 5px; }
.modal-action-buttons { display: flex; gap: 10px; margin-top: 25px; }
.modal-action-button { flex-grow: 1; text-align: center; background: var(--primary-color); color: #fff; padding: 12px 15px; text-decoration: none; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.9rem; }
.modal-action-button:hover { background-color: #6a3245; }
.modal-share-button { flex-shrink: 0; width: 45px; height: 45px; border: 2px solid var(--border-color); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #555; text-decoration: none; transition: all 0.3s ease; background: none; cursor: pointer; }
.modal-share-button:hover { border-color: var(--primary-color); color: var(--primary-color); }

/* --- STYLES BARU: Share Modal --- */
.share-swal { max-width: 400px !important; }
.share-modal-content { text-align: center; }
.share-modal-content h4 { margin-top: 0; margin-bottom: 10px; }
.share-modal-content p { font-size: 0.9rem; color: #666; margin-bottom: 20px; }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 20px; }
.share-option { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--text-color); padding: 15px 10px; border-radius: 8px; transition: background-color 0.3s; background: none; border: none; font-family: 'Poppins', sans-serif; cursor: pointer; }
.share-option:hover { background-color: var(--secondary-color); }
.share-option i { font-size: 2.5rem; margin-bottom: 8px; }
.share-option span { font-size: 0.8rem; font-weight: 500; }
.share-option .bxl-whatsapp { color: #25D366; }
.share-option .bxl-telegram { color: #0088cc; }
.share-option .bx-copy { color: #666; }
.share-link-input { width: 100%; box-sizing: border-box; background-color: var(--secondary-color); border: 1px solid var(--border-color); border-radius: 8px; padding: 10px; font-family: 'Poppins', sans-serif; text-align: center; font-size: 0.8rem; color: #555; }
/* ---------------------------------- */

/* --- Navigation Bar & Sidebar --- */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 7px 0; background-color: #fff; box-shadow: 0 1px 8px rgba(0,0,0,0.07); transition: transform 0.3s ease-in-out, box-shadow 0.4s ease; }
.main-header.header-hidden { transform: translateY(-100%); }
.header-content-wrapper { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sidebar-toggle { grid-column: 1; justify-self: start; background: none; border: none; cursor: pointer; font-size: 28px; color: var(--text-color); }
.main-header .logo { grid-column: 2; justify-self: center; color: var(--primary-color); text-decoration: none; font-size: 1.4rem; font-weight: 700; }
.sidebar { position: fixed; top: 0; left: 0; height: 100%; width: 260px; background-color: #fff; z-index: 1002; transform: translateX(-100%); transition: transform 0.4s ease; padding: 20px; box-shadow: 3px 0 15px rgba(0,0,0,0.1); display: flex; flex-direction: column; box-sizing: border-box; }
.sidebar.open { transform: translateX(0); }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.close-btn { background: none; border: none; cursor: pointer; font-size: 28px; color: var(--text-color); }
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li a { display: flex; align-items: center; padding: 14px 12px; margin-bottom: 8px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 1rem; transition: all 0.2s ease; }
.sidebar-menu li a i { font-size: 1.4rem; margin-right: 15px; }
.sidebar-cta-item { padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--border-color); }
.sidebar-cta-item a { background-color: transparent; color: var(--primary-color); font-weight: 600; border: 2px solid var(--primary-color); justify-content: center; }
.sidebar-cta-item a:hover { background-color: var(--primary-color); color: #fff; }
.sidebar-menu li:not(.sidebar-cta-item) a { color: #444; }
.sidebar-menu li:not(.sidebar-cta-item) a:hover { background-color: var(--secondary-color); color: var(--primary-color); }
.sidebar-menu li:not(.sidebar-cta-item) a.active { background-color: var(--primary-color); color: white; }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1001; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
.overlay.open { opacity: 1; visibility: visible; }
main { padding-top: 74px; } 

/* --- Media Queries --- */
@media (max-width: 992px) {
    .product-detail-layout { grid-template-columns: 1fr; }
    .detail-gallery { grid-template-columns: 1fr; }
    .detail-gallery-thumbs { flex-direction: row; max-height: none; overflow-x: auto; padding-bottom: 10px; order: 2; }
    .detail-gallery-main { order: 1; }
    .thumb-item { flex-shrink: 0; }
    .thumb-item img { width: 80px; }
    .location-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .filter-controls { position: static; box-shadow: none; }
    body { padding-bottom: 70px; }
    .bottom-nav { display: flex; }
    section { padding: 40px 0; }
    h2 { font-size: 2rem; }
    #hero { height: 70vh; }
    #hero h1 { font-size: 2.2rem; }
    .filter-grid { grid-template-columns: 1fr; }
    .product-detail-layout { padding: 20px; }
    .detail-info h1 { font-size: 1.8rem; }
    .detail-info .price { font-size: 1.6rem; }
    .trust-badges { grid-template-columns: 1fr; }
    .location-map iframe { height: 350px; }
    .header-content-wrapper { display: flex; justify-content: space-between; } 
    .main-header .logo { margin: 0 auto; transform: translateX(-15px); }
    @media (max-width: 768px) { .wide-swal { width: 95% !important; } .product-modal { flex-direction: column; } .modal-info { max-height: none; padding-right: 0; } }

    /* --- STYLES BARU: Tampilan Grid 2 Kolom --- */
    .view-toggle-buttons {
        display: inline-flex; /* Tampilkan di mobile */
    }
    .search-and-view {
        flex-direction: column;
        align-items: stretch;
    }
    
    .gallery-grid.view-2-col {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .gallery-grid.view-2-col .card-info {
        padding: 12px;
    }
    .gallery-grid.view-2-col .card-info h3 {
        font-size: 0.8rem;
        margin-bottom: 8px;
        line-height: 1.4;
    }
    .gallery-grid.view-2-col .card-buttons {
        flex-direction: column;
        gap: 6px;
        margin-top: 10px;
    }
    .gallery-grid.view-2-col .card-buttons .btn-primary,
    .gallery-grid.view-2-col .card-buttons .btn-secondary {
        font-size: 0.75rem;
        padding: 8px 5px;
        gap: 5px;
    }
    .gallery-grid.view-2-col .card-buttons .btn-primary i,
    .gallery-grid.view-2-col .card-buttons .btn-secondary i {
        font-size: 0.9rem;
    }
}

