/*
Theme Name: Venturley
Author: Venturley
Description: Тема Venturley.
Version: 1.7.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: venturley
*/

/* Шрифт Darker Grotesque */
@import url('https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@300;400;500;600;700&display=swap');

/* --- Токены --- */
:root {
	--vn-bg-dark: #211f1c;      /* фон шапки */
	--vn-bg-cream: #f4f5e4;     /* кремовый фон секций */
	--vn-bg-beige: #efe8db;     /* бежевый фон (Operational, CTA) */
	--vn-text-dark: #2b2a26;    /* тёмный текст на светлом */
	--vn-text-light: #f2efe9;   /* светлый текст */
	--vn-text-muted: #d8d3ca;   /* приглушённый текст на тёмном */
	--vn-font: "Darker Grotesque", sans-serif;
	--vn-container: 1400px;     /* ширина контейнера */
	--vn-radius: 16px;          /* скругление блоков */
}

/* --- Сброс --- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--vn-font);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--vn-text-light);
	background-color: var(--vn-bg-dark);
}

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

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

/* Единый фон контента — чтобы между секциями не было полос */
.site-main {
	flex: 1;
	background-color: var(--vn-bg-cream);
}

/* Общий контейнер */
.container {
	max-width: var(--vn-container);
	margin: 0 auto;
	padding: 0 24px;
}

/* Общие заголовки секций */
.section-title {
	margin: 0 0 20px;
	text-align: center;
	font-size: 42px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--vn-text-dark);
}

.section-subtitle {
	margin: 0 0 72px;
	text-align: center;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--vn-text-dark);
}

/* ============================================
   Шапка
   ============================================ */

.site-header {
	background-color: var(--vn-bg-dark);
}

.site-header__inner {
	max-width: var(--vn-container);
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.site-logo__img {
	width: 140px;
	height: auto;
}

/* Меню */
.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 40px;
}

.site-nav__list a {
	font-size: 23px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--vn-text-light);
	transition: opacity 0.2s ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
	opacity: 0.7;
}

/* Корзина */
.site-header__cart a {
	font-size: 23px;
	font-weight: 500;
	color: var(--vn-text-light);
	transition: opacity 0.2s ease;
}

.site-header__cart a:hover,
.site-header__cart a:focus-visible {
	opacity: 0.7;
}

/* ============================================
   Хиро-блок
   ============================================ */

.hero {
	min-height: calc(100vh - 68px);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 120px 24px;
}

.hero__inner {
	max-width: 1080px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero__title {
	margin: 0 0 24px;
	font-size: clamp(48px, 5.5vw, 82px);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: 0.01em;
	color: #fff;
}

.hero__subtitle {
	margin: 0 0 56px;
	max-width: 600px;
	font-size: 25px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--vn-text-muted);
}

.hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 44px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	font-size: 23px;
	font-weight: 500;
	color: #fff;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
	background-color: #fff;
	color: var(--vn-bg-dark);
}

.hero__cta-arrow {
	transition: transform 0.25s ease;
}

.hero__cta:hover .hero__cta-arrow {
	transform: translateX(4px);
}


/* ============================================
   Best Sellers (главная)
   ============================================ */

.bestsellers {
	padding: 88px 0 40px;
	color: var(--vn-text-dark);
}

/* ============================================
   Категории
   ============================================ */

.categories {
	padding: 80px 0 96px;
}

.categories__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.category-card {
	position: relative;
	display: block;
	border-radius: var(--vn-radius);
	overflow: hidden;
}

.category-card__img {
	width: 100%;
	aspect-ratio: 470 / 220;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.category-card:hover .category-card__img,
.category-card:focus-visible .category-card__img {
	transform: scale(1.03);
}

/* Лёгкое затемнение снизу, чтобы белая надпись читалась */
.category-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 45%);
	pointer-events: none;
}

.category-card__label {
	position: absolute;
	left: 32px;
	bottom: 24px;
	z-index: 1;
	font-size: 34px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #fff;
}

/* ============================================
   Баннер
   ============================================ */

.banner-section {
	padding: 0 0 96px;
}

.banner {
	min-height: 440px;
	border-radius: var(--vn-radius);
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	padding: 72px 64px;
}

.banner__text {
	margin: 0;
	max-width: 760px;
	font-size: clamp(32px, 3.4vw, 46px);
	font-weight: 500;
	line-height: 1.25;
	color: #fff;
}

/* ============================================
   Philosophy
   ============================================ */

.philosophy {
	padding: 96px 0 112px;
	color: var(--vn-text-dark);
}

.philosophy__grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 64px;
	align-items: start;
}

.philosophy__content p {
	margin: 0 0 28px;
	max-width: 440px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.4;
}

.philosophy__quote {
	margin-top: 56px !important;
	font-size: 28px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
}

.philosophy__img {
	width: 100%;
	border-radius: var(--vn-radius);
	object-fit: cover;
}

/* ============================================
   Operational Environments
   ============================================ */

.operations {
	background-color: var(--vn-bg-beige);
	padding: 96px 0 112px;
	color: var(--vn-text-dark);
}

.operations__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 48px;
}

.operations__item {
	border-top: 1px solid rgba(43, 42, 38, 0.3);
	padding-top: 28px;
}

.operations__item-title {
	margin: 0 0 20px;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.operations__item p {
	margin: 0;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.4;
}

/* ============================================
   Баннер-цитата
   ============================================ */

.quote-banner {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 120px 0;
}

/* Полупрозрачная светлая подложка под текстом */
.quote-banner__panel {
	max-width: 880px;
	background-color: rgba(244, 245, 228, 0.82);
	backdrop-filter: blur(4px);
	border-radius: var(--vn-radius);
	padding: 44px 56px;
}

.quote-banner__text {
	margin: 0;
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 600;
	line-height: 1.4;
	color: var(--vn-text-dark);
}

/* ============================================
   About
   ============================================ */

.about {
	padding: 96px 0 112px;
	color: var(--vn-text-dark);
}

.about__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 64px;
	align-items: start;
}

.about__img {
	width: 100%;
	border-radius: var(--vn-radius);
	object-fit: cover;
}

.about__content p {
	margin: 0 0 28px;
	max-width: 520px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.4;
}

.about__highlight {
	margin-top: 48px !important;
	font-weight: 600 !important;
}

/* ============================================
   CTA
   ============================================ */

.cta-section {
	background-color: var(--vn-bg-beige);
	padding: 96px 0 112px;
	text-align: center;
}

.cta-section__subtitle {
	margin-bottom: 48px;
}

.cta-section__actions {
	display: flex;
	justify-content: center;
}

.cta-section__btn {
	display: inline-block;
	padding: 14px 52px;
	background-color: var(--vn-bg-dark);
	color: var(--vn-text-light);
	font-size: 22px;
	font-weight: 500;
	border-radius: 4px;
	transition: opacity 0.25s ease;
}

.cta-section__btn:hover,
.cta-section__btn:focus-visible {
	opacity: 0.85;
}


/* ============================================
   Футер
   ============================================ */

.site-footer {
	background-color: #313131;
	color: var(--vn-text-light);
	padding: 72px 0 96px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
	gap: 48px;
	align-items: start;
}

.site-footer__logo img {
	width: 140px;
	height: auto;
}

.site-footer__heading {
	margin: 0 0 24px;
	font-size: 21px;
	font-weight: 500;
	color: rgba(242, 239, 233, 0.55);
}

.site-footer__heading--light {
	color: var(--vn-text-light);
}

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

.site-footer__list li {
	margin-bottom: 18px;
}

.site-footer__list a {
	font-size: 22px;
	font-weight: 500;
	color: var(--vn-text-light);
	transition: opacity 0.2s ease;
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
	opacity: 0.7;
}

/* Форма в футере */
.footer-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 320px;
}

.footer-form__input {
	width: 100%;
	padding: 12px 16px;
	border: none;
	border-radius: 4px;
	background-color: #fff;
	font-family: var(--vn-font);
	font-size: 19px;
	font-weight: 500;
	color: var(--vn-text-dark);
}

.footer-form__input::placeholder {
	color: rgba(43, 42, 38, 0.45);
}

.footer-form__input:focus {
	outline: 2px solid var(--vn-bg-beige);
	outline-offset: 1px;
}

.footer-form__btn {
	width: 100%;
	padding: 14px 16px;
	border: none;
	border-radius: 4px;
	background-color: var(--vn-bg-beige);
	font-family: var(--vn-font);
	font-size: 21px;
	font-weight: 500;
	color: var(--vn-text-dark);
	cursor: pointer;
	transition: opacity 0.25s ease;
}

.footer-form__btn:hover,
.footer-form__btn:focus-visible {
	opacity: 0.85;
}


/* ============================================
   Страница товара (WooCommerce)
   ============================================ */

.product-page {
	padding: 48px 0 112px;
	color: var(--vn-text-dark);
}

.product-page__back {
	display: inline-block;
	margin-bottom: 40px;
	font-size: 20px;
	font-weight: 600;
	color: var(--vn-text-dark);
	transition: opacity 0.2s ease;
}

.product-page__back:hover,
.product-page__back:focus-visible {
	opacity: 0.7;
}

.product-page__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 64px;
	align-items: start;
}

/* Фото / заглушка */
.product-page__img {
	width: 100%;
	border-radius: var(--vn-radius);
	object-fit: cover;
}

.product-page__placeholder {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: var(--vn-radius);
	background-color: var(--vn-bg-beige);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 24px;
	font-weight: 500;
	color: rgba(43, 42, 38, 0.45);
}

/* Заголовок и мета */
.product-page__title {
	margin: 0 0 16px;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.1;
}

.product-page__meta p {
	margin: 0 0 6px;
	font-size: 21px;
	font-weight: 500;
}

/* Блок покупки: кнопка + количество */
.product-page__buy {
	margin: 28px 0 40px;
}

.product-page__buy form.cart {
	display: flex;
	flex-direction: row-reverse; /* кнопка слева, количество справа, как на макете */
	justify-content: flex-end;
	align-items: stretch;
	gap: 16px;
}

.product-page__buy .quantity {
	display: flex;
	align-items: stretch;
}

.product-page__buy .quantity .qty {
	width: 90px;
	padding: 10px 12px;
	border: 1px solid var(--vn-text-dark);
	border-radius: 4px;
	background: transparent;
	font-family: var(--vn-font);
	font-size: 20px;
	font-weight: 500;
	text-align: center;
	color: var(--vn-text-dark);
}

.product-page__buy button.single_add_to_cart_button,
.product-page__buy .single_add_to_cart_button {
	padding: 10px 36px !important;
	border: 1px solid var(--vn-text-dark) !important;
	border-radius: 4px !important;
	background: transparent !important;
	font-family: var(--vn-font) !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	color: var(--vn-text-dark) !important;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.product-page__buy .single_add_to_cart_button:hover,
.product-page__buy .single_add_to_cart_button:focus-visible {
	background-color: var(--vn-text-dark) !important;
	color: var(--vn-text-light) !important;
}

/* Цену на карточке не показываем (дизайн без неё) */
.product-page__buy .price {
	display: none;
}

/* Описание товара */
.product-page__description p {
	margin: 0 0 18px;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.45;
	max-width: 640px;
}

/* Чёрные жирные пункты (Ingredients, Use, Instructions и т.д.) */
.product-page__description strong {
	font-weight: 700;
	color: #000;
}

.product-page__description small {
	font-size: 15px;
	color: rgba(43, 42, 38, 0.6);
}

@media (max-width: 900px) {
	.product-page__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}


/* ============================================
   Счётчик корзины в шапке
   ============================================ */

.cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	margin-left: 8px;
	padding: 0 6px;
	border-radius: 12px;
	background-color: var(--vn-bg-beige);
	color: var(--vn-text-dark);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	vertical-align: middle;
}

/* ============================================
   Выезжающая корзина
   ============================================ */

body.cart-locked {
	overflow: hidden;
}

.side-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background-color: rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-cart-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.side-cart {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 100;
	width: min(420px, 100%);
	height: 100dvh;
	background-color: var(--vn-bg-cream);
	color: var(--vn-text-dark);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s ease;
	box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
}

.side-cart.is-open {
	transform: translateX(0);
}

.side-cart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 28px;
	border-bottom: 1px solid rgba(43, 42, 38, 0.15);
}

.side-cart__title {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
}

.side-cart__close {
	border: none;
	background: none;
	padding: 4px 8px;
	font-size: 32px;
	line-height: 1;
	color: var(--vn-text-dark);
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.side-cart__close:hover {
	opacity: 0.6;
}

.side-cart__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

.side-cart__items {
	list-style: none;
	margin: 0;
	padding: 12px 28px;
	flex: 1;
}

.side-cart__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(43, 42, 38, 0.12);
}

.side-cart__thumb {
	flex-shrink: 0;
	width: 64px;
}

.side-cart__thumb img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
	background-color: var(--vn-bg-beige);
}

.side-cart__info {
	flex: 1;
	min-width: 0;
}

.side-cart__name {
	display: block;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 4px;
}

.side-cart__qty {
	font-size: 19px;
	color: rgba(43, 42, 38, 0.7);
}

.side-cart__remove {
	flex-shrink: 0;
	font-size: 26px;
	line-height: 1;
	padding: 4px 8px;
	color: rgba(43, 42, 38, 0.5);
	transition: color 0.2s ease;
}

.side-cart__remove:hover {
	color: var(--vn-text-dark);
}

.side-cart__footer {
	padding: 20px 28px 28px;
	border-top: 1px solid rgba(43, 42, 38, 0.15);
}

.side-cart__subtotal {
	display: flex;
	justify-content: space-between;
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 18px;
}

.side-cart__btn {
	display: block;
	width: 100%;
	margin-bottom: 10px;
	padding: 13px 16px;
	border-radius: 4px;
	text-align: center;
	font-size: 21px;
	font-weight: 500;
	background-color: var(--vn-bg-dark);
	color: var(--vn-text-light);
	transition: opacity 0.25s ease;
}

.side-cart__btn--light {
	background-color: transparent;
	border: 1px solid var(--vn-text-dark);
	color: var(--vn-text-dark);
}

.side-cart__btn:hover,
.side-cart__btn:focus-visible {
	opacity: 0.85;
}

.side-cart__empty {
	margin: auto;
	padding: 40px 28px;
	text-align: center;
	font-size: 22px;
	color: rgba(43, 42, 38, 0.6);
}

/* ============================================
   Каталог товаров
   ============================================ */

.shop-page {
	padding: 40px 0 112px;
	color: var(--vn-text-dark);
}

.shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 24px;
	margin-bottom: 48px;
	border-bottom: 1px solid rgba(43, 42, 38, 0.2);
}

.shop-toolbar__filter {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	border: 1px solid rgba(43, 42, 38, 0.4);
	border-radius: 4px;
	background: transparent;
	font-family: var(--vn-font);
	font-size: 20px;
	font-weight: 500;
	color: var(--vn-text-dark);
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.shop-toolbar__filter:hover {
	border-color: var(--vn-text-dark);
}

/* Сортировка Woo, стилизуем под кнопку */
.shop-toolbar .woocommerce-ordering {
	margin: 0;
}

.shop-toolbar .woocommerce-ordering select {
	padding: 12px 40px 12px 24px;
	border: 1px solid rgba(43, 42, 38, 0.4);
	border-radius: 4px;
	background-color: transparent;
	font-family: var(--vn-font);
	font-size: 20px;
	font-weight: 500;
	color: var(--vn-text-dark);
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232b2a26' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}


/* Выпадающая панель фильтра */
.shop-filter {
	position: relative;
}

.shop-filter__panel {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	z-index: 50;
	min-width: 300px;
	padding: 24px 28px;
	background-color: var(--vn-bg-cream);
	border: 1px solid rgba(43, 42, 38, 0.2);
	border-radius: var(--vn-radius);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.shop-filter__panel.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.shop-filter__heading {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 500;
	color: rgba(43, 42, 38, 0.55);
}

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

.shop-filter__list li {
	margin-bottom: 12px;
}

.shop-filter__list li:last-child {
	margin-bottom: 0;
}

.shop-filter__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 21px;
	font-weight: 500;
	color: var(--vn-text-dark);
	transition: opacity 0.2s ease;
}

.shop-filter__list a:hover,
.shop-filter__list a:focus-visible {
	opacity: 0.65;
}

.shop-filter__list a.is-active {
	font-weight: 700;
}

.shop-filter__count {
	font-size: 17px;
	color: rgba(43, 42, 38, 0.5);
}

.shop-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	row-gap: 72px;
	align-items: stretch;
}

.product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Обёртка Size растягивается, выравнивая кнопки всех карточек по низу
   и сам блок Size — по одной линии независимо от длины анонса */
.product-card__size-wrap {
	margin-top: auto;
	min-height: 56px;
}

.product-card__media {
	display: block;
	margin-bottom: 24px;
	border-radius: var(--vn-radius);
	overflow: hidden;
	background-color: var(--vn-bg-beige);
	aspect-ratio: 1 / 0.9; /* карточки ниже, фото компактнее */
}

.product-card__media img.product-card__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.product-card__media:hover .product-card__img {
	transform: scale(1.03);
}

.product-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-align: center;
	font-size: 22px;
	font-weight: 500;
	color: rgba(43, 42, 38, 0.45);
}

.product-card__title {
	margin: 0 0 12px;
	font-size: 27px;
	font-weight: 600;
}

.product-card__excerpt {
	margin: 0 0 20px;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.4;
	color: rgba(43, 42, 38, 0.85);
}

.product-card__size-label {
	margin: 0 0 2px;
	font-size: 17px;
	color: rgba(43, 42, 38, 0.55);
}

.product-card__size {
	margin: 0;
	font-size: 20px;
	font-weight: 500;
}

.product-card__actions {
	margin-top: 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.product-card__btn {
	display: block;
	padding: 11px 12px;
	border: 1px solid rgba(43, 42, 38, 0.5);
	border-radius: 4px;
	text-align: center;
	font-size: 19px;
	font-weight: 500;
	color: var(--vn-text-dark);
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.product-card__btn:hover,
.product-card__btn:focus-visible {
	background-color: var(--vn-text-dark);
	color: var(--vn-text-light);
}

.product-card__btn.is-loading {
	opacity: 0.5;
	pointer-events: none;
}

.shop-pagination {
	margin-top: 72px;
	text-align: center;
}

.shop-pagination .page-numbers {
	display: inline-block;
	min-width: 44px;
	padding: 8px 12px;
	margin: 0 4px;
	border: 1px solid rgba(43, 42, 38, 0.35);
	border-radius: 4px;
	font-size: 20px;
	font-weight: 500;
	color: var(--vn-text-dark);
}

.shop-pagination .page-numbers.current {
	background-color: var(--vn-text-dark);
	color: var(--vn-text-light);
	border-color: var(--vn-text-dark);
}

.shop-empty {
	font-size: 24px;
	text-align: center;
	padding: 80px 0;
}

/* ============================================
   Обычные страницы + Cart / Checkout WooCommerce
   ============================================ */

.page-content {
	padding: 48px 0 112px;
	color: var(--vn-text-dark);
}

.page-content__title {
	margin: 0 0 40px;
	font-size: 42px;
	font-weight: 600;
}

.page-content__body {
	font-size: 20px;
}

/* Общая типографика внутри Woo-страниц */
.woocommerce-page .page-content a:not(.button) {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Кнопки Woo под стиль темы */
.woocommerce-page .page-content .button,
.woocommerce-page .page-content button.button,
.wc-block-components-button {
	padding: 12px 32px !important;
	border: none;
	border-radius: 4px !important;
	background-color: var(--vn-bg-dark) !important;
	color: var(--vn-text-light) !important;
	font-family: var(--vn-font) !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	cursor: pointer;
	transition: opacity 0.25s ease;
}

.woocommerce-page .page-content .button:hover,
.wc-block-components-button:hover {
	opacity: 0.85;
}

/* Поля форм Woo */
.woocommerce-page .page-content input[type="text"],
.woocommerce-page .page-content input[type="email"],
.woocommerce-page .page-content input[type="tel"],
.woocommerce-page .page-content input[type="number"],
.woocommerce-page .page-content input[type="password"],
.woocommerce-page .page-content textarea,
.woocommerce-page .page-content select,
.wc-block-components-text-input input {
	padding: 11px 14px;
	border: 1px solid rgba(43, 42, 38, 0.4);
	border-radius: 4px;
	background-color: #fff;
	font-family: var(--vn-font);
	font-size: 19px;
	font-weight: 500;
	color: var(--vn-text-dark);
}

/* Таблица классической корзины */
.woocommerce-page .page-content table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border: none;
}

.woocommerce-page .page-content table.shop_table th,
.woocommerce-page .page-content table.shop_table td {
	padding: 16px 12px;
	border: none;
	border-bottom: 1px solid rgba(43, 42, 38, 0.15);
	text-align: left;
	font-size: 20px;
}

.woocommerce-page .page-content table.shop_table img {
	width: 72px;
	height: auto;
	border-radius: 8px;
}

/* Блочные корзина/чекаут (Гутенберг-блоки Woo) — базовая подгонка */
.wc-block-components-sidebar-layout {
	font-family: var(--vn-font);
}

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

@media (max-width: 640px) {
	.shop-grid {
		grid-template-columns: 1fr;
		row-gap: 56px;
	}

	.shop-toolbar {
		flex-wrap: wrap;
	}
}


/* ============================================
   Страница Contacts
   ============================================ */

.contacts-page {
	padding: 64px 0 112px;
	color: var(--vn-text-dark);
}

.contacts-page__grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 64px;
	align-items: center;
}

.contacts-page__title {
	margin: 0 0 56px;
	font-size: 44px;
	font-weight: 600;
}

.contacts-page__company {
	margin: 0 0 24px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.contacts-page__address {
	margin: 0 0 40px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.45;
}

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

.contacts-page__list li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	font-size: 22px;
	font-weight: 500;
}

.contacts-page__list svg {
	flex-shrink: 0;
	color: var(--vn-text-dark);
}

.contacts-page__list a {
	transition: opacity 0.2s ease;
}

.contacts-page__list a:hover,
.contacts-page__list a:focus-visible {
	opacity: 0.65;
}

.contacts-page__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--vn-radius);
}

@media (max-width: 900px) {
	.contacts-page__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.contacts-page__img {
		order: -1;
	}

	.contacts-page__title {
		margin-bottom: 40px;
	}
}

/* Плавный скролл к якорям (#philosophy, #about) */
html {
	scroll-behavior: smooth;
}

#philosophy,
#about {
	scroll-margin-top: 24px;
}


/* ============================================
   Правовые страницы (Terms / Privacy / Refund)
   ============================================ */

.legal-page {
	padding: 64px 0 112px;
	color: var(--vn-text-dark);
}

.legal-page__inner {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 24px;
}

.legal-page__title {
	margin: 0 0 24px;
	font-size: 44px;
	font-weight: 600;
	line-height: 1.1;
}

.legal-page__updated {
	color: rgba(43, 42, 38, 0.55);
	font-size: 18px;
	margin-bottom: 32px !important;
}

.legal-page__body {
	font-size: 19px;
	font-weight: 500;
	line-height: 1.6;
}

.legal-page__body h2 {
	margin: 48px 0 16px;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
}

.legal-page__body h3 {
	margin: 36px 0 12px;
	font-size: 23px;
	font-weight: 600;
}

.legal-page__body p {
	margin: 0 0 20px;
}

.legal-page__body ul,
.legal-page__body ol {
	margin: 0 0 24px;
	padding-left: 24px;
}

.legal-page__body li {
	margin-bottom: 10px;
}

.legal-page__body a {
	color: var(--vn-text-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: opacity 0.2s ease;
}

.legal-page__body a:hover {
	opacity: 0.65;
}

.legal-page__body strong {
	font-weight: 700;
}

@media (max-width: 720px) {
	.legal-page {
		padding: 48px 0 72px;
	}

	.legal-page__title {
		font-size: 34px;
	}
}

/* ============================================
   Адаптив
   ============================================ */

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

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

@media (max-width: 900px) {
	.site-nav__list {
		gap: 24px;
	}

	.philosophy__grid,
	.about__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.philosophy__img {
		order: -1;
	}

	.philosophy__content p,
	.about__content p {
		max-width: 620px;
	}
}

@media (max-width: 720px) {
	.site-header__inner {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;
	}

	.hero {
		min-height: 80vh;
		padding: 80px 20px;
	}

	.hero__subtitle {
		margin-bottom: 40px;
	}

	.section-subtitle {
		margin-bottom: 48px;
	}

	.section-subtitle br,
	.quote-banner__text br {
		display: none;
	}

	.categories {
		padding: 56px 0 72px;
	}

	.categories__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.banner-section {
		padding-bottom: 72px;
	}

	.banner {
		min-height: 320px;
		padding: 48px 28px;
	}

	.category-card__label {
		left: 20px;
		bottom: 16px;
		font-size: 26px;
	}

	.philosophy,
	.about {
		padding: 72px 0 80px;
	}

	.operations,
	.cta-section {
		padding: 72px 0 80px;
	}

	.operations__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.quote-banner {
		padding: 80px 0;
	}

	.quote-banner__panel {
		padding: 32px 28px;
	}

	.site-footer {
		padding: 56px 0 64px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}