/* =============================================================
   CasaGlow Footer v3.0
   ============================================================= */

.cg-footer {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #9CA3AF;
    background: #111827;
}

/* Main grid */
.cg-footer__main { padding: 64px 0 48px; }
.cg-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

/* Brand column */
.cg-footer__logo { margin-bottom: 14px; }
.cg-footer__logo img, .cg-footer__logo .custom-logo { max-height: 44px; width: auto; filter: brightness(0) invert(1); }
/* Logo inside white box — no filter */
.cg-footer__logo-icon-wrap img { filter: none !important; max-height: none; width: 38px; }
.cg-footer__logo-text { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 700; color: #fff; }
.cg-footer__tagline { font-size: 0.82rem; color: #9CA3AF; line-height: 1.65; margin-bottom: 16px; max-width: 240px; }
.cg-footer__rating { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 0.78rem; color: #9CA3AF; }
.cg-footer__stars  { display: flex; gap: 2px; }

/* Social icons */
.cg-footer__social { display: flex; gap: 10px; flex-wrap: wrap; }
.cg-social-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #9CA3AF;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: background 150ms, color 150ms;
}
.cg-social-btn:hover { background: #2E7D32; color: #fff; }

/* Columns */
.cg-footer__heading {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: 0.02em;
}
.cg-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cg-footer__links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 150ms;
}
.cg-footer__links a:hover { color: #fff; padding-left: 4px; }

/* Contact column */
.cg-footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cg-footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: #9CA3AF; }
.cg-footer__contact svg { flex-shrink: 0; margin-top: 2px; color: #2E7D32; }
.cg-footer__contact a { color: #9CA3AF; text-decoration: none; transition: color 150ms; }
.cg-footer__contact a:hover { color: #fff; }

/* Bottom bar */
.cg-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}
.cg-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cg-footer__copy { font-size: 0.8rem; color: #6B7280; margin: 0; }
.cg-footer__copy a { color: #9CA3AF; text-decoration: none; }
.cg-footer__copy a:hover { color: #fff; }

/* Payment badges */
.cg-footer__payments { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cg-pay-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.8;
}
.cg-pay-badge--text {
    padding: 3px 8px;
    background: rgba(255,255,255,0.10);
    color: #D1D5DB;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1200px) {
    .cg-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
    .cg-footer__col:last-child { grid-column: span 2; }
}
@media (max-width: 900px) {
    .cg-footer__grid { grid-template-columns: 1fr 1fr; }
    .cg-footer__brand { grid-column: span 2; }
}
@media (max-width: 540px) {
    .cg-footer__grid { grid-template-columns: 1fr 1fr; }
    .cg-footer__brand { grid-column: span 2; }
    .cg-footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* Footer logo */
.cg-footer__logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 14px;
}
.cg-footer__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.10);
    border-radius: 10px;
    flex-shrink: 0;
}

/* White box wrapper for logo image in footer */
.cg-footer__logo-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 10px;
    flex-shrink: 0;
    padding: 4px;
}
.cg-footer__logo-icon-wrap img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
    filter: none !important;
}
.cg-footer__logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.cg-footer__logo-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}
.cg-footer__logo-tag {
    font-size: 0.68rem;
    color: #6B7280;
    font-family: 'Inter', sans-serif;
}

/* =====================================================
   WhatsApp Floating Button
   ===================================================== */
.cg-whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: all 200ms ease;
}

.cg-whatsapp-btn:hover {
    background: #20ba58;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
    color: #fff;
}

.cg-whatsapp-btn svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .cg-whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 16px;
    }
    .cg-whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }
}
