/**
 * FlourishAI public surface pass — 2026-08-31
 *
 * Centralized, documented, reusable. Do not scatter local overrides.
 * Native GP container_width is 1200px. This layer does not fight that rail.
 *
 * Fixes:
 *  - Woo price range leaking screen-reader "Price range..." (visible trailing P)
 *  - Duplicate post dates (published + updated)
 *  - Article heading/spacing rhythm
 *  - Mobile overflow on galleries and wide tables
 *  - Focus rings and tap targets
 *  - Parent nav items that are real destinations (no hover-only #)
 */

/* --- Price: hide Woo range SR text that was painting after $xx.95 --- */
.woocommerce .price .screen-reader-text,
.woocommerce div.product p.price .screen-reader-text,
.woocommerce ul.products li.product .price .screen-reader-text,
.tq-product-card__price .screen-reader-text {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	width: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
	word-wrap: normal !important;
}

.woocommerce div.product p.price,
.woocommerce ul.products li.product .price,
.tq-product-card__price {
	overflow: visible;
	white-space: nowrap;
	max-width: 100%;
}

@media (max-width: 480px) {
	.woocommerce div.product p.price {
		white-space: normal;
	}
}

/* --- Dates: show published once --- */
.entry-meta time.updated {
	display: none;
}

.entry-meta time.published,
.entry-meta time.entry-date {
	display: inline;
}

/* --- Article / page prose inside the 1200 rail --- */
.single-post .entry-content,
.page .entry-content,
.blog .entry-summary {
	max-width: 42rem;
}

.single-product .entry-summary,
.single-product .woocommerce-tabs {
	max-width: 100%;
}

.single-post .entry-header,
.page:not(.woocommerce) .entry-header {
	margin-bottom: 1.25rem;
}

.single-post .entry-content h2,
.page .entry-content h2 {
	font-size: 1.5rem;
	line-height: 1.3;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.single-post .entry-content p,
.page .entry-content p {
	margin-bottom: 1rem;
}

/* --- Overflow --- */
.entry-content img,
.woocommerce-product-gallery img {
	max-width: 100%;
	height: auto;
}

.woocommerce-product-gallery {
	max-width: 100%;
	overflow: hidden;
}

body {
	overflow-x: hidden;
}

/* --- Focus and tap --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible {
	outline: var(--tq-focus-ring, 2px solid #3ecfcf);
	outline-offset: var(--tq-focus-offset, 2px);
}

.main-navigation .main-nav ul li a,
.menu-toggle,
.woocommerce a.button,
.woocommerce button.button {
	min-height: 44px;
}

/* --- Footer completeness --- */
.site-info {
	font-size: 0.8125rem;
}

/* Collection cards stay square; no extra mockup crop fights */
.woocommerce ul.products li.product img {
	width: 100%;
	height: auto;
	object-fit: cover;
}
