/*==========================================================
    SEAN B SHOP MARKETPLACE
    BRANDS PAGE
    File: assets/css/pages/brands.css
==========================================================*/


/*==========================================================
    PAGE WRAPPER
==========================================================*/

.brands-page{

    background:var(--gray-50);

    padding-top:120px; /* pushes content below fixed header */

    padding-bottom:70px;

}



/*==========================================================
    HERO
==========================================================*/

.brands-hero{

    background:
    linear-gradient(
        135deg,
        var(--color-primary),
        #173b70
    );

    margin:0 auto;

    max-width:1200px;

    border-radius:24px;

    padding:55px 35px;

    color:white;

    overflow:hidden;

}



.brands-hero-content{

    max-width:650px;

    margin:auto;

    text-align:center;

}



.brands-hero h1{

    margin:0 0 12px;

    font-size:2.2rem;

    font-weight:800;

    color:white;

    line-height:1.2;

}



.brands-hero p{

    max-width:550px;

    margin:auto auto 25px;

    color:rgba(255,255,255,.9);

    font-size:.95rem;

    line-height:1.6;

}





/*==========================================================
    SEARCH
==========================================================*/


.brand-search{

    width:100%;

    max-width:520px;

    height:48px;

    margin:auto;

    display:flex;

    background:white;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.15);

}



.brand-search input{

    flex:1;

    border:none;

    outline:none;

    padding:0 18px;

    font-size:.9rem;

}



.brand-search button{

    width:55px;

    border:none;

    background:var(--color-secondary);

    color:white;

    cursor:pointer;

}





/*==========================================================
    SECTIONS
==========================================================*/


.featured-brands{

    padding:55px 0;

}



.section-header{

    text-align:center;

    margin-bottom:30px;

}



.section-header h2{

    color:var(--text-primary);

    font-size:1.7rem;

    font-weight:800;

    margin-bottom:8px;

}



.section-header p{

    color:var(--text-muted);

    font-size:.9rem;

}





/*==========================================================
    GRID
==========================================================*/


.brands-grid{

    display:grid;

    grid-template-columns:
    repeat(6,1fr);

    gap:18px;

}





/*==========================================================
    BRAND CARD
==========================================================*/


.brand-card{

    background:white;

    border:1px solid var(--border-color);

    border-radius:16px;

    overflow:hidden;

    transition:.3s ease;

}



.brand-card:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,0,0,.10);

}



.brand-card a{

    min-height:150px;

    padding:20px 12px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    text-align:center;

}





/*==========================================================
    LOGO
==========================================================*/


.brand-logo{

    width:75px;

    height:75px;

    background:#f8fafc;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

    margin-bottom:12px;

}



.brand-logo img{

    width:100%;

    height:100%;

    object-fit:contain;

    padding:10px;

}



.brand-logo i{

    font-size:1.8rem;

    color:var(--color-primary);

}





.brand-card h3{

    margin:0 0 5px;

    color:#0f172a;

    font-size:.9rem;

    font-weight:700;

}



.brand-card span{

    font-size:.78rem;

    color:var(--color-primary);

}





/*==========================================================
    PROMOTION BANNER
==========================================================*/


.brand-banner{

    padding-bottom:60px;

}



.brand-banner-box{

    background:

    linear-gradient(
        135deg,
        var(--color-primary),
        #214b88
    );

    border-radius:20px;

    padding:35px;

    color:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:25px;

}



.brand-banner h2{

    font-size:1.6rem;

    margin-bottom:8px;

    color:white;

}



.brand-banner p{

    color:rgba(255,255,255,.85);

    font-size:.9rem;

}



.brand-btn{

    background:var(--color-secondary);

    color:white;

    padding:0 25px;

    height:45px;

    border-radius:10px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

}





/*==========================================================
    CATEGORY SHORTCUTS
==========================================================*/


.category-brand-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:18px;

}



.category-brand-grid a{

    background:white;

    border-radius:16px;

    border:1px solid var(--border-color);

    padding:22px;

    text-align:center;

    font-size:.9rem;

    font-weight:700;

    transition:.3s;

}



.category-brand-grid a:hover{

    transform:translateY(-5px);

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}





/*==========================================================
    RESPONSIVE
==========================================================*/


@media(max-width:1200px){

.brands-grid{

grid-template-columns:
repeat(5,1fr);

}

}



@media(max-width:992px){

.brands-page{

padding-top:100px;

}


.brands-grid{

grid-template-columns:
repeat(4,1fr);

}


.brand-banner-box{

flex-direction:column;

text-align:center;

}

}




@media(max-width:768px){


.brands-hero{

padding:40px 20px;

border-radius:18px;

}



.brands-hero h1{

font-size:1.7rem;

}



.brands-grid{

grid-template-columns:
repeat(3,1fr);

gap:12px;

}



.brand-logo{

width:60px;

height:60px;

}


}



@media(max-width:576px){


.brands-grid{

grid-template-columns:
repeat(2,1fr);

}



.brand-card a{

min-height:130px;

}



.brand-banner-box{

padding:25px 18px;

}



}



@media(max-width:380px){


.brands-grid{

grid-template-columns:1fr;

}


}