/* =========================
   Loading Box
========================= */
#loadingBox {
    position: fixed !important;
    inset: 0 !important;
    display: none;
    z-index: 999999 !important;
    background: rgba(16, 30, 42, 0.24) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#loadingBox .ring-wrap {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 132px;
    height: 132px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 22px 52px rgba(14,38,55,.18);
}

#loadingBox .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    background: conic-gradient(from 0deg, #267EA5, #CDEFF8, #F3E8D5, #267EA5);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 0);
}

#loadingBox .ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 23px !important;
    font-weight: 950;
    color: var(--eternel-ink) !important;
    white-space: nowrap;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================
   Footer CTA
========================= */
.footer-cta-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.footer-cta-visual {
    min-height: 460px;
    background:
            linear-gradient(90deg, rgba(10, 24, 34, .72) 0%, rgba(10, 24, 34, .22) 55%, rgba(10, 24, 34, .04) 100%),
            var(--footer-cta-img, url('/img_up/shop_pds/eternelbeyjs/build/option/eternelbeyjs_menu_011663048500.png')) center center / cover no-repeat,
            linear-gradient(135deg, #DFF6FB, #FFFFFF);
}

.footer-cta-card {
    position: relative;
    z-index: 2;
    width: min(1080px, 100%);
    margin: -96px auto 110px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 44px 48px;
    border-radius: 38px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.82);
    box-shadow: 0 28px 80px rgba(14,38,55,.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.footer-cta-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--eternel-blue);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.footer-cta-kicker::before {
    content: "";
    width: 38px;
    height: 1px;
    background: currentColor;
}

.footer-cta-content h2 {
    margin: 0;
    color: var(--eternel-ink);
    font-size: clamp(1.7rem, 3.5vw, 3.8rem);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: -0.085em;
}

.footer-cta-content p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--eternel-muted);
    font-size: 1.04rem;
    line-height: 1.72;
    letter-spacing: -0.035em;
}

.footer-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-cta-btn {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: -0.04em;
    white-space: nowrap;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
}

.footer-cta-btn--primary {
    background: var(--eternel-ink);
    color: #fff !important;
    box-shadow: 0 18px 36px rgba(23,32,43,.22);
}

.footer-cta-btn--ghost {
    background: #fff;
    color: var(--eternel-ink) !important;
    border: 1px solid var(--eternel-line);
}

/* =========================
   Footer
========================= */
footer.eternel-footer {
    padding: 68px 0 58px;
    text-align: center;
    background:
            radial-gradient(circle at 22% 0%, rgba(205,239,248,.18), transparent 28%),
            #111820 !important;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 24px !important;
}

.footer-logo-img {
    width: auto !important;
    height: auto !important;
    max-width: 190px;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
}

.footer-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.footer-copy {
    max-width: 940px;
    margin: 10px auto 0;
    color: rgba(255,255,255,.58);
    font-size: .82rem;
    line-height: 1.68;
    letter-spacing: -0.025em;
}

.footer-info-grid {
    max-width: 760px;
    margin: 24px auto 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer-info-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.82);
    font-size: .88rem;
    font-weight: 760;
    letter-spacing: -0.03em;
}

.footer-info-grid strong {
    color: #fff;
    margin-left: 6px;
}

.footer-partner-btn {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: transparent;
    color: rgba(255,255,255,.84);
    font-size: .88rem;
    font-weight: 850;
    letter-spacing: -0.03em;
}

/* =========================
   Sticky Consultation Buttons
========================= */
nav.sticky-menu {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 9999 !important;
}

nav.sticky-menu ul {
    margin: 0 !important;
    padding: 8px !important;
    list-style: none !important;
    display: flex;
    flex-direction: column;
    gap: 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: 0 18px 44px rgba(14,38,55,.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

nav.sticky-menu ul li {
    margin: 0 !important;
}

nav.sticky-menu ul li a.sticky-btn {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 8px !important;
    border-radius: 50% !important;
    background: var(--eternel-ink) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.66) !important;
    box-shadow: 0 12px 26px rgba(23,32,43,.18);
    text-align: center !important;
    box-sizing: border-box !important;
}

nav.sticky-menu ul li a.sticky-btn i {
    font-size: 20px !important;
    color: #fff !important;
}

nav.sticky-menu ul li a.sticky-btn span {
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.04em !important;
    color: #fff !important;
}

nav.sticky-menu ul li a.sticky-btn .kakao-img {
    width: 22px !important;
    height: 22px !important;
}

nav.sticky-menu ul li a.sticky-btn.kakao-btn {
    background: #FEE500 !important;
    color: #191919 !important;
    border-color: #F5D800 !important;
}

nav.sticky-menu ul li a.sticky-btn.kakao-btn span {
    color: #191919 !important;
}

nav.sticky-menu ul li a.sticky-btn.sticky-btn-sms,
nav.sticky-menu ul li a.sticky-btn.sticky-btn-sms:link,
nav.sticky-menu ul li a.sticky-btn.sticky-btn-sms:visited,
nav.sticky-menu ul li a.sticky-btn.sticky-btn-sms:hover,
nav.sticky-menu ul li a.sticky-btn.sticky-btn-sms:active,
nav.sticky-menu ul li a.sticky-btn.sticky-btn-sms:focus {
    background: var(--eternel-blue) !important;
    background-color: var(--eternel-blue) !important;
    color: #ffffff !important;
}

.sticky-item-mobile-only {
    display: none !important;
}

@media (max-width: 991.98px) {
    .footer-cta-card {
        grid-template-columns: 1fr;
        margin-bottom: 78px;
    }

    .footer-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .footer-cta-visual {
        min-height: 330px;
    }

    .footer-cta-card {
        width: calc(100% - 28px);
        margin-top: -72px;
        padding: 30px 22px;
        border-radius: 28px;
    }

    .footer-cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer-cta-btn {
        width: 100%;
    }

    .sticky-item-mobile-only {
        display: block !important;
    }

    nav.sticky-menu {
        right: 10px !important;
        bottom: 10px !important;
    }

    nav.sticky-menu ul {
        gap: 6px;
        padding: 6px !important;
    }

    nav.sticky-menu ul li a.sticky-btn {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        padding: 5px !important;
        gap: 2px !important;
    }

    nav.sticky-menu ul li a.sticky-btn i {
        font-size: 16px !important;
    }

    nav.sticky-menu ul li a.sticky-btn span {
        font-size: 11px !important;
    }

    nav.sticky-menu ul li a.sticky-btn .kakao-img {
        width: 18px !important;
        height: 18px !important;
    }
}
