:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #202938;
    background: #f7f8fa;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --ink: #202938;
    --muted: #657184;
    --line: #e3e7ed;
    --accent: #ec8300;
    --surface: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
.site-header { display: flex; align-items: center; gap: 1rem; padding: 1.2rem max(5vw, calc((100vw - 1120px) / 2)); background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-size: 1.35rem; font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.tagline, .muted { color: var(--muted); font-size: .9rem; }
.page-content { max-width: 1120px; width: 90%; margin: 0 auto; min-height: calc(100vh - 145px); padding: 3rem 0 4rem; }
.intro { margin: 0 0 3rem; max-width: 660px; }
.intro h1, .admin-panel h1 { margin: .35rem 0 .75rem; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.045em; line-height: 1.1; }
.intro > p:last-child, .admin-panel > p { color: var(--muted); line-height: 1.7; }
.eyebrow { color: #a95e00; font-size: .75rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-heading h2 { margin: 0; font-size: 1.35rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 1.25rem; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 5px 18px #2029380a; }
.product-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; padding: 1rem; background: #f2f4f7; }
.product-card-content { padding: 1rem; }
.product-card-content .eyebrow { margin: 0 0 .5rem; }
.product-card h3 { margin: 0 0 1rem; font-size: 1rem; }
.button, .page-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: .65rem 1rem; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font: inherit; font-size: .9rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover, .page-button:hover:not(:disabled) { background: #d97500; }
.button-secondary, .page-button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.page-button:disabled { color: #8b95a4; cursor: not-allowed; }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; flex-wrap: wrap; }
.empty-state { padding: 2rem; text-align: center; color: var(--muted); }
.admin-panel { max-width: 700px; margin: 1rem auto; padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.narrow-panel { max-width: 440px; }
.stacked-form { display: grid; gap: .75rem; margin-top: 1.5rem; }
.stacked-form label { font-size: .9rem; font-weight: 700; }
.stacked-form input { width: 100%; min-height: 46px; padding: .7rem .8rem; border: 1px solid #cbd2dc; border-radius: 8px; color: var(--ink); font: inherit; }
.stacked-form input:focus { outline: 3px solid #ec830033; border-color: var(--accent); }
.stacked-form .button { justify-self: start; margin-top: .4rem; }
.validation-message, .form-message { color: #a32820; font-size: .9rem; }
.site-footer { padding: 1.25rem 5%; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: .8rem; }
@media (max-width: 560px) { .site-header { align-items: flex-start; flex-direction: column; gap: .25rem; } .page-content { padding-top: 2rem; } }
