@charset "UTF-8";

/* ==========================================================================
   화천 농업회사법인(주) 미니멀 모던 공통 푸터
   ========================================================================== */

.site-footer {
    width: 100%;
    background-color: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 5rem 2.5rem 3.5rem;
    color: #111111;
    box-sizing: border-box;
    text-align: center;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* ──────────────────────────────────────────────────────────────────────────
   1. 브랜드 타이틀 & 인스타그램 & 슬로건
   ────────────────────────────────────────────────────────────────────────── */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-brand.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-brand .footer-logo {
    margin: 0;
    transition: letter-spacing 0.5s ease;
    cursor: default;
    font-size: 2rem;
    font-family: "Times New Roman", Times, "Batang", serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #111111;
    line-height: 1;
}

.footer-brand .footer-logo:hover {
    letter-spacing: 0.32em;
}

/* 로고 바로 아래 인스타그램 아이콘 스타일 */
.footer-sns-wrap {
    margin: 0.8rem 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sns-link.instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.sns-link.instagram .sns-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    transition: stroke 0.25s ease, transform 0.25s ease;
}

.sns-link.instagram:hover {
    color: #111111;
    transform: translateY(-2px);
}

.sns-link.instagram:hover .sns-icon {
    stroke: #E1306C; /* 호버 시 인스타그램 공식 시그니처 핑크 컬러로 전환 */
}

.footer-slogan {
    color: #555555;
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
    word-break: keep-all;
}

/* ──────────────────────────────────────────────────────────────────────────
   2. 이용약관 & 개인정보처리방침 링크 바
   ────────────────────────────────────────────────────────────────────────── */
.footer-policy-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.policy-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: #444444;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.policy-link:hover {
    color: #111111;
    text-decoration: underline;
}

.policy-divider {
    font-size: 0.75rem;
    color: #d1d1d1;
    user-select: none;
}

/* ──────────────────────────────────────────────────────────────────────────
   3. 기업 정보 중앙 정렬
   ────────────────────────────────────────────────────────────────────────── */
.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: #555555;
    line-height: 1.6;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.8rem;
}

.info-row span {
    display: inline-flex;
    align-items: center;
}

.info-row strong {
    color: #111111;
    font-weight: 600;
    margin-right: 0.4rem;
}

/* ──────────────────────────────────────────────────────────────────────────
   4. 하단 카피라이트
   ────────────────────────────────────────────────────────────────────────── */
.footer-bottom {
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.copyright {
    color: #888888;
    font-size: 0.82rem;
    margin: 0;
    letter-spacing: 0.02em;
}

/* ──────────────────────────────────────────────────────────────────────────
   5. 우측 하단 장바구니 플로팅 액션 버튼
   ────────────────────────────────────────────────────────────────────────── */
.floating-cart-btn {
    position: fixed;
    right: 32px;
    bottom: 35px;
    width: 60px;
    height: 60px;
    background-color: #111111;
    color: #ffffff;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
    z-index: 9999;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.2s ease;
}

.floating-cart-btn:hover {
    transform: scale(1.12) translateY(-3px);
    background-color: #333333;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.floating-cart-btn .cart-icon {
    width: 26px;
    height: 26px;
    stroke: #ffffff;
    pointer-events: none;
}

.floating-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #e03131;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Jost', sans-serif;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 767px) {
    .site-footer {
        padding: 3.5rem 1.5rem 2.5rem;
    }
    .info-row {
        flex-direction: column;
        gap: 0.35rem;
    }
    .footer-slogan {
        font-size: 0.88rem;
    }
    .floating-cart-btn {
        right: 20px;
        bottom: 24px;
        width: 52px;
        height: 52px;
    }
    .floating-cart-btn .cart-icon {
        width: 22px;
        height: 22px;
    }
    .floating-cart-badge {
        min-width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: -3px;
        right: -3px;
    }
}