/*==================================================
    STYLE.CSS
===================================================*/

:root{

    --primary:#6C4CF1;
    --primary-dark:#4B2DDC;
    --secondary:#F7F5FF;
    --text:#202124;
    --text-light:#777;
    --white:#ffffff;
    --border:#ececec;
    --shadow:0 15px 35px rgba(0,0,0,.08);
    --radius:18px;
    --transition:.35s;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    direction:rtl;
    overflow-x:hidden;
    font-family:'Vazirmatn',sans-serif;
    background:#f7f8fc;
    color:var(--text);

}

a{

    text-decoration:none;
    transition:.3s;

}

img{

    max-width:100%;
    display:block;

}

button{

    border:none;
    outline:none;
    cursor:pointer;

}

ul{

    list-style:none;
    margin:0;
    padding:0;

}

.section-title{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;

}

.section-title h3{

    font-size:28px;
    font-weight:700;

}

.section-title a{

    color:var(--primary);
    font-weight:600;

}

/*==============================
        HEADER
===============================*/

.top-header{

    background:#fff;
    box-shadow:0 2px 15px rgba(0,0,0,.05);
    padding:15px 0;
    position:sticky;
    top:0;
    z-index:999;

}

.logo img{

    height:50px;

}

.header-right{

    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:15px;

}

.icon-btn{

    width:48px;
    height:48px;
    border-radius:50%;
    background:#f3f4f7;
    position:relative;
    transition:.3s;

}

.icon-btn:hover{

    background:var(--primary);
    color:#fff;

}

.icon-btn i{

    font-size:20px;

}

.icon-btn span{

    position:absolute;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#ff3d3d;
    color:#fff;
    font-size:11px;
    display:flex;
    align-items:center;
    justify-content:center;
    top:-3px;
    right:-3px;

}

.profile{

    display:flex;
    align-items:center;
    gap:10px;

}

.profile img{

    width:48px;
    height:48px;
    border-radius:50%;
    object-fit:cover;

}

.profile h6{

    margin:0;
    font-weight:700;

}

.profile small{

    color:#777;

}

/*============================
      SEARCH
=============================*/

.search-box{

    height:55px;
    border-radius:50px;
    background:#f5f6fa;
    display:flex;
    overflow:hidden;

}

.search-box input{

    flex:1;
    border:none;
    background:transparent;
    padding:0 20px;
    font-size:15px;

}

.search-box input:focus{

    outline:none;

}

.search-box button{

    width:60px;
    background:transparent;

}

.search-box button i{

    font-size:22px;
    color:var(--primary);

}

.mobile-search{

    background:#fff;
    padding:15px 0;

}

/*==============================
        HERO
===============================*/

.hero{

    padding:35px 0;

}

.banner{

    padding:0px;
    overflow:hidden;
    position:relative;
    color:#fff;

}

.banner span{

    display:inline-block;
    background:rgba(255,255,255,.2);
    padding:8px 20px;
    border-radius:50px;
    margin-bottom:20px;

}

.banner h1{

    font-size:52px;
    font-weight:800;
    margin-bottom:20px;

}

.banner p{

    font-size:18px;
    line-height:32px;
    margin-bottom:30px;
    opacity:.95;

}

.btn-shop{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:55px;
    padding:0 35px;
    background:#fff;
    color:var(--primary);
    border-radius:50px;
    font-weight:700;
    transition:.3s;

}

.btn-shop:hover{

    background:#202124;
    color:#fff;

}

.banner img{

  
    width: 100%;
    margin:auto;
    animation:float 4s infinite ease-in-out;

}

.swiper-pagination-bullet{

    width:12px;
    height:12px;
    background:#fff;

}

.swiper-pagination-bullet-active{

    width:35px;
    border-radius:20px;

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0);

    }

}

/*==============================
      CATEGORIES
===============================*/

.categories{

    padding:60px 0;

}

.category-card{

    background:#fff;
    border-radius:20px;
    text-align:center;
    padding:25px 15px;
    transition:.35s;
    cursor:pointer;
    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.category-card:hover{

    transform:translateY(-10px);
    box-shadow:0 20px 35px rgba(0,0,0,.12);

}

.circle{

    width:90px;
    height:90px;
    border-radius:50%;
    margin:auto;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:18px;

}

.circle img{

    width:55px;

}

.bg1{

    background:#efe8ff;

}

.bg2{

    background:#ffe9e9;

}

.bg3{

    background:#fff4dd;

}

.bg4{

    background:#e7fff2;

}

.bg5{

    background:#eaf4ff;

}

.bg6{

    background:#ffeef9;

}

.category-card h6{

    font-weight:700;
    margin:0;

}

/*==================================================
            PRODUCTS
==================================================*/

.products{
    padding:70px 0;
}

.product-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    position:relative;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:all .35s ease;
    height:100%;
    display:flex;
    flex-direction:column;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.wishlist{
    position:absolute;
    top:15px;
    left:15px;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 8px 18px rgba(0,0,0,.08);
    z-index:2;
    transition:.3s;
}

.wishlist:hover{
    background:var(--primary);
    color:#fff;
}

.wishlist i{
    font-size:18px;
}

.product-image{
    padding:0px;
    background:#fafafa;
}

.product-image img{
    width:100%;
    object-fit:contain;
    transition:.35s;
}

.product-card:hover .product-image img{
    transform:scale(1.08);
}

.product-body{
    padding:22px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.product-body h5{
    font-size:13px;
    font-weight:700;
    margin-bottom:10px;
}

.product-body p{
    color:var(--text-light);
    font-size:14px;
    line-height:26px;
    margin-bottom:18px;
    flex:1;
}

.price{
    margin-bottom:18px;
}

.price del{
    color:#999;
    display:block;
    margin-bottom:5px;
}

.price h4{
    color:var(--primary);
    font-size:24px;
    font-weight:800;
    margin:0;
}

.cart-btn{
    height:48px;
    border-radius:50px;
    background:var(--primary);
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.cart-btn:hover{
    background:var(--primary-dark);
}

.cart-btn i{
    margin-left:8px;
}

/*==================================================
                FOOTER
==================================================*/

.footer{
    background:#fff;
    margin-top:70px;
    padding:70px 0 25px;
}

.footer h4,
.footer h5{
    font-weight:700;
    margin-bottom:20px;
}

.footer p{
    color:#666;
    line-height:30px;
}

.footer ul li{
    margin-bottom:12px;
}

.footer ul li a{
    color:#555;
    transition:.3s;
}

.footer ul li a:hover{
    color:var(--primary);
    padding-right:8px;
}

.social{
    display:flex;
    gap:12px;
}

.social a{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#f3f3f3;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#333;
    transition:.3s;
}

.social a:hover{
    background:var(--primary);
    color:#fff;
}

.footer hr{
    margin:35px 0 20px;
}

/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:1200px){

.banner h1{
    font-size:42px;
}

}

@media(max-width:992px){

.banner{
    padding:40px;
    text-align:center;
}

.banner img{
    margin-top:35px;
    max-height:260px;
}

.section-title h3{
    font-size:24px;
}

.profile{
    display:none;
}

}

@media(max-width:768px){

.top-header{
    padding:12px 0;
}

.logo img{
    height:42px;
}

.banner{
    padding:30px;
}

.banner h1{
    font-size:34px;
}

.banner p{
    font-size:15px;
    line-height:28px;
}

.btn-shop{
    height:48px;
    padding:0 28px;
}

.circle{
    width:75px;
    height:75px;
}

.circle img{
    width:42px;
}

.product-image img{
    height:170px;
}

.product-body{
    padding:16px;
}

.product-body h5{
    font-size:16px;
}

.price h4{
    font-size:20px;
}

.cart-btn{
    height:44px;
    font-size:14px;
}

.footer{
    text-align:center;
}

.social{
    justify-content:center;
}

}

@media(max-width:576px){

.hero{
    padding:20px 0;
}

.banner{
    border-radius:22px;
    padding:22px;
}

.banner h1{
    font-size:28px;
}

.banner span{
    font-size:13px;
}

.banner p{
    font-size:14px;
}

.section-title{
    margin-bottom:20px;
}

.section-title h3{
    font-size:20px;
}

.icon-btn{
    width:42px;
    height:42px;
}

.product-image{
    padding:20px;
}

.product-image img{
    height:140px;
}

.product-body h5{
    font-size:15px;
}

.product-body p{
    font-size:13px;
}

.price h4{
    font-size:18px;
}

.cart-btn{
    font-size:13px;
    height:40px;
}

.footer{
    padding:50px 0 20px;
}

}

/*==================================================
                SCROLLBAR
==================================================*/

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#ececec;
}

.cart-btn,
.btn-shop{
    position:relative;
    overflow:hidden;
}

.ripple{
    position:absolute;
    border-radius:50%;
    transform:scale(0);
    animation:ripple .6s linear;
    background:rgba(255,255,255,.5);
}

@keyframes ripple{

    to{

        transform:scale(4);
        opacity:0;

    }

}