/* -------------------------------------------------------------------
   CART WIDGET
------------------------------------------------------------------- */
body {
   position: relative;
}
body::before {
   content: "";
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.65);
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.5s ease, visibility 0.5s ease;
   z-index: 1000;
   pointer-events: none;
}

body.cart-widget-open::before {
   content: "";
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.65);
   opacity: 1;
   visibility: visible;
   transition: opacity 0.5s ease, visibility 0.5s ease;
   z-index: 1000;
   pointer-events: all;
}
/* .cart-widget-open {
    position: relative;
    overflow: hidden;
}
.cart-widget-open::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    transition: background-color 0.7s ease;
    z-index: 1000;
}*/

.cart-widget {
    padding: 0 30px;
    width: 400px;
    height: calc(100% - 85px);
    position: fixed;
    right: 0;
	/* top: 0; */
	bottom: 0;
    background-color: #ffffff;
/*  border-top-left-radius: 6px;
    border-bottom-left-radius: 6px; */
    border: 1px solid #e7eaee;

    right: -460px;
    transition: 0.7s ease;
    /* display: none; */

    z-index: 1000;
}
.cart-widget-wrapper.open .cart-widget {
    right: 0;
}
.cart-widget__summary {
    padding-top: 30px;
    padding-bottom: 50px;
}
.cart-widget__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-widget__title h5 {
    padding: 0;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}
.cart-widget__title--close {
    display: flex;
    width: 25px;
    height: 25px;
    background-image: url("../img/close.svg");
    background-repeat: no-repeat;
    background-size: 25px;
    transition: 0.3s ease;
}
.cart-widget__title--close:hover {
    opacity: 0.7;
}
.cart-widget__item {
    position: relative;
    padding-bottom: 25px;
    margin-bottom: 25px;
    display: flex;
    border-bottom: 1px solid rgba(231, 234, 238, 0.5);
}
.cart-widget__item--loading {
  opacity: 0.5;
  pointer-events: none;
  position: relative;
}
.cart-widget__item--loading::after {
  content: '';
  position: absolute;
  top: calc(50% - 12px);
  left: 50%;
  width: 22px;
  height: 22px;
  border: 3px solid #ccc;
  border-top-color: #142560;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.cart-widget__item--thumbnail {
    padding: 5px;
    width: 100px;
    height: 120px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #e7eaee;
}
.cart-widget__item--thumbnail img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.product-attribute {
    position: absolute;
    top: -10px;
    left: -10px;

    display: none;
}
.product-attribute .product-attribute__item {
    display: flex;
    align-items: center;
}
.product-attribute .product-attribute__item img {
    width: 25px;
    padding-right: 5px;
}
.product-attribute .product-attribute__label {
    display: none;
}
.cart-widget__item--name,
.cart-widget__item--price {
    padding-top: 5px;
    padding-left: 20px;
}
.cart-widget__item--price {
    padding-top: 0;
}
.cart-widget__item--name p,
.cart-widget__item--price p {
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: #1b1b1b;
}
.cart-widget__item--price p {
    padding-top: 5px;
    font-weight: 500;
}
.cart-widget__item--menge small {
    padding-left: 20px;
    width: 100%;
    display: block;
    color: #a6a6a6;
    font-size: 12px;
    line-height: 15px;
    font-weight: 300;
}
.cart-widget__item--remove {
    position: absolute;
    top: 0;
    right: 0;
}
.cart-widget__item--remove button {
    padding: 0;
    display: flex;
    width: 32px;
    height: 32px;
    background-image: url("../img/remove.svg");
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: center center;
    background-color: rgba(231, 234, 238, 0.8);
    border-color: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.cart-widget__item--remove button:hover {
    background-color: rgba(231, 234, 238, 1);
}
.cart-widget__checkout {
    width: 400px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    bottom: 0;
}
.cart-widget__empty--button,
.cart-widget__checkout--button {
    width: auto;
    height: 45px;
    margin-top: 30px;
    padding-left: 20px;
    padding-right: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;

    background-color: #142560;
    background-position: 100%;
    background-repeat: no-repeat;
    background-size: 200%;
    background-position: 100%;
    background-image: linear-gradient(to right, #545da1, #142560, #142560);

    border-radius: 6px;
    border: none;
    outline: none;
    
    transition: background-position .5s cubic-bezier(0,0,.23,1);
}
.cart-widget__empty--button:hover,
.cart-widget__checkout--button:hover {
    background-position: 0;
    background-size: 100%;
    transition: background .5s cubic-bezier(0,0,.23,1);
}
.cart-widget__payment-logos {
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.cart-widget__payment-logos img {
    width: 40px;
}
/* .cart-widget__item--subtotal {
    padding-bottom: 12px;
} */
.cart-widget__item--subtotal h5,
.cart-widget__item--total h5,
.cart-widget__item--tax h5 {
    padding: 0;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-widget__item--tax h5 {
	font-size: 17px;
}
.cart-widget__item--subtotal h5,
.cart-widget__item--tax h5 {
    font-weight: 300;
	font-family: 'AvenirNextProRegular' !important;
}
.cart-widget__item--free-shipping-info,
.cart-widget__item--cost-shipping-info {
	padding-bottom: 15px;	
}
.cart-widget__item--free-shipping-info p,
.cart-widget__item--cost-shipping-info p,
.custom-shipping-message p {
	margin: 0;
    width: 100%;
    display: block;
    color: #a6a6a6;
    font-size: 12px;
    line-height: 15px;
    font-weight: 300;
    margin: 0;
    font-style: italic;
}
.custom-shipping-message p {
	padding: 2px 0;
}
.cart-widget__quantity .screen-reader-text {
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    position: absolute !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    border: 0;    
}
.cart-widget__quantity {
    display: flex;
    padding-top: 20px;
    padding-left: 18px;
    width: 105px;
}
/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.cart-widget__quantity input {
    padding: 0;
    width: 45px;
    height: 30px;
    display: flex;
    text-align: center;

    font-size: 14px;
    font-weight: 300;
    line-height: 17px;
    color: #1b1b1b;

    border-top: 1px solid #e7eaee;
    border-bottom: 1px solid #e7eaee;
    border-left: transparent;
    border-right: transparent;
    outline: none;
    transition: border 0.3s ease;

    flex: 1;
    order: 1;

    overflow-clip-margin: 0px !important;
    overflow: clip !important;
}
.cart-widget__quantity .action {
    width: 28px;
	max-width: 28px;
    display: flex;
	flex: 0 0 28px;
    border: 1px solid #e7eaee;
    background-color: rgba(231, 234, 238, 0.2);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.cart-widget__quantity .action:hover {
    background-color: rgba(231, 234, 238, 0.5);
}
.cart-widget__quantity .action.minus {
    order: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    background-image: url("../img/minus.svg");
}
.cart-widget__quantity .action.plus {
    order: 2;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background-image: url("../img/plus.svg");
}
.cart-widget__empty {
    padding: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.cart-widget__empty h5 {
    padding: 0 0 7px 0;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}
.cart-widget__empty p {
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 17px;
    color: rgba(0, 0, 0, 0.5);
}
/* .cart-widget__empty--icon {
    margin-bottom: 30px;
}*/
.cart-widget__empty--icon svg {
    width: 100px;
}
.cart-widget__empty--button {
    margin-top: 30px;
    min-width: 120px;
    max-width: 250px;
    height: 45px;
	padding-right: 30px;
	padding-left: 30px;
}
.add-to-cart-button {
    width: 220px;
    height: 45px;
    margin-top: 30px;
    padding-left: 20px;
    padding-right: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;

    background-color: #142560;
    background-position: 100%;
    background-repeat: no-repeat;
    background-size: 200%;
    background-position: 100%;
    background-image: linear-gradient(to right, #545da1, #142560, #142560);

    border-radius: 6px;
    border: none;
    outline: none;
    
    transition: background-position .5s cubic-bezier(0,0,.23,1);
}
.add-to-cart-button:hover {
    background-position: 0;
    background-size: 100%;
    transition: background .5s cubic-bezier(0,0,.23,1);
}

.cart-widget__floating {
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 100;
}
.cart-widget__floating--btn {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    /* border-radius: 12px;*/
    border-radius: 28px 0 12px 0;
    border: 1px solid #e7eaee; 

    box-shadow: 0 -1px 5px 0 rgba(231, 234, 238, 0.8);
    -webkit-box-shadow: 0 -1px 5px 0 rgba(231, 234, 238, 0.8);
    -moz-box-shadow: 0 -1px 5px 0 rgba(231, 234, 238, 0.8);

    transition: 0.4s ease;  
}
.cart-widget__floating--btn:hover {
    background-color: rgba(20, 37, 96, 1);
    border: 1px solid rgba(20, 37, 96, 1);
}
.cart-widget__floating--btn svg {
    width: 40px;
    height: auto;
}
.cart-widget__floating--btn:hover svg path {
    fill: #ffffff;
}
.cart-widget__floating--count {
    position: absolute;
    top: -6px;
    right: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 10px;
    background-color: #142560;
    border-radius: 50%;

    box-shadow: 0 -1px 10px 0 rgba(20, 37, 96, 0.5);
    -webkit-box-shadow: 0 -1px 10px 0 rgba(20, 37, 96, 0.5);
    -moz-box-shadow: 0 -1px 10px 0 rgba(20, 37, 96, 0.5);

    color: #ffffff;
    transition: 0.4s ease; 
}
.cart-widget__floating--btn:hover .cart-widget__floating--count {
    background-color: #ffffff;
    box-shadow: 0 -5px 10px 0 rgba(231, 234, 238, 0.8);
    -webkit-box-shadow: 0 -5px 10px 0 rgba(231, 234, 238, 0.8);
    -moz-box-shadow: 0 -5px 10px 0 rgba(231, 234, 238, 0.8);
    color: #142560;
}

.cart-widget__header {
    position: relative;
    right: 50px;
    bottom: 50px;
    z-index: 100;
}
.cart-widget__header--btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.4s ease;  
}
/* .cart-widget__header--btn:hover {
    background-color: rgba(20, 37, 96, 1);
    border: 1px solid rgba(20, 37, 96, 1);
} */
.cart-widget__header--btn svg {
    width: 40px;
    height: auto;
}
/* .cart-widget__header--btn:hover svg path {
    fill: #ffffff;
} */
.cart-widget__header--count {
    position: absolute;
    top: 4px;
    right: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 10px;
    background-color: #142560;
    border-radius: 50%;

    box-shadow: 0 -1px 10px 0 rgba(20, 37, 96, 0.5);
    -webkit-box-shadow: 0 -1px 10px 0 rgba(20, 37, 96, 0.5);
    -moz-box-shadow: 0 -1px 10px 0 rgba(20, 37, 96, 0.5);

    color: #ffffff;
    transition: 0.4s ease; 
}
.cart-widget__header--btn:hover .cart-widget__floating--count {
    background-color: #ffffff;
    box-shadow: 0 -5px 10px 0 rgba(231, 234, 238, 0.8);
    -webkit-box-shadow: 0 -5px 10px 0 rgba(231, 234, 238, 0.8);
    -moz-box-shadow: 0 -5px 10px 0 rgba(231, 234, 238, 0.8);
    color: #142560;
}

@media only screen and (min-width: 990px) {
    .cart-widget__items {
        width: 100%;
        max-height: 550px;
        overflow: hidden;
        overflow-y: scroll;
    }
    .cart-widget__item--totals {
      padding-top: 15px;
    }
}

@media only screen and (max-width: 980px) and (max-height: 980px) { 
    .cart-widget__items {
        width: 100%;
        max-height: 480px;
        overflow: hidden;
        overflow-y: auto;
    }
    .cart-widget__item--totals {
        padding-top: 15px;
		padding-bottom: 50px;
        position: relative;
        z-index: 100;
    }
	.cart-widget__checkout {
		padding-top: 0;
		background-color: #ffffff;
		z-index: 100;
	}
}
 @media only screen and (max-width: 980px) and (max-height: 800px) { 
    .cart-widget__items {
        max-height: 450px;
    }
 }
@media only screen and (max-width: 980px) and (max-height: 980px) and (orientation: landscape) {
    .cart-widget__items {
        max-height: calc(100vh - 350px);
    }
}
 @media only screen and (max-width: 680px) and (max-height: 980px) {
    .cart-widget__items {
        max-height: 500px;
    }
 }
@media only screen and (max-height: 750px) { 
	.cart-widget__items {
		max-height: 220px;
		overflow: hidden;
		overflow-y: auto;
	}
}
@media only screen and (max-height: 650px) { 
    .cart-widget__items {
        max-height: 220px;
    }
}
@media only screen and (max-height: 580px) { 
    .cart-widget__items {
        max-height: 180px;
    }
}
@media only screen and (max-height: 400px) { 
	.cart-widget__empty {
		height: 120px;
		overflow: hidden;
		overflow-y: auto;
	}
	.cart-widget__empty--button {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}
@media only screen and (min-width: 768px) and (max-width: 1200px) { 
	.cart-widget {
		height: calc(100% - 118px);
	}
} 
@media only screen and (max-width: 767px) { 
	.cart-widget {
		height: calc(100% - 69px);
	}
	.cart-widget__title h5 {
		font-size: 16px;
	}
	.cart-widget__title--close {
		width: 18px;
		height: 18px;
		background-size: 18px;
	}
	.cart-widget__item--remove button {
		width: 25px;
		height: 25px;
		background-size: 15px;
	}
	.cart-widget__item--name {
		padding-right: 30px;
	}
	.cart-widget__item--name, 
	.cart-widget__item--price,
	.cart-widget__item--menge small {
		padding-left: 12px;
	}
}
@media only screen and (max-width: 680px) {
  .vc_hidden-xs {
    display: none; } 
    .cart-product {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .cart-product__items {
        flex-direction: column;
    }
    .cart-product__item--image {
        height: auto;
    }

    .cart-widget {
        padding: 0 20px;
        width: 300px;
    }
    .cart-widget__floating {
        right: 20px;
        bottom: 20px;
    }
    .cart-widget__item--thumbnail {
        width: 80px;
        height: 90px;
    }
	.cart-widget__item--name p {
		padding-bottom: 5px;
	}
    .cart-widget__item--name p,
    .cart-widget__item--price p {
        font-size: 14px;
        line-height: 17px;
    }
    .cart-widget__checkout {
        width: 300px;
        padding: 20px 20px 30px 20px;
    }
    .cart-widget__item--subtotal h5,
    .cart-widget__item--total h5,
    .cart-widget__item--tax h5 {
        font-size: 16px;
        line-height: 24px;
    }
    .cart-widget__payment-logos {
        padding-top: 12px;
        gap: 5px;
    }
    .cart-widget__payment-logos img {
        width: 35px;
    }
}