/**=====================
     Product scss
==========================**/
.vertical-product-box {
  &:hover {
    .option {
      opacity: 1;
      visibility: visible;

      li {
        opacity: 1;
        transform: translateY(0);

        &:nth-child(1) {
          transition-delay: 0.1s;
        }

        &:nth-child(2) {
          transition-delay: 0.2s;
        }

        &:nth-child(3) {
          transition-delay: 0.3s;
        }

        &:nth-child(4) {
          transition-delay: 0.4s;
        }
      }
    }
  }

  .option {
    @include center(vertical);
    left: calc(11px + (23 - 11) * ((100vw - 320px) / (1920 - 320)));
    display: flex;
    align-items: center;
    position: absolute;
    gap: 8px;
    background-color: #f8f8f8;
    @include pseudowh;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    visibility: hidden;

    body.rtl & {
      padding-right: 0;
    }

    @include mq-max(xs) {
      margin: 0 -1px;
    }

    li {
      @include pseudowh($width: 40px, $height: 40px);
      @include flex_common;
      background-color: $white;
      border-radius: 50%;
      border: 1px solid var(--theme-color);
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.5s ease-in-out;
      position: relative;
      overflow: hidden;

      @include mq-max(xs) {
        @include pseudowh($width: 30px, $height: 30px);
        margin: 0 1px;
      }

      &:before {
        @include pos;
        @include pseudowh;
        top: 0;
        left: 0;
        background-color: var(--theme-color);
        opacity: 0.1;
        z-index: -1;
      }

      a {
        z-index: 1;
        @include flex_common;

        .icli {
          font-size: 20px;
          color: $black;

          @include mq-max(xs) {
            font-size: 15px;
          }

          &.iconly-Swap {
            transform: rotate(90deg);
          }
        }
      }
    }
  }
}

.add-to-cart-box {
  background-color: #f8f8f8;
  border-radius: 50px;
  position: relative;
  max-width: 100%;

  .btn-add-cart {
    padding: calc(8px + (10 - 8) * ((100vw - 320px) / (1920 - 320))) 0;
    width: 100%;
    font-size: calc(14px + (15 - 14) * ((100vw - 320px) / (1920 - 320)));
    margin-top: 10px;
    color: $content-color;
    border-radius: 50px;
    font-weight: 500;

    .add-icon {
      @include center(vertical);
      @include flex_common;
      @include pseudowh(
        $width: calc(30px + (37 - 30) * ((100vw - 320px) / (1920 - 320))),
        $height: calc(30px + (37 - 30) * ((100vw - 320px) / (1920 - 320)))
      );
      background-color: $white;
      border-radius: 100%;
      color: var(--theme-color);
      position: absolute;
      right: 4px;

      &.bg-light-orange {
        background-color: #f9f8f6;
      }

      &.bg-light-gray {
        background-color: #f8f8f8;
      }

      @include mq-max(xs) {
        display: none;
      }

      i {
        font-size: 22px;
      }
    }
  }

  .qty-box {
    @include pseudowh;
    @include center(both);
    max-width: 100%;
    position: absolute;
    margin: 0;
    display: none;

    &.open {
      display: block;
    }

    .input-group {
      background-color: $light-gray;
      border-radius: 4px;
      padding: 4px;
      text-align: center;
      z-index: 0;

      &.theme-bg-white {
        background-color: $white;
      }

      button {
        @include pseudowh($width: 32px, $height: 32px);
        @include flex_common;
        border: none;
        padding: 0;
        background-color: $white;
        z-index: 0;
        border-radius: 2px !important;

        > div {
          display: flex;
          line-height: 1;
          align-items: center;
        }

        i {
          font-size: 20px;
          color: var(--theme-color);
          margin-top: 1px;
        }

        &:focus {
          box-shadow: none;
        }

        &:hover {
          background-color: $white;

          i {
            color: var(--theme-color);
          }
        }
      }

      input {
        height: auto;
        background-color: transparent;
        border: none;
        padding: 0;
        text-align: center;
        font-size: 14px;
        color: $content-color;
      }
    }
  }
}

.add-to-cart-btn-2 {
  .btn {
    @include flex_common;
    @include pseudowh(
      $width: calc(30px + (37 - 30) * ((100vw - 320px) / (1920 - 320))),
      $height: calc(30px + (37 - 30) * ((100vw - 320px) / (1920 - 320)))
    );
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #f7f7f7;
    padding: 0;
    border-radius: 100%;
    color: var(--theme-color);

    body.rtl & {
      right: unset;
      left: 0;
    }
  }

  .qty-box-2 {
    display: none;
    bottom: 0;
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    margin-left: auto;
    max-width: 190px;

    body.rtl & {
      left: unset;
      right: 0;
    }

    &.qty-box-3 {
      max-width: 203px;
    }

    &.open {
      display: block;
    }

    .input-group {
      background-color: $light-gray;
      border-radius: 5px;
      padding: 4px;
      text-align: center;
      z-index: 0;

      button {
        @include pseudowh(
          $width: calc(29px + (35 - 29) * ((100vw - 320px) / (1920 - 320))),
          $height: calc(29px + (35 - 29) * ((100vw - 320px) / (1920 - 320)))
        );
        @include flex_common;
        border: none;
        padding: 0;
        background-color: $white;
        z-index: 0;
        border-radius: 3px !important;

        i {
          font-size: 13px;
          color: var(--theme-color);
          margin-top: 1px;
        }

        &:focus {
          box-shadow: none;
        }
      }

      input {
        height: auto;
        background-color: transparent;
        border: none;
        padding: 0;
        text-align: center;
        font-size: 14px;
        color: $content-color;
      }
    }
  }
}

.qty-box {
  margin-top: 10px;
  width: 100%;
  max-width: 170px;

  .input-group {
    background-color: $light-gray;
    border-radius: 7px;
    padding: 4px;
    text-align: center;
    z-index: 0;

    &.theme-bg-white {
      background-color: $white;
    }

    button {
      @include pseudowh(
        $width: calc(26px + (35 - 26) * ((100vw - 320px) / (1920 - 320))),
        $height: calc(26px + (35 - 26) * ((100vw - 320px) / (1920 - 320)))
      );
      @include flex_common;
      border: none;
      padding: 0;
      background-color: $white;
      z-index: 0;
      border-radius: 4px !important;

      i {
        font-size: 13px;
        color: var(--theme-color);
        margin-top: 1px;
      }

      &:focus {
        box-shadow: none;
      }
    }

    input {
      height: auto;
      background-color: transparent;
      border: none;
      padding: 0;
      text-align: center;
      font-size: 14px;
      color: $content-color;
    }
  }
}

.deal-timer {
  margin: 11px 0;

  &.product-deal-timer {
    width: 290px;
    margin-top: 24px;

    ul {
      padding: calc(8px + (14 - 8) * ((100vw - 320px) / (1920 - 320)));
      background-color: #f8f8f8;
      border-radius: 8px;
      border: none;

      li {
        + li {
          &::before {
            left: -25px;

            body.rtl & {
              left: unset;
              right: -25px;
            }
          }
        }

        .counter {
          text-align: center;

          > div {
            font-size: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
          }
        }
      }
    }
  }

  .deal-title {
    font-weight: 600;
    margin-bottom: 7px;
    letter-spacing: 0.4px;
  }

  ul {
    @include flex_common($dis: flex, $align: center, $justify: space-between);
    padding: 8px 12px;
    border: 1px dashed var(--theme-color);
    text-align: center;

    li {
      position: relative;

      + li {
        &::before {
          @include pos($pos: absolute, $content: ':');
          @include center(vertical);
          left: -20px;

          body.rtl & {
            left: unset;
            right: -20px;
          }
        }
      }

      .counter {
        > div {
          display: flex;
          align-items: center;

          h5 {
            font-weight: 600;
            margin-bottom: 4px;
          }

          h6 {
            color: $content-color;
            font-size: 13px;
          }
        }
      }
    }
  }
}

.category-menu {
  background-color: $light-gray;
  padding: calc(12px + (33 - 12) * ((100vw - 320px) / (1920 - 320)));
  border-radius: 5px;

  &-2 {
    background: linear-gradient(136.8deg, #f6f5f2 17.01%, #fdf7f0 93.97%);
  }

  h3 {
    margin-bottom: 40px;
    font-weight: 600;
    position: relative;
    display: inline-block;

    &::before {
      @include pos;
      @include pseudowh($width: 102px, $height: 2px);
      bottom: calc(-11px + (-8 - -11) * ((100vw - 320px) / (1920 - 320)));
      left: 0;
      background-color: var(--theme-color);

      body.rtl & {
        left: unset;
        right: 0;
      }
    }
  }

  ul {
    @include flex_wrap($dis: flex, $wrap: wrap, $gap: 23px);

    &.value-list {
      margin-top: 35px;
      border: none;
    }

    li {
      display: block;
      width: 100%;

      &.pb-30 {
        margin-bottom: 30px;
      }

      .category-list {
        @include flex_wrap(
          $dis: flex,
          $wrap: nowrap,
          $gap: calc(10px + (16 - 10) * ((100vw - 320px) / (1920 - 320)))
        );
        align-items: center;
        color: $title-color;

        &:hover {
          h5 {
            a {
              letter-spacing: 0.5px;

              &:before {
                width: 70px;
              }
            }
          }
        }

        svg {
          @include pseudowh($width: 25px, $height: 25px);
          stroke: $title-color;
        }

        img {
          @include pseudowh($width: 25px, $height: 25px);
          object-fit: contain;
        }

        h5 {
          a {
            color: $title-color;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            overflow: hidden;
            position: relative;
            z-index: 0;
            transition: all 0.3s ease-in-out;

            &:hover {
              color: $title-color;
            }

            &::before {
              @include pos;
              @include pseudowh($width: 0, $height: 3px);
              bottom: 0;
              left: 0;
              opacity: 0.5;
              border-radius: 50px;
              background-color: var(--theme-color);
              z-index: -1;
              transition: all 0.3s ease-in-out;

              body.rtl & {
                left: unset;
                right: 0;
              }
            }
          }
        }

        i {
          margin-left: auto;
        }
      }
    }
  }

  &.menu-xl {
    position: sticky;
    top: 130px;

    ul {
      gap: 28px;
      border-bottom: none;

      li {
        .category-list {
          img {
            width: 35px;
            height: 35px;
          }

          h5 {
            font-size: 17px;
          }
        }
      }
    }
  }
}

.product-modern {
  border: 1px solid $border-color;
  border-radius: 0px;
  padding: 0;

  > .product-box-slider {
    > div {
      > .row {
        > div {
          &:nth-child(n + 6) {
            border-top: 1px solid rgba($content-color, 0.3);
          }

          &:nth-child(5n + 5) {
            .product-box {
              border-right: none;

              body.rtl & {
                border-left: none;
                border-right: unset;
              }
            }
          }

          @media screen and (max-width: 616px) {
            &:nth-child(5n + 2) {
              .product-box {
                border-right: none;

                body.rtl & {
                  border-left: none;
                  border-right: unset;
                }
              }
            }
          }
        }
      }
    }
  }
}

.product-box {
  padding: calc(8px + (14 - 8) * ((100vw - 320px) / (1920 - 320)));
  position: relative;
  overflow: hidden;
  border: 1px solid $border-color;

  body.rtl & {
    direction: rtl;
  }

  &:hover {
    .product-image {
      a {
        img {
          transform: scale(1.1);
        }
      }

      .product-option {
        bottom: 15px;
        opacity: 1;
      }
    }
  }

  &.product-box-bg {
    background: #f8f8f8;
    border-radius: 5px;
    padding: calc(10px + (14 - 10) * ((100vw - 320px) / (1920 - 320)));
    border: none;

    .qty-box {
      .input-group {
        background-color: $white;
        box-shadow: 0 0 8px rgba(34, 34, 34, 0.04);
      }
    }

    + .product-box-bg {
      margin-top: 20px !important;

      @include mq-max(sm) {
        margin-top: 10px !important;
      }
    }
  }

  &.product-white-bg {
    background-color: $white;
    border-radius: calc(9px + (16 - 9) * ((100vw - 320px) / (1920 - 320)));
    padding: calc(10px + (14 - 10) * ((100vw - 320px) / (1920 - 320)));
    border: 1px solid #eee;

    .qty-box {
      @include pseudowh;
      top: 0;
      right: 0;
      max-width: 60%;
      position: absolute;
      margin: 0;

      body.rtl & {
        right: unset;
        left: 0;
      }

      .input-group {
        border-radius: 100px;
        background-color: $light-gray;
        box-shadow: unset;
        border: unset;

        button {
          width: 28px;
          height: 28px;
          border-radius: 100% !important;

          > div {
            line-height: 1;
          }
        }
      }
    }

    &:hover {
      box-shadow: 0 15px 70px rgba($black, 0.07);

      html.dark & {
        box-shadow: 0 15px 70px rgba(137, 137, 137, 0.05);
      }
    }

    .add-to-cart-btn-2 {
      .addcart-button {
        position: relative;
        inset: unset;
      }
    }

    .bottom-content {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      position: relative;
    }
  }

  .product-image {
    text-align: center;
    padding: 20px;
    position: relative;

    @include mq-max(xs) {
      padding: 8px;
    }

    .product-option {
      @include center(horizontal);
      @include flex_common;
      position: absolute;
      bottom: -5px;
      background-color: $white;
      padding: 10px 5px;
      border-radius: 7px;
      box-shadow: 0 0 8px rgba(34, 34, 34, 0.12);
      opacity: 0;
      transition: all 0.3s ease-in-out;

      @include mq-max(xs) {
        display: none;
      }

      li {
        position: relative;
        width: 40px;

        a {
          color: $title-color;

          i {
            font-size: 16px;
          }

          .feather {
            @include pseudowh($width: 17px, $height: auto);
            color: $content-color;
          }
        }

        + li {
          &:after {
            @include pos;
            @include pseudowh($width: 1px, $height: 100%);
            top: 0;
            left: 0;
            background-color: $content-color;
            opacity: 0.3;

            body.rtl & {
              left: unset;
              right: 0;
            }
          }
        }
      }
    }

    img {
      @include pseudowh(
        $width: 100%,
        $height: calc(100px + (140 - 100) * ((100vw - 320px) / (1920 - 320)))
      );
      object-fit: contain;
      transition:
        opacity 0.5s,
        transform 1.25s cubic-bezier(0, 0, 0.44, 1.18);
    }
  }

  .product-detail {
    .brand-name {
      color: $content-color;
      margin-bottom: 5px;
    }

    a {
      color: $title-color;
      display: block;

      &:hover {
        color: $title-color;
      }

      h6 {
        &.name {
          font-weight: 600;
          line-height: 22px;
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
          display: -webkit-box;
          overflow: hidden;
          font-size: 16px;

          &-2 {
            -webkit-line-clamp: 1;
          }
        }
      }
    }

    p {
      display: none;
    }

    .byers {
      color: #999;
    }

    .product-rating {
      flex-wrap: wrap;
      gap: calc(4px + (7 - 4) * ((100vw - 320px) / (1920 - 320)));
      margin-top: 2px;

      body.rtl & {
        justify-content: flex-start;
      }

      h6 {
        font-weight: 500;
      }
    }
  }

  .progress {
    height: 6px;
    border-radius: 0;
    margin-top: calc(14px + (22 - 14) * ((100vw - 320px) / (1920 - 320)));
  }

  .stock {
    font-size: 14px;
    color: var(--theme-color);
    margin-left: auto;
  }

  .sold {
    font-weight: 600;
    margin-top: 3px;
    line-height: 21px;
    font-size: calc(14px + (15 - 14) * ((100vw - 320px) / (1920 - 320)));

    body.rtl & {
      text-align: right;
    }

    .price {
      font-weight: 600;
      margin-top: 0;
    }

    del {
      font-weight: 400;
      margin-left: 6px;
      font-size: calc(13px + (14 - 13) * ((100vw - 320px) / (1920 - 320)));

      body.rtl & {
        margin-left: unset;
        margin-right: 6px;
      }
    }

    &.weight {
      font-size: 13px;
      margin: calc(5px + (8 - 5) * ((100vw - 320px) / (1920 - 320))) 0;
      line-height: normal;
    }
  }

  .counter-box {
    display: block;
    position: relative;

    h6 {
      margin-top: 0;
    }

    .addtocart_btn {
      .add-button,
      .add_cart {
        @include flex_common;
        position: absolute;
        bottom: 0;
        right: 0;
        padding: 7px 11px;
        background-color: var(--theme-color);
        color: white;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s ease;

        span {
          position: relative;
          left: unset;
          right: unset;
          bottom: unset;
          font-size: 15px;
          margin-right: 8px;

          @include mq-max(xs) {
            display: none;
          }
        }
      }

      .qty-box {
        display: none;
        transition: all 0.3s ease;
        z-index: 1;
        margin-top: 0;
        max-width: 155px;

        &.open {
          display: block;
          position: absolute;
          right: 0;
          bottom: 0;
          width: 100%;
          transition: all 0.3s ease;
        }
      }

      .input-group {
        box-shadow: 0 2px 4px 0 #dedede;
        border-radius: 2px;
        padding: 4px;
        text-align: center;
        z-index: 0;
        background-color: $white;

        .btn {
          padding: 7px 12px;
          font-size: 10px;
          line-height: 1;
          border-radius: 2px !important;
          background-color: #f8f8f8;

          i {
            font-size: 15px;
          }
        }

        .form-control {
          padding: 2px;
          text-align: center;
          border-color: #f9f9f9;
        }
      }
    }
  }

  .price {
    margin-top: 16px;
    font-weight: 600;
  }

  .add-to-cart-box {
    .qty-box {
      .input-group {
        border-radius: 100px;
      }

      .input-group {
        button {
          border-radius: 100% !important;
        }
      }
    }
  }
}

.product-style-1 {
  padding: calc(8px + (14 - 8) * ((100vw - 320px) / (1920 - 320)));
  position: relative;
  transition: all 0.3s ease-in-out;
  overflow: hidden;

  &:hover {
    .product-image {
      a {
        img {
          transform: scale(1.1);
        }
      }

      .product-option {
        bottom: 15px;
        opacity: 1;
      }
    }
  }

  .product-image {
    text-align: center;
    padding: 20px;
    position: relative;

    @include mq-max(xs) {
      padding: 8px;
    }

    .product-option {
      @include center(horizontal);
      @include flex_common;
      position: absolute;
      bottom: -5px;
      background-color: $white;
      padding: 10px 5px;
      border-radius: 7px;
      box-shadow: 0 0 8px rgba($title-color, 0.12);
      opacity: 0;
      transition: all 0.3s ease-in-out;

      @include mq-max(xs) {
        display: none;
      }

      li {
        position: relative;
        width: 40px;

        a {
          color: $title-color;

          .feather {
            @include pseudowh($width: 17px, $height: auto);
            color: $content-color;
          }
        }

        + li {
          &:after {
            @include pos;
            @include pseudowh($width: 1px, $height: 100%);
            top: 0;
            left: 0;
            background-color: $content-color;
            opacity: 0.3;

            body.rtl & {
              left: unset;
              right: 0;
            }
          }
        }
      }
    }

    img {
      @include pseudowh($width: 100%, $height: 140px);
      object-fit: contain;
      transition: all 0.3s ease-in-out;
    }
  }

  .add-to-cart-box {
    border-radius: 4px;

    .btn-add-cart {
      border-radius: 4px;
    }
  }

  .product-detail {
    text-align: center;

    p {
      display: none;
    }

    a {
      color: $title-color;
      display: block;

      &:hover {
        color: $title-color;
      }

      h6 {
        &.name {
          font-weight: 600;
          line-height: 22px;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          font-size: 16px;
        }
      }
    }

    .sold {
      margin-block: 5px;
    }

    .product-rating {
      flex-wrap: wrap;
      justify-content: center;
      gap: calc(4px + (7 - 4) * ((100vw - 320px) / (1920 - 320)));

      h6 {
        font-weight: 500;
        margin-top: 3px;
      }
    }
  }
}

.product-style-2 {
  padding: 6px 20px;
  overflow: hidden;
  position: relative;
  border-right: 1px solid rgba(74, 85, 104, 0.1);

  &:hover {
    .product-image {
      a {
        img {
          transform: scale(1.1);
        }
      }

      .product-option {
        bottom: 15px;
        opacity: 1;
      }
    }
  }

  .product-image {
    text-align: center;
    padding: 20px;
    position: relative;

    @include mq-max(xs) {
      padding: 8px;
    }

    .product-option {
      @include center(horizontal);
      @include flex_common($dis: flex, $align: center, $justify: space-between);
      position: absolute;
      bottom: -5px;
      background-color: $white;
      width: 70%;
      padding: 10px 5px;
      border-radius: 7px;
      box-shadow: 0 0 8px rgba($title-color, 0.12);
      opacity: 0;
      transition: all 0.3s ease-in-out;
      max-width: 320px;

      @include mq-max(xs) {
        display: none;
      }

      li {
        position: relative;
        width: 33.33%;

        a {
          color: $title-color;

          .feather {
            @include pseudowh($width: 17px, $height: auto);
            color: $content-color;
          }
        }

        + li {
          &:after {
            @include pos;
            @include pseudowh($width: 1px, $height: 100%);
            top: 0;
            left: 0;
            background-color: $content-color;
            opacity: 0.3;

            body.rtl & {
              left: unset;
              right: 0;
            }
          }
        }
      }
    }

    img {
      @include pseudowh($width: 100%, $height: 140px);
      object-fit: contain;
      transition: all 0.3s ease-in-out;
    }
  }

  .product-rating {
    h6 {
      font-size: 13px;
      color: rgba($content-color, 0.82);
    }
  }

  .add-to-cart-box {
    border-radius: 4px;
    max-width: 100%;

    .btn-add-cart {
      border-radius: 4px;
      border: 1px solid var(--theme-color);
      background-color: $white !important;
      color: var(--theme-color) !important;
      font-weight: 600;
      margin-top: 16px;
      padding: 8px;
    }
  }

  .product-detail {
    .brand-name {
      color: $content-color;
      margin-bottom: 5px;
    }

    a {
      color: $title-color;
      display: block;

      &:hover {
        color: $title-color;
      }

      h6 {
        &.name {
          font-weight: 600;
          line-height: 22px;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          margin-bottom: 3px;
          font-size: 16px;
        }
      }
    }

    p {
      display: none;
    }

    .form-select {
      margin-bottom: 13px;
      background-color: #f8f8f8;
      border: none;
      padding: 8px 13px;
      border: 1px solid rgba(74, 85, 104, 0.1);
      margin-top: 16px;
    }

    .product-rating {
      flex-wrap: wrap;
      gap: calc(4px + (7 - 4) * ((100vw - 320px) / (1920 - 320)));

      h6 {
        font-weight: 500;
      }
    }

    .product-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 0;
      position: relative;

      h5 {
        margin: 0;
        padding: 0;
      }

      .add-to-cart-box {
        border-radius: 4px;
        max-width: 100%;
        background-color: transparent;
        margin: 0;
        position: unset;

        .qty-box {
          top: 0;
          left: unset;
          right: 0;
          transform: unset;
        }

        .btn-add-cart {
          border-radius: 4px;
          border: 1px solid var(--theme-color);
          background-color: $white !important;
          color: var(--theme-color) !important;
          font-weight: 600;
          padding: 7px 17px;
          margin: 0;
        }
      }
    }
  }
}

.border-effect {
  border: 1px solid $border-color;
  border-radius: 5px;
  position: absolute;
  right: 0;
  top: 0;
  width: calc(33.33% - 20px);
  height: 100%;
  z-index: -1;

  @media (max-width: 1400px) and (min-width: 1200px) {
    display: none;
  }

  @media (max-width: 830px) {
    display: none;
  }
}

.product-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px calc(20px + (30 - 20) * ((100vw - 320px) / (1920 - 320)));
  padding: calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320))) 0;

  @media (max-width: 1400px) and (min-width: 1200px) {
    grid-template-columns: 1fr 1fr;
  }

  @media (max-width: 830px) {
    grid-template-columns: 1fr 1fr;
  }

  @media (max-width: 576px) {
    grid-template-columns: 1fr;
    gap: 30px calc(20px + (30 - 20) * ((100vw - 320px) / (1920 - 320)));
  }

  &.sidebar-product {
    gap: 50px calc(20px + (30 - 20) * ((100vw - 320px) / (1920 - 320)));

    li {
      padding: 0;

      + li {
        &:after {
          @include pos;
          top: -28px;
          right: 0;
          border-bottom: 1px dashed rgba(74, 85, 104, 0.3);
          width: calc(100% - 103px);

          body.rtl & {
            right: unset;
            left: 0;
          }
        }
      }
    }
  }

  &:after,
  &:before {
    @include pos;
    border: 1px solid $border-color;
    border-radius: 10px;
    left: 0;
    top: 0;
    width: calc(33.33% - 12px);
    height: 100%;
    z-index: -1;

    @media (max-width: 1400px) and (min-width: 1200px) {
      width: calc(50% - 12px);
    }

    @media (max-width: 830px) {
      width: calc(50% - 15px);
    }

    @media (max-width: 576px) {
      width: 100%;
    }
  }

  &:before {
    left: calc(33.33% + 10px);

    @media (max-width: 1400px) and (min-width: 1200px) {
      left: calc(50% + 10px);
    }

    @media (max-width: 830px) {
      left: calc(50% + 15px);
      width: calc(50% - 15px);
    }

    @media (max-width: 576px) {
      left: 0;
      width: 100%;
    }
  }

  li {
    width: 100%;
    display: flex;
    align-items: center;
    height: auto;
    position: relative;
    padding: 0 calc(18px + (30 - 18) * ((100vw - 1199px) / (1920 - 1199)));

    @media (min-width: 1400px) {
      &:nth-child(n + 4) {
        &:after {
          @include pos;
          top: calc(-22px + (-28 - -22) * ((100vw - 992px) / (1920 - 992)));
          right: calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
          border-bottom: 1px dashed rgba(74, 85, 104, 0.3);
          width: calc(
            100% - calc(120px + (143 - 120) * ((100vw - 320px) / (1920 - 320))) - calc(
                12px + (23 - 12) * ((100vw - 320px) / (1920 - 320))
              )
          );

          body.rtl & {
            left: calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
            right: unset;
          }
        }
      }
    }

    @media (max-width: 1400px) and (min-width: 1200px) {
      &:nth-child(n + 3) {
        &:after {
          @include pos;
          top: calc(-22px + (-28 - -22) * ((100vw - 992px) / (1920 - 992)));
          right: calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
          border-bottom: 1px dashed rgba(74, 85, 104, 0.3);
          width: calc(
            100% - calc(120px + (143 - 120) * ((100vw - 320px) / (1920 - 320))) - calc(
                12px + (23 - 12) * ((100vw - 320px) / (1920 - 320))
              )
          );

          body.rtl & {
            left: calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
            right: unset;
          }
        }
      }
    }

    @media (max-width: 1200px) and (min-width: 830px) {
      &:nth-child(n + 4) {
        &:after {
          @include pos;
          top: calc(-22px + (-28 - -22) * ((100vw - 992px) / (1920 - 992)));
          right: calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
          border-bottom: 1px dashed rgba(74, 85, 104, 0.3);
          width: calc(
            100% - calc(120px + (143 - 120) * ((100vw - 320px) / (1920 - 320))) - calc(
                12px + (23 - 12) * ((100vw - 320px) / (1920 - 320))
              )
          );

          body.rtl & {
            left: calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
            right: unset;
          }
        }
      }
    }

    @media (max-width: 830px) and (min-width: 576px) {
      &:nth-child(n + 3) {
        &:after {
          @include pos;
          top: -28px;
          right: calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
          border-bottom: 1px dashed rgba(74, 85, 104, 0.3);
          width: calc(100% - calc(120px + (143 - 120) * ((100vw - 320px) / (1920 - 320))));

          body.rtl & {
            left: calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
            right: unset;
          }
        }
      }
    }

    @media (max-width: 576px) {
      &:nth-child(n + 2) {
        &:after {
          @include pos;
          top: -18px;
          right: calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
          border-bottom: 1px dashed rgba(74, 85, 104, 0.3);
          width: calc(100% - calc(120px + (143 - 120) * ((100vw - 320px) / (1920 - 320))));

          body.rtl & {
            left: calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
            right: unset;
          }
        }
      }
    }

    .offer-product {
      @include pseudowh;
      display: flex;
      align-items: center;
      gap: calc(12px + (23 - 12) * ((100vw - 320px) / (1920 - 320)));

      &:hover {
        .offer-image {
          transform: scale(1.1);
        }

        .offer-detail {
          a {
            .name {
              color: var(--theme-color);
            }
          }
        }
      }

      .offer-image {
        width: calc(75px + (80 - 75) * ((100vw - 320px) / (1920 - 320)));

        @include mq-max(4xl) {
          width: calc(80px + (90 - 80) * ((100vw - 320px) / (1920 - 320)));
        }

        img {
          @include pseudowh($width: 80px, $height: 80px);
          object-fit: contain;
          transition: all 0.3s ease-in-out;
        }
      }

      .offer-detail {
        @include pseudowh(
          $width: calc(
              100% - calc(75px + (80 - 75) * ((100vw - 320px) / (1920 - 320))) - calc(
                  12px + (23 - 12) * ((100vw - 320px) / (1920 - 320))
                )
            ),
          $height: 80px
        );
        position: relative;
        display: flex;
        align-items: center;

        @include mq-max(4xl) {
          width: calc(
            100% - calc(80px + (90 - 80) * ((100vw - 320px) / (1920 - 320))) - calc(
                12px + (23 - 12) * ((100vw - 320px) / (1920 - 320))
              )
          );
        }

        .vertical-price {
          display: flex;
          align-items: center;
          gap: 4px;
          margin-top: calc(2px + (6 - 2) * ((100vw - 320px) / (1920 - 320)));
          white-space: nowrap;
          margin-bottom: -2px;

          .price {
            font-weight: 600;
          }
        }

        a {
          display: block;
          color: $title-color;

          &:hover {
            color: $title-color;
          }

          .name {
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            overflow: hidden;
            font-weight: 500;
            margin-top: -1px;
            transition: all 0.3s ease-in-out;
            font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
          }
        }

        span {
          font-size: 14px;
          margin-top: 5px;
          color: $content-color;
          font-weight: 400;
        }
      }
    }
  }
}

.product-category {
  padding: calc(19px + (36 - 19) * ((100vw - 320px) / (1920 - 320)))
    calc(16px + (25 - 16) * ((100vw - 320px) / (1920 - 320)));
  background-color: $light-gray;

  .product-category-list {
    column-count: 2;

    body.rtl & {
      padding-left: unset;
      padding-right: 0;
    }

    li {
      display: block;
      padding-left: 22px;
      font-size: 14px;
      color: $content-color;
      position: relative;
      width: 140px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;

      body.rtl & {
        padding-left: unset;
        padding-right: 22px;
      }

      &::before {
        @include pos;
        @include pseudowh($width: 7px, $height: 7px);
        top: 50%;
        transform: rotate(45deg) translateY(-50%);
        left: 0;
        border: 1px solid $content-color;

        body.rtl & {
          left: unset;
          right: 8px;
        }
      }

      + li {
        margin-top: calc(14px + (26 - 14) * ((100vw - 320px) / (1920 - 320)));
      }

      &:last-child {
        a {
          display: flex;
          align-items: center;

          &:hover {
            color: var(--theme-color);
          }

          i {
            margin-left: 8px;
          }
        }

        &::before {
          display: none;
        }
      }
    }
  }
}

.slider-3-product {
  height: 100%;

  owl-carousel-o {
    height: 100%;
    display: block;

    .owl-carousel {
      height: 100%;

      .owl-stage-outer {
        height: 100%;

        owl-stage {
          height: 100%;
          display: block;

          > div {
            height: 100%;
          }

          .owl-stage {
            height: 100%;

            .owl-item {
              height: 100%;

              > div {
                height: 100%;
              }
            }
          }
        }
      }
    }
  }

  .product-slider-image {
    background-color: #f8f8f8;
    height: 100%;
    @include flex_common;

    video {
      width: 100%;
      height: 100%;
    }
  }
}

.product-slider {
  padding-bottom: 5px;

  &:hover {
    .product-slider-image {
      img {
        transform: scale(1.1) rotate(4deg);
      }
    }
  }

  .product-slider-image {
    border-radius: 5px;
    overflow: hidden;
    display: block;

    img {
      transition: all 0.3s ease-in-out;
    }
  }

  .product-slider-detail {
    backdrop-filter: blur(4px);
    width: calc(100% - 32px);
    margin: -50px auto 0;
    padding: calc(20px + (25 - 20) * ((100vw - 320px) / (1920 - 320)))
      calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(47, 88, 80, 0.05);
    background-color: rgba($white, 0.8);

    > div {
      position: relative;
    }

    h3 {
      font-weight: 600;
      margin-bottom: calc(6px + (10 - 6) * ((100vw - 320px) / (1920 - 320)));
      text-align: center;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      display: -webkit-box;
      overflow: hidden;
      margin-top: -2px;
    }

    h5 {
      margin-bottom: 0;
      color: $content-color;
      text-align: center;
    }

    h6 {
      margin-top: calc(4px + (10 - 4) * ((100vw - 320px) / (1920 - 320)));
      font-weight: 500;
    }

    .product-button {
      position: absolute;
      bottom: 0;
      right: 0;

      body.rtl & {
        right: unset;
        left: 0;
      }

      @include mq-max(2xs) {
        position: relative;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
      }
    }
  }
}

.top-selling-box {
  .top-selling-title {
    border-bottom: 1px solid #e0e2e7;
    padding-bottom: calc(12px + (22 - 12) * ((100vw - 320px) / (1920 - 320)));
    margin-bottom: calc(24px + (36 - 24) * ((100vw - 320px) / (1920 - 320)));
    position: relative;

    &::after {
      @include pos;
      @include pseudowh($width: 120px, $height: 2px);
      bottom: 0;
      left: 0;
      background-color: var(--theme-color);

      body.rtl & {
        left: unset;
        right: 0;
      }
    }

    h3 {
      font-size: calc(19px + (22 - 19) * ((100vw - 320px) / (1920 - 320)));
      font-weight: 600;
    }
  }

  .top-selling-contain {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    + .top-selling-contain {
      margin-top: calc(14px + (30 - 14) * ((100vw - 320px) / (1920 - 320)));

      &:before {
        @include pos;
        top: -15px;
        right: 0;
        width: calc(100% - 118px);
        border: 1px dashed rgba($content-color, 0.3);

        body.rtl & {
          right: unset;
          left: 0;
        }
      }
    }

    &:hover {
      .top-selling-detail {
        h5 {
          color: var(--theme-color);
        }

        .product-option {
          top: 0;
          opacity: 1;
        }
      }

      .top-selling-image {
        img {
          transform: scale(1.1);
        }
      }
    }

    .top-selling-image {
      overflow: hidden;
      @include pseudowh(
        $width: calc(80px + (100 - 80) * ((100vw - 320px) / (1920 - 320))),
        $height: calc(80px + (100 - 80) * ((100vw - 320px) / (1920 - 320)))
      );
      border-radius: 5px;

      img {
        object-fit: contain;
        transition: all 0.3s ease-in-out;
      }
    }

    .top-selling-detail {
      padding-left: calc(15px + (18 - 15) * ((100vw - 320px) / (1920 - 320)));
      width: calc(100% - calc(80px + (100 - 80) * ((100vw - 320px) / (1920 - 320))));
      position: relative;

      .product-option {
        @include pseudowh;
        @include flex_common($dis: flex, $align: center, $justify: space-evenly);
        position: absolute;
        top: 0;
        left: 0;
        background-color: $white;
        opacity: 0;
        transition: all 0.3s ease-in-out;

        li {
          a {
            @include pseudowh($width: 45px, $height: 45px);
            @include flex_common;
            border-radius: 100%;
            border: 1px solid var(--theme-color);
            position: relative;
            z-index: 0;
            overflow: hidden;
            color: var(--theme-color);

            &:hover {
              color: var(--theme-color);
            }

            &:after {
              @include pos;
              @include pseudowh;
              top: 0;
              left: 0;
              background-color: var(--theme-color);
              opacity: 0.1;
            }

            .feather {
              @include pseudowh($width: 20px, $height: auto);
              margin-top: 1px;
            }
          }
        }
      }

      body.rtl & {
        padding-left: unset;
        padding-right: 18px;
      }

      a {
        display: block;
        color: $title-color;

        &:hover {
          color: $title-color;
        }

        h5 {
          margin-bottom: calc(2px + (5 - 2) * ((100vw - 320px) / (1920 - 320)));
          font-weight: 600;
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
          display: -webkit-box;
          overflow: hidden;
          transition: all 0.3s ease-in-out;
        }
      }

      h6 {
        margin-top: calc(7px + (13 - 7) * ((100vw - 320px) / (1920 - 320)));
        font-weight: 600;
        color: var(--theme-color);
      }
    }
  }
}

.product-box-2 {
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;

  &:hover {
    .product-image {
      img {
        transform: scale(1.1);
      }
    }

    .product-detail {
      h6 {
        color: var(--theme-color);
      }

      .product-option {
        opacity: 1;
      }
    }
  }

  + .product-box-2 {
    margin-top: calc(14px + (20 - 14) * ((100vw - 320px) / (1920 - 320))) !important;
  }

  .product-image {
    border-radius: 8px;
    overflow: hidden;

    img {
      @include pseudowh(
        $width: calc(86px + (130 - 86) * ((100vw - 320px) / (1920 - 320))),
        $height: auto
      );
      object-fit: contain;
      transition: all 0.3s ease-in-out;
    }
  }

  .product-detail {
    margin-left: 15px;
    width: calc(100% - 130px - 15px);
    position: relative;
    overflow: hidden;

    body.rtl & {
      margin-left: unset;
      margin-right: 15px;
    }

    &-2 {
      padding-left: 0;
      padding-right: 15px;
      text-align: right;

      .rating {
        justify-content: flex-end;
      }

      .cart-icon {
        right: unset;
        left: 0;
      }
    }

    .product-option {
      @include pseudowh;
      @include flex_common($dis: flex, $align: center, $justify: space-evenly);
      position: absolute;
      top: 0;
      left: 0;
      background-color: $white;
      opacity: 0;
      transition: all 0.3s ease-in-out;

      li {
        a {
          @include pseudowh($width: 45px, $height: 45px);
          @include flex_common;
          border-radius: 100%;
          border: 1px solid var(--theme-color);
          position: relative;
          z-index: 0;
          overflow: hidden;

          &:hover {
            color: var(--theme-color);
          }

          &:after {
            @include pos;
            @include pseudowh;
            top: 0;
            left: 0;
            background-color: var(--theme-color);
            opacity: 0.1;
          }

          .feather {
            @include pseudowh($width: 20px, $height: auto);
            margin-top: 1px;
          }
        }
      }
    }

    h6 {
      font-weight: 600;
      line-height: 1.4;
      margin-bottom: calc(2px + (7 - 2) * ((100vw - 320px) / (1920 - 320)));
      font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      display: -webkit-box;
      overflow: hidden;
      color: $title-color;
      transition: all 0.3s ease-in-out;
    }

    h3 {
      color: var(--theme-color);
      font-weight: 600;
      margin-bottom: 12px;
    }

    h5 {
      font-weight: 500;
      margin-top: calc(5px + (10 - 5) * ((100vw - 320px) / (1920 - 320)));

      del {
        font-size: 14px;
        margin-left: 2px;
        color: $danger-color;
        font-weight: 600;
      }
    }

    .cart-icon {
      @include pseudowh($width: 40px, $height: 40px);
      @include flex_common;
      position: absolute;
      bottom: 0;
      right: 0;
      background-color: #f7f5f2;
      border-radius: 100%;

      svg {
        @include pseudowh($width: 20px, $height: 20px);
        color: $content-color;
        stroke-width: 1.5px;
      }
    }
  }
}

.middle-image {
  @include pseudowh;

  img {
    @include pseudowh;
    object-fit: contain;
  }
}

.deal-contain {
  display: flex;
  align-items: center;

  @include mq-max(sm) {
    display: block;
  }

  .deal-image {
    img {
      @include pseudowh($width: 250px, $height: 250px);
      object-fit: contain;

      @include mq-max(sm) {
        @include pseudowh;
      }
    }
  }

  .deal-detail {
    padding-left: 25px;
    width: calc(100% - 250px);

    body.rtl & {
      padding-left: unset;
      padding-right: 25px;
    }

    @include mq-max(sm) {
      padding-left: 0;
      width: 100%;
      margin-top: 10px;
    }

    a {
      color: $title-color;

      &:hover {
        color: $title-color;
      }
    }

    .name {
      font-weight: 600;
      margin-bottom: calc(5px + (11 - 5) * ((100vw - 320px) / (1920 - 320)));
    }

    h4 {
      font-weight: 500;
      margin-top: calc(7px + (14 - 7) * ((100vw - 320px) / (1920 - 320)));

      del {
        font-size: 14px;
        margin-left: 2px;
        color: $danger-color;
        font-weight: 600;

        body.rtl & {
          margin-left: unset;
          margin-right: 2px;
        }
      }
    }

    .option-icon {
      body.rtl & {
        padding-left: unset;
        padding-right: 0;
      }

      li {
        + li {
          margin-left: 8px;

          body.rtl & {
            margin-left: unset;
            margin-right: 8px;
          }
        }

        a {
          @include pseudowh(
            $width: calc(36px + (48 - 36) * ((100vw - 320px) / (1920 - 320))),
            $height: calc(36px + (48 - 36) * ((100vw - 320px) / (1920 - 320)))
          );
          @include flex_common;
          background-color: $white;
          box-shadow: 0px 5.57831px 13.9458px rgba($black, 0.05);
          border-radius: 100%;
          color: $title-color;

          svg {
            @include pseudowh(
              $width: calc(14px + (18 - 14) * ((100vw - 320px) / (1920 - 320))),
              $height: calc(14px + (18 - 14) * ((100vw - 320px) / (1920 - 320)))
            );
          }
        }
      }
    }
  }
}

.product-list-section {
  position: relative;
  z-index: 0;

  &.list-style {
    > div {
      width: 100%;
    }

    .product-box,
    .product-style-1,
    .product-theme-box,
    .product-style-2 {
      display: flex;
      align-items: center;
      padding: calc(14px + (24 - 14) * ((100vw - 320px) / (1920 - 320)));

      @include mq-max(sm) {
        display: block;
      }

      .product-image {
        padding: 0;
        width: calc(180px + (250 - 180) * ((100vw - 576px) / (1920 - 576)));

        @include mq-max(md) {
          width: 100%;
        }

        img {
          height: auto;

          @include mq-max(sm) {
            height: calc(160px + 40 * (100vw - 320px) / 1600);
          }
        }
      }

      .product-detail {
        width: calc(100% - calc(180px + (250 - 180) * ((100vw - 576px) / (1920 - 576))) - 20px);
        margin-left: 20px;
        text-align: unset;

        @include mq-max(sm) {
          width: 100%;
          margin: 0;
          margin-top: 20px;
        }

        body.rtl & {
          margin-left: unset;
          margin-right: 20px;
        }

        .product-rating {
          justify-content: unset;
        }

        p {
          line-height: 1.5;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          display: -webkit-box;
          overflow: hidden;
          color: $content-color;
          margin-bottom: 8px;
          margin-top: 4px;

          @media (max-width: 767px) {
            margin-bottom: 0;
            -webkit-line-clamp: 1;
          }
        }

        .add-to-cart-box {
          max-width: 352px;
        }
      }
    }

    .product-box-3 {
      display: flex;
      align-items: center;
      padding: calc(14px + (24 - 14) * ((100vw - 320px) / (1920 - 320)));

      .add-to-cart-box {
        max-width: 230px;

        @include mq-max(sm) {
          max-width: 100%;
        }
      }

      .product-header,
      .img-box {
        width: 180px;

        @include mq-max(md) {
          width: 100%;
        }
      }

      @include mq-max(sm) {
        display: block;
      }

      .product-detail,
      .content-box {
        width: calc(100% - 180px);

        @include mq-max(sm) {
          width: 100%;
        }

        p {
          line-height: 1.5;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          display: -webkit-box;
          overflow: hidden;
          color: $content-color;
          margin-bottom: 8px;
          margin-top: 4px;
        }
      }

      .content-box {
        margin: 0;
        margin-left: 20px;
        width: calc(100% - 180px - 20px);

        p {
          display: block;
          line-height: 1.5;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          display: -webkit-box;
          overflow: hidden;
          color: $content-color;
          margin-bottom: 8px;
          margin-top: 4px;
        }
      }

      .product-footer {
        padding-left: 20px;
        width: calc(100% - 180px);

        .product-detail {
          .span-name {
            display: none;
          }
        }

        body.rtl & {
          padding-left: unset;
          padding-right: 20px;
        }

        @include mq-max(md) {
          padding: 0;
          width: 100%;
          margin-top: 20px;
        }

        .product-detail {
          .qty-box {
            width: unset;
          }
        }
      }
    }

    .product-style-2 {
      .product-image {
        @include mq-max(md) {
          width: 180px;
        }

        @include mq-max(sm) {
          width: 100%;
        }
      }

      p {
        margin-bottom: 0;

        @media (max-width: 767px) {
          -webkit-line-clamp: 2;
        }
      }

      .product-detail {
        .product-bottom {
          margin-top: 8px;
          display: block;

          h5 {
            margin-bottom: 6px;
          }

          .add-to-cart-box {
            position: relative;

            .qty-box {
              max-width: 352px;
            }
          }
        }

        .product-rating {
          margin-bottom: 0 !important;
        }
      }
    }

    .product-box.product-white-bg {
      .price {
        margin-top: 16px !important;
      }

      .addtocart_btn {
        display: none;
      }
    }

    .product-theme-box {
      display: flex;
      align-items: center;
      padding: calc(14px + (24 - 14) * ((100vw - 320px) / (1920 - 320)));

      @include mq-max(sm) {
        display: block;
      }

      .img-box {
        padding: 0;
        width: calc(180px + (250 - 180) * ((100vw - 576px) / (1920 - 576)));

        @include mq-max(sm) {
          width: 100%;
        }

        img {
          height: auto;

          @include mq-max(sm) {
            height: calc(160px + 40 * (100vw - 320px) / 1600);
          }
        }
      }

      .content-box {
        width: calc(100% - calc(180px + (250 - 180) * ((100vw - 576px) / (1920 - 576))) - 20px);
        margin-left: 20px;
        text-align: unset;
        margin-top: 0;

        @include mq-max(sm) {
          width: 100%;
          margin: 0;
          margin-top: 20px;
        }

        body.rtl & {
          margin-left: unset;
          margin-right: 20px;
        }

        .product-rating {
          justify-content: unset;
        }

        p {
          line-height: 1.5;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          display: -webkit-box;
          overflow: hidden;
          color: $content-color;
          margin-bottom: 8px;
          margin-top: 4px;

          @media (max-width: 767px) {
            margin-bottom: 0;
            -webkit-line-clamp: 1;
          }
        }

        .add-to-cart-box {
          max-width: 352px;
        }
      }
    }
  }

  .product-box {
    .product-detail {
      p {
        display: none;
      }
    }
  }

  .product-style-1 {
    margin: 0 !important;
  }
}

.product-box-3 {
  padding: calc(7px + (14 - 7) * ((100vw - 320px) / (1920 - 320)));
  position: relative;
  background-color: $light-gray;
  border-radius: 5px;
  transition: all 0.4s ease-in-out;
  z-index: 0;

  .add-to-cart-box {
    .btn-add-cart {
      background-color: $white;

      .add-icon {
        background-color: #f9f8f6;
      }
    }

    .qty-box {
      .input-group {
        background-color: $white;

        button {
          background-color: #f9f8f6;
        }
      }
    }
  }

  &.theme-bg-white {
    background-color: $white;
  }

  &:hover {
    box-shadow: 0 0 8px rgba($title-color, 0.08);

    .product-header {
      .product-image {
        .product-option {
          bottom: 10px;
          opacity: 1;
        }
      }
    }

    .product-header {
      .product-image {
        img {
          transform: scale(1.1);
        }
      }
    }
  }

  .product-header {
    position: relative;

    .product-image {
      text-align: center;
      padding: 20px;
      display: block;

      @include mq-max(xs) {
        padding: 8px;
      }

      img {
        @include pseudowh(
          $width: 100%,
          $height: calc(100px + (140 - 100) * ((100vw - 320px) / (1920 - 320)))
        );
        object-fit: contain;
        transition: all 0.3s ease-in-out;
      }

      .product-option {
        @include center(horizontal);
        @include flex_common($dis: flex, $align: center, $justify: space-between);
        position: absolute;
        bottom: -5px;
        background-color: $white;
        width: 100%;
        padding: 10px 5px;
        border-radius: 7px;
        box-shadow: 0 0 8px rgba($title-color, 0.12);
        opacity: 0;
        transition: all 0.3s ease-in-out;
        max-width: 230px;

        @include mq-max(xs) {
          display: none;
        }

        li {
          position: relative;
          width: 33.33%;

          a {
            color: $title-color;

            .feather {
              @include pseudowh($width: 17px, $height: auto);
              color: $content-color;
            }
          }

          + li {
            &:after {
              @include pos;
              @include pseudowh($width: 1px, $height: 100%);
              top: 0;
              left: 0;
              background-color: $content-color;
              opacity: 0.3;

              body.rtl & {
                left: unset;
                right: 0;
              }
            }
          }
        }
      }
    }

    .product-header-top {
      @include flex_common($dis: flex, $align: center, $justify: space-between);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;

      body.rtl & {
        left: unset;
        right: 0;
      }

      .wishlist-button {
        position: relative;
        padding: 6px;
        margin-left: auto;
        background-color: $white;
        box-shadow: 0 3px 3px rgba($title-color, 0.24);
        border-radius: 100%;
        z-index: 0;

        body.rtl & {
          margin-left: unset;
          margin-right: auto;
        }

        .feather {
          @include pseudowh($width: 15px, $height: 15px);
          color: $content-color;
        }
      }

      .close-button {
        position: relative;
        padding: 0;
        z-index: 0;

        .feather {
          @include pseudowh($width: 20px, $height: auto);
          color: $content-color;
        }
      }
    }
  }

  .product-footer {
    .product-detail {
      .span-name {
        font-size: 13px;
        color: #50607c;
        margin-bottom: calc(4px + (8 - 4) * ((100vw - 320px) / (1920 - 320)));
      }

      .product-content {
        display: none;
      }

      a {
        color: $title-color;

        &:hover {
          color: $title-color;
        }
      }

      .name {
        font-weight: 500;
        line-height: calc(21px + (24 - 21) * ((100vw - 320px) / (1920 - 320)));
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
      }

      .unit {
        font-size: 13px;
        font-weight: 500;
        margin-top: calc(6px + (10 - 6) * ((100vw - 320px) / (1920 - 320)));
        color: #777;
      }
    }

    .price {
      margin-top: 6px;
      font-weight: 600;

      del {
        margin-left: 4px;
        font-weight: 400;
        color: #777;
        font-size: calc(13px + (14 - 13) * ((100vw - 320px) / (1920 - 320)));
      }

      span {
        font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
      }
    }
  }
}

.product-section-3 {
  .circle-box {
    position: relative;

    .shape-circle {
      position: absolute;
      top: 0;
      left: 0;

      img {
        @include pseudowh($width: 100%, $height: auto);
        margin: 0;
        animation: rounded 15s linear infinite;
      }
    }

    .shape-text {
      @include center(both);
      position: absolute;
      color: $white;

      h6 {
        display: block;
        margin: 0;
        font-weight: 500;
      }
    }
  }

  .product-title {
    padding: 26px 16px;
    text-align: center;
    background-color: var(--theme-color);
    color: white;
    border-radius: 8px 8px 0 0;
    border: 2px solid transparent;
    background-size: contain;
    background-clip: border-box;
    background-position: 0 0;
    animation: shape 15s linear infinite;

    &.product-warning {
      background-color: transparent;
      color: $title-color;
      margin: 0;
      border: none;
    }
  }
}

.product-bg-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  border-radius: 5px;

  html.dark & {
    background: #1d1d22 !important;
  }

  .product-box-4 {
    border: none;
    background-color: transparent;
    height: inherit;
  }

  .product-box-3 {
    &:hover {
      box-shadow: none;
    }
  }
}

.product-box-4 {
  border: 1px solid $border-color;
  border-radius: 8px;
  padding: 15px;
  position: relative;
  text-align: center;

  + .product-box-4 {
    margin-top: 20px !important;
  }

  &:hover {
    .product-image {
      img {
        transform: scale(1.08);
      }

      .option {
        li {
          opacity: 1;
          transform: translateY(10px);

          &:nth-child(1) {
            transition-delay: 0.1s;
          }

          &:nth-child(2) {
            transition-delay: 0.2s;
          }

          &:nth-child(3) {
            transition-delay: 0.3s;
          }

          &:nth-child(4) {
            transition-delay: 0.4s;
          }
        }
      }
    }

    .product-detail {
      a {
        .name {
          color: var(--theme-color) !important;
          font-weight: 600;
        }
      }
    }
  }

  &-3 {
    border: 2px solid var(--theme-color);
    border-radius: 0 0 8px 8px;

    @include mq-max(4xl) {
      height: 90%;
    }

    @include mq-max(lg) {
      height: auto;
    }
  }

  .circle-box {
    position: relative;

    .shape-circle {
      position: absolute;
      top: 0;
      left: 0;

      img {
        @include pseudowh($width: 100%, $height: auto);
        margin: 0;
        animation: rounded 15s linear infinite;
      }
    }

    .shape-text {
      @include center(both);
      position: absolute;
      color: $white;

      h6 {
        display: block;
        margin: 0;
        font-weight: 500;
      }
    }
  }

  .custom-progressbar {
    margin-top: 26px;
    border-radius: 50px;
    height: 10px;

    html.dark & {
      background-color: #2a2d2d;
    }

    .progress-bar {
      background-color: var(--theme-color);
    }
  }

  h5 {
    display: flex;
    margin-top: 6px;

    span {
      margin-left: 3px;
    }
  }

  .product-image {
    position: relative;

    &-2 {
      img {
        margin: 20px 0 !important;

        @include mq-max(lg) {
          margin: 0 !important;
        }
      }
    }

    img {
      @include pseudowh(
        $width: 70%,
        $height: calc(80px + (140 - 80) * ((100vw - 320px) / (1920 - 320)))
      );
      margin: 30px auto 20px;
      object-fit: contain;
      transition: all 0.3s ease-in-out;

      @include mq-max(xs) {
        width: 80%;
      }

      @include mq-max(2xs) {
        width: 100%;
        margin: 20px 0 0;
      }

      &.product-image {
        @include pseudowh($width: 100%, $height: 264px);
        object-fit: contain;
        margin: 20px auto 0;
      }
    }

    .option {
      @include center(both);
      @include flex_common;
      position: absolute;
      margin: 0 -4px;

      body.rtl & {
        padding-right: 0;
      }

      @include mq-max(xs) {
        margin: 0 -1px;
      }

      li {
        @include pseudowh($width: 40px, $height: 40px);
        @include flex_common;
        background-color: $white;
        border-radius: 50%;
        border: 1px solid var(--theme-color);
        margin: 0 4px;
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.5s ease-in-out;
        position: relative;
        overflow: hidden;

        @include mq-max(xs) {
          @include pseudowh($width: 30px, $height: 30px);
          margin: 0 1px;
        }

        &:before {
          @include pos;
          @include pseudowh;
          top: 0;
          left: 0;
          background-color: var(--theme-color);
          opacity: 0.1;
          z-index: -1;
        }

        a {
          z-index: 1;
          @include flex_common;

          i {
            color: #222;

            html.dark & {
              color: #ddd;
            }
          }

          .icli {
            font-size: 20px;
            color: $black;

            @include mq-max(xs) {
              font-size: 15px;
            }

            &.iconly-Swap {
              transform: rotate(90deg);
            }
          }
        }
      }
    }
  }

  .product-detail {
    text-align: left;
    margin-top: 15px;
    position: relative;

    .addtocart_btn {
      .add-button,
      .add_cart {
        transition: all 0.3s ease;

        span {
          position: absolute;
          left: 8px;
          right: 0;
          bottom: -21px;
          font-size: 12px;
        }
      }

      .qty-box {
        display: none;
        transition: all 0.3s ease;
        z-index: 1;
        margin-top: 0;

        &.open {
          display: block;
          position: absolute;
          right: 0;
          bottom: 0;
          width: 100%;
          transition: all 0.3s ease;
        }
      }

      .input-group {
        box-shadow: 0 2px 4px 0 #dedede;
        border-radius: 2px;
        padding: 4px;
        text-align: center;
        z-index: 0;
        background-color: $white;

        .btn {
          padding: 7px 12px;
          font-size: 10px;
          line-height: 1;
          border-radius: 2px !important;
          background-color: #f8f8f8;

          i {
            font-size: 15px;
          }
        }

        .form-control {
          padding: 2px;
          text-align: center;
          border-color: #f9f9f9;
        }
      }
    }

    a {
      color: $title-color;

      .name {
        width: 70%;
        margin-top: 5px;
        text-transform: capitalize;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        @include rtl(text-align, left, right);

        html.dark & {
          color: #fff !important;
        }

        @include mq-max(xs) {
          width: 100%;
        }
      }
    }

    .price {
      margin-top: 5px;
      font-weight: 500;

      @include mq-max(xs) {
        display: flex;
      }

      del {
        margin-left: 10px;
        color: $content-color;
        font-weight: 400;

        body.rtl & {
          margin-left: unset;
          margin-right: 10px;
        }

        &.delete-price {
          html.dark & {
            color: #777 !important;
          }
        }

        @include mq-max(xs) {
          margin-left: 5px;

          body.rtl & {
            margin-left: unset;
            margin-right: 5px;
          }
        }
      }
    }

    .buy-button {
      @include flex_common;
      @include pseudowh($width: 35px, $height: 35px);
      position: absolute;
      bottom: 0;
      right: 0;
      padding: 7px 11px;
      background-color: var(--theme-color);
      color: white;

      @include mq-max(xs) {
        position: relative;
        bottom: unset;
        right: unset;
        width: 100%;
        margin-top: 12px;
        color: var(--theme-color);
        border-radius: 5px;
        border: 1px solid var(--theme-color);
      }

      body.rtl & {
        right: unset;
        left: 0;
      }

      i {
        font-size: 18px;
      }

      &-2 {
        width: 53px;
      }
    }

    .sold-box {
      margin-top: 12px;

      .progress {
        height: 8px;
        border-radius: 50px;

        .progress-bar {
          border-radius: 50px;
          background-color: var(--theme-color);
        }
      }

      h5 {
        margin-top: 6px;

        span {
          color: $black;
        }
      }
    }

    .price-qty {
      @include flex_common($dis: flex, $align: flex-end, $justify: space-between);
      margin-top: calc(8px + (16 - 8) * ((100vw - 320px) / (1920 - 320)));

      @include mq-max(xs) {
        display: block;
      }

      .counter-number {
        display: inline-block;

        @include mq-max(xs) {
          margin-bottom: 9px;
          width: 100%;
        }

        @media (max-width: 336px) {
          display: block;
          width: 100%;
        }

        .counter {
          @include mq-max(xs) {
            width: 100%;
          }

          input {
            @include mq-max(xs) {
              width: 100%;
            }
          }

          .qty-left-minus,
          .qty-right-plus {
            @include mq-max(xs) {
              width: 85px;
            }
          }
        }
      }

      .buy-button {
        @include flex_common;
        padding: 6px 15px;

        body.rtl & {
          right: unset;
          left: 0;
        }

        @include mq-max(xs) {
          width: 100%;
          margin-top: 0;
        }

        .icli {
          font-size: 24px;
        }

        i {
          font-size: 16px;
        }
      }
    }

    .counter-number-box {
      position: absolute;
      bottom: 0;
      right: 0;
      display: flex;
      align-items: center;
      border: 1px solid #e1b254;
      border-radius: 5px;
      background-color: rgba(#e1b254, $alpha: 0.1);
      padding: 5px;

      span {
        margin-right: 6px;
        position: relative;

        &:after {
          @include pos;
          @include pseudowh($width: 1px, $height: 100%);
          top: 0;
          right: -8px;
          background-color: #e1b254;
        }
      }

      input {
        @include pseudowh($width: 27px, $height: unset);
        border: none;
        background-color: transparent;
        position: relative;
      }

      .counter-arrow {
        background-color: #e1b254;
        color: white;
        padding: 3px 6px;

        .down,
        .up {
          @include pseudowh($width: unset, $height: unset);
          border: unset;
          font-size: unset;
          background-color: transparent;
          padding: 0;
          color: $white;

          &:hover {
            color: $white;
          }
        }
      }
    }

    .timer-2 {
      ul {
        li {
          html.dark & {
            border-color: hsla(0, 0%, 47%, 0.44);
            color: #ddd;

            + li {
              &::after {
                color: #ffffff;
              }
            }
          }
        }
      }
    }
  }
}

.product-box-5 {
  .product-image {
    position: relative;

    .bg-size {
      border-radius: 10px;
    }

    .wishlist-top {
      position: absolute;
      top: 10px;
      right: 10px;
      background-color: $white;
      padding: 5px;
      border-radius: 5px;

      svg {
        width: 18px;
      }
    }

    .product-option {
      @include center(horizontal);
      @include flex_common($dis: flex, $align: center, $justify: space-between);
      position: absolute;
      bottom: -5px;
      background-color: $white;
      width: 70%;
      padding: 10px 5px;
      border-radius: 7px;
      box-shadow: 0 0 8px rgba($title-color, 0.12);
      opacity: 0;
      transition: all 0.3s ease-in-out;
      max-width: 320px;

      @include mq-max(xs) {
        display: none;
      }

      li {
        position: relative;
        width: 33.33%;
        text-align: center;

        a {
          color: $title-color;

          .feather {
            @include pseudowh($width: 17px, $height: auto);
            color: $content-color;
          }
        }

        + li {
          &:after {
            @include pos;
            @include pseudowh($width: 1px, $height: 100%);
            top: 0;
            left: 0;
            background-color: $content-color;
            opacity: 0.3;

            body.rtl & {
              left: unset;
              right: 0;
            }
          }
        }
      }
    }

    img {
      transition: all 0.3s ease-in-out;
      border-radius: 10px;
    }
  }

  &:hover {
    .product-image {
      a {
        img {
          transform: scale(1.1);
        }
      }

      .product-option {
        bottom: 15px;
        opacity: 1;
      }
    }
  }

  .product-detail {
    padding-top: 10px;
    text-align: center;

    a {
      color: $title-color;
      display: block;

      &:hover {
        color: $title-color;
      }

      h5 {
        margin-bottom: 6px;

        &.name {
          font-weight: 600;
          line-height: 22px;
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
          display: -webkit-box;
          overflow: hidden;
          text-transform: capitalize;
        }
      }
    }

    .product-rating {
      flex-wrap: wrap;
      gap: calc(4px + (7 - 4) * ((100vw - 320px) / (1920 - 320)));

      h6 {
        font-weight: 500;
      }
    }
  }

  + .product-box-5 {
    margin-top: 30px !important;
  }
}

.product-section-2 {
  .product-box-4 {
    display: flex;
    align-items: center;
    border: none;
    padding: 0;

    &:hover {
      .product-details {
        .option {
          opacity: 1;

          li {
            opacity: 1;
            transform: translateY(0);

            &:nth-child(1) {
              transition-delay: 0.1s;
            }

            &:nth-child(2) {
              transition-delay: 0.2s;
            }

            &:nth-child(3) {
              transition-delay: 0.3s;
            }

            &:nth-child(4) {
              transition-delay: 0.4s;
            }
          }
        }
      }
    }

    .product-image {
      @include pseudowh(
        $width: calc(84px + (116 - 84) * ((100vw - 320px) / (1920 - 320))),
        $height: calc(84px + (116 - 84) * ((100vw - 320px) / (1920 - 320)))
      );
      border: 1px solid $border-color;
      border-radius: 12px;
      padding: 15px;

      &-2 {
        @include pseudowh($width: 116px, $height: 151px);
        border-radius: 8px;
      }

      img {
        @include pseudowh;
        margin: 0;
        object-fit: contain;
      }
    }

    .product-details {
      text-align: left;
      padding-left: calc(15px + (25 - 15) * ((100vw - 320px) / (1920 - 320)));
      position: relative;

      body.rtl & {
        padding-left: unset;
        padding-right: calc(15px + (25 - 15) * ((100vw - 320px) / (1920 - 320)));
      }

      a {
        color: $title-color;

        .name {
          font-weight: 500;
          margin: 5px 0;
          @include rtl(text-align, left, right);
        }
      }

      .price {
        color: var(--theme-color);
        font-weight: 500;

        del {
          color: #bfbfbf;
          font-weight: 400;
          margin-left: 5px;
        }
      }

      .option {
        @include center(vertical);
        @include pseudowh($width: fit-content, $height: 100%);
        position: absolute;
        left: 25px;
        background-color: $white;
        display: flex;
        align-items: center;
        opacity: 0;
        transition: all 0.4s ease-in-out;
        margin: 0 -4px;

        body.rtl & {
          left: unset;
          right: 10px;
        }

        @include mq-max(xs) {
          left: 10px;
          margin: 0 -2px;
        }

        li {
          @include pseudowh($width: 40px, $height: 40px);
          @include flex_common;
          background-color: $white;
          border-radius: 50%;
          border: 1px solid var(--theme-color);
          margin: 0 4px;
          opacity: 0;
          transform: translateY(40px);
          transition: all 0.5s ease-in-out;
          position: relative;
          overflow: hidden;

          @include mq-max(xs) {
            @include pseudowh($width: 30px, $height: 30px);
            margin: 0 2px;
          }

          &:before {
            @include pos;
            @include pseudowh;
            top: 0;
            left: 0;
            background-color: var(--theme-color);
            opacity: 0.1;
            z-index: -1;
          }

          a {
            @include flex_common;
            z-index: 1;

            .icli {
              font-size: 20px;
              color: $black;

              @include mq-max(xs) {
                font-size: 15px;
              }

              &.iconly-Swap {
                transform: rotate(90deg);
              }
            }
          }
        }
      }
    }
  }
}

.product-classic {
  .product-box {
    transition: all 0.5s ease;

    &.product-box-bg {
      background-color: transparent;
      border: 1px solid $border-color;
      border-radius: 10px;
    }

    .product-image {
      padding: 0 0 20px 0;
    }

    .qty-box {
      .input-group {
        background-color: #f8f8f8;
        box-shadow: unset;

        html.dark & {
          background-color: #1d1d22;
        }
      }
    }
  }
}

.product-solid {
  .product-box {
    &.product-box-bg {
      background: transparent;
      padding: 0 0 2px;
    }

    .product-image {
      padding: 0;
      background-color: #f8f8f8;

      html.dark & {
        background-color: #1d1d22;
      }

      img {
        height: calc(180px + (250 - 180) * ((100vw - 320px) / (1920 - 320)));
        object-fit: cover;
        margin-bottom: 20px;
      }
    }

    &:hover {
      .product-image {
        a {
          img {
            transform: scale(1);
          }
        }
      }
    }

    .qty-box {
      .input-group {
        background-color: #f8f8f8;
        box-shadow: unset;
      }
    }
  }
}

.product-standard {
  .add-to-cart-box {
    .btn-add-cart {
      .add-icon {
        background-color: #f9f8f6;
      }
    }
  }

  &.theme-plus {
    .add-to-cart-box {
      .btn-add-cart {
        .add-icon {
          background-color: var(--theme-color);
          color: white;
        }
      }
    }
  }

  .owl-carousel {
    .owl-stage-outer {
      .owl-stage {
        .owl-item {
          > * {
            body.rtl & {
              direction: rtl;
            }
          }
        }
      }
    }
  }
}

.border-box {
  .product-list.sidebar-product {
    gap: 30px 30px;

    li {
      + li {
        &:after {
          display: none;
        }
      }
    }
  }

  .category-menu {
    background-color: transparent;
    padding: 0;
    position: relative;

    &:after {
      @include pos;
      @include pseudowh($width: 100%, $height: 1px);
      left: 0;
      background-color: $border-color;
      top: 40px;
    }

    h3 {
      padding-bottom: 10px;
    }
  }

  .product-list {
    &:after,
    &:before {
      display: none;
    }
  }
}

.product-modern {
  .owl-carousel {
    .owl-item {
      &.active {
        + .active {
          .row {
            > div {
              .product-box {
                border-left: 1px solid $border-color;
              }
            }
          }
        }
      }
    }
  }
}

.selection-section {
  h4 {
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 16px;
  }

  ul {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;

    li {
      @include pseudowh($width: max-content, $height: 35px);
      @include flex_common;
      border: 1px solid #eee;
      border-radius: 5px;
      padding: 5px 10px;

      button {
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding: 0;
      }

      &.active {
        background-color: var(--theme-color);
        color: white;

        button {
          color: white;
        }
      }
    }

    &.gram-selection {
      li {
        display: block;
        text-align: center;
        @include pseudowh($width: auto, $height: auto);
        padding: 5px 10px;

        span {
          font-size: 12px;
          display: block;
        }
      }
    }
  }
}

.fire-img {
  width: 15px;
}

.book-product-box {
  padding: 0;
  position: relative;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  border-radius: 5px;

  &:hover {
    .product-image {
      .product-option {
        bottom: 15px;
        opacity: 1;
      }
    }
  }

  .label-box {
    position: absolute;
    top: 0;
    left: 0;
    padding: 12px;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    label {
      background-color: $danger-color;
      color: #ffffff;
      padding: calc(5px + (8 - 5) * ((100vw - 320px) / (1920 - 320)))
        calc(8px + (12 - 8) * ((100vw - 320px) / (1920 - 320)))
        calc(6px + (9 - 6) * ((100vw - 320px) / (1920 - 320)));
      text-transform: capitalize;
      font-size: calc(12px + (14 - 12) * ((100vw - 320px) / (1920 - 320)));
      font-weight: 600;
      line-height: 1;
      border-radius: 2px;
    }
  }

  .label-tag {
    position: absolute;
    top: 0;
    left: 0;
    padding: 12px;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    &.sale-tag {
      background-color: transparent;
    }

    &:after,
    &:before {
      content: unset;
    }

    span {
      background-color: #ff4f4f;
      color: #ffffff;
      padding: calc(5px + (8 - 5) * ((100vw - 320px) / (1920 - 320)))
        calc(8px + (12 - 8) * ((100vw - 320px) / (1920 - 320)))
        calc(6px + (9 - 6) * ((100vw - 320px) / (1920 - 320)));
      text-transform: capitalize;
      font-size: calc(12px + (14 - 12) * ((100vw - 320px) / (1920 - 320)));
      font-weight: 600;
      line-height: 1;
      border-radius: 2px;
    }
  }

  .product-image {
    text-align: center;
    margin-bottom: calc(12px + (20 - 12) * ((100vw - 320px) / (1920 - 320)));
    position: relative;
    padding: 0;

    .product-option {
      @include center(horizontal);
      @include flex_common($dis: flex, $align: center, $justify: space-between);
      position: absolute;
      bottom: -5px;
      background-color: $white;
      width: 70%;
      padding: 10px 5px;
      border-radius: 7px;
      box-shadow: 0 0 8px rgba($title-color, 0.12);
      opacity: 0;
      transition: all 0.3s ease-in-out;
      max-width: 320px;

      @include mq-max(xs) {
        display: none;
      }

      li {
        position: relative;
        width: 33.33%;

        a {
          color: $title-color;

          .feather {
            @include pseudowh($width: 17px, $height: auto);
            color: $content-color;
          }
        }

        + li {
          &:after {
            @include pos;
            @include pseudowh($width: 1px, $height: 100%);
            top: 0;
            left: 0;
            background-color: $content-color;
            opacity: 0.3;

            body.rtl & {
              left: unset;
              right: 0;
            }
          }
        }
      }
    }

    img {
      @include pseudowh($width: 100%, $height: 100%);
      object-fit: contain;
      transition: all 0.3s ease-in-out;
    }

    .back {
      @include pseudowh;
      position: absolute;
      top: 0;
      left: -30px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease-in-out;
    }
  }

  .product-detail {
    a {
      color: $title-color;
      display: block;

      &:hover {
        color: $title-color;
      }

      h6 {
        &.name {
          font-weight: 600;
          line-height: 1.5;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          display: -webkit-box;
          overflow: hidden;
          font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
        }
      }
    }

    .product-rating,
    .add-to-cart-box,
    .unit {
      display: none;
    }
  }

  .progress {
    height: 6px;
    border-radius: 0;
    margin-top: calc(14px + (22 - 14) * ((100vw - 320px) / (1920 - 320)));
  }

  .stock {
    font-size: 14px;
    color: var(--theme-color);
    margin-left: auto;
  }

  .weight {
    font-size: calc(13px + (14 - 13) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 600;
    line-height: normal;
    color: $content-color;
    margin-bottom: calc(2px + (4 - 2) * ((100vw - 320px) / (1920 - 320)));
  }

  .byers {
    font-size: calc(13px + (15 - 13) * ((100vw - 320px) / (1920 - 320)));
    margin-block: calc(3px + (6 - 3) * ((100vw - 320px) / (1920 - 320))) 2px;
    color: $content-color;
    font-weight: 400;
    line-height: normal;

    @include mq-max(xs) {
      line-height: 1.5;
    }

    span {
      color: $content-color;
      font-weight: 400;
    }
  }

  .qty-box {
    max-width: 210px;
  }

  .counter-box {
    display: block;
    position: relative;

    h6 {
      margin-top: 0;
    }

    .addtocart_btn {
      .add-button,
      .add_cart {
        @include flex_common;
        position: absolute;
        bottom: 0;
        right: 0;
        padding: 7px 11px;
        background-color: var(--theme-color);
        color: white;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s ease;

        span {
          position: relative;
          left: unset;
          right: unset;
          bottom: unset;
          font-size: 15px;
          margin-right: 8px;

          @include mq-max(xs) {
            display: none;
          }
        }
      }

      .qty-box {
        display: none;
        transition: all 0.3s ease;
        z-index: 1;
        margin-top: 0;
        max-width: 155px;

        &.open {
          display: block;
          position: absolute;
          right: 0;
          bottom: 0;
          width: 100%;
          transition: all 0.3s ease;
        }
      }

      .input-group {
        box-shadow: 0 2px 4px 0 #dedede;
        border-radius: 2px;
        padding: 4px;
        text-align: center;
        z-index: 0;
        background-color: $white;

        .btn {
          padding: 7px 12px;
          font-size: 10px;
          line-height: 1;
          border-radius: 2px !important;
          background-color: $light-gray;

          i {
            font-size: 15px;
          }
        }

        .form-control {
          padding: 2px;
          text-align: center;
          border-color: #f9f9f9;
        }
      }
    }
  }

  .price,
  .sold {
    margin-top: calc(10px + (14 - 10) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 600;
    color: var(--theme-color);
    font-size: 16px;
  }
}

.product-theme-box {
  padding: 10px;
  border: 1px solid #eee;
  border-radius: calc(10px + (15 - 10) * ((100vw - 320px) / (1920 - 320)));
  position: relative;
  overflow: hidden;
  background-color: $white;

  html.dark & {
    border-color: rgba(119, 119, 119, 0.44);
  }

  &:hover {
    .label-tag {
      left: 0;

      span {
        width: 100%;
      }
    }
  }

  .label-tag {
    position: absolute;
    top: calc(13px + 11 * (100vw - 320px) / 1600);
    left: -5px;
    padding: calc(4px + 1 * (100vw - 320px) / 1600) calc(5px + 3 * (100vw - 320px) / 1600);
    font-size: calc(13px + 1 * (100vw - 320px) / 1600);
    color: #ffffff;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.1s 0.05s cubic-bezier(0.86, 0, 0.07, 1);
    z-index: 1;
    background-color: var(--theme-color);
    background-position: 204px;

    body.rtl & {
      direction: ltr;
    }

    &::after,
    &::before {
      content: '';
      position: absolute;
      width: 15px;
      height: 15px;
      right: -15px;
      border-bottom: 15px solid var(--theme-color);
      border-left: 15px solid transparent;
      border-right: 15px solid transparent;
      transform: rotate(0);
      z-index: 1;
    }

    &::before {
      top: 0;
      transform: rotate(180deg);
    }

    &::after {
      bottom: 0;
      transform: rotate(0);
    }

    i {
      margin-left: 5px;
    }

    span {
      overflow: hidden;
      transition: width 0.1s 0.05s cubic-bezier(0.86, 0, 0.07, 1);
      width: 0;
    }
  }

  .img-box {
    position: relative;

    a {
      border-radius: calc(6px + (10 - 6) * ((100vw - 320px) / (1920 - 320)));
      overflow: hidden;
      display: block;
      text-align: center;

      img {
        object-fit: cover;
        object-position: left top;
        height: calc(164px + (192 - 164) * ((100vw - 320px) / (1920 - 320)));
      }
    }

    .heart-icon {
      position: absolute;
      right: calc(5px + (10 - 5) * ((100vw - 320px) / (1920 - 320)));
      top: calc(5px + (10 - 5) * ((100vw - 320px) / (1920 - 320)));
      color: $white;
      width: calc(28px + (35 - 28) * ((100vw - 320px) / (1920 - 320)));
      height: calc(28px + (35 - 28) * ((100vw - 320px) / (1920 - 320)));
      @include flex_common;
      background-color: rgba($black, 0.4);
      border-radius: 100%;

      html.dark & {
        color: #ffffff;
      }

      svg {
        width: calc(15px + (20 - 15) * ((100vw - 320px) / (1920 - 320)));
        height: calc(15px + (20 - 15) * ((100vw - 320px) / (1920 - 320)));
      }
    }
  }

  .content-box {
    margin-top: 10px;

    .top-content {
      h5 {
        font-weight: 600;
        color: $title-color;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      h6 {
        color: #999;
        margin-bottom: 4px;
        line-height: 1.2;

        html.dark & {
          color: #ddd;
        }

        a {
          color: $title-color;
        }
      }
    }
  }

  p {
    display: none;
  }

  .price {
    margin-top: calc(1px + (4 - 1) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 600;
    font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
  }

  .bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: calc(8px + (15 - 8) * ((100vw - 320px) / (1920 - 320)));
    flex-wrap: wrap;
    gap: 7px;

    span {
      color: #999;
      font-size: calc(13px + (14 - 13) * ((100vw - 320px) / (1920 - 320)));
    }

    p {
      display: none;
    }

    .btn {
      padding: 5px calc(11px + (15 - 11) * ((100vw - 320px) / (1920 - 320)));
      border: 1px solid var(--theme-color);
      color: var(--theme-color) !important;
      font-size: 14px;
      height: calc(33px + (38 - 33) * ((100vw - 320px) / (1920 - 320)));

      &.active {
        background-color: var(--theme-color);
        color: #fff !important;
      }
    }

    .btn-grp {
      display: flex;
      align-items: center;
      gap: 6px;
      position: relative;

      .qty-box {
        display: none;
      }
    }

    .btn-outline {
      background-color: $white;

      svg {
        width: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
        height: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
      }
    }
  }

  .review-rating {
    span {
      font-size: 13px;
      line-height: 1;
      margin-top: 1px;
    }
  }
}

.featured-sec {
  // background-image: url(../../images/home-bg.jpg);
  padding: calc(44px + (100 - 44) * ((100vw - 320px) / (1920 - 320))) 0;

  .feature-title {
    display: flex;
    align-items: center;
    height: 100%;
    margin-bottom: 0;

    h2 {
      color: #ffffff;
    }

    p {
      color: rgba(255, 255, 255, 0.8);
      font-size: calc(14px + (17 - 14) * ((100vw - 320px) / (1920 - 320)));
      margin-bottom: 0;
      margin-top: 12px;
      line-height: 1.5;
    }

    button {
      font-weight: 500;
      transition: all 0.3s ease-in-out;
      font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
      white-space: nowrap;
      line-height: 1;
      padding: 11px 19px;
      margin: 0;
      border-radius: 6px;
      display: flex;
      align-items: center;
      gap: 5px;

      .feather {
        width: 18px;
        height: 18px;
      }
    }
  }

  .theme-box {
    background-color: $white;
  }

  .full_border {
    border: unset;

    .owl-carousel {
      .owl-stage {
        .owl-item {
          &.active {
            border: unset;
          }
        }
      }
    }
  }

  .product_border,
  .product_img_bg {
    .product-theme-box {
      padding: 10px;
      border: 1px solid #eee;
      border-radius: calc(10px + 5 * (100vw - 320px) / 1600);
      background-color: $white;

      html.dark & {
        border-color: rgba(119, 119, 119, 0.44);
      }
    }
  }

  .product_border {
    .product-box,
    .product-style-1,
    .product-style-2 {
      background-color: $white;
      overflow: hidden;
    }
  }
}

.full_border {
  border: 1px solid $border-color;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;

  &.row {
    &.g-4 {
      --bs-gutter-y: 0;
      --bs-gutter-x: 0;
    }

    > div {
      border-left: 1px solid $border-color;

      &:nth-child(n + 7) {
        border-top: 1px solid $border-color;
      }

      @media (max-width: 1399px) {
        &:nth-child(n + 5) {
          border-top: 1px solid $border-color;
        }
      }

      @media (max-width: 1199px) {
        &:nth-child(n + 4) {
          border-top: 1px solid $border-color;
        }
      }

      @media (max-width: 991px) {
        &:nth-child(n + 3) {
          border-top: 1px solid $border-color;
        }
      }

      &:nth-child(6n + 1) {
        border-left: unset;
      }
    }

    &.row-cols-xl-4 {
      > div {
        border-right: 1px solid $border-color;
        border-left: unset;

        &:nth-child(n + 5),
        &:nth-child(n + 7) {
          border-top: 1px solid $border-color;
        }

        &:nth-child(4n + 4) {
          border-right: unset;
          border-left: unset;
        }
      }
    }

    &.row-cols-xl-5 {
      > div {
        border-right: 1px solid $border-color;
        border-left: unset;

        &:nth-child(n + 6) {
          border-top: 1px solid $border-color;
        }

        @media (max-width: 1199px) {
          &:nth-child(n + 4) {
            border-top: unset;
          }

          &:nth-child(n + 5) {
            border-top: 1px solid $border-color;
          }
        }

        @media (max-width: 991px) {
          &:nth-child(n + 3) {
            border-top: unset;
          }

          &:nth-child(n + 4) {
            border-top: 1px solid $border-color;
          }
        }

        @media (max-width: 767px) {
          &:nth-child(n + 3) {
            border-top: 1px solid $border-color;
          }
        }

        &:nth-child(5n + 5) {
          border-right: unset;
          border-left: unset;
        }

        @media (max-width: 1199px) {
          &:nth-child(4n + 4) {
            border-right: unset;
            border-left: unset;
          }

          &:nth-child(5n + 5) {
            border-right: 1px solid $border-color;
            border-left: unset;
          }
        }

        @media (max-width: 991px) {
          &:nth-child(4n + 4) {
            border-right: 1px solid $border-color;

            body.rtl & {
              border-right: unset;
              border-left: 1px solid $border-color;
            }
          }

          &:nth-child(3n + 3) {
            border-right: unset;
            border-left: unset;

            body.rtl & {
              border-right: unset;
              border-left: 1px solid $border-color;
            }
          }
        }

        @media (max-width: 768px) {
          &:nth-child(3n + 3) {
            border-right: 1px solid $border-color;
          }

          &:nth-child(even) {
            border-right: unset;
            border-left: unset;
          }
        }
      }
    }
  }

  .product-list-section {
    @media (max-width: 769px) {
      &.row-cols-2 {
        > * {
          border-right: 1px solid $border-color;

          body.rtl & {
            border-right: unset;
            border-left: 1px solid $border-color;

            html.dark & {
              border-color: rgba(119, 119, 119, 0.44);
            }
          }

          &:nth-child(n + 4) {
            border-top: unset;
          }

          &:nth-child(n + 3) {
            border-top: 1px solid $border-color;
          }

          &:nth-child(2n + 2) {
            border-right: unset;

            body.rtl & {
              border-right: unset;
              border-left: unset;
            }
          }
        }
      }
    }

    @media (min-width: 768px) {
      &.row-cols-md-3 {
        > * {
          border-right: 1px solid $border-color;
          border-bottom: 1px solid $border-color;

          body.rtl & {
            border-right: unset;
            border-left: 1px solid $border-color;

            html.dark & {
              border-color: rgba(119, 119, 119, 0.44);
            }
          }

          &:nth-child(3n + 3) {
            border-right: unset;

            body.rtl & {
              border-right: unset;
              border-left: unset;

              html.dark & {
                border-color: rgba(119, 119, 119, 0.44);
              }
            }
          }
        }
      }
    }

    @media (min-width: 1199px) {
      &.row-cols-xl-4 {
        > * {
          border-right: 1px solid $border-color;
          border-bottom: unset;

          body.rtl & {
            border-right: unset;
            border-left: 1px solid $border-color;

            html.dark & {
              border-color: rgba(119, 119, 119, 0.44);
            }
          }

          &:nth-child(5n + 5) {
            border-right: 1px solid $border-color;

            body.rtl & {
              border-right: unset;
              border-left: 1px solid $border-color;

              html.dark & {
                border-color: rgba(119, 119, 119, 0.44);
              }
            }
          }

          &:nth-child(n + 6) {
            border-top: unset;
          }

          &:nth-child(n + 5) {
            border-top: 1px solid $border-color;
          }

          &:nth-child(3n + 3) {
            border-right: 1px solid $border-color;

            body.rtl & {
              border-right: unset;
              border-left: 1px solid $border-color;

              html.dark & {
                border-color: rgba(119, 119, 119, 0.44);
              }
            }
          }

          &:nth-child(4n + 4) {
            border-right: unset;

            body.rtl & {
              border-right: unset;
              border-left: unset;
            }
          }

          html.dark & {
            border-color: rgba(119, 119, 119, 0.44);
          }
        }
      }
    }

    @media (min-width: 1399px) {
      &.row-cols-xxl-5 {
        > * {
          border-right: 1px solid $border-color;
          border-bottom: unset;

          body.rtl & {
            border-right: unset;
            border-left: 1px solid $border-color;

            html.dark & {
              border-color: rgba(119, 119, 119, 0.44);
            }
          }

          &:nth-child(n + 5) {
            border-top: unset;
          }

          &:nth-child(n + 6) {
            border-top: 1px solid $border-color;
          }

          &:nth-child(4n + 4) {
            border-right: 1px solid $border-color;

            body.rtl & {
              border-right: unset;
              border-left: 1px solid $border-color;
            }
          }

          &:nth-child(5n + 5) {
            border-right: unset;

            body.rtl & {
              border-right: unset;
              border-left: unset;
            }
          }
        }
      }
    }

    &.list-style {
      > * {
        + * {
          border-top: 1px solid $border-color;
        }
      }
    }
  }

  > .row {
    &.g-sm-4.g-3 {
      --bs-gutter-y: 0;
      --bs-gutter-x: 0;
    }

    > div {
      border-right: 1px solid $border-color;
      border-left: unset;

      body.rtl & {
        border-left: 1px solid $border-color;
        border-right: unset;
      }

      &:nth-child(n + 5) {
        border-top: 1px solid $border-color;
      }

      @media (min-width: 1199px) {
        .row-cols-xl-4 {
          &:nth-child(n + 4) {
            border-top: 1px solid $border-color;
          }

          &:nth-child(3n + 1) {
            border-right: 1px solid $border-color;
            border-left: unset;
          }
        }
      }

      @media (max-width: 991px) and (min-width: 320px) {
        .row-cols-lg-3 {
          &:nth-child(n + 3) {
            border-top: 1px solid $border-color;
          }
        }
      }

      &:nth-child(4n + 4) {
        border-right: unset;
        border-left: unset;
      }

      @media (max-width: 1199px) {
        &:nth-child(4n + 4) {
          border-right: 1px solid $border-color;
          border-left: unset;

          body.rtl & {
            border-right: unset;
            border-left: 1px solid $border-color;
          }

          html.dark & {
            border-color: rgba(119, 119, 119, 0.44);
          }
        }

        &:nth-child(3n + 3) {
          border-right: unset;
          border-left: unset;

          body.rtl & {
            border-right: unset;
            border-left: unset;
          }
        }
      }

      @media (max-width: 767px) {
        &:nth-child(3n + 3) {
          border-right: 1px solid $border-color;
          border-left: unset;

          body.rtl & {
            border-right: unset;
            border-left: 1px solid $border-color;
          }

          html.dark & {
            border-color: rgba(119, 119, 119, 0.44);
          }
        }

        &:nth-child(even) {
          border-right: unset;
          border-left: unset;

          body.rtl & {
            border-right: unset;
            border-left: unset;
          }
        }

        &:nth-child(n + 3) {
          border-top: 1px solid $border-color;
        }
      }

      html.dark & {
        border-color: rgba(119, 119, 119, 0.44);
      }
    }
  }

  @media (max-width: 576px) {
    .row-cols-2 {
      &.row > div:nth-child(n + 3) {
        border-top: 1px solid $border-color;
      }
    }
  }

  @media (max-width: 993px) and (min-width: 768px) {
    .row-cols-md-3 {
      &.row > div:nth-child(n + 4) {
        border-top: 1px solid $border-color;
      }
    }
  }

  @media (max-width: 1401px) and (min-width: 992px) {
    .row-cols-lg-4 {
      &.row > div:nth-child(3n + 3) {
        border-right: 1px solid $border-color;

        body.rtl & {
          border-right: unset;
          border-left: 1px solid $border-color;
        }

        html.dark & {
          border-color: rgba(119, 119, 119, 0.44);
        }
      }

      &.row > div:nth-child(4n + 4) {
        border-right: unset;

        body.rtl & {
          border-right: unset;
          border-left: unset;
        }
      }

      html.dark & {
        border-color: rgba(119, 119, 119, 0.44);
      }
    }
  }

  @media screen and (min-width: 1400px) {
    .row-cols-xxl-6 {
      &.row > div:nth-child(n + 5) {
        border-top: unset;
      }

      &.row > div:nth-child(n + 7) {
        border-top: 1px solid $border-color;
      }

      &.row > div:nth-child(4n + 4) {
        border-right: 1px solid $border-color;

        body.rtl & {
          border-right: unset;
          border-left: 1px solid $border-color;
        }

        html.dark & {
          border-color: rgba(119, 119, 119, 0.44);
        }
      }

      &.row > div:nth-child(6n + 6) {
        border-right: unset;

        body.rtl & {
          border-right: unset;
          border-left: unset;
        }
      }
    }
  }

  .owl-carousel {
    .owl-stage {
      .owl-item {
        &.active {
          border-right: 1px solid $border-color;

          body.rtl & {
            border-left: 1px solid $border-color;
            border-right: unset;
          }

          html.dark & {
            border-color: rgba(119, 119, 119, 0.44);
          }

          &.cloned {
            border-right: unset;

            body.rtl & {
              border-left: unset;
              border-right: unset;
            }
          }
        }
      }
    }
  }

  .product-style-2 {
    padding: calc(8px + 6 * (100vw - 320px) / 1600);
    border: unset;
  }

  .product-box {
    border: unset;

    &.product-white-bg {
      background-color: transparent;
      border-radius: 0;
      padding: calc(10px + 4 * (100vw - 320px) / 1600);
      box-shadow: unset;
      border: unset;
    }

    .add-to-cart-box {
      .qty-box {
        .input-group {
          border-radius: 100px;

          button {
            border-radius: 100px !important;
          }
        }
      }
    }
  }

  .product-theme-box {
    border: unset;
  }

  &.row {
    > .col-6 {
      padding: 0;

      .product-box {
        padding: calc(8px + 6 * (100vw - 320px) / 1600);

        .product-image {
          background-color: transparent;
        }
      }
    }
  }
}

.full_bg {
  .product-box {
    &.product-white-bg {
      &:hover {
        box-shadow: unset;
      }

      .qty-box {
        .input-group {
          background-color: $white;
        }
      }

      .add-to-cart-btn-2 {
        .addcart-button {
          background-color: $white;
        }
      }
    }
  }

  .product-box,
  .product-style-1,
  .product-style-2,
  .product-theme-box {
    background: $light-gray;
    border-radius: 5px;
    padding: calc(10px + (14 - 10) * ((100vw - 320px) / (1920 - 320)));
    border: none;

    .add-to-cart-box {
      background-color: $white;

      .btn-add-cart {
        html.dark & {
          background-color: #2a2d2d;
        }
      }

      .qty-box {
        .input-group {
          background-color: $white;

          button {
            background: $light-gray;
          }
        }
      }
    }
  }

  &.product_border {
    .product-theme-box {
      border: 1px solid $border-color;
    }
  }

  &.row {
    > .col-6 {
      .product-box {
        .add-to-cart-box {
          .btn-add-cart {
            background-color: $white;
          }
        }
      }
    }
  }

  .list-style {
    .product-box.product-white-bg,
    .product-theme-box {
      padding: 0;

      .product-image,
      .img-box {
        padding: 20px;
        margin: 0;
        width: calc(200px + (260 - 200) * ((100vw - 575px) / (1920 - 575)));

        @include mq-max(sm) {
          width: 100%;
        }
      }

      .product-detail,
      .content-box {
        width: calc(100% - calc(200px + (260 - 200) * ((100vw - 575px) / (1920 - 575))) - 40px);
        padding: 0;
        margin: 0;
        margin-inline: 20px;

        @include mq-max(sm) {
          width: auto;
          margin-bottom: 20px;
        }
      }
    }

    .product-theme-box {
      padding: calc(14px + 10 * (100vw - 320px) / 1600);

      .content-box {
        margin: 0;
      }
    }
  }
}

.product_border {
  .product-box,
  .product-style-1,
  .product-style-2 {
    background-color: transparent;
    border: 1px solid $border-color;
    border-radius: 10px;
    padding: calc(10px + (14 - 10) * ((100vw - 320px) / (1920 - 320)));

    .product-image {
      background-color: transparent;

      html.dark & {
        background-color: transparent;
      }
    }
  }

  .product-box {
    .add-to-cart-box {
      .qty-box {
        .input-group {
          border-radius: 100px;

          button {
            border-radius: 100px !important;
          }
        }
      }
    }
  }

  &.full_bg {
    .product-box,
    .product-style-1,
    .product-style-2 {
      background-color: $light-gray;
    }

    .product-style-2 {
      .product-detail {
        .product-bottom {
          .add-to-cart-box {
            .btn-add-cart {
              html.dark & {
                background-color: #2a2d2d !important;
              }
            }
          }
        }
      }
    }
  }

  .owl-carousel {
    .owl-stage-outer {
      > * {
        > div {
          padding-bottom: 1px;
        }
      }
    }
  }

  .product-header-top {
    .wishlist-button {
      right: 11px;
      top: 11px;

      body.rtl & {
        right: unset;
        left: 11px;
      }
    }
  }
}

.product_img_bg {
  .product-box {
    padding: 0;
    border: unset;
    border-radius: 6px;

    &:hover {
      box-shadow: unset;
    }

    &:hover {
      .product-image {
        img {
          transform: scale(1);
        }
      }
    }

    .product-image {
      padding: 0;
      background-color: #f8f8f8;
      margin-bottom: 20px;

      html.dark & {
        background-color: #1d1d22;
      }

      img {
        height: calc(180px + (220 - 180) * ((100vw - 320px) / (1920 - 320)));
        object-fit: contain;
        width: 100%;
        transition:
          opacity 0.5s,
          transform 1.25s cubic-bezier(0, 0, 0.44, 1.18);
      }

      .label-flex {
        padding: 15px;
      }
    }
  }

  .product-style-1,
  .product-style-2 {
    padding: 0;
    border: unset;

    &:hover {
      .product-image {
        img {
          transform: scale(1);
        }
      }
    }

    .product-image {
      padding: 0;
      background-color: #f8f8f8;
      margin-bottom: 20px;

      html.dark & {
        background-color: #1d1d22;
      }

      img {
        height: calc(160px + (200 - 160) * ((100vw - 320px) / (1920 - 320)));
        object-fit: contain;
        width: 100%;
        transition:
          opacity 0.5s,
          transform 1.25s cubic-bezier(0, 0, 0.44, 1.18);
      }

      .label-flex {
        padding: 15px;
      }
    }
  }

  .product-theme-box {
    padding: 0;
    border: unset;
    border-radius: 0;
    background-color: transparent;

    .img-box {
      padding: 0;
      background-color: #f8f8f8;
      margin-bottom: 20px;

      html.dark & {
        background-color: transparent;
      }

      img {
        width: 100%;
        height: calc(160px + (200 - 160) * ((100vw - 320px) / (1920 - 320)));
        object-fit: cover;
        transition:
          opacity 0.5s,
          transform 1.25s cubic-bezier(0, 0, 0.44, 1.18);
      }

      .heart-icon {
        right: 20px;
        top: 20px;
        width: 28px;
        height: 28px;
      }
    }
  }

  &.product_border {
    .product-box,
    .product-style-1,
    .product-style-2 {
      border: 1px solid $border-color;

      .product-image {
        border-radius: 0;
      }

      .product-detail {
        padding: calc(10px + 4 * (100vw - 320px) / 1600);
        padding-top: 0;
      }
    }

    .product-theme-box {
      border: 1px solid #eee;
      border-radius: calc(10px + 5 * (100vw - 320px) / 1600);

      html.dark & {
        border-color: rgba(119, 119, 119, 0.44);
      }

      .content-box {
        padding: calc(10px + 4 * (100vw - 320px) / 1600);
        padding-top: 0;
      }
    }

    &.row {
      > .col-6 {
        .product-box {
          border: 1px solid $border-color;

          html.dark & {
            border-color: rgba(119, 119, 119, 0.44);
          }
        }
      }
    }

    .list-style {
      .product-style-2 {
        padding: 0;

        .product-image {
          margin: 0;
          width: calc(180px + (250 - 180) * ((100vw - 575px) / (1920 - 575)));

          img {
            height: auto;
          }
        }

        .product-detail {
          padding: 0;
          width: calc(100% - calc(180px + (250 - 180) * ((100vw - 575px) / (1920 - 575))) - 20px);
        }
      }

      @media (max-width: 575px) {
        .product-box {
          .product-detail {
            padding: calc(10px + 4 * (100vw - 320px) / 1600);
            padding-top: 0;
            margin-inline: unset;
          }
        }

        .product-theme-box {
          .content-box {
            margin: 10px;
            margin-top: 20px;
          }
        }

        .product-style-1 {
          .product-detail {
            padding: calc(10px + 4 * (100vw - 320px) / 1600);
            padding-top: 0;

            p {
              -webkit-line-clamp: 2;
            }
          }
        }

        .product-style-2 {
          .product-image {
            margin: 0;
            width: 100%;

            img {
              height: calc(160px + 40 * (100vw - 320px) / 1600);
            }
          }

          .product-detail {
            padding: calc(10px + 4 * (100vw - 320px) / 1600);
            padding-top: 0;
            width: 100%;

            p {
              margin-bottom: 8px;
              -webkit-line-clamp: 2;
            }
          }
        }
      }
    }
  }

  &.row {
    > .col-6 {
      .product-box {
        border: unset;
      }
    }
  }

  .list-style {
    .product-box.product-white-bg,
    .product-theme-box {
      padding: 0;

      .product-image,
      .img-box {
        padding: 20px;
        margin: 0;
        width: calc(200px + (230 - 200) * ((100vw - 575px) / (1920 - 575)));

        @include mq-max(sm) {
          width: 100%;
        }
      }

      .product-detail,
      .content-box {
        width: calc(100% - calc(200px + (230 - 200) * ((100vw - 575px) / (1920 - 575))) - 40px);
        padding: 0;
        margin: 0;
        margin-inline: 20px;

        @include mq-max(sm) {
          width: auto;
          margin-bottom: 20px;
        }
      }
    }

    .product-box,
    .product-style-1 {
      padding: 0;

      .product-image {
        margin: 0;
        width: calc(180px + (250 - 180) * ((100vw - 576px) / (1920 - 576)));

        @include mq-max(sm) {
          width: 100%;
        }

        img {
          height: auto;

          @include mq-max(sm) {
            height: calc(160px + 40 * (100vw - 320px) / 1600);
          }
        }
      }

      .product-detail {
        padding-bottom: 0;
        padding-left: 0;
        width: calc(100% - calc(180px + (250 - 180) * ((100vw - 576px) / (1920 - 576))) - 20px);

        body.rtl & {
          padding-left: calc(10px + (14 - 10) * ((100vw - 320px) / (1920 - 320)));
          padding-right: unset;
        }

        @include mq-max(sm) {
          width: auto;
        }
      }
    }

    .product-style-2 {
      padding: 0;

      .product-image {
        width: calc(180px + (250 - 180) * ((100vw - 576px) / (1920 - 576)));
        margin-bottom: 0;

        @include mq-max(sm) {
          width: 100%;
        }

        img {
          height: auto;

          @include mq-max(sm) {
            height: calc(160px + 40 * (100vw - 320px) / 1600);
          }
        }
      }

      .product-detail {
        width: calc(100% - calc(180px + (250 - 180) * ((100vw - 576px) / (1920 - 576))) - 20px);

        @include mq-max(sm) {
          width: 100%;
        }
      }
    }

    .product-theme-box {
      .content-box {
        @include mq-max(sm) {
          margin: 0;
          margin-top: 20px;
        }
      }
    }
  }
}

.releted-product {
  .full_border {
    > .row {
      margin: 0;

      > div {
        padding: 0;
        margin: 0;
        border-top: unset;
      }

      .col-xxl-2 {
        @media screen and (min-width: 1399px) {
          border-right: 1px solid $border-color;

          body.rtl & {
            border-right: unset;
            border-left: 1px solid $border-color;

            html.dark & {
              border-color: rgba(119, 119, 119, 0.44);
            }
          }

          &:nth-child(6n + 6) {
            border-right: unset;

            body.rtl & {
              border-right: unset;
              border-left: unset;
            }
          }
        }
      }

      .col-lg-3 {
        @media (max-width: 1400px) and (min-width: 991px) {
          border-right: 1px solid $border-color;

          body.rtl & {
            border-right: unset;
            border-left: 1px solid $border-color;

            html.dark & {
              border-color: rgba(119, 119, 119, 0.44);
            }
          }

          &:nth-child(4n + 4) {
            border-right: unset;

            body.rtl & {
              border-right: unset;
              border-left: unset;
            }
          }
        }
      }

      .col-md-4 {
        @media (max-width: 992px) and (min-width: 767px) {
          border-right: 1px solid $border-color;

          body.rtl & {
            border-right: unset;
            border-left: 1px solid $border-color;

            html.dark & {
              border-color: rgba(119, 119, 119, 0.44);
            }
          }

          &:nth-child(3n + 3) {
            border-right: unset;

            body.rtl & {
              border-right: unset;
              border-left: unset;
            }
          }
        }
      }
    }
  }
}

.not-available {
  margin-top: 13px;
  font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
  color: #de1a2e;
  letter-spacing: 0.3px;
}
