/* ═══════════════════════════════════════════════════════════
   PUBLIC FIGURE — FOOTER  (Kwenia layout, adapted from the
   Flower Hut & Gifts footer structure/CSS, re-themed to PF's
   black & white palette)
   ─ CTA hero:   lifestyle-photo bg, dark overlay, WHITE text
   ─ Main footer: WHITE bg, black text, black hover
   ─ Watermark:  "PUBLIC FIGURE" faint dark, ~9vw (tuned for
                 this name's length — Flower Hut's original used
                 5.5vw, sized for its longer name)
   ─ Bottom bar: white bg, muted copy
   Font: Jost throughout.
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Footer (light) */
    --kk-foot-bg:       #ffffff;
    --kk-foot-text:     #000000;
    --kk-foot-muted:    rgba(46, 46, 46, 0.55);
    --kk-foot-faint:    rgba(46, 46, 46, 0.30);
    --kk-foot-rule:     rgba(46, 46, 46, 0.10);
    --kk-foot-accent:   #000000;
    --kk-foot-beige:    #000000;
    --kk-foot-ff:       'Jost', 'Jost', sans-serif;
    --kk-foot-pad:      clamp(20px, 3.5vw, 56px);
    /* CTA hero overlay */
    --kk-foot-hero-rgb: 20, 20, 20;
}

/* ══════════════════════════════════════════════════════════
   1. CTA HERO (Kwenia-style lifestyle-photo banner)
   ══════════════════════════════════════════════════════════ */
.kk-footer-cta-hero {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: clamp(80px, 10vw, 140px) var(--kk-foot-pad);
    overflow: hidden;
    font-family: var(--kk-foot-ff);
}
.kk-footer-cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(var(--kk-foot-hero-rgb), 0.52) 0%,
        rgba(var(--kk-foot-hero-rgb), 0.72) 100%
    );
    z-index: 0;
}
.kk-footer-cta-inner {
    position: relative; z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Eyebrow */
.kk-footer-cta-eyebrow {
    display: block;
    font-family: var(--kk-foot-ff);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--kk-foot-beige) !important;
    margin-bottom: 20px;
}

/* ── CTA HERO TITLE — forced WHITE.
   Elementor sets a global h2 colour via an inline <style> block
   that wins by specificity. The 4-selector rule below beats it. ── */
.kk-footer-cta-hero .kk-footer-cta-title,
.kk-footer-cta-hero h2.kk-footer-cta-title,
section.kk-footer-cta-hero .kk-footer-cta-title,
.kk-footer-cta-inner .kk-footer-cta-title {
    font-family: var(--kk-foot-ff) !important;
    font-size: clamp(2.2rem, 5vw, 4rem) !important;
    font-weight: 300 !important;
    color: #ffffff !important;
    line-height: 1.12 !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 26px !important;
    max-width: 760px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* Subtitle */
.kk-footer-cta-sub {
    font-family: var(--kk-foot-ff);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88) !important;
    line-height: 1.75;
    margin: 0 0 36px;
    max-width: 560px;
}

/* Button */
.kk-footer-cta-actions {
    display: flex; flex-wrap: wrap; gap: 12px;
}
.kk-footer-cta-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 200px;
    padding: 15px 36px;
    font-family: var(--kk-foot-ff);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: #ffffff;
    color: #1f1f1f !important;
    border: 1.5px solid #ffffff;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.kk-footer-cta-btn:hover {
    background: transparent;
    color: #ffffff !important;
    border-color: #ffffff;
}

/* ══════════════════════════════════════════════════════════
   2. MAIN FOOTER — white bg, black text (Kwenia structure)
   ══════════════════════════════════════════════════════════ */
footer.footer,
.footer#colophon {
    position: relative;
    background: var(--kk-foot-bg) !important;
    color: var(--kk-foot-text) !important;
    padding: 72px var(--kk-foot-pad) 0 !important;
    overflow: hidden;
    font-family: var(--kk-foot-ff) !important;
}
footer.footer * { font-family: var(--kk-foot-ff) !important; }

/* 3-column grid — Brand | Shop | Company.
   (Flower Hut's original used a 4-column 1.4fr 1fr 1fr 1fr ratio;
   Public Figure only has Brand + 2 link columns by default, so the
   4th track is dropped but the same brand-column weighting is kept.
   If you switch "Number of Footer Columns" to 4 or 5 in the
   Customizer, add matching fr units back to this rule.) */
.footer .footer-inner {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr !important;
    gap: 48px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 0 56px !important;
    border-bottom: 1px solid var(--kk-foot-rule) !important;
    background: transparent !important;
}

/* ── Brand column ── */
.footer .footer-brand { color: var(--kk-foot-text); }

.footer .footer-brand .footer-logo img,
.footer .footer-brand .custom-logo {
    max-height: 64px !important;
    width: auto !important;
    margin-bottom: 20px !important;
    filter: none !important;
    opacity: 1 !important;
}
.footer .footer-brand-desc,
.footer .footer-brand > p,
.footer .footer-brand p {
    font-family: var(--kk-foot-ff) !important;
    font-size: 13px !important;
    color: var(--kk-foot-muted) !important;
    line-height: 1.65 !important;
    margin: 0 0 28px !important;
    max-width: 280px;
}

/* ══════════════════════════════════════════════════════
   NEWSLETTER (kept — Public Figure uses this, Flower Hut
   doesn't have this block at all)
   ══════════════════════════════════════════════════════ */
.footer .footer-newsletter {
    margin-bottom: 24px;
}
.footer .footer-newsletter-label {
    font-size: 12px !important;
    color: var(--kk-foot-muted) !important;
    line-height: 1.55 !important;
    margin: 0 0 10px !important;
}
.footer .footer-newsletter-form {
    display: flex;
    gap: 0;
    max-width: 300px;
    border: 1px solid rgba(46, 46, 46, 0.20);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.footer .footer-newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    font-family: var(--kk-foot-ff) !important;
    font-size: 13px !important;
    color: var(--kk-foot-text) !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.footer .footer-newsletter-input::placeholder {
    color: var(--kk-foot-faint) !important;
}
.footer .footer-newsletter-btn {
    flex-shrink: 0;
    padding: 10px 16px;
    font-family: var(--kk-foot-ff) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    color: #ffffff !important;
    background: var(--kk-foot-text) !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background 0.25s ease;
    white-space: nowrap;
}
.footer .footer-newsletter-btn:hover {
    background: var(--kk-foot-accent) !important;
    opacity: 0.85;
}
.footer .footer-newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.footer .footer-newsletter-msg {
    margin: 8px 0 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    min-height: 16px;
}
.footer .footer-newsletter-msg--ok    { color: var(--kk-foot-accent) !important; }
.footer .footer-newsletter-msg--error { color: #c0392b !important; }

/* ── Social icons — single circle outline (dark on white) ── */
.footer .footer-social {
    display: flex !important;
    gap: 12px !important;
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}
.footer .footer-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid rgba(46, 46, 46, 0.28) !important;
    border-radius: 50% !important;
    color: rgba(46, 46, 46, 0.72) !important;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease !important;
    text-decoration: none !important;
    background: transparent !important;
}
.footer .footer-social a:hover {
    color: #ffffff !important;
    background: var(--kk-foot-text) !important;
    border-color: var(--kk-foot-text) !important;
}
.footer .footer-social a svg {
    width: 15px !important; height: 15px !important;
    stroke: currentColor !important;
}
.footer .footer-social a svg[fill="currentColor"] { stroke: none !important; }
.footer .footer-social a svg[fill="none"]         { stroke: currentColor !important; }

/* ── Phone / address row — directly under the brand column
   (Flower-Hut-style; no separate "Contact" column) ── */
.footer .footer-contact,
.footer .footer-contact--horiz {
    margin-top: 20px;
    display: flex; flex-direction: column; gap: 12px;
}
.footer .footer-contact-row {
    display: flex; align-items: flex-start; gap: 10px;
    font-family: var(--kk-foot-ff) !important;
    font-size: 13px !important;
    color: var(--kk-foot-muted) !important;
    text-decoration: none !important;
    line-height: 1.55 !important;
}
.footer .footer-contact-row .fc-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(46, 46, 46, 0.18);
    color: rgba(46, 46, 46, 0.55);
    flex-shrink: 0; margin-top: 2px;
}
.footer .footer-contact-row .fc-icon svg {
    width: 11px; height: 11px;
    stroke: currentColor; fill: none;
}
.footer .footer-contact-row .fc-text { color: var(--kk-foot-muted); }
.footer .footer-contact-row:hover .fc-text { color: var(--kk-foot-text); }

/* ── Link columns (SHOP, COMPANY) ── */
.footer .footer-col { color: var(--kk-foot-text); }

.footer .footer-col-title {
    font-family: var(--kk-foot-ff) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    color: var(--kk-foot-muted) !important;
    margin-bottom: 26px !important;
    background: transparent !important;
}
.footer .footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}
.footer .footer-links a,
.footer .footer-links .footer-link-text {
    font-family: var(--kk-foot-ff) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--kk-foot-text) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
.footer .footer-links a:hover { color: var(--kk-foot-accent) !important; text-decoration: underline; }

/* WP-menu fallback */
.footer .footer-links ul.footer-menu {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 14px;
}
.footer .footer-links ul.footer-menu a {
    font-size: 14px !important;
    color: var(--kk-foot-text) !important;
    text-decoration: none !important;
}
.footer .footer-links ul.footer-menu a:hover { color: var(--kk-foot-accent) !important; text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   3. WATERMARK — "PUBLIC FIGURE"
   ══════════════════════════════════════════════════════════ */
.footer .footer-watermark {
    width: 100%;
    padding: 56px 0 28px;
    text-align: center;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}
.footer .footer-watermark span {
    display: block;
    font-family: var(--kk-foot-ff) !important;
    font-size: clamp(1.5rem, 9vw, 8rem);
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 0.9;
    color: rgba(46, 46, 46, 0.07);
    white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   4. BOTTOM BAR
   ══════════════════════════════════════════════════════════ */
.footer .footer-bottom {
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    padding: 22px 0 28px !important;
    border-top: 1px solid var(--kk-foot-rule) !important;
    background: transparent !important;
}
.footer .footer-bottom,
.footer .footer-copy,
.footer .footer-bottom .footer-legal,
.footer .footer-bottom a {
    font-family: var(--kk-foot-ff) !important;
    font-size: 12px !important;
    color: var(--kk-foot-muted) !important;
    text-decoration: none !important;
    background: transparent !important;
}
.footer .footer-bottom .footer-legal a {
    color: var(--kk-foot-muted) !important;
    margin-left: 18px;
    transition: color 0.3s ease;
}
.footer .footer-bottom .footer-legal a:hover { color: var(--kk-foot-text) !important; }

/* ══════════════════════════════════════════════════════════
   5. MOBILE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer .footer-inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }
}
@media (max-width: 768px) {
    .kk-footer-cta-hero { min-height: 500px; padding: 80px var(--kk-foot-pad); }
    .kk-footer-cta-hero .kk-footer-cta-title,
    .kk-footer-cta-inner .kk-footer-cta-title {
        font-size: clamp(2rem, 9vw, 2.8rem) !important;
    }
    .kk-footer-cta-btn { width: 100%; min-width: 0; }
    .kk-footer-cta-actions { flex-direction: column; width: 100%; max-width: 320px; }

    footer.footer, .footer#colophon { padding-top: 56px !important; }
    .footer .footer-inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
        padding-bottom: 40px !important;
    }
    .footer .footer-newsletter-form { max-width: 100%; }
    .footer .footer-watermark { padding: 40px 0 20px; }
    .footer .footer-bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 20px 0 24px !important;
    }
    .footer .footer-bottom .footer-legal a { margin-left: 0; margin-right: 14px; }
}
@media (max-width: 480px) {
    .footer .footer-inner {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .footer .footer-brand-desc,
    .footer .footer-brand > p { max-width: 100%; }
}

/* ── Hardened desktop grid ──────────────────────────────────
   Guarantees the footer renders as real side-by-side columns
   on desktop even if a cache/minifier ever interferes with the
   rules above (belt-and-suspenders, kept from the earlier fix). */
@media (min-width: 1025px) {
    .footer .footer-inner {
        display: grid !important;
        grid-template-columns: 1.4fr 1fr 1fr !important;
    }
}
