
/* 팝업 스타일 */
.pop-parent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.pop {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    width: 90%;
    height: 90%;
    max-width: 600px;
    max-height: 550px;
    /* padding: 20px; */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) { /* 모바일 화면을 위한 미디어 쿼리 */
    .pop {
        max-height: 380px; /* 모바일 화면에서 최대 높이 설정 */
    }
}
.popup-slide {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.m-ratioBox {
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
    height: 100%; /* 부모 div의 높이에 맞춤 */
}
.centered-image {
    max-width: 100%; /* 최대 크기 100% */
    max-height: 100%; /* 최대 높이 100% */
    object-fit: contain; /* 이미지 비율 유지 */
}
.m-ratioBox img {max-width: 100%;}
.pop-btns {
    display: flex;
    justify-content: center; /* 가로 가운데 정렬 */
}
.close-button {
    font-size: 2em; 
    color: #eee; 
    background-color: transparent;
}


.logos{
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: 5%;
}

.logos .logo_img{
    display:inline-flex;
    border-radius: 20%;
    width: 120px;
    height: 120px;
    margin: 5px;            
}
/* 팝업스타일 - 끝 */



@media (min-width: 1024px) { /* 데스크탑 화면 크기 기준 */
    .logo {
        margin-bottom: 8px;
    }
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 5px;
}

.custom-select {
    position: relative;
    cursor: pointer;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 25px;
    border: none;
    background-color: transparent;
}
.custom-select-trigger img{
    width: 100%;
    height: 100%;
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: none;
    background-color: transparent;
    display: none;
    z-index: 10;
}
.custom-options img{
    width: 100%;
    height: 100%;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.custom-option {
    /* padding: 5px; */
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-option:hover {
    background-color: transparent;
}

.custom-select.open .custom-options {
    display: block;
}

@media (min-width: 769px) {
    .custom-select-wrapper {
        display: block; /* 데스크탑에서 표시 */
    }

    .custom-mobile-select-wrapper {
        display: none; /* 데스크탑에서 숨김 */
    }
}

@media (max-width: 768px) {
    .custom-select-wrapper {
        display: none; /* 모바일에서 숨김 */
    }

    .custom-mobile-select-wrapper {
        display: block; /* 모바일에서 표시 */
    }
}


.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    /* background-color: #eee; */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px; /* 버튼 모서리를 둥글게 */
}

.icon-image {
    max-width: 100%;
    max-height: 100%;
}


.labels {
    display: flex;
    flex-wrap: wrap; /* 줄바꿈을 허용 */
    gap: 10px; /* 버튼 사이의 간격 */
}

.shop-link, .contact-link {
    display: inline-block;
    flex: 1 1 calc(25% - 10px); /* 기본적으로 한 줄에 네 개씩 배치 */
}

.shop-button {
    width: 100%; /* 이미지가 a 태그의 전체 너비를 차지하도록 설정 */
    max-width: 300px;
    min-width: 120px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* 그림자 효과 추가 */
}

@media (max-width: 768px) { /* 모바일 화면 크기 기준 */
    .shop-link, .contact-link {
        flex: 1 1 calc(50% - 10px); /* 한 줄에 두 개씩 배치 */
    }
}

.contact-button {
    max-width: 400px;
    min-width: 150px;
    padding: 10px 20px;  
    color: #000;
    background-color: #FFF; /* 초기 그레이 색상 */
    border: 1px solid #aaa;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    width: 100%; /* 버튼이 a 태그의 전체 너비를 차지하도록 설정 */
}

.contact-button:hover {
    background-color: #ccc; /* hover 시 더 어두운 그레이 */
}


/* 화면 우측 하단 버튼 */
.floating-button {
    position: fixed;
    right: 23px;
    bottom: 90px;
    width: 60px; /* 모바일 크기로 통일 */
    height: 60px; /* 모바일 크기로 통일 */
    border-radius: 45%;
    background-color: #ff9757;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #FF5733;
}

.floating-button i {
    font-size: 24px; /* 모바일 크기로 통일 */
}