.btn-preview-action.primary {
    border: none !important;
}

.cart-sidebar {
    width: 420px;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #10b981, #059669);
}

.cart-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-header h3::before {
    content: "\f07a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 24px;
}

.close-cart {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #fff;
}

.close-cart:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9fafb;
}

.empty-cart {
    text-align: center;
    color: #9ca3af;
    padding: 60px 20px;
    font-size: 15px;
}

.empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    text-align: center;
}

.empty-cart-state i {
    font-size: 80px;
    color: #d1d5db;
    margin-bottom: 24px;
}

.empty-cart-state h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.empty-cart-state p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-explore {
    padding: 10px 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

body.dark-theme .empty-cart-state h3 {
    color: #f9fafb;
}

body.dark-theme .empty-cart-state p {
    color: #9ca3af;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-remove {
    background: #fee;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

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

.cart-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.cart-summary {
    margin-bottom: 16px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 12px;
    color: #6b7280;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    padding: 16px;
    background: #f0fdf4;
    border-radius: 10px;
    margin-top: 12px;
}

.btn-clear-cart {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.btn-clear-cart:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.cart-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 11px;
    color: #6b7280;
    flex-wrap: wrap;
}

.cart-security i {
    color: #10b981;
    margin-right: 4px;
}

body.dark-theme .btn-clear-cart {
    background: #374151;
    border-color: #4b5563;
    color: #9ca3af;
}

body.dark-theme .btn-clear-cart:hover {
    border-color: #ef4444;
    color: #ef4444;
}

body.dark-theme .cart-header {
    background: linear-gradient(135deg, #059669, #047857);
}

body.dark-theme .cart-items {
    background: #2a2a2a;
}

body.dark-theme .cart-item {
    background: #374151;
}

body.dark-theme .cart-footer {
    background: #252525;
}

body.dark-theme .cart-total {
    background: #2e2e2e;
    color: #f9fafb;
}

@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
    }
}
