/*
Theme Name: КРУИЗ — Автохимия
Author: КРУИЗ
Description: Полностью редактируемая блочная тема для марки автомобильной химии КРУИЗ. Главная, каталог, оптовикам, документы и контакты собраны из стандартных блоков WordPress.
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
Version: 1.9.5
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cruise
Tags: block-patterns, full-site-editing, custom-colors, custom-logo, featured-images, wide-blocks
*/

:root {
	--cruise-graphite-950: #0d0f12;
	--cruise-graphite-900: #12151a;
	--cruise-graphite-850: #171b21;
	--cruise-graphite-800: #20252c;
	--cruise-blue: #3b82f6;
	--cruise-blue-light: #60a5fa;
	--cruise-white: #f6f7f9;
	--cruise-muted: #a8afb9;
	--cruise-line: rgba(255, 255, 255, 0.1);
	--cruise-flag-blue: rgba(96, 165, 250, 0.16);
	--cruise-flag-silver: rgba(246, 247, 249, 0.085);
	--cruise-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
}

a,
button,
.wp-element-button {
	transition:
		color 180ms ease,
		background-color 180ms ease,
		border-color 180ms ease,
		transform 180ms ease,
		box-shadow 180ms ease;
}

a:focus-visible,
button:focus-visible,
.wp-element-button:focus-visible {
	outline: 3px solid var(--cruise-blue-light);
	outline-offset: 4px;
}

.cruise-shell {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background-image:
		radial-gradient(circle at 88% 22%, rgba(59, 130, 246, 0.095), transparent 31%),
		radial-gradient(circle at 42% 112%, rgba(59, 130, 246, 0.08), transparent 34%);
}

.cruise-shell::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	content: "";
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: linear-gradient(to bottom, black 0%, transparent 94%);
}

.cruise-shell::after {
	position: absolute;
	z-index: -1;
	top: clamp(6rem, 11vw, 10.5rem);
	right: -9rem;
	width: min(64rem, 70vw);
	height: 18rem;
	content: "";
	pointer-events: none;
	transform: rotate(-9deg) skewX(-5deg);
	border-block: 1px solid rgba(96, 165, 250, 0.075);
	background:
		conic-gradient(
			from 90deg,
			var(--cruise-flag-blue) 0 25%,
			var(--cruise-flag-silver) 0 50%,
			var(--cruise-flag-blue) 0 75%,
			var(--cruise-flag-silver) 0
		)
		0 0 / 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 15%, rgba(0, 0, 0, 0.82) 43%, transparent 76%);
	mask-image: radial-gradient(ellipse at center, #000 15%, rgba(0, 0, 0, 0.82) 43%, transparent 76%);
}

.cruise-header {
	position: sticky;
	z-index: 50;
	top: 0;
	border-bottom: 1px solid var(--cruise-line);
	background: rgba(13, 15, 18, 0.9);
	backdrop-filter: blur(18px);
}

.cruise-brand-mark {
	display: inline-grid;
	grid-template-columns: 22px auto;
	grid-template-rows: auto auto;
	column-gap: 12px;
	align-items: center;
	text-decoration: none;
}

.cruise-brand-mark::before {
	display: block;
	grid-row: 1 / 3;
	width: 22px;
	height: 28px;
	content: "";
	border-bottom: 5px solid var(--cruise-blue);
	background: linear-gradient(180deg, var(--cruise-blue-light), var(--cruise-blue));
	clip-path: polygon(0 0, 100% 0, 100% 72%, 0 72%);
}

.cruise-brand-mark__name,
.cruise-brand-mark__latin {
	margin: 0;
	line-height: 1;
}

.cruise-brand-mark__name {
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.04em;
}

.cruise-brand-mark__latin {
	margin-top: 4px;
	color: var(--cruise-muted);
	font-size: 0.63rem;
	font-weight: 700;
	letter-spacing: 0.36em;
}

.cruise-site-logo {
	flex: 0 0 auto;
	margin: 0;
	line-height: 0;
}

.cruise-site-logo .custom-logo-link {
	display: block;
	width: 204px;
	height: 62px;
	overflow: hidden;
}

.cruise-site-logo img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: 50% 46%;
	filter: brightness(0) invert(1);
}

.cruise-footer .cruise-site-logo .custom-logo-link {
	width: 236px;
	height: 72px;
}

.cruise-header .wp-block-navigation-item__content {
	position: relative;
	padding-block: 0.8rem;
}

.cruise-header .wp-block-navigation-item__content::after {
	position: absolute;
	right: 0;
	bottom: 0.35rem;
	left: 0;
	height: 2px;
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	background: var(--cruise-blue);
	transition: transform 180ms ease;
}

.cruise-header .wp-block-navigation-item__content:hover::after,
.cruise-header .current-menu-item .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

.cruise-eyebrow {
	display: flex;
	gap: 0.7rem;
	align-items: center;
	color: var(--cruise-blue-light);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.cruise-eyebrow::before {
	width: 38px;
	height: 2px;
	content: "";
	background: var(--cruise-blue);
}

.cruise-hero {
	min-height: 680px;
}

.cruise-hero__content {
	position: relative;
	z-index: 2;
}

.cruise-hero__title {
	max-width: 770px;
	text-wrap: balance;
}

.cruise-hero__visual {
	position: relative;
	isolation: isolate;
	min-height: 520px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 48%),
		radial-gradient(ellipse at 50% 54%, rgba(150, 163, 182, 0.18), transparent 52%),
		radial-gradient(circle at 50% 82%, rgba(59, 130, 246, 0.25), transparent 33%),
		#111419;
	box-shadow: var(--cruise-shadow);
}

.cruise-hero__visual::before {
	position: absolute;
	z-index: 1;
	right: 9%;
	bottom: 8%;
	left: 9%;
	height: 16%;
	content: "";
	border: 1px solid rgba(96, 165, 250, 0.7);
	border-radius: 50%;
	background: #171b20;
	box-shadow:
		0 0 28px rgba(59, 130, 246, 0.42),
		inset 0 0 18px rgba(255, 255, 255, 0.04);
}

.cruise-hero__visual::after {
	position: absolute;
	z-index: 0;
	top: 13%;
	right: -24%;
	width: 112%;
	height: 46%;
	content: "";
	pointer-events: none;
	transform: rotate(-10deg) skewX(-5deg);
	border-block: 1px solid rgba(96, 165, 250, 0.075);
	background:
		conic-gradient(
			from 90deg,
			rgba(96, 165, 250, 0.18) 0 25%,
			rgba(246, 247, 249, 0.1) 0 50%,
			rgba(96, 165, 250, 0.18) 0 75%,
			rgba(246, 247, 249, 0.1) 0
		)
		0 0 / 56px 56px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, rgba(0, 0, 0, 0.86) 62%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 22%, rgba(0, 0, 0, 0.86) 62%, transparent 100%);
}

.cruise-product-placeholders {
	position: absolute;
	z-index: 2;
	inset: 10% 8% 15%;
	display: flex;
	gap: clamp(0.75rem, 2vw, 1.5rem);
	align-items: flex-end;
	justify-content: center;
}

.cruise-bottle {
	position: relative;
	z-index: 1;
	display: flex;
	width: 28%;
	min-width: 92px;
	height: 66%;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 17px 17px 12px 12px;
	background:
		linear-gradient(100deg, rgba(255, 255, 255, 0.1), transparent 25%),
		linear-gradient(160deg, #292e35, #14171b 60%);
	box-shadow: 0 20px 32px rgba(0, 0, 0, 0.32);
	color: rgba(255, 255, 255, 0.43);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-align: center;
	text-transform: uppercase;
}

.cruise-bottle:nth-child(2) {
	width: 38%;
	height: 88%;
}

.cruise-bottle::before {
	position: absolute;
	top: -12%;
	width: 42%;
	height: 14%;
	content: "";
	border-radius: 6px 6px 2px 2px;
	background: repeating-linear-gradient(90deg, #101215 0 3px, #252a30 3px 5px);
}

.cruise-bottle::after {
	position: absolute;
	inset: 28% 10% 12%;
	content: "";
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	background: rgba(5, 7, 9, 0.22);
}

.cruise-hero__visual .wp-block-image img {
	filter:
		drop-shadow(0 24px 28px rgba(0, 0, 0, 0.52))
		drop-shadow(0 0 1px rgba(255, 255, 255, 0.45));
}

.cruise-stat-row {
	border-top: 1px solid var(--cruise-line);
	border-bottom: 1px solid var(--cruise-line);
}

.cruise-stat {
	min-height: 96px;
}

.cruise-stat + .cruise-stat {
	border-left: 1px solid var(--cruise-line);
}

.cruise-stat__icon {
	display: grid;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	place-items: center;
	border: 1px solid var(--cruise-blue);
	border-radius: 10px;
	color: var(--cruise-blue-light);
	font-weight: 800;
}

.cruise-section-heading {
	max-width: 760px;
	text-wrap: balance;
}

.cruise-card {
	position: relative;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--cruise-line);
	border-radius: 14px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 45%),
		var(--cruise-graphite-850);
}

.cruise-card:hover {
	transform: translateY(-4px);
	border-color: rgba(96, 165, 250, 0.55);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.cruise-card__number {
	color: var(--cruise-blue-light);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.cruise-category-card {
	min-height: 260px;
}

.cruise-category-card::after {
	position: absolute;
	right: -52px;
	bottom: -52px;
	width: 144px;
	height: 144px;
	content: "";
	border: 1px solid rgba(59, 130, 246, 0.42);
	border-radius: 50%;
	box-shadow: 0 0 34px rgba(59, 130, 246, 0.12);
}

.cruise-product-card {
	height: 100%;
}

.cruise-product-card:not(:has(.cruise-product-gallery)):not(:has(.wp-block-post-featured-image img))::before {
	display: grid;
	min-height: 300px;
	content: "Добавьте фото товара";
	place-items: center;
	border-bottom: 1px solid var(--cruise-line);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 44%),
		radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.22), transparent 34%),
		#15191e;
	color: #7c8490;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cruise-product-media,
.wp-block-post-featured-image.cruise-product-media {
	position: relative;
	isolation: isolate;
	min-height: 300px;
	overflow: hidden;
	border-bottom: 1px solid var(--cruise-line);
	background-color: #20242a;
	background-image:
		linear-gradient(180deg, rgba(10, 12, 15, 0.04), rgba(10, 12, 15, 0.18)),
		url("assets/images/product-studio-backdrop.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.cruise-product-media::before {
	position: absolute;
	z-index: 0;
	right: 12%;
	bottom: 7%;
	left: 12%;
	height: 13%;
	content: "";
	border: 1px solid rgba(147, 197, 253, 0.34);
	border-radius: 50%;
	background: rgba(15, 18, 23, 0.48);
	box-shadow: 0 0 28px rgba(59, 130, 246, 0.2);
}

.cruise-product-media::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: grid;
	content: "Добавьте фото товара";
	place-items: center;
	color: #7c8490;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cruise-product-media:has(img)::after {
	display: none;
}

.cruise-product-media img {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: contain;
	padding: 24px;
	filter:
		drop-shadow(0 22px 24px rgba(0, 0, 0, 0.5))
		drop-shadow(0 0 1px rgba(255, 255, 255, 0.52));
}

.cruise-product-gallery {
	position: relative;
	isolation: isolate;
	width: 100%;
	min-height: 0;
	overflow: visible;
	border: 0;
	background: transparent;
	box-shadow: none;
	touch-action: pan-y;
}

.cruise-product-gallery::before {
	display: none;
}

.cruise-product-gallery--empty {
	display: grid;
	min-height: 300px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	place-items: center;
	border: 1px solid var(--cruise-line);
	border-radius: 14px;
	background-color: #20242a;
	background-image:
		linear-gradient(180deg, rgba(10, 12, 15, 0.06), rgba(10, 12, 15, 0.24)),
		url("assets/images/product-studio-backdrop.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.cruise-product-gallery--card {
	min-height: 0;
	overflow: hidden;
	background: #15191e;
}

.cruise-product-gallery__track,
.cruise-product-gallery__slide,
.cruise-product-gallery__slide-link {
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
}

.cruise-product-gallery__viewport {
	position: relative;
	z-index: 2;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 1px solid var(--cruise-line);
	border-radius: 14px;
	background-color: #20242a;
	background-image:
		linear-gradient(180deg, rgba(10, 12, 15, 0.04), rgba(10, 12, 15, 0.18)),
		url("assets/images/product-studio-backdrop.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
	box-sizing: border-box;
}

.cruise-product-gallery__viewport::before {
	display: none;
}

.cruise-product-gallery--card .cruise-product-gallery__viewport {
	min-height: 0;
	border: 0;
	border-bottom: 1px solid var(--cruise-line);
	border-radius: 0;
}

.cruise-product-gallery__track {
	position: relative;
	z-index: 1;
	display: flex;
	transition: transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: transform;
}

.cruise-product-gallery__slide {
	display: grid;
	flex: 0 0 100%;
	place-items: center;
	margin: 0;
}

.cruise-product-gallery__slide-link {
	display: grid;
	place-items: center;
}

.cruise-product-gallery__image-frame {
	display: grid;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	box-sizing: border-box;
	overflow: hidden;
	place-items: center;
	padding: clamp(22px, 5%, 42px);
}

.cruise-product-gallery--card .cruise-product-gallery__image-frame {
	padding: 24px;
}

.cruise-product-gallery__image-frame--studio,
.cruise-product-gallery--card .cruise-product-gallery__image-frame--studio {
	padding: 0;
}

.cruise-product-gallery .cruise-product-gallery__image {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: contain;
	padding: 0;
	transform:
		translateY(var(--cruise-image-y, 0))
		scale(var(--cruise-image-scale, 1));
	transform-origin: center;
	transition: transform 180ms ease;
	filter:
		drop-shadow(0 22px 20px rgba(0, 0, 0, 0.52))
		drop-shadow(0 0 1px rgba(255, 255, 255, 0.5));
}

.cruise-product-gallery .cruise-product-gallery__image--studio {
	display: block;
	object-fit: cover;
	filter: none;
}

/*
 * Product detail: let transparent product photography float directly on the
 * page instead of placing it inside the catalog-style studio card.
 */
body.single-cruise_product .cruise-product-visual-column,
.cruise-product-hero .cruise-product-visual-column {
	display: flex;
	min-width: 0;
	min-height: clamp(400px, 38vw, 560px);
	align-self: stretch;
	align-items: center;
	justify-content: center;
}

.cruise-product-gallery--detail {
	display: grid;
	width: 100%;
	align-items: center;
}

.cruise-product-gallery--detail .cruise-product-gallery__viewport {
	aspect-ratio: 4 / 3;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.cruise-product-gallery--detail .cruise-product-gallery__image-frame,
.cruise-product-gallery--detail .cruise-product-gallery__image-frame--studio {
	position: relative;
	overflow: visible;
	padding: clamp(8px, 2vw, 24px) 0;
	transform: translateY(-10%) scale(1.3);
	transform-origin: center;
}

.cruise-product-gallery--detail .cruise-product-gallery__image-frame::after {
	position: absolute;
	z-index: 0;
	right: 16%;
	bottom: 7%;
	left: 16%;
	height: clamp(10px, 1.15vw, 18px);
	content: "";
	pointer-events: none;
	transform: translateY(14px);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.62);
	filter: blur(15px);
	opacity: 0.78;
}

.cruise-product-gallery--detail .cruise-product-gallery__image,
.cruise-product-gallery--detail .cruise-product-gallery__image--studio {
	position: relative;
	z-index: 1;
	display: block;
	object-fit: contain;
	filter:
		drop-shadow(0 24px 22px rgba(0, 0, 0, 0.46))
		drop-shadow(0 4px 8px rgba(0, 0, 0, 0.24));
}

.cruise-product-gallery__navigation {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}

.cruise-product-gallery__choice {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 68px;
	min-height: 40px;
	margin: 0;
	padding: 9px 15px;
	border: 1px solid var(--cruise-line);
	border-radius: 9px;
	background: #15191e;
	box-sizing: border-box;
	color: var(--cruise-muted);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	appearance: none;
	transition:
		border-color 180ms ease,
		background-color 180ms ease,
		color 180ms ease,
		transform 180ms ease;
}

.cruise-product-gallery__choice:hover {
	border-color: rgba(96, 165, 250, 0.62);
	background: rgba(59, 130, 246, 0.12);
	color: var(--cruise-white);
}

.cruise-product-gallery__choice[aria-current="true"] {
	border-color: var(--cruise-blue);
	background: var(--cruise-blue);
	color: #fff;
}

.cruise-product-gallery__choice:active {
	transform: translateY(1px);
}

.cruise-product-gallery--card .cruise-product-gallery__navigation {
	gap: 6px;
	margin-top: 0;
	padding: 10px 12px;
	border-bottom: 1px solid var(--cruise-line);
	background: #15191e;
}

.cruise-product-gallery--card .cruise-product-gallery__choice {
	min-width: 42px;
	min-height: 34px;
	padding: 6px 10px;
	border-radius: 7px;
	font-size: 0.75rem;
}

.cruise-product-visual-column:not(:has(.cruise-product-gallery)):not(:has(img)) {
	display: grid;
	min-height: 420px;
	place-items: center;
	border: 1px solid var(--cruise-line);
	border-radius: 14px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 46%),
		radial-gradient(ellipse at 50% 76%, rgba(96, 165, 250, 0.28), transparent 42%),
		#252b33;
}

.cruise-product-visual-column:not(:has(.cruise-product-gallery)):not(:has(img))::after {
	content: "Добавьте фотографию товара";
	color: #7c8490;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cruise-document-row {
	border-top: 1px solid var(--cruise-line);
}

.cruise-document-row:last-child {
	border-bottom: 1px solid var(--cruise-line);
}

.cruise-document-row:hover {
	background: rgba(255, 255, 255, 0.025);
}

.cruise-contact-tile {
	min-height: 180px;
}

.cruise-note {
	border-left: 3px solid var(--cruise-blue);
	background: rgba(59, 130, 246, 0.08);
}

.cruise-footer {
	border-top: 1px solid var(--cruise-line);
}

.cruise-footer a {
	color: var(--cruise-muted);
	text-decoration: none;
}

.cruise-footer a:hover {
	color: var(--cruise-white);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(59, 130, 246, 0.1);
}

.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover {
	transform: translateY(-2px);
	background: var(--cruise-blue-light);
	box-shadow: 0 10px 30px rgba(59, 130, 246, 0.26);
}

.cruise-catalog-filter-block {
	box-sizing: border-box;
	width: min(100%, 580px) !important;
	max-width: 580px !important;
	margin-inline: auto !important;
}

.cruise-catalog-tools {
	display: block !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 580px !important;
	height: auto !important;
	min-height: 0 !important;
	margin-inline: auto;
	padding: 1rem 1.15rem !important;
	border: 1px solid var(--cruise-line);
	border-radius: 12px;
	background: linear-gradient(145deg, rgba(29, 34, 42, 0.98), rgba(20, 24, 30, 0.98));
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}

.cruise-catalog-tools__field {
	display: grid;
	grid-template-columns: 126px minmax(0, 1fr);
	align-items: center;
	gap: 0.9rem;
	margin: 0;
}

.cruise-catalog-tools__field span {
	color: var(--cruise-muted);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cruise-catalog-tools select {
	width: 100%;
	min-height: 44px;
	padding: 0 2.7rem 0 0.9rem;
	border: 1px solid rgba(148, 163, 184, 0.28);
	border-radius: 8px;
	background-color: var(--cruise-graphite-950);
	color: var(--cruise-white);
	font: inherit;
	cursor: pointer;
}

.cruise-catalog-tools select:focus {
	border-color: var(--cruise-blue);
	outline: 3px solid rgba(59, 130, 246, 0.2);
}

.wp-block-query-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.wp-block-query-pagination-numbers {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-numbers .current {
	display: inline-flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--cruise-line);
	border-radius: 8px;
	text-decoration: none;
}

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
	display: inline-flex !important;
	width: auto;
	min-width: 0;
	height: 42px;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0 1rem;
	border: 1px solid var(--cruise-line);
	border-radius: 8px;
	text-decoration: none;
	white-space: nowrap;
}

.wp-block-query-pagination-previous-arrow,
.wp-block-query-pagination-next-arrow {
	margin: 0;
}

.wp-block-query-pagination-numbers .current,
.wp-block-query-pagination-numbers a:hover,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
	border-color: var(--cruise-blue);
	background: var(--cruise-blue);
	color: white;
}

@media (max-width: 960px) {
	.cruise-header {
		position: relative;
	}

	.cruise-hero {
		min-height: auto;
	}

	.cruise-hero__visual {
		min-height: 460px;
	}

	.cruise-shell::after {
		right: -15rem;
		width: 58rem;
		opacity: 0.82;
	}

	.cruise-stat + .cruise-stat {
		border-left: 0;
		border-top: 1px solid var(--cruise-line);
	}

	body.single-cruise_product .cruise-product-visual-column,
	.cruise-product-hero .cruise-product-visual-column {
		min-height: clamp(340px, 66vw, 500px);
	}

	.cruise-product-gallery--detail .cruise-product-gallery__image-frame,
	.cruise-product-gallery--detail .cruise-product-gallery__image-frame--studio {
		transform: translateY(-7%) scale(1.18);
	}
}

@media (max-width: 620px) {
	.cruise-catalog-filter-block {
		width: 100% !important;
	}

	.cruise-catalog-tools__field {
		grid-template-columns: 1fr;
		gap: 0.55rem;
	}

	.cruise-product-gallery__navigation {
		gap: 8px;
	}

	.cruise-product-gallery__choice {
		min-width: 58px;
		padding-inline: 12px;
		font-size: 0.76rem;
	}

	body.single-cruise_product .cruise-product-visual-column,
	.cruise-product-hero .cruise-product-visual-column {
		min-height: 320px;
	}

	.cruise-product-gallery--detail .cruise-product-gallery__image-frame,
	.cruise-product-gallery--detail .cruise-product-gallery__image-frame--studio {
		padding-block: 0;
		transform: translateY(-5%) scale(1.1);
	}

	.cruise-product-gallery--detail .cruise-product-gallery__image-frame::after {
		right: 20%;
		bottom: 5%;
		left: 20%;
	}

	.cruise-shell::before {
		background-size: 36px 36px;
	}

	.cruise-shell::after {
		top: 7rem;
		right: -17rem;
		width: 44rem;
		height: 13rem;
		opacity: 0.6;
		background-size: 44px 44px;
	}

	.cruise-brand-mark {
		grid-template-columns: 18px auto;
		column-gap: 9px;
	}

	.cruise-brand-mark::before {
		width: 18px;
		height: 24px;
	}

	.cruise-site-logo .custom-logo-link {
		width: 162px;
		height: 49px;
	}

	.cruise-footer .cruise-site-logo .custom-logo-link {
		width: 200px;
		height: 61px;
	}

	.cruise-hero__visual {
		min-height: 360px;
	}

	.cruise-hero__visual::after {
		top: 17%;
		right: -34%;
		width: 124%;
		height: 42%;
		opacity: 0.7;
		background-size: 42px 42px;
	}

	.cruise-product-placeholders {
		inset: 13% 6% 16%;
	}

	.cruise-bottle {
		min-width: 66px;
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.cruise-product-gallery__track {
		transition: none;
	}
}
