.js-gift {
  width: 100%;
  background-image: linear-gradient(90deg, var(--gbg1) 0%, var(--gbg2) 50%, var(--gbg1) 100%);
  border-color: var(--cl_gmain) !important; }
  .js-gift h3 {
    font-size: 20px;
    color: var(--cl_gmain); }
  .js-gift button {
    transition: all 0.3s ease;
    background: initial;
    font-size: 16px;
    border: 3px solid var(--cl_gmain);
    pointer-events: none;
    opacity: 0.5;
    color: var(--cl_gmain); }
    .js-gift button.open {
      pointer-events: all;
      opacity: 1; }
    .js-gift button:hover {
      background: var(--cl_gmain);
      color: #fff; }

.gift-progress {
  height: 12px;
  width: calc(100% - 16px) !important;
  position: relative;
  margin: 30px 0 15px 0; }

.gift-progress-bar {
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--pg_g1) 0%, var(--pg_g2) 105.65%);
  z-index: 1;
  transform: translateY(-50%);
  position: absolute;
  top: 50%;
  transition: all 0.3s ease; }

.gift-progress-bg {
  width: 100%;
  background: #e9ecef;
  border-radius: 8px;
  height: 10px;
  transform: translateY(-50%);
  position: absolute;
  top: 50%; }

.gift-progress .gift-item {
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  display: block;
  transform: translate(-50%, -50%);
  z-index: 2;
  border-radius: 50%;
  border: 2px solid var(--cl_gmain);
  background: #fff;
  background-image: var(--icongift);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  transition: all 0.3s ease; }
  .gift-progress .gift-item:after {
    content: attr(data-entry);
    height: 25%;
    position: absolute;
    font-size: 12px;
    font-weight: bold;
    color: var(--cl_gmain);
    top: -20px;
    padding: 0;
    left: 50%;
    transform: translateX(-50%); }

.gift-progress .gift-item.selected {
  background-image: url(//theme.hstatic.net/200001032078/1001377443/14/checked.png?v=245);
  background-size: 12px; }

.gift-progress .gift-item.selected:before {
  top: -28px;
  transform: translateX(-50%) scale(1); }

.js-gift-list {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; }

.js-gift-item {
  cursor: pointer;
  padding: 8px;
  border: 2px solid #E8E8E8;
  color: var(--cl_gmain);
  border-radius: 8px;
  font-size: 13px;
  transition: all 0.3s ease;
  min-width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  font-weight: bold;
  text-transform: uppercase; }
  .js-gift-item.selected, .js-gift-item:hover {
    border: 2px solid var(--cl_gmain); }
  .js-gift-item:after {
    content: " \2713";
    position: absolute;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #28a745;
    color: #fff;
    bottom: 10px;
    right: 10px;
    border-radius: 15px;
    transform: scale(0);
    transition: all 0.3s; }
  .js-gift-item.selected {
    opacity: 1;
    position: relative; }
    .js-gift-item.selected:after {
      transform: scale(1);
      transition: all 0.3s; }
  .js-gift-item.disabled {
    opacity: 0.75;
    position: relative;
    pointer-events: none; }
  .js-gift-item.loading {
    opacity: 0.75;
    position: relative;
    pointer-events: none; }
  .js-gift-item img {
    max-width: 75px;
    margin-right: 15px;
    border-radius: 8px; }

.gift-text b, .gift-text a {
  color: var(--cl_gmain); }

.modal-title {
  font-size: 18px; }

@media (min-width: 1200px) {
  #bmiModal .modal-lg {
    height: auto; } }

@media (max-width: 767px) {
  .modal-title, .js-gift h3 {
    font-size: 16px; }
  .js-gift-item {
    font-size: 12px; }
  .modal-lg {
    height: 60vh; }
  #bmiModal.show .modal-lg {
    transform: translateY(40vh) !important; } }

#bmiModal .modal-content:before {
  display: none; }

#bmiModal .btn-close {
  background: var(--cl_gmain);
  color: #fff;
  height: 25px;
  padding: 0;
  z-index: 1; }

#bmiModal button.btn-close:before {
  content: '';
  width: 12px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
  overflow: hidden; }

#bmiModal button.btn-close:after {
  content: '';
  width: 12px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  border-radius: 2px;
  overflow: hidden; }

#bmiModal .modal-content {
  border-radius: 10px;
  height: 100%; }
  @media (max-width: 767px) {
    #bmiModal .modal-content {
      border-radius: 10px 10px 0 0;
      border: 0; } }
  #bmiModal .modal-content .modal-body {
    overflow: auto;
    height: 100%; }
    #bmiModal .modal-content .modal-body::-webkit-scrollbar-track {
      -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
      background-color: #f7f7f7;
      border-radius: 10px; }
    #bmiModal .modal-content .modal-body::-webkit-scrollbar {
      width: 0px;
      background-color: #f7f7f7; }
    #bmiModal .modal-content .modal-body::-webkit-scrollbar-thumb {
      border-radius: 10px;
      background-color: #FFF;
      background-image: -webkit-gradient(linear, 40% 0%, 75% 84%, from(var(--cl_gmain)), to(var(--cl_gmain)), color-stop(0.6, var(--cl_gmain))); }
  #bmiModal .modal-content .modal-header {
    top: 0; }

@media (max-width: 767px) {
  #bmiModal .modal-dialog {
    margin: 0 auto;
    transform: translateY(100vh); } }

#bmiModal .modal-lg {
  min-height: initial;
  height: calc(100vh - 60px);
  overflow: hidden;
  max-width: 600px; }
  @media (min-width: 768px) {
    #bmiModal .modal-lg {
      height: auto;
      margin: 100px auto; } }

@media (max-width: 767px) {
  .close_pop_pr {
    position: absolute;
    top: 0;
    height: 30px !important;
    width: 100% !important;
    background: transparent !important; }
    .close_pop_pr:before {
      content: '';
      width: 92px;
      height: 4px;
      position: absolute;
      left: 50%;
      top: 10px;
      transform: translateX(-50%);
      background: #A9C0A6;
      opacity: 0.5;
      border-radius: 10px; } }

.content_pop {
  max-width: 400px;
  margin: 0 auto; }
