@charset "UTF-8";
/**
Theme Name: twentytwentyfour-child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour-child
Template: twentytwentyfour
Direction: rtl;
*/
html, body {
  height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 1rem;
  overflow-x: hidden;
  background: #fff;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
  display: block;
}

.wp-site-blocks {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.wp-site-blocks main {
  flex: 1;
}
.wp-site-blocks footer {
  margin-top: auto;
}

.align-self-end {
  align-self: flex-end;
}

.align-self-start {
  align-self: flex-start;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded-full {
  border-radius: 100%;
}

.break-keep, .wp-block-uagb-advanced-heading.break-keep p {
  word-break: keep-all !important;
}

:root :where(.wp-block-navigation a:where(:not(.wp-element-button)):hover) {
  text-decoration: none !important;
}

.wp-block-button__link .uagb-button__icon {
  outline: none;
}

.up-sells.upsells.products {
  display: none !important;
}

.woocommerce span.onsale {
  background-color: var(--wp--preset--color--ttf-primary) !important;
}

.gradient {
  background-image: linear-gradient(90deg, #F6D185 0%, #FAF9F6 100%);
}

.full-width {
  width: 100% !important;
}

.product-card {
  /* 	cursor: pointer; */
}

.product-card a.wp-block-button__link {
  background-image: linear-gradient(to left, #F6D185 50%, #fff 50%) !important;
  background-size: 200% 100% !important;
  background-position: left center !important;
  transition: background-position 0.3s ease !important;
}

.product-card:hover a.wp-block-button__link {
  background-position: center center !important;
}

.product-card:hover a.wp-block-button__link:hover {
  background-position: right center !important;
  color: blue !important;
}

.uagb-button__link {
  position: relative;
  z-index: 2;
}

@media screen and (min-width: 600px) {
  .has-mega-menu {
    position: static;
  }
  li.has-mega-menu .sub-menu {
    width: 100%;
    position: absolute;
    top: NNpx; /*insert the needed value*/
    z-index: 100;
    left: 0px;
    right: 0px;
  }
  li.has-mega-menu:hover > .sub-menu {
    /*flexbox fallback for browsers that do not support CSS GRID lyout*/
    display: flex;
    flex-wrap: wrap;
    /*CSS GRID lyout*/
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
  }
}
@media screen and (min-width: 992px) {
  li.has-mega-menu:hover > .sub-menu {
    grid-template-columns: repeat(auto-fit, minmax(33.3333%, 1fr));
  }
}
@media screen and (min-width: 1200px) {
  li.has-mega-menu:hover > .sub-menu {
    grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  }
}
.wp-block-navigation__responsive-container {
  column-gap: 24px;
  flex-wrap: wrap;
  padding: 0 24px 0 24px;
}
.wp-block-navigation__responsive-container .wp-block-navigation-submenu {
  border: 0 !important;
  left: 0 !important;
}
.wp-block-navigation__responsive-container .wp-block-navigation-submenu .wp-block-navigation__submenu-icon {
  padding: 0 16px;
}
.wp-block-navigation__responsive-container .wp-block-navigation-item {
  line-height: 32px;
}
.wp-block-navigation__responsive-container .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
  color: #4a4a4a;
  background-image: linear-gradient(transparent calc(100% - 1px), #4a4a4a 3px) !important;
  background-size: 100% 98% !important;
}
.wp-block-navigation__responsive-container .wp-block-navigation-item .wp-block-navigation-item__content {
  display: inline-flex;
  background-repeat: no-repeat !important;
  background-image: linear-gradient(transparent calc(100% - 1px), #4a4a4a 3px) !important;
  -webkit-transition: background-size 0.4s !important;
  transition: background-size 0.4s !important;
  background-size: 0 98% !important;
  background-position-x: right !important;
  padding: 0 !important;
  outline: none;
  flex-grow: 0 !important;
}
.wp-block-navigation__responsive-container .wp-block-navigation-item .wp-block-navigation-item__content:before {
  content: none !important;
}
.wp-block-navigation__responsive-container .wp-block-navigation-item .wp-block-navigation-item__content:hover, .wp-block-navigation__responsive-container .wp-block-navigation-item .wp-block-navigation-item__content:focus {
  color: inherit !important;
  background-size: 100% 98% !important;
  background-position-x: left !important;
  background-color: unset !important;
}

.offcanvas-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 20px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.offcanvas-menu > h2 {
  font-family: "montserrat", sans-serif;
}

.offcanvas-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.offcanvas-menu.closing {
  transform: translateY(-100%);
  opacity: 0;
  visibility: visible; /* همچنان visible باشه تا انیمیشن دیده بشه */
}

.desktop-toggle-button {
  box-shadow: none !important;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.desktop-toggle-button::after {
  content: "\e923";
  font-family: "icomoon";
  color: #4a4a4a;
  font-size: 24px;
}
.desktop-toggle-button a {
  padding: 0 !important;
  display: none;
}
.desktop-toggle-button:hover {
  background: none !important;
}

.offcanvas-menu .close-offcanvas-menu {
  position: absolute !important;
  top: 24px;
  right: 24px;
  width: auto !important;
}
.offcanvas-menu .close-offcanvas-menu::before {
  content: "\e932";
  font-family: "icomoon";
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.offcanvas-menu .close-offcanvas-menu a {
  padding: 0 !important;
  display: none;
}
.offcanvas-menu .close-offcanvas-menu:hover .uagb-svg-wrapper svg {
  fill: #617278;
}
.offcanvas-menu .close-offcanvas-menu .uagb-svg-wrapper {
  outline: none;
}
.offcanvas-menu .wp-block-navigation__container {
  flex-wrap: wrap;
}
.offcanvas-menu .wp-block-navigation__container .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content, .offcanvas-menu .wp-block-navigation__container .wp-block-navigation-submenu > .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
  color: #fff;
  background-size: 100% 98%;
}
.offcanvas-menu .wp-block-navigation__container .wp-block-navigation-item .wp-block-navigation-item__content, .offcanvas-menu .wp-block-navigation__container .wp-block-navigation-submenu > .wp-block-navigation-item .wp-block-navigation-item__content {
  outline: none;
  display: inline-flex;
  font-size: var(--font-size);
  background-repeat: no-repeat !important;
  -webkit-transition: background-size 0.4s !important;
  transition: background-size 0.4s !important;
  background-size: 0 98% !important;
  background-position-x: right !important;
  padding: 8px 0 !important;
}
.offcanvas-menu .wp-block-navigation__container .wp-block-navigation-item .wp-block-navigation-item__content:before, .offcanvas-menu .wp-block-navigation__container .wp-block-navigation-submenu > .wp-block-navigation-item .wp-block-navigation-item__content:before {
  content: none !important;
}
.offcanvas-menu .wp-block-navigation__container .wp-block-navigation-item .wp-block-navigation-item__content:hover, .offcanvas-menu .wp-block-navigation__container .wp-block-navigation-item .wp-block-navigation-item__content:focus, .offcanvas-menu .wp-block-navigation__container .wp-block-navigation-submenu > .wp-block-navigation-item .wp-block-navigation-item__content:hover, .offcanvas-menu .wp-block-navigation__container .wp-block-navigation-submenu > .wp-block-navigation-item .wp-block-navigation-item__content:focus {
  color: inherit !important;
  background-size: 100% 98% !important;
  background-position-x: left !important;
  background-color: unset !important;
}

.offcanvas-menu .right-side .wp-block-navigation__container {
  row-gap: 24px;
}
.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-item {
  line-height: 32px;
}
.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
  background-size: 100% 98% !important;
}
.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-item .wp-block-navigation-item__content {
  background-image: linear-gradient(transparent calc(100% - 3px), #fff 3px) !important;
  font-size: 32px;
  outline: none;
}
.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-item .wp-block-navigation-item__content[aria-expanded=true] {
  background-size: 0 98% !important;
}

.offcanvas-menu .left-side .wp-block-navigation__container {
  row-gap: 24px;
}
.offcanvas-menu .left-side .wp-block-navigation__container .wp-block-navigation-submenu {
  display: none;
}
.offcanvas-menu .left-side .wp-block-navigation__container .wp-block-navigation-item {
  line-height: 20px;
}
.offcanvas-menu .left-side .wp-block-navigation__container .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
  background-size: 100% 98% !important;
}
.offcanvas-menu .left-side .wp-block-navigation__container .wp-block-navigation-item .wp-block-navigation-item__content {
  font-size: 20px;
  background-image: linear-gradient(transparent calc(100% - 1px), #fff 1px) !important;
}

.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-submenu {
  display: flex;
  flex-direction: column;
  border: 0 !important;
  left: 0 !important;
}
.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-submenu .wp-block-navigation-submenu__toggle::after {
  font-family: "icomoon";
  content: "\e90f";
  color: #fff;
  font-size: 24px;
  padding: 0 0 0 16px;
}
.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-submenu .wp-block-navigation-submenu__toggle[aria-expanded=true]::after {
  transform: rotate(-90deg);
}
.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-submenu .wp-block-navigation__submenu-icon {
  display: none;
}
.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-submenu .wp-block-navigation__submenu-container {
  position: relative;
  background-color: unset !important;
  color: #fff !important;
}
.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-submenu > .wp-block-navigation-item {
  line-height: 20px;
}
.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-submenu > .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
  background-image: linear-gradient(transparent calc(100% - 1px), #fff 1px);
}
.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-submenu > .wp-block-navigation-item .wp-block-navigation-item__content {
  outline: none;
  font-size: 20px;
  background-image: linear-gradient(transparent calc(100% - 1px), #fff 1px) !important;
  flex-grow: 0 !important;
}

header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 999; /* بالا نگهش می‌داره */
  backdrop-filter: saturate(180%) blur(15px);
  background-color: rgba(255, 255, 255, 0.7);
}

.footer-pattern-container, .main-menu-pattern-container {
  padding: 0 12px !important;
}

@media only screen and (min-width: 768px) {
  .footer-pattern-container, .main-menu-pattern-container {
    padding: 0 24px !important;
  }
  .offcanvas-menu .close-offcanvas-menu {
    top: 24px;
    right: 24px;
  }
}
@media only screen and (min-width: 1199px) {
  .offcanvas-menu .close-offcanvas-menu {
    top: 46px;
    right: 152px;
  }
}
.footer-pattern-container .wp-block-site-logo {
  position: relative;
}
.footer-pattern-container .wp-block-site-logo::after {
  content: "";
  display: block;
  width: 100%;
  height: 0.5px;
  background-color: #4a4a4a;
  position: absolute;
  bottom: 50%;
  left: 0;
  right: 0;
}
.footer-pattern-container .wp-block-site-logo a {
  position: relative;
  z-index: 10;
  background: #fff;
}
.footer-pattern-container .wp-block-group, .footer-pattern-container .footer-second-row {
  margin-top: 0 !important;
}

.offcanvas-menu .wp-block-heading {
  font-family: "montserrat", sans-serif !important;
}

.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle + .wp-block-navigation__submenu-icon {
  display: none !important;
}

.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle:after {
  content: "\e917";
  font-family: "icomoon";
}

.offcanvas-menu .right-side .wp-block-navigation__container .wp-block-navigation-item .wp-block-navigation-item__content {
  width: 100%;
}

header .icons-row.is-layout-flex,
header .main-menu-row.is-layout-flex {
  flex-grow: 1;
}

header .logo-row.is-layout-flex {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

header .icons-row.is-layout-flex {
  flex-direction: column;
  align-items: flex-end;
}

body {
  direction: rtl;
  text-align: right;
}

.site-header, .site-footer {
  direction: rtl;
}

/* WPForms fixes */
/* Initial field looks */
.wpforms-container input[type=date],
.wpforms-container input[type=datetime],
.wpforms-container input[type=datetime-local],
.wpforms-container input[type=email],
.wpforms-container input[type=month],
.wpforms-container input[type=number],
.wpforms-container input[type=password],
.wpforms-container input[type=range],
.wpforms-container input[type=search],
.wpforms-container input[type=tel],
.wpforms-container input[type=text],
.wpforms-container input[type=time],
.wpforms-container input[type=url],
.wpforms-container input[type=week],
.wpforms-container select,
.wpforms-container textarea {
  background: #fff;
  border-width: 0 0 1px 0;
  opacity: 0.5;
}

/* On focus */
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
  outline: none;
  opacity: 1;
}

/* Don't allow resizing the Message box */
.wpforms-container textarea {
  resize: none;
}

/* Message box fixed height */
.wpforms-container .wpforms-field-textarea textarea.wpforms-field-medium {
  height: 136px;
}

/* Button size & font size */
.wpforms-container button {
  padding: 15px 34px;
  font-size: 15px;
}

/* WPForms done */
/* Footer 2 big columns on sides and 1 small one in the middle */
.ast-builder-grid-row-3-equal .ast-builder-grid-row {
  grid-template-columns: 3fr 1fr 3fr;
}

/*# sourceMappingURL=style.css.map */
