/* DuckSell · shared storefront, administration and setup design system. */
:root {
    --ink: #223b30;
    --muted: #68796d;
    --accent: #245e47;
    --accent-soft: #eff4ee;
    --line: #d9e1d7;
    --paper: #fff;
    --canvas: #fbfcf9;
    --danger: #a54436;
    --radius: 4px;
    --shell: 1280px;
    --gutter: clamp(20px, 4vw, 64px);
    color-scheme: light;
    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--ink);
    background: var(--canvas);
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-padding-top: 32px;
}
body {
    margin: 0;
    min-width: 280px;
}
body,
button,
input,
select,
textarea {
    font-family: inherit;
}
button,
input,
select,
textarea {
    font-size: 16px;
    line-height: 1.5;
}
button,
a,
input,
select,
textarea,
summary {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
button:disabled {
    opacity: 0.5;
    cursor: default;
}
a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 5px;
}
a:hover {
    text-decoration: underline;
}
img,
svg {
    max-width: 100%;
    vertical-align: middle;
}
img {
    height: auto;
}
button svg,
a svg {
    flex-shrink: 0;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl {
    margin: 0;
}
h1,
h2,
h3,
h4 {
    font-weight: 550;
    line-height: 1.18;
    overflow-wrap: break-word;
}
h1 {
    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: -0.045em;
}
h2 {
    font-size: clamp(23px, 2.5vw, 32px);
    letter-spacing: -0.035em;
}
h3 {
    font-size: 20px;
    letter-spacing: -0.02em;
}
p {
    overflow-wrap: anywhere;
}
p + p {
    margin-top: 16px;
}
strong,
b {
    font-weight: 600;
}
small {
    font-size: 14px;
}
hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 28px 0;
}
form,
fieldset {
    margin: 0;
    min-width: 0;
}
fieldset {
    padding: 0;
    border: 0;
}
legend {
    font-weight: 550;
    padding: 0;
    font-size: 16px;
    margin-bottom: 10px;
}
label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    min-width: 0;
}
input,
select,
textarea {
    color: var(--ink);
    background: var(--paper);
    border: 1px solid #bdccbf;
    border-radius: var(--radius);
    min-width: 0;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    box-shadow: none;
}
input::placeholder,
textarea::placeholder {
    color: #819084;
    opacity: 1;
}
textarea {
    display: block;
    resize: vertical;
    min-height: 110px;
}
input:disabled {
    background: #f1f4ef;
    color: var(--muted);
}
input[type="file"] {
    max-width: 100%;
    padding: 8px;
    font-size: 14px;
    min-height: 46px;
}
input::file-selector-button {
    border: 0;
    padding: 5px 10px;
    color: var(--ink);
    background: var(--accent-soft);
    margin-right: 12px;
    font: inherit;
    border-radius: 2px;
}
select {
    appearance: none;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23536559' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    text-overflow: ellipsis;
}
input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    padding: 0;
    margin: 3px 0 0;
    accent-color: var(--accent);
    flex: 0 0 18px;
}
input[type="radio"] {
    border-radius: 50%;
}
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline-offset: 1px;
}
.check {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    font-weight: 400;
    line-height: 1.6;
}
.check span {
    min-width: 0;
}
.check .field-help {
    display: block;
    margin-top: 4px;
}
.check strong {
    display: block;
    font-weight: 500;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 46px;
    padding: 11px 20px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    border: 1px solid #b8c9bb;
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.button:hover {
    text-decoration: none;
    border-color: var(--accent);
    background: var(--accent-soft);
}
.button.primary {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}
.button.primary:hover {
    background: #184832;
    border-color: #184832;
}
.button.danger {
    color: var(--danger);
    border-color: #d2a89f;
    background: #fff;
}
.button.small {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 14px;
}
.button.wide {
    width: 100%;
    justify-content: space-between;
}
.button[aria-busy="true"] {
    opacity: 0.7;
}
.text-button,
.icon-button {
    font: inherit;
    color: inherit;
    background: transparent;
    border: 0;
    padding: 6px 0;
    min-height: 36px;
    cursor: pointer;
}
.text-button {
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.icon-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.danger {
    color: var(--danger);
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    padding-bottom: 5px;
}
.text-link:hover {
    border-color: var(--accent);
    text-decoration: none;
}
.muted,
.field-help {
    color: var(--muted);
}
.field-help {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}
.eyebrow {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.12em;
    font-weight: 550;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.lead {
    font-size: 18px;
    line-height: 1.75;
    color: var(--muted);
}
.stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.stack > *,
.actions > *,
.form-grid > *,
.panel > *,
.edit-grid > *,
.account-grid > *,
.order-layout > *,
.dashboard-grid > *,
.two-columns > * {
    min-width: 0;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.form-grid,
.two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
    align-items: start;
}
.form-grid > .button {
    align-self: end;
}
.full-width {
    grid-column: 1/-1;
}
.narrow {
    max-width: 720px;
    margin: 0 auto;
}
.break-all,
code {
    overflow-wrap: anywhere;
    word-break: break-word;
}
pre {
    overflow-x: auto;
    max-width: 100%;
    padding: 22px;
    background: #f2f5ef;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
pre code {
    word-break: normal;
    overflow-wrap: normal;
}
code,
.code-editor {
    font:
        14px/1.75 ui-monospace,
        SFMono-Regular,
        Consolas,
        monospace;
}
.code-editor {
    min-height: 120px;
    white-space: pre;
    overflow: auto;
}
.sr-only,
.honeypot {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
    z-index: 500;
}
.skip-link:focus {
    top: 12px;
}
[hidden],
input[type="hidden"] {
    display: none !important;
}
/* Header and language menu */
.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: calc(var(--shell) + 2 * var(--gutter));
    margin: auto;
    padding: 24px var(--gutter);
    display: flex;
    align-items: center;
    gap: 36px;
    min-height: 98px;
}
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 28px;
    letter-spacing: -1.4px;
    font-weight: 650;
    line-height: 1.1;
    flex-shrink: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.wordmark:hover {
    text-decoration: none;
}
.wordmark i {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: var(--accent);
    align-self: flex-start;
    margin: 5px 0 0 2px;
    flex-shrink: 0;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: 24px;
    font-size: 15px;
    flex-wrap: wrap;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    font-size: 14px;
    flex-shrink: 0;
}
.cart-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
}
.cart-trigger span {
    min-width: 25px;
    text-align: center;
    font-size: 12px;
    border: 1px solid var(--line);
    border-radius: 2px;
}
.main-shell {
    max-width: calc(var(--shell) + 2 * var(--gutter));
    margin: auto;
    padding: 0 var(--gutter) 80px;
    min-height: 50vh;
}
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(36px, 7vw, 110px);
    align-items: center;
    padding: 72px 0 64px;
}
.hero h1 {
    font-size: clamp(40px, 4.8vw, 70px);
    line-height: 1.06;
    letter-spacing: -0.055em;
    max-width: 660px;
}
.hero-description {
    font-size: 18px;
    line-height: 1.75;
    color: var(--muted);
    margin: 28px 0 32px;
    max-width: 490px;
}
.hero-copy > .button {
    min-width: 210px;
    justify-content: space-between;
}
.hero-feature {
    background: #f0f4eb;
    border: 1px solid #c8d6c4;
    min-height: 370px;
    padding: 26px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}
.feature-top,
.feature-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.04em;
}
.feature-top {
    border-bottom: 1px solid #c8d6c4;
    padding-bottom: 20px;
    text-transform: uppercase;
}
.feature-type {
    font-size: clamp(44px, 5vw, 72px);
    letter-spacing: -0.06em;
    line-height: 0.98;
    font-weight: 500;
}
.feature-type > span {
    display: block;
}
.feature-type > span:nth-child(2) {
    padding-left: 8%;
}
.feature-type > span:nth-child(3) {
    padding-left: 16%;
    color: #62866b;
}
.feature-type i {
    font-style: normal;
    color: #8fac81;
}
.feature-bottom {
    border-top: 1px solid #c8d6c4;
    padding-top: 20px;
}
.feature-bottom > span:last-child {
    font-size: 28px;
    line-height: 1;
}
.benefit-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 21px 0;
    gap: 24px;
}
.benefit-strip > span {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 14px;
}
.benefit-strip b {
    font-size: 12px;
    color: #87977f;
    font-weight: 400;
}
.benefit-strip > span + span {
    border-left: 1px solid var(--line);
    padding-left: 24px;
}
.collection {
    padding-top: 64px;
    scroll-margin-top: 24px;
}
.section-heading,
.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.section-heading .eyebrow,
.page-heading .eyebrow {
    margin-bottom: 10px;
}
.section-heading > a,
.collection-label {
    font-size: 14px;
    color: var(--muted);
    flex-shrink: 0;
}
.catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
}
.catalog-sidebar {
    display: none;
}
.catalog-content {
    min-width: 0;
}
.catalog-filters {
    display: grid;
    grid-template-columns:
        minmax(170px, 1fr) minmax(130px, 200px) minmax(130px, 200px)
        auto;
    gap: 12px;
    align-items: start;
    margin-bottom: 32px;
}
.catalog-filters input,
.catalog-filters select {
    font-size: 15px;
}
.search-field {
    position: relative;
}
.search-field input {
    padding-left: 43px;
}
.search-field svg {
    position: absolute;
    left: 13px;
    top: 14px;
    color: var(--muted);
}
.filter-summary {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin: -12px 0 24px;
    color: var(--muted);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 28px;
}
.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.product-image {
    position: relative;
    display: block;
    border: 1px solid var(--line);
    background: #f1f4ed;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 20px;
}
.product-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}
.product-image:hover > img {
    transform: scale(1.025);
}
.empty-cover {
    display: grid;
    place-items: center;
    padding: 30px;
    text-align: center;
    background: #edf3e8;
    color: #557554;
    width: 100%;
    height: 100%;
    font-size: 28px;
    letter-spacing: -0.04em;
}
.empty-cover.large {
    min-height: 360px;
}
.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border: 1px solid var(--line);
    border-radius: 2px;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}
.product-meta > span:last-child {
    font-size: 12px;
    letter-spacing: 0.08em;
}
.product-card h3 {
    font-size: 21px;
    line-height: 1.35;
    margin-bottom: 12px;
}
.product-summary {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 22px;
    flex: 1;
}
.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 16px;
}
.product-bottom strong {
    font-weight: 500;
    white-space: nowrap;
}
.product-action {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 500;
    min-height: 30px;
    text-align: right;
    margin-left: auto;
}
.store-note,
.service-callout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 42px 0;
    margin-top: 76px;
    align-items: center;
}
.store-note > p,
.service-callout p {
    color: var(--muted);
    font-size: 16px;
}
.store-note .text-link {
    display: table;
    margin-top: 18px;
    color: var(--ink);
}
.faq {
    max-width: 860px;
    margin: 64px auto 0;
}
.faq h2 {
    margin-bottom: 26px;
}
.faq details {
    border-top: 1px solid var(--line);
}
details {
    margin: 0;
}
summary {
    cursor: pointer;
    font-weight: 500;
    padding: 18px 0;
    line-height: 1.6;
}
details > p {
    color: var(--muted);
    padding-bottom: 20px;
    max-width: 70ch;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 36px 0 0;
}
.pagination .button {
    min-width: 150px;
}
.empty-state {
    text-align: center;
    padding: 64px 24px;
    border: 1px solid var(--line);
    background: #fff;
}
.empty-state h3 {
    margin-bottom: 14px;
}
.empty-state p {
    color: var(--muted);
    margin-bottom: 24px;
}
.empty-state.compact {
    padding: 40px 20px;
    border: 0;
}
.empty-symbol {
    display: inline-grid;
    place-items: center;
    font-size: 30px;
    width: 60px;
    height: 60px;
    border: 1px solid var(--line);
    margin-bottom: 20px;
    color: #8da387;
}
/* Product and service pages */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--muted);
    padding: 30px 0;
}
.breadcrumbs span:last-child {
    color: var(--ink);
}
.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
}
.main-product-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 1px solid var(--line);
    display: block;
}
.detail-description {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.detail-description h2 {
    font-size: 26px;
    margin-bottom: 20px;
}
.product-purchase {
    min-width: 0;
    padding-top: 10px;
}
.product-purchase h1 {
    font-size: clamp(32px, 3.7vw, 48px);
    margin-bottom: 22px;
}
.product-purchase > .lead {
    font-size: 17px;
    margin-bottom: 24px;
}
.price-large {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: baseline;
    font-size: 32px;
    line-height: 1.4;
    margin: 28px 0;
    letter-spacing: -0.04em;
}
.price-large del {
    color: var(--muted);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0;
}
.purchase-controls {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.quantity-field {
    max-width: 110px;
}
.booking-intro {
    border-top: 1px solid var(--line);
    padding-top: 24px;
}
.booking-intro h2 {
    font-size: 22px;
    margin-bottom: 12px;
}
.booking-intro p {
    font-size: 15px;
    color: var(--muted);
}
.product-promises {
    list-style: none;
    margin: 28px 0;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.product-promises li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 4px 0;
    font-size: 14px;
    color: var(--muted);
}
.product-promises li::before {
    content: "✓";
    color: var(--accent);
    font-size: 12px;
}
.product-facts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 20px;
    font-size: 14px;
    margin-bottom: 24px;
}
.product-facts > span {
    color: var(--muted);
}
.product-facts > strong {
    text-align: right;
    font-weight: 450;
    overflow-wrap: anywhere;
}
.product-purchase > .field-help {
    margin-top: 16px;
}
.prose {
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.prose h2,
.prose h3 {
    margin: 32px 0 16px;
}
.prose p,
.prose ul {
    margin: 18px 0;
}
.prose ul {
    padding-left: 24px;
}
/* Shared content, customer and order pages */
.page-heading {
    padding-top: 42px;
}
.page-heading h1 {
    font-size: clamp(30px, 3.5vw, 42px);
}
.page-heading p:not(.eyebrow) {
    margin-top: 14px;
    color: var(--muted);
}
.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 26px;
    min-width: 0;
}
.panel > h2 {
    font-size: 23px;
    margin-bottom: 22px;
}
.panel > h3 {
    margin: 24px 0 16px;
    font-size: 18px;
}
.panel > p:not(:last-child) {
    margin-bottom: 20px;
}
.panel.stack {
    gap: 22px;
}
.panel.stack > h2,
.panel.stack > p {
    margin: 0;
}
.panel.flush {
    padding: 0;
}
.panel > .section-heading {
    margin-bottom: 20px;
    padding: 0;
}
.panel > .section-heading h2 {
    font-size: 22px;
}
.two-columns > .panel {
    height: calc(100% - 26px);
}
.account-grid,
.order-layout,
.dashboard-grid,
.edit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
    gap: 28px;
    align-items: start;
}
.account-grid > section > h2 {
    margin-bottom: 24px;
}
.account-grid .text-link {
    margin-top: 24px;
}
.order-line,
.file-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}
.order-line > span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.order-line strong {
    font-weight: 500;
    text-align: right;
    flex-shrink: 0;
}
.totals {
    margin: 22px 0;
}
.totals > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 7px 0;
}
.totals .grand-total {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 12px;
    font-size: 24px;
}
.license-card {
    border: 1px solid var(--line);
    padding: 20px;
    margin: 20px 0;
    border-radius: var(--radius);
}
.license-card code {
    display: block;
    margin: 12px 0;
}
.license-card .button {
    margin-top: 12px;
}
.notice {
    padding: 16px 20px;
    background: #f7f5eb;
    border: 1px solid #dedac4;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.notice.success {
    background: #f1f6ed;
    border-color: #c9d9bd;
    color: #315635;
}
.notice.error {
    background: #fff4f1;
    border-color: #e5c2b9;
    color: #9e3c2d;
}
.stack > .notice {
    margin: 0;
}
.auth-shell,
.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 8vw, 130px);
    max-width: 1060px;
    margin: 72px auto 20px;
    align-items: start;
}
.auth-intro h1,
.contact-shell h1 {
    margin-bottom: 24px;
}
.auth-intro > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
}
.auth-lines {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
    font-size: 14px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 26px;
}
.auth-form {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.auth-switch {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.contact-shell > div:last-child {
    border: 1px solid var(--line);
    padding: 32px;
    background: #fff;
}
.content-page {
    max-width: 800px;
    margin: 64px auto;
}
.content-page h1 {
    margin-bottom: 28px;
}
.content-page > .prose {
    margin: 30px 0;
}
.content-page > .stack {
    max-width: 600px;
}
.inquiry-page {
    padding-top: 42px;
}
.inquiry-page h1 {
    margin-bottom: 20px;
}
.inquiry-page > .lead {
    margin-bottom: 30px;
}
.claim-order {
    margin: 28px 0;
}
.claim-order .stack {
    padding: 16px 0;
}
.message {
    padding: 20px;
    border: 1px solid var(--line);
    margin-bottom: 18px;
    border-radius: var(--radius);
    background: #fafcf8;
}
.message strong {
    margin-right: 12px;
}
.message > p {
    white-space: pre-wrap;
    margin-top: 10px;
}
.message small {
    color: var(--muted);
}
.conversation-link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.conversation-link small {
    display: block;
    color: var(--muted);
    margin-top: 6px;
}
.error-page {
    margin: 64px auto;
    max-width: 760px;
    padding: 72px 32px;
}
.error-page .actions {
    justify-content: center;
}
.invoice {
    background: #fff;
    border: 1px solid var(--line);
    max-width: 960px;
    margin: 24px auto 0;
    padding: 48px;
}
.invoice header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
}
.invoice-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 28px 0;
}
.invoice-parties h3 {
    margin-bottom: 12px;
}
.invoice-parties p {
    margin: 0;
}
.invoice-totals {
    max-width: 350px;
    margin-left: auto;
}
.invoice-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
}
.invoice footer {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    color: var(--muted);
    font-size: 14px;
}
/* Administration: a fixed navigation column, fluid workspace and contained tables. */
.admin-page {
    background: #f7f9f4;
}
.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 242px;
    padding: 30px 20px 20px;
    border-right: 1px solid var(--line);
    background: #fbfcf9;
    display: flex;
    flex-direction: column;
    z-index: 120;
    overflow-y: auto;
}
.admin-sidebar > .wordmark {
    margin: 0 10px 28px;
}
.store-label {
    margin: 0 10px 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    overflow-wrap: anywhere;
}
.store-label span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}
.admin-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.admin-sidebar nav > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    min-height: 40px;
    font-size: 14px;
    border-radius: 3px;
    border: 1px solid transparent;
    line-height: 1.4;
}
.admin-sidebar nav > a:hover {
    background: #f0f4eb;
    text-decoration: none;
}
.admin-sidebar nav > a.active {
    background: #eaf0e5;
    border-color: #d5dfcb;
    color: #284e36;
    font-weight: 600;
}
.sidebar-store {
    padding: 18px 12px 0;
    margin-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 14px;
}
.admin-workspace {
    margin-left: 242px;
    min-width: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
.admin-topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px 36px;
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-size: 14px;
}
.admin-topbar > div:first-of-type {
    min-width: 0;
    overflow-wrap: anywhere;
}
.slash {
    display: inline-block;
    margin: 0 12px;
    color: #becabc;
}
.admin-topbar > .actions {
    flex-wrap: nowrap;
    flex-shrink: 0;
}
.admin-user {
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}
.admin-main {
    padding: 0 36px 36px;
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
    min-width: 0;
}
.admin-main > .notice:first-child {
    margin-top: 28px;
}
.admin-main .page-heading {
    padding-top: 36px;
    margin-bottom: 30px;
}
.admin-main .page-heading h1 {
    font-size: 34px;
}
.admin-main .eyebrow {
    font-size: 12px;
    letter-spacing: 0.1em;
}
.admin-footer {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    padding: 20px 36px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}
.mobile-menu {
    display: none;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}
.stat {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.stat > span {
    font-size: 14px;
    color: var(--muted);
}
.stat > strong {
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.04em;
    margin: 16px 0;
}
.stat > strong > span {
    display: block;
}
.stat > small,
.stat > a {
    font-size: 12px;
    color: var(--muted);
    margin-top: auto;
}
.stat > a {
    color: var(--accent);
}
.task-link {
    display: flex;
    gap: 14px;
    font-size: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}
.task-link span {
    font-size: 12px;
    color: var(--muted);
}
.inbox-row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto 16px;
    gap: 18px;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 16px 0;
    font-size: 14px;
}
.inbox-row > * {
    overflow-wrap: anywhere;
    min-width: 0;
}
.inbox-row small {
    font-size: 12px;
    color: var(--muted);
}
.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}
.admin-toolbar > input:not([type="hidden"]) {
    width: auto;
    flex: 1 1 220px;
    min-width: 0;
}
.admin-toolbar > .button {
    flex: 0 0 auto;
}
.table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
    text-align: left;
    line-height: 1.6;
}
th {
    font-size: 12px;
    letter-spacing: 0.035em;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    background: #f9fbf6;
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
}
td {
    padding: 17px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    max-width: 350px;
    overflow-wrap: anywhere;
}
tr:last-child td {
    border-bottom: 0;
}
td a {
    font-weight: 500;
}
td small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}
.table-product {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 180px;
}
.table-product img {
    width: 48px;
    height: 40px;
    object-fit: cover;
    border: 1px solid var(--line);
    flex-shrink: 0;
}
.table-action {
    white-space: nowrap;
    font-size: 13px;
}
.badge {
    display: inline-block;
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: 3px;
    white-space: nowrap;
    background: #f6f8f1;
    color: #607159;
}
.badge.paid,
.badge.active,
.badge.completed,
.badge.shipped {
    background: #eef5e8;
    color: #365630;
    border-color: #d0dfc3;
}
.badge.pending,
.badge.open,
.badge.payment_review {
    background: #fbf6e7;
    color: #876222;
    border-color: #e8ddba;
}
.badge.refunded,
.badge.archived,
.badge.closed,
.badge.expired {
    background: #f4f4f1;
    color: #777b70;
}
.settings-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.settings-tabs > a {
    font-size: 14px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 3px;
}
.settings-form .panel {
    scroll-margin-top: 24px;
}
.sticky-save {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-top: 10px;
}
.sticky-save > span {
    font-size: 14px;
    color: var(--muted);
}
.mode-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.mode-option {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    font-weight: 400;
    cursor: pointer;
    height: 100%;
}
.mode-option:has(input:checked) {
    border-color: #628660;
    background: #f1f6ec;
    box-shadow: inset 0 0 0 1px #628660;
}
.mode-option > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mode-option strong {
    font-size: 15px;
    font-weight: 550;
    line-height: 1.4;
}
.mode-option small {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}
.mode-fieldset > .field-help {
    margin-bottom: 18px;
}
.response-field {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.response-field:first-of-type {
    border-top: 0;
}
.response-field strong {
    display: block;
    font-size: 14px;
    color: var(--muted);
    font-weight: 450;
    margin-bottom: 8px;
}
.response-field p {
    font-size: 16px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.edit-form {
    max-width: 960px;
}
.cover-preview {
    width: 160px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 1px solid var(--line);
}
.content-editor {
    min-height: 320px;
}
.file-row {
    align-items: center;
}
.file-row > strong {
    min-width: 0;
    overflow-wrap: anywhere;
}
.file-row form {
    flex-shrink: 0;
}
.file-row + form {
    margin-top: 24px;
}
.extension-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.extension-grid > .panel {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 16px;
}
.extension-grid .panel > h2,
.extension-grid .panel > p {
    margin: 0;
}
.extension-grid .panel > form {
    margin-top: auto;
}
.health-list > div {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}
.health-list > div > strong {
    text-align: right;
    overflow-wrap: anywhere;
}
.builder-row {
    padding: 22px;
    border: 1px solid var(--line);
    background: #fbfcf8;
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 16px;
}
.builder-row > .actions {
    grid-column: 1/-1;
    justify-content: space-between;
}
.builder-row .text-button {
    padding: 6px 10px;
}
.documentation {
    max-width: 1100px;
}
.documentation h1 {
    font-size: 32px;
    margin-bottom: 24px;
}
.documentation h2 {
    font-size: 25px;
    margin: 34px 0 18px;
}
.documentation h3 {
    font-size: 20px;
    margin: 26px 0 14px;
}
.documentation p,
.documentation ul,
.documentation ol {
    margin: 16px 0;
}
.documentation li {
    margin: 8px 0;
}
.documentation table {
    display: block;
    overflow-x: auto;
}
/* Footer, notifications and embedded fallback forms */
.site-footer {
    border-top: 1px solid var(--line);
    background: #f3f6ee;
    padding: 48px var(--gutter) 24px;
}
.footer-top,
.footer-bottom {
    max-width: var(--shell);
    margin: auto;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 38px;
}
.footer-top > div {
    min-width: 0;
}
.footer-top p {
    font-size: 14px;
    color: var(--muted);
    margin: 18px 0 0;
    max-width: 250px;
}
.footer-top h3 {
    font-size: 14px;
    letter-spacing: 0;
    margin-bottom: 18px;
}
.footer-top > div > a:not(.wordmark) {
    display: block;
    font-size: 14px;
    color: var(--muted);
    padding: 5px 0;
}
.footer-top .text-button {
    display: block;
    text-decoration: none;
    color: var(--muted);
    text-align: left;
    font-size: 14px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
    color: var(--muted);
    font-size: 12px;
    flex-wrap: wrap;
}
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 560px;
    width: calc(100vw - 40px);
    border: 1px solid #bdcdb8;
    background: #fff;
    padding: 22px;
    z-index: 100;
    border-radius: var(--radius);
}
.cookie-banner p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 16px;
}
.cookie-banner .actions {
    justify-content: flex-end;
}
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100vw - 40px);
    padding: 14px 24px;
    border: 1px solid var(--line);
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    font-size: 15px;
    z-index: 200;
}
.embedded .main-shell {
    padding: 20px;
    max-width: 100%;
    min-height: 0;
}
.embedded .contact-shell {
    display: block;
    margin: 0;
    max-width: 720px;
}
.embedded .contact-shell > div:first-child {
    margin-bottom: 24px;
}
.embedded .contact-shell > div:last-child {
    padding: 0;
    border: 0;
}
.embedded .contact-shell h1 {
    font-size: 28px;
    margin-bottom: 16px;
}
.embedded .inquiry-page {
    padding-top: 0;
}
.embedded .inquiry-page .panel {
    padding: 0;
    border: 0;
}
.embedded .inquiry-page h1 {
    font-size: 28px;
}
/* Installer and completion */
.install-page {
    background: #f7faf2;
}
.install-header,
.install-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    max-width: 1280px;
    margin: auto;
    padding: 30px var(--gutter);
}
.install-header > span {
    font-size: 12px;
    letter-spacing: 0.13em;
    color: var(--muted);
}
.install-shell {
    max-width: 1280px;
    margin: 32px auto 60px;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(36px, 6vw, 96px);
    align-items: start;
}
.install-intro {
    padding: 32px 0;
    max-width: 420px;
}
.install-intro h1 {
    font-size: clamp(38px, 4.3vw, 60px);
    line-height: 1.08;
    margin-bottom: 28px;
}
.setup-facts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
    border-top: 1px solid var(--line);
    padding-top: 28px;
}
.setup-facts > span {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}
.setup-facts b {
    font-size: 12px;
    color: #8a9b81;
    font-weight: 400;
}
.install-form {
    padding: 32px;
    margin: 0;
}
.install-form > div:first-child {
    margin-bottom: 28px;
}
.install-form h2 {
    font-size: 27px;
}
.install-form .mode-options {
    gap: 10px;
}
.install-form .mode-option {
    padding: 15px 13px;
}
.install-form .mode-option small {
    font-size: 13px;
}
.install-form .form-grid {
    gap: 22px;
    align-items: start;
}
.setup-advanced {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.setup-advanced > summary {
    font-size: 14px;
    display: list-item;
    list-style-position: inside;
    padding: 18px 0;
}
.setup-advanced > summary > span {
    display: block;
    margin: 5px 0 0 18px;
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
}
.setup-advanced > .stack {
    padding: 4px 0 22px;
}
.install-footer {
    color: var(--muted);
    font-size: 12px;
    border-top: 1px solid var(--line);
}
.install-shell.is-complete {
    display: block;
    max-width: 820px;
    margin: 28px auto 64px;
}
.completion-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 48px;
    text-align: center;
    min-width: 0;
}
.completion-icon {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    font-size: 27px;
    background: #eef5e6;
    color: #547345;
    border: 1px solid #c4d8b3;
    border-radius: 50%;
    margin-bottom: 22px;
}
.completion-card h1 {
    font-size: clamp(32px, 4vw, 46px);
    margin-bottom: 18px;
}
.completion-card > .eyebrow {
    margin-bottom: 12px;
}
.completion-card > .lead {
    font-size: 17px;
}
.completion-account {
    background: #f8faf4;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    margin: 30px 0;
    text-align: center;
}
.completion-account > span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}
.completion-account > strong {
    font-size: 18px;
    overflow-wrap: anywhere;
    font-weight: 500;
}
.completion-account > p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
}
.completion-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.completion-actions .button {
    justify-content: space-between;
}
.next-steps {
    border-top: 1px solid var(--line);
    margin-top: 36px;
    padding-top: 30px;
    text-align: left;
}
.next-steps h2 {
    font-size: 20px;
    margin-bottom: 24px;
}
.next-steps ol {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.next-steps li {
    display: flex;
    gap: 18px;
    align-items: baseline;
}
.next-steps li > span {
    font-size: 12px;
    color: #8ca27d;
    flex: 0 0 24px;
}
.next-steps strong {
    font-size: 15px;
    font-weight: 550;
}
.next-steps p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
}
/* Breakpoints follow content needs, including enlarged text and narrow viewports. */
@media (min-width: 1500px) {
    .admin-main {
        padding-left: 48px;
        padding-right: 48px;
    }
    .edit-grid {
        grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    }
}
@media (max-width: 1200px) {
    .header-inner {
        gap: 24px;
    }
    .main-nav {
        margin-left: 0;
        gap: 18px;
    }
    .header-actions {
        gap: 16px;
    }
    .admin-main {
        padding-left: 24px;
        padding-right: 24px;
    }
    .admin-topbar {
        padding-left: 24px;
        padding-right: 24px;
    }
    .admin-sidebar {
        width: 218px;
    }
    .admin-workspace {
        margin-left: 218px;
    }
    .dashboard-grid,
    .edit-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
        gap: 22px;
    }
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .panel {
        padding: 24px;
    }
    .product-grid {
        gap: 36px 22px;
    }
    .admin-topbar .admin-user {
        display: none;
    }
    .install-shell {
        grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
        gap: 36px;
    }
}
@media (max-width: 1000px) {
    .header-inner {
        flex-wrap: wrap;
        row-gap: 16px;
        padding-top: 22px;
        padding-bottom: 18px;
    }
    .main-nav {
        order: 3;
        flex-basis: 100%;
        border-top: 1px solid var(--line);
        padding-top: 14px;
    }
    .hero {
        gap: 32px;
        padding: 48px 0;
    }
    .hero-feature {
        padding: 22px;
        min-height: 340px;
    }
    .feature-type {
        font-size: 54px;
    }
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .catalog-filters {
        grid-template-columns:
            minmax(160px, 1fr) minmax(120px, 170px) minmax(120px, 160px)
            auto;
    }
    .catalog-filters .button {
        padding-left: 14px;
        padding-right: 14px;
    }
    .footer-top {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
    }
    .footer-top > div:first-child {
        grid-column: 1/-1;
    }
    .footer-top p {
        max-width: none;
    }
    .admin-sidebar {
        width: 200px;
        padding: 28px 12px 20px;
    }
    .admin-workspace {
        margin-left: 200px;
    }
    .admin-main .edit-grid,
    .admin-main .dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .admin-topbar .muted,
    .admin-topbar .slash {
        display: none;
    }
    .account-grid,
    .order-layout {
        grid-template-columns: minmax(0, 1.3fr) minmax(250px, 1fr);
        gap: 22px;
    }
    .auth-shell,
    .contact-shell {
        gap: 40px;
    }
    .install-shell {
        display: block;
        max-width: 800px;
        margin-top: 10px;
    }
    .install-intro {
        max-width: none;
        padding-top: 10px;
    }
    .install-intro h1 br {
        display: none;
    }
    .install-intro h1 {
        font-size: 42px;
        max-width: 600px;
    }
    .install-intro .lead br {
        display: none;
    }
    .setup-facts {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px 26px;
        margin: 24px 0;
        padding-top: 20px;
    }
    .setup-facts > span {
        gap: 10px;
    }
    .install-intro > .field-help {
        display: none;
    }
    .install-form .mode-options {
        gap: 14px;
    }
    .install-form .mode-option {
        padding: 18px;
    }
}
@media (max-width: 760px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 0;
    }
    .hero h1 {
        font-size: clamp(38px, 7.5vw, 58px);
        max-width: 640px;
    }
    .hero-description {
        margin: 22px 0 26px;
    }
    .hero-feature {
        min-height: 0;
        padding: 24px;
    }
    .feature-type {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 12px;
        font-size: clamp(30px, 6vw, 46px);
        line-height: 1.1;
    }
    .feature-type > span:nth-child(n) {
        padding: 0;
    }
    .feature-bottom {
        padding-top: 14px;
    }
    .feature-top {
        padding-bottom: 14px;
    }
    .benefit-strip {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px 0;
    }
    .benefit-strip > span + span {
        border: 0;
        padding: 0;
    }
    .collection {
        padding-top: 40px;
    }
    .section-heading {
        align-items: start;
        gap: 16px;
        margin-bottom: 24px;
    }
    .collection-label {
        display: none;
    }
    .catalog-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 26px;
    }
    .catalog-filters .search-field {
        grid-column: 1/-1;
    }
    .catalog-filters .button {
        grid-column: 1/-1;
    }
    .product-grid {
        gap: 32px 18px;
    }
    .product-summary {
        font-size: 15px;
    }
    .product-meta {
        font-size: 12px;
    }
    .product-meta > span:last-child {
        display: none;
    }
    .product-card h3 {
        font-size: 19px;
    }
    .product-bottom {
        flex-wrap: wrap;
        gap: 8px;
    }
    .product-action {
        margin-left: 0;
        flex-basis: 100%;
        justify-content: space-between;
        text-align: left;
    }
    .store-note,
    .service-callout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 0;
        margin-top: 48px;
    }
    .faq {
        margin-top: 44px;
    }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .product-gallery {
        display: contents;
    }
    .main-product-image,
    .empty-cover.large {
        order: 0;
    }
    .product-purchase {
        order: 1;
        padding-top: 0;
    }
    .detail-description {
        order: 2;
        margin-top: 0;
    }
    .product-purchase h1 {
        font-size: 38px;
    }
    .quantity-field {
        max-width: 120px;
    }
    .product-facts {
        max-width: none;
    }
    .account-grid,
    .order-layout {
        grid-template-columns: 1fr;
    }
    .auth-shell,
    .contact-shell {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 28px;
    }
    .auth-lines {
        display: none;
    }
    .auth-intro h1,
    .contact-shell h1 {
        font-size: 36px;
    }
    .auth-form,
    .contact-shell > div:last-child {
        padding: 26px;
    }
    .admin-sidebar {
        transform: translateX(-100%);
        width: 244px;
        transition: transform 0.18s;
    }
    .admin-sidebar.open {
        transform: translateX(0);
        box-shadow: 0 0 0 100vmax #17251f66;
    }
    .admin-workspace {
        margin-left: 0;
    }
    .mobile-menu {
        display: grid;
        flex-shrink: 0;
    }
    .admin-topbar {
        padding: 16px 20px;
        gap: 16px;
    }
    .admin-topbar > div:first-of-type {
        flex: 1;
    }
    .admin-topbar .actions {
        gap: 12px;
    }
    .admin-main {
        padding: 0 20px 30px;
    }
    .admin-main .page-heading {
        padding-top: 30px;
    }
    .admin-main .page-heading h1 {
        font-size: 30px;
    }
    .admin-footer {
        padding: 20px;
    }
    .mode-options,
    .two-columns,
    .extension-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .inbox-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px 14px;
    }
    .inbox-row > span:last-child {
        display: none;
    }
    .inbox-row > span:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
        color: var(--muted);
        font-size: 13px;
    }
    .inbox-row > small {
        grid-column: 2;
        grid-row: 1/3;
    }
    .page-heading {
        padding-top: 30px;
        align-items: flex-start;
    }
    .footer-top {
        gap: 28px;
    }
    .invoice {
        padding: 28px;
    }
    .invoice header {
        flex-wrap: wrap;
    }
    .invoice-parties {
        gap: 24px;
    }
    .completion-card {
        padding: 32px;
    }
    .install-header {
        padding-top: 24px;
        padding-bottom: 20px;
    }
}
@media (max-width: 500px) {
    .header-inner {
        gap: 16px;
    }
    .wordmark {
        font-size: 25px;
    }
    .header-actions {
        gap: 12px;
    }
    .header-actions .account-link {
        font-size: 13px;
    }
    .main-nav {
        font-size: 14px;
        gap: 22px;
    }
    .cart-trigger {
        font-size: 14px;
        gap: 6px;
    }
    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }
    .product-card h3 {
        font-size: 23px;
    }
    .product-image {
        margin-bottom: 18px;
    }
    .product-bottom {
        flex-wrap: nowrap;
    }
    .product-action {
        flex-basis: auto;
        margin-left: auto;
        font-size: 14px;
    }
    .feature-type {
        font-size: 31px;
    }
    .hero-feature {
        padding: 20px;
        gap: 24px;
    }
    .hero-description {
        font-size: 17px;
    }
    .section-heading h2 {
        font-size: 28px;
    }
    .hero h1 {
        font-size: 44px;
    }
    .main-shell {
        padding-bottom: 50px;
    }
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }
    .footer-top > div:last-child {
        grid-column: auto;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .site-footer {
        padding-top: 36px;
    }
    .form-grid,
    .two-columns,
    .extension-grid,
    .builder-row,
    .mode-options {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: auto;
    }
    .panel {
        padding: 22px;
    }
    .builder-row > .actions {
        grid-column: 1;
    }
    .stack {
        gap: 20px;
    }
    .stat-grid {
        gap: 12px;
    }
    .stat {
        padding: 18px 16px;
    }
    .stat > span {
        font-size: 13px;
    }
    .stat > strong {
        font-size: 26px;
    }
    .stat > small,
    .stat > a {
        font-size: 12px;
    }
    .admin-topbar {
        gap: 10px;
    }
    .admin-topbar > div:first-of-type {
        display: none;
    }
    .admin-topbar > .actions {
        flex: 1;
        justify-content: flex-end;
        gap: 16px;
    }
    .admin-main .page-heading .actions {
        width: 100%;
        gap: 10px;
    }
    .admin-main .page-heading .button {
        font-size: 14px;
        padding: 10px 15px;
        flex: 1;
    }
    .settings-tabs {
        gap: 8px;
    }
    .settings-tabs a {
        font-size: 13px;
    }
    .sticky-save {
        padding: 18px;
        gap: 16px;
    }
    .sticky-save .button {
        width: 100%;
    }
    .admin-toolbar > .button {
        flex: 1;
    }
    .admin-toolbar > input:not([type="hidden"]) {
        flex-basis: 100%;
    }
    .admin-main > .panel,
    .edit-grid .panel {
        padding: 20px;
    }
    .admin-main > .panel.flush {
        padding: 0;
    }
    .file-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .file-row > strong {
        flex-basis: 100%;
    }
    .health-list > div {
        flex-direction: column;
        gap: 8px;
    }
    .health-list > div > strong {
        text-align: left;
    }
    .auth-form,
    .contact-shell > div:last-child {
        padding: 22px;
    }
    .invoice {
        padding: 20px;
    }
    .invoice-parties {
        grid-template-columns: 1fr;
    }
    .invoice table {
        font-size: 13px;
    }
    .invoice th,
    .invoice td {
        padding: 12px 8px;
    }
    .invoice-actions {
        justify-content: stretch;
    }
    .invoice-actions .button {
        width: 100%;
    }
    .completion-actions {
        grid-template-columns: 1fr;
    }
    .completion-card {
        padding: 28px 22px;
    }
    .install-shell {
        margin-bottom: 36px;
    }
    .install-shell.is-complete {
        margin-top: 16px;
        margin-bottom: 36px;
    }
    .install-form {
        padding: 24px 20px;
    }
    .install-form .mode-options {
        grid-template-columns: 1fr;
    }
    .install-form .form-grid {
        grid-template-columns: 1fr;
    }
    .install-form h2 {
        font-size: 25px;
    }
    .install-intro h1 {
        font-size: 37px;
    }
    .install-intro .lead {
        font-size: 17px;
    }
    .setup-facts {
        gap: 10px;
        flex-direction: column;
    }
    .install-header > span {
        font-size: 12px;
        max-width: 110px;
        text-align: right;
    }
    .install-footer {
        gap: 12px;
        flex-wrap: wrap;
    }
    .next-steps {
        margin-top: 28px;
        padding-top: 24px;
    }
    .completion-account {
        padding: 18px 12px;
    }
    .cookie-banner {
        padding: 18px;
    }
    .cookie-banner .actions {
        justify-content: stretch;
    }
    .cookie-banner .button {
        flex: 1;
        font-size: 13px;
    }
    .product-purchase h1 {
        font-size: 34px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
@media print {
    .site-header,
    .site-footer,
    .invoice-actions,
    .cookie-banner,
    .skip-link,
    .admin-sidebar,
    .admin-topbar,
    .admin-footer {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
    }
    .main-shell {
        padding: 0;
        max-width: none;
    }
    .invoice {
        border: 0;
        padding: 0;
        margin: 0;
        max-width: none;
    }
    .invoice-parties {
        grid-template-columns: 1fr 1fr;
    }
    a {
        color: inherit;
        text-decoration: none;
    }
    .admin-workspace {
        margin: 0;
    }
    .table-wrap {
        overflow: visible;
    }
    tr {
        break-inside: avoid;
    }
}
.booking-calendar {
    min-width: 0;
}
.calendar-zone {
    font-size: 14px;
    color: #69766f;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-bottom: 16px;
}
.calendar-zone strong {
    font-weight: 500;
    color: #243e34;
}
.calendar-frame {
    border: 1px solid #d9e1da;
    border-radius: 4px;
    padding: 16px;
    background: #fff;
}
.calendar-head {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
}
.calendar-head h3 {
    font-size: 16px;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}
.calendar-head button {
    display: grid;
    place-items: center;
    padding: 0;
    min-height: 36px;
    width: 36px;
    background: transparent;
    border: 1px solid #d9e1da;
    border-radius: 3px;
    font: inherit;
    cursor: pointer;
    color: #243e34;
}
.calendar-head button:disabled {
    opacity: 0.3;
    cursor: default;
}
.calendar-week,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}
.calendar-week {
    font-size: 12px;
    color: #738076;
    text-align: center;
    margin-bottom: 8px;
}
.calendar-week span {
    overflow: hidden;
}
.calendar-days button {
    position: relative;
    min-height: 40px;
    width: 100%;
    padding: 6px 0 10px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: #243e34;
    font-size: 15px;
    cursor: pointer;
    line-height: 1.2;
}
.calendar-days button:hover:not(:disabled) {
    background: #edf3ee;
}
.calendar-days button:disabled {
    color: #b4bcb7;
    cursor: default;
    opacity: 1;
}
.calendar-days button[aria-current] {
    border-color: #c5d1c7;
}
.calendar-days button[aria-pressed="true"] {
    background: var(--accent, #205f49);
    color: #fff;
}
.calendar-days i {
    position: absolute;
    width: 3px;
    height: 3px;
    background: currentColor;
    bottom: 5px;
    left: calc(50% - 1.5px);
    border-radius: 50%;
}
.calendar-availability {
    font-size: 15px;
    font-weight: 550;
    margin: 20px 0 12px;
}
.calendar-times {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.calendar-times button {
    background: #fff;
    border: 1px solid #d0dad3;
    color: #243e34;
    border-radius: 3px;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
}
.calendar-times button small {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.72;
}
.calendar-times button[aria-pressed="true"] {
    border-color: var(--accent, #205f49);
    background: #edf3ee;
    box-shadow: inset 0 0 0 1px var(--accent, #205f49);
}
.calendar-selection {
    font-size: 14px;
    color: #496659;
    line-height: 1.65;
    margin: 16px 0 0;
    border-left: 2px solid #87a596;
    padding-left: 12px;
}
.calendar-days button:focus-visible,
.calendar-times button:focus-visible {
    outline: 2px solid var(--accent, #205f49);
    outline-offset: 2px;
}

.page-heading > form {
    align-items: flex-end;
}
.admin-page .page-heading > form label {
    max-width: 130px;
}

.inquiry-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.inquiry-guide {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.inquiry-guide h2 {
    margin-bottom: 18px;
}
.inquiry-guide p {
    max-width: 75ch;
    color: var(--muted);
}
@media (max-width: 500px) {
    .inquiry-stats {
        grid-template-columns: 1fr;
    }
    .inquiry-guide .actions {
        align-items: stretch;
        flex-direction: column;
    }
}

.panel > .code-editor {
    margin-bottom: 16px;
}
.panel.stack > .code-editor {
    margin-bottom: 0;
}
.panel > label + .field-help {
    margin-top: 12px;
}
.panel > .table-wrap + form,
.panel > form + form {
    margin-top: 20px;
}

.mode-option small,
.install-form .mode-option small {
    font-size: 14px;
}
.account-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}

/* Store preferences: one stable anchor keeps both menus inside the viewport. */
.store-preferences {
    position: relative;
    display: flex;
    gap: 4px;
    min-width: 0;
}
.preference-menu {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    flex-shrink: 0;
}
.store-preferences .preference-menu {
    position: static;
}
.preference-menu summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    min-height: 42px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}
.preference-menu summary::-webkit-details-marker {
    display: none;
}
.preference-menu summary::after {
    content: none;
}
.preference-menu summary > svg {
    flex-shrink: 0;
}
.preference-current {
    max-width: 105px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.preference-chevron {
    transition: transform 0.16s ease;
    margin-left: 2px;
}
.preference-menu[open] .preference-chevron {
    transform: rotate(180deg);
}
.preference-menu[open] summary,
.preference-menu summary:hover {
    background: var(--accent-soft);
    border-color: var(--line);
}
.preference-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 284px;
    max-width: calc(100vw - 40px);
    padding: 8px;
    z-index: 150;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 8px 22px #1111110a;
}
.preference-heading {
    padding: 12px 12px 16px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.preference-heading strong {
    font-size: 16px;
}
.preference-heading > span {
    font-size: 12px;
    color: var(--muted);
}
.preference-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: min(360px, 55vh);
    overflow: auto;
    overscroll-behavior: contain;
}
.preference-options a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    padding: 10px;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 14px;
}
.preference-options a:hover,
.preference-options a[aria-current] {
    background: var(--accent-soft);
    text-decoration: none;
}
.preference-options a[aria-current] {
    color: var(--accent);
    border-color: var(--line);
}
.preference-code {
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 2px;
    min-height: 28px;
    padding: 2px 4px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
}
.preference-name {
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.preference-check {
    visibility: hidden;
}
.preference-options a[aria-current] .preference-check {
    visibility: visible;
}
.preference-search {
    padding: 4px 6px 10px;
}
.preference-search input {
    min-height: 40px;
    font-size: 14px;
}
.preference-empty,
.preference-note {
    padding: 12px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    margin: 8px 0 0;
}
.preference-note {
    border-top: 1px solid var(--line);
}
.preference-menu summary:focus-visible,
.preference-options a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.header-inner {
    gap: 24px;
    flex-wrap: wrap;
}
.header-inner > .wordmark {
    flex-shrink: 1;
    min-width: 0;
    max-width: min(35%, 420px);
}
.header-actions {
    gap: 16px;
}
.header-actions .account-link {
    white-space: nowrap;
}

/* Typography roles and real, selectable template thumbnails. */
.theme-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.theme-option {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 12px;
    cursor: pointer;
    gap: 12px;
    min-width: 0;
}
.theme-option > input {
    position: absolute;
    right: 22px;
    top: 22px;
    z-index: 1;
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
}
.theme-option:has(input:checked) {
    border-color: var(--accent);
    background: #f4f8f3;
    box-shadow: inset 0 0 0 1px var(--accent);
}
.theme-option:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.theme-option-title {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 16px;
}
.theme-selected {
    font-size: 12px;
    font-weight: 400;
    color: var(--accent);
    visibility: hidden;
}
.theme-option input:checked ~ .theme-option-title .theme-selected {
    visibility: visible;
}
.theme-option > small {
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.5;
}
.theme-mini {
    height: 152px;
    display: grid;
    grid-template-columns: 30px 1fr;
    grid-template-rows: 17px 40px 1fr;
    gap: 8px;
    padding: 12px;
    background: #fafbf7;
    border: 1px solid var(--line);
    overflow: hidden;
}
.mini-top {
    grid-column: 1/-1;
    border-bottom: 1px solid #c6cfc3;
    background: linear-gradient(to right, #879780 0 30%, transparent 30%);
    height: 8px;
}
.mini-hero {
    grid-column: 1/-1;
    width: 60%;
    background: #dde5d6;
}
.mini-rail {
    display: none;
}
.mini-cards {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}
.mini-cards > i {
    background: #e3e8dc;
    border-bottom: 6px solid #becbb4;
}
.mini-cards > i:nth-child(2) {
    background: #ece7dd;
}
.mini-cards > i:nth-child(3) {
    background: #dce4ea;
}
.mini-cards > i:nth-child(4) {
    display: none;
}
.theme-mini-editorial {
    background: #faf5ec;
}
.theme-mini-editorial .mini-cards {
    grid-template-columns: repeat(2, 1fr);
}
.theme-mini-editorial .mini-cards > i:nth-child(3) {
    display: none;
}
.theme-mini-editorial .mini-hero {
    width: 80%;
    background: #ddd0bb;
}
.theme-mini-studio .mini-rail,
.theme-mini-channel .mini-rail,
.theme-mini-feed .mini-rail {
    display: block;
    grid-row: 3;
    background: repeating-linear-gradient(#cad6de 0 4px, transparent 4px 12px);
}
.theme-mini-studio .mini-cards,
.theme-mini-channel .mini-cards,
.theme-mini-feed .mini-cards {
    grid-column: 2;
}
.theme-mini-channel {
    background: #fff;
}
.theme-mini-channel .mini-hero {
    width: 100%;
    background: #eddddd;
    border-bottom: 10px solid #c83d35;
}
.theme-mini-feed .mini-hero {
    width: 100%;
    background: #e5eff6;
}
.theme-mini-feed .mini-cards {
    grid-template-columns: 1fr;
    gap: 4px;
}
.theme-mini-feed .mini-cards > i {
    border-bottom-width: 2px;
}
.theme-mini-gallery {
    background: #fff;
    grid-template-rows: 17px 20px 1fr;
    gap: 12px;
}
.theme-mini-gallery .mini-hero {
    width: 40%;
    height: 10px;
    background: #cacac5;
}
.theme-mini-gallery .mini-cards > i {
    border-bottom-width: 2px;
}
.theme-mini-monograph {
    background: #f3f4e9;
}
.theme-mini-monograph .mini-hero {
    background: #282b23;
    width: 100%;
}
.theme-mini-monograph .mini-cards {
    grid-template-columns: 1.7fr 1fr;
}
.theme-mini-monograph .mini-cards > i:nth-child(3) {
    display: none;
}
.typography-intro {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 4px 0 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
}
.typography-intro > .check {
    flex-shrink: 0;
    padding-top: 4px;
    font-size: 16px;
}
.typography-intro > .field-help {
    max-width: 680px;
    margin: 0;
}
.typography-layout {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(0, 1.25fr);
    gap: 36px;
}
.font-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.font-controls select {
    min-height: 46px;
}
.font-preview {
    padding: 32px;
    border: 1px solid var(--line);
    background: #fcfcf8;
    min-width: 0;
    align-self: start;
}
.font-preview > .eyebrow {
    display: block;
    font-size: 12px;
    margin-bottom: 28px;
}
.preview-logo {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 36px;
    overflow-wrap: anywhere;
}
.preview-logo > i {
    width: 6px;
    height: 6px;
    margin-top: 4px;
    background: var(--accent);
}
.font-preview h3 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
    margin-bottom: 24px;
}
.font-preview h4 {
    font-size: 20px;
    margin-bottom: 16px;
}
.font-preview p {
    font-size: 16px;
    margin: 0 0 24px;
    line-height: 1.7;
}
.font-preview > .field-help {
    margin: 28px 0 0;
    font-size: 12px;
}
@media (max-width: 1200px) {
    .theme-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .typography-intro {
        flex-direction: column;
        gap: 12px;
    }
    .typography-layout {
        gap: 24px;
    }
    .font-preview {
        padding: 24px;
    }
    .header-inner > .wordmark {
        max-width: 30%;
    }
    .main-nav {
        gap: 16px;
    }
}
@media (max-width: 900px) {
    .typography-layout {
        grid-template-columns: 1fr;
    }
    .font-controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .font-preview {
        max-width: 100%;
    }
    .storefront .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 16px;
        min-height: 0;
        padding-block: 20px;
    }
    .storefront .header-inner > .wordmark {
        grid-column: 1;
        grid-row: 1;
        max-width: 100%;
        font-size: 27px;
    }
    .storefront .header-actions {
        display: contents;
    }
    .storefront .account-link {
        grid-column: 2;
        grid-row: 1;
    }
    .storefront .cart-trigger {
        grid-column: 3;
        grid-row: 1;
    }
    .storefront .store-preferences {
        grid-column: 1/-1;
        grid-row: 2;
        border-block: 1px solid var(--line);
        padding-block: 4px;
        gap: 8px;
    }
    .store-preferences .preference-menu {
        flex: 1;
    }
    .store-preferences .preference-menu summary {
        justify-content: center;
    }
    .storefront .main-nav {
        grid-column: 1/-1;
        grid-row: 3;
        margin: 0;
        gap: 24px;
    }
    .store-preferences .preference-panel {
        width: 100%;
        max-width: 100%;
        top: calc(100% + 4px);
    }
}
@media (max-width: 500px) {
    .theme-options,
    .font-controls {
        grid-template-columns: 1fr;
    }
    .theme-mini {
        height: 160px;
    }
    .font-preview {
        padding: 24px 20px;
    }
    .storefront .header-inner {
        gap: 12px;
    }
    .storefront .header-inner > .wordmark {
        font-size: 25px;
        letter-spacing: -0.8px;
    }
    .preference-menu summary {
        padding: 8px;
        font-size: 14px;
    }
    .preference-current {
        max-width: 120px;
    }
    .storefront .account-link {
        font-size: 14px;
    }
    .typography-layout {
        gap: 28px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .preference-chevron {
        transition: none;
    }
}
