/* === Woo Card Designer - Astra Compatibility === */

.wcd-card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    padding: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Hover эффект для карточки */
.wcd-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* Элементы карточки */
.wcd-element {
    margin-bottom: 12px;
    width: 100%;
}

/* Изображение */
.wcd-element img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* Название товара */
.wcd-element .woocommerce-loop-product__title,
.wcd-element .ast-product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
    text-align: center;
}

/* Цена */
.wcd-element .price,
.wcd-element .ast-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: center;
    display: block;
    margin: 8px 0;
}

/* Кнопка */
.wcd-element .button,
.wcd-element .ast-add-to-cart-wrap .button {
    width: 100%;
    text-align: center;
    padding: 12px 15px;
    display: block;
    border-radius: 4px;
    font-weight: 600;
    margin: 10px 0;
}

/* Бейдж */
.wcd-badge,
.wcd-badge.ast-onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 3px;
    z-index: 10;
    font-weight: bold;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .wcd-card {
        padding: 10px;
    }
    .wcd-element .price {
        font-size: 16px;
    }
    .wcd-element .button {
        padding: 10px;
        font-size: 14px;
    }
}