.headerContainer {
    border-bottom: none;
}

/* 배너 전체 컨테이너 */
.peek-slider {
    max-width: 1300px;
    margin: 0px auto;
}

/* 슬라이더 자체는 오버플로우 보이기 */
.peek-slider .swiper {
    overflow: visible;
}

/* 슬라이드 카드 비율/모서리/그림자 */
.peek-slider .swiper-slide {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
    height: 376px;
    position: relative;
    cursor: pointer;
}

.peek-slide-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* 도트 */
.peek-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #333;
    opacity: .35;
}

.peek-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

.banner-text-box {
    position: absolute;
    left: 108px;
    top: 87px;
}

.banner-text-box h2 {
    font-size: 42px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
}

.banner-text-box p {
    font-size: 24px;
    color: #fff;
    line-height: 34px;
    margin-bottom: 38px;
}

.banner-card-tag {
    background: #fff;
    color: #000;
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 18px;
    font-weight: 600;
}

.main-container {
    margin: 0 auto;
    width: 100%;
    max-width: 1300px;
}

.store-crafted {
    margin-top: 120px;
}

/* 관리자(admin) 전용: 교구상점 검색 → parish_store/search.php */
.store-admin-only-search {
    max-width: 520px;
    margin: 0 auto 28px;
}

.store-admin-only-search__row {
    position: relative;
    display: block;
}

.store-admin-only-search__input {
    width: 100%;
    height: 50px;
    padding: 0 96px 0 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    box-sizing: border-box;
}

.store-admin-only-search__input:focus {
    outline: none;
    border-color: #7800ff;
}

.store-admin-only-search__btn {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    height: 38px;
    padding: 0 18px;
    border: none;
    border-radius: 22px;
    background: #7800ff;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.store-admin-only-search__btn:hover {
    background: #5f00cc;
}

.store-crafted h2 {
    font-size: 32px;
    color: #000;
    font-weight: 800;
    margin-bottom: 26px;
    text-align: center;
}

.store-crafted p {
    font-size: 22px;
    color: #000;
    margin-bottom: 60px;
    text-align: center;
}

.img-crafted-box-1 {
    display: flex;
    gap: 33px;
}

.img-crafted-box-1 div {
    width: 300px;
    height: 416px;
    transition: all 0.3s ease-in-out;
    will-change: transform;
    cursor: pointer;
}

.img-crafted-box-1 div:hover {
    transform: translateY(-10px);
} 
.img-crafted-box-1 a {
    width: 300px;
    height: 416px;
    transition: all 0.3s ease-in-out;
    will-change: transform;
    cursor: pointer;
}

.img-crafted-box-1 a:hover {
    transform: translateY(-10px);
}

.img-crafted-box-1 img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.next-site-flex-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.next-site-box {
    border: 1px solid #000;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 14px 29px;
    cursor: pointer;
    margin-top: 70px;
}

.next-site-box span {
    font-size: 18px;
    font-weight: 600;
    margin-right: 10px;
}

.next-site-icon-box {
    width: 18.5px;
    height: 18.5px;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-crafted-box-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.img-crafted-box-2 img {
    object-fit: cover;
    width: 100%;
    height: 306px;
}

.img-crafted-box-2 div {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.img-crafted-box-2 h3 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.img-crafted-box-2 span {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.img-crafted-box-3 {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.img-crafted-box-3 img {
    object-fit: cover;
    width: 100%;
    height: 358px;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* 마우스 오버 시 확대 */
.box-3-h {
    position: relative;
    overflow: hidden;
    height: 358px;
}

.box-3-h:hover .img-3-h {
    transform: scale(1.1);
    /* 1.1~1.2 정도가 자연스러움 */
}

.img-crafted-box-3>a:nth-child(n+5) {
    margin-top: 111px;
}

.img-crafted-box-3 h3 {
    font-size: 22px;
    margin-top: 18px;
    margin-bottom: 16px;
    line-height: 30px;
}

.price {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    gap: 14px;
    align-items: center;
}

.discount {
    color: #7800FF;
}

.original {
    color: #666;
    text-decoration: line-through;
    font-size: 18px;
    font-weight: 700;
}

.img-crafted-box-4 {
    display: flex;
    justify-content: space-between;
    gap: 28px;
}

.store-gra {
    background: linear-gradient(180deg, #fff 0%, #F3EFFF 100%);
    padding-bottom: 218px;
}

.store-gra-list {
    box-shadow: 5px 5px 10px #0000001A;
    border-radius: 16px;
    width: 25%;
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
}

.store-gra-list:hover .store-gra-txt-1 {
    color: #7800FF;
}

.store-gra-txt-1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 23px;
}

.store-gra-txt-2 {
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}

.market-btn {
    margin-top: 83px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.market-btn>a {
    width: 270px;
    height: 68px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
}

.creater-btn {
    background: #7800FF;
    color: #fff;
}

.blog-btn {
    background: #fff;
    color: #7800FF;
    border: 1px solid #7800FF;
}

.product-item-link{
    display: block;
     width: 304px;
    height: 100%;
    cursor: pointer;
}

/* =========================================
   [반응형] 교구상점 메인 (store.index.css)
========================================= */

@media (max-width: 1300px) {
    body.sub-body {
        margin-top: 0 !important;
    }
}
@media (max-width: 768px) {
    body.sub-body {
        padding-top: 90px;
    }
}
/* 1300px 이하 */
@media (max-width: 1300px) {
    .peek-slider .swiper-slide { height: 320px;
        box-shadow: none; }
    .banner-text-box { left: 80px; top: 70px; }
    .peek-slider {padding: 0 20px;}
}

/* 1024px 이하 (태블릿) */
@media (max-width: 1024px) {
    .main-container { padding: 0 20px; box-sizing: border-box; }

    .peek-slider .swiper-slide { height: 300px; }
    .banner-text-box { left: 60px; top: 60px; }
    .banner-text-box h2 { font-size: 30px; }
    .banner-text-box p { font-size: 17px; }
    
    /* 1. 기획전 1 (4열 -> 2열) */
    .img-crafted-box-1 { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .img-crafted-box-1 div, .img-crafted-box-1 a { width: calc(50% - 10px); height: auto; aspect-ratio: 3/4; }
    
    /* 2. 기획전 2 (유지 또는 간격 축소) */
    .img-crafted-box-2 { gap: 20px; }
    .img-crafted-box-2 img { height: 240px; }
    
    /* 3. 상품 목록 (4열 -> 3열 또는 2열) */
    .img-crafted-box-3 { justify-content: flex-start; gap: 15px; }
    .product-item-link { width: calc(33.333% - 10px); height: auto; }
    .box-3-h { height: auto; aspect-ratio: 1/1; }
    .img-crafted-box-3 > a:nth-child(n+5) { margin-top: 0; } /* 기존 111px 마진 초기화 */
    
    /* 4. 리얼월드교구만의 특별함 (4열 -> 2열) */
    .img-crafted-box-4 { flex-wrap: wrap; gap: 20px; }
    .store-gra-list { width: calc(50% - 10px); padding: 40px 20px; }
}

/* 768px 이하 (모바일 기본) */
@media (max-width: 768px) {
    /* 상단 배너 */
    .peek-slider .swiper-slide { height: 260px; }
    .banner-text-box { left: 40px; top: 45px; }
    .banner-text-box h2 { font-size: 24px; }
    .banner-text-box p { font-size: 15px; margin-bottom: 20px; }
    .banner-card-tag { font-size: 12px; padding: 5px 10px; }

    /* ====================================
       [추가] 모바일 배너 라인형 인디케이터 (ㅡ ㅡ ㅡ)
       ==================================== */
       .peek-slider .swiper-pagination {
        position: relative !important;
        bottom: auto !important;
        margin-top: 16px; /* 배너와 인디케이터 사이 간격 */
        display: flex;
        justify-content: center;
        gap: 6px; /* 선 사이의 간격 */
    }
    
    .peek-slider .swiper-pagination-bullet {
        width: 16px !important; /* 기본 선 길이 */
        height: 4px !important; /* 선 두께 */
        border-radius: 2px !important; /* 모서리 살짝 둥글게 */
        background: #d1d5db !important; /* 비활성 선 색상 (연한 회색) */
        opacity: 1 !important;
        margin: 0 !important; /* Swiper 기본 여백 무시 */
        transition: all 0.3s ease;
    }
    
    .peek-slider .swiper-pagination-bullet-active {
        width: 32px !important; /* 현재 보고 있는 배너의 선 길이 (더 길게 강조) */
        background: #7800FF !important; /* 활성 선 색상 (브랜드 컬러) */
    }

    /* 공통 헤딩 텍스트 */
    .store-crafted { margin-top: 60px; }
    .store-crafted h2 { font-size: 22px; margin-bottom: 12px; }
    .store-crafted p { font-size: 14px; margin-bottom: 30px; word-break: keep-all; padding: 0 10px; }

    /* 1. 기획전 1 (2열) */
    .img-crafted-box-1 { gap: 12px; }
    .img-crafted-box-1 div, .img-crafted-box-1 a { width: calc(50% - 6px); }

    /* 2. 기획전 2 (2열 -> 1열 꽉 차게) */
    .img-crafted-box-2 { grid-template-columns: 1fr; gap: 24px; }
    .img-crafted-box-2 img { height: 200px; border-radius: 12px; }
    .img-crafted-box-2 h3 { font-size: 20px; margin-top: 16px; margin-bottom: 8px; }

    /* 3. 상품 목록 (2열) */
    .product-item-link { width: calc(50% - 8px); }
    .img-crafted-box-3 h3 { font-size: 15px; margin-top: 12px; margin-bottom: 8px; line-height: 1.3; }
    .price { font-size: 16px; gap: 8px; flex-wrap: wrap; }
    .original { font-size: 13px; }

    /* 더보기 버튼 */
    .next-site-box { margin-top: 40px; padding: 12px 20px !important; width: 100%; justify-content: center; box-sizing: border-box; }
    .next-site-box span { font-size: 15px; }

    /* 4. 리얼월드교구만의 특별함 (2열 유지하되 패딩 축소) */
    .store-gra { padding-bottom: 60px; }
    .img-crafted-box-4 { gap: 12px; }
    .store-gra-list { width: calc(50% - 6px); padding: 30px 10px; box-sizing: border-box; }
    .store-gra-list img { width: 60px; height: auto; } /* 아이콘 크기 축소 */
    .store-gra-list div[style*="height"] { height: 80px !important; display: flex; align-items: center; }
    .store-gra-txt-1 { font-size: 16px; margin-bottom: 10px; }
    .store-gra-txt-2 { font-size: 13px; line-height: 1.4; }

    /* 하단 버튼 2개 (가로 -> 세로 100%) */
    .market-btn { flex-direction: column; gap: 10px; margin-top: 40px; }
    .market-btn > a { width: 100%; height: 50px; font-size: 16px; }
}

/* 480px 이하 (작은 모바일) */
@media (max-width: 480px) {
    .peek-slider .swiper-slide { height: 220px; }
    .banner-text-box { left: 25px; top: 35px; width: calc(100% - 50px); }
    .banner-text-box h2 { font-size: 20px; margin-bottom: 10px; }
    .banner-text-box p { font-size: 13px; margin-bottom: 15px; }
    
    .store-crafted h2 { font-size: 20px; }
    .img-crafted-box-3 h3 { font-size: 14px; }
    
    /* 가격 부분 세로 정렬로 깨짐 방지 */
    .price { flex-direction: column; align-items: flex-start; gap: 4px; }
    
    .store-gra-list { padding: 20px 10px; }
    .store-gra-txt-2 { font-size: 12px; word-break: keep-all; }
}

/* 345px 이하 */
@media (max-width: 345px) {
    .peek-slider .swiper-slide { height: 200px; }
    .banner-text-box { left: 20px; top: 30px; }
    .banner-text-box h2 { font-size: 18px; }
    .banner-text-box p { font-size: 12px; line-height: 1.3; }
}