/* ============================================
   DESKTOP SITE FOOTER STYLES
   ============================================ */

.site-footer {
    background: #090D16;
    color: #F8FAFC;
    padding-top: 60px;
    border-top: 2px solid rgba(255, 183, 3, 0.3);
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 50px;
}

.footer-logo {
    max-height: 48px;
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-desc { 
    color: #94A3B8; 
    font-size: 0.9rem; 
    line-height: 1.65;
    margin-bottom: 20px;
}

.footer-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-phone-btn:hover {
    background: rgba(37, 211, 102, 0.25);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: #FFB703;
    font-family: var(--font-heading, sans-serif);
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-col ul { 
    list-style: none; 
    padding: 0;
    margin: 0;
}

.footer-col ul li { 
    margin-bottom: 12px; 
}

.footer-col ul a {
    color: #CBD5E1;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-col ul a:hover { 
    color: #FFB703;
    transform: translateX(3px);
}

.footer-trust-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.trust-pill {
    display: inline-block;
    background: rgba(255, 183, 3, 0.15);
    color: #FFB703;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.footer-trust-badge p {
    color: #94A3B8;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

.whatsapp-badge-link {
    display: inline-block;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-badge-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.footer-bottom {
    background: #04060A;
    color: #64748B;
    font-size: 0.84rem;
    padding: 18px 0;
    border-top: 1px solid rgba(255,183,3,.15);
}

.footer-bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ============================================
   MOBILE BOTTOM STICKY DOCK MENU (5 PROFESSIONAL SVG ICONS)
============================================ */
.mobile-bottom-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(9, 13, 22, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1.5px solid rgba(255, 183, 3, 0.3);
    z-index: 99990;
    box-shadow: 0 -8px 28px rgba(0,0,0,0.6);
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
}

.dock-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    background: none;
    border: none;
    padding: 4px 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.dock-item:hover, .dock-item:active, .dock-item:focus {
    color: #FFB703;
}

.dock-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.dock-icon-svg svg {
    width: 22px;
    height: 22px;
}

.dock-whatsapp .whatsapp-svg svg {
    fill: #25D366 !important;
}

.dock-custom-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.dock-item:hover .dock-custom-img,
.dock-item:active .dock-custom-img {
    transform: translateY(-2px);
}

.dock-item:hover .dock-icon-svg,
.dock-item:active .dock-icon-svg {
    transform: translateY(-2px);
    color: #FFB703;
}

.dock-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dock-icon-wrap .badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 3px;
    background: #FFB703 !important;
    color: #090D16 !important;
    font-size: 0.65rem !important;
    font-weight: 900 !important;
    border-radius: 9px;
    border: 1.5px solid #090D16 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.dock-label {
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-heading, sans-serif);
    line-height: 1;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

/* ============================================
   RESPONSIVE FOOTER RULES & TIGHT FIT SPACING
============================================ */
@media (max-width: 768px) {
    .site-footer {
        display: none !important;
    }
    .mobile-bottom-dock {
        display: flex !important;
    }
    body {
        padding-bottom: 62px !important;
    }
}

/* Suppress mobile bottom dock and body bottom padding on Quick Buy, Cart, and Checkout */
body.page-template-page-quick-buy .mobile-bottom-dock,
body.woocommerce-checkout .mobile-bottom-dock,
body.woocommerce-cart .mobile-bottom-dock,
body.page-cart .mobile-bottom-dock,
.quickbuy-wrapper ~ .mobile-bottom-dock {
    display: none !important;
}

body.page-template-page-quick-buy,
body.woocommerce-checkout,
body.woocommerce-cart,
body.page-cart {
    padding-bottom: 0 !important;
}

/* ============================================
   SCROLL TO TOP FLOATING BUTTON STYLES
============================================ */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB703 0%, #F59E0B 100%);
    color: #090D16;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 183, 3, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 32px rgba(255, 42, 0, 0.5), 0 0 18px rgba(255, 183, 3, 0.5);
    background: linear-gradient(135deg, #FF2A00 0%, #F59E0B 100%);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 80px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}