/* Slide-out Cart Panel Styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 2000;
}
.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}
.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 16px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.3s;
    z-index: 2100;
    display: flex;
    flex-direction: column;
}
.cart-panel.active {
    transform: translateX(0);
}
.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid #eee;
}
.cart-panel-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
}
.cart-panel-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #222;
    cursor: pointer;
    transition: color 0.2s;
}
.cart-panel-close:hover {
    color: #000;
}
.cart-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}
.cart-panel-content .cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
    background: #f8f8f8;
    margin-right: 12px;
    display: block;
}
.cart-empty {
    text-align: center;
    color: #888;
    margin-top: 40px;
}
.cart-panel-footer {
    border-top: 1px solid #eee;
    padding: 16px 24px;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cart-checkout-btn {
    background: #222;
    color: #fff;
    border: none;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.cart-checkout-btn:hover {
    background: #111;
}
@media (max-width: 600px) {
    .cart-panel {
        width: 100vw;
        max-width: 100vw;
    }
}
