/*
 * TRÜFFELGOLD – WooCommerce in the Stitch design (cart, checkout, order received, my account, notices).
 *
 * Replaces WooCommerce's woocommerce-layout / -smallscreen / -general (dequeued in inc/woocommerce.php).
 * Loaded only on the WC pages and on pages that print WC notices. Markup = WooCommerce's classic
 * shortcode templates inside <div class="stitch tg-woo"> (template-parts/woo-page.php): the plugin's scoped
 * reset (.stitch :where(...)) zeroes borders, margins and list styles, so everything is set here.
 * Stitch tokens: tailwind.config.js of the Stitch Components plugin.
 */

:root {
	--tgw-gold: #ecc166;
	--tgw-gold-deep: #c9a14a;
	--tgw-gold-soft: #e9c178;
	--tgw-on-gold: #402d00;
	--tgw-text: #e7e2dd;
	--tgw-muted: #d1c5b2;
	--tgw-outline: #9a8f7e;
	--tgw-outline-var: #4e4637;
	--tgw-field: #110e0b;
	--tgw-card: #16130f;
	--tgw-lowest: #0f0e0c;
	--tgw-low: #1d1b19;
	--tgw-line: rgb(236 193 102 / 0.18);
	--tgw-line-strong: rgb(236 193 102 / 0.35);
	--tgw-error: #ffb4ab;
	--tgw-error-bg: rgb(147 0 10 / 0.2);
	--tgw-serif: "EB Garamond", Georgia, serif;
	--tgw-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--tgw-gradient: linear-gradient(to right, #8a6a2a, #c9a14a, #e9cf8a);
	--tgw-shadow: 0 15px 35px rgb(0 0 0 / 0.7);
	--tgw-icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M378-246 154-470l43-43 181 181 384-384 43 43-427 427Z'/%3E%3C/svg%3E");
	--tgw-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M480-344 240-584l43-43 197 197 197-197 43 43-240 240Z'/%3E%3C/svg%3E");
	--tgw-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231-231 231Z'/%3E%3C/svg%3E");
	--tgw-icon-spinner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M323-111q-73-31-127-85t-85-127q-31-73-31-157t31-157q31-73 85-127t127-85q73-31 157-31 12 0 21 9t9 21q0 12-9 21t-21 9q-141 0-240.5 99.5T140-480q0 141 99.5 240.5T480-140q141 0 240.5-99.5T820-480q0-12 9-21t21-9q12 0 21 9t9 21q0 84-31 157t-85 127q-54 54-127 85T480-80q-84 0-157-31Z'/%3E%3C/svg%3E");
	--tgw-icon-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-6.5 10-6.5S22 12 22 12s-3.6 6.5-10 6.5S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
	--tgw-icon-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-6.5 10-6.5S22 12 22 12s-3.6 6.5-10 6.5S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------------------------------------
 * Base
 * --------------------------------------------------------------------------------------------- */

.tg-woo .woocommerce {
	color: var(--tgw-muted);
	font-family: var(--tgw-sans);
	font-size: 14px;
	font-weight: 300;
	line-height: 24px;
	letter-spacing: 0.02em;
}

.tg-woo .woocommerce p + p {
	margin-top: 0.75rem;
}

.tg-woo .woocommerce strong,
.tg-woo .woocommerce b {
	color: var(--tgw-text);
	font-weight: 500;
}

.tg-woo .woocommerce a:where(:not(.button, .remove)) {
	color: var(--tgw-gold);
	text-decoration: underline;
	text-decoration-color: rgb(236 193 102 / 0.4);
	text-underline-offset: 3px;
	transition: color 0.2s, text-decoration-color 0.2s;
}

.tg-woo .woocommerce a:where(:not(.button, .remove)):hover {
	color: var(--tgw-gold-soft);
	text-decoration-color: currentColor;
}

.tg-woo .woocommerce :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--tgw-gold);
	outline-offset: 3px;
}

.tg-woo .woocommerce [role="alert"]:focus,
.tg-woo .woocommerce [role="alert"]:focus-visible {
	outline: none;
}

.tg-woo .woocommerce h2,
.tg-woo .woocommerce h3 {
	color: var(--tgw-gold-soft);
	font-family: var(--tgw-serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 30px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	overflow-wrap: break-word;
	margin-bottom: 1.25rem;
}

.tg-woo .woocommerce mark {
	background: none;
	color: var(--tgw-gold);
	font-weight: 400;
}

.tg-woo .woocommerce address {
	font-style: normal;
	color: var(--tgw-muted);
	line-height: 26px;
}

.tg-woo .woocommerce .clear {
	clear: both;
}

.tg-woo .woocommerce img {
	max-width: 100%;
	height: auto;
}

.tg-woo .woocommerce .woocommerce-Price-amount {
	color: var(--tgw-gold-soft);
	font-family: var(--tgw-serif);
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.tg-woo .woocommerce del .woocommerce-Price-amount {
	color: var(--tgw-outline);
	font-size: 0.85em;
}

.tg-woo .woocommerce ins {
	text-decoration: none;
}

.tg-woo .woocommerce small,
.tg-woo .woocommerce .includes_tax,
.tg-woo .woocommerce .woocommerce-shipping-destination,
.tg-woo .woocommerce .woocommerce-shipping-contents {
	color: var(--tgw-outline);
	font-size: 12px;
	line-height: 18px;
}

/* Card surface (cart totals, order review, login, addresses...). */
.tg-woo .woocommerce .cart_totals,
.tg-woo .woocommerce #order_review,
.tg-woo .woocommerce form.login,
.tg-woo .woocommerce form.register,
.tg-woo .woocommerce form.lost_reset_password,
.tg-woo .woocommerce form.checkout_coupon,
.tg-woo .woocommerce .woocommerce-Address,
.tg-woo .woocommerce .woocommerce-order-overview,
.tg-woo .woocommerce .woocommerce-customer-details address,
.tg-woo .woocommerce form.track_order {
	position: relative;
	background: var(--tgw-card);
	border: 1px solid var(--tgw-line);
	border-radius: 0.5rem;
	box-shadow: var(--tgw-shadow);
}

/* ------------------------------------------------------------------------------------------------
 * Buttons
 * --------------------------------------------------------------------------------------------- */

.tg-woo .woocommerce :where(.button, button[type="submit"]:not(.show-password-input), input[type="submit"]) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.75rem 1.75rem;
	background: var(--tgw-low);
	border: 1px solid rgb(236 193 102 / 0.45);
	border-radius: 0;
	color: var(--tgw-gold-soft);
	font-family: var(--tgw-sans);
	font-size: 11px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	cursor: pointer;
	transition: border-color 0.25s, color 0.25s, background-color 0.25s, filter 0.25s, opacity 0.25s;
}

.tg-woo .woocommerce :where(.button, button[type="submit"]:not(.show-password-input)):hover {
	border-color: var(--tgw-gold);
	color: var(--tgw-gold);
	background: rgb(236 193 102 / 0.06);
}

/* Primary: the gold gradient of the Stitch hero button. */
.tg-woo .woocommerce .button.alt,
.tg-woo .woocommerce .checkout-button,
.tg-woo .woocommerce #place_order,
.tg-woo .woocommerce .woocommerce-form-login__submit,
.tg-woo .woocommerce .woocommerce-form-register__submit,
.tg-woo .woocommerce .lost_reset_password .button,
.tg-woo .woocommerce button[name="save_address"],
.tg-woo .woocommerce button[name="save_account_details"],
.tg-woo .woocommerce button[name="track"],
.tg-woo .woocommerce .return-to-shop .button,
.tg-woo .woocommerce .woocommerce-message--info .button,
.tg-woo .woocommerce .woocommerce-info .button {
	background: var(--tgw-gradient) border-box;
	border-color: transparent;
	color: var(--tgw-on-gold);
	font-weight: 600;
	box-shadow: 0 12px 30px -8px rgb(201 161 74 / 0.45);
}

.tg-woo .woocommerce .button.alt:hover,
.tg-woo .woocommerce .checkout-button:hover,
.tg-woo .woocommerce #place_order:hover,
.tg-woo .woocommerce .woocommerce-form-login__submit:hover,
.tg-woo .woocommerce .woocommerce-form-register__submit:hover,
.tg-woo .woocommerce .lost_reset_password .button:hover,
.tg-woo .woocommerce button[name="save_address"]:hover,
.tg-woo .woocommerce button[name="save_account_details"]:hover,
.tg-woo .woocommerce button[name="track"]:hover,
.tg-woo .woocommerce .return-to-shop .button:hover,
.tg-woo .woocommerce .woocommerce-message--info .button:hover,
.tg-woo .woocommerce .woocommerce-info .button:hover {
	background: var(--tgw-gradient) border-box;
	border-color: transparent;
	color: var(--tgw-on-gold);
	filter: brightness(1.1);
}

/* Arrow on the forward actions (as on "Zur Startseite"). */
.tg-woo .woocommerce .checkout-button::after,
.tg-woo .woocommerce .return-to-shop .button::after {
	content: "→";
	font-size: 12px;
	letter-spacing: 0;
}

.tg-woo .woocommerce .button:disabled,
.tg-woo .woocommerce .button.disabled,
.tg-woo .woocommerce .button[aria-disabled="true"],
.tg-woo .woocommerce button[type="submit"]:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	filter: none;
}

.tg-woo .woocommerce .button:disabled:hover,
.tg-woo .woocommerce button[type="submit"]:not(.show-password-input):disabled:hover {
	border-color: rgb(236 193 102 / 0.45);
	color: var(--tgw-gold-soft);
	background: var(--tgw-low);
}

.tg-woo .woocommerce .button.loading {
	position: relative;
	opacity: 0.7;
	pointer-events: none;
}

.tg-woo .woocommerce .button.loading::after {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: var(--tgw-icon-spinner) center / contain no-repeat;
	mask: var(--tgw-icon-spinner) center / contain no-repeat;
	animation: tgw-spin 0.9s linear infinite;
}

@keyframes tgw-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ------------------------------------------------------------------------------------------------
 * Notices (message / info / error)
 * --------------------------------------------------------------------------------------------- */

.tg-woo .woocommerce-notices-wrapper:empty {
	display: none;
}

.tg-woo .woocommerce-notices-wrapper,
.tg-woo .woocommerce-NoticeGroup {
	margin-bottom: 1.75rem;
}

.tg-woo .woocommerce-message,
.tg-woo .woocommerce-info,
.tg-woo .woocommerce-error,
.tg-woo .woocommerce-notice--success,
.tg-woo .woocommerce-notice--info,
.tg-woo .woocommerce-notice--error {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 1.25rem;
	row-gap: 0.75rem;
	margin: 0 0 0.75rem;
	padding: 0.95rem 1.25rem 0.95rem 2.75rem;
	border: 1px solid var(--tgw-line-strong);
	border-radius: 0.5rem;
	background: rgb(236 193 102 / 0.05);
	color: var(--tgw-gold-soft);
	font-size: 13px;
	line-height: 20px;
	list-style: none;
}

.tg-woo .woocommerce-message::before,
.tg-woo .woocommerce-info::before,
.tg-woo .woocommerce-error::before,
.tg-woo .woocommerce-notice--success::before,
.tg-woo .woocommerce-notice--info::before {
	content: "◆";
	position: absolute;
	left: 1.25rem;
	top: 50%;
	margin-top: -7px;
	font-size: 9px;
	line-height: 14px;
	color: var(--tgw-gold);
}

.tg-woo .woocommerce-message::before,
.tg-woo .woocommerce-notice--success::before {
	content: "";
	width: 16px;
	height: 16px;
	left: 1.1rem;
	margin-top: -8px;
	background: var(--tgw-gold);
	-webkit-mask: var(--tgw-icon-check) center / contain no-repeat;
	mask: var(--tgw-icon-check) center / contain no-repeat;
}

.tg-woo .woocommerce-info,
.tg-woo .woocommerce-notice--info {
	border-color: var(--tgw-line);
	background: var(--tgw-card);
	color: var(--tgw-muted);
}

.tg-woo .woocommerce-error,
.tg-woo .woocommerce-notice--error {
	display: block;
	border-color: rgb(255 180 171 / 0.5);
	background: var(--tgw-error-bg);
	color: var(--tgw-error);
}

.tg-woo .woocommerce-error::before {
	top: 1.2rem;
	margin-top: 0;
	color: var(--tgw-error);
}

.tg-woo .woocommerce-error li + li {
	margin-top: 0.35rem;
}

.tg-woo .woocommerce-error strong,
.tg-woo .woocommerce-error a:not(.button) {
	color: var(--tgw-error) !important;
}

/* The notice button ("Warenkorb anzeigen", "Weiter einkaufen"...) sits at the end of the line. */
.tg-woo .woocommerce-message .button,
.tg-woo .woocommerce-info .button,
.tg-woo .woocommerce-error .button {
	order: 2;
	margin-left: auto;
	min-height: 40px;
	padding: 0.55rem 1.25rem;
	font-size: 10px;
	box-shadow: none;
}

.tg-woo .woocommerce-message .button + .button {
	margin-left: 0;
}

@media (max-width: 639px) {
	.tg-woo .woocommerce-message .button,
	.tg-woo .woocommerce-info .button {
		margin-left: 0;
		width: 100%;
	}
}

/* Notices printed at the top of non-WooCommerce pages (front page). */
.tg-woo--notices .woocommerce-notices-wrapper,
.tg-woo--notices .woocommerce > :last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------------------------------------
 * Form fields
 * --------------------------------------------------------------------------------------------- */

.tg-woo .woocommerce .form-row {
	margin: 0;
	padding: 0;
}

.tg-woo .woocommerce .form-row label,
.tg-woo .woocommerce fieldset legend,
.tg-woo .woocommerce .woocommerce-form-row label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--tgw-gold);
	font-family: var(--tgw-sans);
	font-size: 11px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.tg-woo .woocommerce .form-row label.checkbox,
.tg-woo .woocommerce .form-row label.woocommerce-form__label-for-checkbox,
.tg-woo .woocommerce label.woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0;
	color: var(--tgw-muted);
	font-size: 13px;
	font-weight: 300;
	line-height: 22px;
	letter-spacing: 0.02em;
	text-transform: none;
	cursor: pointer;
}

.tg-woo .woocommerce .required {
	color: var(--tgw-gold);
	text-decoration: none;
	border: 0;
}

.tg-woo .woocommerce .optional {
	color: var(--tgw-outline);
	font-weight: 300;
	letter-spacing: 0.04em;
	text-transform: none;
}

.tg-woo .woocommerce .woocommerce-input-wrapper,
.tg-woo .woocommerce .password-input {
	position: relative;
	display: block;
}

.tg-woo .woocommerce input.input-text,
.tg-woo .woocommerce input[type="text"],
.tg-woo .woocommerce input[type="email"],
.tg-woo .woocommerce input[type="tel"],
.tg-woo .woocommerce input[type="password"],
.tg-woo .woocommerce input[type="number"],
.tg-woo .woocommerce input[type="search"],
.tg-woo .woocommerce input[type="url"],
.tg-woo .woocommerce input[type="date"],
.tg-woo .woocommerce textarea,
.tg-woo .woocommerce select {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 0.75rem 1rem;
	background: var(--tgw-field);
	border: 1px solid var(--tgw-outline);
	border-radius: 0;
	color: var(--tgw-text);
	font-family: var(--tgw-sans);
	font-size: 14px;
	font-weight: 300;
	line-height: 22px;
	letter-spacing: 0.02em;
	box-shadow: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.tg-woo .woocommerce textarea {
	min-height: 112px;
	resize: vertical;
}

.tg-woo .woocommerce ::placeholder {
	color: rgb(154 143 126 / 0.65);
	opacity: 1;
}

.tg-woo .woocommerce input.input-text:hover,
.tg-woo .woocommerce input[type="text"]:hover,
.tg-woo .woocommerce input[type="email"]:hover,
.tg-woo .woocommerce input[type="tel"]:hover,
.tg-woo .woocommerce input[type="password"]:hover,
.tg-woo .woocommerce input[type="number"]:hover,
.tg-woo .woocommerce textarea:hover,
.tg-woo .woocommerce select:hover {
	border-color: var(--tgw-muted);
}

.tg-woo .woocommerce input.input-text:focus,
.tg-woo .woocommerce input[type="text"]:focus,
.tg-woo .woocommerce input[type="email"]:focus,
.tg-woo .woocommerce input[type="tel"]:focus,
.tg-woo .woocommerce input[type="password"]:focus,
.tg-woo .woocommerce input[type="number"]:focus,
.tg-woo .woocommerce input[type="search"]:focus,
.tg-woo .woocommerce textarea:focus,
.tg-woo .woocommerce select:focus {
	border-color: var(--tgw-gold);
	box-shadow: 0 0 0 1px var(--tgw-gold);
	outline: none;
}

.tg-woo .woocommerce input:-webkit-autofill,
.tg-woo .woocommerce input:-webkit-autofill:hover,
.tg-woo .woocommerce input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px var(--tgw-field) inset;
	-webkit-text-fill-color: var(--tgw-text);
	caret-color: var(--tgw-text);
	transition: background-color 9999s ease-out;
}

.tg-woo .woocommerce select {
	padding-right: 2.75rem;
	background-image: none;
	cursor: pointer;
}

.tg-woo .woocommerce .woocommerce-input-wrapper:has(> select:not(.select2-hidden-accessible))::after,
.tg-woo .woocommerce .form-row:has(> select:not(.select2-hidden-accessible))::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 13px;
	width: 22px;
	height: 22px;
	background: var(--tgw-gold);
	-webkit-mask: var(--tgw-icon-chevron) center / contain no-repeat;
	mask: var(--tgw-icon-chevron) center / contain no-repeat;
	pointer-events: none;
}

.tg-woo .woocommerce .form-row:has(> select:not(.select2-hidden-accessible)) {
	position: relative;
}

.tg-woo .woocommerce select option {
	background: var(--tgw-field);
	color: var(--tgw-text);
}

/* Checkbox and radio: Stitch square checkbox (forms.css .tg-check) and a gold radio. */
.tg-woo .woocommerce input[type="checkbox"],
.tg-woo .woocommerce input[type="radio"] {
	position: relative;
	flex-shrink: 0;
	display: inline-block;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	padding: 0;
	border: 1px solid var(--tgw-outline);
	border-radius: 0;
	background: #0b0a08;
	vertical-align: top;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.tg-woo .woocommerce input[type="radio"] {
	border-radius: 9999px;
}

.tg-woo .woocommerce input[type="checkbox"]:hover,
.tg-woo .woocommerce input[type="radio"]:hover {
	border-color: var(--tgw-gold);
}

.tg-woo .woocommerce input[type="checkbox"]:checked {
	background: var(--tgw-gold-deep);
	border-color: var(--tgw-gold-deep);
}

.tg-woo .woocommerce input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #0b0a08;
	-webkit-mask: var(--tgw-icon-check) center / 16px no-repeat;
	mask: var(--tgw-icon-check) center / 16px no-repeat;
}

.tg-woo .woocommerce input[type="radio"]:checked {
	border-color: var(--tgw-gold);
}

.tg-woo .woocommerce input[type="radio"]:checked::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 9999px;
	background: var(--tgw-gold);
}

.tg-woo .woocommerce input[type="checkbox"]:focus-visible,
.tg-woo .woocommerce input[type="radio"]:focus-visible {
	outline: 2px solid var(--tgw-gold);
	outline-offset: 3px;
}

/* Field validation (classes set by WooCommerce's checkout / address scripts). */
.tg-woo .woocommerce .form-row.woocommerce-invalid label {
	color: var(--tgw-error);
}

.tg-woo .woocommerce .form-row.woocommerce-invalid input.input-text,
.tg-woo .woocommerce .form-row.woocommerce-invalid select,
.tg-woo .woocommerce .form-row.woocommerce-invalid textarea,
.tg-woo .woocommerce .form-row.woocommerce-invalid .select2-selection {
	border-color: var(--tgw-error);
}

.tg-woo .woocommerce .form-row.woocommerce-invalid input[type="checkbox"] {
	border-color: var(--tgw-error);
}

.tg-woo .woocommerce .checkout-inline-error-message,
.tg-woo .woocommerce .woocommerce-input-wrapper .error {
	margin-top: 0.4rem;
	color: var(--tgw-error);
	font-size: 12px;
	line-height: 18px;
}

/* Field descriptions ("So wird Ihr Name ... angezeigt"). */
.tg-woo .woocommerce .form-row em,
.tg-woo .woocommerce .description {
	display: block;
	margin-top: 0.4rem;
	color: var(--tgw-outline);
	font-size: 12px;
	font-style: normal;
	line-height: 18px;
}

/* Show / hide password. */
.tg-woo .woocommerce .password-input input {
	padding-right: 3rem;
}

.tg-woo .woocommerce .show-password-input {
	position: absolute;
	top: 50%;
	right: 6px;
	width: 36px;
	height: 36px;
	margin-top: -18px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--tgw-outline);
	cursor: pointer;
	transition: color 0.2s;
}

.tg-woo .woocommerce .show-password-input::after {
	content: "";
	position: absolute;
	inset: 8px;
	background: currentColor;
	-webkit-mask: var(--tgw-icon-eye) center / contain no-repeat;
	mask: var(--tgw-icon-eye) center / contain no-repeat;
}

.tg-woo .woocommerce .show-password-input.display-password::after {
	-webkit-mask-image: var(--tgw-icon-eye-off);
	mask-image: var(--tgw-icon-eye-off);
}

.tg-woo .woocommerce .show-password-input:hover {
	color: var(--tgw-gold);
}

/* Password strength meter. */
.tg-woo .woocommerce .woocommerce-password-strength {
	margin-top: 0.5rem;
	padding: 0.45rem 0.75rem;
	border-left: 2px solid currentColor;
	background: rgb(255 255 255 / 0.02);
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	letter-spacing: 0.04em;
	text-align: left;
}

.tg-woo .woocommerce .woocommerce-password-strength.short {
	color: var(--tgw-error);
}

.tg-woo .woocommerce .woocommerce-password-strength.bad {
	color: #eba872;
}

.tg-woo .woocommerce .woocommerce-password-strength.good {
	color: var(--tgw-gold-soft);
}

.tg-woo .woocommerce .woocommerce-password-strength.strong {
	color: #c9d78f;
}

.tg-woo .woocommerce .woocommerce-password-hint {
	display: block;
	margin-top: 0.4rem;
	color: var(--tgw-outline);
	font-size: 12px;
	line-height: 18px;
}

/* Two-column field rows (WooCommerce's form-row-first / -last floats, as a grid). */
.tg-woo .woocommerce .woocommerce-billing-fields__field-wrapper,
.tg-woo .woocommerce .woocommerce-shipping-fields__field-wrapper,
.tg-woo .woocommerce .woocommerce-address-fields__field-wrapper,
.tg-woo .woocommerce .woocommerce-additional-fields__field-wrapper,
.tg-woo .woocommerce .woocommerce-account-fields .create-account,
.tg-woo .woocommerce form.woocommerce-EditAccountForm,
.tg-woo .woocommerce form.woocommerce-ResetPassword,
.tg-woo .woocommerce form.login,
.tg-woo .woocommerce form.register,
.tg-woo .woocommerce fieldset {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1.25rem 1rem;
}

.tg-woo .woocommerce :where(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper, form.woocommerce-EditAccountForm, form.woocommerce-ResetPassword, form.login, form.register, fieldset) > * {
	grid-column: 1 / -1;
	margin: 0;
}

.tg-woo .woocommerce .form-row-first {
	grid-column: 1;
}

.tg-woo .woocommerce .form-row-last {
	grid-column: 2;
}

.tg-woo .woocommerce form .clear,
.tg-woo .woocommerce fieldset .clear {
	display: none;
}

.tg-woo .woocommerce fieldset {
	margin: 0.5rem 0 0;
	padding: 1.5rem 0 0;
	border: 0;
	border-top: 1px solid var(--tgw-line);
}

.tg-woo .woocommerce fieldset legend {
	float: left;
	width: 100%;
	margin: 0 0 0.25rem;
	padding: 0;
	color: var(--tgw-gold-soft);
	font-family: var(--tgw-serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 30px;
	letter-spacing: 0.12em;
}

@media (max-width: 639px) {
	.tg-woo .woocommerce .form-row-first,
	.tg-woo .woocommerce .form-row-last {
		grid-column: 1 / -1;
	}

	.tg-woo .woocommerce input.input-text,
	.tg-woo .woocommerce input[type="text"],
	.tg-woo .woocommerce input[type="email"],
	.tg-woo .woocommerce input[type="tel"],
	.tg-woo .woocommerce input[type="password"],
	.tg-woo .woocommerce input[type="number"],
	.tg-woo .woocommerce textarea,
	.tg-woo .woocommerce select,
	.tg-woo .select2-container .select2-selection__rendered,
	.tg-woo-page .select2-search__field {
		font-size: 16px !important;
	}
}

/* ------------------------------------------------------------------------------------------------
 * select2 / selectWoo (country and state). The dropdown is appended to <body>.
 * --------------------------------------------------------------------------------------------- */

.tg-woo .select2-container {
	display: block;
	width: 100% !important;
}

.tg-woo .select2-container--default .select2-selection--single {
	height: 48px;
	background: var(--tgw-field);
	border: 1px solid var(--tgw-outline);
	border-radius: 0;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.tg-woo .select2-container--default .select2-selection--single:hover {
	border-color: var(--tgw-muted);
}

.tg-woo .select2-container--default.select2-container--focus .select2-selection--single,
.tg-woo .select2-container--default.select2-container--open .select2-selection--single,
.tg-woo .select2-container--default .select2-selection--single:focus {
	border-color: var(--tgw-gold);
	box-shadow: 0 0 0 1px var(--tgw-gold);
	outline: none;
}

.tg-woo .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0 2.75rem 0 1rem;
	color: var(--tgw-text);
	font-family: var(--tgw-sans);
	font-size: 14px;
	font-weight: 300;
	line-height: 46px;
	letter-spacing: 0.02em;
}

.tg-woo .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: rgb(154 143 126 / 0.65);
}

.tg-woo .select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 0;
	right: 12px;
	width: 22px;
	height: 46px;
}

.tg-woo .select2-container--default .select2-selection--single .select2-selection__arrow b {
	position: absolute;
	top: 50%;
	left: 0;
	width: 22px;
	height: 22px;
	margin: -11px 0 0;
	border: 0;
	background: var(--tgw-gold);
	-webkit-mask: var(--tgw-icon-chevron) center / contain no-repeat;
	mask: var(--tgw-icon-chevron) center / contain no-repeat;
	transition: transform 0.2s;
}

.tg-woo .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	transform: rotate(180deg);
}

.tg-woo-page .select2-dropdown {
	background: var(--tgw-card);
	border: 1px solid var(--tgw-gold);
	border-radius: 0;
	color: var(--tgw-muted);
	box-shadow: 0 20px 40px rgb(0 0 0 / 0.75);
	font-family: var(--tgw-sans);
	font-size: 14px;
	font-weight: 300;
}

.tg-woo-page .select2-container--open .select2-dropdown--below {
	border-top: 0;
}

.tg-woo-page .select2-container--open .select2-dropdown--above {
	border-bottom: 0;
}

.tg-woo-page .select2-search--dropdown {
	padding: 0.5rem;
}

.tg-woo-page .select2-container--default .select2-search--dropdown .select2-search__field {
	min-height: 40px;
	padding: 0.5rem 0.75rem;
	background: var(--tgw-field);
	border: 1px solid var(--tgw-outline);
	border-radius: 0;
	color: var(--tgw-text);
	font: inherit;
	outline: none;
}

.tg-woo-page .select2-container--default .select2-search--dropdown .select2-search__field:focus {
	border-color: var(--tgw-gold);
}

.tg-woo-page .select2-container--default .select2-results > .select2-results__options {
	max-height: 260px;
	scrollbar-color: var(--tgw-outline-var) transparent;
}

.tg-woo-page .select2-results__option {
	padding: 0.5rem 1rem;
	line-height: 22px;
}

.tg-woo-page .select2-container--default .select2-results__option[aria-selected="true"],
.tg-woo-page .select2-container--default .select2-results__option[data-selected="true"] {
	background: rgb(236 193 102 / 0.1);
	color: var(--tgw-gold);
}

.tg-woo-page .select2-container--default .select2-results__option--highlighted[aria-selected],
.tg-woo-page .select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--tgw-gold-deep);
	color: #0b0a08;
}

.tg-woo-page .select2-results__message {
	color: var(--tgw-outline);
}

/* ------------------------------------------------------------------------------------------------
 * Tables (cart, totals, order review, order details, orders)
 * --------------------------------------------------------------------------------------------- */

.tg-woo .woocommerce table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0;
	text-align: left;
}

.tg-woo .woocommerce table.shop_table th,
.tg-woo .woocommerce table.shop_table td {
	padding: 1rem 0.75rem;
	border-bottom: 1px solid var(--tgw-line);
	vertical-align: middle;
	text-align: left;
}

.tg-woo .woocommerce table.shop_table thead th {
	padding-top: 0;
	padding-bottom: 0.85rem;
	border-bottom-color: var(--tgw-line-strong);
	color: var(--tgw-outline);
	font-size: 10px;
	font-weight: 500;
	line-height: 14px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tg-woo .woocommerce table.shop_table tbody th,
.tg-woo .woocommerce table.shop_table tfoot th {
	color: var(--tgw-muted);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.tg-woo .woocommerce table.shop_table tr > :first-child {
	padding-left: 0;
}

.tg-woo .woocommerce table.shop_table tr > :last-child {
	padding-right: 0;
}

.tg-woo .woocommerce table.shop_table .order-total th {
	color: var(--tgw-gold);
}

.tg-woo .woocommerce table.shop_table .order-total .woocommerce-Price-amount {
	color: var(--tgw-gold);
	font-size: 26px;
}

.tg-woo .woocommerce table.shop_table tr.order-total th,
.tg-woo .woocommerce table.shop_table tr.order-total td {
	border-bottom: 0;
	padding-top: 1.25rem;
}

/* Variation / item meta under the product name. */
.tg-woo .woocommerce dl.variation,
.tg-woo .woocommerce .wc-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 0.4rem;
	margin: 0.35rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--tgw-outline);
	font-size: 11px;
	line-height: 16px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tg-woo .woocommerce dl.variation dt,
.tg-woo .woocommerce dl.variation dd,
.tg-woo .woocommerce dl.variation p,
.tg-woo .woocommerce .wc-item-meta li,
.tg-woo .woocommerce .wc-item-meta p {
	display: inline;
	margin: 0;
	font-weight: 400;
}

.tg-woo .woocommerce .wc-item-meta strong {
	color: inherit;
	font-weight: 500;
}

.tg-woo .woocommerce .wc-item-meta li + li::before {
	content: "·";
	margin-right: 0.4rem;
}

/* Radio lists (shipping methods). */
.tg-woo .woocommerce ul#shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tg-woo .woocommerce ul#shipping_method li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0 0 0.6rem;
	text-align: left;
}

.tg-woo .woocommerce ul#shipping_method li:last-child {
	margin-bottom: 0;
}

.tg-woo .woocommerce ul#shipping_method li label {
	color: var(--tgw-muted);
	font-size: 13px;
	line-height: 22px;
	cursor: pointer;
}

.tg-woo .woocommerce ul#shipping_method .woocommerce-Price-amount {
	font-size: 16px;
}

/* ------------------------------------------------------------------------------------------------
 * Cart
 * --------------------------------------------------------------------------------------------- */

/* Cart table and totals side by side from 1280px (below: totals card under the table). */
@media (min-width: 1280px) {
	.tg-woo .woocommerce:has(> .woocommerce-cart-form) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 380px;
		column-gap: 3rem;
		align-items: start;
	}

	.tg-woo .woocommerce:has(> .woocommerce-cart-form) > * {
		grid-column: 1 / -1;
	}

	.tg-woo .woocommerce:has(> .woocommerce-cart-form) > .woocommerce-cart-form {
		grid-column: 1;
	}

	.tg-woo .woocommerce:has(> .woocommerce-cart-form) > .cart-collaterals {
		grid-column: 2;
		position: sticky;
		top: 140px;
	}

	.admin-bar .tg-woo .woocommerce:has(> .woocommerce-cart-form) > .cart-collaterals {
		top: 172px;
	}
}

@media (min-width: 1440px) {
	.tg-woo .woocommerce:has(> .woocommerce-cart-form) {
		grid-template-columns: minmax(0, 1fr) 420px;
		column-gap: 4rem;
	}
}

.tg-woo .woocommerce table.cart td {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.tg-woo .woocommerce table.cart .product-remove {
	width: 44px;
}

.tg-woo .woocommerce table.cart .product-thumbnail {
	width: 1%;
}

.tg-woo .woocommerce table.cart .product-thumbnail a,
.tg-woo .woocommerce table.cart .product-thumbnail > img {
	display: block;
}

.tg-woo .woocommerce table.cart .product-thumbnail img {
	display: block;
	width: 88px;
	max-width: none;
	height: 88px;
	object-fit: cover;
	background: var(--tgw-low);
	border: 1px solid rgb(236 193 102 / 0.15);
	border-radius: 0.25rem;
	transition: border-color 0.3s;
}

.tg-woo .woocommerce table.cart .product-thumbnail a:hover img {
	border-color: rgb(236 193 102 / 0.5);
}

.tg-woo .woocommerce table.cart td.product-name > a,
.tg-woo .woocommerce table.cart td.product-name {
	color: var(--tgw-text);
	font-family: var(--tgw-serif);
	font-size: 20px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: 0.02em;
}

.tg-woo .woocommerce table.cart td.product-name > a {
	text-decoration: none;
}

.tg-woo .woocommerce table.cart td.product-name > a:hover {
	color: var(--tgw-gold);
}

.tg-woo .woocommerce table.cart .product-name dl.variation {
	font-family: var(--tgw-sans);
}

.tg-woo .woocommerce table.cart .product-subtotal,
.tg-woo .woocommerce table.cart thead .product-subtotal {
	text-align: right;
}

.tg-woo .woocommerce table.cart .product-price,
.tg-woo .woocommerce table.cart .product-quantity,
.tg-woo .woocommerce table.cart .product-subtotal {
	width: 1%;
	white-space: nowrap;
}

.tg-woo .woocommerce table.cart .product-name {
	width: 100%;
}

.tg-woo .woocommerce table.cart thead .product-quantity,
.tg-woo .woocommerce table.cart td.product-quantity {
	padding-left: 1rem;
	padding-right: 1rem;
}

.tg-woo .woocommerce a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--tgw-outline-var);
	border-radius: 9999px;
	color: transparent;
	font-size: 0;
	text-decoration: none;
	transition: border-color 0.2s, background-color 0.2s;
}

.tg-woo .woocommerce a.remove::before {
	content: "";
	width: 16px;
	height: 16px;
	background: var(--tgw-outline);
	-webkit-mask: var(--tgw-icon-close) center / contain no-repeat;
	mask: var(--tgw-icon-close) center / contain no-repeat;
	transition: background-color 0.2s;
}

.tg-woo .woocommerce a.remove:hover {
	border-color: var(--tgw-gold);
	background: rgb(236 193 102 / 0.08);
}

.tg-woo .woocommerce a.remove:hover::before {
	background: var(--tgw-gold);
}

/* Quantity: [−] [ 1 ] [+] (buttons added by the theme, assets/js/woocommerce.js). */
.tg-woo .woocommerce .quantity {
	display: inline-flex;
	align-items: stretch;
	height: 44px;
	border: 1px solid var(--tgw-outline);
	background: var(--tgw-field);
	transition: border-color 0.2s;
}

.tg-woo .woocommerce .quantity:hover {
	border-color: var(--tgw-muted);
}

.tg-woo .woocommerce .quantity:focus-within {
	border-color: var(--tgw-gold);
}

.tg-woo .woocommerce .quantity:has(> input[type="hidden"]) {
	display: none;
}

.tg-woo .woocommerce .quantity input.qty {
	width: 52px;
	min-height: 0;
	height: 100%;
	padding: 0 0.25rem;
	border: 0;
	background: transparent;
	color: var(--tgw-text);
	font-family: var(--tgw-serif);
	font-size: 18px;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.tg-woo .woocommerce .quantity input.qty:focus {
	box-shadow: none;
}

.tg-woo .woocommerce .quantity input.qty::-webkit-outer-spin-button,
.tg-woo .woocommerce .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.tg-woo .woocommerce .tg-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--tgw-gold);
	font-family: var(--tgw-sans);
	font-size: 18px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s, background-color 0.2s;
}

.tg-woo .woocommerce .tg-qty-btn:hover {
	background: rgb(236 193 102 / 0.08);
}

.tg-woo .woocommerce .tg-qty-btn:disabled {
	color: var(--tgw-outline-var);
	cursor: not-allowed;
	background: none;
}

.tg-woo .woocommerce .tg-qty-btn:focus-visible {
	outline-offset: -2px;
}

.woocommerce-no-js .tg-woo .tg-qty-btn {
	display: none;
}

/* Actions row: coupon (when enabled) left, "Warenkorb aktualisieren" right. */
.tg-woo .woocommerce table.cart td.actions {
	padding: 1.5rem 0 0;
	border-bottom: 0;
	text-align: right;
}

.tg-woo .woocommerce table.cart td.actions .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	float: left;
	text-align: left;
}

.tg-woo .woocommerce table.cart td.actions .coupon .input-text {
	width: 220px;
}

/* Cart totals card. */
.tg-woo .woocommerce .cart_totals {
	padding: 1.75rem;
}

.tg-woo .woocommerce .cart_totals::before,
.tg-woo .woocommerce #order_review::before,
.tg-woo .woocommerce form.login::before,
.tg-woo .woocommerce form.register::before,
.tg-woo .woocommerce form.lost_reset_password::before,
.tg-woo .woocommerce .woocommerce-order-overview::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(to right, transparent, rgb(236 193 102 / 0.6), transparent);
	pointer-events: none;
}

.tg-woo .woocommerce .cart_totals h2 {
	margin-bottom: 0.75rem;
}

.tg-woo .woocommerce .cart_totals table.shop_table tr {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	border-bottom: 1px solid var(--tgw-line);
	padding: 0.9rem 0;
}

.tg-woo .woocommerce .cart_totals table.shop_table tr:last-child {
	border-bottom: 0;
}

.tg-woo .woocommerce .cart_totals table.shop_table th,
.tg-woo .woocommerce .cart_totals table.shop_table td {
	padding: 0;
	border: 0;
}

.tg-woo .woocommerce .cart_totals table.shop_table td {
	text-align: right;
}

.tg-woo .woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals {
	display: block;
}

.tg-woo .woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals th,
.tg-woo .woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals td {
	display: block;
	text-align: left;
}

.tg-woo .woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals th {
	margin-bottom: 0.75rem;
}

.tg-woo .woocommerce .cart_totals .woocommerce-shipping-destination {
	margin-top: 0.75rem;
}

.tg-woo .woocommerce .wc-proceed-to-checkout {
	margin-top: 1.25rem;
}

.tg-woo .woocommerce .wc-proceed-to-checkout .checkout-button {
	width: 100%;
	min-height: 56px;
	font-size: 12px;
}

/* Shipping calculator. */
.tg-woo .woocommerce .shipping-calculator-button {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.tg-woo .woocommerce .shipping-calculator-form {
	display: grid;
	gap: 1rem;
	margin-top: 1rem;
}

.tg-woo .woocommerce .shipping-calculator-form p {
	margin: 0;
}

.tg-woo .woocommerce .shipping-calculator-form .button {
	width: 100%;
}

/* Empty cart: centered panel like the shop's empty state, then "Zurück zum Shop". */
.tg-woo .woocommerce .wc-empty-cart-message {
	max-width: 640px;
	margin: 0 auto;
}

/* (After an ajax removal WooCommerce moves .cart-empty into the notices wrapper.) */
.tg-woo .woocommerce .cart-empty.woocommerce-info {
	display: block;
	max-width: 640px;
	margin: 0 auto;
	padding: 3rem 1.5rem 3rem;
	border: 1px dashed var(--tgw-line-strong);
	border-radius: 0.5rem;
	background: var(--tgw-card);
	color: var(--tgw-text);
	font-family: var(--tgw-serif);
	font-size: 24px;
	line-height: 34px;
	letter-spacing: 0.02em;
	text-align: center;
}

.tg-woo .woocommerce .cart-empty.woocommerce-info::before {
	content: "◆";
	position: static;
	display: block;
	margin: 0 0 0.75rem;
	font-family: var(--tgw-sans);
	font-size: 10px;
	line-height: 16px;
	color: var(--tgw-gold);
}

.tg-woo .woocommerce .return-to-shop {
	margin-top: 1.75rem;
	text-align: center;
}

@media (max-width: 767px) {
	/* Cart rows as cards: thumbnail left; name, price, quantity, subtotal right; remove top right. */
	.tg-woo .woocommerce table.cart,
	.tg-woo .woocommerce table.cart tbody {
		display: block;
	}

	.tg-woo .woocommerce table.cart thead {
		display: none;
	}

	.tg-woo .woocommerce table.cart tr.cart_item {
		display: grid;
		grid-template-columns: 72px minmax(0, 1fr) 32px;
		column-gap: 1rem;
		row-gap: 0.5rem;
		margin-bottom: 0.75rem;
		padding: 1rem;
		background: var(--tgw-card);
		border: 1px solid var(--tgw-line);
		border-radius: 0.5rem;
	}

	.tg-woo .woocommerce table.cart tr.cart_item td {
		display: block;
		padding: 0;
		border: 0;
		width: auto;
	}

	.tg-woo .woocommerce table.cart tr.cart_item .product-thumbnail {
		grid-column: 1;
		grid-row: 1 / span 4;
	}

	.tg-woo .woocommerce table.cart tr.cart_item .product-thumbnail img {
		width: 72px;
		height: 72px;
	}

	.tg-woo .woocommerce table.cart tr.cart_item .product-name {
		grid-column: 2;
		grid-row: 1;
		font-size: 18px;
		line-height: 24px;
		padding-top: 0.15rem;
	}

	.tg-woo .woocommerce table.cart tr.cart_item .product-remove {
		grid-column: 3;
		grid-row: 1;
	}

	.tg-woo .woocommerce table.cart tr.cart_item .product-price,
	.tg-woo .woocommerce table.cart tr.cart_item .product-quantity,
	.tg-woo .woocommerce table.cart tr.cart_item .product-subtotal {
		grid-column: 2 / -1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		text-align: right;
	}

	.tg-woo .woocommerce table.cart tr.cart_item .product-price::before,
	.tg-woo .woocommerce table.cart tr.cart_item .product-quantity::before,
	.tg-woo .woocommerce table.cart tr.cart_item .product-subtotal::before {
		content: attr(data-title);
		color: var(--tgw-outline);
		font-family: var(--tgw-sans);
		font-size: 10px;
		font-weight: 500;
		line-height: 14px;
		letter-spacing: 0.2em;
		text-transform: uppercase;
	}

	.tg-woo .woocommerce table.cart tr.cart_item .product-quantity .quantity {
		height: 40px;
	}

	.tg-woo .woocommerce table.cart tr.cart_item .product-subtotal {
		padding-top: 0.5rem;
		border-top: 1px solid var(--tgw-line);
	}

	.tg-woo .woocommerce table.cart tr:not(.cart_item) {
		display: block;
	}

	.tg-woo .woocommerce table.cart td.actions {
		display: block;
		padding-top: 0.5rem;
	}

	.tg-woo .woocommerce table.cart td.actions .coupon {
		float: none;
		margin-bottom: 0.75rem;
	}

	.tg-woo .woocommerce table.cart td.actions .coupon .input-text {
		flex: 1;
		width: auto;
	}

	.tg-woo .woocommerce table.cart td.actions .button {
		width: 100%;
	}

	.tg-woo .woocommerce .cart-collaterals {
		margin-top: 1.75rem;
	}

	.tg-woo .woocommerce .cart_totals {
		padding: 1.25rem;
	}
}

@media (min-width: 768px) and (max-width: 1279px) {
	.tg-woo .woocommerce .cart-collaterals {
		max-width: 520px;
		margin: 2.5rem 0 0 auto;
	}
}

/* ------------------------------------------------------------------------------------------------
 * Checkout
 * --------------------------------------------------------------------------------------------- */

.tg-woo .woocommerce wc-order-attribution-inputs {
	display: none;
}

.tg-woo .woocommerce form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

.tg-woo .woocommerce form.checkout > * {
	grid-column: 1 / -1;
}

.tg-woo .woocommerce #customer_details {
	display: grid;
	gap: 2.5rem;
	margin-bottom: 2.5rem;
}

.tg-woo .woocommerce #customer_details .col-1,
.tg-woo .woocommerce #customer_details .col-2 {
	display: grid;
	gap: 2.5rem;
	align-content: start;
}

.tg-woo .woocommerce #customer_details .col-2:empty {
	display: none;
}

.tg-woo .woocommerce .woocommerce-billing-fields h3,
.tg-woo .woocommerce .woocommerce-additional-fields h3,
.tg-woo .woocommerce #order_review_heading {
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--tgw-line);
}

/* "Lieferung an eine andere Adresse?" is an h3 holding a checkbox. */
.tg-woo .woocommerce #ship-to-different-address {
	margin: 0 0 1.25rem;
	padding: 0;
	border: 0;
	font-family: var(--tgw-sans);
	font-size: 14px;
	line-height: 22px;
	letter-spacing: 0.02em;
	text-transform: none;
}

.tg-woo .woocommerce #ship-to-different-address label {
	color: var(--tgw-text);
	font-size: 14px;
}

.tg-woo .woocommerce .woocommerce-account-fields {
	margin-top: 1.25rem;
}

.tg-woo .woocommerce .woocommerce-account-fields .create-account:not(.form-row) {
	margin-top: 1rem;
}

@media (min-width: 1024px) {
	.tg-woo .woocommerce form.checkout {
		grid-template-columns: minmax(0, 1fr) 440px;
		grid-template-rows: auto auto auto 1fr;
		column-gap: 2.5rem;
		align-items: start;
	}

	/* Row 1: validation notices (prepended by checkout.js) across both columns. */
	.tg-woo .woocommerce form.checkout > .woocommerce-NoticeGroup {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.tg-woo .woocommerce form.checkout > #customer_details {
		grid-column: 1;
		grid-row: 2 / span 3;
		margin-bottom: 0;
	}

	.tg-woo .woocommerce form.checkout > #order_review_heading {
		grid-column: 2;
		grid-row: 2;
	}

	.tg-woo .woocommerce form.checkout > #order_review {
		grid-column: 2;
		grid-row: 3;
	}
}

@media (min-width: 1280px) {
	.tg-woo .woocommerce form.checkout {
		grid-template-columns: minmax(0, 1fr) 460px;
		column-gap: 4rem;
	}
}

/* Order review card (table + payment). */
.tg-woo .woocommerce #order_review {
	padding: 1.75rem;
}

.tg-woo .woocommerce .woocommerce-checkout-review-order-table .product-name {
	color: var(--tgw-text);
	font-family: var(--tgw-serif);
	font-size: 17px;
	line-height: 24px;
}

.tg-woo .woocommerce .woocommerce-checkout-review-order-table thead .product-name {
	font-family: var(--tgw-sans);
	font-size: 10px;
}

.tg-woo .woocommerce .woocommerce-checkout-review-order-table .product-quantity {
	color: var(--tgw-outline);
	font-family: var(--tgw-sans);
	font-size: 12px;
	font-weight: 400;
	white-space: nowrap;
}

.tg-woo .woocommerce .woocommerce-checkout-review-order-table .product-total,
.tg-woo .woocommerce .woocommerce-checkout-review-order-table tfoot td {
	text-align: right;
}

.tg-woo .woocommerce .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th {
	vertical-align: top;
}

.tg-woo .woocommerce .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
	display: flex;
	justify-content: flex-end;
}

.tg-woo .woocommerce .woocommerce-checkout-review-order-table ul#shipping_method li {
	justify-content: flex-end;
}

.tg-woo .woocommerce .woocommerce-checkout-review-order-table ul#shipping_method li label {
	white-space: nowrap;
}

.tg-woo .woocommerce .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > * {
	vertical-align: top;
}

/* Payment methods. */
.tg-woo .woocommerce #payment {
	margin-top: 1.5rem;
}

.tg-woo .woocommerce #payment ul.payment_methods {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--tgw-line);
}

.tg-woo .woocommerce #payment ul.payment_methods > li {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0 0.75rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--tgw-line);
}

.tg-woo .woocommerce #payment ul.payment_methods > li > label {
	flex: 1;
	margin: 0;
	color: var(--tgw-text);
	font-size: 13px;
	font-weight: 400;
	line-height: 22px;
	letter-spacing: 0.04em;
	cursor: pointer;
}

.tg-woo .woocommerce #payment ul.payment_methods > li > label img {
	display: inline-block;
	max-height: 24px;
	margin-left: 0.5rem;
	vertical-align: middle;
}

.tg-woo .woocommerce #payment ul.payment_methods > li.woocommerce-notice {
	display: block;
	padding: 0.95rem 1.25rem 0.95rem 2.75rem;
	border: 1px solid var(--tgw-line);
	margin: 0;
}

.tg-woo .woocommerce #payment .payment_box {
	flex-basis: 100%;
	margin: 0.75rem 0 0 calc(18px + 0.75rem);
	padding: 0.75rem 1rem;
	background: rgb(255 255 255 / 0.02);
	border-left: 2px solid rgb(236 193 102 / 0.4);
	color: var(--tgw-muted);
	font-size: 12px;
	line-height: 20px;
}

.tg-woo .woocommerce #payment .payment_box p {
	margin: 0;
}

.tg-woo .woocommerce #payment .place-order {
	display: grid;
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.tg-woo .woocommerce #payment #place_order {
	width: 100%;
	min-height: 58px;
	font-size: 12px;
}

/* Terms and privacy text. */
.tg-woo .woocommerce .woocommerce-terms-and-conditions-wrapper {
	display: grid;
	gap: 0.75rem;
	color: var(--tgw-outline);
	font-size: 12px;
	line-height: 19px;
}

.tg-woo .woocommerce .woocommerce-terms-and-conditions-wrapper p {
	margin: 0;
}

.tg-woo .woocommerce .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox {
	font-size: 12px;
	line-height: 20px;
}

.tg-woo .woocommerce .woocommerce-terms-and-conditions {
	max-height: 220px;
	overflow: auto;
	padding: 1rem;
	background: var(--tgw-field);
	border: 1px solid var(--tgw-outline-var);
}

/* Login / coupon toggles above the checkout form. */
.tg-woo .woocommerce .woocommerce-form-login-toggle .woocommerce-info,
.tg-woo .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info {
	margin-bottom: 1rem;
}

.tg-woo .woocommerce form.checkout_coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0 0 1.75rem;
	padding: 1.25rem;
}

.tg-woo .woocommerce form.checkout_coupon .form-row-first {
	flex: 1 1 220px;
}

.tg-woo .woocommerce form.checkout_coupon .form-row-last {
	flex: 0 0 auto;
}

.tg-woo .woocommerce form.checkout_coupon .clear {
	display: none;
}

@media (max-width: 639px) {
	.tg-woo .woocommerce form.checkout_coupon .form-row-last,
	.tg-woo .woocommerce form.checkout_coupon .button {
		flex-basis: 100%;
		width: 100%;
	}
}

.tg-woo .woocommerce form.checkout_coupon .coupon-error-notice {
	color: var(--tgw-error);
	font-size: 12px;
	margin-top: 0.4rem;
}

/* Checkout login form (toggle): fields side by side. */
.tg-woo .woocommerce form.checkout > .woocommerce-form-login,
.tg-woo .woocommerce .woocommerce-form-login-toggle + form.login {
	margin-bottom: 1.75rem;
}

/* ------------------------------------------------------------------------------------------------
 * Login, register, lost / reset password
 * --------------------------------------------------------------------------------------------- */

.tg-woo .woocommerce form.login,
.tg-woo .woocommerce form.register,
.tg-woo .woocommerce form.lost_reset_password {
	padding: 1.75rem;
}

@media (min-width: 768px) {
	.tg-woo .woocommerce form.login,
	.tg-woo .woocommerce form.register,
	.tg-woo .woocommerce form.lost_reset_password {
		padding: 2.5rem;
	}
}

/* Account login alone (registration off): one centered card with its heading. */
.woocommerce-account .tg-woo .woocommerce > h2,
.woocommerce-account .tg-woo .woocommerce > form.login,
.woocommerce-account .tg-woo .woocommerce > form.lost_reset_password {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.woocommerce-account .tg-woo .woocommerce > h2 {
	text-align: center;
}

.tg-woo .woocommerce #customer_login {
	display: grid;
	gap: 2.5rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.tg-woo .woocommerce #customer_login {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		max-width: 1120px;
		margin: 0 auto;
	}
}

.tg-woo .woocommerce #customer_login h2 {
	text-align: left;
}

.tg-woo .woocommerce form.login .form-row:has(.woocommerce-form-login__rememberme) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.tg-woo .woocommerce form.login .woocommerce-form-login__submit,
.tg-woo .woocommerce form.register .woocommerce-form-register__submit,
.tg-woo .woocommerce form.lost_reset_password .button {
	min-width: 200px;
}

@media (max-width: 639px) {
	.tg-woo .woocommerce form.login .woocommerce-form-login__submit,
	.tg-woo .woocommerce form.register .woocommerce-form-register__submit,
	.tg-woo .woocommerce form.lost_reset_password .button {
		width: 100%;
	}
}

.tg-woo .woocommerce .lost_password {
	padding-top: 1rem;
	border-top: 1px solid var(--tgw-line);
	font-size: 13px;
}

.tg-woo .woocommerce form.register > p:not(.form-row),
.tg-woo .woocommerce .woocommerce-privacy-policy-text,
.tg-woo .woocommerce form.lost_reset_password > p:first-child,
.tg-woo .woocommerce form.login > p:first-child:not(.form-row) {
	color: var(--tgw-muted);
	font-size: 13px;
	line-height: 22px;
}

.tg-woo .woocommerce form.register .woocommerce-privacy-policy-text p {
	margin: 0;
	color: var(--tgw-outline);
	font-size: 12px;
	line-height: 19px;
}

.tg-woo .woocommerce form.lost_reset_password .form-row-first {
	grid-column: 1 / -1;
}

/* Lost password confirmation. */
.woocommerce-lost-password .tg-woo .woocommerce > p {
	max-width: 640px;
	margin: 1.25rem auto 0;
	text-align: center;
}

.tg-woo-page.woocommerce-lost-password .woocommerce .woocommerce-message {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

/* ------------------------------------------------------------------------------------------------
 * My account
 * --------------------------------------------------------------------------------------------- */

.tg-woo .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.tg-woo .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		grid-template-columns: 260px minmax(0, 1fr);
		column-gap: 4rem;
	}

	.tg-woo .woocommerce:has(> .woocommerce-MyAccount-navigation) > * {
		grid-column: 1 / -1;
	}

	.tg-woo .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-navigation {
		grid-column: 1;
		position: sticky;
		top: 140px;
	}

	.tg-woo .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-content {
		grid-column: 2;
	}
}

.tg-woo .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--tgw-line);
}

.tg-woo .woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid var(--tgw-line);
}

.tg-woo .woocommerce .woocommerce-MyAccount-navigation li a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 0;
	color: var(--tgw-muted);
	font-size: 11px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.2s;
}

.tg-woo .woocommerce .woocommerce-MyAccount-navigation li a::before {
	content: "◆";
	color: var(--tgw-gold);
	font-size: 8px;
	opacity: 0.35;
	transition: opacity 0.2s;
}

.tg-woo .woocommerce .woocommerce-MyAccount-navigation li a:hover,
.tg-woo .woocommerce .woocommerce-MyAccount-navigation li.is-active a {
	color: var(--tgw-gold);
}

.tg-woo .woocommerce .woocommerce-MyAccount-navigation li.is-active a::before,
.tg-woo .woocommerce .woocommerce-MyAccount-navigation li a:hover::before {
	opacity: 1;
}

.tg-woo .woocommerce .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--tgw-outline);
}

@media (max-width: 1023px) {
	/* Phones / tablets: the menu as a row of chips (like the shop filters), scrolling sideways. */
	.tg-woo .woocommerce-MyAccount-navigation {
		margin: 0 calc(-1 * var(--tgw-gutter, 1.5rem));
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.tg-woo .woocommerce-MyAccount-navigation::-webkit-scrollbar {
		display: none;
	}

	.tg-woo .woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 0.5rem;
		width: max-content;
		padding: 0 var(--tgw-gutter, 1.5rem) 0.25rem;
		border: 0;
	}

	.tg-woo .woocommerce-MyAccount-navigation li {
		border: 0;
	}

	.tg-woo .woocommerce .woocommerce-MyAccount-navigation li a {
		padding: 0.6rem 1rem;
		border: 1px solid rgb(236 193 102 / 0.3);
		border-radius: 9999px;
		color: var(--tgw-gold-soft);
		font-size: 10px;
		letter-spacing: 0.14em;
		white-space: nowrap;
	}

	.tg-woo .woocommerce .woocommerce-MyAccount-navigation li a::before {
		display: none;
	}

	.tg-woo .woocommerce .woocommerce-MyAccount-navigation li.is-active a {
		background: var(--tgw-gold);
		border-color: var(--tgw-gold);
		color: var(--tgw-on-gold);
	}

	.tg-woo .woocommerce .woocommerce-MyAccount-navigation li a:focus-visible {
		outline-offset: -2px;
	}
}

@media (min-width: 768px) {
	.tg-woo {
		--tgw-gutter: 3rem;
	}
}

.tg-woo .woocommerce-MyAccount-content > p {
	max-width: 760px;
	font-size: 14px;
	line-height: 26px;
}

.tg-woo .woocommerce-MyAccount-content > p + p {
	margin-top: 1rem;
}

/* Dashboard greeting. */
.woocommerce-dashboard .tg-woo .woocommerce-MyAccount-content > p:first-of-type {
	color: var(--tgw-text);
	font-family: var(--tgw-serif);
	font-size: 24px;
	line-height: 34px;
	letter-spacing: 0.02em;
}

.woocommerce-dashboard .tg-woo .woocommerce-MyAccount-content > p:first-of-type strong {
	color: var(--tgw-gold-soft);
	font-weight: 400;
}

.woocommerce-dashboard .tg-woo .woocommerce-MyAccount-content > p:first-of-type a {
	font-family: var(--tgw-sans);
	font-size: 13px;
}

/* Orders table. */
.tg-woo .woocommerce table.woocommerce-orders-table td,
.tg-woo .woocommerce table.woocommerce-orders-table th {
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
}

.tg-woo .woocommerce table.woocommerce-orders-table tbody th a {
	color: var(--tgw-gold);
	font-family: var(--tgw-serif);
	font-size: 18px;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.tg-woo .woocommerce table.woocommerce-orders-table tbody th {
	text-transform: none;
}

.tg-woo .woocommerce table.woocommerce-orders-table td {
	color: var(--tgw-muted);
	font-size: 13px;
}

.tg-woo .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
	text-align: right;
}

.tg-woo .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
	min-height: 36px;
	padding: 0.45rem 1rem;
	font-size: 10px;
	margin: 0.15rem 0 0.15rem 0.35rem;
}

.tg-woo .woocommerce table.woocommerce-orders-table .woocommerce-Price-amount {
	font-size: 17px;
}

.tg-woo .woocommerce .woocommerce-pagination {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.5rem;
}

@media (max-width: 767px) {
	.tg-woo .woocommerce table.shop_table_responsive.woocommerce-orders-table,
	.tg-woo .woocommerce table.shop_table_responsive.woocommerce-orders-table tbody {
		display: block;
	}

	.tg-woo .woocommerce table.shop_table_responsive.woocommerce-orders-table thead {
		display: none;
	}

	.tg-woo .woocommerce table.shop_table_responsive.woocommerce-orders-table tr {
		display: block;
		margin-bottom: 0.75rem;
		padding: 0.5rem 1rem;
		background: var(--tgw-card);
		border: 1px solid var(--tgw-line);
		border-radius: 0.5rem;
	}

	.tg-woo .woocommerce table.shop_table_responsive.woocommerce-orders-table tr > * {
		display: block;
		padding: 0.6rem 0;
		text-align: right;
	}

	.tg-woo .woocommerce table.shop_table_responsive.woocommerce-orders-table tr > :last-child {
		border-bottom: 0;
	}

	.tg-woo .woocommerce table.shop_table_responsive.woocommerce-orders-table tr > [data-title]::before {
		content: attr(data-title);
		color: var(--tgw-outline);
		font-family: var(--tgw-sans);
		font-size: 10px;
		font-weight: 500;
		letter-spacing: 0.2em;
		line-height: 26px;
		text-transform: uppercase;
		text-align: left;
		float: left;
		margin-right: 1rem;
	}

	.tg-woo .woocommerce table.shop_table_responsive.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}
}

/* Addresses overview. */
.tg-woo .woocommerce .woocommerce-Addresses {
	display: grid;
	gap: 1.5rem;
	margin-top: 1.5rem;
}

@media (min-width: 768px) {
	.tg-woo .woocommerce .woocommerce-Addresses {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.tg-woo .woocommerce .woocommerce-Address {
	padding: 1.5rem;
}

.tg-woo .woocommerce .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--tgw-line);
}

.tg-woo .woocommerce .woocommerce-Address-title h2,
.tg-woo .woocommerce .woocommerce-Address-title h3 {
	margin: 0;
	font-size: 20px;
	line-height: 28px;
}

.tg-woo .woocommerce .woocommerce-Address-title .edit {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* Edit address / account forms. */
.tg-woo .woocommerce-MyAccount-content form > h2,
.tg-woo .woocommerce-MyAccount-content form > h3 {
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--tgw-line);
}

.tg-woo .woocommerce .woocommerce-address-fields > p:last-child,
.tg-woo .woocommerce form.woocommerce-EditAccountForm > p:last-of-type {
	margin-top: 1.75rem;
}

.tg-woo .woocommerce form.woocommerce-EditAccountForm,
.tg-woo .woocommerce .woocommerce-address-fields {
	max-width: 760px;
}

/* ------------------------------------------------------------------------------------------------
 * Order received / view order
 * --------------------------------------------------------------------------------------------- */

.tg-woo .woocommerce .woocommerce-thankyou-order-received,
.tg-woo .woocommerce .woocommerce-notice--success.woocommerce-thankyou-order-received {
	display: block;
	margin: 0 auto 2rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--tgw-text);
	font-family: var(--tgw-serif);
	font-size: 26px;
	line-height: 36px;
	letter-spacing: 0.02em;
	text-align: center;
}

.tg-woo .woocommerce .woocommerce-thankyou-order-received::before {
	content: "";
	position: static;
	display: block;
	width: 48px;
	height: 48px;
	margin: 0 auto 1rem;
	border: 1px solid var(--tgw-line-strong);
	border-radius: 9999px;
	background: rgb(236 193 102 / 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%23ecc166'%3E%3Cpath d='M378-246 154-470l43-43 181 181 384-384 43 43-427 427Z'/%3E%3C/svg%3E") center / 24px no-repeat;
	-webkit-mask: none;
	mask: none;
}

.tg-woo .woocommerce ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 0;
	margin: 0 0 2.5rem;
	padding: 0;
	list-style: none;
	overflow: hidden;
}

.tg-woo .woocommerce ul.woocommerce-order-overview li {
	padding: 1.25rem 1.5rem;
	border-right: 1px solid var(--tgw-line);
	border-bottom: 1px solid var(--tgw-line);
	margin: 0 -1px -1px 0;
	color: var(--tgw-outline);
	font-size: 10px;
	font-weight: 500;
	line-height: 14px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.tg-woo .woocommerce ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.5rem;
	color: var(--tgw-text);
	font-family: var(--tgw-serif);
	font-size: 19px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: 0.02em;
	text-transform: none;
	overflow-wrap: anywhere;
}

.tg-woo .woocommerce ul.woocommerce-order-overview li strong .woocommerce-Price-amount {
	font-size: 19px;
}

.tg-woo .woocommerce .woocommerce-order > p:not(.woocommerce-notice),
.tg-woo .woocommerce .woocommerce-order > .woocommerce-bacs-bank-details {
	margin: 0 0 2rem;
	color: var(--tgw-muted);
}

.tg-woo .woocommerce .woocommerce-order-details,
.tg-woo .woocommerce .woocommerce-customer-details,
.tg-woo .woocommerce .woocommerce-bacs-bank-details {
	margin-bottom: 2.5rem;
}

.tg-woo .woocommerce .woocommerce-order-details__title,
.tg-woo .woocommerce .woocommerce-column__title,
.tg-woo .woocommerce .wc-bacs-bank-details-heading {
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--tgw-line);
}

.tg-woo .woocommerce table.order_details thead th {
	padding-top: 0.25rem;
}

.tg-woo .woocommerce table.order_details .product-name {
	color: var(--tgw-text);
	font-family: var(--tgw-serif);
	font-size: 17px;
	line-height: 24px;
}

.tg-woo .woocommerce table.order_details thead .product-name {
	font-family: var(--tgw-sans);
	font-size: 10px;
}

.tg-woo .woocommerce table.order_details .product-name a {
	text-decoration: none;
}

.tg-woo .woocommerce table.order_details .product-quantity {
	color: var(--tgw-outline);
	font-family: var(--tgw-sans);
	font-size: 12px;
	font-weight: 400;
}

.tg-woo .woocommerce table.order_details .product-total,
.tg-woo .woocommerce table.order_details tfoot td {
	text-align: right;
}

.tg-woo .woocommerce table.order_details tfoot td {
	color: var(--tgw-text);
}

.tg-woo .woocommerce .order-again {
	margin-top: 1.5rem;
}

.tg-woo .woocommerce .woocommerce-customer-details address {
	padding: 1.5rem;
}

.tg-woo .woocommerce .woocommerce-customer-details address p {
	margin: 0.5rem 0 0;
}

.tg-woo .woocommerce .woocommerce-customer-details--phone,
.tg-woo .woocommerce .woocommerce-customer-details--email {
	color: var(--tgw-muted);
	overflow-wrap: anywhere;
}

.tg-woo .woocommerce .woocommerce-columns--addresses {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.tg-woo .woocommerce .woocommerce-columns--addresses {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

/* Thank-you page: order details and the address side by side on wide screens. */
@media (min-width: 1024px) {
	.tg-woo-page.woocommerce-order-received .tg-woo .woocommerce-order {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 380px;
		column-gap: 4rem;
		align-items: start;
	}

	.tg-woo-page.woocommerce-order-received .tg-woo .woocommerce-order > * {
		grid-column: 1 / -1;
	}

	.tg-woo-page.woocommerce-order-received .tg-woo .woocommerce-order > .woocommerce-order-details {
		grid-column: 1;
	}

	.tg-woo-page.woocommerce-order-received .tg-woo .woocommerce-order > .woocommerce-customer-details {
		grid-column: 2;
	}

	.tg-woo-page.woocommerce-order-received .tg-woo .woocommerce-order > .woocommerce-customer-details .woocommerce-columns--addresses {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* View order (my account): status line. */
.tg-woo .woocommerce-MyAccount-content > p:has(> mark.order-status) {
	margin-bottom: 2rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--tgw-line);
	border-radius: 0.5rem;
	background: var(--tgw-card);
	max-width: none;
}

.tg-woo .woocommerce .woocommerce-OrderUpdates {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.tg-woo .woocommerce .woocommerce-OrderUpdate {
	padding: 1rem 0;
	border-bottom: 1px solid var(--tgw-line);
}

.tg-woo .woocommerce .woocommerce-OrderUpdate-meta {
	color: var(--tgw-outline);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* ------------------------------------------------------------------------------------------------
 * blockUI overlay (ajax updates)
 * --------------------------------------------------------------------------------------------- */

.tg-woo .blockUI.blockOverlay {
	position: relative;
	background: rgb(15 14 12 / 0.72) !important;
	opacity: 1 !important;
	border-radius: inherit;
}

.tg-woo .blockUI.blockOverlay::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	background: var(--tgw-gold);
	-webkit-mask: var(--tgw-icon-spinner) center / contain no-repeat;
	mask: var(--tgw-icon-spinner) center / contain no-repeat;
	animation: tgw-spin 0.9s linear infinite;
}

/* ------------------------------------------------------------------------------------------------
 * Mobile spacing
 * --------------------------------------------------------------------------------------------- */

@media (max-width: 767px) {
	.tg-woo .woocommerce h2,
	.tg-woo .woocommerce h3 {
		font-size: 20px;
		line-height: 28px;
		letter-spacing: 0.1em;
	}

	.tg-woo .woocommerce #order_review,
	.tg-woo .woocommerce form.login,
	.tg-woo .woocommerce form.register,
	.tg-woo .woocommerce form.lost_reset_password {
		padding: 1.25rem;
	}

	.tg-woo .woocommerce .woocommerce-thankyou-order-received {
		font-size: 22px;
		line-height: 30px;
	}

	.tg-woo .woocommerce ul.woocommerce-order-overview {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.tg-woo .woocommerce ul.woocommerce-order-overview li {
		padding: 1rem;
	}

	.tg-woo .woocommerce ul.woocommerce-order-overview li.woocommerce-order-overview__email {
		grid-column: 1 / -1;
	}

	.tg-woo .woocommerce ul.woocommerce-order-overview li strong,
	.tg-woo .woocommerce ul.woocommerce-order-overview li strong .woocommerce-Price-amount {
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tg-woo .blockUI.blockOverlay::before,
	.tg-woo .woocommerce .button.loading::after {
		animation-duration: 2.5s;
	}
}
