/* css/components/footer.css — Exact Figma match */

/* ── Main footer body (Figma: Primary/400 fill, 382px) */
.footer-main {
    position: relative;
    background: var(--color-baby-pink-dark);
    padding: 64px 0 120px; /* Increased bottom padding for wipes pile */
    overflow: hidden;
}

.footer-bg-vector {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at bottom right, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    flex-direction: column;
}

/* ── Top section (Brand + Links) ── */
.footer-top {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}
@media (min-width: 900px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* ── Brand column ─────────────────── */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1; /* Allow it to grow and use available space */
    max-width: 500px; /* Sensible max-width so it doesn't crush the links */
}

.footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make logo white on colored bg */
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.03em;
}

/* Company Address Details */
.footer-contact-info {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.6;
}
.footer-contact-info p {
    margin: 0 0 8px 0;
    color: #ffffff !important;
    font-size: 13px !important;
}
.footer-contact-info .fc-name {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #ffffff !important;
    margin-bottom: 8px;
}
.footer-contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
}
.footer-contact-info a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ── Bottom Widgets (Socials & Payments) ── */
.footer-bottom-widgets {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
@media (min-width: 768px) {
    .footer-bottom-widgets {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-socials {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.fsocial-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fsocial-btn svg {
    width: 15px;
    height: 15px;
}

.fsocial-btn:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-3px);
}

.footer-payments {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-card {
    background: #fff;
    border-radius: 6px;
    padding: 0 12px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.payment-text {
    font-family: Arial, sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 14px;
}

.payment-card.amex .payment-text { color: #007bc1; }
.payment-card.visa .payment-text { color: #1434cb; font-size: 16px; letter-spacing: -0.5px; }
.payment-card.paypal .payment-text { color: #003087; font-size: 15px; }
.payment-card.gpay {
    font-family: Arial, sans-serif;
    font-weight: 600;
    color: #5f6368;
    font-size: 15px;
}
.payment-card.gpay .g-color { color: #ea4335; font-weight: 700; margin-right: 2px; }

/* ── Footer link columns (Figma: row, 64px gap) */
.footer-links-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .footer-links-row {
        flex-direction: row;
        gap: 64px; /* Figma: 64px gap */
    }
}

.footer-col-heading {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}

.footer-link-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link-list a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-link-list a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

/* ── Bottom bar (Figma: Neutral/50 = white, padding 24px 80px) */
.footer-bottom-bar {
    background: var(--color-white);
    padding: 20px 0;
}

.footer-bottom-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-items: flex-start;
}

@media (min-width: 640px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Figma EL-23e0f4f7: Poppins Regular 14, Secondary/900 */
.footer-copyright {
    font-size: 13px;
    font-weight: 400;
    color: var(--color-charcoal);
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.footer-bottom-right a {
    font-size: 13px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-right a:hover { color: var(--color-baby-pink-dark); }

.footer-secure-badge {
    font-size: 12px;
    color: var(--color-text-light);
    background: var(--color-muted);
    padding: 3px 12px;
    border-radius: 999px;
    text-align: center;
}

.footer-credit {
    font-size: 13px;
    color: var(--color-text-light);
}
.footer-credit a {
    color: var(--color-charcoal);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-credit a:hover {
    color: var(--color-baby-pink-dark);
}

/* ── Responsive footer padding ── */
@media (max-width: 768px) {
    .footer-inner { padding: 0 var(--space-4); }
    .footer-bottom-inner { padding: 0 var(--space-4); }
}
