body {
  background-color: #f5f7fa;
  font-family: 'Tajawal', sans-serif;
  padding-top: 70px;
  margin: 0;
}

.navbar {
  background: #136640;
  color: white;
  z-index: 1050;
  height: 70px;
}

.navbar-brand img {
  height: 40px;
}

.container {
  max-width: 1100px;
  margin-top: 50px;
  padding: 0 20px;
}

.favorite-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  padding: 20px;
  transition: 0.3s ease;
}

.favorite-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.favorite-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.favorite-item .item-info {
  margin-left: 20px;
  flex-grow: 1;
}

.favorite-item .item-info h5 {
  font-size: 18px;
  color: #136640;
  font-weight: bold;
}

.favorite-item .item-info p {
  color: #555;
  font-size: 16px;
}

.favorite-item .item-actions {
  display: flex;
  align-items: center;
}

.favorite-item .item-actions .btn {
  margin-left: 10px;
}

.favorite-item .remove-btn {
  color: #d9534f;
}

.favorite-item .remove-btn:hover {
  color: #c9302c;
}

.card {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  margin-bottom: 30px;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
  background: #136640;
  color: white;
  font-size: 18px;
  font-weight: bold;
  padding: 15px;
}

.balance-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.balance-card h2 {
  font-size: 36px;
  color: #136640;
  font-weight: bold;
}

.transaction-table th,
.transaction-table td {
  text-align: center;
  vertical-align: middle;
}

.transaction-table {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.btn-custom {
  background-color: #136640;
  color: white;
  width: 100%;
  font-weight: 600;
  padding: 12px;
  border-radius: 5px;
  transition: 0.3s ease;
}

.btn-custom:hover {
  background-color: #28a745;
  color: white;
}

.sidebar {
  width: 250px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  right: 0; /* جعل الشريط الجانبي على اليمين */
  height: 100%;
  padding-top: 70px;
  z-index: 1040;
  transition: 0.3s ease;
}

.sidebar a {
  display: block;
  padding: 15px 25px;
  color: #444;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid #f1f1f1;
  transition: all 0.3s ease;
}

.sidebar a.active,
.sidebar a:hover {
  background-color: #e0f7f5;
  color: #00796b;
}

.main-content {
  margin-right: 250px; /* تعديل المسافة للتوافق مع الشريط الجانبي */
  padding: 30px;
  min-height: 100vh;
  transition: 0.3s ease;
}

.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: fixed;
  top: 70px;
  background-color: #f5f7fa;
  width: calc(100% - 250px);
  padding: 15px 30px;
  z-index: 1035;
  border-bottom: 1px solid #ddd;
}

.category-btn {
  background-color: #ffffff;
  border: 2px solid #136640;
  color: #136640;
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
  background-color: #136640;
  color: white;
}

.product-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card .card-body {
  padding: 20px;
  flex-grow: 1;
}

.product-card .price {
  font-weight: bold;
  color: #28a745;
  font-size: 16px;
}

.footer {
  margin-top: 50px;
  padding: 20px;
  text-align: center;
  color: #aaa;
  background-color: #fff;
  border-top: 1px solid #ddd;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
  }
  .sidebar {
    width: 220px;
  }
  .main-content {
    margin-right: 220px;
  }
}

@media (max-width: 992px) {
  .sidebar {
    width: 200px;
  }
  .main-content {
    margin-right: 200px;
  }
  .category-bar {
    width: calc(100% - 200px);
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 60px;
  }
  .category-bar {
    flex-direction: column;
    gap: 15px;
    padding: 10px 20px;
  }
  .product-card {
    margin-bottom: 20px;
  }
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    padding-top: 20px;
  }
  .main-content {
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 0 15px;
  }
  .favorite-item img {
    width: 100px;
    height: 100px;
  }
  .favorite-item .item-info h5 {
    font-size: 16px;
  }
  .category-btn {
    font-size: 12px;
    padding: 5px 15px;
  }
  .balance-card h2 {
    font-size: 28px;
  }
  .product-card .card-body {
    padding: 15px;
  }
}
/* Styles for Dark Mode */
body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

.navbar.dark-mode {
  background: linear-gradient(90deg, #1e2a2f, #1c2c30);
}

.sidebar.dark-mode {
  background: #1f1f1f;
  color: #ffffff;
}

.sidebar.dark-mode a {
  color: #dcdcdc;
}

.sidebar.dark-mode a.active,
.sidebar.dark-mode a:hover {
  background-color: #444444;
  color: #00bfae;
}

.favorite-item.dark-mode {
  background-color: #333333;
  color: #ffffff;
}

.favorite-item.dark-mode .item-info h5 {
  color: #00bfae;
}

.card.dark-mode {
  background-color: #2c2c2c;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.balance-card.dark-mode {
  background-color: #2c2c2c;
  color: #ffffff;
}

.transaction-table.dark-mode {
  background-color: #333333;
  color: #ffffff;
}

.btn-custom.dark-mode {
  background-color: #00bfae;
}

.btn-custom.dark-mode:hover {
  background-color: #00796b;
}

.product-card.dark-mode {
  background-color: #333333;
}

.footer.dark-mode {
  background-color: #1f1f1f;
  color: #888888;
}

/* أنماط تسجيل الدخول */
:root {
    --primary-color: #136640;
    --primary-dark: #35b16f;
    --primary-light: #9ddbba;
    --background: #cbbba0;
    --surface: #FFFFFF;
    --text-primary: #212121;
    --text-secondary: #757575;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-container {
    max-width: 500px;
    width: 90%;
    margin: 2rem auto;
    background-color: var(--surface);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo img {
    width: 10rem;
    height: 4rem;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(24%) sepia(95%) saturate(1073%) hue-rotate(127deg) brightness(92%) contrast(101%);
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    filter: brightness(0) saturate(100%) invert(24%) sepia(95%) saturate(1073%) hue-rotate(127deg) brightness(100%) contrast(101%);
}

.auth-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(87, 194, 132, 0.2);
    outline: none;
}

.btn {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(19, 102, 64, 0.3);
}

.btn-google {
    background-color: white;
    color: #757575;
    border: 1px solid #e0e0e0;
}

.btn-google:hover {
    background-color: #f5f5f5;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider::before {
    margin-left: 1rem;
}

.divider::after {
    margin-right: 1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-link {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.forgot-password {
    text-align: left;
    margin-top: -0.8rem;
    margin-bottom: 1rem;
}

.forgot-password a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
}

.forgot-password a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-container {
        padding: 1.5rem;
    }
}


:root {
    --primary-color: #57c284;
    --primary-dark: #35b16f;
    --background: #F5F5F5;
    --surface: #FFFFFF;
    --text-primary: #212121;
    --text-secondary: #757575;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(to bottom, rgba(203, 187, 160, 0.8), rgba(203, 187, 160, 0.6));
}

.auth-container {
    max-width: 500px;
    width: 90%;
    margin: 2rem auto;
    background-color: var(--surface);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(19, 102, 64, 0.15);
    padding: 2rem;
    border: 1px solid rgba(19, 102, 64, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.auth-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(19, 102, 64, 0.2);
    outline: none;
}

.btn {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.profile-picture-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(19, 102, 64, 0.05);
    margin: 0 auto 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(19, 102, 64, 0.2);
}

.profile-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-preview i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.file-input {
    display: none;
}

.file-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(19, 102, 64, 0.2);
}

.file-label:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(19, 102, 64, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.auth-link:hover {
    text-decoration: underline;
}


/* تصميم كارت المنتج */
.product-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 10px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
  transform: scale(1.05);
}

.product-badge-container {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.badge {
  background-color: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.bg-secondary {
  background-color: #6c757d !important;
}

.bg-warning {
  background-color: #ffc107 !important;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  height: 40px;
  overflow: hidden;
}

.price {
  font-size: 18px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.quick-actions {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.product-card:hover .quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background-color: #007bff;
  color: white;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.btn-primary {
  background-color: #3498db;
  border-color: #3498db;
}

.btn-success {
  background-color: #2ecc71;
  border-color: #2ecc71;
}
/* تصميم كارت المنتج المحسن */
:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --accent-color: #e74c3c;
  --dark-color: #2c3e50;
  --text-color: #333333;
  --light-color: #f8f9fa;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 5px rgba(0,0,0,0.08);
  --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 15px 30px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --border-radius: 10px;
}

/* تصميم الكارت الرئيسي */
.product-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  margin-bottom: 20px;
  background-color: #ffffff;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* تصميم صورة المنتج */
.product-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
  transform: scale(1.08);
}

/* شارات المنتج */
.product-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.badge {
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.badge-new {
  background-color: var(--accent-color);
  color: white;
}

.badge-discount {
  background-color: var(--secondary-color);
  color: white;
}

/* أزرار سريعة */
.quick-actions {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(-15px);
  transition: var(--transition);
  z-index: 2;
}

.product-card:hover .quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark-color);
}

.action-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

/* زر العرض السريع */
.quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 15px;
  transform: translateY(100%);
  transition: var(--transition);
  display: flex;
  justify-content: center;
}

.product-card:hover .quick-view {
  transform: translateY(0);
}

.quick-view-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 7px 15px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.quick-view-btn:hover {
  background-color: #2980b9;
}

/* تصميم محتوى الكارت */
.card-body {
  padding: 15px;
}

/* فئة المنتج */
.product-category {
  margin-bottom: 5px;
}

.product-category span {
  color: #6c757d;
  font-size: 12px;
}

/* اسم المنتج */
.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  height: 40px;
  overflow: hidden;
  color: var(--dark-color);
}

/* وصف المنتج */
.product-description {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 10px;
  height: 40px;
  overflow: hidden;
  line-height: 1.4;
}

/* تقييم المنتج */
.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.product-rating i {
  color: #ffc107;
  margin-left: 2px;
}

.rating-count {
  color: #6c757d;
  font-size: 12px;
  margin-right: 5px;
}

/* سعر المنتج */
.product-price {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.current-price {
  font-size: 18px;
  font-weight: bold;
  color: var(--dark-color);
}

.old-price {
  font-size: 14px;
  color: #6c757d;
  text-decoration: line-through;
}

/* حالة المخزون */
.stock-status {
  margin-bottom: 10px;
  font-size: 13px;
}

.in-stock {
  color: var(--secondary-color);
}

.out-of-stock {
  color: var(--accent-color);
}

/* خصائص المنتج */
.product-features {
  margin-bottom: 10px;
}

.feature-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-color);
  background-color: var(--light-color);
  border: 1px solid var(--border-color);
}

.color-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid #dee2e6;
}

/* أزرار المنتج */
.product-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.btn {
  border-radius: 4px;
  font-size: 13px;
  padding: 6px 12px;
  transition: var(--transition);
}

.btn-details {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-details:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-cart {
  background-color: var(--secondary-color);
  color: white;
  border: none;
}

.btn-cart:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
}

/* تأثيرات إضافية */
.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0));
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover::after {
  opacity: 1;
}

/* تصميم متجاوب */
@media (max-width: 992px) {
  .col-md-3 {
    width: 33.333%;
  }
}

@media (max-width: 768px) {
  .col-md-3 {
    width: 50%;
  }

  .product-image-wrapper {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .col-md-3 {
    width: 100%;
  }
}
/* تأكد من تضمين Font Awesome لاستخدام الأيقونات */



h1.page-title {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.favorite-item {
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
}

.favorite-item .image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.favorite-item .info {
  flex: 1;
  margin-right: 20px;
}

.favorite-item .product-name {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.favorite-item .price {
  margin: 5px 0 10px;
  color: #777;
  font-weight: bold;
}

.actions {
  display: flex;
  gap: 10px;
}

.buy-btn {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
}

.remove-btn {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
}
.buy-btn:hover {
  background: #45a049;
}



/* Responsive */
@media (max-width: 600px) {
  .favorite-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .favorite-item .image img {
    width: 80px;
    height: 80px;
  }
}
