/*
Theme Name: MohsenJalali-2
Theme URI: https://mohsenjalali.co
Author: Virak
Author URI: https://virak.net
Description: We build all designs with love and the hope that our customers will succeed in their work.
Requires at least: 6.4
Tested up to: 6.4.3
Requires PHP: 8.1
Version: 1.0
License: © 2024 MohsenJalali. All rights reserved.
*/

@import url(./assets/css/__wordpress.css);

/* fonts */
@font-face {
  font-family: "Shabnam-Light";
  font-weight: 400;
  font-style: normal;
  src: url("./assets/fonts/Shabnam-Light.woff") format("woff");
  src: url("./assets/fonts/Shabnam-Light.woff2") format("woff2");
}

@font-face {
  font-family: "Shabnam-Bold";
  font-weight: 700;
  font-style: normal;
  src: url("./assets/fonts/Shabnam-Bold.woff") format("woff");
  src: url("./assets/fonts/Shabnam-Bold.woff2") format("woff2");
}

body,
button {
  font-family: "Shabnam-Light";
}

.fw-bold {
  font-family: "Shabnam-Bold" !important;
}

/*  PREVENT TEXT SIZE SCALLING */

/* iPhone, portrait & landscape. */
@media all and (max-device-width: 480px) {
  html,
  body,
  p {
    text-size-adjust: none !important;
    -webkit-text-size-adjust: none !important;
    -moz-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
  }
}

/* iPad, portrait & landscape. */
@media all and (min-device-width: 768px) and (max-device-width: 1024px) {
  html,
  body,
  p {
    text-size-adjust: none !important;
    -webkit-text-size-adjust: none !important;
    -moz-text-size-adjust: none !important;
    -ms-text-size-adjust: none !important;
  }
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: inherit;
}

/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
  2. Remove default margin
*/
* {
  margin: 0;
}

/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
  5. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
}

/*
  6. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
  font: inherit;
}

/*
  7. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: auto;
  line-height: 2.4rem;
}

/*
  8. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

html {
  box-sizing: border-box;
}

.btn-check:focus + .btn,
.btn:focus {
  box-shadow: none;
}

figure {
  margin: 0;
}

/* Typography */
html {
  font-size: 62.5%;
}

/* root */
:root {
  /* font size */
  --fs-p: 1.3rem;
  --fs-title: 2.5rem;
  --h1: 2.8rem;
  --h1-d: 4.2rem;
  --fs-p-d: 1.4rem;

  /* colors */
  --color-primary: #00a693;
  --color-dark: #1e1e1e;
  --color-light: #515151;
  --color-del: #adadad;
  /* transition */
  --transition: all ease 0.3s;
}

body {
  background-color: rgb(47 47 47);
  color: #fff;
  font-size: var(--fs-p);
}

p {
  font-size: var(--fs-p);
}

h1 {
  font-size: var(--h1);
}

h2 {
  font-size: var(--fs-title);
}

ul {
  margin: 0;
  padding: 0;
}

/* root class */
.fs-p {
  font-size: var(--fs-p);
}

.img--fluid {
  width: 100% !important;
  height: 100% !important;
}

.fs-title {
  font-size: var(--fs-title);
}

.color--primary {
  color: var(--color-primary);
}

.color--dark {
  color: var(--color-dark);
}

.color--light {
  color: var(--color-light);
}

.color--del {
  color: var(--color-del);
}

.box--light {
  background: var(--color-light);
}

.box--dark {
  background: var(--color-dark);
}

.box--primary {
  background: var(--color-primary);
}

.mt-6 {
  margin-top: 5rem;
}

@media screen and (min-width: 992px) {
  body {
    font-size: var(--fs-p-d);
  }

  p {
    font-size: var(--fs-p-d);
  }

  h1 {
    font-size: var(--h1-d);
  }

  .fs-p {
    font-size: var(--fs-p-d);
  }

  .mt-6 {
    margin-top: 6rem;
  }
}

/*------------------ navbar ------------------*/
.owl-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 1.5rem;
}

.owl-dots button span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #fff;
}

.owl-dots button.active {
  border: 2px solid #fff !important;
  border-radius: 999px;
}

.owl-dots button.active span {
  margin: 4px;
}

.owl-stage-outer {
  border-radius: 1.5rem;
}

.owl-hero img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 1.5rem;
  object-fit: cover;
}

.navbar-wrapper {
  z-index: 99;
}

.web-title {
  font-family: "Koulen", sans-serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 2.6rem;
}

nav.navbar-wrapper {
  height: 70px;
}

nav .navbar {
  border-radius: 0 0 18px 18px;
}

.search-navbar__btn,
.cart-navbar__btn {
  border-radius: 12px;
  min-width: 130px;
}

.canvas-menu__btn {
  border-radius: 12px;
  min-width: 82px;
}

.cart-counter {
  width: 20px;
  height: 20px;
  font-size: 12px;
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: #cb0101;
  color: #fff;
  border-radius: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

picture.header--bg {
  width: 100%;
  position: absolute;
  top: 0;
  z-index: -1;
  height: 100%;
  background-color: #b2dfdb;
}

picture.header--bg::after {
  content: "";
  display: inline-block;
  background: url(assets/images/header-shape-svg.svg) no-repeat;
  background-size: contain;
  width: 100%;
  height: 27vw;
  position: absolute;
  bottom: -5px;
  right: 0;
}

.pattern-svg {
  position: absolute;
  bottom: -2%;
  right: 3%;
  z-index: 1;
}

picture.header--bg img {
  object-fit: cover;
  filter: brightness(0.5);
}

picture.header--bg figcaption {
  position: absolute;
  top: 70%;
  right: 0;
}

picture.header--bg figcaption h1 {
  line-height: 42px;
}

picture.header--bg figcaption h1,
picture.header--bg figcaption p {
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.65));
}

/* responsive shape */
@media screen and (min-width: 992px) {
  picture.header--bg::after {
    background: url(assets/images/header-d-shape-svg.svg) no-repeat;
    background-size: contain;
    width: 100%;
    height: 13vw;
    position: absolute;
    bottom: -10px;
    right: 0;
  }

  picture.header--bg figcaption {
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    text-align: center;
  }

  picture.header--bg figcaption h1 {
    line-height: 6rem;
  }
}

@media screen and (min-width: 1270px) {
  picture.header--bg::after {
    background: url(assets/images/header-d-shape-svg.svg) no-repeat;
    background-size: contain;
    width: 100%;
    height: 13vw;
    position: absolute;
    bottom: -15px;
    right: 0;
  }
}

@media screen and (min-width: 1790px) {
  picture.header--bg::after {
    background: url(assets/images/header-d-shape-svg.svg) no-repeat;
    background-size: contain;
    width: 100%;
    height: 13vw;
    position: absolute;
    bottom: -22px;
    right: 0;
  }
}

/*------------------ offcanvas menu ------------------*/
.offcanvas {
  background-color: rgb(47 47 47);
}

.offcanvas__menu {
  width: 85% !important;
  font-size: 1.6rem;
}

.canvas--btn {
  width: 40px;
  height: 40px;
}

li.menu-item a {
  width: 100%;
  padding: 1.5rem 2rem;
  margin: 5px 0;
  border-radius: 8px;
  border: 2px solid #5d5d5d;
  display: flex;
  align-items: center;
  background-color: var(--color-light);
  transition: var(--transition);
}

.category-menu-item {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-menu-item::before {
  content: "";
  display: block;
  width: 15px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 50px;
}

.offcanvas-footer {
  background: var(--color-primary);
}

@media screen and (min-width: 992px) {
  .offcanvas__menu {
    width: 30% !important;
  }

  .canvas-menu,
  .cartSearch-box {
    min-width: 270px;
  }
}

/* search */
#offcanvasTop {
  background: #00a693;
  height: max-content;
  margin: 0 auto;
  width: 60%;
  border-radius: 0 0 18px 18px;
}

#search-desktop {
  width: 100%;
  background: #f6f6f6;
  border: none;
  padding: 2rem;
  border-radius: 12px;
  font-size: 2.4rem;
}

/*------------------ categoty ------------------*/
.category-post,
article.post figure,
article.post {
  border-radius: 18px 18px 2px 18px;
}

.category-post img {
  border-radius: 12px;
  aspect-ratio: 1/1.25;
  object-fit: cover;
}

@media screen and (min-width: 992px) {
  .category-post figcaption span {
    font-size: 1.5rem;
  }
}

.category-shape {
  background: url(assets/images/category-shape-svg.svg) no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 57px;
}

/* responsive */
@media screen and (min-width: 480px) {
  .category-shape {
    min-height: 74px;
  }
}

@media screen and (min-width: 600px) {
  .category-shape {
    min-height: 88px;
  }
}

@media screen and (min-width: 772px) {
  .category-shape {
    min-height: 113px;
  }
}

@media screen and (min-width: 960px) {
  .category-shape {
    min-height: 140px;
  }
}

@media screen and (min-width: 992px) {
  .category-shape {
    background: url(assets/images/category-shape-d-svg.svg) no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 10vw;
  }
}

/*------------------ new posts ------------------*/
.new-posts-wrapper {
  margin-top: -3px;
  background: #e0f2f1;
}

article.post img {
  aspect-ratio: 2/2.5;
  object-fit: cover;
}

.post__title p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  white-space: inherit;
}

/*------------------ feature ------------------*/
.feature {
  margin-top: -10%;
  position: relative;
}

.feature img {
  aspect-ratio: 2 / 1.2;
  object-fit: cover;
  filter: brightness(0.3);
  z-index: -1;
  position: relative;
}

.feature__text {
  position: absolute;
  right: 50%;
  top: 40%;
  transform: translate(50%);
  width: 100%;
  text-align: center;
}

.feature__text p {
  font-size: 2rem;
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.65));
}

.rounded-svg {
  background: url(assets/images/rounded-svg.svg) no-repeat;
  background-size: cover;
  position: absolute;
  right: 0;
  bottom: 0;
}

@media screen and (min-width: 992px) {
  .feature {
    margin-top: -8%;
  }

  .feature1 {
    margin-top: -10%;
  }

  .feature img {
    aspect-ratio: 2 / 0.6;
  }

  .feature__text {
    top: 35%;
  }

  .feature1 .feature__text {
    top: 50%;
  }

  .feature__text p {
    font-size: 3.2rem;
  }

  .rounded-svg {
    background: url(assets/images/rounded-d-svg.svg) no-repeat;
    background-size: cover;
  }
}

/*------------------ carousel ------------------*/
.posts-carousel {
  border-radius: 18px 18px 2px 18px;
  overflow: hidden;
}

.posts-carousel figcaption {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  bottom: 0;
  right: 0;
  box-shadow: 0px -70px 13px rgba(0, 0, 0, 0.8) inset;
  padding-top: 100%;
}

.posts-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owl-dots {
  position: absolute;
  right: 15px;
  top: 15px;
}

.owl-dots .owl-dot span {
  background: #ececec !important;
}

.owl-dots .owl-dot.active span {
  background: var(--color-primary) !important;
}

.owl-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  right: 50%;
  transform: translate(50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.owl-nav button {
  width: 40px;
  height: 40px;
  background: var(--color-primary) !important;
  border-radius: 500px !important;
}

.owl-nav button span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 5rem;
  margin-top: 0;
  height: 45px;
}

@media screen and (min-width: 992px) {
  .owl-nav {
    width: 110%;
  }

  .posts-carousel .post__price del,
  .posts-carousel .post__price p,
  .posts-carousel .post__title p {
    font-size: 1.8rem;
  }
}

.footer-img img {
  aspect-ratio: 2/1;
  object-fit: cover;
  filter: none;
}

/*------------------ footer ------------------*/
@media screen and (min-width: 992px) {
  footer address {
    font-size: 1.8rem;
  }
}

footer .section-title h2 {
  min-width: 279px;
  text-align: center;
}

.map-btn {
  background: #f9f9f9;
  height: 52px;
  border-radius: 12px;
}

/*------------------ mobiel bottom navigation ------------------*/
.bottom-navigetion-wrapper {
  width: 100%;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 10;
}

.navigetion {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-toggle {
  position: absolute;
  width: 65px;
  height: 65px;
  top: -40px;
  background: linear-gradient(180deg, rgba(0, 166, 147, 1) 0%, rgba(2, 131, 116, 1) 100%);
  border-radius: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0px 3px 9px #000000b3;
}

.bottom-navigetion-wrapper .menu {
  width: 100%;
  background: url(assets/images/nav-svg.svg) no-repeat;
  background-size: cover;
  height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom-navigetion__items,
.bottom-navigetion__items a {
  width: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: column;
  text-align: center;
  gap: 6px;
}

.bottom-nav-label {
  color: var(--color-dark);
}

.bottom-navigetion__items.login--btn {
  padding-top: 30px !important;
}

@media screen and (max-width: 992px) {
  .namad {
    padding-bottom: 150px !important;
  }
}

.search__input {
  height: 100px;
  background: var(--color-primary);
  width: 100% !important;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s all ease-out;
}

.search-input form,
#navigationSearch form {
  display: flex;
  justify-content: center;
}

.search__input input {
  font-size: 1.6rem;
  width: 90%;
  padding: 2rem;
  background: #f6f6f6;
  border: 0;
  border-radius: 18px;
}

/* hover and animation */
.web-title a span,
.cartSearch-box button,
.canvas-menu__btn,
article.category-post,
article.post,
footer button.btn {
  transition: var(--transition);
}

.web-title a span:hover {
  color: white !important;
  transform: scale(1.1);
}

.cartSearch-box button:hover,
.canvas-menu__btn:hover {
  filter: hue-rotate(45deg);
}

article.category-post:hover,
article.post:hover {
  transform: scale(0.9);
}

footer button.btn:hover {
  box-shadow: 1px 4px 17px var(--color-primary);
}

li.menu-item a:hover {
  background: #bae7e278;
}

article.post del .woocommerce-Price-currencySymbol {
  display: none;
}
