.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: #b9fb00;
color: #000000;
font-family: inherit;
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.65);
z-index: 999999;
opacity: 0;
visibility: hidden;
transition: opacity 0.25s ease, visibility 0.25s ease;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(5px);
padding: 20px;
box-sizing: border-box;
}
.lw-cart-modal-overlay.is-active {
opacity: 1;
visibility: visible;
} .lw-cart-modal {
background: #ffffff;
width: 100%;
max-width: 880px;
height: 560px;
max-height: 90vh;
border-radius: 20px;
display: flex;
position: relative;
box-shadow: 0 20px 50px rgba(0,0,0,0.3);
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-modal > .lw-cart-close {
position: absolute;
top: 15px;
right: 15px;
background: #f2f2f2;
border: none;
font-size: 24px;
cursor: pointer;
color: #111;
line-height: 1;
width: 36px;
height: 36px;
border-radius: 50%;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
}
.lw-cart-modal > .lw-cart-close:hover {
background-color: #2b2b2b;
color: #b9fb00;
} .lw-cart-layout {
display: grid;
grid-template-columns: 340px 1fr;
width: 100%;
height: 100%;
} .lw-cart-sidebar-banner {
background-color: #111111;  background-size: cover;
background-position: center;
position: relative;
color: #ffffff;
padding: 30px;
display: flex;
flex-direction: column;
justify-content: flex-end; } .lw-cart-sidebar-banner::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
z-index: 1;
}
.lw-banner-content {
position: relative;
z-index: 2;
}
.lw-news-badge {
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(4px);
padding: 4px 10px;
border-radius: 20px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.5px;
color: #ffffff;
margin-bottom: 12px;
}
.lw-news-badge .lw-dot {
width: 6px;
height: 6px;
background-color: #b9fb00;
border-radius: 50%;
}
.lw-banner-title {
font-size: 20px;
font-weight: 700;
margin: 0 0 8px 0;
color: #ffffff;
line-height: 1.2;
}
.lw-banner-text-1 {
font-size: 13px;
color: #cccccc;
margin: 0 0 6px 0;
line-height: 1.4;
}
.lw-banner-text-2 {
font-size: 12px;
color: #999999;
margin: 0;
line-height: 1.4;
} .lw-cart-main-content {
display: flex;
flex-direction: column;
height: 100%;
background-color: #ffffff;
overflow: hidden;
} .lw-cart-header {
padding: 25px 30px 15px 30px;
flex-shrink: 0;
}
.lw-cart-header h2 {
margin: 0;
font-size: 22px;
font-weight: 700;
color: #111111;
} .lw-cart-body {
flex-grow: 1;
overflow-y: auto;
padding: 10px 30px;
}
.lw-cart-body::-webkit-scrollbar { width: 5px; }
.lw-cart-body::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 3px; }
.lw-cart-items {
list-style: none;
margin: 0;
padding: 0;
}
.lw-cart-item {
position: relative;
display: flex;
gap: 15px;
padding: 15px 0;
border-bottom: 1px solid #f0f0f0;
align-items: center;
}
.lw-cart-item:last-child {
border-bottom: none;
} .lw-item-thumbnail {
flex-shrink: 0;
width: 70px;
height: 92px;
border-radius: 8px;
overflow: hidden;
background: #f9f9f9;
}
.lw-item-img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
} .lw-item-details {
flex-grow: 1;
padding-right: 20px;
}
.lw-item-title {
margin: 0 0 4px;
font-size: 15px;
font-weight: 600;
display: block;
}
.lw-cart-wrapper .lw-item-title a {
text-decoration: none !important;
color: #111111 !important;
transition: color 0.2s;
}
.lw-cart-wrapper .lw-item-title a:hover {
color: #666666 !important;
}
.lw-item-price {
font-size: 14px;
color: #666666;
font-weight: 500;
} .lw-remove-item {
position: absolute;
top: 15px;
right: 0;
font-size: 18px;
color: #b0b0b0;
text-decoration: none;
padding: 4px;
transition: color 0.2s ease;
}
.lw-remove-item:hover {
color: #e74c3c !important;
}
.lw-empty-container {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.lw-empty-cart {
text-align: center;
color: #888888;
font-size: 15px;
margin: 0;
} .lw-cart-footer {
padding: 20px 30px;
background: #ffffff;
border-top: 1px solid #f0f0f0;
flex-shrink: 0;
}
.lw-cart-wrapper .lw-checkout-btn {
display: block;
width: 100%;
background-color: #b9fb00; color: #000000 !important;
text-align: center;
padding: 15px;
font-size: 16px;
font-weight: 700;
text-decoration: none !important;
border-radius: 30px;
transition: background-color 0.2s ease, transform 0.1s ease;
box-sizing: border-box;
}
.lw-cart-wrapper .lw-checkout-btn:hover {
background-color: #a8e400;
transform: translateY(-1px);
} @media screen and (max-width: 768px) {
.lw-cart-modal {
max-width: 100%;
height: 95vh;
max-height: 95vh;
border-radius: 16px 16px 0 0;
align-self: flex-end;
}
.lw-cart-layout {
grid-template-columns: 1fr;
grid-template-rows: 150px 1fr;
overflow-y: auto;
}
.lw-cart-sidebar-banner {
padding: 20px;
justify-content: center;
}
.lw-banner-title {
font-size: 16px;
margin-bottom: 4px;
}
.lw-banner-text-1, .lw-banner-text-2 {
font-size: 11px;
}
.lw-cart-main-content {
overflow-y: visible;
}
.lw-cart-header {
padding: 15px 20px 10px 20px;
}
.lw-cart-body {
padding: 10px 20px;
}
.lw-cart-footer {
padding: 15px 20px;
}
}