/* Store checkout/cart/order flow styles extracted from inline templates */
.store-flow-page {
  min-height: 100vh;
  background: #070604;
  color: #f0f0f0;
}

.store-flow-container {
  margin: 0 auto;
}

.store-flow-container--checkout { max-width: 640px; }
.store-flow-container--cart { max-width: 700px; }
.store-flow-container--order {
  max-width: 600px;
  text-align: center;
  padding-top: 3rem;
}

.store-flow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.store-flow-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.store-flow-link {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
}

.store-flow-link:hover { color: #ccc; }

.store-flow-panel {
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.store-flow-panel--form { padding: 1.5rem; }

.store-flow-panel-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}

.store-flow-panel-title--spaced { margin-bottom: 1.25rem; }

.store-flow-line-item,
.store-flow-total-row {
  display: flex;
  justify-content: space-between;
}

.store-flow-line-item {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.store-flow-muted { color: #ccc; }
.store-flow-strong { color: #fff; font-weight: 600; }

.store-flow-total-row {
  border-top: 1px solid #222;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  font-weight: 700;
}

.store-flow-total {
  color: #60a5fa;
  font-size: 1.1rem;
}

.checkout-error {
  display: none;
  background: #3b1f1f;
  border: 1px solid #f87171;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #f87171;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.checkout-form,
.checkout-field-stack {
  display: flex;
  flex-direction: column;
}

.checkout-form { gap: 1.25rem; }
.checkout-field-stack { gap: 0.75rem; }

.checkout-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.checkout-input,
.cart-quantity-input {
  background: #0d0d0d;
  border: 1px solid #333;
  color: #f0f0f0;
  border-radius: 8px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.checkout-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
}

.stripe-payment-element {
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem;
}

.store-flow-button {
  background: #2563eb;
  color: #fff;
  border: 0;
  border-radius: 9999px;
  padding: 0.9rem 2rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

.store-flow-button:hover { background: #1d4ed8; }
.store-flow-button--primary { padding: 1rem 2rem; }
.store-flow-button--inline { display: inline-block; }
.store-flow-button--block { display: block; width: 100%; }

.store-flow-fine-print {
  text-align: center;
  font-size: 0.8rem;
  color: #555;
  margin: 0;
}

.cart-empty-state {
  text-align: center;
  padding: 4rem 1rem;
}

.cart-empty-state p {
  font-size: 1.1rem;
  color: #888;
}

.cart-item-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cart-item {
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-item__image,
.cart-item__image-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  flex-shrink: 0;
}

.cart-item__image { object-fit: cover; }

.cart-item__image-placeholder {
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.cart-item__details {
  flex: 1;
  min-width: 0;
}

.cart-item__title,
.cart-item__variant,
.cart-item__price {
  margin: 0;
}

.cart-item__title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.cart-item__variant {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.cart-item__price {
  color: #60a5fa;
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cart-inline-form { display: inline; }

.cart-quantity-input {
  width: 60px;
  padding: 0.35rem 0.5rem;
  font-size: 0.9rem;
  text-align: center;
}

.cart-remove-button {
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.1rem;
}

.cart-remove-button:hover { color: #f87171; }

.cart-item__subtotal {
  flex-shrink: 0;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.cart-subtotal-row span:last-child {
  font-size: 1.25rem;
  font-weight: 800;
  color: #60a5fa;
}

.cart-note {
  font-size: 0.8rem;
  color: #555;
  margin: 0 0 0.4rem;
}

.cart-note--muted {
  font-size: 0.75rem;
  color: #444;
  margin-bottom: 1.25rem;
}

.order-status-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.order-status-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
}

.order-status-title--error { color: #f87171; }

.order-status-copy {
  color: #888;
  margin: 0 0 2rem;
}

.order-status-copy strong { color: #ccc; }

.order-summary-panel {
  text-align: left;
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.order-shipping-address {
  border-top: 1px solid #222;
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #666;
}

.order-shipping-address p { margin: 0; }
.order-shipping-address strong { color: #888; }


