/* =====================================================================
   GLASS FOOTER v3 — Haute Couture Editorial Footer
   Layout:
   1. Brand hero (centered: logo + brand name + tagline + flourish)
   2. Four-column grid (Contact · Explore · Categories · Connect)
   3. Full-width newsletter strip
   4. Minimal copyright bar
   Uses a `.fx-` prefix namespace to avoid fighting the theme's grid.
   Fully responsive with 5 breakpoints. No float conflicts.
   ===================================================================== */

/* ---------- Hide the legacy OceanWP widget container ---------- */
#footer #footer-widgets,
#footer-widgets {
    display: none !important;
}

#footer.site-footer,
.site-footer {
    position: relative;
    background: #0a0700 !important;
    color: #e6d6b0;
    overflow: hidden;
    border-top: none;
    padding: 0 !important;
    margin: 0 !important;
}
/* Top gold accent line (spans full footer) */
#footer.site-footer::before,
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(234, 179, 8, 0.5) 20%,
        #fbbf24 50%,
        rgba(234, 179, 8, 0.5) 80%,
        transparent 100%);
    box-shadow: 0 0 14px rgba(234, 179, 8, 0.5);
    z-index: 5;
    pointer-events: none;
}

#footer #footer-inner,
#footer-inner {
    background:
        radial-gradient(ellipse 60% 40% at 50% 10%, rgba(234, 179, 8, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(234, 179, 8, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, rgba(10, 7, 0, 0.95) 0%, rgba(6, 4, 0, 1) 100%) !important;
    background-color: #0a0700 !important;
    position: relative;
    padding: 0;
    overflow: hidden;
}
#footer #footer-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(234, 179, 8, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 85% 85%, rgba(234, 179, 8, 0.1) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

/* =============== 1. Brand Hero =============== */
.fx-hero {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 40px 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.fx-hero-link {
    display: inline-block;
    line-height: 0;
    margin: 0 0 18px;
    transition: filter .4s ease, transform .4s ease;
    filter:
        drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6))
        drop-shadow(0 0 30px rgba(234, 179, 8, 0.55));
}
.fx-hero-link:hover {
    transform: translateY(-3px);
    filter:
        drop-shadow(0 14px 32px rgba(0, 0, 0, 0.7))
        drop-shadow(0 0 42px rgba(234, 179, 8, 0.8));
}
.fx-hero-logo {
    width: 110px !important;
    height: 110px !important;
    display: block;
}
.fx-hero-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 2px;
    line-height: 1.1;
    margin: 0 0 10px;
    padding: 0;
    color: #fde68a;
    background: linear-gradient(135deg, #fff4c4 0%, #fde68a 30%, #fbbf24 70%, #a16207 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 44px rgba(252, 211, 77, 0.22);
}
.fx-hero-tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13px;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fbbf24;
    text-shadow: 0 0 12px rgba(234, 179, 8, 0.45);
    margin: 0 0 22px;
    padding: 0;
    max-width: 620px;
    line-height: 1.6;
    opacity: 0.92;
}
.fx-hero-flourish {
    width: 200px;
    max-width: 60%;
    height: 8px;
    background:
        radial-gradient(circle at 50% 50%, #fbbf24 0, #fbbf24 3px, transparent 3.5px) center / 9px 9px no-repeat,
        linear-gradient(90deg, transparent 0%, #78350f 12%, #fbbf24 50%, #78350f 88%, transparent 100%) center / 100% 1px no-repeat;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6));
    pointer-events: none;
}

/* =============== 2. Four-Column Grid =============== */
.fx-cols {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 40px 40px;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.1fr 1.1fr;
    column-gap: 48px;
    row-gap: 48px;
    align-items: start;
}

.fx-col {
    position: relative;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.fx-col-title {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 4px;
    line-height: 1.2;
    text-transform: uppercase;
    color: rgba(252, 211, 77, 0.78);
    text-shadow: 0 0 12px rgba(234, 179, 8, 0.35);
    margin: 0 0 22px;
    padding: 0 0 14px;
    position: relative;
    white-space: nowrap;
    overflow: visible;
}
.fx-col-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, #fbbf24, rgba(234, 179, 8, 0));
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(234, 179, 8, 0.55);
}

/* ---------- CONTACT column ---------- */
.fx-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.fx-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
}
.fx-contact-list .fx-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(20, 14, 2, 0.9), rgba(8, 5, 0, 0.95)) padding-box,
        linear-gradient(135deg, rgba(252, 211, 77, 0.6), rgba(120, 53, 15, 0.6)) border-box;
    border: 1px solid transparent;
    color: #fbbf24;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 14px rgba(234, 179, 8, 0.15);
    transition: all .3s ease;
}
.fx-contact-list .fx-icon svg { width: 16px; height: 16px; display: block; }
.fx-contact-list li:hover .fx-icon {
    transform: translateY(-1px) scale(1.04);
    color: #fff4c4;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 20px rgba(234, 179, 8, 0.4);
}

.fx-contact-list > li > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.fx-contact-list .fx-label {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 10.5px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(252, 211, 77, 0.65);
    line-height: 1.2;
}
.fx-contact-list .fx-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: #fde68a;
    text-decoration: none;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: color .2s ease, text-shadow .2s ease;
}
a.fx-value:hover {
    color: #fff4c4;
    text-shadow: 0 0 12px rgba(234, 179, 8, 0.55);
}

/* ---------- Link lists (Explore + Categories) ---------- */
.fx-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.fx-links li { padding: 0; margin: 0; position: relative; }
.fx-links li a {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #e6d6b0;
    text-decoration: none;
    display: inline-block;
    padding: 0;
    line-height: 1.5;
    transition: color .25s ease, padding-left .25s ease, text-shadow .25s ease;
    position: relative;
}
.fx-links li a::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fbbf24;
    opacity: 0;
    transition: opacity .25s ease, left .25s ease;
    box-shadow: 0 0 6px rgba(234, 179, 8, 0.7);
}
.fx-links li a:hover {
    color: #fde68a;
    padding-left: 14px;
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}
.fx-links li a:hover::before {
    opacity: 1;
    left: 2px;
}

/* ---------- CONNECT column ---------- */
.fx-connect-intro {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(230, 214, 176, 0.82);
    margin: 0 0 18px;
    padding: 0;
    letter-spacing: 0.2px;
}
.fx-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    gap: 10px;
    max-width: 240px;
}
.fx-social li { margin: 0; padding: 0; }
.fx-social li a {
    width: 100%;
    aspect-ratio: 1;
    max-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(20, 14, 2, 0.9), rgba(8, 5, 0, 0.96)) padding-box,
        linear-gradient(135deg, rgba(252, 211, 77, 0.55), rgba(120, 53, 15, 0.55)) border-box;
    border: 1px solid transparent;
    color: #fbbf24;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s ease, color .3s ease, box-shadow .3s ease;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}
.fx-social li a svg { width: 18px; height: 18px; display: block; }
.fx-social li a:hover {
    transform: translateY(-3px) scale(1.08);
    color: #0a0600;
    background:
        linear-gradient(135deg, #fde68a 0%, #fbbf24 50%, #f59e0b 100%) padding-box,
        linear-gradient(135deg, #fff4c4, #fbbf24 50%, #a16207) border-box;
    box-shadow: 0 10px 22px rgba(234, 179, 8, 0.5), 0 0 22px rgba(234, 179, 8, 0.45);
}

/* =============== 3. Newsletter Strip =============== */
.fx-newsletter {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 40px;
    border-top: 1px solid rgba(234, 179, 8, 0.22);
    border-bottom: 1px solid rgba(234, 179, 8, 0.22);
    background:
        linear-gradient(180deg, rgba(18, 12, 2, 0.45), rgba(10, 6, 0, 0.45));
}
.fx-newsletter-text { padding: 0; }
.fx-newsletter-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.4px;
    line-height: 1.15;
    margin: 0 0 6px;
    padding: 0;
    color: #fde68a;
    background: linear-gradient(135deg, #fff4c4 0%, #fde68a 30%, #fbbf24 70%, #a16207 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.fx-newsletter-sub {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(230, 214, 176, 0.8);
    margin: 0;
    padding: 0;
    letter-spacing: 0.2px;
}

.fx-newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    margin: 0;
}
.fx-input {
    width: 100%;
    background:
        linear-gradient(180deg, rgba(20, 14, 2, 0.72), rgba(8, 5, 0, 0.82)) padding-box,
        linear-gradient(135deg, rgba(252, 211, 77, 0.5), rgba(120, 53, 15, 0.5)) border-box;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fde68a;
    font-family: 'Playfair Display', Georgia, serif;
    padding: 12px 16px;
    font-size: 13.5px;
    letter-spacing: 0.3px;
    box-sizing: border-box;
    transition: background .25s ease, box-shadow .25s ease;
    outline: none;
}
.fx-input::placeholder {
    color: rgba(252, 211, 77, 0.42);
    letter-spacing: 1.5px;
    font-size: 12px;
    text-transform: uppercase;
}
.fx-input:focus {
    background:
        linear-gradient(180deg, rgba(25, 18, 4, 0.85), rgba(10, 6, 0, 0.9)) padding-box,
        linear-gradient(135deg, #fbbf24, rgba(161, 98, 7, 0.7)) border-box;
    box-shadow: 0 0 18px rgba(234, 179, 8, 0.35);
}
.fx-submit {
    background:
        linear-gradient(135deg, #fde68a 0%, #fbbf24 50%, #f59e0b 100%) padding-box,
        linear-gradient(135deg, #fff4c4, #fbbf24 50%, #a16207) border-box;
    border: 1px solid transparent;
    color: #0a0600;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 12.5px;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(255, 240, 200, 0.4);
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.fx-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 14px 28px rgba(234, 179, 8, 0.55), 0 0 24px rgba(234, 179, 8, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* =============== 4. Copyright Bar =============== */
.footer-b {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 22px 20px !important;
    margin: 0 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: rgba(230, 214, 176, 0.65);
    background: rgba(0, 0, 0, 0.35) !important;
    border: none;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.footer-b::before {
    content: none !important;
    display: none !important;
}
.footer-b .fx-copy { opacity: 0.85; }

/* =============== Scroll-top =============== */
#scroll-top {
    background:
        linear-gradient(180deg, rgba(20, 14, 2, 0.94), rgba(8, 5, 0, 0.96)) padding-box,
        linear-gradient(135deg, #fbbf24, #78350f) border-box !important;
    border: 1.5px solid transparent !important;
    color: #fcd34d !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55), 0 0 18px rgba(234, 179, 8, 0.35) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform .25s ease, box-shadow .25s ease, background .3s ease;
}
#scroll-top:hover {
    transform: translateY(-3px);
    background:
        linear-gradient(135deg, #fde68a, #fbbf24 50%, #f59e0b) padding-box,
        linear-gradient(135deg, #fff4c4, #fbbf24 50%, #a16207) border-box !important;
    box-shadow: 0 14px 28px rgba(234, 179, 8, 0.55) !important;
}
#scroll-top .img-arrow {
    width: 18px !important;
    height: 18px !important;
    filter: brightness(0) saturate(100%) invert(82%) sepia(63%) saturate(549%) hue-rotate(2deg) brightness(104%) contrast(94%);
    transition: filter .25s ease;
}
#scroll-top:hover .img-arrow {
    filter: brightness(0);
}

/* =============== Responsive =============== */
@media (max-width: 1200px) {
    .fx-cols {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        column-gap: 36px;
        row-gap: 44px;
        padding: 20px 28px 36px;
    }
    .fx-hero { padding: 64px 28px 40px; }
    .fx-hero-logo { width: 100px !important; height: 100px !important; }
    .fx-hero-brand { font-size: 30px; }
    .fx-newsletter {
        padding: 28px 28px;
        grid-template-columns: 1fr 1.4fr;
        gap: 30px;
    }
}

@media (max-width: 980px) {
    .fx-cols {
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        row-gap: 44px;
    }
    .fx-newsletter {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }
    .fx-newsletter-form { grid-template-columns: 1fr 1fr auto; }
    .fx-hero-brand { font-size: 28px; }
    .fx-hero-tagline { font-size: 12px; letter-spacing: 2.5px; }
}

@media (max-width: 720px) {
    .fx-hero { padding: 50px 20px 32px; }
    .fx-hero-logo { width: 88px !important; height: 88px !important; }
    .fx-hero-brand { font-size: 24px; margin-bottom: 8px; }
    .fx-hero-tagline { font-size: 11.5px; letter-spacing: 2.2px; margin-bottom: 18px; }
    .fx-hero-flourish { width: 160px; }
    .fx-cols {
        padding: 16px 20px 32px;
        column-gap: 28px;
        row-gap: 36px;
    }
    .fx-col-title { font-size: 12px; letter-spacing: 3px; margin-bottom: 18px; padding-bottom: 12px; }
    .fx-col-title::after { width: 28px; }
    .fx-contact-list .fx-value,
    .fx-links li a { font-size: 14px; }
    .fx-contact-list .fx-icon { flex: 0 0 32px; width: 32px; height: 32px; }
    .fx-contact-list .fx-icon svg { width: 14px; height: 14px; }
    .fx-contact-list .fx-label { font-size: 10px; letter-spacing: 2.5px; }
    .fx-connect-intro { font-size: 13px; }
    .fx-social { max-width: 100%; }
    .fx-social li a { max-width: 42px; }
    .fx-social li a svg { width: 16px; height: 16px; }

    .fx-newsletter { padding: 24px 20px; gap: 14px; }
    .fx-newsletter-title { font-size: 20px; }
    .fx-newsletter-sub { font-size: 13px; }
    .fx-newsletter-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .fx-submit { padding: 12px 20px; font-size: 12px; letter-spacing: 2px; }
    .footer-b { font-size: 12px; letter-spacing: 1.2px; padding: 18px 16px !important; }
}

@media (max-width: 480px) {
    .fx-cols {
        grid-template-columns: 1fr 1fr;
        column-gap: 22px;
        row-gap: 32px;
        padding: 14px 16px 28px;
    }
    /* Order on mobile: Explore | Categories on row 1, Contact | Connect on row 2 */
    .fx-col-menu    { order: 1; }
    .fx-col-tags    { order: 2; }
    .fx-col-contact { order: 3; grid-column: 1 / -1; }
    .fx-col-connect { order: 4; grid-column: 1 / -1; }
    .fx-links li a,
    .fx-links li strong { font-size: 13px; }
    .fx-col-title { font-size: 11px; letter-spacing: 2.5px; margin-bottom: 14px; padding-bottom: 10px; }
    .fx-hero { padding: 42px 18px 28px; }
    .fx-hero-logo { width: 78px !important; height: 78px !important; }
    .fx-hero-brand { font-size: 22px; letter-spacing: 1.5px; }
    .fx-hero-tagline { font-size: 11px; letter-spacing: 2px; }
    .fx-hero-flourish { width: 140px; }
    .fx-social { grid-template-columns: repeat(6, 1fr); max-width: 100%; }
    #scroll-top { width: 40px !important; height: 40px !important; line-height: 40px !important; right: 14px; bottom: 14px; }
}
