.pcs-checkout-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 18px 42px;
}

.pcs-checkout-intro {
  position: relative;
  margin: 0 0 28px;
  padding: 34px 34px 30px;
  border-radius: calc(var(--pcs-radius) + 6px);
  background:
    radial-gradient(circle at top right, rgba(var(--pcs-brand-rgb), 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, var(--pcs-accent-bg) 0%, var(--pcs-surface) 100%);
  box-shadow: var(--pcs-shadow);
  border: 1px solid rgba(var(--pcs-brand-rgb), 0.3);
  overflow: hidden;
}

.pcs-checkout-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(var(--pcs-brand-rgb), 0.05) 50%, transparent 100%);
  pointer-events: none;
}

.pcs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pcs-brand);
  font-weight: 800;
  margin-bottom: 16px;
}

.pcs-title {
  margin: 0 0 10px;
  color: var(--pcs-text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  font-weight: 800;
}

.pcs-subtitle {
  margin: 0;
  max-width: 820px;
  color: var(--pcs-muted);
  font-size: 15px;
  line-height: 1.8;
}

body.pcs-checkout-active {
  background: #090909;
}

body.pcs-checkout-active.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: block;
}

body.pcs-checkout-active .woocommerce-form-login-toggle,
body.pcs-checkout-active .woocommerce-form-coupon-toggle,
body.pcs-checkout-active .woocommerce-NoticeGroup,
body.pcs-checkout-active .woocommerce-error,
body.pcs-checkout-active .woocommerce-info,
body.pcs-checkout-active .woocommerce-message {
  border-radius: calc(var(--pcs-radius) - 2px);
}

body.pcs-checkout-active .woocommerce-form-login-toggle .woocommerce-info,
body.pcs-checkout-active .woocommerce-form-coupon-toggle .woocommerce-info,
body.pcs-checkout-active .woocommerce-info {
  color: var(--pcs-text);
  border-top-color: var(--pcs-brand);
  background: linear-gradient(180deg, rgba(var(--pcs-brand-rgb), 0.14), rgba(255,255,255,0.02));
}

body.pcs-checkout-active .pcs-checkout-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

body.pcs-checkout-active.pcs-layout-double .pcs-checkout-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
}

body.pcs-checkout-active.pcs-layout-single .pcs-checkout-grid {
  grid-template-columns: 1fr;
}

body.pcs-checkout-active #customer_details,
body.pcs-checkout-active .pcs-review-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.012) 100%),
    var(--pcs-surface);
  border-radius: var(--pcs-radius);
  box-shadow: var(--pcs-shadow);
  border: 1px solid rgba(var(--pcs-brand-rgb), 0.24);
  overflow: hidden;
}

body.pcs-checkout-active #customer_details {
  padding: 26px;
}

body.pcs-checkout-active .pcs-review-card {
  padding: 0 0 18px;
}

body.pcs-checkout-active.pcs-sticky-review.pcs-layout-double .pcs-review-card {
  position: sticky;
  top: 24px;
}

body.pcs-checkout-active #customer_details.col2-set,
body.pcs-checkout-active #customer_details {
  width: 100%;
  display: block;
}

body.pcs-checkout-active #customer_details .col-1,
body.pcs-checkout-active #customer_details .col-2 {
  float: none;
  width: 100%;
  max-width: none;
}

body.pcs-checkout-active #customer_details .col-1 {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(var(--pcs-brand-rgb), 0.18);
}

body.pcs-checkout-active #customer_details h3,
body.pcs-checkout-active .pcs-review-card > h3,
body.pcs-checkout-active .woocommerce-order-details__title {
  margin: 0 0 18px;
  font-size: 21px;
  line-height: 1.25;
  color: var(--pcs-text);
}

body.pcs-checkout-active .pcs-review-card > h3 {
  padding: 24px 24px 0;
}

body.pcs-checkout-active .woocommerce-billing-fields,
body.pcs-checkout-active .woocommerce-shipping-fields,
body.pcs-checkout-active .woocommerce-additional-fields {
  margin: 0;
}

body.pcs-checkout-active .woocommerce form .form-row,
body.pcs-checkout-active form.checkout .form-row {
  margin: 0 0 14px;
}

body.pcs-checkout-active form.checkout .form-row label,
body.pcs-checkout-active .woocommerce-additional-fields label,
body.pcs-checkout-active .shop_table,
body.pcs-checkout-active .shop_table th,
body.pcs-checkout-active .shop_table td {
  color: var(--pcs-text);
}

body.pcs-checkout-active form.checkout .form-row label {
  font-weight: 600;
  margin-bottom: 8px;
}

body.pcs-checkout-active form.checkout .input-text,
body.pcs-checkout-active form.checkout select,
body.pcs-checkout-active form.checkout textarea,
body.pcs-checkout-active .select2-container--default .select2-selection--single,
body.pcs-checkout-active .select2-container--default .select2-selection--multiple {
  min-height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(var(--pcs-brand-rgb), 0.2);
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  padding: 10px 14px;
  color: var(--pcs-text);
}

body.pcs-checkout-active form.checkout .input-text::placeholder,
body.pcs-checkout-active form.checkout textarea::placeholder {
  color: rgba(246, 239, 225, 0.58);
}

body.pcs-checkout-active form.checkout textarea {
  min-height: 120px;
}

body.pcs-checkout-active form.checkout .input-text:focus,
body.pcs-checkout-active form.checkout select:focus,
body.pcs-checkout-active form.checkout textarea:focus,
body.pcs-checkout-active .select2-container--focus .select2-selection,
body.pcs-checkout-active .select2-container--open .select2-selection {
  border-color: var(--pcs-brand);
  box-shadow: 0 0 0 4px rgba(var(--pcs-brand-rgb), 0.16);
  outline: none;
}

body.pcs-checkout-active .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 30px;
  padding-left: 0;
  color: var(--pcs-text);
}

body.pcs-checkout-active .select2-container .select2-selection--single .select2-selection__arrow {
  height: 100%;
}

body.pcs-checkout-active #order_review {
  padding: 0 24px;
}

body.pcs-checkout-active #order_review table.shop_table {
  border: 0;
  margin-bottom: 18px;
}

body.pcs-checkout-active #order_review table.shop_table th,
body.pcs-checkout-active #order_review table.shop_table td,
body.pcs-checkout-active .pcs-order-custom-fields table th,
body.pcs-checkout-active .pcs-order-custom-fields table td {
  padding: 14px 0;
  border-color: rgba(var(--pcs-brand-rgb), 0.18);
}

body.pcs-checkout-active #payment {
  background: transparent;
  border-radius: 0;
}

body.pcs-checkout-active #payment ul.payment_methods {
  border-bottom: 0;
  padding: 0 0 12px;
}

body.pcs-checkout-active #payment ul.payment_methods li {
  margin-bottom: 10px;
  border: 1px solid rgba(var(--pcs-brand-rgb), 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
}

body.pcs-checkout-active #payment ul.payment_methods li > label,
body.pcs-checkout-active #payment ul.payment_methods li .payment_method_label,
body.pcs-checkout-active #payment .payment_method label {
  color: var(--pcs-payment-title) !important;
  font-weight: 700;
}

body.pcs-checkout-active #payment ul.payment_methods input[type="radio"],
body.pcs-checkout-active #payment ul.payment_methods input[type="checkbox"] {
  accent-color: var(--pcs-payment-icon);
}

body.pcs-checkout-active #payment div.payment_box {
  margin: 12px 0 0;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(var(--pcs-brand-rgb), 0.14), rgba(255,255,255,0.02));
  color: var(--pcs-payment-description) !important;
}

body.pcs-checkout-active #payment div.payment_box p,
body.pcs-checkout-active #payment div.payment_box span,
body.pcs-checkout-active #payment div.payment_box div,
body.pcs-checkout-active #payment div.payment_box small,
body.pcs-checkout-active #payment div.payment_box strong,
body.pcs-checkout-active #payment div.payment_box em,
body.pcs-checkout-active #payment div.payment_box label {
  color: var(--pcs-payment-description) !important;
}

body.pcs-checkout-active #payment div.payment_box a {
  color: var(--pcs-payment-title) !important;
}

body.pcs-checkout-active #payment div.payment_box::before {
  border-bottom-color: rgba(var(--pcs-brand-rgb), 0.24);
}

body.pcs-checkout-active .woocommerce-checkout-payment,
body.pcs-checkout-active .place-order {
  padding-bottom: 0;
}

body.pcs-checkout-active #place_order,
body.pcs-checkout-active .woocommerce button.button,
body.pcs-checkout-active .woocommerce a.button,
body.pcs-checkout-active .woocommerce input.button,
body.pcs-checkout-active button.button,
body.pcs-checkout-active input.button {
  background: linear-gradient(180deg, color-mix(in srgb, var(--pcs-button-bg) 92%, #ffffff 8%) 0%, var(--pcs-button-bg) 100%) !important;
  color: var(--pcs-button-text) !important;
  border-radius: 14px;
  border: 0 !important;
  min-height: 56px;
  padding: 14px 22px !important;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(var(--pcs-brand-rgb), 0.24) !important;
  text-transform: none;
}

body.pcs-checkout-active #place_order:hover,
body.pcs-checkout-active .woocommerce button.button:hover,
body.pcs-checkout-active .woocommerce a.button:hover,
body.pcs-checkout-active .woocommerce input.button:hover,
body.pcs-checkout-active button.button:hover,
body.pcs-checkout-active input.button:hover {
  transform: translateY(-1px);
}

body.pcs-checkout-active #place_order {
  width: 100%;
  font-size: 16px;
}

body.pcs-checkout-active .woocommerce-privacy-policy-text,
body.pcs-checkout-active .payment_box,
body.pcs-checkout-active .woocommerce-shipping-destination,
body.pcs-checkout-active .woocommerce-shipping-totals,
body.pcs-checkout-active .woocommerce-terms-and-conditions-wrapper,
body.pcs-checkout-active .woocommerce-form__label-for-checkbox,
body.pcs-checkout-active .form-row .description {
  color: var(--pcs-muted);
}

body.pcs-checkout-active .woocommerce-checkout #payment div.payment_box p,
body.pcs-checkout-active .woocommerce-form-login p,
body.pcs-checkout-active .woocommerce-form-coupon p,
body.pcs-checkout-active .woocommerce-checkout-review-order-table small,
body.pcs-checkout-active .lost_password a,
body.pcs-checkout-active .woocommerce-privacy-policy-text a,
body.pcs-checkout-active .woocommerce-form-login-toggle a,
body.pcs-checkout-active .woocommerce-form-coupon-toggle a,
body.pcs-checkout-active .woocommerce-info a,
body.pcs-checkout-active .woocommerce-terms-and-conditions-wrapper a {
  color: var(--pcs-brand);
}

body.pcs-checkout-active .woocommerce-validated .input-text,
body.pcs-checkout-active .woocommerce-validated select,
body.pcs-checkout-active .woocommerce-validated .select2-selection {
  border-color: rgba(var(--pcs-brand-rgb), 0.35);
}

body.pcs-checkout-active .woocommerce-invalid .input-text,
body.pcs-checkout-active .woocommerce-invalid select,
body.pcs-checkout-active .woocommerce-invalid .select2-selection {
  border-color: #dc2626;
}

body.pcs-checkout-active .pcs-order-custom-fields {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(var(--pcs-brand-rgb), 0.18);
  border-radius: var(--pcs-radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

body.pcs-checkout-active .pcs-order-custom-fields table {
  margin: 0;
}

@supports not (color: color-mix(in srgb, white 50%, black 50%)) {
  body.pcs-checkout-active #place_order,
  body.pcs-checkout-active .woocommerce button.button,
  body.pcs-checkout-active .woocommerce a.button,
  body.pcs-checkout-active .woocommerce input.button,
  body.pcs-checkout-active button.button,
  body.pcs-checkout-active input.button {
    background: var(--pcs-button-bg) !important;
  }
}

@media (max-width: 980px) {
  .pcs-checkout-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pcs-checkout-intro,
  body.pcs-checkout-active #customer_details,
  body.pcs-checkout-active .pcs-review-card > h3,
  body.pcs-checkout-active #order_review {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.pcs-checkout-active.pcs-layout-double .pcs-checkout-grid {
    grid-template-columns: 1fr;
  }
}

body.pcs-checkout-active #payment ul.payment_methods li label,
body.pcs-checkout-active #payment ul.payment_methods li .payment_method_label {
  color: var(--pcs-payment-title) !important;
}

body.pcs-checkout-active #payment div.payment_box,
body.pcs-checkout-active #payment div.payment_box p,
body.pcs-checkout-active #payment div.payment_box span,
body.pcs-checkout-active #payment div.payment_box strong,
body.pcs-checkout-active #payment div.payment_box small,
body.pcs-checkout-active #payment div.payment_box em {
  color: var(--pcs-payment-description) !important;
}

body.pcs-checkout-active #payment div.payment_box a {
  color: var(--pcs-payment-title) !important;
}

body.pcs-checkout-active #payment div.payment_box::before {
  color: var(--pcs-payment-description) !important;
}

body.pcs-checkout-active #payment .payment_method_bacs .about_paypal,
body.pcs-checkout-active #payment .payment_method_bacs p,
body.pcs-checkout-active #payment .payment_method_cod p,
body.pcs-checkout-active #payment .payment_method_stripe p {
  color: var(--pcs-payment-description) !important;
}
