:root {
	--color-primary: #1a2e35;
	--color-accent: #b08d57;
	--color-bg: #f7f5f0;
	--color-text: #2c2c2c;
	--font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   Force our own brand colors on native <button> elements.

   `forced-color-adjust: none` guards against the OS "Forced colors"
   accessibility mode recoloring buttons with the system accent color.
   Kept as defense-in-depth, though the actual pink-button bug turned
   out to be a CSS specificity tie with Hello Elementor's own
   `button, [type=button] { color: #c36; border-color: #c36; }` rule in
   reset.css — fixed properly by (a) declaring hello-elementor's style
   handles as dependencies of our own enqueue so brand.css always
   prints after them (see functions.php), and (b) bumping the two
   affected selectors to `button.class-name` so they no longer tie in
   specificity with `[type=button]` regardless of load order.

   Everything inside the header (.vs-header__catalog-toggle,
   .vs-header__messenger, and any new link/button added there later) is
   now covered by a blanket ".vs-header a, .vs-header button" rule
   instead of being listed here one class at a time — see the Header
   section below. Kept itemized here only for elements OUTSIDE the
   header (footer, cart, quick-contact widget, etc.).
   ========================================================================== */

.hero-section__button,
.catalog-category-card,
.product-card__button,
.service-card__button,
.custom-order-banner__button,
.modal__close,
.modal__submit,
.faq-item__question,
.catalog-sidebar__apply-button,
.wc-proceed-to-checkout .checkout-button,
.woocommerce-cart-form table.cart td.actions .button,
#place_order,
.single-product__callback-button,
.cart-trust-block__messenger,
.vs-footer__messenger,
.scroll-to-top,
.quick-contact__toggle,
.quick-contact__link,
.contact-map__tab,
.contact-map__directions {
	forced-color-adjust: none;
}

/* Also reset the browser's default :visited link color (often purple)
   on our button-styled anchors, so a visited state can never override
   our brand colors either. */
.hero-section__button:visited,
.catalog-category-card:visited,
.product-card__button:visited,
.custom-order-banner__button:visited,
.wc-proceed-to-checkout .checkout-button:visited,
.contact-map__directions:visited {
	color: inherit;
}

/* ==========================================================================
   Header — logo (left) / nav (center) / phone + messengers (right)
   ========================================================================== */

body {
	font-family: var( --font-body );
	color: var( --color-text );
	background-color: var( --color-bg );
}

.vs-header {
	position: relative;
	background-color: var( --color-primary );
	font-family: var( --font-body );
}

/* Blanket rule for every link/button in the header, so this exact bug
   (a new element added later without these two properties, showing up
   pink/rose and/or losing its intended color) can't recur — instead of
   listing each new class individually, anything inside .vs-header gets
   this automatically. `forced-color-adjust: none` guards against the OS
   "Forced colors" accessibility mode overriding our colors. */
.vs-header a,
.vs-header button {
	forced-color-adjust: none;
}

/* :visited reset — deliberately NOT "color: inherit" here. `inherit`
   pulls from the parent's cascaded color, which for anything sitting on
   the dark header bar resolves to body's dark --color-text (nothing in
   the header/logo/nav/contacts chain sets its own `color`) — so a
   *visited* "Головна"/"Галерея робіт" link (very likely visited, since
   they point to pages you've almost certainly already opened while
   testing) went dark-on-dark and disappeared. `.vs-header a:visited`
   also carries higher specificity (class+type+pseudo) than a plain
   single-class rule like `.vs-header__simple-link`, so it silently won
   over the intended white color, every time, regardless of hover state.
   Fix: one explicit rule per element instead of one blanket "clever"
   inherit — each written at the SAME specificity as that element's own
   :hover rule below (so :hover still visually wins when a link is both
   visited and hovered — an equal-specificity tie resolved by source
   order, which is why these come before the :hover rules further down),
   white for the dark header bar, dark for the light catalog-dropdown. */
.vs-header__simple-link:visited {
	color: #fff;
}

.vs-header__nav a:visited {
	color: #fff;
}

.vs-header__phone:visited {
	color: #fff;
}

.vs-header__messenger:visited {
	color: #fff;
}

.catalog-menu__link:visited {
	color: var( --color-primary );
}

.vs-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 24px;
	flex-wrap: wrap;
}

.vs-header__logo {
	flex: 0 0 auto;
}

.vs-header__logo img {
	display: block;
	max-height: 56px;
	width: auto;
}

.vs-header__logo-link {
	display: block;
}

.vs-header__logo-img {
	display: block;
	height: 46px;
	width: auto;
}

.vs-header__primary-links {
	flex: 0 0 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}

.vs-header__simple-link {
	color: #fff;
	text-decoration: none;
	font-family: var( --font-body );
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	transition: color 0.2s ease;
}

.vs-header__simple-link:hover,
.vs-header__simple-link:focus {
	color: var( --color-accent );
}

.vs-header__nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.vs-header__nav ul {
	display: flex;
	align-items: center;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-header__nav a {
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	transition: color 0.2s ease;
}

.vs-header__nav a:hover,
.vs-header__nav a:focus {
	color: var( --color-accent );
}

.vs-header__contacts {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 16px;
}

.vs-header__phone {
	color: #fff;
	font-family: var( --font-heading );
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.vs-header__phone:hover,
.vs-header__phone:focus {
	color: var( --color-accent );
}

.vs-header__messengers {
	display: flex;
	align-items: center;
	gap: 12px;
}

.vs-header__messenger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: rgba( 255, 255, 255, 0.1 );
	color: #fff;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.vs-header__messenger:hover,
.vs-header__messenger:focus {
	background-color: var( --color-accent );
	color: var( --color-primary );
}

.skip-link.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var( --color-accent );
	color: var( --color-primary );
	padding: 12px 20px;
	z-index: 100000;
}

.skip-link.screen-reader-text:focus {
	left: 8px;
	top: 8px;
}

@media ( max-width: 782px ) {
	.vs-header__inner {
		justify-content: center;
		text-align: center;
	}

	.vs-header__primary-links {
		justify-content: center;
		gap: 16px 20px;
	}

	.vs-header__nav ul {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px 24px;
	}
}

/* ==========================================================================
   Hero section — homepage banner (structure/content added manually in Elementor)
   ========================================================================== */

.hero-section {
	background-image: linear-gradient( rgba( 26, 46, 53, 0.78 ), rgba( 26, 46, 53, 0.78 ) ), var( --hero-bg );
	background-color: var( --color-primary );
	background-size: cover;
	background-position: center;
	padding: 120px 24px;
	text-align: center;
}

.hero-section__title {
	font-family: var( --font-heading );
	color: #fff;
	font-size: 48px;
	line-height: 1.2;
	font-weight: 600;
	margin: 0 0 24px;
}

.hero-section__subtitle {
	font-family: var( --font-body );
	color: rgba( 255, 255, 255, 0.9 );
	font-size: 18px;
	line-height: 1.6;
	max-width: 640px;
	margin: 0 auto 40px;
}

.hero-section__button {
	display: inline-block;
	background-color: var( --color-accent );
	color: #fff;
	font-family: var( --font-body );
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	padding: 16px 40px;
	border-radius: 8px;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.hero-section__button:hover,
.hero-section__button:focus {
	color: #fff;
	filter: brightness( 0.9 );
	transform: translateY( -1px );
}

/* Compact "6 quick categories" block — mobile only (see PROGRESS.md,
   Фаза "6 категорій на мобільному без прокрутки"). Hidden on desktop:
   the full 11-category section further down the page already covers it. */
.mobile-quick-categories {
	display: none;
}

@media ( max-width: 782px ) {
	.hero-section {
		padding: 48px 20px 32px;
	}

	.hero-section__title {
		font-size: 28px;
	}

	.hero-section__subtitle {
		font-size: 15px;
		margin-bottom: 28px;
	}

	.mobile-quick-categories {
		display: block;
		background-color: var( --color-bg );
		padding: 24px 20px 36px;
	}

	.mobile-quick-categories__grid {
		display: grid;
		grid-template-columns: repeat( 3, 1fr );
		gap: 18px 10px;
		max-width: 360px;
		margin: 0 auto;
	}

	.mobile-quick-category {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 8px;
		text-decoration: none;
	}

	.mobile-quick-category__icon {
		width: 52px;
		height: 52px;
		border-radius: 50%;
		background-color: #fff;
		color: var( --color-accent );
		display: flex;
		align-items: center;
		justify-content: center;
		box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.1 );
		transition: transform 0.15s ease, box-shadow 0.15s ease;
	}

	.mobile-quick-category:active .mobile-quick-category__icon {
		transform: scale( 0.94 );
		box-shadow: 0 1px 4px rgba( 0, 0, 0, 0.12 );
	}

	.mobile-quick-category__label {
		font-family: var( --font-body );
		color: var( --color-primary );
		font-size: 12px;
		font-weight: 600;
		line-height: 1.2;
		text-align: center;
	}
}

/* ==========================================================================
   Categories section — 4 service categories grid (homepage)
   ========================================================================== */

.categories-section {
	background-color: var( --color-primary );
	padding: 100px 24px;
}

.categories-section__title {
	font-family: var( --font-heading );
	color: #fff;
	font-size: 36px;
	font-weight: 600;
	text-align: center;
	margin: 0 0 56px;
}

.categories-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
}

.category-card {
	background-color: #fff;
	border-radius: 12px;
	padding: 32px 24px;
	text-align: center;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.12 );
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-card:focus-within {
	transform: translateY( -6px );
	box-shadow: 0 12px 28px rgba( 0, 0, 0, 0.18 );
}

.category-card__image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	background-color: var( --color-bg );
	background-size: cover;
	background-position: center;
	border-radius: 8px;
	overflow: hidden;
	margin: 0 0 20px;
}

/* Light brand-tinted overlay so photos of varying brightness/contrast
   still read as one consistent, on-brand set rather than four random
   stock photos side by side. */
.category-card__image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient( to bottom, transparent 50%, color-mix( in srgb, var( --color-primary ) 45%, transparent ) 100% );
}

.category-card__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 12px;
}

.category-card__desc {
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 15px;
	line-height: 1.5;
	margin: 0;
}

@media ( max-width: 1024px ) {
	.categories-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 782px ) {
	.categories-section {
		padding: 64px 20px;
	}

	.categories-section__title {
		font-size: 28px;
		margin-bottom: 40px;
	}

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

/* ==========================================================================
   Services section — homepage "Що ми можемо для вас зробити" (non-priced
   services, e.g. "Догляд могильних споруд і Реконструкція" — pitched with
   a "Залишити заявку" button instead of a price/catalog link)
   ========================================================================== */

.services-section {
	background-color: var( --color-bg );
	padding: 100px 24px;
}

.services-section__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 36px;
	font-weight: 600;
	text-align: center;
	margin: 0 0 56px;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 280px, 1fr ) );
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
}

.service-card {
	background-color: #fff;
	border-radius: 12px;
	padding: 32px 24px;
	text-align: center;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.12 );
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}

.service-card:hover,
.service-card:focus-within {
	transform: translateY( -6px );
	box-shadow: 0 12px 28px rgba( 0, 0, 0, 0.18 );
}

.service-card__image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	background-color: var( --color-bg );
	background-size: cover;
	background-position: center;
	border-radius: 8px;
	overflow: hidden;
	margin: 0 0 20px;
}

.service-card__image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient( to bottom, transparent 50%, color-mix( in srgb, var( --color-primary ) 45%, transparent ) 100% );
}

.service-card__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 12px;
}

.service-card__desc {
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 20px;
}

.service-card__button {
	display: inline-block;
	background-color: var( --color-accent );
	color: #fff;
	font-family: var( --font-body );
	font-size: 14px;
	font-weight: 600;
	border: none;
	padding: 12px 28px;
	border-radius: 8px;
	margin-top: auto;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.service-card__button:hover,
.service-card__button:focus {
	filter: brightness( 0.9 );
	transform: translateY( -1px );
}

@media ( max-width: 782px ) {
	.services-section {
		padding: 64px 20px;
	}

	.services-section__title {
		font-size: 28px;
		margin-bottom: 40px;
	}

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

/* ==========================================================================
   Catalog preview section — homepage "Популярні вироби" (product cards)
   ========================================================================== */

.catalog-preview-section {
	background-color: var( --color-bg );
	padding: 100px 24px;
}

.catalog-preview-section__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 36px;
	font-weight: 600;
	text-align: center;
	margin: 0 0 56px;
}

.catalog-preview-section__empty {
	font-family: var( --font-body );
	color: var( --color-text );
	text-align: center;
}

.catalog-preview-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
}

.product-card {
	background-color: #fff;
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.12 );
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}

.product-card:hover,
.product-card:focus-within {
	transform: translateY( -6px );
	box-shadow: 0 12px 28px rgba( 0, 0, 0, 0.18 );
}

.product-card__image-link {
	display: block;
	margin: 0 0 20px;
}

.product-card__image {
	width: 100%;
	height: 240px;
	object-fit: cover;
	object-position: center top;
	border-radius: 8px;
	display: block;
}

.product-card__image--placeholder {
	background-color: var( --color-bg );
	display: flex;
	align-items: center;
	justify-content: center;
	color: var( --color-accent );
}

.product-card__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 8px;
}

.product-card__sku {
	font-family: var( --font-body );
	color: #999;
	font-size: 12px;
	margin: 0 0 8px;
}

.product-card__price {
	font-family: var( --font-body );
	color: var( --color-accent );
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 20px;
}

/* Wraps price (+ size picker, on the two size-variable products) and the
   "Залишити заявку" button — takes over the flex-column/margin-top:auto
   trick that used to sit directly on .product-card, now one level deeper
   since the size picker needed a place to live between price and button. */
.vs-product-actions {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-card__size-select {
	font-family: var( --font-body );
	color: var( --color-primary );
	font-size: 14px;
	border: 1px solid rgba( 26, 46, 53, 0.16 );
	border-radius: 8px;
	padding: 8px 12px;
	margin: 0 0 12px;
	background-color: #fff;
}

.vs-size-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 0 0 16px;
}

.vs-size-picker__option {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var( --font-body );
	font-size: 14px;
	color: var( --color-text );
	cursor: pointer;
	border: 1px solid rgba( 26, 46, 53, 0.16 );
	border-radius: 999px;
	padding: 8px 16px;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.vs-size-picker__option:has( input:checked ) {
	border-color: var( --color-accent );
	background-color: color-mix( in srgb, var( --color-accent ) 10%, transparent );
}

.vs-size-picker__option input {
	accent-color: var( --color-accent );
}

.vs-size-picker__price {
	font-family: var( --font-body );
	color: var( --color-accent );
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 24px;
	text-align: center;
}

.product-card__button {
	display: inline-block;
	background-color: var( --color-accent );
	color: #fff;
	font-family: var( --font-body );
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	padding: 12px 28px;
	border-radius: 8px;
	margin-top: auto;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.product-card__button:hover,
.product-card__button:focus {
	color: #fff;
	filter: brightness( 0.9 );
	transform: translateY( -1px );
}

@media ( max-width: 1024px ) {
	.catalog-preview-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 782px ) {
	.catalog-preview-section {
		padding: 64px 20px;
	}

	.catalog-preview-section__title {
		font-size: 28px;
		margin-bottom: 40px;
	}

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

/* ==========================================================================
   Catalog categories section — icon cards (homepage)
   ========================================================================== */

.catalog-categories-section {
	background-color: var( --color-primary );
	padding: 100px 24px;
}

.catalog-categories-section__title {
	font-family: var( --font-heading );
	color: #fff;
	font-size: 36px;
	font-weight: 600;
	text-align: center;
	margin: 0 0 56px;
}

.catalog-categories-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 24px;
	max-width: 1100px;
	margin: 0 auto;
}

.catalog-category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	background-color: #fff;
	color: var( --color-primary );
	text-decoration: none;
	padding: 36px 20px;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.07 );
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-category-card:hover,
.catalog-category-card:focus {
	transform: translateY( -6px );
	box-shadow: 0 14px 30px rgba( 0, 0, 0, 0.14 );
}

.catalog-category-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: var( --color-bg );
	color: var( --color-accent );
	transition: background-color 0.25s ease, color 0.25s ease;
}

.catalog-category-card:hover .catalog-category-card__icon,
.catalog-category-card:focus .catalog-category-card__icon {
	background-color: var( --color-accent );
	color: #fff;
}

.catalog-category-card__name {
	font-family: var( --font-body );
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

@media ( max-width: 1024px ) {
	.catalog-categories-grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

@media ( max-width: 782px ) {
	.catalog-categories-section {
		padding: 64px 20px;
	}

	.catalog-categories-section__title {
		font-size: 28px;
		margin-bottom: 32px;
	}

	.catalog-categories-grid {
		grid-template-columns: repeat( 2, 1fr );
		gap: 16px;
	}

	.catalog-category-card {
		padding: 28px 16px;
	}
}

/* ==========================================================================
   Scroll-reveal utility — fade-in + slide-up when an element enters the
   viewport (vanilla JS toggles `.is-visible`, see front-page.php)
   ========================================================================== */

.vs-reveal {
	opacity: 0;
	transform: translateY( 24px );
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.vs-reveal.is-visible {
	opacity: 1;
	transform: translateY( 0 );
}

.catalog-categories-grid .vs-reveal:nth-child( 2 ) {
	transition-delay: 0.05s;
}

.catalog-categories-grid .vs-reveal:nth-child( 3 ) {
	transition-delay: 0.1s;
}

.catalog-categories-grid .vs-reveal:nth-child( 4 ) {
	transition-delay: 0.15s;
}

.catalog-categories-grid .vs-reveal:nth-child( 5 ) {
	transition-delay: 0.2s;
}

.catalog-categories-grid .vs-reveal:nth-child( 6 ) {
	transition-delay: 0.25s;
}

.catalog-categories-grid .vs-reveal:nth-child( 7 ) {
	transition-delay: 0.3s;
}

.catalog-categories-grid .vs-reveal:nth-child( 8 ) {
	transition-delay: 0.35s;
}

/* ==========================================================================
   WooCommerce shop archive re-skin — brand colors/fonts/card style
   applied to native WooCommerce markup via CSS (no template override,
   see PROGRESS.md for the reasoning).
   ========================================================================== */

.woocommerce-products-header__title.page-title,
.woocommerce-page .page-title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	text-align: center;
	font-size: 36px;
	margin: 0 0 40px;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto !important;
}

.woocommerce ul.products li.product {
	background-color: #fff;
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.12 );
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	width: auto;
	margin: 0 !important;
	float: none;
}

.woocommerce ul.products li.product:hover {
	transform: translateY( -6px );
	box-shadow: 0 12px 28px rgba( 0, 0, 0, 0.18 );
}

.woocommerce ul.products li.product img {
	border-radius: 8px;
	margin-bottom: 20px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 18px;
	font-weight: 600;
}

.woocommerce ul.products li.product .price {
	font-family: var( --font-body );
	color: var( --color-accent );
	font-size: 16px;
	font-weight: 700;
}

.woocommerce ul.products li.product .price ins {
	color: var( --color-accent );
	text-decoration: none;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .button,
.single-product__callback-button {
	background-color: var( --color-accent );
	color: #fff;
	font-family: var( --font-body );
	font-weight: 600;
	font-size: 15px;
	border-radius: 8px;
	border: none;
	padding: 14px 32px;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce div.product form.cart .button:hover,
.single-product__callback-button:hover,
.single-product__callback-button:focus {
	background-color: var( --color-accent );
	color: #fff;
	filter: brightness( 0.9 );
	transform: translateY( -1px );
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var( --color-accent );
	font-family: var( --font-body );
}

.woocommerce div.product .product_title {
	font-family: var( --font-heading );
	color: var( --color-primary );
}

@media ( max-width: 1024px ) {
	.woocommerce ul.products {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 782px ) {
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Catalog page — archive-product.php: sidebar filters + product grid
   ========================================================================== */

.catalog-breadcrumbs {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 24px 0;
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var( --font-body );
	font-size: 14px;
}

.catalog-breadcrumbs__link {
	color: var( --color-accent );
	text-decoration: none;
}

.catalog-breadcrumbs__link:hover,
.catalog-breadcrumbs__link:focus {
	text-decoration: underline;
}

.catalog-breadcrumbs__sep {
	color: rgba( 26, 46, 53, 0.35 );
}

.catalog-breadcrumbs__current {
	color: var( --color-text );
}

.catalog-page {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 48px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 24px 100px;
	align-items: start;
}

.catalog-sidebar {
	background-color: #fff;
	border-radius: 12px;
	padding: 28px 24px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.08 );
}

.catalog-sidebar__widget {
	margin-bottom: 32px;
}

.catalog-sidebar__widget:last-child {
	margin-bottom: 0;
}

.catalog-sidebar__widget-title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 18px;
}

.catalog-sidebar__widget-empty {
	display: flex;
	align-items: center;
	gap: 7px;
	font-family: var( --font-body );
	font-style: italic;
	color: var( --color-text );
	opacity: 0.65;
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
}

.catalog-sidebar__widget-empty-icon {
	flex-shrink: 0;
}

.catalog-sidebar__checkbox {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 14px;
	line-height: 1.4;
	padding: 9px 10px;
	margin: 0 -10px 2px;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.catalog-sidebar__checkbox:hover {
	background-color: rgba( 26, 46, 53, 0.05 );
}

.catalog-sidebar__checkbox-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.catalog-sidebar__checkbox-box {
	position: relative;
	flex-shrink: 0;
	width: 19px;
	height: 19px;
	border-radius: 5px;
	border: 1.5px solid rgba( 26, 46, 53, 0.22 );
	background-color: #fff;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.catalog-sidebar__checkbox:hover .catalog-sidebar__checkbox-box {
	border-color: var( --color-accent );
}

.catalog-sidebar__checkbox-input:checked + .catalog-sidebar__checkbox-box {
	background-color: var( --color-accent );
	border-color: var( --color-accent );
}

.catalog-sidebar__checkbox-input:focus-visible + .catalog-sidebar__checkbox-box {
	outline: 2px solid var( --color-accent );
	outline-offset: 2px;
}

.catalog-sidebar__checkbox-box::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate( 45deg );
	opacity: 0;
	transition: opacity 0.1s ease;
}

.catalog-sidebar__checkbox-input:checked + .catalog-sidebar__checkbox-box::after {
	opacity: 1;
}

.catalog-sidebar__checkbox-text {
	flex: 1;
}

.catalog-sidebar__apply-button {
	display: inline-block;
	background-color: var( --color-accent );
	color: #fff;
	font-family: var( --font-body );
	font-size: 14px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	padding: 10px 24px;
	border-radius: 8px;
	margin-top: 8px;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.catalog-sidebar__apply-button:hover,
.catalog-sidebar__apply-button:focus {
	color: #fff;
	filter: brightness( 0.9 );
	transform: translateY( -1px );
}

/* WooCommerce's own built-in price filter widget, re-skinned in place.
   `position`/`z-index` are re-stated (not just relied on from WC's own
   CSS) so our own background/margin overrides can never accidentally
   break the drag hit-testing jQuery UI relies on. */
.catalog-sidebar .price_slider_wrapper .ui-slider {
	position: relative;
	background-color: var( --color-bg );
	border: none;
	height: 4px;
	margin: 16px 8px 20px;
}

.catalog-sidebar .price_slider_wrapper .ui-slider .ui-slider-range {
	position: absolute;
	background-color: var( --color-accent );
}

.catalog-sidebar .price_slider_wrapper .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	background-color: #fff;
	border: 2px solid var( --color-accent );
	border-radius: 50%;
	width: 20px;
	height: 20px;
	top: -8px;
	margin-left: -10px;
	cursor: ew-resize;
	touch-action: none;
}

.catalog-sidebar .price_slider_amount {
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}

.catalog-sidebar .price_slider_amount .button {
	background-color: var( --color-accent );
	color: #fff;
	border-radius: 8px;
	padding: 8px 18px;
	font-family: var( --font-body );
	font-weight: 600;
}

.catalog-main__toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 24px;
}

.catalog-main__toolbar .woocommerce-ordering select {
	font-family: var( --font-body );
	color: var( --color-primary );
	border: 1px solid rgba( 26, 46, 53, 0.16 );
	border-radius: 8px;
	padding: 8px 14px;
	background-color: #fff;
}

.catalog-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 32px;
}

.catalog-grid__empty {
	grid-column: 1 / -1;
	font-family: var( --font-body );
	color: var( --color-text );
	text-align: center;
	padding: 40px 0;
}

.catalog-grid__empty-state {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background-color: #fff;
	border-radius: 12px;
	padding: 64px 24px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.08 );
}

.catalog-grid__empty-state-icon {
	color: var( --color-accent );
	background-color: var( --color-bg );
	width: 96px;
	height: 96px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}

.catalog-grid__empty-title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 8px;
}

.catalog-grid__empty-text {
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 15px;
	margin: 0;
}

.catalog-pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}

.catalog-pagination .nav-links {
	display: flex;
	gap: 8px;
}

.catalog-pagination a,
.catalog-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 8px;
	font-family: var( --font-body );
	color: var( --color-primary );
	text-decoration: none;
	background-color: #fff;
	box-shadow: 0 2px 6px rgba( 0, 0, 0, 0.08 );
}

.catalog-pagination .current {
	background-color: var( --color-accent );
	color: #fff;
}

@media ( max-width: 1024px ) {
	.catalog-page {
		grid-template-columns: 1fr;
	}

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

@media ( max-width: 782px ) {
	.catalog-breadcrumbs {
		padding: 20px 20px 0;
		font-size: 13px;
	}

	.catalog-page {
		padding: 16px 20px 64px;
		gap: 24px;
	}

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

	.catalog-main__toolbar {
		justify-content: stretch;
	}

	.catalog-main__toolbar .woocommerce-ordering {
		width: 100%;
	}

	.catalog-main__toolbar .woocommerce-ordering select {
		width: 100%;
	}
}

/* ==========================================================================
   Header catalog dropdown — "Каталог" simple category list
   ========================================================================== */

.vs-header__catalog {
	position: relative;
}

button.vs-header__catalog-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 0;
	color: #fff;
	font-family: var( --font-body );
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: color 0.2s ease;
}

.vs-header__catalog-toggle:hover,
.vs-header__catalog-toggle:focus,
.vs-header__catalog:hover .vs-header__catalog-toggle {
	color: var( --color-accent );
}

.vs-header__catalog-toggle svg {
	transition: transform 0.25s ease;
}

.vs-header__catalog-toggle[aria-expanded="true"] svg {
	transform: rotate( 180deg );
}

.catalog-menu {
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 14px;
	min-width: 280px;
	max-width: calc( 100vw - 32px );

	background-color: var( --color-bg );
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba( 0, 0, 0, 0.16 );
	padding: 10px;
	z-index: 200;

	opacity: 0;
	visibility: hidden;
	transform: translateY( -10px );
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.catalog-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY( 0 );
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

.catalog-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.catalog-menu__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 9px;
	color: var( --color-primary );
	text-decoration: none;
	font-family: var( --font-body );
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.catalog-menu__link:hover,
.catalog-menu__link:focus {
	background-color: rgba( 26, 46, 53, 0.06 );
	color: var( --color-accent );
}

.catalog-menu__icon {
	flex-shrink: 0;
	color: var( --color-accent );
}

@media ( max-width: 480px ) {
	.catalog-menu {
		min-width: 240px;
	}
}

/* ==========================================================================
   Advantages section — "Переваги" (icon grid, homepage)
   ========================================================================== */

.advantages-section {
	background-color: var( --color-bg );
	padding: 100px 24px;
}

.advantages-section__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 36px;
	font-weight: 600;
	text-align: center;
	margin: 0 0 56px;
}

.advantages-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 32px;
	max-width: 1100px;
	margin: 0 auto;
}

.advantage-card {
	background-color: #fff;
	border-radius: 12px;
	padding: 32px 24px;
	text-align: center;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.08 );
}

.advantage-card__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: var( --color-bg );
	color: var( --color-accent );
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.advantage-card__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
}

@media ( max-width: 1024px ) {
	.advantages-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 782px ) {
	.advantages-section {
		padding: 64px 20px;
	}

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

/* ==========================================================================
   Custom order banner — "Індивідуальне замовлення"
   ========================================================================== */

.custom-order-banner {
	background-color: var( --color-primary );
	padding: 100px 24px;
	text-align: center;
}

.custom-order-banner__inner {
	max-width: 680px;
	margin: 0 auto;
}

.custom-order-banner__title {
	font-family: var( --font-heading );
	color: #fff;
	font-size: 36px;
	font-weight: 600;
	margin: 0 0 20px;
}

.custom-order-banner__text {
	font-family: var( --font-body );
	color: rgba( 255, 255, 255, 0.85 );
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 32px;
}

.custom-order-banner__button {
	display: inline-block;
	background-color: var( --color-accent );
	color: #fff;
	font-family: var( --font-body );
	font-size: 16px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	padding: 16px 40px;
	border-radius: 8px;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.custom-order-banner__button:hover,
.custom-order-banner__button:focus {
	filter: brightness( 0.9 );
	transform: translateY( -1px );
}

@media ( max-width: 782px ) {
	.custom-order-banner {
		padding: 64px 20px;
	}

	.custom-order-banner__title {
		font-size: 28px;
	}
}

/* ==========================================================================
   Callback modal — "Зворотний дзвінок"
   ========================================================================== */

.modal {
	position: fixed;
	inset: 0;
	z-index: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.modal.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.modal__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba( 26, 46, 53, 0.75 );
}

.modal__dialog {
	position: relative;
	background-color: #fff;
	border-radius: 12px;
	padding: 40px 32px;
	max-width: 420px;
	width: 100%;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.25 );
	transform: translateY( -16px );
	transition: transform 0.25s ease;
}

.modal.is-open .modal__dialog {
	transform: translateY( 0 );
}

.modal__close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: var( --color-text );
	cursor: pointer;
}

.modal__close:hover,
.modal__close:focus {
	color: var( --color-accent );
}

.modal__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 8px;
}

.modal__subtitle {
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 14px;
	margin: 0 0 24px;
}

.modal__field {
	display: block;
	margin-bottom: 16px;
}

.modal__field-label {
	display: block;
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 13px;
	margin-bottom: 6px;
}

.modal__field input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid rgba( 26, 46, 53, 0.2 );
	font-family: var( --font-body );
	font-size: 14px;
}

.modal__field input:focus {
	outline: none;
	border-color: var( --color-accent );
}

.modal__submit {
	width: 100%;
	background-color: var( --color-accent );
	color: #fff;
	border: none;
	padding: 14px;
	border-radius: 8px;
	font-family: var( --font-body );
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 8px;
	transition: filter 0.2s ease;
}

.modal__submit:hover,
.modal__submit:focus {
	filter: brightness( 0.9 );
}

/* ==========================================================================
   FAQ section — accordion (homepage)
   ========================================================================== */

.faq-section {
	background-color: var( --color-bg );
	padding: 100px 24px;
}

.faq-section__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 36px;
	font-weight: 600;
	text-align: center;
	margin: 0 0 56px;
}

.faq-list {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq-item {
	background-color: #fff;
	border-left: 4px solid var( --color-accent );
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.06 );
	overflow: hidden;
	transition: box-shadow 0.25s ease;
}

.faq-item:hover {
	box-shadow: 0 10px 26px rgba( 0, 0, 0, 0.1 );
}

button.faq-item__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background-color: rgba( 26, 46, 53, 0.03 );
	border: none;
	text-align: left;
	padding: 24px 28px;
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.faq-item.is-open button.faq-item__question {
	background-color: rgba( 26, 46, 53, 0.06 );
}

.faq-item__question svg {
	flex-shrink: 0;
	color: var( --color-accent );
	transition: transform 0.25s ease;
}

.faq-item.is-open .faq-item__question svg {
	transform: rotate( 180deg );
}

.faq-item__answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.25s ease;
}

.faq-item.is-open .faq-item__answer {
	grid-template-rows: 1fr;
}

.faq-item__answer-inner {
	overflow: hidden;
}

.faq-item__answer-inner p {
	margin: 0;
	padding: 0 24px 20px;
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 14px;
	line-height: 1.6;
}

@media ( max-width: 782px ) {
	.faq-section {
		padding: 64px 20px;
	}

	button.faq-item__question {
		font-size: 15px;
		padding: 18px 20px;
	}
}

/* ==========================================================================
   WooCommerce Cart & Checkout — brand re-skin of the classic (shortcode)
   templates. See PROGRESS.md for why the Cart/Checkout blocks were
   switched back to `[woocommerce_cart]` / `[woocommerce_checkout]`.
   ========================================================================== */

body.woocommerce-cart,
body.woocommerce-checkout {
	background-color: var( --color-bg );
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
	max-width: 1100px;
	margin: 0 auto;
	padding: 60px 24px 100px;
	font-family: var( --font-body );
	color: var( --color-text );
}

.woocommerce-cart .woocommerce > h1,
.woocommerce-checkout .woocommerce > h1,
.woocommerce-cart .page-title,
.woocommerce-checkout .page-title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	text-align: center;
	font-size: 32px;
	margin: 0 0 40px;
}

/* --- Cart table -------------------------------------------------------- */

.woocommerce-cart-form {
	background-color: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.08 );
	margin-bottom: 32px;
}

.woocommerce-cart-form table.cart {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-cart-form table.cart th {
	font-family: var( --font-heading );
	color: var( --color-primary );
	text-align: left;
	padding: 12px;
	border-bottom: 2px solid var( --color-bg );
}

.woocommerce-cart-form table.cart td {
	padding: 16px 12px;
	border-bottom: 1px solid var( --color-bg );
	vertical-align: middle;
}

.woocommerce-cart-form table.cart td.product-thumbnail img {
	border-radius: 8px;
	max-width: 72px;
	height: auto;
}

.woocommerce-cart-form table.cart td.product-name a {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-weight: 600;
	text-decoration: none;
}

.woocommerce-cart-form table.cart td.product-price,
.woocommerce-cart-form table.cart td.product-subtotal {
	color: var( --color-accent );
	font-weight: 700;
}

.woocommerce-cart-form .quantity .qty {
	border: 1px solid rgba( 26, 46, 53, 0.2 );
	border-radius: 8px;
	padding: 8px 10px;
	width: 70px;
	font-family: var( --font-body );
}

.woocommerce-cart-form td.product-remove a.remove {
	color: var( --color-text );
	background: none;
	font-size: 20px;
}

.woocommerce-cart-form td.product-remove a.remove:hover {
	color: #fff;
	background-color: var( --color-accent );
}

.woocommerce-cart-form table.cart td.actions .button,
.woocommerce-cart-form #coupon_code {
	font-family: var( --font-body );
}

.woocommerce-cart-form table.cart td.actions .button {
	background-color: var( --color-accent );
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 24px;
	font-weight: 600;
	cursor: pointer;
	transition: filter 0.2s ease;
}

.woocommerce-cart-form table.cart td.actions .button:hover {
	filter: brightness( 0.9 );
}

.woocommerce-cart-form #coupon_code {
	border: 1px solid rgba( 26, 46, 53, 0.2 );
	border-radius: 8px;
	padding: 10px 14px;
}

/* --- Cart collaterals: trust block + totals side by side --------------- */

.cart-collaterals {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}

.cart-trust-block {
	background-color: #fff;
	border-radius: 12px;
	padding: 28px 24px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.08 );
	text-align: center;
}

.cart-trust-block__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: var( --color-bg );
	color: var( --color-accent );
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.cart-trust-block__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 8px;
}

.cart-trust-block__text {
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 16px;
}

.cart-trust-block__phone {
	display: block;
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	margin-bottom: 12px;
}

.cart-trust-block__phone:hover {
	color: var( --color-accent );
}

.cart-trust-block__messengers {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.cart-trust-block__messenger {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: var( --color-bg );
	color: var( --color-primary );
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.cart-trust-block__messenger:hover {
	background-color: var( --color-accent );
	color: #fff;
}

.cart_totals {
	background-color: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.08 );
}

.cart_totals h2 {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 22px;
	margin: 0 0 20px;
}

.cart_totals table th,
.cart_totals table td {
	padding: 10px 0;
	font-family: var( --font-body );
	color: var( --color-text );
	border-bottom: 1px solid var( --color-bg );
}

.cart_totals .order-total th,
.cart_totals .order-total td {
	font-weight: 700;
	color: var( --color-primary );
	font-size: 18px;
	border-bottom: none;
}

.wc-proceed-to-checkout .checkout-button {
	display: block;
	text-align: center;
	background-color: var( --color-accent );
	color: #fff;
	font-family: var( --font-body );
	font-weight: 600;
	padding: 16px;
	border-radius: 8px;
	text-decoration: none;
	margin-top: 16px;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.wc-proceed-to-checkout .checkout-button:hover {
	filter: brightness( 0.9 );
	transform: translateY( -1px );
}

/* --- Checkout ------------------------------------------------------------ */

.woocommerce-checkout #customer_details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 0 0 32px;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
	background-color: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.08 );
	float: none;
	width: auto;
}

.woocommerce-checkout .col-1 h3,
.woocommerce-checkout .col-2 h3,
.woocommerce-checkout #order_review_heading {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 20px;
}

.woocommerce-checkout .form-row label {
	display: block;
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 14px;
	margin-bottom: 6px;
}

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba( 26, 46, 53, 0.2 );
	border-radius: 8px;
	padding: 12px 14px;
	font-family: var( --font-body );
	font-size: 14px;
}

.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
	outline: none;
	border-color: var( --color-accent );
}

#order_review {
	background-color: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.08 );
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	font-family: var( --font-body );
	color: var( --color-text );
	padding: 10px 0;
	border-bottom: 1px solid var( --color-bg );
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
	font-weight: 700;
	color: var( --color-primary );
	font-size: 18px;
	border-bottom: none;
}

.wc_payment_methods {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.wc_payment_methods li.wc_payment_method {
	background-color: var( --color-bg );
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 10px;
}

.wc_payment_methods label {
	font-family: var( --font-body );
	color: var( --color-primary );
	font-weight: 600;
	cursor: pointer;
}

.wc_payment_methods .payment_box {
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 14px;
	padding-top: 10px;
}

#place_order {
	width: 100%;
	background-color: var( --color-accent );
	color: #fff;
	border: none;
	padding: 16px;
	border-radius: 8px;
	font-family: var( --font-body );
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: filter 0.2s ease;
}

#place_order:hover {
	filter: brightness( 0.9 );
}

@media ( max-width: 1024px ) {
	.cart-collaterals {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout #customer_details {
		grid-template-columns: 1fr;
	}
}

@media ( max-width: 782px ) {
	.woocommerce-cart .woocommerce,
	.woocommerce-checkout .woocommerce {
		padding: 40px 16px 64px;
	}

	.woocommerce-cart-form table.cart thead {
		display: none;
	}
}

/* ==========================================================================
   Trust stats section — "15+ років на ринку" style counters (homepage)
   ========================================================================== */

.trust-stats-section {
	background-color: var( --color-primary );
	padding: 72px 24px;
}

.trust-stats-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 32px;
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
}

.trust-stat {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.trust-stat__number {
	font-family: var( --font-heading );
	color: var( --color-accent );
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
}

.trust-stat__label {
	font-family: var( --font-body );
	color: rgba( 255, 255, 255, 0.85 );
	font-size: 14px;
}

@media ( max-width: 1024px ) {
	.trust-stats-grid {
		grid-template-columns: repeat( 2, 1fr );
		gap: 40px 24px;
	}
}

@media ( max-width: 782px ) {
	.trust-stats-section {
		padding: 48px 20px;
	}

	.trust-stat__number {
		font-size: 32px;
	}
}

/* ==========================================================================
   Testimonials section — customer reviews (homepage)
   ========================================================================== */

.testimonials-section {
	background-color: var( --color-bg );
	padding: 100px 24px;
}

.testimonials-section__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 36px;
	font-weight: 600;
	text-align: center;
	margin: 0 0 56px;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
}

.testimonial-card {
	background-color: #fff;
	border-radius: 12px;
	padding: 28px 24px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.08 );
	display: flex;
	flex-direction: column;
}

.testimonial-card__stars {
	display: flex;
	gap: 2px;
	color: var( --color-accent );
	margin-bottom: 16px;
}

.testimonial-card__text {
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 20px;
	flex-grow: 1;
}

.testimonial-card__author {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}

@media ( max-width: 1024px ) {
	.testimonials-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 782px ) {
	.testimonials-section {
		padding: 64px 20px;
	}

	.testimonials-section__title {
		font-size: 28px;
		margin-bottom: 40px;
	}

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

/* ==========================================================================
   Footer — brand columns + copyright bar
   ========================================================================== */

.vs-footer {
	background-color: var( --color-primary );
}

.vs-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 64px 24px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
}

.vs-footer__logo {
	font-family: var( --font-heading );
	color: #fff;
	font-size: 26px;
	font-weight: 600;
	margin: 0 0 12px;
}

.vs-footer__tagline {
	font-family: var( --font-body );
	color: rgba( 255, 255, 255, 0.7 );
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	max-width: 320px;
}

.vs-footer__heading {
	font-family: var( --font-heading );
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 20px;
}

.vs-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.vs-footer__links a {
	font-family: var( --font-body );
	color: rgba( 255, 255, 255, 0.7 );
	font-size: 14px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.vs-footer__links a:hover,
.vs-footer__links a:focus {
	color: var( --color-accent );
}

.vs-footer__phone {
	display: block;
	font-family: var( --font-heading );
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	margin-bottom: 8px;
}

.vs-footer__phone:hover,
.vs-footer__phone:focus {
	color: var( --color-accent );
}

.vs-footer__email {
	display: block;
	font-family: var( --font-body );
	color: rgba( 255, 255, 255, 0.7 );
	font-size: 14px;
	text-decoration: none;
	margin-bottom: 8px;
}

.vs-footer__email:hover,
.vs-footer__email:focus {
	color: var( --color-accent );
}

.vs-footer__address {
	font-family: var( --font-body );
	color: rgba( 255, 255, 255, 0.7 );
	font-size: 14px;
	margin: 0 0 16px;
}

.vs-footer__messengers {
	display: flex;
	gap: 12px;
}

.vs-footer__messenger {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: rgba( 255, 255, 255, 0.1 );
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.vs-footer__messenger:hover,
.vs-footer__messenger:focus {
	background-color: var( --color-accent );
	color: var( --color-primary );
}

.vs-footer__bottom {
	border-top: 1px solid rgba( 255, 255, 255, 0.12 );
	padding: 20px 24px;
	text-align: center;
}

.vs-footer__bottom p {
	font-family: var( --font-body );
	color: rgba( 255, 255, 255, 0.6 );
	font-size: 15px;
	margin: 0;
}

@media ( max-width: 782px ) {
	.vs-footer__inner {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 48px 20px;
		text-align: center;
	}

	.vs-footer__tagline {
		max-width: none;
		margin: 0 auto;
	}

	.vs-footer__links {
		align-items: center;
	}

	.vs-footer__messengers {
		justify-content: center;
	}
}

/* ==========================================================================
   Scroll-to-top button — fixed bottom-right
   ========================================================================== */

.scroll-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 300;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: var( --color-accent );
	color: #fff;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.2 );
	opacity: 0;
	visibility: hidden;
	transform: translateY( 12px );
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, filter 0.2s ease;
}

.scroll-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY( 0 );
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s, filter 0.2s ease;
}

.scroll-to-top:hover,
.scroll-to-top:focus {
	filter: brightness( 0.9 );
}

/* ==========================================================================
   Quick-contact floating widget — fixed bottom-left, pulsing toggle
   ========================================================================== */

.quick-contact {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 300;
}

button.quick-contact__toggle {
	position: relative;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: var( --color-accent );
	color: #fff;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba( 0, 0, 0, 0.25 );
}

.quick-contact__toggle svg {
	position: relative;
	z-index: 1;
}

.quick-contact__pulse {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background-color: var( --color-accent );
	animation: vs-pulse 2.2s ease-out infinite;
}

@keyframes vs-pulse {
	0% {
		transform: scale( 1 );
		opacity: 0.55;
	}
	100% {
		transform: scale( 1.9 );
		opacity: 0;
	}
}

.quick-contact__menu {
	position: absolute;
	left: 0;
	bottom: calc( 100% + 16px );
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 220px;
	background-color: #fff;
	border-radius: 12px;
	padding: 12px;
	box-shadow: 0 12px 32px rgba( 0, 0, 0, 0.18 );
	opacity: 0;
	visibility: hidden;
	transform: translateY( 12px );
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.quick-contact__menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY( 0 );
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

.quick-contact__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	color: var( --color-primary );
	font-family: var( --font-body );
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.quick-contact__link svg {
	color: var( --color-accent );
	flex-shrink: 0;
}

.quick-contact__link:hover,
.quick-contact__link:focus {
	background-color: var( --color-bg );
}

@media ( max-width: 782px ) {
	.scroll-to-top {
		right: 16px;
		bottom: 16px;
		width: 44px;
		height: 44px;
	}

	.quick-contact {
		left: 16px;
		bottom: 16px;
	}

	button.quick-contact__toggle {
		width: 52px;
		height: 52px;
	}
}

/* ==========================================================================
   Contact section — "Зв'яжіться з нами" + Google map with location tabs
   ========================================================================== */

.contact-section {
	background-color: var( --color-bg );
	padding: 100px 24px;
}

.contact-section__title {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 36px;
	font-weight: 600;
	text-align: center;
	margin: 0 0 16px;
}

.contact-section__subtitle {
	font-family: var( --font-body );
	color: var( --color-text );
	font-size: 16px;
	text-align: center;
	max-width: 640px;
	margin: 0 auto 56px;
	line-height: 1.6;
}

.contact-section__grid {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: start;
}

.contact-info {
	background-color: #fff;
	border-radius: 14px;
	padding: 36px 28px;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.07 );
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.contact-info__item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.contact-info__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: var( --color-bg );
	color: var( --color-accent );
}

.contact-info__label {
	display: block;
	font-family: var( --font-body );
	color: #999;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 4px;
}

.contact-info__body a,
.contact-info__body p {
	font-family: var( --font-heading );
	color: var( --color-primary );
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	margin: 0;
	line-height: 1.5;
}

.contact-info__body a:hover,
.contact-info__body a:focus {
	color: var( --color-accent );
}

.contact-map {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-map__tabs {
	display: flex;
	gap: 8px;
}

button.contact-map__tab {
	flex: 1;
	background-color: #fff;
	color: var( --color-primary );
	border: 1px solid rgba( 26, 46, 53, 0.12 );
	border-radius: 999px;
	padding: 12px 20px;
	font-family: var( --font-body );
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button.contact-map__tab.is-active,
button.contact-map__tab:hover {
	background-color: var( --color-accent );
	color: #fff;
	border-color: var( --color-accent );
}

.contact-map__frame-wrap {
	position: relative;
	width: 100%;
	padding-top: 62%;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.1 );
}

.contact-map__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.contact-map__directions {
	align-self: flex-start;
	background-color: var( --color-primary );
	color: #fff;
	font-family: var( --font-body );
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	padding: 12px 24px;
	border-radius: 8px;
	transition: filter 0.2s ease;
}

.contact-map__directions:hover,
.contact-map__directions:focus {
	filter: brightness( 1.2 );
}

@media ( max-width: 1024px ) {
	.contact-section__grid {
		grid-template-columns: 1fr;
	}
}

@media ( max-width: 782px ) {
	.contact-section {
		padding: 64px 20px;
	}

	.contact-section__title {
		font-size: 28px;
	}

	.contact-info {
		padding: 28px 20px;
	}

	.contact-map__frame-wrap {
		padding-top: 80%;
	}
}

/* ==========================================================================
   Галерея робіт (page-galereya.php) — portfolio page, no prices/buttons
   ========================================================================== */

.gallery-page-header {
	background-color: var( --color-primary );
	padding: 100px 24px 64px;
	text-align: center;
}

.gallery-page-header__title {
	font-family: var( --font-heading );
	color: #fff;
	font-size: 36px;
	font-weight: 600;
	margin: 0 0 16px;
}

.gallery-page-header__subtitle {
	font-family: var( --font-body );
	color: rgba( 255, 255, 255, 0.85 );
	font-size: 16px;
	line-height: 1.6;
	max-width: 640px;
	margin: 0 auto;
}

.gallery-section {
	background-color: var( --color-bg );
	padding: 64px 24px 100px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
}

.gallery-section__empty {
	grid-column: 1 / -1;
	font-family: var( --font-body );
	color: var( --color-text );
	text-align: center;
}

.gallery-item {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background-color: #fff;
	border: none;
	border-radius: 12px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.12 );
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
	transform: translateY( -6px );
	box-shadow: 0 12px 28px rgba( 0, 0, 0, 0.18 );
}

.gallery-item__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-item__image {
	transform: scale( 1.05 );
}

.gallery-lightbox .gallery-lightbox__dialog {
	position: relative;
	background: none;
	padding: 0;
	max-width: 90vw;
	width: auto;
	box-shadow: none;
	transform: translateY( -16px );
	transition: transform 0.25s ease;
}

.gallery-lightbox.is-open .gallery-lightbox__dialog {
	transform: translateY( 0 );
}

.gallery-lightbox__image {
	display: block;
	max-width: 90vw;
	max-height: 85vh;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.4 );
}

.gallery-lightbox__close {
	position: absolute;
	top: -40px;
	right: 0;
	background: none;
	border: none;
	font-size: 32px;
	line-height: 1;
	color: #fff;
	cursor: pointer;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus {
	color: var( --color-accent );
}

@media ( max-width: 1024px ) {
	.gallery-grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

@media ( max-width: 782px ) {
	.gallery-page-header {
		padding: 64px 20px 48px;
	}

	.gallery-page-header__title {
		font-size: 28px;
	}

	.gallery-section {
		padding: 48px 20px 64px;
	}

	.gallery-grid {
		grid-template-columns: repeat( 2, 1fr );
		gap: 16px;
	}

	.gallery-lightbox__close {
		top: -36px;
		font-size: 28px;
	}
}
