/* BASIC css start */
/* ========================================
   FALLING LAND 기본 하단
======================================== */

#footer {
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 150px 0 0;
    color: #282828;
    background: #f7f4ee;
    border-top: 1px solid #dedbd5;
}

#footer,
#footer * {
    box-sizing: border-box;
}

#footer a {
    color: inherit;
    text-decoration: none;
}

#footer ul,
#footer li,
#footer p,
#footer h2,
#footer h3 {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ========================================
   상단 정보 영역 / 4단 균등 정렬
======================================== */

#footer .fl-footer-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 60px;
    row-gap: 45px;
    align-items: start;

    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 65px 55px 55px;
}

#footer .fl-footer-brand,
#footer .fl-footer-section {
    width: 100%;
    min-width: 0;
    margin: 0;
}

/* ========================================
   브랜드
======================================== */

#footer .fl-footer-brand h2 {
    color: #1c1c1c;
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.7px;
}

#footer .fl-footer-slogan {
    margin-top: 16px;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

/* ========================================
   푸터 왼쪽 SNS 링크
======================================== */

#footer .fl-footer-instagram,
#footer .fl-footer-kakao {
    display: flex;
    align-items: center;
    gap: 7px;

    width: fit-content;
    max-width: 100%;

    color: #444;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
    text-decoration: none;

    transition: color 0.2s ease;
}

#footer .fl-footer-instagram {
    margin-top: 29px;
}

#footer .fl-footer-kakao {
    margin-top: 10px;
}

#footer .fl-footer-sns-icon {
    display: block;
    flex: 0 0 1em;
    width: 1em;
    height: 1em;
    color: inherit;
}

#footer .fl-footer-instagram span,
#footer .fl-footer-kakao span {
    min-width: 0;
    overflow-wrap: anywhere;
}

#footer .fl-footer-instagram:hover,
#footer .fl-footer-kakao:hover {
    color: #000;
}

/* ========================================
   공통 제목
======================================== */

#footer .fl-footer-section h3 {
    margin-bottom: 19px;
    color: #1c1c1c;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ========================================
   고객센터 / 계좌정보
======================================== */

#footer .fl-footer-phone {
    color: #1c1c1c;
    font-size: 21px;
    line-height: 1;
    font-weight: 700;
}

#footer .fl-footer-description {
    margin-top: 14px;
    color: #666;
    font-size: 12px;
    line-height: 1.75;
}

#footer .fl-footer-contact,
#footer .fl-footer-notice {
    margin-top: 17px;
    color: #8a8a8a;
    font-size: 11px;
    line-height: 1.65;
}

/* ========================================
   이용안내
======================================== */

#footer .fl-footer-guide li {
    margin-bottom: 11px;
}

#footer .fl-footer-guide li:last-child {
    margin-bottom: 0;
}

#footer .fl-footer-guide a {
    position: relative;
    display: inline-block;
    color: #666;
    font-size: 12px;
    line-height: 1.3;
}

#footer .fl-footer-guide a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;

    height: 1px;
    background: #333;

    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s ease;
}

#footer .fl-footer-guide a:hover {
    color: #222;
}

#footer .fl-footer-guide a:hover::after {
    transform: scaleX(1);
}

/* ========================================
   사업자 정보
======================================== */

#footer .fl-company-area {
    width: 100%;
    padding: 26px 55px 30px;
    background: #efebe4;
    border-top: 1px solid #dedbd5;
}

#footer .fl-company-info,
#footer .fl-copyright {
    width: 100%;
    max-width: 1540px;
    margin-right: auto;
    margin-left: auto;
}

#footer .fl-company-info {
    color: #777;
    font-size: 11px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

#footer .fl-company-info p {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 19px;
}

#footer .fl-company-info a {
    color: #444;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#footer .fl-copyright {
    margin-top: 13px;
    color: #929292;
    font-size: 10px;
    letter-spacing: 0.25px;
}

/* ========================================
   결제·에스크로 로고
======================================== */

#footer .footerShopInfoBottom {
    display: block;
    width: 100%;
    padding: 0 55px 28px;
    background: #efebe4;
}

#footer .shop-escrow {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
}

#footer .shop-escrow img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   우측 하단 고정 버튼
======================================== */

.fl-floating-sns {
    position: fixed;
    right: 18px;
    bottom: 118px;
    z-index: 99999;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

/* SNS 이미지 버튼 */

.fl-floating-sns-btn {
    display: block;
    width: 34px;
    height: 34px;

    border-radius: 8px;
    overflow: hidden;

    text-decoration: none !important;
    box-sizing: border-box;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.fl-floating-sns-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.fl-floating-sns-btn:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* 최상단 / 최하단 이동 버튼 */

.fl-floating-move {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;

    color: #444;
    background: #f7f4ee;

    border: 1px solid #dedbd5;
    border-radius: 8px;

    cursor: pointer;
    box-sizing: border-box;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.fl-floating-move svg {
    display: block;
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fl-floating-move:hover {
    color: #000;
    background: #efebe4;
}

.fl-floating-move:focus-visible,
.fl-floating-sns-btn:focus-visible {
    outline: 2px solid #444;
    outline-offset: 3px;
}

/* ========================================
   태블릿
======================================== */

@media screen and (max-width: 1100px) {

    #footer {
        margin-top: 110px;
    }

    #footer .fl-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 35px;
        padding: 50px 40px;
    }

    #footer .fl-company-area {
        padding-right: 40px;
        padding-left: 40px;
    }

    #footer .footerShopInfoBottom {
        padding-right: 40px;
        padding-left: 40px;
    }

}

/* ========================================
   모바일 화면 폭
======================================== */

@media screen and (max-width: 600px) {

    #footer {
        margin-top: 80px;
    }

    #footer .fl-footer-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
        padding: 42px 22px;
    }

    #footer .fl-footer-brand h2 {
        font-size: 22px;
    }

    #footer .fl-footer-phone {
        font-size: 19px;
    }

    #footer .fl-company-area {
        padding: 24px 22px 27px;
    }

    #footer .fl-company-info p {
        display: block;
    }

    #footer .fl-company-info span {
        display: block;
    }

    #footer .footerShopInfoBottom {
        padding: 0 22px 25px;
    }

}
/* BASIC css end */

