/**
 * WooCommerce layout compatibility for the FANAL/Appel legacy theme.
 * Scoped to WooCommerce views so the existing corporate pages are unchanged.
 */

body.woocommerce #primary.site-main,
body.woocommerce-page #primary.site-main {
	box-sizing: border-box;
	width: min(100% - 32px, 1180px);
	margin: 0 auto 64px;
}

body.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 28px;
	padding: 12px 16px;
	border: 1px solid #dce6eb;
	border-radius: 6px;
	background: #f6f9fa;
	color: #4b5960;
	font-size: 0.92rem;
}

body.woocommerce .woocommerce-breadcrumb a {
	color: #237da5;
	text-decoration: none;
}

body.woocommerce .woocommerce-breadcrumb a:hover,
body.woocommerce .woocommerce-breadcrumb a:focus {
	text-decoration: underline;
}

body.woocommerce .woocommerce-notices-wrapper .woocommerce-message {
	display: flex !important;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
	min-height: 48px;
	margin: 0 0 28px;
	padding: 12px 16px 12px 48px;
	border: 1px solid #6293b4;
	border-radius: 6px;
	background: #eef6f9;
	color: #344850;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.45;
}

body.woocommerce .woocommerce-notices-wrapper .woocommerce-message::before {
	top: 50%;
	left: 18px;
	color: #237da5;
	transform: translateY(-50%);
}

body.woocommerce .woocommerce-notices-wrapper .woocommerce-message .button {
	order: 2;
	float: none !important;
	flex: 0 0 auto;
	margin: 0 0 0 auto !important;
	padding: 0.45rem 0.85rem;
	border: 1px solid #6293b4;
	border-radius: 0.375rem;
	background: #6293b4;
	color: #fff;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none !important;
	white-space: nowrap;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

body.woocommerce .woocommerce-notices-wrapper .woocommerce-message .button:hover,
body.woocommerce .woocommerce-notices-wrapper .woocommerce-message .button:focus {
	border-color: #527d99;
	background: #537d99;
	color: #fff;
	text-decoration: none !important;
}

body.woocommerce .woocommerce-notices-wrapper .woocommerce-message .button:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgb(98 147 180 / 40%);
}

body.single-product div.product {
	display: grid;
	grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}

body.single-product div.product::before,
body.single-product div.product::after {
	display: none;
}

body.single-product div.product .woocommerce-product-gallery {
	box-sizing: border-box;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: clamp(20px, 4vw, 40px);
	border: 1px solid #dce6eb;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 28px rgb(36 66 80 / 8%);
}

body.single-product div.product .woocommerce-product-gallery__wrapper,
body.single-product div.product .woocommerce-product-gallery__image,
body.single-product div.product .woocommerce-product-gallery__image a {
	display: block;
	width: 100%;
}

body.single-product div.product .woocommerce-product-gallery img {
	display: block;
	width: auto !important;
	max-width: 100%;
	height: auto !important;
	max-height: 440px;
	margin: 0 auto;
	object-fit: contain;
}

body.single-product div.product .summary {
	box-sizing: border-box;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 8px 0;
}

body.single-product .summary .product_title {
	margin: 0 0 20px;
	color: #3f3f3f;
	font-size: clamp(2rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.015em;
}

body.single-product .summary .woocommerce-product-details__short-description {
	max-width: 720px;
	margin: 0 0 24px;
	color: #465860;
	font-size: 1.08rem;
	line-height: 1.65;
}

body.single-product .summary p.price:empty,
body.single-product .summary .legal-price-info:has(.wc-gzd-additional-info:empty) {
	display: none;
}

body.single-product .summary .product_meta {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid #dce6eb;
	color: #5d6c73;
	font-size: 0.95rem;
}

body.single-product .summary .product_meta a {
	color: #237da5;
}

body.single-product .summary form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: stretch;
	margin: 26px 0 0;
}

body.single-product .summary form.cart .quantity {
	float: none;
	margin: 0;
}

body.single-product .summary form.cart .qty {
	box-sizing: border-box;
	width: 76px;
	height: 48px;
	padding: 8px 10px;
	border: 1px solid #b8c4ca;
	border-radius: 0.375rem;
	background: #fff;
	color: #3f3f3f;
	font-size: 1.2rem;
	line-height: 1.5;
	text-align: center;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

body.single-product .summary form.cart .qty:focus {
	border-color: #8fb0c6;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgb(98 147 180 / 25%);
}

body.single-product .summary form.cart .single_add_to_cart_button {
	min-height: 48px;
	padding: 0.5rem 1rem;
	border: 1px solid #6293b4;
	border-radius: 0.375rem;
	background: #6293b4;
	color: #fff;
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

body.single-product .summary form.cart .single_add_to_cart_button:hover,
body.single-product .summary form.cart .single_add_to_cart_button:focus {
	border-color: #527d99;
	background: #537d99;
	color: #fff;
}

body.single-product .summary form.cart .single_add_to_cart_button:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgb(98 147 180 / 45%);
}

body.single-product div.product .woocommerce-tabs {
	grid-column: 1 / -1;
	clear: both;
	width: 100%;
	margin-top: 12px;
}

/* The legacy theme appends WordPress' default blog sidebar after products. */
body.single-product #secondary.widget-area {
	display: none !important;
}

body.single-product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 28px;
	margin: 0 0 30px;
	padding: 0;
	border-bottom: 1px solid #cbd8de;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after {
	display: none;
}

body.single-product .woocommerce-tabs ul.tabs li {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

body.single-product .woocommerce-tabs ul.tabs li a {
	display: block;
	margin-bottom: -1px;
	padding: 12px 0;
	border-bottom: 3px solid transparent;
	color: #52656e;
	font-weight: 700;
	text-decoration: none;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
	border-bottom-color: #237da5;
	color: #174f69;
}

body.single-product .woocommerce-tabs .panel {
	overflow-x: auto;
	color: #344850;
	line-height: 1.65;
}

body.single-product .woocommerce-tabs .panel > h2:first-child {
	margin: 0 0 24px;
	color: #243b47;
	font-size: clamp(1.65rem, 3vw, 2.25rem);
}

body.single-product .woocommerce-tabs .panel p,
body.single-product .woocommerce-tabs .panel > ul {
	max-width: 920px;
}

body.single-product .woocommerce-tabs .panel table {
	width: 100%;
	margin: 28px 0 42px;
	border: 1px solid #cbd8de;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
	background: #fff;
	font-size: 0.92rem;
	line-height: 1.45;
}

body.single-product .woocommerce-tabs .panel table th,
body.single-product .woocommerce-tabs .panel table td {
	padding: 12px 14px;
	border: 0;
	border-right: 1px solid #dce6eb;
	border-bottom: 1px solid #dce6eb;
	vertical-align: top;
}

body.single-product .woocommerce-tabs .panel table th:last-child,
body.single-product .woocommerce-tabs .panel table td:last-child {
	border-right: 0;
}

body.single-product .woocommerce-tabs .panel table tr:last-child th,
body.single-product .woocommerce-tabs .panel table tr:last-child td {
	border-bottom: 0;
}

body.single-product .woocommerce-tabs .panel table tr:nth-child(even) td {
	background: #f7fafb;
}

body.single-product .woocommerce-tabs .panel table td:first-child {
	color: #243b47;
	font-weight: 700;
}

body.single-product .woocommerce-tabs .panel table ul {
	margin: 0;
	padding-left: 1.2em;
}

body.woocommerce button.button,
body.woocommerce a.button,
body.woocommerce input.button,
body.woocommerce #respond input#submit {
	border: 0;
	border-radius: 5px;
	background: #237da5;
	color: #fff;
	font-weight: 700;
}

body.woocommerce button.button:hover,
body.woocommerce a.button:hover,
body.woocommerce input.button:hover,
body.woocommerce #respond input#submit:hover {
	background: #174f69;
	color: #fff;
}

body.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

body.woocommerce ul.products::before,
body.woocommerce ul.products::after {
	display: none;
}

body.woocommerce ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 18px;
	border: 1px solid #dce6eb;
	border-radius: 8px;
	background: #fff;
}

/* Cart and checkout blocks need their own layout because the legacy theme's
 * Bootstrap and table rules otherwise overlap WooCommerce's sidebar columns. */
body.woocommerce-cart article > h1,
body.woocommerce-checkout article > h1 {
	margin: 0 0 28px;
	color: #3f3f3f;
	font-size: clamp(2rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
}

body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 320px);
	gap: clamp(24px, 3vw, 36px) !important;
	align-items: start;
	width: 100%;
}

body.woocommerce-cart .wc-block-components-main,
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar {
	box-sizing: border-box;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-cart .wc-block-cart__main {
	width: calc(100% - 24px) !important;
	justify-self: start;
}

body.woocommerce-cart .wc-block-cart__sidebar {
	width: calc(100% - 24px) !important;
	margin-left: 24px !important;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title {
	max-width: 640px;
	margin: 34px auto 16px;
	color: #3f3f3f;
	font-size: clamp(1.45rem, 2.5vw, 1.8rem);
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title::before {
	display: none !important;
}

body.woocommerce-cart .wp-block-separator.is-style-dots {
	display: none;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title ~ .wp-block-heading {
	margin: 40px 0 22px;
	color: #3f3f3f;
	font-size: 1.4rem;
	font-weight: 700;
	text-align: center;
}

body.woocommerce-cart .wc-block-grid__products {
	display: grid !important;
	grid-template-columns: minmax(220px, 280px);
	gap: 24px;
	justify-content: center;
	margin: 0 auto 44px !important;
	padding: 0 !important;
}

body.woocommerce-cart .wc-block-grid__product {
	box-sizing: border-box;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 18px !important;
	border: 1px solid #dce6eb;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 24px rgb(36 66 80 / 8%);
	text-align: center;
}

body.woocommerce-cart .wc-block-grid__product-image {
	margin: 0 0 16px;
}

body.woocommerce-cart .wc-block-grid__product-image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 190px;
	margin: 0 auto;
	object-fit: contain;
}

body.woocommerce-cart .wc-block-grid__product-title {
	color: #237da5;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

body.woocommerce-cart .wc-block-grid__product-price {
	margin: 10px 0 4px;
	color: #3f3f3f;
	font-size: 1rem;
}

body.woocommerce-cart .wc-block-grid__product-add-to-cart {
	margin: 16px 0 0;
}

body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link {
	padding: 0.5rem 1rem;
	border: 1px solid #6293b4;
	border-radius: 0.375rem;
	background: #6293b4;
	color: #fff;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
}

body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link:focus {
	border-color: #527d99;
	background: #537d99;
	color: #fff;
	text-decoration: none;
}

body.woocommerce-cart table.wc-block-cart-items {
	display: table !important;
	width: calc(100% - 24px) !important;
	max-width: 100% !important;
	margin: 0;
	table-layout: auto;
	border: 1px solid #dce6eb;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

body.woocommerce-cart .wc-block-cart-items th,
body.woocommerce-cart .wc-block-cart-items td {
	box-sizing: border-box;
}

body.woocommerce-cart .wc-block-cart-items thead,
body.woocommerce-cart .wc-block-cart-items__header-total,
body.woocommerce-cart .wc-block-cart-item__total {
	display: none !important;
}

body.woocommerce-cart .wc-block-cart-item__image {
	width: 104px !important;
	padding: 20px 0 20px 20px !important;
	border: 0 !important;
	vertical-align: top;
}

body.woocommerce-cart .wc-block-cart-item__image img {
	border: 1px solid #dce6eb;
	border-radius: 6px;
	background: #fff;
}

body.woocommerce-cart .wc-block-cart-item__product {
	width: auto !important;
	padding: 20px !important;
	border: 0 !important;
	vertical-align: top;
}

body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name {
	color: #237da5;
	font-size: 1.05rem;
	font-weight: 700;
	text-decoration: none;
}

body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-metadata {
	max-width: 540px;
	color: #465860;
	line-height: 1.5;
}

body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-metadata p {
	display: none;
}

body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	padding: 22px !important;
	border: 1px solid #dce6eb;
	border-radius: 8px;
	background: #f7fafb;
}

body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-components-totals-wrapper {
	border-color: #dce6eb;
}

body.woocommerce-cart .wc-block-components-button:not(.is-link),
body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
	border: 1px solid #6293b4;
	border-radius: 0.375rem;
	background: #6293b4;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 400;
	text-decoration: none;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

body.woocommerce-cart .wc-block-components-button:not(.is-link):hover,
body.woocommerce-cart .wc-block-components-button:not(.is-link):focus,
body.woocommerce-checkout .wc-block-components-button:not(.is-link):hover,
body.woocommerce-checkout .wc-block-components-button:not(.is-link):focus {
	border-color: #527d99;
	background: #537d99;
	color: #fff;
}

body.woocommerce-checkout a.btn[href*="shop.shop.fanal.de"] {
	display: none !important;
}

/* Classic checkout: more reliable validation and formal translations than the
 * block checkout, with a layout adapted to the legacy FANAL theme. */
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
	margin: 0 0 26px;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	margin: 0;
	padding: 14px 18px;
	border: 1px solid #dce6eb;
	border-radius: 6px;
	background: #eef6f9;
	color: #344850;
	line-height: 1.5;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
	display: none;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle a {
	color: #237da5;
	font-weight: 700;
}

body.woocommerce-checkout form.checkout_coupon {
	display: flex !important;
	gap: 12px;
	align-items: flex-end;
	box-sizing: border-box;
	margin: -10px 0 28px;
	padding: 18px;
	border: 1px solid #dce6eb;
	border-radius: 6px;
	background: #fff;
}

body.woocommerce-checkout form.checkout_coupon .form-row {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-checkout form.checkout_coupon .form-row-first {
	flex: 1 1 auto;
}

body.woocommerce-checkout form.checkout_coupon .form-row-last {
	flex: 0 0 auto;
}

body.woocommerce-checkout form.checkout_coupon .input-text {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #b8c4ca;
	border-radius: 0.375rem;
}

body.woocommerce-checkout form.checkout_coupon button.button {
	min-height: 46px;
	padding: 0.5rem 1rem;
	border: 1px solid #6293b4;
	border-radius: 0.375rem;
	background: #6293b4;
	color: #fff;
	font-size: 1rem;
	font-weight: 400;
	white-space: nowrap;
}

body.woocommerce-checkout form.checkout_coupon button.button:hover,
body.woocommerce-checkout form.checkout_coupon button.button:focus {
	border-color: #527d99;
	background: #537d99;
	color: #fff;
}

body.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-areas:
		"customer order-heading"
		"customer order-review";
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
	grid-template-rows: auto 1fr;
	gap: 0 clamp(32px, 5vw, 64px);
	align-items: start;
}

body.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup-checkout,
body.woocommerce-checkout form.checkout > .woocommerce-error {
	grid-column: 1 / -1;
	margin-bottom: 26px;
}

body.woocommerce-checkout #customer_details {
	grid-area: customer;
	width: 100%;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
	box-sizing: border-box;
	float: none;
	width: 100%;
}

body.woocommerce-checkout #customer_details .col-2 {
	margin-top: 28px;
}

body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading {
	margin: 0 0 22px;
	color: #3f3f3f;
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1.25;
}

body.woocommerce-checkout #order_review_heading {
	grid-area: order-heading;
}

body.woocommerce-checkout #order_review {
	grid-area: order-review;
	box-sizing: border-box;
	padding: 22px;
	border: 1px solid #dce6eb;
	border-radius: 8px;
	background: #f7fafb;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}

body.woocommerce-checkout .form-row {
	float: none !important;
	grid-column: 1 / -1;
	box-sizing: border-box;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-checkout .form-row-first {
	grid-column: 1;
}

body.woocommerce-checkout .form-row-last {
	grid-column: 2;
}

body.woocommerce-checkout .form-row label {
	display: block;
	position: static;
	width: auto;
	margin: 0 0 7px;
	color: #344850;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
}

body.woocommerce-checkout .form-row .required {
	color: #a52626;
}

body.woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .form-row select,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .select2-container .select2-selection {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #b8c4ca;
	border-radius: 0.375rem;
	background: #fff;
	color: #344850;
	font-size: 1rem;
	line-height: 1.4;
}

body.woocommerce-checkout .form-row textarea {
	min-height: 110px;
	resize: vertical;
}

body.woocommerce-checkout .select2-container .select2-selection__rendered {
	padding: 0;
	line-height: 24px;
}

body.woocommerce-checkout .select2-container .select2-selection__arrow {
	top: 10px;
}

body.woocommerce-checkout .form-row.woocommerce-invalid .input-text,
body.woocommerce-checkout .form-row.woocommerce-invalid select,
body.woocommerce-checkout .form-row.woocommerce-invalid .select2-selection {
	border-color: #b3261e;
}

body.woocommerce-checkout #order_review table {
	width: 100%;
	margin: 0 0 20px;
	border-collapse: collapse;
	background: transparent;
}

body.woocommerce-checkout #order_review th,
body.woocommerce-checkout #order_review td {
	padding: 11px 0;
	border: 0;
	border-bottom: 1px solid #dce6eb;
	color: #344850;
}

body.woocommerce-checkout #order_review th:last-child,
body.woocommerce-checkout #order_review td:last-child {
	text-align: right;
}

body.woocommerce-checkout #payment {
	width: 100%;
	min-width: 0;
	margin: 0 0 24px;
	padding: 0 0 22px;
	border: 0;
	border-bottom: 1px solid #dce6eb;
	background: transparent;
}

body.woocommerce-checkout #payment ul.payment_methods {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

body.woocommerce-checkout #payment ul.payment_methods li {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.woocommerce-checkout #payment ul.payment_methods li::before,
body.woocommerce-checkout #payment ul.payment_methods li::marker {
	display: none;
	content: "";
}

body.woocommerce-checkout #payment ul.payment_methods li > input {
	width: 17px;
	height: 17px;
	margin: 2px 8px 0 0;
	vertical-align: top;
}

body.woocommerce-checkout #payment ul.payment_methods li > label {
	display: inline;
	margin: 0;
	color: #344850;
	font-weight: 700;
}

body.woocommerce-checkout #payment div.payment_box {
	margin: 12px 0;
	padding: 14px;
	border-radius: 6px;
	background: #eef4f7;
	color: #344850;
	font-size: 0.95rem;
	line-height: 1.55;
}

body.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: #eef4f7;
}

body.woocommerce-checkout #payment .place-order {
	padding: 18px 0 0;
}

/*
 * Germanized moves payment, legal consent, the order table and the submit
 * button into one review card. Reset the legacy theme's table/list rules so
 * this remains readable and free of horizontal scrolling at every width.
 */
body.woocommerce-checkout #order_review {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

body.woocommerce-checkout #order_payment_heading,
body.woocommerce-checkout #order_review_heading {
	width: 100%;
	margin: 0 0 16px;
	color: #344850;
	font-size: 1.45rem;
	line-height: 1.25;
}

body.woocommerce-checkout #order_review_heading {
	margin-top: 0;
}

body.woocommerce-checkout #order_review > p:empty,
body.woocommerce-checkout #order_review > .wc-gzd-checkbox-placeholder:empty {
	display: none;
}

body.woocommerce-checkout #order_review .wc-gzd-checkbox-placeholder-legal {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: 0 0 20px;
	padding: 14px 15px;
	border: 1px solid #dce6eb;
	border-radius: 6px;
	background: #fff;
}

body.woocommerce-checkout #order_review .wc-gzd-checkbox-placeholder-legal .form-row {
	display: block;
	margin: 0;
	padding: 0;
}

body.woocommerce-checkout #order_review .wc-gzd-checkbox-placeholder-legal input[type="checkbox"] {
	float: left;
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	margin: 3px 9px 2px 0 !important;
}

body.woocommerce-checkout #order_review .wc-gzd-checkbox-placeholder-legal label.checkbox {
	display: block;
	float: none !important;
	clear: none !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	margin: 0;
	color: #344850;
	font-size: 0.92rem;
	font-weight: 400;
	line-height: 1.5;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
}

body.woocommerce-checkout #order_review .wc-gzd-checkbox-placeholder-legal label.checkbox::after {
	display: table;
	clear: both;
	content: "";
}

body.woocommerce-checkout #order_review .wc-gzd-checkbox-placeholder-legal a {
	font-weight: 700;
	overflow-wrap: anywhere;
}

body.woocommerce-checkout #order_review table.shop_table.woocommerce-checkout-review-order-table {
	display: table !important;
	box-sizing: border-box;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	margin: 0 0 20px !important;
	table-layout: fixed;
	border: 0 !important;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	background: transparent !important;
}

body.woocommerce-checkout #order_review table.shop_table thead,
body.woocommerce-checkout #order_review table.shop_table tbody,
body.woocommerce-checkout #order_review table.shop_table tfoot,
body.woocommerce-checkout #order_review table.shop_table tr {
	border: 0 !important;
	background: transparent !important;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
	box-sizing: border-box;
	padding: 12px 8px !important;
	border: 0 !important;
	border-bottom: 1px solid #dce6eb !important;
	background: transparent !important;
	color: #344850 !important;
	font-size: 0.94rem;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

body.woocommerce-checkout #order_review table.shop_table th:first-child,
body.woocommerce-checkout #order_review table.shop_table td:first-child {
	padding-left: 0 !important;
	text-align: left !important;
}

body.woocommerce-checkout #order_review table.shop_table th:last-child,
body.woocommerce-checkout #order_review table.shop_table td:last-child {
	width: 104px;
	padding-right: 0 !important;
	text-align: right !important;
}

body.woocommerce-checkout #order_review table.shop_table thead th {
	color: #5b6c74 !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.woocommerce-checkout #order_review table.shop_table .product-name img {
	float: left;
	width: 58px;
	height: 58px;
	margin: 0 10px 0 0;
	border-radius: 4px;
	object-fit: contain;
}

body.woocommerce-checkout #order_review table.shop_table tfoot th,
body.woocommerce-checkout #order_review table.shop_table tfoot td {
	font-weight: 700;
}

body.woocommerce-checkout #order_review table.shop_table tfoot .order-total th,
body.woocommerce-checkout #order_review table.shop_table tfoot .order-total td {
	padding-top: 15px !important;
	border-bottom: 0 !important;
	color: #006b91 !important;
	font-size: 1.05rem;
}

body.woocommerce-checkout #order_review .wc-gzd-order-submit {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.woocommerce-checkout #place_order {
	width: 100%;
	min-height: 48px;
	padding: 0.55rem 1rem;
	border: 1px solid #6293b4;
	border-radius: 0.375rem;
	background: #6293b4;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 400;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout #place_order:focus {
	border-color: #527d99;
	background: #537d99;
	color: #fff;
}

/*
 * Order confirmation / thank-you page. WooCommerce renders this screen from
 * lists and tables which inherit unsuitable widths, floats and background
 * colours from the legacy FANAL theme unless they are reset explicitly.
 */
body.woocommerce-order-received .woocommerce-order {
	box-sizing: border-box;
	width: 100%;
	max-width: 940px;
	min-width: 0;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
	box-sizing: border-box;
	margin: 0 0 24px;
	padding: 17px 20px 17px 48px;
	border: 1px solid #b8d7c5;
	border-radius: 7px;
	background: #f2faf5;
	color: #285b3d;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.5;
	position: relative;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
	position: absolute;
	top: 17px;
	left: 19px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #287349;
	color: #fff;
	content: "\2713";
	font-size: 13px;
	line-height: 20px;
	text-align: center;
}

body.woocommerce-order-received ul.woocommerce-order-overview,
body.woocommerce-order-received ul.wc-bacs-bank-details {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	box-sizing: border-box;
	width: 100% !important;
	min-width: 0;
	margin: 0 0 30px !important;
	padding: 0 !important;
	list-style: none !important;
}

body.woocommerce-order-received ul.woocommerce-order-overview li,
body.woocommerce-order-received ul.wc-bacs-bank-details li {
	float: none !important;
	box-sizing: border-box;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 14px !important;
	border: 1px solid #dce6eb !important;
	border-radius: 6px;
	background: #f7fafb;
	color: #5b6c74;
	font-size: 0.78rem;
	line-height: 1.4;
	list-style: none !important;
	text-transform: uppercase;
}

body.woocommerce-order-received ul.woocommerce-order-overview li::before,
body.woocommerce-order-received ul.woocommerce-order-overview li::marker,
body.woocommerce-order-received ul.wc-bacs-bank-details li::before,
body.woocommerce-order-received ul.wc-bacs-bank-details li::marker {
	display: none;
	content: "";
}

body.woocommerce-order-received ul.woocommerce-order-overview li strong,
body.woocommerce-order-received ul.wc-bacs-bank-details li strong {
	display: block;
	margin-top: 5px;
	color: #344850;
	font-size: 0.96rem;
	font-weight: 700;
	line-height: 1.35;
	text-transform: none;
	overflow-wrap: anywhere;
}

body.woocommerce-order-received .woocommerce-bacs-bank-details,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .wc-gzd-order-details {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: 0 0 26px;
	padding: 22px;
	border: 1px solid #dce6eb;
	border-radius: 8px;
	background: #f7fafb;
}

body.woocommerce-order-received .woocommerce-order h2,
body.woocommerce-order-received .woocommerce-order h3 {
	margin: 0 0 16px;
	color: #344850;
	font-size: 1.35rem;
	line-height: 1.3;
}

body.woocommerce-order-received .woocommerce-bacs-bank-details h3 {
	font-size: 1rem;
}

body.woocommerce-order-received table.shop_table,
body.woocommerce-order-received table.woocommerce-table {
	display: table !important;
	box-sizing: border-box;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	margin: 0 !important;
	table-layout: fixed;
	border: 0 !important;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	background: transparent !important;
}

body.woocommerce-order-received table.shop_table thead,
body.woocommerce-order-received table.shop_table tbody,
body.woocommerce-order-received table.shop_table tfoot,
body.woocommerce-order-received table.shop_table tr,
body.woocommerce-order-received table.woocommerce-table thead,
body.woocommerce-order-received table.woocommerce-table tbody,
body.woocommerce-order-received table.woocommerce-table tfoot,
body.woocommerce-order-received table.woocommerce-table tr {
	border: 0 !important;
	background: transparent !important;
}

body.woocommerce-order-received table.shop_table th,
body.woocommerce-order-received table.shop_table td,
body.woocommerce-order-received table.woocommerce-table th,
body.woocommerce-order-received table.woocommerce-table td {
	box-sizing: border-box;
	padding: 12px 10px !important;
	border: 0 !important;
	border-bottom: 1px solid #dce6eb !important;
	background: transparent !important;
	color: #344850 !important;
	font-size: 0.94rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

body.woocommerce-order-received table.shop_table th:first-child,
body.woocommerce-order-received table.shop_table td:first-child,
body.woocommerce-order-received table.woocommerce-table th:first-child,
body.woocommerce-order-received table.woocommerce-table td:first-child {
	padding-left: 0 !important;
	text-align: left !important;
}

body.woocommerce-order-received table.shop_table th:last-child,
body.woocommerce-order-received table.shop_table td:last-child,
body.woocommerce-order-received table.woocommerce-table th:last-child,
body.woocommerce-order-received table.woocommerce-table td:last-child {
	width: 150px;
	padding-right: 0 !important;
	text-align: right !important;
}

body.woocommerce-order-received table.shop_table tfoot tr:last-child th,
body.woocommerce-order-received table.shop_table tfoot tr:last-child td,
body.woocommerce-order-received table.woocommerce-table tfoot tr:last-child th,
body.woocommerce-order-received table.woocommerce-table tfoot tr:last-child td {
	border-bottom: 0 !important;
	color: #006b91 !important;
	font-size: 1.05rem;
	font-weight: 700;
}

body.woocommerce-order-received .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
}

body.woocommerce-order-received .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-column--shipping-address {
	float: none !important;
	box-sizing: border-box;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 18px;
	border: 1px solid #dce6eb;
	border-radius: 6px;
	background: #fff;
}

body.woocommerce-order-received .woocommerce-customer-details address {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	color: #344850;
	font-style: normal;
	line-height: 1.65;
}

body.woocommerce-order-received .wc-gzd-additional-info {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 14px;
	padding: 13px 15px;
	border-left: 4px solid #6293b4;
	background: #eef4f7;
	color: #344850;
	line-height: 1.55;
}

body.woocommerce-checkout .woocommerce-error,
body.woocommerce-account .woocommerce-error {
	margin: 0 0 24px;
	padding: 14px 18px 14px 46px;
	border: 1px solid #d99a96;
	border-radius: 6px;
	background: #fff4f3;
	color: #6b211d;
	line-height: 1.5;
}

/* Customer login and password-reset forms. */
body.woocommerce-account .woocommerce-form,
body.woocommerce-account .woocommerce-ResetPassword {
	box-sizing: border-box;
	max-width: 620px;
	margin: 0;
	padding: 24px;
	border: 1px solid #dce6eb;
	border-radius: 8px;
	background: #fff;
}

body.woocommerce-account .woocommerce-form-row,
body.woocommerce-account .form-row {
	margin: 0 0 18px;
	padding: 0;
}

body.woocommerce-account .woocommerce-form label,
body.woocommerce-account .woocommerce-ResetPassword label {
	display: block;
	margin: 0 0 7px;
	color: #344850;
	font-weight: 700;
}

body.woocommerce-account .woocommerce-form .input-text,
body.woocommerce-account .woocommerce-ResetPassword .input-text {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #b8c4ca;
	border-radius: 0.375rem;
	background: #fff;
}

body.woocommerce-account .woocommerce-form button.button,
body.woocommerce-account .woocommerce-ResetPassword button.button {
	min-height: 44px;
	padding: 0.5rem 1rem;
	background: #6293b4;
	font-size: 1rem;
	font-weight: 400;
}

@media (max-width: 900px) {
	body.single-product div.product {
		grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
		gap: 30px;
	}

	body.woocommerce-cart .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-checkout form.checkout {
		display: block;
	}

	body.woocommerce-checkout #order_review_heading {
		margin-top: 0;
	}

	body.woocommerce-cart .wc-block-cart__main {
		width: 100% !important;
	}

	body.woocommerce-cart table.wc-block-cart-items {
		width: 100% !important;
	}

	body.woocommerce-cart .wc-block-cart__sidebar {
		width: 100% !important;
		margin-left: 0 !important;
	}

	body.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	body.woocommerce #primary.site-main,
	body.woocommerce-page #primary.site-main {
		width: min(100% - 24px, 1180px);
		margin-bottom: 40px;
	}

	body.woocommerce .woocommerce-breadcrumb {
		margin-bottom: 20px;
		padding: 10px 12px;
	}

	body.woocommerce .woocommerce-notices-wrapper .woocommerce-message {
		align-items: flex-start;
		padding-left: 42px;
	}

	body.woocommerce .woocommerce-notices-wrapper .woocommerce-message .button {
		width: 100%;
		margin-left: 0 !important;
		text-align: center;
	}

	body.single-product div.product {
		display: block;
	}

	body.single-product div.product .woocommerce-product-gallery {
		margin-bottom: 26px !important;
		padding: 20px;
	}

	body.single-product .summary .product_title {
		font-size: 2rem;
	}

	body.single-product div.product .woocommerce-tabs {
		margin-top: 36px;
	}

	body.single-product .woocommerce-tabs ul.tabs {
		overflow-x: auto;
	}

	body.single-product .woocommerce-tabs .panel table {
		min-width: 680px;
		font-size: 0.85rem;
	}

	body.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
	body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-checkout .form-row-first,
	body.woocommerce-checkout .form-row-last {
		grid-column: 1;
	}

	body.woocommerce-checkout form.checkout_coupon {
		display: block !important;
	}

	body.woocommerce-checkout form.checkout_coupon .form-row-last {
		margin-top: 10px !important;
	}

	body.woocommerce-checkout form.checkout_coupon button.button {
		width: 100%;
	}

	body.woocommerce-checkout #order_review {
		padding: 18px;
		border-radius: 7px;
	}

	body.woocommerce-checkout #order_payment_heading,
	body.woocommerce-checkout #order_review_heading {
		font-size: 1.3rem;
	}

	body.woocommerce-checkout #order_review table.shop_table th,
	body.woocommerce-checkout #order_review table.shop_table td {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
		font-size: 0.88rem;
	}

	body.woocommerce-checkout #order_review table.shop_table th:last-child,
	body.woocommerce-checkout #order_review table.shop_table td:last-child {
		width: 88px;
	}

	body.woocommerce-checkout #order_review table.shop_table .product-name img {
		width: 48px;
		height: 48px;
		margin-right: 8px;
	}

	body.woocommerce-checkout #payment div.payment_box {
		padding: 12px;
		font-size: 0.9rem;
	}

	body.woocommerce-checkout #order_review .wc-gzd-checkbox-placeholder-legal {
		padding: 12px;
	}

	body.woocommerce-order-received .woocommerce-thankyou-order-received {
		padding: 15px 16px 15px 44px;
		font-size: 0.98rem;
	}

	body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
		top: 15px;
		left: 16px;
	}

	body.woocommerce-order-received ul.woocommerce-order-overview,
	body.woocommerce-order-received ul.wc-bacs-bank-details {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	body.woocommerce-order-received .woocommerce-bacs-bank-details,
	body.woocommerce-order-received .woocommerce-order-details,
	body.woocommerce-order-received .woocommerce-customer-details,
	body.woocommerce-order-received .wc-gzd-order-details {
		padding: 16px;
	}

	body.woocommerce-order-received .woocommerce-columns--addresses {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-order-received table.shop_table th,
	body.woocommerce-order-received table.shop_table td,
	body.woocommerce-order-received table.woocommerce-table th,
	body.woocommerce-order-received table.woocommerce-table td {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
		font-size: 0.88rem;
	}

	body.woocommerce-order-received table.shop_table th:last-child,
	body.woocommerce-order-received table.shop_table td:last-child,
	body.woocommerce-order-received table.woocommerce-table th:last-child,
	body.woocommerce-order-received table.woocommerce-table td:last-child {
		width: 104px;
	}
}
