/*
 * Стили витрины. Проектируем от телефона: базовые правила — мобильные,
 * десктоп добавляется медиазапросами, а не наоборот.
 */

:root {
	/*
	 * Цвета из брендбука «Зубная Аптека» (стр. 7).
	 *
	 * Важно: все три фирменных оттенка светлые. Белый текст на них не читается
	 * (зелёный даёт 2,3:1 при норме 4,5:1), поэтому они работают как фон под
	 * чёрным текстом, а не как цвет текста. Для ссылок и мелкого текста на
	 * белом взят затемнённый зелёный --brand-ink: 5,1:1, проходит по AA.
	 */
	--brand: #85ba26;        /* «Здоровая свежесть» — основной, PANTONE 368 */
	--brand-ink: #567818;    /* затемнённый, выведен из основного — для текста и ссылок */
	--lavender: #b7afd4;     /* «Деликатная забота», PANTONE 270 — акцент */
	--sun: #fec90a;          /* «Энергия улыбки», PANTONE 116 — акции и бейджи */
	--cream: #f9f1de;        /* «Комфорт», PANTONE 705 — фон блоков */

	--ink: #000000;
	--muted: #5f6672;        /* служебный: второстепенный текст */
	--line: #e5e1d6;         /* служебный: линии, выведен из кремового */
	--surface: #fff;
	--surface-soft: var(--cream);
	--alert: #b3261e;        /* служебный: ошибки и «нет в наличии», в брендбуке красного нет */

	--radius: 12px;
	--gutter: 16px;
	--tap: 44px;
}

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

body {
	margin: 0;
	font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--surface);
	-webkit-text-size-adjust: 100%;
}

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

a {
	color: var(--brand-ink);
}

.container {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

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

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	padding: 8px 12px;
	clip: auto;
	background: var(--surface);
}

/* Шапка */

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 12px;
	align-items: center;
	max-width: 1280px;
	margin-inline: auto;
	padding: 10px var(--gutter);
}

.site-header__title {
	font-weight: 700;
	text-decoration: none;
	color: var(--ink);
}

.site-header__cart {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	min-height: var(--tap);
	text-decoration: none;
}

.site-nav__list {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0 var(--gutter) 10px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.site-nav__list::-webkit-scrollbar {
	display: none;
}

/* Поиск */

.search {
	position: relative;
	display: flex;
	gap: 8px;
}

.search__input {
	flex: 1;
	min-height: var(--tap);
	padding: 0 12px;
	font-size: 16px; /* меньше 16px — и Safari зумит страницу при фокусе */
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.search__submit {
	min-height: var(--tap);
	padding-inline: 16px;
	/* Чёрный, не белый: белый на фирменном зелёном даёт 2,3:1 и не читается. */
	color: var(--ink);
	font-weight: 700;
	background: var(--brand);
	border: 0;
	border-radius: var(--radius);
	cursor: pointer;
}

.search__suggest {
	position: absolute;
	inset-inline: 0;
	top: calc(100% + 6px);
	z-index: 30;
	max-height: 70vh;
	overflow-y: auto;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 12px 32px rgb(0 0 0 / 12%);
}

.suggest__group {
	padding: 8px 12px;
	font-size: 13px;
	color: var(--muted);
	text-transform: uppercase;
}

.suggest__item {
	display: grid;
	grid-template-columns: 48px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 8px 12px;
	color: inherit;
	text-decoration: none;
}

.suggest__item:hover,
.suggest__item[aria-selected="true"] {
	background: var(--surface-soft);
}

.suggest__thumb {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.suggest__price {
	font-weight: 600;
	white-space: nowrap;
}

.suggest__empty {
	padding: 16px 12px;
	color: var(--muted);
}

/* Переключатель «детям / взрослым» */

.audience {
	display: flex;
	gap: 8px;
	margin: 12px 0;
}

.audience__item {
	min-height: var(--tap);
	display: inline-flex;
	align-items: center;
	padding-inline: 14px;
	color: var(--ink);
	text-decoration: none;
	background: var(--surface-soft);
	border-radius: 999px;
}

.audience__item.is-active {
	color: var(--ink);
	font-weight: 700;
	background: var(--brand);
}

/* Каталог */

.products {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.products {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
}

@media (min-width: 1024px) {
	.products {
		grid-template-columns: repeat(4, 1fr);
	}
}

.product__stock--in {
	color: var(--brand-ink);
}

.product__stock--out {
	color: var(--alert);
}

/* Фильтры шторкой снизу — основной сценарий на телефоне */

.filters {
	position: fixed;
	inset: auto 0 0;
	z-index: 40;
	max-height: 85vh;
	overflow-y: auto;
	padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom));
	background: var(--surface);
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -8px 32px rgb(0 0 0 / 16%);
	transform: translateY(100%);
	transition: transform 0.2s ease;
}

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

@media (min-width: 1024px) {
	.filters {
		position: static;
		max-height: none;
		padding: 0;
		box-shadow: none;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.filters {
		transition: none;
	}
}

/* Подвал */

.site-footer {
	margin-top: 48px;
	padding-block: 32px;
	background: var(--surface-soft);
}

.site-footer__inner {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

/* Переключатель языка */

.lang {
	display: flex;
	gap: 2px;
	padding: 2px;
	background: var(--cream);
	border-radius: 999px;
}

.lang__item {
	min-height: 32px;
	display: inline-flex;
	align-items: center;
	padding-inline: 10px;
	font-size: 14px;
	color: var(--ink);
	text-decoration: none;
	border-radius: 999px;
}

.lang__item.is-active {
	font-weight: 700;
	background: var(--surface);
}

/* Каталог */

.catalog {
	padding-block: 16px 32px;
}

.breadcrumbs {
	margin-bottom: 12px;
	font-size: 14px;
	color: var(--muted);
}

.catalog__title {
	margin: 0 0 8px;
	font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
}

.catalog__intro {
	max-width: 65ch;
	color: var(--muted);
}

.catalog__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.catalog__empty {
	padding: 32px 0;
	color: var(--muted);
}

@media (min-width: 1024px) {
	.catalog__body {
		display: grid;
		grid-template-columns: 260px 1fr;
		gap: 32px;
		align-items: start;
	}
}

/* Фильтры: на телефоне шторка снизу, на десктопе колонка */

.filters__toggle {
	position: sticky;
	bottom: calc(12px + env(safe-area-inset-bottom));
	z-index: 30;
	display: inline-flex;
	gap: 8px;
	align-items: center;
	min-height: var(--tap);
	margin-bottom: 12px;
	padding-inline: 20px;
	font: inherit;
	font-weight: 700;
	color: var(--ink);
	background: var(--brand);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 6px 20px rgb(0 0 0 / 18%);
	cursor: pointer;
}

.filters__badge {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	font-size: 13px;
	background: var(--surface);
	border-radius: 999px;
}

.filters {
	position: fixed;
	inset: auto 0 0;
	z-index: 40;
	max-height: 85vh;
	overflow-y: auto;
	padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom));
	background: var(--surface);
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -8px 32px rgb(0 0 0 / 16%);
	transform: translateY(101%);
	transition: transform 0.2s ease;
	visibility: hidden;
}

.filters.is-open {
	transform: translateY(0);
	visibility: visible;
}

.filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.filters__close {
	min-width: var(--tap);
	min-height: var(--tap);
	font-size: 24px;
	line-height: 1;
	background: none;
	border: 0;
	cursor: pointer;
}

.filters__group {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

.filters__legend {
	margin-bottom: 8px;
	padding: 0;
	font-weight: 700;
}

.filters__option {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	min-height: 40px;
	padding-inline: 10px;
	color: inherit;
	text-decoration: none;
	border-radius: 8px;
}

.filters__option:hover {
	background: var(--cream);
}

.filters__option.is-on {
	font-weight: 700;
	background: var(--brand);
}

.filters__count {
	font-size: 13px;
	color: var(--muted);
}

.filters__option.is-on .filters__count {
	color: var(--ink);
}

.filters__reset {
	display: inline-block;
	padding-block: 8px;
	color: var(--brand-ink);
}

@media (min-width: 1024px) {
	.filters__toggle,
	.filters__head {
		display: none;
	}

	.filters {
		position: static;
		max-height: none;
		padding: 0;
		box-shadow: none;
		transform: none;
		visibility: visible;
	}
}

@media (prefers-reduced-motion: reduce) {
	.filters {
		transition: none;
	}
}

/* Карточка в сетке */

.card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.card__link {
	display: contents;
	color: inherit;
	text-decoration: none;
}

.card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: var(--cream);
	border-radius: 8px;
}

.card__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.card__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 8px;
	font-size: 12px;
	font-weight: 700;
	border-radius: 999px;
}

.card__badge--sale {
	background: var(--sun);
}

.card__badge--hit {
	background: var(--lavender);
}

.card__audience {
	font-size: 12px;
	color: var(--muted);
	text-transform: uppercase;
}

.card__title {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

.card__price {
	font-size: 18px;
	font-weight: 700;
}

.card__stock {
	margin: 0;
	font-size: 13px;
}

.card__stock--in {
	color: var(--brand-ink);
}

.card__stock--out {
	color: var(--muted);
}

.card__button {
	margin-top: auto;
	min-height: var(--tap);
	font-weight: 700;
	color: var(--ink);
	background: var(--brand);
	border: 0;
	border-radius: 8px;
}

/* Самовывоз и характеристики в карточке товара */

.pickup {
	margin: 16px 0;
	padding: 12px 14px;
	background: var(--cream);
	border-radius: var(--radius);
}

.pickup__title {
	margin: 0 0 8px;
	font-size: 15px;
}

.pickup__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pickup__item {
	display: flex;
	gap: 8px;
	justify-content: space-between;
	padding-block: 5px;
}

.pickup__item--in .pickup__state {
	font-weight: 700;
	color: var(--brand-ink);
}

.pickup__item--out .pickup__state {
	color: var(--muted);
}

.facts {
	margin: 16px 0;
}

.facts__row {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding-block: 6px;
	border-bottom: 1px solid var(--line);
}

.facts dt {
	color: var(--muted);
}

.facts dd {
	margin: 0;
	text-align: right;
}

/* Блоки главной */

.block {
	padding-block: 28px;
}

.block--benefits {
	background: var(--cream);
}

.block__head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 16px;
}

.block__title {
	margin: 0 0 16px;
	font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
}

.block__head .block__title {
	margin: 0;
}

.block__more {
	color: var(--brand-ink);
	white-space: nowrap;
}

/* Баннеры */

.banners {
	display: grid;
	gap: 12px;
	grid-auto-flow: column;
	grid-auto-columns: 88%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.banners::-webkit-scrollbar {
	display: none;
}

.banner {
	scroll-snap-align: center;
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
}

.banner__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}

@media (min-width: 768px) {
	.banners {
		grid-auto-columns: minmax(0, 1fr);
		overflow: visible;
	}
}

/* Плитки категорий */

.tiles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.tiles {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.tiles {
		grid-template-columns: repeat(6, 1fr);
	}
}

.tile {
	display: grid;
	gap: 4px;
	padding: 12px;
	color: inherit;
	text-align: center;
	text-decoration: none;
	background: var(--cream);
	border-radius: var(--radius);
}

.tile__image {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.tile__name {
	font-weight: 500;
	line-height: 1.3;
}

.tile__count {
	font-size: 13px;
	color: var(--muted);
}

/* Бренды */

.brands {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.brands__item {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding-inline: 16px;
	color: inherit;
	text-decoration: none;
	background: var(--cream);
	border-radius: 999px;
}

/* Преимущества */

.benefits {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.benefits {
		grid-template-columns: repeat(4, 1fr);
	}
}

.benefits__item {
	display: grid;
	gap: 4px;
}

.benefits__title {
	font-size: 16px;
}

.benefits__text {
	color: var(--muted);
}

/* Статьи */

.post-list {
	display: grid;
	gap: 20px;
}

@media (min-width: 768px) {
	.post-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.post-card__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--radius);
}

.post-card__title {
	margin: 10px 0 6px;
	font-size: 17px;
}

.post-card__title a {
	color: inherit;
	text-decoration: none;
}

.post-card__excerpt {
	margin: 0;
	color: var(--muted);
}

/* Корзина и оформление */

.woocommerce-cart .container,
.woocommerce-checkout .container {
	padding-block: 20px 40px;
}

.cart-pickup {
	margin: 12px 0;
	padding: 10px 12px;
	background: var(--cream);
	border-radius: 8px;
}

.cart-pickup--none {
	color: var(--muted);
}

.cart-empty__links {
	margin-top: 16px;
}

/* Таблица корзины: на телефоне превращается в карточки —
   горизонтальная прокрутка таблицы на маленьком экране нечитаема. */

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

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 10px 8px;
	text-align: left;
	border-bottom: 1px solid var(--line);
}

@media (max-width: 767px) {
	.woocommerce table.shop_table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
	}

	.woocommerce table.shop_table tr {
		display: grid;
		grid-template-columns: 72px 1fr;
		gap: 4px 12px;
		align-items: center;
		padding: 12px 0;
		border-bottom: 1px solid var(--line);
	}

	.woocommerce table.shop_table td {
		padding: 2px 0;
		border: 0;
	}

	.woocommerce table.shop_table td.product-thumbnail {
		grid-row: span 4;
	}
}

.woocommerce .quantity input[type="number"] {
	min-height: var(--tap);
	width: 72px;
	padding: 4px 8px;
	text-align: center;
	border: 1px solid var(--line);
	border-radius: 8px;
}

/* Оформление в один экран */

.woocommerce-checkout .col2-set {
	display: grid;
	gap: 24px;
}

@media (min-width: 1024px) {
	.woocommerce-checkout form.checkout {
		display: grid;
		grid-template-columns: 1fr 380px;
		gap: 40px;
		align-items: start;
	}

	.woocommerce-checkout #order_review_heading,
	.woocommerce-checkout #order_review {
		grid-column: 2;
	}

	.woocommerce-checkout .col2-set {
		grid-column: 1;
	}
}

.woocommerce form .form-row {
	display: grid;
	gap: 4px;
	margin-bottom: 14px;
}

.woocommerce form .form-row label {
	font-size: 14px;
	color: var(--muted);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	min-height: var(--tap);
	padding: 8px 12px;
	font: inherit;
	font-size: 16px; /* меньше 16 — и Safari зумит форму при фокусе */
	border: 1px solid var(--line);
	border-radius: 8px;
}

.woocommerce form .form-row textarea {
	min-height: 84px;
	resize: vertical;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order {
	min-height: var(--tap);
	padding-inline: 20px;
	font: inherit;
	font-weight: 700;
	color: var(--ink);
	background: var(--brand);
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}

.woocommerce #place_order {
	width: 100%;
	font-size: 17px;
}

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
	margin-bottom: 16px;
	padding: 12px 14px;
	background: var(--cream);
	border-radius: 8px;
}

.woocommerce .woocommerce-error {
	margin-bottom: 16px;
	padding: 12px 14px;
	color: #fff;
	list-style: none;
	background: var(--alert);
	border-radius: 8px;
}

#order_review {
	padding: 16px;
	background: var(--cream);
	border-radius: var(--radius);
}

@media (min-width: 1024px) {
	#order_review {
		position: sticky;
		top: 88px;
	}
}

/* Избранное и подписка на поступление */

.wishlist {
	min-height: var(--tap);
	margin-top: 8px;
	padding-inline: 16px;
	font: inherit;
	color: var(--brand-ink);
	background: none;
	border: 1px solid var(--line);
	border-radius: 8px;
	cursor: pointer;
}

.wishlist.is-on {
	font-weight: 700;
	background: var(--cream);
	border-color: var(--brand);
}

.wishlist[disabled] {
	opacity: 0.6;
}

.notify {
	margin: 16px 0;
	padding: 12px 14px;
	background: var(--cream);
	border-radius: var(--radius);
}

.notify__label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
}

.notify__row {
	display: flex;
	gap: 8px;
}

.notify__input {
	flex: 1;
	min-height: var(--tap);
	padding: 6px 12px;
	font-size: 16px;
	border: 1px solid var(--line);
	border-radius: 8px;
}

.notify__result:empty {
	display: none;
}

.notify__result {
	margin: 8px 0 0;
	color: var(--brand-ink);
}

/* Личный кабинет */

.woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.woocommerce-MyAccount-navigation a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding-inline: 14px;
	color: inherit;
	text-decoration: none;
	background: var(--cream);
	border-radius: 999px;
}

.woocommerce-MyAccount-navigation .is-active a {
	font-weight: 700;
	color: var(--ink);
	background: var(--brand);
}

@media (min-width: 1024px) {
	.woocommerce-account .woocommerce-MyAccount-content,
	.woocommerce-account .woocommerce-MyAccount-navigation {
		float: none;
		width: auto;
	}

	.woocommerce-account .woocommerce {
		display: grid;
		grid-template-columns: 240px 1fr;
		gap: 32px;
		align-items: start;
	}

	.woocommerce-MyAccount-navigation ul {
		flex-direction: column;
	}
}

/* Ссылка «спросить в WhatsApp» */

.wa-ask {
	display: inline-flex;
	align-items: center;
	min-height: var(--tap);
	margin-left: 8px;
	padding-inline: 16px;
	font-weight: 500;
	color: var(--brand-ink);
	text-decoration: none;
	border: 1px solid var(--line);
	border-radius: 8px;
}

/* Статья */

.article {
	max-width: 720px;
	margin-inline: auto;
	padding-block: 16px 40px;
}

.article__title {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem);
	line-height: 1.2;
}

.article__meta {
	margin: 0 0 20px;
	color: var(--muted);
	font-size: 14px;
}

.article__cover {
	margin: 0 0 24px;
}

.article__cover img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
}

/* Ширина строки — главное для читаемости длинного текста.
   Около 70 знаков: глаз без труда находит начало следующей строки. */
.article__body {
	font-size: 17px;
	line-height: 1.7;
}

.article__body > * {
	max-width: 68ch;
}

.article__body h2 {
	margin: 32px 0 12px;
	font-size: 1.4rem;
	line-height: 1.25;
}

.article__body h3 {
	margin: 24px 0 8px;
	font-size: 1.15rem;
}

.article__body p,
.article__body ul,
.article__body ol {
	margin: 0 0 16px;
}

.article__body li {
	margin-bottom: 6px;
}

.article__body img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
}

.article__body blockquote {
	margin: 20px 0;
	padding: 12px 16px;
	background: var(--cream);
	border-left: 3px solid var(--brand);
	border-radius: 0 8px 8px 0;
}

.article__foot {
	margin-top: 40px;
}

/* Товар внутри статьи — он и есть смысл блога */

.inline-product {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 14px;
	align-items: center;
	max-width: 68ch;
	margin: 24px 0;
	padding: 14px;
	background: var(--cream);
	border-radius: var(--radius);
}

.inline-product__media {
	display: block;
}

.inline-product__image {
	width: 96px;
	height: 96px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.inline-product__body {
	display: grid;
	gap: 6px;
	align-content: start;
}

.inline-product__title {
	font-weight: 700;
	line-height: 1.3;
	color: var(--ink);
	text-decoration: none;
}

.inline-product__note {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
}

.inline-product__price {
	font-size: 18px;
	font-weight: 700;
}

.inline-product__button {
	justify-self: start;
	min-height: var(--tap);
	display: inline-flex;
	align-items: center;
	padding-inline: 18px;
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
	background: var(--brand);
	border-radius: 8px;
}

.inline-product__out {
	color: var(--muted);
}

@media (max-width: 480px) {
	.inline-product {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.inline-product__image {
		margin-inline: auto;
	}

	.inline-product__button {
		justify-self: stretch;
		justify-content: center;
	}
}

/* Лента блога и страницы */

.post-list--wide {
	padding-bottom: 24px;
}

.page {
	max-width: 720px;
	margin-inline: auto;
	padding-block: 16px 32px;
}

.page__title {
	margin: 0 0 16px;
	font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem);
}

.page__content {
	font-size: 17px;
	line-height: 1.7;
}

.page__content > * {
	max-width: 68ch;
}

/* Точки самовывоза */

.points {
	max-width: 720px;
	margin: 32px auto 48px;
}

.points__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.points__item {
	display: grid;
	gap: 4px;
	padding: 14px;
	background: var(--cream);
	border-radius: var(--radius);
}

.points__name {
	font-size: 17px;
}

.points__address,
.points__hours {
	color: var(--muted);
}

.points__map {
	justify-self: start;
	color: var(--brand-ink);
}
