/* ========== CHECKOUT PAGE ========== */

/* Remove top padding since header is hidden */
#page-shell:has(.checkout-hero) {
  padding-top: 0 !important;
}

.checkout-hero {
  padding: 20px 24px 0;
}

.checkout-logo {
  margin-bottom: 16px;
  text-align: center;
}

.checkout-logo-img {
  height: 100px;
  width: auto;
  filter: invert(1);
  display: block;
  margin: 0 auto;
}

.checkout-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 24px 24px;
  overflow: hidden;
}

.checkout-body .section-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.checkout-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.checkout-breadcrumbs a {
  color: var(--color-accent);
  text-decoration: none;
}

.checkout-breadcrumbs a:hover {
  text-decoration: underline;
}

.checkout-breadcrumbs .sep {
  color: #ccc;
}

.checkout-breadcrumbs span[aria-current] {
  color: var(--color-text);
  font-weight: 600;
}

.checkout-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-bg-alt, #f9f9f9);
  border: 1px solid var(--border, #eee);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}
.trust-item:hover { transform: translateY(-2px); }

.trust-item svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.trust-item span {
  display: block;
  font-size: 12px;
  color: var(--color-text-light);
}

.checkout-main {
  background: var(--color-bg-alt, #f9f9f9);
  border: 1px solid var(--border, #eee);
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 24px 48px -24px rgba(0,0,0,0.12);
  isolation: isolate;
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

@media (min-width: 640px) {
  .checkout-main {
    padding: 28px;
  }
}
