#iPopup .i-popup {
  z-index: 1000;
  box-shadow: 2px 2px 4px rgb(0 0 0 / 20%);
}

#iPopup .i-popup .i-popup-content p {
  margin: 0;
}

#iPopup .i-popup .i-popup-content img {
  display: block;
}

#iPopup .i-popup .i-popup-foot {
  background-color: #000;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

#iPopup .i-popup .i-popup-foot button {
  cursor: pointer;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 14px;
  padding: 14px 10px;
}

#iPopup .i-popup .i-popup-foot button:first-child {
  border-right: 1px solid #222;
}

#iPopup .i-popup {
  position: fixed;
}

/* Desktop ( 1024px ~)*/
@media all and (min-width: 1024px) {
}

/* Laptop ( 1024px ~ 1300px)*/
@media all and (min-width: 1024px) and (max-width: 1300px) {
}

/* Tablet ( 768px ~ 1023px)*/
@media all and (min-width: 768px) and (max-width: 1023px) {
}

/* Mobile ( ~ 767px)*/
@media screen and (max-width: 767px) {
  #iPopup .i-popup {
    position: absolute;
    width: 80%;
    left: 50% !important;
    transform: translateX(-50%);
  }
}


.i-popup .slick-dotted.slick-slider {
  margin-bottom: 0px;
}

/* slider arrow*/
.i-popup {
  --arrow-width: 20px;
  --arrow-height: auto;
  --arrow-ratio: 1/2;
  --arrow-position: 15px;
  --arrow-image: url("/plugins/iPopup/assets/images/popup_arrow.svg");
}

.i-popup .slide-popup-prev,
.i-popup .slide-popup-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: var(--arrow-width);
  height: var(--arrow-height);
  aspect-ratio: var(--arrow-ratio);
  padding: 0;
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
  z-index: 99;
}

.i-popup .slide-popup-prev:before,
.i-popup .slide-popup-next:before {
  content: "";
  font-size: 0;
  width: inherit;
  height: inherit;
  aspect-ratio: var(--arrow-ratio);
  display: block;
  background-image: var(--arrow-image);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.i-popup .slide-popup-prev {
  left: var(--arrow-position);
  transform: translate(0, -50%) rotate(180deg);
}

.i-popup .slide-popup-next {
  right: var(--arrow-position);
}

/* slider dots */
.i-popup {
  --dot-position: 25px;
  --dot-width: 8px;
  --dot-height: 8px;
  --dot-gap: 10px;
  --dot-color: #ddd;
  --dot-active-color: var(--color-primary);
}

.i-popup .slide-popup-dots {
  position: absolute;
  bottom: var(--dot-position);
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.i-popup .slide-popup-dots li {
  position: relative;
  display: inline-block;
  width: var(--dot-width);
  height: var(--dot-height);
  margin: 0 calc(var(--dot-gap) / 2);
  padding: 0;
  cursor: pointer;
}

.i-popup .slide-popup-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: inherit;
  height: inherit;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.i-popup .slide-popup-dots li button:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
  border-radius: 50%;
  background-color: var(--dot-color);
}

.i-popup .slide-popup-dots li.slick-active button:before {
  background-color: var(--dot-active-color);
}

/* slide dots number */
.i-popup .slide-popup-dots.num {
  bottom: 20px;
  color: #fff;
  background: rgb(0 0 0 / 60%);
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 26px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.i-popup .slide-popup-dots.num li {
  display: none;
  width: auto;
  height: auto;
  line-height: 1;
}

.i-popup .slide-popup-dots.num li.slick-active {
  display: block;
}