/* 입점안내 버튼 스타일 */
.footer-button-container {
    text-align: center;
    margin-top: 20px;
}
.store-info-btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}
.store-info-btn:hover {
    background: var(--hover-color);
}

/* 푸터 스타일 */
.main-footer {
    background: var(--card-background);
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-main {
    padding: 60px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.footer-info {
    max-width: 400px;
}

.footer-title {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.section-title {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    flex-shrink: 0;
    color: var(--text-secondary);
}

.footer-bottom {
    background: var(--background-color);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.copyright {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-main {
        padding: 40px 0;
    }
    
    .footer-info {
        max-width: none;
    }
}

/* 애니메이션 */
.footer-links li,
.footer-contact li {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.footer-links li:nth-child(1) { animation-delay: 0.1s; }
.footer-links li:nth-child(2) { animation-delay: 0.2s; }
.footer-links li:nth-child(3) { animation-delay: 0.3s; }
.footer-contact li:nth-child(1) { animation-delay: 0.4s; }
.footer-contact li:nth-child(2) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 검색 관련 스타일 */
.footer-title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-search-toggle {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    transform: translateY(-12px);
}

.footer-search-toggle:hover {
    color: var(--accent-color);
}

.footer-search-container {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    margin-bottom: 0;
}

.footer-search-container.active {
    height: 45px;
    margin-bottom: 20px;
}

.footer-search-form {
    margin-top: 10px;
}

.footer-search-input {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    background: var(--card-background);
}

.footer-search-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* 스크롤 탑 버튼 */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--hover-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* 고객센터 정보 바 스타일 - 새로 추가됨 */
.customer-support-bar {
    background: linear-gradient(135deg, var(--accent-color), #1a5f9e);
    color: white;
    padding: 20px 0;
    position: relative;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

.support-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.support-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.support-icon svg {
    width: 30px;
    height: 30px;
}

.support-info {
    flex: 1;
}

.support-info h4 {
    font-size: 18px;
    margin: 0 0 5px 0;
    font-weight: 600;
    color: white;
}

.support-phone {
    font-size: 32px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.support-phone:hover {
    transform: scale(1.03);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.support-hours {
    font-size: 15px;
    margin: 0 0 3px 0;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.support-premium {
    font-size: 13px;
    margin: 0;
    opacity: 0.8;
    font-style: italic;
}

/* 전화걸기 버튼 (공통 스타일) */
.call-now-btn {
    background: white;
    color: var(--accent-color);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.call-now-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.8s ease;
}

.call-now-btn:hover:before {
    left: 100%;
}

.call-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* 전화번호 모달 스타일 */
.phone-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.phone-modal.show {
    opacity: 1;
    display: block;
}

.modal-content {
    background: white;
    margin: 15% auto;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.phone-modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    background: linear-gradient(135deg, var(--accent-color), #1a5f9e);
    color: white;
    padding: 20px;
    text-align: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.phone-display {
    font-size: 38px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 15px 0;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    background: #f8f9fa;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

.modal-description {
    margin: 20px 0;
    color: #555;
    line-height: 1.6;
}

.copy-phone-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    width: 100%;
    max-width: 250px;
    transition: all 0.3s;
}

.copy-phone-btn:hover {
    background: #1a5f9e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.call-direct-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    width: 100%;
    max-width: 250px;
    text-decoration: none;
    transition: all 0.3s;
}

.call-direct-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #aaa;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.or-divider span {
    padding: 0 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.copy-success {
    position: absolute;
    left: 0;
    bottom: -50px;
    width: 100%;
    background: #28a745;
    color: white;
    padding: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.copy-success.show {
    bottom: 0;
}

/* 모바일 대응 처리 */
@media (max-width: 576px) {
    .modal-content {
        width: 95%;
        margin: 30% auto;
    }
    
    .phone-display {
        font-size: 32px;
        padding: 8px 20px;
    }
}

.call-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.call-now-btn:active {
    transform: translateY(-1px);
}

/* 반응형 고객센터 바 */
@media (max-width: 768px) {
    .support-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .support-icon {
        margin: 0 auto;
    }
    
    .call-now-btn {
        margin: 10px auto 0;
    }
}