/*
Theme Name: Natalochka
Author: Oleh Shashkevych
Author URI: https://shashkevych.com
Description: Custom WooCommerce theme for Natalochka.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: natalochka
*/

:root {
	--natalochka-color-text: #292929;
	--natalochka-color-muted: #777777;
	--natalochka-color-subtle: #f7f7f7;
	--natalochka-color-border: #dedede;
	--natalochka-color-dark: #202020;
	--natalochka-color-accent: #ef5a5a;
	--natalochka-container-width: 1192px;
	--natalochka-gutter: clamp(20px, 8.6vw, 124px);
	--natalochka-space-xs: 8px;
	--natalochka-space-sm: 16px;
	--natalochka-space-md: 24px;
	--natalochka-space-lg: 40px;
	--natalochka-space-xl: 64px;
	--natalochka-radius: 0;
	--natalochka-font-body: Arial, Helvetica, sans-serif;
	--natalochka-font-heading: Arial, Helvetica, sans-serif;
}

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

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	min-height: 100vh;
	margin: 0;
	background: #ffffff;
	color: var(--natalochka-color-text);
	font-family: var(--natalochka-font-body);
	font-size: 1rem;
	line-height: 1.5;
}

body,
button,
input,
select,
textarea {
	font-weight: 400;
}

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

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--natalochka-color-accent);
}

button,
input,
select,
textarea {
	max-width: 100%;
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--natalochka-color-text);
	outline-offset: 3px;
}

.natalochka-container {
	width: min(var(--natalochka-container-width), calc(100% - (var(--natalochka-gutter) * 2)));
	margin-right: auto;
	margin-left: auto;
}

.screen-reader-text {
	position: absolute;
	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;
	width: auto;
	height: auto;
	padding: 12px 16px;
	margin: 0;
	overflow: visible;
	clip: auto;
	color: #ffffff;
	background: var(--natalochka-color-dark);
	font-size: 0.875rem;
	white-space: normal;
}

.site {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

.site-main {
	flex: 1 0 auto;
}

.site-header {
	position: relative;
	z-index: 10;
	background: #ffffff;
}

.site-header__menu-toggle { display: none; }
.site-header__menu-label { display: none; }

.homepage { overflow: hidden; }
.homepage-hero { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; padding-top: 2px; }
.homepage-categories { border: 1px solid #eee; }
.homepage-categories h2 { margin: 0; padding: 21px 24px; color: #fff; background: var(--natalochka-color-dark); font-size: 1rem; text-transform: uppercase; }
.category-link { display: flex; min-height: 45px; align-items: center; gap: 12px; padding: 9px 22px; border-bottom: 1px solid #e8e8e8; font-size: .8rem; }
.category-link__icon { width: 16px; color: #111; font-size: 1rem; text-align: center; }
.hero-slide { position: relative; min-height: 562px; background: var(--hero-image) center/cover no-repeat; }
.hero-slide__copy { position: absolute; top: 43%; left: 7%; max-width: 340px; transform: translateY(-50%); }
.hero-slide__copy p { margin: 0 0 5px; color: #555; font-size: .9rem; }
.hero-slide__copy h1 { max-width: 360px; margin: 0 0 25px; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: .98; }
.button { display: inline-block; padding: 12px 21px; border-radius: 24px; color: #fff; background: var(--natalochka-color-dark); font-size: .72rem; text-transform: uppercase; }
.slider-dots { position: absolute; bottom: 18px; left: 50%; display: flex; gap: 9px; transform: translateX(-50%); }
.slider-dots span { display: block; width: 8px; height: 8px; border: 1px solid #fff; border-radius: 50%; }
.slider-dots .is-active { background: #fff; }
.homepage-promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.promo-card { display: flex; min-height: 158px; flex-direction: column; justify-content: center; padding: 28px; color: #fff; background-position: center; background-size: cover; }
.promo-card strong { max-width: 190px; font-size: 1.2rem; line-height: 1.05; }
.promo-card span { margin-top: 12px; font-size: .65rem; text-transform: uppercase; }
.homepage-section { margin-top: 100px; }
.section-heading { margin-bottom: 28px; text-align: center; }
.section-heading h2 { margin: 0 0 4px; font-size: 1.8rem; line-height: 1.15; }
.section-heading p { max-width: 560px; margin: 0 auto; color: #999; font-size: .75rem; }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.category-grid a { position: relative; overflow: hidden; }
.category-grid img { width: 100%; aspect-ratio: 1.49; object-fit: cover; }
.category-grid span { position: absolute; top: 50%; left: 50%; color: #fff; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; transform: translate(-50%, -50%); }
.product-grid { display: grid; gap: 16px; }
.product-grid--featured { grid-template-columns: repeat(5, 1fr); }
.product-grid--best { grid-template-columns: repeat(4, 1fr); row-gap: 34px; }
.product-card { min-width: 0; font-size: .72rem; }
.product-card img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; margin-bottom: 9px; background: #f6f6f6; }
.product-card span { display: block; min-height: 34px; line-height: 1.25; }
.product-card small { display: block; margin-top: 5px; color: var(--natalochka-color-accent); font-size: .7rem; }
.homepage-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; margin-top: 118px; }
.homepage-editorial img { width: 100%; }
.homepage-editorial h2 { margin: 0 0 18px; font-size: 1.55rem; line-height: 1.12; }
.homepage-editorial p { color: #777; font-size: .8rem; line-height: 1.6; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-grid article { padding: 28px 30px; border: 1px solid #ededed; text-align: center; }
.testimonial-grid img { width: 60px; height: 60px; object-fit: cover; margin: 0 auto 17px; }
.testimonial-grid p { min-height: 48px; color: #777; font-size: .72rem; }
.testimonial-grid strong { font-size: .75rem; }
.faq { max-width: 960px; }
.faq .section-heading { margin-bottom: 25px; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-item button { display: flex; width: 100%; justify-content: space-between; padding: 18px 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.faq-item button span { transition: transform 160ms ease; }
.faq-item p { display: none; margin: 0 0 18px; color: #777; font-size: .75rem; }
.faq-item.is-open p { display: block; }
.faq-item.is-open button span { transform: rotate(180deg); }
.mobile-menu { display: none; }

/* Catalog */
.catalog-page__inner { padding-top: 1px; }
.catalog-page__title { margin: 0 0 34px; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.1; }
.catalog-layout { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 42px; }
.catalog-filters { min-width: 0; }
.catalog-filter-group { padding: 0 0 20px; margin: 0 0 20px; border-bottom: 1px solid #e4e4e4; }
.catalog-filter-group h2 { margin: 0 0 13px; font-size: .78rem; line-height: 1.2; }
.catalog-filter-group ul { padding: 0; margin: 0; list-style: none; }
.catalog-filter-group li { margin: 0; }
.catalog-filter-group li a { display: flex; min-height: 26px; align-items: center; justify-content: space-between; color: #777; font-size: .68rem; }
.catalog-filter-group li a:hover, .catalog-filter-group li a.is-selected { color: var(--natalochka-color-text); font-weight: 700; }
.catalog-filter-group small { display: inline-flex; min-width: 20px; height: 17px; align-items: center; justify-content: center; border-radius: 9px; color: #999; background: #f7f7f7; font-size: .58rem; }
.catalog-filter-group--price { position: relative; padding-bottom: 30px; }
.catalog-price-range { display: flex; height: 15px; align-items: center; border-top: 2px solid #292929; margin: 28px 0 10px; }
.catalog-price-range span { width: 2px; height: 10px; background: #292929; }
.catalog-price-range span:last-child { margin-left: auto; }
.catalog-filter-group--price p { margin: 0; color: #777; font-size: .62rem; }
.catalog-filter-group--price strong { color: var(--natalochka-color-text); font-weight: 400; }
.catalog-apply { position: absolute; right: 0; bottom: 28px; padding: 5px 8px; background: #f7f7f7; font-size: .57rem; text-transform: uppercase; }
.catalog-reset { display: inline-block; margin-bottom: 18px; font-size: .68rem; }
.catalog-results { min-width: 0; }
.catalog-results__top { position: relative; min-height: 39px; margin-bottom: 8px; }
.catalog-breadcrumbs { display: flex; gap: 7px; color: #999; font-size: .65rem; }
.catalog-breadcrumbs span:last-child { color: #777; }
.catalog-ordering-desktop { position: absolute; top: -2px; right: 0; }
.woocommerce .catalog-ordering-desktop .woocommerce-ordering, .catalog-mobile-toolbar .woocommerce-ordering { float: none; margin: 0; }
.catalog-ordering-desktop select, .catalog-mobile-toolbar select { min-width: 132px; padding: 0 18px 7px 0; border: 0; border-bottom: 1px solid #ddd; border-radius: 0; color: #777; background: #fff; font-size: .62rem; }
.catalog-active-filters { display: flex; gap: 14px; margin-top: 17px; font-size: .68rem; }
.catalog-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px 16px; }
.catalog-products .product-card { font-size: .68rem; }
.catalog-products .product-card img { aspect-ratio: 1 / 1; }
.catalog-products .product-card small { font-size: .66rem; }
.catalog-products .product-card small del { color: #999; }
.catalog-mobile-toolbar, .catalog-filters__mobile-head { display: none; }
.catalog-empty { color: #777; }
.woocommerce-pagination { margin-top: 34px; }
.woocommerce-pagination ul { display: flex; gap: 8px; padding: 0; list-style: none; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid #ddd; font-size: .7rem; }

.site-header__inner {
	display: flex;
	min-height: 80px;
	align-items: center;
	gap: var(--natalochka-space-lg);
}

.site-branding {
	flex: 0 0 auto;
}

.site-branding .custom-logo-link,
.site-branding > a {
	display: block;
}

.site-branding .custom-logo {
	width: auto;
	max-width: 220px;
	max-height: 42px;
}

.site-branding > a:not(.custom-logo-link) {
	font-family: var(--natalochka-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	text-transform: uppercase;
}

.site-navigation {
	margin-left: auto;
}

.site-navigation__menu,
.site-navigation__menu ul {
	display: flex;
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-navigation__menu {
	gap: 30px;
}

.site-navigation__menu li {
	position: relative;
}

.site-navigation__menu a {
	display: block;
	padding: 29px 0;
	font-size: 0.875rem;
	line-height: 1.2;
	text-transform: uppercase;
}

.site-navigation__menu .menu-item-has-children > a::after {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 10px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	content: '';
	transform: translateY(-2px) rotate(45deg);
}

.site-navigation__menu .sub-menu {
	position: absolute;
	top: calc(100% - 8px);
	left: -16px;
	z-index: 20;
	display: block;
	min-width: 190px;
	padding: 8px 0;
	visibility: hidden;
	border: 1px solid var(--natalochka-color-border);
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-navigation__menu .sub-menu a {
	padding: 9px 16px;
	font-size: 0.875rem;
	text-transform: none;
	white-space: nowrap;
}

.site-navigation__menu li:hover > .sub-menu,
.site-navigation__menu li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.site-header__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 20px;
}

.site-header__action {
	position: relative;
	display: inline-flex;
	width: 24px;
	height: 32px;
	align-items: center;
	justify-content: center;
	color: var(--natalochka-color-text);
}

.site-header__action svg {
	display: block;
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.site-header__cart-count {
	position: absolute;
	top: 1px;
	right: -8px;
	display: inline-flex;
	width: 15px;
	height: 15px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #ffffff;
	background: var(--natalochka-color-dark);
	font-size: 0.625rem;
	line-height: 1;
}

.entry-content {
	padding-top: var(--natalochka-space-xl);
	padding-bottom: var(--natalochka-space-xl);
}

.entry-title {
	margin: 0 0 var(--natalochka-space-md);
	font-family: var(--natalochka-font-heading);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
}

/* Contacts */
.contacts-page__inner {
	padding-top: 0;
	padding-bottom: 92px;
}

.contacts-page + .site-footer {
	margin-top: 0;
}

.contacts-page + .site-footer .site-footer__top {
	padding-top: 70px;
}

.contacts-page__intro {
	max-width: 500px;
	padding-top: 0;
}

.contacts-page__intro h1 {
	margin: 0 0 7px;
	font-size: clamp(2rem, 3vw, 2.05rem);
	line-height: 1.15;
}

.contacts-page__description {
	color: var(--natalochka-color-muted);
	font-size: .875rem;
	line-height: 1.28;
}

.contacts-page__description p {
	margin: 0;
}

.contacts-page__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px;
	margin-top: 40px;
}

.contact-card {
	min-width: 0;
}

.contact-card h2 {
	margin: 0;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--natalochka-color-border);
	font-size: .875rem;
	line-height: 1.25;
}

.contact-card__value {
	padding-top: 17px;
	color: var(--natalochka-color-muted);
	font-size: .875rem;
	line-height: 1.35;
}

.contact-card__value a {
	display: block;
}

.contact-card__value a:hover {
	color: var(--natalochka-color-text);
}

.site-footer {
	flex: 0 0 auto;
	margin-top: var(--natalochka-space-xl);
	color: #ffffff;
	background: var(--natalochka-color-dark);
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: var(--natalochka-space-xl);
	align-items: end;
	padding-top: clamp(64px, 7vw, 104px);
	padding-bottom: 48px;
}

.site-footer__wordmark {
	margin: 0;
	font-family: var(--natalochka-font-heading);
	font-size: clamp(4rem, 10vw, 9rem);
	font-weight: 700;
	letter-spacing: -0.075em;
	line-height: 0.8;
	text-transform: none;
}

.site-footer__navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(96px, auto));
	gap: 28px 52px;
	align-self: center;
}

.site-footer__menu,
.site-footer__menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-footer__menu a {
	display: block;
	padding: 4px 0;
	font-size: 0.8125rem;
	line-height: 1.25;
	text-transform: uppercase;
}

.site-footer__socials {
	grid-column: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
	align-self: start;
}

.site-footer__socials a {
	font-size: 0.8125rem;
	line-height: 1.25;
	text-transform: uppercase;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--natalochka-space-md);
	padding-top: 20px;
	padding-bottom: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.42);
	font-size: 0.75rem;
	line-height: 1.35;
	text-transform: uppercase;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.site-footer__legal .site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

@media (max-width: 980px) {
	.site-header__inner {
		flex-wrap: wrap;
		gap: 0 24px;
	}

	.site-navigation {
		order: 3;
		width: 100%;
	}

	.site-navigation__menu {
		justify-content: center;
		gap: 22px;
	}

	.site-navigation__menu a {
		padding-top: 12px;
		padding-bottom: 16px;
	}
}

@media (max-width: 640px) {
	:root {
		--natalochka-gutter: 20px;
	}

	.site-header__inner {
		min-height: 68px;
		padding-top: 12px;
	}
	.site-header__menu-toggle { display: inline-flex; width: 60px; height: 30px; align-items: center; justify-content: flex-start; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer; }
	.site-header__menu-label { display: inline; font-size: .65rem; text-transform: uppercase; }
	.site-header__menu-icon, .site-header__menu-icon::before, .site-header__menu-icon::after { display: block; width: 14px; height: 1px; background: currentColor; }
	.site-header__menu-icon { position: relative; }
	.site-header__menu-icon::before, .site-header__menu-icon::after { position: absolute; left: 0; content: ''; }
	.site-header__menu-icon::before { top: -4px; }
	.site-header__menu-icon::after { top: 4px; }
	.site-branding { margin-right: auto; }
	.site-navigation { display: none; }
	.site-header__actions { gap: 8px; }
	.mobile-menu { position: absolute; top: 100%; left: 0; z-index: 30; display: block; width: min(298px, 82vw); min-height: calc(100vh - 68px); padding: 0 16px 30px; background: #fff; box-shadow: 8px 5px 20px rgba(0,0,0,.1); }
	.mobile-menu[hidden] { display: none; }
	.mobile-menu__search { display: flex; height: 63px; align-items: center; justify-content: space-between; border-bottom: 1px solid #ddd; color: #777; font-size: .75rem; text-transform: uppercase; }
	.mobile-menu__search a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; }
	.mobile-menu__search svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; }
	.mobile-menu__tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 15px; border-bottom: 1px solid #ddd; }
	.mobile-menu__tabs button { padding: 12px 0 9px; border: 0; border-bottom: 2px solid transparent; background: none; color: #777; cursor: pointer; }
	.mobile-menu__tabs button.is-active { border-color: #222; color: #222; }
	.mobile-menu__panel { display: none; padding-top: 15px; }
	.mobile-menu__panel.is-active { display: block; }
	.mobile-menu .category-link { min-height: 44px; padding: 9px 16px; font-size: .78rem; }
	.mobile-menu__link { display: flex; min-height: 44px; align-items: center; justify-content: space-between; padding: 10px 18px; border-bottom: 1px solid #ddd; font-size: .8rem; }
	.mobile-menu-open { overflow: hidden; }
	.homepage-hero { display: block; width: calc(100% - 12px); padding-top: 0; }
	.homepage-categories { display: none; }
	.hero-slide { min-height: 219px; background-image: var(--hero-image); }
	.hero-slide__copy { top: 52%; left: 5%; max-width: 230px; }
	.hero-slide__copy p { margin-bottom: 3px; color: #fff; font-size: .6rem; }
	.hero-slide__copy h1 { margin-bottom: 12px; color: #fff; font-size: 1.45rem; }
	.button { padding: 7px 12px; font-size: .5rem; }
	.slider-dots { bottom: 8px; gap: 6px; }
	.slider-dots span { width: 5px; height: 5px; }
	.homepage-promos { display: block; width: calc(100% - 12px); margin-top: 7px; }
	.promo-card { min-height: 101px; padding: 18px; }
	.promo-card:not(:first-child) { display: none; }
	.promo-card strong { font-size: .95rem; }
	.promo-card span { margin-top: 7px; font-size: .5rem; }
	.homepage-section { width: calc(100% - 20px); margin-top: 58px; }
	.section-heading { margin-bottom: 18px; }
	.section-heading h2 { font-size: 1rem; }
	.section-heading p { font-size: .58rem; }
	.category-grid { gap: 5px; }
	.category-grid img { aspect-ratio: 1.48; }
	.category-grid span { font-size: .7rem; }
	.product-grid--featured { grid-template-columns: repeat(2, 1fr); gap: 10px 6px; }
	.product-grid--featured .product-card:nth-child(n+3) { display: none; }
	.product-grid--best { grid-template-columns: repeat(2, 1fr); gap: 20px 6px; }
	.product-card { font-size: .58rem; }
	.product-card img { margin-bottom: 5px; }
	.product-card span { min-height: 26px; }
	.product-card small { font-size: .58rem; }
	.homepage-editorial { display: block; width: calc(100% - 12px); margin-top: 60px; }
	.homepage-editorial img { margin-bottom: 20px; }
	.homepage-editorial h2 { font-size: 1rem; }
	.homepage-editorial p { font-size: .65rem; }
	.testimonials { width: calc(100% - 12px); }
	.testimonial-grid { display: block; }
	.testimonial-grid article { padding: 18px 24px; }
	.testimonial-grid article:not(:first-child) { display: none; }
	.testimonial-grid p { min-height: 0; font-size: .62rem; }
	.faq { width: calc(100% - 20px); }
	.faq-item button { padding: 13px 0; font-size: .65rem; }
	.faq-item p { font-size: .62rem; }

	.catalog-page__inner { width: calc(100% - 28px); padding-top: 3px; }
	.catalog-page__title { display: none; }
	.catalog-mobile-toolbar { display: flex; min-height: 50px; align-items: center; justify-content: space-between; border-bottom: 1px solid #ddd; }
	.catalog-filter-toggle { padding: 0; border: 0; background: none; font-size: .68rem; cursor: pointer; }
	.catalog-filter-toggle span { margin-right: 7px; font-size: .8rem; }
	.catalog-ordering-desktop { display: none; }
	.catalog-layout { display: block; }
	.catalog-filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 50; display: none; width: min(298px, 82vw); padding: 0 16px 30px; overflow-y: auto; background: #fff; box-shadow: 8px 5px 20px rgba(0,0,0,.1); }
	.catalog-filters.is-open { display: block; }
	.catalog-filters__mobile-head { display: flex; height: 45px; align-items: center; justify-content: flex-end; gap: 8px; border-bottom: 1px solid #ddd; color: #777; font-size: .7rem; text-transform: uppercase; }
	.catalog-filter-close { padding: 0; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
	.catalog-filter-group { padding-bottom: 14px; margin: 0 0 14px; }
	.catalog-filter-group h2 { margin-bottom: 10px; font-size: .75rem; }
	.catalog-filter-group li a { min-height: 28px; font-size: .68rem; }
	.catalog-results__top { min-height: 53px; padding-top: 13px; margin-bottom: 7px; }
	.catalog-breadcrumbs { font-size: .58rem; }
	.catalog-active-filters { gap: 12px; margin-top: 17px; font-size: .68rem; white-space: nowrap; }
	.catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 10px; }
	.catalog-products .product-card { font-size: .62rem; }
	.catalog-products .product-card img { margin-bottom: 6px; }
	.catalog-products .product-card small { font-size: .62rem; }
	.catalog-page + .site-footer { margin-top: 48px; }
	.contacts-page + .site-footer { margin-top: 0; }
	.contacts-page + .site-footer .site-footer__top { padding-top: 50px; }
	.contacts-page__inner { padding-top: 32px; padding-bottom: 78px; }
	.contacts-page__intro h1 { margin-bottom: 11px; font-size: 1.5rem; }
	.contacts-page__description { font-size: 1rem; line-height: 1.42; }
	.contacts-page__grid { display: block; margin-top: 31px; }
	.contact-card { margin-bottom: 34px; }
	.contact-card h2 { padding-bottom: 17px; font-size: 1.15rem; }
	.contact-card__value { padding-top: 17px; font-size: 1.1rem; line-height: 1.35; }
	.contact-card--socials { margin-bottom: 0; }

	.site-branding > a:not(.custom-logo-link) {
		font-size: 1.25rem;
	}

	.site-navigation__menu {
		display: block;
		padding-bottom: 8px;
	}

	.site-navigation__menu > li > a {
		padding: 9px 0;
	}

	.site-navigation__menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 4px 16px;
		visibility: visible;
		border: 0;
		box-shadow: none;
		opacity: 1;
		transform: none;
	}

	.site-navigation__menu .sub-menu a {
		padding: 6px 0;
	}

	.site-footer__top {
		grid-template-columns: 1fr;
		gap: var(--natalochka-space-lg);
	}

	.site-footer__wordmark {
		font-size: clamp(3.5rem, 18vw, 6rem);
	}

	.site-footer__navigation,
	.site-footer__socials {
		grid-column: auto;
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* Single product */
.single-product-page { padding-top: 1px; }
.product-breadcrumbs { display: flex; gap: 10px; margin-top: 0; margin-bottom: 16px; color: #888; font-size: .72rem; }
.product-breadcrumbs span:last-child { color: var(--natalochka-color-text); }
.product-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .98fr); gap: 28px; }
.product-summary__image-wrap { min-width: 0; }
.product-summary__image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-summary__content { padding-top: 38px; }
.product-summary h1 { max-width: 580px; margin: 0 0 14px; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.03; }
.product-summary__description { max-width: 610px; color: #777; font-size: .88rem; line-height: 1.25; }
.product-summary__price { margin: 20px 0 16px; color: var(--natalochka-color-accent); font-size: 1.25rem; font-weight: 700; }
.product-summary__price del { color: #888; font-size: .85rem; }
.product-summary__cart { display: flex; align-items: center; gap: 10px; }
.quantity-control { display: flex; height: 42px; border: 1px solid #e4e4e4; }
.quantity-control__button, .quantity-control input { width: 34px; padding: 0; border: 0; background: #fff; color: #888; text-align: center; }
.quantity-control input { border-right: 1px solid #eee; border-left: 1px solid #eee; color: var(--natalochka-color-text); -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.product-summary .button { height: 42px; padding: 0 22px; border: 0; border-radius: 0; cursor: pointer; }
.product-summary__category { margin-top: 38px; padding-top: 21px; border-top: 1px solid #e2e2e2; color: #777; font-size: .75rem; }
.product-summary__category a { color: inherit; }
.product-information { margin-top: 56px; }
.product-tabs { display: flex; justify-content: center; gap: 28px; border-top: 1px solid #e5e5e5; }
.product-tabs button { position: relative; padding: 25px 0 17px; border: 0; background: transparent; color: #777; cursor: pointer; font-size: .85rem; font-weight: 700; text-transform: uppercase; }
.product-tabs button.is-active { color: var(--natalochka-color-text); }
.product-tabs button.is-active::before { position: absolute; top: -2px; right: 0; left: 0; height: 3px; background: var(--natalochka-color-text); content: ''; }
.product-tab-panel { display: none; }
.product-tab-panel.is-active { display: block; }
.product-attributes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 80px; margin: 16px 0 0; }
.product-attributes div { min-width: 0; }
.product-attributes dt { margin-bottom: 7px; font-size: .82rem; font-weight: 700; }
.product-attributes dd { margin: 0; color: #888; font-size: .75rem; }
.product-empty-state { color: #777; font-size: .8rem; }
.related-products { margin-top: 106px; }
.related-products h2 { margin: 0 0 25px; font-size: 1.8rem; line-height: 1.1; }
.related-products__grid { grid-template-columns: repeat(4, 1fr); }
.related-products .product-card img { aspect-ratio: 1 / 1.02; }

@media (max-width: 640px) {
	.single-product-page { padding-top: 4px; }
	.product-breadcrumbs { gap: 6px; margin-bottom: 17px; font-size: .58rem; white-space: nowrap; overflow: hidden; }
	.product-summary { display: flex; flex-direction: column; gap: 0; width: calc(100% - 12px); }
	.product-summary__image { aspect-ratio: 1 / 1; }
	.product-summary__content { padding-top: 20px; }
	.product-summary h1 { margin-bottom: 12px; font-size: 1.48rem; }
	.product-summary__description { font-size: .68rem; line-height: 1.3; }
	.product-summary__price { margin: 17px 0 14px; font-size: 1.15rem; }
	.product-summary__cart { gap: 9px; }
	.quantity-control { height: 37px; }
	.quantity-control__button, .quantity-control input { width: 33px; font-size: .72rem; }
	.product-summary .button { height: 37px; padding: 0 16px; font-size: .58rem; }
	.product-summary__category { margin-top: 20px; padding-top: 20px; font-size: .65rem; }
	.product-information { width: calc(100% - 12px); margin-top: 57px; }
	.product-tabs { justify-content: flex-start; gap: 19px; }
	.product-tabs button { padding: 15px 0 11px; font-size: .62rem; white-space: nowrap; }
	.product-attributes { grid-template-columns: repeat(2, 1fr); gap: 15px 22px; margin-top: 17px; }
	.product-attributes dt { margin-bottom: 5px; font-size: .7rem; }
	.product-attributes dd { font-size: .65rem; }
	.related-products { width: calc(100% - 12px); margin-top: 53px; }
	.related-products h2 { margin-bottom: 18px; font-size: 1rem; }
	.related-products__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
	.related-products .product-card { font-size: .62rem; }
	.related-products .product-card small { font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Checkout */
.checkout-page__inner {
	padding-top: 7px;
	padding-bottom: 98px;
}

.checkout-page__inner > h1 {
	margin: 0 0 21px;
	font-size: clamp(2rem, 3vw, 2.05rem);
	line-height: 1.15;
}

.checkout-page + .site-footer {
	margin-top: 0;
}

.checkout-page .woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
	gap: 28px;
	align-items: start;
}

.checkout-page #customer_details,
.checkout-page #order_review {
	min-width: 0;
	padding: 35px;
	background: var(--natalochka-color-subtle);
}

.checkout-page #customer_details {
	grid-column: 1;
}

.checkout-page #order_review {
	grid-column: 2;
	grid-row: 1;
}

.checkout-page .col-1,
.checkout-page .col-2 {
	float: none;
	width: auto;
}

.checkout-page .col-2 {
	display: none;
}

.checkout-page h3,
.checkout-page #order_review_heading {
	margin: 0 0 25px;
	font-size: 1.8rem;
	line-height: 1.15;
}

.checkout-page .woocommerce-billing-fields h3 {
	padding-bottom: 25px;
	border-bottom: 1px solid #d2d2d2;
}

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

.checkout-page .form-row {
	padding: 0;
	margin: 0;
}

.checkout-page .form-row-wide {
	grid-column: 1 / -1;
}

.checkout-page .form-row label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.checkout-page .form-row input.input-text,
.checkout-page .form-row select,
.checkout-page .form-row textarea {
	width: 100%;
	min-height: 41px;
	padding: 11px 13px;
	border: 1px solid #e2e2e2;
	border-radius: 0;
	background: #fff;
	color: var(--natalochka-color-text);
	font-size: .75rem;
}

.checkout-page .woocommerce-billing-fields__field-wrapper .form-row:nth-child(4) {
	margin-bottom: 5px;
}

.checkout-page .woocommerce-billing-fields__field-wrapper .form-row:nth-child(5) {
	margin-bottom: 0;
}

.checkout-page .woocommerce-shipping-fields,
.checkout-page .woocommerce-additional-fields,
.checkout-page .woocommerce-terms-and-conditions-wrapper {
	display: none;
}

.checkout-page .checkout-shipping {
	padding-top: 25px;
	margin-top: 25px;
	border-top: 1px solid #d2d2d2;
}

.checkout-page .checkout-shipping h3 {
	padding-bottom: 25px;
	margin: 0 0 17px;
	border-bottom: 1px solid #d2d2d2;
}

.checkout-page .checkout-shipping ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.checkout-page .checkout-shipping li {
	margin: 10px 0;
	font-size: .875rem;
}

.checkout-page .checkout-shipping label {
	display: flex;
	align-items: center;
	gap: 9px;
}

.checkout-page .checkout-shipping input {
	margin: 0;
	accent-color: var(--natalochka-color-text);
}

.checkout-page #order_review .woocommerce-shipping-totals {
	display: none;
}

.checkout-page .woocommerce-checkout-payment {
	padding-top: 25px;
	margin-top: 25px;
	border-top: 1px solid #d2d2d2;
}

.checkout-page .woocommerce-checkout-payment h3 {
	padding-bottom: 25px;
	border-bottom: 1px solid #d2d2d2;
}

.checkout-page .checkout-payment-heading {
	padding-bottom: 25px;
	margin: 0 0 17px;
	border-bottom: 1px solid #d2d2d2;
	font-size: 1.8rem;
	line-height: 1.15;
}

.checkout-page .woocommerce-checkout-payment ul,
.checkout-page .wc_payment_methods {
	padding: 0;
	margin: 0;
	list-style: none;
}

.checkout-page .woocommerce-checkout-payment li {
	margin: 10px 0;
	font-size: .875rem;
}

.checkout-page .woocommerce-checkout-payment label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.checkout-page .woocommerce-checkout-payment input,
.checkout-page #order_review input {
	accent-color: var(--natalochka-color-text);
}

.checkout-page #order_review_heading {
	padding-bottom: 25px;
	border-bottom: 1px solid #d2d2d2;
}

.checkout-page .shop_table {
	width: 100%;
	border-collapse: collapse;
}

.checkout-page .shop_table th,
.checkout-page .shop_table td {
	padding: 15px 0;
	border-bottom: 1px solid #d2d2d2;
	font-size: .875rem;
	font-weight: 400;
	text-align: left;
	vertical-align: middle;
}

.checkout-page .shop_table th:last-child,
.checkout-page .shop_table td:last-child {
	text-align: right;
}

.checkout-page .shop_table .product-name {
	font-weight: 700;
}

.checkout-page .shop_table .product-total,
.checkout-page .shop_table tfoot th,
.checkout-page .shop_table tfoot td {
	font-weight: 700;
}

.checkout-page .shop_table .cart_item .product-name {
	padding-right: 15px;
}

.checkout-page .shop_table .product-quantity {
	font-weight: 400;
}

.checkout-page #payment {
	margin-top: 0;
}

.checkout-page #payment .place-order {
	padding: 0;
	margin: 25px 0 0;
}

.checkout-page #payment .button {
	width: 100%;
	padding: 13px 16px;
	border: 0;
	border-radius: 0;
	color: #fff;
	background: var(--natalochka-color-text);
	font-size: .75rem;
	cursor: pointer;
}

.checkout-page #payment .place-order .button {
	display: none;
}

.checkout-page .natalochka-checkout-submit {
	display: block;
	width: 100%;
	padding: 13px 16px;
	margin-top: 25px;
	border: 0;
	border-radius: 0;
	color: #fff;
	background: var(--natalochka-color-text);
	font-size: .75rem;
	cursor: pointer;
}

@media (max-width: 640px) {
	.checkout-page__inner {
		width: calc(100% - 24px);
		padding-top: 0;
		padding-bottom: 46px;
	}

	.checkout-page__inner > h1 {
		margin-bottom: 16px;
		font-size: 1.25rem;
	}

	.checkout-page .woocommerce-checkout {
		display: block;
	}

	.checkout-page #customer_details,
	.checkout-page #order_review {
		padding: 13px 11px 14px;
	}

	.checkout-page #order_review {
		margin-top: 18px;
	}

	.checkout-page h3,
	.checkout-page #order_review_heading {
		margin-bottom: 17px;
		font-size: 1rem;
	}

	.checkout-page .woocommerce-billing-fields h3,
	.checkout-page .woocommerce-checkout-payment h3,
	.checkout-page #order_review_heading {
		padding-bottom: 14px;
	}

	.checkout-page .checkout-payment-heading {
		padding-bottom: 14px;
		margin-bottom: 14px;
		font-size: 1rem;
	}

	.checkout-page .woocommerce-billing-fields__field-wrapper {
		gap: 9px;
	}

	.checkout-page .form-row input.input-text,
	.checkout-page .form-row select,
	.checkout-page .form-row textarea {
		min-height: 37px;
		padding: 9px 11px;
		font-size: .68rem;
	}

	.checkout-page .woocommerce-checkout-payment {
		padding-top: 18px;
		margin-top: 18px;
	}

	.checkout-page .checkout-shipping {
		padding-top: 18px;
		margin-top: 18px;
	}

	.checkout-page .checkout-shipping h3 {
		padding-bottom: 14px;
		margin-bottom: 14px;
		font-size: 1rem;
	}

	.checkout-page .checkout-shipping li {
		margin: 8px 0;
		font-size: .75rem;
	}

	.checkout-page .woocommerce-checkout-payment li {
		margin: 8px 0;
		font-size: .75rem;
	}

	.checkout-page .shop_table th,
	.checkout-page .shop_table td {
		padding: 11px 0;
		font-size: .75rem;
	}

	.checkout-page #payment .place-order {
		margin-top: 18px;
	}

	.checkout-page #payment .button {
		padding: 11px 12px;
		font-size: .7rem;
	}

	.checkout-page .natalochka-checkout-submit {
		padding: 11px 12px;
		margin-top: 18px;
		font-size: .7rem;
	}
}

/* Cart */
.cart-page__inner {
	padding-top: 7px;
	padding-bottom: 95px;
}

.cart-page__inner > h1 {
	margin: 0 0 21px;
	font-size: clamp(2rem, 3vw, 2.05rem);
	line-height: 1.15;
}

.cart-page + .site-footer {
	margin-top: 0;
}

.cart-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(330px, 1fr);
	gap: 28px;
	align-items: start;
}

.cart-free-shipping,
.cart-summary {
	background: var(--natalochka-color-subtle);
}

.cart-free-shipping {
	padding: 34px 35px 36px;
	margin-bottom: 30px;
}

.cart-free-shipping p {
	margin: 0 0 8px;
	color: var(--natalochka-color-muted);
	font-size: .875rem;
}

.cart-free-shipping__track {
	height: 9px;
	background: #e6e6e6;
}

.cart-free-shipping__track span {
	display: block;
	height: 100%;
	min-width: 22px;
	background: var(--natalochka-color-text);
}

.cart-table {
	width: 100%;
}

.cart-table__head,
.cart-table__row {
	display: grid;
	grid-template-columns: minmax(220px, 1.6fr) minmax(90px, .7fr) minmax(125px, .85fr) minmax(90px, .7fr);
	align-items: center;
	column-gap: 14px;
}

.cart-table__head {
	padding: 0 9px 17px;
	border-bottom: 1px solid var(--natalochka-color-border);
	font-size: 1.05rem;
}

.cart-table__row {
	min-height: 92px;
	padding: 10px 0;
	border-bottom: 1px solid var(--natalochka-color-border);
	color: var(--natalochka-color-muted);
	font-size: .875rem;
}

.cart-table__product {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 17px;
}

.cart-table__product img {
	flex: 0 0 70px;
	width: 70px;
	height: 72px;
	object-fit: cover;
}

.cart-table__product span {
	max-width: 185px;
	line-height: 1.2;
}

.quantity-control {
	width: 71px;
	height: 36px;
	border: 0;
	background: var(--natalochka-color-subtle);
}

.quantity-control__button,
.quantity-control input {
	width: 23px;
	background: transparent;
	font-size: .75rem;
}

.quantity-control input {
	width: 25px;
}

.cart-update {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.cart-summary {
	padding: 35px 35px 36px;
}

.cart-summary h2 {
	margin: 0 0 25px;
	font-size: 1.8rem;
	line-height: 1.15;
}

.cart-summary__line,
.cart-summary__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 0;
	border-top: 1px solid #d2d2d2;
	font-size: .875rem;
}

.cart-summary__shipping {
	padding: 17px 0 13px;
	border-top: 1px solid #d2d2d2;
	border-bottom: 1px solid #d2d2d2;
}

.cart-summary__shipping h3 {
	margin: 0 0 13px;
	font-size: .875rem;
}

.cart-summary__shipping ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.cart-summary__shipping li {
	margin: 8px 0;
	font-size: .875rem;
}

.cart-summary__shipping label {
	display: flex;
	align-items: center;
	gap: 9px;
}

.cart-summary__shipping input {
	margin: 0;
	accent-color: var(--natalochka-color-text);
}

.cart-summary__total {
	padding-top: 17px;
	border-top: 0;
}

.cart-summary__checkout {
	display: block;
	padding: 13px 16px;
	margin-top: 1px;
	color: #fff;
	background: var(--natalochka-color-text);
	font-size: .75rem;
	text-align: center;
}

.cart-empty {
	padding: 35px;
	background: var(--natalochka-color-subtle);
}

.cart-empty .button {
	border-radius: 0;
}

@media (max-width: 640px) {
	.cart-page__inner {
		width: calc(100% - 36px);
		padding-top: 10px;
		padding-bottom: 64px;
	}

	.cart-page__inner > h1 {
		margin-bottom: 25px;
		font-size: 1.5rem;
	}

	.cart-page__layout {
		display: block;
	}

	.cart-free-shipping {
		padding: 17px 14px 15px;
		margin-bottom: 27px;
	}

	.cart-free-shipping p {
		max-width: 290px;
		margin-bottom: 9px;
		font-size: .875rem;
		line-height: 1.07;
	}

	.cart-free-shipping__track {
		height: 11px;
	}

	.cart-table__head {
		display: none;
	}

	.cart-table__row {
		position: relative;
		display: grid;
		grid-template-columns: 150px minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		column-gap: 14px;
		padding: 0 0 0;
		border-bottom: 0;
		font-size: .875rem;
	}

	.cart-table__product {
		grid-row: 1 / 4;
		align-items: flex-start;
		gap: 0;
	}

	.cart-table__product img {
		width: 150px;
		height: 180px;
		flex-basis: 150px;
	}

	.cart-table__product span {
		position: absolute;
		left: 182px;
		max-width: calc(100% - 182px);
		color: var(--natalochka-color-text);
		font-size: 1.08rem;
		font-weight: 700;
		line-height: 1.12;
	}

	.cart-table__unit-price,
	.cart-table__quantity,
	.cart-table__line-total {
		display: flex;
		min-height: 48px;
		align-items: center;
		justify-content: space-between;
		border-bottom: 1px solid var(--natalochka-color-border);
	}

	.cart-table__unit-price::before,
	.cart-table__quantity::before,
	.cart-table__line-total::before {
		color: var(--natalochka-color-muted);
	}

	.cart-table__unit-price::before { content: 'Ціна'; }
	.cart-table__quantity::before { content: 'Кількість'; }
	.cart-table__line-total::before { content: 'Ціна'; }

	.cart-table__quantity .quantity-control {
		width: 86px;
		height: 42px;
	}

	.cart-summary {
		padding: 17px 14px 16px;
		margin-top: 26px;
	}

	.cart-summary h2 {
		margin-bottom: 25px;
		font-size: 1.45rem;
	}

	.cart-summary__line,
	.cart-summary__total,
	.cart-summary__shipping h3,
	.cart-summary__shipping li {
		font-size: 1rem;
	}

	.cart-summary__line {
		padding: 18px 0;
	}

	.cart-summary__shipping {
		padding: 19px 0 17px;
	}

	.cart-summary__shipping h3 {
		margin-bottom: 18px;
	}

	.cart-summary__shipping li {
		margin: 12px 0;
	}

	.cart-summary__total {
		padding: 21px 0 17px;
	}

	.cart-summary__checkout {
		padding: 14px 16px;
		font-size: .875rem;
	}
}
