/*
Theme Name: prestigebeds
Theme URI: http://prestigebeds.co.uk/
Author: prestigebeds
Author URI: https://www.prestigebeds.co.uk/
Description: Custom theme for prestigebeds
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: prestigebeds
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/



body.SideCart-open {
  overflow-y: hidden;
}

.side-cart {
  position: fixed;
  background: #f7f8f9;
  width: 710px;
  max-width: 90%;
  height: 100%;
  top: 0;
  right: -16px;
  box-shadow: -2px 0 4px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: translate(750px, 0);
  transition: transform 250ms ease-in-out;
  z-index: 20;
}

body.SideCart-open .side-cart {
  transform: translate(0, 0);
  overflow-x: hidden;
  overflow-y: auto;
  text-align: center;
  padding-top: 25px;
  right: 0;
}


.lightbox {
  position: fixed;
  background: #000;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  opacity: 0;
  transition: opacity $speed ease-in-out, width 0ms ease-in-out $speed;
}

body.SideCart-open .lightbox {
  width: 100%;
  opacity: 0.8;
  transition: opacity $speed ease-in-out, width 0ms ease-in-out;
}

.sticky-sidecart a.button-bottom {
  background-color: #16212f;
  color: #ffffff;
  width: calc(100% - 120px);
  display: block;
  font-size: 18px;
  font-family: 'Gilroy';
  padding: 12px 20px;
  margin: 0 auto;
  border-radius: 5px;
  text-align: center;

}

.sticky-sidecart .more-upsells a {
  border-radius: 4px;
  border: 1px solid #b99e5d;
  display: block;
  padding: 10px 20px;
  background-image: url(/wp-content/themes/prestigebeds/assets/images/btn-arrow-black.png);
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: 97% center;
  font-size: 18px;
  color: #000;
  margin-top: 10px;
 
}
.sticky-sidecart .more-upsells a:hover {
  background-color: #fff;
}
.sticky-sidecart .upsells-heading p:empty {
  display: none;
}
.sticky-sidecart .upsells-heading p {
  font-size: 31px;
  font-family: 'Gilroy';
  color: #16212f;
}
.sticky-sidecart a.button-bottom:hover {
  background-color: #b99e5d;
  color: #fff;

}
.sticky-sidecart a.button-bottom {
  /* position: absolute;
  bottom: 15px; */
  background-image: url(/wp-content/themes/prestigebeds/assets/images/btn-arrow-white.png);
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: 97% center;
}
.sticky-sidecart ul.woocommerce-mini-cart,.upsells ul {
  list-style: none;
}
.sticky-sidecart ul.woocommerce-mini-cart{
  padding: 0 60px;
  margin: 0;
}
.sticky-sidecart .upsells {
  margin: 0 -60px;
  background: #e8e8e8;
  padding: 0 60px;
  margin-top: 40px !important;
  padding-bottom: 15px;
}

.sticky-sidecart .upsells ul {
  padding: 20px 0px 0px;
}
.sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item {
  display: flex;
  margin: 10px 0px 10px;
  background: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  position: relative;
}
.sticky-sidecart .empty-cart-wrap h2 {
  font-size: 30px;
  font-weight: 800;
}

.sticky-sidecart p.woocommerce-mini-cart__buttons.buttons {
  margin: 0px 0px 0px;
  padding: 10px 0px 40px;
  background: #e8e8e8;
}

.sticky-sidecart .empty-cart-wrap {
  height: 100%;
}
.sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item>a.remove {
  position: absolute;
  right: -15px;
  top: -12px;
  background: #000;
  width: 30px;
  border-radius: 50%;
  height: 30px;
  line-height: 1;
  color: #fff;
  font-size: 28px;
  display: none;
}
.sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item:hover>a.remove {
  display: block;
}

.sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-img {
  width: 165px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-img img {
  position: absolute;
  left: 50%;
  width: 100%;
  top: 50%;
  object-fit: cover;
  transform: translate(-50% , -50%);
  MIN-HEIGHT: 100%;
}
.sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-right {
  width: calc(100% - 165px);
  text-align: left;
  padding-left: 25px;
}
.sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-right .brand_logo img {
  max-height: 25px;
}
.sticky-sidecart .product-name a {
  font-size: 18px;
  color: #010000;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  min-height: 45px;
  line-height: 1.2;
}
.sticky-sidecart .product-price .mainPriceStyle {
  border: 1px solid #e3e7e7;
  padding: 5px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 54%;
  min-height: 50px;
}
.sticky-sidecart span.total-save {
  background: #b99e5d;
  color: #fff;
  border-radius: 2px;
  padding: 0px 5px;
  display: inline-block;
  font-size: 15px;
  
}
.sticky-sidecart span.total-save span {
  padding-right: 5px;
}
.sticky-sidecart .priceCol.regular-price {
  text-align: right;
  color: #b3b3b3;
  font-size: 15px;
  line-height: 1;
}
.sticky-sidecart span.sale_price {
  font-size: 22px;
  color: #b99e5d;
  line-height: 1;
  font-weight: 600;
}
.sticky-sidecart span.sale_price span {
  color: #b3b3b3;
  font-size: 15px;
  display: block;
  line-height: 1;
  font-weight: 400;
}
.sticky-sidecart .upsells .u p:empty {
  display: none;
}

.sticky-sidecart .upsells .u p {
  font-size: 32px;
  font-family: 'Gilroy';
  padding-top: 20px;
  margin-bottom: 15px;
}
.sticky-sidecart h2.cart-title {
  font-size: 30px;
  font-family: 'Gilroy';
  background-color: #16212f;
  color: #ffffff;
  display: block;
  border-radius: 6px;
  padding: 13px 15px;
}
.sticky-sidecart h2.cart-title img {
  width: 34px;
  vertical-align: sub;
  margin-right: 10px;
}
.sticky-sidecart .close-cart a {
  font-size: 0px;
  font-weight: 900;
  top: 10px;
  left: 20px;
  z-index: 5;
  color: #000;
}

.sticky-sidecart .close-cart a:before,.sticky-sidecart .close-cart a:after {
  content: "";
  width: 25px;
  left: 12px;
  height: 2px;
  position: absolute;
  background: #000;
  transform-origin: center;
  top: 35px;
}

.sticky-sidecart .close-cart a:after {
  transform: rotate(45deg);
}

.sticky-sidecart .close-cart a:before {
  transform: rotate(-45deg);
}
.sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-right .product-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.sticky-sidecart .visit-product a {
  font-size: 14px;
  line-height: 19px;
  color: #ffffff;
  font-weight: 300;
  display: block;
  text-align: center;
  padding: 15px 10px;
  font-family: "Gilroy";
  border-radius: 4px;
  background: #16212f;
  margin-top: 0;
}
.sticky-sidecart .visit-product a:hover {
  background-color: #b99e5d;
}
.sticky-sidecart .visit-product {
  width: calc(46% - 10px);
}

.sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-right .product-price>div {
  height: 100%;
}
.sticky-sidecart .priceCol.sale-price {
  line-height: 1;
}

.sticky-sidecart .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger{
  z-index: 0 !important;
}
.sticky-sidecart .empty-content p.woocommerce-mini-cart__buttons.buttons {
  background: none !important;
  margin: 0 !important;
}
.sidecart-loader {
  background: #fff;
  border: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 555;
  height: 100vh;
  box-shadow: none;
  display: none;
  width: 710px;
  right: 0%;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  padding: 0;
}
.loader-image {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
}
.sidecart-loader img {
  width: 100px;
  height: 100px;
}
.woocommerce-password-strength.short {
  text-align: left;
  font-size: 14px;
}
.SideCart-loader-active .sidecart-loader:before {
  content: "";
  width: 400%;
  height: 100vh;
  position:fixed;
  background: #000;
  opacity: 0.8;
  top:0;
  right: 100%;

}

@media (max-width: 1600px) {
  .side-cart {
    width: 580px;
  }
  .sidecart-loader {
    width: 580px;
  }
  .sticky-sidecart ul.woocommerce-mini-cart {
      padding: 0 30px;
  }
  .sticky-sidecart a.button-bottom {
    width: calc(100% - 60px);
  }
  .sticky-sidecart .upsells {
    margin: 0 -30px;
    padding: 0 30px;
    margin-top: 30px !important;
    padding-bottom: 15px;
  }
  .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-right {
    padding-left: 10px;
  }
  .sticky-sidecart .product-name a {
    font-size: 16px;
    min-height: 34px;
  }
  .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item {
    padding: 10px;
  }
  .sticky-sidecart span.sale_price span,.sticky-sidecart .priceCol.regular-price,.sticky-sidecart span.total-save {
    font-size: 13px;
  }
  .sticky-sidecart span.sale_price {
    font-size: 20px;
  }
  .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-img {
    width: 155px;
  }
  .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-right {
    width: calc(100% - 155px);
  }
  .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item>a.remove {
    right: -10px;
    width: 25px;
    height: 25px;
    font-size: 25px;
  }
  .sticky-sidecart .upsells .u p {
    font-size: 25px;
  }
  .sticky-sidecart h2.cart-title,.sticky-sidecart .upsells-heading p {
    font-size: 23px;
  }
}

@media (max-width: 991px) {
  .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item>a.remove{
    display: block;
    top: -5px;
  }
}
@media (max-width: 768px) {
  .side-cart {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 767.98px) {

  .sidecart-loader {
    width: 100%;
  }
  .sticky-sidecart .product-name a {
    font-size: 16px;
    min-height: 25px;
  }

  .sticky-sidecart ul.woocommerce-mini-cart {
      padding: 0 15px;
  }
  .sticky-sidecart h2.cart-title,.sticky-sidecart .upsells-heading p {
    font-size: 16px;
  }
  .sticky-sidecart h2.cart-title img {
    width: 25px;
    margin-right: 7px;
  }
  .sticky-sidecart h2.cart-title,.sticky-sidecart .upsells-heading p {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .sticky-sidecart a.button-bottom {
    width: calc(100% - 30px);
  }
  .sticky-sidecart .more-upsells a {
    padding: 6px 20px;
    font-size: 15px;
  }
  .sticky-sidecart .upsells {
    padding-bottom: 10px;
    margin-top: 20px !important;
  }
  .sticky-sidecart .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item>a.remove {
    right: -7px;
    width: 17px;
    height: 17px;
    font-size: 17px;
    top: -7px;
  }
  .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item {
    padding: 7px;
  }
  .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-img {
    width: 33%;
    MIN-HEIGHT: 100px;
  }
  .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-right {
    width: calc(100% - 33%);
  }
  .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-right {
    padding-left: 7px;
  }
  .sticky-sidecart .visit-product a {
    font-size: 15px;
    line-height: 11px;
    padding: 15px 5px;
  }
  .sticky-sidecart span.sale_price span, .sticky-sidecart .priceCol.regular-price, .sticky-sidecart span.total-save {
    font-size: 12px;
  }

  .sticky-sidecart .visit-product {
    width: calc(46% - 5px);
  }
  .sticky-sidecart .product-price .mainPriceStyle {
    padding: 5px 5px;
    min-height: 41px;
  }
  .sticky-sidecart span.sale_price {
    font-size: 16px;
  }

  .sticky-sidecart span.total-save {
    padding: 8px 5px;
  }
  .sticky-sidecart .regular-save-price {
    line-height: 1;
  }
  .sticky-sidecart .priceCol.sale-price,.priceCol.saved-price {
    line-height: 1;
  }
  .sticky-sidecart .upsells ul {
    padding: 10px 0px 0px;
  }
  .sticky-sidecart a.button-bottom {
    font-size: 16px;
  }
  .sticky-sidecart span.total-save span {
    padding-right: 2px;
  }
}
@media (max-width: 576.98px) {
  .sticky-sidecart .product-name a {
    font-size: 14px;
  }
  .sticky-sidecart span.sale_price span, .sticky-sidecart .priceCol.regular-price, .sticky-sidecart span.total-save {
    font-size: 10px;
  } 
  .sticky-sidecart .visit-product a {
    font-size: 13px;
  }
}
@media (max-width: 450px){

  /** CSS Added for Side Cart Basket on 28 Jan 2022 **/
  

  .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-right .product-price {
      flex-wrap: wrap;
  }

  .sticky-sidecart li.woocommerce-mini-cart-item.mini_cart_item .product-right .product-price>div {
      width: 100%;
  }

  /** CSS Added for Side Cart Basket on 28 Jan 2022 ends here **/





  .sticky-sidecart ul.woocommerce-mini-cart {
      padding: 0 10px;
  }
  .sticky-sidecart .product-price .mainPriceStyle {
    min-height: 32px;
  }
  .sticky-sidecart .visit-product a {
    padding: 10px 5px;
  }
  .sticky-sidecart .product-name a {
    MARGIN-BOTTOM: 5PX;
  }
  .sticky-sidecart span.total-save span {
    padding-right: 2px;
  }
  .sticky-sidecart .product-name a {
    font-size: 12px;
    min-height: 25px;
  }
  .sticky-sidecart .visit-product a {
    font-size: 10px;
  }
  .sticky-sidecart span.sale_price span, .sticky-sidecart .priceCol.regular-price, .sticky-sidecart span.total-save {
    font-size: 8px;
  }
  .sticky-sidecart span.sale_price {
    font-size: 12px;
  }
  .sticky-sidecart a.button-bottom {
    width: calc(100% - 20px);
  }
}

/**************18-08-2021************/
 


.upsells.upsells-not-available {
  background: none;
  margin: 0 !important;
  padding: 0;
}


.woocommerce .blockUI.blockOverlay:before,.woocommerce .loader:before {
    height: 1em;
    width: 1em;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -.5em;
    margin-top: -.5em;
    content: '';
    -webkit-animation: spin 1s ease-in-out infinite;
    animation: spin 1s ease-in-out infinite;
    background-size: cover;
    line-height: 1;
    text-align: center;
    font-size: 2em;
    color: rgba(0,0,0,.75);
    background: url('/wp-content/plugins/woocommerce/assets/images/icons/loader.svg') center center;
}

.close-cart {
    width: 45px;
    height: 35px;
}