body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background-color: #f5f7fa;
}
a {
    text-decoration: none;
}

.shop-by-category-mrnu {
    width: 400px;
    height: 300px;
}

.shop-by-category-section {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 20px;
}

.images-link{
position:relative;
display:block;
height:230px;
overflow:hidden;
border-radius:8px;
}

.image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 50px;
    font-weight: bold;
    text-align: center;
}

.title-for-shop-optiosn {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: arial;
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 20px;
}


@media (max-width: 768px) {

    .shop-by-category-section {
        display: flex;              
        overflow-x: auto;           
        gap: 20px;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }

    .shop-by-category-section a {
        flex: 0 0 80%;       
        scroll-snap-align: start;
    }

    .images-link img{
     width:100%;
     height:100%;
     object-fit:cover;
  }

  .image-title{
font-size:28px;
}
}


/* REVIEW SECTION */

.reviews-section{
padding:70px 20px;
background:#f8f8f8;
text-align:center;
}

.reviews-title{
font-size:32px;
margin-bottom:50px;
font-weight:700;
}

.reviews-slider{
overflow:hidden;
max-width:1200px;
margin:auto;
}


/* pause animation on hover */

.reviews-slider:hover .reviews-track{
animation-play-state:paused;
}

.review-card{
flex:0 0 320px;
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.review-card:hover{
transform:translateY(-5px);
}

.review-header{
display:flex;
align-items:center;
gap:12px;
margin-bottom:12px;
}

.review-avatar{
width:45px;
height:45px;
border-radius:50%;
object-fit:cover;
}

.review-stars{
color:#f5b301;
font-size:14px;
}

.review-card p{
font-size:14px;
color:#444;
line-height:1.6;
}

.review-card h4{
margin:0;
font-size:15px;
}

/* animation */


.images-link img{
width:100%;
height:100%;
object-fit:cover;
}


.reviews-slider{
overflow:hidden;
max-width:1200px;
margin:auto;
}

.reviews-track{
display:flex;
gap:25px;
width:max-content;
}

.review-card{
flex:0 0 320px;
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* pause when user hovers */

.reviews-slider:hover .reviews-track{
animation-play-state:paused;
}

/* cards */

/* infinite animation */

.reviews-slider{
overflow:hidden;
mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);

.reviews-track{
will-change: transform;
}
}

