/* =========================================================
   JapanDrip Premium Footer - PC
   File: jefooter.css
   Scope: .je-footer only
   ========================================================= */

.je-footer,
.je-footer * {
    box-sizing: border-box;
}

.je-footer {
    clear: both;
    width: 100%;
    min-width: 1126px;
    margin-top: 56px;
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', Dotum, Arial, sans-serif;
    color: #1f2937;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.je-footer a {
    color: inherit;
    text-decoration: none;
}

.je-footer a:hover {
    color: #0ea5b7;
}

.je-footer__inner {
    width: 1126px;
    margin: 0 auto;
}

/* 상단 신뢰 배너 */
.je-footer__trust {
    background:
        linear-gradient(135deg, #0b6f7d 0%, #0ea5b7 48%, #12c7d6 100%);
    color: #ffffff;
}

.je-footer__trust-inner {
    width: 1126px;
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.je-footer__trust-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.je-footer__trust-badge {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.32);
    border-radius: 12px;
    font-size: 19px;
}

.je-footer__trust-desc {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.82);
    letter-spacing: -0.2px;
}

.je-footer__trust-actions {
    display: flex;
    gap: 8px;
}

.je-footer__trust-link {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,0.32);
    background: rgba(255,255,255,0.13);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.3px;
    border-radius: 999px;
    transition: all .18s ease;
}

.je-footer__trust-link:hover {
    background: #ffffff;
    color: #087282 !important;
}

/* 메인 영역 */
.je-footer__main {
    background: linear-gradient(180deg, #fbfdfe 0%, #f7fafc 100%);
    padding: 30px 0 26px;
}

.je-footer__grid {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.je-footer__brand-card,
.je-footer__info-card,
.je-footer__safe-card {
    position: relative;
    min-height: 230px;
    padding: 24px;
    background: rgba(255,255,255,0.92);
    border: 1px solid #e6eef2;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.je-footer__brand-card:before,
.je-footer__safe-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5b7, #FC3848);
}

.je-footer__logo-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.je-footer__logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #111827;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -1px;
}

.je-footer__brand-name {
    display: block;
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.8px;
    color: #111827;
}

.je-footer__brand-sub {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #0ea5b7;
    letter-spacing: 0.8px;
}

.je-footer__brand-desc {
    margin: 0 0 18px;
    color: #556070;
    font-size: 13px;
    line-height: 1.72;
    letter-spacing: -0.35px;
}

.je-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.je-footer__nav a {
    display: inline-flex;
    align-items: center;
    height: 31px;
    padding: 0 11px;
    background: #f3f7f9;
    border: 1px solid #e4edf1;
    border-radius: 999px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.35px;
    transition: all .18s ease;
}

.je-footer__nav a:hover {
    background: #ecfeff;
    border-color: #9eeaf1;
    color: #087282;
}

.je-footer__card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.55px;
}

.je-footer__card-title small {
    font-size: 11px;
    font-weight: 700;
    color: #8b98a8;
}

/* 회사정보 접기/펼치기 */
.je-footer__company {
    border: 1px solid #e5edf1;
    background: #f9fcfd;
    border-radius: 14px;
    overflow: hidden;
}

.je-footer__company-summary {
    position: relative;
    min-height: 48px;
    padding: 15px 48px 15px 16px;
    cursor: pointer;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.4px;
    list-style: none;
    user-select: none;
}

.je-footer__company-summary::-webkit-details-marker {
    display: none;
}

.je-footer__company-summary:after {
    content: '⌄';
    position: absolute;
    top: 50%;
    right: 17px;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #d9e6eb;
    color: #0b91a4;
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
}

.je-footer__company[open] .je-footer__company-summary:after {
    transform: rotate(180deg);
    background: #e9fbfd;
}

.je-footer__company-panel {
    padding: 4px 16px 16px;
    border-top: 1px solid #e5edf1;
    background: #ffffff;
}

.je-footer__company-list {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 8px 12px;
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: -0.3px;
}

.je-footer__company-list dt {
    color: #7a8797;
    font-weight: 800;
}

.je-footer__company-list dd {
    margin: 0;
    color: #334155;
    font-weight: 600;
}

.je-footer__company-list a {
    color: #0b91a4;
    font-weight: 800;
}

.je-footer__tip {
    margin: 13px 0 0;
    padding: 12px 13px;
    background: #fff7f7;
    border: 1px solid #ffe0e2;
    border-radius: 12px;
    color: #8a3a3f;
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: -0.35px;
}

/* 구매안전서비스 */
.je-footer__safe-text {
    margin: 0 0 14px;
    color: #556070;
    font-size: 13px;
    line-height: 1.65;
    letter-spacing: -0.35px;
}

.je-footer__safe-visual {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    margin-bottom: 12px;
    padding: 13px;
    background: #f8fafc;
    border: 1px solid #e5edf1;
    border-radius: 14px;
}

.je-footer__safe-visual img {
    max-width: 120px;
    max-height: 42px;
}

.je-footer__safe-copy {
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: -0.3px;
}

.je-footer__safe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 15px;
    background: #111827;
    border: 1px solid #111827;
    border-radius: 999px;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.3px;
    transition: all .18s ease;
}

.je-footer__safe-button:hover {
    background: #0ea5b7;
    border-color: #0ea5b7;
    color: #ffffff !important;
}

.je-footer__cert-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px dashed #dbe6ea;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.je-footer__cert-row img {
    max-height: 26px;
}

/* 하단 안내 */
.je-footer__bottom {
    padding: 20px 0 24px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.je-footer__notice {
    padding: 17px 20px;
    background: #f8fafc;
    border: 1px solid #e6edf2;
    border-radius: 16px;
}

.je-footer__notice p {
    margin: 0;
    color: #5f6b7a;
    font-size: 12px;
    line-height: 1.75;
    letter-spacing: -0.35px;
}

.je-footer__notice p + p {
    margin-top: 4px;
}

.je-footer__notice .je-footer__highlight {
    color: #0b91a4;
    font-weight: 900;
}

.je-footer__copyright {
    margin-top: 12px;
    color: #9aa4b2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
}

/* 기존 footer 이미지/office 제거용 보조 처리: 새 footer에서는 사용하지 않음 */
.je-footer img[src*='footer_logo_jg_off.png'],
.je-footer img[src*='footer_logo_off.png'],
.je-footer .je-footer__office,
.je-footer .je-footer__japan-office,
.je-footer .je-footer__korea-office {
    display: none !important;
}

/* PC 기준 고정 footer라 모바일은 기본 안정 처리만 */
@media (max-width: 1200px) {
    .je-footer {
        min-width: 1126px;
    }
}
