.lw-cart-wrapper {
position: relative;
display: inline-block;
}
.lw-cart-trigger {
background: transparent !important;
border: none !important;
padding: 0 !important;
cursor: pointer;
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
outline: none !important;
box-shadow: none !important;
}
.lw-cart-icon {
display: block;
width: 22px;
height: auto;
filter: brightness(0);
}
.lw-cart-count {
position: absolute;
top: 0;
right: 0;
background-color: #3793a7;
color: #ffffff;
font-family: sans-serif;
font-size: 11px;
font-weight: bold;
line-height: 1;
padding: 4px 6px;
border-radius: 50%;
transform: translate(60%, -35%);
min-width: 18px;
text-align: center;
box-sizing: border-box;
} .lw-cart-modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.58);
z-index: 999999;
opacity: 0;
visibility: hidden;
transition: opacity 0.25s ease, visibility 0.25s ease;
display: flex;
align-items: center;
justify-content: center; padding: 10px;
}
.lw-cart-modal-overlay.is-active {
opacity: 1;
visibility: visible;
} .lw-cart-modal {
background: #ffffff;
width: 100%;
max-width: 510px;
height: 600px;
max-height: 90vh;
border-radius: 25px;
display: flex;
flex-direction: column;
box-shadow: 0 15px 40px rgba(0,0,0,0.25);
transform: translateY(20px) scale(0.98);
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
overflow: hidden;
box-sizing: border-box;
}
.lw-cart-modal-overlay.is-active .lw-cart-modal {
transform: translateY(0) scale(1);
} .lw-cart-header {
padding: 20px 30px;
font-weight: 700;
border-bottom: 1px solid #eaeaea;
display: flex;
justify-content: space-between;
align-items: center;
flex-shrink: 0;
}
.lw-cart-header h2 {
margin: 0;
font-size: 22px;
font-weight: 700;
color: #111;
}
.lw-cart-header .lw-cart-close {
background: transparent;
border: none;
font-size: 32px;
cursor: pointer;
color: #999;
line-height: 1;
padding: 4px 12px;
border-radius: 4px;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
}
.lw-cart-header .lw-cart-close:focus, 
.lw-cart-header .lw-cart-close:hover {
background-color: #2b2b2b !important;
color: #fff !important;
text-decoration: none;
} .lw-cart-body {
flex-grow: 1;
overflow-y: auto;
padding: 20px 30px;
}
.lw-cart-body::-webkit-scrollbar { width: 6px; }
.lw-cart-body::-webkit-scrollbar-thumb { background: #d0d0d0; border-radius: 3px; }
.lw-cart-items {
list-style: none;
margin: 0;
padding: 0;
}
.lw-cart-item {
position: relative; display: flex;
gap: 20px;
padding-bottom: 20px;
margin-bottom: 20px;
border-bottom: 1px solid #f2f2f2;
align-items: center;
}
.lw-cart-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
} .lw-item-thumbnail {
flex-shrink: 0;
width: 180px;
max-width: 30%;
}
.lw-item-thumbnail a {
display: block;
transition: opacity 0.2s ease;
}
.lw-item-thumbnail a:hover {
opacity: 0.8;
}
.lw-item-img {
width: 100%;
max-width: 200px;
height: auto;
display: block;
border-radius: 4px;
object-fit: cover;
} .lw-item-details {
flex-grow: 1;
padding-right: 25px; }
.lw-item-title {
margin: 0 0 8px;
font-size: 16px;
line-height: 1.3;
}
.lw-cart-wrapper .lw-item-title a {
text-decoration: none !important;
color: #333333 !important;
font-weight: 700;
transition: color 0.2s;
}
.lw-cart-wrapper .lw-item-title a:hover {
color: #909090 !important;
}
.lw-item-price {
font-size: 15px;
color: #666;
} .lw-remove-item {
position: absolute;
top: 0;
right: 0;
font-size: 22px;
line-height: 1;
color: #8b8b8b ;
text-decoration: none ;
padding: 2px 6px;
transition: color 0.2s ease;
}
.lw-remove-item:hover {
color: #e74c3c !important;
}
.lw-empty-cart {
text-align: center;
color: #888;
margin-top: 60px;
font-size: 16px;
} .lw-cart-footer {
padding: 20px 30px;
border-top: 1px solid #eaeaea;
background: #fafafa;
flex-shrink: 0;
}
.lw-cart-wrapper .lw-checkout-btn {
display: block;
width: 100%;
background-color: #111;
color: #ffffff !important;
text-align: center;
padding: 16px;
font-size: 18px;
font-weight: 700;
text-decoration: none !important;
border-radius: 30px;
transition: background-color 0.2s ease;
box-sizing: border-box;
}
.lw-cart-wrapper .lw-checkout-btn:hover {
background-color: #333;
color: #ffffff !important;
}
.lw-cart-wrapper .cart-drawer-footer__buttons .view-full-cart-btn {
display: flex;
border-bottom: 1px solid #2b2b2b !important;
width: 200px;
color: #2b2b2b !important;
font-size: 14px;
margin: 8px auto 0;
text-decoration: none !important;
justify-content: center;
transition: opacity 0.2s;
}
.lw-cart-wrapper .cart-drawer-footer__buttons .view-full-cart-btn:hover {
opacity: 0.7;
}