/* Sidebar Cart */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 90%;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
  }
  .cart-sidebar.open { right: 0; }
  
  .cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
  }
  .cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
  }
  .cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }
  .cart-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-left: 10px;
  }
  .cart-item .info {
    flex: 1;
  }
  .cart-item .info h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
  }
  .cart-item .info .price {
    font-size: 13px;
    color: #666;
  }
  .cart-item .actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .cart-item .qty-controls {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .qty-btn {
    border: none;
    background: #f1f1f1;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .qty-btn:hover { background: #e2e6ea; }
  .remove-btn {
    border: none;
    background: transparent;
    color: #dc3545;
    cursor: pointer;
  }
  .remove-btn:hover { color: #b02a37; }
  
  .cart-footer {
    padding: 16px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
  }
  .cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
  }
  .cart-overlay.active { display: block; }
  