@import './babyfox__default.css';
@import './custom-radio.css';

.modal-header {
  border: 0;
}

#product_lists.cards-grid {
  margin: var(--s4) 0;
}

.not-found {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: var(--s2);
  width: 400px;
  flex-direction: column;
  text-align: center;
  background-color: #ddede8;
  border: 1px solid #d4d6d5;
  border-radius: 5px;
}

.not-found h3 {
  font-size: var(--s16);
  text-align: center;
  margin-bottom: var(--s1);
}

.cards-grid,
.features-grid {
  box-sizing: border-box;
  display: grid;
  place-content: center;
  grid-gap: var(--s4);
  row-gap: var(--margin-xl);
  grid-template-columns: repeat(auto-fit, minmax(245px, 20%));
  justify-content: start;
}

.features-grid > .item {
  margin-left: var(--s4);
}

.features-grid .item > figure {
  max-height: inherit;
}

.cards-grid > .item {
  position: relative;
  opacity: 1;
  margin-bottom: var(--margin-lg);
}

.cards-grid > .item figure {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.5s;
  margin-bottom: var(--s2);
  line-height: 0.3;
  max-height: 300px;
}

.cards-grid > .item:hover figure {
  box-shadow: 0em 0.3em 1em rgba(0, 0, 0, 0.3);
}

.cards-grid > .item figure img {
  -o-object-fit: cover;
  object-fit: cover;
  position: relative;
  transition: transform 0.5s;
  max-height: 100%;
  width: 100%;
}

.cards-grid > .item figure img.image-hover {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.2s;
  transform: scale(1.125);
  width: 100%; /*3-11*/
}

.cards-grid > .item figure:hover img.image-hover {
  opacity: 1;
}

.cards-grid > .item .badge {
  border-radius: 15px;
  position: absolute;
  bottom: 20px;
  left: 10px;
  color: #040707;
  background-color: #f4f4f5;
  padding: 5px 12px;
  font-weight: 600;
  opacity: 0.9;
  line-height: normal;
  z-index: 4;
}

[dir='rtl'] .cards-grid > .item .badge {
  left: inherit;
  right: 10px;
}

.cards-grid > .item .right {
  right: 10px;
}

.cards-grid > .item .left {
  left: 10px;
}

.cards-grid > .small-input-sm {
  height: 28px;
}

.small-input-sm input {
  outline: none;
  font-size: var(--s14);
}

.flex-full {
  display: flex;
  flex: 1;
  align-items: baseline;
  margin: 10px 5px 5px 0;
}

.options {
  right: 0;
  position: absolute;
  width: 100%;
  padding: var(--s2);
  bottom: 0;
  opacity: 0;
  z-index: 4;
  transition: all ease 0.5ms;
  -webkit-transition: all ease-out 500ms;
}

li.item:hover .options,
li.item:hover .options .quick-add {
  opacity: 1;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease-out;
}

.options .quick-add {
  color: var(--baseFontColor);
  font-weight: 500;
  padding: var(--s1) var(--s2);
  font-size: 0.9rem;
  line-height: 1.3;
  background-color: white;
  border: 1px black solid;
  transition: ease-out 0.5s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease-out, background-color 0.4s ease;
}

button[disabled],
html input[disabled] {
  cursor: not-allowed;
}

.options .quick-add:hover {
  border-color: #debba8;
}

.rate-block {
  font-size: var(--s14);
  position: relative;
  text-align: center;
  line-height: 1.5;
}

.rate-block .title {
  font-weight: 500;
  font-size: var(--s14);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--baseFontColor);
}

.rate-block .title a {
  color: var(--baseFontColor);
}

.rate-block .rate {
  font-size: var(--s14);
}

.rate-block .discount {
  font-size: 0.75rem;
  padding-right: 0.5rem;
  color: #debba8;
  text-decoration: line-through;
}

/* figure:hover {
				box-shadow: 0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
			} */
.main-item {
  padding: 10px;
  background-color: #fff;
  width: 100%;
}

.background-masker {
  background-color: #fff;
  position: absolute;
}

.btn-divide-left {
  top: 0;
  left: 25%;
  height: 100%;
  width: 5%;
}

/* dropdowns and menu */
.filter-box {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.filter-box.sticky-filter {
  position: -webkit-sticky;
  position: sticky;
  z-index: 5;
  padding: var(--s2) 0;
  background: white;
  transition: 0.3s ease-in-out;
  box-shadow: 0 8px 6px -11px black;
}

.filter-box ul.filter-menu {
  display: flex;
  flex-direction: row;
}

.filter-box ul.filter-menu > li {
  display: block;
  margin-right: var(--s3);
}

.filter-box ul.filter-menu > li:hover > ul::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

.filter-box ul.filter-menu > li:hover > ul::-webkit-scrollbar {
  width: 6px;
  background-color: #f5f5f5;
}

.filter-box ul.filter-menu > li:hover > ul::-webkit-scrollbar-thumb {
  background-color: #000000;
}

@media only screen and (min-width: 769px) {
  .filter-box ul.filter-menu > li:hover > ul {
    display: block;
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.filter-box ul.filter-menu > li > a {
  position: relative;
  display: block;
  padding: var(--s);
  color: var(--baseFontColor);
}

.filter-box ul.filter-menu > li > a i::before {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  transition: 0.3s ease-in-out;
}

.filter-box ul.filter-menu li.active > a {
  background-color: #e6ebed;
}

.filter-box ul.filter-menu li.active > a i::before {
  content: '\f077';
  font-family: 'Font Awesome 5 Free';
  transition: 0.3s ease-in-out;
}

.filter-box ul.filter-menu > li > a > span {
  margin-right: var(--s1);
}

@media (hover: hover) and (pointer: fine) {
  .filter-box ul.filter-menu > li:hover > a i::before {
    content: '\f077';
  }
}

@media (max-width: 990px) {
  #babyfox-main.container {
    max-width: 720px;
  }
  .categories > .cards-grid,
  #product_lists.cards-grid {
    grid-gap: var(--s2);
    margin-top: 0;
    grid-template-columns: repeat(auto-fit, minmax(30%, 30%));
  }

  #product_lists.cards-grid,
  .features-grid {
    grid-gap: var(--s3);
  }
}

@media (max-width: 767.99px) {
  .not-found {
    width: 100%;
  }
  .nav-item.selected a {
    font-size: bold;
  }

  .options .quick-add {
    padding: var(--s1);
  }

  #babyfox-main.container {
    max-width: 540px;
  }

  .section__title.mb-40.uppercase {
    margin-bottom: var(--s1);
    font-size: var(--s20);
  }

  .select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 10px;
  }

  .filter-box ul.filter-menu > li {
    margin-right: var(--s);
  }

  #product_lists.cards-grid,
  .features-grid {
    grid-gap: var(--s3);
  }

  .categories > .cards-grid,
  #product_lists.cards-grid {
    grid-gap: var(--s2);
    margin-top: 0;
    grid-template-columns: repeat(auto-fit, minmax(47%, 20%));
  }

  .categories > .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(46.33%, 20%));
  }
  .categories > .cards-grid .item > figure img {
    min-height: auto;
  }
}
