/*======================================
    SHOP BY CATEGORY
======================================*/

.home-categories{

    padding:80px 0;

    background:#f8f8f8;

}

.home-categories .container{

    width:90%;

    max-width:1300px;

    margin:auto;

}

/*======================================
    SECTION TITLE
======================================*/

.section-heading{

    text-align:center;

    margin-bottom:60px;

}

.section-heading h2{

    font-size:42px;

    color:#222;

    margin-bottom:15px;

    font-weight:700;

}

.section-heading p{

    font-size:18px;

    color:#777;

    max-width:700px;

    margin:auto;

    line-height:1.8;

}

/*======================================
    CATEGORY GRID
======================================*/

.category-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

/*======================================
    CATEGORY CARD
======================================*/

.category-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

}

.category-card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

.category-card a{

    text-decoration:none;

    color:inherit;

    display:block;

}

.category-card img{

    width:100%;

    height:280px;

    object-fit:cover;

    transition:.5s;

}

.category-card:hover img{

    transform:scale(1.08);

}

/*======================================
    CONTENT
======================================*/

.category-content{

    padding:25px;

    text-align:center;

}

.category-content h3{

    font-size:24px;

    color:#222;

    margin-bottom:10px;

}

.category-content span{

    display:inline-block;

    color:#888;

    font-size:16px;

    margin-bottom:20px;

}

/*======================================
    BUTTON
======================================*/

.category-content::after{

    content:"Explore Collection";

    display:inline-block;

    margin-top:10px;

    background:#b88a28;

    color:#fff;

    padding:12px 28px;

    border-radius:40px;

    font-size:15px;

    font-weight:600;

    transition:.3s;

}

.category-card:hover .category-content::after{

    background:#222;

}

/*======================================
    TABLET
======================================*/

@media(max-width:992px){

.category-grid{

    grid-template-columns:repeat(2,1fr);

}

.category-card img{

    height:230px;

}

}

/*======================================
    MOBILE
======================================*/

@media(max-width:768px){

.home-categories{

    padding:60px 0;

}

.section-heading h2{

    font-size:32px;

}

.section-heading p{

    font-size:16px;

}

.category-grid{

    grid-template-columns:1fr;

}

.category-card img{

    height:240px;

}

}

/*======================================
    SMALL MOBILE
======================================*/

@media(max-width:480px){

.section-heading h2{

    font-size:28px;

}

.category-content{

    padding:20px;

}

.category-content h3{

    font-size:20px;

}

.category-content span{

    font-size:15px;

}

}