/*
Theme Name:   Xstore child
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/

.etheme-text-button {
  border-image: linear-gradient(to right, #f9c464, #a6792f) 1;
}


/* --------------- home_banner --------------- */

.swiper-slide-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
}

.swiper-slide-bg::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -177.5px;
  width: 418px;
  height: 418px;
  background-image: url("https://ord-ger.mn/wp-content/uploads/2025/03/Vector.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  opacity: 20%;
}

.etheme-slide-heading {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  z-index: 1;
}

.swiper-slide-contents{
  display: flex;
  flex-direction: column;
  align-items: center;
}


@media (max-width: 768px) {
  .etheme-slide-heading {
    white-space: normal;
  }
  .etheme-slide-heading::before,
  .etheme-slide-heading::after {
    width: 250px !important;
    height: 100px !important;
 }
  .etheme-slide-heading::before {
    left: -100px !important;
  }

  .etheme-slide-heading::after {
    right: -100px !important;
  }
}

.etheme-slide-heading::before {
  content: "";
  position: absolute;
  width: 387.3px;
  height: 158px;
  background-image: url("https://ord-ger.mn/wp-content/uploads/2025/06/home_cloud_left.svg");
  background-size: contain;
  background-repeat: no-repeat;
  bottom: 0;
  z-index: -1;
  left: -250px;
}

.etheme-slide-heading::after {
  content: "";
  position: absolute;
  width: 387.3px;
  height: 158px;
  background-image: url("https://ord-ger.mn/wp-content/uploads/2025/06/home_cloud_right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  bottom: 0;
  z-index: -1;
  right: -250px;
}

#back-top {
  height: 60px;
  width: 60px;
  bottom: 90px;
  right: 16px;
}

.etheme-slide-button::before {
  content: "";
  width: 25px;
  height: 25px;
  background-image: url("https://ord-ger.mn/wp-content/uploads/2025/03/Vector.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.elementor .elementor-element.elementor-element .etheme-slide-button {
  display: inline-flex;
  gap: 8px;
}

@media (min-width: 1025px) {
  #header-menu .elementor-item-active {
    background: radial-gradient(
      circle at 50% 100%,
      rgb(249 196 100) -20%,
      rgb(235, 237, 237) 35%,
      rgb(255, 255, 255) 100%
    );
  }
}


@media (max-width: 1750px) {
  #header-menu ul.etheme-elementor-nav-menu {
    display: inline-flex !important;
    gap: 0px !important;
    font-size: 14px !important;
    min-width: max-content !important;
  }

  #header-menu li.menu-item {
    flex-shrink: 0 !important;
  }
}
#member-card .team-member .member-details h4 {
  font-family: "Buyan-Bold", Sans-serif;
  font-size: 24px;
  font-weight: 700;
}

#member-card .team-member .member-details h5 {
  font-family: "Toroka-CondensedLight", Sans-serif;
  font-size: 20px;
  font-weight: 300;
}

#member-card .name {
  background: linear-gradient(to right, #f9c464, #dba951);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- elementor-heading-title --------------- */

#gradient_text .elementor-heading-title {
  padding: 4px;
  padding-left: 0px;
  background: linear-gradient(to right, #f9c464, #a6792f);
  background-clip: text;
  color: transparent;
}

@media (max-width: 1700px) {
  .etheme-elementor-nav-menu.horizontal > li {
    margin-inline: 6px;
  }

  #header {
    gap: 15px;
  }
}

/* --------------- product_card --------------- */

#product_card .elementor-post {
  width: 280px;
  height: 400px;
  position: relative;
}

#product_card .elementor-post__thumbnail img {
  height: 100%;
  object-fit: cover;
}

#product_card .elementor-post__text {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  position: absolute;
  justify-content: center;
}

#product_card .elementor-post__title {
  margin: 0;
  text-shadow: 5px 5px 10px black;
}

#product_card .elementor-post__read-more {
  margin: 0;
  opacity: 0;
  width: 100%;
  bottom: -50px;
  text-align: center;
  position: absolute;
  padding-block: 16px;
  transition: all 0.3s ease-in-out;
  background: linear-gradient(to right, #f9c464, #a6792f),
    url("../../uploads/2025/03/button-icon.svg");
  background-blend-mode: overlay;
  background-position: center;
  background-repeat: no-repeat;
}

#product_card .elementor-post:hover .elementor-post__read-more {
  bottom: 0;
  opacity: 1;
}

/* --------------- about_us --------------- */

.etheme-a-h-text-before {
  padding: 4px;
  background: linear-gradient(to right, #f9c464, #a6792f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#horizontal_scroll {
  display: flex;
  overflow-x: auto;
}

.elementor-counter-title {
  padding: 4px;
  background: linear-gradient(to right, #f9c464, #a6792f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.elementor-78
  .elementor-element.elementor-element-4a273bf
  .et-tabs-content
  img {
  height: 100%;
  object-fit: cover;
}

.elementor-widget-container p {
  height: 100%;
}

.content ul,
.type-product ul {
  margin-bottom: 0;
}

/* --------------- blog_card --------------- */

#blog_card .elementor-post__excerpt p {
  display: -webkit-box;
  -webkit-line-clamp: 4; /* 4 мөр */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 25px;
  max-height: 100px;
  padding: 0;
  margin: 0;
}

#blog_card .elementor-post__excerpt {
  padding-bottom: 25px;
}

#blog_card .elementor-post__card::before {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  left: -75%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  z-index: 10;
}

#blog_card .elementor-post__card:hover::before {
  animation: shine 1.3s forwards;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

#blog_card .elementor-post__card {
  margin: 0;
  display: flex;
  position: relative;
  flex-direction: row;
  align-items: center;
}

@media (max-width: 426px) {
  #blog_card .elementor-post__card {
    flex-direction: column;
    align-items: flex-start;
  }
}

#blog_card .elementor-post__thumbnail__link {
  margin: 0;
  height: 356px;
}

#blog_card .elementor-post__thumbnail {
  height: 100%;
}

#blog_card
  .elementor-posts
  .elementor-post__card
  .elementor-post__thumbnail
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#blog_card .elementor-post__badge {
  margin: 0px;
  top: 70px;
  left: 15px;
  display: flex;
  position: absolute;
  width: fit-content;
  padding-block: 8px;
  height: fit-content;
  padding-inline: 16px;
  background: linear-gradient(to right, #f9c464, #a6792f);
}

#blog_card .elementor-post__meta-data {
  top: 15px;
  left: 15px;
  width: fit-content;
  position: absolute;
  padding-block: 8px;
  height: fit-content;
  background: white;
  padding-inline: 16px;
  border-radius: 100px;
}

.blog-post .post-categories,
.post-grid .post-categories,
.post-header .post-categories {
  left: 30px;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  padding-block: 8px;
  border-radius: 100px;
  text-transform: uppercase;
  font-family: "Buyan-Bold", Sans-serif;
  background: linear-gradient(to right, #f9c464, #a6792f);
}

article.blog-post .wp-picture.blog-hover-zoom img,
article.post-grid .wp-picture.blog-hover-zoom img {
  height: 500px;
  object-fit: cover;
}
