/*
 * ArtX checkout, basket and thank-you surfaces. Written for the markup of the
 * owner-locked checkout templates and scripts (which are not restyled): the
 * class hooks below are theirs, the values are ArtX tokens. Layout, states
 * driven by the scripts (.ss-not-valid, .ss-payment-is-locked, .dot-loading,
 * [hidden]) and the payment modal are all here; the utility classes the locked
 * markup relies on (sr-only, d-none, mt-1, ...) close the file.
 */

/* Checkout navigation stays focused on the current order. */
#artx-page:has(.artx-checkout-footer) {
	display: flex;
	flex-direction: column;
	min-height: 100svh;
}

#artx-page:has(.artx-checkout-footer) > #primary {
	width: 100%;
}

.artx-checkout-artwork-details,
.ss-basket-artwork-details {
	margin-top: 6px;
	font-size: var(--artx-type-xs-size);
	line-height: 1.5;
	color: var(--artx-color-black-60);
}

.artx-checkout-help {
	margin: 0;
	padding: 0 var(--artx-space-2) 8px;
	font-size: var(--artx-type-xs-size);
}

.artx-checkout-help a {
	display: inline-block;
	padding: 12px 0;
	text-decoration: underline;
}

.ss-delivery-eta {
	display: block;
	font-size: var(--artx-type-xs-size);
}

.artx-checkout-header {
	border-bottom: var(--artx-hairline);
}

.artx-checkout-header__row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	max-width: var(--artx-frame-max-width);
	min-height: 80px;
	margin: 0 auto;
	padding: 12px var(--artx-page-padding);
	box-sizing: border-box;
	font-size: var(--artx-type-xs-size);
}

.artx-checkout-header__logo {
	justify-self: start;
}

.artx-checkout-header__logo img {
	display: block;
}

.artx-checkout-header__title {
	font-weight: var(--artx-font-weight-bold);
}

.artx-checkout-header__back {
	display: flex;
	align-items: center;
	gap: 6px;
	justify-self: end;
	min-height: 44px;
	white-space: nowrap;
}

.artx-checkout-footer {
	border-top: var(--artx-hairline);
	padding: var(--artx-space-1) var(--artx-page-padding) 8px;
	margin-top: auto;
	text-align: center;
	color: var(--artx-color-black-60);
	font-size: var(--artx-type-xs-size);
}

.artx-checkout-footer__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 20px;
}

.artx-checkout-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: inherit;
	text-decoration: underline;
}

.artx-checkout-footer p {
	margin: var(--artx-space-1) 0 0;
}

@media (min-width: 768px) {
	.artx-checkout-header__row {
		font-size: var(--artx-type-sm-size);
	}
}

/* A larger artwork image sits above its details and price. */
body.artx .woocommerce-checkout-review-order-table thead {
	display: none;
}

body.artx .woocommerce-checkout-review-order-table .cart_item {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

body.artx .woocommerce-checkout-review-order-table .cart_item > td {
	width: 100%;
	padding: 8px 0;
	text-align: left;
	box-sizing: border-box;
}

body.artx .woocommerce-checkout-review-order-table .cart_item > td.product-total {
	text-align: left;
}

body.artx .woocommerce-checkout-review-order-table .ss-thumb-wrap {
	width: 100%;
}

body.artx .woocommerce-checkout-review-order-table .ss-thumb-wrap img {
	width: 100%;
	height: 240px;
	object-fit: contain;
	border: 0;
	background: transparent;
}

/* ---- Canvas ---------------------------------------------------------- */
body.artx .ss-checkout-primary,
body.artx .ss-thank-you-primary,
body.artx.ss-woocommerce-cart #primary {
	max-width: var(--artx-frame-max-width);
	margin: 0 auto;
	padding: var(--artx-space-2) var(--artx-page-padding) var(--artx-space-6);
	box-sizing: border-box;
}

body.artx .page-header__title {
	margin: 0 0 var(--artx-space-2);
	font-size: var(--artx-font-size-xl);
	font-weight: 400;
	line-height: var(--artx-line-height-tight);
}

body.artx .woocommerce-checkout h3,
body.artx .woocommerce-checkout h2.order-review-title,
body.artx .cart_totals h2 {
	margin: 0 0 var(--artx-space-1);
	font-size: var(--artx-font-size-lg);
	font-weight: 400;
	line-height: var(--artx-line-height-tight);
}

/* ---- Checkout layout ------------------------------------------------- */
body.artx form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--artx-space-2);
}

@media (min-width: 992px) {
	body.artx form.checkout {
		grid-template-columns: minmax(0, 1fr) 400px;
		gap: var(--artx-space-4);
		align-items: start;
	}
	body.artx form.checkout .order-review-wrapper {
		grid-column: 2;
		grid-row: 1;
		position: sticky;
		top: var(--artx-space-2);
	}
	body.artx form.checkout #customer_details {
		grid-column: 1;
		grid-row: 1;
	}
}

/* Fields */
body.artx .form-row {
	margin: 0 0 var(--artx-space-2);
}

body.artx .form-row label {
	display: block;
	margin-bottom: var(--artx-space-0-5);
	font-size: var(--artx-font-size-sm);
}

body.artx .woocommerce-input-wrapper {
	position: relative;
	display: block;
}

body.artx .input-text,
body.artx .form-row input[type="text"],
body.artx .form-row input[type="email"],
body.artx .form-row input[type="tel"],
body.artx .form-row select {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: var(--artx-input-border);
	border-radius: var(--artx-radius);
	background: var(--artx-color-white-100);
	color: var(--artx-color-black-100);
	font: inherit;
}

body.artx .input-text:focus {
	outline: var(--artx-focus-ring);
	outline-offset: 2px;
	border-color: var(--artx-color-black-100);
}

body.artx .help-text-block,
body.artx .ss-field-hint {
	display: block;
	margin-top: var(--artx-space-0-5);
	font-size: var(--artx-font-size-xs);
	color: var(--artx-color-black-60);
}

body.artx .ss-email-suggestion {
	margin-top: var(--artx-space-0-5);
	padding: 0;
	border: 0;
	background: none;
	color: var(--artx-color-blue-100);
	font: inherit;
	font-size: var(--artx-font-size-sm);
	text-decoration: underline;
	cursor: pointer;
}

body.artx .auto-fill-icon-search {
	display: none;
}

body.artx .bh_manual_address_btn {
	min-height: 44px;
	text-align: left;
	color: inherit;
	font: inherit;
	margin: 0 0 var(--artx-space-2);
	font-size: var(--artx-font-size-sm);
	cursor: pointer;
}

body.artx .bh_manual_address_btn .address-notfind {
	color: var(--artx-color-black-60);
}

body.artx .delivery-text {
	color: var(--artx-color-black-60);
	font-size: var(--artx-font-size-md);
}

/* Validation states */
body.artx .input-text.ss-not-valid {
	border-color: #b45309;
}

body.artx .ss-validation-message,
body.artx #show_error_card,
body.artx #show_error_expiry,
body.artx #show_error_cvc {
	display: block;
	margin-top: 6px;
	font-size: var(--artx-font-size-sm);
	font-weight: 500;
	color: #b45309;
}

body.artx #show_error_card:empty,
body.artx #show_error_expiry:empty,
body.artx #show_error_cvc:empty {
	display: none;
}

body.artx .woocommerce-error,
body.artx .woocommerce-info {
	margin: 0 0 var(--artx-space-2);
	padding: 14px 16px;
	border: 1px solid var(--artx-color-black-100);
	border-left-width: 6px;
	list-style: none;
	background: var(--artx-color-black-5);
	font-size: var(--artx-font-size-sm);
}

body.artx .woocommerce-error {
	border-color: #b45309;
}

body.artx .woocommerce-error li {
	margin: 0;
}

/* Payment */
body.artx #payment {
	margin-top: var(--artx-space-2);
	padding: var(--artx-space-2);
	border: 1px solid var(--artx-color-black-30);
}

body.artx #payment .payment-logo {
	top: var(--artx-space-2);
	right: var(--artx-space-2);
	width: 140px;
}

body.artx #payment.ss-payment-is-locked .payment-logo {
	display: none;
}

body.artx .ss-payment-heading-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

body.artx .ss-payment-heading-row #order_payment_heading {
	width: 100%;
	margin: 0;
}

body.artx .ss-payment-toggle {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 44px;
	margin: -8px 0;
	padding: 8px;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

body.artx .ss-payment-toggle::after {
	content: "";
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	margin: -4px 4px 0 16px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

body.artx .ss-payment-toggle:hover {
	background: var(--artx-color-black-5);
}

body.artx .ss-payment-toggle[hidden],
body.artx .ss-payment-progressive-content[hidden] {
	display: none !important;
}

body.artx #payment.ss-payment-is-ready .secure-payment {
	margin: 8px 0 22px;
}

body.artx .secure-payment {
	color: var(--artx-color-black-60);
}

body.artx .wc_payment_methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.artx .wc-credit-card-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--artx-space-1);
	margin: 0;
	padding: 0;
	border: 0;
}

body.artx .form-row-card-number {
	grid-column: 1 / -1;
	width: 100%;
}

body.artx .form-row-card-expiry,
body.artx .form-row-card-cvc {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 4;
	min-width: 0;
	width: auto;
}

body.artx .form-row-card-cvc {
	margin-left: 0;
}

body.artx .bs_payment_method_icon {
	display: inline-block;
	width: 22px;
	height: 22px;
	margin-left: 6px;
	background: url("../images/checkout-default.png") no-repeat center center;
	background-size: 100%;
	vertical-align: middle;
}

body.artx .bs_payment_method_icon.visa {
	background-image: url("../images/checkout-visa.svg");
}

body.artx .bs_payment_method_icon.mastercard {
	background-image: url("../images/checkout-mastercard.svg");
}

body.artx .bs_payment_method_icon.american-express {
	background-image: url("../images/checkout-american-express.svg");
}

body.artx #ship-to-different-address {
	margin: var(--artx-space-2) 0;
}

body.artx #ship-to-different-address label {
	display: flex;
	align-items: center;
	gap: var(--artx-space-1);
	font-size: var(--artx-font-size-sm);
	cursor: pointer;
}

body.artx .place-order {
	margin: var(--artx-space-2) 0 var(--artx-space-1);
}

body.artx #place_order {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	min-height: 52px;
	padding: 14px 20px;
	border: 1px solid var(--artx-color-black-100);
	border-radius: var(--artx-radius);
	background: var(--artx-color-black-100);
	color: var(--artx-color-white-100);
	font: inherit;
	font-size: var(--artx-font-size-md);
	font-weight: 500;
	cursor: pointer;
	transition: background var(--artx-transition);
}

body.artx #place_order:is(:hover, :focus-visible):not(:disabled) {
	background: var(--artx-color-blue-100);
	border-color: var(--artx-color-blue-100);
}

body.artx #place_order:disabled {
	background: var(--artx-color-black-30);
	border-color: var(--artx-color-black-30);
	cursor: not-allowed;
}

body.artx #place_order.dot-loading {
	cursor: progress;
}

body.artx .dot-flashing {
	position: relative;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background-color: var(--artx-color-white-100);
	animation: artx-dot-flashing 1s infinite linear alternate;
	animation-delay: 0.5s;
}

body.artx .dot-flashing::before,
body.artx .dot-flashing::after {
	content: "";
	display: inline-block;
	position: absolute;
	top: 0;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background-color: var(--artx-color-white-100);
	animation: artx-dot-flashing 1s infinite alternate;
}

body.artx .dot-flashing::before {
	left: -15px;
	animation-delay: 0s;
}

body.artx .dot-flashing::after {
	left: 15px;
	animation-delay: 1s;
}

@keyframes artx-dot-flashing {
	0% { opacity: 1; }
	50%, 100% { opacity: 0.35; }
}

body.artx .ss-terms-note {
	font-size: var(--artx-font-size-xs);
	color: var(--artx-color-black-60);
}

body.artx .ss-terms-note a {
	text-decoration: underline;
}

/* ---- Order summary --------------------------------------------------- */
body.artx .order-review-wrapper {
	min-width: 0;
	overflow-wrap: anywhere;
	border: var(--artx-border);
	background: var(--artx-color-black-5);
}

body.artx .order-review-wrapper > summary {
	padding: 14px var(--artx-space-2);
	list-style: none;
	cursor: pointer;
	font-weight: 500;
}

@media (max-width: 991px) {
	body.artx .order-review-wrapper > summary {
		position: relative;
		padding-right: 48px;
	}
	body.artx .order-review-wrapper > summary::after {
		content: '';
		position: absolute;
		top: 20px;
		right: 22px;
		width: 8px;
		height: 8px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
	}
	body.artx .order-review-wrapper[open] > summary::after {
		transform: rotate(225deg);
	}
}

body.artx .order-review-wrapper > summary::-webkit-details-marker {
	display: none;
}

body.artx .order-review-wrapper .mobile-totals {
	display: block;
	font-weight: 400;
	font-size: var(--artx-font-size-sm);
	color: var(--artx-color-black-60);
}

@media (min-width: 992px) {
	body.artx .order-review-wrapper > summary {
		cursor: default;
	}
	body.artx .order-review-wrapper .mobile-totals {
		display: none;
	}
}

body.artx #order_review {
	padding: 0 var(--artx-space-2) var(--artx-space-1);
}

body.artx .shop_table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--artx-font-size-sm);
}

body.artx .shop_table th,
body.artx .shop_table td {
	padding: 10px 0;
	border: 0;
	border-bottom: var(--artx-border);
	text-align: left;
	vertical-align: top;
}

body.artx .shop_table thead th {
	font-weight: 400;
	color: var(--artx-color-black-60);
}

body.artx .shop_table .product-total,
body.artx .shop_table td:last-child,
body.artx .shop_table th + td {
	text-align: right;
	white-space: normal;
}

/* A monetary amount stays readable as one number at narrow widths. */
body.artx .ss-checkout-tfooter > tr:not(.basket-price-note) > td {
	white-space: nowrap;
}

body.artx .shop_table .product-image {
	width: 72px;
	padding-right: var(--artx-space-1);
}

body.artx .ss-thumb-wrap {
	position: relative;
	display: block;
	width: 64px;
}

body.artx .ss-thumb-wrap img {
	display: block;
	width: 64px;
	height: auto;
	border: var(--artx-border);
	background: var(--artx-color-white-100);
}


body.artx .productname {
	font-weight: 500;
}

body.artx .format,
body.artx .product-quantity {
	color: var(--artx-color-black-60);
}

body.artx .rrp-price {
	text-decoration: line-through;
	color: var(--artx-color-black-60);
}

body.artx .rrp-save {
	margin-left: 6px;
	font-weight: 500;
}

body.artx .ss-checkout-totals-table tfoot tr:last-child th,
body.artx .ss-checkout-totals-table tfoot tr:last-child td {
	border-bottom: 0;
}

body.artx .order-total.final-total th,
body.artx .order-total.final-total td {
	font-size: var(--artx-font-size-md);
	font-weight: 500;
}

body.artx .total-savings-row th {
	font-weight: 400;
	color: var(--artx-color-black-60);
}

body.artx .free-delivery {
	padding: 0 var(--artx-space-2) var(--artx-space-2);
}

body.artx .basket-benefits {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--artx-font-size-xs);
	color: var(--artx-color-black-60);
}

body.artx .basket-benefits li {
	padding: 3px 0;
}

/* The quantity pill (basket and checkout) */
body.artx .ss-co-qty {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	padding: 2px;
	border: var(--artx-input-border);
	border-radius: 999px;
}

body.artx .ss-co-qty button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--artx-color-black-100);
	font: inherit;
	cursor: pointer;
}




body.artx .ss-co-qty .ss-co-del {
	color: var(--artx-color-black-60);
}

body.artx .ss-co-qty .ss-co-del svg {
	display: block;
}

/* ---- Payment modal --------------------------------------------------- */
body.artx .payment-processor-modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.66);
}

body.artx .inner-modal-block {
	position: fixed;
	top: 70px;
	left: calc(50% - 250px);
	display: flex;
	justify-content: center;
	width: 500px;
	min-height: 60vh;
	padding: 24px;
	box-sizing: border-box;
	border-radius: 5px;
	background-color: var(--artx-color-white-100);
	box-shadow: 0 0 22px 5px rgba(0, 0, 0, 0.5);
}

body.artx .card-block {
	display: flex;
	align-self: center;
	justify-content: center;
}

body.artx .card-block img {
	max-width: 65%;
}

body.artx .card-block.MASTERCARD img {
	max-width: 35%;
}

body.artx .card-block.VISA img {
	max-width: 40%;
}

body.artx .card-payment-block {
	display: flex;
	flex-direction: column;
	row-gap: 60px;
	width: 100%;
}

body.artx .card-payment-block > div {
	display: flex;
}

body.artx .card-payment-block .bank-head {
	justify-content: space-between;
}

body.artx .card-payment-block .bank-middle {
	flex-direction: column;
}

body.artx .card-payment-block .bank-end {
	justify-content: center;
}

body.artx .bank-head .bank-logo {
	max-width: 35%;
	align-self: center;
}

body.artx .bank-head .card-logo {
	max-width: 30%;
	align-self: center;
}

body.artx .bank-head .card-logo.VISA {
	max-width: 25%;
}

body.artx .bank-head .card-logo.MASTERCARD {
	max-width: 20%;
}

body.artx .bank-head .cancel {
	position: absolute;
	top: -25px;
	right: 0;
	font-size: var(--artx-font-size-sm);
	color: rgba(255, 255, 255, 0.7);
}

body.artx .bank-middle .site-name {
	font-size: var(--artx-font-size-sm);
	letter-spacing: 0.04em;
	color: var(--artx-color-black-60);
}

body.artx .bank-middle .total {
	margin: 20px 0;
	font-size: 32px;
	font-weight: 700;
}

body.artx .bank-middle .card-number {
	font-size: 18px;
	font-weight: 700;
}

body.artx .card-block-loader {
	width: 60px;
}

@media (max-width: 768px) {
	body.artx .inner-modal-block {
		left: 20px;
		width: calc(100% - 40px);
	}
}

/* ---- Basket ---------------------------------------------------------- */
body.artx .ss-woocommerce-container {
	position: relative;
}

body.artx .woocommerce-cart-form__contents .cart_item {
	display: grid;
	grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
	gap: var(--artx-space-2);
}
body.artx .woocommerce-cart-form__contents .cart_item > td {
	width: auto;
	padding: 0;
	text-align: left;
	vertical-align: top;
}
body.artx .woocommerce-cart-form__contents .product-thumbnail img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: contain;
}
body.artx .ss-basket-product-heading {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 16px;
}
body.artx .ss-basket-product-copy a {
	font-weight: 500;
}
body.artx .ss-basket-product-heading .ss-co-qty {
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
body.artx .ss-basket-product-heading .ss-co-del {
	width: 44px;
	height: 44px;
	border-radius: 0;
}
body.artx .ss-basket-artwork-details {
	margin: 10px 0 16px;
}
@media (max-width: 767px) {
	body.artx .woocommerce-cart-form__contents .cart_item {
		grid-template-columns: minmax(0, 1fr);
	}
	body.artx .woocommerce-cart-form__contents .product-thumbnail img {
		height: 240px;
	}
}

body.artx .price del {
	margin-left: 8px;
	color: var(--artx-color-black-60);
}

body.artx .discount-percentage,
body.artx .price-updated-note {
	font-size: var(--artx-font-size-xs);
	color: var(--artx-color-black-60);
}

@media (min-width: 992px) {
	body.artx.ss-woocommerce-cart .ss-woocommerce-container {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 400px;
		gap: var(--artx-space-4);
		align-items: start;
	}
}

body.artx .cart-collaterals .cart_totals {
	padding: var(--artx-space-2);
	border: var(--artx-border);
	background: var(--artx-color-black-5);
}

body.artx .cart_totals .delivery_headline th,
body.artx .cart_totals .order_headline th {
	padding-top: var(--artx-space-2);
	font-weight: 500;
}

body.artx .coupon-input-wrapper .input-text {
	padding: 10px 12px;
}

body.artx .ss-basket-coupon-button,
body.artx .checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 18px;
	border: 1px solid var(--artx-color-black-100);
	border-radius: var(--artx-radius);
	background: var(--artx-color-black-100);
	color: var(--artx-color-white-100);
	font: inherit;
	font-size: var(--artx-font-size-sm);
	font-weight: 500;
	cursor: pointer;
}

body.artx .ss-basket-coupon-button:disabled {
	background: var(--artx-color-black-30);
	border-color: var(--artx-color-black-30);
	cursor: default;
}

body.artx .checkout-button {
	width: 100%;
	margin-top: var(--artx-space-2);
	min-height: 52px;
	font-size: var(--artx-font-size-md);
}

body.artx :is(.checkout-button, .ss-basket-coupon-button):is(:hover, :focus-visible):not(:disabled) {
	background: var(--artx-color-blue-100);
	border-color: var(--artx-color-blue-100);
	color: var(--artx-color-white-100);
}

body.artx .checkout-button .lock-icon {
	filter: none;
}

body.artx .basket-price-note th {
	font-weight: 400;
	font-size: var(--artx-font-size-xs);
	color: var(--artx-color-black-60);
}

body.artx .cart-empty {
	margin: var(--artx-space-2) 0;
}

body.artx .basket-empty-recovery__title {
	margin-block: var(--artx-space-2);
}

body.artx .ss-basket-sticky-bar {
	display: none;
}

@media (max-width: 991px) {
	body.artx .ss-basket-sticky-bar.is-visible {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 50;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--artx-space-2);
		padding: var(--artx-space-1) var(--artx-page-padding);
		border-top: var(--artx-border);
		background: var(--artx-color-white-100);
	}
	body.artx .ss-basket-sticky-bar .checkout-button {
		width: auto;
		margin: 0;
		min-height: 44px;
	}
}

/* ---- Utilities the locked markup relies on ---------------------------- */
body.artx .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.artx .is-hidden,
body.artx .hide,
body.artx .d-none {
	display: none !important;
}

body.artx .d-block {
	display: block !important;
}

@media (min-width: 768px) {
	body.artx .d-md-block {
		display: block !important;
	}
	body.artx .d-md-none {
		display: none !important;
	}
}

body.artx [hidden] {
	display: none !important;
}

body.artx .mt-1 { margin-top: 0.25rem; }
body.artx .mr-1 { margin-right: 0.25rem; }
body.artx .pl-2 { padding-left: 0.5rem; }
body.artx .text-14 { font-size: 14px; }
body.artx .img-fluid { max-width: 100%; height: auto; }
body.artx .position-relative { position: relative; }
body.artx .position-absolute { position: absolute; }
body.artx .text-decoration-underline { text-decoration: underline; }
body.artx .clear { clear: both; }

/* Give checkout the same clear totals hierarchy as the basket. */
body.artx .artx-checkout-totals-title {
	margin: 20px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--artx-color-black-15);
	font-weight: 500;
}
body.artx .ss-checkout-totals-table .order-total > * {
	border-top: 1px solid var(--artx-color-black-15);
	font-size: var(--artx-type-md-size);
	font-weight: var(--artx-font-weight-bold);
}
body.artx .ss-checkout-totals-table .basket-price-note td {
	text-align: left;
	font-size: var(--artx-type-xs-size);
	color: var(--artx-color-black-60);
}
body.artx :is(.ss-co-del, .ss-payment-toggle, .bh_manual_address_btn, .ss-email-suggestion):is(:hover, :focus-visible):not(:disabled) {
	background: var(--artx-color-blue-10);
	color: var(--artx-color-blue-100);
}

body.artx .ss-basket-product-copy ins {
	text-decoration: none;
}
body.artx .ss-basket-coupon-button {
	white-space: nowrap;
}
@media (max-width: 991px) {
	body.artx.ss-woocommerce-cart .woocommerce-cart-form {
		margin-bottom: var(--artx-space-2);
	}
}

body.artx .coupon-input-wrapper .input-text,
body.artx .ss-basket-coupon-button {
	box-sizing: border-box;
	height: 48px;
	min-height: 48px;
	margin: 0;
}

body.artx .ss-basket-coupon {
	text-align: left;
}
body.artx .ss-basket-coupon summary {
	padding: 10px 0;
	cursor: pointer;
	font-weight: 400;
}
body.artx .ss-basket-coupon summary:is(:hover, :focus-visible) {
	color: var(--artx-color-blue-100);
}
body.artx .ss-basket-coupon summary:focus-visible {
	outline: 2px solid var(--artx-color-blue-100);
	outline-offset: 2px;
}
body.artx .ss-basket-coupon-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 6px;
	margin-top: 8px;
}

body.artx .ss-basket-coupon-row[hidden] {
	display: none;
}

/* Delivery choice and final review keep unknown charges out of payment. */
body.artx .artx-delivery-options { border: 1px solid #d8d8d8; padding: 24px; margin: 24px 0; }
body.artx .artx-delivery-options h3 { margin-top: 0; }
body.artx .artx-delivery-choice { display: flex; align-items: flex-start; gap: 12px; border: 1px solid #d8d8d8; padding: 16px; margin: 12px 0; cursor: pointer; }
body.artx .artx-delivery-choice:has(input:checked) { border-color: #000; }
body.artx .artx-delivery-choice input { flex: 0 0 auto; margin-top: 5px; }
body.artx .artx-quote-consent { display: flex; gap: 10px; align-items: center; margin: 16px 0; }
body.artx .artx-checkout-protection, body.artx .artx-shipping-protection, body.artx .artx-import-notice { font-size: 14px; line-height: 1.5; margin: 16px 0; }
body.artx .artx-checkout-protection { border-top: 1px solid #ddd; padding-top: 16px; }
body.artx .order-review-wrapper > :is(.artx-import-notice, .artx-checkout-protection) {
	margin-inline: var(--artx-space-2);
}
body.artx :is(#artx-final-review, #artx-wire-review) { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; border: 1px solid #bbb; padding: 24px; background: #fff; color: #000; }
body.artx :is(#artx-final-review, #artx-wire-review)::backdrop { background: rgb(0 0 0 / 45%); }
body.artx :is(#artx-final-review, #artx-wire-review) h2 { margin-top: 0; }
body.artx :is(#artx-final-review, #artx-wire-review) h3 { font-size: 18px; margin: 20px 0 8px; }
body.artx #artx-review-delivery, body.artx #artx-review-billing { white-space: pre-line; }
body.artx #artx-review-artworks p { margin: 4px 0; }
body.artx #artx-review-total { font-weight: 600; font-size: 20px; }
body.artx :is(#artx-final-review, #artx-wire-review) .button { width: 100%; min-height: 48px; }
body.artx .artx-review-edit { display: block; min-height: 44px; margin: 8px auto; text-decoration: underline; background: transparent; color: #000; }
body.artx .artx-review-edit:hover { color: var(--artx-link-hover, #0057ff); }
body.artx #payment[hidden], body.artx #artx-white-glove-request[hidden], body.artx .artx-import-notice[hidden], body.artx .artx-shipping-origin[hidden], body.artx .ss-checkout-tfooter tr[hidden] { display: none; }

body.artx #artx-confirm-order, body.artx #artx-request-delivery-quote { background: #000; color: #fff; padding: 14px 20px; border: 1px solid #000; min-height: 48px; }
body.artx #artx-confirm-order:hover, body.artx #artx-request-delivery-quote:hover { background: #1023d7; border-color: #1023d7; color: #fff; }
body.artx #artx-confirm-order img { display: inline-block; filter: brightness(0) invert(1); margin-right: 6px; }
body.artx :is(#artx-final-review, #artx-wire-review) { overflow-wrap: anywhere; }
body.artx .artx-checkout-protection a, body.artx .artx-shipping-protection a, body.artx .artx-import-notice a, body.artx :is(#artx-final-review, #artx-wire-review) a { text-decoration: underline; }

/* Individual basket checkouts and bank review use full-size touch targets. */
.cart-collaterals [data-artx-checkout-item],
#artx-review-wire,
#artx-gift-review,
#artx-gift-confirm,
#artx-confirm-wire {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 0;
    font-size: 16px;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
}
.cart-collaterals [data-artx-checkout-item] {
    width: 100%;
    margin-top: 8px;
}

#artx-gift-checkout > label { display: block; margin: 16px 0 8px; }
#artx-gift-checkout > label[hidden] { display: none; }
#artx-checkout-gift-code { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #999; font: inherit; box-sizing: border-box; }
#artx-gift-checkout p { margin: 12px 0; }
#artx-gift-checkout button[hidden] { display: none; }

/* Withheld protection notices must not leave an empty divider or spacing. */
body.artx :is(.artx-checkout-protection, .artx-shipping-protection):empty { display:none; }
