@font-face {
    font-family: 'myriad';
    src: url('../../fonts/MyriadArabic-Regular.otf');
}

@font-face {
    font-family: 'zolina';
    src: url('../../fonts/Zolina_Regular.ttf');
}

@font-face {
    font-family: 'chamran';
    src: url('../../fonts/A-Chamran.ttf');
}

@font-face {
    font-family: 'fahk';
    src: url('../../fonts/Fahkwang-Regular.ttf');
}

@font-face {
    font-family: 'arialR';
    src: url('../../fonts/arial.ttf');
}
@font-face {
    font-family: 'cinema';
    src: url('../../fonts/Cinema.ttf');
}
@font-face {
    font-family: 'yekan';
    src: url('../../fonts/W_yekan_Bold_mypsdshop.ir.ttf');
}
@font-face {
    font-family: 'arial';
    src: url('../../fonts/arialbd.ttf');
}
@font-face {
    font-family: 'traffic';
    src: url('../../fonts/B-Traffic-Bold.ttf');
}

:root {
    --color-385c46: #385c46;
    --color-ffffff: #ffffff;
    --color-2d4d3b: #2d4d3b;
    --color-5d5d5d: #5d5d5d;
    --color-b09d8c: #b09d8c;
    --color-019fb6: #019fb6;
    --color-bg: #fefdf9;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-385c46);
    border: 0px none var(--color-ffffff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-2d4d3b);
}

::-webkit-scrollbar-thumb:active {
    background: var(--color-2d4d3b);
}

::-webkit-scrollbar-track {
    background: var(--color-fefdf9);
    border: 0px none var(--color-ffffff);
    border-radius: 4px;
}

::-webkit-scrollbar-track:hover {
    background: var(--color-fefdf9);
}

::-webkit-scrollbar-track:active {
    background: var(--color-fefdf9);
}

::-webkit-scrollbar-corner {
    background: transparent;
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--color-fefdf9);

}

body {
    font-family: yekan;
    color: var(--color-b09d8c);
}

a {
    text-decoration: none;
    color: var(--color-b09d8c);
}

ul {
    list-style: none;
}

.top_border {
    display: flex;
    justify-content: space-between;
    z-index: -100;
}

.top_border img:first-child {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 150px;
    z-index: -100;
    opacity: 30%;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.top_border img:last-child {
    position: absolute;
    top: 20px;
    left: 0;
    width: 200px;
    height: 280px;
    z-index: -100;
    opacity: 20%;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.background-border {
    z-index: -100;
    position: absolute;
    width: 100vw;
    height: auto;
    opacity: 30%;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}
.items {
    position: relative; /* اضافه کردن موقعیت نسبی */

}



.logo_menu {
    margin-top: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.logo_menu  img {
    width: 150px;
}


/* start header menu */

.head_menu {
    display: grid;
    justify-content: center;
}

.fixed-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
    width: 99.5vw;
    box-shadow: rgb(0 0 0 / 10%) 0px 0px 10px 0px !important;
}

.head_menu .cat_box {
    display: flex;
    direction: rtl;
    padding: 15px 0px 15px 0px;
    width: 99.5vw;
    overflow-x: auto;
    background-color: var(--color-ffffff);
    box-shadow: 0 0 1px 0 #c2c0c0;
    border: 1px solid #5d5d5d36;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.head_menu .lessthen {
    justify-content: space-evenly;
}

.head_menu .cat_box .category {
    display: grid;
    margin: 0 10px;
    justify-items: center;
    text-align: center;
    font-size: 20px;
}

.head_menu .cat_box .category .category_img {
    border: 1px solid #c2c0c0;
    display: grid;
    justify-items: center;
    align-items: center;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.head_menu .cat_box .category_img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
.head_menu .cat_box .category_title {
    white-space: nowrap; /* جلوگیری از شکستن خط */
    overflow: visible; /* اجازه می‌دهد متن اضافی قابل مشاهده باشد */
    width: 100%; /* اطمینان از اینکه عرض کامل را می‌گیرد */
    display: block; /* اطمینان از اینکه عنصر به درستی نمایش داده می‌شود */
}


/* end header menu */

/* start items */
.back_image {
    position: relative;
    min-height: 56.5vh;
}
.back_image:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 30%;
    background-image: url('../../image/template/border1.png');
    background-repeat: repeat-y;
    background-position: 50% 0;
    background-size: contain;
}
.copyright2 {
    position: relative;
    bottom: 10px;
    min-width: 100vw;
    display: flex;
    justify-content: center;
}
.items {
    display: grid;
    justify-items: center;
    max-width: 1024px;
    margin: 0 auto; 
}


.items .cat_title {
    margin: 10px 0;
}

.items .cat_title .cat_title_fa {
    display: grid;
    position: relative;
    justify-items: end;
    font-size: 30px;
    font-family: chamran;
}

.items .cat_title .cat_title_break_line {
    width: 100%;
    height: 2px;
    background-color: #5d5d5d18;
}

.items .cat_title .cat_title_en {
    font-family: zolina;
    font-size: 24px;
}


.item {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    position: relative;
}

.discount_gif {
    width: 35px;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: 4vw;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}


.item .item_image {
    display: grid;
    justify-items: center;
    align-items: center;
    width: 25%;
    height: 100px;
}
.item .item_image {
    display: grid;
    justify-items: center;
    align-items: center;
    width: 25%;
    height: 100px;
    position: relative; /* برای موقعیت‌دهی صحیح */
}

.item .item_image .item_image_img {
    margin-left: 10px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid #c2c0c0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.item .item_detail {
    margin-right: 10px;
    text-align: right;
    align-self: center;
    direction: rtl;
    width: 69%;
    display: grid;
    margin: 0 20px;
}

.item .item_detail .item_title {
    display: flex;
    justify-content: space-between;
}

.item .item_detail .item_title_2 {
    display: grid;
}

.item .item_detail .item_title_2 {
    display: grid;
}

.item .item_detail .item_title_2 .item_title_fa {
    font-size: 25px;
    font-weight: 900;
}

.item .item_detail .item_title_2 .item_title_en {
    font-size: 14px;
    font-weight: 600;
    font-family: arial;
    text-align: left;
}

.item .item_detail .item_types {
    display: flex;
    justify-content: space-between;
}
.item .item_detail .item_types .item_types_fa {
    color: #7473738a;
}
.item .item_detail .item_types .item_types_en {
    font-family: arial;
    color: #7473738a;
}


.item .item_detail .item_price {
    display: flex;
    justify-content: space-between;
}

.item .item_detail .item_title .item_title_fa {
    font-size: 25px;
    font-weight: 900;
}

.item .item_detail .item_title .item_title_en {
    font-size: 15px;
    position: relative;
    top: 9px;
    font-family: arial;
    text-align: left;
}
.item .item_detail .item_types .item_types_en {
    font-size: 16px;
    position: relative;
    font-weight: 100;
    font-family: arialR;
    top: 3px;
    text-align: left;
}

.item .item_detail .item_price .item_price_fa {
    font-size: 16px;
    font-weight: 900;
    color:#747373d1;
    font-family: traffic;
    position: relative;
    top:8px;
    direction: rtl;
}

.item .item_detail .item_price .item_price_en {
    position: relative;
    top: 7px;
    font-size: 18px;
    font-weight: 900;
    color:#747373d1;
    font-family: arial;
}

.discount {
    color: red;
    text-decoration: line-through;
    position: relative;
    top:7px;
}

.discount_price_en {
    margin-top: 6px;
    font-size: 11px;
    font-family: arial;
    text-align: left;
}

.discount_price_fa {
    font-size: 12px;
    font-weight: 600;
    font-family: traffic;
    direction: rtl;
    position:relative;
    top:6px;

}

.item .item_description {
    text-align: right;
    font-size: 13px;
}


#myBtn {
    display: none;
    /*Hiddenbydefault*/
    position: fixed;
    /*Fixed/stickyposition*/
    bottom: 20px;
    /*Placethebuttonatthebottomofthepage*/
    right: 10px;
    /*Placethebutton30pxfromtheright*/
    z-index: 99;
    /*Makesureitdoesnotoverlap*/
    border: none;
    /*Removeborders*/
    outline: none;
    /*Removeoutline*/
    background-color: var(--color-2d4d3b);
    /*Setabackgroundcolor*/
    color: white;
    /*Textcolor*/
    cursor: pointer;
    /*Addamousepointeronhover*/
    padding: 15px;
    /*Somepadding*/
    border-radius: 50px;
    /*Roundedcorners*/
    font-size: 25px;

}

/* Select Menu Page */
.select_menu {
    display: grid;
    position: absolute;
    text-align: center;
    justify-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
}

.select_menu_img {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
}

.select_menu .select_menu_button {
    margin: 10px 0;
    border: 1px solid var(--color-2d4d3b);
    background-color: var(--color-2d4d3b);
    color: var(--color-bg);
    border-radius: 5px;
    font-family: chamran;
    font-weight: inherit;
    padding: 3px 50px;
    width: 180px;
    font-size: 24px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.select_menu_img_2 {
    position: absolute;
    width: 160px;
    height: 250px;
    bottom: 0;
    left: 50%;
    z-index:-1;
    transform: translate(-50%);
    opacity: 15%;
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -o-transform: translate(-50%);
}

/* END Select Menu Page */

/* start Main Page */

#videobcg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 667px;
    z-index: -1000;
    overflow: hidden;
    object-fit: fill;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
}

.site_header {
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 112px;
    z-index: 100;
    background-color: var(--color-bg);
    box-shadow: 0 0 1px 0 #c2c0c0;
    border: 1px solid #5d5d5d36;
}
.fixed-site-header {
    position: sticky;
    top: 0;
    padding: 0;
    box-shadow: rgb(0 0 0 / 10%) 0px 0px 10px 0px !important;
}

.site_header .logo {
    display: flex;
    justify-content: flex-start;
    position: relative;
    /* left: 40px;*/
    /*width: 33%; */
}

.site_header .logo img {
    height: 135px;
    width: 250px;
}

.site_header .links {
    display: inline-block;
    width: 33%;
    align-self: center;
}
.site_header .links ul{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    font-family: yekan;
}
.site_header .links ul li a:hover{
    color: var(--color-019fb6);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
.site_header .links ul li a:after {
    display:block;
    content: '';
    border-bottom: solid 3px var(--color-019fb6);  
    transform: scaleX(0);  
    transition: transform 250ms ease-in-out;
  }
  .site_header .links ul li a:hover:after { transform: scaleX(1); }
  .site_header .links ul li a.fromRight:after{ transform-origin:100% 50%; }
  .site_header .links ul li a.fromLeft:after{  transform-origin:  0% 50%; }

  .text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 100; /* Ensure text is above the video */
    top: 362px;
}
.text-overlay {
    font-size: 2em; /* Size of the text */
    opacity: 0;
    transition: opacity 1s ease; /* Fade in effect */
}

.text-container #text1 {
    font-family: zolina;
    font-size: 65px;
}
.text-container #text1 span{
    font-family: zolina;
    font-size: 35px;
    top: -25px;
    position: relative;
    
}
.text-container #text2 {
    font-family: zolina;
    font-size: 20px;
    font-weight: 100;
}
.text-container #text3 {
    font-family: fahk;
    font-size: 15px;
    font-weight: 100;
}
.text-container #text4{
    margin-top: 30px;
    display: grid;
    justify-content: center;
}
.text-container #text4 a{
    color: #ffffff;
    border: 1px solid var(--color-ffffff);
    background-color: #ffffff69;
    padding: 15px;
    width: 150px;
    margin-top: 30px;
    font-family: zolina;
    font-size: 22px;
    font-weight: 100;
}
.text-container #text4 a:hover{
    background-color: #2d4d3b;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}
.gapped_space {
    height: 85vh; width: 100vw; display: flex; align-items: flex-end;
}
.site_container_1 {
    display: flex;
    align-items: center;
}
.site_container_1 .slider {
    width: 50%;
}
.site_container_1 .about {
    direction: rtl;
    text-align: justify;
    width: 50%;
    margin: 0 15px;
}
.site_container_1 .about hr{
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}
.site_container_1 .digital_menu .qr {
   display: flex;
   justify-content: space-between;
   align-items: center;
}
.site_container_1 .about h1{
   font-family: chamran;
   font-weight: 900;
   font-size: 22px;
}
.site_container_1 .about span{
    color: #b09d8ca1;
    font-size: 20px;

}
.site_container_1 .digital_menu .qr img {
    width: 150px;
}

	
/*Main*/

.mySlides {display: none}


.slider_main {
max-width: 50%;
position: relative;
margin: auto;
}


.slider_main2 {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}

.fade { animation-name: fade; animation-duration: 1.5s; }
@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

.slider {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.mySlides {
    display: none; /* مخفی کردن همه اسلایدها به طور پیش‌فرض */
}

.fade {
    animation: fade 1s; /* انیمیشن محو شدن */
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #b09d8c;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #2d4d3b; /* رنگ دات فعال */
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

	
/* END Main Page */

	
/*Start Footer*/

.footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    bottom: 0;
    width: 100vw;
    height: 50px;
    border-top: 1px solid #5d5d5d10;
}


.footer .logo {
    display: flex;
    justify-content: flex-start;
    position: relative;
    left: 40px;
    align-items: center;
    width: 10%;
}
.footer .logo img{
    width: 90px;
}

.footer .contact {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    position: relative;
    right: 15px;
    width: 60%;
}


.footer .contact .address , .footer .contact .tel , .footer .contact .instagram {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
.footer .contact .address span{
    font-size: 18px;
}
.footer .contact .tel span, .footer .contact .instagram span{
    font-family: arial;
    position: relative;
    top: 3px;
}
.footer .contact .address a{
    text-align: right;
}
.footer .contact img {
    width: 33px;
}

.copyright {
    margin-top: 15px;
    position: relative;
    width: 100vw;
    display: grid;
    align-items: center;
    justify-content: center;
    bottom: 0;
    text-align: center;
}
.copyright-large {
    top: 20px;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    bottom: 0;
    text-align: center;
}
.english {
    font-family: arialR;
    font-size: 12px;
}



.hamburger-menu {
    display: none; /* Initially hidden */
    position: absolute;
    top: 42px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    z-index: 200;
}
.line {
    width: 30px;
    height: 3px;
    background-color: var(--color-b09d8c);
    margin: 5px 0;
    transition: 0.3s;
}

.menu {
    display: none; /* Initially hidden */
    position: absolute;
    top: 40px;
    right: -250px; /* Start off-screen */
    width: 250px; /* Set a width for the menu */
    background-color: var(--color-ffffff);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    transition: right 0.3s ease; /* Smooth transition */
    z-index: 100;
    transition: right 0.4s ease, opacity 0.4s ease; /* Smooth transition for both right and opacity */
    opacity: 0; /* Start with zero opacity */
    z-index: 101;
}

.menu.active {
    display: flex;
    /* Show the menu when active */
    text-align: center;
    justify-content: center;
    z-index: 101;
    right: -2px;
    top: 55px;
    /* Slide in to the right */
    opacity: 1;
    /* Fade in */
}




.menu ul {

    list-style: none;
    padding: 10px;
}

.menu ul li {
    margin: 10px 0;
}

.menu ul li a {
    color: var(--color-b09d8c);
    text-decoration: none;
    font-weight: bold;
}



@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: flex; /* Show on smaller screens */
    }
    .site_header .links {
        display: none; /* Hide the original links */
    }
}
