/*  start Tarun */
@media (min-width: 1200px) and (max-width: 1439px) {
  .nshp-wrap { 
    & .nshp-box {
      & .img-bx {
        gap: 5px;
        min-height: 60px;
        & img {
          height: 25px;
        }
      }
    }
  }
  .nshp-wrap.metal-nshp-wrap .shape-title {
    font-size: 10px !important; 
  }
}

@media (max-width: 991px) {
  .slider-container {
    margin-right: 0px;
  }

  .setting_details_wrapper .right_section {
    margin-left: 0px;
  }

  .product_details_wrapper {
    &:first-child .product_details {
      margin-right: 0px;
    }

    &:last-child .product_details {
      margin-left: 0px;
    }
  }

  .right_section {
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .grid-card {
    & .card {
      & .btn-heart {
        width: 30px;
        height: 30px;
        top: 5px;
        right: 5px;
        z-index: 9;
      }
    }
  }
  .grid-card {
    & .card {
      & .card-body {
        & .text {
          margin-bottom: 15px;
          align-items: start !important;
        }
      }
    }
  }
  .grid-card {
    & .card {
      & .card-body {
        & .text {
          & p {
            font-size: 16px;
            font-weight: var(--fw-500);
            margin-left: 0 !important;
          }
        }
      }
    }
  }
  .builder-innerbox-filter select {
    padding: 8px;
    font-size: 13px;
  }

  .head-line {
    padding-left: 30px;
    margin-bottom: 15px;

    &::after {
      width: 16px;
    }
  }

  .btn-none {
    font-size: 12px;
  }

  .builder-filter ul {
    gap: 5px;

    & li {
      padding: 2px 5px;
      font-size: 9px;
      border-radius: 2px;

      & span {
        margin-right: 4px;
      }
    }
  }

  .builder-container {
    position: fixed;
    z-index: 99;
    top: inherit;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 0 15px;
  }

  .builder-innderbox {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;

    & .builder-filter-circle-btn {
      min-width: 16%;

      & label {
        & .circle {
          width: 40px;
          height: 40px;
        }

        & span {
          font-size: 9px;
        }
      }
    }
  }
  .grid-card {
    & .card {
      & .card-body {
        padding: 10px;
      }
    }
  }
  .nshp-heading-wrap.only-fci {
    text-align: center;  
  } 
}

@media (min-width: 991px) and (max-width: 1479px) {
  .slider-container {
    margin-right: 10px;
  }
  .setting_details_wrapper {
    & .right_section {
      margin-left: 10px;
    }
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .heading-2 {
    font-size: 24px;
  }
}

@media (min-width: 991px) and (max-width: 1399px) {
  .list-card {
    & .card {
      & .card-body {
        padding: 15px;

        & .details {
          margin-bottom: 15px;
        }

        & .btn-group {
          gap: 15px;
        }
      }
    }
  }
}

@media (min-width: 1281px) and (max-width: 1479px) {
  .para-3 {
    font-size: 15px;
  }
}

@media (min-width: 991px) and (max-width: 1279px) {

  .para-3 {
    font-size: 13;
  }

  .slider-thumbnails .slick-slide {
    width: 60px !important;
  }

  .slider-container {
    gap: 20px;

    & .main-slider-wrapper {
      width: calc(100% - 75px);

      & .button {
        margin-top: 20px;

        & svg {
          width: 30px;
          height: 30px;
        }
      }
    }
  }

}

@media (min-width: 576px) and (max-width: 991px) {
  /* .btn {
    font-size: 14px;
    height: 40px;
  } */
 
  .para-3 {
    font-size: 15;
  }

  .slider-container {
    gap: 20px;

    & .main-slider-wrapper {
      width: calc(100% - 100px);

      & .button {
        margin-top: 20px;

        & svg {
          width: 30px;
          height: 30px;
        }
      }
    }
  }

  .slider-thumbnails .slick-slide {
    width: 75px !important;
  }
}

@media (min-width: 320px) and (max-width: 991px) {
  .list-card {
    margin-bottom: 15px;
    padding: 0 7px;

    & .card {
      & .card-body {
        padding: 12px;

        & .btn-group {
          gap: 12px;
        }
      }
    }
  }
}

@media (min-width: 320px) and (max-width: 575px) {
  .head-1 {
    font-size: 22px;
  }

  .head-2 {
    font-size: 18px;
  }

  .head-3 {
    font-size: 16px;
  }

  .head-4 {
    font-size: 16px;
  }

  .heading-3 {
    font-size: 16px;
  }

  .para-1 {
    font-size: 14px;
  }

  .para-2 {
    font-size: 14px;
  }

  .para-3 {
    font-size: 14px;
  }

  .ring-card {
    & .card-body {
      padding: 16px 12px;
    }
  }

  .slider-container {
    gap: 15px;

    & .main-slider-wrapper {
      width: 100%;

      & .button {
        top: 50%;
        width: 100%;
        position: absolute;
        display: flex;
        padding: 10px;
        justify-content: space-between;
        transform: translateY(-50%);
        margin-top: 0;

        & svg {
          width: 25px;
          height: 25px;
        }
      }
    }

    & .slider-thumbnails .slick-slide {
      width: 50px !important;
    }

    & .slider-thumbnails .slick-track {
      gap: 10px;
    }
  }

  .setting_details_wrapper .right_section {
    & h1 {
      margin-bottom: 10px;
    }

    & h3 {
      font-size: 16px;
      margin-bottom: 8px;
    }

    & h4 {
      font-size: 18px;
      margin-bottom: 20px;
    }

    & .button_group {
      gap: 10px;

      & > div {
        flex: 0 0 calc(100%);
        max-width: 100%;
      }
    }
  }

  .diamond-list-table {
    & .table-header {
      font-size: 12px;
    }

    & .table-row {
      & div {
        font-size: 10px;
      }
    }
  }

  .product_details_wrapper {
    & h1 {
      margin: 0px 0 20px 0;
    }

    & .row {
      padding: 10px 0;

      & p {
        font-size: 14px;
      }
    }
  }

  .list-card {
    margin-bottom: 12px;
    padding: 0 6px;

    & .card {
      & .btn-heart {
        width: 25px;
        height: 25px;
        top: 10px;
        right: 10px;

        & svg {
          width: 12px;
        }
      }

      & .card-body {
        padding: 8px;

        & .details {
          margin-bottom: 12px;

          flex-wrap: wrap;
          gap: 10px;

          & div {
            flex: 1 0 calc(50% - 10px);
          }

          & > :nth-child(2) {
            border-right: 0 !important;
          }
        }

        & .text {
          margin-bottom: 10px;

          & h5 {
            font-size: 12px;
            margin-bottom: 6px !important;
            font-weight: var(--fw-500);
          }

          & p {
            font-size: 14px;
            width: 100%;
            font-weight: var(--fw-600);
          }
        }

        & .btn-group {
          .btn {
            font-size: 12px;
            height: 30px;

            & svg {
              height: 10px;
            }
          }
        }
      }
    }
  }

  table.dataTable thead th,
  table.dataTable tfoot th {
    font-size: 12px !important;
    padding: 6px !important;
  }

  table.dataTable thead th,
  table.dataTable tfoot th {
    background: #dedede;
    position: relative;
  }

  table.dataTable > tbody > tr > th,
  table.dataTable > tbody > tr > td {
    font-size: 10px !important;
  }
}

/*  end Tarun */

@media (min-width: 992px) and (max-width: 1199px) {
  .metal-nshp-wrap-detail  {
    /* font-size: 9px !important; */
    grid-template-columns: repeat(5, 1fr) !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  & .tstone-bx {
    font-size: 14px;
  }
  .container,
  .container-md,
  .container-sm {
    max-width: 950px;
  }
  .nshp-wrap.setting-nshp-wrap {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 991px) {
  .step-num {
    display: none;
  }
  .step-txt span {
    display: none;
  }
  .step-img svg {
    display: none;
  }
  .step-wizard {
    height: 40px;
  }
  .step-wizard .step-box {
    text-align: center;
    justify-content: center;
    &:not(:last-of-type)::before {
      border-width: 21px;
      margin-top: -21px;
    }
  }
  .step-wizard .step-box {
    &:not(:last-of-type)::after {
      border-width: 20px;
      margin-top: -20px;
    }
  }
  .step-txt {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
  }
  .step-wiz-wrapper {
    padding: 50px 0 20px;
  }
  .sp-diamondt-links {
    min-height: 50px;
    border-radius: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    max-width: 400px;
    width: 100%;
    a {
      padding: 0 5px;
      font-size: 14px;
      height: 35px;
      gap: 5px;

      svg {
        height: 25px;
      }
    }
  }
}
@media (max-width: 767px) {
  .sorting-filter {
    padding: 0 10px;
    margin: 15px 0;
    .tstone-bx {
      display: none;
    }
    .reset-bx {
      display: none;
    }
    .view-bx {
      justify-content: space-between;
      width: 100%;
      gap: 10px;
    }
    .sortings-bx {
      &::before {
        content: "";
        height: 40px;
        width: 2px;
        background: rgb(0, 0, 0);
        background: radial-gradient(
          circle,
          rgba(0, 0, 0, 1) 0%,
          rgba(255, 255, 255, 0) 100%
        );
        position: absolute;
        left: -30px;
        display: none;
      }
    }
    .sort-icons {
      font-size: 22px;
    }
  }
  .search-box {
    & input {
      min-width: calc(100% - 117px);
      height: 40px;
      padding: 0 15px 0 40px;
      display: inline-block;
    }
  }

  .heading-2 {
    font-size: 24px;
  }

  .diamond-list-table {
    & .table-header {
      font-size: 12px;
    }

    & .table-row {
      & div {
        font-size: 10px;
      }
    }
  }
}

@media (max-width: 575px) {
  .sorting-filter {
    & .view-bx {
      & .sortings-bx {
        & select {
          font-size: 14px; 
        }
      }
    }
  }
  .sorting-filter.setting-sorting {
    background: transparent;
    .sort-bx.view-bx.setting-view-bx{
      justify-content: end; 
    }
  }
}
/*  start faizan */
@media (min-width:1200px) {
  .diamond_popup {
    width: 32.8%;
  }

  .diamond_popup.second_box {
    left: 33.7%;
  }
}

@media (max-width:1300px) {
  .diamond_item_info {
    padding: 10px 10px 0;
  }

  .item_name,
  .diamond_item_price h3 {
    font-size: 14px;
  }

  .diamond_title {
    padding-right: 5px;
  }

  .item_metal,
  .diamond_compare_price {
    font-size: 13px;
  }

  .diamond_text_muted {
    font-size: 10px;
  }
}

@media (max-width:768px) {
  .diamond_popup.second_box {
    left: auto;
  }

  .diamond_popup {
    width: 100%;
  }

  .item_name,
  .diamond_item_price h3 {
    font-size: 14px;
  }

  .diamond_text_muted {
    font-size: 10px;
  }

  .item_metal,
  .diamond_compare_price {
    font-size: 13px;
  }
}
/*  end faizan */