
.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-2 {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 10px;
    padding-bottom: 0;
}

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

/* 이미지 스타일 */
.ss-products-swiper-container.style-2 .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-2 .swiper-slide:hover .slide-image {
    
    filter: brightness(1.1); /* 호버 시 밝기 증가 */
}
.ss-products-swiper-container.style-2 .swiper-slide:hover {
    transform: scale(1.05); /* 이미지 확대 효과 */
}

/* 호버 시 표시될 정보 컨테이너 */
.ss-products-swiper-container.style-2 .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;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* 제품명 및 가격 표시 */
.ss-products-swiper-container.style-2 .swiper-slide .product-info h3,
.ss-products-swiper-container.style-2 .swiper-slide .product-info .price {
    margin: 5px 0;
}
.ss-products-swiper-container.style-2 .swiper-slide .product-info h3 {
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
}
/* 호버 시 제품 정보 표시 */
.ss-products-swiper-container.style-2 .swiper-slide:hover .product-info {
    transform: translateY(0);
    opacity: 1;
    transition-timing-function: 0.4s cubic-bezier(0.2, 0, 0.8, 1);
}

/* 호버 시 흰색 프레임 설정 */
.ss-products-swiper-container.style-2 .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none; /* 이 요소가 마우스 이벤트를 방해하지 않도록 설정 */
}
.ss-products-swiper-container.style-2 .swiper-slide:hover::after {
    opacity: 1; /* hover 시에만 프레임 보이게 함 */
}

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

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

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

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



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

/* 페이지네이션 점의 기본 스타일 (사각형으로 설정) */
.ss-products-swiper-container.style-2 .ss-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 12px; /* 점의 크기 */
    height: 12px;
    background-color: #888; /* 기본 배경색 */
    border: 2px solid white; /* 흰색 테두리 */
    opacity: 0.6; /* 약간 투명 */
    transition: background-color 0.3s ease, transform 0.3s ease; /* 부드러운 전환 효과 */
    border-radius: 0; /* 사각형으로 설정 */
    margin: 0 4px; /* 여백을 늘려 회전 시 겹치지 않게 함 */
}

/* 활성화된 페이지네이션 점의 스타일 (마름모꼴로 회전) */
.ss-products-swiper-container.style-2 .ss-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
    width: 12px; /* 크기 유지 */
    height: 12px;
    background-color: #242424; /* 활성화 시 배경색 변경 */
    opacity: 1; /* 불투명 */
    transform: rotate(45deg); /* 45도 회전하여 마름모꼴로 */
    border-radius: 0; /* 사각형 유지 */
}

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

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

/* Arrow Style */
.elementor-element .ss-products-swiper-container.style-2 .swiper-button-next.ss-button-next,
.elementor-element .ss-products-swiper-container.style-2 .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: 20%;
    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-2:hover .ss-button-next,
.elementor-element .ss-products-swiper-container.style-2:hover .ss-button-prev {
    visibility: visible;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.elementor-element .ss-products-swiper-container.style-2 .ss-button-next::after,
.elementor-element .ss-products-swiper-container.style-2 .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-2 .ss-button-next:hover::after,
.elementor-element .ss-products-swiper-container.style-2 .ss-button-prev:hover::after {
    color: #242424;
}
.elementor-element .ss-products-swiper-container.style-2 .ss-button-next:hover,
.elementor-element .ss-products-swiper-container.style-2 .ss-button-prev:hover {
    background-color: #fafafa;
}

.elementor-element .ss-products-swiper-container.style-2 .ss-button-next {
    right: 5px;
}
.elementor-element .ss-products-swiper-container.style-2 .ss-button-prev {
    left: 5px;
}
.elementor-element .ss-products-swiper-container.style-2 .ss-button-next::after {
    content: '\e948';
}
.elementor-element .ss-products-swiper-container.style-2 .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-2 .swiper-button-next.ss-button-next,
    .elementor-element .ss-products-swiper-container.style-2 .swiper-button-prev.ss-button-prev,
    .swiper-pagination.ss-pagination.swiper-pagination-horizontal {
        visibility: visible;
    }
    :root {
    --products-arrow-size: 40px;
    }
}