.custom-page-content h1,
.custom-page-content h2,
.custom-page-content h3,
.custom-page-content h4,
.custom-page-content h5,
.custom-page-content h6 {
  margin-bottom: 14px;
}

.custom-page-content p {
  line-height: 24px;
  color: var(--color-gray);
}

.custom-page-content ul,
.custom-page-content ol {
  overflow: hidden;
}

.ltr .custom-page-content ul,
.ltr .custom-page-content ol {
  padding-left: 16px;
}

.rtl .custom-page-content ul,
.rtl .custom-page-content ol {
  padding-right: 16px;
}

.custom-page-content ul li,
.custom-page-content ol li {
  margin-bottom: 9px;
  color: var(--color-gray);
}

.custom-page-content b,
.custom-page-content strong,
.custom-page-content em {
  font-weight: var(--font-medium);
}

.custom-page-content a {
  color: var(--color-primary);
}

.custom-page-content a:hover {
  color: var(--color-primary-hover);
}

.custom-page-content img {
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.custom-page-content iframe {
  border: none;
  max-width: 100%;
}

.custom-page-content th {
  font-weight: var(--font-medium);
}

.ltr .custom-page-content th {
  text-align: left !important;
}

.rtl .custom-page-content th {
  text-align: right !important;
}

.custom-page-content td {
  vertical-align: top;
}

.ltr .custom-page-content td {
  text-align: right;
}

.rtl .custom-page-content td {
  text-align: left;
}

.custom-page-wrap,
.description {
  padding-top: 10px;
}

@media screen and (max-width: 991px) {
  .description {
    padding-top: 25px;
  }
}

@media screen and (max-width: 767px) {
  .custom-page-content img {
    width: 100%;
  }
}

.product-gallery {
  width: 550px;
  min-width: 550px;
  top: 90px;
  position: sticky !important;
  z-index: 1;
}

.ltr .product-gallery {
  padding-right: 15px;
}

.rtl .product-gallery {
  padding-left: 15px;
}

.product-gallery-preview-wrap {
  margin-bottom: 12px;
  border: 1px solid var(--color-gray-lite);
  border-radius: var(--radius-default);
}

.product-gallery-preview-wrap.visible-variation-image .product-gallery-preview {
  opacity: 0;
  visibility: hidden;
}

.product-gallery-preview-wrap .variation-image {
  position: absolute;
  top: 50%;
  max-height: 100%;
  max-width: 100%;
  z-index: 1;
}

.ltr .product-gallery-preview-wrap .variation-image {
  left: 50%;
  transform: translate(-50%, -50%);
}

.rtl .product-gallery-preview-wrap .variation-image {
  right: 50%;
  transform: translate(50%, -50%);
}

.product-gallery-preview {
  transition: var(--transition-150);
}

.product-gallery-preview .swiper-button-next,
.product-gallery-preview .swiper-button-prev {
  transition: var(--transition-150);
  height: 30px;
  width: 30px;
  background: var(--color-primary);
  border-radius: 50%;
  top: 50%;
  bottom: 0;
  transform: translateY(-50%);
  margin: 0;
}

.ltr .product-gallery-preview .swiper-button-next,
.ltr .product-gallery-preview .swiper-button-prev {
  left: 15px;
}

.rtl .product-gallery-preview .swiper-button-next,
.rtl .product-gallery-preview .swiper-button-prev {
  right: 15px;
}

.product-gallery-preview .swiper-button-next::after,
.product-gallery-preview .swiper-button-prev::after {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-white);
}

.ltr .product-gallery-preview .swiper-button-next::after,
.ltr .product-gallery-preview .swiper-button-prev::after {
  padding-right: 2px;
}

.rtl .product-gallery-preview .swiper-button-next::after,
.rtl .product-gallery-preview .swiper-button-prev::after {
  padding-left: 2px;
}

.ltr .product-gallery-preview .swiper-button-next {
  left: unset;
  right: 15px;
}

.rtl .product-gallery-preview .swiper-button-next {
  right: unset;
  left: 15px;
}

.ltr .product-gallery-preview .swiper-button-next::after {
  padding-right: unset;
  padding-left: 2px;
}

.rtl .product-gallery-preview .swiper-button-next::after {
  padding-left: unset;
  padding-right: 2px;
}

.product-gallery-preview .gallery-preview-slide {
  position: relative;
}

.product-gallery-preview .gallery-preview-item {
  position: relative;
  display: flex;
  width: 100%;
  padding-bottom: 100%;
  background: var(--color-white);
  transition: none;
  cursor: crosshair;
}

.product-gallery-preview .gallery-preview-item > img {
  position: absolute;
  top: 50%;
  max-height: 100%;
  max-width: 100%;
}

.ltr .product-gallery-preview .gallery-preview-item > img {
  left: 50%;
  transform: translate(-50%, -50%);
}

.rtl .product-gallery-preview .gallery-preview-item > img {
  right: 50%;
  transform: translate(50%, -50%);
}

.product-gallery-preview .gallery-preview-item .image-placeholder {
  width: 130px;
}

.product-gallery-preview .gallery-view-icon {
  position: absolute;
  top: 15px;
  height: 30px;
  width: 30px;
  display: none;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--radius-full);
  z-index: 1;
  transition: none;
  cursor: pointer;
}

.ltr .product-gallery-preview .gallery-view-icon {
  right: 15px;
  transform: rotateY(180deg);
}

.rtl .product-gallery-preview .gallery-view-icon {
  left: 15px;
  transform: rotateY(-180deg);
}

.product-gallery-preview .gallery-view-icon > i {
  font-size: 16px;
  transition: none;
}

.product-gallery-thumbnail:not(.swiper-initialized) {
  margin-right: -5px;
  margin-left: -5px;
}

.product-gallery-thumbnail:not(.swiper-initialized) .swiper-slide {
  max-width: calc(14.285% - 10px);
  margin-right: 5px !important;
  margin-left: 5px;
}

.product-gallery-thumbnail .swiper-slide {
  height: 100%;
}

.ltr .product-gallery-thumbnail .swiper-slide {
  margin-right: 0;
}

.rtl .product-gallery-thumbnail .swiper-slide {
  margin-left: 0;
}

.product-gallery-thumbnail .swiper-button-next,
.product-gallery-thumbnail .swiper-button-prev {
  transition: var(--transition-150);
  height: 22px;
  width: 22px;
  background: var(--color-primary);
  border-radius: 50%;
  top: 50%;
  bottom: 0;
  transform: translateY(-50%);
  margin: 0;
}

.ltr .product-gallery-thumbnail .swiper-button-next,
.ltr .product-gallery-thumbnail .swiper-button-prev {
  left: 10px;
}

.rtl .product-gallery-thumbnail .swiper-button-next,
.rtl .product-gallery-thumbnail .swiper-button-prev {
  right: 10px;
}

.product-gallery-thumbnail .swiper-button-next::after,
.product-gallery-thumbnail .swiper-button-prev::after {
  font-size: 8px;
  font-weight: 500;
  color: var(--color-white);
}

.ltr .product-gallery-thumbnail .swiper-button-next::after,
.ltr .product-gallery-thumbnail .swiper-button-prev::after {
  padding-right: 2px;
}

.rtl .product-gallery-thumbnail .swiper-button-next::after,
.rtl .product-gallery-thumbnail .swiper-button-prev::after {
  padding-left: 2px;
}

.ltr .product-gallery-thumbnail .swiper-button-next {
  left: unset;
  right: 10px;
}

.rtl .product-gallery-thumbnail .swiper-button-next {
  right: unset;
  left: 10px;
}

.ltr .product-gallery-thumbnail .swiper-button-next::after {
  padding-right: unset;
  padding-left: 2px;
}

.rtl .product-gallery-thumbnail .swiper-button-next::after {
  padding-left: unset;
  padding-right: 2px;
}

.product-gallery-thumbnail .swiper-slide-active:only-child .gallery-thumbnail-item {
  border-color: var(--color-primary);
}

.product-gallery-thumbnail .swiper-slide-thumb-active .gallery-thumbnail-item {
  border-color: var(--color-primary);
}

.product-gallery-thumbnail .gallery-thumbnail-item {
  position: relative;
  padding-bottom: 100%;
  border: 1px solid var(--color-gray-lite);
  border-radius: var(--radius-default);
  overflow: hidden;
  transition: var(--transition-150);
  cursor: pointer;
}

.product-gallery-thumbnail .gallery-thumbnail-item.active {
  border-color: var(--color-primary);
}

.product-gallery-thumbnail .gallery-thumbnail-item img {
  position: absolute;
  top: 50%;
  max-height: 100%;
  max-width: 100%;
}

.ltr .product-gallery-thumbnail .gallery-thumbnail-item img {
  left: 50%;
  transform: translate(-50%, -50%);
}

.rtl .product-gallery-thumbnail .gallery-thumbnail-item img {
  right: 50%;
  transform: translate(50%, -50%);
}

.product-gallery-thumbnail .gallery-thumbnail-item .image-placeholder {
  max-height: 60%;
  max-width: 60%;
}

@media screen and (max-width: 1600px) {
  .product-gallery-thumbnail:not(.swiper-initialized) .swiper-slide {
    max-width: calc(16.66% - 10px);
  }

  .product-gallery {
    width: 500px;
    min-width: 500px;
  }
}

@media screen and (max-width: 1199px) {
  .product-gallery {
    width: 430px;
    min-width: 430px;
  }
}

@media screen and (max-width: 991px) {
  .product-gallery-thumbnail:not(.swiper-initialized) .swiper-slide {
    max-width: calc(14.285% - 10px);
  }

  .product-gallery {
    width: 578px;
    min-width: 578px;
    position: unset !important;
    z-index: unset;
  }

  .ltr .product-gallery {
    padding-right: 15px;
  }

  .rtl .product-gallery {
    padding-left: 15px;
  }

  .product-gallery-preview .gallery-view-icon {
    display: flex;
  }
}

@media screen and (max-width: 600px) {
  .product-gallery {
    width: 100%;
    min-width: 100%;
  }

  .ltr .product-gallery {
    padding-right: 0;
  }

  .rtl .product-gallery {
    padding-left: 0;
  }
}

@media screen and (max-width: 576px) {
  .product-gallery-thumbnail:not(.swiper-initialized) .swiper-slide {
    max-width: calc(16.66% - 10px);
  }

  .product-gallery-preview-wrap {
    border: unset;
  }

  .product-gallery-preview .gallery-view-icon {
    top: 0;
  }

  .ltr .product-gallery-preview .gallery-view-icon {
    right: 0;
  }

  .rtl .product-gallery-preview .gallery-view-icon {
    left: 0;
  }
}

@media screen and (max-width: 450px) {
  .product-gallery-thumbnail:not(.swiper-initialized) .swiper-slide {
    max-width: calc(25% - 10px);
  }
}