/* 상품 리스트 스타일 */
.cart-container{
    width: 953px;
    margin: 0 0 0 240px;
}
.cart-container>h1{
    padding-top: 5rem;
}
.cart-container .delete{
    justify-content: flex-end;
}
.cart-container .delete li{
    padding: 10px;
    cursor: pointer;
}
.items{
}
.cart-box .items{
    height: 279px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    border-radius: 10px;
    background-color: #fff;
}
.cart-box .items label{
    display: none;
}
.cart-box .items input{
    position: absolute;
    top: 5px;
    left: 5px;
    zoom: 1.5;
}
.cart-box .items figure{
    position: relative;
    width: 200px;
    aspect-ratio: 1/1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.cart-box .items figure img{
    width: 100%;
    height: 100%;
}
.cart-items{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.cart-box .product-option{
    width: 494px;
}
.cart-box .product-option .desc{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cart-box .product-option .account{
    display: flex;
    justify-content: space-between;
}
.box-number{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 38px;
    gap: 6px;
    font-size: var(--heading-1);
    font-weight: var(--bold-weight);
}
.box-number span{
    width: 30px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-option .desc{
    margin-bottom: 2rem;
}
.cart-box .btns-buy{
    display: flex;
    justify-content: space-between;
}
.cart-box .btns-buy li a{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--point-color-2);
    width: 238px;
    height: 35px;
    color: #fff;
}
.paginatioin{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: var(--body-2);
    font-weight: var(--medium-weight);
    margin-bottom: 3rem;
}
.paginatioin img{
    width: 25px;
    aspect-ratio: 1/1;
}
.paginatioin span{
    cursor: pointer;
    font-weight: var(--medium-weight);
}
.paginatioin span.on {
    font-weight: var(--bold-weight);
    color: var(--point-color-2); 
    text-decoration: underline; 
}
.cart-wrap{
    display: flex;
    gap: 1.5rem;
}

/* 함께 구매하면 좋은 상품 스타일 */
.with-items .more a{
    display: flex;
    align-items: center;
}
.with-items .more img{
    width: 20px;
    aspect-ratio: 1/1;
}
.with-items .title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.with-items .swiper-wrapper{
    transform: translate3d(-130px, 0px, 0px);
    height: 425px;
}

/* 총 금액 스타일 */
.total-container{
    width: 700px;
}
.total-container .total{
    width: 600px;
    position: sticky;
    top: 80px;
    right: 50px;
}
.total .product-price{
    background-color: #fff;
    border-radius: 10px;
    padding: 1.66rem;
    margin-bottom: 1rem;
}
.product-price>h1{
    text-align: center;
    margin-bottom: 3rem;
}
.price-grid{
    display: grid;
    grid-template-columns: repeat(2, 110px);
    justify-content: space-between;
}
.price-grid dt{
    text-align: start;
}
.price-grid dd{
    text-align: end;
    font-size: var(--heading-2);
    font-weight: var(--bold-weight);
}
.price-grid .red{
   
}
.total-price{
    padding: 1.66rem;
    text-align: center;
    border-radius: 10px 10px 0 0;
    background-color: #fff;
}
.total-price>h1{
    margin-bottom: 3rem;
}
.total-price>p{
    font-size: 35px;
    margin-bottom: 2rem;
}
.total-price>span{
    width: 400px;
    height: 40px;
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin: 0 auto;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.total .notice span{
    display: flex;
    gap: 1rem;
    width: 100%;
    height: 65px;
    background-color: var(--main-color);
    justify-content: center;
    align-items: center;
    color: #fff;
}
.total .notice span img{
    width: 45px;
    aspect-ratio: 1/1;
}
.total-container {
    width: 700px;
    margin-top: 170px;
}
.total .notice{
    margin-bottom: 2rem;
}
.card-benefits>p{
    color: var(--main-color);
    padding-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid #000;
    margin-bottom: 1rem;
}
.benefits-detail{
    justify-content: center;
    display: flex;
    gap: 1rem;
}
.notice .desc{
    padding: 1rem 42px;
}
.notice .desc li {
    font-size: var(--detail);
    font-weight: var(--light-weight);
    text-align: left;
    position: relative;
    padding-left: 10px;      /* 점이 들어갈 여백 */
}

/* 가상 요소로 만드는 커스텀 점 */
.notice .desc li::before {
    content: '';        
    position: absolute;
    left: 0;
    top: 9px;            
    width: 3px;              
    height: 3px;            
    border-radius: 50%;     
    background-color: #000;
}

/* 1. 화살표 기본 스타일 (애니메이션 준비) */
.notice span img {
    transition: transform 0s ease; /* 0.3초 동안 부드럽게 회전 */
    cursor: pointer;
}

/* 2. active 클래스가 붙었을 때 화살표 180도 회전 */
.notice.active span img {
    transform: rotate(180deg);
}

/* 3. 리스트 기본 상태: 숨김 */
.notice .desc {
    display: none; /* 처음에는 안 보이게 */
    padding-top: 10px;
}

/* 4. active 클래스가 붙었을 때 리스트 보임 */
.notice.active .desc {
    display: block;
}