.delivery-popup {
  max-width: 400px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.delivery-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.delivery-popup-content ul {
  list-style: none;
  padding: 0;
}

.delivery-popup-content li {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
}

.delivery-popup-content li:hover {
  background-color: #f5f5f5;
}

.delivery-popup-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.tab-content,
.map-content {
  display: none;
}

.tab-content.active,
.map-content.active {
  display: block;
}

.delivery-popup-form-type-item.active {
  font-weight: bold;
}

.delivery-popup {
  max-width: 1200px;
  display: none;
  padding: 0;
  border-radius: 20px;
}
.fancybox-slide .delivery-popup {
    display: inline-block !important;
}

.delivery-popup-wrap {
  display: flex;
  height: calc(100vh - 78px);
  min-height: 500px;
  padding: 0;
  background-color: #f2f8f4;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  overflow: hidden;
}

.delivery-popup-form-text {
  margin: 20px 0px 20px 0px;
}

.delivery-popup-content {
  width: 510px;
  padding: 24px;
  height: 100%;
}

.delivery-popup-map {
  flex-grow: 1;
  width: calc(100% - 510px);
  background: #F0F0F4;
}

.delivery-popup-main {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}


.delivery-popup-heading {
  display: flex;
  align-items: center;
  margin-bottom: 44px;
}

.delivery-popup-form-wrap {
  /* margin-right: -10px; */
  flex-grow: 1;
}

.delivery-popup-form-inner {
  height: 100%;
  /* padding-right: 10px; */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: none;
  overscroll-behavior: none;
  max-height: inherit;
}

.delivery-popup-form-type {
  margin-bottom: 14px;
}

.delivery-popup-form-type-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  background: #fff;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  border: solid 1px #007c28;
  padding: 3px;
  gap: 4px;
}


.delivery-popup-form-type-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 34px;
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  cursor: pointer;
  /* padding: 0 3px; */
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  -webkit-flex-grow: 1;
  -moz-box-flex: 1;
  flex-grow: 1;
  /* -webkit-transition: all .3s !important;
  -o-transition: all .3s !important;
  -moz-transition: all .3s !important;
  transition: all .3s !important;
  border: 0; */
  background: transparent;
  font-weight: 500;
  filter: grayscale(1);
  color: #606060;
  border-radius: 30px;
}

.delivery-popup-form-type-item-active {
  cursor: default;
  color: #fff;
  background: #007c28;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  filter: unset;
}

.delivery-popup-form-type-item img {
  margin-right: 8px;
  vertical-align: top;
}

.delivery-popup-form-text {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.25;
  color: #606060;
}

.delivery-popup-form-sc {
  margin-left: 0;
  /* height: 100%; */
  /* overflow-y: auto; */
  /* overflow-x: hidden; */
  -webkit-overflow-scrolling: none;
  overscroll-behavior: none;
  max-height: inherit;
}

.delivery-popup-form-info {
  margin-top: 14px;
  padding: 10px 16px 9px;
  border-radius: 10px;
  background-color: #F0F0F4;
  font-size: 13px;
  line-height: 1.4em;
}


.delivery-popup-input-wrap {
  position: relative;
  background: #fff;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  /* overflow: hidden; */
  /* display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex; */
}

.delivery-popup-input {
  /* padding: 22px 40px 9px 16px; */
  padding: 9px 40px 9px 16px;
  background: transparent;
  display: block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  caret-color: var(--green500);
  border: 0;
  width: 100%;
  font-size: 15px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.delivery-popup-btn-wrap button {
  background-color: #2DBE64;
  padding: 8px 15px;
  color: #fff;
  border-radius: 3px;
  margin-top: 30px;
}


@media (max-height: 560px) {
  .delivery-popup-heading {
      margin-bottom: 24px;
  }
}


@media (min-width: 768px) {
  .delivery-popup-wrap {
      max-height: 630px;
      transform: translate(0, 0);
  }
}

.product-item-detail-tabs .tab-content.product-item-detail-tabs-content{
  display: inherit!important;
}