/*
Theme Name: Hasztag3D
Author: Hasztag3D
Description: Motyw blokowy marki Hasztag3D — druk 3D na zamówienie, sklep z plikami STL, skanowanie i naprawa modeli. Pełna edycja witryny, WooCommerce, paleta Siatka.
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hasztag3d
Tags: full-site-editing, block-patterns, e-commerce, portfolio, blog, custom-colors, custom-logo, editor-style, featured-images, translation-ready, wide-blocks, one-column, grid-layout
*/

/* Cyjan #00C4E8 jest tylko w grafikach (siatka, obrysy, znak „3D” w logo). Nie używamy go do tekstu. */

:root {
	--hasztag3d-header-offset: 5.25rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

.wp-block-button__link:focus-visible,
.hasztag3d-submit:focus-visible,
button:focus-visible {
	outline: 3px solid var(--wp--preset--color--ink);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--wp--preset--color--paper), 0 0 0 6px var(--wp--preset--color--accent);
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

.screen-reader-text:focus {
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	padding: 0.75rem 1rem;
	position: absolute;
	left: 0.5rem;
	top: 0.5rem;
	z-index: 100000;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
}

#wycena,
#uslugi,
#realizacje,
#technologie {
	scroll-margin-top: var(--hasztag3d-header-offset);
}

.hasztag3d-kicker {
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
}

.hasztag3d-kicker::before {
	content: "";
	display: inline-block;
	width: 1.35rem;
	height: 2px;
	margin-right: 0.6rem;
	vertical-align: middle;
	background: var(--wp--preset--color--cyan);
}

.hasztag3d-lead {
	max-width: 42rem;
	font-size: clamp(1.05rem, 1rem + 0.35vw, 1.28rem);
	color: var(--wp--preset--color--muted);
}

.hasztag3d-section {
	position: relative;
}

.hasztag3d-hero,
.hasztag3d-page-hero,
.hasztag3d-tech {
	position: relative;
	overflow: hidden;
}

.hasztag3d-hero::before,
.hasztag3d-page-hero::before,
.hasztag3d-tech::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("assets/images/mesh-bg.svg");
	background-size: 540px auto;
	opacity: 0.28;
	pointer-events: none;
}

.hasztag3d-hero > *,
.hasztag3d-page-hero > *,
.hasztag3d-tech > * {
	position: relative;
	z-index: 1;
}

.hasztag3d-hero .hasztag3d-kicker,
.hasztag3d-page-hero .hasztag3d-kicker,
.hasztag3d-tech .hasztag3d-kicker,
.hasztag3d-hero .hasztag3d-lead,
.hasztag3d-page-hero .hasztag3d-lead,
.hasztag3d-tech .hasztag3d-lead {
	color: #d7e7ee;
}

.hasztag3d-hero a:not(.wp-block-button__link),
.hasztag3d-page-hero a:not(.wp-block-button__link),
.hasztag3d-tech a:not(.wp-block-button__link),
.has-ink-background-color a:not(.wp-block-button__link),
.has-siatka-noc-gradient-background a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--paper);
}

ul.hasztag3d-hero__facts,
ul.hasztag3d-chips,
ul.hasztag3d-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.25rem 0 0;
	padding: 0;
	padding-inline-start: 0;
	list-style: none;
}

ul.hasztag3d-footer-links {
	display: block;
	margin-top: 0;
}

ul.hasztag3d-hero__facts li,
ul.hasztag3d-chips li,
ul.hasztag3d-footer-links li {
	margin: 0;
	list-style: none;
}

ul.hasztag3d-hero__facts li::marker,
ul.hasztag3d-chips li::marker,
ul.hasztag3d-footer-links li::marker {
	content: "";
}

ul.hasztag3d-hero__facts li,
ul.hasztag3d-chips li {
	padding: 0.35rem 0.8rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	font-size: 0.875rem;
	font-weight: 600;
}

ul.hasztag3d-hero__facts li {
	border-color: rgba(0, 196, 232, 0.75);
	background: rgba(11, 18, 32, 0.55);
	color: var(--wp--preset--color--paper);
}

.hasztag3d-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--wp--preset--color--paper);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

body.admin-bar .hasztag3d-header {
	top: 32px;
}

.hasztag3d-header__bar {
	min-height: 4.5rem;
	gap: 1rem 1.25rem;
}

.hasztag3d-logo,
.hasztag3d-header .wp-block-site-logo,
.hasztag3d-legal .wp-block-site-logo {
	line-height: 0;
}

.hasztag3d-logo svg,
.hasztag3d-header .wp-block-site-logo img,
.hasztag3d-footer .wp-block-site-logo img {
	display: block;
	width: auto;
	height: 40px;
}

.hasztag3d-legal .hasztag3d-logo svg,
.hasztag3d-legal .wp-block-site-logo img {
	height: 28px;
}

.hasztag3d-symbol {
	display: block;
	line-height: 0;
}

.hasztag3d-symbol svg {
	display: block;
	width: 100%;
	height: auto;
}

.hasztag3d-symbol--inline {
	width: 52px;
	margin-bottom: 0.85rem;
}

.hasztag3d-hero > .hasztag3d-symbol--float {
	position: absolute;
	z-index: 1;
	right: max(1.5rem, calc((100% - 1180px) / 2));
	top: 50%;
	width: min(210px, 24vw);
	transform: translateY(-54%);
	opacity: 0.92;
	pointer-events: none;
}

.hasztag3d-hero > .wp-block-group {
	z-index: 2;
}

.hasztag3d-header .wp-block-navigation a {
	text-decoration: none;
}

.hasztag3d-header .wp-block-navigation a:hover,
.hasztag3d-header .wp-block-navigation a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.hasztag3d-header .wp-block-navigation__responsive-container-open,
.hasztag3d-header .wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

.hasztag3d-header .wp-block-button__link {
	white-space: nowrap;
}

@media (max-width: 1100px) {
	.hasztag3d-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.hasztag3d-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	.hasztag3d-symbol--float {
		display: none;
	}
}

.hasztag3d-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
}

.hasztag3d-header .is-menu-open .wp-block-navigation-item__content {
	padding-top: 0.65rem;
	padding-bottom: 0.65rem;
	font-size: 1.15rem;
}

.wp-block-button__link,
.hasztag3d-submit {
	min-height: 44px;
	padding: 0.7rem 1.15rem;
	text-decoration: none;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--primary);
	border: 2px solid var(--wp--preset--color--primary);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.hasztag3d-hero .is-style-outline .wp-block-button__link,
.hasztag3d-page-hero .is-style-outline .wp-block-button__link {
	color: var(--wp--preset--color--paper);
	border-color: var(--wp--preset--color--paper);
	background: transparent;
}

.hasztag3d-hero .is-style-outline .wp-block-button__link:hover,
.hasztag3d-page-hero .is-style-outline .wp-block-button__link:hover,
.hasztag3d-hero .is-style-outline .wp-block-button__link:focus-visible,
.hasztag3d-page-hero .is-style-outline .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
}

.hasztag3d-cards,
.hasztag3d-steps,
.hasztag3d-quotes {
	display: grid;
	gap: 1.1rem;
}

.hasztag3d-cards {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hasztag3d-cards--3,
.hasztag3d-quotes {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hasztag3d-steps {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hasztag3d-card,
.hasztag3d-step,
.hasztag3d-quote,
.hasztag3d-panel,
.hasztag3d-file-panel {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
}

.hasztag3d-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	overflow: hidden;
	color: inherit;
}

a.hasztag3d-card {
	text-decoration: none;
	color: inherit;
}

.hasztag3d-card:hover,
.hasztag3d-card:focus-visible {
	border-color: var(--wp--preset--color--primary);
}

.hasztag3d-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	background:
		linear-gradient(160deg, rgba(10, 122, 136, 0.12), rgba(107, 79, 255, 0.08)),
		var(--wp--preset--color--paper);
}

.hasztag3d-card__media img,
.hasztag3d-card__media svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hasztag3d-card__body,
.hasztag3d-step,
.hasztag3d-quote,
.hasztag3d-panel,
.hasztag3d-file-panel {
	padding: 1.15rem 1.2rem 1.3rem;
}

.hasztag3d-card h3,
.hasztag3d-step h3,
.hasztag3d-panel h3 {
	margin: 0.35rem 0 0.4rem;
	font-size: 1.2rem;
}

.hasztag3d-card p,
.hasztag3d-step p,
.hasztag3d-panel p,
.hasztag3d-quote p {
	margin: 0;
}

.hasztag3d-icon {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	background: #e5f3f5;
	color: var(--wp--preset--color--primary);
}

.hasztag3d-icon svg,
.hasztag3d-icon svg path {
	width: 1.45rem;
	height: 1.45rem;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hasztag3d-step__num {
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--wp--preset--color--accent);
	line-height: 1;
}

.hasztag3d-price {
	margin-top: 0.75rem;
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-weight: 650;
	color: var(--wp--preset--color--primary);
}

.hasztag3d-badge {
	display: inline-flex;
	align-items: center;
	min-height: 1.6rem;
	padding: 0.1rem 0.55rem;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hasztag3d-badge--stl {
	background: var(--wp--preset--color--accent);
}

.hasztag3d-badge--ghost {
	background: transparent;
	color: var(--wp--preset--color--muted);
	border: 1px solid var(--wp--preset--color--line);
	letter-spacing: 0.04em;
}

.wc-block-components-product-image,
.wp-block-woocommerce-product-image {
	position: relative;
}

.wc-block-components-product-image a {
	display: block;
	overflow: hidden;
	border-radius: 12px;
}

.wc-block-components-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wc-block-components-product-image .hasztag3d-badge,
.wp-block-woocommerce-product-image .hasztag3d-badge {
	position: absolute;
	z-index: 2;
	top: 0.75rem;
	left: 0.75rem;
}

.hasztag3d-note {
	color: var(--wp--preset--color--muted);
	font-size: 0.95rem;
}

.hasztag3d-tech .hasztag3d-panel {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(0, 196, 232, 0.35);
	color: var(--wp--preset--color--paper);
}

.hasztag3d-tech .hasztag3d-panel h3,
.hasztag3d-tech ul.hasztag3d-chips li {
	color: var(--wp--preset--color--paper);
}

.hasztag3d-tech ul.hasztag3d-chips li {
	background: rgba(11, 18, 32, 0.55);
	border-color: rgba(215, 231, 238, 0.55);
}

.hasztag3d-split {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
	gap: 1.5rem;
	align-items: start;
}

.hasztag3d-quote {
	margin: 0;
}

.hasztag3d-quote footer,
.hasztag3d-quote cite {
	display: block;
	margin-top: 1rem;
	font-style: normal;
	font-weight: 650;
	color: var(--wp--preset--color--primary);
}

.hasztag3d-faq .wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 0.35rem 0;
}

.hasztag3d-faq .wp-block-details summary {
	min-height: 44px;
	display: flex;
	align-items: center;
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-weight: 600;
	cursor: pointer;
}

.hasztag3d-form {
	display: grid;
	gap: 0.9rem;
}

.hasztag3d-form__row {
	display: grid;
	gap: 0.9rem;
}

.hasztag3d-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.hasztag3d-field label {
	font-weight: 650;
}

.hasztag3d-req {
	color: var(--wp--preset--color--accent);
}

.hasztag3d-form input[type="text"],
.hasztag3d-form input[type="email"],
.hasztag3d-form input[type="tel"],
.hasztag3d-form input[type="file"],
.hasztag3d-form select,
.hasztag3d-form textarea,
.woocommerce input.input-text,
.woocommerce textarea,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input {
	width: 100%;
	min-height: 44px;
	padding: 0.7rem 0.85rem;
	border: 1px solid #b7c9d1;
	border-radius: 8px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	font: inherit;
	font-size: 1rem;
}

.hasztag3d-form textarea {
	min-height: 8.5rem;
	resize: vertical;
}

.hasztag3d-field--check {
	flex-direction: row;
	align-items: flex-start;
	gap: 0.65rem;
}

.hasztag3d-field--check input {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.2rem;
	accent-color: var(--wp--preset--color--primary);
}

.hasztag3d-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hasztag3d-form__status {
	margin: 0 0 0.5rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
}

.hasztag3d-form__status--ok {
	background: #e7f6f4;
	border: 1px solid var(--wp--preset--color--primary);
}

.hasztag3d-form__status--err {
	background: #fdecee;
	border: 1px solid #9f1239;
}

.hasztag3d-form__note,
.hasztag3d-contact {
	color: var(--wp--preset--color--muted);
	font-size: 0.95rem;
}

.hasztag3d-contact {
	padding: 1.2rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
}

.hasztag3d-contact h2,
.hasztag3d-contact h3 {
	margin-top: 0;
}

.hasztag3d-footer {
	border-top: 1px solid var(--wp--preset--color--line);
}

.hasztag3d-footer a {
	text-decoration: none;
}

.hasztag3d-footer a:hover,
.hasztag3d-footer a:focus-visible {
	text-decoration: underline;
}

.hasztag3d-footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hasztag3d-footer-links li {
	margin: 0.35rem 0;
}

.hasztag3d-legal {
	font-size: 0.875rem;
}

.hasztag3d-legal a {
	color: var(--wp--preset--color--paper);
}

.hasztag3d-mark-3d {
	color: var(--wp--preset--color--cyan);
}

.hasztag3d-file-panel dl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
	gap: 0.75rem;
	margin: 0.9rem 0;
}

.hasztag3d-file-panel dt {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.hasztag3d-file-panel dd {
	margin: 0.15rem 0 0;
	font-weight: 650;
}

.hasztag3d-archive-intro {
	max-width: 40rem;
}

.wp-block-post-title a,
.wp-block-query-title {
	text-decoration: none;
}

.wp-block-post-featured-image img {
	border-radius: 16px;
}

.wp-block-query-pagination {
	margin-top: 1.5rem;
}

.wp-block-query-pagination a,
.page-numbers {
	text-decoration: none;
}

ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.1rem;
	padding: 0;
	list-style: none;
}

ul.products li.product {
	margin: 0;
	padding: 0.75rem 0.75rem 1.1rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
}

ul.products li.product a img {
	border-radius: 12px;
}

.wc-block-product-template,
.wp-block-woocommerce-product-template {
	gap: 1.1rem;
}

.wc-block-product-template > li,
.wp-block-woocommerce-product-template > li {
	padding: 0.75rem 0.75rem 1.15rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
	list-style: none;
}

.wc-block-components-product-price,
.woocommerce div.product p.price,
.woocommerce ul.products li.product .price {
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-weight: 650;
}

.wc-block-components-product-sale-badge,
.onsale {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--white);
	border-radius: 999px;
	border: 0;
}

.wp-block-woocommerce-product-image-gallery {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
	padding: 0.4rem;
}

.woocommerce-tabs ul.tabs,
.wp-block-woocommerce-product-details {
	margin-top: 2rem;
}

.woocommerce table.shop_attributes,
.wc-block-components-product-details {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	padding: 0.7rem 0.4rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
	text-align: left;
}

.wc-block-cart,
.wc-block-checkout,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
	padding-bottom: 2rem;
}

.wc-block-components-button:not(.is-link),
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	border-radius: 8px;
	min-height: 44px;
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-weight: 600;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	border-radius: 12px;
}

.hasztag3d-checkout-header {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.hasztag3d-checkout-note {
	margin: 0;
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-weight: 600;
}

@media (max-width: 900px) {
	.hasztag3d-cards,
	.hasztag3d-cards--3,
	.hasztag3d-steps,
	.hasztag3d-quotes,
	ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hasztag3d-split,
	.hasztag3d-file-panel dl {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 700px) {
	.hasztag3d-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.hasztag3d-cards,
	.hasztag3d-cards--3,
	.hasztag3d-steps,
	.hasztag3d-quotes,
	ul.products {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	.hasztag3d-header__bar {
		flex-wrap: nowrap;
		gap: 0.4rem;
	}

	.hasztag3d-header .wp-block-site-logo,
	.hasztag3d-header .custom-logo-link {
		flex: 1 1 auto;
		min-width: 0;
	}

	.hasztag3d-header .wp-block-site-logo img,
	.hasztag3d-header .hasztag3d-logo svg {
		height: 32px;
	}

	.hasztag3d-symbol--float {
		display: none;
	}

	.hasztag3d-header .wp-block-navigation {
		order: 4;
		margin-left: auto;
	}

	.hasztag3d-header .wp-block-button__link {
		padding: 0.45rem 0.7rem;
		font-size: 0.8125rem;
	}

	.hasztag3d-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
	.hasztag3d-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
	.hasztag3d-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		align-items: flex-start;
		justify-content: flex-start;
	}

	.hasztag3d-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		text-align: left;
	}
}

@media (max-width: 782px) {
	body.admin-bar .hasztag3d-header {
		top: 46px;
	}
}

.hasztag3d-consent-modal__panel {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
	box-shadow: 0 18px 50px rgba(11, 18, 32, 0.18);
}

.hasztag3d-consent {
	position: fixed;
	z-index: 300000;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	margin: 0;
	padding: 0.9rem 0 calc(0.9rem + env(safe-area-inset-bottom, 0px));
	background: #0b1220;
	color: #f0f7fa;
	border: 0;
	box-shadow: none;
}

.hasztag3d-consent[hidden] {
	display: none;
}

.hasztag3d-consent__banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	width: min(1180px, 100%);
	max-height: 40vh;
	overflow: auto;
	margin: 0 auto;
	padding: 0 1.5rem;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.hasztag3d-consent__banner:focus,
.hasztag3d-consent__banner:focus-visible {
	outline: none;
	box-shadow: none;
}

.hasztag3d-consent a,
.hasztag3d-consent .hasztag3d-kicker,
.hasztag3d-consent h2,
.hasztag3d-consent p {
	color: #f0f7fa;
}

.hasztag3d-consent__copy {
	flex: 1 1 auto;
	min-width: 0;
}

.hasztag3d-consent__banner h2,
.hasztag3d-consent-modal__panel h2 {
	margin: 0.15rem 0 0.35rem;
	font-size: 1.15rem;
}

.hasztag3d-consent__banner p {
	margin: 0;
}

.hasztag3d-consent__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-top: 0;
}

.hasztag3d-consent-modal__panel .hasztag3d-consent__actions {
	margin-top: 0.9rem;
}

.hasztag3d-consent__choice,
.hasztag3d-consent__text,
.hasztag3d-consent-modal__close,
.hasztag3d-consent-reopen {
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-weight: 600;
	font-size: 0.875rem;
	cursor: pointer;
}

.hasztag3d-consent__choice {
	flex: 0 1 auto;
	min-height: 44px;
	padding: 0.65rem 0.9rem;
	border: 2px solid var(--wp--preset--color--ink);
	border-radius: 8px;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
}

.hasztag3d-consent .hasztag3d-consent__choice {
	border-color: #f0f7fa;
	background: transparent;
	color: #f0f7fa;
}

.hasztag3d-consent .hasztag3d-consent__choice:hover,
.hasztag3d-consent .hasztag3d-consent__choice:focus-visible {
	background: #f0f7fa;
	color: #0b1220;
}

.hasztag3d-consent-modal .hasztag3d-consent__choice:hover,
.hasztag3d-consent-modal .hasztag3d-consent__choice:focus-visible {
	background: #0b1220;
	color: #f0f7fa;
}

.hasztag3d-consent__text,
.hasztag3d-consent-reopen {
	min-height: 44px;
	padding: 0.4rem 0.2rem;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.hasztag3d-consent .hasztag3d-consent__text {
	color: #f0f7fa;
}

.hasztag3d-legal .hasztag3d-consent-reopen {
	color: var(--wp--preset--color--paper);
	padding: 0;
	min-height: 0;
}

.hasztag3d-consent-modal {
	position: fixed;
	z-index: 300001;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: rgba(11, 18, 32, 0.72);
}

.hasztag3d-consent-modal[hidden] {
	display: none;
}

.hasztag3d-consent-modal__panel {
	position: relative;
	width: min(38rem, 100%);
	max-height: min(88vh, 44rem);
	overflow: auto;
	padding: 1.25rem 1.2rem 1.3rem;
}

.hasztag3d-consent-modal__close {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-size: 1.6rem;
	line-height: 1;
}

.hasztag3d-consent__cats {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
}

.hasztag3d-consent__cats li {
	margin: 0;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.hasztag3d-consent__cats label {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.hasztag3d-consent__cats input {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.2rem;
	accent-color: var(--wp--preset--color--primary);
}

.hasztag3d-consent__cats strong {
	display: block;
	font-family: var(--wp--preset--font-family--space-grotesk);
}

.hasztag3d-consent__status:empty {
	display: none;
}

body.hasztag3d-consent-lock {
	overflow: hidden;
}

html[data-hz-consent="1"] .hasztag3d-consent {
	display: none;
}

@media (max-width: 782px) {
	.hasztag3d-consent {
		padding: 0.7rem 0 calc(0.7rem + env(safe-area-inset-bottom, 0px));
	}

	.hasztag3d-consent__banner {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0.55rem;
		max-height: 38vh;
	}

	.hasztag3d-consent__copy,
	.hasztag3d-consent__actions {
		flex: 0 0 auto;
	}

	.hasztag3d-consent__banner .hasztag3d-kicker {
		display: none;
	}

	.hasztag3d-consent__banner h2 {
		font-size: 1rem;
		margin-bottom: 0.2rem;
	}

	.hasztag3d-consent__banner #hasztag3d-consent-text {
		font-size: 0.875rem;
		line-height: 1.35;
	}

	.hasztag3d-consent__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: stretch;
		gap: 0.4rem 0.5rem;
	}

	.hasztag3d-consent .hasztag3d-consent__choice {
		width: 100%;
		min-height: 44px;
		padding: 0.5rem 0.35rem;
		font-size: 0.8125rem;
	}

	.hasztag3d-consent .hasztag3d-consent__text {
		grid-column: 1 / -1;
		justify-self: center;
		min-height: 0;
		padding: 0.05rem 0 0;
		font-size: 0.8125rem;
	}

	.hasztag3d-consent-modal {
		align-items: end;
		padding: 0;
	}

	.hasztag3d-consent-modal__panel {
		width: 100%;
		max-height: 86vh;
		border-radius: 16px 16px 0 0;
		padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
	}
}

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

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
