.catalogo-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.catalogo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.header-titles h1 {
    font-size: 2.2rem;
    color: #0f172a;
    margin-bottom: 0.3rem;
}

.header-titles p {
    color: #64748b;
    font-size: 0.95rem;
}

.header-badge span {
    background-color: #0f172a;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Rejilla de productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.producto-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

.producto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
    position: relative;
    background: #f8fafc;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.card-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge-agotado {
    background-color: #ef4444;
    color: white;
}

.badge-stock {
    background-color: #10b981;
    color: white;
}

.card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-meta .marca {
    color: #0284c7;
}

.card-meta .categoria {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    color: #475569;
}

.producto-titulo {
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.producto-descripcion {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.8rem;
}

.precio-label {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
}

.precio-monto {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.precio-monto small {
    font-size: 0.65rem;
    color: #64748b;
}

.btn-add-cart {
    background-color: #0f172a;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-add-cart:hover {
    background-color: #0284c7;
}

.btn-add-cart:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
}