/* Showroom – lightweight base styles. Pale concrete, warm wood, one accent. */
:root {
	--sr-bg: #efede8;
	--sr-surface: #faf9f6;
	--sr-ink: #1d1d1b;
	--sr-muted: #6b6a66;
	--sr-line: rgba(29, 29, 27, 0.14);
	--sr-accent: #1d1d1b;
	--sr-accent-ink: #fff;
	--sr-focus: #2563eb;
	--sr-wood: #c9a27c;
	--sr-radius: 12px;
	--sr-font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--sr-bg);
	color: var(--sr-ink);
	font-family: var(--sr-font);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--sr-focus); outline-offset: 2px; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.screen-reader-text:focus,
.skip-link:focus {
	position: fixed !important; top: 0.5rem; left: 0.5rem; z-index: 100000;
	width: auto; height: auto; margin: 0; padding: 0.75rem 1rem; clip: auto; clip-path: none;
	background: var(--sr-surface); color: var(--sr-ink); box-shadow: 0 4px 20px rgba(0,0,0,.2); border-radius: 8px;
}

.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.layout { padding-block: 2.5rem 4rem; }
.content-area { max-width: 760px; margin-inline: auto; }
.content-area--wide { max-width: none; }

/* Header */
.site-header { background: var(--sr-surface); border-bottom: 1px solid var(--sr-line); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.site-title { margin: 0; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.22em; text-transform: uppercase; }
.site-title a { text-decoration: none; }
.custom-logo { display: block; max-height: 44px; width: auto; }

.main-navigation ul { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.main-navigation a { display: block; padding: 0.6rem 0.9rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.main-navigation a:hover,
.main-navigation .current-menu-item > a { background: rgba(29,29,27,.08); }
.menu-toggle { display: none; min-height: 44px; padding: 0 1rem; border: 1px solid var(--sr-line); border-radius: 999px; background: transparent; font: inherit; font-weight: 600; cursor: pointer; }

@media (max-width: 760px) {
	.menu-toggle { display: inline-flex; align-items: center; }
	.main-navigation { position: relative; }
	.main-navigation ul { display: none; position: absolute; right: 0; top: calc(100% + 0.5rem); min-width: 220px; flex-direction: column; padding: 0.5rem; background: var(--sr-surface); border: 1px solid var(--sr-line); border-radius: var(--sr-radius); box-shadow: 0 12px 30px rgba(0,0,0,.14); }
	.main-navigation.is-open ul { display: flex; }
}

/* Entries */
.entry { margin-bottom: 3rem; }
.entry-title { margin: 0 0 0.5rem; }
.entry-title a { text-decoration: none; }
.entry-meta { color: var(--sr-muted); font-size: 0.875rem; }
.entry__thumb, .entry__hero { display: block; margin-bottom: 1rem; border-radius: var(--sr-radius); overflow: hidden; }
.entry-content > * { max-width: 100%; }
.entry-content .alignwide { max-width: min(1120px, 100vw - 2.5rem); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.page-header { margin-bottom: 2rem; }
.page-title { margin: 0; }
.page-links, .pagination, .post-navigation { margin-block: 2rem; }
.nav-links { display: flex; gap: 1rem; justify-content: space-between; flex-wrap: wrap; }
.page-numbers { display: inline-block; padding: 0.5rem 0.85rem; border-radius: 999px; text-decoration: none; }
.page-numbers.current { background: var(--sr-accent); color: var(--sr-accent-ink); }

/* Forms */
input[type='text'], input[type='email'], input[type='url'], input[type='password'], input[type='search'], input[type='number'], textarea, select {
	width: 100%; min-height: 44px; padding: 0.6rem 0.85rem; border: 1px solid var(--sr-line); border-radius: 10px; background: #fff; color: inherit; font: inherit;
}
button, .button, input[type='submit'], .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.4rem; border: 1px solid var(--sr-accent);
	border-radius: 999px; background: var(--sr-accent); color: var(--sr-accent-ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
button:hover, .button:hover, input[type='submit']:hover { opacity: .88; }
.search-form { display: flex; gap: 0.5rem; }
.search-form .search-field { flex: 1; }

/* Comments */
.comments-area { margin-top: 3rem; }
.comment-list { padding-left: 0; list-style: none; }
.comment-body { padding: 1rem 0; border-top: 1px solid var(--sr-line); }

/* Footer */
.site-footer { margin-top: 2rem; padding-block: 2.5rem; background: var(--sr-surface); border-top: 1px solid var(--sr-line); color: var(--sr-muted); font-size: 0.9rem; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 1.5rem; }
.footer-navigation ul { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.site-info { margin: 0; }

/* Immersive template: nothing but the content, edge to edge. */
.showroom-immersive { background: #e4e2dc; margin: 0; }
.immersive { margin: 0; padding: 0; max-width: none; }
.immersive > .vs3d-store { margin: 0; }
.admin-bar .immersive .vs3d-store--viewport { height: calc(100vh - 32px); height: calc(100dvh - 32px); }
@media (max-width: 782px) { .admin-bar .immersive .vs3d-store--viewport { height: calc(100vh - 46px); height: calc(100dvh - 46px); } }

/* WooCommerce basics */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto; margin: 0; float: none; }

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