@charset "UTF-8";
/**
 * 사용자 쇼핑몰 카테고리 상단 배너 반응형 스타일
 */

/* 배너가 있을 경우 상단 헤더의 가로선(border-bottom) 제거 */
.shop-simple-header.has-banner {
    border-bottom: none !important;
    margin-bottom: 4px;
    padding-bottom: 0;
}

.shop-category-banner-container {
    width: 100%;
    margin-top: 14px;
    margin-bottom: 24px;
    position: relative;
    border-radius: 0 !important; /* 모서리 직각 */
    overflow: hidden;
    box-shadow: none;
}

.shop-category-banner-swiper {
    width: 100%;
    height: var(--pc-height, 280px);
    border-radius: 0 !important; /* 모서리 직각 */
}

@media (max-width: 768px) {
    .shop-simple-header.has-banner {
        margin-bottom: 2px;
    }
    .shop-category-banner-container {
        margin-top: 10px;
        margin-bottom: 18px;
        border-radius: 0 !important; /* 모서리 직각 */
    }
    .shop-category-banner-swiper {
        height: var(--mo-height, var(--pc-height, 200px));
        border-radius: 0 !important; /* 모서리 직각 */
    }
}

.shop-category-banner-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--c-ink, #0f172a);
    border-radius: 0 !important;
}

.cate-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.cate-banner-link picture {
    display: block;
    width: 100%;
    height: 100%;
}

.cate-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 !important; /* 모서리 직각 */
    transition: transform 0.4s ease;
}

.cate-banner-link:hover .cate-banner-img {
    transform: scale(1.02);
}

/* Swiper 내비게이션 버튼 & 페이지네이션 */
.shop-category-banner-swiper .swiper-button-prev,
.shop-category-banner-swiper .swiper-button-next {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: var(--c-ink-2, #1e293b);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.shop-category-banner-swiper .swiper-button-prev:after,
.shop-category-banner-swiper .swiper-button-next:after {
    font-size: 14px;
    font-weight: 700;
}

.shop-category-banner-swiper .swiper-button-prev:hover,
.shop-category-banner-swiper .swiper-button-next:hover {
    background: var(--c-white, #ffffff);
    color: var(--c-info-3, #0284c7);
    transform: scale(1.08);
}

.shop-category-banner-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.7;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}

.shop-category-banner-swiper .swiper-pagination-bullet-active {
    background: var(--c-white, #ffffff);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .shop-category-banner-swiper .swiper-button-prev,
    .shop-category-banner-swiper .swiper-button-next {
        display: none;
    }
}
