/* Shopping Cart Overlay Styles */

.cart-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-wrapper.active {
  display: flex;
  opacity: 1;
}

.cart-overlay {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.cart-wrapper.active .cart-overlay {
  transform: scale(1) translateY(0);
}

/* Close Button */
.cart-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  z-index: 10001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.cart-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ffffff;
  transform: scale(1.1);
}

/* Cart Header */
.cart-header {
  background: linear-gradient(135deg, #042D6B, #1e40af);
  color: white !important;
  padding: 30px 80px 30px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.cart-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: white !important;
}

.cart-header h2 span {
  color: white !important;
}

.cart-refresh-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Cart Content Wrapper */
.cart-content-wrapper {
  flex: 1;
  overflow-y: auto;
  max-height: calc(90vh - 160px);
}

/* Loading State */
.cart-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  color: #666;
}

.cart-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #042D6B;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Empty Cart State */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  text-align: center;
  color: #666;
}

.cart-empty i {
  font-size: 64px;
  color: #d1d5db;
  margin-bottom: 20px;
}

.cart-empty h3 {
  font-size: 24px;
  color: #374151;
  margin-bottom: 12px;
}

.cart-empty p {
  font-size: 16px;
  margin-bottom: 30px;
}

.cart-start-shopping-btn {
  background: #042D6B;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-start-shopping-btn:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 45, 107, 0.3);
}

/* Cart Items */
.cart-items {
  padding: 0;
}

#cart-items-container {
  padding: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  grid-template-rows: auto auto;
  gap: 12px 14px;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
  background: white;
  align-items: start;
}

.cart-item:hover {
  background: #f9fafb;
}

.cart-item:last-child {
  border-bottom: none;
}

/* Image - Row 1, Col 1 (spans 2 rows) */
.cart-item-image {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8f9fa;
  padding: 6px;
  border: 1px solid #e5e7eb;
  grid-row: 1 / 3;
  grid-column: 1;
  transition: all 0.2s ease;
}

.cart-item:hover .cart-item-image {
  border-color: #cbd5e0;
}

/* Details Section - Row 1, Col 2 */
.cart-item-details {
  grid-row: 1;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cart-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a2151;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 2px;
}

.cart-item-vendor {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 4px;
}

/* Condition Badge - Inline, compact */
.cart-item-condition-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid;
  width: fit-content;
}

.cart-item-condition-badge.new {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.3);
  color: #059669;
}

.cart-item-condition-badge.used {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
  color: #f97316;
}

.cart-item-condition-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Delivery Timing Text - Bold display above badges */
.cart-item-delivery-timing {
  font-size: 12px;
  font-weight: 700;
  color: #1A2151;
  margin-top: 6px;
  margin-bottom: 4px;
}

/* Cart Item Info Row - Horizontal layout for badges and button */
.cart-item-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Return Shipping Badge */
.cart-item-return-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid;
  white-space: nowrap;
  width: fit-content;
}

.cart-item-return-badge.free {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.3);
  color: #059669;
}

.cart-item-return-badge.cost {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
  color: #f97316;
}

.cart-item-return-badge i {
  font-size: 10px;
}

/* Details Button - Inline in info row */
.cart-item-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: none;
  border: none;
  color: #042D6B;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: underline;
  text-decoration-color: transparent;
  width: fit-content;
}

.cart-item-details-btn:hover {
  color: #1e40af;
  text-decoration-color: #1e40af;
}

.cart-item-details-btn i {
  font-size: 12px;
}

/* Price Section - Row 1, Col 3 (compact, vertical) */
.cart-item-price {
  grid-row: 1;
  grid-column: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 0;
  background: none;
  border: none;
}

.cart-item-current-price {
  font-size: 18px;
  font-weight: 700;
  color: #059669;
  line-height: 1.2;
}

.cart-item-original-price {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: line-through;
  line-height: 1.2;
}

.cart-item-savings {
  font-size: 12px;
  color: #059669;
  font-weight: 600;
  background: rgba(5, 150, 105, 0.12);
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.2;
  margin-top: 3px;
}

/* Controls - Row 1, Col 4 */
.cart-item-controls {
  grid-row: 1;
  grid-column: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  background: rgba(26, 33, 81, 0.05);
  border: 1px solid rgba(26, 33, 81, 0.1);
  border-radius: 20px;
  overflow: hidden;
}

.quantity-btn {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1a2151;
  transition: all 0.2s ease;
  font-size: 14px;
}

.quantity-btn:hover:not(:disabled) {
  background: rgba(26, 33, 81, 0.1);
  color: #1a2151;
}

.quantity-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.quantity-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.quantity-display {
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #1a2151;
  min-width: 40px;
  text-align: center;
}

.remove-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 16px;
}

.remove-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  transform: scale(1.1);
}

.remove-btn:active {
  transform: scale(0.95);
}

/* Cart Summary */
.cart-summary {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 30px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
}

.cart-summary-row.savings {
  color: #059669;
  font-weight: 600;
}

.cart-summary-row.total {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  padding-top: 16px;
  border-top: 2px solid #e5e7eb;
  margin-top: 16px;
  margin-bottom: 8px;
}

.cart-total-note {
  text-align: right;
  font-size: 12px;
  color: #6b7280;
  font-style: italic;
  margin-bottom: 24px;
  padding-right: 4px;
}

.cart-checkout-btn {
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cart-checkout-btn:hover {
  background: linear-gradient(135deg, #047857, #059669);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.cart-clear-btn {
  background: none;
  color: #ef4444;
  border: 1px solid #ef4444;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.cart-clear-btn:hover {
  background: #ef4444;
  color: white;
}

/* Error State */
.cart-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  text-align: center;
}

.cart-error i {
  font-size: 64px;
  color: #f59e0b;
  margin-bottom: 20px;
}

.cart-error h3 {
  font-size: 24px;
  color: #374151;
  margin-bottom: 12px;
}

.cart-error p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 30px;
}

.cart-retry-btn {
  background: #042D6B;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-retry-btn:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 45, 107, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cart-overlay {
    width: 95%;
    max-height: 95vh;
  }

  .cart-header {
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cart-header h2 {
    font-size: 20px;
  }

  /* Mobile cart item: Stack vertically */
  .cart-item {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
  }

  .cart-item-image {
    width: 60px;
    height: 60px;
    grid-row: 1;
    grid-column: 1;
  }

  .cart-item-details {
    grid-row: 1;
    grid-column: 2;
  }

  .cart-item-name {
    font-size: 14px;
  }

  .cart-item-vendor {
    font-size: 11px;
  }

  .cart-item-price {
    grid-row: 2;
    grid-column: 1 / 3;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cart-item-controls {
    grid-row: 3;
    grid-column: 1 / 3;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .cart-summary {
    padding: 20px;
  }
}

/* =====================================================
   PRODUCT DETAILS MODAL - Matching Flutter Design
   ===================================================== */

.product-details-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-details-backdrop.active {
  display: flex;
  opacity: 1;
}

.product-details-modal {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.product-details-backdrop.active .product-details-modal {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.product-details-header {
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.product-details-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1A2151;
}

.product-details-close-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.product-details-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: scale(1.05);
}

/* Modal Content */
.product-details-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.product-details-content::-webkit-scrollbar {
  width: 6px;
}

.product-details-content::-webkit-scrollbar-track {
  background: transparent;
}

.product-details-content::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

/* Product Image Section */
.product-details-image-container {
  width: 100%;
  height: 300px;
  background: #f9fafb;
  border-radius: 12px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-details-image-container:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-details-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.product-details-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.product-details-zoom-hint i {
  font-size: 14px;
}

/* Product Name */
.product-details-name {
  font-size: 18px;
  font-weight: 700;
  color: #1A2151;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* Condition Info Card */
.product-details-condition-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-details-condition-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-details-condition-icon-wrapper.new {
  background: rgba(5, 150, 105, 0.15);
  color: #059669;
}

.product-details-condition-icon-wrapper.used {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.product-details-condition-icon-wrapper i {
  font-size: 22px;
}

.product-details-condition-info {
  flex: 1;
}

.product-details-condition-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.product-details-condition-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
}

.product-details-condition-value.new {
  background: rgba(5, 150, 105, 0.15);
  border-color: rgba(5, 150, 105, 0.4);
  color: #059669;
}

.product-details-condition-value.used {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  color: #f97316;
}

.product-details-condition-value svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Delivery Information Card */
.product-details-delivery-card {
  background: rgba(4, 45, 107, 0.03);
  border: 1px solid rgba(4, 45, 107, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.product-details-delivery-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.product-details-delivery-icon {
  font-size: 20px;
  color: #042D6B;
}

.product-details-delivery-title {
  font-size: 14px;
  font-weight: 600;
  color: #1A2151;
}

.product-details-delivery-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-details-delivery-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.product-details-delivery-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 12px;
}

.product-details-delivery-icon-small {
  font-size: 16px;
  color: #6b7280;
}

.product-details-delivery-item.free .product-details-delivery-icon-small {
  color: #059669;
}

.product-details-delivery-item.cost .product-details-delivery-icon-small {
  color: #f59e0b;
}

.product-details-delivery-label {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

.product-details-delivery-value {
  font-size: 13px;
  font-weight: 600;
  color: #1A2151;
}

.product-details-delivery-text {
  font-size: 13px;
  font-weight: 600;
}

.product-details-delivery-item.free .product-details-delivery-text {
  color: #059669;
}

.product-details-delivery-item.cost .product-details-delivery-text {
  color: #b45309;
}

/* Description Section */
.product-details-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1A2151;
  margin-bottom: 12px;
}

.product-details-description-box {
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
  max-height: 200px;
  overflow-y: auto;
  line-height: 1.6;
  color: #374151;
  font-size: 14px;
}

.product-details-description-box::-webkit-scrollbar {
  width: 6px;
}

.product-details-description-box::-webkit-scrollbar-track {
  background: transparent;
}

.product-details-description-box::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

/* =====================================================
   IMAGE VIEWER (FULLSCREEN)
   ===================================================== */

.image-viewer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-viewer-backdrop.active {
  display: flex;
  opacity: 1;
}

.image-viewer-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.image-viewer-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.image-viewer-image.zoomed {
  cursor: zoom-out;
}

.image-viewer-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.image-viewer-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Zoom Controls */
.image-viewer-controls {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.image-viewer-zoom-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.image-viewer-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.image-viewer-zoom-btn:active {
  transform: scale(0.95);
}

.image-viewer-zoom-level {
  color: white;
  font-size: 14px;
  font-weight: 600;
  min-width: 50px;
  text-align: center;
}

/* Responsive - Product Details Modal */
@media (max-width: 768px) {
  .product-details-modal {
    width: 95%;
    max-height: 90vh;
    border-radius: 16px;
  }

  .product-details-header {
    padding: 20px;
  }

  .product-details-header h3 {
    font-size: 18px;
  }

  .product-details-content {
    padding: 20px;
  }

  .product-details-image-container {
    height: 250px;
  }

  .product-details-name {
    font-size: 16px;
  }
}

/* =====================================================
   ENHANCED NOTIFICATION TOASTS - Matching Flutter
   ===================================================== */

.cart-notification-toast {
  position: fixed;
  top: 80px;
  right: 20px;
  min-width: 320px;
  max-width: 400px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 16px;
  z-index: 10003;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cart-notification-toast.active {
  opacity: 1;
  transform: translateX(0);
}

.cart-notification-toast.removing {
  opacity: 0;
  transform: translateX(400px);
}

/* Icon Container */
.cart-notification-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-notification-toast.removed .cart-notification-icon {
  background: rgba(220, 38, 38, 0.15);
  color: #dc2626;
}

.cart-notification-toast.price-decrease .cart-notification-icon {
  background: rgba(5, 150, 105, 0.15);
  color: #059669;
}

.cart-notification-toast.price-increase .cart-notification-icon {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.cart-notification-toast.info .cart-notification-icon {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.cart-notification-icon i {
  font-size: 20px;
}

/* Content */
.cart-notification-content {
  flex: 1;
  min-width: 0;
}

.cart-notification-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a2151;
  margin-bottom: 4px;
  line-height: 1.2;
}

.cart-notification-message {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Close Button */
.cart-notification-close {
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.cart-notification-close:hover {
  background: rgba(107, 114, 128, 0.2);
  transform: scale(1.1);
}

/* Responsive Notifications */
@media (max-width: 768px) {
  .cart-notification-toast {
    right: 12px;
    left: 12px;
    max-width: none;
    min-width: auto;
  }
}