.backimg {
  z-index: 11;
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.transparent_svg {
  opacity: 0;
  fill: transparent;
  stroke: transparent;
  stroke-miterlimit: 0;
  display: block;
}

svg:not(:root) {
  overflow: hidden;
}

.bulk-order-opt {
  margin-top: 42px;
  margin-bottom: 42px;
}

.sub_desc {
  text-align: justify;
}

.bulk_inner {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
}

.img-btn > input {
  display: none;
}

.img-btn > input:checked + .img_item {
  border-color: #022d27;
}
.img-btn > .img_item {
  cursor: pointer;
  border: 2px solid transparent;
  width: 100%;
}
.bulk_item {
  display: flex;
  width: calc(100% / 4 - 15px);
  margin-right: 20px;
  flex-direction: column;
}

.bulk_inner > :nth-child(4n + 4) {
  margin-right: 0px;
}

.bulk_item label {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 90%;
  background-color: #f7c209;
  color: #022d27;
  text-align: center;
  padding: 5px;
  position: absolute;
  z-index: 12;
  top: 102%;
  transition: all 0.1s;
  font-size: 13px;
  border-radius: 6px;
  line-height: 1.5em;
}
span.tooltiptext:after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent #f7c209 transparent;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}

.size_opt_inner,
.grind_opt_inner {
  display: flex;
  margin-top: 30px;
  justify-content: center;
  align-items: center;
}

.size_opt_inner .product-single__swatch .home-inline__title,
.grind_opt_inner .product-single__swatch .home-inline__title {
  text-align: center;
  margin-bottom: 24px;
}

.grind_opt_inner label {
  text-transform: capitalize;
}

.size_opt_inner label,
.grind_opt_inner label {
  font-size: 1.2rem;
}

.nav_btns {
  display: flex;
  width: 100%;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
}

.bulk_options .nav_btns {
  margin-top: 65px;
  display: none;
}
.nav_btns > :nth-child(2) {
  margin-left: 20px;
}
#step2 .nav_btns .nxt_btn {
  display: none;
}
.nav_btns button {
  box-shadow: none;
  border: none;
}

#step2,
#step3 {
  display: none;
}

.grind_opt_inner .home-inline__title,
.size_opt_inner .home-inline__title {
  font-size: 1.3rem;
  /*   text-transform: uppercase; */
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #f7c209;
  text-decoration-thickness: 2px;
}

.swatch_items {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

@media screen and (max-width: 639px) {
  .bulk_item .section__title--center {
    margin: 0 auto 0;
  }
  .tooltip .tooltiptext {
    font-size: 13px;
    line-height: 1.3;
  }
  .size_opt_inner label,
  .grind_opt_inner label {
    font-size: 1rem;
  }
  .swatch_items {
    flex-wrap: wrap;
  }
  .grind_opt_inner .home-inline__title,
  .size_opt_inner .home-inline__title {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 767px) {
  .fancybox-content {
    padding: 20px;
  }
  .bulk_item {
    display: flex;
    width: calc(100% / 2 - 15px);
    margin-right: 15px;
    margin-bottom: 42px;
  }
  .tooltip .tooltiptext {
    visibility: visible;
    width: calc(100% - 4px);
  }
  .bulk_inner {
    flex-wrap: wrap;
  }
  .bulk_options .nav_btns {
    margin-top: 10px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .bulk_item {
    display: flex;
    width: calc(100% / 4 - 12px);
    margin-right: 15px;
  }
}

.bulk-order-opt .product-single__add {
  margin-top: 13px;
}
.bulk-order-opt .disable_btn {
  opacity: 0.6 !important;
  cursor: not-allowed;
  pointer-events: none;
  padding: 9px 30px;
}
#step1n,
#step2b {
  padding: 9px 30px;
}
.bulk-order-opt .view_btn {
  position: absolute;
  bottom: 6%;
  left: 0;
  right: 0;
  text-align: center;
  background: #f7c209;
  max-width: 168px;
  margin: 0 auto;
  color: #000;
  padding: 3px 10px;
}
.fancybox-active.compensate-for-scrollbar {
  margin-right: 0 !important;
}
.template-product .fancybox-content {
  max-width: 798px;
}
body.compensate-for-scrollbar {
  overflow: hidden;
}
.fancybox-button svg path {
  fill: #000 !important;
}
.pop_heading {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #f7c209;
  text-decoration-thickness: 2px;
  padding-bottom: 15px;
}
.custom_content_box {
  visibility: visible !important;
  opacity: 1 !important;
}
.bulk-order-opt .product-single__swatch__label {
  padding: 9px 10px;
}
.custom_content_box .backimg {
  max-width: 480px;
  margin: 0 auto;
}
.custom_content_box .metafield-rich_text_field {
  padding-top: 16px !important;
}
.custom_content_box .metafield-rich_text_field p {
  text-align: justify;
}
.low_price {
  font-weight: 700;
}
.fancybox-content {
  text-align: justify !important;
}
.btitle {
  padding: 12px 24px 0;
}
@media screen and (max-width: 980px) {
  .mob_flex {
    display: flex;
    flex-direction: column-reverse;
  }
  div#step2b,.prev_btn {
    width: 100%;
  }
  .tooltip .tooltiptext {
/*     toltip for mobile */
    display:none;
  }
}
/* #productSelect-1{
  display:block !important;
} */


@media screen and (max-width: 768px) {
.bulk-order-opt .custom-product .c-btn--small-tab {
    font-size: .6rem !important;
}
.bulk-order-opt .custom-product .view_btn {
    max-width: 81px !important;
    padding: 0;
}
  .bulk-order-opt .view_btn{
        bottom: -2%;
  }
.bulk_options .nav_btns div#step1n {
    font-size: 13px !important;
}

.bulk-order-opt div#step2b {
    font-size: 13px !important;
}

.bulk-order-opt div#step2b, .bulk-order-opt .custom-product .c-btn--small-tab span.js-product-add-text {
    font-size: 13px !important;
}

.bulk-order-opt .custom-product .c-btn--small-tab#step_new_btn {
    font-size: 13px !important;
    padding: 5px 25px;
}  
  
}

.nav__new_btns {
    display: flex;
    width: 100%;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
}
