:root {
    --primary: #0a0a0a; --secondary: #535353; --bg-light: #ffffff; --bg-gray: #f5f5f7;
    --border: #e5e5e7; --accent: #007bff; --danger: #ef4444; --success: #10b981;
    --dark-bg: #0f172a; --dark-card: #1e293b; --dark-border: #334155; --holo-cyan: #00f3ff;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
body { background-color: var(--bg-gray); color: var(--primary); -webkit-font-smoothing: antialiased; }

.sticky-top { position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
header { background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.header-left { display: flex; align-items: center; gap: 15px; }
.btn-hamburger { background: none; border: none; cursor: pointer; padding: 5px; display: flex; align-items: center; justify-content: center; }
.btn-hamburger svg { width: 26px; height: 26px; color: var(--primary); }
.logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.5px; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.logo img { max-height: 32px; max-width: 120px; object-fit: contain; border-radius: 4px; }
.logo-text-badge { background: var(--primary); color: #fff; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 18px; }

.sub-header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); padding: 12px 20px; display: flex; gap: 15px; align-items: center; border-bottom: 1px solid var(--border); overflow: hidden; }
.search-box { display: flex; align-items: center; background: var(--bg-gray); border: 1px solid var(--border); border-radius: 30px; padding: 8px 16px; flex-shrink: 0; width: 100%; max-width: 400px; margin: 0 auto; }
.search-box:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(0,0,0,0.05); }
.search-box svg { width: 16px; height: 16px; color: var(--secondary); margin-right: 8px; flex-shrink: 0; }
.search-box input { border: none; outline: none; background: transparent; font-size: 14px; width: 100%; font-family: 'Plus Jakarta Sans', sans-serif; }

.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.3s; }
.sidebar-overlay.active { opacity: 1; visibility: visible; }
.sidebar-drawer { position: fixed; top: 0; left: 0; width: 320px; max-width: 85vw; height: 100%; background: var(--dark-bg); color: #fff; z-index: 2001; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; }
.sidebar-drawer.active { transform: translateX(0); }
.sidebar-header { padding: 20px; border-bottom: 1px solid var(--dark-border); display: flex; justify-content: space-between; align-items: center; }
.sidebar-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; }
.btn-close-sidebar { background: none; border: none; color: #94a3b8; cursor: pointer; font-size: 24px; }
.sidebar-content { padding: 20px; overflow-y: auto; flex: 1; }
.sidebar-section { margin-bottom: 30px; }
.sidebar-section h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; margin-bottom: 12px; }
.sidebar-link { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; cursor: pointer; transition: background 0.2s; font-weight: 500; }
.sidebar-link:hover { background: var(--dark-card); }
.sidebar-link.active { background: var(--dark-card); color: var(--holo-cyan); }
.sidebar-link svg { width: 20px; height: 20px; color: var(--holo-cyan); }
.sidebar-cat-item { display: flex; justify-content: space-between; align-items: center; padding: 12px; border-radius: 8px; cursor: pointer; transition: background 0.2s; border: 1px solid transparent; }
.sidebar-cat-item:hover { background: var(--dark-card); border-color: var(--dark-border); }

.hero { background: var(--bg-light); padding: 60px 20px; text-align: center; margin-bottom: 0; border-bottom: 1px solid var(--border); }
.hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 700; letter-spacing: -2px; margin-bottom: 15px; line-height: 1.1; }
.hero p { font-size: 16px; color: var(--secondary); font-weight: 300; max-width: 600px; margin: 0 auto; }
.catalog-container { max-width: 1400px; margin: 0 auto; padding: 40px 20px 80px; }
.filter-bar { display: flex; justify-content: space-between; margin-bottom: 30px; align-items: center; flex-wrap: wrap; gap: 15px; }
.filter-bar h2 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 600; }
.filter-bar select { padding: 10px 20px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-family: inherit; font-size: 14px; cursor: pointer; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product-card { background: #fff; border-radius: 16px; overflow: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; border: 1px solid transparent; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--border); }
.product-image { width: 100%; aspect-ratio: 1/1; background-color: var(--bg-gray); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; cursor: pointer; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.badge { position: absolute; top: 15px; left: 15px; background-color: #fff; color: var(--primary); padding: 6px 12px; font-size: 11px; font-weight: 700; border-radius: 20px; z-index: 2; box-shadow: 0 2px 10px rgba(0,0,0,0.1); text-transform: uppercase; letter-spacing: 0.5px; }
.badge.sale { background-color: var(--danger); color: #fff; }
.product-info { padding: 20px; }
.product-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.product-info .category { font-size: 12px; color: var(--secondary); margin-bottom: 12px; text-transform: capitalize; }
.colors { display: flex; gap: 6px; margin-bottom: 12px; }
.color-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--border); }
.price { font-size: 16px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.price .old-price { text-decoration: line-through; color: #999; font-weight: 400; font-size: 14px; margin-right: 8px; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 80px; color: var(--secondary); font-size: 18px; }

.hologram-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 3000; perspective: 1000px; padding: 10px; }
.hologram-overlay.active { opacity: 1; visibility: visible; }
.hologram-box { background: rgba(15, 23, 42, 0.95); border: 1px solid rgba(0, 243, 255, 0.2); box-shadow: 0 0 40px rgba(0, 243, 255, 0.15); border-radius: 20px; width: 100%; max-width: 900px; max-height: 95vh; display: flex; overflow: hidden; transform: scale(0.9) translateY(20px); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; }
.hologram-overlay.active .hologram-box { transform: scale(1) translateY(0); }
.holo-image-section { flex: 1.2; background: rgba(255, 255, 255, 0.02); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; border-right: 1px solid rgba(255,255,255,0.05); min-height: 0; }
.holo-slider-container { width: 100%; height: 100%; position: relative; overflow: hidden; }
.holo-slider-track { display: flex; height: 100%; transition: transform 0.4s ease-in-out; }
.holo-slide { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.holo-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.holo-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255,255,255,0.1); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; z-index: 20; backdrop-filter: blur(4px); }
.holo-nav-btn:hover { background: var(--holo-cyan); color: #000; }
.holo-prev { left: 20px; } .holo-next { right: 20px; }
.holo-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 20; }
.holo-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); cursor: pointer; transition: all 0.3s; }
.holo-dot.active { background: var(--holo-cyan); width: 24px; border-radius: 4px; }
.holo-details { flex: 1; padding: 50px 40px; color: #fff; display: flex; flex-direction: column; justify-content: flex-start; background: rgba(0,0,0,0.3); overflow-y: auto; min-height: 0; }
.holo-cat { font-family: 'Space Grotesk', sans-serif; color: var(--holo-cyan); font-size: 12px; letter-spacing: 2px; margin-bottom: 10px; text-transform: uppercase; font-weight: 600; }
.holo-title { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 600; margin-bottom: 15px; line-height: 1.2; }
.holo-desc { font-size: 14px; line-height: 1.7; color: #94a3b8; margin-bottom: 25px; font-weight: 300; }
.holo-sizes-container { margin-bottom: 30px; }
.holo-sizes-label { font-size: 12px; color: #94a3b8; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.holo-sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.holo-size-btn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 500; }
.holo-size-btn:hover, .holo-size-btn.active { background: #fff; color: #000; border-color: #fff; }
.holo-price { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; margin-bottom: 30px; color: #fff; }
.holo-btn { background: var(--holo-cyan); border: none; color: #000; padding: 16px 20px; text-transform: uppercase; cursor: pointer; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-decoration: none; text-align: center; display: block; border-radius: 8px; }
.holo-btn:hover { background: #fff; box-shadow: 0 0 20px rgba(0, 243, 255, 0.4); }
.holo-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.1); border: none; color: #fff; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; z-index: 30; }
.holo-close:hover { background: var(--danger); }

.auth-box { background: var(--dark-card); border: 1px solid var(--dark-border); padding: 40px; border-radius: 16px; width: 100%; max-width: 400px; text-align: center; box-shadow: 0 0 40px rgba(0,0,0,0.5); z-index: 3001; position: relative; }
.auth-box h2 { color: var(--holo-cyan); font-family: 'Space Grotesk', sans-serif; margin-bottom: 10px; }
.auth-box p { color: #94a3b8; margin-bottom: 20px; font-size: 14px; }
.auth-input { width: 100%; padding: 12px 16px; background: var(--dark-bg); border: 1px solid var(--dark-border); border-radius: 8px; color: #fff; margin-bottom: 15px; font-size: 14px; outline: none; text-align: center; letter-spacing: 2px; }
.auth-input:focus { border-color: var(--holo-cyan); }
.auth-error { color: var(--danger); font-size: 12px; margin-top: 10px; display: none; }

#adminView { display: none; background: var(--dark-bg); min-height: 100vh; color: #fff; padding: 30px 20px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 600; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.settings-card { background: var(--dark-card); border: 1px solid var(--dark-border); padding: 24px; border-radius: 16px; margin-bottom: 30px; max-width: 800px; }
.settings-title { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 20px; color: var(--holo-cyan); display: flex; align-items: center; gap: 8px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.settings-grid .full { grid-column: 1 / -1; }
.cat-manager-input { display: flex; gap: 10px; margin-bottom: 15px; }
.cat-list-admin { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-admin-pill { background: var(--dark-bg); border: 1px solid var(--dark-border); padding: 6px 12px; border-radius: 20px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.cat-admin-pill button { background: var(--danger); color: #fff; border: none; width: 18px; height: 18px; border-radius: 50%; cursor: pointer; font-size: 10px; display: flex; align-items: center; justify-content: center; }

/* DAFTAR SOSIAL MEDIA DI ADMIN */
.admin-social-item {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--dark-bg); border: 1px solid var(--dark-border);
    padding: 10px 15px; border-radius: 8px; margin-bottom: 8px;
}
.admin-social-item .left-info { display: flex; align-items: center; gap: 10px; }
.admin-social-item .soc-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; }
.admin-social-item button { background: var(--danger); color: #fff; border: none; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: 12px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: var(--dark-card); border: 1px solid var(--dark-border); padding: 20px; border-radius: 16px; display: flex; align-items: center; gap: 16px; }
.stat-icon { background: rgba(255,255,255,0.05); padding: 10px; border-radius: 12px; color: var(--holo-cyan); }
.stat-icon svg { width: 20px; height: 20px; }
.stat-info h4 { font-size: 12px; color: #94a3b8; text-transform: uppercase; margin-bottom: 4px; font-weight: 500; }
.stat-info p { font-size: 24px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.admin-form { background: var(--dark-card); border: 1px solid var(--dark-border); padding: 24px; border-radius: 16px; max-width: 800px; }
.admin-form.editing { border-color: var(--holo-cyan); }
.form-title { font-family: 'Space Grotesk', sans-serif; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--dark-border); font-size: 18px; font-weight: 600; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: #94a3b8; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 14px; background: var(--dark-bg); border: 1px solid var(--dark-border); border-radius: 8px; font-family: inherit; font-size: 14px; color: #fff; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--holo-cyan); outline: none; }
.upload-area { border: 2px dashed var(--dark-border); padding: 16px; text-align: center; border-radius: 8px; cursor: pointer; background: var(--dark-bg); }
.upload-area:hover { border-color: var(--holo-cyan); color: var(--holo-cyan); }
.info-box { margin-top: 8px; padding: 8px; background: rgba(0, 243, 255, 0.1); border-radius: 6px; border: 1px solid rgba(0, 243, 255, 0.2); text-align: left; }
.image-preview-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 10px; margin-top: 15px; padding: 10px; border: 1px dashed var(--dark-border); border-radius: 8px; background: var(--dark-bg); min-height: 70px; }
.image-preview-container:empty::before { content: "Belum ada gambar dipilih..."; color: #64748b; font-size: 12px; grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; }
.image-preview { position: relative; }
.image-preview img { width: 100%; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--dark-border); }
.remove-img-btn { position: absolute; top: -6px; right: -6px; background: var(--danger); color: white; border: none; border-radius: 50%; width: 18px; height: 18px; font-size: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.btn-submit { background: var(--holo-cyan); color: #000; border: none; padding: 12px 20px; width: 100%; border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 14px; margin-top: 10px; }
.btn-submit:hover { background: #fff; }
.btn-save-settings { background: var(--success); color: #fff; }
.btn-cancel { background: transparent; color: var(--danger); border: 1px solid var(--danger); padding: 10px 20px; width: 100%; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 13px; margin-top: 10px; }
.admin-list { background: var(--dark-card); border: 1px solid var(--dark-border); padding: 24px; border-radius: 16px; overflow-x: auto; }
.list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--dark-border); }
.list-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; }
.product-count { background: var(--dark-bg); padding: 4px 10px; border-radius: 20px; font-size: 12px; color: #94a3b8; font-weight: 500; border: 1px solid var(--dark-border); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.admin-table th { text-align: left; padding: 10px 16px; background: var(--dark-bg); font-weight: 600; color: #94a3b8; font-size: 12px; text-transform: uppercase; }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--dark-border); font-size: 14px; vertical-align: middle; }
.admin-table img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; border: 1px solid var(--dark-border); }
.table-badge { padding: 4px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.table-badge.baru { background: rgba(0, 123, 255, 0.1); color: var(--accent); }
.table-badge.sale { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.table-badge.normal { background: rgba(148, 163, 184, 0.1); color: #94a3b8; }
.action-btn { padding: 6px 12px; border: none; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 600; margin-right: 8px; }
.btn-edit { background: rgba(0, 243, 255, 0.1); color: var(--holo-cyan); }
.btn-edit:hover { background: var(--holo-cyan); color: #000; }
.btn-delete { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.btn-delete:hover { background: var(--danger); color: #fff; }

.toast { position: fixed; bottom: 20px; right: 20px; background: #fff; color: var(--primary); padding: 14px 24px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); transform: translateY(100px); opacity: 0; transition: all 0.3s; z-index: 4000; font-weight: 600; display: flex; align-items: center; gap: 10px; border-left: 4px solid var(--success); max-width: 90%; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.delete { border-left-color: var(--danger); }
footer { background: var(--bg-light); border-top: 1px solid var(--border); text-align: center; padding: 40px 20px; color: var(--secondary); font-size: 14px; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--dark-border); border-radius: 4px; }

/* WIDGET MULTI-CHAT */
.chat-widget { position: fixed; bottom: 20px; right: 20px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; }
.chat-toggle { width: 60px; height: 60px; border-radius: 50%; background: #0a0a0a; color: #00f3ff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3); border: none; position: relative; z-index: 2; transition: transform 0.3s; }
.chat-toggle:hover { transform: scale(1.05); }
.chat-options { display: flex; flex-direction: column-reverse; gap: 10px; margin-bottom: 15px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all 0.3s ease; }
.chat-widget.active .chat-options { opacity: 1; transform: translateY(0); pointer-events: auto; }
.chat-option-link { display: flex; align-items: center; gap: 10px; background: var(--bg-light); color: #fff; padding: 8px 15px; border-radius: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.2); transition: transform 0.2s; text-decoration: none; }
.chat-option-link:hover { transform: translateX(-5px); color: #fff; }
.chat-option-link .icon-circle { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.chat-option-link span { font-size: 14px; font-weight: 600; color: #111; }

#chatIconClose { display: none; }
.chat-widget.active #chatIconOpen { display: none; }
.chat-widget.active #chatIconClose { display: block; }

@media (max-width: 768px) {
    .hero { padding: 40px 20px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 14px; }
    .catalog-container { padding: 20px 15px 60px; }
    .filter-bar h2 { font-size: 20px; }
    .hologram-box { flex-direction: column; max-height: 95vh; overflow-y: auto; }
    .holo-image-section { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); flex: none; height: 350px; }
    .holo-slider-container { height: 100%; }
    .holo-details { padding: 30px 20px; }
    .holo-title { font-size: 24px; }
    .holo-price { font-size: 22px; margin-bottom: 20px; }
    .holo-sizes-container { margin-bottom: 20px; }
    .settings-grid { grid-template-columns: 1fr; }
    .admin-header h2 { font-size: 22px; }
    .admin-form, .settings-card { padding: 20px; }
    .search-box { max-width: 100%; }
}