/**=====================
     Reset css start
==========================**/
section,
.section-t-space {
  padding-top: 70px;
}

.section-b-space {
  padding-bottom: 70px;
}

.large-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

hr {
  &.style1 {
    width: 75px;
    height: 3px;
    margin-top: 13px;
    background-color: var(--theme-color);
    border-top-color: var(--theme-color);
    text-align: center;
    margin-inline: auto;
    opacity: 1;
  }
}

.table {
  thead {
    th {
      border-bottom: 1px solid #eee !important;
    }
  }
}

.form-control {
  border-radius: 0;
}

.small-section {
  padding-top: 35px;
  padding-bottom: 35px;
}

.banner-padding {
  padding-top: 24px;
}

.input-group {
  .btn {
    z-index: 0;
  }
}

.border-section {
  border-top: 1px solid $white-dark;
  border-bottom: 1px solid $white-dark;
}

.border-b {
  border-bottom: 1px solid $border-color;
}

.dark-layout {
  background-color: $grey-dark;
}

.light-layout {
  background-color: $grey-lighter;
}

.theme-color {
  color: var(--theme-color) !important;
}

del {
  font-size: 14px;
  color: $font-grey;
  font-weight: 400;
}

.position-unset {
  position: unset !important;
}

[data-notify="progressbar"] {
  margin-bottom: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
}

.progress-bar {
  background-color: #19a340;
}

.bg-overlay {
  background-blend-mode: overlay;
  background-color: rgba(#fafafa, 0.98);
}

.bg-theme {
  background-color: var(--theme-color);
}

.theme-color {
  color: var(--theme-color) !important;
}

/*Lazy load */
.blur-up {
  filter: blur(5px);
  transition: filter 400ms;

  &.lazyloaded {
    filter: blur(0);
  }
}

.margin-default {
  margin-bottom: -30px;

  >div {
    margin-bottom: 30px;
  }

  &.no-slider {
    >* {
      display: flex;
    }

    .product-box {
      margin-bottom: 30px !important;
    }
  }
}

.form-group {
  margin-bottom: 15px;
}

.form-check-input {
  &:focus {
    box-shadow: none;
  }
}

input {
  &::-webkit-inner-spin-button {
    appearance: none;
  }
}

::selection {
  background-color: var(--theme-color);
  color: $white;
}

::-moz-selection {
  background-color: var(--theme-color);
  color: $white;
}

.media {
  display: flex;
  align-items: flex-start;

  .media-body {
    flex: 1;
  }
}

.form-check {
  display: flex;
}

.input-group-prepend,
.input-group-append {
  display: flex;
}

.breadcrumb {
  padding: 0.75rem 1rem;
}

.form-inline {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

.sticky-top-section {
  position: sticky;
  top: 110px;
  z-index: 1;
}

.bg-size {
  background-size: cover;
  background-repeat: no-repeat;
  display: block;
  background-position: center;

  >img {
    display: none !important;
  }
}

.product-detail-label {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  display: inline-flex;
  gap: 10px;
  flex-direction: column;

  li {
    font-size: 13px;
    background-color: rgba(236, 137, 81, 0.11);
    color: var(--theme-color);
    padding: 4px 10px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    width: max-content;
    letter-spacing: 0.1em;
    word-spacing: 3px;

    &.soldout {
      background-color: rgba(95, 95, 95, 0.13);
      color: #5f5f5f;
    }

    &.featured {
      background-color: $white;
      color: var(--theme-color);
    }
  }
}

.future-box {
  display: none;

  &.show {
    display: block;
  }
}

.invalid-feedback {
  display: block;
  font-size: 13px;
  font-weight: 500;
}

@media (min-width: 992px) {
  .w-lg-50 {
    width: 50% !important;
  }
}

a:not([href]):not([class]) {
  cursor: pointer;
}

.row-empty-cls {
  &:empty {
    margin: 0;
  }
}

.bg_cls {
  background-color: $top-header;
}

@media (min-width: 1630px) {
  .large-container {
    .container {
      max-width: 1610px;
    }
  }
}

.bg-grey {
  background-color: #f7f7f7;
}

.gradient-text {
  background: linear-gradient(to right, var(--theme-color) 0%, var(--theme-color2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 1572px) {
  .md-container {
    .container {
      max-width: 1514px;
    }
  }
}

#nprogress {
  .bar {
    background: var(--theme-color) !important;
  }

  .spinner-icon {
    border-top-color: var(--theme-color) !important;
    border-left-color: var(--theme-color) !important;
  }

  .peg {
    box-shadow: unset !important;
  }
}

.alert {
  border-radius: 0;
}

.empty-box {
  text-align: center;

  img {
    width: 40px;
    opacity: 1;
  }

  h2 {
    font-size: 22px;
    color: #bfbfbf;
    font-weight: 500;
    text-align: center;
    padding: 14px 0 30px;
  }
}

table,
.table {
  margin-bottom: 0;
}

.cursor-pointer {
  >.form-select {
    cursor: pointer;
  }
}

.Toastify {
  .Toastify__toast-container {
    width: 300px;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    right: unset;
    padding: 0;

    .Toastify__bounce-exit--top-right,
    .Toastify__bounce-exit--bottom-right {
      animation-name: Toastify__bounceOutUp;
    }

    .Toastify__bounce-enter--top-right,
    .Toastify__bounce-enter--bottom-right {
      animation-name: Toastify__bounceInDown;
    }

    .Toastify__toast {
      background-image: none;
      padding: 12px;
      display: flex;
      align-items: center;
      gap: 5px;
      position: relative;
      border-radius: 0;
      min-height: unset;

      &--success {
        color: #0d462c;
        background-color: #d1e7dd;
        border: 1px solid #bfddcf;

        .Toastify__toast-body {
          .Toastify__toast-icon {
            &:before {
              content: "\eb7b";
            }
          }
        }
      }

      &--error {
        color: #721c24;
        background-color: #f8d7da;
        border: 1px solid #f5c6cb;

        .Toastify__toast-body {
          .Toastify__toast-icon {
            &:before {
              content: "\eb99";
            }
          }
        }
      }

      .Toastify__close-button {
        line-height: 1;
        opacity: 1;
        display: none;
      }
    }

    .Toastify__toast-body {
      margin: 0;
      font-family: "Montserrat", sans-serif;
      padding: 0;

      .Toastify__toast-icon {
        position: relative;

        &:before {
          @include font;
          font-size: 19px;
          line-height: 1;
        }

        svg {
          display: none;
        }
      }

      >div {
        font-weight: 600;
      }
    }

    .Toastify__progress-bar--wrp {
      opacity: 0;
    }
  }
}

.custom-border-radius {
  border-radius: calc(7px + (18 - 7) * ((100vw - 320px) / (1920 - 320)));
}

.table> :not(caption)>*>* {
  background-color: transparent;
}