:root {
--las-primary:    #002a3f;
--las-accent:     #ed4441;
--las-bg:         #ffffff;
--las-text:       #4a4a4a;
--las-text-muted: #7a7a7a;
--las-border:     #e5e7eb;
--las-shadow:     0 10px 30px rgba(0, 0, 0, 0.18);
} .las-cart-fab {
position: fixed;
bottom: 24px;
width: 60px;
height: 60px;
border-radius: 50%;
background: var(--las-primary);
color: #fff;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
z-index: 99998;
transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
font-family: 'Lato', sans-serif;
}
.las-cart-fab:hover { transform: scale(1.05); background: #003a56; }
.las-cart-fab--right { right: 24px; }
.las-cart-fab--left  { left: 24px; }
.las-cart-fab.is-hidden {
opacity: 0;
pointer-events: none;
transform: scale(0.5);
}
.las-cart-fab__icon { width: 26px; height: 26px; }
.las-cart-badge {
position: absolute;
top: -4px;
right: -4px;
min-width: 22px;
height: 22px;
padding: 0 6px;
border-radius: 11px;
background: var(--las-accent);
color: #fff;
font-family: 'Oswald', sans-serif;
font-weight: 700;
font-size: 12px;
line-height: 22px;
text-align: center;
box-shadow: 0 2px 6px rgba(237, 68, 65, 0.4);
}
.las-cart-fab--left .las-cart-badge { right: auto; left: -4px; } .las-cart-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
z-index: 99998;
}
.las-cart-overlay.is-open {
opacity: 1;
pointer-events: auto;
} .las-cart-drawer {
position: fixed;
top: 0;
bottom: 0;
width: 420px;
max-width: 100vw;
background: var(--las-bg);
display: flex;
flex-direction: column;
box-shadow: var(--las-shadow);
z-index: 99999;
font-family: 'Lato', sans-serif;
color: var(--las-text);
transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.las-cart-drawer--right { right: 0; transform: translateX(100%); }
.las-cart-drawer--left  { left: 0;  transform: translateX(-100%); }
.las-cart-drawer.is-open { transform: translateX(0); } .las-cart-drawer__header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 18px 22px;
background: var(--las-primary);
color: #fff;
flex-shrink: 0;
}
.las-cart-drawer__title {
margin: 0;
font-family: 'Oswald', sans-serif;
font-weight: 700;
font-size: 20px;
letter-spacing: 0.6px;
text-transform: uppercase;
color: #fff;
}
.las-cart-drawer__close {
background: transparent;
border: none;
color: #fff;
cursor: pointer;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: background 0.2s ease;
}
.las-cart-drawer__close:hover { background: rgba(255, 255, 255, 0.15); }
.las-cart-drawer__close svg { width: 20px; height: 20px; } .las-cart-drawer__body {
flex: 1;
overflow-y: auto;
padding: 14px 20px;
position: relative;
} .las-cart-loading {
display: flex;
align-items: center;
justify-content: center;
padding: 60px 0;
}
.las-cart-spinner {
width: 36px;
height: 36px;
border: 3px solid rgba(0, 42, 63, 0.15);
border-top-color: var(--las-primary);
border-radius: 50%;
animation: las-spin 0.8s linear infinite;
}
@keyframes las-spin { to { transform: rotate(360deg); } } .las-cart-items {
list-style: none;
margin: 0;
padding: 0;
}
.las-cart-item {
display: flex;
gap: 14px;
padding: 16px 0;
border-bottom: 1px solid var(--las-border);
}
.las-cart-item:last-child { border-bottom: none; }
.las-cart-item__thumb {
flex: 0 0 80px;
width: 80px;
height: 80px;
border-radius: 8px;
overflow: hidden;
background: #f7f7f7;
}
.las-cart-item__thumb img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.las-cart-item__details {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 6px;
}
.las-cart-item__top {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 8px;
}
.las-cart-item__name {
font-family: 'Lato', sans-serif;
font-weight: 700;
font-size: 14px;
color: var(--las-primary);
line-height: 1.3;
}
.las-cart-item__name a { color: inherit; text-decoration: none; }
.las-cart-item__name a:hover { color: var(--las-accent); }
.las-cart-item__remove {
background: transparent;
border: none;
padding: 4px;
cursor: pointer;
color: #9a9a9a;
transition: color 0.2s ease;
flex-shrink: 0;
}
.las-cart-item__remove:hover { color: var(--las-accent); }
.las-cart-item__remove svg { width: 16px; height: 16px; }
.las-cart-item__price {
font-size: 13px;
color: var(--las-text-muted);
font-weight: 400;
}
.las-cart-item__meta {
list-style: none;
margin: 4px 0 0;
padding: 0;
}
.las-cart-item__meta-line {
font-size: 12px;
color: var(--las-text-muted);
line-height: 1.5;
}
.las-cart-item__meta-label {
font-weight: 700;
color: #6a6a6a;
}
.las-cart-item__controls {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 8px;
gap: 10px;
}
.las-cart-qty {
display: inline-flex;
align-items: center;
border: 1px solid var(--las-border);
border-radius: 6px;
overflow: hidden;
background: #fff;
}
.las-cart-qty__btn {
background: #f7f7f7;
border: none;
width: 28px;
height: 28px;
cursor: pointer;
font-size: 16px;
color: var(--las-primary);
font-weight: 700;
transition: background 0.15s ease;
}
.las-cart-qty__btn:hover { background: #eaeaea; }
.las-cart-qty__input {
width: 36px;
height: 28px;
border: none;
text-align: center;
font-family: 'Lato', sans-serif;
font-size: 13px;
font-weight: 700;
color: var(--las-primary);
background: #fff;
-moz-appearance: textfield;
padding: 0;
}
.las-cart-qty__input::-webkit-outer-spin-button,
.las-cart-qty__input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.las-cart-qty__input:focus {
outline: 2px solid var(--las-accent);
outline-offset: -2px;
}
.las-cart-item__total {
font-family: 'Oswald', sans-serif;
font-weight: 700;
font-size: 15px;
color: var(--las-primary);
} .las-cart-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 60px 20px;
text-align: center;
color: var(--las-text-muted);
}
.las-cart-empty__icon {
width: 72px;
height: 72px;
color: #d0d0d0;
margin-bottom: 16px;
}
.las-cart-empty__title {
font-family: 'Oswald', sans-serif;
font-weight: 700;
font-size: 20px;
color: var(--las-primary);
margin: 0 0 6px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.las-cart-empty__text {
font-size: 14px;
margin: 0;
} .las-cart-drawer__footer {
flex-shrink: 0;
padding: 18px 22px;
border-top: 1px solid var(--las-border);
background: #fafafa;
position: sticky;
bottom: 0;
}
.las-cart-drawer__footer[hidden],
.las-cart-drawer__footer.is-hidden {
display: none !important;
}
.las-cart-subtotal {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 14px;
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
}
.las-cart-subtotal__label {
font-weight: 400;
font-size: 15px;
color: var(--las-text);
letter-spacing: 0.5px;
}
.las-cart-subtotal__value {
font-weight: 700;
font-size: 20px;
color: var(--las-primary);
}
.las-cart-drawer__actions {
display: block;
}
.las-cart-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 14px 16px;
border-radius: 6px;
font-family: 'Oswald', sans-serif;
font-weight: 700;
font-size: 15px;
letter-spacing: 0.6px;
text-transform: uppercase;
text-decoration: none;
text-align: center;
cursor: pointer;
border: none;
transition: background 0.2s ease, transform 0.1s ease, color 0.2s ease;
line-height: 1.2;
width: 100%;
}
.las-cart-btn--ghost {
background: #fff;
color: var(--las-primary);
border: 1.5px solid var(--las-primary);
}
.las-cart-btn--ghost:hover {
background: var(--las-primary);
color: #fff;
}
.las-cart-btn--primary {
background: var(--las-accent);
color: #fff;
}
.las-cart-btn--primary:hover {
background: #d13a37;
color: #fff;
}
.las-cart-btn:active { transform: translateY(1px); } .las-cart-drawer .woocommerce-Price-amount,
.las-cart-drawer .amount {
font-family: inherit;
} @media (max-width: 480px) {
.las-cart-drawer { width: 100vw; }
.las-cart-fab {
width: 54px;
height: 54px;
bottom: 18px;
}
.las-cart-fab--right { right: 18px; }
.las-cart-fab--left  { left: 18px; }
.las-cart-drawer__header { padding: 14px 18px; }
.las-cart-drawer__title { font-size: 18px; }
.las-cart-drawer__body { padding: 12px 16px; }
.las-cart-drawer__footer { padding: 16px 18px; }
.las-cart-item__thumb { flex: 0 0 64px; width: 64px; height: 64px; }
} body.las-cart-open { overflow: hidden; }