.cart-page {
  background-color: #f8f9fa;
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}
.cart-page .cart-header .cart-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}
.cart-page .cart-header .cart-subtitle {
  color: #666;
  font-size: 0.95rem;
}
.cart-page .cart-header .cart-subtitle .cart-count {
  font-weight: 600;
  color: #007bff;
}
.cart-page .empty-cart {
  background: white;
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.cart-page .empty-cart .empty-cart-icon {
  font-size: 4rem;
  color: #dee2e6;
  margin-bottom: 1.5rem;
}
.cart-page .empty-cart h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}
.cart-page .empty-cart p {
  color: #666;
  margin-bottom: 2rem;
}
.cart-page .empty-cart .btn-shop {
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
}
.cart-page .cart-items-wrapper {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.cart-page .cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s;
}
.cart-page .cart-item:hover {
  background-color: #f8f9fa;
}
.cart-page .cart-item:last-child {
  border-bottom: none;
}
.cart-page .cart-item .item-checkbox input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.cart-page .cart-item .item-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8f9fa;
}
.cart-page .cart-item .item-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.cart-page .cart-item .item-details {
  flex: 1;
  min-width: 0;
}
.cart-page .cart-item .item-details .item-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  cursor: pointer;
}
.cart-page .cart-item .item-details .item-title:hover {
  color: #007bff;
}
.cart-page .cart-item .item-details .item-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.cart-page .cart-item .item-details .item-options .option-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #f1f3f5;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #495057;
}
.cart-page .cart-item .item-details .item-price-mobile {
  font-size: 1rem;
  font-weight: 600;
  color: #dc3545;
}
.cart-page .cart-item .item-price {
  width: 120px;
  text-align: right;
}
.cart-page .cart-item .item-price .price-current {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #dc3545;
}
.cart-page .cart-item .item-price .price-original {
  display: block;
  font-size: 0.9rem;
  color: #999;
  text-decoration: line-through;
}
.cart-page .cart-item .item-quantity .quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.cart-page .cart-item .item-quantity .quantity-selector .btn-quantity {
  width: 36px;
  height: 36px;
  border: none;
  background: white;
  color: #495057;
  cursor: pointer;
  transition: all 0.2s;
}
.cart-page .cart-item .item-quantity .quantity-selector .btn-quantity:hover {
  background: #f8f9fa;
  color: #007bff;
}
.cart-page .cart-item .item-quantity .quantity-selector .btn-quantity:active {
  transform: scale(0.95);
}
.cart-page .cart-item .item-quantity .quantity-selector .btn-quantity:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cart-page .cart-item .item-quantity .quantity-selector .quantity-input {
  width: 50px;
  height: 36px;
  border: none;
  text-align: center;
  font-weight: 600;
  color: #1a1a1a;
  -moz-appearance: textfield;
}
.cart-page .cart-item .item-quantity .quantity-selector .quantity-input::-webkit-outer-spin-button, .cart-page .cart-item .item-quantity .quantity-selector .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-page .cart-item .item-quantity .quantity-selector .quantity-input:focus {
  outline: none;
}
.cart-page .cart-item .item-total {
  width: 120px;
  text-align: right;
}
.cart-page .cart-item .item-total .total-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
}
.cart-page .cart-item .item-actions .btn-remove {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #dc3545;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}
.cart-page .cart-item .item-actions .btn-remove:hover {
  background: #ffebee;
  transform: scale(1.1);
}
.cart-page .cart-summary-wrapper {
  position: sticky;
  top: 100px;
}
.cart-page .voucher-section {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.cart-page .voucher-section .section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}
.cart-page .voucher-section .voucher-input-group {
  display: flex;
  gap: 0.5rem;
}
.cart-page .voucher-section .voucher-input-group .form-control {
  flex: 1;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.75rem;
}
.cart-page .voucher-section .voucher-input-group .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.1);
}
.cart-page .voucher-section .voucher-input-group .btn-apply {
  padding: 0.75rem 1.5rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
}
.cart-page .voucher-section .voucher-input-group .btn-apply:hover {
  background: #0056b3;
}
.cart-page .voucher-section .voucher-input-group .btn-apply:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cart-page .voucher-section .voucher-message {
  font-size: 0.85rem;
  padding: 0.5rem;
  border-radius: 6px;
}
.cart-page .voucher-section .voucher-message.success {
  color: #28a745;
  background: #d4edda;
}
.cart-page .voucher-section .voucher-message.error {
  color: #dc3545;
  background: #f8d7da;
}
.cart-page .voucher-section .applied-voucher {
  margin-top: 1rem;
}
.cart-page .voucher-section .applied-voucher .voucher-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
}
.cart-page .voucher-section .applied-voucher .voucher-tag i {
  font-size: 1rem;
}
.cart-page .voucher-section .applied-voucher .voucher-tag .voucher-name {
  flex: 1;
  font-weight: 600;
}
.cart-page .voucher-section .applied-voucher .voucher-tag .btn-remove-voucher {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}
.cart-page .voucher-section .applied-voucher .voucher-tag .btn-remove-voucher:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.cart-page .cart-summary {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.cart-page .cart-summary .section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}
.cart-page .cart-summary .summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 0.95rem;
}
.cart-page .cart-summary .summary-item span:first-child {
  color: #666;
}
.cart-page .cart-summary .summary-item span:last-child {
  font-weight: 600;
  color: #1a1a1a;
}
.cart-page .cart-summary .summary-item.discount-item span:last-child {
  color: #dc3545;
}
.cart-page .cart-summary .summary-divider {
  height: 1px;
  background: #e9ecef;
  margin: 1rem 0;
}
.cart-page .cart-summary .summary-total {
  padding: 1rem 0 0 0;
}
.cart-page .cart-summary .summary-total span {
  font-size: 1.2rem;
  font-weight: 700;
}
.cart-page .cart-summary .summary-total span:last-child {
  color: #dc3545;
}
.cart-page .cart-summary .checkout-actions {
  margin-top: 1.5rem;
}
.cart-page .cart-summary .checkout-actions .btn-checkout {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  margin-bottom: 0.75rem;
}
.cart-page .cart-summary .checkout-actions .btn-checkout:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
}
.cart-page .cart-summary .checkout-actions .btn-checkout:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cart-page .cart-summary .checkout-actions .btn-continue-shopping {
  width: 100%;
  padding: 0.875rem;
  background: white;
  color: #495057;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  display: block;
  transition: all 0.2s;
  text-decoration: none;
}
.cart-page .cart-summary .checkout-actions .btn-continue-shopping:hover {
  background: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
}
.cart-page .cart-summary .payment-methods-info .info-title {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.75rem;
  text-align: center;
}
.cart-page .cart-summary .payment-methods-info .payment-icons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cart-page .cart-summary .payment-methods-info .payment-icons img {
  height: 28px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.cart-page .cart-summary .payment-methods-info .payment-icons img:hover {
  opacity: 1;
}
.cart-page .recommended-section .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
  .cart-page .cart-item {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .cart-page .cart-item .item-checkbox {
    order: 1;
  }
  .cart-page .cart-item .item-image {
    order: 2;
    width: 80px;
    height: 80px;
  }
  .cart-page .cart-item .item-details {
    order: 3;
    flex: 1 1 100%;
  }
  .cart-page .cart-item .item-quantity {
    order: 4;
    flex: 1;
  }
  .cart-page .cart-item .item-total {
    order: 5;
    flex: 1;
    text-align: right;
  }
  .cart-page .cart-item .item-actions {
    order: 6;
  }
  .cart-page .cart-summary-wrapper {
    position: static;
  }
}
@media (max-width: 575.98px) {
  .cart-page {
    padding: 1rem 0;
  }
  .cart-page .cart-header .cart-title {
    font-size: 1.5rem;
  }
  .cart-page .cart-items-wrapper,
  .cart-page .cart-summary,
  .cart-page .voucher-section {
    padding: 1rem;
  }
  .cart-page .cart-item {
    padding: 1rem;
  }
  .cart-page .cart-item .item-image {
    width: 70px;
    height: 70px;
  }
  .cart-page .cart-item .item-details .item-title {
    font-size: 0.9rem;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.spinner-border {
  animation: spin 0.75s linear infinite;
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
