[v-cloak] {
    display: none !important;
}

/* Custom Scrollbar for Drawer */
.side-cart-content::-webkit-scrollbar {
    width: 6px;
}

.side-cart-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.side-cart-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.side-cart-content::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Side Cart Drawer */
.side-cart-drawer {

    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.side-cart-drawer.open {
    right: 0;
}

.side-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.side-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Header */
.side-cart-header {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f1f1;
}

.side-cart-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

.side-cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.side-cart-close:hover {
    color: #000;
}

/* Content */
.side-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    margin-bottom: 4px;
    line-height: 1.4;
}

.cart-item-size {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 6px;
}

.cart-item-price-qty {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
}

.cart-item-remove {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #999;
    text-decoration: underline;
    cursor: pointer;
}

.cart-item-remove:hover {
    color: #ef4444;
}

/* Footer */
.side-cart-footer {
    padding: 25px;
    border-top: 1px solid #f1f1f1;
    background: #fff;
}

.side-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.side-cart-total span:first-child {
    font-size: 1.1rem;
    color: #444;
}

.side-cart-total span:last-child {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.side-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-cart-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    border: 1px solid #d1d1d1;
    background: #fff;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-cart-secondary:hover {
    background: #f8f9fa;
    border-color: #1a1a1a;
}

.btn-cart-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    background: #000;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.btn-cart-primary:hover {
    opacity: 0.9;
    color: #fff;
}

/* Responsive */
@media (max-width: 480px) {
    .side-cart-drawer {
        width: 100%;
        right: -100%;
    }
}

/* Empty State */
.empty-cart-message {
    text-align: center;
    padding: 40px 0;
    color: #888;
}

.empty-cart-message i {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
    opacity: 0.3;
}