/* New Sidebar Styles for Wishlist and Cart */
    .sidebar-panel {
      position: fixed;
      top: 0;
      width: 100%;
      max-width: 380px;
      height: 100%;
      background: var(--white);
      z-index: 1400;
      box-shadow: -2px 0 18px rgba(0,0,0,0.12);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
    }
    
    .wishlist-panel {
      right: -380px;
    }
    
    .cart-panel {
      right: -380px;
    }
    
    .wishlist-panel.open, .cart-panel.open {
      transform: translateX(-380px);
    }
    
    .panel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px;
      border-bottom: 1px solid rgba(0,0,0,0.05);
      background: var(--black);
      color: var(--white);
      position: sticky;
      top: 0;
      z-index: 10;
    }
    
    .panel-title {
      font-size: 18px;
      font-weight: 600;
      margin: 0;
      color: var(--white);
    }
    
    .panel-close {
      background: transparent;
      border: 0;
      color: var(--white);
      font-size: 20px;
      cursor: pointer;
    }
    
    .panel-content {
      padding: 16px;
      flex: 1;
    }
    
    .empty-state {
      text-align: center;
      padding: 40px 20px;
      color: var(--medium-gray);
    }
    
    .empty-state i {
      font-size: 48px;
      margin-bottom: 16px;
      opacity: 0.3;
    }
    
    .empty-state p {
      margin: 0 0 24px;
    }
    
    .btn-continue {
      background: var(--black);
      color: var(--white);
      border: 0;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
    }
    
    .btn-continue:hover {
      background: var(--wood);
      color: var(--black);
    }
    
    .panel-item {
      display: flex;
      gap: 12px;
      padding: 16px 0;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .panel-item-img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 8px;
    }
    
    .panel-item-details {
      flex: 1;
    }
    
    .panel-item-title {
      font-size: 14px;
      font-weight: 600;
      margin: 0 0 6px;
    }
    
    .panel-item-price {
      color: var(--wood);
      font-weight: 700;
      margin: 0 0 8px;
    }
    
    .panel-item-actions {
      display: flex;
      gap: 12px;
    }
    
    .panel-item-remove {
      background: transparent;
      border: 0;
      color: var(--medium-gray);
      font-size: 12px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    
    .panel-item-remove:hover {
      color: var(--accent);
    }
    
    .panel-footer {
      padding: 16px;
      border-top: 1px solid rgba(0,0,0,0.05);
      background: var(--light-gray);
      position: sticky;
      bottom: 0;
    }
    
    .panel-subtotal {
      display: flex;
      justify-content: space-between;
      margin-bottom: 16px;
      font-weight: 600;
    }
    
    .panel-checkout {
      background: var(--black);
      color: var(--white);
      border: 0;
      padding: 16px;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      width: 100%;
      transition: var(--transition);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    
    .panel-checkout:hover {
      background: var(--wood);
      color: var(--black);
    }
    
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.5);
      z-index: 1300;
      display: none;
    }
    
    .overlay.open {
      display: block;
    }
    
    /* Animation for items added to cart/wishlist */
    @keyframes flyToCart {
      0% { transform: scale(1); opacity: 1; }
      100% { transform: scale(0.2); opacity: 0; }
    }
    
    .fly-to-cart {
      position: fixed;
      pointer-events: none;
      z-index: 1500;
      animation: flyToCart 0.8s forwards;
    }
    /* Add to style.css */
    .wishlist-panel, .cart-panel {
      z-index: 1500; /* Higher than bottom nav's 1400 */
    }

    .overlay {
      z-index: 1450; /* Between panels and bottom nav */
    }
    /* Add to style.css in index.html */
    .panel-item-quantity {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 8px 0;
    }

    .quantity-btn {
      background: var(--light-gray);
      border: 1px solid var(--medium-gray);
      width: 24px;
      height: 24px;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: var(--transition);
    }

    .quantity-btn:hover {
      background: var(--wood);
      color: var(--white);
      border-color: var(--wood);
    }

    .panel-item-quantity .quantity {
      font-weight: 600;
    }
    
    /* Wishlist button active state */
    .wish-btn.active i {
      color: #c91818 !important;
    }
  