/*
Theme Name: DevArtStore
Theme URI: http://localhost:8081
Author: Silver Dave Ramos
Description: Block theme for DevArtStore — original paintings, prints and digital art. Warm paper palette, Playfair Display + DM Sans + IBM Plex Mono, styled for WooCommerce blocks through theme.json.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: devartstore
Tags: block-theme, full-site-editing, e-commerce, woocommerce
*/

/*
 * Small global refinements theme.json can't express.
 * Colours, fonts and sizes always come from theme.json presets (var(--wp--preset--…)).
 */

h1, h2, h3, .wp-block-post-title {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* Mono "eyebrow" label used across patterns and templates. */
.is-style-eyebrow,
.das-eyebrow {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-2);
}

/* Visible keyboard focus everywhere (buttons, links, inputs). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* Sticky header with a hairline rule. */
.das-header {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .das-header {
	top: var(--wp-admin--admin-bar--height, 0px);
}
@media (max-width: 600px) {
	.admin-bar .das-header {
		top: 0;
	}
}

/* Header: keep the brand + icons on one row at phone width. */
.das-header__row {
	gap: var(--wp--preset--spacing--30);
}
.das-header__tools {
	gap: var(--wp--preset--spacing--30);
}
.das-header .wp-block-site-title {
	white-space: nowrap;
}

/* Image links in category tiles: subtle zoom on hover. */
.das-tile .wp-block-image {
	overflow: hidden;
}
.das-tile .wp-block-image img {
	transition: transform 0.6s ease;
}
.das-tile:hover .wp-block-image img {
	transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
	.das-tile .wp-block-image img {
		transition: none;
	}
}

/* Numbered process steps in the commission pattern. */
.das-step__num {
	font-family: var(--wp--preset--font-family--mono);
	color: var(--wp--preset--color--accent);
}

/* Unstyled link lists (footer). */
.das-plain-list {
	list-style: none;
	padding-left: 0;
	margin-top: 0.5rem;
}
.das-plain-list li + li {
	margin-top: 0.4rem;
}
.das-plain-list a {
	text-decoration: none;
}
.das-plain-list a:hover {
	text-decoration: underline;
}
