:root {
--default-color: #00599c;
--second-color: #6c757d;
--main-color: #333;
--black-color: #000;
--white-color: #fff;
--title-color: #333;
--title-color-hover: #666;
--box-shadow: #eae7f5;
--border-color: #ebebeb;
--bg-block: #f5f5f5;
--gray-color: #a9a9a9;
--dark-gray-color: #808080;
--light-gray-color: #d3d3d3;
--light-color: #f9fafb;
--light-color-hover: #f9fafb;
--dark-color: #212529;
--dark-color-hover: #1c1f23;
--info-color: #0dcaf0;
--info-color-hover: #3dd5f3;
--primary-color: #0d6efd;
--primary-color-hover: #0b5ed7;
--success-color: #28a745;
--success-color-hover: #218838;
--warning-color: #ffc107;
--warning-color-hover: #d39e00;
--danger-color: #dc3545;
--danger-color-hover: #bb2d3b;
--price-color: #ff3329;
--sale-color: #ff3329;
--star-color: #ffc107;
--black-transparent-1: rgba(0, 0, 0, 0.1);
--black-transparent-2: rgba(0, 0, 0, 0.2);
--black-transparent-3: rgba(0, 0, 0, 0.3);
--black-transparent-4: rgba(0, 0, 0, 0.4);
--black-transparent-5: rgba(0, 0, 0, 0.5);
--black-transparent-6: rgba(0, 0, 0, 0.6);
--black-transparent-7: rgba(0, 0, 0, 0.7);
--black-transparent-8: rgba(0, 0, 0, 0.8);
--black-transparent-9: rgba(0, 0, 0, 0.9);
--white-transparent-1: rgba(255, 255, 255, 0.1);
--white-transparent-2: rgba(255, 255, 255, 0.2);
--white-transparent-3: rgba(255, 255, 255, 0.3);
--white-transparent-4: rgba(255, 255, 255, 0.4);
--white-transparent-5: rgba(255, 255, 255, 0.5);
--white-transparent-6: rgba(255, 255, 255, 0.6);
--white-transparent-7: rgba(255, 255, 255, 0.7);
--white-transparent-8: rgba(255, 255, 255, 0.8);
--white-transparent-9: rgba(255, 255, 255, 0.9);
--padding-swe-col: 15px;
--margin-swe-col: -15px;
}
.swe-woo-cart {
position: relative;
}
.swe-woo-cart:hover .img-logo-hover {
opacity: 1 !important;
}
.swe-woo-cart .input-toggle {
display: none;
}
.swe-woo-cart .swe-wrap-cart-head {
display: flex;
align-items: center;
cursor: pointer;
font-weight: 400;
}
.swe-woo-cart .swe-wrap-cart-head.icon-left .swe-cart-icon {
order: 1;
}
.swe-woo-cart .swe-wrap-cart-head.icon-left .swe-cart-subtotal {
order: 2;
margin-left: 10px;
}
.swe-woo-cart .swe-wrap-cart-head.icon-right .swe-cart-icon {
order: 2;
}
.swe-woo-cart .swe-wrap-cart-head.icon-right .swe-cart-subtotal {
order: 1;
margin-right: 10px;
}
.swe-woo-cart .swe-wrap-cart-head .swe-cart-icon {
position: relative;
font-size: 24px;
transition: 300ms;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
}
.swe-woo-cart .swe-wrap-cart-head .swe-cart-icon.cart-image-icon {
width: auto;
height: auto;
}
.swe-woo-cart .swe-wrap-cart-head .swe-cart-icon i {
top: 50%;
right: 50%;
transform: translate(50%, -50%);
position: absolute;
}
.swe-woo-cart .swe-wrap-cart-head .swe-cart-icon .image-icon {
width: 30px;
height: 30px;
}
.swe-woo-cart .swe-wrap-cart-head .swe-cart-icon .image-icon img {
width: 100%;
height: 100%;
object-fit: cover;
transition: 300ms;
}
.swe-woo-cart
.swe-wrap-cart-head
.swe-cart-icon
.image-icon
img.img-logo-hover {
position: absolute;
top: 0;
left: 0;
opacity: 0;
transition: 200ms;
}
.swe-woo-cart .swe-wrap-cart-head .swe-cart-icon .swe-cart-count {
position: absolute;
top: 0;
left: 100%;
transform: translate(-50%, -50%);
font-size: 12px;
width: 18px;
height: 18px;
line-height: 18px;
border-radius: 20px;
}
.swe-woo-cart .swe-wrap-cart-head .swe-cart-subtotal {
font-size: 16px;
text-align: left;
}
.swe-woo-cart .swe-wrap-cart-head .swe-cart-subtotal .text {
margin-right: 3px;
}
.swe-woo-cart .swe-wrap-cart-content {
background: var(--white-color);
border: 1px solid var(--border-color);
}
.swe-woo-cart .swe-wrap-cart-content .swe-wrap-cart-top {
display: flex;
justify-content: space-between;
font-size: 18px;
}
.swe-woo-cart .swe-wrap-cart-content .swe-wrap-cart-top .cart-title {
font-size: inherit;
margin-bottom: 0px;
font-weight: 600;
}
.swe-woo-cart .swe-wrap-cart-content .swe-wrap-cart-top .swe-close {
font-size: inherit;
cursor: pointer;
}
.swe-woo-cart .swe-wrap-cart-content .swe-wrap-cart-top .swe-close i {
margin-left: 5px;
}
.swe-woo-cart .woocommerce-mini-cart__empty-message {
margin-bottom: 0px;
padding: 15px 0;
font-size: 16px;
width: 100%;
}
.swe-woo-cart ul.woocommerce-mini-cart {
margin: 0px;
list-style: none;
overflow-y: auto;
}
.swe-woo-cart ul.woocommerce-mini-cart::-webkit-scrollbar {
width: 5px;
}
.swe-woo-cart ul.woocommerce-mini-cart::-webkit-scrollbar-thumb {
background-color: darkgrey;
}
.swe-woo-cart ul.woocommerce-mini-cart .blockUI:before {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: inline-block;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 1;
font-family: "Font Awesome 5 Free";
font-weight: 900;
line-height: inherit;
vertical-align: baseline;
content: "\f110";
animation: fa-spin 0.8s linear infinite;
height: 30px;
width: 30px;
line-height: 30px;
font-size: 30px;
position: absolute;
top: 50%;
left: 50%;
margin-left: -15px;
margin-top: -15px;
}
.swe-woo-cart ul.woocommerce-mini-cart li {
width: 100%;
display: inline-block;
clear: both;
padding: 10px 0px;
border-bottom: 0px;
}
.swe-woo-cart ul.woocommerce-mini-cart li + li {
border-top: 1px solid var(--border-color);
}
.swe-woo-cart ul.woocommerce-mini-cart li img {
float: left;
margin-right: 10px;
width: 70px;
}
.swe-woo-cart ul.woocommerce-mini-cart li a {
display: block;
text-align: left;
font-size: 16px;
font-weight: 600;
color: var(--default-color);
text-decoration: none;
margin-bottom: 10px;
}
.swe-woo-cart ul.woocommerce-mini-cart li a:hover {
color: var(--second-color);
}
.swe-woo-cart ul.woocommerce-mini-cart li a.remove {
float: right;
font-size: 22px;
width: 20px;
height: 20px;
text-align: center;
line-height: 20px;
color: red;
text-indent: unset;
text-decoration: none;
outline: none;
}
.swe-woo-cart ul.woocommerce-mini-cart li a.remove:before {
display: none;
}
.swe-woo-cart ul.woocommerce-mini-cart li .quantity {
text-align: left;
display: block;
font-size: 16px;
}
.swe-woo-cart .total,
.swe-woo-cart .buttons {
display: flex;
justify-content: space-between;
font-size: 18px;
margin-bottom: 0px;
}
.swe-woo-cart .total {
padding: 15px 0;
border-top: 1px solid var(--border-color);
border-bottom: 1px solid var(--border-color);
}
.swe-woo-cart .total .amount {
font-weight: 600;
color: var(--price-color);
}
.swe-woo-cart .buttons {
padding-top: 10px;
margin-top: 0px;
}
.swe-woo-cart .buttons .button {
flex: 1;
text-align: center;
height: 50px;
line-height: 50px;
padding: 0;
display: inline-block;
background: var(--light-gray-color);
}
.swe-woo-cart .buttons .button:hover {
background: var(--gray-color);
}
.swe-woo-cart.cart-hover .swe-wrap-cart-top {
display: none;
}
.swe-woo-cart.cart-hover .swe-wrap-cart-content {
border-radius: 3px;
padding: 10px;
position: absolute;
top: 100%;
width: 350px;
right: 0;
transform: translateY(30px);
transition: 200ms;
z-index: 5;
opacity: 0;
visibility: hidden;
}
.swe-woo-cart.cart-hover ul.woocommerce-mini-cart {
max-height: 350px;
}
.swe-woo-cart.cart-hover:hover .swe-wrap-cart-content {
transform: translateY(0px);
opacity: 1;
visibility: visible;
}
.swe-woo-cart.cart-hover .woo-cart-open {
margin: 0px;
}
.swe-woo-cart.cart-canvas {
--width-cart-content: 450px;
}
.swe-woo-cart.cart-canvas label {
margin-left: 0px;
display: block;
}
.swe-woo-cart.cart-canvas .swe-wrap-cart-top {
padding-bottom: 20px;
border-bottom: 1px solid var(--border-color);
}
.swe-woo-cart.cart-canvas .woo-cart-mask {
width: 100vw;
height: 100vh;
position: fixed;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.6);
transition: 200ms ease-out;
visibility: hidden;
opacity: 0;
z-index: 999;
cursor: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 18 18' fill='%23fff'%3e%3cpath d='M14.53 4.53l-1.06-1.06L9 7.94 4.53 3.47 3.47 4.53 7.94 9l-4.47 4.47 1.06 1.06L9 10.06l4.47 4.47 1.06-1.06L10.06 9z'/%3e%3c/svg%3e"),
pointer;
}
.swe-woo-cart.cart-canvas .swe-wrap-cart-content {
position: fixed;
top: 0;
width: var(--width-cart-content);
max-width: 75%;
right: 0;
height: 100%;
z-index: 999;
padding: 20px;
display: flex;
transition: 300ms;
flex-direction: column;
transform: translateX(100%);
border: 0;
border-left: 1px solid var(--border-color);
}
.swe-woo-cart.cart-canvas .input-toggle:checked ~ .woo-cart-mask {
opacity: 1;
visibility: visible;
}
.swe-woo-cart.cart-canvas .input-toggle:checked ~ .swe-wrap-cart-content {
transform: translateX(0);
}
.swe-woo-cart.cart-canvas .swe-wrap-cart-bottom {
height: calc(100% - 50px);
align-items: center;
display: flex;
flex-direction: column;
flex: 1;
}
.swe-woo-cart.cart-canvas .swe-wrap-cart-bottom ul {
flex: 1;
}
.swe-woo-cart.cart-canvas .swe-wrap-cart-bottom > * {
width: 100%;
}