/*
Theme Name: PSG Base
Description: Plain, brand-neutral block theme for the prescription safety glasses store. All brand tokens (colours, fonts, sizes, spacing) live in theme.json so the site can be rebranded in one place.
Version: 0.1.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
Author: PSG
Text Domain: psg-base
License: Proprietary
*/

/*
 * Keep this file tiny. Styling belongs in theme.json wherever possible.
 * Only add rules here for things theme.json genuinely can't express.
 */

/* Sticky header so cart/account are always reachable on mobile. */
.psg-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
}

/* Clear keyboard focus outlines (accessibility). */
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

/* Placeholder notice used on pages awaiting real content. */
.psg-placeholder {
	border: 1px dashed var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface);
	padding: var(--wp--preset--spacing--40);
	border-radius: 6px;
}

/* Cart, checkout and mini-cart: show each item detail (lens, tint, prescription…) on its own line. */
.wc-block-components-product-details > span { display: block; }
.wc-block-components-product-details > span > span[aria-hidden="true"] { display: none; }
.wc-block-components-product-details__name { font-weight: 600; }
