/*
Theme Name: Teacher Ania Redesign
Theme URI: https://teacherania.pl/
Author: Teacher Ania
Description: Lekki, responsywny motyw dla Teacher Ania z integracją WooCommerce.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: teacherania
*/

/* Mali, Copyright 2016 Cadson Demak, SIL OFL 1.1. */
@font-face {
	font-family: "Mali";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/mali-600-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Mali";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/mali-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--color-ink: #25231f;
	--color-ink-soft: #5e5a53;
	--color-cream: #fffaf0;
	--color-paper: #fffdf8;
	--color-mint: #a8d8ca;
	--color-mint-light: #dcefe8;
	--color-pink: #efc1c6;
	--color-pink-light: #f8dfe1;
	--color-coral: #f07d6d;
	--color-yellow: #f4cc63;
	--color-blue: #91aec9;
	--color-white: #fff;
	--border: 1.5px solid var(--color-ink);
	--radius-sm: 14px;
	--radius-md: 24px;
	--radius-lg: 44px;
	--shadow: 0 16px 40px rgba(81, 64, 44, 0.1);
	--font-body: "Trebuchet MS", "Segoe UI", sans-serif;
	--font-display: "Mali", "Trebuchet MS", sans-serif;
	--container: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	margin: 0;
	background: var(--color-cream);
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.menu-is-open {
	overflow: hidden;
}

main {
	flex: 1 0 auto;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

svg {
	display: block;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
[type="button"],
[type="submit"] {
	cursor: pointer;
}

button:disabled,
input:disabled {
	cursor: not-allowed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	font-family: var(--font-display);
	font-weight: 700;
	font-synthesis: none;
	line-height: 1.08;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.25rem, 4vw, 3.6rem);
}

h2 {
	font-size: clamp(2.2rem, 5vw, 4rem);
}

h3 {
	font-size: clamp(1.3rem, 2vw, 1.65rem);
}

p {
	margin: 0 0 1.3em;
}

::selection {
	background: var(--color-yellow);
	color: var(--color-ink);
}

:focus-visible {
	outline: 3px solid var(--color-coral);
	outline-offset: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--color-white);
	color: var(--color-ink);
	font-weight: 700;
}

.site-container {
	width: min(calc(100% - 40px), var(--container));
	margin-inline: auto;
}

.site-container--narrow {
	max-width: 960px;
}

.site-container--content {
	max-width: 820px;
}

.section {
	padding-block: clamp(64px, 9vw, 120px);
}

.icon {
	width: 1.35em;
	height: 1.35em;
	flex: 0 0 auto;
}

.eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	color: var(--color-ink-soft);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 11px 22px;
	border: var(--border);
	border-radius: 999px;
	box-shadow: none;
	color: var(--color-ink);
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.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 {
	transform: translateY(-2px);
	box-shadow: 3px 4px 0 var(--color-ink);
	color: var(--color-ink);
}

.button:active,
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active,
.woocommerce #respond input#submit:active {
	transform: translateY(0);
	box-shadow: 1px 2px 0 var(--color-ink);
}

.button--mint,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--color-mint);
}

.button--coral {
	background: var(--color-coral);
}

.button--yellow {
	background: var(--color-yellow);
}

.button--paper {
	background: var(--color-paper);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.88rem;
	font-weight: 800;
	text-decoration: none;
}

.text-link .icon {
	transition: transform 180ms ease;
}

.text-link:hover .icon,
.text-link:focus-visible .icon {
	transform: translateX(4px);
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid transparent;
	background: var(--color-cream);
	transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.site-header.is-scrolled {
	border-bottom-color: rgba(37, 35, 31, 0.14);
	background: var(--color-paper);
	box-shadow: 0 9px 28px rgba(65, 52, 38, 0.14);
}

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

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	align-items: center;
	gap: 28px;
	min-height: 72px;
	transition: min-height 260ms ease;
}

.site-header.is-scrolled .site-header__inner {
	min-height: 62px;
}

.site-branding {
	position: relative;
	z-index: 2;
	transform-origin: left center;
	transition: transform 260ms ease;
}

.site-header.is-scrolled .site-branding {
	transform: scale(0.82);
}

.custom-logo-link,
.custom-logo,
.site-logo,
.site-logo img {
	display: block;
}

.custom-logo,
.site-logo img {
	width: auto;
	max-width: 220px;
	max-height: 64px;
}

.site-logo {
	position: relative;
	width: fit-content;
	line-height: 1;
	text-decoration: none;
}

.site-title {
	display: inline-flex;
	align-items: flex-start;
	gap: 5px;
	font-family: var(--font-display);
	font-size: clamp(1.55rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.site-title span {
	color: var(--color-coral);
	font-size: 0.55em;
	transform-origin: center;
	transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
	will-change: transform;
}

.site-header.is-scrolled .site-title span {
	transform: rotate(270deg);
}

.primary-navigation {
	justify-self: center;
}

.menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: clamp(18px, 3vw, 34px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation a {
	position: relative;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
}

.primary-navigation a::after {
	position: absolute;
	right: 0;
	bottom: -5px;
	left: 0;
	height: 2px;
	background: var(--color-coral);
	content: "";
	transform: scaleX(0);
	transition: transform 180ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation .current-menu-item > a::after {
	transform: scaleX(1);
}

.primary-navigation .astm-search-menu {
	display: none !important;
}

.header-cart {
	position: relative;
	display: grid;
	width: 45px;
	height: 45px;
	place-items: center;
	border: var(--border);
	border-radius: 50%;
	background: var(--color-yellow);
	text-decoration: none;
}

.header-cart__count {
	position: absolute;
	top: -7px;
	right: -7px;
	display: grid;
	min-width: 21px;
	height: 21px;
	padding: 0 4px;
	place-items: center;
	border: 1px solid var(--color-ink);
	border-radius: 50%;
	background: var(--color-paper);
	font-size: 0.68rem;
	font-weight: 800;
}

.header-search-toggle {
	display: grid;
	width: 45px;
	height: 45px;
	padding: 0;
	place-items: center;
	border: var(--border);
	border-radius: 50%;
	background: var(--color-paper);
	transition: background 180ms ease, transform 180ms ease;
}

.header-search-toggle .icon {
	width: 19px;
	height: 19px;
}

.header-search-toggle:hover,
.header-search-toggle[aria-expanded="true"] {
	background: var(--color-yellow);
}

.header-search {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	padding-block: 14px;
	border-bottom: 1px solid rgba(37, 35, 31, 0.12);
	background: var(--color-paper);
	box-shadow: 0 18px 30px rgba(65, 52, 38, 0.12);
}

.header-search .search-form {
	max-width: 560px;
	margin: 0 auto;
}

.menu-toggle {
	display: none;
	width: 45px;
	height: 45px;
	padding: 0;
	place-items: center;
	border: var(--border);
	border-radius: 50%;
	background: var(--color-paper);
}

.menu-toggle__close {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
	display: block;
}

/* Hero */
.hero {
	padding-top: clamp(24px, 3vw, 42px);
	padding-bottom: clamp(8px, 1.5vw, 24px);
	overflow: hidden;
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(390px, 0.88fr);
	align-items: center;
	gap: clamp(30px, 5vw, 68px);
}

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

.hero__title {
	max-width: 680px;
	margin-bottom: 42px;
	font-size: clamp(2.65rem, 4.4vw, 4rem);
}

.hero__title::before {
	display: inline-flex;
	width: fit-content;
	margin-bottom: 12px;
	padding: 6px 11px 7px;
	border: 0;
	border-radius: 14px 12px 15px 11px;
	background: rgba(244, 204, 99, 0.74);
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: 0.68rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	content: "Materiały dla nauczycieli przedszkola";
	transform: rotate(-1.2deg);
}

.hero__title-line {
	position: relative;
	display: block;
	width: fit-content;
	white-space: nowrap;
}

.hero__title-underline {
	position: absolute;
	top: calc(100% - 2px);
	left: 1%;
	width: 98%;
	height: 30px;
	overflow: visible;
	pointer-events: none;
}

.hero__title-underline path {
	fill: none;
	stroke: var(--color-coral);
	stroke-width: 7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hero__title-underline path:last-child {
	stroke-width: 4.5;
	opacity: 0.7;
}

.hero__lead {
	max-width: 510px;
	margin-bottom: 20px;
	color: var(--color-ink-soft);
	font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.search-form {
	max-width: 500px;
	margin: 0 0 18px;
}

.search-form label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 17px;
	border: var(--border);
	border-radius: 999px;
	background: var(--color-white);
}

.search-form .icon {
	width: 19px;
	height: 19px;
	color: var(--color-ink-soft);
}

.search-field {
	width: 100%;
	padding: 10px 0;
	border: 0;
	outline: 0;
	background: transparent;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.hero__main-cta {
	min-height: 52px;
	padding: 14px 28px;
	box-shadow: 4px 5px 0 var(--color-ink);
	font-size: 1rem;
}

.hero__main-cta:hover,
.hero__main-cta:focus-visible {
	box-shadow: 5px 7px 0 var(--color-ink);
}

.hero__proof {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 0;
	color: var(--color-ink-soft);
	font-size: 0.85rem;
	font-weight: 700;
}

.hero__proof .icon {
	width: 17px;
	height: 17px;
	color: var(--color-coral);
}

.hero__visual {
	position: relative;
	min-height: 390px;
}

.hero__blob {
	position: absolute;
	inset: 3% 2% 2% 4%;
	z-index: 1;
	border-radius: 43% 57% 65% 35% / 45% 42% 58% 55%;
	background: var(--color-mint-light);
	transform: rotate(-3deg);
}

.hero__custom-image {
	position: absolute;
	inset: 3% 2% 2% 4%;
	z-index: 2;
	width: 94%;
	height: 95%;
	border-radius: 43% 57% 65% 35% / 45% 42% 58% 55%;
	object-fit: cover;
	object-position: center top;
	transform: rotate(-3deg);
}

.hero-collage {
	position: absolute;
	inset: 7% 7% 5%;
}

.hero-collage__item {
	position: absolute;
	display: block;
	overflow: hidden;
	border: 3px solid var(--color-paper);
	background: var(--color-paper);
	box-shadow: var(--shadow);
	transition: transform 220ms ease;
}

.hero-collage__item:hover {
	z-index: 5;
	transform: rotate(0) scale(1.04);
}

.hero-collage__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-collage__item--1 {
	top: 17%;
	left: 4%;
	z-index: 2;
	width: 60%;
	height: 36%;
	border-radius: 28px 46px 32px 42px / 34px 38px 28px 44px;
	transform: rotate(-5deg);
}

.hero-collage__item--2 {
	top: 8%;
	right: 1%;
	width: 42%;
	height: 27%;
	border-radius: 38px 24px 42px 26px / 26px 38px 28px 42px;
	transform: rotate(6deg);
}

.hero-collage__item--3 {
	right: 4%;
	bottom: 18%;
	z-index: 3;
	width: 50%;
	height: 30%;
	border-radius: 30px 42px 26px 46px / 42px 28px 40px 30px;
	transform: rotate(3deg);
}

.hero-collage__empty {
	position: absolute;
	inset: 20%;
	display: grid;
	place-items: center;
	border: 2px dashed var(--color-ink);
	border-radius: 50%;
	font-family: var(--font-display);
	font-size: 2rem;
}

.hero-collage__empty .icon {
	width: 70px;
	height: 70px;
	color: var(--color-yellow);
}

.doodle {
	position: absolute;
	z-index: 4;
	font-family: var(--font-display);
	font-size: 3rem;
	line-height: 1;
}

.doodle--star {
	top: 1%;
	left: 9%;
	color: var(--color-yellow);
	transform: rotate(-10deg);
}

.doodle--heart {
	right: 0;
	bottom: 23%;
	color: var(--color-coral);
	transform: rotate(12deg);
}

.doodle--pencil {
	left: 3%;
	bottom: 5%;
	color: var(--color-blue);
	transform: rotate(-22deg);
}

/* Categories */
.category-strip {
	padding-block: 8px 18px;
}

.category-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(12px, 2.5vw, 26px);
}

.category-pill {
	--pill-color: #eadfc5;
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 132px;
	min-height: 52px;
	padding: 9px 22px;
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 1.7vw, 1.35rem);
	font-weight: 700;
	text-decoration: none;
	transform: rotate(-1deg);
	transition: transform 180ms ease;
}

.category-pill::before,
.category-pill::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--pill-color);
	content: "";
}

.category-pill::before {
	clip-path: polygon(2% 18%, 10% 13%, 19% 15%, 31% 8%, 43% 11%, 56% 5%, 71% 10%, 85% 7%, 97% 14%, 95% 27%, 100% 41%, 97% 56%, 99% 72%, 94% 87%, 79% 89%, 65% 95%, 49% 91%, 34% 96%, 18% 90%, 5% 93%, 7% 80%, 2% 67%, 4% 53%, 0 39%);
}

.category-pill::after {
	inset: 6px -4px 5px 3px;
	z-index: -2;
	opacity: 0.35;
	clip-path: polygon(0 27%, 9% 20%, 22% 24%, 36% 14%, 52% 20%, 67% 12%, 82% 18%, 100% 12%, 97% 36%, 100% 58%, 95% 79%, 80% 75%, 65% 87%, 46% 80%, 30% 89%, 13% 82%, 2% 88%, 5% 63%);
}

.category-pill:nth-child(even) {
	transform: rotate(1deg);
}

.category-pill:nth-child(even)::before {
	clip-path: polygon(1% 24%, 8% 13%, 23% 17%, 35% 9%, 51% 13%, 66% 7%, 80% 13%, 96% 9%, 98% 25%, 95% 39%, 100% 54%, 96% 68%, 98% 85%, 82% 89%, 68% 86%, 52% 95%, 37% 89%, 22% 94%, 8% 88%, 3% 74%, 5% 59%, 0 43%);
}

.category-pill:hover {
	transform: rotate(0) translateY(-4px);
}

.category-pill--mint { --pill-color: var(--color-mint); }
.category-pill--pink { --pill-color: var(--color-pink); }
.category-pill--yellow { --pill-color: var(--color-yellow); }
.category-pill--blue { --pill-color: var(--color-blue); }
.category-pill--coral { --pill-color: var(--color-coral); }
.category-pill--cream { --pill-color: #eadfc5; }

/* Sections and cards */
.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading h2 {
	margin-bottom: 0;
	font-size: clamp(2.15rem, 3.8vw, 3.2rem);
}

.section-heading--center {
	justify-content: center;
	text-align: center;
}

.materials {
	padding-top: 32px;
	padding-bottom: clamp(38px, 4.5vw, 58px);
}

.materials-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(22px, 3vw, 34px);
}

.material-card {
	position: relative;
	grid-column: span 2;
	min-width: 0;
	padding: 9px;
	border: 1px solid rgba(37, 35, 31, 0.1);
	border-radius: 25px;
	background: var(--color-paper);
	box-shadow: 0 9px 24px rgba(65, 52, 38, 0.07);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.material-card:nth-child(3n+1) {
	transform: rotate(-0.25deg);
}

.material-card:nth-child(3n+2) {
	transform: translateY(8px) rotate(0.35deg);
}

.material-card:nth-child(3n) {
	transform: rotate(-0.15deg);
}

.material-card:hover,
.material-card:focus-within {
	border-color: rgba(37, 35, 31, 0.22);
	box-shadow: 0 15px 34px rgba(65, 52, 38, 0.12);
	transform: translateY(-4px) rotate(0deg);
}

.material-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--color-ink);
	text-decoration: none;
}

.material-card__link:focus-visible {
	outline: 0;
}

.material-card:focus-within {
	outline: 3px solid rgba(240, 125, 109, 0.58);
	outline-offset: 4px;
}

.material-card:nth-last-child(2):nth-child(3n+1) {
	grid-column: 2 / span 2;
}

.material-card:last-child:nth-child(3n+1) {
	grid-column: 3 / span 2;
}

.material-card__image {
	position: relative;
	display: block;
	overflow: hidden;
	padding: 4px;
	border: 1px solid rgba(37, 35, 31, 0.08);
	border-radius: 20px 16px 20px 17px;
	background: var(--card-color);
}

.material-card__image::after {
	position: absolute;
	top: 10px;
	right: 10px;
	display: grid;
	width: 26px;
	height: 26px;
	place-items: center;
	border: 1px solid rgba(37, 35, 31, 0.18);
	border-radius: 50%;
	background: rgba(255, 253, 248, 0.86);
	color: var(--color-ink);
	font-family: var(--font-display);
	font-size: 1rem;
	line-height: 1;
	content: "↗";
	opacity: 0;
	transform: translateY(4px) rotate(-8deg);
	transition: opacity 180ms ease, transform 180ms ease;
}

.material-card:hover .material-card__image::after,
.material-card:focus-within .material-card__image::after {
	opacity: 1;
	transform: translateY(0) rotate(-8deg);
}

.material-card:nth-child(3n+2) .material-card__image {
	border-radius: 16px 21px 17px 20px;
}

.material-card__image img {
	width: 100%;
	height: auto;
	border-radius: 15px;
	transition: opacity 180ms ease;
}

.material-card:hover .material-card__image img,
.material-card:focus-within .material-card__image img {
	opacity: 0.93;
}

.material-card--mint { --card-color: var(--color-mint); }
.material-card--pink { --card-color: var(--color-pink); }
.material-card--coral { --card-color: var(--color-coral); }
.material-card--yellow { --card-color: var(--color-yellow); }
.material-card--blue { --card-color: var(--color-blue); }

.material-card__placeholder {
	display: grid;
	width: 100%;
	aspect-ratio: 40 / 21;
	place-items: center;
	border: 2px dashed rgba(37, 35, 31, 0.4);
	border-radius: inherit;
	background:
		radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.7) 0 7px, transparent 8px),
		radial-gradient(circle at 72% 68%, rgba(255, 255, 255, 0.58) 0 10px, transparent 11px),
		var(--card-color, var(--color-mint));
	color: var(--color-ink);
}

.material-card__placeholder .icon {
	width: 54px;
	height: 54px;
}

.material-card__body {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 15px 48px 10px 9px;
	text-align: left;
}

.material-card__meta {
	display: block;
	margin-bottom: 6px;
	color: var(--color-ink-soft);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.material-card h3 {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.05rem;
	line-height: 1.3;
	text-wrap: balance;
}

.material-card__arrow {
	position: absolute;
	right: 6px;
	bottom: 8px;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 1px solid var(--color-ink);
	border-radius: 50%;
	background: var(--card-color);
	transition: transform 180ms ease;
}

.material-card__arrow .icon {
	width: 17px;
	height: 17px;
}

.material-card:hover .material-card__arrow,
.material-card:focus-within .material-card__arrow {
	transform: translateX(3px);
}

/* Shop feature */
.shop-news {
	position: relative;
	margin-top: 30px;
	padding: clamp(20px, 2.5vw, 32px) 0 clamp(56px, 6.5vw, 84px);
	background: var(--color-pink-light);
}

.shop-news__wave {
	position: absolute;
	right: 0;
	left: 0;
	height: clamp(42px, 5.5vw, 72px);
	pointer-events: none;
}

.shop-news__wave--top {
	top: clamp(-69px, calc(-5.5vw + 3px), -39px);
}

.shop-news__wave--bottom {
	bottom: clamp(-71px, -5.5vw, -41px);
	transform: rotate(180deg);
}

.shop-news__wave svg {
	display: block;
	width: 100%;
	height: 100%;
}

.shop-news__wave path {
	fill: var(--color-pink-light);
}

.shop-news__hint {
	display: none;
}

.shop-news__cta {
	margin-top: clamp(30px, 4vw, 44px);
	text-align: center;
}

.shop-news .products,
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 42px);
	margin: 0 !important;
}

.shop-news .products::before,
.shop-news .products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 14px 14px 20px;
	border: 1px solid rgba(37, 35, 31, 0.08);
	border-radius: 26px;
	background: var(--color-paper);
	box-shadow: 0 10px 25px rgba(62, 45, 34, 0.08);
	text-align: center;
	transition: transform 200ms ease, box-shadow 200ms ease;
}

.woocommerce ul.products li.product:nth-child(5n+1) { --product-accent: var(--color-yellow); }
.woocommerce ul.products li.product:nth-child(5n+2) { --product-accent: var(--color-pink); }
.woocommerce ul.products li.product:nth-child(5n+3) { --product-accent: var(--color-coral); }
.woocommerce ul.products li.product:nth-child(5n+4) { --product-accent: var(--color-mint); }
.woocommerce ul.products li.product:nth-child(5n) { --product-accent: var(--color-blue); }

.woocommerce ul.products li.product::after,
.wc-block-grid__product::after,
.woocommerce .wc-block-grid__product::after {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 2;
	padding: 5px 9px;
	border: 1px solid rgba(37, 35, 31, 0.16);
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.9);
	box-shadow: 2px 3px 0 rgba(37, 35, 31, 0.08);
	color: var(--color-ink);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1;
	content: "PDF";
	transform: rotate(-4deg);
}

.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product:focus-within {
	transform: translateY(-5px) rotate(-0.4deg);
	box-shadow: var(--shadow);
}

.woocommerce ul.products li.product a img {
	aspect-ratio: 4 / 3;
	width: 100%;
	margin: 0 0 16px !important;
	padding: 8px;
	border-radius: 18px;
	background: var(--product-accent, var(--color-mint));
	object-fit: contain;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0 !important;
	font-family: var(--font-body);
	font-size: 1.05rem !important;
	line-height: 1.35;
	text-wrap: balance;
}

.woocommerce ul.products li.product .price {
	color: var(--color-ink) !important;
	font-size: 0.95rem !important;
	font-weight: 800;
}

.woocommerce ul.products li.product .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin-top: 10px;
	padding: 9px 18px !important;
	border: 1.5px solid rgba(37, 35, 31, 0.72) !important;
	border-radius: 999px !important;
	background: var(--color-mint) !important;
	box-shadow: 2px 3px 0 rgba(37, 35, 31, 0.12);
	color: var(--color-ink) !important;
	font-size: 0.84rem !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:focus-visible {
	background: var(--color-mint-light) !important;
	box-shadow: 2px 3px 0 var(--color-ink);
	transform: translate(-1px, -1px);
}

.wc-block-grid__products,
.woocommerce .wc-block-grid__products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(18px, 3vw, 30px);
	margin: 0;
	padding: 0;
}

.wc-block-grid__product,
.woocommerce .wc-block-grid__product {
	position: relative;
	max-width: none !important;
	padding: 14px 14px 20px;
	border: 1px solid rgba(37, 35, 31, 0.08) !important;
	border-radius: 26px;
	background: var(--color-paper);
	box-shadow: 0 10px 25px rgba(62, 45, 34, 0.08);
	text-align: center;
	transition: transform 200ms ease, box-shadow 200ms ease;
}

.wc-block-grid__product:nth-child(5n+1),
.woocommerce .wc-block-grid__product:nth-child(5n+1) { --product-accent: var(--color-yellow); }
.wc-block-grid__product:nth-child(5n+2),
.woocommerce .wc-block-grid__product:nth-child(5n+2) { --product-accent: var(--color-pink); }
.wc-block-grid__product:nth-child(5n+3),
.woocommerce .wc-block-grid__product:nth-child(5n+3) { --product-accent: var(--color-coral); }
.wc-block-grid__product:nth-child(5n+4),
.woocommerce .wc-block-grid__product:nth-child(5n+4) { --product-accent: var(--color-mint); }
.wc-block-grid__product:nth-child(5n),
.woocommerce .wc-block-grid__product:nth-child(5n) { --product-accent: var(--color-blue); }

.wc-block-grid__product:hover,
.wc-block-grid__product:focus-within,
.woocommerce .wc-block-grid__product:hover,
.woocommerce .wc-block-grid__product:focus-within {
	box-shadow: var(--shadow);
	transform: translateY(-5px) rotate(-0.4deg);
}

.wc-block-grid__product-image img,
.woocommerce .wc-block-grid__product-image img {
	aspect-ratio: 4 / 3;
	width: 100%;
	padding: 8px;
	border-radius: 18px;
	background: var(--product-accent, var(--color-mint));
	object-fit: contain;
}

.woocommerce ul.products li.product img.woocommerce-placeholder,
.woocommerce .woocommerce-product-gallery img.woocommerce-placeholder,
.wc-block-grid__product-image img.woocommerce-placeholder,
.woocommerce .wc-block-grid__product-image img.woocommerce-placeholder {
	background:
		linear-gradient(rgba(255, 253, 248, 0.34) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 253, 248, 0.34) 1px, transparent 1px),
		radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.62) 0 18px, transparent 19px),
		radial-gradient(circle at 72% 72%, rgba(255, 255, 255, 0.48) 0 26px, transparent 27px),
		linear-gradient(135deg, var(--product-accent, var(--color-mint)) 0%, var(--color-mint-light) 100%);
	background-size: 18px 18px, 18px 18px, auto, auto, auto;
	opacity: 1;
}

.woocommerce ul.products li.product:has(img.woocommerce-placeholder)::before,
.wc-block-grid__product:has(img.woocommerce-placeholder)::before {
	position: absolute;
	top: 42px;
	left: 50%;
	z-index: 2;
	width: max-content;
	max-width: calc(100% - 42px);
	padding: 5px 10px;
	border: 1px solid rgba(37, 35, 31, 0.18);
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.84);
	color: var(--color-ink);
	font-size: 0.7rem;
	font-weight: 800;
	line-height: 1;
	content: "Podgląd wkrótce";
	transform: translateX(-50%) rotate(-1deg);
}

.woocommerce ul.products li.product:has(img.woocommerce-placeholder)::after,
.wc-block-grid__product:has(img.woocommerce-placeholder)::after,
.woocommerce .wc-block-grid__product:has(img.woocommerce-placeholder)::after {
	display: none;
}

.wc-block-grid__product-title,
.woocommerce .wc-block-grid__product-title {
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.32;
}

.wc-block-grid__product-price,
.woocommerce .wc-block-grid__product-price {
	color: var(--color-ink);
	font-weight: 800;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link,
.woocommerce .wc-block-grid__product-add-to-cart .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	border: var(--border);
	border-radius: 999px;
	background: var(--color-mint) !important;
	color: var(--color-ink) !important;
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}

.woocommerce span.onsale {
	top: 10px !important;
	right: 10px !important;
	left: auto !important;
	z-index: 2;
	min-width: 54px;
	min-height: 32px;
	padding: 5px 9px;
	border: 1px solid var(--color-ink);
	border-radius: 999px;
	background: var(--color-coral);
	color: var(--color-ink);
	font-size: 0.72rem;
	line-height: 20px;
}

/* Testimonials */
.testimonials {
	padding-top: clamp(62px, 7vw, 92px);
	padding-bottom: clamp(32px, 5vw, 58px);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(22px, 4vw, 50px);
	max-width: 900px;
	margin: 0 auto;
}

.testimonial {
	position: relative;
	margin: 0;
	padding: 28px 32px;
	border-radius: 45px 24px 42px 25px;
	background: var(--color-mint-light);
	transform: rotate(-1deg);
}

.testimonial:nth-child(even) {
	background: var(--color-pink-light);
	transform: rotate(1deg);
}

.testimonial::after {
	position: absolute;
	right: 55px;
	bottom: -15px;
	width: 35px;
	height: 30px;
	background: inherit;
	clip-path: polygon(0 0, 100% 0, 80% 100%);
	content: "";
}

.testimonial::before {
	position: absolute;
	top: 12px;
	right: 24px;
	color: rgba(37, 35, 31, 0.08);
	font-family: Georgia, serif;
	font-size: 4.4rem;
	font-weight: 700;
	line-height: 1;
	content: "”";
	pointer-events: none;
	transform: rotate(6deg);
}

.testimonial__stars {
	position: relative;
	z-index: 1;
	margin-bottom: 9px;
	color: #d99b19;
	font-size: 1rem;
	letter-spacing: 0.08em;
}

.testimonial p {
	position: relative;
	z-index: 1;
	margin-bottom: 17px;
	font-size: 1rem;
}

.testimonial footer {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 11px;
}

.testimonial .avatar {
	border-radius: 50%;
}

.testimonial__avatar {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border: var(--border);
	border-radius: 50%;
	background: var(--color-paper);
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1;
}

.testimonial cite {
	font-size: 0.82rem;
	font-style: normal;
	font-weight: 800;
}

/* Newsletter */
.newsletter {
	padding-top: 18px;
	padding-bottom: 30px;
	overflow: visible;
}

.newsletter__box {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding: 28px clamp(70px, 9vw, 120px) 36px;
	text-align: center;
}

.newsletter__shape {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.newsletter__shape path {
	fill: var(--color-yellow);
}

.newsletter__box > div:first-of-type {
	position: relative;
	z-index: 2;
}

.newsletter h2 {
	margin-bottom: 6px;
	font-size: clamp(2rem, 3vw, 2.55rem);
	white-space: nowrap;
}

.newsletter p {
	max-width: 520px;
	margin: 0 auto 16px;
}

.newsletter__note {
	position: relative;
	z-index: 2;
	margin: 12px auto 0;
	color: var(--color-ink-soft);
	font-size: 0.78rem;
	font-weight: 700;
	text-align: center;
}

.newsletter__placeholder,
.newsletter-widget form,
.newsletter-widget .mailerlite-form-field {
	display: flex;
	align-items: center;
	gap: 10px;
}

.newsletter__form {
	position: relative;
	z-index: 2;
	max-width: 570px;
	margin: 0 auto;
}

.newsletter .mailerlite-form-title,
.newsletter .mailerlite-form-description {
	display: none !important;
}

.newsletter .mailerlite-form,
.newsletter .mailerlite-form form {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.newsletter .mailerlite-form-inputs {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
}

.newsletter .mailerlite-form-field {
	position: relative;
	flex: 1 1 auto;
	margin: 0;
}

.newsletter .mailerlite-form-field input[type="email"],
.newsletter .mailerlite-form-field input[type="text"],
.newsletter .mailerlite-form-field input[type="number"] {
	width: 100%;
	height: 46px;
	min-height: 46px;
	margin: 0;
	padding: 10px 18px;
	border: 1.5px solid var(--color-ink);
	border-radius: 999px;
	outline: 0;
	background: var(--color-paper);
	box-shadow: none;
	color: var(--color-ink);
	line-height: 1.2;
	transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.newsletter .mailerlite-form-field input::placeholder {
	color: #8a857c;
	opacity: 1;
}

.newsletter .mailerlite-form-field input:focus {
	border-color: var(--color-ink);
	background: var(--color-white);
	box-shadow: 0 0 0 4px rgba(255, 253, 248, 0.52);
}

.newsletter .mailerlite-form-field input.error {
	border-color: #a8382f;
	color: var(--color-ink);
	box-shadow: 0 0 0 3px rgba(168, 56, 47, 0.13);
}

.newsletter .mailerlite-form-field label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.newsletter .mailerlite-subscribe-button-container {
	flex: 0 0 auto;
	margin: 0;
}

.newsletter .mailerlite-subscribe-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 112px;
	min-height: 46px;
	margin: 0;
	padding: 10px 21px;
	border: var(--border);
	border-radius: 999px;
	background: var(--color-coral);
	box-shadow: none;
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.newsletter .mailerlite-subscribe-submit:hover,
.newsletter .mailerlite-subscribe-submit:focus-visible {
	background: #f48b7d;
	box-shadow: 3px 4px 0 var(--color-ink);
	transform: translate(-2px, -2px);
}

.newsletter .mailerlite-subscribe-submit:disabled {
	cursor: wait;
	opacity: 0.58;
	box-shadow: none;
	transform: none;
}

.newsletter .mailerlite-form-error {
	display: block;
	margin: 5px 0 0 15px;
	color: #8e2f28;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
}

.newsletter .mailerlite-form-loader {
	align-self: center;
	margin: 0 10px;
	color: var(--color-ink);
	font-size: 0.8rem;
	font-weight: 700;
}

.newsletter .mailerlite-form-response {
	margin: 0;
	color: var(--color-ink) !important;
	text-align: center;
}

.newsletter .mailerlite-form-response h4 {
	margin: 5px 0 0;
	font-family: var(--font-body);
	font-size: 1rem;
}

.newsletter .mailerlite-form-response * {
	color: var(--color-ink) !important;
}

/* MailerLite forms created in the MailerLite embedded-form editor. */
.newsletter .ml-embedded,
.newsletter .ml-form-embed,
.newsletter .ml-form-embedContainer,
.newsletter .ml-form-align-center,
.newsletter .ml-form-align-default {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.newsletter .ml-form-embedWrapper,
.newsletter .ml-form-embedWrapper.embedForm {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.newsletter .ml-form-embedBody,
.newsletter .ml-form-successBody {
	padding: 0 !important;
}

.newsletter .ml-form-embedContent {
	display: none !important;
}

.newsletter form.ml-block-form {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.newsletter .ml-form-formContent {
	flex: 1 1 auto !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

.newsletter .ml-form-fieldRow,
.newsletter .ml-field-group {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.newsletter .ml-field-group label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.newsletter .ml-field-group input,
.newsletter .ml-form-embedBody input[type="email"],
.newsletter .ml-form-embedBody input[type="text"] {
	width: 100% !important;
	height: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 10px 18px !important;
	border: 1.5px solid var(--color-ink) !important;
	border-radius: 999px !important;
	outline: 0 !important;
	background: var(--color-paper) !important;
	box-shadow: none !important;
	color: var(--color-ink) !important;
	font-family: var(--font-body) !important;
	font-size: 0.92rem !important;
	line-height: 1.2 !important;
}

.newsletter .ml-field-group input:focus {
	background: var(--color-white) !important;
	box-shadow: 0 0 0 4px rgba(255, 253, 248, 0.52) !important;
}

.newsletter .ml-form-embedSubmit {
	flex: 0 0 auto !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

.newsletter .ml-form-embedSubmit button {
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 112px !important;
	height: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 10px 21px !important;
	border: var(--border) !important;
	border-radius: 999px !important;
	background: var(--color-coral) !important;
	box-shadow: none !important;
	color: var(--color-ink) !important;
	font-family: var(--font-body) !important;
	font-size: 0.88rem !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease !important;
}

.newsletter .ml-form-embedSubmit button:hover,
.newsletter .ml-form-embedSubmit button:focus-visible {
	background: #f48b7d !important;
	box-shadow: 3px 4px 0 var(--color-ink) !important;
	transform: translate(-2px, -2px);
}

.newsletter .ml-form-embedSubmit button.loading {
	min-width: 112px !important;
	box-shadow: none !important;
	transform: none !important;
}

.newsletter .ml-form-successContent {
	margin: 0 !important;
	padding: 4px 0 !important;
	text-align: center !important;
}

.newsletter .ml-form-successContent h4,
.newsletter .ml-form-successContent p {
	margin: 0 !important;
	color: var(--color-ink) !important;
	font-family: var(--font-body) !important;
}

.newsletter .ml-error input {
	border-color: #8e2f28 !important;
	box-shadow: 0 0 0 3px rgba(142, 47, 40, 0.13) !important;
}

/*
 * The MailerLite universal embed injects a <style> block in the body with
 * #mlb2-… ID selectors, so these repeats of the rules above need an ID of
 * their own (plus one extra class) to win the cascade.
 */
#newsletter.newsletter .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow .ml-field-group input {
	height: 46px !important;
	min-height: 46px !important;
	padding: 10px 18px !important;
	border: 1.5px solid var(--color-ink) !important;
	border-radius: 999px !important;
	background: var(--color-paper) !important;
	box-shadow: none !important;
	color: var(--color-ink) !important;
	font-family: var(--font-body) !important;
	font-size: 0.92rem !important;
	line-height: 1.2 !important;
}

#newsletter.newsletter .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow .ml-field-group input:focus {
	background: var(--color-white) !important;
	box-shadow: 0 0 0 4px rgba(255, 253, 248, 0.52) !important;
}

#newsletter.newsletter .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.newsletter-submit {
	height: 46px !important;
	min-height: 46px !important;
	padding: 10px 21px !important;
	border-width: 1.5px !important;
	border-style: solid !important;
	border-radius: 999px !important;
	font-family: var(--font-body) !important;
	font-size: 0.88rem !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
}

.newsletter .button,
.newsletter button,
.newsletter input[type="submit"] {
	white-space: nowrap;
}

.newsletter input[type="email"],
.newsletter input[type="text"] {
	width: 100%;
	min-height: 46px;
	padding: 10px 16px;
	border: var(--border);
	border-radius: 999px;
	background: var(--color-paper);
}

.newsletter__envelope,
.newsletter__plane {
	position: absolute;
	z-index: 3;
	transform: rotate(-12deg);
}

.newsletter__envelope {
	bottom: -20px;
	left: -18px;
	width: 56px;
}

.newsletter__envelope .icon {
	width: 56px;
	height: 56px;
}

.newsletter__plane {
	top: -54px;
	right: -34px;
	width: 88px;
	color: var(--color-ink);
	transform: rotate(8deg);
}

.newsletter__plane .icon {
	width: 88px;
	height: 88px;
	stroke-width: 3;
}

.newsletter__flight-path,
.newsletter__mail-path {
	position: absolute;
	z-index: 1;
	overflow: visible;
	pointer-events: none;
}

.newsletter__flight-path {
	top: -48px;
	right: -72px;
	width: 250px;
	height: 164px;
}

.newsletter__mail-path {
	bottom: -12px;
	left: -86px;
	width: 142px;
	height: 62px;
}

.newsletter__flight-path path,
.newsletter__mail-path path {
	fill: none;
	stroke: var(--color-ink);
	stroke-width: 2.1;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 4 9;
}

/* Final MailerLite normalization: keep the plugin, but force the custom mockup layout. */
.newsletter__box {
	max-width: 880px;
	padding: 34px clamp(74px, 9vw, 120px) 42px;
}

.newsletter__shape {
	inset: -8px -18px -12px;
	width: calc(100% + 36px);
	height: calc(100% + 20px);
}

.newsletter__form {
	max-width: 430px;
}

.newsletter .mailerlite-form-inputs .mailerlite-form-field:not(:first-child),
.newsletter form.ml-block-form .ml-form-formContent .ml-form-fieldRow:not(:first-child),
.newsletter form.ml-block-form .ml-form-formContent .ml-form-fieldRow:nth-child(n+2) {
	display: none !important;
}

.newsletter .newsletter__placeholder,
.newsletter .mailerlite-form-inputs,
.newsletter form.ml-block-form {
	align-items: center !important;
	flex-direction: row !important;
	gap: 10px !important;
}

.newsletter .mailerlite-form-field,
.newsletter .ml-form-formContent {
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

.newsletter .mailerlite-subscribe-button-container,
.newsletter .ml-form-embedSubmit {
	flex: 0 0 auto !important;
}

.newsletter .mailerlite-subscribe-submit,
.newsletter .ml-form-embedSubmit button,
.newsletter .newsletter__placeholder .button,
.newsletter .newsletter-submit,
.newsletter button[type="submit"],
.newsletter input[type="submit"] {
	width: auto !important;
	min-width: 116px !important;
	background: var(--color-coral) !important;
	color: var(--color-ink) !important;
	border: var(--border) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	font-family: var(--font-body) !important;
	font-size: 0.88rem !important;
	font-weight: 800 !important;
}

.newsletter .mailerlite-subscribe-submit::before,
.newsletter .ml-form-embedSubmit button::before {
	content: none;
}

.newsletter .mailerlite-form-field input,
.newsletter .mailerlite-form-field input[type="email"],
.newsletter .mailerlite-form-field input[type="text"],
.newsletter .ml-field-group input,
.newsletter .ml-form-embedBody input[type="email"],
.newsletter .ml-form-embedBody input[type="text"],
.newsletter input[type="email"],
.newsletter input[type="text"] {
	height: 46px !important;
	min-height: 46px !important;
	padding: 10px 18px !important;
	border: 1.5px solid var(--color-ink) !important;
	border-radius: 999px !important;
	background: var(--color-paper) !important;
	box-shadow: none !important;
	color: var(--color-ink) !important;
	font-family: var(--font-body) !important;
	font-size: 0.92rem !important;
	line-height: 1.2 !important;
}

.newsletter__flight-path {
	top: -50px;
	right: -72px;
	width: 250px;
	height: 164px;
}

.newsletter__plane {
	top: -56px;
	right: -36px;
	width: 90px;
	transform: rotate(8deg);
}

.newsletter__plane .icon {
	width: 90px;
	height: 90px;
	stroke-width: 3;
}

.newsletter__mail-path {
	bottom: -12px;
	left: -86px;
	width: 142px;
	height: 62px;
}

/* About */
.about {
	padding-top: 26px;
	padding-bottom: 64px;
}

.about__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) 240px minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 3.3vw, 44px);
	max-width: 910px;
}

.about__content {
	text-align: right;
}

.about__content p {
	max-width: 340px;
	margin: 0 0 0 auto;
	color: var(--color-ink-soft);
}

.about__content h2 {
	font-size: clamp(2.2rem, 3.4vw, 3rem);
	white-space: nowrap;
}

.about__portrait {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	padding: 9px;
	border-radius: 44% 56% 54% 46% / 48% 40% 60% 52%;
	background: var(--color-mint);
}

.about__portrait-bg {
	position: absolute;
	inset: 9px;
	z-index: 1;
	border-radius: inherit;
	background-image: var(--about-portrait-image);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.about__portrait img {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
	opacity: 0;
}

.about__note {
	margin: 0;
	padding: 16px 18px;
	border-radius: 26px 20px 28px 22px;
	background: rgba(255, 248, 233, 0.72);
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.3;
}

.about__note span {
	display: inline-block;
	margin-left: 10px;
	color: var(--color-coral);
	font-size: 2rem;
}

/* Footer */
.site-footer {
	position: relative;
	margin-top: 70px;
	padding-top: 70px;
	background: var(--color-mint);
}

.site-footer__wave {
	position: absolute;
	top: clamp(-79px, -6.2vw, -49px);
	right: 0;
	left: 0;
	height: clamp(50px, 6.2vw, 80px);
	pointer-events: none;
}

.site-footer__wave svg {
	display: block;
	width: 100%;
	height: 100%;
}

.site-footer__wave path {
	fill: var(--color-mint);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	align-items: center;
	gap: 50px;
	padding-bottom: 50px;
}

.site-footer__brand p {
	max-width: 410px;
	margin: 17px 0 0;
	font-size: 0.9rem;
}

.footer-menu {
	flex-wrap: wrap;
	gap: 10px 22px;
}

.footer-navigation__title {
	display: block;
	margin-bottom: 14px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.footer-menu--stack {
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
}

.footer-menu--stack a {
	font-size: 0.9rem;
	text-decoration: none;
}

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

.footer-menu a,
.site-footer__bottom a {
	font-size: 0.82rem;
	font-weight: 700;
}

.social-links {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.social-links a {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: var(--border);
	border-radius: 50%;
	background: var(--color-paper);
	text-decoration: none;
	transition: transform 180ms ease, background 180ms ease;
}

.social-links a:hover {
	background: var(--color-yellow);
	transform: translateY(-3px);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 25px;
	padding-block: 16px;
	border-top: 1px solid rgba(37, 35, 31, 0.2);
	font-size: 0.78rem;
}

/* Archives */
.archive-main,
.single-main,
.woocommerce-main {
	padding-top: clamp(55px, 8vw, 100px);
}

.page-header {
	max-width: 850px;
	margin-bottom: clamp(40px, 7vw, 75px);
}

.page-header h1 {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.page-header .search-form {
	margin-top: 28px;
}

.archive-main .material-card__image {
	aspect-ratio: 16 / 9;
	padding: 8px;
	background:
		radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.58) 0 18px, transparent 19px),
		radial-gradient(circle at 86% 82%, rgba(255, 255, 255, 0.46) 0 24px, transparent 25px),
		var(--card-color);
}

.archive-main .material-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: rgba(255, 253, 248, 0.72);
}

.archive-description {
	max-width: 680px;
	color: var(--color-ink-soft);
	font-size: 1.08rem;
}

.navigation.pagination {
	margin-top: 65px;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: grid;
	min-width: 42px;
	height: 42px;
	padding: 0 8px;
	place-items: center;
	border: 1px solid var(--color-ink);
	border-radius: 50%;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--color-yellow);
}

.empty-state {
	max-width: 620px;
	margin: 50px auto;
	padding: 45px;
	border-radius: var(--radius-lg);
	background: var(--color-mint-light);
	text-align: center;
}

.empty-state .search-form {
	margin: 25px auto 0;
}

/* Single content */
.single-article__header {
	margin-bottom: 45px;
	text-align: center;
}

.single-article__header h1 {
	max-width: 880px;
	margin-right: auto;
	margin-left: auto;
	font-size: clamp(2.1rem, 4.2vw, 3.65rem);
}

.single-article__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 20px;
	color: var(--color-ink-soft);
	font-size: 0.82rem;
	font-weight: 700;
}

.single-article__meta a {
	color: var(--color-ink-soft);
}

.single-article__lead {
	max-width: 700px;
	margin: 25px auto 0;
	color: var(--color-ink-soft);
	font-size: 1.18rem;
}

.single-article__image {
	position: relative;
	margin-bottom: 55px;
}

.single-article__image::before {
	position: absolute;
	inset: -10px 8% 10px;
	z-index: -1;
	border-radius: var(--radius-lg);
	background: var(--color-pink);
	content: "";
	transform: rotate(-1deg);
}

.single-article__image img {
	width: 100%;
	max-height: 680px;
	border-radius: var(--radius-lg);
	object-fit: contain;
}

.entry-content {
	font-size: 1.05rem;
}

.page-article .single-article__header h1 {
	font-size: clamp(2rem, 4vw, 3rem);
}

.page-article .entry-content {
	font-size: 0.95rem;
	line-height: 1.72;
}

.page-article .entry-content h2 {
	font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.page-article .entry-content h3 {
	font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.page-article .entry-content p,
.page-article .entry-content li {
	margin-bottom: 0.85em;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.7em;
}

.entry-content a {
	color: #9a4037;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.entry-content img,
.entry-content .wp-block-image img {
	border-radius: var(--radius-md);
}

.entry-content .wp-block-button__link,
.entry-content .wp-block-file .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 10px 22px;
	border: var(--border);
	border-radius: 999px;
	background: var(--color-mint);
	color: var(--color-ink);
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus-visible,
.entry-content .wp-block-file .wp-block-file__button:hover,
.entry-content .wp-block-file .wp-block-file__button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 3px 4px 0 var(--color-ink);
	color: var(--color-ink);
}

.entry-content blockquote {
	margin: 2.2em 0;
	padding: 24px 30px;
	border: 0;
	border-radius: 30px 18px 30px 18px;
	background: var(--color-mint-light);
	font-family: var(--font-display);
	font-size: 1.25rem;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 10px;
	border: 1px solid #c9c2b6;
	text-align: left;
}

.single-article__footer {
	margin-top: 45px;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-list a {
	padding: 5px 12px;
	border: 1px solid var(--color-ink);
	border-radius: 999px;
	font-size: 0.78rem;
	text-decoration: none;
}

.post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 25px;
	margin-top: 70px;
	padding-top: 25px;
	border-top: 1px solid #d9d1c4;
}

.post-navigation__item {
	display: flex;
	flex-direction: column;
}

.post-navigation__item--next {
	align-items: end;
	text-align: right;
}

.post-navigation__item span {
	color: var(--color-ink-soft);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-navigation__item a {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
}

/* Comments */
.comments-area {
	margin-top: 70px;
	padding: clamp(25px, 5vw, 50px);
	border-radius: var(--radius-lg);
	background: var(--color-paper);
	box-shadow: 0 12px 30px rgba(65, 52, 38, 0.07);
}

.comments-area > h2 {
	margin-bottom: 24px;
	font-size: clamp(1.25rem, 2.1vw, 1.7rem);
	text-align: center;
}

.comment-list {
	margin: 35px 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-left: 35px;
	list-style: none;
}

.comment-body {
	position: relative;
	margin-bottom: 20px;
	padding: 22px 24px;
	border-radius: 28px 18px 28px 20px;
	background: var(--color-mint-light);
	overflow-wrap: anywhere;
}

.comment-list > li:nth-child(even) > .comment-body,
.comment-list .children .comment-body {
	background: var(--color-pink-light);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
}

.comment-author .avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--color-paper);
}

.comment-meta {
	margin-top: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	opacity: 0.72;
}

.comment-meta a {
	color: var(--color-ink-soft);
}

.comment-content {
	margin-top: 14px;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.reply {
	margin-top: 12px;
}

.comment-reply-link {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 7px 13px;
	border: 1px solid var(--color-ink);
	border-radius: 999px;
	background: var(--color-paper);
	color: var(--color-ink);
	font-size: 0.78rem;
	font-weight: 800;
	text-decoration: none;
}

.comment-respond {
	margin-top: 34px;
	padding: clamp(22px, 4vw, 36px);
	border-radius: 34px 24px 34px 24px;
	background: var(--color-cream);
	box-shadow: inset 0 0 0 1px rgba(37, 35, 31, 0.08);
}

.comment-reply-title {
	margin-bottom: 12px;
	font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
}

.comment-form-comment,
.comment-notes,
.logged-in-as,
.comment-form-cookies-consent,
.form-submit {
	grid-column: 1 / -1;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-weight: 800;
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	padding: 12px 15px;
	border: var(--border);
	border-radius: 16px;
	background: var(--color-white);
	box-shadow: none;
	color: var(--color-ink);
	font: inherit;
}

.comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 0;
	box-shadow: 0 0 0 4px rgba(168, 216, 202, 0.32);
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: var(--color-ink-soft);
	font-size: 0.88rem;
	line-height: 1.45;
}

.comment-form-cookies-consent input {
	margin-top: 4px;
}

.comment-form .submit {
	background: var(--color-mint);
}

/* 404 */
.not-found {
	min-height: 65vh;
	text-align: center;
}

.not-found__number {
	display: block;
	color: var(--color-pink);
	font-family: var(--font-display);
	font-size: clamp(7rem, 22vw, 15rem);
	font-weight: 700;
	line-height: 0.8;
}

.not-found p {
	font-size: 1.1rem;
}

.not-found .search-form {
	margin: 25px auto;
}

/* WooCommerce layout */
.woocommerce-main {
	position: relative;
}

.woocommerce-shop .woocommerce-main {
	padding-top: clamp(28px, 4vw, 46px);
	padding-bottom: clamp(56px, 7vw, 96px);
}

.single-product .woocommerce-main {
	padding-top: clamp(22px, 4vw, 48px);
}

.woocommerce-main > .site-container {
	position: relative;
}

.woocommerce-main > .site-container::before {
	position: absolute;
	top: 18px;
	right: 3%;
	z-index: -1;
	color: var(--color-yellow);
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1;
	content: "☆";
	transform: rotate(12deg);
}

.single-product .woocommerce-main > .site-container::before {
	display: none;
}

.woocommerce-main .page-title,
.woocommerce-products-header__title {
	margin-bottom: 35px;
	text-align: center;
}

.teacherania-catalog-header {
	max-width: 760px;
	margin: 0 auto 14px;
	text-align: center;
}

.teacherania-catalog-header .page-description,
.teacherania-catalog-header .term-description {
	color: var(--color-ink-soft);
	font-size: 1.04rem;
}

.catalog-category-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0 0 clamp(22px, 3vw, 34px);
}

.catalog-sections {
	display: grid;
	gap: clamp(42px, 7vw, 86px);
}

.catalog-category-section {
	position: relative;
	padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 42px) clamp(24px, 4vw, 42px);
	border-radius: var(--radius-lg);
	background: rgba(255, 253, 248, 0.72);
	box-shadow: 0 14px 34px rgba(81, 64, 44, 0.08);
	scroll-margin-top: 110px;
}

.catalog-category-section::before {
	position: absolute;
	top: -18px;
	right: clamp(20px, 7vw, 76px);
	z-index: -1;
	width: clamp(74px, 12vw, 132px);
	height: clamp(74px, 12vw, 132px);
	border-radius: 42% 58% 54% 46%;
	background: var(--color-mint-light);
	content: "";
	transform: rotate(12deg);
}

.catalog-category-section--1::before { background: var(--color-pink-light); }
.catalog-category-section--2::before { background: rgba(244, 204, 99, 0.42); }
.catalog-category-section--3::before { background: rgba(145, 174, 201, 0.36); }
.catalog-category-section--4::before { background: rgba(240, 125, 109, 0.24); }

.catalog-category-section__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(24px, 4vw, 38px);
}

.catalog-category-section__header h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.35rem);
}

.catalog-category-section__header p {
	max-width: 620px;
	margin: 10px 0 0;
	color: var(--color-ink-soft);
}

.catalog-category-section__link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 18px;
	border: var(--border);
	border-radius: 999px;
	background: var(--color-yellow);
	box-shadow: 2px 3px 0 rgba(37, 35, 31, 0.12);
	font-weight: 800;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.catalog-category-section__link:hover,
.catalog-category-section__link:focus-visible {
	box-shadow: 2px 3px 0 var(--color-ink);
	transform: translate(-1px, -1px);
}

.woocommerce .woocommerce-breadcrumb {
	margin-bottom: 28px;
	color: var(--color-ink-soft);
	font-size: 0.78rem;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 30px;
}

.woocommerce .woocommerce-ordering select {
	padding: 9px 35px 9px 12px;
	border: var(--border);
	border-radius: 999px;
	background: var(--color-paper);
}

.woocommerce nav.woocommerce-pagination {
	margin-top: 55px;
}

.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	gap: 7px;
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0;
	place-items: center;
	border: 1px solid var(--color-ink);
	border-radius: 50%;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--color-yellow);
}

.woocommerce div.product {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(330px, 390px);
	justify-content: center;
	align-items: start;
	column-gap: clamp(28px, 4vw, 56px);
	row-gap: clamp(12px, 2vw, 26px);
	max-width: 920px;
	margin: 0 auto;
}

.single-product .woocommerce div.product::before {
	position: absolute;
	inset: -24px -28px auto;
	z-index: -1;
	height: min(38vw, 470px);
	border-radius: 54px 38px 60px 42px;
	background:
		radial-gradient(circle at 12% 18%, rgba(244, 204, 99, 0.28) 0 42px, transparent 43px),
		radial-gradient(circle at 88% 8%, rgba(168, 216, 202, 0.34) 0 54px, transparent 55px),
		linear-gradient(135deg, rgba(255, 253, 248, 0.72), rgba(248, 223, 225, 0.28));
	content: "";
}

.single-product .woocommerce div.product::after {
	display: none;
}

.product-motif {
	position: fixed;
	inset: 0;
	z-index: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	color: var(--color-ink);
	overflow: hidden;
}

.product-motif__icon {
	position: fixed;
	display: grid;
	place-items: center;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	opacity: 0.095;
}

.product-motif__icon .icon {
	display: block;
	width: 100%;
	height: 100%;
	stroke-width: 1.25;
	filter: drop-shadow(0 7px 0 rgba(244, 204, 99, 0.08));
}

.product-motif__icon--1 {
	top: 156px;
	right: max(28px, calc((100vw - 1120px) / 2 - 64px));
	width: 150px;
	height: 150px;
	padding: 0;
	color: var(--color-ink);
	transform: rotate(0deg);
}

.product-motif__icon--2 {
	top: 48vh;
	left: max(18px, calc((100vw - 1120px) / 2 - 54px));
	width: 112px;
	height: 112px;
	padding: 0;
	color: var(--color-ink);
	transform: rotate(10deg);
}

.product-motif__icon--3 {
	right: max(20px, calc((100vw - 1120px) / 2 - 28px));
	bottom: 14vh;
	width: 92px;
	height: 92px;
	padding: 0;
	color: var(--color-ink);
	transform: rotate(-10deg);
}

.product-motif--space .product-motif__icon--1,
.product-motif--space .product-motif__icon--3 {
	color: var(--color-ink);
}

.product-motif--summer .product-motif__icon--2 {
	color: var(--color-ink);
}

.product-motif--dad .product-motif__icon--1 {
	color: var(--color-ink);
}

.product-motif--easter .product-motif__icon--1,
.product-motif--garden .product-motif__icon--1 {
	color: var(--color-ink);
}

.product-motif--doctor .product-motif__icon--1,
.product-motif--body .product-motif__icon--1 {
	color: var(--color-ink);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none !important;
	width: auto !important;
	margin-bottom: clamp(14px, 3vw, 34px);
}

.woocommerce div.product div.images {
	grid-column: 1;
	grid-row: 1;
	position: relative;
	z-index: 1;
	max-width: 420px;
	justify-self: end;
	/* Fill the row so the framed image matches the summary card height. */
	align-self: stretch;
	width: 100% !important;
}

.woocommerce div.product div.images img {
	padding: 10px;
	border-radius: 28px;
	background: var(--color-paper);
	box-shadow: 0 15px 34px rgba(65, 52, 38, 0.1);
}

.woocommerce div.product div.images img:hover,
.woocommerce div.product .woocommerce-product-gallery.teacherania-gallery-bg:hover {
	transform: translateY(-2px) rotate(-0.35deg);
}

.woocommerce div.product div.images,
.woocommerce div.product .woocommerce-product-gallery {
	opacity: 1 !important;
}

.woocommerce div.product .woocommerce-product-gallery.teacherania-gallery-bg {
	position: relative;
	height: 100%;
	min-height: min(31vw, 410px);
	overflow: hidden;
	border-radius: 28px;
	background: var(--color-paper);
	box-shadow: 0 15px 34px rgba(65, 52, 38, 0.1);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.woocommerce div.product .woocommerce-product-gallery.teacherania-gallery-bg::before {
	position: absolute;
	inset: 18px;
	z-index: 1;
	border-radius: 20px;
	background-image: var(--teacherania-product-image);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	content: "";
	pointer-events: none;
}

.woocommerce div.product .woocommerce-product-gallery.teacherania-gallery-bg .woocommerce-product-gallery__trigger {
	top: 14px;
	right: 14px;
	z-index: 3;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	overflow: hidden;
	border: 1.5px solid rgba(37, 35, 31, 0.62);
	border-radius: 50%;
	background: rgba(255, 253, 248, 0.92);
	box-shadow: 3px 4px 0 rgba(37, 35, 31, 0.1);
	color: var(--color-ink);
	font-size: 0;
	text-indent: -999px;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.woocommerce div.product .woocommerce-product-gallery.teacherania-gallery-bg .woocommerce-product-gallery__trigger::before {
	position: absolute;
	top: 11px;
	left: 11px;
	width: 15px;
	height: 15px;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: transparent;
	content: "";
}

.woocommerce div.product .woocommerce-product-gallery.teacherania-gallery-bg .woocommerce-product-gallery__trigger::after {
	position: absolute;
	top: 26px;
	left: 25px;
	width: 10px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	content: "";
	transform: rotate(45deg);
	transform-origin: left center;
}

.woocommerce div.product .woocommerce-product-gallery.teacherania-gallery-bg .woocommerce-product-gallery__trigger:hover,
.woocommerce div.product .woocommerce-product-gallery.teacherania-gallery-bg .woocommerce-product-gallery__trigger:focus-visible {
	background: var(--color-yellow);
	box-shadow: 3px 4px 0 var(--color-ink);
	transform: translate(-1px, -1px);
}

.woocommerce div.product .woocommerce-product-gallery__wrapper {
	margin: 0;
}

/*
 * Inside the framed gallery the picture is painted by the ::before overlay,
 * so the real img is transparent (not display:none — it still defines the
 * hover/zoom/lightbox area) and everything stretches with the frame.
 */
.woocommerce div.product .teacherania-gallery-bg .woocommerce-product-gallery__wrapper,
.woocommerce div.product .teacherania-gallery-bg .woocommerce-product-gallery__image,
.woocommerce div.product .teacherania-gallery-bg .woocommerce-product-gallery__image > a {
	height: 100%;
}

.woocommerce div.product .teacherania-gallery-bg .woocommerce-product-gallery__image img:not(.zoomImg) {
	height: 100% !important;
	object-fit: contain;
	opacity: 0;
}

/* The hover zoom image must escape the global img max-width clamp and sit
   above the ::before overlay (z-index 1) that paints the framed photo. */
.woocommerce div.product .woocommerce-product-gallery .zoomImg {
	z-index: 2;
	max-width: none;
	border-radius: 20px;
	background: var(--color-paper);
}

.woocommerce div.product div.summary {
	grid-column: 2;
	grid-row: 1;
	align-self: start;
	position: relative;
	z-index: 1;
	padding: clamp(24px, 4vw, 38px);
	max-width: 390px;
	border: 1px solid rgba(37, 35, 31, 0.07);
	border-radius: 36px 24px 38px 28px;
	background: var(--color-paper);
	box-shadow: 0 18px 42px rgba(65, 52, 38, 0.11);
}

.woocommerce div.product div.summary::before {
	position: absolute;
	top: 17px;
	right: 20px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--color-pink);
	box-shadow: 15px 7px 0 -5px var(--color-yellow);
	content: "";
	opacity: 0.86;
}

.woocommerce div.product .product_title {
	margin-bottom: 14px;
	font-size: clamp(1.9rem, 3vw, 2.75rem);
	text-align: left;
}

.product-eyebrow {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.product-eyebrow span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 11px;
	border: 1px solid rgba(37, 35, 31, 0.12);
	border-radius: 999px;
	background: var(--color-mint-light);
	color: var(--color-ink);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1;
}

.product-eyebrow span:nth-child(2) {
	background: var(--color-yellow);
}

.woocommerce div.product.product--empty-gallery {
	grid-template-columns: minmax(0, 720px);
	justify-content: center;
}

.woocommerce div.product.product--empty-gallery div.images {
	display: none;
}

.woocommerce div.product.product--empty-gallery div.summary {
	grid-column: 1;
	grid-row: auto;
	position: relative;
	top: auto;
	text-align: center;
}

.woocommerce div.product.product--empty-gallery .product_title {
	text-align: center;
}

.woocommerce div.product.product--empty-gallery .product_meta,
.woocommerce div.product.product--empty-gallery form.cart {
	justify-content: center;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	margin-bottom: 4px;
	color: var(--color-ink);
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 2.4vw, 2.1rem);
	font-weight: 700;
	line-height: 1.1;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
	margin-right: 8px;
	color: var(--color-ink-soft);
	font-size: 0.62em;
	opacity: 1;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
	font-weight: 700;
	text-decoration: none;
}

.woocommerce div.product form.cart {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
	margin-top: 22px;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 100%;
	min-height: 54px;
	padding-inline: 24px !important;
	border: var(--border) !important;
	border-radius: 999px !important;
	background: var(--color-coral) !important;
	box-shadow: 3px 4px 0 rgba(37, 35, 31, 0.12) !important;
	color: var(--color-ink) !important;
	font-size: 0.98rem !important;
	font-weight: 800 !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
	background: #f48b7d !important;
	box-shadow: 3px 4px 0 var(--color-ink) !important;
	transform: translateY(-2px);
}

.woocommerce div.product form.cart::after {
	flex: 1 1 100%;
	width: fit-content;
	margin: -1px auto 0;
	padding: 7px 13px;
	border: 1px solid rgba(37, 35, 31, 0.08);
	border-radius: 999px;
	background: rgba(220, 239, 232, 0.52);
	color: var(--color-ink-soft);
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	content: "PDF do druku • dostęp od razu • link na e-mail";
}

.woocommerce .quantity .qty {
	min-height: 46px;
	border: var(--border);
	border-radius: 999px;
	background: var(--color-paper);
}

.woocommerce div.product .product_meta {
	display: grid;
	gap: 6px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(37, 35, 31, 0.12);
	color: var(--color-ink-soft);
	font-size: 0.82rem;
	font-weight: 700;
}

.woocommerce div.product .product_meta a {
	color: var(--color-ink);
}

.product-quick-info {
	grid-column: 1 / -1;
	grid-row: 2;
	z-index: 1;
	align-self: start;
	padding: 22px 24px 20px;
	border: 1px solid rgba(37, 35, 31, 0.08);
	border-radius: 34px 24px 36px 26px;
	background:
		radial-gradient(circle at 93% 10%, rgba(244, 204, 99, 0.35) 0 34px, transparent 35px),
		linear-gradient(135deg, rgba(220, 239, 232, 0.72), rgba(255, 253, 248, 0.98));
	box-shadow: 0 16px 38px rgba(65, 52, 38, 0.08);
}

.product-quick-info h2 {
	margin-bottom: 14px;
	font-size: 1.42rem;
	line-height: 1.1;
	text-align: center;
}

.product-quick-info__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 9px;
}

.product-quick-info__item {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 2px 9px;
	align-items: center;
	min-height: 72px;
	padding: 11px 10px;
	border: 1px solid rgba(37, 35, 31, 0.09);
	border-radius: 18px;
	background: linear-gradient(135deg, #fff8e9, #fffdf8);
}

.product-quick-info__item:nth-child(2n) {
	background: linear-gradient(135deg, var(--color-mint-light), #fffdf8);
}

.product-quick-info__item:nth-child(3n) {
	background: linear-gradient(135deg, var(--color-pink-light), #fffdf8);
}

.product-quick-info__icon {
	grid-row: span 2;
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border: 1px solid rgba(37, 35, 31, 0.16);
	border-radius: 50%;
	background: rgba(255, 253, 248, 0.72);
	color: var(--color-ink);
}

.product-quick-info__icon .icon {
	width: 17px;
	height: 17px;
	stroke-width: 2;
}

.product-quick-info__label {
	color: var(--color-ink-soft);
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.product-quick-info__item strong {
	font-size: 0.86rem;
	line-height: 1.25;
}

.product-quick-info__note {
	max-width: 620px;
	margin: 14px auto 0;
	color: var(--color-ink-soft);
	font-size: 0.84rem;
	line-height: 1.45;
	text-align: center;
}

.product-contains {
	position: relative;
	display: grid;
	grid-column: 1;
	grid-row: 2;
	z-index: 1;
	grid-template-columns: 1fr;
	gap: 18px;
	align-self: start;
	max-width: 420px;
	margin: 0;
	padding: 24px;
	border: 1px solid rgba(37, 35, 31, 0.08);
	border-radius: 34px 24px 36px 26px;
	background:
		radial-gradient(circle at 93% 10%, rgba(244, 204, 99, 0.35) 0 34px, transparent 35px),
		linear-gradient(135deg, rgba(220, 239, 232, 0.72), rgba(255, 253, 248, 0.98));
	box-shadow: 0 16px 38px rgba(65, 52, 38, 0.08);
}

.product-contains::after {
	position: absolute;
	right: 28px;
	bottom: 18px;
	color: var(--color-coral);
	font-family: var(--font-display);
	font-size: 2rem;
	content: "♡";
	transform: rotate(10deg);
}

.product-contains__intro h2 {
	margin-bottom: 10px;
	font-size: clamp(1.7rem, 2.6vw, 2.35rem);
	line-height: 1.05;
}

.product-contains__intro p {
	max-width: 310px;
	margin: 0;
	color: var(--color-ink-soft);
	font-size: 0.9rem;
	line-height: 1.5;
}

.product-contains__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 9px;
}

.product-contains__item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 12px 14px;
	border: 1px solid rgba(37, 35, 31, 0.09);
	border-radius: 20px 16px 22px 17px;
	background: rgba(255, 253, 248, 0.82);
}

.product-contains__item span {
	display: grid;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: var(--color-yellow);
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 700;
}

.product-contains__item strong {
	font-size: 0.98rem;
	line-height: 1.25;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells {
	grid-column: 1 / -1;
	grid-row: auto;
}

.woocommerce div.product .woocommerce-tabs {
	position: relative;
	z-index: 1;
	margin-top: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: var(--border);
	border-radius: 999px;
	background: var(--color-paper);
	box-shadow: 3px 4px 0 rgba(37, 35, 31, 0.12);
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: var(--color-yellow);
	box-shadow: 2px 3px 0 var(--color-ink);
	transform: translateY(-1px);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 10px 18px;
	color: var(--color-ink);
	font-family: var(--font-display);
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs .panel {
	max-width: 900px;
	margin: 0 auto clamp(44px, 7vw, 78px);
	padding: clamp(30px, 5vw, 64px);
	border: 1px solid rgba(37, 35, 31, 0.06);
	border-radius: 38px 28px 42px 30px;
	background: var(--color-paper);
	box-shadow: 0 18px 44px rgba(65, 52, 38, 0.08);
	color: var(--color-ink);
	font-size: 0.98rem;
	line-height: 1.72;
}

.woocommerce div.product .woocommerce-tabs .panel > * {
	max-width: 740px;
	margin-right: auto;
	margin-left: auto;
}

.woocommerce div.product .woocommerce-tabs .panel > h2:first-child {
	margin-top: 0;
}

.woocommerce div.product .woocommerce-tabs .panel > h2:first-child::after {
	display: block;
	width: 78px;
	height: 8px;
	margin-top: 8px;
	border-radius: 999px;
	background: var(--color-yellow);
	content: "";
	transform: rotate(-1.5deg);
}

.woocommerce div.product .woocommerce-tabs .panel p:first-of-type {
	padding: 16px 18px;
	border: 1px solid rgba(37, 35, 31, 0.05);
	border-left: 8px solid var(--color-mint);
	border-radius: 20px;
	background: rgba(168, 216, 202, 0.18);
	font-size: 1.03rem;
	line-height: 1.7;
}

.woocommerce div.product .woocommerce-tabs .panel p:not(:first-of-type) {
	line-height: 1.78;
}

.woocommerce div.product .woocommerce-tabs .panel h3,
.woocommerce div.product .woocommerce-tabs .panel h4 {
	position: relative;
	width: fit-content;
	margin-top: 34px;
	margin-bottom: 14px;
	font-family: var(--font-body);
	font-size: clamp(1.08rem, 1.7vw, 1.32rem);
	font-weight: 900;
	line-height: 1.25;
}

.woocommerce div.product .woocommerce-tabs .panel h3::after,
.woocommerce div.product .woocommerce-tabs .panel h4::after {
	position: absolute;
	right: -10px;
	bottom: -4px;
	left: -8px;
	z-index: -1;
	height: 9px;
	border-radius: 999px;
	background: rgba(244, 204, 99, 0.48);
	content: "";
	transform: rotate(-1.2deg);
}

.woocommerce div.product .woocommerce-tabs .panel ul,
.woocommerce div.product .woocommerce-tabs .panel ol {
	padding: 18px 20px 18px 34px;
	border: 1px solid rgba(37, 35, 31, 0.07);
	border-radius: 22px;
	background: rgba(255, 248, 233, 0.56);
	line-height: 1.68;
}

.woocommerce div.product .woocommerce-tabs .panel li + li {
	margin-top: 8px;
}

.woocommerce div.product .woocommerce-tabs .panel strong {
	font-weight: 900;
}

.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2,
.woocommerce-cart .cross-sells > h2,
.woocommerce-cart .cart_totals h2 {
	font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.woocommerce div.product .woocommerce-tabs .panel img {
	max-width: min(100%, 640px);
	height: auto;
	margin-top: 28px;
	margin-bottom: 28px;
	padding: 8px;
	border: 1px solid rgba(37, 35, 31, 0.07);
	border-radius: 18px;
	background: var(--color-white);
	box-shadow: 0 12px 28px rgba(65, 52, 38, 0.08);
}

.woocommerce div.product .woocommerce-tabs .panel .wp-caption,
.woocommerce div.product .woocommerce-tabs .panel figure {
	max-width: min(100%, 680px);
	margin-right: auto;
	margin-left: auto;
}

.woocommerce div.product .woocommerce-tabs .panel .is-empty-product-description-block {
	display: none !important;
}

.woocommerce div.product .woocommerce-tabs .panel .is-hidden-product-legacy-screenshots {
	display: none !important;
}

.woocommerce div.product #reviews {
	display: grid;
	gap: 22px;
}

.woocommerce div.product #reviews #comments {
	max-width: 740px;
	margin-right: auto;
	margin-left: auto;
}

.woocommerce div.product #reviews #comments h2 {
	margin-bottom: 18px;
	font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.woocommerce div.product #reviews .commentlist {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce div.product #reviews .commentlist li {
	margin: 0;
}

.woocommerce div.product #reviews .comment_container {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 16px;
	border: 1px solid rgba(37, 35, 31, 0.07);
	border-radius: 22px 18px 24px 18px;
	background: rgba(220, 239, 232, 0.34);
}

.woocommerce div.product #reviews .commentlist li:nth-child(even) .comment_container {
	background: rgba(248, 223, 225, 0.42);
}

.woocommerce div.product #reviews .comment_container img.avatar {
	position: static;
	float: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--color-paper);
}

.woocommerce div.product #reviews .comment-text {
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce div.product #reviews .star-rating {
	margin: 0 0 6px;
	color: #d79f1e;
}

.woocommerce div.product #reviews .meta {
	margin-bottom: 8px;
	color: var(--color-ink-soft);
	font-size: 0.82rem;
	font-weight: 700;
}

.woocommerce div.product #reviews .description p:last-child {
	margin-bottom: 0;
}

.woocommerce div.product #review_form_wrapper {
	display: none;
	max-width: 740px;
	margin-right: auto;
	margin-left: auto;
	padding: clamp(20px, 4vw, 30px);
	border: 1px solid rgba(37, 35, 31, 0.07);
	border-radius: 28px 22px 30px 24px;
	background: rgba(255, 248, 233, 0.66);
}

.woocommerce div.product #review_form_wrapper:empty {
	display: none;
}

.woocommerce div.product #review_form_wrapper .comment-form {
	display: grid;
	gap: 13px;
	margin: 0;
}

.woocommerce div.product #review_form_wrapper .comment-form p {
	margin: 0;
}

.woocommerce div.product #review_form_wrapper label {
	display: block;
	margin-bottom: 6px;
	color: var(--color-ink-soft);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.woocommerce div.product #review_form_wrapper textarea,
.woocommerce div.product #review_form_wrapper input[type="text"],
.woocommerce div.product #review_form_wrapper input[type="email"] {
	width: 100%;
	border: 1px solid rgba(37, 35, 31, 0.16);
	border-radius: 18px;
	background: var(--color-paper);
	box-shadow: none;
}

.woocommerce div.product #review_form_wrapper textarea {
	min-height: 118px;
	padding: 13px 15px;
	resize: vertical;
}

.woocommerce div.product #review_form_wrapper .comment-reply-title {
	display: block;
	margin-bottom: 12px;
	font-family: var(--font-display);
	font-size: clamp(1.45rem, 2.3vw, 2rem);
	line-height: 1.1;
}

.woocommerce div.product #review_form_wrapper .comment-form-rating {
	display: grid;
	gap: 6px;
}

.woocommerce div.product #review_form_wrapper .stars a {
	color: #d79f1e;
}

.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2 {
	position: relative;
	width: fit-content;
	margin: 0 auto 34px;
	text-align: center;
}

.woocommerce div.product .related > h2::before,
.woocommerce div.product .upsells > h2::before {
	display: block;
	margin-bottom: 7px;
	color: var(--color-ink-soft);
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	content: "Może też Ci się spodoba";
}

.woocommerce div.product .related > h2::after,
.woocommerce div.product .upsells > h2::after {
	display: block;
	width: 70%;
	height: 7px;
	margin: 5px auto 0;
	border-radius: 999px;
	background: var(--color-pink);
	content: "";
	transform: rotate(-1deg);
}

.woocommerce div.product .related ul.products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: 980px;
	margin-right: auto !important;
	margin-left: auto !important;
}

.woocommerce div.product .related ul.products li.product {
	border-radius: 28px 20px 30px 22px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	padding: 18px 20px 18px 55px !important;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--color-mint-light);
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: #357564;
}

.woocommerce table.shop_table {
	border: 1px solid #d6cfc3;
	border-radius: var(--radius-md);
	border-collapse: separate;
	background: var(--color-paper);
	box-shadow: 0 10px 26px rgba(65, 52, 38, 0.06);
	overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 15px;
	border-color: rgba(37, 35, 31, 0.1);
}

.woocommerce-cart table.cart img {
	width: 80px;
	border-radius: 12px;
}

.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single {
	min-height: 46px;
	padding: 10px 14px;
	border: var(--border);
	border-radius: 12px;
	background: var(--color-white);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 24px;
}

.cart-collaterals .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	padding: clamp(20px, 4vw, 36px);
	border: 0;
	border-radius: var(--radius-md);
	background: var(--color-paper);
	box-shadow: 0 10px 26px rgba(65, 52, 38, 0.06);
}

.woocommerce-cart .cart-empty {
	max-width: 620px;
	margin: 10px auto 26px;
	padding: clamp(28px, 5vw, 48px) !important;
	border: 0;
	border-radius: 42px 28px 44px 30px;
	background: var(--color-paper);
	box-shadow: 0 14px 34px rgba(65, 52, 38, 0.08);
	text-align: center;
}

.woocommerce-cart .return-to-shop {
	text-align: center;
}

.woocommerce-cart .cross-sells {
	margin-top: clamp(42px, 7vw, 80px);
}

.woocommerce-cart .cross-sells > h2 {
	text-align: center;
}

.woocommerce-cart .cart-collaterals {
	margin-top: 34px;
}

.woocommerce-cart table.cart td.actions {
	background: var(--color-paper);
}

.woocommerce-cart table.cart td.actions .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
	width: min(260px, 100%) !important;
}

.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.woocommerce-checkout form.checkout > .col2-set {
	float: none;
	width: auto;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
	float: none;
	width: auto;
}

.woocommerce-checkout #order_review {
	position: sticky;
	top: 118px;
}

.woocommerce-checkout #order_review_heading {
	margin-top: 0;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
	float: none;
	width: 100%;
	padding: clamp(22px, 4vw, 36px);
	border-radius: var(--radius-md);
	background: var(--color-paper);
	box-shadow: 0 10px 26px rgba(65, 52, 38, 0.06);
}

.woocommerce-checkout .col2-set .col-2 {
	margin-top: 24px;
}

.woocommerce form .form-row label {
	margin-bottom: 5px;
	color: var(--color-ink);
	font-weight: 800;
	line-height: 1.3;
}

.woocommerce form .form-row .required {
	color: var(--color-coral);
}

.woocommerce #payment {
	background: var(--color-mint-light);
	border-radius: var(--radius-md);
	border: 1px solid rgba(37, 35, 31, 0.08);
}

.woocommerce #payment div.payment_box {
	background: var(--color-paper);
}

.woocommerce #payment div.payment_box::before {
	border-bottom-color: var(--color-paper);
}

.woocommerce a.remove {
	color: var(--color-coral) !important;
}

.woocommerce a.remove:hover {
	background: var(--color-coral);
}

/* WooCommerce Blocks cart and checkout */
.woocommerce-cart .wp-block-woocommerce-cart,
.woocommerce-checkout .wp-block-woocommerce-checkout {
	max-width: 1120px;
	margin: 0 auto;
}

.wc-block-components-sidebar-layout {
	display: grid !important;
	grid-template-columns: minmax(520px, 1fr) minmax(350px, 0.42fr);
	gap: clamp(26px, 5vw, 58px) !important;
	align-items: start;
}

.wc-block-components-main {
	padding-right: 0 !important;
	width: auto !important;
}

.wc-block-components-sidebar {
	align-self: flex-start;
	width: auto !important;
	padding: clamp(20px, 3vw, 30px) !important;
	border: 1px solid rgba(37, 35, 31, 0.1);
	border-radius: 30px 22px 32px 24px;
	background: var(--color-paper);
	box-shadow: 0 14px 34px rgba(65, 52, 38, 0.08);
}

.wc-block-components-sidebar-layout .wc-block-components-main {
	grid-column: 1;
}

.wc-block-components-sidebar-layout .wc-block-components-sidebar {
	grid-column: 2;
	position: sticky;
	top: 118px;
}

.wc-block-cart-items,
.wc-block-components-totals-wrapper,
.wc-block-components-order-summary,
.wc-block-components-panel {
	border-color: rgba(37, 35, 31, 0.14) !important;
}

.wc-block-cart-items {
	display: block;
	border-collapse: separate !important;
	border-spacing: 0 !important;
}

.wc-block-cart-items thead {
	display: none;
}

.wc-block-cart-items tbody {
	display: grid;
	gap: 16px;
}

.wc-block-cart-items__header th {
	padding-bottom: 12px !important;
	border-bottom: 1px solid rgba(37, 35, 31, 0.16) !important;
	color: var(--color-ink);
	font-size: 0.84rem;
	font-weight: 800 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.wc-block-cart-items__row {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	padding: 20px;
	border: 1px solid rgba(37, 35, 31, 0.08);
	border-radius: 28px;
	background: var(--color-paper);
	box-shadow: 0 10px 26px rgba(65, 52, 38, 0.06);
}

.wc-block-cart-items__row td {
	display: block;
	padding: 0 !important;
	border: 0 !important;
}

.wc-block-cart-items__row td:first-child {
	width: 100%;
	border: 0 !important;
	border-radius: 0;
}

.wc-block-cart-items__row td:last-child {
	display: none;
}

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
	width: 76px !important;
	max-width: 76px !important;
	height: 76px !important;
	padding: 5px;
	border-radius: 18px;
	background: var(--color-yellow);
	object-fit: cover !important;
}

.wc-block-cart-item__image {
	grid-column: 1 !important;
	grid-row: 1 !important;
	width: 112px !important;
	max-width: 112px !important;
	flex: 0 0 112px;
}

.wc-block-cart-item__image img {
	width: 112px !important;
	max-width: 112px !important;
	height: 112px !important;
}

.wc-block-cart-item__product {
	display: block !important;
	width: 100%;
	padding-right: 46px !important;
}

.wc-block-cart-item__product,
.wc-block-cart-item__prices,
.wc-block-cart-item__total,
.wc-block-components-product-name,
.wc-block-components-order-summary-item__total-price {
	color: var(--color-ink);
	font-weight: 800;
}

.wc-block-cart-item__total {
	padding-top: 4px;
	white-space: nowrap;
}

.wc-block-cart-item__wrap {
	grid-column: 2 !important;
	grid-row: 1 !important;
	min-width: 0;
	display: grid;
	gap: 6px;
}

.wc-block-components-product-metadata,
.wc-block-cart-item__short-description {
	color: var(--color-ink-soft);
	font-size: 0.88rem;
	line-height: 1.45;
}

.wc-block-cart-item__remove-link {
	position: absolute;
	top: 20px;
	right: 20px;
	bottom: auto;
	display: inline-grid !important;
	width: 34px;
	height: 34px;
	margin: 0 !important;
	padding: 0 !important;
	place-items: center;
	border: 1.5px solid rgba(37, 35, 31, 0.55) !important;
	border-radius: 50% !important;
	background: var(--color-paper) !important;
	color: transparent !important;
	/* Kill the transparent "Usuń" label's box so the × glyph centers. */
	font-size: 0 !important;
	line-height: 0 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.wc-block-cart-item__remove-link::before {
	display: block;
	color: var(--color-ink);
	font-size: 1.25rem;
	line-height: 1;
	content: "×";
}

.wc-block-cart-item__remove-link:hover,
.wc-block-cart-item__remove-link:focus-visible {
	background: var(--color-yellow) !important;
}

.wc-block-components-totals-wrapper,
.wc-block-components-panel {
	padding-block: 15px !important;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--color-ink);
	font-weight: 800;
}

.wc-block-cart__submit-container,
.wc-block-checkout__actions_row {
	margin-top: 22px;
}

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 24px !important;
	border: var(--border) !important;
	border-radius: 999px !important;
	background: var(--color-coral) !important;
	box-shadow: none !important;
	color: var(--color-ink) !important;
	font-family: var(--font-body);
	font-size: 0.95rem !important;
	font-weight: 800 !important;
	line-height: 1.2;
	text-decoration: none !important;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
	background: #f48b7d !important;
	box-shadow: 3px 4px 0 var(--color-ink) !important;
	transform: translateY(-2px);
}

.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button {
	color: #9a4037;
	font-weight: 800;
	text-decoration: none;
}

.wc-block-checkout__form {
	padding: clamp(20px, 4vw, 36px);
	border-radius: 34px 24px 34px 24px;
	background: var(--color-paper);
	box-shadow: 0 14px 34px rgba(65, 52, 38, 0.08);
}

.wc-block-components-checkout-step {
	padding-left: 0 !important;
	border-left: 0 !important;
}

.wc-block-components-checkout-step__heading {
	margin-bottom: 14px !important;
}

.wc-block-components-checkout-step__title,
.wc-block-components-title {
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2.2vw, 1.8rem) !important;
	font-weight: 700 !important;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-form .wc-block-components-text-input input,
.wc-block-components-address-form__address_1 input,
.wc-block-components-address-form__city input,
.wc-block-components-address-form__postcode input,
.wc-block-components-address-form__phone input {
	min-height: 52px !important;
	border: var(--border) !important;
	border-radius: 14px !important;
	background: var(--color-white) !important;
	box-shadow: none !important;
	color: var(--color-ink) !important;
	font: inherit !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus {
	box-shadow: 0 0 0 4px rgba(168, 216, 202, 0.32) !important;
	outline: 0 !important;
}

.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-block-components-checkbox label,
.wc-block-components-radio-control__label {
	color: var(--color-ink) !important;
	font-weight: 700;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	border: 1.5px solid var(--color-ink);
	border-radius: 5px;
}

.wc-block-checkout__payment-method {
	padding: clamp(18px, 3vw, 26px);
	border: 1px solid rgba(37, 35, 31, 0.12);
	border-radius: 24px;
	background: var(--color-cream);
}

.atp-block-payment-item-wrapper,
.atp-block-payment-item,
.autopay-gateway,
.wc-block-checkout__payment-method iframe {
	max-width: 100%;
	box-sizing: border-box;
}

.blik-input {
	max-width: 100%;
	box-sizing: border-box;
}

.wc-block-components-order-summary {
	margin-bottom: 12px;
}

.wc-block-components-order-summary-item__description {
	min-width: 0;
}

.wc-block-components-order-summary-item__description .wc-block-components-product-name {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-height: 1.25;
}

.wc-block-components-order-summary-item {
	gap: 12px;
	padding-block: 14px !important;
}

/* WooCommerce store notice */
.woocommerce-store-notice,
p.demo_store {
	position: relative;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	z-index: 99998;
	min-height: 42px;
	margin: 0;
	padding: 6px max(55px, calc((100vw - var(--container)) / 2)) 8px;
	border-bottom: 1.5px solid var(--color-ink);
	background: var(--color-coral);
	box-shadow: 0 8px 24px rgba(37, 35, 31, 0.1);
	color: var(--color-ink);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

.woocommerce-store-notice::before,
p.demo_store::before {
	display: inline-block;
	margin-right: 10px;
	font-size: 1.2rem;
	content: "✦";
}

.woocommerce-store-notice__dismiss-link {
	position: absolute;
	top: 50%;
	right: max(18px, calc((100vw - var(--container)) / 2));
	display: grid;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid var(--color-ink);
	border-radius: 50%;
	background: var(--color-paper);
	color: var(--color-ink) !important;
	font-size: 0;
	font-weight: 800;
	line-height: 1;
	text-decoration: none !important;
	box-shadow: none !important;
	transform: translateY(-50%);
	transition: background 180ms ease, transform 180ms ease;
}

.woocommerce-store-notice__dismiss-link::before,
.woocommerce-store-notice__dismiss-link::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	border: 0;
	border-radius: 999px;
	background: var(--color-ink);
	box-shadow: none;
	content: "";
	text-decoration: none;
	transform: translate(-50%, -50%) rotate(45deg);
}

.woocommerce-store-notice__dismiss-link::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.woocommerce-store-notice__dismiss-link:hover,
.woocommerce-store-notice__dismiss-link:focus,
.woocommerce-store-notice__dismiss-link:visited {
	box-shadow: none !important;
	text-decoration: none !important;
}

.woocommerce-store-notice__dismiss-link:hover,
.woocommerce-store-notice__dismiss-link:focus {
	background: var(--color-yellow);
}

.woocommerce-store-notice__dismiss-link:hover {
	transform: translateY(-50%) rotate(8deg);
}

/* Sticky product bar */
.product-sticky-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 45;
	border-top: 1.5px solid var(--color-ink);
	background: var(--color-paper);
	box-shadow: 0 -10px 30px rgba(65, 52, 38, 0.14);
	transform: translateY(105%);
	transition: transform 240ms ease;
}

.product-sticky-bar.is-visible {
	transform: none;
}

.product-sticky-bar__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-block: 10px;
}

.product-sticky-bar__title {
	flex: 1 1 auto;
	overflow: hidden;
	font-size: 0.95rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.product-sticky-bar__price {
	flex: 0 0 auto;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	white-space: nowrap;
}

.product-sticky-bar__price del {
	margin-right: 6px;
	color: var(--color-ink-soft);
	font-size: 0.7em;
}

.product-sticky-bar__price ins {
	text-decoration: none;
}

/* Later in the file than the .woocommerce button.button rules on purpose:
   the equal-specificity tie keeps this button coral like the main CTA. */
.woocommerce button.product-sticky-bar__button {
	flex: 0 0 auto;
	background: var(--color-coral);
}

.woocommerce button.product-sticky-bar__button:hover,
.woocommerce button.product-sticky-bar__button:focus-visible {
	background: #f48b7d;
}

/* Responsive */
@media (max-width: 1000px) {
	.site-header__inner {
		grid-template-columns: auto 1fr auto auto auto;
	}

	.menu-toggle {
		display: grid;
		grid-column: 3;
	}

	.primary-navigation {
		position: fixed;
		inset: 0;
		z-index: -1;
		display: grid;
		padding: 145px 30px 40px;
		place-items: start center;
		/* The desktop justify-self: center would shrink-wrap this fixed
		   overlay to its content width; stretch fills the whole inset box. */
		justify-self: stretch;
		align-self: stretch;
		background: var(--color-cream);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-15px);
		transition: opacity 180ms ease, transform 180ms ease;
	}

	.primary-navigation.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.primary-navigation .menu {
		flex-direction: column;
		font-family: var(--font-display);
		font-size: 1.6rem;
	}

	.primary-navigation a {
		font-size: inherit;
	}

	.hero__grid {
		grid-template-columns: 1fr 0.9fr;
		gap: 20px;
	}

	.hero__visual {
		min-height: 420px;
	}

	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

}

@media (max-width: 860px) {
	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__content {
		text-align: center;
	}

	.hero__title,
	.hero__lead,
	.hero .search-form {
		margin-right: auto;
		margin-left: auto;
	}

	.hero__actions,
	.hero__proof {
		justify-content: center;
	}

	.hero__title-line {
		margin-inline: auto;
	}

	.hero__visual {
		width: min(100%, 430px);
		min-height: 390px;
		margin: 16px auto 0;
	}
}

@media (max-width: 760px) {
	html,
	body {
		overflow-x: clip;
	}

	.site-container {
		width: min(calc(100% - 28px), var(--container));
	}

	.site-header__inner {
		min-height: 68px;
		gap: 10px;
	}

	.site-title {
		font-size: 1.45rem;
	}

	.custom-logo,
	.site-logo img {
		max-width: 170px;
		max-height: 48px;
	}

	.header-cart,
	.menu-toggle,
	.header-search-toggle {
		width: 41px;
		height: 41px;
	}

	.hero {
		padding-top: 28px;
	}

	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__content {
		text-align: center;
	}

	.hero__title,
	.hero__lead,
	.hero .search-form {
		margin-right: auto;
		margin-left: auto;
	}

	.hero__actions,
	.hero__proof {
		justify-content: center;
	}

	.product-sticky-bar__title {
		display: none;
	}

	.product-sticky-bar__inner {
		justify-content: space-between;
	}

	.hero__title-line {
		margin-inline: auto;
	}

	.hero__visual {
		min-height: 300px;
		margin-top: 6px;
	}

	.category-strip {
		padding-block: 0 14px;
	}

	.category-list {
		gap: 4px 8px;
	}

	.category-pill {
		min-width: 104px;
		min-height: 42px;
		padding: 6px 13px;
		font-size: 1rem;
	}

	.section-heading {
		align-items: start;
		flex-direction: column;
	}

	.section-heading--center {
		align-items: center;
	}

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

	.materials-grid .material-card,
	.materials-grid .material-card:nth-last-child(2):nth-child(3n+1),
	.materials-grid .material-card:last-child:nth-child(3n+1) {
		grid-column: auto;
	}

	.material-card:nth-child(n) {
		transform: none;
	}

	.shop-news .products,
	.woocommerce ul.products,
	.wc-block-grid__products,
	.woocommerce .wc-block-grid__products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.catalog-category-section {
		padding: 22px 28px 28px;
	}

	.catalog-category-section__header {
		display: block;
	}

	.catalog-category-section__link {
		margin-top: 18px;
	}

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

	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.newsletter__box {
		max-width: 560px;
		padding: 34px 36px 42px;
		text-align: center;
	}

	.newsletter h2 {
		white-space: normal;
	}

	.newsletter__flight-path {
		top: -42px;
		right: -28px;
		width: 190px;
		height: 128px;
		opacity: 0.82;
	}

	.newsletter__mail-path {
		bottom: -12px;
		left: -42px;
		display: block;
		width: 104px;
		height: 50px;
		opacity: 0.72;
	}

	.newsletter__plane {
		top: -48px;
		right: -10px;
		width: 72px;
	}

	.newsletter__plane .icon {
		width: 72px;
		height: 72px;
	}

	.about__inner {
		grid-template-columns: 1fr 200px;
	}

	.about__content {
		text-align: left;
	}

	.about__content h2 {
		white-space: normal;
	}

	.about__note {
		grid-column: 1 / -1;
		text-align: center;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.social-links {
		grid-column: auto;
	}

	.woocommerce div.product div.images,
	.woocommerce div.product div.summary {
		float: none;
		width: 100%;
	}

	.woocommerce div.product,
	.woocommerce-checkout form.checkout {
		grid-template-columns: 1fr;
		max-width: none;
		min-width: 0;
	}

	.woocommerce div.product div.summary,
	.woocommerce-checkout #order_review {
		position: static;
	}

	.woocommerce div.product div.images,
	.woocommerce div.product div.summary {
		grid-column: 1;
		max-width: none;
		min-width: 0;
		justify-self: stretch;
	}

	.woocommerce div.product div.images {
		grid-row: 1;
	}

	.woocommerce div.product div.summary {
		grid-row: 2;
	}

	.woocommerce div.product .woocommerce-product-gallery.teacherania-gallery-bg {
		height: auto;
		min-height: min(92vw, 420px);
	}

	.product-quick-info {
		grid-row: auto;
	}

	.product-quick-info__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.product-motif {
		display: none;
	}

	.product-contains {
		grid-column: 1;
		grid-row: 3;
		grid-template-columns: 1fr;
		max-width: none;
		margin-top: 6px;
		padding: 22px;
		text-align: center;
	}

	.product-contains__intro p {
		margin-right: auto;
		margin-left: auto;
	}

	.product-contains__list {
		grid-template-columns: 1fr;
		text-align: left;
	}

	.wc-block-components-sidebar-layout {
		display: block !important;
		grid-template-columns: 1fr;
	}

	.wc-block-components-sidebar {
		position: static;
		margin-top: 24px !important;
	}

	.woocommerce-checkout .wc-block-components-sidebar {
		display: none !important;
	}

	.woocommerce table.shop_table_responsive tr,
	.woocommerce-page table.shop_table_responsive tr {
		margin-bottom: 16px;
		border-radius: var(--radius-sm);
		background: var(--color-paper);
	}
}

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

@media (max-width: 520px) {
	.woocommerce-store-notice,
	p.demo_store {
		min-height: 50px;
		padding: 8px 52px 8px 12px;
		font-size: 0.72rem;
		line-height: 1.25;
	}

	.woocommerce-store-notice::before,
	p.demo_store::before {
		display: none;
	}

	.woocommerce-store-notice__dismiss-link {
		right: 12px;
	}

	h1 {
		font-size: clamp(2.55rem, 14vw, 4rem);
	}

	.section {
		padding-block: 58px;
	}

	.hero__visual {
		min-height: 285px;
	}

	.category-strip.section {
		padding-block: 0 12px;
	}

	.category-strip + .materials.section {
		padding-top: 26px;
	}

	.doodle {
		font-size: 2.2rem;
	}

	.materials-grid,
	.woocommerce ul.products,
	.wc-block-grid__products,
	.woocommerce .wc-block-grid__products {
		grid-template-columns: 1fr;
	}

	.catalog-category-nav {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 8px;
		scrollbar-width: none;
	}

	.catalog-category-nav::-webkit-scrollbar {
		display: none;
	}

	.catalog-category-nav .category-pill {
		flex: 0 0 auto;
	}

	.catalog-category-section {
		padding: 18px 16px 26px;
		border-radius: 30px;
	}

	.catalog-category-section::before {
		display: none;
	}

	.catalog-category-section__header h2 {
		font-size: 2rem;
	}

	.woocommerce div.product .related ul.products {
		display: grid !important;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		grid-auto-columns: min(72vw, 245px);
		grid-auto-flow: column;
		grid-template-columns: none !important;
		justify-content: start;
		overflow-x: auto;
		gap: 14px;
		margin-inline: 0 !important;
		padding: 2px 0 18px !important;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		-webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 42px), transparent 100%);
		mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 42px), transparent 100%);
	}

	.woocommerce div.product .related,
	.woocommerce div.product .upsells,
	.woocommerce div.product .woocommerce-tabs {
		max-width: 100%;
		min-width: 0;
		overflow: hidden;
	}

	.woocommerce div.product .related > h2,
	.woocommerce div.product .upsells > h2 {
		max-width: 320px;
		margin-bottom: 24px;
		font-size: clamp(1.75rem, 8.5vw, 2.25rem);
		line-height: 1.08;
	}

	.woocommerce div.product .related > h2::before,
	.woocommerce div.product .upsells > h2::before {
		margin-bottom: 5px;
		font-size: 0.62rem;
		letter-spacing: 0.1em;
	}

	.woocommerce div.product .related > h2::after,
	.woocommerce div.product .upsells > h2::after {
		height: 5px;
		margin-top: 4px;
	}

	.woocommerce div.product .related ul.products::-webkit-scrollbar {
		display: none;
	}

	.woocommerce div.product .related ul.products li.product {
		width: auto !important;
		margin: 0 !important;
		scroll-snap-align: center;
	}

	.shop-news .products {
		display: grid !important;
		grid-auto-columns: min(82vw, 320px);
		grid-auto-flow: column;
		grid-template-columns: none !important;
		overflow-x: auto;
		padding: 2px 14px 12px !important;
		margin-inline: -14px !important;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 46px), transparent 100%);
		mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 46px), transparent 100%);
	}

	.shop-news .products::-webkit-scrollbar {
		display: none;
	}

	.shop-news .products li.product {
		scroll-snap-align: center;
	}

	.shop-news__hint {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		width: fit-content;
		margin: 8px auto 0;
		padding: 7px 13px;
		border: 1px solid rgba(37, 35, 31, 0.12);
		border-radius: 999px;
		background: rgba(255, 253, 248, 0.72);
		color: var(--color-ink-soft);
		font-size: 0.78rem;
		font-weight: 800;
	}

	.newsletter {
		padding-top: 24px;
		padding-bottom: 40px;
	}

	.newsletter__box {
		width: min(100%, 360px);
		padding: 28px 20px 30px;
	}

	.newsletter h2 {
		font-size: clamp(1.65rem, 7.2vw, 2rem);
		line-height: 1.08;
		white-space: normal;
		text-wrap: balance;
	}

	.newsletter p {
		max-width: 300px;
		margin-right: auto;
		margin-left: auto;
		margin-bottom: 14px;
		font-size: 0.88rem;
		line-height: 1.35;
	}

	.newsletter__note {
		margin-top: 9px;
		font-size: 0.7rem;
	}

	.newsletter .mailerlite-form-inputs,
	.newsletter form.ml-block-form,
	.newsletter__placeholder {
		flex-direction: column;
		align-items: stretch !important;
		gap: 9px !important;
	}

	.newsletter .mailerlite-subscribe-button-container,
	.newsletter .ml-form-embedSubmit,
	.newsletter .mailerlite-subscribe-submit,
	.newsletter .ml-form-embedSubmit button,
	.newsletter__placeholder .button {
		width: 100% !important;
	}

	.newsletter__plane {
		top: -44px;
		right: -2px;
		width: 66px;
	}

	.newsletter__plane .icon {
		width: 66px;
		height: 66px;
	}

	.newsletter__envelope {
		bottom: -10px;
		left: 6px;
		width: 42px;
	}

	.newsletter__envelope .icon {
		width: 42px;
		height: 42px;
	}

	.about {
		padding-top: 42px;
		padding-bottom: 54px;
	}

	.about__inner {
		gap: 18px;
	}

	.about__content p {
		max-width: 270px;
		margin-inline: auto;
	}

	.about__portrait {
		width: 176px;
		padding: 7px;
		box-shadow: 0 12px 28px rgba(65, 52, 38, 0.1);
	}

	.about__portrait-bg {
		inset: 7px;
	}

	.about__note {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: fit-content;
		margin: 0 auto;
		padding: 7px 13px;
		border-radius: 999px;
		background: rgba(255, 253, 248, 0.72);
		font-size: 1rem;
	}

	.about__note span {
		margin-left: 0;
		font-size: 1.35rem;
	}

	.wc-block-components-sidebar,
	.wc-block-checkout__form {
		padding: 18px !important;
		border-radius: 24px;
	}

	.wc-block-cart-items__row {
		border-radius: 22px;
	}

	.wc-block-cart-items__row td {
		padding: 14px 8px !important;
	}

	.wc-block-components-button:not(.is-link),
	.wc-block-cart__submit-button,
	.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
		width: 100%;
	}

	.wc-block-checkout__actions_row {
		display: flex;
		flex-direction: column-reverse;
		gap: 14px;
	}

	.atp-block-payment-item-wrapper,
	.atp-block-payment-item {
		max-width: 100% !important;
		overflow: hidden;
	}

	.blik-input {
		width: 100% !important;
		max-width: 165px !important;
	}

	.material-card {
		max-width: 380px;
		margin-inline: auto;
	}

	.testimonial {
		padding: 24px;
	}

	.comment-list .children {
		margin-left: 14px;
		padding-left: 0;
	}

	.comment-body {
		padding: 18px;
	}

	.comment-form {
		grid-template-columns: 1fr;
	}

	.newsletter__placeholder,
	.newsletter-widget form,
	.newsletter .mailerlite-form-inputs {
		align-items: stretch;
		flex-direction: column;
	}

	.newsletter form.ml-block-form {
		align-items: stretch !important;
		flex-direction: column !important;
	}

	.newsletter .ml-form-embedSubmit,
	.newsletter .ml-form-embedSubmit button {
		width: 100% !important;
	}

	.newsletter__box {
		max-width: 360px;
		padding: 28px 20px 30px;
	}

	.newsletter__shape {
		inset: -10px -12px -12px;
		width: calc(100% + 24px);
		height: calc(100% + 22px);
	}

	.newsletter h2 {
		max-width: none;
		margin-right: auto;
		margin-left: auto;
		font-size: clamp(1.6rem, 7vw, 1.9rem);
		line-height: 1.12;
		text-wrap: balance;
	}

	.newsletter p {
		max-width: 300px;
		margin-bottom: 14px;
		font-size: 0.88rem;
		line-height: 1.4;
	}

	.newsletter .newsletter__placeholder,
	.newsletter .mailerlite-form-inputs,
	.newsletter form.ml-block-form {
		flex-direction: column !important;
	}

	.newsletter__flight-path {
		top: -46px;
		right: -8px;
		width: 118px;
		height: 76px;
		opacity: 0.8;
	}

	.newsletter p.newsletter__note {
		max-width: none;
		margin-top: 9px;
		font-size: 0.7rem;
	}

	.newsletter__plane {
		top: -45px;
		right: -2px;
		width: 66px;
	}

	.newsletter__plane .icon {
		width: 66px;
		height: 66px;
	}

	.newsletter__envelope {
		bottom: -17px;
		left: -6px;
		width: 46px;
	}

	.newsletter__envelope .icon {
		width: 46px;
		height: 46px;
	}

	.newsletter__mail-path {
		bottom: -11px;
		left: -34px;
		display: block;
		width: 92px;
		height: 44px;
		opacity: 0.66;
	}

	.about__inner {
		grid-template-columns: 1fr;
		gap: 16px;
		text-align: center;
	}

	.about__content {
		text-align: center;
	}

	.about__content h2 {
		margin-bottom: 10px;
		font-size: clamp(2.15rem, 11vw, 2.8rem);
	}

	.about__content p {
		max-width: 300px;
		font-size: 0.95rem;
		line-height: 1.65;
	}

	.about__portrait {
		width: 220px;
		margin-inline: auto;
	}

	.woocommerce div.product .woocommerce-tabs .panel {
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.woocommerce div.product .woocommerce-tabs .panel p:first-of-type {
		padding: 14px 15px;
		font-size: 0.96rem;
		line-height: 1.6;
	}

	.woocommerce div.product .woocommerce-tabs .panel ul,
	.woocommerce div.product .woocommerce-tabs .panel ol {
		padding: 16px 16px 16px 28px;
		border-radius: 18px;
	}

	.woocommerce div.product .woocommerce-tabs .panel img {
		margin-top: 20px;
		margin-bottom: 20px;
		border-radius: 14px;
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}

	.post-navigation__item--next {
		align-items: start;
		text-align: left;
	}

	.entry-content {
		font-size: 1rem;
	}
}

@media (max-width: 380px) {
	.hero__title {
		font-size: 2.25rem;
	}
}

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

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