/* Stack Research commerce — Stripe-native, Stack-branded, mobile first. */

:root {
  --sr-checkout-blue: #015adc;
  --sr-checkout-blue-deep: #0145b3;
  --sr-checkout-panel: #f6f9fc;
  --sr-checkout-text: rgba(26, 26, 26, 0.9);
  --sr-checkout-muted: rgba(26, 26, 26, 0.6);
  --sr-checkout-line: #e0e0e0;
  --sr-checkout-summary-line: rgba(255, 255, 255, 0.2);
  --sr-checkout-summary-muted: rgba(255, 255, 255, 0.7);
  --sr-checkout-field: #e0e0e0;
  --sr-checkout-warning: #8a5a00;
  --sr-checkout-warning-soft: #fff8e8;
  --sr-checkout-shadow:
    0 0 0 1px var(--sr-checkout-field),
    0 2px 4px rgba(0, 0, 0, 0.07),
    0 1px 1.5px rgba(0, 0, 0, 0.05);
  --sr-checkout-font: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
}

body.sr-commerce-flow {
  background: var(--sr-mist);
}

.sr-commerce-flow .sr-site-main {
  min-height: calc(100svh - 118px);
}

.sr-commerce-flow .sr-mobile-tabbar {
  display: none !important;
}

/* Conversion-focused cart shell */
.sr-commerce-cart {
  background: var(--sr-white);
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.sr-commerce-cart .sr-site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--sr-white);
  box-shadow: none;
}

.sr-commerce-cart .sr-header__inner {
  width: min(960px, calc(100% - 40px));
  min-height: 72px;
  padding: 0;
  grid-template-columns: 1fr;
}

.sr-commerce-cart .sr-brand,
.sr-commerce-cart .sr-brand img {
  width: 148px;
}

.sr-commerce-cart .sr-primary-nav,
.sr-commerce-cart .sr-header__actions,
.sr-commerce-cart .sr-header-mobile-tools,
.sr-commerce-cart .sr-header-search,
.sr-commerce-cart .sr-header-catalog-shortcut,
.sr-commerce-cart .sr-nav-toggle,
.sr-commerce-cart .sr-mobile-announcement,
.sr-commerce-cart .sr-assurance,
.sr-commerce-cart .sr-navigation-scrim,
.sr-commerce-cart .sr-site-footer {
  display: none !important;
}

.sr-commerce-cart .sr-site-main {
  min-height: calc(100svh - 73px);
  background: var(--sr-white);
}

.sr-commerce-content > .woocommerce,
.sr-commerce-content > .wp-block-woocommerce-cart,
.sr-commerce-content > .wp-block-woocommerce-checkout,
.sr-commerce-content .alignwide {
  width: 100%;
  max-width: none;
  margin: 0;
}

.sr-commerce-content .wc-block-components-main,
.sr-commerce-content .wc-block-components-sidebar {
  width: auto;
  padding: 0;
}

/* Focused checkout shell */
.sr-commerce-checkout {
  background: linear-gradient(90deg, var(--sr-checkout-blue) 0 50%, var(--sr-white) 50% 100%);
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sr-commerce-checkout .sr-site-header {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sr-commerce-checkout .sr-header__inner {
  width: min(960px, calc(100% - 32px));
  min-height: 88px;
  padding-left: 48px;
  grid-template-columns: 1fr;
}

.sr-commerce-checkout .sr-brand,
.sr-commerce-checkout .sr-brand img {
  width: 154px;
}

.sr-commerce-checkout .sr-brand img {
  content: url("../images/stack-research-logo-reversed.svg");
}

.sr-commerce-checkout .sr-primary-nav,
.sr-commerce-checkout .sr-header__actions,
.sr-commerce-checkout .sr-header-mobile-tools,
.sr-commerce-checkout .sr-header-search,
.sr-commerce-checkout .sr-header-catalog-shortcut,
.sr-commerce-checkout .sr-nav-toggle,
.sr-commerce-checkout .sr-mobile-announcement,
.sr-commerce-checkout .sr-assurance,
.sr-commerce-checkout .sr-navigation-scrim,
.sr-commerce-checkout .sr-site-footer {
  display: none !important;
}

.sr-commerce-checkout .sr-site-main {
  min-height: 100svh;
  background: linear-gradient(90deg, var(--sr-checkout-blue) 0 50%, var(--sr-white) 50% 100%);
}

.sr-commerce-page--checkout {
  position: relative;
  padding: 0;
}

.sr-commerce-page--checkout .sr-commerce-content {
  width: 100%;
  max-width: none;
}

.sr-commerce-page--checkout .wp-block-woocommerce-checkout {
	position: relative;
  margin-block: 0;
  padding-top: 0;
}

.sr-commerce-checkout .wc-block-components-sidebar-layout {
  display: grid;
  width: min(960px, calc(100% - 32px));
  min-height: 100svh;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.sr-commerce-checkout .wc-block-checkout__sidebar,
.sr-commerce-checkout .wc-block-components-sidebar {
  position: static;
  order: -1;
  width: auto !important;
  min-width: 0;
  padding: 196px 64px 84px 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sr-white);
  box-shadow: none;
}

.sr-checkout-merchant-summary {
  position: absolute;
  z-index: 1;
  top: 108px;
  left: max(16px, calc(50% - 480px + 48px));
  display: grid;
  gap: 4px;
  pointer-events: none;
}

.sr-checkout-merchant-summary span {
  color: var(--sr-checkout-summary-muted);
  font-family: var(--sr-checkout-font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.sr-checkout-merchant-summary strong {
  color: var(--sr-white);
  font-family: var(--sr-checkout-font);
  font-size: 2.25rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.sr-commerce-checkout .wc-block-checkout__main,
.sr-commerce-checkout .wc-block-components-main {
  width: auto !important;
  min-width: 0;
  padding: 48px 8px 84px 64px;
  background: var(--sr-white);
}

/* Keep Woo's required-login state inside the usable form half of checkout. */
.sr-commerce-checkout .wc-block-must-login-prompt {
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  min-height: 100svh;
  padding: clamp(156px, 22vh, 220px) 64px 72px;
  grid-column: 2;
  background: var(--sr-white);
  color: var(--sr-checkout-text);
  font-size: 1rem;
  line-height: 1.6;
}

.sr-commerce-checkout .wc-block-must-login-prompt a {
  display: flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--sr-checkout-blue);
  color: var(--sr-white);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}

.sr-commerce-checkout .wc-block-must-login-prompt a:hover {
  background: var(--sr-checkout-blue-deep);
  color: var(--sr-white);
}

.sr-commerce-checkout .wc-block-must-login-prompt a:active {
  transform: scale(0.96);
}

.sr-commerce-checkout .wc-block-must-login-prompt a:focus-visible {
  outline: 3px solid var(--sr-navy);
  outline-offset: 3px;
}

.sr-commerce-checkout .wc-block-components-title,
.sr-commerce-checkout .wc-block-components-checkout-step__heading,
.sr-commerce-checkout .wc-block-components-checkout-step__title {
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-weight: 500;
  letter-spacing: 0;
}

.sr-commerce-checkout .wc-block-components-checkout-step {
  margin: 0;
  padding: 0 0 32px;
  border: 0;
  background: transparent;
}

.sr-commerce-checkout .wc-block-components-checkout-step__heading {
  margin-bottom: 16px;
}

.sr-commerce-checkout .wc-block-components-checkout-step__title {
  font-size: 1rem;
  line-height: 1.3;
}

.sr-commerce-checkout .wc-block-components-checkout-step__title.sr-payment-heading {
  font-size: 0;
}

.sr-commerce-checkout .wc-block-components-checkout-step__title.sr-payment-heading::after {
  font-size: 1rem;
  content: "Payment method";
}

.sr-commerce-checkout .wc-block-components-checkout-step__description,
.sr-commerce-checkout .wc-block-components-address-form__address_2-toggle,
.sr-commerce-checkout .wc-block-components-checkbox__label,
.sr-commerce-checkout .wc-block-components-radio-control__description {
  color: var(--sr-checkout-muted);
}

.sr-commerce-checkout .wc-block-components-text-input,
.sr-commerce-checkout .wc-block-components-combobox,
.sr-commerce-checkout .wc-block-components-country-input,
.sr-commerce-checkout .wc-block-components-state-input,
.sr-commerce-checkout .wc-blocks-components-select {
  margin-top: 0;
}

.sr-commerce-checkout .wc-block-components-text-input label,
.sr-commerce-checkout .wc-block-components-combobox label,
.sr-commerce-checkout .wc-block-components-country-input label,
.sr-commerce-checkout .wc-block-components-state-input label,
.sr-commerce-checkout .sa-fw-blocks-card label {
  color: var(--sr-checkout-muted) !important;
  font-family: var(--sr-checkout-font);
  font-size: 0.8125rem !important;
  font-weight: 400;
}

.sr-commerce-checkout .wc-block-components-address-form__email {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}

.sr-commerce-checkout .wc-block-components-address-form__email label {
  position: static !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  color: var(--sr-checkout-muted) !important;
  font-size: 0.8125rem !important;
  line-height: 1.3 !important;
  pointer-events: none;
}

.sr-commerce-checkout .wc-block-components-address-form__email input {
  height: 44px !important;
  min-height: 44px !important;
  padding: 8px 12px !important;
}

.sr-commerce-checkout .wc-block-checkout__guest-checkout-notice {
  display: none;
}

.sr-commerce-checkout .wc-block-components-address-card__edit {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: -8px -8px -8px auto;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--sr-checkout-blue-deep);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}

.sr-commerce-checkout .wc-block-components-address-card__edit:hover {
  background: var(--sr-blue-soft);
}

.sr-commerce-checkout .wc-block-components-address-card__edit:focus-visible {
  outline: 3px solid var(--sr-checkout-blue-deep);
  outline-offset: 2px;
}

.sr-commerce-checkout .wc-block-components-text-input input,
.sr-commerce-checkout .wc-block-components-combobox input,
.sr-commerce-checkout .wc-block-components-address-form select,
.sr-commerce-checkout .input-text,
.sr-commerce-checkout input[type="text"],
.sr-commerce-checkout input[type="email"],
.sr-commerce-checkout input[type="tel"],
.sr-commerce-checkout textarea,
.sr-commerce-checkout select,
.sr-commerce-checkout .sa-fw-blocks-card label + div {
  height: 44px;
  min-height: 44px;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--sr-white) !important;
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 16px !important;
  line-height: 24px;
  box-shadow: var(--sr-checkout-shadow) !important;
  transition-property: box-shadow, color;
  transition-duration: 80ms;
  transition-timing-function: ease-in;
}

.sr-commerce-checkout .wc-block-components-text-input input,
.sr-commerce-checkout .wc-block-components-combobox input,
.sr-commerce-checkout .wc-block-components-address-form select,
.sr-commerce-checkout .input-text,
.sr-commerce-checkout input[type="text"],
.sr-commerce-checkout input[type="email"],
.sr-commerce-checkout input[type="tel"],
.sr-commerce-checkout select {
  padding: 8px 12px !important;
}

.sr-commerce-checkout .sa-fw-blocks-card label + div {
  padding: 13px 14px !important;
}

.sr-commerce-checkout textarea {
  min-height: 104px;
  padding: 13px 14px;
  resize: vertical;
}

.sr-commerce-checkout .wc-block-components-text-input input:focus,
.sr-commerce-checkout .wc-block-components-combobox input:focus,
.sr-commerce-checkout .wc-block-components-address-form select:focus,
.sr-commerce-checkout .input-text:focus,
.sr-commerce-checkout textarea:focus,
.sr-commerce-checkout select:focus {
  border-color: var(--sr-checkout-blue) !important;
  outline: none;
  box-shadow:
    0 0 0 1px var(--sr-checkout-blue),
    0 0 0 3px rgba(1, 90, 220, 0.16),
    0 2px 4px rgba(0, 0, 0, 0.07) !important;
}

/* Stripe-style composite address group. Keep Woo field semantics and validation intact. */
.sr-commerce-checkout #billing.wc-block-components-address-form {
  display: flex;
  overflow: visible;
  flex-flow: row wrap;
  border-radius: 6px;
  background: var(--sr-white);
  box-shadow: var(--sr-checkout-shadow);
  column-gap: 0;
}

.sr-commerce-checkout #billing > * {
  position: relative;
  margin-top: 0 !important;
}

/* Give shipping and billing floating labels separate label and value lanes. */
.sr-commerce-checkout :is(#shipping, #billing) .wc-block-components-text-input,
.sr-commerce-checkout :is(#shipping, #billing) .wc-block-components-country-input,
.sr-commerce-checkout :is(#shipping, #billing) .wc-block-components-state-input,
.sr-commerce-checkout :is(#shipping, #billing) .wc-blocks-components-select,
.sr-commerce-checkout :is(#shipping, #billing) .wc-blocks-components-select__container,
.sr-commerce-checkout :is(#shipping, #billing) .wc-block-components-text-input input,
.sr-commerce-checkout :is(#shipping, #billing) .wc-blocks-components-select__select {
  height: 50px !important;
  min-height: 50px !important;
}

.sr-commerce-checkout :is(#shipping, #billing) .wc-block-components-text-input input {
  padding: 13px 12px !important;
}

.sr-commerce-checkout :is(#shipping, #billing) .wc-block-components-text-input.is-active input,
.sr-commerce-checkout :is(#shipping, #billing) .wc-block-components-text-input input:-webkit-autofill,
.sr-commerce-checkout :is(#shipping, #billing) .wc-block-components-text-input input:autofill {
  padding: 22px 12px 4px !important;
}

.sr-commerce-checkout :is(#shipping, #billing) .wc-block-components-text-input.is-active label,
.sr-commerce-checkout :is(#shipping, #billing) .wc-block-components-text-input input:-webkit-autofill + label,
.sr-commerce-checkout :is(#shipping, #billing) .wc-block-components-text-input input:autofill + label {
  top: 6px !important;
  left: 12px !important;
  font-size: 11px !important;
  line-height: 13px !important;
  transform: none !important;
}

.sr-commerce-checkout :is(#shipping, #billing) .wc-blocks-components-select__select {
  padding: 22px 34px 4px 12px !important;
}

.sr-commerce-checkout :is(#shipping, #billing) .wc-blocks-components-select__label {
  top: 6px !important;
  left: 12px !important;
  font-size: 11px !important;
  line-height: 13px !important;
}

.sr-commerce-checkout :is(#shipping, #billing)
  :is(.wc-block-components-text-input, .wc-block-components-country-input, .wc-block-components-state-input):focus-within {
  position: relative;
  z-index: 2;
}

.sr-commerce-checkout #billing .wc-blocks-components-select {
  margin: 0 !important;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__first_name,
.sr-commerce-checkout #billing .wc-block-components-address-form__last_name,
.sr-commerce-checkout #billing .wc-block-components-address-form__city,
.sr-commerce-checkout #billing .wc-block-components-address-form__state,
.sr-commerce-checkout #billing .wc-block-components-address-form__postcode,
.sr-commerce-checkout #billing .wc-block-components-address-form__phone {
  flex: 0 0 50%;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__first_name,
.sr-commerce-checkout #billing .wc-block-components-address-form__last_name {
  order: 1;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__country {
  order: 2;
  flex: 0 0 100%;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__address_1 {
  order: 3;
  flex: 0 0 100%;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__address_2-toggle,
.sr-commerce-checkout #billing .wc-block-components-address-form__address_2-hidden-input {
  order: 4;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__address_2-hidden-input {
  display: none !important;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__city,
.sr-commerce-checkout #billing .wc-block-components-address-form__state {
  order: 5;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__postcode,
.sr-commerce-checkout #billing .wc-block-components-address-form__phone {
  order: 6;
}

.sr-commerce-checkout #billing input,
.sr-commerce-checkout #billing select {
  border: 0 !important;
  border-bottom: 1px solid var(--sr-checkout-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__last_name input,
.sr-commerce-checkout #billing .wc-block-components-address-form__state select,
.sr-commerce-checkout #billing .wc-block-components-address-form__phone input {
  border-left: 1px solid var(--sr-checkout-line) !important;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__first_name input {
  border-radius: 6px 0 0 !important;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__last_name input {
  border-radius: 0 6px 0 0 !important;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__postcode input {
  border-bottom: 0 !important;
  border-radius: 0 0 0 6px !important;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__phone input {
  border-bottom: 0 !important;
  border-radius: 0 0 6px !important;
}

.sr-commerce-checkout #billing input:focus,
.sr-commerce-checkout #billing select:focus {
  position: relative;
  z-index: 1;
  border-color: transparent !important;
  box-shadow:
    inset 0 0 0 2px var(--sr-checkout-blue),
    0 1px 1px rgba(0, 0, 0, 0.04) !important;
}

.sr-commerce-checkout #billing .wc-block-components-address-form__address_2-toggle {
  display: flex;
  min-height: 44px;
  flex: 0 0 100%;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--sr-checkout-line);
  background: var(--sr-white);
  font-size: 0.8125rem;
}

.sr-commerce-checkout .has-error input,
.sr-commerce-checkout .woocommerce-invalid input,
.sr-commerce-checkout input[aria-invalid="true"] {
  border-color: var(--sr-error) !important;
  background: #fffafb !important;
}

.sr-commerce-checkout .wc-block-components-validation-error,
.sr-commerce-checkout .woocommerce-error,
.sr-commerce-checkout .wc-block-store-notice {
  color: var(--sr-error);
  font-size: 0.8rem;
  font-weight: 650;
}

/* Keep checkout-level failures readable and clear of the split-shell brand. */
.sr-commerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-notices {
	position: relative;
	z-index: 3;
	box-sizing: border-box;
	display: grid;
	width: min(960px, calc(100% - 32px));
	margin: 0 auto;
	padding: 24px 0 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	row-gap: 8px;
}

.sr-commerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-notices:empty {
	display: none;
}

.sr-commerce-checkout .wc-block-components-notices .wc-block-components-notice-banner.is-error {
	box-sizing: border-box;
	display: flex;
	width: auto;
	margin: 0 8px 0 64px !important;
	padding: 12px 14px !important;
	border: 1px solid #edb5bd;
	border-radius: 10px;
	align-items: start;
	gap: 10px;
	background: #fff6f7;
	color: #8d2230;
	box-shadow:
		0 1px 2px rgba(67, 19, 27, 0.06),
		0 6px 18px rgba(67, 19, 27, 0.08);
	font-family: var(--sr-checkout-font);
	font-size: 0.875rem;
	font-weight: 550;
	grid-column: 2;
	line-height: 1.45;
}

.sr-commerce-checkout .wc-block-components-notices .wc-block-components-notice-banner.is-error > svg {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	border-radius: 999px;
	background: #c92a3c;
	fill: var(--sr-white);
}

.sr-commerce-checkout .wc-block-components-notices .wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__content {
	min-width: 0;
	margin: 0;
	padding: 0;
	color: inherit;
	overflow-wrap: anywhere;
}

.sr-commerce-checkout .wc-block-components-notices .wc-block-components-notice-banner.is-error > .wc-block-components-button,
.sr-commerce-checkout .wc-block-components-notices .wc-block-components-notice-banner.is-error > .wc-block-components-notice-banner__dismiss {
	display: grid;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	margin: -11px -11px -11px auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 6px !important;
	place-items: center;
	background: transparent !important;
	color: inherit !important;
}

.sr-commerce-checkout .wc-block-components-notices .wc-block-components-notice-banner.is-error > .wc-block-components-button:focus-visible,
.sr-commerce-checkout .wc-block-components-notices .wc-block-components-notice-banner.is-error > .wc-block-components-notice-banner__dismiss:focus-visible {
	outline: 2px solid currentColor !important;
	outline-offset: 2px !important;
}

.sr-commerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input {
  width: 20px;
  height: 20px;
  border-color: #aeb9ca;
  border-radius: 4px;
}

.sr-commerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
  border-color: var(--sr-checkout-blue);
  background: var(--sr-checkout-blue);
}

.sr-commerce-checkout .wc-block-components-checkbox,
.sr-commerce-checkout .wc-block-components-address-form__address_2-toggle {
  min-height: 44px;
}

.sr-commerce-checkout .wc-block-components-checkbox > label {
  display: flex;
  min-height: 44px;
  align-items: center;
}

.sr-commerce-checkout .wc-block-components-radio-control {
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: var(--sr-white);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.1),
    0 2px 6px rgba(15, 23, 42, 0.07);
}

.sr-commerce-checkout .wc-block-components-radio-control--highlight-checked::after {
  border: 0;
  border-radius: 10px;
}

.sr-commerce-checkout .wc-block-components-radio-control__option {
  min-height: 52px;
  padding: 14px 16px 14px 48px;
  border-bottom-color: #e5e9f0;
  transition: background-color 150ms ease-out, box-shadow 150ms ease-out;
}

.sr-commerce-checkout .wc-block-components-radio-control__option:has(input:checked) {
  background: #f8faff;
  box-shadow: none;
}

.sr-commerce-checkout .wc-block-components-radio-control--highlight-checked
  .wc-block-components-radio-control__option--checked-option-highlighted,
.sr-commerce-checkout .wc-block-components-radio-control--highlight-checked
  .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
  border-radius: 0;
  box-shadow: none;
}

.sr-commerce-checkout .wc-block-components-radio-control--highlight-checked
  .wc-block-components-radio-control__option::after {
  right: 16px;
  left: 16px;
  background: #e5e9f0;
}

.sr-commerce-checkout .wc-block-components-radio-control__option:has(input:focus-visible) {
  outline: 0;
  box-shadow: inset 0 0 0 3px var(--sr-checkout-blue-deep);
}

.sr-commerce-checkout .wc-block-components-radio-control__input:checked::before {
  background: var(--sr-checkout-blue);
}

.sr-commerce-checkout .wc-block-components-radio-control-accordion-content {
  padding: 4px 16px 18px 48px;
}

.sr-commerce-checkout .sr-payment-option--crypto .wc-block-components-radio-control__label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.sr-commerce-checkout .sr-payment-provider {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-left: auto;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--sr-blue-soft);
  color: var(--sr-checkout-blue-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.sr-commerce-checkout .sa-fw-blocks-card {
  max-width: none;
  padding-top: 2px;
}

.sr-commerce-checkout .sa-fw-blocks-card > p {
  color: var(--sr-checkout-muted);
  line-height: 1.5;
}

.sr-commerce-checkout .sa-fw-blocks-error {
  padding: 10px 12px;
  border: 1px solid #e7b5bc;
  border-radius: 7px;
  background: #fffafb;
  color: var(--sr-error) !important;
}

.sr-commerce-checkout .sa-fw-mor-disclosure {
  max-width: 56ch;
  margin: 10px auto 0 !important;
  color: #778196 !important;
  font-family: var(--sr-checkout-font);
  font-size: 0.72rem !important;
  line-height: 1.5 !important;
}

.sr-commerce-checkout .wc-block-components-checkout-place-order-button,
.sr-commerce-checkout #place_order {
  width: 100%;
  height: 55px !important;
  min-height: 55px !important;
  padding: 0 16px !important;
  border: 1px solid var(--sr-checkout-blue);
  border-radius: 6px;
  background: var(--sr-checkout-blue);
  color: var(--sr-white);
  font-family: var(--sr-checkout-font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgba(50, 50, 93, 0.1),
    0 2px 5px rgba(50, 50, 93, 0.1),
    0 1px 1px rgba(0, 0, 0, 0.07);
  transition-property: background-color, border-color, transform, box-shadow;
  transition-duration: 150ms, 150ms, 150ms, 80ms;
  transition-timing-function: ease-out, ease-out, ease-out, ease-in;
}

.sr-commerce-checkout .wc-block-components-checkout-place-order-button:hover,
.sr-commerce-checkout #place_order:hover {
  border-color: var(--sr-checkout-blue-deep);
  background: var(--sr-checkout-blue-deep);
  color: var(--sr-white);
  box-shadow: 0 3px 7px rgba(50, 50, 93, 0.15), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.sr-commerce-checkout .wc-block-components-checkout-place-order-button:focus-visible,
.sr-commerce-checkout #place_order:focus-visible {
  outline: 3px solid var(--sr-navy) !important;
  outline-offset: 3px;
}

.sr-commerce-checkout .wc-block-components-checkout-place-order-button:active,
.sr-commerce-checkout #place_order:active {
  transform: scale(0.96);
}

.sr-commerce-checkout .wc-block-components-checkout-place-order-button:disabled,
.sr-commerce-checkout #place_order:disabled {
  border-color: #cbd3df;
  background: #dfe4ec;
  color: #6f788b;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.sr-commerce-checkout .wc-block-components-checkout-place-order-button[data-sr-pay-total] .wc-block-components-button__text {
  font-size: 0;
}

.sr-commerce-checkout .wc-block-components-checkout-place-order-button[data-sr-pay-total]::after {
  font-size: 1rem;
  content: "Pay " attr(data-sr-pay-total);
}

.sr-commerce-checkout .wc-block-components-checkout-place-order-button[data-sr-payment-action="crypto"] .wc-block-components-button__text {
  font-size: 0;
}

.sr-commerce-checkout .wc-block-components-checkout-place-order-button[data-sr-payment-action="crypto"]::after {
  font-size: 1rem;
  content: "Continue to crypto";
}

/* Stripe-style order summary */
.sr-commerce-checkout .wc-block-checkout__sidebar,
.sr-commerce-checkout .wc-block-checkout__sidebar h2,
.sr-commerce-checkout .wc-block-checkout__sidebar h3,
.sr-commerce-checkout .wc-block-checkout__sidebar button,
.sr-commerce-checkout .wc-block-checkout__sidebar a,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-name,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-formatted-money-amount,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__label,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__value,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-price {
  color: var(--sr-white);
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-text,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary__button-text {
  color: var(--sr-checkout-summary-muted);
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title {
  min-height: 44px;
  padding: 0 0 12px;
  border: 0;
}

@media (min-width: 900px) {
  .sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title {
    display: none;
  }
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title:focus-visible,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-panel__button:focus-visible {
  outline: 2px solid var(--sr-white);
  outline-offset: 2px;
  box-shadow: none;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-name {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item .wc-block-cart-item__prices {
  display: none !important;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-metadata,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-details,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-badge,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__description {
  color: var(--sr-checkout-summary-muted);
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item {
  padding-block: 12px;
  border-bottom: 0;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__image {
  width: 52px;
  height: 52px;
  min-width: 52px;
  flex: 0 0 52px;
  align-self: start;
  overflow: visible;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__image img {
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: var(--sr-white);
  box-shadow: var(--sr-checkout-shadow);
  object-fit: contain;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__quantity {
  position: absolute;
  z-index: 2;
  top: -7px;
  right: -7px;
  display: grid;
  width: auto;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--sr-checkout-blue);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.12);
  font-family: var(--sr-checkout-font);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  line-height: 20px;
  place-items: center;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__quantity > span[aria-hidden="true"] {
  width: auto;
  min-width: 0;
  padding: 0;
  color: inherit;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
  padding-block: 12px;
  border-top-color: var(--sr-checkout-summary-line);
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
  padding-block: 8px 10px;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper:empty {
  display: none;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon {
  padding: 0 16px;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon .wc-block-components-panel__button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sr-white);
  box-shadow: none;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  flex-direction: row;
  transition-property: color, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon .wc-block-components-panel__button:hover {
  color: rgba(255, 255, 255, 0.84);
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon .wc-block-components-panel__button:active,
.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon__button:active {
  transform: scale(0.96);
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
  width: 18px;
  height: 18px;
  order: 2;
  margin: 0 0 0 auto;
  fill: currentColor;
  transition-property: transform;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"] .wc-block-components-panel__button-icon {
  transform: rotate(180deg);
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon__content {
  padding-top: 8px;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon__form {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 8px;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon__input {
  min-width: 0;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon__input input {
  width: 100%;
  min-width: 0;
  border-color: var(--sr-checkout-field) !important;
  background: var(--sr-white) !important;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon__button {
  min-width: 88px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--sr-white);
  box-shadow: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition-property: background-color, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon__button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
}

.sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon__button:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.54);
  cursor: not-allowed;
  transform: none;
}

/* Cart and confirmation */
.sr-commerce-page:not(.sr-commerce-page--checkout) {
  padding-block: clamp(28px, 4vw, 52px) clamp(64px, 8vw, 96px);
}

.sr-commerce-heading {
  max-width: 1040px;
  margin-bottom: 26px;
}

.sr-commerce-heading h1 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  letter-spacing: -0.04em;
}

.sr-commerce-heading > p {
  max-width: 58ch;
  margin: 0;
  color: var(--sr-slate);
  font-size: 0.98rem;
}

.sr-commerce-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
  color: var(--sr-slate);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.sr-commerce-back:hover {
  color: var(--sr-blue);
}

.sr-commerce-back svg {
  transition: transform 150ms ease;
}

.sr-commerce-back:hover svg {
  transform: translateX(-3px);
}

.sr-commerce-cart .sr-commerce-progress {
  display: none;
}

.sr-commerce-cart .sr-commerce-page:not(.sr-commerce-page--checkout) {
  padding: 46px 0 72px;
}

.sr-commerce-cart .sr-commerce-heading,
.sr-commerce-cart .sr-commerce-content,
.sr-commerce-cart .sr-commerce-assurance {
  width: min(960px, calc(100% - 40px));
  max-width: 960px;
}

.sr-commerce-cart .sr-commerce-heading {
  margin-bottom: 34px;
}

.sr-commerce-cart .sr-commerce-heading h1 {
  margin: 5px 0 7px;
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-wrap: balance;
}

.sr-commerce-cart .sr-commerce-heading > p {
  color: var(--sr-checkout-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.sr-commerce-cart .sr-commerce-back {
  gap: 4px;
  margin-bottom: 0;
  color: var(--sr-checkout-muted);
  font-family: var(--sr-checkout-font);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  transition-property: color, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.sr-commerce-cart .sr-commerce-back:hover {
  color: var(--sr-checkout-text);
}

.sr-commerce-cart .sr-commerce-back:active {
  transform: scale(0.96);
}

.sr-commerce-progress {
  position: relative;
  display: grid;
  max-width: 520px;
  margin-bottom: 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sr-commerce-progress::before {
  position: absolute;
  top: 16px;
  right: 16.67%;
  left: 16.67%;
  height: 1px;
  background: var(--sr-border);
  content: "";
}

.sr-commerce-progress span {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--sr-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.sr-commerce-progress b {
  display: grid;
  width: 32px;
  height: 32px;
  border: 1px solid var(--sr-border);
  border-radius: 50%;
  background: var(--sr-white);
  color: var(--sr-slate);
  font-size: 0.75rem;
  place-items: center;
}

.sr-commerce-progress span[aria-current="step"] b {
  border-color: var(--sr-blue);
  background: var(--sr-blue);
  color: var(--sr-white);
}

.sr-commerce-progress span[data-complete="true"] b {
  border-color: #a8d1be;
  background: #e9f6ef;
  color: var(--sr-success);
}

.sr-commerce-content {
  max-width: 1040px;
}

.sr-commerce-cart .wc-block-components-sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, 592px) minmax(296px, 320px);
  justify-content: space-between;
  gap: 48px;
}

.sr-commerce-cart .wc-block-components-main,
.sr-commerce-cart .wc-block-components-sidebar {
  width: auto !important;
}

.sr-commerce-cart .wc-block-components-sidebar,
.sr-commerce-content .cart_totals,
.sr-commerce-content #order_review {
  padding: 24px;
  border: 0;
  border-radius: 12px;
  background: var(--sr-checkout-panel);
  box-shadow: none;
}

.sr-commerce-cart .wc-block-components-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
}

.admin-bar .sr-commerce-cart .wc-block-components-sidebar {
  top: 56px;
}

.sr-commerce-content .wc-block-cart-items {
  display: block;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.sr-commerce-content .wc-block-cart-items thead {
  display: none;
}

.sr-commerce-content .wc-block-cart-items tbody {
  display: grid;
  gap: 12px;
}

.sr-commerce-content .wc-block-cart-items__row {
  display: grid;
  min-width: 0;
  padding: 20px;
  border: 0;
  border-radius: 12px;
  background: var(--sr-white);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.07),
    0 1px 2px -1px rgba(0, 0, 0, 0.08),
    0 3px 7px rgba(0, 0, 0, 0.04);
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 18px;
}

.sr-commerce-cart .wc-block-cart-items td {
  border: 0 !important;
}

.sr-commerce-cart .wc-block-cart-item__image {
  display: block;
  width: 88px;
  padding: 0;
}

.sr-commerce-cart .wc-block-cart-item__image img,
.sr-commerce-content .wc-block-components-order-summary-item__image img {
  display: block;
  width: 88px;
  height: 104px;
  border-radius: 8px;
  background: #f1f4f8;
  object-fit: contain;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.sr-commerce-cart .wc-block-cart-item__product {
  min-width: 0;
  padding: 1px 0 0;
}

.sr-commerce-cart .wc-block-cart-item__wrap {
  height: 100%;
}

.sr-commerce-cart .wc-block-cart-item__total {
  min-width: 76px;
  padding: 2px 0 0;
  text-align: right;
}

.sr-commerce-content .wc-block-components-product-name,
.sr-commerce-content .wc-block-cart-item__product .wc-block-components-product-name {
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-decoration: none;
}

.sr-commerce-content .wc-block-components-product-metadata,
.sr-commerce-content .wc-block-cart-item__prices,
.sr-commerce-content .wc-block-components-product-price {
  color: var(--sr-checkout-muted);
  font-family: var(--sr-checkout-font);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}

.sr-commerce-cart .wc-block-cart-item__prices {
  display: none !important;
}

.sr-commerce-cart .wc-block-cart-item__product .wc-block-components-product-price {
  display: none !important;
}

.sr-commerce-cart .wc-block-components-product-metadata {
  max-width: 46ch;
  margin-top: 5px;
  text-wrap: pretty;
}

.sr-commerce-cart .wc-block-components-product-metadata p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sr-commerce-cart .wc-block-cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.sr-commerce-content .wc-block-components-quantity-selector {
  width: 116px;
  min-height: 40px;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: var(--sr-white);
  box-shadow: var(--sr-checkout-shadow);
}

.sr-commerce-content .wc-block-components-quantity-selector input,
.sr-commerce-content .wc-block-components-quantity-selector button {
  min-width: 40px;
  min-height: 40px;
  border: 0;
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 0.875rem;
  transition-property: background-color, color, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.sr-commerce-content .wc-block-components-quantity-selector button:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.04);
}

.sr-commerce-content .wc-block-components-quantity-selector button:active:not(:disabled) {
  transform: scale(0.96);
}

.sr-commerce-content .wc-block-components-quantity-selector button:disabled {
  color: rgba(26, 26, 26, 0.3);
}

.sr-commerce-content .wc-block-cart-item__remove-link {
  display: grid;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--sr-checkout-muted);
  place-items: center;
  transition-property: background-color, color, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.sr-commerce-content .wc-block-cart-item__remove-link:hover {
  background: rgba(190, 18, 60, 0.08);
  color: #be123c;
}

.sr-commerce-content .wc-block-cart-item__remove-link:active {
  transform: scale(0.96);
}

.sr-commerce-content .wc-block-cart-item__remove-link svg {
  width: 18px;
  height: 18px;
}

.sr-commerce-content .wc-block-components-totals-wrapper {
  padding-block: 14px;
  border-top-color: rgba(0, 0, 0, 0.09);
}

.sr-commerce-content .wc-block-components-totals-item__label,
.sr-commerce-content .wc-block-components-totals-item__value {
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.sr-commerce-content .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.sr-commerce-content .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sr-commerce-cart .wc-block-cart__totals-title {
  margin: 0;
  padding: 0 0 14px;
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-transform: none;
}

.sr-commerce-cart .wc-block-cart__totals-title.sr-cart-totals-title {
  font-size: 0;
}

.sr-commerce-cart .wc-block-cart__totals-title.sr-cart-totals-title::after {
  font-size: 1rem;
  content: "Order summary";
}

.sr-commerce-cart .wp-block-woocommerce-cart-order-summary-coupon-form-block {
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  border-bottom: 0;
}

.sr-commerce-cart .wc-block-components-totals-coupon {
  padding: 0;
}

.sr-commerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sr-checkout-muted);
  font-family: var(--sr-checkout-font);
  font-size: 0.875rem;
  font-weight: 500;
  transition-property: color, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.sr-commerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button:hover {
  color: var(--sr-checkout-text);
}

.sr-commerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button:active,
.sr-commerce-cart .wc-block-components-totals-coupon__button:active {
  transform: scale(0.96);
}

.sr-commerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
  width: 18px;
  height: 18px;
  order: 2;
  margin: 0 0 0 auto;
  fill: currentColor;
  transition-property: transform;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.sr-commerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"] .wc-block-components-panel__button-icon {
  transform: rotate(180deg);
}

.sr-commerce-cart .wc-block-components-totals-coupon__content {
  padding: 0 0 12px;
}

.sr-commerce-cart .wc-block-components-totals-coupon__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 8px;
}

.sr-commerce-cart .wc-block-components-totals-coupon__input {
  min-width: 0;
}

.sr-commerce-cart .wc-block-components-totals-coupon__input input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0 !important;
  border-radius: 6px;
  background: var(--sr-white);
  box-shadow: var(--sr-checkout-shadow);
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 1rem;
}

.sr-commerce-cart .wc-block-components-totals-coupon__button {
  min-width: 76px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: rgba(1, 90, 220, 0.1);
  color: var(--sr-checkout-blue);
  box-shadow: none;
  font-family: var(--sr-checkout-font);
  font-size: 0.875rem;
  font-weight: 600;
  transition-property: background-color, color, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.sr-commerce-cart .wc-block-components-totals-coupon__button:hover:not(:disabled) {
  background: rgba(1, 90, 220, 0.16);
}

.sr-commerce-cart .wc-block-components-totals-coupon__button:disabled {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(26, 26, 26, 0.38);
  cursor: not-allowed;
  transform: none;
}

.sr-commerce-cart .sr-commerce-back:focus-visible,
.sr-commerce-cart .wc-block-components-product-name:focus-visible,
.sr-commerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button:focus-visible,
.sr-commerce-cart .wc-block-cart-item__remove-link:focus-visible,
.sr-commerce-cart .wc-block-cart__submit-button:focus-visible {
  outline: 3px solid rgba(1, 90, 220, 0.28);
  outline-offset: 2px;
}

.sr-commerce-cart .wc-block-components-quantity-selector:focus-within,
.sr-commerce-cart .wc-block-components-totals-coupon__input:focus-within {
  box-shadow:
    0 0 0 1px var(--sr-checkout-blue),
    0 1px 1px rgba(0, 0, 0, 0.07),
    0 0 0 3px rgba(1, 90, 220, 0.24);
}

.sr-commerce-cart .wc-block-components-quantity-selector input:focus,
.sr-commerce-cart .wc-block-components-totals-coupon__input input:focus {
  outline: 0;
  box-shadow: none !important;
}

.sr-commerce-cart .wc-block-components-button,
.sr-commerce-cart .wc-block-cart__submit-button,
.sr-commerce-content .checkout-button {
  min-height: 54px;
  border: 0;
  border-radius: 6px;
  background: var(--sr-checkout-blue);
  color: var(--sr-white);
  font-family: var(--sr-checkout-font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.12),
    0 1px 1px rgba(0, 0, 0, 0.08);
  transition-property: background-color, box-shadow, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.sr-commerce-cart .wc-block-components-button:hover,
.sr-commerce-cart .wc-block-cart__submit-button:hover,
.sr-commerce-content .checkout-button:hover {
  background: var(--sr-checkout-blue-deep);
  color: var(--sr-white);
  box-shadow:
    0 3px 7px rgba(0, 0, 0, 0.14),
    0 1px 1px rgba(0, 0, 0, 0.08);
}

.sr-commerce-cart .wc-block-components-button:active,
.sr-commerce-cart .wc-block-cart__submit-button:active,
.sr-commerce-content .checkout-button:active {
  transform: scale(0.96);
}

.sr-commerce-cart .wc-block-cart__submit-container,
.sr-commerce-cart .wc-block-cart__submit-button {
  width: 100%;
}

.sr-commerce-cart .wc-block-cart__submit-button.sr-cart-submit .wc-block-components-button__text {
  font-size: 0;
}

.sr-commerce-cart .wc-block-cart__submit-button.sr-cart-submit::after {
  font-size: 1rem;
  content: "Continue to checkout";
}

.sr-commerce-cart .wp-block-woocommerce-empty-cart-block {
  max-width: 560px;
  padding: 8px 0 16px;
}

.sr-commerce-cart .wc-block-cart__empty-cart__title {
  margin: 0 0 10px;
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.sr-commerce-cart .wp-block-woocommerce-empty-cart-block p {
  color: var(--sr-checkout-muted);
  font-family: var(--sr-checkout-font);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.sr-commerce-content .wp-block-woocommerce-product-collection,
.sr-commerce-content .wc-block-cart__cross-sells-block,
.sr-commerce-content .wp-block-woocommerce-product-new {
  display: none;
}

.sr-commerce-assurance {
  display: grid;
  max-width: 1040px;
  gap: 18px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--sr-border);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sr-commerce-assurance p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.sr-commerce-assurance strong {
  color: var(--sr-navy);
  font-size: 0.84rem;
}

.sr-commerce-assurance span {
  color: var(--sr-slate);
  font-size: 0.76rem;
  line-height: 1.5;
}

.sr-commerce-cart .sr-commerce-assurance {
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top-color: rgba(0, 0, 0, 0.09);
}

.sr-commerce-cart .sr-commerce-assurance p {
  gap: 5px;
}

.sr-commerce-cart .sr-commerce-assurance strong {
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.sr-commerce-cart .sr-commerce-assurance span {
  color: var(--sr-checkout-muted);
  font-family: var(--sr-checkout-font);
  font-size: 0.75rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.sr-commerce-content .woocommerce-form-coupon-toggle,
.sr-commerce-content .woocommerce-info,
.sr-commerce-content .woocommerce-message,
.sr-commerce-content .woocommerce-error {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--sr-border);
  border-radius: 7px;
  background: var(--sr-white);
  list-style: none;
}

.sr-commerce-content .woocommerce-order-overview {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
  padding: 0;
  border: 1px solid var(--sr-border);
  border-radius: 10px;
  background: var(--sr-white);
  list-style: none;
  box-shadow: 0 12px 34px rgba(1, 19, 59, 0.06);
}

.sr-commerce-content .woocommerce-order-overview li {
  display: grid;
  gap: 2px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--sr-border);
  color: var(--sr-muted);
  font-size: 0.73rem;
  text-transform: none;
}

.sr-commerce-content .woocommerce-order-overview li:last-child {
  border-bottom: 0;
}

.sr-commerce-content .woocommerce-order-overview strong {
  color: var(--sr-navy);
  font-size: 0.94rem;
}

/* Focused order confirmation */
.sr-commerce-complete {
  background: var(--sr-checkout-panel);
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.sr-commerce-complete .sr-site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--sr-white);
  box-shadow: none;
}

.sr-commerce-complete .sr-header__inner {
  width: min(880px, calc(100% - 40px));
  min-height: 72px;
  padding: 0;
  grid-template-columns: 1fr;
}

.sr-commerce-complete .sr-brand,
.sr-commerce-complete .sr-brand img {
  width: 148px;
}

.sr-commerce-complete .sr-primary-nav,
.sr-commerce-complete .sr-header__actions,
.sr-commerce-complete .sr-header-catalog-shortcut,
.sr-commerce-complete .sr-nav-toggle,
.sr-commerce-complete .sr-assurance,
.sr-commerce-complete .sr-navigation-scrim,
.sr-commerce-complete .sr-site-footer {
  display: none !important;
}

.sr-commerce-complete .sr-site-main {
  min-height: calc(100svh - 73px);
  background: var(--sr-checkout-panel);
}

.sr-commerce-complete .sr-commerce-page--complete {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 80px;
}

.sr-commerce-complete .sr-commerce-heading,
.sr-commerce-complete .sr-commerce-progress,
.sr-commerce-complete .sr-commerce-content,
.sr-commerce-complete .sr-commerce-assurance {
  width: 100%;
  max-width: none;
}

.sr-commerce-complete .sr-commerce-heading {
  display: grid;
  justify-items: center;
  margin: 0 0 28px;
  text-align: center;
}

.sr-commerce-complete .sr-commerce-status-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e9f6ef;
  color: var(--sr-success);
  place-items: center;
  box-shadow: inset 0 0 0 1px #b8ddcb;
}

.sr-commerce-complete .sr-commerce-status-icon svg {
  width: 24px;
  height: 24px;
}

.sr-commerce-complete .sr-commerce-status-icon--pending {
  background: var(--sr-checkout-warning-soft);
  color: var(--sr-checkout-warning);
  box-shadow: inset 0 0 0 1px #ead49c;
}

.sr-commerce-complete .sr-commerce-status-icon--error {
  background: #fceff1;
  color: var(--sr-error);
  box-shadow: inset 0 0 0 1px #efc2c8;
}

.sr-commerce-complete .sr-commerce-status-icon--verify,
.sr-commerce-complete .sr-commerce-status-icon--refunded {
  background: #eaf2ff;
  color: var(--sr-checkout-blue);
  box-shadow: inset 0 0 0 1px #bfd5f6;
}

.sr-commerce-complete .sr-commerce-heading h1 {
  margin: 0 0 8px;
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.sr-commerce-complete .sr-commerce-heading > p {
  max-width: 48ch;
  color: var(--sr-checkout-muted);
  font-family: var(--sr-checkout-font);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.sr-commerce-complete .sr-commerce-recovery-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 12px;
  color: var(--sr-checkout-blue);
  font-family: var(--sr-checkout-font);
  font-size: 0.875rem;
  font-weight: 600;
  text-underline-offset: 3px;
}

.sr-commerce-complete .sr-commerce-recovery-link:hover {
  color: var(--sr-checkout-blue-deep);
}

.sr-commerce-complete .sr-commerce-recovery-link:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--sr-checkout-blue);
  outline-offset: 3px;
}

.sr-commerce-complete .sr-commerce-progress {
  width: min(440px, 100%);
  margin: 0 auto 40px;
}

.sr-commerce-complete .sr-commerce-progress span {
  color: var(--sr-checkout-muted);
  font-family: var(--sr-checkout-font);
  font-weight: 500;
}

.sr-commerce-complete .sr-commerce-content > .woocommerce,
.sr-commerce-complete .woocommerce-order {
  width: 100%;
}

.sr-commerce-complete .woocommerce-thankyou-order-received {
  display: none;
}

.sr-commerce-complete .woocommerce-thankyou-order-failed {
  margin: 0 0 12px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #fceff1;
  color: #7f1a28;
  font-family: var(--sr-checkout-font);
  font-size: 0.875rem;
  line-height: 1.55;
}

.sr-commerce-complete .woocommerce-thankyou-order-failed-actions {
  display: flex;
  margin: 0 0 24px;
}

.sr-commerce-complete .woocommerce-thankyou-order-failed-actions .button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--sr-checkout-blue);
  color: var(--sr-white);
  font-family: var(--sr-checkout-font);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.sr-commerce-complete .woocommerce-thankyou-order-failed-actions .button:hover {
  background: var(--sr-checkout-blue-deep);
}

.sr-commerce-complete .woocommerce-thankyou-order-failed-actions .button:focus-visible {
  outline: 2px solid var(--sr-checkout-blue);
  outline-offset: 3px;
}

.sr-commerce-complete .woocommerce-order > p:not([class]) {
  margin: 0 0 18px;
  color: var(--sr-checkout-muted);
  font-family: var(--sr-checkout-font);
  font-size: 0.875rem;
  line-height: 1.55;
}

.sr-commerce-complete .woocommerce-verify-email {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: var(--sr-white);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 12px 32px rgba(16, 24, 40, 0.05);
}

.sr-commerce-complete .woocommerce-verify-email > p:first-of-type {
  margin: 0 0 22px;
  color: var(--sr-checkout-muted);
  font-family: var(--sr-checkout-font);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.sr-commerce-complete .woocommerce-verify-email a {
  color: var(--sr-checkout-blue);
  font-weight: 500;
  text-underline-offset: 2px;
}

.sr-commerce-complete .woocommerce-verify-email .form-row {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
}

.sr-commerce-complete .woocommerce-verify-email label {
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

.sr-commerce-complete .woocommerce-verify-email .input-text {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--sr-checkout-field);
  border-radius: 6px;
  background: var(--sr-white);
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 1rem;
  line-height: 1.35;
  outline: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.sr-commerce-complete .woocommerce-verify-email .input-text:focus {
  border-color: var(--sr-checkout-blue);
  box-shadow: 0 0 0 3px rgba(1, 90, 220, 0.16);
}

.sr-commerce-complete .woocommerce-verify-email .woocommerce-button {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--sr-checkout-blue);
  color: var(--sr-white);
  font-family: var(--sr-checkout-font);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(1, 90, 220, 0.2);
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.sr-commerce-complete .woocommerce-verify-email .woocommerce-button:hover {
  background: var(--sr-checkout-blue-deep);
  box-shadow: 0 3px 8px rgba(1, 90, 220, 0.24);
}

.sr-commerce-complete .woocommerce-verify-email .woocommerce-button:active {
  transform: translateY(1px);
  box-shadow: 0 1px 3px rgba(1, 90, 220, 0.18);
}

.sr-commerce-complete .sr-commerce-content .woocommerce-order-overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin: 0 0 24px;
  border-color: rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 12px 32px rgba(16, 24, 40, 0.05);
}

.sr-commerce-complete .sr-commerce-content .woocommerce-order-overview li {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 0;
  color: var(--sr-checkout-muted);
  font-family: var(--sr-checkout-font);
  font-size: 0.75rem;
  line-height: 1.4;
}

.sr-commerce-complete .sr-commerce-content .woocommerce-order-overview li:last-child {
  border-right: 0;
}

.sr-commerce-complete .sr-commerce-content .woocommerce-order-overview strong {
  overflow-wrap: anywhere;
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.4;
}

.sr-commerce-complete .woocommerce-order-details,
.sr-commerce-complete .woocommerce-customer-details {
  margin: 0 0 24px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: var(--sr-white);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 12px 32px rgba(16, 24, 40, 0.05);
}

.sr-commerce-complete .woocommerce-order-details__title,
.sr-commerce-complete .woocommerce-column__title {
  margin: 0 0 18px;
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.sr-commerce-complete .woocommerce-table--order-details {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 0.875rem;
}

.sr-commerce-complete .woocommerce-table--order-details th,
.sr-commerce-complete .woocommerce-table--order-details td {
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
}

.sr-commerce-complete .woocommerce-table--order-details th:last-child,
.sr-commerce-complete .woocommerce-table--order-details td:last-child {
  text-align: right;
}

.sr-commerce-complete .woocommerce-table--order-details tfoot tr:last-child th,
.sr-commerce-complete .woocommerce-table--order-details tfoot tr:last-child td {
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--sr-checkout-text);
  font-size: 1rem;
  font-weight: 600;
}

.sr-commerce-complete .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sr-commerce-complete .woocommerce-columns--addresses .woocommerce-column {
  min-width: 0;
}

.sr-commerce-complete .woocommerce-column address {
  color: var(--sr-checkout-muted);
  font-family: var(--sr-checkout-font);
  font-size: 0.875rem;
  font-style: normal;
  line-height: 1.65;
}

.sr-commerce-complete .woocommerce-customer-details--phone,
.sr-commerce-complete .woocommerce-customer-details--email {
  margin: 8px 0 0;
  color: var(--sr-checkout-text);
  overflow-wrap: anywhere;
}

.sr-commerce-complete .sr-commerce-assurance {
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top-color: rgba(0, 0, 0, 0.09);
}

.sr-commerce-complete .sr-commerce-assurance strong {
  color: var(--sr-checkout-text);
  font-family: var(--sr-checkout-font);
  font-size: 0.8125rem;
  font-weight: 600;
}

.sr-commerce-complete .sr-commerce-assurance span {
  color: var(--sr-checkout-muted);
  font-family: var(--sr-checkout-font);
  font-size: 0.75rem;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (max-width: 899px) {
  .sr-commerce-checkout,
  .sr-commerce-checkout .sr-site-main {
    background: var(--sr-white);
  }

  .sr-commerce-checkout .sr-site-header {
    position: relative;
    border-bottom: 0;
    background: var(--sr-checkout-blue);
  }

	body.admin-bar.sr-commerce-checkout .sr-site-header {
		top: 0;
	}

  .sr-commerce-checkout .sr-header__inner {
    width: min(100% - 32px, 680px);
    min-height: 68px;
    padding-left: 0;
  }

  .sr-commerce-checkout .sr-brand,
  .sr-commerce-checkout .sr-brand img {
    width: 140px;
  }

  .sr-commerce-checkout .sr-site-main {
    min-height: calc(100svh - 68px);
  }

  .sr-commerce-page--checkout {
    margin-top: 0;
  }

	.sr-commerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-notices {
		width: min(100% - 32px, 408px);
		padding: 16px 0 0;
		grid-template-columns: minmax(0, 1fr);
	}

	.sr-commerce-checkout .wc-block-components-notices .wc-block-components-notice-banner.is-error {
		margin: 0 !important;
		grid-column: 1;
	}

  .sr-commerce-checkout .wc-block-components-sidebar-layout {
    display: flex;
    width: 100%;
    min-height: 0;
    margin-block: 0;
    flex-direction: column;
  }

  .sr-commerce-checkout .wc-block-checkout__sidebar,
  .sr-commerce-checkout .wc-block-components-sidebar {
    width: 100% !important;
    padding: 0 max(16px, calc((100% - 440px) / 2)) 12px;
    border-bottom: 0;
    border-radius: 0 !important;
    background: var(--sr-checkout-blue);
  }

  .sr-commerce-checkout .wc-block-checkout__main,
  .sr-commerce-checkout .wc-block-components-main {
    width: min(100% - 32px, 408px) !important;
    margin: 0 auto;
    padding: 28px 0 72px;
  }

  .sr-commerce-checkout .wc-block-must-login-prompt {
    width: min(100% - 32px, 408px);
    min-height: calc(100svh - 68px);
    margin: 0 auto;
    padding: 72px 0;
    background: var(--sr-white);
  }

  .sr-checkout-merchant-summary {
    display: none;
  }

  .sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title {
    display: grid;
    min-height: 52px;
    padding: 0;
    grid-template-columns: minmax(0, 1fr) auto 24px;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }

  .sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-text,
  .sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-price {
    color: var(--sr-white);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.3;
  }

  .sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-price {
    font-variant-numeric: tabular-nums;
  }

  .sr-commerce-checkout .wc-block-checkout__sidebar .sr-summary-enhanced .wc-block-components-checkout-order-summary__title-text {
    font-size: 0;
  }

  .sr-commerce-checkout .wc-block-checkout__sidebar .sr-summary-enhanced .wc-block-components-checkout-order-summary__title-text::after {
    font-size: 0.9375rem;
    content: "Show order summary";
  }

  .sr-commerce-checkout .wc-block-checkout__sidebar .sr-summary-enhanced.sr-summary-expanded .wc-block-components-checkout-order-summary__title-text::after {
    content: "Hide order summary";
  }

  .sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-icon {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: var(--sr-white);
    transform: rotate(0deg);
    transition-property: transform;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  }

  .sr-commerce-checkout .wc-block-checkout__sidebar .sr-summary-expanded .wc-block-components-checkout-order-summary__title-icon {
    transform: rotate(180deg);
  }

  .sr-commerce-checkout .wc-block-checkout__sidebar .sr-summary-enhanced .wc-block-components-checkout-order-summary__content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition-property: max-height, opacity, transform;
    transition-duration: 220ms, 140ms, 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1), ease-in, cubic-bezier(0.2, 0, 0, 1);
  }

  .sr-commerce-checkout .wc-block-checkout__sidebar .sr-summary-enhanced.sr-summary-expanded .wc-block-components-checkout-order-summary__content {
    max-height: var(--sr-summary-content-height, 1200px);
    opacity: 1;
    transform: translateY(0);
  }

  .sr-commerce-page:not(.sr-commerce-page--checkout) {
    padding-top: 24px;
  }

  .sr-commerce-heading,
  .sr-commerce-progress,
  .sr-commerce-content,
  .sr-commerce-assurance {
    width: min(100% - 32px, 680px);
  }

  .sr-commerce-cart .sr-header__inner {
    width: min(100% - 32px, 680px);
    min-height: 68px;
  }

  .sr-commerce-cart .sr-brand,
  .sr-commerce-cart .sr-brand img {
    width: 140px;
  }

  .sr-commerce-cart .sr-commerce-page:not(.sr-commerce-page--checkout) {
    padding: 34px 0 64px;
  }

  .sr-commerce-cart .sr-commerce-heading,
  .sr-commerce-cart .sr-commerce-content,
  .sr-commerce-cart .sr-commerce-assurance {
    width: min(100% - 32px, 680px);
  }

  .sr-commerce-cart .sr-commerce-heading {
    margin-bottom: 28px;
  }

  .sr-commerce-cart .wc-block-components-sidebar-layout {
    display: flex;
    gap: 28px;
    flex-direction: column;
  }

  .sr-commerce-cart .wc-block-components-sidebar {
    position: static;
    width: 100% !important;
    padding: 22px;
  }

  .sr-commerce-cart .wc-block-cart__totals-title {
    display: block !important;
  }

  .sr-commerce-content .wc-block-cart-items thead {
    display: none;
  }

  .sr-commerce-content .wc-block-cart-items,
  .sr-commerce-content .wc-block-cart-items tbody,
  .sr-commerce-content .wc-block-cart-items tr,
  .sr-commerce-content .wc-block-cart-items td {
    display: block;
    width: 100%;
  }

  .sr-commerce-content .wc-block-cart-items__row {
    position: relative;
    display: grid;
    overflow: hidden;
    padding: 18px;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
  }

  .sr-commerce-content .wc-block-cart-item__image {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding: 0;
  }

  .sr-commerce-content .wc-block-cart-item__image img {
    width: 88px;
    height: 104px;
  }

  .sr-commerce-content .wc-block-cart-item__product {
    grid-column: 2;
    padding: 0;
  }

  .sr-commerce-cart .wc-block-cart-item__product .wc-block-components-product-name {
    display: block;
    padding-right: 76px;
  }

  .sr-commerce-content .wc-block-cart-item__total {
    position: absolute;
    top: 18px;
    right: 18px;
    min-width: 64px;
    padding: 0;
    text-align: right;
  }

  .sr-commerce-content .wc-block-cart-item__total .wc-block-components-product-price {
    justify-content: flex-end;
  }

  .sr-commerce-assurance {
    grid-template-columns: 1fr;
  }

  .sr-commerce-complete .sr-header__inner,
  .sr-commerce-complete .sr-commerce-page--complete {
    width: min(100% - 32px, 680px);
  }

  .sr-commerce-complete .sr-header__inner {
    min-height: 68px;
  }

  .sr-commerce-complete .sr-brand,
  .sr-commerce-complete .sr-brand img {
    width: 140px;
  }

  .sr-commerce-complete .sr-commerce-page--complete {
    padding: 40px 0 64px;
  }

  .sr-commerce-complete .sr-commerce-content .woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sr-commerce-complete .sr-commerce-content .woocommerce-order-overview li {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .sr-commerce-complete .sr-commerce-content .woocommerce-order-overview li:nth-child(2n) {
    border-right: 0;
  }

  .sr-commerce-complete .sr-commerce-content .woocommerce-order-overview li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .sr-commerce-complete .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
	.sr-commerce-complete .sr-header__inner {
		min-height: 64px;
	}

	.sr-commerce-complete .sr-commerce-page--complete {
		padding: 32px 0 52px;
	}

	.sr-commerce-complete .sr-commerce-status-icon {
		width: 44px;
		height: 44px;
		margin-bottom: 16px;
	}

	.sr-commerce-complete .sr-commerce-progress {
		margin-bottom: 30px;
	}

	.sr-commerce-complete .sr-commerce-content .woocommerce-order-overview li,
	.sr-commerce-complete .woocommerce-order-details,
	.sr-commerce-complete .woocommerce-customer-details {
		padding: 18px;
	}

	.sr-commerce-complete .woocommerce-verify-email {
		padding: 22px 18px;
	}

  .sr-commerce-cart .sr-header__inner {
    min-height: 64px;
  }

  .sr-commerce-cart .sr-commerce-page:not(.sr-commerce-page--checkout) {
    padding-top: 28px;
  }

  .sr-commerce-cart .sr-commerce-heading h1 {
    font-size: 1.75rem;
  }

  .sr-commerce-cart .wc-block-cart-items__row {
    padding: 16px;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }

  .sr-commerce-content .wc-block-cart-item__total {
    top: 16px;
    right: 16px;
  }

  .sr-commerce-cart .wc-block-cart-item__image,
  .sr-commerce-cart .wc-block-cart-item__image img {
    width: 72px;
  }

  .sr-commerce-cart .wc-block-cart-item__image img {
    height: 86px;
  }

  .sr-commerce-cart .wc-block-components-product-metadata {
    display: none;
  }

  .sr-commerce-cart .wc-block-cart-item__quantity {
    margin-top: 12px;
  }

  .sr-commerce-cart .wc-block-components-sidebar {
    padding: 20px;
  }

  .sr-commerce-cart .sr-commerce-assurance {
    margin-top: 30px;
  }

  .sr-commerce-checkout .sr-header__inner {
    min-height: 64px;
  }

  .sr-commerce-checkout .sr-brand,
  .sr-commerce-checkout .sr-brand img {
    width: 140px;
  }

  .sr-commerce-checkout .wc-block-must-login-prompt {
    min-height: calc(100svh - 64px);
    padding: 56px 0;
  }

  .sr-commerce-checkout .wc-block-checkout__main,
  .sr-commerce-checkout .wc-block-components-main {
    padding-top: 30px;
  }

  .sr-commerce-checkout .wc-block-components-checkout-step {
    padding-bottom: 28px;
  }

  .sr-commerce-checkout .wc-block-components-radio-control-accordion-content {
    padding-right: 16px;
    padding-left: 48px;
  }

  .sr-commerce-checkout .wc-block-checkout__main .checkout-order-summary-block-fill-wrapper {
    display: none !important;
  }

  .sr-commerce-checkout .sa-fw-blocks-card > div[style*="display: flex"] {
    gap: 8px !important;
  }

  .sr-commerce-heading h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .sr-commerce-content .wc-block-components-sidebar {
    border-radius: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sr-commerce-back svg,
  .sr-commerce-checkout .wc-block-components-radio-control__option,
  .sr-commerce-checkout .wc-block-components-checkout-place-order-button,
  .sr-commerce-checkout .wc-block-components-address-card__edit,
  .sr-commerce-cart .sr-commerce-back,
  .sr-commerce-cart .wc-block-components-quantity-selector button,
  .sr-commerce-cart .wc-block-cart-item__remove-link,
  .sr-commerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button,
  .sr-commerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button-icon,
  .sr-commerce-cart .wc-block-components-totals-coupon__button,
  .sr-commerce-cart .wc-block-components-button,
  .sr-commerce-cart .wc-block-cart__submit-button {
    transition: none;
  }

  .sr-commerce-checkout .wc-block-checkout__sidebar .sr-summary-enhanced .wc-block-components-checkout-order-summary__content,
  .sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-icon,
  .sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon .wc-block-components-panel__button,
  .sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon .wc-block-components-panel__button-icon,
  .sr-commerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-coupon__button,
  .sr-commerce-checkout .wc-block-must-login-prompt a {
    transition: none;
  }
}
