/* CSS */
/*
Theme Name: Mivrun
Description:  official website
Design by farzin 
Designer URI: https://www.linkedin.com/in/farzin-mojaver-a687871a7/
Developed by Farzin Mojaver
Developer URI: https://www.linkedin.com/in/farzin-mojaver-a687871a7/
Version: 1.0
*/
@font-face {
	font-family: Yekan;
	font-style: normal;
	font-weight: normal;
	src: url('fonts/YekanBakhRegular.otf') format('opentype');
}
@font-face {
	font-family: YekanB;
	font-style: normal;
	font-weight: bold;
	src: url('fonts/YekanBakhHeavy.ttf') format('truetype');
}
/***************************************************
				General
***************************************************/
body {
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Yekan';
    font-size: 18px;
    -webkit-text-size-adjust: 100%;
    direction: rtl;
    scroll-behavior: smooth;
    background-color: #fff !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: block;
    color:#647e42;
}
* {
    outline: none;
}

*::after,
*::before {
    box-sizing: border-box;
}
input:focus {
    outline: none !important;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
  }
ul {
    margin: 0;
    padding: 0;
    
}

li {
    list-style: none;   
}

a {
    font-family: 'Yekan';
    font-size: 16px;
    cursor: pointer;   
}

a:link {
    text-decoration: none;
    color: #647e42;
    cursor: pointer;
    font-family: 'Yekan';
}

a:visited {
    text-decoration: none; 
    color: #647e42;  
    font-family: 'Yekan';   
}

a:focus,
a:hover {
    text-decoration: none;  
    font-family: 'Yekan';
}

a:active {
    text-decoration: none;   
    color: #647e42;
    font-weight: normal;
    font-family: 'Yekan';
}
a[href^=tel] {
    color: #647e42;
    text-decoration: none;
}

input,
textarea {
    font-family: 'Yekan', sans-serif;
    font-size: 16px;
}

textarea:focus,
input:focus {
    outline: 0;
    font-family: 'Yekan', sans-serif;
    color: #ccc !important;
}

::-webkit-input-placeholder {
    color: #ccc !important;
    font-family: 'Yekan', sans-serif;
}
:-moz-placeholder {
    color: #ccc !important;
    font-family: 'Yekan', sans-serif;
}
::-moz-placeholder {
    color: #ccc !important;
    font-family: 'Yekan', sans-serif;
}
input::placeholder {
    color: #ccc !important;
    font-family: 'Yekan', sans-serif;
}
:-ms-input-placeholder {
    color: #ccc !important;
    font-family: 'Yekan', sans-serif;
}

figure {
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    outline: none;
}

figure img {
    width: 100%;
    height: auto;
}

span,
p {
    font-family: "Yekan"; 
    color:#647e42;
}
.body-invert span,
.body-invert p {
    color: #000;
}
p {
    margin-top: 0;
}

iframe {
    border: none;
}

.clear {
    clear: both;
}
.loading {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    position: fixed;
    top:0;
    left: 0;
    transition: all .3s ease;
}
.loading.loaded {
    transform: translateY(-400%);
}
.loading img {
    max-width: 200px;
    margin-bottom: 40px;
}
/***************************************************
				    Header 
***************************************************/
header {
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: calc(100% - 40px);
    background: #fff;
    padding: 30px 20px;
    position: sticky;
    top:0;
    transition: all .3s ease;
    z-index: 98;
}
.header-wrap {
    max-width: 1200px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}
.logo {
    width: 120px;
    transition: all .3s ease;
}
body.page-scrolled header {
    padding: 10px 20px;
}
body.page-scrolled .logo {
    width: 80px;
    height: auto;
}
.header-wrap nav {
    display: flex;
    justify-content: end;
}
.header-wrap nav li {
    margin-right: 5vw;
}
.header-wrap nav li a {
    font-size: 20px;
    color:#647e42;
    transition: all .3s ease-in;
}
.header-wrap nav li a:focus,
.header-wrap nav li a:hover {
    color:#ee3c23;
}

#burger {
    display: none;
}
.nav-overlay {
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: calc(100% - 40px);
    height: -moz-calc(100dvh - 200px);
    height: -webkit-calc(100dvh - 200px);
    height: -o-calc(100dvh - 200px);
    height: calc(100dvh - 200px);
    background: #fff;
    position: fixed;
    top:0;
    transform: translateY(-400%);
    transition: all .3s ease;
    padding: 180px 20px 20px 20px;
    display: flex;
    flex-direction: column;
}
.nav-overlay li {
    margin-bottom: 10px;
}
.nav-overlay li a {
    font-size: 20px;
}
.nav-overlay.actv {
    transform: translateY(0);
}
/***************************************************
				    slider 
***************************************************/
.slider-wrap {
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: calc(100% - 40px);
    height: -moz-calc(100dvh - 150px);
    height: -webkit-calc(100dvh - 150px);
    height: -o-calc(100dvh - 150px);
    height: calc(100dvh - 150px);
    background-color: #dadfe3;
    position: relative;
    direction: ltr;
    padding: 0 20px;
}
.home-slider {
    direction: ltr;
    position: relative;
    margin: 0 auto;
}
.home-slide-in {
    height: -moz-calc(100dvh - 150px);
    height: -webkit-calc(100dvh - 150px);
    height: -o-calc(100dvh - 150px);
    height: calc(100dvh - 150px);
    max-width: 1200px;
    margin: 0 auto;
    display: flex !important;
    justify-content: space-between!important;
    align-items: center !important;
}
.home-slide figure {
    width: calc(60% - 20px);
    margin: 0;
}

.home-slide figure img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100dvh - 150px);
    object-fit: contain;
}
.home-slide-content {
    width: -moz-calc(40% - 80px);
    width: -webkit-calc(40% - 80px);
    width: -o-calc(40% - 80px);
    width: calc(40% - 80px);
    direction: rtl;
    display: flex;
    flex-direction: column;
    padding-right: 60px;
}
.home-slide h2{
    color: #0d9347;
    font-size: 32px;
}
.home-slide-content a {
    width: fit-content;
    display: block;
    background: #0d9347;
    color:#fff;
    border-radius: 4px;
    padding: 5px 10px;
}
/***************************************************
				    Products 
***************************************************/
.products-title {
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: calc(100% - 40px);
    max-width: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 80px auto  40px auto;
}
.products-title h1 {
    margin: 0 auto 10px auto;
    color:#0d9347;
    font-size: 24px;
}
.products-info,
.products-wrap {
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: calc(100% - 40px);
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 40px auto;
}
.products-wrap {
    width: -moz-calc(100% - 20px);
    width: -webkit-calc(100% - 20px);
    width: -o-calc(100% - 20px);
    width: calc(100% - 20px);
    max-width: 1240px;
    margin: 40px auto;
    justify-content: center;
}
.products-wrap a {
    flex: 0 0 calc(33.33% - 40px);
    border-radius: 14px;
    -webkit-box-shadow: 0px 0px 10px 4px rgba(0,0,0,0.09); 
    box-shadow: 0px 0px 10px 4px rgba(0,0,0,0.09);
    overflow: hidden;
    transition: all .3s ease;
    margin: 0 20px 40px 20px;
}
.products-wrap a:focus,
.products-wrap a:hover {
    -webkit-box-shadow: 0px 0px 10px 4px rgba(0,0,0,0.12); 
    box-shadow: 0px 0px 10px 4px rgba(0,0,0,0.12);
}
.products-wrap a figure {
    border-radius: 14px 14px 0 0;
    overflow: hidden;
}
.products-wrap a figure img {
    transition: all .3s ease;
}
.products-wrap a:focus figure img,
.products-wrap a:hover figure img {
    transform: scale(1.03);
}
.products-wrap a label {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 18px;
}
.products-wrap a label p {
    min-height: 80px;
    margin-top: 10px;
}
.products-info {
    margin: 80px auto;
    clear: both;
}
.products-info li {
    flex: 0 0 calc(20% - 1px);
    border-left: 1px solid #b1bea0;
    display: flex;
    flex-direction: row-reverse;;
    justify-content: center;
    align-items: center;
}
.products-info li:last-child {
    border-left: none !important;
}
.products-info li figure {
    width: 46px;
    height: 46px;
    margin: 0 20px 0 0;
}
.products-info li figure svg {
    width: 46px;
    height: 46px;
}

/***************************************************
				product 
***************************************************/
.single-product-wrap {
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 100px auto 40px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.single-product-info {
    flex: 0 0 calc(50% - 20px);
}
.single-product-gallery {
    flex: 0 0 calc(50% - 20px);
    width: -moz-calc(50% - 20px);
    width: -webkit-calc(50% - 20px);
    width: -o-calc(50% - 20px);
    width: calc(50% - 20px);
}
.single-product-gallery-in {
    width: 100%;
    direction: ltr;
    position: relative;
}
.slick-arrow {
    width: 32px;
    height: 32px;
    font-size: 0;
    border:none !important;
    background: transparent !important;
    position: absolute;
    top:50%;
    margin-top: -16px;
    z-index: 9;
    cursor: pointer;
}
.slick-next {
    right: 0;
}
.slick-prev {
    right:100%;
    transform: translateX(32px) rotate(180deg);
}
.slick-next::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%238899a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.slick-prev::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%238899a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
/***************************************************
				    About 
***************************************************/
.about-wrap {
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: calc(100% - 40px);
    max-width: 960px;
    margin: 80px auto;
}
.about-wrap h2,
.about-wrap h1 {
    text-align: center;
    font-size: 20px;
}

.why-wrap {
    width: -moz-calc(100% - 120px);
    width: -webkit-calc(100% - 120px);
    width: -o-calc(100% - 120px);
    width: calc(100% - 120px);
    min-height: 50vh;
    background-color: #dadfe3;
    padding: 20px 60px;
    margin: 40px auto;
    background-image: url(http://localhost:8888/mivrun/wp-content/uploads/2026/06/DSC0108.jpg);
    background-position:  80% center;
    display: flex;
    justify-content: end;
    align-items: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.why-content {
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: calc(100% - 40px);
    max-width: 960px;
    margin: 40px auto;
    display: flex;
    align-items: end;
    flex-direction: column;
}
.why-wrap h3 {
    width: 40%;
    color:#0d9347;
    text-align: center;
    font-size: 24px;
}
.why-wrap p {
    width: 40%;
    text-align: center;
    font-size: 18px;
}
.wp-block-ub-content-toggle-accordion .wp-block-ub-content-toggle-accordion-title {
    padding: 10px !important;
}
.wp-block-ub-content-toggle-accordion {
    border: 2px solid #647e42 !important;
}
.wp-block-ub-content-toggle-accordion-title-wrap .wp-block-ub-content-toggle-accordion-toggle-wrap {
    align-items: center !important;
    padding-top: 0 !important;
}
/***************************************************
				    Footer 
***************************************************/
footer {
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: calc(100% - 40px);
    background:#dce0e5;
    padding: 40px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
footer h3 {
    color:#647e42;
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 22px;
}
.smedia {
    width: 102px;
    height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.smedia li,
.smedia li a {
    width: 24px;
    height: 24px;
    display: flex;
}
.smedia li a svg {
    width: 24px;
    height: 24px;
}
@media only screen and (max-width: 960px) {
    .why-wrap {
        width: -moz-calc(100% - 40px);
        width: -webkit-calc(100% - 40px);
        width: -o-calc(100% - 40px);
        width: calc(100% - 40px);
        background-position: 100% center;
        padding: 20px;
    }
    .why-wrap h3,
    .why-wrap p {
        width: 320px;
    }
    .products-wrap {
        justify-content: center;
    }
    .products-wrap a {
        flex: 0 0 calc(50% - 20px);
        margin: 0 10px 40px 10px;
    }
    .products-info {
        max-width: 240px;
        flex-direction: column;
    }
    .products-info li {
        width: 240px;
        border-left: none;
        border-bottom: 1px solid #b1bea0;
        padding-bottom: 10px;
        margin-bottom: 10px;
        justify-content: space-between;
    }
}
@media only screen and (max-width: 760px) {
    .header-wrap nav {
        display: none;
    }
    #burger {
        width: 24px;
        height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }    
    #burger span {
        width: 24px;
        height: 2px;
        background: #3b591e;
        transition: all .3s ease;
        border-radius: 1px;
        cursor: pointer;
    }
    #burger.actv span:nth-child(1) {
        transform: translateY(11px);
    }
    #burger.actv span:nth-child(3) {
        transform: translateY(-11px);
    }
    .single-product-wrap {
        flex-direction: column-reverse;
    }
    .single-product-gallery,
    .single-product-info {
        width: 100%;
    }
    .home-slide-in {
        flex-direction: column;
    }
    .home-slide-in {
        justify-content: center !important;
    }
    .home-slide figure {
        width: calc(80% - 20px);
    }
    .home-slide-content {
        width: -moz-calc(100% - 40px);
        width: -webkit-calc(100% - 40px);
        width: -o-calc(100% - 40px);
        width: calc(100% - 40px);
        flex-direction: column;
        padding-right: 0;
        justify-content: center;
        align-items: center;
    }
    .home-slide-content p,
    .home-slide h2 {
        text-align: center;
    }
}
@media only screen and (max-width: 580px) {
    .slider-wrap {
        width: -moz-calc(100% - 20px);
        width: -webkit-calc(100% - 20px);
        width: -o-calc(100% - 20px);
        width: calc(100% - 20px);
        padding: 0 10px;
    }
    .home-slide h2 {
        font-size: 28px;
    }
    .home-slide figure {
        width: calc(90% - 20px);
    }
    .why-wrap {
        height: 80vh;
        align-items: start;
        background-size: 70%;
        background-position: bottom center;
    }
    .why-content {
        margin-top: 60px;
    }
    .why-wrap h3,
    .why-wrap p {
        width: 100%;
    }
    .products-wrap {
        width: -moz-calc(100% - 40px);
        width: -webkit-calc(100% - 40px);
        width: -o-calc(100% - 40px);
        width: calc(100% - 40px);
    }
    .products-wrap a {
        flex: 0 0 100%;
        margin: 0 0 40px 0;
    }
}
@media (max-width: 374.98px) {
    .wp-block-ub-content-toggle-accordion .wp-block-ub-content-toggle-accordion-title {
        padding: 10px !important;
    }
}
.fancybox-button,
.fancybox-infobar__body,
.fancybox-bg {
    background: rgba(255,255,255, 0.95) !important;
}
.fancybox-button--close:after,
.fancybox-button--close:before {
    background: #647e42 !important;
 }
 .fancybox-button--left:after, .fancybox-button--right:after {
    background: transparent;
    border-top: 2px solid #647e42 !important;
    border-right: 2px solid #647e42 !important;
}
 .fancybox-button--fullscreen,
.fancybox-button--play,
.fancybox-button--thumbs {
    display: none !important;
}