/*
Theme Name: Agifly Theme
Theme URI: https://agifly.be/
Author: Agifly
Author URI: https://agifly.be/
Description: A professional WordPress theme for Agifly.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: agifly-theme
*/

body {
  font-family: "Avenir", Sans-serif;
  margin: 0;
}

/*
 * Global Variables
*/

:root {
  --PaddingM: 16px;
  --Padding-M: 16px;
  --RadiusSmall: 2px;
  --Primary-600: #6e6809;
  --White: #fff;
  --load-more-button-width: 280px;
  --Radius-Small: 2px;
}

/* Add by Alain */
.hidden {
  display: none !important;
}
/*
 * Button Type Default Styles
 */
/* .elementor-widget-button a.elementor-button {
  display: inline-flex;
  padding: 16px 24px 16px 18px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 2px;
  background: #fff;

  color: #6e6809;
  
  font-family: Avenir;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  box-shadow: 0px 0px 5px #99999966;
}
.elementor-widget-button a.elementor-button:hover {
  background: #E4E3D2;
  color: #3E3904;
}
.elementor-widget-button.elementor-button-info a.elementor-button {
  background: #F4F4ED;
  color: #3E3904;
}
.elementor-widget-button.elementor-button-info a.elementor-button:hover {
  background: #CDCBAA;
  color: #3E3904;
}
.elementor-widget-button.elementor-button-success a.elementor-button {
  background: #6E6809;
  color: #fff;
}
.elementor-widget-button.elementor-button-success a.elementor-button:hover {
  background: #4E4907;
  color: #fff;
}
.elementor-widget-button.elementor-button-warning a.elementor-button {
  background: #FFF6EC;
  color: #FE5000;
}
.elementor-widget-button.elementor-button-warning a.elementor-button:hover {
  background: #FFD5A5;
  color: #FE5000;
}
.elementor-widget-button.elementor-button-danger a.elementor-button {
  background: #FE5000;
  color: #fff;
}
.elementor-widget-button.elementor-button-danger a.elementor-button:hover {
  background: #A12C0B;
  color: #fff;
} */

/*
 * Wishlist Icon Styles
 */

/* .wishlist-inactive-icon {
  background-image: url(/wp-content/themes/agifly-theme/assets/img/svgs/heart-inactive.svg);
  position: absolute;
  width: 40px;
  height: 40px;
  right: 20px;
  top: 20px;
  border-radius: 20px;
  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
}
.wishlist-inactive-icon:hover {
  background-color: rgb(194, 192, 192);
}

.wishlist-active-icon {
  background-image: url(/wp-content/themes/agifly-theme/assets/img/svgs/heart-inactive.svg);
  position: absolute;
  width: 40px;
  height: 40px;
  right: 20px;
  top: 20px;
  border-radius: 20px;
  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
}
.wishlist-active-icon:hover {
  background-color: rgb(194, 192, 192);
} */

.save-icon {
  /* background-image: url(/wp-content/themes/agifly-theme/assets/img/svgs/heart-inactive.svg); */
  position: absolute;
  width: 40px;
  height: 40px;
  right: 20px;
  top: 20px;
  border-radius: 20px;
  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* .save-icon:hover {
  background-color: rgb(194, 192, 192);
} */

/* header */
header[data-elementor-type="header"] {
  position: -webkit-sticky;
  position: sticky !important;
  top: 0;
  left: 0;
  right: 0;
  transition: top 0.3s ease;
  -webkit-transition: all 400ms cubic-bezier(0.4, 0.31, 0.38, 0.7);
  transition: all 400ms cubic-bezier(0.4, 0.31, 0.38, 0.7);
  z-index: 999;
}

/* header end */

/* breadcrumbs */
nav.custom-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  text-transform: capitalize;
}

.custom-breadcrumbs svg path {
  fill: #b4b282; /* Default color */
}

/* Target only the last separator before the current page */
.custom-breadcrumbs svg:last-of-type path {
  fill: #2c2801; /* Change this color as needed */
}

nav.custom-breadcrumbs a {
  color: #9d9959;
  width: auto;
}

nav.custom-breadcrumbs a:hover {
  color: #3e3904;
}

nav.custom-breadcrumbs span.current {
  color: #3e3904;
  font-weight: bold;
}

@media (max-width: 768px) {
  .custom-breadcrumbs .desktop-only {
    display: none;
  }
}
@media (min-width: 769px) {
  .custom-breadcrumbs .mobile-only {
    display: none;
  }
}

/* breadcrumbs End */

/* Promotional Banner */

.promotional-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 8px 16px;
  background-color: #ffffff;
}

.promotional-header .promo-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.promotional-header .promo-content a {
  color: #fe5000;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 24px;
  text-decoration: none;
}

.promotional-header .promo-close {
  cursor: pointer;
}

.showroom-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9d9959;
  font-family: "Avenir", Sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 24px;
}

#tab-section .e-n-tabs-content .elementor-heading-title {
  word-break: break-word !important;
}

@media only screen and (max-width: 768px) {
  .promotional-header {
    justify-content: space-between;
    gap: unset;
  }

  .promotional-header .promo-content {
    justify-content: space-between;
    gap: unset;
  }

  .promotional-header .promo-content a {
    font-size: 14px;
    text-align: center;
  }
}

/* Promotional Banner End */

/*
 * Grid Loop Styles
 */

.e-loop__load-more a.elementor-button-link {
  display: inline-flex;
  padding: var(--Padding-M) 24px var(--Padding-M) 18px;
  justify-content: center;
  align-items: center;
  gap: 8px;

  border-radius: var(--Radius-Small);
  background: var(--Primary-600);

  color: var(--White);
  text-align: center;

  /* Button */
  font-family: Avenir;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

/**
  * Featured Post Styles
  */

.elementor-widget-featured_posts_gallery {
  width: 100%;
}

.eggo--post_config::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  left: 0px;
  top: 0px;
  background-image: url(/wp-content/themes/agifly-theme/assets/img/svgs/config.svg);
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s;
}

.eggo--post_config:hover::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  left: 0px;
  top: 0px;
  background-image: url("/wp-content/themes/agifly-theme/assets/img/svgs/config.svg");
  background-position: center;
  background-repeat: no-repeat;
  transform: scaleX(-1);
}

/**
 * Loop Grid Styles
 */
.eggo-elementor-loop-container {
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
}

.eggo-elementor-loop-item-column-size-1 {
  flex: 98%;
  display: flex;
}

.eggo-elementor-loop-item-column-size-2 {
  flex: 48%;
  display: flex;
}

.eggo-elementor-loop-item-column-size-3 {
  flex: 31.333333333333%;
  display: flex;
}

.eggo-elementor-loop-item-column-size-4 {
  flex: 23%;
  display: flex;
}

.eggo-elementor-loop-item-column-size-5 {
  flex: 18%;
  display: flex;
}

.eggo-elementor-loop-item-column-size-6 {
  flex: 14.666666666667%;
  display: flex;
}

.eggo--questionmark-icon {
  cursor: pointer;
}

.single.single-showrooms #section-1,
.single.single-showrooms .elementor-element-10290d2e {
  padding: 0 16px;
}

.single.single-showrooms #section-1 h2.elementor-heading-title {
  word-break: break-word;
}

.single.single-showrooms #section-1.e-con.e-flex > .e-con-inner {
  padding: 56px 0 0;
}

.single.single-showrooms
  .elementor-element-10290d2e.e-con.e-flex
  > .e-con-inner {
  padding: 56px 0;
}

.single.single-showrooms #section-1 .elementor-widget-image img {
  width: 100%;
}
.single.single-showrooms .elementor-element-10290d2e .elementor-button span {
  text-align: left;
}

@media (max-width: 1024px) {
  .eggo-elementor-loop-item-column-size-1,
  .eggo-elementor-loop-item-column-size-2,
  .eggo-elementor-loop-item-column-size-3,
  .eggo-elementor-loop-item-column-size-4,
  .eggo-elementor-loop-item-column-size-5,
  .eggo-elementor-loop-item-column-size-6 {
    flex: 98%;
  }
  .single.single-showrooms #section-1.e-con.e-flex > .e-con-inner {
    padding: 56px 0 0;
  }
  .single.single-showrooms
    .elementor-element-10290d2e.e-con.e-flex
    > .e-con-inner {
    padding: 56px 0;
  }
  .single.single-showrooms
    .elementor-element-10290d2e.e-con.e-flex
    > .e-con-inner
    > .elementor-element.e-con-full.e-flex.e-con {
    --flex-wrap: wrap;
  }
  .single.single-showrooms
    .elementor-element-10290d2e.e-con.e-flex
    > .e-con-inner
    > .elementor-element.e-con-full.e-flex.e-con
    > .elementor-element.e-con-full.e-flex.e-con:first-child {
    padding: 0;
  }
  .single.single-showrooms #section-1 h2.elementor-heading-title {
    font-size: 42px;
  }
}

/**
 * Mega Menu
 */

button.e-n-tab-title:focus-visible {
  outline: none;
}

@media (max-width: 768px) {
  nav.custom-breadcrumbs.breadcrumb-desktop {
    display: none;
  }
  nav.custom-breadcrumbs.mobile-only {
    display: flex;
  }

  nav.custom-breadcrumbs.mobile-only a {
    color: #3e3904;
    font-weight: 800;
  }

  nav.custom-breadcrumbs.mobile-only svg {
    transform: rotate(180deg);
  }
}

@media (min-width: 769px) {
  nav.custom-breadcrumbs.breadcrumb-desktop {
    display: flex;
  }
  nav.custom-breadcrumbs.mobile-only {
    display: none;
  }
}

.blog-row.row-1 .blog-post:nth-last-child(1) .post-title,
.blog-row.row-1 .blog-post:nth-last-child(2) .post-title,
.blog-row.row-3 .blog-post:nth-last-child(1) .post-title,
.blog-row.row-3 .blog-post:nth-last-child(2) .post-title,
.blog-row.row-2 .blog-post:nth-last-child(1) .post-title,
.blog-row.row-2 .blog-post:nth-last-child(3) .post-title,
.blog-row.row-0 .blog-post:nth-last-child(1) .post-title,
.blog-row.row-0 .blog-post:nth-last-child(3) .post-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eggo--post_config {
  display: none !important;
}