/* [project]/src/components/ui/Modal.css [app-client] (css) */
.modal-overlay {
  z-index: 9999;
  background: #00000073;
  justify-content: center;
  align-items: center;
  animation: .15s ease-out modalFadeIn;
  display: flex;
  position: fixed;
  inset: 0;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(.96)translateY(6px);
  }

  to {
    opacity: 1;
    transform: scale(1)translateY(0);
  }
}

.modal-panel {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-direction: column;
  max-height: 90vh;
  animation: .2s ease-out modalSlideIn;
  display: flex;
  overflow: hidden;
  box-shadow: 0 16px 48px #00000026;
}

.modal-sm {
  width: min(420px, 92vw);
}

.modal-md {
  width: min(560px, 92vw);
}

.modal-header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  display: flex;
}

.modal-header-danger {
  background: #bf1e2e0a;
  border-bottom-color: #bf1e2e1f;
}

.modal-title {
  letter-spacing: -.01em;
  margin: 0;
  font-size: .9375rem;
  font-weight: 700;
}

.modal-header-danger .modal-title {
  color: var(--error);
}

.modal-close {
  background: var(--surface);
  border-radius: var(--radius-md);
  width: 26px;
  height: 26px;
  color: var(--text-secondary);
  cursor: pointer;
  border: none;
  justify-content: center;
  align-items: center;
  font-size: .75rem;
  transition: background .15s, color .15s;
  display: flex;
}

.modal-close:hover {
  background: var(--border);
  color: var(--text-primary);
}

.modal-body {
  color: var(--text-secondary);
  padding: 18px;
  font-size: .875rem;
  overflow-y: auto;
}

.modal-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  display: flex;
}

.btn-danger {
  background: var(--error);
  color: #fff;
  border: 1px solid var(--error);
}

.btn-danger:hover {
  background: #a31826;
  border-color: #a31826;
}

/* [project]/src/app/cart/page.css [app-client] (css) */
.cart-page {
  padding: 2rem 0 4rem;
}

.cart-page h1 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.empty-cart {
  text-align: center;
  color: var(--text-muted);
  padding: 4rem 2rem;
}

.empty-cart p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.cart-layout {
  grid-template-columns: 1fr 340px;
  align-items: flex-start;
  gap: 2rem;
  display: grid;
}

.cart-item {
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
  padding: 1.25rem;
  display: flex;
}

.cart-item h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
}

.item-price {
  color: var(--text-muted);
  margin: 0;
  font-size: .8125rem;
}

.item-controls {
  align-items: center;
  gap: 1.25rem;
  display: flex;
}

.qty-control {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  align-items: center;
  gap: 0;
  display: flex;
  overflow: hidden;
}

.qty-btn {
  background: var(--surface);
  cursor: pointer;
  border: none;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  display: flex;
}

.qty-btn:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.qty-btn:hover:not(:disabled) {
  background: var(--border);
}

.qty-value {
  text-align: center;
  width: 36px;
  font-size: .875rem;
  font-weight: 600;
}

.item-total {
  font-family: var(--font-mono);
  text-align: right;
  min-width: 80px;
  font-size: 1rem;
  font-weight: 700;
}

.remove-btn {
  color: var(--error);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: .75rem;
}

.remove-btn:hover {
  text-decoration: underline;
}

.cart-summary {
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}

.cart-summary h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.cart-page .summary-row {
  color: var(--text-secondary);
  justify-content: space-between;
  padding: .375rem 0;
  font-size: .875rem;
  display: flex;
}

.cart-page .summary-row.muted {
  color: var(--text-muted);
  font-size: .75rem;
}

.cart-page .summary-row.total {
  color: var(--text-primary);
  border-top: 2px solid var(--primary);
  margin: .75rem 0 1.25rem;
  padding-top: .75rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.cart-page .total-price {
  font-family: var(--font-mono);
}

.finance-note {
  color: var(--text-muted);
  text-align: center;
  margin: .75rem 0 0;
  font-size: .75rem;
}

@media (max-width: 768px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }

  .item-controls {
    justify-content: space-between;
    width: 100%;
  }
}

/*# sourceMappingURL=src_f15bce90._.css.map*/