/* 상풍 목록 */
.custom_container {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 140px 15px 100px;
}

.custom_header {
    margin-bottom: 25px;
}

.custom_title {
    font-size: 2.1rem;
    font-weight: bold;
    font-family: 'Noto Sans KR', sans-serif;
    color: #000;
}

.custom_title span {
    color: #C21E25;
}

.product_list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.product_item {
    width: calc((100% - 40px) / 3);
    cursor: pointer;
}

.product_image_wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

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

.product_item:hover .product_image_wrapper img {
    transform: scale(1.05);
}

.coming_soon_text {
    font-size: 3.9rem;
    font-weight: 400;
    font-family: 'LostTumbler', sans-serif;
    color: #000;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #000;
}

.product_info {
    text-align: center;
}

.product_title {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Noto Sans KR', sans-serif;
    color: #000;
    margin-bottom: 10px;
}

.product_price {
    font-size: 2.1rem;
    font-weight: 400;
    font-family: 'Noto Sans KR', sans-serif;
    color: #898989;
    margin-bottom: 10px;
}

.product_badges {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.badge_icon {
    height: 22px;
    width: auto;
}

/* 상품 상세 페이지 */
.detail_container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.detail_image {
    width: 50%;
    position: relative;
}

.carousel_container {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
    border: 1px solid #000;
}

.carousel_slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.carousel_slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.carousel_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: background 0.2s;
}

.carousel_btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.carousel_prev {
    left: 10px;
}

.carousel_next {
    right: 10px;
}

.carousel_dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid #000;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #000;
}

.detail_info {
    width: 50%;
    padding-top: 10px;
}

.detail_title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Noto Sans KR', sans-serif;
    color: #000;
    line-height: 1.2;
}

.detail_price {
    font-size: 2rem;
    color: #000;
    margin-bottom: 10px;
    font-weight: 400;
    font-family: 'Noto Sans KR', sans-serif;
}

.price_divider {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0;
}

.age_warning {
    font-size: 1rem;
    color: #333;
    margin-bottom: 40px;
}

.detail_desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 40px;
    font-family: 'Noto Sans KR', sans-serif;
}

.option_select {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: 1px solid #000;
    background-color: #fff;
    margin-bottom: 30px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('../assets/icons/icon_select_arrow.svg');
    background-repeat: no-repeat;
    background-position: right 20px center;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
}

.detail_thumbnails {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.detail_thumb {
    width: 60px;
    height: 60px; /* fixed height for consistent look */
    object-fit: contain;
    cursor: pointer;
    border: 1px solid transparent;
    transition: border-color 0.2s;
}

.detail_thumb:hover,
.detail_thumb.active {
    border-color: #000;
}

.btn_inquiry {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 60px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif;
    transition: background-color 0.3s;
}

.btn_inquiry:hover {
    background-color: #333;
}


/* Detail Header & Back Button */
.detail_header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.btn_back {
    padding: 8px 16px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn_back:hover {
    background: #333;
}

.detail_actions {
    margin-top: 30px;
}

@media (max-width: 900px) {
    .product_list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail_container {
        flex-direction: column;
        padding: 50px 20px;
    }
    
    .detail_image, .detail_info {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .product_list {
        grid-template-columns: repeat(1, 1fr);
    }
}
