/**
 * Home Category Page
 * Estilos de cards solo para /categoria/*
 */

.home-category-page .btn-wishlist {
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-category-page .btn-wishlist:hover {
    color: #ef4444;
}


.home-category-page .category-header {
    overflow: hidden;
    position: relative;
}

.home-category-page .home-category-header {
    background-color: #d9d9d9;
    min-height: 170px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.home-category-page .home-category-header .category-hero-image {
    width: 25%;
    min-width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-category-page .home-category-header .category-hero-image img {
    width: min(100%, 180px);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 0 5px rgba(255,255,255,0.08);
}

.home-category-page .home-category-header .category-hero-copy {
    width: 75%;
    max-width: 75%;
    margin-left: 0;
    margin-right: 0;
}

.home-category-page .home-category-header h1 {
    font-size: clamp(1.6rem, 2vw, 2.5rem);
    line-height: 1.08;
    margin-bottom: 0.4rem;
    text-align: left;
    color: #000;
}

.home-category-page .home-category-header p {
    font-size: clamp(0.8rem, 1vw, 1.1rem);
    line-height: 1.35;
    margin-bottom: 0;
    text-align: left;
    color: #000;
}

.home-category-page .home-category-product-card {
    transition: transform 0.2s;
}

.home-category-page .home-category-product-card:hover {
    transform: translateY(-4px);
}

.home-category-page .category-mobile-subcategory-button {
    background: #f8fafc;
    border-color: #e5e7eb;
    color: #111827;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    box-shadow: none;
}

.home-category-page .category-mobile-subcategory-button:hover,
.home-category-page .category-mobile-subcategory-button:focus {
    background: #f1f5f9;
    color: #111827;
}

.home-category-page .home-product-card .product-purchase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: nowrap;
}

.home-category-page .home-product-card .product-price {
    gap: 6px;
    flex-wrap: nowrap;
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
}

.home-category-page .home-product-card .price-current {
    font-size: 14px;
}

.home-category-page .home-product-card .home-add-cart {
    flex: 0 0 42px;
    width: 42px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--success-color);
    border-radius: 999px;
    background: var(--success-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.home-category-page .home-product-card .home-add-cart:hover {
    background: #ff6a00;
    border-color: #ff6a00;
    color: #fff;
}

@media (max-width: 767px) {
    .home-category-page .home-category-product-card .product-title {
        font-size: 13px;
    }

    .home-category-page .home-category-product-card .price-current {
        font-size: 16px;
    }
}
