/* StoreForge Base — small additions to theme.json. */
:where(body) { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(img) { height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }

.is-style-sticky-header { position: sticky; top: 0; z-index: 100; }
.admin-bar .is-style-sticky-header { top: var(--wp-admin--admin-bar--height, 32px); }

.wp-block-group.is-style-card { background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--medium); padding: var(--wp--preset--spacing--40); }

.wp-block-heading.is-style-eyebrow { font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--small); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--wp--preset--color--primary); }

ul.is-style-checklist { list-style: none; padding-left: 0; }
ul.is-style-checklist li { position: relative; padding-left: 1.75em; }
ul.is-style-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--primary); font-weight: 700; }

.wp-block-details { border-bottom: 1px solid var(--wp--preset--color--border); padding: 1em 0; }
.wp-block-details summary { cursor: pointer; font-weight: 600; }

.wp-block-post-featured-image img, .wc-block-components-product-image img, .wc-block-grid__product-image img { border-radius: var(--wp--custom--radius--medium); }
.wc-block-components-product-image { overflow: hidden; border-radius: var(--wp--custom--radius--medium); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
html { scroll-behavior: smooth; }
