/* Stilizare pentru chenarul de brand pe pagina de produs */
.product-brand-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #590202;
    border-radius: 24px;
    padding: 16px 20px;
    margin-bottom: var(--space-5);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}


.brand-box-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.brand-box-text {
    font-weight: 600;
    font-size: 16px;
    color: #590202;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-box-right {
    flex-shrink: 0;
    margin-left: 20px;
}

.brand-box-link {
    color: #590202;
    text-decoration: underline;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.brand-box-link::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 30 30' fill='none'%3E%3Cpath d='M6.25 15L23.75 15M23.75 15L15 6.25M23.75 15L15 23.75' stroke='%23590202' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.product-brand-box:hover .brand-box-link {
    color: #590202;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-brand-box {
        padding: 12px 16px;
        margin: 16px 0;
        /* Pe mobil rămâne pe aceeași linie */
        flex-direction: row;
        align-items: center;
    }
    
    .brand-box-right {
        margin-left: 12px;
        flex-shrink: 0;
    }
    
    .brand-box-link {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .product-brand-box {
        padding: 5px 14px;
        margin: 0px 0px 15px 0;
        flex-direction: row;
        align-items: center;
        min-height: 40px;
    }
    
    .brand-box-left {
        flex: 1;
        min-width: 0; /* Permite shrinking */
    }
    
    .brand-box-right {
        margin-left: 8px;
        flex-shrink: 0;
    }
    
    .brand-box-link {
        font-size: 14px;
        white-space: nowrap;
    }
}
