/**
 * WooCommerce employer checkout — AI Crew Connect branding.
 */

:root {
	--si-gold: #E7F428;
	--si-gold-dark: #b6943e;
	--si-teal: #4c8a7b;
	--si-teal-dark: #3d7366;
	--si-dark: #111111;
	--si-muted: #394149;
	--si-soft: #6a737c;
	--si-cream: #fffbf4;
	--si-card: #ffffff;
	--si-border: #00000014;
	--si-border-strong: #00000021;
	--si-radius: 16px;
	--si-radius-pill: 999px;
	--si-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
	--si-shadow-lg: 0 20px 50px rgba(76, 138, 123, 0.14);
}

/* Keep Google Places suggestions above checkout cards and sticky elements. */
.pac-container {
	z-index: 100000;
}

/* Temporarily hide suggestions after a place is selected. */
body.si-pac-suppressed .pac-container {
	display: none !important;
}


body.si-wc-employer-checkout,
body.woocommerce-checkout.si-wc-employer-checkout {
	font-family: "Poppins", sans-serif;
	background: var(--si-cream);
	color: var(--si-dark);
}

/* Clear fixed/sticky theme header overlap */
body.si-wc-employer-checkout .site-main,
body.si-wc-employer-checkout main.site-main,
body.si-wc-employer-checkout .elementor-location-single,
body.si-wc-employer-checkout .page-content {
	position: relative;
	z-index: 1;
	padding-top: clamp(24px, 4vw, 40px);
	padding-bottom: 56px;
	overflow: visible;
}

body.si-wc-employer-checkout .site-header,
body.si-wc-employer-checkout header.elementor-location-header,
body.si-wc-employer-checkout .elementor-location-header {
	position: relative;
	z-index: 20;
}

body.si-wc-employer-checkout .site-main,
body.si-wc-employer-checkout .content-area,
body.si-wc-employer-checkout .woocommerce,
body.si-wc-employer-checkout .si-checkout-shell {
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

body.si-wc-employer-checkout .entry-title,
body.si-wc-employer-checkout .page-title {
	display: none;
}

/* Shell + header */
.si-checkout-shell {
	padding: 0 20px 56px;
}

.si-checkout-shell--blocks {
	padding-top: 8px;
}

.si-checkout-brand {
	text-align: center;
	margin: 0 auto 32px;
	max-width: 640px;
}

.si-checkout-eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	padding: 6px 14px;
	border-radius: var(--si-radius-pill);
	background: linear-gradient(254.46deg, rgba(231, 193, 100, 0.22) 0%, rgba(76, 138, 123, 0.18) 120%);
	color: var(--si-teal-dark);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.si-checkout-title {
	margin: 0 0 8px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 600;
	line-height: 1.15;
	color: var(--si-dark);
}

.si-checkout-subtitle {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--si-muted);
}

.si-checkout-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	font-size: 14px;
	font-weight: 500;
	color: var(--si-teal);
	text-decoration: none;
}

.si-checkout-back:hover {
	color: var(--si-teal-dark);
	text-decoration: underline;
}

/* Classic checkout layout */
body.si-wc-employer-checkout form.checkout.woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
	gap: 28px;
	align-items: start;
}

body.si-wc-employer-checkout #customer_details {
	grid-column: 1;
	grid-row: 1 / span 5;
}

body.si-wc-employer-checkout #order_review_heading {
	grid-column: 2;
	grid-row: 1;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	font-size: 20px;
	font-weight: 600;
	color: var(--si-dark);
}

body.si-wc-employer-checkout #order_review {
	grid-column: 2;
	grid-row: 2;
}

/* Cards */
body.si-wc-employer-checkout .col2-set .col-1,
body.si-wc-employer-checkout .col2-set .col-2,
body.si-wc-employer-checkout .woocommerce-checkout-review-order,
body.si-wc-employer-checkout .woocommerce-billing-fields,
body.si-wc-employer-checkout .woocommerce-additional-fields,
body.si-wc-employer-checkout #payment {
	background: var(--si-card);
	border: 1px solid var(--si-border-strong);
	border-radius: var(--si-radius);
	box-shadow: var(--si-shadow);
}

body.si-wc-employer-checkout .woocommerce-billing-fields,
body.si-wc-employer-checkout .woocommerce-additional-fields,
body.si-wc-employer-checkout #customer_details .col-1,
body.si-wc-employer-checkout #customer_details .col-2 {
	padding: 24px;
}

body.si-wc-employer-checkout .woocommerce-checkout-review-order {
	padding: 0;
	overflow: hidden;
}

body.si-wc-employer-checkout #payment {
	padding: 20px 24px 24px;
	margin-top: 16px;
}

body.si-wc-employer-checkout .col2-set {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

body.si-wc-employer-checkout .col2-set::before,
body.si-wc-employer-checkout .col2-set::after {
	display: none;
}

body.si-wc-employer-checkout .col2-set .col-1,
body.si-wc-employer-checkout .col2-set .col-2 {
	width: 100%;
	float: none;
}

/* Headings + labels */
body.si-wc-employer-checkout .woocommerce h3,
body.si-wc-employer-checkout .woocommerce-checkout h3 {
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--si-border);
	font-size: 18px;
	font-weight: 600;
	color: var(--si-dark);
}

body.si-wc-employer-checkout .woocommerce form .form-row label {
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--si-dark);
}

body.si-wc-employer-checkout .woocommerce form .form-row {
	margin-bottom: 18px;
	padding: 0;
}

body.si-wc-employer-checkout .woocommerce form .form-row input.input-text,
body.si-wc-employer-checkout .woocommerce form .form-row textarea,
body.si-wc-employer-checkout .woocommerce form .form-row select,
body.si-wc-employer-checkout .select2-container .select2-selection--single {
	min-height: 48px;
	border-radius: 10px !important;
	border: 1px solid var(--si-border-strong) !important;
	padding: 0.75rem 1rem !important;
	font-family: inherit;
	font-size: 14px;
	color: var(--si-dark);
	background: #ffffff;
	box-shadow: none;
}

body.si-wc-employer-checkout .woocommerce form .form-row input.input-text:focus,
body.si-wc-employer-checkout .woocommerce form .form-row textarea:focus,
body.si-wc-employer-checkout .woocommerce form .form-row select:focus,
body.si-wc-employer-checkout .select2-container--open .select2-selection--single {
	border-color: var(--si-teal) !important;
	box-shadow: 0 0 0 3px rgba(76, 138, 123, 0.15) !important;
	outline: none;
}

/* Order review table */
body.si-wc-employer-checkout .woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

body.si-wc-employer-checkout .woocommerce-checkout-review-order-table thead {
	display: none;
}

body.si-wc-employer-checkout .woocommerce-checkout-review-order-table th,
body.si-wc-employer-checkout .woocommerce-checkout-review-order-table td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--si-border);
	font-size: 14px;
}

body.si-wc-employer-checkout .woocommerce-checkout-review-order-table .product-name {
	font-weight: 500;
	color: var(--si-dark);
}

body.si-wc-employer-checkout .woocommerce-checkout-review-order-table .product-total,
body.si-wc-employer-checkout .woocommerce-checkout-review-order-table tfoot td {
	text-align: right;
	font-weight: 600;
}

body.si-wc-employer-checkout .woocommerce-checkout-review-order-table tfoot th {
	font-weight: 600;
	color: var(--si-soft);
}

body.si-wc-employer-checkout .woocommerce-checkout-review-order-table .order-total th,
body.si-wc-employer-checkout .woocommerce-checkout-review-order-table .order-total td {
	border-bottom: 0;
	padding-top: 18px;
	font-size: 18px;
	color: var(--si-dark);
}

/* Payment methods */
body.si-wc-employer-checkout #payment ul.payment_methods {
	margin: 0 0 16px;
	padding: 0;
	border-bottom: 1px solid var(--si-border);
}

body.si-wc-employer-checkout #payment ul.payment_methods li {
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--si-border);
	list-style: none;
}

body.si-wc-employer-checkout #payment ul.payment_methods li:last-child {
	border-bottom: 0;
}

body.si-wc-employer-checkout #payment div.payment_box {
	margin: 10px 0 0;
	padding: 14px 16px;
	border-radius: 10px;
	background: #f8fafb;
	color: var(--si-muted);
	font-size: 13px;
	line-height: 1.5;
}

body.si-wc-employer-checkout #payment .place-order {
	margin: 0;
	padding: 0;
}

body.si-wc-employer-checkout #place_order,
body.si-wc-employer-checkout .woocommerce button.button.alt,
body.si-wc-employer-checkout .woocommerce a.button.alt {
	width: 100%;
	min-height: 54px;
	border: 0;
	border-radius: var(--si-radius-pill);
	background: linear-gradient(254.46deg, var(--si-gold) 0%, var(--si-teal) 120%);
	color: #ffffff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.2s ease;
}

body.si-wc-employer-checkout #place_order:hover,
body.si-wc-employer-checkout .woocommerce button.button.alt:hover {
	filter: brightness(1.04);
	transform: translateY(-1px);
}

/* Notices */
body.si-wc-employer-checkout .woocommerce-error,
body.si-wc-employer-checkout .woocommerce-info,
body.si-wc-employer-checkout .woocommerce-message {
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 1px solid var(--si-border-strong);
	border-left-width: 4px;
	border-radius: 12px;
	background: #ffffff;
	font-size: 14px;
	line-height: 1.5;
	list-style: none;
}

body.si-wc-employer-checkout .woocommerce-error {
	border-left-color: #c0392b;
	background: #fff5f5;
}

body.si-wc-employer-checkout .woocommerce-info {
	border-left-color: var(--si-gold);
	background: #fffdf8;
}

body.si-wc-employer-checkout .woocommerce-message {
	border-left-color: var(--si-teal);
	background: #f3faf8;
}

body.si-wc-employer-checkout a {
	color: var(--si-teal);
}

body.si-wc-employer-checkout a:hover {
	color: var(--si-teal-dark);
}

/* Subscription recurring totals */
body.si-wc-employer-checkout .recurring-totals,
body.si-wc-employer-checkout .recurring-total {
	font-size: 13px;
	color: var(--si-muted);
}

/* Privacy + terms */
body.si-wc-employer-checkout .woocommerce-terms-and-conditions-wrapper {
	margin-top: 14px;
	font-size: 13px;
	color: var(--si-muted);
}

/* Blocks checkout */
body.si-wc-employer-checkout.si-wc-blocks-checkout .wp-block-heading.alignwide,
body.si-wc-employer-checkout.si-wc-blocks-checkout .wp-block-post-title,
body.si-wc-employer-checkout.si-wc-blocks-checkout .wc-block-checkout__title {
	display: none !important;
}

body.si-wc-employer-checkout .wp-block-woocommerce-checkout,
body.si-wc-employer-checkout .wc-block-checkout {
	font-family: "Poppins", sans-serif;
	max-width: 100%;
	margin: 0;
}

body.si-wc-employer-checkout .wc-block-components-sidebar-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	gap: 28px;
	align-items: start !important;
	width: 100%;
}

body.si-wc-employer-checkout .wc-block-components-main {
	width: 100%;
	min-width: 0;
	float: none !important;
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
}

body.si-wc-employer-checkout .wc-block-components-sidebar {
	width: 100% !important;
	min-width: 0;
	float: none !important;
	position: sticky !important;
	top: 24px !important;
	align-self: start;
	height: auto !important;
	max-height: none;
}

body.si-wc-employer-checkout .wc-block-components-main,
body.si-wc-employer-checkout .wc-block-components-sidebar,
body.si-wc-employer-checkout .wc-block-components-checkout-order-summary {
	background: var(--si-card);
	border: none !important;
	border-radius: var(--si-radius);
	box-shadow: var(--si-shadow);
}

body.si-wc-employer-checkout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {
	border: none !important;
}

body.si-wc-employer-checkout .wc-block-components-main {
	padding: 24px;
}

body.si-wc-employer-checkout .wc-block-components-sidebar {
	padding: 0;
	overflow: hidden;
}

body.si-wc-employer-checkout .wc-block-components-checkout-order-summary {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 20px 22px 22px;
}

body.si-wc-employer-checkout .wc-block-components-text-input input,
body.si-wc-employer-checkout .wc-block-components-text-input label,
body.si-wc-employer-checkout .wc-block-components-select select {
	font-family: inherit;
}

body.si-wc-employer-checkout .wc-block-components-text-input input,
body.si-wc-employer-checkout .wc-block-components-select select {
	min-height: 48px;
	border-radius: 10px;
	border-color: var(--si-border-strong);
}

body.si-wc-employer-checkout .wc-block-components-text-input input:focus,
body.si-wc-employer-checkout .wc-block-components-select select:focus {
	border-color: var(--si-teal);
	box-shadow: 0 0 0 3px rgba(76, 138, 123, 0.15);
}

body.si-wc-employer-checkout .wc-block-components-checkout-step__title {
	font-size: 18px;
	font-weight: 600;
	color: var(--si-dark);
}

body.si-wc-employer-checkout .wc-block-components-button:not(.is-link),
body.si-wc-employer-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button {
	border: 0 !important;
	border-radius: var(--si-radius-pill) !important;
	background: linear-gradient(254.46deg, var(--si-gold) 0%, var(--si-teal) 120%) !important;
	color: #ffffff !important;
	min-height: 54px;
	font-weight: 600;
	box-shadow: none !important;
}

body.si-wc-employer-checkout .wc-block-components-button:not(.is-link) .wc-block-components-button__text,
body.si-wc-employer-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
	color: #ffffff !important;
	transition: 0.3s;
}

body.si-wc-employer-checkout .wc-block-components-button:not(.is-link):hover .wc-block-components-button__text,
body.si-wc-employer-checkout .wc-block-components-checkout-place-order-button:hover .wc-block-components-button__text {
	color: #111 !important;
}

body.si-wc-employer-checkout .wc-block-components-button.wc-block-components-totals-coupon__button {
  padding-top: 10px;
  padding-bottom: 10px;
}

body.si-wc-employer-checkout .wc-block-components-totals-wrapper,
body.si-wc-employer-checkout .wc-block-components-totals-item {
	border-color: var(--si-border);
}

body.si-wc-employer-checkout .wc-block-components-sidebar-layout .wc-block-components-form {
	margin: 0;
}

/* Payment options — Blocks checkout + Stripe */
body.si-wc-employer-checkout .wp-block-woocommerce-checkout-payment-block {
	margin-top: 4px;
}

body.si-wc-employer-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-checkout-step__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--si-border);
}

body.si-wc-employer-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-checkout-step__title::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 22px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--si-gold) 0%, var(--si-teal) 100%);
	flex-shrink: 0;
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control--highlight-checked {
	--wc-block-components-radio-control-accent: var(--si-teal);
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option::after,
body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option::after {
	border-color: var(--si-border-strong) !important;
	border-radius: 14px !important;
	border-width: 1px !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease;
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option--checked-option-highlighted::after,
body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option--checked-option-highlighted::after {
	border-color: var(--si-teal) !important;
	box-shadow: none !important;
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
	padding: 16px 18px;
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__input,
body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-stripe-blocks-radio-control__input,
body.si-wc-employer-checkout #payment ul.payment_methods input[type="radio"] {
	display: none !important;
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option,
body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option-layout {
	grid-template-columns: 1fr !important;
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__label-group {
	margin-left: 0 !important;
	padding-left: 0 !important;
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-stripe-blocks-radio-control__option .wc-stripe-blocks-radio-control__label {
	margin-left: 0 !important;
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content {
	padding: 0 18px 18px;
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-stripe-blocks-payment-method-content,
body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-stripe-inline-form,
body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-stripe-card-container,
body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-stripe-local-payment-container {
	border-radius: 12px;
	background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
	border: 1px solid var(--si-border) !important;
	box-shadow: none !important;
	padding: 14px 16px;
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-stripe-blocks-mandate,
body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-payment-methods__save-card-info,
body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content > p {
	margin-top: 12px;
	color: var(--si-soft);
	font-size: 13px;
	line-height: 1.55;
}

body.si-wc-employer-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	width: 18px;
	height: 18px;
	border-radius: 6px;
	border-color: var(--si-border-strong);
	accent-color: var(--si-teal);
}

body.si-wc-employer-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label,
body.si-wc-employer-checkout .wc-block-components-payment-methods__save-card-info label {
	color: var(--si-muted);
	font-size: 14px;
	font-weight: 500;
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-block-components-payment-method-label,
body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-stripe-label-container .wc-block-components-payment-method-label {
	font-weight: 600;
	color: var(--si-dark);
}

body.si-wc-employer-checkout .wc-block-checkout__payment-method .wc-stripe-tokenized-card {
	border-radius: 12px !important;
	border-color: var(--si-border) !important;
	box-shadow: none !important;
}

/* Classic checkout — payment methods */
body.si-wc-employer-checkout #payment ul.payment_methods li.payment_method_stripe_cc label,
body.si-wc-employer-checkout #payment ul.payment_methods li[class*="payment_method_stripe"] label {
	font-weight: 600;
	color: var(--si-dark);
}

body.si-wc-employer-checkout #payment div.payment_box {
	background: linear-gradient(180deg, #fffdf8 0%, #f8fafb 100%);
	border: 1px solid var(--si-border);
	box-shadow: none !important;
}

body.si-wc-employer-checkout #payment .wc-stripe-gateway-container,
body.si-wc-employer-checkout #payment .wc-payment-form {
	border-radius: 12px;
}

/* Hide product images in order summary */
body.si-wc-employer-checkout .wc-block-components-order-summary-item__image,
body.si-wc-employer-checkout .wc-block-cart-item__image,
body.si-wc-employer-checkout .woocommerce-checkout-review-order-table .product-thumbnail,
body.si-wc-employer-checkout .woocommerce-checkout-review-order-table .product-name img {
	display: none !important;
}

body.si-wc-employer-checkout .wc-block-components-order-summary-item__description {
	padding-left: 0 !important;
}

/* Change payment method (WooCommerce Subscriptions) */
body.si-wc-change-payment .si-checkout-shell--change-payment {
	max-width: 720px;
	margin: 0 auto;
}

body.si-wc-change-payment .woocommerce {
	max-width: 100%;
}

body.si-wc-change-payment form#order_review {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
}

body.si-wc-change-payment .woocommerce-info,
body.si-wc-change-payment .woocommerce-message,
body.si-wc-change-payment .woocommerce-error {
	margin: 0 0 4px;
	padding: 14px 18px;
	border: 1px solid var(--si-border-strong);
	border-left-width: 4px;
	border-radius: 12px;
	background: #fffdf8;
	font-size: 14px;
	line-height: 1.55;
	list-style: none;
}

body.si-wc-change-payment .woocommerce-info {
	border-left-color: var(--si-gold);
	color: var(--si-muted);
}

body.si-wc-change-payment form#order_review .shop_table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	background: var(--si-card);
	border: 1px solid var(--si-border-strong);
	border-radius: var(--si-radius);
	box-shadow: none;
	overflow: hidden;
}

body.si-wc-change-payment form#order_review .shop_table thead {
	background: linear-gradient(254.46deg, rgba(231, 193, 100, 0.18) 0%, rgba(76, 138, 123, 0.12) 120%);
}

body.si-wc-change-payment form#order_review .shop_table th,
body.si-wc-change-payment form#order_review .shop_table td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--si-border);
	font-size: 14px;
	color: var(--si-dark);
}

body.si-wc-change-payment form#order_review .shop_table thead th {
	font-weight: 600;
	border-bottom: 1px solid var(--si-border);
}

body.si-wc-change-payment form#order_review .shop_table tfoot th {
	font-weight: 600;
	color: var(--si-soft);
	text-align: left;
}

body.si-wc-change-payment form#order_review .shop_table tfoot td {
	text-align: right;
	font-weight: 600;
}

body.si-wc-change-payment form#order_review .shop_table tbody tr:last-child td,
body.si-wc-change-payment form#order_review .shop_table tfoot tr:last-child th,
body.si-wc-change-payment form#order_review .shop_table tfoot tr:last-child td {
	border-bottom: 0;
}

body.si-wc-change-payment form#order_review #payment {
	background: var(--si-card);
	border: 1px solid var(--si-border-strong);
	border-radius: var(--si-radius);
	box-shadow: none;
	padding: 20px 24px 24px;
}

body.si-wc-change-payment form#order_review #payment ul.payment_methods {
	margin: 0 0 16px;
	padding: 0;
	border-bottom: 1px solid var(--si-border);
}

body.si-wc-change-payment form#order_review #payment ul.payment_methods li {
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--si-border);
	list-style: none;
}

body.si-wc-change-payment form#order_review #payment ul.payment_methods li:last-child {
	border-bottom: 0;
}

body.si-wc-change-payment form#order_review #payment ul.payment_methods input[type="radio"] {
	display: none !important;
}

body.si-wc-change-payment form#order_review #payment ul.payment_methods label {
	font-weight: 600;
	color: var(--si-dark);
}

body.si-wc-change-payment form#order_review #payment div.payment_box {
	margin: 10px 0 0;
	padding: 14px 16px;
	border-radius: 12px;
	background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
	border: 1px solid var(--si-border);
	box-shadow: none !important;
	color: var(--si-muted);
	font-size: 13px;
	line-height: 1.5;
}

body.si-wc-change-payment form#order_review #payment .woocommerce-SavedPaymentMethods,
body.si-wc-change-payment form#order_review #payment .wc-stripe-saved-method,
body.si-wc-change-payment form#order_review #payment .woocommerce-SavedPaymentMethods-new {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.si-wc-change-payment form#order_review #payment .wc-stripe-saved-method,
body.si-wc-change-payment form#order_review #payment .woocommerce-SavedPaymentMethods-new {
	margin-bottom: 10px;
	padding: 14px 16px;
	border: 1px solid var(--si-border-strong) !important;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: none !important;
	transition: border-color 0.2s ease;
}

body.si-wc-change-payment form#order_review #payment .wc-stripe-saved-method:hover,
body.si-wc-change-payment form#order_review #payment .woocommerce-SavedPaymentMethods-new:hover {
	border-color: var(--si-teal) !important;
}

body.si-wc-change-payment form#order_review #payment .wc-stripe-gateway-container,
body.si-wc-change-payment form#order_review #payment .wc-payment-form {
	border-radius: 12px;
}

body.si-wc-change-payment .update-all-subscriptions-payment-method-wrap {
	margin: 0 0 16px;
	padding: 14px 16px;
	border-radius: 12px;
	background: #f8fafb;
	border: 1px solid var(--si-border);
	font-size: 14px;
	color: var(--si-muted);
}

body.si-wc-change-payment .update-all-subscriptions-payment-method-wrap input[type="checkbox"] {
	accent-color: var(--si-teal);
}

body.si-wc-change-payment form#order_review #place_order {
	width: 100%;
	min-height: 54px;
	margin-top: 4px;
}

@media (max-width: 991px) {
	body.si-wc-employer-checkout form.checkout.woocommerce-checkout {
		grid-template-columns: 1fr;
	}

	body.si-wc-employer-checkout #customer_details,
	body.si-wc-employer-checkout #order_review_heading,
	body.si-wc-employer-checkout #order_review,
	body.si-wc-employer-checkout .si-checkout-plan-card {
		grid-column: 1;
		grid-row: auto;
	}

	body.si-wc-employer-checkout #order_review_heading {
		margin-top: 8px;
	}

	body.si-wc-employer-checkout .wc-block-components-sidebar-layout {
		grid-template-columns: 1fr !important;
	}

	body.si-wc-employer-checkout .wc-block-components-sidebar {
		position: static !important;
		order: -1;
	}

	.si-checkout-shell {
		padding-bottom: 40px;
	}
}

@media (max-width: 575px) {
	.si-checkout-shell {
		padding-left: 14px;
		padding-right: 14px;
	}

	body.si-wc-employer-checkout .woocommerce-billing-fields,
	body.si-wc-employer-checkout .woocommerce-additional-fields,
	body.si-wc-employer-checkout #payment,
	body.si-wc-employer-checkout #customer_details .col-1,
	body.si-wc-employer-checkout #customer_details .col-2 {
		padding: 18px;
	}
}
