/*
Theme Name: Botanical Rivers
Template: twentytwentyfive
Description: Black & white line-art apothecary child theme for Botanical Rivers.
Version: 1.1.0
Requires at least: 6.7
Text Domain: botanical-rivers
*/

/* Photos read as monochrome engravings; generated placeholders are already B&W. */
.br-mono img,
.wp-block-post-featured-image img,
.wc-block-components-product-image img,
.woocommerce-product-gallery img {
	filter: grayscale(1) contrast(1.05);
}

/* Hairline frames, like plates in an old herbal. */
.br-plate {
	border: 1px solid var(--wp--preset--color--contrast);
	outline: 1px solid var(--wp--preset--color--contrast);
	outline-offset: 4px;
	padding: 6px;
}

.wp-block-site-title { white-space: nowrap; }

.br-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.75rem;
}

/* Outlined buttons that invert on hover. */
.wp-element-button,
.wp-block-button__link,
.wc-block-components-button:not(.is-link) {
	transition: background-color .15s, color .15s;
}
.wp-element-button:hover,
.wp-block-button__link:hover,
.wc-block-components-button:not(.is-link):hover {
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
}

/* Product cards: thin frame. */
.wc-block-product,
.wp-block-woocommerce-product-template > li {
	border: 1px solid var(--wp--preset--color--accent-6);
	padding: var(--wp--preset--spacing--20);
}

.br-legal-note {
	border: 1px dashed var(--wp--preset--color--contrast);
}

/* Category chips on the home page. */
.br-cats { gap: 0.75rem; }

/* Shop shelves: leave room for the header when jumping to a section. */
.br-shop-section { scroll-margin-top: 1.5rem; }
.br-cats { margin-block: var(--wp--preset--spacing--30); }

/* "Not for sale in" note on product pages (from mu-plugin). */
.br-restricted {
	font-size: 0.85rem;
	border-left: 2px solid var(--wp--preset--color--contrast);
	padding-left: 0.75rem;
}
