/* ========================================================
   BOTTOM NAVIGATION BAR (IOS STYLE)
   ======================================================== */
.bottom-nav-ios { position: fixed; bottom: 0; left: 0; width: 100%; background-color: #ffffff; box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.05); display: flex; justify-content: space-around; align-items: center; padding: 10px 0 25px 0; z-index: 9998; }
.bottom-nav-item { text-decoration: none !important; color: #999999; display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 500; font-family: 'Poppins', sans-serif; flex: 1; -webkit-tap-highlight-color: transparent; }
.bottom-nav-item i { font-size: 22px; margin-bottom: 4px; color: #999999; }
.bottom-nav-item.active, .bottom-nav-item.active i { color: #1a73e8; }
.bottom-nav-cart-wrapper { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; }
.bottom-nav-cart-btn { position: absolute; top: -38px; width: 55px; height: 55px; background: linear-gradient(135deg, #2188ff, #1a73e8); border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 10px rgba(26, 115, 232, 0.3); border: 4px solid #ffffff; z-index: 9999; text-decoration: none !important; }
.bottom-nav-cart-btn i { font-size: 20px; color: #ffffff; margin: 0; }
.cart-text-label { position: absolute; bottom: -20px; font-size: 11px; color: #999999; font-weight: 500; font-family: 'Poppins', sans-serif; }
.bottom-nav-badge { position: absolute; top: -2px; right: -2px; background-color: #ff3b30; color: white; font-size: 10px; font-weight: bold; width: 20px; height: 20px; display: flex; justify-content: center; align-items: center; border-radius: 50%; border: 2px solid #ffffff; }

@media (min-width: 769px) { .bottom-nav-mobile { display: none !important; } }
@media (max-width: 768px) { body { padding-bottom: 75px !important; } .floating-wa-widget { bottom: 85px !important; } }

/* ========================================================
   MODERN FOOTER
   ======================================================== */
.modern-footer { background-color: var(--primary-blue, #02319e); background-image: linear-gradient(135deg, #02319e 0%, #02319e 100%); color: rgba(255, 255, 255, 0.85); font-family: 'Poppins', sans-serif; }
.modern-footer .foot-title { color: #ffffff; position: relative; padding-bottom: 12px; margin-bottom: 25px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 16px; }
.modern-footer .foot-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background-color: #66c2b1; border-radius: 2px; }
.modern-footer p, .modern-footer td { color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.modern-footer td { padding-bottom: 10px; }
.modern-footer .fas, .modern-footer .fab { color: #66c2b1; font-size: 18px; }
.modern-footer .foot-menu { list-style: none; padding: 0; margin: 0; }
.modern-footer .foot-menu li { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.modern-footer .foot-menu li:last-child { border-bottom: none; }
.modern-footer .foot-menu a { color: rgba(255, 255, 255, 0.85); text-decoration: none; transition: all 0.3s ease; display: block; }
.modern-footer .foot-menu a:hover { color: #ffffff; padding-left: 8px; }
.btn-whatsapp-modern { background: linear-gradient(90deg, #25D366 0%, #1ebd5a 100%); color: #ffffff !important; border-radius: 50px; font-weight: 600; padding: 10px 20px; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); border: none; transition: all 0.3s ease; }
.btn-whatsapp-modern:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4); }
.btn-whatsapp-modern i { color: #ffffff !important; margin-right: 5px; }
.social-foot-wrapper { display: flex; gap: 15px; margin-top: 15px; }
.social-foot-link { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; transition: all 0.3s ease; text-decoration: none !important; }
.social-foot-link i { color: #ffffff !important; font-size: 20px; }
.social-foot-link:hover { background: #66c2b1; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(102, 194, 177, 0.4); }
.footer-copyright { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; margin-top: 20px; color: rgba(255, 255, 255, 0.6); font-size: 13px; }

/* ========================================================
   MODAL STYLING
   ======================================================== */
.modal .text-primary { color: #02319e !important; }
.modal .btn-primary { background-color: #02319e; border-color: #02319e; border-radius: 50px; }
.modal .btn-primary:hover { background-color: #02319e; border-color: #02319e; }
.modal .btn-success { border-radius: 50px; }

/* ========================================================
   FLOATING WHATSAPP WIDGET (DRAGGABLE)
   ======================================================== */
.floating-wa-widget { position: fixed; bottom: 30px; right: 30px; z-index: 9999; font-family: 'Poppins', sans-serif; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; }
.wa-popup { width: 340px; background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); margin-bottom: 20px; overflow: hidden; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95); transform-origin: bottom right; }
.wa-popup.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-popup-header { background: #00a884; color: #fff; padding: 20px 25px; position: relative; }
.wa-popup-close { position: absolute; top: 10px; right: 15px; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; opacity: 0.8; transition: opacity 0.2s; }
.wa-popup-close:hover { opacity: 1; }
.wa-popup-header p { margin: 0; font-size: 14px; line-height: 1.5; color: #fff; font-weight: 500; }
.wa-popup-body { padding: 15px; background: #f0f2f5; }
.wa-item { display: flex; align-items: center; background: #fff; padding: 12px 15px; border-radius: 10px; text-decoration: none !important; margin-bottom: 12px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); transition: all 0.2s ease; border: 1px solid transparent; }
.wa-item:hover { background: #fcfcfc; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); border-color: #e9edef; }
.wa-item-icon { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; margin-right: 15px; flex-shrink: 0; background: #e9edef; display: flex; align-items: center; justify-content: center; }
.wa-item-icon img { width: 100%; height: 100%; object-fit: cover; }
.wa-item-info { flex-grow: 1; }
.wa-item-info h4 { margin: 0 0 4px 0; font-size: 15px; color: #111b21; font-weight: 600; }
.wa-item-info p { margin: 0; font-size: 12px; color: #667781; }
.wa-item-action { font-size: 22px; color: #25d366; }
.wa-status { text-align: center; font-size: 13px; color: #667781; margin-top: 15px; display: flex; align-items: center; justify-content: center; font-weight: 500; }
.status-dot { width: 10px; height: 10px; background: #7bdc5b; border-radius: 50%; display: inline-block; margin-right: 8px; box-shadow: 0 0 0 2px rgba(123, 220, 91, 0.3); }
.wa-button { background: #25d366; color: #fff; padding: 12px 25px; border-radius: 50px; font-size: 16px; font-weight: 600; cursor: grab; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); display: inline-flex; align-items: center; transition: all 0.3s ease; touch-action: none; user-select: none; pointer-events: auto; }
.wa-button:active { cursor: grabbing; }
.wa-button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); color: #fff; }
.wa-button i { font-size: 24px; margin-right: 10px; }
.wa-popup { pointer-events: auto; }

@media (max-width: 768px) {
    .floating-wa-widget { bottom: 20px; right: 20px; }
    .wa-popup { width: 300px; }
    .wa-button { padding: 10px 20px; font-size: 14px; }
    .wa-button i { font-size: 20px; }
}

/* MEMAKSA WEBVIEW MENGGUNAKAN GPU UNTUK RENDER ELEMEN MELAYANG AGAR SCROLL SMOOTH 60FPS */
.bottom-nav-ios, .floating-wa-widget, .bottom-nav-cart-btn {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}