/* Bit to Taste — Checkout (mobile-first, premium) */
*, *::before, *::after { box-sizing: border-box; }
.checkout-premium {
  margin: 0;
  min-height: 100vh;
  background: #f8fafc;
  color: #101828;
  font-family: Manrope, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.checkout-premium a { color: inherit; text-decoration: none; }

.co-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
  position: sticky;
  top: 0;
  z-index: 20;
}
.co-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #344054;
  min-width: 64px;
}
.co-back-icon { font-size: 20px; }
.co-logo .logo-wordmark-text {
  font-family: "Great Vibes", cursive !important;
  font-size: 1.55rem !important;
  font-weight: 400 !important;
  color: #101828 !important;
  white-space: nowrap;
}
.co-secure {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #067647;
  min-width: 64px;
  justify-content: flex-end;
}
.co-secure-icon { font-size: 18px; color: #067647; }

.co-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .co-shell {
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.7fr);
    align-items: start;
    padding: 32px 24px 64px;
    gap: 28px;
  }
}

.co-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #98a2b3;
  margin-bottom: 4px;
}
.co-steps .is-on { color: #155eef; }

.co-card {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 14px;
}
.co-card h2 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.co-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 560px) {
  .co-grid { grid-template-columns: 1fr 1fr; }
}
.co-grid .full { grid-column: 1 / -1; }

.co-grid label.co-field,
.co-grid label {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #344054;
}
.co-field-label {
  display: block;
  line-height: 1.3;
}
.co-grid input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: #101828;
  background: #fff;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.co-grid input:focus {
  border-color: #155eef;
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.14);
}
.co-grid input::placeholder { color: #98a2b3; }

.ship-options,
.pay-options {
  display: grid;
  gap: 10px;
}
.ship-opt {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1.5px solid #e4e7ec;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  margin: 0;
}
.ship-opt input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #155eef;
}
.ship-opt strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 2px;
}
.ship-opt small {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}
.ship-opt:has(input:checked) {
  border-color: #155eef;
  background: #f5f8ff;
  box-shadow: 0 0 0 1px #155eef;
}

.co-submit {
  display: block;
  width: 100%;
  margin-top: 16px;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: #155eef;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
}
.co-submit:hover { background: #1249c7; }
.co-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.co-summary {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  padding: 18px 16px;
}
@media (min-width: 900px) {
  .co-summary {
    position: sticky;
    top: 72px;
  }
}
.co-summary h2 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
}
.co-items { display: grid; gap: 0; margin-bottom: 12px; }
.co-empty { margin: 0; font-size: 13px; color: #667085; line-height: 1.5; }
.co-empty a { color: #155eef; font-weight: 600; }
.co-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eef0f3;
}
.co-item img,
.co-item-ph {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #f2f4f7;
}
.co-item-meta strong { display: block; font-size: 13px; font-weight: 700; }
.co-item-meta small { color: #667085; font-size: 12px; }
.co-item-price { font-size: 13px; font-weight: 700; white-space: nowrap; }

.co-coupon {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.co-coupon input {
  flex: 1;
  min-height: 44px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
}
.co-coupon button {
  border: 1px solid #d0d5dd;
  background: #fff;
  border-radius: 10px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.co-lines {
  display: grid;
  gap: 10px;
  font-size: 14px;
  padding-top: 8px;
}
.co-lines > div {
  display: flex;
  justify-content: space-between;
  color: #475467;
}
.co-lines .co-total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #eef0f3;
  font-size: 16px;
  font-weight: 800;
  color: #101828;
}

.co-note {
  margin: 14px 0 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .co-secure-label { display: none; }
  .co-back-label { display: none; }
  .co-header { padding: 12px 14px; }
}
