

/* Start:/local/templates/cvetoland/components/bitrix/catalog.item/main/style.css?17790362525233*/
/* Catalog card — modern grid item */

.catalog-card {
    margin-bottom: 24px;
}

.catalog-card__inner {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.catalog-card__inner:hover {
    transform: none;
    box-shadow: none;
}

.catalog-card__media-wrap {
    position: relative;
}

.catalog-card__media {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

.catalog-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.catalog-card__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.catalog-card__slide,
.product-card__slide.catalog-card__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog-card__slide.is-active,
.product-card__slide.catalog-card__slide.is-active {
    opacity: 1;
    position: relative;
}

.catalog-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: color 0.2s ease, transform 0.15s ease;
}

.catalog-card__wishlist:hover {
    color: #111;
    transform: scale(1.05);
}

.catalog-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.catalog-card__dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 2;
}

.catalog-card__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.catalog-card__dot.is-active {
    background: #fff;
}

.catalog-card__body {
    display: block;
    flex: none;
    height: auto;
    min-height: 0;
    padding: 16px 0 0;
    text-align: left;
}

.catalog-card__tags {
    margin-bottom: 8px;
}

.catalog-card__title {
    margin: 0 0 6px;
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.3;
}

.catalog-card__title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.catalog-card__title a:hover {
    color: #555;
    text-decoration: none;
}

.catalog-card__sku {
    margin: 0 0 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #999;
}

.catalog-card__preview {
    margin: 0 0 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.catalog-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 10px 0 14px;
}

.catalog-card__price-current {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.catalog-card__price-old {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #aaa;
    text-decoration: line-through;
}

.catalog-card__actions {
    width: 100%;
}

.catalog-card__buy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: #111;
    color: #fff !important;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.catalog-card__buy:hover {
    background: #333;
    color: #fff !important;
    text-decoration: none !important;
}

.catalog-card__buy.added {
    background: #4caf50;
}

.catalog-card__buy.loading {
    opacity: 0.65;
    pointer-events: none;
}

/* Legacy hooks */
.catalog-card .btn-cart-fixed__icon {
    display: none !important;
}

.catalog-card.product-flower .product-title-flower,
.catalog-card .catalog-card__body {
    text-align: left !important;
}

.catalog-card .catalog-card__title,
.catalog-card .catalog-card__title a {
    text-align: left;
}

.catalog-card .catalog-card__price,
.catalog-card .product-card__price-row {
    justify-content: flex-start;
    text-align: left;
}

.catalog-card .catalog-card__price-current,
.catalog-card .prince {
    text-align: left;
}

/* Высота по контенту — не растягивать карточку */
.catalog-card,
.catalog-card.product-flower {
    height: auto !important;
    min-height: 0;
    float: left;
}

.catalog-card .catalog-card__body.product-title-flower,
.catalog-card .product-title-flower.catalog-card__body {
    flex: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none;
}

.catalog-card__actions {
    margin-top: 0;
}

/* End */
/* /local/templates/cvetoland/components/bitrix/catalog.item/main/style.css?17790362525233 */
