/* Pole Aroma — стиль сторінок магазину. Підключається лише на сторінках WooCommerce (body.pa-shop). */
body.pa-shop:not(#pa-x) {
	--pa-bg: #F2F1ED;
	--pa-card: #ECEAE5;
	--pa-line: #DEDAD5;
	--pa-brown: #4A331E;
	--pa-brown-hover: #2F2013;
	--pa-text: #1E1B17;
	--pa-muted: #6B655D;
	--pa-serif: "Lora", Georgia, serif;
	--pa-sans: "Gilroy", Arial, sans-serif;
	background: var(--pa-bg) !important;
	color: var(--pa-text);
	font-family: var(--pa-sans);
	font-size: 16px;
}

/* Фони секцій шаблонів — прозорі, щоб усюди був бежевий фон */
body.pa-shop:not(#pa-x) .elementor-section,
body.pa-shop:not(#pa-x) .elementor-column-wrap,
body.pa-shop:not(#pa-x) .elementor-widget-wrap,
body.pa-shop:not(#pa-x) .e-con,
body.pa-shop:not(#pa-x) .site-main,
body.pa-shop:not(#pa-x) .page-content { background-color: transparent !important; box-shadow: none !important; }

/* Текст */
body.pa-shop:not(#pa-x),
body.pa-shop:not(#pa-x) p, body.pa-shop:not(#pa-x) li, body.pa-shop:not(#pa-x) span, body.pa-shop:not(#pa-x) a, body.pa-shop:not(#pa-x) label,
body.pa-shop:not(#pa-x) input, body.pa-shop:not(#pa-x) select, body.pa-shop:not(#pa-x) textarea, body.pa-shop:not(#pa-x) button,
body.pa-shop:not(#pa-x) td, body.pa-shop:not(#pa-x) th { font-family: var(--pa-sans) !important; }

/* Заголовки — Lora: 50 / 42 / 28 */
body.pa-shop:not(#pa-x) .archive-title,
body.pa-shop:not(#pa-x) .shopengine-archive-title .archive-title,
body.pa-shop:not(#pa-x) .product_title,
body.pa-shop:not(#pa-x) .shopengine-product-title .product-title,
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-product-title h1,
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-product-title h2,
body.pa-shop:not(#pa-x) .elementor-heading-title,
body.pa-shop:not(#pa-x) .entry-title,
body.pa-shop:not(#pa-x) .woocommerce-loop-product__title,
body.pa-shop:not(#pa-x) h1:not(.site-title), body.pa-shop:not(#pa-x) h2, body.pa-shop:not(#pa-x) h3 {
	font-family: var(--pa-serif) !important;
	font-weight: 400 !important;
	color: var(--pa-text) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
body.pa-shop:not(#pa-x) .archive-title,
body.pa-shop:not(#pa-x) .shopengine-archive-title .archive-title,
body.pa-shop:not(#pa-x) .entry-title { font-size: 50px !important; line-height: 1.15 !important; }
body.pa-shop:not(#pa-x) .product_title,
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-product-title .product-title,
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-product-title h1,
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-product-title h2 { font-size: 42px !important; line-height: 1.15 !important; }
body.pa-shop:not(#pa-x) .elementor-heading-title,
body.pa-shop:not(#pa-x) .cart_totals h2,
body.pa-shop:not(#pa-x) .woocommerce-Tabs-panel h2 { font-size: 42px !important; line-height: 1.2 !important; }
body.pa-shop:not(#pa-x) h3 { font-size: 28px !important; line-height: 1.25 !important; }

/* Хлібні крихти */
body.pa-shop:not(#pa-x) .woocommerce-breadcrumb,
body.pa-shop:not(#pa-x) .woocommerce-breadcrumb a { font-size: 16px !important; color: var(--pa-muted) !important; }

/* ---------- Каталог: картки товарів ---------- */
body.pa-shop:not(#pa-x) ul.products li.product {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	text-align: left !important;
	display: flex !important;
	flex-direction: column;
}
body.pa-shop:not(#pa-x) ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
body.pa-shop:not(#pa-x) ul.products li.product img {
	border-radius: 0 !important;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100% !important;
	margin: 0 0 20px !important;
	background: var(--pa-card);
}
body.pa-shop:not(#pa-x) ul.products li.product .product-categories,
body.pa-shop:not(#pa-x) ul.products li.product .product-categories li,
body.pa-shop:not(#pa-x) ul.products li.product .product-categories span {
	text-align: left !important;
	justify-content: flex-start !important;
	font-size: 16px !important;
	color: var(--pa-muted) !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
}
body.pa-shop:not(#pa-x) ul.products li.product .woocommerce-loop-product__title {
	font-size: 28px !important;
	line-height: 1.2 !important;
	margin: 0 0 12px !important;
	padding: 0 !important;
	text-align: left !important;
}
body.pa-shop:not(#pa-x) ul.products li.product .price {
	display: block !important;
	text-align: left !important;
	margin: auto 0 18px !important;
	font-size: 20px !important;
	color: var(--pa-text) !important;
}
body.pa-shop:not(#pa-x) .price .pa-from { color: var(--pa-muted); font-size: .9em; }
body.pa-shop:not(#pa-x) ul.products li.product .price *,
body.pa-shop:not(#pa-x) .price .amount, body.pa-shop:not(#pa-x) .price bdi { color: inherit !important; font-size: inherit !important; font-weight: 500 !important; }

/* ---------- Кнопки ---------- */
body.pa-shop:not(#pa-x) .button,
body.pa-shop:not(#pa-x) button.button,
body.pa-shop:not(#pa-x) a.button,
body.pa-shop:not(#pa-x) input[type="submit"],
body.pa-shop:not(#pa-x) .single_add_to_cart_button,
body.pa-shop:not(#pa-x) .checkout-button,
body.pa-shop:not(#pa-x) #place_order,
body.pa-shop:not(#pa-x) .shopengine-btn,
body.pa-shop:not(#pa-x) .wc-forward {
	font-family: var(--pa-sans) !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
	border-radius: 0 !important;
	border: 1px solid var(--pa-brown) !important;
	background: var(--pa-brown) !important;
	color: #fff !important;
	padding: 16px 28px !important;
	box-shadow: none !important;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
body.pa-shop:not(#pa-x) .button:hover,
body.pa-shop:not(#pa-x) .single_add_to_cart_button:hover,
body.pa-shop:not(#pa-x) .checkout-button:hover,
body.pa-shop:not(#pa-x) #place_order:hover,
body.pa-shop:not(#pa-x) .shopengine-btn:hover,
body.pa-shop:not(#pa-x) .wc-forward:hover {
	background: var(--pa-brown-hover) !important;
	border-color: var(--pa-brown-hover) !important;
	color: #fff !important;
}
/* Кнопка в картці — світла, при наведенні темна (як у макеті «Перейти в категорію») */
body.pa-shop:not(#pa-x) ul.products li.product .button {
	display: block !important;
	width: 100% !important;
	text-align: center !important;
	background: var(--pa-card) !important;
	border-color: var(--pa-card) !important;
	color: var(--pa-muted) !important;
	margin: 0 !important;
}
body.pa-shop:not(#pa-x) ul.products li.product:hover .button,
body.pa-shop:not(#pa-x) ul.products li.product .button:hover {
	background: var(--pa-brown) !important;
	border-color: var(--pa-brown) !important;
	color: #fff !important;
}
/* Другорядні кнопки: «Оновити кошик», фільтр */
body.pa-shop:not(#pa-x) button[name="update_cart"],
body.pa-shop:not(#pa-x) .shopengine-filter-group-toggle {
	background: transparent !important;
	color: var(--pa-brown) !important;
}
body.pa-shop:not(#pa-x) button[name="update_cart"]:hover,
body.pa-shop:not(#pa-x) .shopengine-filter-group-toggle:hover { background: var(--pa-brown) !important; color: #fff !important; }
body.pa-shop:not(#pa-x) button[disabled], body.pa-shop:not(#pa-x) .button.disabled { opacity: .45 !important; }

/* Перемикач вигляду сітки */
body.pa-shop:not(#pa-x) .shopengine-archive-view-mode a, body.pa-shop:not(#pa-x) .shopengine-archive-view-mode button { color: var(--pa-muted) !important; }
body.pa-shop:not(#pa-x) .shopengine-archive-view-mode .isactive, body.pa-shop:not(#pa-x) .shopengine-archive-view-mode .active { color: var(--pa-brown) !important; }

/* ---------- Сторінка товару ---------- */
body.pa-shop:not(#pa-x) .shopengine-product-stock .stock,
body.pa-shop:not(#pa-x) p.stock { color: var(--pa-muted) !important; font-size: 16px !important; }
body.pa-shop:not(#pa-x) p.stock i { color: #6E8B5E !important; }
body.pa-shop:not(#pa-x) .woocommerce-product-details__short-description,
body.pa-shop:not(#pa-x) .woocommerce-product-details__short-description p,
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-product-excerpt p { font-size: 18px !important; line-height: 1.55 !important; color: var(--pa-text) !important; }
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-product-price .price,
body.pa-shop:not(#pa-x) .summary .price,
body.pa-shop:not(#pa-x) .woocommerce-variation-price .price { font-family: var(--pa-sans) !important; font-size: 28px !important; color: var(--pa-text) !important; }
body.pa-shop:not(#pa-x) .woocommerce-variation-price .price * { color: inherit !important; font-size: inherit !important; }
body.pa-shop:not(#pa-x) .elementor-divider-separator { border-color: var(--pa-line) !important; }

/* Вибір об'єму */
body.pa-shop:not(#pa-x) table.variations th, body.pa-shop:not(#pa-x) table.variations td, body.pa-shop:not(#pa-x) table.variations label { font-size: 16px !important; color: var(--pa-text) !important; background: transparent !important; border: 0 !important; }
body.pa-shop:not(#pa-x) table.variations select,
body.pa-shop:not(#pa-x) .quantity input.qty,
body.pa-shop:not(#pa-x) .woocommerce-checkout input.input-text,
body.pa-shop:not(#pa-x) .woocommerce-checkout select,
body.pa-shop:not(#pa-x) .woocommerce-checkout textarea,
body.pa-shop:not(#pa-x) .cart input.qty {
	border: 1px solid var(--pa-line) !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--pa-text) !important;
	font-size: 16px !important;
	min-height: 48px;
	box-shadow: none !important;
}
body.pa-shop:not(#pa-x) table.variations select:focus,
body.pa-shop:not(#pa-x) input:focus, body.pa-shop:not(#pa-x) select:focus, body.pa-shop:not(#pa-x) textarea:focus { border-color: var(--pa-brown) !important; outline: none; }
body.pa-shop:not(#pa-x) .reset_variations { color: var(--pa-muted) !important; font-size: 14px !important; }
body.pa-shop:not(#pa-x) .quantity button, body.pa-shop:not(#pa-x) .quantity .plus, body.pa-shop:not(#pa-x) .quantity .minus,
body.pa-shop:not(#pa-x) .shopengine-qty-btn, body.pa-shop:not(#pa-x) [class*="qty-btn"] {
	border-radius: 0 !important; border-color: var(--pa-line) !important; background: #fff !important; color: var(--pa-text) !important;
}

/* Мета (артикул, категорія) */
body.pa-shop:not(#pa-x) .product_meta, body.pa-shop:not(#pa-x) .product_meta * { font-size: 14px !important; color: var(--pa-muted) !important; }
body.pa-shop:not(#pa-x) .product_meta a { color: var(--pa-brown) !important; }

/* Повний опис товару */
body.pa-shop:not(#pa-x) .pa-description { max-width: 820px; }
body.pa-shop:not(#pa-x) .pa-description h3 { margin: 36px 0 12px !important; }
body.pa-shop:not(#pa-x) .pa-description p, body.pa-shop:not(#pa-x) .pa-description li { font-size: 18px !important; line-height: 1.6 !important; color: var(--pa-text) !important; }
body.pa-shop:not(#pa-x) .pa-description ul { padding-left: 20px; margin: 0 0 8px; }
body.pa-shop:not(#pa-x) .pa-description li { margin-bottom: 10px; }
body.pa-shop:not(#pa-x) .pa-description li::marker { color: var(--pa-brown); }
body.pa-shop:not(#pa-x) .pa-description em { color: var(--pa-muted); }

/* ---------- Кошик і оформлення ---------- */
body.pa-shop:not(#pa-x) table.shop_table { border: 0 !important; border-radius: 0 !important; background: transparent !important; }
body.pa-shop:not(#pa-x) table.shop_table th { font-size: 16px !important; font-weight: 500 !important; color: var(--pa-muted) !important; background: transparent !important; border-color: var(--pa-line) !important; }
body.pa-shop:not(#pa-x) table.shop_table td { font-size: 16px !important; border-color: var(--pa-line) !important; background: transparent !important; }
body.pa-shop:not(#pa-x) table.shop_table td.product-name a { color: var(--pa-text) !important; font-size: 18px !important; }
body.pa-shop:not(#pa-x) .cart_totals, body.pa-shop:not(#pa-x) .shopengine-cart-totals, body.pa-shop:not(#pa-x) .woocommerce-checkout-review-order { background: var(--pa-card) !important; border-radius: 0 !important; }
body.pa-shop:not(#pa-x) .woocommerce-message, body.pa-shop:not(#pa-x) .woocommerce-info, body.pa-shop:not(#pa-x) .woocommerce-error {
	background: var(--pa-card) !important; border: 0 !important; border-left: 3px solid var(--pa-brown) !important;
	border-radius: 0 !important; color: var(--pa-text) !important; font-size: 16px !important;
}
body.pa-shop:not(#pa-x) .woocommerce-message::before, body.pa-shop:not(#pa-x) .woocommerce-info::before { color: var(--pa-brown) !important; }
body.pa-shop:not(#pa-x) a.remove { color: var(--pa-muted) !important; }

/* ---------- Кнопка кошика ---------- */
.pa-cart-link {
	position: fixed; top: 24px; right: 24px; z-index: 999;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 18px; background: var(--pa-brown); color: #fff !important;
	font-family: var(--pa-sans); font-size: 16px; text-decoration: none !important;
	transition: background-color .2s ease;
}
body.admin-bar .pa-cart-link { top: 56px; }
.pa-cart-link:hover { background: var(--pa-brown-hover); }
.pa-cart-count {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px;
	background: #fff; color: var(--pa-brown) !important; font-size: 14px; font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* ---------- Мобільна версія ---------- */
@media (max-width: 1024px) {
	body.pa-shop:not(#pa-x) .archive-title, body.pa-shop:not(#pa-x) .shopengine-archive-title .archive-title, body.pa-shop:not(#pa-x) .entry-title { font-size: 42px !important; }
	body.pa-shop:not(#pa-x) .product_title, body.pa-shop:not(#pa-x) .elementor-widget-shopengine-product-title .product-title,
	body.pa-shop:not(#pa-x) .elementor-widget-shopengine-product-title h1, body.pa-shop:not(#pa-x) .elementor-heading-title { font-size: 36px !important; }
	body.pa-shop:not(#pa-x) ul.products li.product .woocommerce-loop-product__title { font-size: 22px !important; }
}
@media (max-width: 767px) {
	body.pa-shop:not(#pa-x) .archive-title, body.pa-shop:not(#pa-x) .shopengine-archive-title .archive-title, body.pa-shop:not(#pa-x) .entry-title { font-size: 32px !important; }
	body.pa-shop:not(#pa-x) .product_title, body.pa-shop:not(#pa-x) .elementor-widget-shopengine-product-title .product-title,
	body.pa-shop:not(#pa-x) .elementor-widget-shopengine-product-title h1, body.pa-shop:not(#pa-x) .elementor-heading-title { font-size: 28px !important; }
	body.pa-shop:not(#pa-x) h3 { font-size: 22px !important; }
	body.pa-shop:not(#pa-x) ul.products li.product .woocommerce-loop-product__title { font-size: 18px !important; }
	body.pa-shop:not(#pa-x) ul.products li.product .price { font-size: 16px !important; }
	body.pa-shop:not(#pa-x) .pa-description p, body.pa-shop:not(#pa-x) .pa-description li,
	body.pa-shop:not(#pa-x) .woocommerce-product-details__short-description p { font-size: 16px !important; }
	.pa-cart-link { top: auto; bottom: 16px; right: 16px; }
	body.admin-bar .pa-cart-link { top: auto; }
}

/* ---------- Перебиваємо стилі шаблонів ShopEngine (вони з !important і довгими селекторами) ---------- */
body.pa-shop:not(#pa-x) .shopengine-widget .archive-product-container,
body.pa-shop:not(#pa-x) .shopengine-widget li.archive-product-container {
	border: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important;
	display: flex !important;
}
body.pa-shop:not(#pa-x) .shopengine-widget .archive-product-container > li.product,
body.pa-shop:not(#pa-x) .shopengine-widget .archive-product-container .product { flex: 1 1 auto; width: 100% !important; }
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-archive-products .shopengine-archive-products .product img,
body.pa-shop:not(#pa-x) ul.products li.product a img {
	aspect-ratio: 4 / 5 !important; height: auto !important; object-fit: cover !important; margin: 0 0 20px !important;
}
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-archive-products .shopengine-archive-products .product .price { padding: 0 !important; }
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-archive-products .shopengine-archive-products .product a.button:not(.shopengine-quickview-trigger),
body.pa-shop:not(#pa-x) .elementor-widget .shopengine-widget .product a.button:not(.shopengine-quickview-trigger) {
	background: var(--pa-card) !important; background-color: var(--pa-card) !important;
	border: 1px solid var(--pa-card) !important; border-radius: 0 !important;
	color: var(--pa-muted) !important; padding: 16px 20px !important; font-size: 16px !important;
	width: 100% !important; text-align: center !important; margin-top: auto !important;
}
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-archive-products .shopengine-archive-products .product:hover a.button:not(.shopengine-quickview-trigger),
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-archive-products .shopengine-archive-products .product a.button:not(.shopengine-quickview-trigger):hover {
	background: var(--pa-brown) !important; background-color: var(--pa-brown) !important; border-color: var(--pa-brown) !important; color: #fff !important;
}
body.pa-shop:not(#pa-x) .shopengine-archive-view-mode a,
body.pa-shop:not(#pa-x) .shopengine-archive-view-mode button { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.pa-shop:not(#pa-x) .shopengine-filter-group-toggle { border-radius: 0 !important; border: 1px solid var(--pa-brown) !important; background: transparent !important; color: var(--pa-brown) !important; padding: 12px 22px !important; }
body.pa-shop:not(#pa-x) .shopengine-filter-group-toggle:hover { background: var(--pa-brown) !important; color: #fff !important; }

/* ---------- Кошик (ShopEngine) ---------- */
body.pa-shop:not(#pa-x) .shopengine-cart-table .shopengine-table__head {
	background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--pa-line) !important;
}
body.pa-shop:not(#pa-x) .shopengine-cart-table .shopengine-table__head * { color: var(--pa-muted) !important; font-weight: 500 !important; font-size: 14px !important; }
body.pa-shop:not(#pa-x) .shopengine-cart-table .shopengine-table__body,
body.pa-shop:not(#pa-x) .shopengine-cart-table .shopengine-table__footer,
body.pa-shop:not(#pa-x) .shopengine-cart-table .shopengine-table__body-item {
	background: transparent !important; border-color: var(--pa-line) !important;
}
body.pa-shop:not(#pa-x) .shopengine-cart-table .shopengine-table__body-item { border-bottom: 1px solid var(--pa-line) !important; }
body.pa-shop:not(#pa-x) .shopengine-cart-table a:not(.remove):not(.button),
body.pa-shop:not(#pa-x) .shopengine-cart-table .product-title a,
body.pa-shop:not(#pa-x) .shopengine-cart-table .product-name a { color: var(--pa-text) !important; font-size: 16px !important; }
body.pa-shop:not(#pa-x) .shopengine-cart-table .product-remove,
body.pa-shop:not(#pa-x) .shopengine-cart-table .product-remove *,
body.pa-shop:not(#pa-x) .shopengine-cart-table a.remove { color: var(--pa-muted) !important; background: transparent !important; }
body.pa-shop:not(#pa-x) .shopengine-cart-table .product-remove svg path,
body.pa-shop:not(#pa-x) .shopengine-cart-table .product-remove i { fill: var(--pa-muted) !important; color: var(--pa-muted) !important; }
body.pa-shop:not(#pa-x) .shopengine-cart-table .product-remove:hover *,
body.pa-shop:not(#pa-x) .shopengine-cart-table a.remove:hover { color: var(--pa-brown) !important; }
body.pa-shop:not(#pa-x) .shopengine-cart-table .shopengine-cart-quantity button,
body.pa-shop:not(#pa-x) .shopengine-cart-table .quantity button,
body.pa-shop:not(#pa-x) .shopengine-cart-table [class*="qty"] button {
	background: transparent !important; border: 1px solid var(--pa-line) !important; border-radius: 0 !important; color: var(--pa-text) !important;
}
body.pa-shop:not(#pa-x) .shopengine-cart-table .update-cart-btn,
body.pa-shop:not(#pa-x) .shopengine-cart-table .shopengine-footer-button {
	background: transparent !important; border: 1px solid var(--pa-brown) !important; color: var(--pa-brown) !important; border-radius: 0 !important;
}
body.pa-shop:not(#pa-x) .shopengine-cart-table .update-cart-btn:hover { background: var(--pa-brown) !important; color: #fff !important; }
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-cart-totals,
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-cart-totals .elementor-widget-container,
body.pa-shop:not(#pa-x) .elementor-widget-shopengine-cart-totals .shopengine-widget { background: transparent !important; box-shadow: none !important; border: 0 !important; }
body.pa-shop:not(#pa-x) .shopengine-cart-totals { background: var(--pa-card) !important; padding: 8px 24px 24px !important; }
body.pa-shop:not(#pa-x) .shopengine-cart-totals tr,
body.pa-shop:not(#pa-x) .shopengine-cart-totals th,
body.pa-shop:not(#pa-x) .shopengine-cart-totals td,
body.pa-shop:not(#pa-x) .shopengine-cart-totals [class*="row"] { background: transparent !important; border-color: var(--pa-line) !important; color: var(--pa-text) !important; font-size: 16px !important; }
body.pa-shop:not(#pa-x) .shopengine-cart-totals .order-total *,
body.pa-shop:not(#pa-x) .shopengine-cart-totals .order-total .amount { font-size: 20px !important; font-weight: 600 !important; }
body.pa-shop:not(#pa-x) .shopengine-cart-totals .checkout-button { width: 100% !important; display: flex !important; justify-content: center; align-items: center; gap: 10px; margin-top: 16px !important; }

/* ---------- Оформлення замовлення (AeroCheckout прибирає body-клас, тому окрема область) ---------- */
body.wfacp_main_wrapper {
	--pa-bg: #F2F1ED; --pa-card: #ECEAE5; --pa-line: #DEDAD5; --pa-brown: #4A331E; --pa-brown-hover: #2F2013;
	--pa-text: #1E1B17; --pa-muted: #6B655D; --pa-serif: "Lora", Georgia, serif; --pa-sans: "Gilroy", Arial, sans-serif;
}
body.wfacp_main_wrapper:not(#pa-x),
body.wfacp_main_wrapper:not(#pa-x) #wfacp-e-form,
body.wfacp_main_wrapper:not(#pa-x) .wfacp_main_form,
body.wfacp_main_wrapper:not(#pa-x) .wfacp-form,
body.wfacp_main_wrapper:not(#pa-x) .wfacp_header,
body.wfacp_main_wrapper:not(#pa-x) .wfacp-header,
body.wfacp_main_wrapper:not(#pa-x) .wfacp_footer_sec,
body.wfacp_main_wrapper:not(#pa-x) .wfacp-panel-wrapper,
body.wfacp_main_wrapper:not(#pa-x) .wfacp-left-panel,
body.wfacp_main_wrapper:not(#pa-x) .wfacp_page,
body.wfacp_main_wrapper:not(#pa-x) .wfacp-container { background-color: var(--pa-bg) !important; }
body.wfacp_main_wrapper:not(#pa-x) .wfacp-right-panel,
body.wfacp_main_wrapper:not(#pa-x) .wfacp-right-wrapper,
body.wfacp_main_wrapper:not(#pa-x) .wfacp_order_summary_container,
body.wfacp_main_wrapper:not(#pa-x) .wfacp_mini_cart_start_h { background-color: var(--pa-card) !important; border-color: var(--pa-line) !important; }
body.wfacp_main_wrapper:not(#pa-x) *:not(i):not([class*="icon"]):not(.dashicons) { font-family: var(--pa-sans) !important; }
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .wfacp_section_title,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .wfacp-order-summary-label,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .wfacp_mini_cart_start_h .wfacp-order-summary-label {
	font-family: var(--pa-serif) !important; font-size: 28px !important; font-weight: 400 !important;
	text-transform: none !important; letter-spacing: 0 !important; color: var(--pa-text) !important;
}
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .form-row input.input-text,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .form-row select,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .form-row textarea,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .select2-container .select2-selection {
	border: 1px solid var(--pa-line) !important; border-radius: 0 !important; background-color: #fff !important;
	color: var(--pa-text) !important; font-size: 16px !important; box-shadow: none !important;
}
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .form-row input.input-text:focus,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .form-row textarea:focus { border-color: var(--pa-brown) !important; }
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .form-row label,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .wfacp-form-control-label { color: var(--pa-muted) !important; font-size: 14px !important; }
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) #place_order,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) button#place_order,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .wfacp-order-place-btn,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .wfacp_payment .button {
	background: var(--pa-brown) !important; background-color: var(--pa-brown) !important; border: 1px solid var(--pa-brown) !important;
	border-radius: 0 !important; color: #fff !important; font-size: 16px !important; font-weight: 500 !important;
	text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important;
}
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) #place_order:hover { background: var(--pa-brown-hover) !important; border-color: var(--pa-brown-hover) !important; }
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .wc_payment_methods,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .wc_payment_method,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .payment_box { background: #fff !important; border-color: var(--pa-line) !important; border-radius: 0 !important; color: var(--pa-text) !important; }
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .order-total .amount,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .order-total td,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .order-total th { color: var(--pa-text) !important; font-weight: 600 !important; }
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) a { color: var(--pa-brown) !important; }

/* Іконки, намальовані шрифтом: не чіпаємо їхній шрифт (стрілки галереї товару — eicons) */
body.pa-shop:not(#pa-x):not(#pa-y) .flex-direction-nav a,
body.pa-shop:not(#pa-x):not(#pa-y) .flex-direction-nav a::before,
body.pa-shop:not(#pa-x):not(#pa-y) .flex-direction-nav a::after { font-family: eicons !important; }
body.pa-shop:not(#pa-x):not(#pa-y) .shopengine-product-image .flex-direction-nav a { color: var(--pa-brown) !important; }

/* Кошик: підписи колонок на мобільному (псевдоелементи) і стрілочки в полі кількості */
body.pa-shop:not(#pa-x) .shopengine-cart-table *::before,
body.pa-shop:not(#pa-x) .shopengine-cart-table *::after { color: var(--pa-muted) !important; }
body.pa-shop:not(#pa-x) input.qty::-webkit-outer-spin-button,
body.pa-shop:not(#pa-x) input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.pa-shop:not(#pa-x) input.qty { -moz-appearance: textfield; appearance: textfield; text-align: center; }

/* Порожній кошик — без лічильника */
.pa-cart-count[hidden] { display: none !important; }

/* Каталог: легке наближення фото при наведенні на картку.
   Посилання обрізає фото по краях; під фото є відступ 20px, тож воно не наїжджає на текст. */
body.pa-shop:not(#pa-x) ul.products li.product a.woocommerce-LoopProduct-link { overflow: hidden; }
body.pa-shop:not(#pa-x) ul.products li.product a.woocommerce-LoopProduct-link img {
	transform: scale(1); transform-origin: center center;
	transition: transform .6s cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
}
@media (hover: hover) {
	body.pa-shop:not(#pa-x) ul.products li.product:hover a.woocommerce-LoopProduct-link img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
	body.pa-shop:not(#pa-x) ul.products li.product a.woocommerce-LoopProduct-link img { transition: none; transform: none !important; }
}

/* ---------- Сторінка змінного товару: без «від …» і вибір об'єму плашками ---------- */
body.pa-shop.pa-variable:not(#pa-x) .elementor-widget-shopengine-product-price { display: none !important; }
body.pa-shop:not(#pa-x) table.variations,
body.pa-shop:not(#pa-x) table.variations tr,
body.pa-shop:not(#pa-x) table.variations th,
body.pa-shop:not(#pa-x) table.variations td { display: block !important; width: auto !important; padding: 0 !important; text-align: left !important; }
body.pa-shop:not(#pa-x) table.variations th label,
body.pa-shop:not(#pa-x) table.variations .label label { display: block; margin: 0 0 12px !important; font-size: 16px !important; font-weight: 500 !important; color: var(--pa-text) !important; }
body.pa-shop:not(#pa-x) select.pa-swatch-select {
	position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important;
	padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0;
}
body.pa-shop:not(#pa-x) .pa-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
body.pa-shop:not(#pa-x) .pa-swatch {
	min-width: 96px; padding: 14px 22px !important; margin: 0 !important;
	font-family: var(--pa-sans) !important; font-size: 16px !important; font-weight: 500 !important; line-height: 1.2 !important;
	text-transform: none !important; letter-spacing: 0 !important;
	background: #fff !important; color: var(--pa-text) !important;
	border: 1px solid var(--pa-line) !important; border-radius: 0 !important; box-shadow: none !important;
	cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
body.pa-shop:not(#pa-x) .pa-swatch:hover { border-color: var(--pa-brown) !important; }
body.pa-shop:not(#pa-x) .pa-swatch.is-active { background: var(--pa-brown) !important; border-color: var(--pa-brown) !important; color: #fff !important; }
body.pa-shop:not(#pa-x) .pa-swatch:focus-visible { outline: 2px solid var(--pa-brown); outline-offset: 2px; }
body.pa-shop:not(#pa-x) .pa-swatch:disabled { opacity: .4; cursor: not-allowed; }
body.pa-shop:not(#pa-x) table.variations .reset_variations { display: none !important; }
body.pa-shop:not(#pa-x) .woocommerce-variation-price .price { margin: 12px 0 16px !important; display: block; }
body.pa-shop:not(#pa-x) .pa-swatch:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }

/* ---------- Шапка магазину (тимчасова, до нової шапки сайту) ---------- */
body.pa-shop:not(#pa-x) .site-header { display: none !important; }
body.pa-shop:not(#pa-x) .pa-header { background: var(--pa-bg); border-bottom: 1px solid var(--pa-line); }
body.pa-shop:not(#pa-x) .pa-header__inner {
	max-width: 1200px; margin: 0 auto; padding: 18px 24px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
body.pa-shop:not(#pa-x) .pa-header__logo {
	font-family: var(--pa-serif) !important; font-size: 28px !important; line-height: 1 !important;
	color: var(--pa-text) !important; text-decoration: none !important; letter-spacing: 0 !important; white-space: nowrap;
}
body.pa-shop:not(#pa-x) .pa-header__meta { display: flex; align-items: center; gap: 28px; }
body.pa-shop:not(#pa-x) .pa-header__loc,
body.pa-shop:not(#pa-x) .pa-header__phone {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 16px !important; color: var(--pa-text) !important; text-decoration: none !important; white-space: nowrap;
}
body.pa-shop:not(#pa-x) .pa-header__loc { text-decoration: underline !important; text-underline-offset: 4px; text-decoration-color: var(--pa-line) !important; }
body.pa-shop:not(#pa-x) .pa-header__phone:hover { color: var(--pa-brown) !important; }
body.pa-shop:not(#pa-x) .pa-header__meta svg { flex: none; color: var(--pa-brown); }
/* Кнопка кошика тепер у шапці, а не в кутку екрана */
body.pa-shop:not(#pa-x) .pa-header .pa-cart-link { position: static !important; top: auto !important; right: auto !important; }
@media (max-width: 1024px) {
	body.pa-shop:not(#pa-x) .pa-header__loc { display: none; }
}
@media (max-width: 767px) {
	body.pa-shop:not(#pa-x) .pa-header__inner { padding: 14px 16px; gap: 12px; }
	body.pa-shop:not(#pa-x) .pa-header__logo { font-size: 22px !important; }
	body.pa-shop:not(#pa-x) .pa-header__meta { gap: 14px; }
	body.pa-shop:not(#pa-x) .pa-header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	body.pa-shop:not(#pa-x) .pa-header__phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--pa-line); }
	body.pa-shop:not(#pa-x) .pa-header .pa-cart-link { padding: 11px 14px; }
}

/* ---------- Оформлення: напис замість логотипа ---------- */
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .pa-checkout-logo {
	display: inline-block; font-family: var(--pa-serif) !important; font-size: 28px; line-height: 1.2;
	color: var(--pa-text); letter-spacing: 0;
}
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .wfacp_logo_wrap { text-decoration: none !important; }
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .wfacp-inner-header { border-bottom: 1px solid var(--pa-line); }
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .wfacp-hd-list-sup,
body.wfacp_main_wrapper:not(#pa-x):not(#pa-y) .wfacp-hd-list-phn { color: var(--pa-text) !important; font-size: 16px !important; }

/* Режим «шапка/футер сайту»: ховаємо стандартні шапку й футер теми */
body.pa-shop.pa-site-hf:not(#pa-x) .site-header, body.pa-shop.pa-site-hf:not(#pa-x) .site-footer { display: none !important; }

/* Шапка сайту (шаблон 1141) у магазині: фонова картинка 1512px стоїть «auto + repeat»,
   тож на широких екранах повторюється і справа з'являється зелений блок. Розтягуємо без повтору. */
body.pa-shop.pa-site-hf:not(#pa-x) .elementor-1141 .elementor-element.elementor-element-6338312 {
	background-size: cover !important;
	background-position: left top !important;
	background-repeat: no-repeat !important;
}
