.item-card {
    width: 266px;
    /* height: 502px; */
    position: relative;
}

.item-card-direct-arrival {
    display: none; /* 데스크톱에서는 숨김 */
}

.item-card-image {
    width: 266px;
    height: 266px;
    /* position: absolute; */
    left: 0;
    top: 0;
    object-fit: cover;
}

.item-card-name {
    width: 100%;
    height: 23px;
    /* position: absolute; */
    left: 0;
    top: 288px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #333333;
    font-size: 18px;
    font-family: 'NanumSquare Neo', Arial, sans-serif;
    font-weight: 600;
    line-height: 28.79px;
    word-wrap: break-word;
    text-align: center;
}


.item-card-pricing {
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
    padding-top: 40px;
}

.item-card-price-row {
    width: 100%;
    height: 18.28px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-card-price-label {
    color: #7F7F7F;
    font-size: 12.80px;
    font-family: 'NanumSquare Neo', Arial, sans-serif;
    font-weight: 700;
    line-height: 18.29px;
}

.item-card-price-value {
    color: #7F7F7F;
    font-size: 12.80px;
    font-family: 'NanumSquare Neo', Arial, sans-serif;
    font-weight: 400;
    line-height: 18.29px;
    text-align: right;
}

.item-card-price-value .discount {
    color: #DD000C;
    font-weight: bold;
}

.item-card-divider {
    width: 266px;
    height: 1px;
    position: absolute;
    left: 0;
    top: 471.69px;
    border-top: 1px #CBCBCB solid;
}

.item-card-installment {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px #CBCBCB solid;
}

.item-card-installment-label {
    color: black;
    font-size: 13.70px;
    font-family: 'NanumSquare Neo', Arial, sans-serif;
    font-weight: 700;
    line-height: 19.51px;
}

.mobile-label {
    display: none;
}

.item-card-installment-value {
    font-size: 13.70px;
    font-family: 'NanumSquare Neo', Arial, sans-serif;
    line-height: 19.51px;
    text-align: right;
}

.item-card-installment-amount {
    color: #3617CE;
    font-weight: 800;
    font-size: 18px;
}

.item-card-installment-unit {
    color: black;
    font-weight: 400;
}

@media (max-width: 768px) {
    .item-card {
        width: 100%;
        /* height: 170px; */
        /* position: relative; */
        display: flex;
        align-items: center;
        gap: 16px;
        border-bottom: 1px solid #f0f0f0;
        box-sizing: border-box;
        padding: 16px;
    }

    .item-card-details {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }


    .item-card-image {
        width: 110px;
        height: 110px;
        position: static;
        object-fit: contain;
        flex-shrink: 0;
    }

    .item-card-name {
        position: static;
        font-size: 16px;
        font-family: 'Apple SD Gothic Neo', sans-serif;
        font-weight: 500;
        line-height: 1.2;
        height: auto;
        width: 100%;
        justify-content: flex-start;
        margin-bottom: 10px;
    }


    .item-card-pricing {
        position: static;
        width: 100%;
        gap: 4px;
        padding-top: 0;
        padding-bottom: 10px;
        margin-bottom: auto;
    }

    .item-card-price-row {
        height: auto;
    }

    .item-card-price-label,
    .item-card-price-value {
        font-size: 12px;
        font-family: 'Pretendard JP', sans-serif;
        font-weight: 500;
        line-height: 12px;
        color: #8D8D8D;
    }

    .item-card-price-value .discount {
        color: #DD000C;
        font-weight: bold;
    }

    .item-card-installment {
        position: static;
        /* left: 140px; */
        /* top: 118px; */
        width: 100%;
        /* width: calc(100% - 156px); */
        height: auto;
        overflow: visible;
        border-top: 1px solid #f0f0f0;
        margin-top: 10px;
        padding-top: 10px;
    }

    .desktop-label {
        display: none;
    }

    .mobile-label {
        display: inline;
    }

    .item-card-installment-label {
        font-size: 12px;
        font-family: 'Apple SD Gothic Neo', sans-serif;
        font-weight: 500;
        color: #8D8D8D;
        line-height: 12px;
    }

    .item-card-installment-value {
        color: #2F16C7;
        font-size: 14px;
        font-family: 'Pretendard JP', sans-serif;
        font-weight: 700;
        line-height: 17px;
    }

    .item-card-installment-amount,
    .item-card-installment-unit {
        color: inherit;
        font-weight: inherit;
        font-size: inherit;
        font-family: inherit;
    }

    .item-card-direct-arrival {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        left: 16px;
        top: 16px;
        width: 34px;
        height: 34px;
        background: #F6695C;
        border-radius: 10px;
        z-index: 1;
        overflow: hidden;
    }

    .item-card-direct-arrival-text {
        color: white;
        font-size: 10px;
        font-family: 'Apple SD Gothic Neo', sans-serif;
        font-weight: 700;
        line-height: 11px;
        text-align: center;
    }
}