
.slides_mobile_container .elementor-slides .swiper-slide-inner .elementor-slide-description:not(:last-child), 
.slides_mobile_container .elementor-slides .swiper-slide-inner .elementor-slide-heading:not(:last-child) {
    margin-bottom: 15px;
}

/* 슬라이더 전체 컨테이너 스타일 */
.ss-products-swiper-container.style-1 {
    width: 100%;
    height: auto;
    overflow: hidden;
}

/* 각 슬라이드 항목 스타일 */
.ss-products-swiper-container.style-1 .swiper-slide {
    position: relative;
    display: block;
    overflow: hidden;
    opacity: 0;
}

/* 이미지 스타일 */
.ss-products-swiper-container.style-1 .swiper-slide .slide-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center top;
    display: block;
    transition: transform 0.5s ease;
}
.ss-products-swiper-container.style-1 .swiper-slide:hover .slide-image {
    transform: scale(1.05); /* 이미지 확대 효과 */
}

/* 호버 시 표시될 정보 컨테이너 */
.ss-products-swiper-container.style-1 .swiper-slide .product-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    transition-delay: 0.1s;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    box-sizing: border-box;
    padding: 30px;
    padding-bottom: 50px;
}

/* 제품명 및 가격 표시 */
.ss-products-swiper-container.style-1 .swiper-slide .product-info h3,
.ss-products-swiper-container.style-1 .swiper-slide .product-info .price {
    margin: 5px 0;
}
.ss-products-swiper-container.style-1 .swiper-slide .product-info h3 {
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
}
/* 호버 시 제품 정보 표시 */
.ss-products-swiper-container.style-1 .swiper-slide:hover .product-info {
    transform: translateY(0);
    opacity: 1;
}
/* 호버 시 흰색 프레임 설정 */
.ss-products-swiper-container.style-1 .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 20px;
    border: 1px solid #ffffffc7; /* 흰색 프레임 설정 */
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none; /* 이 요소가 마우스 이벤트를 방해하지 않도록 설정 */
}
.ss-products-swiper-container.style-1 .swiper-slide:hover::after {
    opacity: 1; /* hover 시에만 프레임 보이게 함 */
}

/* 모바일 자동 호버 효과 */
@media only screen and (max-width: 768px) {
    .ss-products-swiper-container.style-1 .swiper-slide::after {
        margin: 15px;
    }
    .ss-products-swiper-container.style-1 .swiper-slide.swiper-slide-active .product-info {
        transform: translateY(0);
        opacity: 1;
    }
    .ss-products-swiper-container.style-1 .swiper-slide.swiper-slide-active::after {
        opacity: 1; /* hover 시에만 프레임 보이게 함 */
    }
    .ss-products-swiper-container.style-1 .swiper-slide .product-info {
        padding: 30px;
        padding-bottom: 50px;
    }
}

/* 정상 가격 및 할인 가격 스타일 */
.ss-products-swiper-container.style-1 .swiper-slide .product-info .price .woocommerce-Price-amount {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 800;
}

.ss-products-swiper-container.style-1 .swiper-slide .product-info .price .regular-price del {
    color: #ccc; /* 회색 */
    margin-right: 10px;
    font-size: 1rem;
}

.ss-products-swiper-container.style-1 .swiper-slide .product-info .price .sale-price {
    color: red; /* 할인 가격은 빨간색으로 표시 */
    font-size: 1.2rem;
    font-weight: 800;
}


/** 페이지네이션 **/
.ss-products-swiper-container.style-1 .swiper-pagination.ss-pagination.swiper-pagination-horizontal {
    visibility: hidden;
    margin-top: 35px;
}
.ss-products-swiper-container.style-1:hover .swiper-pagination.ss-pagination.swiper-pagination-horizontal {
    visibility: visible;
}

/* 페이지네이션 점의 기본 스타일 */
.ss-products-swiper-container.style-1 .ss-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 10px; /* 작은 점 크기 */
    height: 10px;
    background-color: #888; /* 점의 기본 배경색 */
    border: 2px solid white; /* 흰색 테두리 */
    opacity: 0.6; /* 약간 투명 */
    transition: background-color 0.3s ease, transform 0.3s ease; /* 부드러운 전환 효과 */
    border-radius: 50%; /* 원형으로 만들기 */
    margin: 0 1px;
}

/* 활성화된 페이지네이션 점의 스타일 */
.ss-products-swiper-container.style-1 .ss-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
    width: 13px; /* 활성화 시 크기 확대 */
    height: 10px;
    background-color: #242424; /* 활성화 시 배경색 변경 */
    opacity: 1; /* 불투명 */
    border-radius: 5px;
}

/* 페이지네이션 점 호버 시 스타일 */
.ss-products-swiper-container.style-1 .ss-pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover {
    background-color: #242424; /* 호버 시 색상 변경 */
}

/* 반응형 디자인 */
@media only screen and (max-width: 768px) {
    .ss-products-swiper-container.style-1 .ss-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
        width: 10px;
        height: 10px; /* 모바일에서의 점 크기 조정 */
    }
    .ss-products-swiper-container.style-1 .ss-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
        width: 13px; /* 활성화 시 크기 확대 */
        height: 10px;
    }
}


/* Arrow Style */
.elementor-element .ss-products-swiper-container.style-1 .swiper-button-next.ss-button-next,
.elementor-element .ss-products-swiper-container.style-1 .swiper-button-prev.ss-button-prev {
    width: var(--products-arrow-size, 50px);
    height: var(--products-arrow-size,50px);
    visibility: hidden;
    background-color: #ffffffd0;
    border: none;
    border-radius: 50%;
    top: calc(50% - var(--products-arrow-size,50px) / 2 - 25px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}
.elementor-element .ss-products-swiper-container.style-1:hover .ss-button-next,
.elementor-element .ss-products-swiper-container.style-1:hover .ss-button-prev {
    visibility: visible;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.elementor-element .ss-products-swiper-container.style-1 .ss-button-next::after,
.elementor-element .ss-products-swiper-container.style-1 .ss-button-prev::after {
    font-size: calc(var(--products-arrow-size,50px)/ 2.5);
    color: #666;
    font-weight: 900;
    font-family: 'xstore-icons';
}
.elementor-element .ss-products-swiper-container.style-1 .ss-button-next:hover::after,
.elementor-element .ss-products-swiper-container.style-1 .ss-button-prev:hover::after {
    color: #242424;
}
.elementor-element .ss-products-swiper-container.style-1 .ss-button-next:hover,
.elementor-element .ss-products-swiper-container.style-1 .ss-button-prev:hover {
    background-color: #fafafa;
    border: solid 1px #666;
}

.elementor-element .ss-products-swiper-container.style-1 .ss-button-next {
    right: 5px;
}
.elementor-element .ss-products-swiper-container.style-1 .ss-button-prev {
    left: 5px;
}
.elementor-element .ss-products-swiper-container.style-1 .ss-button-next::after {
    content: '\e948';
}
.elementor-element .ss-products-swiper-container.style-1 .ss-button-prev::after {
    content: '\e947';
}
:root {
    --products-arrow-size: 50px;
}

/* 반응형 디자인 */
@media only screen and (max-width: 1000px) {
    .elementor-element .ss-products-swiper-container.style-1 .swiper-button-next.ss-button-next,
    .elementor-element .ss-products-swiper-container.style-1 .swiper-button-prev.ss-button-prev,
    .swiper-pagination.ss-pagination.swiper-pagination-horizontal {
        visibility: visible;
    }
    :root {
    --products-arrow-size: 40px;
    }
}

/*** loading ***/
.ss-loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 100;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #666;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}