/* create and design by mirian head of https://caktoos.ir  */


@font-face {
    src: url('../fonts/IRANSansWeb.eot');
    src: url('../fonts/IRANSansWeb.woff') format('woff');
    src: url('../fonts/IRANSansWeb.ttf') format('truetype');
    font-family: 'IRANSansXFaNum';
    font-weight: normal;
    font-style: normal;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 16px;
}

body {
    margin: 0;
    font-family: IRANSansXFaNum;
    background: #f5f5f5;
    font-size: 1rem; line-height: 1.8;
}
input,textarea,p,h1,h2,h3,h4,h5,h6{
    font-family: IRANSansXFaNum;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
    padding: 12px;
}

img, video {
    max-width: 100%;
    height: auto;
}
header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 15px;
    padding: 0 5%;
}
header h1{
    font-size: 20px;
    margin: 0;
    color: #360009;
    font-weight: bold;
}
header .cnt{
    margin-right: 24%;
}
.srch{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 20px;
}
.srchinp{
    border: solid 1px #b0b0b0;
    padding: 5px 5px 8px;
    border-radius: 5px;
    width: 90%;
    box-shadow: 2px 4px 5px 0px #d1cfcf;
    background-color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
.srchinp input[type=search]{
    border: none;
    outline: none;
    width: 95%;
    font-size: 16px;
}
.srchinp i{
    margin-top: 6px;
    margin-left: 10px;
    margin-right: 5px;
    color: #656464;
}
.swiper {
    width: 95%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.Social{
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
.Social img{
    width: 25px;
}
.Social a{
    margin-right: 10px;
}
.category-menu {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-menu::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex: 0 0 90px;
    text-decoration: none;
    color: #333;
    text-align: center;
}

.category-item img {
    display: block;
    width: 90px;
    height: 92px;
    object-fit: contain;
    border-radius: 10px;
}

.category-item span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
}
.titles{
    margin: auto;
    width: 95%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 10px;
}
.titles p{
    color: #480915;
    font-weight: bold;
    width: fit-content;
    text-align: center;
    margin: 0;
}
.titles .lines{
    border-top: 2px solid #000000;
    margin-top: 14px;
    height: 0;
    width: 20px;
    margin-left: 12px;
    margin-right: 12px;
}
.mstore{
    width: 95%;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
.mstore .items{
    width: 48%;
    padding: 2%;
    background-color: #f1efef;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    box-shadow: 4px 5px 5px #d8d8d8;
    border-radius: 9px;
}
.mstore .items img{
    box-shadow: 2px 3px 4px 0px #c6c2c2;
    border-radius: 9px;
}
.mstore .items h1{
    color: #350008;
    font-size: 17px;
    font-weight: bold;
    margin: auto;
    margin-top: 6px;
    width: 97%;
}
.mstore .items h2{
    margin: auto;
    width: 94%;
    font-size: 8px;
    color: #9d9d9d;
}
.mstore .items h3{
    margin: auto;
    width: 94%;
    font-size: 12px;
    color: #1a1a1a;
}
.copyright{
    width: 95%;
    margin: auto;
    margin-bottom: 15px;
    margin-top: 65px;
}
.copyright h1{
    font-size: 11px;
    color: #9b9b9b;
    width: 100%;
    text-align: center;
}
.copyright h1 a{
    text-decoration: none;
    color: #49a600;
}
footer{
    position: fixed;
    bottom: 5%;
    left: 8%;
    width: 85%;
    background-color: #320007;
    padding: 6px 20px;
    border-radius: 10px;
}
footer .btnmenu{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    flex-direction: row-reverse;
}
footer .btnmenu a{
    text-decoration: none;
    color: #fff;
    font-size: 25px;
}
footer .btnmenu a i{
    margin-top: 10px;
}
.sidebar {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000000c2;
    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    transition:
            opacity 0.3s ease,
            visibility 0s linear 0.35s;
}

.sidebar .side {
    position: absolute;
    background-color: #fff;
    top: 0;
    right: 0;
    height: 100%;
    width: 55%;

    transform: translateX(100%);
    transition: transform 0.35s ease;
}

.sidebar.show {
    opacity: 1;
    visibility: visible;
    transition:
            opacity 0.3s ease,
            visibility 0s;
}

.sidebar.show .side {
    transform: translateX(0);
}

.sidebar .side .sidetitle{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 12px 12px;
}
.sidebar .side .sidetitle h1{
    font-size: 16px;
    margin: 0;
}
.sidebar .side .sidetitle i{
    margin-top: 6px;
}
.sidebar .side ul{
    list-style: none;
    padding: 0px 13px;
    margin: 0;
}
.sidebar .side ul li{
    border-bottom: solid 1px #dddddd;
    padding: 13px 0;
}
.sidebar .side ul li:first-child{
    border-top: solid 1px #8f8f8f;
}
.sidebar .side ul li a{
    text-decoration: none;
    color: black;
}
.sidebar .side .sidesosial{
    margin: auto;
    width: 89%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 11px;
    margin-top: 15px;
}
.sidebar .side .sidesosial a{

}
.sidebar .side .sidesosial a img{
    width: 25px;
}