/*
 * 새로 오픈 했어요 카드
 */

.new-open-wrap .partner-card {
    display: flex;
    height: auto;
    overflow: hidden;
    border: 1px solid #eceef2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.new-open-wrap .partner-card .card-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.new-open-wrap .partner-card .thumb {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f2f3f5;
}

.new-open-wrap .partner-card .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.new-open-wrap .partner-card .ribbon {
    position: absolute;
    top: 11px;
    left: 11px;
    z-index: 3;
    max-width: 70%;
    padding: 5px 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #6c5ce7;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.new-open-wrap .partner-card .open-status {
    position: absolute;
    right: 11px;
    bottom: 11px;
    z-index: 3;
    padding: 5px 9px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.new-open-wrap .partner-card .open-status.on {
    background: #18b77c;
}

.new-open-wrap .partner-card .open-status.off {
    background: #e85353;
}

.new-open-wrap .partner-card .info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.new-open-wrap .partner-card .shop-name {
    margin: 0 0 9px;
    overflow: hidden;
    color: #191b20;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.new-open-wrap .partner-card .addr {
    margin: 0 0 8px;
    overflow: hidden;
    color: #7c828b;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.new-open-wrap .partner-card .meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.new-open-wrap .partner-card .meta-line .left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.new-open-wrap .partner-card .meta-line i {
    color: #f5aa00;
}

.new-open-wrap .partner-card .score {
    font-weight: 800;
}

.new-open-wrap .partner-card .review {
    color: #9a9fa7;
    font-size: 12px;
}

.new-open-wrap .partner-card .discount {
    padding: 3px 7px;
    border-radius: 999px;
    background: #ff3b30;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.new-open-wrap .partner-card .price-box {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 11px;
    border-top: 1px solid #f0f1f3;
}

.new-open-wrap .partner-card .course {
    min-width: 0;
    overflow: hidden;
    color: #555b64;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.new-open-wrap .partner-card .prices {
    flex: 0 0 auto;
    text-align: right;
}

.new-open-wrap .partner-card .price-before {
    margin-right: 4px;
    color: #b9bdc4;
    font-size: 11px;
    text-decoration: line-through;
}

.new-open-wrap .partner-card .price-after {
    color: #17191d;
    font-size: 19px;
    font-weight: 900;
}

@media (max-width: 767px) {
    .new-open-wrap .partner-card {
        border: 0;
        border-radius: 20px;
        box-shadow: 0 9px 24px rgba(15, 23, 42, 0.09);
    }

    .new-open-wrap .partner-card .thumb {
        height: 188px;
    }

    .new-open-wrap .partner-card .info {
        min-height: 195px;
        padding: 15px;
    }

    .new-open-wrap .partner-card .shop-name {
        font-size: 17px;
    }
}
