*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #ffd54a;
  --gold-dark: #f5b400;
  --dark: #0d0d0d;
  --dark2: #1a1a1a;
  --text: #f7f7f7;
  --text-muted: rgba(247,247,247,.65);
  --border-gold: rgba(255,193,7,.45);
  --nav-h: 60px;
}

html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--dark); color: var(--text); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #fff; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== CONTAINER ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ===== TOPBAR ===== */
.topbar { background: linear-gradient(135deg, #0a0a0a, #1a1200); border-bottom: 1px solid var(--border-gold); padding: 8px 0; font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-left { color: var(--text-muted); font-weight: 600; letter-spacing: .3px; }
.topbar-right { display: flex; gap: 8px; }
.topbar-btn { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0d0d0d; border: none; border-radius: 6px; padding: 5px 14px; font-size: 12px; font-weight: 800; cursor: pointer; transition: .2s; }
.topbar-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,180,0,.3); }

/* ===== NAVBAR ===== */
.navbar { background: linear-gradient(180deg, #111 0, #0a0a0a 100%); border-bottom: 1px solid var(--border-gold); position: sticky; top: 0; z-index: 1000; }
.nav-inner { display: flex; align-items: center; gap: 16px; padding: 10px 16px; }
.logo img, .logo-mobile img { height: 40px; }
.logo-mobile { display: none; }

/* SEARCH */
.search { flex: 1; max-width: 480px; display: flex; align-items: center; gap: 0; background: rgba(255,255,255,.06); border: 1px solid var(--border-gold); border-radius: 24px; overflow: hidden; }
.search input[type=text] { flex: 1; background: none; border: none; outline: none; padding: 10px 16px; color: var(--text); font-size: 14px; }
.search input::placeholder { color: var(--text-muted); }
.search-icon-btn { background: none; border: none; padding: 0 14px; color: var(--gold); display: flex; align-items: center; }

/* NAV ACTIONS */
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { background: none; border: none; color: var(--text); font-size: 20px; padding: 6px; position: relative; }
.badge { background: #ef4444; color: #fff; border-radius: 999px; font-size: 10px; font-weight: 800; padding: 1px 5px; min-width: 16px; text-align: center; }
.badge.is-empty { display: none; }
.login-btn { display: flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0d0d0d; border: none; border-radius: 8px; padding: 7px 14px; font-size: 13px; font-weight: 800; }

/* MEGA CATS */
.mega-cats-wrapper { position: relative; overflow: hidden; }
.mega-cats { display: flex; gap: 4px; padding: 8px 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; white-space: nowrap; }
.mega-cats::-webkit-scrollbar { display: none; }
.mega-cats a { color: var(--text-muted); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 20px; border: 1px solid transparent; transition: .2s; white-space: nowrap; }
.mega-cats a:hover, .mega-cats a.active { color: var(--gold); border-color: var(--border-gold); background: rgba(255,193,7,.08); }
.mega-cats-fade { position: absolute; right: 0; top: 0; bottom: 0; width: 40px; background: linear-gradient(to left, #0a0a0a, transparent); pointer-events: none; transition: opacity .3s; }

/* ===== BOTTOM NAV (MOBILE) ===== */
.bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: linear-gradient(180deg, #111 0, #0a0a0a 100%); border-top: 1px solid var(--border-gold); padding-bottom: env(safe-area-inset-bottom, 0); }
.bottom-nav-inner { display: flex; align-items: stretch; }
.bottom-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px 10px; background: none; border: none; color: var(--text-muted); font-size: 10px; font-weight: 600; cursor: pointer; transition: color .2s; text-decoration: none; }
.bottom-nav-item:hover, .bottom-nav-item.active { color: var(--gold); }
.bottom-nav-item-icon { position: relative; width: 24px; height: 24px; }
.bottom-nav-item-icon svg { width: 24px; height: 24px; }
.icon-filled { display: none; }
.icon-outlined { display: block; }
.bottom-nav-item.active .icon-filled { display: block; }
.bottom-nav-item.active .icon-outlined { display: none; }
.bottom-nav-item-badge { position: absolute; top: -4px; right: -6px; background: #ef4444; color: #fff; border-radius: 999px; font-size: 9px; padding: 1px 4px; min-width: 14px; text-align: center; }

/* ===== STICKY HEADER ===== */
.pd-sticky-header { position: fixed; top: 0; left: 0; right: 0; z-index: 990; background: linear-gradient(180deg, #0d0d0d 0, #111 100%); border-bottom: 1px solid var(--border-gold); transform: translateY(-100%); transition: transform .3s ease; }
.pd-sticky-header.visible { transform: translateY(0); }
.pd-sticky-header-container { display: flex; align-items: center; gap: 12px; padding: 8px 16px; max-width: 1280px; margin: 0 auto; }
.pd-sticky-thumb { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border-gold); }
.pd-sticky-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-sticky-info { flex: 1; min-width: 0; }
.pd-sticky-title { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-sticky-price-row { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.pd-sticky-price { font-size: 15px; font-weight: 800; color: var(--gold); }
.pd-sticky-price-original { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }
.pd-sticky-discount { font-size: 11px; font-weight: 800; background: #ef4444; color: #fff; padding: 2px 6px; border-radius: 4px; }
.pd-sticky-actions { display: flex; align-items: center; gap: 6px; }
.pd-sticky-btn { padding: 8px 14px; border: none; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
.pd-sticky-btn-cart { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid var(--border-gold); }
.pd-sticky-btn-buy { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0d0d0d; }
.pd-sticky-btn-chat { background: none; border: 1px solid var(--border-gold); color: var(--gold); display: flex; align-items: center; gap: 4px; }
.pd-sticky-share-btn { background: none; border: 1px solid var(--border-gold); color: var(--gold); border-radius: 8px; padding: 8px 10px; display: flex; align-items: center; }

/* ===== MAIN PRODUCT LAYOUT ===== */
.product-single { max-width: 1280px; margin: 0 auto; padding: 0 16px 80px; }
.pd-breadcrumb { padding: 12px 0; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.pd-breadcrumb a { color: var(--text-muted); }
.pd-breadcrumb a:hover { color: var(--gold); }
.pd-breadcrumb span { color: var(--text-muted); }
.pd-breadcrumb .current { color: var(--text); font-weight: 600; }

.pd-top-layout { display: grid; grid-template-columns: 1fr 1fr minmax(240px, 280px); gap: 24px; margin-top: 8px; }

/* MEDIA CARD */
.pd-media-card { display: flex; flex-direction: column; gap: 12px; }
.pd-main-image { border-radius: 14px; overflow: hidden; border: 1px solid var(--border-gold); background: rgba(255,255,255,.03); aspect-ratio: 1; }
.pd-main-image img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb-gallery { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-thumb-btn { width: 68px; height: 68px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: rgba(255,255,255,.04); cursor: pointer; padding: 0; transition: .2s; }
.pd-thumb-btn.active, .pd-thumb-btn:hover { border-color: var(--gold); }
.pd-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.pd-mobile-slider-wrapper { display: none; }

/* INFO CARD */
.pd-info-card { display: flex; flex-direction: column; gap: 16px; }
.pd-title-row { position: relative; padding-right: 52px; }
.pd-title { font-size: 20px; font-weight: 800; color: #fff; line-height: 1.35; margin: 0; }

/* PRICE */
.pd-price-block { display: flex; flex-direction: column; gap: 6px; }
.pd-price-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-price-current { font-size: 28px; font-weight: 900; color: var(--gold); text-shadow: 0 0 10px rgba(255,193,7,.25); }
.pd-price-original { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.pd-discount-badge { background: #ef4444; color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 800; }
.pd-meta-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sold-inline { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.pd-meta-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stock-badge { border-radius: 999px; padding: 4px 10px; font-weight: 800; font-size: 12px; }
.stock-badge.in { background: rgba(34,197,94,.14); color: #22c55e; }
.stock-badge.out { background: rgba(239,68,68,.14); color: #ef4444; }
.sku { font-size: 12px; color: var(--text-muted); }

/* SIDEBAR */
.pd-sidebar { display: flex; flex-direction: column; gap: 16px; }
.pd-side-card { background: linear-gradient(135deg, var(--dark) 0, var(--dark2) 55%, #2a1f00 100%); border: 1px solid var(--border-gold); border-radius: 16px; overflow: hidden; }
.pd-buy-card { padding: 0; }
.pd-buy-form { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.qty-label { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; display: block; }
.pd-buy-form input[type=number] { width: 100%; background: rgba(255,255,255,.06); border: 1px solid var(--border-gold); border-radius: 8px; padding: 10px 14px; color: var(--text); font-size: 16px; font-weight: 700; outline: none; }
.pd-actions { display: flex; gap: 8px; }
.btn-add-cart { flex: 1; background: rgba(255,255,255,.06); border: 1px solid var(--border-gold); color: var(--text); border-radius: 10px; padding: 12px; font-size: 14px; font-weight: 800; cursor: pointer; transition: .2s; }
.btn-add-cart:hover:not(:disabled) { background: rgba(255,193,7,.12); color: var(--gold); }
.btn-buy { flex: 1.5; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0d0d0d; border: none; border-radius: 10px; padding: 12px; font-size: 14px; font-weight: 900; cursor: pointer; transition: .2s; }
.btn-buy:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(245,180,0,.3); }
.btn-chat-icon { background: none; border: 1px solid var(--border-gold); color: var(--gold); border-radius: 10px; padding: 12px; width: 44px; display: flex; align-items: center; justify-content: center; }
button:disabled { opacity: .4; cursor: not-allowed; }

/* COMPARE */
.pd-compare-section { display: flex; flex-direction: column; gap: 6px; }
.pd-compare-btn { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border-gold); color: var(--text); border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; transition: .2s; }
.pd-compare-btn:hover { background: rgba(255,193,7,.08); color: var(--gold); }
.compare-note { font-size: 12px; color: var(--text-muted); }

/* FAQ */
.cptgl-section { position: relative; overflow: hidden; margin: 28px 0; padding: 22px; border-radius: 16px; background: linear-gradient(135deg, var(--dark) 0, #171717 55%, #2a1f00 100%); border: 1px solid var(--border-gold); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.cptgl-section-head { text-align: center; margin-bottom: 18px; }
.cptgl-section-head h3 { font-size: 20px; font-weight: 800; color: var(--gold); text-shadow: 0 0 10px rgba(255,193,7,.35); }
.cptgl-section-line { width: 64px; height: 3px; margin: 10px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); border-radius: 999px; }
.cptgl-faq-wrap { display: flex; flex-direction: column; gap: 10px; }
.cptgl-faq-item { border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,193,7,.22); overflow: hidden; }
.cptgl-faq-q { padding: 14px 16px; font-size: 14px; font-weight: 800; color: var(--gold); border-bottom: 1px solid rgba(255,193,7,.16); background: rgba(255,193,7,.08); }
.cptgl-faq-a { padding: 14px 16px; font-size: 14px; color: rgba(247,247,247,.86); line-height: 1.7; }

/* TESTIMONIALS */
.cptgl-testi-section { position: relative; overflow: hidden; margin: 28px 0 0; padding: 22px; border-radius: 16px; background: linear-gradient(135deg, var(--dark) 0, #171717 55%, #2a1f00 100%); border: 1px solid var(--border-gold); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.cptgl-testi-head { text-align: center; margin-bottom: 18px; }
.cptgl-testi-head h3 { font-size: 20px; font-weight: 800; color: var(--gold); }
.cptgl-testi-line { width: 64px; height: 3px; margin: 10px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); border-radius: 999px; }
.cptgl-testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cptgl-testi-card { position: relative; overflow: hidden; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,193,7,.22); transition: .2s; }
.cptgl-testi-card:hover { background: rgba(255,193,7,.08); border-color: rgba(255,213,74,.65); transform: translateY(-2px); }
.cptgl-testi-text { font-size: 14px; line-height: 1.8; color: rgba(247,247,247,.88); font-style: italic; margin-bottom: 14px; }
.cptgl-testi-user { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255,193,7,.16); }
.cptgl-testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0d0d0d; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; }
.cptgl-testi-meta h4 { margin: 0; font-size: 14px; font-weight: 800; color: #fff; }
.cptgl-testi-meta span { display: block; margin-top: 2px; font-size: 13px; color: rgba(247,247,247,.65); }

/* RELATED PRODUCTS */
.pd-related-full { margin-top: 32px; }
.pd-related-title { font-size: 20px; font-weight: 800; color: var(--gold); margin-bottom: 16px; }
.pd-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.pd-related-card { background: linear-gradient(135deg, var(--dark) 0, #171717 55%, #2a1f00 100%); border: 1px solid var(--border-gold); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--text); transition: .2s; display: block; }
.pd-related-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.pd-related-card .thumb { position: relative; aspect-ratio: 1; overflow: hidden; }
.pd-related-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-disc { position: absolute; top: 8px; left: 8px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 4px; }
.pd-related-card .info { padding: 10px 12px; }
.pd-related-card .info h3 { font-size: 13px; font-weight: 700; margin-bottom: 4px; color: #fff; line-height: 1.3; }
.pd-related-card .price { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.pd-related-card .final { font-size: 14px; font-weight: 800; color: var(--gold); }
.pd-related-card .ori { font-size: 11px; color: var(--text-muted); text-decoration: line-through; }
.pd-related-card .sold { font-size: 11px; color: var(--text-muted); margin-top: 4px; display: block; }
.stock-dot { position: absolute; bottom: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; }
.stock-dot.ready { background: #10b981; }
.stock-dot.low { background: #f59e0b; }
.stock-dot.out { background: #ef4444; }

/* FLOATING ACTION / MOBILE FAB */
.pd-mobile-fab { display: none; position: fixed; bottom: 60px; left: 0; right: 0; z-index: 900; }
.mf-actions { display: flex; padding: 8px 12px; gap: 8px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.9) 30%); }
.mf-btn { border: none; cursor: pointer; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 10px; padding: 12px 10px; font-size: 12px; transition: .2s; }
.mf-btn:disabled { opacity: .4; }
.mf-share { background: rgba(255,193,7,.1); border: 1px solid var(--border-gold) !important; color: var(--gold); width: 44px; }
.mf-chat { background: rgba(255,255,255,.08); border: 1px solid var(--border-gold) !important; color: var(--text); flex: 1; }
.mf-cart { background: rgba(255,255,255,.08); border: 1px solid var(--border-gold) !important; color: var(--text); flex: 1; }
.mf-buy { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0d0d0d; flex: 2; flex-direction: column; gap: 1px; }
.mf-buy-text { font-size: 12px; font-weight: 800; }
.mf-buy-price { font-size: 11px; font-weight: 700; opacity: .8; }

/* SCROLL TO TOP */
.pd-scroll-top { position: fixed; bottom: 80px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0d0d0d; border: none; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: .2s; z-index: 800; }
.pd-scroll-top.visible { opacity: 1; pointer-events: auto; }

/* BREADCRUMB */
.pd-breadcrumb { padding: 12px 0; font-size: 13px; }

/* INFO TABLE PANEL */
.cong-info-panel { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--dark) 0, #171717 55%, #2a1f00 100%); border: 1px solid var(--border-gold); border-radius: 16px; }
.cong-info-panel .panel-heading { background: rgba(255,193,7,.08); border-bottom: 1px solid rgba(255,193,7,.22); padding: 14px 18px; font-size: 15px; font-weight: 800; color: var(--gold); }
.cong-info-panel table { width: 100%; border-collapse: collapse; }
.cong-info-panel td { padding: 11px 18px; font-size: 13px; border-bottom: 1px solid rgba(255,193,7,.1); }
.cong-info-panel tr:last-child td { border-bottom: none; }
.cong-info-panel td:first-child { color: var(--text-muted); width: 45%; font-weight: 600; }
.cong-info-panel td:last-child { color: #fff; font-weight: 700; }
.cong-info-panel td strong { color: var(--gold); font-weight: 800; }
.cong-info-panel tr:hover td { background: rgba(255,193,7,.06); }

/* ARTICLE CARD */
.cong-artikel-card { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--dark) 0, #171717 55%, #2a1f00 100%); border: 1px solid var(--border-gold); border-radius: 16px; }
.cong-artikel-card__body { padding: 20px 22px; }
.cong-artikel-card__body p { margin: 0 0 16px; font-size: 15px; line-height: 1.85; color: rgba(247,247,247,.9); }
.cong-artikel-card__body p:last-child { margin-bottom: 0; }
.cong-artikel-card__body a { color: var(--gold); font-weight: 700; border-bottom: 1px solid rgba(255,213,74,.45); transition: .2s; }
.cong-artikel-card__body strong { font-weight: 800; color: var(--gold); }

/* FOOTER */
.site-footer { background: linear-gradient(180deg, #0d0d0d 0, #080808 100%); border-top: 1px solid var(--border-gold); margin-top: 40px; }
.ft-top { padding: 40px 0 20px; }
.ft-grid { display: grid; grid-template-columns: 260px 1fr 1fr; gap: 40px; }
.ft-title { font-size: 14px; font-weight: 800; color: var(--gold); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.ft-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.ft-wa-btn { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13px; font-weight: 800; margin-bottom: 16px; transition: .2s; }
.ft-wa-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,.3); color: #fff; }
.ft-social { display: flex; gap: 10px; }
.ft-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border-gold); color: var(--text-muted); transition: .2s; }
.ft-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(255,193,7,.08); }
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ft-links li a { font-size: 13px; color: var(--text-muted); transition: .2s; }
.ft-links li a:hover { color: var(--gold); }
.ft-address { margin-top: 14px; }
.ft-address p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.ft-address .company { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.ft-payments { margin-top: 14px; }
.pay-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pay-row img { height: 24px; width: auto; filter: brightness(.7); }
.ft-collapsible-content { display: contents; }
.ft-expand-btn { display: none; }
.ft-bottom { border-top: 1px solid rgba(255,193,7,.15); padding: 16px 0; }
.ft-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.ft-copy { font-size: 12px; color: var(--text-muted); }

/* COMPARE SIDEBAR */
.compare-sidebar { position: fixed; right: -340px; top: 0; bottom: 0; width: 340px; background: linear-gradient(180deg, #111 0, #0a0a0a 100%); border-left: 1px solid var(--border-gold); z-index: 1100; transition: right .3s ease; display: flex; flex-direction: column; }
.compare-sidebar.is-open { right: 0; }
.compare-header { padding: 16px; border-bottom: 1px solid var(--border-gold); display: flex; align-items: center; justify-content: space-between; }
.compare-title { font-size: 15px; font-weight: 800; color: var(--gold); display: flex; align-items: center; gap: 8px; }
.compare-close { background: none; border: none; color: var(--text-muted); display: flex; align-items: center; }
.compare-content { flex: 1; overflow-y: auto; padding: 16px; }
.compare-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1099; display: none; }
.compare-overlay.active { display: block; }

/* MODALS */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 2000; display: none; align-items: center; justify-content: center; }
.modal-overlay.show { display: flex; }
.modal-dialog { background: linear-gradient(135deg, var(--dark) 0, #171717 100%); border: 1px solid var(--border-gold); border-radius: 16px; padding: 24px; max-width: 420px; width: calc(100% - 32px); }
.modal-title { font-size: 16px; font-weight: 800; color: var(--gold); display: flex; align-items: center; gap: 10px; }
.modal-message { font-size: 14px; color: var(--text-muted); margin: 12px 0 20px; line-height: 1.6; }
.modal-actions { display: flex; gap: 10px; }
.modal-btn { flex: 1; padding: 11px; border: none; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }
.modal-btn-secondary { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid var(--border-gold); }
.modal-btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #0d0d0d; }

/* TOAST */
.toast-root { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 9999; pointer-events: none; max-width: min(92vw,540px); display: flex; flex-direction: column; gap: 10px; }
.toast { background: linear-gradient(135deg, var(--dark) 0, #171717 55%, #2a1f00 100%); color: var(--text); border: 1px solid var(--border-gold); padding: 12px 14px; border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.38); pointer-events: auto; display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; }
.toast .ttl { font-weight: 800; color: var(--gold); font-size: 14px; }
.toast .msg { font-size: 13px; opacity: .9; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pd-top-layout { grid-template-columns: 1fr 1fr; }
  .pd-sidebar { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .pd-side-card { flex: 1; min-width: 240px; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .cptgl-testi-grid { grid-template-columns: 1fr; }
  .pd-top-layout { grid-template-columns: 1fr; }
  .pd-sidebar { flex-direction: column; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-collapsible-content { display: none; }
  .ft-top.expanded .ft-collapsible-content { display: contents; }
  .ft-expand-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255,193,7,.08); border: 1px solid var(--border-gold); color: var(--gold); border-radius: 8px; padding: 10px; margin: 0 16px 20px; font-size: 13px; font-weight: 700; cursor: pointer; }
  .logo { display: none; }
  .logo-mobile { display: block; }
}

@media (max-width: 640px) {
  .bottom-nav { display: flex; }
  .pd-mobile-fab { display: block; }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-thumb-gallery { display: none; }
  .pd-mobile-slider-wrapper { display: block; position: relative; }
  .pd-mobile-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; }
  .pd-mobile-slider::-webkit-scrollbar { display: none; }
  .pd-mslide { min-width: 100%; scroll-snap-align: start; }
  .pd-mslide img { width: 100%; aspect-ratio: 1; object-fit: cover; }
  .pd-gallery-counter { position: absolute; bottom: 8px; right: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 999px; }
  .pd-title { font-size: 17px; }
  .pd-price-current { font-size: 22px; }
  .topbar-left { font-size: 11px; }
  .search { display: none; }
  body { padding-bottom: 120px; }
}

@media (max-width: 480px) {
  .cptgl-testi-grid { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideOutDown { from { transform: translateY(0); opacity: 1; } to { transform: translateY(100%); opacity: 0; } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== SHARE MODAL ===== */
.pd-share-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 2000; display: none; align-items: center; justify-content: center; }
.pd-share-modal-overlay.show { display: flex; }
.pd-share-modal { background: linear-gradient(135deg, var(--dark) 0, #161616 55%, #2a1f00 100%); border: 1px solid var(--border-gold); border-radius: 22px; max-width: 480px; width: calc(100% - 32px); max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; }
.pd-share-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,193,7,.18); }
.pd-share-title { font-size: 18px; font-weight: 800; color: var(--gold); margin: 0; }
.pd-share-close { width: 32px; height: 32px; border-radius: 10px; border: 1px solid rgba(255,193,7,.25); background: rgba(255,255,255,.04); color: var(--gold); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pd-share-body { padding: 24px; overflow-y: auto; }
.pd-share-preview { display: flex; gap: 12px; padding: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,193,7,.22); border-radius: 14px; margin-bottom: 24px; }
.pd-share-preview-img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.pd-share-preview-name { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.pd-share-preview-price { font-size: 16px; font-weight: 800; color: var(--gold); margin: 0; }
.pd-share-label { font-size: 13px; font-weight: 800; color: var(--gold); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .5px; }
.pd-share-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 24px; }
.pd-share-option { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border: 1px solid rgba(255,193,7,.22); border-radius: 14px; background: rgba(255,255,255,.04); cursor: pointer; color: inherit; text-decoration: none; transition: .2s; }
.pd-share-option:hover { border-color: rgba(255,213,74,.8); background: rgba(255,193,7,.08); transform: translateY(-2px); }
.pd-share-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.pd-share-icon-whatsapp { background: linear-gradient(135deg,#25d366,#128c7e); color: #fff; }
.pd-share-icon-facebook { background: linear-gradient(135deg,#1877f2,#0c63d4); color: #fff; }
.pd-share-icon-twitter { background: linear-gradient(135deg,#1da1f2,#0d8bd9); color: #fff; }
.pd-share-icon-telegram { background: linear-gradient(135deg,#08c,#0077b3); color: #fff; }
.pd-share-icon-email { background: linear-gradient(135deg,#ea4335,#c5331f); color: #fff; }
.pd-share-icon-copy { background: linear-gradient(135deg,var(--gold),var(--gold-dark)); color: #0d0d0d; }
.pd-share-icon-pdf { background: linear-gradient(135deg,#ef4444,#991b1b); color: #fff; }
.pd-share-name { font-size: 12px; font-weight: 700; color: var(--text); text-align: center; }
.pd-share-copy-section { background: rgba(255,255,255,.04); border: 1px solid rgba(255,193,7,.2); padding: 16px; border-radius: 14px; }
.pd-share-copy-input-wrap { display: flex; gap: 8px; }
.pd-share-copy-input { flex: 1; padding: 12px 14px; border: 1px solid rgba(255,193,7,.28); border-radius: 10px; font-size: 14px; color: #fff; background: rgba(0,0,0,.5); }
.pd-share-copy-btn { padding: 12px 20px; border: 0; border-radius: 10px; background: linear-gradient(135deg,var(--gold),var(--gold-dark)); color: #0d0d0d; font-size: 14px; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 6px; }

/* ===== HIDE ALL MODALS/OVERLAYS BY DEFAULT ===== */
/* Yang muncul berantakan di bawah - semua harus hidden dulu */

.ai-compare-modal { display: none !important; }
.ai-compare-modal.show { display: flex !important; }

.pca-bottom-sheet { 
  display: none !important; 
  position: fixed;
  bottom: -100%;
  left: 0; right: 0;
  z-index: 1050;
  background: linear-gradient(180deg, #111 0, #0a0a0a 100%);
  border-top: 1px solid var(--border-gold);
  border-radius: 20px 20px 0 0;
  padding: 16px;
}
.pca-bottom-sheet.is-open { display: block !important; bottom: 0; }

.pca-overlay { display: none !important; }
.pca-overlay.active { display: block !important; }

.mm2-panel { display: none !important; position: fixed; inset: 0; z-index: 999; }
.mm2-panel.is-open { display: flex !important; }

.mm2-backdrop { display: none !important; }
.mm2-backdrop.is-open { display: block !important; }

.compare-sidebar { right: -340px !important; }
.compare-sidebar.is-open { right: 0 !important; }

.compare-overlay { display: none !important; }
.compare-overlay.active { display: block !important; }

/* Review modal */
#review-modal-overlay { display: none !important; }
#review-modal-overlay[style*="block"] { display: flex !important; }

/* Chat popup */
#chat-popup { display: none !important; }
#chat-popup[style*="block"] { display: block !important; }

/* Lightbox */
.pd-lb { display: none !important; position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.92); }
.pd-lb:not([aria-hidden="true"]) { display: flex !important; align-items: center; justify-content: center; }

/* Cart login modal */
#cartLoginModal { display: none !important; }
#cartLoginModal.show { display: flex !important; }

/* Chat login modal */
#chatLoginModal { display: none !important; }
#chatLoginModal.show { display: flex !important; }

/* PCA Sheet handle */
.pca-sheet-handle { width: 40px; height: 4px; background: rgba(255,255,255,.2); border-radius: 2px; margin: 0 auto 16px; }

/* Floating compare badge */
.compare-floating-badge { 
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  display: none !important;
  align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0d0d0d; border: none; border-radius: 999px;
  padding: 10px 20px; font-size: 13px; font-weight: 800; cursor: pointer;
  z-index: 850; box-shadow: 0 4px 16px rgba(245,180,0,.3);
}
.compare-floating-badge[style*="flex"],
.compare-floating-badge[style*="block"] { display: flex !important; }

/* PD Sticky Header default hidden */
.pd-sticky-header { transform: translateY(-100%); }

/* Stock popover */
.stock-popover { display: none !important; }
.stock-popover.show { display: block !important; }

/* PWP section */
#pwp-deals-section[hidden] { display: none !important; }

/* Compare items hidden by default */
#compareSidebar { right: -340px; }