/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

.block_newsletter .alert:before {
    left: 10px;
    top: 8px;
}

/* ============================================
   PÁGINA DE MARCAS - FORZAR UNA SOLA LÍNEA
   ============================================ */

.brands-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.brand-item {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 2rem;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
    list-style: none;
    width: 100%;
}

.brand-logo {
    flex-shrink: 0;
    width: 240px;      /* antes 180px */
    height: 160px;     /* antes 120px */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
}

.brand-logo img {
    max-width: 100%;
    max-height: 120px;  /* antes 90px */
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brand-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.brand-name a {
    color: #1a1a1a;
    text-decoration: none;
}

.brand-name a:hover {
    color: #2c7dfa;
}

.brand-description {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
}

.brand-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.brand-products {
    font-size: 0.8rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.btn-brand {
    background: #2c7dfa;
    border: none;
    padding: 0.4rem 1.25rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-brand:hover {
    background: #1a5bc4;
    transform: scale(1.02);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .brand-item {
        flex-direction: column !important;
        text-align: center;
    }
    
    .brand-logo {
        width: 180px;
        height: 120px;
    }
    
    .brand-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-brand {
        width: 100%;
        text-align: center;
    }
}