@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);
}

.footer-legal-notice {
    width: 100%;
    max-width: 820px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    margin-top: 0.5rem;
    box-sizing: border-box;
}

.footer-legal-notice .notice-title {
    margin: 0 0 0.4rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #111111;
}

.footer-legal-notice .notice-desc {
    margin: 0;
    font-size: 0.82rem;
    color: #666666;
    line-height: 1.55;
    word-break: keep-all;
}

.footer-legal-notice .notice-desc strong {
    color: #e03131;
    font-weight: 700;
}

/* ==========================================================================
   화천(HWACHEON) 푸터 정밀 반응형 아키텍처
   ========================================================================== */

/* ── 1. 와이드 럭셔리 모니터 대역 (Min 1440px) ── */
@media (min-width: 1440px) {
    .site-footer {
        padding: 5rem 5rem 4rem;
    }
    .footer-inner {
        max-width: 1200px;
        gap: 2.5rem;
    }
    .footer-brand .footer-logo {
        font-size: 2.2rem;
    }
}

/* ── 2. 슬림형 데스크톱 및 랩톱 모니터 (1024px ~ 1439px) ── */
@media (max-width: 1439px) and (min-width: 1024px) {
    .site-footer {
        padding: 4.5rem 3.5rem 3.5rem;
    }
    .footer-inner {
        max-width: 960px;
        gap: 2rem;
    }
    .footer-brand .footer-logo {
        font-size: 1.95rem;
    }
    .footer-slogan {
        font-size: 0.92rem;
    }
    .footer-info {
        font-size: 0.88rem;
    }
    .info-row {
        gap: 1.5rem;
    }
    .policy-link {
        font-size: 0.88rem;
    }
    .copyright {
        font-size: 0.8rem;
    }
}

/* ── 3. 태블릿 패널 (768px ~ 1023px) ── */
@media (max-width: 1023px) and (min-width: 768px) {
    .site-footer {
        padding: 4rem 2.5rem 3rem;
    }
    .footer-inner {
        max-width: 100%;
        gap: 1.8rem;
    }
    .footer-brand .footer-logo {
        font-size: 1.8rem;
    }
    .footer-slogan {
        font-size: 0.9rem;
    }
    .info-row {
        gap: 1.2rem;
    }
    .footer-info {
        font-size: 0.85rem;
    }
    .floating-cart-btn {
        right: 2rem;
        bottom: 2rem;
        width: 56px;
        height: 56px;
    }
}

/* ── 4. 미디엄 태블릿 및 스마트폰 와이드 뷰포트 (480px ~ 767px) ── */
@media (max-width: 767px) and (min-width: 480px) {
    .site-footer {
        padding: 3.5rem 1.5rem 2.5rem;
    }
    .footer-inner {
        gap: 1.6rem;
    }
    .footer-brand .footer-logo {
        font-size: 1.65rem;
    }
    .footer-slogan {
        font-size: 0.88rem;
        padding: 0 1rem;
    }
    .footer-policy-links {
        gap: 1rem;
    }
    .policy-link {
        font-size: 0.84rem;
    }

    .footer-info {
        font-size: 0.85rem;
        gap: 0.5rem;
        width: 100%;
    }
    .info-row {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
    }
    .info-row span {
        white-space: normal !important;
        word-break: keep-all;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }
    .copyright {
        font-size: 0.78rem;
    }

    .floating-cart-btn {
        right: 1.5rem;
        bottom: 1.5rem;
        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;
    }
    .footer-legal-notice {
        padding: 1rem 1.2rem;
    }
    .footer-legal-notice .notice-desc {
        font-size: 0.78rem;
    }
}

/* ── 5. 스마트폰 세로 모드 최하단 한계 레이어 (Max 479px) ── */
@media (max-width: 479px) {
    .site-footer {
        padding: 3.2rem 1.25rem 2.2rem;
    }
    .footer-inner {
        gap: 1.4rem;
    }

    .footer-brand .footer-logo {
        font-size: 1.5rem;
    }
    .sns-link.instagram .sns-icon {
        width: 20px;
        height: 20px;
    }
    .footer-slogan {
        font-size: 0.82rem;
        line-height: 1.55;
        padding: 0 0.5rem;
    }

    .footer-policy-links {
        gap: 0.8rem;
    }
    .policy-link {
        font-size: 0.8rem;
    }
    .policy-divider {
        font-size: 0.65rem;
    }

    .footer-info {
        font-size: 0.8rem;
        line-height: 1.7;
        gap: 0.4rem;
    }
    .info-row {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    .info-row span {
        white-space: normal !important;
        word-break: keep-all;
    }
    .info-row strong {
        margin-right: 0.3rem;
    }

    .footer-bottom {
        padding-top: 1.2rem;
    }
    .copyright {
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .floating-cart-btn {
        right: 1.2rem;
        bottom: 1.2rem;
        width: 48px;
        height: 48px;
    }
    .floating-cart-btn .cart-icon {
        width: 20px;
        height: 20px;
    }
    .floating-cart-badge {
        min-width: 18px;
        height: 18px;
        font-size: 0.65rem;
        padding: 0 4px;
        top: -2px;
        right: -2px;
    }
}