/* 상풍 목록 */
.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', 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', sans-serif;
    color: #000;
    margin-bottom: 10px;
}

.product_price {
    font-size: 2.1rem;
    font-weight: 400;
    font-family: 'Noto Sans', 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;
    margin-bottom: 120px;
}

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

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

.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: 5rem;
    font-weight: 400;
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.2;
    color: #000;
}

/* 상품 가격 */
.detail_price {
    font-size: 3.2rem;
    font-weight: 400;
    font-family: 'Noto Sans', sans-serif;
    color: #000;
}

/* 상품 설명 */
.detail_desc_container {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 25px 0;
    margin-bottom: 25px;
}

.age_warning {
    font-size: 2rem;
    font-weight: 400;
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.3;
    color: #000;
    margin-bottom: 75px;
}

.detail_desc {
    font-size: 2rem;
    font-weight: 400;
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.3;
    color: #000;
}

/* 커스텀 폼 셀렉트 */
.custom_select_group {
    position: relative;
    text-align: left;
    margin-bottom: 50px;
}

.custom_select {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.select_trigger {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    font-family: 'Noto Sans', sans-serif;
    color: #898989;
    background-color: #fff;
    border: 2px solid #000;
    padding: 15px;
}

.select_trigger::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 20px;
    height: 16px;
    background-image: url("../assets/icons/icon_select_arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s;
}

.custom_select.open .select_trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

/* 커스텀 폼 옵션 */
.options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 3px solid #000;
    border-top: none;
    z-index: 10;
    display: none;
    box-sizing: border-box;
    max-height: 300px;
    overflow-y: auto;
}

.custom_select.open .options {
    display: block;
}

.option {
    font-size: 2rem;
    font-weight: 400;
    font-family: 'Noto Sans', sans-serif;
    color: #000;
    cursor: pointer;
    padding: 15px;
}

.option:hover,
.option.selected {
    color: #fff;
    background-color: #000;
}

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

.detail_thumb {
    width: 120px;
    height: 120px; /* 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: 265px;
    height: 70px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 500;
    font-family: 'Noto Sans', sans-serif;
}

/* 상세 이미지 컨테이너 (옵션별 변경) */
.product_detail_image_container {
    width: 100%;
    margin-bottom: 110px;
}

.product_detail_image_container img {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.product_detail_desc_container {
    font-size: 2rem;
    font-weight: 400;
    font-family: 'Noto Sans', sans-serif;
    color: #000;
    text-align: center;
}

@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);
    }
}
