body.checkout-open {
  overflow: hidden;
}

.cart-drawer {
  z-index: 80;
  display: block;
  padding: clamp(1rem, 3vw, 2.5rem) 1rem 4rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(113, 102, 255, 0.19), transparent 27rem),
    radial-gradient(circle at 88% 10%, rgba(25, 211, 255, 0.1), transparent 25rem),
    #070911;
  backdrop-filter: none;
}

.cart-panel,
.cart-drawer.is-open .cart-panel {
  display: block;
  width: min(760px, 100%);
  height: auto;
  max-height: none;
  margin: 0 auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.cart-head {
  padding: 0;
  border: 0;
  background: transparent;
}

.cart-head .eyebrow {
  margin: 0 0 0.3rem;
  color: var(--cyan);
  letter-spacing: 0.16em;
}

.cart-head h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.cart-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 1.35rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.62rem;
  border-top: 3px solid rgba(255, 255, 255, 0.16);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.checkout-steps li span {
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.72rem;
}

.checkout-steps li.is-active,
.checkout-steps li.is-complete {
  border-color: var(--cyan);
  color: var(--text);
}

.checkout-steps li.is-active span {
  border-color: var(--cyan);
  color: #06101d;
  background: var(--cyan);
}

.checkout-steps li.is-complete span {
  color: var(--green);
}

.checkout-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 1rem;
}

.checkout-step h3 {
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.checkout-step .cart-items {
  min-width: 0;
  padding: 0;
}

.checkout-step .cart-empty {
  min-height: 170px;
}

.checkout-step .cart-empty .button {
  width: min(240px, 100%);
}

.checkout-step .cart-line {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(16, 19, 33, 0.9);
}

.checkout-step .cart-total {
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 1.12rem;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-step .cart-total strong {
  font-size: 1.75rem;
}

.checkout-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.checkout-section-head .eyebrow {
  margin: 0 0 0.3rem;
  color: var(--cyan);
}

.checkout-section-head > span {
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
}

.checkout-recommendation-list {
  display: grid;
  grid-auto-columns: 160px;
  grid-auto-flow: column;
  gap: 0.7rem;
  overflow-x: auto;
  min-width: 0;
  padding-bottom: 0.6rem;
  scroll-snap-type: x proximity;
}

.checkout-recommendation {
  display: grid;
  grid-template-rows: 125px minmax(2.5rem, auto) auto auto auto;
  gap: 0.3rem;
  padding: 0.45rem;
  border: 1px solid rgba(113, 102, 255, 0.34);
  border-radius: 10px;
  background: rgba(16, 19, 33, 0.92);
  scroll-snap-align: start;
}

.checkout-recommendation-cover {
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(135deg, #18203a, #0b1930);
}

.checkout-recommendation-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-recommendation strong {
  font-size: 0.85rem;
  line-height: 1.1;
}

.checkout-recommendation small {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.1;
}

.checkout-recommendation b {
  color: var(--green);
  font-size: 0.95rem;
}

.checkout-recommendation button {
  min-height: 38px;
  border: 1px solid var(--cyan);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(25, 211, 255, 0.07);
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.checkout-recommendation button:hover,
.checkout-recommendation button:focus-visible {
  color: #06101d;
  background: var(--cyan);
}

.checkout-next,
.checkout-step .confirm-order-button {
  min-height: 58px;
  margin-top: 0.35rem;
  border-radius: 10px;
  color: #06101d;
  background: linear-gradient(110deg, var(--green), var(--cyan) 58%, #a9a2ff);
  box-shadow: 0 12px 30px rgba(25, 211, 255, 0.18);
  font-size: 1.07rem;
}

.checkout-assurance {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.checkout-back {
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--cyan);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.checkout-fields {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 19, 33, 0.9);
}

.checkout-fields .cart-customer-name span {
  font-size: 0.84rem;
  text-transform: uppercase;
}

.checkout-fields input {
  min-height: 52px;
  font-size: 1rem;
}

.checkout-fields p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.checkout-review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(25, 211, 255, 0.28);
  border-radius: 10px;
  color: var(--text);
  background: rgba(25, 211, 255, 0.05);
  font-size: 0.88rem;
}

.checkout-review span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.checkout-review button {
  flex: 0 0 auto;
  border: 0;
  color: var(--cyan);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.checkout-payment-method {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--cyan);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(25, 211, 255, 0.12), rgba(113, 102, 255, 0.09));
}

.checkout-payment-method[hidden] {
  display: none;
}

.checkout-payment-method input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  accent-color: var(--cyan);
}

.checkout-payment-method:has(input:checked) {
  border-color: var(--cyan);
}

.checkout-payment-method:not(:has(input:checked)) {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.035);
}

.checkout-radio {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  border: 5px solid var(--cyan);
  border-radius: 50%;
}

.checkout-payment-method div {
  display: grid;
  gap: 0.4rem;
}

.checkout-payment-method strong {
  font-size: 1.12rem;
}

.checkout-payment-method small {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

.checkout-step .terms-note {
  align-items: center;
  padding: 0.9rem;
}

.confirm-order-notice {
  width: min(430px, 100%);
  margin: 0;
  padding: 0.75rem;
  border: 1px solid rgba(255, 93, 115, 0.4);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 93, 115, 0.1);
  line-height: 1.35;
}

.confirm-order-notice a {
  color: var(--cyan);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 560px) {
  .cart-drawer {
    padding: 1.25rem 0.85rem 3rem;
  }

  .cart-panel,
  .cart-drawer.is-open .cart-panel {
    width: 100%;
  }

  .checkout-steps {
    margin-bottom: 1.4rem;
  }

  .checkout-steps li {
    font-size: 0.74rem;
  }

  .checkout-step .cart-line-bottom {
    align-items: start;
    flex-wrap: wrap;
  }

  .checkout-recommendation-list {
    grid-auto-columns: 142px;
  }

  .checkout-recommendation {
    grid-template-rows: 108px minmax(2.3rem, auto) auto auto auto;
  }

  .checkout-section-head > span {
    font-size: 0.65rem;
  }
}
