/*======= Product page ========*/

@media (max-width: 992px) {
    .zoomContainer {
      display: none !important;
    }
  }
  .product-section .row {
    margin: 0 -10px;
  }
  
  .product-section .left-section-bg {
    background-color: var(--block_background);
    border-radius: var(--block_radius);
    padding: 20px;
  }
  @media (max-width: 480px) {
    .product-section  .left-section-bg {
      margin-left: -20px;
      margin-right: -20px;
      border-radius: 0;
      padding-top: 0;
    }
  }
  .product-section .image-box {
    width: 580px;
    float: left;
    min-height: 1px;
  }
  @media (max-width: 1200px) {
    .product-section .image-box {
      width: 480px;
    }
  }
  @media (max-width: 991px) {
    .product-section .image-box {
      width: 355px;
    }
  }
  @media (max-width: 769px) {
    .product-section .image-box {
      width: 100%;
    }
  }
  @media (max-width: 580px) {
    .product-section .image-box {
      width: 100%;
    }
  }
  .product-section .no-image {
    width: 100%;
    height: 400px;
    background-color: var(--block_background);
    filter: brightness(90%);
    position: relative;
    border-radius: 10px;
  }
  .product-section .no-image::before {
    transform: translate(-50%, -50%);
    content: "\f03e";
    font-family: "FontAwesome";
    color: var(--secondary_text);
    font-size: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 20%;
  }
 
  @media (max-width: 1200px) {
    .product-section .no-image {
      height: 480px;
    }
  }
  @media (max-width: 992px) {
    .product-section .no-image {
      height: 355px;
    }
  }
  /* @media (max-width: 480px) {
    .product-section .no-image {
      margin-top: 20px;
    }
  } */
  .product-section .ubislider {
    position: relative;
    margin: 0;
    padding: 0;
  }
  .product-section  .ubislider.ecommerce {
    width: 100%;
  }
  .product-section  .ubislider .arrow {
    display: none !important;
  }

  .product-section .gallery-box {
    list-style-type: none;
    padding: 0;
    margin: 5px 0 0;
    text-align: center;
    display: flex;
  }
  .product-section .left-section .image-box .gallery-box li {
    width: 80px;
    min-width: 80px;
    height:80px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: 0;
  }
  .product-section .left-section .image-box .gallery-box li.active {
    transform: none;
  }
  @media (max-width: 991px) {
    .product-section .left-section .image-box .gallery-box li {
      overflow: hidden;
      height: 70px;
      width: 70px!important;
      min-width: 70px;
    }
  }
  .product-section .left-section .image-box .gallery-box  img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  .product-section  .slide-side {
    width: 100%;
    /* display: flex;
    flex-direction: column;
    align-items: center; */
    /* margin-bottom: 20px; */
  }
  @media (max-width: 991px) {
    .product-section .left-section .slide-side {
      height: auto !important;
    }
  }
  @media (max-width: 769px) {
    .product-section .slide-side {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
  }
  .product-section .slide-side .img-box {
    /* width: 329px;
    height: 329px; */
    width: 100%;
    height: 100%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-size: cover;
    background-repeat: no-repeat;
  }
  /* @media (max-width: 991px) {
    .product-section .slide-side .img-box {
      width: 200px;
      height: 200px;
    }
  }
  @media (max-width: 991px) {
    .product-section .slide-side .img-box {
      width: 100%;
      height: 200px;
    }
  } */
  .product-section .slide-side .image-container {
    width: 580px;
    height: 580px;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  @media (max-width: 1200px) {
    .product-section .slide-side .image-container {
      width: 480px;
      height: 480px;
    }
    .arrow-image-parent {
      width: 480px;
      height: 480px;
    }
  }
  @media (max-width: 991px) {
    .product-section .slide-side .image-container {
      width: 355px;
      height: 355px;
    }
    .arrow-image-parent {
      width: 355px;
      height: 355px;
    }
  }
  @media (max-width: 480px) {
    .product-section .slide-side .image-container {
      width: 100vw;
      height: 440px;
      margin-left: -15px;
      margin-right: -15px;
    }
    .arrow-image-parent {
      width: 95vw;
      height: 440px;
    }
  }
  .product-section .slide-side .image-container img {
    border-radius: 10px;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
  }
  @media (max-width: 480px) {
    .product-section .slide-side .image-container img {
      border-radius: 0;
      width: 100%;
      height: auto;
      object-fit: contain;
    }
  }
  .preview-wrap{
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
   .preview-btn{
      font-size: 14px;
      text-decoration: underline;
   }  
  .product-section .content-box {
    width: calc(100% - 621px);
    float: left;
    padding-bottom: 10px;
    margin-left: 30px;
  }
  @media (max-width: 1200px) {
    .product-section .content-box {
      width: calc(100% - 515px);
    }
  }
  @media (max-width: 991px) {
    .product-section .content-box {
      width: calc(100% - 385px);
    }
  }
  @media (max-width: 768px) {
    .product-section .content-box {
      width: 100%;
      margin-left: 0;
      margin-top: 20px;
    }
  }
  .product-section .content-box h1 {
    color: var(--main_text);
    font-size: 22px;
    font-weight: bold;
    padding-right: 10px;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 20px;
  }
  @media (max-width: 480px) {
    .product-section .content-box h1 {
      padding-left: 0;
      padding-right: 0;
    }
  }
  .product-section  .content-box  .rating {
    padding-bottom: 3px;
    float: left;
  }
  @media (max-width: 480px) {
    .product-section .content-box .rating {
      padding-left: 0;
    }
  }
  .product-section .content-box .well {
    text-align: left;
    float: left;
    padding: 0;
    margin-right: 15px;
  }
  .product-section .content-box .well .rating {
    font-size: 18px;
  }
  .product-section .content-box .well .star {
    width: 20px;
    height: 19px;
  }
  .product-section .content-box .comment-count {
    color: var(--main);
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    padding-right: 3px;
    padding-top: 2px;
    vertical-align: 1px;
  }
  .product-section .content-box .sold {
    color: var(--main);
    font-size: 14px;
  }
  .product-section .content-box .sharing-section {
    float: right;
    margin-top: 5px;
  }
 
  .product-section .content-box ul {
    list-style-type: none;
    padding: 10px 0;
    background: var(--block_background);
    margin-right: 20px;
  }
  @media (max-width: 991px) {
    .product-section .content-box ul {
      margin-right: 0;
    }
  }
  .product-section .content-box li {
    padding: 5px 0px;
    vertical-align: middle;
    /* overflow: hidden; */
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
  }
  @media (max-width: 480px) {
    .product-section .content-box li {
      margin: 0;
      padding: 5px 0;
    }
  }
  .product-section .content-box li > span,
  .product-section .content-box li label {
    width: 150px;
    display: table-cell;
    vertical-align: middle;
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    text-align: left;
    padding-right: 15px;
  }
  .product-section .content-box strong {
    display: table-cell;
    vertical-align: middle;
    font-weight: normal;
  }
  /* .product-section .content-box .a2a_dd {
    display: none;
  } */
  .product-section .content-box strong a {
    color: var(--main);
  }
  .product-section .content-box strong a:hover {
    text-decoration: none;
  }
  .product-section .content-box .old-price strong {
    color: var(--secondary_text);
    text-decoration: line-through;
    font-size: 18px;
    font-weight: 400;
  }
  /* .product-section .content-box .price {
    padding: 5px 0 10px 0px;
  } */

  .formats-dropdown{
    border-radius: 20px;
    padding-left: 15px;
    padding-right: 25px;
    background-color: var(--background);
  }
  .formats-dropdown .dropdown .dropdown-menu{
    top: 55px;
    left: 158px;
    min-width: 140px;
  }
  @media screen and (max-width:768px){
    .formats-dropdown .dropdown .dropdown-menu{
      top: 55px;
      left: -15px;
    }
    .formats-dropdown .dropdown.open .dropdown-menu {
      bottom: auto;
    }
    .formats-dropdown .dropdown.open .dropdown-menu::after {
      top: -4px;
      transform: rotateX(0deg);
      right: 15px;
      left: auto;
  }
  .formats-dropdown .dropdown-menu {
    margin-left: 0;
  }
  }
  .formats-dropdown .dropdown .dropdown-menu li a{
    word-break: break-all;
    white-space: break-spaces;
    text-align: left;
  }
  .formats-dropdown .dropdown-menu li a:hover {
   width: 100%;
  }
  .formats-dropdown .dropdown {
   padding: 10px 0;
}
.formats-dropdown .dropdown > span {
  font-size: 14px;
  line-height: normal;
  padding: 10px 0;
}
@media screen and (max-width:991px) and (min-width:756px){
  .formats-dropdown .dropdown > span {
    font-size: 11px;
  }
  .formats-dropdown .dropdown span::after {
    top: 52%;
  }
}

  .formats-varians{
    /* height: 30px; */
    display: flex !important;
    flex-wrap: wrap;
  }
  .formats{
    /* display: flex;
    flex-direction: row; */
    padding: 10px 20px;
    border-radius: var(--input_border_radius);
    background-color: var(--background);
    margin-right: 10px;
    margin-top: 10px;
    position: relative;
    text-transform: uppercase;
  }
  /* strong > .formats {
   height: 30px;
  } */
  @media (max-width: 480px) {
    .product-section .content-box .price {
      padding: 5px 0;
    }
  }
  .product-section .content-box .price strong {
    vertical-align: top;
    font-weight: bold;
    color: var(--main_text);
    vertical-align: middle;
    font-size: 28px;
  }
  
  .product-section .content-box .variants {
    /* padding: 5px 0 10px 0px; */
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  @media(max-width:768px){
    .product-section .content-box .variants{
      padding-left: 0;
      margin-left: 10;
    }
  }
  .product-section .content-box .variants .form-group{
    z-index: 0;
  }
  .product-section .content-box .hiddenVar {
    opacity: 0;
    margin-bottom: -5px;
  }
  .product-section .content-box .variants label {
    float: left;
    line-height: 20px;
    text-align: left;
    /* margin-left: 10px; */
    margin-bottom: 3px;
    width: 100%;
  }
  @media(max-width:768px){
    .product-section .content-box .variants label {
      margin-left: 0px;
    }
  }
  .product-section .content-box .variants select {
    width: calc(100% - 20px);
    margin-left: 5px;
  }
  .product-section .content-box .add-to-cart {
    /* padding-top: 15px;
    padding-bottom: 15px; */
    display: flex;
  }
  .product-section .content-box .add-to-cart span {
    padding-top: 2px;
  }

  .product-section .content-box .add-to-cart .btn i {
    font-size: 15px;
    vertical-align: -2px;
  }
  .product-section .content-box .add-plus {
    user-select: none;
    border-radius: 7px;
    width: 50px;
    display: flex;
    height: 38px;
    line-height: 38px;
    margin-right: 1px;
    vertical-align: top;
    background-color: var(--block_background);
  }
  .product-section .content-box .add-plus input {
    border: 1px solid var(--border);
    width: 40px;
    border: none;
    text-align: center;
    line-height: 34px;
    vertical-align: top;
    font-size: 16px;
    font-weight: bold;
    margin-left: 3px;
    margin-top: -17px;
    background-color: var(--block_background);
  }
  .product-section .content-box .add-plus input:focus-visible{
    outline: none;
  }
  
  .product-section .content-box .add-plus i {
    width: 20px;
    height: 20px;
    padding: 7px 6px 6px 6px;
    background-color: var(--main);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .product-section .content-box .add-plus i:disabled {
    color: var(--secondary_text);
    background-color: var(--background);
  }
 
  .product-section .right-section {
    width: 300px;
    float: left;
    margin-top: 90px;
    margin-left: 15px;
    margin-bottom: 30px;
  }
  @media (max-width: 991px) {
    .product-section .right-section {
      margin-top: 92px;
    }
  }
  @media (max-width: 768px) {
    .product-section .right-section {
      margin-left: 0;
      width: 100%;
      margin-top: 30px;
    }
  }
  @media (max-width: 480px) {
    .product-section .right-section {
      max-height: 433px;
      height: 100%;
    }
  }
 
  .product-section .right-section  a {
    display: block;
    width: 285px;
    height: 285px;
  }
  @media screen and (max-width: 480px) {
    .product-section .right-section  a {
      width: 100%;
      height: auto;
      object-fit: contain;
    }
  }
  .product-section .right-section  img {
    max-width: 100%;
    height: 100%;
    border-radius: var(--block_radius);
  }
  @media (max-width: 768px) {
    .product-section .right-section  img {
      margin-left: auto;
      margin-right: auto;
      display: block;
    }
  }
  @media screen and (max-width: 480px) {
    .product-section .right-section  img {
      margin-left: 0;
      margin-right: 0;
      width: 100%;
      height: auto;
    }
  } 
  .product-section .tabs {
    margin-right: 20px;
  }
  @media (max-width: 991px) {
    .product-section .tabs {
      margin-right: 0;
    }
  }
  .see-product-price {
    padding: 15px;
    font-size: 16px;
    color: var(--main);
  }
  .see-product-price a:hover {
    text-decoration: none;
  }
  .see-product-price a:focus {
    outline: none;
  }
  .SubInner {
    display: flex;
    padding-inline-start: 0;
  }
  @media screen and (max-width: 770px) {
    .SubInner {
      justify-content: center;
    }
  }
  .SubInner li {
    flex-basis: 279px;
  }
  @media screen and (max-width: 1199px) {
    .SubInner li {
      flex-basis: 221px;
    }
  }
  @media screen and (max-width: 991px) {
    .SubInner li {
      flex-basis: 171px;
    }
  }
  @media screen and (max-width: 768px) {
    .SubInner li {
      flex-basis: 48%;
      margin-bottom: 15px !important;
    }
  }
  @media screen and (max-width: 380px) {
    .SubInner li {
      flex-basis: 48%;
    }
  }
  .product-marg {
    justify-content: space-between;
  }
  .product-marg .item-marg {
    margin: 0 0 15px 0!important;
    background-color: var(--block_background) !important;
  }
  @media screen and (max-width: 1200px) {
    .product-marg .item-marg .no-image {
      height: 201px !important;
    }
  }
  @media screen and (max-width: 991px) {
    .product-marg .item-marg .no-image {
      height: 151px !important;
    }
  }
  @media screen and (max-width: 991px) and (min-width:768px){
      .productItem .image-container {
          height: 155px;
        }
    }
  @media screen and (max-width: 767px) {
    .product-marg .item-marg img {
      height: 41vw !important;
    }
    .product-marg .item-marg .no-image {
      height: 41vw !important;
    }
  }
  @media screen and (max-width: 480px) {
    .product-marg .item-marg img {
      height: 39vw !important;
    }
    .product-marg .item-marg .no-image {
      height: 39vw !important;
    }
  }
  @media screen and (max-width: 380px) {
    .product-marg .item-marg {
      margin-right: 3px;
      margin-left: 3px;
    }
  }
  @media screen and (max-width: 767px) {
    .product-marg {
      flex-wrap: wrap;
    }
  }
  .ubiModal {
    position: fixed;
    background-color: var(--white) !important;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10000000;
  }
  .ubiModal .ubi-arrows {
    position: absolute;
    height: calc(100% - 140px);
    margin-top: 20px;
    width: 50px;
    top: 0;
    text-align: center;
    cursor: pointer;
    z-index: 1001;
  }
  @media (max-width: 769px) {
    .ubiModal .ubi-arrows {
      display: none;
    }
  }
  .ubiModal .ubi-arrows:hover i {
    color: var(--main) !important;
  }
  .ubiModal .ubi-arrows i {
    color: var(--main) !important;
    font-size: 35px !important;
    position: absolute;
    left: 50%;
    top: 50%;
  }
  .ubiModal .ubi-arrows.left {
    left: 30px;
  }
  .ubiModal .ubi-arrows.right {
    right: 30px;
  }
  .ubiModal .ubi-main-image {
    height: calc(100% - 140px) !important;
    margin-top: 20px;
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  @media (max-width: 769px) {
    .ubiModal .ubi-main-image {
      height: calc(100% - 240px) !important;
    }
  }
  @media (max-width: 480px) {
    .ubiModal .ubi-main-image {
      height: calc(100% - 300px) !important;
    }
  }
  .ubiModal .ubi-main-image .ubi-main-slide {
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100%;
    position: relative;
    transition: all 0.7s ease-in-out;
  }
  .ubiModal .ubi-main-image .ubi-main-slide li {
    display: block;
    float: left;
    position: relative;
    height: 100%;
  }
  .ubiModal .ubi-main-image .ubi-main-slide li img {
    border-radius: 15px !important;
    max-width: calc(100% - 8px);
    max-height: calc(100% - 8px);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .ubiModal .ubi-thumbs {
    height: 120px;
    text-align: center;
    list-style-type: none;
    margin: 0;
    padding: 20px 0;
  }
  .ubiModal .ubi-thumbs li {
    width: 80px;
    height: 80px;
    position: relative;
    margin-right: 9px;
    margin-bottom: 3px;
    margin-left: 0;
    cursor: pointer;
    display: inline-block;
    background-color: var(--white);
    border-radius: 10px !important;
    border: 1px solid var(--border);
  }
  .ubiModal .ubi-thumbs li img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px !important;
    /* border: 1px solid var(--border); */
  }
  .ubiModal .ubi-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
  }
  .ubiModal .ubi-close i {
    color: var(--main) !important;
    font-size: 20px;
    /* display: none; */
  }
  .ub-prev {
    font-size: 35px;
    width: 20px;
    cursor: pointer;
  }
  .ub-next {
    font-size: 35px;
    width: 20px;
    cursor: pointer;
  }
 .arrow-image-parent {
  position: relative;
 }
 .arrow-parent {
  position: absolute;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  width: 100%;
  top: 50%;
  padding: 0 10px 0 10px;
 }
  @media (max-width: 769px) {
    .ubiModal .ubi-close i {
      display: block;
    }
  }
  .productItem .discount{
    top: 15px;
    left: 15px;
  }
  .productItem a {
    height: 50px;
  }
 .slide-box h1{
   font-size: 20px;
 }

 @media (max-width: 450px) {
  .arrow-parent {
    padding: 0;
   }
 }