.checkout-page {
  padding: 0;
  background: #ffffff;
  color: #0f1720;
  font-family: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
}

.checkout-page__inner {
  width: min(100%, 1380px);
  margin: 0 auto;
}

.checkout-page__form {
  margin: 0;
}

.checkout-page__layout {
  display: grid;
  grid-template-areas:
    "header sidebar"
    "sections sidebar";
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  min-height: 100vh;
}

.checkout-page__main {
  display: contents;
}

.checkout-page__header {
  grid-area: header;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 34px 36px 20px;
  text-align: center;
  background: #ffffff;
}

.checkout-page__topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.checkout-page__brand {
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.checkout-page__brand:focus-visible {
  outline: 2px solid rgba(127, 56, 93, 0.55);
  outline-offset: 6px;
}

.checkout-page__topbar-spacer {
  justify-self: start;
  width: 32px;
  height: 32px;
}

.checkout-page__logo {
  width: min(100%, 312px);
  height: auto;
}

.checkout-page__brand-name {
  margin: 0;
  color: #111111;
  font-size: 48px;
  font-weight: 700;
  line-height: 0.92;
}

.checkout-page__trust {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.checkout-page__customer-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 5px 14px 5px 8px;
  border-radius: 999px;
  background: #f5dce9;
  color: #141414;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.checkout-page__customer-avatars {
  display: inline-flex;
  align-items: center;
}

.checkout-page__customer-avatars img {
  width: 24px;
  height: 24px;
  margin-left: -6px;
  border: 2px solid #f5dce9;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
}

.checkout-page__customer-avatars img:first-child {
  margin-left: 0;
}

.checkout-page__benefits {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #202020;
  font-size: 12px;
  font-weight: 400;
}

.checkout-page__benefits li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.checkout-page__benefits li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border: 1px solid #232323;
  border-radius: 50%;
  color: #232323;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 14px;
}

.checkout-page__benefits li:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 12px;
  margin-left: 10px;
  background: rgba(20, 20, 20, 0.16);
}

.checkout-page__sections {
  grid-area: sections;
  display: grid;
  gap: 26px;
  padding: 0 36px 42px;
  background: #ffffff;
}

.checkout-page__section {
  display: grid;
  gap: 12px;
}

.checkout-page__section h2,
.checkout-page__section h3 {
  margin: 0;
  color: #000000;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.checkout-page__section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.checkout-page__section-heading a {
  color: #0957d3;
  font-size: 12px;
  text-decoration: underline;
}

.checkout-page__field-grid {
  display: grid;
  gap: 8px;
}

.checkout-page__field-grid .form-row,
.checkout-payment__place-order .form-row {
  margin: 0;
  position: relative;
}

.checkout-page__field-grid .form-row-first,
.checkout-page__field-grid .form-row-last {
  width: auto;
  float: none;
}

.checkout-page__field-grid--delivery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-page__field-grid--delivery .form-row-wide,
.checkout-page__field-grid--contact .form-row-wide,
.checkout-page__updates-opt-in {
  grid-column: 1 / -1;
}

.checkout-page__field-grid label:not(.checkbox):not(.screen-reader-text):not(.checkout-page__floating-label),
.checkout-payment__methods .payment_box label:not(.checkbox) {
  display: block;
  margin-bottom: 6px;
  color: #6f7680;
  font-size: 12px;
  line-height: 1.4;
}

.checkout-page__field-grid .screen-reader-text {
  margin: 0;
}

.checkout-page__field-grid .woocommerce-input-wrapper {
  position: relative;
  display: block;
}

.checkout-page__field-grid .form-row .required {
  display: none;
}

.checkout-page__floating-label {
  position: absolute;
  top: 7px;
  left: 14px;
  z-index: 2;
  margin: 0;
  color: #6f7680;
  font-size: 11px;
  line-height: 1.2;
  pointer-events: none;
}

.checkout-page__field-grid input.input-text,
.checkout-page__field-grid select,
.checkout-page__field-grid textarea,
.checkout-payment__methods .payment_box input.input-text,
.checkout-payment__methods .payment_box select,
.checkout-payment__methods .payment_box textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid #d8dce2;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
  color: #111111;
  font-size: 14px;
  line-height: 1.3;
  padding: 17px 14px 7px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-page__field-grid .select2-container,
.checkout-page__field-grid .select2,
.checkout-page__field-grid .selection {
  display: block;
  width: 100% !important;
}

.checkout-page__field-grid .select2-container .select2-selection--single {
  min-height: 56px;
  border: 1px solid #d8dce2;
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  padding: 17px 38px 7px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-page__field-grid .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 0;
  padding-right: 0;
  color: #111111;
  font-size: 14px;
  line-height: 1.3;
}

.checkout-page__field-grid .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #8d96a3;
}

.checkout-page__field-grid .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 0;
  right: 12px;
  width: 22px;
  height: 100%;
}

.checkout-page__field-grid .select2-container--default .select2-selection--single .select2-selection__arrow b {
  margin-top: -3px;
  border-color: #737b87 transparent transparent transparent;
  border-width: 6px 5px 0 5px;
}

.checkout-page__field-grid .woocommerce-invalid .select2-container .select2-selection--single {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.08);
}

.checkout-page__field-grid .select2-container--focus .select2-selection--single,
.checkout-page__field-grid .select2-container--open .select2-selection--single {
  border-color: #0969da;
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.12);
}

#billing_phone_field input.input-text {
  padding-right: 42px;
}

#billing_phone_field .woocommerce-input-wrapper::after {
  content: "?";
  position: absolute;
  right: 14px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid #757b86;
  border-radius: 50%;
  color: #757b86;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.checkout-page__field-grid textarea,
.checkout-payment__methods .payment_box textarea {
  min-height: 84px;
  resize: vertical;
}

.checkout-page__field-grid input.input-text::placeholder,
.checkout-page__field-grid textarea::placeholder,
.checkout-payment__methods .payment_box input.input-text::placeholder,
.checkout-payment__methods .payment_box textarea::placeholder {
  color: #8d96a3;
}

.checkout-page__field-grid input.input-text:focus,
.checkout-page__field-grid select:focus,
.checkout-page__field-grid textarea:focus,
.checkout-payment__methods .payment_box input.input-text:focus,
.checkout-payment__methods .payment_box select:focus,
.checkout-payment__methods .payment_box textarea:focus {
  outline: 0;
  border-color: #0969da;
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.12);
}

.checkout-page__field-grid .woocommerce-invalid input.input-text,
.checkout-page__field-grid .woocommerce-invalid select,
.checkout-page__field-grid .woocommerce-invalid textarea,
.checkout-payment__methods .woocommerce-invalid input.input-text,
.checkout-payment__methods .woocommerce-invalid select,
.checkout-payment__methods .woocommerce-invalid textarea {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.08);
}

.checkout-page__updates-opt-in {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -1px;
}

.checkout-page__updates-opt-in label.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #111111;
  font-size: 12px;
  line-height: 1.35;
}

.checkout-page__updates-opt-in input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid #d8dce2;
  border-radius: 4px;
}

.checkout-page__sidebar {
  grid-area: sidebar;
  min-width: 0;
  border-left: 1px solid rgba(15, 23, 32, 0.09);
  background: #f7f7f7;
}

.checkout-page__sidebar-summary {
  position: sticky;
  top: 0;
  padding: 28px 34px 44px;
}

.checkout-review {
  display: grid;
  gap: 0;
}

.checkout-page__summary-bar {
  display: none;
}

.checkout-page__summary-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: #0957d3;
  font-size: 16px;
  line-height: 1.2;
  text-align: left;
}

.checkout-page__summary-toggle::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.checkout-page__summary-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

.checkout-page__summary-total {
  margin-right: auto;
  margin-left: 14px;
  color: #000000;
  font-size: 17px;
  font-weight: 700;
}

.checkout-review__panel {
  display: grid;
  gap: 24px;
}

.checkout-review__items {
  display: grid;
  gap: 18px;
}

.checkout-review__item {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.checkout-review__media {
  position: relative;
}

.checkout-review__media img {
  width: 66px;
  height: 66px;
  border: 1px solid rgba(15, 23, 32, 0.12);
  border-radius: 10px;
  object-fit: cover;
  background: #ffffff;
}

.checkout-review__quantity {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #6b7280;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.checkout-review__title,
.checkout-review__total-label,
.checkout-payment__methods label,
.checkout-payment__submit button {
  font-family: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
}

.checkout-review__title {
  margin: 0;
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.checkout-review__meta,
.checkout-review__line .woocommerce-Price-amount,
.checkout-review__totals td {
  color: #5e6672;
  font-size: 14px;
}

.checkout-review__meta {
  margin: 4px 0 0;
}

.checkout-review__copy dl.variation {
  margin: 6px 0 0;
}

.checkout-review__copy dl.variation dt,
.checkout-review__copy dl.variation dd {
  color: #5e6672;
  font-size: 13px;
}

.checkout-review__line {
  justify-self: end;
  color: #111111;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

.checkout-review__totals {
  width: 100%;
  border-collapse: collapse;
}

.checkout-review__totals th,
.checkout-review__totals td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(15, 23, 32, 0.08);
}

.checkout-review__totals th {
  text-align: left;
  color: #4d5662;
  font-size: 14px;
  font-weight: 400;
}

.checkout-review__totals td {
  text-align: right;
  color: #111111;
}

.checkout-review__totals ul#shipping_method {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-review__totals ul#shipping_method label {
  color: #4d5662;
  font-size: 13px;
}

.checkout-review__totals .order-total th,
.checkout-review__totals .order-total td {
  padding-top: 14px;
  border-bottom: 0;
  color: #111111;
  font-size: 29px;
  font-weight: 700;
}

.checkout-shipping-methods {
  display: grid;
  gap: 12px;
}

.checkout-shipping-methods__group,
.checkout-shipping-methods__empty,
.checkout-shipping-methods--unavailable {
  display: grid;
  gap: 10px;
}

.checkout-shipping-methods__empty,
.checkout-shipping-methods--unavailable {
  padding: 18px 20px;
  border: 1px solid #d8dce2;
  border-radius: 14px;
  background: #ffffff;
  color: #5e6672;
  font-size: 14px;
  line-height: 1.6;
}

.checkout-shipping-methods__empty p,
.checkout-shipping-methods--unavailable p {
  margin: 0;
}

.checkout-shipping-methods__option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #d8dce2;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
}

.checkout-shipping-methods__option input {
  margin-top: 3px;
}

.checkout-shipping-methods__copy {
  color: #111111;
  font-size: 15px;
  line-height: 1.5;
}

.checkout-shipping-methods__copy .woocommerce-Price-amount {
  font-weight: 700;
}

.checkout-payment {
  display: grid;
  gap: 18px;
}

.checkout-payment__primary {
  display: grid;
  gap: 18px;
}

.checkout-payment__methods {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-payment__methods .wc_payment_method {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #d8dce2;
  border-radius: 14px;
  background: #ffffff;
}

.checkout-payment__methods .input-radio {
  margin: 2px 10px 0 0;
}

.checkout-payment__methods label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.checkout-payment__methods .payment_box {
  margin: 0;
  padding: 0;
  background: transparent;
  color: #5e6672;
}

.checkout-payment__methods .payment_box p {
  margin: 0 0 10px;
}

.checkout-payment__place-order {
  display: grid;
  gap: 14px;
}

.checkout-payment__submit {
  display: grid;
}

.checkout-payment__submit button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: #0f62fe;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.checkout-payment__submit button:hover {
  background: #0b57de;
  transform: translateY(-1px);
}

.checkout-payment__policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 32, 0.08);
}

.checkout-payment__policy-links a {
  color: #0957d3;
  font-size: 12px;
  line-height: 1.35;
  text-decoration: underline;
}

.checkout-payment__place-order .woocommerce-privacy-policy-text,
.checkout-payment__place-order .form-row {
  margin: 0;
}

.checkout-payment__place-order .validate-required {
  display: grid;
  gap: 10px;
}

.checkout-payment__place-order .required {
  color: #d92d20;
}

.checkout-payment__place-order .woocommerce-terms-and-conditions-wrapper {
  display: grid;
  gap: 10px;
  color: #4d5662;
  font-size: 13px;
  line-height: 1.6;
}

.checkout-payment__place-order .woocommerce-terms-and-conditions-wrapper a {
  color: #0957d3;
  text-decoration: underline;
}

.checkout-payment [class*="express"],
.checkout-payment [class*="payment-request"],
.checkout-page [class*="payment-request"],
.checkout-page .wc-stripe-payment-request-wrapper,
.checkout-page .wc-stripe-express-checkout-element,
.checkout-page .paypal-buttons,
.checkout-page .ppc-button-wrapper {
  display: none !important;
}
