*{
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn-Regular';
    text-align: right;
}

@font-face{
    font-family: 'Vazirmatn-Regular';
    src: url(font/vazirmatn/Vazirmatn-Regular.ttf);
}

@font-face{
    font-family: 'Vazirmatn-Bold';
    src: url(font/vazirmatn/Vazirmatn-Bold.ttf);
}

@font-face{
    font-family: 'Vazirmatn-ExtraBold';
    src: url(font/vazirmatn/Vazirmatn-ExtraBold.ttf);
}

@font-face{
    font-family: 'PlaywriteDESAS';
    src: url(font/Playwrite_DE_SAS/PlaywriteDESAS-VariableFont_wght.ttf);
}

@font-face{
    font-family: 'typokar-1';
    src: url(font/Tabastudio-Vip-persian-fonts/Zemestan.ttf);
}

:root{
    --primary-color: #452810;
    --secondary-color: #f4f5f7;
    --tertiary-color: #cf9e76;
    --quaternary-color: #846f5d;
    --text-color: #161318;
    --search-text-color: #685b4f;
    --volume-color: #d2b39a;
    --second-text-color: #ffffff;
}

.first-theme{
    --primary-color-a: #3E2723;
    --primary-color-b: #6D4C41;
    --primary-color-c: #A1887F;
    --primary-color-d: #FFB74D;
    --secondary-color: #f4f5f7;
    --tertiary-color: #cf9e76;
    --quaternary-color: #846f5d;
    --text-color: #161318;
    --search-text-color: #685b4f;
    --volume-color: #d2b39a;
    --second-text-color: #ffffff;
}

.second-theme{
    --primary-color-a: #930707;
    --primary-color-b: #DC143C;
    --primary-color-c: #e0da2f;
    --primary-color-d: #75ff69;
    --secondary-color: #f5f1e6;
    --tertiary-color: #e39a3a;
    --quaternary-color: #c5283d;
    --text-color: #2d2d2a;
    --search-text-color: #685b4f;
    --volume-color: #d2b39a;
    --second-text-color: #ffffff;
}

.fourth-theme{
    --primary-color-a: #732ba7;
    --primary-color-b: #bc4b4b;
    --primary-color-c: #DA70D6;
    --primary-color-d: #b55f9e;
    --secondary-color: #FFF5F3;
    --tertiary-color: #FFB7B2;
    --quaternary-color: #FFDAC1;
    --text-color: #5E3023;
    --search-text-color: #B5EAD7;
    --volume-color: #E2F0CB;
    --second-text-color: #FFFFFF;
}

.fifth-theme{
    --primary-color-a: #a3816a;
    --primary-color-b: #d0783a;
    --primary-color-c: #b52626;
    --primary-color-d: #FFD700;
    --secondary-color: #FFF8E8;
    --tertiary-color: #FFD700;
    --quaternary-color: #E5C8A7;
    --text-color: #5C3A21;
    --search-text-color: #A78A7F;
    --volume-color: #F0E0C8;
    --second-text-color: #FFFFFF;
}

.seventh-theme{
    --primary-color-a: #3E2723;
    --primary-color-b: #5D4037;
    --primary-color-c: #c47c63;
    --primary-color-d: #882f0f;
    --secondary-color: #F3E5D8;
    --tertiary-color: #C4A484;
    --quaternary-color: #8B5A2B;
    --text-color: #3E2723;
    --search-text-color: #A78A7F;
    --volume-color: #D2B48C;
    --second-text-color: #FFFFFF;
}

.third-theme{
    --primary-color-a: #ebeb67;
    --primary-color-b: #b39a35;
    --primary-color-c: #b27b29;
    --primary-color-d: #194509;
    --secondary-color: #F3E5D8;
    --tertiary-color: #C4A484;
    --quaternary-color: #8B5A2B;
    --text-color: #3E2723;
    --search-text-color: #A78A7F;
    --volume-color: #D2B48C;
    --second-text-color: #FFFFFF;
}

.eighth-theme{
    --primary-color-a: #af0000;
    --primary-color-b: #ff9900;
    --primary-color-c: #f9d243;
    --primary-color-d: #c4430c;
    --secondary-color: #F9E79F;
    --tertiary-color: #F39C12;
    --quaternary-color: #6E2C00;
    --text-color: #1A120B;
    --search-text-color: #E67E22;
    --volume-color: #F5B7B1;
    --second-text-color: #FFFFFF;
}

.ninth-theme {
    --primary-color-a: #1E90FF;
    --primary-color-b: #00ffbf;
    --primary-color-c: #87CEEB;
    --primary-color-d: #E0FFFF;
    --secondary-color: #E3F2FD;
    --tertiary-color: #64B5F6;
    --quaternary-color: #0D47A1;
    --text-color: #0D1B2A;
    --search-text-color: #415A77;
    --volume-color: #90CAF9;
    --second-text-color: #FFFFFF;
}

.tenth-theme {
    --primary-color-a: #ff3e3e;
    --primary-color-b: #3ed5ff;
    --primary-color-c: #6551a2;
    --primary-color-d: #000000;
    --secondary-color: #FFF5EE;
    --tertiary-color: #CD5C5C;
    --quaternary-color: #A0522D;
    --text-color: #3E2723;
    --search-text-color: #8B4513; 
    --volume-color: #D2B48C;
    --second-text-color: #FFFFFF;
}

.nav-topsec{
    padding: 20px 25px 0 25px ;
}

.nav-topsec-ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.nav-topsec-li{
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.logo {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: visible;
}

.logo-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 50px!important;
    height: 50px!important;
    object-fit: cover;
}

.cafe-info {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    pointer-events: none;
    border-radius: 20px;
    background: linear-gradient(135deg,rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo:hover .cafe-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg,rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 10px;
    min-width: 40px;
}

.info-items {
    position: relative;
}

.info-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(135deg,rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.3));
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    color: var(--text-color);
}

.info-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.info-link:hover::before {
    left: 100%;
}

.info-link:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    transform: scale(1.1) translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2),inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.info-icon {
    color: var(--second-text-color);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.location{
    cursor: pointer;
}

.location p{
    font-size: 20px;
    font-weight: 600;
    font-family: 'PlaywriteDESAS';
}

.nav-searchsec{
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.nav-search-container{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    padding: 7px 15px 7px 5px;
    border-radius: 50px;
    width: 80%;
}

.search-icon-div{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--tertiary-color);
    border-radius: 50px;
    padding: 8px 8px;
    cursor: pointer;
}

.search-icon{
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
}

.search{
    width: 100%;
    height: 30px;
    margin-left: 5px;
    background-color: var(--secondary-color);
    color: var(--search-text-color);
    border: none;
    font-size: 16px;
}

.search:focus{
    outline: none;
}

.shopping-icon{
    width: 25px;
    height: 25px;
    color: var(--text-color);
    margin-bottom: 5px;
    cursor: pointer;
}

.categories-container{
    margin: 15px 0 0 30px;
}

.categories-container-title{
    margin-right: 30px;
    font-size: 22px;
    font-weight: 600;
}

.categories-ul{
    display: flex;
    align-items: center;
    margin-top: 10px;
    overflow-x: auto;
    list-style: none;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.category-item-inner{
    display: block;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    color: var(--text-color) !important;
    -webkit-tap-highlight-color: transparent;
}

.category-item-inner.active {
    background-color: var(--tertiary-color);
    color: var(--second-text-color);
}

.category-item{
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-radius: 25px;
    margin-right: 10px; 
}

.categories-ul::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.category-name{
    font-size: 14px;
    display: block;
    font-family: 'Vazirmatn-Bold';
    color: inherit !important;
    -webkit-text-fill-color: var(--text-color);
}

/* slider section */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    margin-bottom: 30px;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.product-container{
    width: 310px;
    margin-top: 100px;
    height: 330px;
    position: relative;
    filter: drop-shadow(0px 10px 10px 
    color-mix(in srgb, var(--primary-color) 70%, transparent 30%))
}

.product-card{
    padding: 20px;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    background-image: -webkit-linear-gradient(45deg, var(--primary-color-a), var(--primary-color-b), var(--primary-color-c), var(--primary-color-d));
    background-image: linear-gradient(45deg, var(--primary-color-a), var(--primary-color-b), var(--primary-color-c), var(--primary-color-d));
    border-radius: 25px;
    -webkit-animation: bgMove 8s ease infinite;
    animation: bgMove 8s ease infinite;
    -webkit-background-size: 400% 400%;
    background-size: 400% 400%;
    backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
}

@keyframes bgMove {
  0% { 
    background-position: 0% 50%; 
    -webkit-background-position: 0% 50%;
  }
  50% { 
    background-position: 100% 50%; 
    -webkit-background-position: 100% 50%;
  }
  100% { 
    background-position: 0% 50%; 
    -webkit-background-position: 0% 50%;
  }
}

.pr-img{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -60px;
    left: 0;
}

.pr-img img{
    width: 165px;
    height: auto;
    max-height: 170px;
    object-fit: contain;
    filter: drop-shadow(2px 10px 10px rgba(0, 0, 0, 0.3));
}

.pr-info{
    color: var(--secondary-color);
    margin-top: 100px;
}
.pr-name-label{
    display: flex;
    justify-content: right;
    margin-top: 12px;
}
.pr-name-label p{
    margin: 6px 5px 0 0;
    opacity: 90%;
    font-size: 15px;
    position: absolute;
    left: 10px;
    top: 150px;

}

.pr-name-label h3{
    font-family: 'Vazirmatn-ExtraBold';
}

.pr-heart-num{
    display: flex;
    justify-content: right;
}

.pr-heart-icon{
    width: 17px;
    height: 17px;
    margin-bottom: 1px;
    margin-right: 3px;
}

.pr-heart-num-inner{
    display: flex;
    align-items: center;
    padding: 7px 10px 7px 10px;
    border-radius: 25px;
    background-color: var(--quaternary-color);
    font-size: 13px;
    margin-top: 10px;
}

.pr-volume{
    display: flex;
    justify-content: right;
    align-items: center;
    margin-top: 15px;
    font-size: 14px;
}

.pr-volume span{
    margin: 2px 5px 0 0;
}

.pr-volume p{
    margin-right: 5px;
    font-size: 18px;
    color: var(--volume-color);
}

.price-add{
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pr-price span{
    color: var(--second-text-color);
    font-size: 15px;
}

.pr-add{
    color: var(--tertiary-color);
    background-color: var(--second-text-color);
    padding: 15px 15px;
    border-radius: 50px;
    display: flex;
    border: none;
    cursor: pointer;
}

/* product modal */
.product-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.18);
    overflow-x: hidden;
    height: 100%;
    overflow: auto;
    animation: modal-animation 1s ease-in-out forwards;
}

.product-modal::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

@keyframes modal-animation {
    0%{
        background: linear-gradient(135deg,rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }

    50%{
        background: linear-gradient(135deg,rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    100%{
        background: linear-gradient(135deg,rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
    }
}

.back-and-favourite-btns-inner{
    display: flex;
    align-items: center;
    margin: 0 13px;
}

.back-button-modal{
    border: none;
    position: absolute;
    top: 30px;
    cursor: pointer;
    background: transparent;
    opacity: 70%;
    z-index: 1000;
}

.product-modal-img-container{
    display: flex;
    justify-content: center;
}

.product-modal-img{
    width: auto;
    max-width: 233px;
    height: auto;
    max-height: 235px;
    object-fit: contain;
    margin-top: 50px;
    filter: drop-shadow(2px 9px 6px rgba(0, 0, 0, 0.686));
    -webkit-touch-callout: none;
}

.product-modal-img-container{
    position: relative;
    top: -300px;
    animation: modal-img-animation 1s 0.5s ease-in-out forwards;
}

@keyframes modal-img-animation {
    0%{
        top: -300px;
        opacity: 0;
    }

    50%{
        top: 0;
        opacity: 50%;
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
    }

    100%{
        top: 0;
        opacity: 1;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
}

.product-modal-info{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
}

.product-modal-info-sec{
    width: 85%;
    height: fit-content;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.product-modal-info{
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-modal-title p{
    font-family: 'typokar-1';
    font-size: 40px;
    margin-right: 3px;
    opacity: 70%;
    position: relative;
    right: -400px;
    animation: modal-title-animation 1s 0.5s ease-in-out forwards;

}

@keyframes modal-title-animation {
    0%{
        right: -400px;
    }

    100%{
        right: 0px;
    }
}
.product-modal-title h4{
    font-family: 'typokar-1';
    font-size: 40px;
    margin-right: 3px;
    opacity: 70%;
}


.product-modal-info h4{
    background: linear-gradient(135deg,rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 30px 24px;
    padding: 20px;
    font-family: 'PlaywriteDESAS';
    color: rgba(0, 0, 0, 0.7);
    position: relative;
    left: -700px;
    animation: modal-info-animation 1s 0.5s ease-in-out forwards;
}

@keyframes modal-info-animation {
    0%{
        left: -700px;
    }

    100%{
        left: 0px;
    }
}

/* Responsive */
@media (max-width: 426px){
    .swiper-slide{
        width: 65%;
    }
    
    .product-container{
        width: 250px;
    }
}

@media (max-width: 375px){
    .swiper-slide{
        width: 70%;
    }
    
    .category-name{
        font-size: 13px;    
    }
    
    .logo img{
        width: 37px;
    }

    .location p{
        font-size: 14px;
    }

    .shopping-icon{
        width: 20px;
        height: 20px;
    }

    .logo{}
}