/*
Theme Name: Astra Child — Original Niche
Theme URI: https://original-niche.ru/
Template: astra
Author: Original Niche
Description: Дочерняя тема Astra для original-niche.ru — кастомные стили и функции.
Version: 1.0.0
Text Domain: astra-child
*/

/* Кастомные стили сайта — ниже этой строки */

/* === Кнопки мессенджеров (все страницы) === */
.on-msg-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.on-msg-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 20px; border-radius: 8px;
	font-size: 14px; font-weight: 600; text-decoration: none;
	color: #fff !important; transition: opacity .15s ease;
}
.on-msg-btn:hover { opacity: .85; color: #fff !important; }
.on-msg-max { background: linear-gradient(100deg, #44CCFF, #5533EE 66%, #9933DD); }
.on-msg-tg { background: #229ED9; }
.on-msg-wa { background: #25D366; }
@media (max-width: 600px) {
	.on-msg-btn { flex: 1 1 0; justify-content: center; padding: 10px 4px; font-size: 12.5px; gap: 5px; min-width: 0; }
	.on-msg-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
}

/* === Листинг: выравнивание карточек и кнопок по низу === */
ul.products li.product {
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
}
ul.products li.product .astra-shop-summary-wrap {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
}
ul.products li.product .astra-shop-summary-wrap > :last-child {
	margin-top: auto !important;
}
ul.products li.product a.button,
ul.products li.product .added_to_cart {
	align-self: center !important;
}

ul.products li.product .woocommerce-loop-product__title {
	min-height: 2.6em;
}