/*
Theme Name: Florans
Theme URI:
Author:
Author URI:
Description: Блочная тема на нативных блоках Gutenberg (референс: Susanne Kaufmann).
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: theme
*/

:root {
	--color-bg: #f2eeeb;
	--color-text: #1e1e1e;
	--color-surface: #ffffff;
	--color-muted: #6b6b6b;
	--color-accent: #4b0101;
	--color-link: #2f80ed;
	--color-button: #f2a9c2;
	--color-button-text: #ffffff;
	--font-heading: "Fraunces", serif;
	--font-body: "Golos Text", sans-serif;
	--font-display: "Advaken Sans", "Fraunces", serif;
	--font-accent: "Patefon", "Fraunces", serif;
	--content-width: 1200px;
	--wide-width: 1400px;

	--topbar-padding-block: 12px;
	--topbar-gap: 24px;
	--topbar-edge-padding: 40px;
	--catalog-tile-width: 270px;
	--topbar-font-size: 13px;
	--logo-width: 150px;
	--topbar-social-size: 22px;
	--mobile-brandbar-height: 60px;
	--nav-padding-block: 16px;
	--nav-gap: 32px;
	--nav-font-size: 14px;

	--color-green: #2f5d3a;
	--color-green-soft: #fbe1ea;

	--hero-video-min-height: 640px;
	--hero-video-padding: 64px;
	--hero-video-dim: 0.45;
	--hero-video-focus: 85% 50%; /* narrow screens crop the sides — keep the pink peonies in view */
	--hero-video-content-width: 1000px;
	--hero-video-title-size: 46px;
	--hero-video-gap: 28px;
	--loyalty-hero-height: 620px;
	--usp-gap: 16px;
	--usp-icon-size: 28px;
	--usp-font-size: 26px;

	--button-padding: 18px 44px;
	--button-font-size: 15px;
	--button-radius: 999px;

	--filters-padding-block: 28px;
	--filters-gap: 12px;
	--filter-padding: 16px 22px;
	--filter-radius: 12px;
	--filter-font-size: 15px;
	--filter-bg: #f3f1ee;
	--filter-panel-radius: 14px;
	--filter-option-gap: 12px;

	--color-danger: #d1332b;

	--catalog-columns: 4;
	--catalog-gap: 10px;
	--catalog-padding-block: 12px 64px;
	--card-radius: 12px;
	--card-title-size: 15px;
	--card-price-size: 18px;
	--card-price-size-sale: 20px;
	--card-btn-font-size: 13px;
	--card-btn-padding: 12px 10px;
	--card-fab-size: 44px;

	--reviews-columns: 4;
	--reviews-gap: 20px;
	--reviews-heading-size: 32px;
	--review-card-radius: 12px;
	--review-star-color: #f2a93c;

	--delivery-columns: 2;
	--delivery-gap: 24px;
	--flip-card-height: 480px;
	--flip-card-radius: 12px;
	--flip-card-title-size: 27px;
	--flip-card-text-size: 16px;
	--flip-card-lead-size: 14px;

	--contacts-padding-block: 64px;
	--contacts-gap: 48px;
	--contacts-map-height: 380px;
	--contacts-heading-size: 32px;
	--contacts-text-size: 16px;
	--contacts-social-size: 46px;

	--checkout-section-gap: 28px;
	--cart-gap: 32px;
	--cart-summary-width: 340px;
	--cart-radius: 16px;
	--cart-padding: 28px;
	--cart-title-size: 28px;

	--modal-max-width: 960px;
	--modal-radius: 16px;
	--modal-gap: 32px;
	--modal-padding: 32px;
	--modal-title-size: 26px;
	--modal-price-size: 22px;

	--footer-padding-block: 64px;
	--footer-gap: 48px;
	--footer-logo-width: 150px;
	--footer-heading-size: 18px;
	--footer-text-size: 15px;
	--footer-social-size: 40px;
	--footer-overlay: rgba(15, 20, 14, 0.78);
}

@media (max-width: 781px) {
	:root {
		--m-content-width: 100%;
		--topbar-padding-block: 16px;
		--topbar-gap: 12px;
		--logo-width: 130px;
		--topbar-social-size: 20px;
		--nav-padding-block: 12px;
		--nav-gap: 16px;
		--hero-video-min-height: 520px;
		--hero-video-padding: 28px;
		--hero-video-content-width: 100%;
		--hero-video-title-size: 30px;
		--hero-video-gap: 20px;
		--loyalty-hero-height: 380px;
		--topbar-edge-padding: 24px;
		--usp-font-size: 16px;
		--usp-icon-size: 22px;
		--usp-gap: 12px;
		--button-padding: 14px 32px;

		--filters-padding-block: 18px;
		--filters-gap: 10px;
		--filter-padding: 12px 16px;
		--filter-font-size: 14px;

		--catalog-columns: 2;
		--catalog-gap: 8px;
		--catalog-padding-block: 4px 40px;
		--card-title-size: 14px;
		--card-price-size: 16px;

		--reviews-columns: 1;
		--reviews-gap: 14px;
		--reviews-heading-size: 24px;

		--delivery-columns: 1;
		--delivery-gap: 14px;
		--flip-card-height: 420px;
		--flip-card-title-size: 24px;
		--flip-card-text-size: 15px;

		--contacts-padding-block: 40px;
		--contacts-gap: 24px;
		--contacts-map-height: 260px;
		--contacts-heading-size: 24px;
		--contacts-text-size: 15px;
		--contacts-social-size: 44px;

		--footer-padding-block: 40px;
		--footer-gap: 32px;
		--footer-logo-width: 130px;

		--modal-gap: 20px;
		--modal-padding: 20px;
		--modal-title-size: 21px;
		--modal-price-size: 19px;

		--cart-gap: 20px;
		--cart-padding: 20px;
		--cart-title-size: 22px;
	}
}

@font-face {
	font-family: "Advaken Sans";
	src: url("assets/fonts/advaken-sans.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Patefon";
	src: url("assets/fonts/patefon-regular.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Patefon";
	src: url("assets/fonts/patefon-bold.otf") format("opentype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Used only on the "О нас" page (.about-page) */
@font-face {
	font-family: "MFEVOLT Special";
	src: url("assets/fonts/MFEVOLT-Special-FREE.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gros Ventre";
	src: url("assets/fonts/GrosVentre-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* Site-wide body text (--font-body). */
@font-face {
	font-family: "Golos Text";
	src: url("assets/fonts/GolosText-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Golos Text";
	src: url("assets/fonts/GolosText-Medium.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Golos Text";
	src: url("assets/fonts/GolosText-SemiBold.ttf") format("truetype");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Golos Text";
	src: url("assets/fonts/GolosText-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Blog article headings (.article) */
@font-face {
	font-family: "Manrope";
	src: url("assets/fonts/Manrope-ExtraBold.ttf") format("truetype");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

/* Used only on the "Бонусная программа" hero (.loyalty-hero) */
@font-face {
	font-family: "Geologica";
	src: url("assets/fonts/Geologica-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Gros Ventre";
	src: url("assets/fonts/GrosVentre-Semibold.ttf") format("truetype");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 400;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* WooCommerce auto-injects this on shop pages (cart, checkout, my account)
   even though our page.html template doesn't include a post-title block. */
:root .wp-block-post-title {
	font-family: var(--font-display);
	max-width: var(--content-width);
	margin: 40px auto 0;
	padding: 0 24px;
}

/* Generic content pages (page.html: header + post-content + footer, no
   dedicated wrapper of their own like the cart/checkout pages have) —
   without this, text runs edge-to-edge at any width. */
.wp-block-post-content {
	max-width: 860px;
	margin: 0 auto;
	padding: 48px 24px 96px;
}

/* Full-bleed pages manage their own width/padding per-section (the front
   page's hero/catalog/etc., and "О нас"/"Персональный заказ цветка" via
   .about-page), so undo the generic column there. */
.home .wp-block-post-content,
.wp-block-post-content:has(.about-page),
.wp-block-post-content:has(.flip-cards),
.wp-block-post-content:has(.catalog-index) {
	max-width: none;
	margin: 0;
	padding: 0;
}

.wp-block-post-content > * {
	margin-block: 0 20px;
}

.home .wp-block-post-content > *,
.wp-block-post-content:has(.flip-cards) > *,
.wp-block-post-content:has(.catalog-index) > * {
	margin-block: 0;
}

.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3 {
	margin-block: 40px 12px;
}

.wp-block-post-content p a,
.wp-block-post-content li a {
	color: var(--color-accent);
}

figure {
	margin: 0;
}

.nav p {
	margin: 0;
}

img, svg {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

/* ---------- Header ---------- */

.site-header {
	background: var(--color-bg);
	border-top: 1px solid var(--color-text);
	display: contents;
}

@media (max-width: 781px) {
	.site-header {
		display: block;
	}
}

/* Desktop: only the topbar (contacts/logo/icons) should stick, not the nav
   menu below it. A sticky element's "stick range" is bounded by its own
   parent's box, so the wrappers between .topbar and the tall page root are
   collapsed with display:contents to hoist .topbar up to a parent that
   spans the whole page height. */
header.wp-block-template-part {
	display: contents;
}

@media (max-width: 781px) {
	header.wp-block-template-part {
		display: block;
	}
}

.topbar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--topbar-gap);
	width: 100%;
	padding: var(--topbar-padding-block) var(--topbar-edge-padding);
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-bg);
	border-top: 1px solid var(--color-text);
}

@media (max-width: 781px) {
	.topbar {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		position: static;
		border-top: none;
	}
}

.topbar .topbar__contacts {
	gap: 2px;
}

:root .topbar__phone,
:root .topbar__address {
	margin: 0;
	font-size: var(--topbar-font-size);
}

.topbar__address {
	color: var(--color-muted);
}

:root .topbar__hours {
	margin: 4px 0 0;
	font-size: var(--topbar-font-size);
	text-align: left;
	color: var(--color-muted);
}

.topbar__socials {
	display: flex;
	align-items: center;
	gap: 8px;
}

.topbar__socials .social-icons__link {
	width: var(--topbar-social-size);
	height: var(--topbar-social-size);
}

.topbar__brandbar {
	display: contents;
}

.topbar__logo {
	justify-content: center;
}

.site-logo img {
	width: var(--logo-width);
	height: auto;
	margin-top: 20px;
}

.topbar__right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
}

@media (max-width: 781px) {
	.topbar__contacts,
	.topbar__right {
		align-items: center;
	}

	:root .topbar__hours {
		text-align: center;
	}

	.topbar__right {
		gap: 12px;
	}

	.topbar__socials {
		gap: 6px;
	}

	.topbar {
		padding-top: calc(var(--mobile-brandbar-height) + var(--topbar-padding-block));
	}

	.topbar__brandbar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: var(--mobile-brandbar-height);
		z-index: 100;
		background: var(--color-bg);
		padding: 0 16px;
		border-bottom: 1px solid rgba(30, 30, 30, 0.12);
	}

	.topbar__brandbar .topbar__logo,
	.topbar__brandbar .topbar__right {
		width: auto;
	}
}

/* ---------- Header cart / favourites icons ---------- */

.header-icons {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.header-icons__link {
	position: relative;
	display: flex;
	border: none;
	background: none;
	padding: 0;
	font: inherit;
	color: var(--color-text);
	cursor: pointer;
}

.header-icons__link svg {
	width: 30px;
	height: 30px;
	stroke-width: 1.6;
}

.header-icons__link--fav {
	color: var(--color-danger);
}

.header-icons__badge {
	position: absolute;
	top: -5px;
	right: -9px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--color-green);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.header-icons__badge:empty {
	display: none;
}

.header-icons__badge--fav {
	background: var(--color-danger);
}

.main-nav {
	justify-content: center;
	width: 100%;
	padding: var(--nav-padding-block) calc(max(0px, 100% - var(--content-width)) / 2 + 24px);
	border-top: 1px solid rgba(30, 30, 30, 0.12);
	background: var(--color-bg);
}

.main-nav .wp-block-navigation__container {
	gap: var(--nav-gap);
	justify-content: center;
}

.main-nav a {
	font-size: var(--nav-font-size);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* ---------- Hero (video) ---------- */

.hero-video.wp-block-cover {
	min-height: var(--hero-video-min-height);
}

.hero-video > .wp-block-cover__background {
	opacity: var(--hero-video-dim, 0.45) !important;
}

.hero-video .wp-block-cover__inner-container {
	padding: 0 var(--hero-video-padding);
	max-width: var(--content-width);
	margin: 0 auto;
}

.hero-video__content {
	max-width: var(--hero-video-content-width);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--hero-video-gap);
}

:root .hero-video__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: var(--hero-video-title-size);
	line-height: 1.1;
	color: #ffffff;
	text-align: left;
}

:root .hero-video__usp {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--usp-gap);
}

:root .hero-video__usp li {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #ffffff;
	font-size: var(--usp-font-size);
	font-weight: 600;
}

.hero-video__usp li::before {
	content: "+";
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--usp-icon-size);
	height: var(--usp-icon-size);
	border-radius: 50%;
	background: var(--color-green);
	color: #ffffff;
	font-size: 14px;
	line-height: 1;
}

.hero-video .wp-block-buttons {
	margin: 0;
}

/* Phones: «В каталог» centred under the USP list. */
@media (max-width: 781px) {
	.hero-video .wp-block-buttons {
		align-self: stretch;
		justify-content: center;
	}

	.hero-video__usp li::before {
		font-size: 12px;
	}
}

/* ---------- «Избранное» page (/izbrannoe/) ---------- */

.favorites-page {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 0 64px; /* the page content already has 24px side padding */
}

.favorites-page__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 40px 0;
	text-align: center;
	color: var(--color-muted);
}

.favorites-page__empty[hidden] {
	display: none;
}

:root .favorites-page__empty p {
	margin: 0;
	max-width: 420px;
}

.favorites-page__empty .catalog__btn {
	text-decoration: none;
}

.hero-video .wp-block-button__link {
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: var(--button-font-size);
	background: var(--color-button);
	color: var(--color-green);
	padding: var(--button-padding);
	border-radius: var(--button-radius);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-video .wp-block-button__link:hover,
.hero-video .wp-block-button__link:focus {
	background: var(--color-green);
	color: var(--color-green-soft);
}

/* ---------- Filters ---------- */

.filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: var(--filters-gap);
	max-width: var(--content-width);
	margin: 0 auto;
	padding: var(--filters-padding-block) 24px;
}

.filter {
	position: relative;
	background: var(--filter-bg);
	border-radius: var(--filter-radius);
}

.filter__summary {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: var(--filter-padding);
	font-size: var(--filter-font-size);
	color: var(--color-text);
	cursor: pointer;
	list-style: none;
	white-space: nowrap;
}

.filter__summary::-webkit-details-marker {
	display: none;
}

.filter__summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--color-muted);
	border-bottom: 2px solid var(--color-muted);
	transform: rotate(45deg);
	margin-left: 4px;
	margin-top: -4px;
	flex: 0 0 auto; /* never squeezed into a line when the button is narrow (phones) */
	transition: transform 0.2s ease;
}

.filter[open] .filter__summary::after {
	transform: rotate(-135deg);
	margin-top: 2px;
}

.filter__icon--sort {
	width: 16px;
	height: 12px;
	position: relative;
	flex: 0 0 auto;
}

.filter__icon--sort::before,
.filter__icon--sort::after {
	content: "";
	position: absolute;
	left: 0;
	background: var(--color-text);
	height: 2px;
}

.filter__icon--sort::before {
	top: 0;
	width: 16px;
	box-shadow: 0 5px 0 var(--color-text), 0 10px 0 var(--color-text);
}

.filter__panel {
	box-sizing: border-box;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 20;
	background: #ffffff;
	border-radius: var(--filter-panel-radius);
	box-shadow: 0 12px 32px rgba(30, 30, 30, 0.16);
	padding: 18px 20px;
	min-width: 240px;
	display: flex;
	flex-direction: column;
	gap: var(--filter-option-gap);
}

.filter__option {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: var(--filter-font-size);
	color: var(--color-text);
	cursor: pointer;
	white-space: nowrap;
}

.filter__option input[type="radio"] {
	accent-color: var(--color-green);
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.filter__panel--price {
	min-width: 280px;
}

.filter__panel--flower {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 24px;
	min-width: 380px;
}

.filter__panel--static {
	position: static;
	box-shadow: none;
	padding: 0;
	border-radius: 0;
	min-width: 0;
	grid-template-columns: 1fr 1fr;
}

.filter__option--flower {
	justify-content: space-between;
	gap: 16px;
	white-space: normal;
}

.filter__option--flower input[type="checkbox"] {
	accent-color: var(--color-green);
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	cursor: pointer;
}

.filter__price-row {
	display: flex;
	gap: 10px;
}

.filter__price-input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(30, 30, 30, 0.15);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	font-family: var(--font-body);
	color: var(--color-muted);
}

.filter__price-input::placeholder {
	color: var(--color-muted);
}

.filter__price-submit {
	box-sizing: border-box;
	width: 100%;
	border: none;
	border-radius: 8px;
	background: var(--color-green);
	color: #ffffff;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	padding: 12px;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.filter__price-submit:hover {
	opacity: 0.85;
}

.filter--toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: var(--filter-padding);
	font-size: var(--filter-font-size);
	color: var(--color-text);
	cursor: pointer;
	white-space: nowrap;
}

.filters__reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 16px;
	border-radius: var(--button-radius);
	background: var(--color-green);
	font-family: var(--font-accent);
	font-size: var(--filter-font-size);
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}

.filters__reset:hover {
	opacity: 0.85;
}

.filter__toggle-input {
	accent-color: var(--color-green);
	width: 18px;
	height: 18px;
	cursor: pointer;
}

/* ---------- Mobile filters button + sheet ---------- */

.filters__mobile-btn {
	display: none;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	background: var(--filter-bg);
	border-radius: var(--filter-radius);
	padding: var(--filter-padding);
	font-size: var(--filter-font-size);
	color: var(--color-text);
	cursor: pointer;
}

.filters__mobile-btn-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	color: var(--color-green);
}

.mobile-filters-panel {
	display: none;
}

/* Mobile: «Популярные» and «Фильтры» — one row, buttons of the same height. */
@media (max-width: 781px) {
	.filters {
		flex-wrap: nowrap;
		align-items: stretch;
	}

	/* «Популярные» takes what its label needs, «Фильтры» fills the rest of the row. */
	.filters > .filter--sort {
		flex: 0 0 auto;
	}

	.filters > .filters__mobile-btn {
		flex: 1 1 auto;
		min-width: 0;
	}

	.filters > .filter--sort > .filter__summary,
	.filters > .filters__mobile-btn {
		box-sizing: border-box;
		height: 48px;
		min-height: 48px;
		padding-block: 0;
		line-height: 1.2;
	}
}

@media (max-width: 781px) {
	.filter--desktop-only {
		display: none;
	}

	.filters__mobile-btn {
		display: flex;
	}

	.mobile-filters-toggle-input:checked ~ .mobile-filters-panel {
		display: flex;
	}

	.mobile-filters-panel {
		flex-direction: column;
		position: fixed;
		inset: 0;
		z-index: 200;
		background: var(--color-surface);
		overflow-y: auto;
	}

	.mobile-filters-panel__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 20px 24px;
		border-bottom: 1px solid rgba(30, 30, 30, 0.1);
	}

	.mobile-filters-panel__title {
		font-family: var(--font-heading);
		font-size: 22px;
	}

	.mobile-filters-panel__close {
		font-size: 20px;
		line-height: 1;
		cursor: pointer;
		color: var(--color-muted);
	}

	.mobile-filters-panel__body {
		flex: 1 1 auto;
		padding: 24px;
		display: flex;
		flex-direction: column;
		gap: 28px;
	}

	.mobile-filters-panel__heading {
		margin: 0 0 14px;
		font-family: var(--font-body);
		font-size: 16px;
		font-weight: 600;
		color: var(--color-text);
	}

	.mobile-filters-panel__section .filter__price-row {
		gap: 12px;
	}

	.mobile-filters-panel__section .filter__price-input {
		padding: 14px 14px;
		font-size: 15px;
	}

	.mobile-filters-panel__chips {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}

	.chip {
		display: inline-flex;
		align-items: center;
		padding: 12px 18px;
		border-radius: 10px;
		background: var(--filter-bg);
		color: var(--color-text);
		font-size: 15px;
		cursor: pointer;
	}

	.chip input {
		position: absolute;
		opacity: 0;
		pointer-events: none;
	}

	.chip:has(input:checked) {
		background: var(--color-button);
		color: var(--color-green);
		font-weight: 600;
	}

	.mobile-filters-panel__toggle-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-size: 16px;
		color: var(--color-text);
	}

	.switch {
		position: relative;
		display: inline-block;
		width: 48px;
		height: 28px;
		cursor: pointer;
	}

	.switch input {
		position: absolute;
		opacity: 0;
		width: 100%;
		height: 100%;
		margin: 0;
		cursor: pointer;
	}

	.switch__track {
		position: absolute;
		inset: 0;
		background: rgba(30, 30, 30, 0.15);
		border-radius: 999px;
		transition: background-color 0.2s ease;
	}

	.switch__thumb {
		position: absolute;
		top: 3px;
		left: 3px;
		width: 22px;
		height: 22px;
		border-radius: 50%;
		background: #ffffff;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
		transition: transform 0.2s ease;
	}

	.switch input:checked ~ .switch__track {
		background: var(--color-green);
	}

	.switch input:checked ~ .switch__track .switch__thumb {
		transform: translateX(20px);
	}

	.mobile-filters-panel__actions {
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin: 0 24px 24px;
	}

	.mobile-filters-panel__submit {
		display: block;
		width: 100%;
		box-sizing: border-box;
		border: none;
		margin: 0;
		padding: 16px;
		border-radius: var(--button-radius);
		background: var(--color-green);
		color: #ffffff;
		text-align: center;
		font-size: 16px;
		font-weight: 600;
		cursor: pointer;
	}

	.mobile-filters-panel__reset {
		display: block;
		text-align: center;
		padding: 8px;
		font-size: 14px;
		color: var(--color-muted);
		text-decoration: underline;
		cursor: pointer;
	}
}

/* ---------- Catalog / product cards ---------- */

.catalog-empty {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 48px 24px;
	text-align: center;
	color: var(--color-muted);
	font-size: 16px;
}

.catalog {
	display: grid;
	grid-template-columns: repeat(var(--catalog-columns), minmax(0, 1fr));
	gap: var(--catalog-gap);
	width: 100%;
	margin: 0;
	padding-block: var(--catalog-padding-block);
	padding-inline: 0;
}


.product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.catalog > .product-card[hidden] {
	display: none;
}

.catalog__controls {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	max-width: var(--content-width);
	margin: 0 auto;
	padding-inline: 24px;
	padding-block-end: 48px;
}

.catalog__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	padding: var(--button-padding);
	border-radius: var(--button-radius);
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: var(--button-font-size);
	cursor: pointer;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

/* display:inline-flex above would otherwise override the hidden attribute. */
.catalog__btn[hidden] {
	display: none;
}

.catalog__btn--more {
	background: var(--color-green);
	color: #ffffff;
}

.catalog__btn--more:hover {
	opacity: 0.85;
}

.catalog__btn--collapse {
	background: transparent;
	color: var(--color-green);
	box-shadow: inset 0 0 0 1.5px var(--color-green);
}

.catalog__btn--collapse:hover {
	background: var(--color-green);
	color: #ffffff;
}

.product-card__media {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--filter-bg);
}

.product-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.25s ease;
}

.product-card__img--2 {
	opacity: 0;
}

.product-card__media:hover .product-card__img--1 {
	opacity: 0;
}

.product-card__media:hover .product-card__img--2 {
	opacity: 1;
}

:root .product-card__title {
	margin: 12px 0 6px;
	padding: 0 16px;
	font-size: var(--card-title-size);
	font-weight: 400;
	color: var(--color-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.product-card__price-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.product-card__price {
	margin: 0 0 14px;
	padding: 0 16px;
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.product-card__price-current {
	font-size: var(--card-price-size);
	font-weight: 700;
	color: var(--color-text);
}

.product-card__price-current--sale {
	font-size: var(--card-price-size-sale);
	color: var(--color-danger);
}

.product-card__price-old {
	font-size: 14px;
	color: var(--color-muted);
	text-decoration: line-through;
}

.product-card__actions {
	display: flex;
	gap: 8px;
	padding: 0 16px;
}

/* Нет в наличии: muted photo + a plain label instead of the buy buttons. */
.product-card--soldout .product-card__img {
	filter: grayscale(0.6);
	opacity: 0.7;
}

.product-card__soldout {
	flex: 1 1 auto;
	padding: var(--card-btn-padding);
	border-radius: 8px;
	background: rgba(30, 30, 30, 0.06);
	color: var(--color-muted);
	font-family: var(--font-body);
	font-size: var(--card-btn-font-size);
	font-weight: 600;
	text-align: center;
}

/* WooCommerce inserts its own "View cart" link after a successful
   add-to-cart click; our quantity stepper already gives that feedback. */
.product-card .added_to_cart {
	display: none !important;
}

.product-card__btn {
	flex: 1 1 0;
	min-width: 0;
	border: none;
	border-radius: 8px;
	padding: var(--card-btn-padding);
	font-family: var(--font-body);
	font-size: var(--card-btn-font-size);
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.product-card__btn--cart {
	background: var(--color-button);
	color: var(--color-green);
}

.product-card__btn--buy {
	background: var(--color-green);
	color: #ffffff;
}

.is-hidden {
	display: none !important;
}

/* ---------- Quantity stepper (replaces the cart button/fab once added) ---------- */

.product-card__qty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
	background: var(--color-button);
}

.product-card__qty-btn {
	border: none;
	background: none;
	color: var(--color-green);
	font-size: 18px;
	line-height: 1;
	font-weight: 700;
	cursor: pointer;
	padding: 4px 10px;
}

.product-card__qty-value {
	color: var(--color-green);
	font-weight: 700;
	font-size: var(--card-btn-font-size);
	min-width: 1ch;
	text-align: center;
}

.product-card__qty--inline {
	flex: 1 1 0;
	min-width: 0;
	border-radius: 8px;
	padding: 0 2px;
}

/* the favourites heart sits on the photo on both desktop and mobile */
/* «Собран» — ready-made items (product tag «Уже собран», e.g. dried compositions). */
.product-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 4px 12px;
	border-radius: 999px;
	background: #d32f2f;
	color: #ffffff;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	pointer-events: none;
}

.product-card__fav {
	display: block;
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	cursor: pointer;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.product-card__fav-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.product-card__fav-icon {
	display: block;
	width: 24px;
	height: 24px;
}

.product-card__fav-input:checked ~ .product-card__fav-icon {
	fill: var(--color-danger);
	stroke: var(--color-danger);
}

/* mobile-only floating controls, hidden on desktop */
.product-card__cart-fab,
.product-card__qty--fab {
	display: none;
}

@media (max-width: 781px) {
	.product-card__actions {
		display: none;
	}

	.product-card__cart-fab {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		bottom: 10px;
		right: 10px;
		z-index: 2;
		width: var(--card-fab-size);
		height: var(--card-fab-size);
		border-radius: 50%;
		border: none;
		background: var(--color-green);
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
		cursor: pointer;
	}

	.product-card__cart-fab svg {
		width: 20px;
		height: 20px;
		stroke: #ffffff;
	}

	.product-card__qty--fab {
		display: flex;
		position: absolute;
		bottom: 10px;
		right: 10px;
		z-index: 2;
		height: var(--card-fab-size);
		border-radius: 999px;
		background: #ffffff;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
		padding: 0 4px;
	}
}

/* ---------- Reviews ---------- */

:root .reviews-heading {
	margin: 0;
	padding: 48px 24px 0;
	font-family: var(--font-body);
	font-size: var(--reviews-heading-size);
	font-weight: 400;
	color: var(--color-accent);
}

.reviews {
	display: grid;
	grid-template-columns: repeat(var(--reviews-columns), minmax(0, 1fr));
	gap: var(--reviews-gap);
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 32px 24px 16px;
}

.review-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: var(--color-surface);
	border-radius: var(--review-card-radius);
	padding: 20px;
	box-shadow: 0 2px 10px rgba(30, 30, 30, 0.06);
}

.review-card__header {
	display: flex;
	align-items: center;
	gap: 10px;
}

:root .review-card__avatar {
	margin: 0;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 15px;
	background: var(--color-button);
	color: var(--color-accent);
}

.review-card:nth-child(4n+2) .review-card__avatar {
	background: #dfe8db;
	color: var(--color-green);
}

.review-card:nth-child(4n+3) .review-card__avatar {
	background: #f2e4c8;
	color: #8a5a1f;
}

.review-card:nth-child(4n+4) .review-card__avatar {
	background: #e0e6f2;
	color: #3a4d7a;
}

.review-card__meta {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

:root .review-card__name {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
}

:root .review-card__date {
	margin: 0;
	font-size: 12px;
	color: var(--color-muted);
}

:root .review-card__stars {
	margin: 0;
	color: var(--review-star-color);
	font-size: 15px;
	letter-spacing: 2px;
}

:root .review-card__text {
	margin: 0;
	flex: 1 1 auto;
	font-size: 14px;
	line-height: 1.5;
	color: var(--color-text);
}

:root .review-card__source {
	margin: 0;
	padding-top: 8px;
	border-top: 1px solid rgba(30, 30, 30, 0.08);
}

.review-card__source a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--color-muted);
}

.review-card__source a:hover {
	color: var(--color-green);
}

@media (max-width: 781px) {
	.reviews {
		padding: 16px 16px 8px;
	}

	/* cards are already ordered newest-first; show only the 4 latest on mobile */
	.review-card:nth-child(n + 5) {
		display: none;
	}
}

.reviews-source {
	padding: 0 24px 48px;
}

.reviews-source a {
	font-size: 14px;
	color: var(--color-green);
	text-decoration: underline;
}

/* ---------- «Как ухаживать за цветами» page ---------- */

.care-page {
	max-width: 820px;
	margin: 0 auto;
	padding: 24px 24px 64px;
}

:root .care-page h2 {
	margin: 40px 0 12px;
	font-family: var(--font-heading);
	font-weight: 400;
	color: var(--color-green);
}

:root .care-page h3 {
	margin: 24px 0 6px;
	font-family: var(--font-heading);
	font-weight: 400;
}

:root .care-page p,
:root .care-page li {
	margin-block: 0 8px;
	line-height: 1.6;
}

/* Blog article: Gros Ventre for text, Manrope ExtraBold for headings. */
:root .article,
:root .article p,
:root .article li {
	font-family: var(--font-body);
	font-weight: 400;
}

:root .article h2,
:root .article h3,
:root .delivery-heading.article__title {
	font-family: "Manrope", var(--font-body);
	font-weight: 800;
}

:root .article .article__figure {
	margin: 24px 0 8px;
}

.article__figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}

:root .article__figure figcaption {
	margin-top: 8px;
	font-size: 14px;
	color: var(--color-muted);
	text-align: center;
}

/* «Какие цветы рассматриваете к покупке?» — catalog sections strip at the end of an article. */
:root .article .cat-strip {
	margin: 32px 0 0;
	padding: 36px 0 36px 40px;
	border-radius: 16px;
	background: rgba(30, 30, 30, 0.04);
}

.cat-strip__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-right: 40px;
	margin-bottom: 28px;
}

:root .article .cat-strip__title {
	margin: 0;
	font-family: "Manrope", var(--font-body);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--color-green);
}

/* «Быстрый переход»: compact chips that wrap (no sticky/popup). */
:root .article .article-toc__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	list-style: none;
}

:root .article .article-toc__chips li {
	margin: 0;
}

.article-toc__chips a {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--color-surface);
	font-size: 14px;
	text-decoration: none;
}

/* «Букеты с …» line under a flower. */
:root .article .care-shop-link {
	margin: -2px 0 16px;
	font-size: 15px;
	font-weight: 600;
}

.care-shop-link a {
	text-decoration: none;
}

.cat-strip__nav {
	display: flex;
	flex-shrink: 0;
	gap: 12px;
}

.cat-strip__arrow {
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(30, 30, 30, 0.08);
	color: var(--color-text);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.cat-strip__arrow:hover {
	background: rgba(30, 30, 30, 0.16);
}

.cat-strip__track {
	display: flex;
	gap: 20px;
	padding: 0 40px 8px 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.cat-strip__track::-webkit-scrollbar {
	display: none;
}

.cat-strip__tile {
	flex: 0 0 220px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 12px;
	background: var(--color-surface);
	box-shadow: 0 2px 10px rgba(30, 30, 30, 0.06);
	color: var(--color-text);
	text-decoration: none;
	scroll-snap-align: start;
	transition: box-shadow 0.2s ease;
}

.cat-strip__tile:hover {
	box-shadow: 0 6px 20px rgba(30, 30, 30, 0.12);
}

.cat-strip__img {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.cat-strip__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cat-strip__name {
	padding: 14px 16px 18px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 600;
}

@media (max-width: 781px) {
	:root .article .cat-strip {
		padding: 24px 0 24px 20px;
	}

	.cat-strip__head {
		padding-right: 20px;
	}

	:root .article .cat-strip__title {
		font-size: 20px;
	}

	.cat-strip__nav {
		display: none;
	}

	.cat-strip__track {
		padding-right: 20px;
	}

	.cat-strip__tile {
		flex-basis: 170px;
	}
}

/* «Комментарий флориста» card inside an article. */
:root .article .florist-note {
	margin: 32px 0;
	padding: 36px 40px 28px;
	border-radius: 8px;
	background: var(--color-surface);
	box-shadow: 0 4px 24px rgba(30, 30, 30, 0.08);
}

:root .florist-note__head {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0 0 24px;
}

:root .article .florist-note__photo {
	flex: 0 0 150px;
	margin: 0;
}

.florist-note__photo img {
	display: block;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
}

:root .article .florist-note__title {
	flex: 1 1 auto;
	margin: 0;
	padding: 0 0 14px;
	border-bottom: 1px solid rgba(30, 30, 30, 0.15);
	font-family: "Manrope", var(--font-body);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.25;
}

.florist-note a {
	color: var(--color-green);
}

@media (max-width: 781px) {
	:root .article .florist-note {
		padding: 24px 20px;
	}

	:root .florist-note__head {
		gap: 16px;
	}

	:root .article .florist-note__photo {
		flex-basis: 96px;
	}

	.florist-note__photo img {
		width: 96px;
		height: 96px;
	}

	:root .article .florist-note__title {
		font-size: 20px;
	}
}

/* Article head: breadcrumbs + dates. */
.article-top {
	max-width: 820px;
	margin: 0 auto;
	padding: 24px 24px 0;
	font-size: 14px;
	color: var(--color-muted);
}

.article-top a {
	color: var(--color-muted);
}

:root .article-dates {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 6px;
	margin: 12px auto 0;
	padding: 0 24px;
	font-size: 14px;
	color: var(--color-muted);
}

:root .article-dates p,
:root .article-dates .wp-block-post-date {
	margin: 0;
}

/* Contents block after the intro. */
:root .article .article-toc {
	margin: 24px 0 32px;
	padding: 20px 24px;
	border-radius: 12px;
	background: rgba(30, 30, 30, 0.04);
}

:root .article .article-toc__title {
	margin: 0 0 8px;
	font-family: "Manrope", var(--font-body);
	font-weight: 800;
}

:root .article .article-toc ul {
	margin: 0;
	padding-left: 20px;
}

:root .article .article-toc li {
	margin-block: 0 4px;
}

.article-toc a {
	color: var(--color-green);
}

/* Tables scroll inside their wrapper on narrow screens, the page itself doesn't. */
:root .article .article-table {
	margin: 20px 0 28px;
	overflow-x: auto;
}

.article-table table {
	min-width: 560px;
	border-collapse: collapse;
	font-size: 15px;
}

.article-table th,
.article-table td {
	padding: 10px 12px;
	border: 1px solid rgba(30, 30, 30, 0.12);
	text-align: left;
	vertical-align: top;
}

.article-table thead th {
	background: var(--color-green-soft);
	font-weight: 600;
}

.article h2[id] {
	scroll-margin-top: 90px;
}

.article p a,
.article li a {
	color: var(--color-green);
}

/* «Читайте также» on category pages. */
.catalog-category__read-also {
	max-width: var(--content-width);
	margin: 24px auto 0;
	padding: 0 24px;
}

:root .catalog-category__read-also p {
	margin: 0 0 6px;
}

:root .catalog-category__read-also-title {
	font-weight: 600;
}

.catalog-category__read-also a {
	color: var(--color-green);
}

/* Catalog call-to-action plate inside an article. */
:root .article .article-cta {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 32px 0;
	padding: 32px 40px;
	border-radius: 20px;
	background: var(--color-green-soft);
}

.article-cta__body {
	flex: 1 1 auto;
	min-width: 0;
}

:root .article .article-cta__title {
	margin: 0 0 12px;
	font-family: "Manrope", var(--font-body);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
}

:root .article .article-cta__text {
	margin: 0 0 24px;
}

:root .article-cta__buttons {
	margin: 0;
}

.article-cta__btn .wp-block-button__link {
	padding: 14px 32px;
	border-radius: 10px;
	background: var(--color-green);
	color: #ffffff;
	font-family: var(--font-body);
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.article-cta__btn .wp-block-button__link:hover {
	opacity: 0.85;
}

:root .article .article-cta__image {
	flex: 0 0 140px;
	margin: 0;
}

.article-cta__image img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 781px) {
	:root .article .article-cta {
		flex-direction: column-reverse;
		align-items: flex-start;
		padding: 24px;
	}

	:root .article .article-cta__image {
		flex-basis: auto;
		width: 110px;
	}
}

:root .article__back {
	margin-top: 40px;
}

.article__back a {
	color: var(--color-green);
}

/* ---------- Blog list (/blog/) ---------- */

.blog-list {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 32px 24px 64px;
}

:root .blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

:root .blog-grid > li {
	margin: 0;
}

.blog-card {
	display: flex;
	flex-direction: column;
}

/* Cover: rounded, 16:10; a soft placeholder while the article has no image yet. */
:root .blog-card__image {
	margin: 0 0 18px;
	border-radius: 24px;
	overflow: hidden;
}

.blog-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-card__placeholder {
	display: block;
	aspect-ratio: 16 / 10;
	margin: 0 0 18px;
	border-radius: 24px;
	background: var(--color-green-soft);
}

:root .blog-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 18px;
	font-size: 13px;
	letter-spacing: 0.02em;
}

:root .blog-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	text-transform: uppercase;
	color: var(--color-accent);
}

:root .blog-card__tags p,
:root .blog-card__cat {
	margin: 0;
}

.blog-card__cat a {
	color: inherit;
	text-decoration: none;
}

:root .blog-card__date {
	margin: 0;
	flex-shrink: 0;
	color: var(--color-muted);
	text-transform: lowercase;
}

:root .blog-card__title {
	margin: 0 0 12px;
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.blog-card__title a {
	color: var(--color-text);
	text-decoration: none;
}

.blog-card__title a:hover {
	color: var(--color-accent);
}

:root .blog-card__excerpt p {
	margin: 0;
	color: var(--color-muted);
	line-height: 1.55;
}

@media (max-width: 1024px) {
	:root .blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	:root .blog-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

/* ---------- Delivery & payment (flip cards) ---------- */

:root .delivery-heading {
	margin: 0;
	padding: 48px 24px 0;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: var(--reviews-heading-size);
	color: var(--color-accent);
}

.flip-cards {
	display: grid;
	grid-template-columns: repeat(var(--delivery-columns), minmax(0, 1fr));
	gap: var(--delivery-gap);
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 32px 24px 48px;
}

.flip-card {
	height: var(--flip-card-height);
	perspective: 1400px;
	cursor: pointer;
}

.flip-card__inner {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.6s ease;
	transform-style: preserve-3d;
}

.flip-card:hover .flip-card__inner,
.flip-card.is-flipped .flip-card__inner {
	transform: rotateY(180deg);
}

.flip-card__face {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 26px;
	border-radius: var(--flip-card-radius);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	overflow: hidden;
}

.flip-card__face--front {
	background-size: cover;
	background-position: center;
	color: #ffffff;
	justify-content: flex-end;
}

.flip-card__face--back {
	background: var(--color-surface);
	color: var(--color-text);
	transform: rotateY(180deg);
	box-shadow: 0 2px 14px rgba(30, 30, 30, 0.1);
	justify-content: center;
	overflow-y: auto;
}

:root .flip-card__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: var(--flip-card-title-size);
}

.flip-card__divider {
	display: block;
	width: 56px;
	height: 10px;
	margin: 12px 0;
	color: inherit;
}

.flip-card__text {
	font-family: var(--font-body);
	font-weight: 700;
}

:root .flip-card__point {
	margin: 0 0 8px;
	font-size: var(--flip-card-text-size);
	line-height: 1.45;
}

.flip-card__face--back .flip-card__point a {
	color: var(--color-green);
	text-decoration: underline;
}

:root .flip-card__lead {
	margin: 0 0 12px;
	font-family: var(--font-body);
	font-size: var(--flip-card-lead-size);
	line-height: 1.45;
	opacity: 0.92;
}

:root .delivery-intro {
	max-width: 760px;
	margin: 16px auto 0;
	padding: 0 24px;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-muted);
}

/* Text block under the cards — same reading column as the catalog SEO text. */
.delivery-seo {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 24px 64px;
	box-sizing: border-box;
}

.delivery-seo > * {
	max-width: 760px;
	margin-inline: auto;
}

:root .delivery-seo .delivery-seo__title {
	margin: 40px auto 16px;
	text-align: center;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 26px;
	color: var(--color-accent);
}

:root .delivery-seo .delivery-seo__text {
	margin: 0 auto;
	text-align: center;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.7;
	color: var(--color-text);
}

/* Native «Детали» blocks styled like the site's other FAQ accordions (.loyalty-faq). */
.florans-faq {
	border-top: 1px solid rgba(75, 1, 1, 0.12);
}

:root .florans-faq .wp-block-details {
	margin: 0;
	border-bottom: 1px solid rgba(75, 1, 1, 0.12);
}

.florans-faq .wp-block-details summary {
	position: relative;
	padding: 20px 36px 20px 0;
	font-family: "Geologica", var(--font-body);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.4;
	color: var(--color-text);
	list-style: none;
	cursor: pointer;
}

.florans-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.florans-faq .wp-block-details summary::before,
.florans-faq .wp-block-details summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 5px;
	width: 14px;
	height: 2px;
	background: var(--color-accent);
	transform: translateY(-50%);
	transition: transform 0.2s ease;
}

.florans-faq .wp-block-details summary::after {
	transform: translateY(-50%) rotate(90deg);
}

.florans-faq .wp-block-details[open] summary::after {
	transform: translateY(-50%) rotate(0deg);
}

:root .florans-faq .wp-block-details p {
	margin: 0 0 20px;
	font-family: "Geologica", var(--font-body);
	font-size: 15px;
	line-height: 1.6;
	color: var(--color-muted);
}

/* ---------- Contacts ---------- */

.contacts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	gap: var(--contacts-gap);
	max-width: var(--content-width);
	margin: 0 auto;
	padding: var(--contacts-padding-block) 24px;
}

@media (max-width: 781px) {
	.contacts {
		grid-template-columns: 1fr;
	}
}

.contacts__map {
	position: relative;
	border-radius: var(--card-radius);
	overflow: hidden;
	min-height: var(--contacts-map-height);
	background: var(--filter-bg);
}

.contacts__map-canvas {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--filter-bg);
	font-family: var(--font-body);
}

/* Softer, slightly desaturated tiles so the map sits calmly in the palette. */
.contacts__map-canvas .leaflet-tile-pane {
	filter: saturate(0.55) contrast(0.95);
}

.contacts-map__pin span {
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 50% 50% 50% 0;
	background: var(--color-green);
	border: 3px solid #ffffff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	transform: rotate(-45deg);
}

.contacts__map-route {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 500;
	padding: 10px 16px;
	border-radius: var(--button-radius);
	background: #ffffff;
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 13px;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contacts__map-route:hover {
	background: var(--color-bg);
}

.contacts__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

:root .contacts__heading {
	margin: 0 0 14px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: var(--contacts-heading-size);
	color: var(--color-accent);
}

:root .contacts__phone,
:root .contacts__address,
:root .contacts__hours {
	margin: 0 0 6px;
	font-size: var(--contacts-text-size);
}

.contacts__phone a {
	font-weight: 600;
	color: var(--color-text);
}

.contacts__address,
.contacts__hours {
	color: var(--color-muted);
}

.contacts__socials {
	display: flex;
	gap: 14px;
	margin-top: 16px;
}

.contacts__socials .social-icons__link {
	width: var(--contacts-social-size);
	height: var(--contacts-social-size);
}

/* Shared social-icon component (contacts section + footer): each network
   keeps its own real brand color/artwork instead of a generic glyph. */
.social-icons__link {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-icons__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.social-icons__link--vk {
	background: #0077ff;
}

.social-icons__link--vk svg {
	width: 55%;
	height: 55%;
	fill: #ffffff;
}

.social-icons__link--max img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------- Footer ---------- */

.site-footer {
	background-image: linear-gradient(var(--footer-overlay), var(--footer-overlay)), url("assets/img/footer/footer-bg.png");
	background-size: cover;
	background-position: center;
	color: #ffffff;
}

.footer__top {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: var(--footer-gap);
	max-width: var(--content-width);
	margin: 0 auto;
	padding: var(--footer-padding-block) 24px 40px;
}

@media (max-width: 781px) {
	.footer__top {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

.footer__logo {
	width: var(--footer-logo-width);
	height: auto;
	filter: brightness(0) invert(1);
}

.footer__socials {
	display: flex;
	gap: 12px;
	margin: 18px 0;
}

@media (max-width: 781px) {
	.footer__socials {
		justify-content: center;
	}
}

.footer__socials .social-icons__link {
	width: var(--footer-social-size);
	height: var(--footer-social-size);
}

:root .footer__phone,
:root .footer__address,
:root .footer__hours {
	margin: 0 0 6px;
	font-size: var(--footer-text-size);
	color: rgba(255, 255, 255, 0.75);
}

.footer__phone a {
	color: #ffffff;
	font-weight: 600;
}

:root .footer__col-heading {
	margin: 0 0 16px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: var(--footer-heading-size);
	color: #ffffff;
}

.footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer__links a {
	font-size: var(--footer-text-size);
	color: rgba(255, 255, 255, 0.72);
	transition: color 0.2s ease;
}

.footer__links a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.footer__links-static {
	font-size: var(--footer-text-size);
	color: rgba(255, 255, 255, 0.4);
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 20px 24px;
}

:root .footer__legal,
:root .footer__copyright {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 781px) {
	.footer__bottom-inner {
		flex-direction: column;
		text-align: center;
	}
}

/* ---------- Product modal ---------- */

.product-modal {
	position: fixed;
	inset: 0;
	margin: auto;
	border: none;
	padding: 0;
	background: var(--color-surface);
	border-radius: var(--modal-radius);
	max-width: var(--modal-max-width);
	width: 92vw;
	max-height: 88vh;
}

.product-modal::backdrop {
	background: rgba(20, 20, 20, 0.55);
}

.product-modal__inner {
	position: relative;
	max-height: 88vh;
	overflow-y: auto;
	padding: var(--modal-padding);
}

.product-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: var(--filter-bg);
	color: var(--color-text);
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
}

.product-modal__body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--modal-gap);
}

@media (max-width: 781px) {
	.product-modal__body {
		grid-template-columns: 1fr;
	}
}

.product-modal__gallery {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.product-modal__main {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: 12px;
	overflow: hidden;
	background: var(--filter-bg);
}

.product-modal__main-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.product-modal__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--color-text);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.product-modal__arrow--prev {
	left: 10px;
}

.product-modal__arrow--next {
	right: 10px;
}

.product-modal__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.product-modal__thumb {
	width: 56px;
	height: 56px;
	flex: 0 0 auto;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	background: none;
}

.product-modal__thumb.is-active {
	border-color: var(--color-green);
}

.product-modal__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.product-modal__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

:root .product-modal__title {
	margin: 0 0 4px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: var(--modal-title-size);
	color: var(--color-text);
}

:root .product-modal__sku {
	margin: 0 0 14px;
	font-size: 13px;
	color: var(--color-muted);
}

.product-modal__price {
	margin: 0 0 18px;
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.product-modal__price-current {
	font-size: var(--modal-price-size);
	font-weight: 700;
	color: var(--color-text);
}

.product-modal__price-current--sale {
	color: var(--color-danger);
}

.product-modal__price-old {
	font-size: 15px;
	color: var(--color-muted);
	text-decoration: line-through;
}

.product-modal__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 26px;
}

/* WooCommerce inserts this "Просмотр корзины" link after a successful
   ajax add-to-cart click — style it as a plain black/white pill in the
   same row instead of leaving it as an unstyled default link. */
.product-modal .added_to_cart {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	border-radius: var(--button-radius);
	background: var(--color-text);
	color: #ffffff;
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	white-space: nowrap;
}

.product-modal .added_to_cart::before {
	content: "";
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.product-modal__btn {
	border: none;
	border-radius: var(--button-radius);
	padding: 14px 22px;
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
}

.product-modal__btn--cart {
	background: var(--color-button);
	color: var(--color-green);
}

.product-modal__btn--buy {
	background: var(--color-green);
	color: #ffffff;
}

.product-modal__actions .product-card__qty--inline {
	flex: 0 0 auto;
	width: 120px;
}

.product-modal__fav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--filter-bg);
	cursor: pointer;
}

.product-modal__fav-icon {
	width: 20px;
	height: 20px;
	color: var(--color-danger);
}

.product-modal__fav input:checked ~ .product-modal__fav-icon {
	fill: var(--color-danger);
}

.product-modal__fields {
	margin: 0;
	padding-top: 22px;
	border-top: 1px solid rgba(30, 30, 30, 0.1);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.product-modal__field dt {
	margin: 0 0 4px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--color-muted);
}

.product-modal__field dd {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--color-text);
}

.product-composition {
	margin: 16px 0;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.55;
}

:root .product-composition__title {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.product-composition__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.product-modal__composition {
	margin: 0;
	padding: 0;
	list-style: none;
}

.product-modal__composition li {
	margin: 0 0 2px;
}

:root .product-modal__field--description dd p {
	margin: 0 0 10px;
}

:root .product-modal__field--description dd p:last-child {
	margin-bottom: 0;
}

/* ---------- Cart page ---------- */

.florans-cart {
	display: grid;
	grid-template-columns: 1fr var(--cart-summary-width);
	align-items: start;
	gap: var(--cart-gap);
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 48px 24px 96px;
}

@media (max-width: 781px) {
	/* The page content already has 24px side padding — no second layer on phones,
	   and minmax(0, 1fr) so a wide child can't stretch the column past the screen. */
	.florans-cart {
		grid-template-columns: minmax(0, 1fr);
		padding: 24px 0 64px;
	}

	.florans-cart__main,
	.florans-cart__summary {
		min-width: 0;
	}
}

.florans-cart__main,
.florans-cart__summary {
	background: var(--color-surface);
	border-radius: var(--cart-radius);
	padding: var(--cart-padding);
	box-shadow: 0 2px 16px rgba(30, 30, 30, 0.06);
}

.florans-cart__header {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-bottom: 22px;
}

.florans-cart__clear {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: none;
	background: none;
	padding: 0;
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--color-muted);
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

.florans-cart__clear svg {
	width: 16px;
	height: 16px;
}

.florans-cart__clear:hover {
	color: var(--color-danger);
}

.florans-cart__items {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 24px;
}

.cart-row {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	align-items: center;
	gap: 14px;
}

.cart-row__media {
	display: block;
	width: 64px;
	height: 64px;
	flex: 0 0 auto;
	border-radius: 10px;
	overflow: hidden;
	background: var(--filter-bg);
}

.cart-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cart-row__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.cart-row__title {
	font-size: 15px;
	font-weight: 600;
	color: var(--color-text);
	text-decoration: none;
}

.cart-row__controls {
	display: flex;
	align-items: center;
	gap: 14px;
}

.cart-row__qty {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
}

.cart-row__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
	border: 1px solid rgba(30, 30, 30, 0.15);
	border-radius: 50%;
	background: #ffffff;
	color: var(--color-text);
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
}

.cart-row__qty-value {
	min-width: 1.2em;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
}

.cart-row__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
	color: var(--color-muted);
	transition: color 0.2s ease;
}

.cart-row__remove svg {
	width: 16px;
	height: 16px;
}

.cart-row__remove:hover {
	color: var(--color-danger);
}

.cart-row__price {
	margin: 0;
	font-weight: 700;
	font-size: 15px;
	justify-self: end;
	white-space: nowrap;
}

/* Phones: title, price and the qty stepper each get their own line next to the
   photo, so nothing overlaps however long the name or the sum is (the body
   wrapper is flattened into the grid). */
@media (max-width: 781px) {
	.cart-row {
		grid-template-columns: 64px minmax(0, 1fr);
		grid-template-areas:
			"media title"
			"media price"
			"media controls";
		align-items: center;
		row-gap: 8px;
	}

	.cart-row__media {
		grid-area: media;
		align-self: start;
	}

	.cart-row__body {
		display: contents;
	}

	.cart-row__title {
		grid-area: title;
		overflow-wrap: anywhere;
	}

	.cart-row__controls {
		grid-area: controls;
	}

	.cart-row__price {
		grid-area: price;
		justify-self: start;
	}
}

.florans-cart__comment {
	border-top: 1px solid rgba(30, 30, 30, 0.08);
	padding-top: 18px;
	margin-bottom: 18px;
}

:root .florans-cart__comment-heading {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--color-text);
}

.florans-cart__comment-input {
	box-sizing: border-box;
	width: 100%;
	min-height: 90px;
	margin-top: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(30, 30, 30, 0.15);
	border-radius: 10px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-text);
	resize: vertical;
}

.florans-cart__addon-section {
	border-top: 1px solid rgba(30, 30, 30, 0.08);
	padding-top: 18px;
}

:root .florans-cart__addon-heading {
	margin: 0 0 14px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--color-text);
}

.florans-cart__addon {
	display: inline-flex;
}

.florans-cart__addon-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 132px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--filter-bg);
}

.florans-cart__addon-input {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 1;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--color-green);
	cursor: pointer;
}

.florans-cart__addon-graphic {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
	padding: 10px;
	background: var(--color-green-soft);
	color: var(--color-accent);
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 15px;
	line-height: 1.25;
	text-align: center;
}

.florans-cart__addon-name {
	padding: 8px 10px 2px;
	font-size: 13px;
	color: var(--color-text);
}

.florans-cart__addon-price {
	padding: 0 10px 10px;
	font-size: 13px;
	color: var(--color-muted);
}

.florans-cart__addon-text-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 16px;
}

:root .florans-cart__addon-text-field label {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text);
}

.florans-cart__addon-text-input {
	box-sizing: border-box;
	width: 100%;
	min-height: 70px;
	padding: 12px 14px;
	border: 1px solid rgba(30, 30, 30, 0.15);
	border-radius: 10px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-text);
	resize: vertical;
}

.florans-cart__summary {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.florans-cart__summary-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-muted);
}

.florans-cart__summary-row--total {
	font-size: 19px;
	font-weight: 700;
	color: var(--color-text);
}

.florans-cart__total-old {
	margin-right: 8px;
	font-size: 15px;
	font-weight: 400;
	color: var(--color-muted);
	text-decoration: line-through;
}

.florans-cart__total-new {
	text-decoration: none;
	background: none;
}

.florans-cart__summary-row--bonus {
	color: var(--color-accent);
}

:root .florans-cart__bonus-note {
	margin: 2px 0 0;
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--color-muted);
	text-align: right;
}

.florans-cart__bonus-link {
	padding: 0;
	border: none;
	background: none;
	font-family: inherit;
	font-size: inherit;
	color: var(--color-link);
	cursor: pointer;
}

.florans-cart__bonus-link:hover {
	text-decoration: underline;
}

.florans-cart__checkout-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 8px;
	padding: 16px;
	border: none;
	border-radius: var(--button-radius);
	background: var(--color-green);
	color: #ffffff;
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: 15px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.florans-cart__checkout-btn:hover {
	opacity: 0.85;
}

.florans-cart--empty {
	grid-template-columns: 1fr;
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 96px 24px;
	text-align: center;
}

.florans-cart__empty-text {
	margin: 0 0 20px;
	font-size: 16px;
	color: var(--color-muted);
}

.florans-cart__checkout-btn--empty {
	display: inline-block;
	max-width: 260px;
	margin: 0 auto;
}

.florans-cart__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 18px;
	padding: 0;
	border: none;
	background: none;
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--color-muted);
	cursor: pointer;
	transition: color 0.2s ease;
}

.florans-cart__back svg {
	width: 16px;
	height: 16px;
}

.florans-cart__back:hover {
	color: var(--color-text);
}

/* ---------- Login modal (phone/SMS — UI only, no SMS gateway yet) ---------- */

.login-modal {
	position: fixed;
	inset: 0;
	margin: auto;
	border: none;
	padding: 0;
	background: var(--color-surface);
	border-radius: var(--modal-radius);
	max-width: 420px;
	width: 92vw;
	max-height: 88vh;
}

.login-modal::backdrop {
	background: rgba(20, 20, 20, 0.55);
}

.login-modal__inner {
	position: relative;
	max-height: 88vh;
	overflow-y: auto;
	padding: 32px;
}

.login-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 50%;
	background: var(--filter-bg);
	color: var(--color-text);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}

:root .login-modal__title {
	margin: 0 0 22px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 26px;
	color: var(--color-text);
}

:root .login-modal__label {
	margin: 0 0 10px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--color-text);
}

.login-modal__phone {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	margin-bottom: 20px;
	border: 1.5px solid rgba(30, 30, 30, 0.18);
	border-radius: 12px;
}

.login-modal__phone-flag {
	font-size: 18px;
	line-height: 1;
}

.login-modal__phone-code {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	color: var(--color-text);
}

.login-modal__phone-input {
	flex: 1;
	min-width: 0;
	border: none;
	outline: none;
	background: transparent;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-text);
}

.login-modal__submit {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 22px;
	padding: 15px;
	border: none;
	border-radius: 10px;
	background: var(--filter-bg);
	color: var(--color-muted);
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}

.login-modal__divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--color-muted);
}

.login-modal__divider::before,
.login-modal__divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(30, 30, 30, 0.12);
}

.login-modal__social {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-bottom: 24px;
}

.login-modal__social-link {
	width: 44px;
	height: 44px;
	border: none;
	cursor: pointer;
}

.social-icons__link--yandex {
	background: #fc3f1d;
}

.social-icons__link--yandex span,
.social-icons__link--mail span {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 18px;
	color: #ffffff;
}

.social-icons__link--mail {
	background: #0067d5;
}

:root .login-modal__legal {
	margin: 0 0 14px;
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.5;
	color: var(--color-muted);
}

.login-modal__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 10px;
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.5;
	color: var(--color-muted);
	cursor: pointer;
}

.login-modal__checkbox input {
	margin-top: 2px;
	accent-color: var(--color-green);
	cursor: pointer;
}

/* ---------- Checkout page ---------- */

.florans-checkout {
	display: grid;
	grid-template-columns: 1fr var(--cart-summary-width);
	align-items: start;
	gap: var(--cart-gap);
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 48px 24px 96px;
}

@media (max-width: 781px) {
	.florans-checkout {
		grid-template-columns: minmax(0, 1fr);
		padding: 24px 0 64px;
	}

	.florans-checkout__main,
	.florans-checkout__summary,
	.florans-checkout__main > * {
		min-width: 0;
	}
}

.florans-checkout__main {
	display: flex;
	flex-direction: column;
	gap: var(--checkout-section-gap);
	background: var(--color-surface);
	border-radius: var(--cart-radius);
	padding: var(--cart-padding);
	box-shadow: 0 2px 16px rgba(30, 30, 30, 0.06);
}

.florans-checkout__summary {
	background: var(--color-surface);
	border-radius: var(--cart-radius);
	padding: var(--cart-padding);
	box-shadow: 0 2px 16px rgba(30, 30, 30, 0.06);
}

.checkout-section {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: var(--checkout-section-gap);
	border-top: 1px solid rgba(30, 30, 30, 0.08);
}

.js-recipient-panel {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.checkout-section[hidden],
.js-recipient-panel[hidden] {
	display: none;
}

.florans-cart__addon-section + .checkout-section {
	padding-top: 0;
	border-top: none;
}

:root .checkout-section__title {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	color: var(--color-text);
}

:root .checkout-hint {
	margin: -6px 0 0;
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--color-muted);
}

.checkout-field {
	display: flex;
	flex-direction: column;
	gap: 0;
}

:root .checkout-field label,
:root .checkout-field__label {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text);
}

.checkout-field input[type="text"],
.checkout-field input[type="tel"],
.checkout-field input[type="date"],
.checkout-field select,
.checkout-field textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(30, 30, 30, 0.15);
	border-radius: 10px;
	background: #ffffff;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-text);
}

.checkout-field textarea {
	resize: vertical;
}

.checkout-field select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231E1E1E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.checkout-field-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.checkout-field-row .checkout-field {
	flex: 1 1 140px;
	min-width: 0;
}

:root .checkout-date-preview {
	margin: 4px 0 0;
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--color-muted);
}

.checkout-date-preview:empty {
	display: none;
}

.checkout-radio-row,
.checkout-radio-col {
	display: flex;
	gap: 10px;
}

.checkout-field__label + .checkout-radio-row {
	margin-top: 8px;
}

.checkout-radio-row {
	flex-wrap: wrap;
}

.checkout-radio-col {
	flex-direction: column;
	align-items: flex-start;
}

.checkout-radio {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--filter-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 13px;
	cursor: pointer;
}

.checkout-radio-col .checkout-radio {
	width: 100%;
	box-sizing: border-box;
}

.checkout-radio input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.checkout-radio:has(input:checked) {
	background: var(--color-button);
	color: var(--color-green);
	font-weight: 600;
}

.checkout-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--color-text);
	cursor: pointer;
}

.checkout-checkbox input {
	width: 16px;
	height: 16px;
	accent-color: var(--color-green);
	cursor: pointer;
}

.checkout-tabs {
	display: flex;
	gap: 4px;
	padding: 4px;
	background: var(--filter-bg);
	border-radius: 12px;
}

.checkout-tab {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 10px;
	border-radius: 8px;
	text-align: center;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--color-muted);
	cursor: pointer;
}

.checkout-tab input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.checkout-tab:has(input:checked) {
	background: #ffffff;
	color: var(--color-text);
	box-shadow: 0 1px 4px rgba(30, 30, 30, 0.12);
}

.checkout-address-details {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.checkout-address-details[hidden] {
	display: none;
}

.florans-checkout__summary-inner .florans-cart__items {
	margin-bottom: 20px;
}

.checkout-promo {
	border-top: 1px solid rgba(30, 30, 30, 0.08);
	padding-top: 18px;
	margin-bottom: 18px;
}

:root .checkout-promo__label {
	display: block;
	margin: 0 0 10px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--color-text);
}

.checkout-promo__row {
	display: flex;
	gap: 10px;
}

.checkout-promo__input {
	flex: 1;
	min-width: 0;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid rgba(30, 30, 30, 0.15);
	border-radius: 10px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-text);
}

.checkout-promo__apply {
	padding: 12px 18px;
	border: none;
	border-radius: 10px;
	background: var(--color-green);
	color: #ffffff;
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: 13px;
	white-space: nowrap;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.checkout-promo__apply:hover {
	opacity: 0.85;
}

:root .checkout-promo__message {
	margin: 8px 0 0;
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--color-green);
}

.checkout-promo__message:empty {
	display: none;
}

.checkout-promo__message--error {
	color: var(--color-danger);
}

/* ---------- Thank-you (order received) page ---------- */

.thank-you {
	max-width: 480px;
	margin: 0 auto;
	padding: 96px 24px 120px;
	text-align: center;
}

:root .thank-you__title {
	margin: 0 0 20px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 34px;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--color-text);
}

:root .thank-you__text {
	margin: 0 0 32px;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.5;
	color: var(--color-muted);
}

.thank-you .wp-block-buttons {
	justify-content: center;
}

.thank-you__btn {
	display: inline-block;
	padding: 16px 36px;
	border-radius: var(--button-radius);
	background: var(--color-green);
	color: #ffffff;
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.thank-you__btn:hover {
	opacity: 0.85;
}

@media (max-width: 781px) {
	.thank-you {
		padding: 64px 24px 80px;
	}

	:root .thank-you__title {
		font-size: 26px;
	}
}

/* ---------- Личный кабинет (My Account) ---------- */

.account-page {
	display: grid;
	grid-template-columns: 220px 1fr;
	align-items: start;
	gap: 64px;
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 48px 24px 96px;
}

.account-page__sidebar {
	position: sticky;
	top: 24px;
}

.account-page__main {
	min-width: 0;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.woocommerce-MyAccount-navigation-link a {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 600;
	color: var(--color-muted);
	text-decoration: none;
}

.woocommerce-MyAccount-navigation-link.is-active a {
	color: var(--color-text);
	text-decoration: underline;
	text-underline-offset: 6px;
}

.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 8px;
	padding-top: 18px;
	border-top: 1px solid rgba(30, 30, 30, 0.12);
}

.account-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	margin-bottom: 40px;
}

:root .account-hero__phone {
	margin: 0;
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 400;
	color: var(--color-text);
}

/* ---------- Профиль: история по счёту ---------- */

.account-bonus-history {
	padding-top: 32px;
	border-top: 1px solid rgba(30, 30, 30, 0.12);
}

:root .account-bonus-history__title {
	margin: 0 0 18px;
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 400;
	color: var(--color-text);
}

.account-bonus-history__row {
	margin: 0 0 8px;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-text);
}

.account-bonus-history__row a {
	color: var(--color-text);
}

.account-bonus-history__no {
	color: var(--color-danger);
	font-weight: 600;
}

:root .account-bonus-history__log-title {
	margin: 28px 0 14px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	color: var(--color-text);
}

.account-bonus-history__table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-body);
	font-size: 13px;
}

.account-bonus-history__table th {
	padding: 10px 12px;
	border-bottom: 1px solid rgba(30, 30, 30, 0.12);
	text-align: left;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--color-muted);
}

.account-bonus-history__table td {
	padding: 14px 12px;
	border-bottom: 1px solid rgba(30, 30, 30, 0.08);
	color: var(--color-text);
}

.account-bonus-history__empty {
	text-align: center;
	color: var(--color-muted);
}

/* ---------- Мои заказы ---------- */

.account-order {
	padding: 24px 0;
	border-bottom: 1px solid rgba(30, 30, 30, 0.12);
}

.account-order:first-child {
	padding-top: 0;
}

:root .account-order__heading {
	margin: 0 0 16px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	color: var(--color-text);
}

.account-order__thumbs {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
}

.account-order__thumb {
	width: 64px;
	height: 64px;
	border-radius: 8px;
	object-fit: cover;
}

.account-order__timeline {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
}

.account-order__stage {
	flex: 1 1 140px;
	min-width: 0;
	position: relative;
	padding-top: 18px;
	color: var(--color-muted);
}

.account-order__stage::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 12px;
	right: -4px;
	height: 1px;
	background: rgba(30, 30, 30, 0.15);
}

.account-order__stage:last-child::before {
	display: none;
}

.account-order__stage-dot {
	position: absolute;
	top: 0;
	left: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(30, 30, 30, 0.25);
}

.account-order__stage--done .account-order__stage-dot {
	background: var(--color-green);
}

.account-order__stage--done {
	color: var(--color-text);
}

:root .account-order__stage-label {
	margin: 0 0 4px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

:root .account-order__stage-date {
	margin: 0;
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--color-muted);
}

.account-order__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.account-order__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: var(--button-radius);
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.account-order__btn--details {
	background: var(--color-text);
	color: #ffffff;
}

.account-order__btn--repeat {
	background: transparent;
	color: var(--color-text);
	border: 1px solid rgba(30, 30, 30, 0.25);
}

.account-order__btn:hover {
	opacity: 0.8;
}

.account-order__pagination {
	display: flex;
	gap: 16px;
	padding-top: 20px;
}

.account-order__pagination a {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-text);
}

.account-orders__empty {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-muted);
}

.account-orders__empty a {
	color: var(--color-text);
}

@media (max-width: 781px) {
	.account-order__timeline {
		flex-direction: column;
		gap: 14px;
	}

	.account-order__stage::before {
		display: none;
	}
}

.account-favorites__empty,
.account-gift-cards__note {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-muted);
}

:root .account-gift-cards__balance {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 400;
	color: var(--color-text);
}

/* WooCommerce's real order-history table/forms, reused as-is under our
   sidebar layout — only enough box-model reset to sit flush in the column. */
.woocommerce-MyAccount-content table.woocommerce-orders-table,
.woocommerce-MyAccount-content .woocommerce-Address {
	font-family: var(--font-body);
	font-size: 14px;
}

@media (max-width: 781px) {
	.account-page {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.account-page__sidebar {
		position: static;
	}

	.woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 16px 24px;
	}

	.woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: 0;
		padding-top: 0;
		border-top: none;
	}

	.account-hero {
		gap: 16px;
		margin-bottom: 28px;
	}

	:root .account-hero__phone {
		font-size: 22px;
	}
}

/* ---------- О нас ---------- */

.about-page {
	position: relative;
	overflow: hidden;
}

/* Blurred background photo — overscanned (inset < 0) and clipped by the
   parent's overflow:hidden so the blur filter doesn't leave soft gaps at
   the viewport edges. */
.about-page::before {
	content: "";
	position: absolute;
	inset: -20px;
	background-image: url("assets/img/about/hero-bg.png");
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	filter: blur(8px);
}

.about-page::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.about-page__inner {
	position: relative;
	z-index: 1;
	max-width: 780px;
	margin: 0 auto;
	padding: 96px 24px 120px;
}

:root .about-h1 {
	margin: 0 0 40px;
	font-family: "MFEVOLT Special", var(--font-display);
	font-weight: 400;
	font-size: 40px;
	line-height: 1.25;
	color: #ffffff;
}

:root .about-h2 {
	margin: 56px 0 20px;
	font-family: "MFEVOLT Special", var(--font-display);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.3;
	color: #ffffff;
}

:root .about-h3 {
	margin: 0 0 10px;
	font-family: "MFEVOLT Special", var(--font-display);
	font-weight: 400;
	font-size: 19px;
	line-height: 1.3;
	color: #ffffff;
}

:root .about-p {
	margin: 0 0 20px;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: #ffffff;
}

.about-page .about-p a {
	color: var(--color-button);
	text-decoration: underline;
}

.about-features {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.about-features__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.about-features__head .about-h3 {
	margin: 0;
}

.about-features__item .about-p {
	margin-bottom: 0;
}

.about-bullet-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.about-faq {
	margin: 0 0 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.about-faq__item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

:root .about-faq__question {
	position: relative;
	margin: 0;
	padding: 20px 36px 20px 0;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.4;
	color: #ffffff;
	list-style: none;
	cursor: pointer;
}

.about-faq__question::-webkit-details-marker {
	display: none;
}

.about-faq__icon {
	position: absolute;
	top: 50%;
	right: 4px;
	width: 16px;
	height: 16px;
}

.about-faq__icon::before,
.about-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: #ffffff;
	transition: transform 0.2s ease;
}

.about-faq__icon::before {
	width: 14px;
	height: 2px;
	transform: translate(-50%, -50%);
}

.about-faq__icon::after {
	width: 2px;
	height: 14px;
	transform: translate(-50%, -50%);
}

.about-faq__item[open] .about-faq__icon::after {
	transform: translate(-50%, -50%) scaleY(0);
}

:root .about-faq__answer {
	margin: 0 0 20px;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: #ffffff;
}

.about-cta-btn {
	display: inline-block;
	margin-bottom: 20px;
	padding: 16px 36px;
	border-radius: var(--button-radius);
	background: #ffffff;
	color: var(--color-text);
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.about-cta-btn:hover {
	opacity: 0.85;
}

.about-accent {
	font-weight: 700;
	color: var(--color-button);
}

.about-table {
	width: 100%;
	margin: 0 0 32px;
	border-collapse: collapse;
	font-family: var(--font-body);
	font-size: 15px;
	color: #ffffff;
}

.about-table th,
.about-table td {
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.about-table th {
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: rgba(255, 255, 255, 0.75);
}

.about-contact-row {
	margin-top: -4px;
}

.about-contact-row a {
	text-decoration: none;
}

/* ---------- Order request form (Персональный заказ цветка) ---------- */

.order-form-wrap {
	max-width: 420px;
	margin: 0 0 12px;
	padding: 32px;
	border-radius: var(--modal-radius);
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(6px);
}

:root .order-form__title {
	margin: 0 0 10px;
	font-family: "MFEVOLT Special", var(--font-display);
	font-weight: 400;
	font-size: 22px;
	color: #ffffff;
}

:root .order-form__note {
	margin: 0 0 22px;
	font-family: var(--font-body);
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
}

:root .order-form__label {
	display: block;
	margin: 0 0 10px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	color: #ffffff;
}

.order-form__phone {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	margin-bottom: 20px;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	border-radius: 12px;
}

.order-form__phone-flag {
	font-size: 18px;
	line-height: 1;
}

.order-form__phone-code {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	color: #ffffff;
}

.order-form__phone-input {
	flex: 1;
	min-width: 0;
	border: none;
	outline: none;
	background: transparent;
	font-family: var(--font-body);
	font-size: 15px;
	color: #ffffff;
}

.order-form__phone-input::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.order-form__submit {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 22px;
	padding: 15px;
	border: none;
	border-radius: 10px;
	background: var(--color-button);
	color: var(--color-text);
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.order-form__submit:hover {
	opacity: 0.85;
}

.order-form__submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.order-form__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 10px;
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
}

.order-form__checkbox a {
	color: #ffffff;
}

.order-form__checkbox input {
	margin-top: 2px;
	accent-color: var(--color-button);
	cursor: pointer;
}

:root .order-form__message {
	margin: 14px 0 0;
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--color-button);
}

.order-form__message--error {
	color: #ff8f8f;
}

@media (max-width: 781px) {
	.about-page__inner {
		padding: 64px 20px 80px;
	}

	:root .about-h1 {
		font-size: 28px;
		margin-bottom: 28px;
	}

	:root .about-h2 {
		font-size: 22px;
		margin: 40px 0 16px;
	}

	:root .about-h3 {
		font-size: 17px;
	}

	.about-features__item {
		gap: 12px;
	}

	.about-table {
		font-size: 13px;
	}

	.about-table th,
	.about-table td {
		padding: 10px 8px;
	}

	.order-form-wrap {
		padding: 24px;
	}
}

/* ---------- Флоранс Клуб (бонусная программа) ---------- */

.loyalty-page {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 24px 96px;
}

.loyalty-hero {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	height: var(--loyalty-hero-height);
	overflow: hidden;
	background-image: url("assets/img/loyalty/hero-bg.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.loyalty-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
}

.loyalty-hero__inner {
	position: relative;
	z-index: 1;
	max-width: var(--content-width);
	height: 100%;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.loyalty-hero__text {
	max-width: 520px;
	font-family: "Geologica", var(--font-body);
}

:root .loyalty-hero__title {
	margin: 0 0 20px;
	font-family: "Advaken Sans", var(--font-display);
	font-weight: 700;
	font-size: 46px;
	line-height: 1.2;
	text-transform: uppercase;
}

.loyalty-hero__title-line {
	display: block;
	color: #ffffff;
}

.loyalty-hero__title-accent {
	display: block;
	color: var(--color-button);
}

:root .loyalty-hero__lead {
	margin: 0 0 28px;
	font-family: "Geologica", var(--font-body);
	font-weight: 300;
	font-size: 19px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}

.loyalty-hero__brand {
	color: var(--color-button);
	font-weight: 600;
}

.loyalty-hero__row {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.loyalty-hero__cta {
	display: inline-block;
	padding: var(--button-padding);
	border: none;
	border-radius: var(--button-radius);
	background: var(--color-button);
	color: var(--color-button-text);
	font-family: "Geologica", var(--font-accent);
	font-weight: 700;
	font-size: 17px;
	text-decoration: none;
	transition: opacity 0.2s ease;
	white-space: nowrap;
	cursor: pointer;
}

.loyalty-hero__cta:hover {
	opacity: 0.85;
}

:root .loyalty-hero__bonus {
	margin: 0;
	max-width: 180px;
	font-family: "Geologica", var(--font-body);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.4;
	color: #ffffff;
}

.loyalty-hero__cards {
	position: relative;
	flex-shrink: 0;
	width: 580px;
	height: 420px;
}

.loyalty-hero__card {
	position: absolute;
	width: 360px;
	height: auto;
	border-radius: 24px;
}

.loyalty-hero__card--a {
	top: 0;
	left: 0;
	width: 400px;
	z-index: 1;
}

.loyalty-hero__card--b {
	bottom: 0;
	right: 0;
	width: 440px;
	z-index: 2;
}

.loyalty-section {
	padding: 64px 0 0;
}

:root .loyalty-section__title {
	margin: 0 0 32px;
	font-family: "Advaken Sans", var(--font-display);
	font-weight: 700;
	font-size: 30px;
	color: var(--color-text);
}

.loyalty-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

:root .loyalty-column__heading {
	margin: 0 0 20px;
	font-family: "Advaken Sans", var(--font-display);
	font-weight: 700;
	font-size: 18px;
	color: var(--color-accent);
}

.loyalty-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.loyalty-list__item {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: "Geologica", var(--font-body);
	font-size: 15px;
	line-height: 1.5;
	color: var(--color-text);
}

.loyalty-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--color-green-soft);
}

.loyalty-icon__img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

:root .loyalty-footnote {
	margin: 32px 0 0;
	font-family: "Geologica", var(--font-body);
	font-size: 12px;
	line-height: 1.6;
	color: var(--color-muted);
}

.loyalty-footnote a {
	color: var(--color-accent);
	font-weight: 600;
}

.loyalty-gifts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.loyalty-gift-card {
	padding: 32px;
	border-radius: 20px;
	background: var(--color-surface);
	border: 1px solid rgba(75, 1, 1, 0.1);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.loyalty-gift-card--accent {
	background: var(--color-green-soft);
	border-color: transparent;
}

:root .loyalty-gift-card__title {
	margin: 0;
	font-family: "Advaken Sans", var(--font-display);
	font-weight: 700;
	font-size: 20px;
	color: var(--color-text);
}

.loyalty-gift-card__num {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--color-green);
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
}

.loyalty-gift-card__num svg {
	width: 14px;
	height: 14px;
	color: #ffffff;
}

.loyalty-gift-card__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 14px;
	width: fit-content;
	border-radius: 999px;
	background: rgba(47, 93, 58, 0.12);
	font-family: "Geologica", var(--font-body);
	font-weight: 600;
	font-size: 13px;
	color: var(--color-green);
}

.loyalty-gift-card__badge svg {
	width: 14px;
	height: 14px;
}

:root .loyalty-gift-card__text {
	margin: 0;
	font-family: "Geologica", var(--font-body);
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-text);
}

.loyalty-gift-card__btn {
	display: inline-block;
	margin-top: 8px;
	padding: 14px 28px;
	width: fit-content;
	border: none;
	border-radius: var(--button-radius);
	background: var(--color-button);
	color: var(--color-button-text);
	font-family: "Geologica", var(--font-accent);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
}

.loyalty-gift-card__more {
	font-family: "Geologica", var(--font-body);
	font-weight: 600;
	font-size: 13px;
	color: var(--color-accent);
	text-decoration: underline;
}

.loyalty-join {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.loyalty-join__card {
	padding: 32px;
	border-radius: 20px;
	background: var(--color-surface);
	border: 1px solid rgba(75, 1, 1, 0.1);
}

.loyalty-join__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--color-accent);
	color: #ffffff;
}

.loyalty-join__icon svg {
	width: 24px;
	height: 24px;
}

:root .loyalty-join__heading {
	margin: 0 0 14px;
	font-family: "Advaken Sans", var(--font-display);
	font-weight: 700;
	font-size: 17px;
	color: var(--color-text);
}

:root .loyalty-join__list {
	margin: 0;
	padding-left: 18px;
	font-family: "Geologica", var(--font-body);
	font-size: 14px;
	line-height: 1.7;
	color: var(--color-text);
}

.loyalty-join__cta {
	display: block;
	margin: 32px auto 0;
	padding: var(--button-padding);
	border: none;
	border-radius: var(--button-radius);
	background: var(--color-accent);
	color: #ffffff;
	font-family: "Geologica", var(--font-accent);
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.loyalty-join__cta:hover {
	opacity: 0.85;
}

.loyalty-docs {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 32px;
}

.loyalty-doc-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	border-radius: 14px;
	background: var(--color-surface);
	border: 1px solid rgba(75, 1, 1, 0.15);
	color: var(--color-text);
	font-family: "Geologica", var(--font-body);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

.loyalty-doc-link svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--color-accent);
}

.loyalty-faq {
	margin: 0 0 40px;
	border-top: 1px solid rgba(75, 1, 1, 0.12);
}

.loyalty-faq__item {
	border-bottom: 1px solid rgba(75, 1, 1, 0.12);
}

:root .loyalty-faq__question {
	position: relative;
	margin: 0;
	padding: 20px 36px 20px 0;
	font-family: "Geologica", var(--font-body);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.4;
	color: var(--color-text);
	list-style: none;
	cursor: pointer;
}

.loyalty-faq__question::-webkit-details-marker {
	display: none;
}

.loyalty-faq__icon {
	position: absolute;
	top: 50%;
	right: 4px;
	width: 16px;
	height: 16px;
}

.loyalty-faq__icon::before,
.loyalty-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--color-accent);
	transition: transform 0.2s ease;
}

.loyalty-faq__icon::before {
	width: 14px;
	height: 2px;
	transform: translate(-50%, -50%);
}

.loyalty-faq__icon::after {
	width: 2px;
	height: 14px;
	transform: translate(-50%, -50%);
}

.loyalty-faq__item[open] .loyalty-faq__icon::after {
	transform: translate(-50%, -50%) scaleY(0);
}

:root .loyalty-faq__answer {
	margin: 0 0 20px;
	font-family: "Geologica", var(--font-body);
	font-size: 15px;
	line-height: 1.6;
	color: var(--color-muted);
}

.loyalty-cta {
	display: inline-block;
	padding: var(--button-padding);
	border-radius: var(--button-radius);
	background: var(--color-accent);
	color: #ffffff;
	font-family: "Geologica", var(--font-accent);
	font-weight: 700;
	font-size: var(--button-font-size);
	text-decoration: none;
}

@media (max-width: 781px) {
	.loyalty-page {
		padding: 0 20px 64px;
	}

	.loyalty-hero {
		height: auto;
	}

	.loyalty-hero__inner {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 24px;
		padding: 40px 20px;
	}

	:root .loyalty-hero__title {
		font-size: 30px;
	}

	:root .loyalty-hero__lead {
		font-size: 17px;
	}

	.loyalty-hero__row {
		gap: 16px;
	}

	.loyalty-hero__cards {
		width: 100%;
		max-width: 380px;
		height: 280px;
		align-self: center;
	}

	.loyalty-hero__card--a {
		width: 260px;
	}

	.loyalty-hero__card--b {
		width: 290px;
	}

	.loyalty-section {
		padding: 40px 0 0;
	}

	:root .loyalty-section__title {
		font-size: 24px;
	}

	.loyalty-columns,
	.loyalty-gifts,
	.loyalty-join {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.loyalty-gift-card,
	.loyalty-join__card {
		padding: 24px;
	}
}

/* ---------- Категорийные страницы каталога (SEO) ---------- */

.catalog-category {
	max-width: var(--wide-width);
	margin: 0 auto;
	padding: 24px 24px 0;
}

.catalog-category .woocommerce-breadcrumb {
	margin: 0 0 20px;
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--color-muted);
}

.catalog-category .woocommerce-breadcrumb a {
	color: var(--color-muted);
	text-decoration: underline;
}

:root .catalog-category__title {
	margin: 0 0 16px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 32px;
	color: var(--color-text);
}

:root .catalog-category__top-text,
:root .catalog-category__bottom-text {
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.7;
	color: var(--color-text);
	max-width: 760px;
}

.catalog-category__top-text {
	margin: 0 0 24px;
}

.catalog-category__bottom-text {
	margin: 40px 0 0;
}

@media (max-width: 781px) {
	:root .catalog-category__title {
		font-size: 24px;
	}

	.catalog-category {
		padding: 16px 20px 0;
	}
}

/* ---------- Каталог: главная страница категорий (/catalog/) ---------- */

.catalog-index {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 24px 24px 80px;
}

.catalog-index .woocommerce-breadcrumb {
	margin: 20px 0 0;
	text-align: center;
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--color-muted);
}

.catalog-index .woocommerce-breadcrumb a {
	color: var(--color-muted);
	text-decoration: underline;
}

:root .catalog-index__title {
	margin: 24px 0 48px;
	text-align: center;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 34px;
	color: var(--color-accent);
}

.catalog-index__grid {
	display: grid;
	grid-template-columns: repeat(3, var(--catalog-tile-width));
	justify-content: center;
	gap: 40px 28px;
}

.catalog-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-decoration: none;
}

.catalog-tile__label {
	padding-bottom: 4px;
	border-bottom: 2px solid var(--color-button);
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-green);
}

.catalog-tile__media {
	display: block;
	width: 100%;
	aspect-ratio: 270 / 228;
	border-radius: 12px;
	background-color: var(--color-green-soft);
	background-size: cover;
	background-position: center;
	background-image:
		radial-gradient(circle at 38% 42%, rgba(255, 255, 255, 0.55) 0 14%, transparent 14.5%),
		radial-gradient(circle at 56% 58%, rgba(255, 255, 255, 0.4) 0 11%, transparent 11.5%),
		radial-gradient(circle at 30% 64%, rgba(255, 255, 255, 0.4) 0 9%, transparent 9.5%);
	transition: transform 0.25s ease;
}

.catalog-tile--tone-1 .catalog-tile__media {
	background-color: #e4ece5;
}

.catalog-tile--tone-2 .catalog-tile__media {
	background-color: #f3e8dc;
}

.catalog-tile:hover .catalog-tile__media {
	transform: scale(1.02);
}

@media (max-width: 781px) {
	.catalog-index {
		padding: 16px 20px 56px;
	}

	:root .catalog-index__title {
		font-size: 24px;
		margin-bottom: 28px;
	}

	.catalog-index__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 14px;
	}
}

.catalog-tile__media[style*="background-image"] {
	background-position: center;
	background-size: cover;
}

:root .catalog-category__faq-title {
	margin: 48px 0 16px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 26px;
	color: var(--color-accent);
}

.catalog-category__faq {
	max-width: 760px;
}

:root .catalog-category__bottom-text h2,
:root .catalog-category__bottom-text h3 {
	margin: 28px 0 8px;
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.3;
	color: var(--color-accent);
}

:root .catalog-category__bottom-text h3 {
	font-size: 20px;
}

@media (max-width: 781px) {
	:root .catalog-category__bottom-text h2 {
		font-size: 20px;
	}

	:root .catalog-category__bottom-text h3 {
		font-size: 17px;
	}

	.catalog-category__bottom-text {
		margin-top: 16px;
	}

	/* Narrow two-column cards: tighter side padding and up to two lines
	   for the name instead of cutting it after a couple of words. */
	:root .product-card__title {
		padding: 0 8px;
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		line-height: 1.35;
	}

	.product-card__price {
		padding: 0 8px;
	}
}

.catalog-category__cta {
	max-width: 760px;
	margin: 32px 0 0;
	padding: 20px 24px;
	border-radius: 14px;
	background: var(--color-green-soft);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
}

/* Filter row: every pill / toggle / reset button shares one height and sits
   on one centre line (the toggle and reset used to hang 16px lower). */
.filters .filter,
.filters .filters__reset {
	box-sizing: border-box;
	min-height: 50px;
	margin: 0;
}

.filters .filter--toggle {
	padding-block: 0;
}

.filters .filters__reset {
	padding-block: 0;
}

.filters .filter--toggle,
.filters .filters__reset {
	height: 50px;
	min-height: 0;
	padding-block: 0;
}

.filters .filter--toggle .filter__toggle-input {
	margin: 0;
	flex: 0 0 auto;
}

/* WordPress' wpautop wraps the loose toggle + reset link inside the filters
   form in a <p>, which makes them a single flex item hanging off the row —
   flatten it so they line up with the other pills. */
.filters > p {
	display: contents;
	margin: 0;
}

/* wpautop can inject <br> between the icon and the label text of the mobile
   Filters button, which pushes the text below the icon. */
.filters__mobile-btn br,
.filters br {
	display: none;
}

.catalog-category__bottom-text[data-collapsible] {
	position: relative;
}

.catalog-category__bottom-text.is-collapsed {
	max-height: var(--collapsed-height, 210px);
	overflow: hidden;
}

.catalog-category__bottom-text.is-collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 90px;
	background: linear-gradient(to bottom, rgba(242, 238, 235, 0), var(--color-bg) 85%);
	pointer-events: none;
}

.catalog-category__more {
	display: block;
	margin: 8px 0 0;
	padding: 6px 0;
	border: none;
	border-bottom: 2px solid var(--color-button);
	background: none;
	font-family: var(--font-accent);
	font-weight: 700;
	font-size: 14px;
	color: var(--color-green);
	cursor: pointer;
}

.catalog-category__more[hidden] {
	display: none;
}

/* Bottom SEO text, its toggle, FAQ and CTA: one centred column. */
:root .catalog-category__bottom-text,
.catalog-category__faq,
.catalog-category__cta,
:root .catalog-category__faq-title {
	margin-left: auto;
	margin-right: auto;
}

:root .catalog-category__bottom-text h2,
:root .catalog-category__bottom-text h3 {
	text-align: left;
}

:root .catalog-category__faq-title {
	text-align: center;
}

/* "Не нашли, что искали?" — order form on the light page background. */
.catalog-category__ask {
	max-width: 520px;
	margin: 56px auto 96px;
	text-align: center;
}

:root .catalog-category__ask-title {
	margin: 0 0 10px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 26px;
	color: var(--color-accent);
}

:root .catalog-category__ask-text {
	margin: 0 0 20px;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--color-text);
}

.catalog-category__ask .order-form-wrap {
	max-width: none;
	margin: 0;
	padding: 28px;
	background: #ffffff;
	backdrop-filter: none;
	text-align: left;
}

.catalog-category__ask .order-form__title,
.catalog-category__ask .order-form__note {
	display: none;
}

:root .catalog-category__ask .order-form__label,
:root .catalog-category__ask .order-form__phone-code,
:root .catalog-category__ask .order-form__phone-input {
	color: var(--color-text);
}

.catalog-category__ask .order-form__phone {
	border-color: rgba(0, 0, 0, 0.25);
}

.catalog-category__ask .order-form__phone-input::placeholder {
	color: rgba(0, 0, 0, 0.4);
}

:root .catalog-category__ask .order-form__checkbox {
	color: var(--color-text);
}

.catalog-category__ask .order-form__checkbox a {
	color: var(--color-green);
}

:root .catalog-category__ask .order-form__message--error {
	color: #b3261e;
}

:root .catalog-category__ask .order-form__message {
	color: var(--color-green);
}

.catalog-category__more {
	margin-left: auto;
	margin-right: auto;
}

.catalog-category__cta {
	text-align: center;
}

/* ---------- Consent checkboxes in the checkout (inc/consent.php) ---------- */

.checkout-consents {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 4px 0 18px;
}

.checkout-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.5;
	color: var(--color-text);
	cursor: pointer;
}

.checkout-consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--color-green);
	cursor: pointer;
}

.checkout-consent a,
.cookie-notice__text a {
	color: var(--color-green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---------- Cookies notice ---------- */

.cookie-notice {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 620px;
	padding: 18px 22px;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 10px 40px rgba(30, 30, 30, 0.18);
	font-family: var(--font-body);
}

.cookie-notice[hidden] {
	display: none;
}

:root .cookie-notice__text {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--color-text);
}

.cookie-notice__btn {
	flex: 0 0 auto;
	padding: 12px 24px;
	border: 0;
	border-radius: 10px;
	background: var(--color-button);
	color: var(--color-green);
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

@media (max-width: 781px) {
	.cookie-notice {
		left: 12px;
		right: 12px;
		bottom: 12px;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 16px;
	}
}

/* ---------- Section headings: centred on every page, like «Каталог»,
   «Доставка и оплата», «Отзывы» and the FAQ titles ---------- */

:root .about-h1,
:root .about-h2,
:root .catalog-category__title,
:root .catalog-category__top-text h2,
:root .catalog-category__bottom-text h2,
:root .catalog-category__read-also-title,
:root .article h2,
:root .contacts__heading,
:root main h1.wp-block-post-title:not(.delivery-heading) {
	text-align: center;
}

:root main h1.wp-block-post-title:not(.delivery-heading) {
	font-weight: 400;
	font-size: var(--reviews-heading-size);
	color: var(--color-accent);
}

.contacts__info {
	align-items: center;
	text-align: center;
}

:root .hero-video .wp-block-cover__video-background {
	object-position: var(--hero-video-focus);
}
