/*
Theme Name: Motorstop Blocksy
Theme URI: https://motorstop.net/
Description: Updatefestes Motorstop-Child-Theme auf Basis von Blocksy.
Author: Motorstop Jan Althoetmar e.K.
Template: blocksy
Version: 0.7.2
Requires at least: 6.9
Requires PHP: 8.1
Text Domain: motorstop-blocksy
*/

:root {
	--theme-palette-color-1: #d80015 !important;
	--theme-palette-color-2: #a60010 !important;
	--theme-palette-color-3: #000 !important;
	--theme-palette-color-4: #333 !important;
	--theme-palette-color-5: #999 !important;
	--theme-palette-color-6: #d9d9d9 !important;
	--theme-palette-color-7: #f3f3f3 !important;
	--theme-palette-color-8: #fff !important;
	--motorstop-red: #d80015;
	--motorstop-asphalt: #000;
	--motorstop-cream: #d9d9d9;
	--motorstop-metal: #999;
	--motorstop-font: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, sans-serif;
	--motorstop-shadow: 0 18px 55px rgba(0, 0, 0, 0.1);
	--motorstop-radius: 12px;
}

html {
	scroll-behavior: smooth;
}

body {
	--theme-link-initial-color: var(--motorstop-red) !important;
	--theme-link-hover-color: #a60010 !important;
	--theme-button-background-initial-color: var(--motorstop-red) !important;
	--theme-button-background-hover-color: #a60010 !important;
	--theme-form-field-border-initial-color: var(--motorstop-metal) !important;
	--theme-form-field-border-focus-color: var(--motorstop-red) !important;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: var(--motorstop-font);
}

button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--motorstop-font);
}

h1,
h2,
h3 {
	letter-spacing: -0.025em;
}

[data-id="logo"] img,
.site-logo-container img {
	height: 66px !important;
	max-height: 66px !important;
	width: auto !important;
}

.wp-custom-logo [data-id="logo"] .site-title-container {
	display: none;
}

.header-menu-1 .menu > li > .ct-menu-link {
	font-family: var(--motorstop-font);
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.header-menu-1 .menu > .current-menu-item > .ct-menu-link,
.header-menu-1 .menu > .current_page_item > .ct-menu-link {
	color: var(--motorstop-red);
}

.wp-element-button,
button,
input[type="button"],
input[type="submit"] {
	border-radius: 8px;
}

a {
	text-underline-offset: 0.18em;
}

/*
 * Brand colour enforcement
 *
 * Blocksy, Gutenberg and WooCommerce each ship their own blue link and focus
 * colours. Keep navigation and product titles neutral while all genuine
 * actions use the Motorstop house red (HKS K 14 / RGB 216, 0, 21).
 */
:where(.entry-content, .page-description, .woocommerce, .woocommerce-page) a:not(.button):not(.wp-element-button):not(.ct-menu-link):not(.site-logo-container):not(.woocommerce-LoopProduct-link) {
	color: var(--motorstop-red) !important;
}

:where(.entry-content, .page-description, .woocommerce, .woocommerce-page) a:not(.button):not(.wp-element-button):not(.ct-menu-link):not(.site-logo-container):not(.woocommerce-LoopProduct-link):hover,
:where(.entry-content, .page-description, .woocommerce, .woocommerce-page) a:not(.button):not(.wp-element-button):not(.ct-menu-link):not(.site-logo-container):not(.woocommerce-LoopProduct-link):focus-visible {
	color: #a60010 !important;
}

.header-menu-1 .menu > li > .ct-menu-link,
.mobile-menu .ct-menu-link {
	color: var(--motorstop-asphalt) !important;
}

.header-menu-1 .menu > li > .ct-menu-link:hover,
.header-menu-1 .menu > li > .ct-menu-link:focus-visible,
.mobile-menu .ct-menu-link:hover,
.mobile-menu .ct-menu-link:focus-visible,
.header-menu-1 .menu > .current-menu-item > .ct-menu-link,
.header-menu-1 .menu > .current_page_item > .ct-menu-link,
.mobile-menu .current-menu-item > .ct-menu-link,
.mobile-menu .current_page_item > .ct-menu-link {
	color: var(--motorstop-red) !important;
}

.woocommerce-LoopProduct-link,
.woocommerce-loop-product__link,
.woocommerce-loop-product__title,
.woocommerce-loop-product__title a,
.product_title a,
.woocommerce table.shop_table .product-name a {
	color: var(--motorstop-asphalt) !important;
}

.woocommerce-LoopProduct-link:hover,
.woocommerce-loop-product__link:hover,
.woocommerce-loop-product__title a:hover,
.woocommerce table.shop_table .product-name a:hover {
	color: var(--motorstop-red) !important;
}

.woocommerce .entry-meta a,
.woocommerce .product-entry-wrapper .entry-meta a,
.woocommerce .product-categories a {
	color: #666 !important;
}

.woocommerce .entry-meta a:hover,
.woocommerce .product-entry-wrapper .entry-meta a:hover,
.woocommerce .product-categories a:hover {
	color: var(--motorstop-red) !important;
}

.wp-element-button,
.ct-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
button[type="submit"],
input[type="submit"] {
	background-color: var(--motorstop-red) !important;
	border-color: var(--motorstop-red) !important;
	color: #fff !important;
}

.wp-element-button:hover,
.wp-element-button:focus-visible,
.ct-button:hover,
.ct-button:focus-visible,
.woocommerce a.button:hover,
.woocommerce a.button:focus-visible,
.woocommerce button.button:hover,
.woocommerce button.button:focus-visible,
.woocommerce input.button:hover,
.woocommerce input.button:focus-visible,
.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit:focus-visible,
button[type="submit"]:hover,
button[type="submit"]:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible {
	background-color: #a60010 !important;
	border-color: #a60010 !important;
	color: #fff !important;
}

.woocommerce-info,
.woocommerce-message {
	border-top-color: var(--motorstop-red) !important;
}

.woocommerce-info::before,
.woocommerce-message::before,
.star-rating,
.woocommerce p.stars a {
	color: var(--motorstop-red) !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	color: var(--motorstop-asphalt) !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus-visible,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--motorstop-red) !important;
	color: #fff !important;
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation a:focus-visible {
	color: var(--motorstop-red) !important;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--motorstop-red);
}

:where(a, button, input, select, textarea):focus-visible {
	outline-color: var(--motorstop-red) !important;
}

.motorstop-topbar {
	background: var(--motorstop-asphalt);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.78rem;
}

.motorstop-topbar__inner {
	display: flex;
	gap: 1rem 2rem;
	justify-content: space-between;
	margin-inline: auto;
	max-width: 1290px;
	padding: 0.55rem 24px;
}

.motorstop-topbar a {
	color: #fff;
	font-weight: 650;
}

.motorstop-eyebrow {
	color: var(--motorstop-red);
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.motorstop-service-card,
.motorstop-category-card,
.motorstop-contact-card {
	border-radius: var(--motorstop-radius);
}

.motorstop-service-card {
	box-shadow: var(--motorstop-shadow);
}

.motorstop-category-card {
	border: 1px solid rgba(0, 0, 0, 0.1);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.motorstop-category-card:hover {
	border-color: rgba(216, 0, 21, 0.55);
	box-shadow: var(--motorstop-shadow);
	transform: translateY(-4px);
}

.motorstop-contact-only {
	background: var(--motorstop-cream);
	border-left: 4px solid var(--motorstop-red);
	border-radius: 0 var(--motorstop-radius) var(--motorstop-radius) 0;
	margin: 1.5rem 0;
	padding: 1.35rem;
}

.motorstop-contact-only p {
	margin: 0.35rem 0 1rem;
}

.motorstop-contact-only small {
	display: block;
	margin-top: 0.8rem;
}

.motorstop-contact-only__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

body.home .hero-section[data-type] {
	display: none;
}

body.home .ct-container-full[data-vertical-spacing*="top"] {
	padding-top: 0;
}

.motorstop-home {
	--motorstop-section-space: clamp(3.5rem, 8vw, 7rem);
}

.motorstop-home > .wp-block-group {
	padding-block: var(--motorstop-section-space);
}

.motorstop-promotions {
	background: var(--theme-palette-color-7);
	margin-inline: calc(50% - 50vw);
	padding: clamp(2rem, 5vw, 4.5rem) max(24px, calc((100vw - 1240px) / 2));
	width: 100vw;
}

.motorstop-promotions__heading {
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.motorstop-promotions__heading p,
.motorstop-promotions__heading h2 {
	margin-bottom: 0;
}

.motorstop-promotions__heading h2 {
	font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.motorstop-promotions__track {
	display: grid;
	gap: clamp(0.8rem, 2vw, 1.35rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.motorstop-promotion-card {
	background: #000;
	border-radius: 14px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.motorstop-promotion-card:hover {
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
	transform: translateY(-3px);
}

.motorstop-promotion-card img {
	aspect-ratio: 16 / 5;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.motorstop-hero {
	background:
		radial-gradient(circle at 86% 12%, rgba(216, 0, 21, 0.42), transparent 36%),
		linear-gradient(135deg, #000 0%, #181818 100%);
	color: #fff;
	margin-inline: calc(50% - 50vw);
	padding-inline: max(24px, calc((100vw - 1290px) / 2));
	width: 100vw;
}

.motorstop-hero h1 {
	color: #fff;
	font-size: clamp(2.5rem, 6vw, 5.4rem);
	letter-spacing: -0.045em;
	line-height: 0.98;
	max-width: 13ch;
}

.motorstop-hero__lead {
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	max-width: 62ch;
}

.motorstop-hero .wp-block-button__link,
.motorstop-home .is-style-fill .wp-block-button__link {
	border-radius: 999px;
	font-weight: 750;
	padding: 0.9em 1.45em;
}

.motorstop-hero .is-style-outline .wp-block-button__link {
	background: transparent !important;
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff !important;
}

.motorstop-home .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	border-color: var(--motorstop-red) !important;
	color: var(--motorstop-red) !important;
}

.motorstop-home .wp-block-button.is-style-outline .wp-block-button__link:hover,
.motorstop-home .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
	background: var(--motorstop-red) !important;
	color: #fff !important;
}

.motorstop-home .motorstop-contact-only__actions .button {
	background: var(--motorstop-red);
	border-color: var(--motorstop-red);
	color: #fff;
}

.motorstop-home .motorstop-contact-only__actions .button:last-child {
	background: var(--motorstop-asphalt);
	border-color: var(--motorstop-asphalt);
}

.motorstop-newsletter {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: calc(var(--motorstop-radius) + 8px);
	box-shadow: var(--motorstop-shadow);
	margin-top: clamp(-3.5rem, -6vw, -2rem);
	padding: clamp(1.5rem, 4vw, 3rem);
	position: relative;
	z-index: 2;
}

.motorstop-newsletter .mailpoet_form {
	margin-inline: auto;
	max-width: 760px;
}

.motorstop-newsletter .mailpoet_form,
.motorstop-newsletter .mailpoet_form * {
	font-family: var(--motorstop-font) !important;
}

.motorstop-newsletter .mailpoet-heading {
	color: var(--motorstop-red) !important;
}

.motorstop-newsletter .mailpoet_submit {
	background: var(--motorstop-red) !important;
	border-radius: 8px !important;
}

.motorstop-catalog-finder {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: calc(var(--motorstop-radius) + 8px);
	box-shadow: var(--motorstop-shadow);
	margin-block: clamp(2.5rem, 6vw, 5rem);
	padding: clamp(1.5rem, 4vw, 3rem);
}

.motorstop-catalog-finder__copy h2 {
	font-size: clamp(1.75rem, 3.4vw, 2.8rem);
	margin-bottom: 1.25rem;
}

.motorstop-catalog-finder__form {
	display: grid;
	gap: 0.7rem;
	grid-template-columns: minmax(0, 1fr) auto;
}

.motorstop-catalog-finder__form input[type="search"] {
	background: var(--theme-palette-color-7);
	border-color: transparent;
	font-size: 1rem;
	min-height: 54px;
	padding-inline: 1.1rem;
}

.motorstop-catalog-finder__form input[type="search"]:focus {
	border-color: var(--motorstop-red);
	box-shadow: 0 0 0 3px rgba(216, 0, 21, 0.12);
}

.motorstop-catalog-finder__form button {
	background: var(--motorstop-red);
	font-weight: 750;
	min-height: 54px;
	padding-inline: 1.4rem;
}

.motorstop-catalog-finder__form--filters {
	align-items: end;
	grid-template-columns: minmax(0, 1fr) auto auto;
}

.motorstop-catalog-finder__form--filters > input[type="search"],
.motorstop-catalog-filters {
	grid-column: 1 / -1;
}

.motorstop-catalog-filters {
	display: grid;
	gap: 0.8rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.motorstop-catalog-filter--vehicle {
	background: rgba(216, 0, 21, 0.045);
	border-radius: 8px;
	padding: 0.55rem;
}

.motorstop-catalog-filter--vehicle > span {
	color: var(--motorstop-red);
}

.motorstop-catalog-filter {
	display: grid;
	gap: 0.35rem;
}

.motorstop-catalog-filter > span {
	color: #333;
	font-size: 0.78rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.motorstop-catalog-filter select {
	background-color: var(--theme-palette-color-7);
	border-color: rgba(0, 0, 0, 0.14);
	min-height: 50px;
	width: 100%;
}

.motorstop-catalog-filter select:hover {
	border-color: var(--motorstop-metal);
}

.motorstop-catalog-filter select:focus {
	border-color: var(--motorstop-red);
	box-shadow: 0 0 0 3px rgba(216, 0, 21, 0.12);
}

.motorstop-catalog-finder__reset {
	align-items: center;
	color: #333 !important;
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 700;
	justify-content: center;
	min-height: 54px;
	padding-inline: 0.4rem;
}

.motorstop-catalog-finder__reset:hover,
.motorstop-catalog-finder__reset:focus-visible {
	color: var(--motorstop-red) !important;
}

.motorstop-catalog-finder__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1rem;
}

.motorstop-catalog-finder__categories a {
	align-items: center;
	background: var(--theme-palette-color-7);
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--motorstop-asphalt);
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 0.5rem;
	padding: 0.55rem 0.85rem;
	text-decoration: none;
}

.motorstop-catalog-finder__categories a:hover,
.motorstop-catalog-finder__categories a:focus-visible {
	border-color: var(--motorstop-red);
	color: var(--motorstop-red);
}

.motorstop-catalog-finder__categories span {
	color: var(--motorstop-metal);
	font-size: 0.78rem;
}

.woocommerce-shop .motorstop-catalog-finder {
	margin-top: 0;
}

/* Product archive cards: calm workshop surfaces and fast visual scanning. */
.woocommerce ul.products {
	gap: clamp(1rem, 2.4vw, 1.8rem);
}

.woocommerce ul.products li.product {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: var(--motorstop-radius);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.045);
	overflow: hidden;
	padding: 0 0 clamp(1rem, 2vw, 1.35rem);
	position: relative;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.woocommerce ul.products li.product:hover {
	border-color: rgba(216, 0, 21, 0.42);
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.1);
	transform: translateY(-3px);
}

.woocommerce ul.products li.product .ct-media-container {
	background: var(--theme-palette-color-7);
}

.woocommerce ul.products li.product img {
	aspect-ratio: 4 / 3;
	background: var(--theme-palette-color-7);
	height: auto;
	object-fit: contain;
	width: 100%;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .motorstop-product-sku,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .motorstop-contact-only__actions,
.woocommerce ul.products li.product .entry-meta {
	margin-left: clamp(1rem, 2vw, 1.25rem);
	margin-right: clamp(1rem, 2vw, 1.25rem);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 1rem;
	line-height: 1.35;
	margin-top: 1rem;
}

.motorstop-product-stock {
	background: var(--motorstop-red);
	border-radius: 999px;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 750;
	left: 0.75rem;
	letter-spacing: 0.04em;
	padding: 0.35rem 0.62rem;
	position: absolute;
	text-transform: uppercase;
	top: 0.75rem;
	z-index: 2;
}

.motorstop-product-sku {
	color: #666;
	display: block;
	font-size: 0.78rem;
	line-height: 1.4;
	margin-top: 0.35rem;
}

.woocommerce ul.products li.product .price {
	color: var(--motorstop-red);
	font-size: 1.05rem;
	font-weight: 750;
	margin-top: 0.65rem;
}

.woocommerce ul.products li.product .button {
	justify-content: center;
	margin-top: 0.8rem;
	text-align: center;
	width: calc(100% - clamp(2rem, 4vw, 2.5rem));
}

.woocommerce ul.products li.product .motorstop-contact-only__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.woocommerce ul.products li.product .motorstop-contact-only__actions .button {
	margin: 0;
	width: 100%;
}

/* Product detail page follows the same neutral/red hierarchy. */
.single-product .woocommerce-product-gallery {
	background: var(--theme-palette-color-7);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: calc(var(--motorstop-radius) + 4px);
	overflow: hidden;
}

.single-product .summary .price {
	color: var(--motorstop-red);
	font-weight: 750;
}

.single-product .summary .stock.in-stock {
	color: #333;
	font-weight: 700;
}

.single-product .quantity input.qty {
	border-color: var(--motorstop-metal);
}

.motorstop-product-vehicles {
	background: var(--theme-palette-color-7);
	border-left: 4px solid var(--motorstop-red);
	border-radius: 0 var(--motorstop-radius) var(--motorstop-radius) 0;
	margin-block: 1.25rem;
	padding: 1rem 1.1rem;
}

.motorstop-product-vehicles > strong {
	color: var(--motorstop-asphalt);
	display: block;
	font-size: 0.92rem;
	letter-spacing: 0.04em;
	margin-bottom: 0.65rem;
	text-transform: uppercase;
}

.motorstop-product-vehicles__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.motorstop-product-vehicles__list a,
.motorstop-product-vehicles__list span {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.13);
	border-radius: 999px;
	color: #333;
	font-size: 0.82rem;
	font-weight: 700;
	padding: 0.38rem 0.65rem;
	text-decoration: none;
}

.motorstop-product-vehicles__list a:hover,
.motorstop-product-vehicles__list a:focus-visible {
	border-color: var(--motorstop-red);
	color: var(--motorstop-red);
}

.motorstop-product-vehicles small {
	color: #666;
	display: block;
	line-height: 1.4;
	margin-top: 0.7rem;
}

.motorstop-section-heading {
	margin-bottom: clamp(1.5rem, 4vw, 3rem);
	max-width: 760px;
}

.motorstop-section-heading h2 {
	font-size: clamp(2rem, 4vw, 3.4rem);
	letter-spacing: -0.035em;
}

.motorstop-card-grid {
	align-items: stretch;
}

.motorstop-card-grid > .wp-block-column {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: var(--motorstop-radius);
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	padding: clamp(1.4rem, 3vw, 2.2rem);
}

.motorstop-card-grid > .wp-block-column p:last-child {
	margin-top: auto;
}

.motorstop-contact-band {
	background: var(--motorstop-cream);
	border-radius: calc(var(--motorstop-radius) + 8px);
	padding: clamp(1.5rem, 5vw, 3.5rem) !important;
}

.motorstop-contact-band a {
	font-weight: 700;
}

.motorstop-legal-footer {
	background: #191917;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.78);
}

.motorstop-legal-footer__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem 1.4rem;
	margin-inline: auto;
	max-width: 1290px;
	padding: 1.1rem 24px;
}

.motorstop-legal-footer__logo {
	height: auto;
	margin-right: auto;
	max-width: 250px;
	width: min(42vw, 250px);
}

.motorstop-legal-footer__inner a {
	color: inherit;
	font-size: 0.9rem;
}

.motorstop-legal-footer__inner a:hover,
.motorstop-legal-footer__inner a:focus-visible {
	color: #fff;
}

@media (max-width: 781px) {
	[data-id="logo"] img,
	.site-logo-container img {
		height: 52px !important;
		max-height: 52px !important;
	}

	.motorstop-topbar__inner {
		justify-content: center;
		text-align: center;
	}

	.motorstop-topbar__inner > span:first-child,
	.motorstop-topbar__hours {
		display: none;
	}

	.motorstop-hero .wp-block-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.motorstop-hero .wp-block-button,
	.motorstop-hero .wp-block-button__link {
		width: 100%;
	}

	.motorstop-promotions__track {
		grid-template-columns: 1fr;
	}

	.motorstop-catalog-finder__form {
		grid-template-columns: 1fr;
	}

	.motorstop-catalog-finder__form--filters > input[type="search"],
	.motorstop-catalog-filters,
	.motorstop-catalog-finder__form--filters > * {
		grid-column: 1;
	}

	.motorstop-catalog-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.motorstop-catalog-finder__form button {
		width: 100%;
	}

	.woocommerce ul.products li.product:hover {
		transform: none;
	}

	.motorstop-legal-footer__inner {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		text-align: center;
	}

	.motorstop-legal-footer__logo {
		grid-column: 1 / -1;
		justify-self: center;
		margin: 0 0 0.5rem;
		min-width: 210px;
	}
}

@media (max-width: 520px) {
	.motorstop-catalog-filters {
		grid-template-columns: 1fr;
	}

	.woocommerce ul.products li.product .motorstop-contact-only__actions {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition-duration: 0.01ms !important;
	}
}
