@charset "utf-8";

.section08_box .gallery_wrap {display: flex; flex-wrap:wrap; gap: 100px 30px ;}
.section08_box .gallery_wrap .section08_in {position: relative; width: calc((100% - 30px)/2);  overflow: hidden;}
.section08_box .section08_in:nth-child(odd)::before {content: '';position: absolute;top: 0; right: -6.5%; width: 1px; height: 100%; background: rgba(229,229,229,0.2);}


.section08_box .gallery_wrap .section08_in .img_box img {width: 100%;}

.section08_box .section08_in .sec08_con {margin: 4.372% 0;}
.section08_box .section08_in .sec08_con .sec08_title {height: 50px; display: flex;  align-items: center; font-size: clamp(17px, 1.042vw, 20px); font-weight: 500; line-height: 1.2;}

.section08_box .section08_in .sec08_con .sec08_sub {height: 60px; display: flex; align-items: flex-start; margin-top: 3.28%; font-weight: 300; font-size: clamp(14px, 0.9375vw, 18px); line-height: 1.65; color: #999999;}

.section08_box .section08_in .sec08_con .sec08_title span,
.section08_box .section08_in .sec08_con .sec08_sub span
 {overflow: hidden; text-overflow:ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}

/* 선택 상품 관련 css */
.section08_box .section08_in .item_list {padding: 3.972% 0; border-top:1px solid rgba(229,229,229,0.2)}
.section08_box .section08_in .item_list.item_2 {padding-bottom: 0;}
.section08_box .section08_in .item_list .item_a  {display: flex; align-items: center; gap: 0 30px;}
.section08_box .section08_in .item_list .item_a .item_image {width: 19.75%;}
.section08_box .section08_in .item_list .img_item img {width: 100%; height: 100%; object-fit: cover;}
.section08_box .section08_in .item_list .it_name {margin-bottom: 20px; font-size: 18px; color: #fff;}
.section08_box .section08_in .item_list .it_product {font-size: 16px; font-weight: 300; color: #999999;}

@media (max-width: 1750px) {
    .section08_box .section08_in .sec08_con .sec08_sub br {display: none;}
    .section08_box .section08_in .sec08_con .sec08_sub {height: 51px; }
}

@media (max-width:991px) {
    .section08_box .section08_in .sec08_con .sec08_sub br {display: block;}

    .section08_box .gallery_wrap {flex-direction: column; gap: 50px 0;}
    .section08_box .gallery_wrap .section08_in {display: none; width: 100%; max-height: none;}

	.section08_box .gallery_wrap .section08_in:nth-child(-n+4) {display: block !important;}

    .section08_box .section08_in .sec08_con {margin: 20px 0;}
    .section08_box .section08_in .sec08_con .sec08_title {height: auto; font-size: 15px;}
    .section08_box .section08_in .sec08_con .sec08_sub {height: auto;}

    .section08_box .img_box {aspect-ratio: 1/1;}
    .section08_box .section08_in .sec08_con .sec08_title span,.section08_box .section08_in .sec08_con .sec08_sub span {overflow: hidden; text-overflow:unset; display: block;}

    /* 상품 관련 부분 */
    .section08_box .section08_in .item_list .item_a {gap: 0 30px;}
    .section08_box .section08_in .item_list .it_name {font-size: 14px; margin-bottom: 15px;}
    .section08_box .section08_in .item_list .it_product {font-size: 13px;}

    /* 더보기 버튼 관련 */
    .gallery_wrap .gallery_btn {margin: 0 auto;}
    .gallery_wrap .gallery_btn button {width: 225px; height: 42.5px; display: flex; align-items: center; justify-content: center; gap: 0 14px; border: 1px solid #404040; background-color: transparent;}
    .gallery_wrap .gallery_btn button span {font-family: "Poppins", sans-serif; font-weight: 300; font-size: 12px; letter-spacing: 0.2em;}
    .gallery_wrap .gallery_btn button img {height: 5px;}


}