main{
    padding-top: 180px;
    margin-bottom: var(--space-foot);
}
.banner{
    width: 100%;    
    height: 600px;
    margin-bottom: var(--space-3x-large);
}
.banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-list-make .common-frame{
    text-align: center;
}
.product-list-make .common-frame>h1{
    margin-bottom: var(--space-x-large);
}
.make-tabs{
    display: flex;
    justify-content: center;
    cursor: pointer;
    margin-bottom: var(--space-x-large);
    white-space: nowrap;
}
.make-tabs>span{
    width: 200px;
    padding: var(--space-small) var(--space-normal);
    box-sizing: border-box;
    border: 1px solid #000;
}
.make-tabs>span:hover{
    border: 1px solid var(--main-color);
    background-color: var(--cb-color-0);
    color: var(--main-color);
}
.make-tabs>span:first-of-type{
    border-radius: var(--space-small) 0 0 var(--space-small);
}
.make-tabs>span:last-of-type{
    border-radius: 0 var(--space-small) var(--space-small) 0;
}
.array-option{
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-small);
}
#view-filter{
    border: 1px solid #E2E2E2;
    padding: var(--space-x-small) var(--space-small);
}
.make-list{
    width: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: var(--space-x-large) var(--space-3x-large);
    justify-content: center;
}
.make-list>li{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.make-list>li>a:nth-of-type(2){
    padding: 0 .5rem;
}
.make-list figure{
    background-color: var(--cb-color-0);
    aspect-ratio: 1/1;
    /* width: 400px;
    height: 400px; */
    margin-bottom: var(--space-normal);
    position: relative;
    overflow: hidden;
}
.make-list figure img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* 아이콘 영역 */
.hover-icons {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: var(--space-small);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

/* 아이콘 버튼 */
.hover-icons button {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-heart svg {
    fill: none;
    stroke: #000;
    transition: 0.3s;
}

.btn-heart.active svg path{
    fill: red;
    stroke: red;
}

/* hover 시 등장 */
.make-list figure:hover .hover-icons {
    opacity: 1;
}

/* figure에 overlay */
.make-list figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: 0.3s;
}

/* hover 시만 어둡게 */
.make-list figure:hover::after {
    background: rgba(0,0,0,0.1);
}

.toast-message2{
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 14px 24px;
    background: #111;
    color: #fff;
    font-size: 15px;
    border-radius: 999px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100000;
    pointer-events: none;
}

.toast-message2.show{
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sale-badge {
    position: absolute;
    left: 1rem;
    top: 1rem;
    background-color: var(--main-color);
    border-radius: 50%;
    width: 3.2rem;
    height: 3.2rem;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.color-option{
    display: flex;
    justify-content: center;
    gap: var(--space-small);
    margin-bottom: var(--space-normal);
    cursor: pointer;
}
.color-option>div {
    width: 1.2rem;
    height: 1.2rem;
}
.color1{background-color: #F1D2BD;}
.color2{background-color: #EECBB4;}
.color3{background-color: #E9BC9D;}
.color4{background-color: #D7A07C;}

.make-desc>p:first-of-type{
    margin-bottom: var(--space-x-small);
}
.make-desc>p:last-of-type{
    margin-bottom: var(--space-normal);
}
.make-price{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-small);
}
.make-price .sale{
    font-size: var(--fs-h4);
}
.make-price .original{
    color: #BABABA;
    text-decoration: line-through;
}






/* ---------------- */
/* 반응형 대응 코드 */
@media (max-width: 1440px){
    main{
        padding-top: 90px;
    }
    .hover-icons {
        opacity: 1;
    }
    .make-list {
        grid-template-columns: repeat(3,auto);
        gap: var(--space-x-large) var(--space-x-large);
    }
    .make-list figure::after {
        display: none;
    }
    .make-list figure:hover::after {
        background: none;
    }
   
    
}



@media (max-width: 768px){
    main{
        padding-top: 65px;
    }
    .banner{
        width: 100%;    
        height: 100%;
        margin-bottom: var(--space-3x-large);
    }
    .make-list {
        grid-template-columns: repeat(2,auto);
    }
   
}


@media (max-width: 500px){
    .make-list {
        gap: var(--space-x-large) var(--space-large);
    }
}


@media (max-width: 400px){
    .make-list {
        gap: var(--space-x-large) var(--space-normal);
    }
    .sale-badge {
        width: 2.5rem;
        height: 2.5rem;
        left: .5rem;
        top: .5rem;
        font-size: var(--fs-bd2);
    }
}