
/* Extracted from footer.php */
/* Transisi Halaman */
    main#primary { opacity: 0; transition: opacity 0.35s ease-in-out; }
    body.ghv-page-loaded main#primary { opacity: 1; }

    /* ========================================================
       FOOTER MOBILE V4: Transparan, Bordered, Accordion
       ======================================================== */
    .ghv-mobile-footer-v3 { background: transparent; padding: 30px 15px 110px 15px; font-family: var(--font-main, sans-serif); }
    
    .ghv-mf-heading { font-size: 0.75rem; color: #555; margin-bottom: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
    
    .ghv-mf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; align-items: start; }
    
    /* Kartu Transparan dengan Border */
    .ghv-mf-card { background: transparent !important; border: 1px solid #dcdcdc !important; border-radius: 12px; padding: 12px; display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: #333; }
    
    /* Header Accordion */
    .ghv-mf-card-header { display: flex; align-items: center; gap: 10px; width: 100%; cursor: pointer; }
    .ghv-mf-card-content { display: none; padding-top: 15px; border-top: 1px solid #eee; margin-top: 15px; }
    .ghv-mf-card-content ul { list-style: none; padding: 0; margin: 0; }
    .ghv-mf-card-content ul li { margin-bottom: 8px; }
    .ghv-mf-card-content ul li a { color: #666; font-size: 0.75rem; text-decoration: none; display: block;}
    
    .mf-icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #333; flex-shrink: 0; font-size: 0.9rem;}
    .mf-text { flex-grow: 1; overflow: hidden;}
    .mf-title { font-size: 0.75rem; font-weight: 700; color: #111; line-height: 1.2; }
    .mf-desc { font-size: 0.6rem; color: #888; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mf-arrow { font-size: 0.7rem; color: #888; transition: transform 0.3s; }
    
    /* J&T Specific Style */
    .jnt-logo-text { color: #E3000F; font-weight: 900; font-style: italic; font-size: 0.8rem; }

    /* Elemen Footer Bawah */
    .ghv-mf-banner { margin-top: 15px; background: transparent; border-radius: 12px; padding: 15px; border: 1px solid #dcdcdc; display: flex; align-items: flex-start; gap: 12px; position: relative; overflow: hidden; }
    .mf-banner-icon { font-size: 1.3rem; color: #333; margin-top: 2px;}
    .mf-banner-title { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; color: #111;}
    .mf-banner-desc { font-size: 0.65rem; color: #666; max-width: 85%; line-height: 1.4;}
    
    .ghv-mf-info-grid { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
    .mf-info-left { border-right: 1px solid #dcdcdc; padding-right: 15px; }
    .mf-logo { font-size: 1.3rem; font-weight: 900; font-family: serif; margin-bottom: 12px; color: #111; line-height: 1.1;}
    .mf-info-left p { font-size: 0.65rem; color: #666; margin-bottom: 15px; line-height: 1.5; }
    .mf-socials { display: flex; gap: 8px; }
    .mf-socials a { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #ccc; display: flex; align-items: center; justify-content: center; color: #111; font-size: 0.8rem; text-decoration: none; }
    
    .mf-right-title { font-size: 0.7rem; font-weight: 600; color: #888; margin-bottom: 12px; letter-spacing: 0.5px; }
    .mf-info-right ul { list-style: none; padding: 0; margin: 0; }
    .mf-info-right ul li { font-size: 0.65rem; color: #444; margin-bottom: 10px; display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
    .mf-info-right ul li i { margin-top: 2px; font-size: 0.75rem; color: #666; width: 14px; text-align: center; }
    
    .ghv-mf-copy { text-align: center; font-size: 0.65rem; color: #888; margin-top: 30px; }

    /* BOTTOM NAV MOBILE STYLES */
    .ghv-mobile-bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background-color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; border-top: 1px solid #eaeaea; z-index: 9999; box-shadow: 0 -4px 20px rgba(0,0,0,0.03); }
    .bnav-item { display: flex; align-items: center; justify-content: center; height: 45px; border-radius: 50px; text-decoration: none; color: #888; transition: 0.3s; overflow: hidden; width: 45px; position: relative; outline: none; -webkit-tap-highlight-color: transparent;}
    .bnav-item.active { width: 120px; background-color: var(--color-primary); color: #fff; justify-content: flex-start; padding-left: 15px; }
    .bnav-icon { font-size: 1.2rem; display: flex; align-items: center; justify-content: center; width: 24px; position: relative; z-index: 2; transition: transform 0.4s; }
    .bnav-item:active .bnav-icon { transform: scale(0.85); }
    .bnav-text { font-size: 0.85rem; font-weight: 700; opacity: 0; transform: translateX(-15px); transition: 0.3s; white-space: nowrap; width: 0; margin-left: 0; }
    .bnav-item.active .bnav-text { opacity: 1; transform: translateX(0); width: auto; margin-left: 8px; }
    .bnav-cart-badge { position: absolute; top: -6px; right: -8px; background-color: var(--color-primary); color: #fff; font-size: 0.55rem; padding: 2px 5px; border-radius: 10px; font-weight: bold; border: 1.5px solid #fff; transition: 0.3s; line-height: 1;}
    .bnav-item.active .bnav-cart-badge { background-color: #fff; color: var(--color-primary); border-color: var(--color-primary); }

    /* DESKTOP RESPONSIVE (Membentang jadi Grid) */
    @media (min-width: 992px) {
        .ghv-mobile-footer-v3 { display: none !important; }
        .ghv-mobile-bottom-nav { display: none !important; }
        body { padding-bottom: 0 !important; }
        
        .footer-desktop { background: #fff; border-top: 1px solid #eaeaea; padding: 60px 0 20px 0; font-family: var(--font-main, sans-serif); color: #333; margin-top: 40px; }
        .foot-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .foot-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; align-items: start; }
        .foot-col h4 { font-size: 0.9rem; font-weight: 800; color: #111; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
        .foot-col h4 i { font-size: 1.1rem; color: #555; width: 20px; text-align: center;}
        .foot-col ul { list-style: none; padding: 0; margin: 0; }
        .foot-col ul li { margin-bottom: 12px; }
        .foot-col ul li a { text-decoration: none; color: #666; font-size: 0.85rem; transition: 0.3s; }
        .foot-col ul li a:hover { color: var(--color-primary); padding-left: 5px; font-weight: 500; }
        .foot-divider { height: 1px; background: #eaeaea; margin: 30px 0; }
        .foot-mid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
        .foot-logos { display: flex; flex-wrap: wrap; gap: 10px; }
        .foot-logo-box { padding: 6px 12px; border: 1px solid #eaeaea; border-radius: 6px; font-size: 0.75rem; font-weight: 800; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #333; }
        .foot-logo-box.bca { color: #005EAA; font-style: italic; }
        .foot-logo-box.mandiri { color: #003D79; }
        .foot-logo-box.bri { color: #00529C; }
        .foot-logo-box.bni { color: #E55300; font-style: italic; }
        .foot-logo-box.qris { color: #ED1C24; font-style: italic; }
        .foot-logo-box.spay { color: #EE4D2D; }
        .foot-logo-box.cod { background: #FF9900; color: #fff; border:none; }
        .foot-logo-box.jnt { color: #E3000F; font-style: italic; }
        .foot-logo-box.jne { color: #003666; font-style: italic; }
        .foot-logo-box.sicepat { color: #D51A1A; }
        .foot-logo-box.visa { color: #1434CB; font-style: italic; }
        .foot-logo-box.mc { color: #EB001B; font-style: italic; }
        .foot-socials { display: flex; gap: 10px; }
        .foot-socials a { width: 36px; height: 36px; border: 1px solid #eaeaea; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #111; font-size: 1.1rem; text-decoration: none; transition: 0.3s; }
        .foot-socials a:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-3px); }
        .foot-secure p { font-size: 0.85rem; color: #666; line-height: 1.6; margin: 0; }
        .foot-copy { text-align: center; font-size: 0.8rem; color: #888; margin-top: 40px; padding-top: 20px; border-top: 1px solid #eaeaea;}
    }
    
    /* Ruang Bawah HP agar tidak tertutup Navigasi */
    @media (max-width: 991px) {
        body { padding-bottom: 70px !important; }
        .footer-desktop { display: none !important; }
    }

    /* CSS LAINNYA (Popup, Loading, Bottom Sheet) */
    a.added_to_cart.wc-forward { display: none !important; }
    .ajax_add_to_cart.loading { pointer-events: none; opacity: 0.8; }
    .ajax_add_to_cart.loading i { animation: spin 1s linear infinite; }
    .ajax_add_to_cart.loading i::before { content: "\f1ce" !important; }

    .ghv-bs-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 99998; opacity: 0; visibility: hidden; transition: 0.3s; }
    .ghv-bs-overlay.show { opacity: 1; visibility: visible; }
    .ghv-bottom-sheet { position: fixed; bottom: -100%; left: 0; width: 100%; max-width: 100%; max-height: 85vh; background: #FFF; z-index: 99999; border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,0.15); transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; overflow: hidden;}
    .ghv-bottom-sheet.show { bottom: 0; }
    .ghv-bs-loading { padding: 40px 20px; text-align: center; display: none; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
    .ghv-spinner { width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid var(--color-primary); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 15px; }
    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

    .ghv-bs-content { overflow-y: auto; padding: 20px 20px 80px 20px; }
    .ghv-bs-header { display: flex; gap: 15px; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; position: relative;}
    .ghv-bs-img { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; border: 1px solid #eee; }
    .ghv-bs-close { position: absolute; top: 0; right: 0; background: #f5f5f5; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #555; cursor: pointer; }
    #bs-product-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
    #bs-product-price * { border-bottom: none !important; text-decoration: none !important; }
    #bs-product-price del, #bs-product-price del span, #bs-product-price del bdi { color: #a0a0a0 !important; text-decoration: line-through !important; font-weight: 500; font-size: 0.9rem; }
    #bs-product-price ins, #bs-product-price ins span, #bs-product-price ins bdi { color: var(--color-primary) !important; font-weight: 700; font-size: 1.1rem; }
    #bs-product-price > span, #bs-product-price > bdi { color: var(--color-primary) !important; font-weight: 700; font-size: 1.1rem; }

    .bs-attr-group { margin-bottom: 15px; }
    .bs-attr-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: #333; }
    .bs-attr-btn { border: 1px solid #EAEAEA; border-radius: 12px; padding: 8px 16px; background: #fff; color: #333; font-size: 0.85rem; margin: 0 8px 8px 0; cursor: pointer; transition: 0.2s; display: inline-block;}
    .bs-attr-btn.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
    .bs-attr-btn.disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

    .bs-qty-wrapper { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
    .bs-qty-control { display: flex; align-items: center; border: 1px solid #EAEAEA; border-radius: 12px; height: 44px; overflow: hidden; }
    .bs-qty-btn { width: 44px; height: 100%; display: flex; align-items: center; justify-content: center; background: #fff; border: none; font-size: 1.2rem; color: var(--color-primary); cursor: pointer; }
    .bs-qty-input { width: 50px; text-align: center; border: none; font-weight: 600; font-size: 1rem; color: #333;}
    .bs-btn-submit { width: 100%; background: var(--color-primary); color: #fff; height: 52px; border-radius: 14px; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); transition: 0.2s;}
    .bs-btn-submit:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; }

    .ghv-toast { position: fixed; bottom: 85px; left: 50%; transform: translateX(-50%) translateY(20px); width: 90%; max-width: 420px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 8px 30px rgba(0,0,0,0.08); z-index: 100000; opacity: 0; visibility: hidden; transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; align-items: center; gap: 12px; border-left: 4px solid #4CAF50;}
    .ghv-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }
    .cart-pop { animation: cartPop 0.4s ease; }
    @keyframes cartPop { 0% {transform: scale(1);} 50% {transform: scale(1.25);} 100% {transform: scale(1);} }


