
.category-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:8px;
}

.card-box{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    background:#f5f1ee;
    height:300px;
}

.card-box img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .8s ease;
    cursor:none;
}

.card-box:hover img{
    transform:scale(1.04);
}

/* center large card */
.big-card{
    grid-row:span 2;
    height:610px;
}


.category-heading{
    background: #f8f8f8;
}

/* Top Text */
.small-text{
    font-size: 13px;
    letter-spacing: 2px;
    color: #c5a47e;
    font-weight: 600;
}

/* Main Heading */
.main-heading{
    font-size: 52px;
    font-family: "Times New Roman", serif;
    font-weight: 600;
    color: #3b2618;
    margin-bottom: 12px;
}

/* Subtitle */
.sub-text{
    font-size: 15px;
    color: #666;
    max-width: 600px;
    margin: auto;
    line-height: 1.7;
}

/* Decorative Lines */
.line{
    width: 90px;
    height: 2px;
    display: inline-block;
    border-radius: 50px;
    background: linear-gradient(
        to right,
        rgba(216,194,168,0),
        rgba(216,194,168,0.9),
        rgba(216,194,168,0)
    );
}

/* Bottom Design */
.bottom-design{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.diamond{
    color: #d8c2a8;
    font-size: 14px;
}

.gallery-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    width:200px;
    height:42px;

    border:1.5px solid #b98544;
    border-radius:20px;

    text-decoration:none;
    background:transparent;

    color:#4b2d12;
    font-size:18px;
    font-weight:600;
    font-family:'Outfit',sans-serif;

    transition:0.35s ease;
}

.gallery-btn span{
    font-size:20px;
    letter-spacing:-2px;
    margin-top:-2px;
}

.gallery-btn:hover{
    background:#b98544;
    color:white;
    transform:translateY(-3px);
}





/* TEXT OVERLAY */
.card-content{
    position:absolute;
    top:20px;
    left:15px;
    z-index:10;
}

/* RIGHT SIDE TEXT */
.card-box:nth-child(3) .card-content,
.card-box:nth-child(5) .card-content{
    right:15px;
    left:auto;
    text-align:right;
}

.card-content h2{
    font-family: 'Cormorant Garamond', serif;
    font-size:38px;
    font-weight:700;
    color:#3b2417;
    line-height:0.95;
    margin-bottom:2px;
}

.card-content p{
    font-family: 'Montserrat', sans-serif;
    font-size:14px;
    color:#7b7b7b;
    margin-bottom:10px;
}

.shop-btn{
    margin-top:0;
    display:inline-block;
    background:#5b3a29;
    color:#fff;
    padding:10px 20px;
    border-radius:4px;
    text-decoration:none;
    font-family:'Montserrat', sans-serif;
    font-size:12px;
    font-weight:500;
    transition:.3s ease;
}

.shop-btn:hover{
    background:#3b2417;
    color:#fff;
}



/* ================= TABLET ================= */


@media(max-width:1024px){

    .category-grid{
        
        display:grid !important;

        grid-template-columns:1fr 1fr 1fr!important;
        gap:8px !important;
    }

    .card-box
    {
        width: 100% !important;
        min-height:150px !important;
        margin:0 auto;

    }
    .big-card{
        width: 100% !important;
        margin:0 auto;
        min-height:200px !important;
    }

    .card-box img{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
    }

    .card-content{
        top:14px !important;
        left:18px !important;
    }

    .card-box:nth-child(3) .card-content,
    .card-box:nth-child(5) .card-content{
        right:18px !important;
    }

    .card-content h2{
        font-size:28px !important;
    }

    .card-content p{
        font-size:13px !important;
        margin-bottom:8px !important;
    }

    .shop-btn{
        padding:8px 16px !important;
        font-size:12px !important;
    }

}


@media(max-width:820px){

    .category-grid{
        
        display:grid !important;

        grid-template-columns:1fr 1fr!important;
        gap:8px !important;
    }

    .card-box
    {
        width: 100% !important;
        min-height:150px !important;
        margin:0 auto;

    }
    .big-card{
        width: 100% !important;
        margin:0 auto;
        min-height:200px !important;
    }

    .card-box img{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
    }

    .card-content{
        top:14px !important;
        left:18px !important;
    }

    .card-box:nth-child(3) .card-content,
    .card-box:nth-child(5) .card-content{
        right:18px !important;
    }

    .card-content h2{
        font-size:28px !important;
    }

    .card-content p{
        font-size:13px !important;
        margin-bottom:8px !important;
    }

    .shop-btn{
        padding:8px 16px !important;
        font-size:12px !important;
    }

}

/* ================= MOBILE ================= */

/* @media(max-width:480px){

    .category-grid{
        grid-template-columns:1fr!important;
        
        gap:8px !important;
        
    }

    .card-box
   {
        width:100% !important;
        min-height:140px !important;
    }

    .big-card{
    
        min-height:140px !important;

    }

    .card-box img{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
    }

    .card-content{
        top:14px !important;
        left:18px !important;
    }

    .card-box:nth-child(3) .card-content,
    .card-box:nth-child(5) .card-content{
        right:18px !important;
    }

    .card-content h2{
        font-size:20px !important;
    }

    .card-content p{
        font-size:12px !important;
        margin-bottom:8px !important;
    }

    .shop-btn{
        padding:6px 12px !important;
        font-size:10px !important;
    }

} */


@media only screen and (max-width:480px){

    .category-grid{
        display:grid !important;
        grid-template-columns:100% !important;
    }

    .big-card{
        grid-column:unset !important;
        grid-row:unset !important;
    }

    .small-text{
        font-size: 8px;
        letter-spacing: 1px;
        color: #c5a47e;
        font-weight: 600;
    }

    .main-heading{
        font-size: 28px;
        font-family: "Times New Roman", serif;
        font-weight: 600;
        color: #3b2618;
        margin-bottom: 10px;
    }

    .sub-text{
        font-size: 8px;
        color: #666;
        max-width: 600px;
        margin: auto;
        line-height: 1.7;
    }

    .gallery-btn{
        margin-bottom: 10px !important;
    }

}



