/*
Theme Name: Orsa book store
Description:  online shop
Design by Farzin Mojaver
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: Kalameh;
    font-style: normal;
    font-weight: normal;
    src: url('fonts/Morabba-Regular.ttf') format('truetype');	 
}
/***************************************************
				General
***************************************************/
body{
	background:#fff;
	padding:0;
	margin: 0;
	position: relative;
	font-family: "Kalameh", sans-serif;
	font-weight: 400;
	direction:rtl;
	color:#000;
}
* {
    outline: none !important;
}
*::after,
*::before {
	box-sizing: border-box;
}
ul {
	margin:0;
	padding:0;
}
li {
	list-style:none;
    color: #000;
}
a {
    font-family: 'Kalameh', sans-serif;
    font-size:16px;
    color:#000;
}
a:link {
	text-decoration: none;
    color:#000;
}
a:visited {
	text-decoration: none;
    color:#000;
}
a:focus,
a:hover {
	text-decoration: none;
    color:#000;
}
a:active {
	text-decoration: none;
    color:#000;
}
a[href^=tel]{
	color:inherit;
	text-decoration:none;
}
img {
    width: 100%;
    height: auto;
}
input, textare{
    font-family: 'Kalameh', sans-serif;
    font-size:1em;
}
textarea:focus, input:focus{
	outline: 0;
    font-family: 'Kalameh', sans-serif;
}
::-webkit-input-placeholder {
	color: #000;
    font-family: 'Kalameh', sans-serif;
}
:-moz-placeholder { /* Firefox 18- */
	color: #000;
    font-family: 'Kalameh', sans-serif;
}
::-moz-placeholder {/* Firefox 19+ */
	color: #000;
    font-family: 'Kalameh', sans-serif;
}
:-ms-input-placeholder {
	color: #000;
    font-family: 'Kalameh', sans-serif;
}
figure {
    margin: 0;
}
img {
	border:0;
	border:none;
    outline: none;
}
figure img {
	width: 100%;
    height: auto;
}
span,
p {
    font-family: 'Kalameh', sans-serif;
    font-size:16px;
    color: #000;
}
button,
span {
    font-family: 'Kalameh', sans-serif;
    font-size:16px;
}
button {
    cursor: pointer;
}
iframe {
	border:none;
}
.clear{
	clear:both;
}
.loader {
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	right:0;
	z-index:999999;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    touch-action:none;
    background: #c7d8cb;
}
.loader:before {
    content: '';
    width: 100%;
    height: 3px;
    background: #000;
    position: absolute;
    top:0;
    left: 0;
    transform: scaleX(0);
}
body.loaded .loader:before {
    animation: scaleIn .6s ease-in 0.2s forwards;
}
@keyframes scaleIn {
  100% {
      transform: scaleX(1);
  }
}
body.loaded .loader {
    opacity:0;
	z-index:-1;
}
body.loaded main {
    animation: fadeIn .4s ease-in 0.3s forwards;
}
@keyframes fadeIn {
  0% {
      opacity: 0;
      transform: translateY(40px);
  }
  100% {
      opacity: 1;
      transform: translateY(0px);
  }
}
body.loaded header {
    animation: slideDown .3s ease-in 0.3s forwards;
}
@keyframes slideDown {  
  0% {
	opacity: 0;
	transform: translateY(-40px) translatex(50%);
  }
  100% {
      transform: translateY(0) translatex(50%);
      opacity: 1;
  }
}
main {
    width: -moz-calc( 100% - 40px);
	width: -webkit-calc( 100% - 40px);
	width: -o-calc( 100% - 40px);
	width: calc( 100% - 40px);
	min-height:60dvh;
	margin:180px auto 40px auto;
	max-width:1430px;
	opacity: 0;
	transform: translateY(40px);
}
/***************************************************
				header
***************************************************/
header {
    width: -moz-calc( 100% - 40px);
	width: -webkit-calc( 100% - 40px);
	width: -o-calc( 100% - 40px);
	width: calc( 100% - 40px);
	max-width:1430px;
	display:flex;
	justify-content:center;
    background: #c7d8cb !important;
	padding:20px 0 10px 0;
	position:fixed;
	top:20px;
	right:50%;
	z-index:999;
	opacity: 0;
	transform: translateY(-40px) translatex(50%);
	transition:all .3s ease;
	border-radius:8px;
}
body.scrolled header {
	top:-70px;
}
.header-wrap {
    width: -moz-calc( 100% - 20px);
	width: -webkit-calc( 100% - 20px);
	width: -o-calc( 100% - 20px);
	width: calc( 100% - 20px);
	max-width:1400px;
	margin:0 auto;
	display:flex;
	flex-direction:column;
	padding:0 10px;
}
.header-top {
    width: 100%;
	display:flex;
	justify-content:space-between;
	align-items:end;
	margin-bottom:20px;
}
.header-top #logo {
	width:70px;
}
.header-search-wrap {
	display:flex;
	justify-content:end;
	align-items:center;
}
.header-search-wrap a {
	color:#000;
	border:1px solid #000;
	margin-right:10px;
	border-radius:8px;
	padding:5px 10px;
}
.header-search-wrap .search-form input[type="text"] {
	border:none;
    background: transparent;
	border-radius:0;
	padding:5px;
	border:none;
	border-bottom:1px solid #000;
}
.header-search-wrap .search-form input[type="submit"] {
	display:none;
}
.header-nav {
    width: -moz-calc( 100% - 20px);
	width: -webkit-calc( 100% - 20px);
	width: -o-calc( 100% - 20px);
	width: calc( 100% - 20px);
	display:flex;
	justify-content:space-between;
    background: #eaf3ed;
	border-radius:8px;
	padding:10px;
	position:relative;
}
.header-nav ul {
	display:flex;
	justify-content:flex-start;
}
.header-nav ul li {
	margin-left:20px;
}
.basket-wrap label {
	font-size:12px;
	display:inline-block;
	margin-right:5px;
}
.nav-overlay,
#burger {
	display:none;
}
/***************************************************
				product slider
***************************************************/
.product-slider-wrap {
    width: 100%;
	max-width:1400px;
	margin:20px auto;
}
.product-slider-title {
	display:flex;
	justify-content:space-between;
	align-items:center;
	margin-bottom:40px;
	padding-bottom:10px;
	border-bottom:1px solid #000;
}
.product-slider-title h2 {
	margin:0;
	font-size:20px;
}
.product-slider-title a.more {
	background:#eaf3ed;
	border-radius:8px;
	padding:5px 10px;
}
.product-slider {
    width: -moz-calc( 100% - 40px);
	width: -webkit-calc( 100% - 40px);
	width: -o-calc( 100% - 40px);
	width: calc( 100% - 40px);
	margin:0 auto;
}
.slick-slider .slick-next,
.slick-slider .slick-prev {
	width: 24px;
	height:24px;
	font-size:0;
	border:none;
	background:url(images/next.svg);
}
.slick-slider .slick-next:before,
.slick-slider .slick-prev:before {
	display:none !important;
}
.slick-slider .slick-prev {
	transform:rotate(-90deg);
}
.slick-slider .slick-next {
	transform:rotate(90deg);
	
}
.product-list li a,
.slick-slider li a {
    width: -moz-calc( 100% - 40px);
	width: -webkit-calc( 100% - 40px);
	width: -o-calc( 100% - 40px);
	width: calc( 100% - 40px);
	margin:0 20px;
}
.product-list li a figure,
.slick-slider li a figure {
    width: -moz-calc( 100% - 80px);
	width: -webkit-calc( 100% - 80px);
	width: -o-calc( 100% - 80px);
	width: calc( 100% - 80px);
	margin:0 auto;
}
.product-list li a figure img,
.slick-slider li a figure img {
	transition:all .3s ease;
	border-radius:8px 8px 0 0 ;
	height:340px;
	width:auto;
	margin:0 auto;
}
.product-list li a:hover figure img,
.slick-slider li a:hover figure img {
	transform:translatey(-20px);
}
.product-list li a .book-info,
.slick-slider li a .book-info {
    width: -moz-calc( 100% - 40px);
	width: -webkit-calc( 100% - 40px);
	width: -o-calc( 100% - 40px);
	width: calc( 100% - 40px);
	min-height:100px;
	padding:10px;
	transform:translatey:20px;
	background:#eaf3ed;
	border-radius: 0 0 8px 8px ;
	position:relative;
	z-index:2;
	margin:0 auto;
	display:flex;
	flex-direction:column;
	direction:rtl;
	transform:translatey(-60px);
	transition:all .3s ease;
    border-top: 3px solid  #c7d8cb;
}
.product-list li a:hover .book-info,
.slick-slider li a:hover .book-info {
    background: #c7d8cb !important;
    border-top: 3px solid  #000 !important;
}
.product-list li a .book-info label,
.slick-slider li a .book-info label {
	font-size:14px;
}
.product-list li a .book-info label:first-child,
.slick-slider li a .book-info label:first-child {
	margin-bottom:10px;
	font-size:18px;
}
.sp-price,
.product-list li a .book-info .ostack,
.product-list li a .book-info .pprice,
.slick-slider li a .book-info .ostack,
.slick-slider li a .book-info .pprice {
	margin-top:10px;
    width: fit-content;
}
.sp-price span.woocommerce-Price-currencySymbol,
.product-list li a .book-info .pprice span.woocommerce-Price-currencySymbol,
.slick-slider li a .book-info .pprice span.woocommerce-Price-currencySymbol {
	float:left;
	margin-right:10px;
}
.product-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/***************************************************
				product slider
***************************************************/
.product-content {
	display:flex;
	max-width:620px;
	margin:0 auto;
}
.product-img {
	width:300px;
	border-radius:8px;
	overflow:hidden;
	margin-left:20px;
}
.product-info {
	width:260px;
    background: #eaf3ed;
	border-radius:8px;
	padding:20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-info h1 {
	margin:0 0 20px 0;
	font-size:18px;
	padding-bottom:10px;
	border-bottom:1px solid #000;
}
.product-info ul.product-details li  {
	margin-bottom:5px;
}
.product-info ul.product-details li a {
	text-decoration:underline;
}
.product-cart form {
	display:flex;
	margin-top:20px;
	padding-top:10px;
	justify-content:space-between;
}
.product-info .qib-button-wrapper {
	float:right;
	margin:5px 0;
}
.qib-button-wrapper div.quantity.wqpmb_quantity  {
	height:30px !important;
}
.product-info .qib-button-wrapper .quantity input.input-text.qty.text {
	width:30px !important;
	height:30px !important;
	padding:4px !important;
	font-size:16px !important; 
	background:transparent !important;
}
.product-info .qib-button{
	width:30px !important;
	height:30px !important;
	padding:4px !important;
	font-size:20px !important; 
	background:transparent !important;
}
.single_add_to_cart_button {
	width:fit-content;
	padding:4px 10px !important;
	border:none !important;
	border-radius:8px !important;
    background: #c7d8cb !important;
}
.sp-price {
    width: fit-content !important;
    display: block;
	margin-top:20px;
}
/***************************************************
				login
***************************************************/
.login-wrap {
	display:flex;
	justify-content:center;
	transform:translatey(-60px);
}
.digits_embed-form {
	display:flex;
	justify-content:center;
}
.login-wrap * {
	font-family:'kalameh';
	font-size:16px !important;
}
.show_register {
	font-size:16px !important;
}
.digits-form_button,
.digits-form_button[type="submit"] {
	background:#c7d8cb !important
}
.digits2_box .digits-form_input input,
.digits2_box .digits-form_input input:focus,
.digits2_box .digits-form_input input:active,
.digits2_box .digits-form_input textarea,
.digits2_box .digits-form_input textarea:focus,
.digits2_box .digits-form_input textarea:active,
.digits2_box .digits-form_input input[type="text"],
.digits2_box .digits-form_input input[type="text"]:focus,
.digits2_box .digits-form_input input[type="text"]:active,
.digits-form_login .digits-form_input input[type="tel"],
.digits-form_login .digits-form_input input[type="email"],
.digits-form_register .digits-form_input input[type="tel"],
.digits-form_register .digits-form_input input[type="email"] {
	border: 1px solid #c7d8cb !important;
}
html[dir="rtl"] .digits_password_inp_row input[type="password"] {
    padding-right: 16px !important;
    padding-left: 44px !important;
}
html[dir="rtl"] .digits_password_eye {
    left: 14px !important;
    right: unset !important;
}
.digits-form_tab-bar {
	justify-content:space-between;
}
.digits-form_passwordless_login,
.digits-form_login_separator {
	display:none !important;
}
/***************************************************
				woo
***************************************************/
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
	border-radius:8px !important;
    background: #c7d8cb !important;
}
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    background: #eaf3ed !important;
}
.wc-block-components-checkout-place-order-button__text {
	color:#000 !important;
}
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
    margin: 0 0 8px 16px !important;
}
.wc-block-checkout__sidebar {
	top: 84px !important;
}
@media screen and (min-width: 700px) {
    .wc-block-checkout__sidebar {
        top: 84px !important;
    }
}
.woocommerce-MyAccount-navigation ul {
    width: -moz-calc( 100% - 20px);
	width: -webkit-calc( 100% - 20px);
	width: -o-calc( 100% - 20px);
	width: calc( 100% - 20px);
	display:flex;
	justify-content:start;
    background: #eaf3ed;
	border-radius:8px;
	padding:10px;
	position:relative;
}
.woocommerce-MyAccount-navigation ul li {
    margin-left: 20px;
}
.woocommerce-MyAccount-navigation-link--downloads {
	display:none;
}
.woocommerce-Button,
.wc-forward {
    background: #c7d8cb !important;
}
/***************************************************
				footer
***************************************************/
footer {
    width: -moz-calc( 100% - 80px);
	width: -webkit-calc( 100% - 80px);
	width: -o-calc( 100% - 80px);
	width: calc( 100% - 80px);
	max-width:1400px;
	padding:20px;
	display:flex;
	justify-content:space-between;
	align-items:flex-end;
	margin:20px auto 0 auto;
    background: #c7d8cb;
	border-radius:8px 8px 0 0;
}	
footer ul {
	display:flex;
	flex-direction:column;
	justify-content:end;
}
footer ul li {
	margin-top:5px;
}
.footer-logo img {
	width:auto;
	height:300px;
    transform: translateY(5px);
}
.tag-line {
    width: -moz-calc( 100% - 80px);
	width: -webkit-calc( 100% - 80px);
	width: -o-calc( 100% - 80px);
	width: calc( 100% - 80px);
	max-width:1400px;
	padding:20px;
	margin:0 auto 20px auto;
	border-radius: 0 0 8px 8px;
    background: #c7d8cb;
	display:flex;
	justify-content:space-between;
	position:relative;
}
.tag-line:before {
	content:'';
	display:block;
    width: -moz-calc( 100% - 40px);
	width: -webkit-calc( 100% - 40px);
	width: -o-calc( 100% - 40px);
	width: calc( 100% - 40px);
	height:1px;
	background:#000;
	position:absolute;
	top:0;
	left:20px;
}
#toTop {
	cursor:pointer;
	display:fl
}
#toTop img {
    width: 20px;
    height: 20px;
    transform: rotate(180deg) translateY(-5px);
    margin-left: 5px;
}

@media screen and (max-width: 960px) {
    
}
@media screen and (max-width: 640px) {
	.products-list li {
		flex: 0 0 100%;
	}
}



.fancybox-button--play,
.fancybox-button--fullscreen,
.fancybox-button--thumbs {
    display: none !important;
    visibility: hidden!important;
    opacity: 0 !important;
}
.fancybox-bg {
    background: #fff !important;
    opacity: .95 !important
}
.fancybox-button,
.fancybox-infobar__body {
    background: rgb(255,255,255, .1)!important;
}
.fancybox-infobar__body,
.fancybox-button {
    color:#000;
}