 .cart-sidebar {
    position: fixed;
    top: 0;
    right: -500px;
    width: 450px;
    height: 100%;
    background-color: #fff;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 11000;
    overflow-y: auto;
    transition: right 0.3s ease;
    padding: 25px;
    font-family: 'Poppins', Arial, sans-serif !important;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-sidebar-header h5 {
    margin: 0;
    font-size: 18px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cart-item-img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
    margin-left: 10px;
}

.cart-item-name {
    margin: 0;
    font-weight: bold;
}

.cart-item-qty {
    margin: 5px 0 0;
    font-size: 14px;
    color: #555;
}

.cart-item-remove button {
    background: #ff4d4d;
    border: none;
    color: #fff;
    font-size: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
}

.cart-subtotal {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap: 10px;
}

.cart-actions .btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10999;
    transition: opacity 0.3s ease;
}

.remove-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 20px;
    z-index: 10;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.remove-box-content h6 {
    margin: 0 0 10px;
    font-weight: 600;
}

/* ==============================
   Responsive Sidebar
   ============================== */

/* Tablets and smaller desktops (<= 992px) */
@media (max-width: 992px) {
  .cart-sidebar {
    width: 380px;
    padding: 20px;
  }

  .cart-sidebar-header h5 {
    font-size: 16px;
  }

  .cart-item-img img {
    width: 55px;
    height: 55px;
  }
}

/* Mobile landscape & portrait (<= 768px) */
@media (max-width: 768px) {
  .cart-sidebar {
    width: 320px;
    padding: 18px;
  }

  .cart-sidebar-header h5 {
    font-size: 15px;
  }

  .cart-item-img img {
    width: 50px;
    height: 50px;
  }

  .cart-item-name {
    font-size: 14px;
  }

  .cart-item-qty {
    font-size: 12px;
  }

  .cart-actions {
    flex-direction: column;
  }

  .cart-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* Small mobile screens (<= 576px) */
@media (max-width: 576px) {
  .cart-sidebar {
    width: 100%;
    right: -100%;
    padding: 15px;
  }

  .cart-sidebar-header h5 {
    font-size: 14px;
  }

  .cart-item-img img {
    width: 45px;
    height: 45px;
  }

  .cart-item-details {
    margin-left: 8px;
  }

  .cart-item-name {
    font-size: 13px;
  }

  .cart-item-qty {
    font-size: 11px;
  }

  .cart-subtotal {
    font-size: 14px;
  }
}