.catalog-card {
    border-radius: 8px;
    background: #FFFFFF;
    position: relative;
}

.catalog-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 320 / 210;
    overflow: visible;
}



.catalog-card-image-wrap > a {
    display: block;
    height: 100%;
}

.catalog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
}

.catalog-card-badge-new {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 10px;
    border-radius: 6px;
    background: linear-gradient(93.33deg, #FF0138 0%, #990127 100%);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    z-index: 4;
}

.catalog-card-badge-new svg,
.catalog-card-badge-new img {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.catalog-card-badge-gift {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 10px;
    border-radius: 6px;
    background: linear-gradient(90.04deg, #6B01FF 0.23%, #7F16A2 40.05%, #A800E0 91.58%);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    white-space: nowrap;
    z-index: 4;
}

.catalog-card-badge-gift svg,
.catalog-card-badge-gift img {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.catalog-card-fav {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    background: rgba(50, 60, 76, 0.5);
    backdrop-filter: blur(7px);
    border: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #FFFFFF;
    cursor: pointer;
    z-index: 4;
    transition: background 0.2s;
}

.catalog-card-fav:hover {
    background: rgba(50, 60, 76, 0.7);
}

.catalog-card-fav svg,
.catalog-card-fav img {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.catalog-card-badges {
    position: absolute;
    bottom: -16px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.catalog-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    color: #FFFFFF;
    white-space: nowrap;
}

.catalog-card-badge--area {
    background: #DD9119;
    margin-left: auto;
}

.catalog-card-body {
    padding: 24px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.catalog-card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 6px;
}

.catalog-card-info-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.catalog-card-info-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.catalog-card-type {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #000000;
    white-space: nowrap;
}

.catalog-card-name {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 100%;
    color: #000000;
}

.catalog-card-info-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.catalog-card-price-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    color: #000000;
    text-align: right;
    white-space: nowrap;
}

.catalog-card-price {
    font-weight: 700;
    font-size: 25px;
    line-height: 100%;
    color: #48924E;
    text-align: right;
}

.catalog-card-price > span {
    font-weight: 700;
    font-size: 25px;
    line-height: 100%;
    color: #000000;
    text-align: right;
    position: relative;
    display: inline-block;
}

.catalog-card-price > span::after {
    content: '';
    position: absolute;
    left: -5px;
    right: -1px;
    top: 50%;
    height: 2px;
    background: #d32f2f;
    transform: rotate(-12deg);
    transform-origin: center;
    pointer-events: none;
}

.catalog-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border-radius: 6px;
    background: #48924E;
    box-shadow: 0px 6px 8px 0px rgba(255, 255, 255, 0.35) inset,
    0px -4px 11px 0px rgba(0, 0, 0, 0.3) inset;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 20px;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.25s;
}

.catalog-card-btn:hover {
    background: #5aaa62;
}

@media (max-width: 1200px) and (min-width: 769px) {
    .catalog-card-name {
        font-size: clamp(20px, 2.3vw, 26px);
    }

    .catalog-card-price,
    .catalog-card-price > span{
        font-size: clamp(20px, 2.3vw, 25px);
    }

    .catalog-card-price-label {
        font-size: clamp(11px, 1.2vw, 14px);
    }

    .catalog-card-type {
        font-size: clamp(11px, 1.2vw, 14px);
    }

    .catalog-card-btn {
        height: 44px;
        font-size: clamp(18px, 2vw, 24px);
    }

    .catalog-card-badge {
        font-size: 13px;
        height: 28px;
        padding: 0 10px;
    }

    .catalog-card-badge-new,
    .catalog-card-badge-gift {
        font-size: 13px;
        height: 24px;
        padding: 0 8px;
    }

    .catalog-card-fav {
        font-size: 12px;
        height: 24px;
        padding: 0 8px;
    }
}

@media (max-width: 768px) {

    .catalog-card-body {
        padding: 20px 12px 12px;
    }

    .catalog-card-info {
        flex-wrap: wrap;
    }

    .catalog-card-name {
        font-size: 22px;
    }

    .catalog-card-price,
    .catalog-card-price > span {
        font-size: 22px;
    }

    .catalog-card-btn {
        height: 48px;
        font-size: 20px;
    }

    .catalog-card-badge {
        font-size: 14px;
        height: 28px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .catalog-card-btn {
        height: 44px;
        font-size: 18px;
    }

    .catalog-card-info {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .catalog-card-info-left {
        flex: 1;
        min-width: 0;
    }

    .catalog-card-info-right {
        flex-shrink: 0;
        align-items: flex-end;
    }

    .catalog-card-price-label {
        font-size: 11px;
        white-space: nowrap;
    }

    .catalog-card-price,
    .catalog-card-price > span{
        font-size: 18px;
        white-space: nowrap;
    }

    .catalog-card-name {
        font-size: 18px;
    }

    .catalog-card-type {
        font-size: 12px;
    }
}
