/* Ayorn Tools — katalog (tylko w trybie testowym dla admina z ?ay_test=1 albo po przełączeniu na cały sklep). */

/* Nagłówek kategorii */
.shop-page-title .page-title,
.category-page-title .page-title { font-weight: 400; letter-spacing: .01em; text-transform: none; }
.ay-kat-opis { max-width: 68ch; margin: 0 0 22px; color: #6f645d; font-size: .98em; line-height: 1.6; }

/* Karta produktu w siatce */
.products .product-small .box-text { padding-top: 12px; }
.products .product-small .name,
.products .product-small .product-title { font-size: .95em; line-height: 1.35; }
.products .product-small .price { font-weight: 600; color: #241c18; }
.products .product-small .box-image { border-radius: 12px; overflow: hidden; }

/* Przycisk „Dodaj do koszyka” / „Wybierz opcje” pod kartą */
.products .product-small .add-to-cart-button { margin-top: 10px; }
.products .product-small .add-to-cart-button .button,
.products .product-small a.add_to_cart_button,
.products .product-small a.product_type_simple,
.products .product-small a.product_type_variable {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #c7aa9d !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #241c18 !important;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 1.2;
	transition: background .2s ease, border-color .2s ease;
}
.products .product-small .add-to-cart-button .button:hover,
.products .product-small a.add_to_cart_button:hover {
	background: linear-gradient(135deg, #d0b8ae, #c7aa9d) !important;
	border-color: transparent !important;
}
.products .product-small a.added_to_cart { display: block; margin-top: 6px; font-size: .8em; text-align: center; }

@media (max-width: 549px) {
	.products .product-small .add-to-cart-button .button,
	.products .product-small a.add_to_cart_button { min-height: 38px; font-size: 10px; letter-spacing: .06em; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.products .product-small a.add_to_cart_button { transition: none; }
}

/* Równe karty: przycisk zawsze na dole, w jednej linii w rzędzie (bez „schodków” przy nazwach różnej długości), 17.10 */
.products .product-small.col > .col-inner { height: 100%; display: flex; flex-direction: column; }
.products .product-small.box { flex: 1 1 auto; display: flex; flex-direction: column; }
.products .product-small .box-text { flex: 1 1 auto; display: flex; flex-direction: column; }
.products .product-small .box-text > .add-to-cart-button, .products .product-small .box-text .add-to-cart-button { margin-top: auto; padding-top: 10px; }
.products .product-small .name, .products .product-small .product-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }

/* 17.10 (D73): większy nagłówek kategorii */
.shop-page-title .page-title, .category-page-title .page-title, .shop-page-title h1, .category-page-title h1 { font-size: clamp(30px, 3.2vw, 46px) !important; line-height: 1.12 !important; margin-bottom: 6px !important; }
.ay-kat-opis, .term-description { font-size: 16px; line-height: 1.65; color: #4a413b; max-width: 70ch; }
