.cp {
  cursor: pointer;
}

/** 
  ========== Media handling ========
*/
.sf-media-container {
  display: flex;
  flex-direction: row;
  border: 1px solid rgb(238, 235, 235);
  padding: 3px;
  border-radius: 5px;
  margin-bottom: 8px;
}
.sf-media-container .main-view {
  /*? Main media container*/
  width: 100%;
  border-radius: 10px;
  padding: 8px;
  order: 2;
}
.sf-media-container .media_view_media,
.sf-media-container-single .media_view_media {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* z-index: 999; */
}

.sf-media-container .media_view_media img,
.sf-media-container .media_view_media video,
.sf-media-container-single .media_view_media img,
.sf-media-container-single .media_view_media video {
  max-height: 100%;
  max-width: 100%;
}
.sf-media-container .all-items .media_view_media  img,
.sf-media-container .all-items .media_view_media  video{
  max-height: 100% !important;
  max-width: 100%;
}

.sf-media-container .all-items {
  /*? All media thumbnails */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-wrap: no-wrap;
  order: 1;
  position: relative;
}

.sf-media-container .all-items div {
  cursor: pointer;
  width: 76px;
  height: 76px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.sf-media-container .all-items div iframe {
  z-index: 0 !important;
}
.sf-media-container .sf-video-mask,
.sf-media-container-single .sf-video-mask {
  top: 0;
  left: 0;
  height: 100% !important;
  width: 100% !important;
  position: absolute !important;
  background-color: rgba(2, 81, 160, 0.075);
  /* z-index: 999; */
}
.sf-media-container .sf-video-mask img,
.sf-media-container-single .sf-video-mask img {
  max-height: 60% !important;
  max-width: 60% !important;
  opacity: 0.6;
}
.sf-media-container .sf-embed-video,
.sf-media-container-single .sf-embed-video {
  padding-bottom: calc(var(--aspect-ratio, 0.5625) * 100%);
  position: relative;
  height: 0;
  width: 100%;
}
.sf-media-container .sf-embed-video iframe,
.sf-media-container-single .sf-embed-video iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}
.sf-media-container [sf-active-media] {
  border: 3px solid rgba(14, 93, 172, 0.918) !important;
  border-radius: 10px;
}
.sf-media-container .flex-center,
.sf-media-container-single .flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sf-media-container .scroll-btn.scroll-btn-top {
  top: 0px;
  border-radius: 5px 5px 1px 1px;
}
.sf-media-container .scroll-btn.scroll-btn-bottom {
  bottom: 0px;
  right: 0px;
  border-radius: 1px 1px 5px 5px;
}
.sf-media-container .scroll-btn {
  position: sticky !important;
  width: 80px !important;
  background-color: blueviolet;
  z-index: 1000;
  text-align: center;
  background-color: rgb(219, 189, 132);
  padding: 4;
  cursor: pointer;
  opacity: 1;
}

@media ( min-width:500px ) {
  .sf-media-container .all-items div {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 5px;
    padding: 5px;
  }
  
}

@media (max-width: 700px) {
  /*Mobile device handling*/
  .sf-media-container {
    display: flex;
    flex-direction: column;
  }
  .sf-media-container .main-view {
    order: 1;
  }
  .sf-media-container .all-items {
    order: 2;
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow: auto;
    padding-bottom: 7px;
    margin-top: 9px;
  }
  .sf-media-container .scroll-btn {
    display: none;
    opacity: 0;
  }
}
@media (min-width: 699px) {
  .sf-media-container .all-items {
    overflow: auto;
    min-width: 100px;
  }
  .sf-media-container .all-items::-webkit-scrollbar {
    display: none;
  }
}
/** 
  ========== Media handling ends here========
*/

/**
  ========== Dialog handling starts here ========
*/
.sf-modal {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9999;
  background-color: rgba(16, 32, 61, 0.555);
  display: flex;
  justify-content: center;
  padding-top: -20px;
  position: fixed;
  transition: padding-top 0.4s;
}
.sf-modal-active {
  padding-top: 30px;
}
.sf-modal-body {
  max-width: fit-content;
  height: fit-content;
  position: relative;
  padding: 5px;
  padding-top: 16px;
  padding-bottom: 14px;
  background-color: rgb(5, 7, 22);
  color: white;
  background-color: #157fdb;
  border-radius: 8px;
  border-top: 3px solid white;
}
.sf-modal-body.sf-alert-danger {
  background-color: crimson;
}
.sf-modal-body.sf-alert-success {
  background-color: #008a57;
}
.sf-modal-body.sf-alert-warning {
  background-color: rgb(230, 151, 5);
}
.sf-modal-body.sf-alert-dark {
  background-color: #282a35;
}
.sf-modal-content {
  padding: 2px 15px 2px 5px;
}
.sf-close-dialog {
  color: rgb(180, 179, 179);
  font-size: 22px;
  padding: 5px;
  right: 0px;
  top: -12px;
  position: absolute;
}
.sf-confirm-container {
  display: flex;
  flex-direction: row-reverse;
}
.sf-confirm-container {
  padding-top: 8px;
}
.sf-confirm-container .sf-confirm {
  border: 0px;
  background-color: rgb(9, 113, 248);
  color: white;
  border-radius: 5px;
  padding: 4px 8px 4px 8px;
}
.sf-confirm-container .sf-cancel {
  border: 0px;
  background-color: rgb(199, 57, 85);
  color: white;
  border-radius: 5px;
  padding: 4px 8px 4px 8px;
}
/** 
  ========== Dialog handling ends here ===========
*/
/**
* ========== Page Loader starts here ===========
*/
.sf-page-loader-container {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  position: fixed;
  background-color: rgba(255, 255, 255, 0.918);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}
.sf-page-loader-container img {
  width: 10%;
}
/**
* ========== Page Loader ends here ==========
*/

/** 
* ====variant styling starts here====
*/
.sf-variant-container-frontend {
  padding-top: 12px;
}
.sf-variant-container-frontend .variant-index {
  font-weight: 600;
}
.sf-variant-container-frontend .each {
  padding-bottom: 6px;
}
.sf-variant-advanced {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.sf-variant-advanced .color {
  cursor: pointer;
  height: 35px;
  width: 35px;
  border: 6px solid white;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 5px 0.2px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 5px 0.2px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 5px 0.2px rgba(0, 0, 0, 0.75);
  margin-right: 6px;
  margin-bottom: 6px;
}
.sf-variant-advanced .color.active {
  -webkit-box-shadow: 0px 0px 5px 0.5px rgba(86, 52, 219, 1);
  -moz-box-shadow: 0px 0px 5px 0.5px rgba(86, 52, 219, 1);
  box-shadow: 0px 0px 5px 0.5px rgba(86, 52, 219, 1);
}
.sf-variant-advanced .text {
  cursor: pointer;
  height: 35px;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 80px;
  border: 1px solid #b3ccff;
  border-radius: 5px;
  margin-right: 6px;
  margin-bottom: 6px;
  padding: 0 12px;
}
.sf-variant-advanced .text.active {
  border: 2px solid #83aaf7;
}
/**
* ====Variant styling ends here===
*/

/**
* =========Single product product description starts=============
*/
[is="sf-product-detail-read-more"] .sf-product-detail-read-more-main-content {
  overflow-y: hidden;
}
[is="sf-product-detail-read-more"] .sf-product-detail-read-more {
  left: 0px;
  bottom: 0px;
  position: absolute;
  padding: 10px 4px;
  width: 100%;
  cursor: pointer;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8802871490393032) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  color: #007acc;
  font-weight: 600;
}
/**
* =========Single product product description ends here=============
*/
/** 
* =========Mini cart starts here
*/
#cart_designer .sf-cart-badge:after {
  content: attr(value);
  font-size: 12px;
  color: #fff;
  background: red;
  border-radius: 50%;
  padding: 4px 8px;
  position: relative;
  left: -8px;
  top: -17px;
  font-weight: 800;
}
.sfcart-button--light {
  background: #fff;
  color: #f00;
  font-size: 25px !important;
}

.sfcart_designer {
  background: #fff;
  height: 100%;
  width: 400px;
  float: right;
  top: 0;
  position: fixed;
  right: 0;
  box-shadow: -2px 0 4px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 250ms ease-in-out;
  z-index: 20;
}

body.open .sfcart_designer {
  transform: translate(0, 0);
}

.sfcart_header {
  box-sizing: border-box;
  position: absolute;
  background: #fff;
  width: 100%;
  padding: 15px 15px;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.sfcart_header .sfcart_text {
  float: right;
}

.sfcart_title {
  font-size: 20px;
  line-height: 40px;
  margin: 0;
  float: left;
}
.sfcart-media {
  width: 80px;
  height: 80px;
}
.sfcart-media img {
  max-width: 100%;
  max-height: 100%;
}
.sfcart_products {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 70px 0;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
}
.sfcart_products .sfcart_cart_product-template {
  margin-bottom: 40px;
}
.sfcart_products article {
  padding: 15px;
  border-bottom: 1px dotted #ccc;
}
.sfcart_products article h1 {
  font-size: 16px;
  line-height: 20px;
  margin: 0;
}
.sfcart_products article p {
  font-size: 14px;
  margin: 0;
}
.sfcart_products article p a {
  color: #f00;
}

/* .sfcart_product {
  display: none;
} */

.sfcart_empty {
  padding: 30px 15px;
  margin: 0;
  font-style: italic;
  text-align: center;
}
.sfcart_empty.hide {
  display: none;
}

.sfcart_footer {
  box-sizing: border-box;
  position: absolute;
  background: #fff;
  width: 100%;
  padding: 6px;
  left: 0;
  bottom: 0;
  z-index: 2;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.sfcart_product_details {
  width: 74%;
}

.sfcart_text {
  margin: 0;
}
.sfcart_text .sfcart-checkout {
  display: inline-block;
  padding: 11px;
  background-color: #000;
  color: #fff;
}
.sfcart_text .button {
  padding: 10px 15px;
}

.sfcart_lightbox {
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  opacity: 0;
  transition: opacity 250ms ease-in-out, width 0ms ease-in-out 250ms;
}
.sfcart_lightbox.sfcart_lightbox_open {
  width: 100%;
  opacity: 0.8;
  transition: opacity 250ms ease-in-out, width 0ms ease-in-out;
}
.sfcart_designer.sfcart_designer_open {
  transform: translate(0, 0) !important;
}
.sf_cart_shortcut_btn.sf_cart_shake {
  -webkit-animation: sf_cart_shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97)
    both;
  animation: sf_cart_shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  perspective: 1000px;
}

@-webkit-keyframes sf_cart_shake {
  10%,
  90% {
    transform: translate3d(-3px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(4px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-6px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(5px, 0, 0);
  }
}

@keyframes sf_cart_shake {
  10%,
  90% {
    transform: translate3d(-3px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(4px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-6px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(5px, 0, 0);
  }
}
/** 
* =========Mini cart ends here
*/
