/* 이벤트 베너 부분 */
.slideContainer {
	width: 100%;
	height:420px;
    overflow: hidden;
    margin: 0 auto;
    padding-bottom: 10px;
}

.slideTitle {
    margin: 10px;
	font-weight: bold;
	font-size: 20px;
}
.slide {
    display: flex;
    transition: all 1s;
}
/* 이미지 크기 */
.slide li>img {
    border-radius: 30px;
    height: 420px;
    width: 1280px;
}
div.btnContainer{
    position : relative;
}
/* 슬라이드 버튼 */
.btn{
    background-color: transparent;
    width: 50px;
    height: 50px;
    border: 0px;
    font-size: 30px;
    cursor:pointer;
    color: #313030;
}

/* 인디케이터 도트 */
.slideDots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}
.prevBtn{
    position: absolute;
    top: 180px;
    left : 10px; 
}
.nextBtn{
    position: absolute;
    top: 180px;
    right: 10px;
}

            /* 배너 */
            .bannerImg {
                border-radius: 20px;
                height: 420px;
                width: 100%;
            }

            /* 카테고리 */
            .mainCategoryDiv {
                margin: 15px;
                margin-top: 60px;
                margin-bottom: 60px;
                /* border: 1px solid red; */
                height: 150px;

                display: flex;
                justify-content: space-around;
                align-items: center;
            }

            .categoryLink {
                display: inline-block;
                align-items: center;
                justify-content: center;
            }

            .categoryBgAll {
                width: 95px;
                height: 95px;
                background-color: #20c994;
                border-radius: 35px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .categoryBg {
                width: 95px;
                height: 95px;
                background-color: #ccc;
                border-radius: 35px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .categoryBg:hover{
            	background-color: #20c994;
            }

            .cateIcon {
                font-size: 50px;
                color: white;
            }

            .spanDiv {
                display: flex;
                margin-top: 10px;
                justify-content: center;
            }

            .categoryTitle {
                font-size: 15px;
                font-weight: 700;
                color: #313030;
            }
            
            .popularProDiv{
                margin-bottom: 50px;
            }
            
            /* 상품 제목 + 더보기 버튼 */
            .proTitle {
                font-size: 28px;
                margin-right: 10px;
            }
            
            .proTitleDiv{
                margin-bottom: 25px;
                display: flex;
                align-items: center;
            }

            .moreBtn{
                height: 30px;
                width: 60px;
                background-color: #dddddd;
                border: none;
                border-radius: 30px;
                cursor: pointer;
                font-weight: 700;
            }
            

            /* 판매상태 뱃지 */
            .PriceNStatus {
                display: flex;
                align-items: center;
            }

            .statusBtn {
                color: #20c994;
                font-weight: 700;
                font-size: 14px;
            }

            .statusBtnDiv {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 90px;
                height: 23px;
                border: 2px solid #20C997;
                border-radius: 100px;
                margin-left: 6px;
            }

            /* 인기상품 목록 div */
            .productDiv {
                display: flex;
                justify-content: space-between;
                flex-wrap: wrap;
            }

            .productContainer {
                margin-bottom: 40px;
                display: flex;
                flex-wrap: wrap;
            }

            .productAll {
                margin-bottom: 30px;
            }

            .product {
                /* border: 1px solid palevioletred; */
                width: 300px;
                height: 410px;
                /* display: flex;
            justify-content: space-between; */
            }

            .productImg {
                width: 300px;
                height: 300px;
                border: 1px solid #eee;
            }

            .product img {
                width: 300px;
                height: 300px;
            }

            .proContent {
                padding-top: 9px;
                padding-left: 3px;
                width: 300px;
            }

            .proContent h3 {
                font-size: 25px;
            }

            .aTag {
                font-size: 13px;
                text-decoration: none;
                color: #313030;
            }

            .aTag:hover {
                text-decoration: underline;
                text-underline-position: under;
            }

            .contentMargin {
                margin-top: 6px;
                margin-bottom: 15px;
            }

            .productTitle {
                font-size: 21px;
            }

            .grayFont {
                color: #afafaf;
                font-weight: 400;
            }

            /* 찜하기 버튼 */
            .container input {
                position: absolute;
                opacity: 0;
                cursor: pointer;
                height: 0;
                width: 0;
            }

            .container {
                /* display: flex; */
                position: relative;
                bottom: 293px;
                left: 252px;
                cursor: pointer;
                font-size: 20px;
                user-select: none;
                transition: 100ms;
                width: auto !important;
    			display: inline-block;
            }

            .checkmark {
                top: 0;
                left: 0;
                height: 35px;
                width: 35px;
                transition: 100px;
                animation: dislike_effect 400ms ease;
            }

            .container input:checked~.checkmark path {
                fill: #FF5353;
                stroke-width: 0;
            }

            .container input:checked~.checkmark {
                animation: like_effect 400ms ease;
            }

            .container:hover {
                transform: scale(1.1);
            }

            @keyframes like_effect {
                0% {
                    transform: scale(0);
                }

                50% {
                    transform: scale(1.2);
                }

                100% {
                    transform: scale(1);
                }
            }

            @keyframes dislike_effect {
                0% {
                    transform: scale(0);
                }

                50% {
                    transform: scale(1.2);
                }

                100% {
                    transform: scale(1);
                }
            }

/* =====================================================
   메인 최신 상품 섹션
   ===================================================== */
.mainSection {
    margin-bottom: 60px;
}

.mainSectionHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.mainSectionTitle {
    font-size: 22px;
    font-weight: 700;
    color: #313030;
}

.mainMoreBtn {
    font-size: 14px;
    color: #20c997;
    text-decoration: none;
    font-weight: 600;
}

.mainMoreBtn:hover { text-decoration: underline; }

.mainSkeleton {
    width: calc(25% - 15px);
    aspect-ratio: 3/4;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
    border-radius: 12px;
}

@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.mainProductGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mainCard {
    position: relative;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.mainCard:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.mainCardLink {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mainCardImg {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
}

.mainCardImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.mainCard:hover .mainCardImg img { transform: scale(1.05); }

.mainSaleBadge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #20c997;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}

.mainSoldDim {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 10px;
}

.mainReservedBadge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}

.mainRecentClear {
    font-size: 12px;
    color: #aaa;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 4px 10px;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s, border-color 0.2s;
}
.mainRecentClear:hover {
    color: #ef4444;
    border-color: #fca5a5;
}

.mainWishBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: color 0.2s, transform 0.15s;
    z-index: 1;
}

.mainWishBtn:hover { color: #ff4d6d; transform: scale(1.1); }
.mainWishBtn--active { color: #ff4d6d; }

.mainCardBody { padding: 12px 14px 14px; }

.mainCardTitle {
    font-size: 14px;
    font-weight: 600;
    color: #313030;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}

.mainCardPrice {
    font-size: 17px;
    font-weight: 700;
    color: #313030;
    margin-bottom: 8px;
}

.mainCardMeta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #aaa;
    gap: 6px;
    min-width: 0;
}

.mainCardState {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    background: #f0fdf4;
    color: #20c997;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}

.mainCardPlace {
    display: flex;
    align-items: center;
    gap: 2px;
}

.mainCardPlace ion-icon { font-size: 12px; }

.mainEmpty {
    grid-column: 1 / -1;
    padding: 40px;
    color: #999;
    text-align: center;
}
