:root {
    --bg: #f5f2ed;
    --surface: #ffffff;
    --text: #202124;
    --muted: #687077;
    --line: #e4ded4;
    --brand: #166f68;
    --brand-dark: #0f4c47;
    --brand-soft: #e7f3ef;
    --accent: #d28b3f;
    --accent-soft: #fff2e2;
    --danger: #b42318;
    --danger-soft: #fff0ee;
    --shadow-soft: 0 18px 55px rgba(42, 37, 31, 0.08);
    --shadow-lift: 0 20px 70px rgba(42, 37, 31, 0.12);
    --radius: 10px;
    --radius-sm: 7px;
    --admin-bg-a: #eef5ff;
    --admin-bg-b: #f8fbff;
    --admin-glass: rgba(255, 255, 255, 0.62);
    --admin-glass-strong: rgba(255, 255, 255, 0.78);
    --admin-glass-soft: rgba(255, 255, 255, 0.42);
    --admin-glass-line: rgba(255, 255, 255, 0.72);
    --admin-glass-dark-line: rgba(44, 62, 80, 0.11);
    --admin-glass-shadow: 0 24px 80px rgba(35, 49, 70, 0.14);
    --admin-glass-shadow-soft: 0 14px 44px rgba(35, 49, 70, 0.09);
    --admin-glass-blur: blur(24px) saturate(1.28);
    --admin-radius-xl: 26px;
    --admin-radius-lg: 18px;
    --admin-radius-md: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(22, 111, 104, 0.09), transparent 32rem),
        linear-gradient(180deg, #fbfaf8, var(--bg) 34rem);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 48px 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 48px;
    align-items: center;
}

.hero h1,
.dashboard h1,
.auth-panel h1 {
    margin: 0;
    font-size: clamp(2.25rem, 6vw, 4.8rem);
    line-height: 1;
    letter-spacing: 0;
}

.hero p,
.dashboard p {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.1rem;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.button,
button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--radius-sm);
    padding: 0 18px;
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.button:hover,
button:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 76, 71, 0.18);
}

.admin .button,
.admin button {
    border-radius: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 12px 28px rgba(15, 76, 71, 0.14);
}

.admin-topnav {
    width: min(1500px, calc(100% - 32px));
    margin: 18px auto 0;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-xl);
    padding: 10px 12px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.48)),
        var(--admin-glass);
    box-shadow: var(--admin-glass-shadow-soft);
    backdrop-filter: var(--admin-glass-blur);
    -webkit-backdrop-filter: var(--admin-glass-blur);
}

.admin-topnav__brand {
    display: inline-grid;
    min-width: 48px;
    min-height: 40px;
    place-items: center;
    border-radius: var(--admin-radius-md);
    background: var(--brand);
    color: #fff;
    font-weight: 1000;
    text-decoration: none;
}

.admin-topnav__links {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-topnav__links a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--admin-radius-md);
    padding: 0 12px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 850;
    text-decoration: none;
}

.admin-topnav__links a:hover {
    border-color: var(--admin-glass-line);
    background: rgba(255, 255, 255, 0.58);
    color: var(--brand-dark);
}

.admin .button:hover,
.admin button:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 16px 34px rgba(15, 76, 71, 0.18);
}

.admin .button.secondary {
    border: 1px solid rgba(22, 111, 104, 0.18);
    background: rgba(255, 255, 255, 0.62);
    color: var(--brand-dark);
}

.hero__image {
    min-height: 520px;
    border-radius: 8px;
    background:
        linear-gradient(140deg, rgba(15, 76, 71, 0.18), rgba(210, 139, 63, 0.28)),
        url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1200&q=80") center / cover;
    box-shadow: 0 24px 80px rgba(32, 33, 36, 0.16);
}

.admin {
    min-height: 100vh;
    display: block;
    padding: 22px;
    background:
        radial-gradient(circle at 10% -10%, rgba(97, 165, 255, 0.34), transparent 34rem),
        radial-gradient(circle at 92% 4%, rgba(255, 255, 255, 0.95), transparent 28rem),
        radial-gradient(circle at 75% 78%, rgba(22, 111, 104, 0.18), transparent 34rem),
        linear-gradient(135deg, var(--admin-bg-a), var(--admin-bg-b) 48%, #f5f1ea);
    background-attachment: fixed;
}

.admin-shell {
    width: min(1800px, 100%);
    margin: 0 auto;
}

.auth-panel,
.dashboard {
    background: var(--admin-glass-strong);
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-xl);
    padding: 28px;
    box-shadow: var(--admin-glass-shadow-soft);
    backdrop-filter: var(--admin-glass-blur);
    -webkit-backdrop-filter: var(--admin-glass-blur);
}

.dashboard {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
}

.admin-dashboard {
    display: grid;
    gap: 20px;
}

.dashboard-hero,
.dashboard-card,
.dashboard-stats article {
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-xl);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.46)),
        var(--admin-glass);
    box-shadow: var(--admin-glass-shadow-soft);
    backdrop-filter: var(--admin-glass-blur);
    -webkit-backdrop-filter: var(--admin-glass-blur);
}

.dashboard-hero {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 30px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(231, 243, 239, 0.38)),
        var(--admin-glass);
}

.dashboard-hero::before,
.admin-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 42%),
        linear-gradient(315deg, rgba(255, 255, 255, 0.32), transparent 45%);
    mask-image: linear-gradient(#000, transparent 68%);
}

.dashboard-hero > *,
.admin-panel > * {
    position: relative;
    z-index: 1;
}

.dashboard-hero h1 {
    margin: 0;
    font-size: clamp(2.35rem, 4.3vw, 4.1rem);
    line-height: 1;
}

.dashboard-hero p {
    margin: 14px 0 0;
}

.dashboard-hero__actions,
.dashboard-card__header,
.dashboard-page-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.dashboard-hero__actions {
    justify-content: flex-end;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-stats article {
    display: grid;
    gap: 6px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.dashboard-stats article::before {
    content: "";
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), transparent 42%),
        color-mix(in srgb, var(--brand) 18%, transparent);
    position: absolute;
    top: 16px;
    right: 16px;
}

.dashboard-stats span,
.status-badge {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-stats strong {
    font-size: 2.2rem;
    line-height: 1;
    color: var(--text);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 20px;
    align-items: start;
}

.dashboard-stats--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 18px;
}

.dashboard-grid--analytics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.analytics-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.analytics-list p {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
    color: var(--muted);
}

.analytics-list strong {
    color: var(--text);
}

.dashboard-card {
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.dashboard-card h2,
.dashboard-card h3 {
    margin: 0;
}

.dashboard-hub {
    width: min(1500px, 100%);
    margin: 0 auto;
}

.dashboard-hero--hub {
    min-height: 210px;
    align-items: center;
}

.dashboard-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-metric {
    display: grid;
    gap: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-xl);
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.42)),
        var(--admin-glass);
    box-shadow: var(--admin-glass-shadow-soft);
    backdrop-filter: var(--admin-glass-blur);
    -webkit-backdrop-filter: var(--admin-glass-blur);
}

.dashboard-metric::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.9), transparent 42%),
        color-mix(in srgb, var(--brand) 16%, transparent);
}

.dashboard-metric span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-metric strong {
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.dashboard-metric small {
    color: var(--muted);
    font-weight: 800;
}

.dashboard-router-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.dashboard-router-grid--single {
    grid-template-columns: 1fr;
}

.dashboard-route-card {
    display: grid;
    gap: 14px;
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border: 1px solid var(--admin-glass-line);
    border-radius: calc(var(--admin-radius-xl) + 6px);
    padding: 30px;
    color: var(--text);
    text-decoration: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.44)),
        var(--admin-glass);
    box-shadow: var(--admin-glass-shadow);
    backdrop-filter: var(--admin-glass-blur);
    -webkit-backdrop-filter: var(--admin-glass-blur);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dashboard-route-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 28px 90px rgba(35, 49, 70, 0.18);
}

.dashboard-route-card::before {
    content: "";
    position: absolute;
    inset: auto -10% -35% 30%;
    height: 220px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand) 18%, transparent);
    filter: blur(8px);
}

.dashboard-route-card--shop::before {
    background: color-mix(in srgb, var(--accent) 24%, transparent);
}

.dashboard-route-card > * {
    position: relative;
    z-index: 1;
}

.dashboard-route-card h2 {
    margin: 0;
    max-width: 560px;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 0.98;
}

.dashboard-route-card p:not(.eyebrow) {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.dashboard-route-card strong {
    align-self: end;
    color: var(--brand);
    font-size: 1.05rem;
}

.dashboard-route-card__icon {
    display: inline-grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid var(--admin-glass-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.66);
    color: var(--brand-dark);
    font-weight: 1000;
}

.dashboard-grid--hub {
    grid-template-columns: minmax(340px, 0.75fr) minmax(0, 1.25fr);
}

.dashboard-grid--single {
    grid-template-columns: 1fr;
}

.quick-actions--stacked {
    align-items: stretch;
}

.quick-actions--stacked .button,
.quick-actions--stacked .admin-link {
    min-height: 44px;
}

.dashboard-inline-settings {
    display: flex;
    max-width: 620px;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.dashboard-inline-settings input[type="text"] {
    width: 190px;
}

.dashboard-inline-settings .inline-toggle {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.dashboard-page-list--compact article {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.analytics-list--orders p {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
}

.dashboard-shop-settings .editor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-card--actions {
    display: grid;
    gap: 16px;
}

.dashboard-card--navigation {
    display: grid;
    gap: 18px;
}

.admin-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.admin-category {
    display: grid;
    gap: 16px;
    align-content: start;
    min-height: 250px;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-xl);
    padding: 18px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: var(--admin-glass-shadow-soft);
}

.admin-category__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.admin-category__header > span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-md);
    background: rgba(255, 255, 255, 0.7);
    color: var(--brand-dark);
    font-weight: 1000;
}

.admin-category h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.admin-category p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.admin-category__links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-category__links .button {
    min-height: 38px;
    padding-inline: 14px;
}

.admin-category__links .admin-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-md);
    padding: 0 11px;
    background: rgba(255, 255, 255, 0.52);
}

.quick-actions--clean {
    display: grid;
}

.quick-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.module-grid--admin {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.module-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-lg);
    padding: 16px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: var(--admin-glass-shadow-soft);
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.module-option input {
    width: 26px;
    height: 26px;
    min-height: 26px;
    margin-top: 1px;
    accent-color: var(--brand);
    cursor: pointer;
}

.module-option:hover {
    border-color: rgba(22, 111, 104, 0.34);
    background: rgba(255, 255, 255, 0.74);
    transform: translateY(-1px);
}

.module-option:has(input:checked) {
    border-color: color-mix(in srgb, var(--brand) 45%, var(--admin-glass-line));
    background:
        linear-gradient(135deg, rgba(231, 243, 239, 0.9), rgba(255, 255, 255, 0.58)),
        var(--admin-glass);
    box-shadow: 0 16px 48px rgba(22, 111, 104, 0.13);
}

.module-option span {
    display: grid;
    gap: 5px;
}

.module-option strong {
    color: var(--text);
}

.module-option small,
.module-option em {
    color: var(--muted);
    font-style: normal;
}

.media-meta-form {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.media-meta-form input {
    width: 100%;
}

.media-meta-form .small-button {
    justify-self: start;
}

.dashboard-danger {
    margin: 0;
}

.dashboard-checklist {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.dashboard-checklist div {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-md);
    padding: 13px;
    background: rgba(255, 255, 255, 0.46);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dashboard-checklist span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: var(--danger-soft);
    color: var(--danger);
    font-size: 1rem;
    font-weight: 900;
}

.dashboard-checklist .is-done span {
    background: var(--brand-soft);
    color: var(--brand);
}

.dashboard-checklist p {
    margin: 0;
    color: var(--text);
    font-weight: 700;
}

.dashboard-guide {
    display: grid;
    gap: 12px;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.guide-steps a,
.guide-steps span {
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-md);
    padding: 16px;
    background: rgba(255, 255, 255, 0.5);
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.guide-steps a:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand);
    transform: translateY(-2px);
}

.dashboard-card__header {
    justify-content: space-between;
    margin-bottom: 18px;
}

.dashboard-page-list {
    display: grid;
    gap: 12px;
}

.dashboard-page-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-lg);
    padding: 16px;
    background: rgba(255, 255, 255, 0.56);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.dashboard-page-list article:hover,
.page-row:hover,
.media-card:hover {
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 52px rgba(35, 49, 70, 0.13);
    transform: translateY(-2px);
}

.dashboard-page-list p {
    margin: 4px 0 0;
    color: var(--muted);
}

.status-badge {
    border-radius: 999px;
    padding: 7px 11px;
    background: #eee;
    white-space: nowrap;
}

.status-badge--published {
    background: var(--brand-soft);
    color: var(--brand);
}

.status-badge--draft {
    background: var(--accent-soft);
    color: var(--accent);
}

.form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.field-label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--admin-glass-dark-line);
    border-radius: var(--admin-radius-md);
    padding: 0 12px;
    color: var(--text);
    font: inherit;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

input[type="file"] {
    padding: 7px;
    color: var(--muted);
}

input[type="file"]::file-selector-button {
    min-height: 30px;
    margin-right: 12px;
    border: 1px solid rgba(22, 111, 104, 0.18);
    border-radius: 10px;
    padding: 0 12px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.38)),
        rgba(231, 243, 239, 0.82);
    color: var(--brand-dark);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
    border-color: rgba(22, 111, 104, 0.32);
    background: var(--brand-soft);
}

select,
textarea {
    width: 100%;
    border: 1px solid var(--admin-glass-dark-line);
    border-radius: var(--admin-radius-md);
    padding: 10px 12px;
    color: var(--text);
    font: inherit;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

textarea {
    resize: vertical;
}

input:focus {
    border-color: var(--brand);
    outline: 4px solid rgba(22, 111, 104, 0.14);
    background: rgba(255, 255, 255, 0.82);
}

select:focus,
textarea:focus {
    border-color: var(--brand);
    outline: 4px solid rgba(22, 111, 104, 0.13);
    background: rgba(255, 255, 255, 0.82);
}

.color-field {
    position: relative;
}

.color-field__control {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
}

.color-field__control input {
    padding-left: 10px;
}

.color-field__swatch {
    display: block;
    width: 28px;
    height: 28px;
    border: 1px solid var(--admin-glass-dark-line);
    border-radius: 999px;
    background:
        linear-gradient(45deg, #d1d5db 25%, transparent 25% 75%, #d1d5db 75%),
        linear-gradient(45deg, #d1d5db 25%, transparent 25% 75%, #d1d5db 75%),
        #fff;
    background-position: 0 0, 7px 7px;
    background-size: 14px 14px;
    box-shadow: 0 4px 14px rgba(35, 49, 70, 0.12);
}

.color-field__control.is-empty .color-field__swatch::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin: 12px 0 0 -4px;
    border-radius: 999px;
    background: var(--danger);
    transform: rotate(-38deg);
}

.color-popover {
    position: fixed;
    z-index: 1000;
    width: min(320px, calc(100vw - 24px));
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-lg);
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
        var(--admin-glass);
    box-shadow: var(--admin-glass-shadow);
    backdrop-filter: var(--admin-glass-blur);
    -webkit-backdrop-filter: var(--admin-glass-blur);
}

.color-popover[hidden] {
    display: none;
}

.color-popover__header {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.color-popover__header strong {
    font-size: 0.9rem;
}

.color-popover__grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

.color-popover__swatch {
    width: 100%;
    aspect-ratio: 1;
    min-height: 0;
    border: 1px solid rgba(17, 24, 39, 0.14);
    border-radius: 999px;
    padding: 0;
    background: var(--swatch);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 4px 12px rgba(35, 49, 70, 0.12);
}

.color-popover__swatch:hover {
    transform: translateY(-1px);
}

.color-popover__custom {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}

.color-popover__custom input[type="color"] {
    width: 46px;
    min-height: 38px;
    padding: 3px;
}

.color-popover__custom code {
    color: var(--muted);
    font-weight: 800;
}

.color-popover__inherit {
    min-height: 34px;
    padding-inline: 12px;
}

.alert {
    border-left: 4px solid var(--danger);
    margin: 16px 0 0;
    border-radius: var(--admin-radius-md);
    padding: 11px 13px;
    background: rgba(255, 240, 238, 0.72);
    color: var(--danger);
}

.success {
    border-left: 4px solid var(--brand);
    margin: 16px 0;
    border-radius: var(--admin-radius-md);
    padding: 11px 13px;
    background: rgba(231, 243, 239, 0.78);
    color: var(--brand-dark);
}

.admin-link {
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
    text-underline-offset: 3px;
}

.admin-link:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.admin-panel {
    width: min(980px, 100%);
    margin: 0 auto;
    position: relative;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.48)),
        var(--admin-glass);
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-xl);
    padding: 30px;
    box-shadow: var(--admin-glass-shadow);
    backdrop-filter: var(--admin-glass-blur);
    -webkit-backdrop-filter: var(--admin-glass-blur);
}

.admin-panel--wide {
    width: min(1180px, 100%);
}

.admin-panel--editor {
    width: calc(100vw - 32px);
    max-width: none;
    padding: 20px;
}

.admin-panel__header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.admin-panel h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    color: var(--text);
}

.admin-panel h2 {
    margin: 0;
    font-size: 1.2rem;
}

.admin-panel h3 {
    margin: 24px 0 12px;
    font-size: 1rem;
}

.admin-actions,
.page-row__actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.page-row__actions form {
    margin: 0;
}

.page-list {
    display: grid;
    gap: 14px;
}

.page-row {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-lg);
    padding: 18px;
    background: rgba(255, 255, 255, 0.56);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.page-row p {
    display: flex;
    gap: 12px;
    margin: 8px 0 0;
    color: var(--muted);
}

.danger-zone {
    margin: 0 0 18px;
    border: 1px solid rgba(240, 201, 197, 0.9);
    border-radius: var(--admin-radius-md);
    background: rgba(255, 240, 238, 0.58);
}

.danger-zone summary {
    padding: 14px 16px;
    color: var(--danger);
    font-weight: 900;
    cursor: pointer;
}

.danger-zone p {
    margin: 0 16px 14px;
    color: var(--muted);
}

.danger-zone .inline-form {
    margin: 0 16px 16px;
}

.empty-state {
    display: grid;
    gap: 12px;
    justify-items: start;
    margin-top: 18px;
    border: 1px dashed var(--admin-glass-dark-line);
    border-radius: var(--admin-radius-lg);
    padding: 24px;
    background: rgba(255, 255, 255, 0.44);
}

.editor-form {
    display: grid;
    gap: 18px;
}

.editor-card {
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
        var(--admin-glass);
    overflow: hidden;
    box-shadow: var(--admin-glass-shadow-soft);
    backdrop-filter: blur(18px) saturate(1.16);
    -webkit-backdrop-filter: blur(18px) saturate(1.16);
}

.editor-target-highlight {
    outline: 3px solid rgba(245, 158, 11, 0.92);
    outline-offset: 3px;
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.16);
    transition: outline-color .18s ease, box-shadow .18s ease;
}

.editor-card--padded {
    padding: 20px;
}

.editor-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.28));
    border-bottom: 1px solid rgba(255, 255, 255, 0.54);
}

.editor-card summary::marker {
    display: none;
}

.editor-card > *:not(summary) {
    margin-left: 20px;
    margin-right: 20px;
}

.editor-card > :last-child {
    margin-bottom: 20px;
}

.editor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-top: 2px;
}

.block-style-panel {
    margin-top: 14px;
    margin-bottom: 18px;
    border: 1px dashed var(--admin-glass-dark-line);
    border-radius: var(--admin-radius-md);
    background: rgba(255, 255, 255, 0.36);
}

.block-style-panel summary {
    padding: 12px 14px;
    color: var(--text);
    font-size: 0.92rem;
}

.block-style-panel > *:not(summary) {
    margin-left: 14px;
    margin-right: 14px;
}

.block-style-panel > :last-child {
    margin-bottom: 14px;
}

.span-2 {
    grid-column: span 2;
}

.inline-toggle {
    display: inline-flex;
    grid-auto-flow: column;
    grid-template-columns: auto auto;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.inline-toggle input {
    width: 18px;
    min-height: 18px;
}

.text-size-control {
    align-self: end;
}

.text-size-control input {
    max-width: 140px;
}

.repeat-list {
    display: grid;
    gap: 12px;
}

.repeat-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-md);
    background: rgba(255, 255, 255, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.repeat-row__actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
}

.repeat-row__actions .small-button {
    min-height: 30px;
}

.repeat-add {
    justify-self: start;
    background: var(--brand-soft);
    color: var(--brand);
}

.repeat-add:hover {
    background: var(--brand);
    color: #fff;
}

.image-picker {
    display: grid;
    gap: 10px;
}

.media-picker-field {
    display: grid;
    gap: 10px;
}

.media-picker-preview {
    display: grid;
    width: min(160px, 100%);
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--admin-glass-dark-line);
    border-radius: var(--admin-radius-md);
    background: rgba(255, 255, 255, 0.56);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.media-picker-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-picker-preview.is-empty {
    border-style: dashed;
    background: rgba(255, 255, 255, 0.34);
}

.media-picker-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.media-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 10px;
    max-height: 360px;
    overflow: auto;
    border: 1px solid var(--admin-glass-dark-line);
    border-radius: var(--admin-radius-md);
    padding: 10px;
    background: rgba(255, 255, 255, 0.42);
}

.media-choice-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    max-height: 250px;
}

.media-choice {
    position: relative;
    display: grid;
    gap: 6px;
    align-content: start;
    border: 2px solid transparent;
    border-radius: var(--admin-radius-md);
    padding: 6px;
    background: rgba(255, 255, 255, 0.46);
    color: var(--text);
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.media-choice:hover {
    border-color: rgba(22, 111, 104, 0.32);
    transform: translateY(-1px);
}

.media-choice input {
    position: absolute;
    inset: 8px auto auto 8px;
    width: 18px;
    min-height: 18px;
    accent-color: var(--brand);
    z-index: 1;
}

.media-choice img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;
    background: #eee;
}

.media-choice span {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-choice:has(input:checked) {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(22, 111, 104, 0.12);
}

.media-choice--empty {
    min-height: 104px;
    place-items: center;
    text-align: center;
}

.media-choice-grid--compact .media-choice--empty {
    min-height: 88px;
}

.media-modal[hidden] {
    display: none;
}

.media-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(24, 27, 29, 0.34);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.media-modal__panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(1040px, 100%);
    max-height: min(820px, calc(100vh - 48px));
    overflow: hidden;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-xl);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.2);
    backdrop-filter: var(--admin-glass-blur);
    -webkit-backdrop-filter: var(--admin-glass-blur);
}

.media-modal__header,
.media-modal__pagination {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.media-modal__header h2 {
    margin: 0;
}

.media-modal__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    overflow: auto;
    padding: 20px;
    background: rgba(247, 249, 252, 0.52);
}

.media-modal__item {
    display: grid;
    gap: 8px;
    align-content: start;
    min-height: auto;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-md);
    padding: 8px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--text);
    text-align: left;
    box-shadow: none;
}

.media-modal__item:hover,
.media-modal__item:focus-visible {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(22, 111, 104, 0.12);
}

.media-modal__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    background: #eee;
}

.media-modal__item span {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-modal__pagination {
    border-top: 1px solid var(--line);
    border-bottom: 0;
}

.media-modal__pagination span {
    color: var(--muted);
    font-weight: 900;
}

.has-open-modal {
    overflow: hidden;
}

.sticky-save {
    position: sticky;
    bottom: 16px;
    z-index: 5;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-lg);
    padding: 14px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    box-shadow: 0 18px 58px rgba(32, 33, 36, 0.14);
}

.editor-tools {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 16px;
    margin-bottom: 18px;
}

.inline-form,
.upload-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    align-items: end;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-lg);
    padding: 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.upload-form {
    margin-bottom: 22px;
}

.block-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.small-button {
    min-height: 34px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.danger-button {
    background: var(--danger);
}

.danger-button:hover {
    background: #7a1710;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
    gap: 14px;
    align-items: start;
}

.media-grid--compact {
    padding-bottom: 20px;
}

.media-card {
    display: grid;
    gap: 10px;
    align-self: start;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-lg);
    padding: 10px;
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.media-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: #eee;
}

.media-card code {
    display: block;
    overflow-wrap: anywhere;
    color: var(--muted);
    font-size: 0.78rem;
}

.media-library {
    margin-bottom: 18px;
}

.shop-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.shop-summary-card {
    display: grid;
    gap: 16px;
    align-content: start;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-lg);
    padding: 18px;
    background: rgba(255, 255, 255, 0.52);
}

.shop-summary-card div:not(.quick-actions) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.shop-summary-card span {
    color: var(--muted);
    font-weight: 900;
}

.shop-summary-card strong {
    font-size: 2rem;
}

.product-row__main {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
}

.product-row__main img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.7);
}

.order-items {
    display: grid;
    gap: 10px;
}

.order-items div,
.cart-summary p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}

.cart-summary {
    display: grid;
    gap: 0;
    margin-top: 18px;
}

.cart-summary p:last-child {
    border-bottom: 0;
    font-size: 1.15rem;
}

.page-editor-layout {
    display: flex;
    gap: 20px;
    align-items: start;
}

.page-editor-fields {
    flex: 1 1 760px;
    min-width: 520px;
    max-width: 920px;
}

.page-editor-preview {
    position: sticky;
    top: 12px;
    flex: 0 1 min(680px, 49vw);
    min-width: 570px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: calc(100vh - 24px);
    min-height: 720px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: var(--admin-radius-xl);
    background: linear-gradient(135deg, rgba(20, 23, 26, 0.88), rgba(38, 44, 52, 0.78));
    box-shadow: 0 28px 90px rgba(16, 24, 40, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.page-editor-preview::after {
    content: "Desktop 60%";
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(21, 23, 24, 0.74);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
    pointer-events: none;
}

.preview-toolbar {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid var(--admin-glass-line);
    backdrop-filter: blur(18px) saturate(1.18);
    -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.preview-toolbar .eyebrow {
    margin-bottom: 2px;
}

.preview-toolbar__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.preview-mode-toggle {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid var(--admin-glass-dark-line);
    border-radius: var(--admin-radius-md);
    background: rgba(255, 255, 255, 0.44);
}

.preview-mode-toggle .small-button {
    min-height: 34px;
    border-radius: 0;
    background: transparent;
    color: var(--brand);
}

.preview-mode-toggle .small-button.is-active {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
        var(--brand);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.page-editor-preview iframe,
.preview-frame {
    display: block;
    width: 166.6667%;
    height: 166.6667%;
    border: 0;
    background: #fff;
    transform: scale(0.6);
    transform-origin: 0 0;
}

.page-editor-preview.is-mobile {
    justify-items: center;
}

.page-editor-preview.is-mobile::after {
    content: "Mobil";
}

.page-editor-preview.is-mobile iframe,
.page-editor-preview.is-mobile .preview-frame {
    width: min(390px, 100%);
    height: 100%;
    transform: none;
    transform-origin: 50% 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.maintenance-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 24% 18%, rgba(22, 111, 104, 0.16), transparent 28rem),
        radial-gradient(circle at 82% 24%, rgba(210, 139, 63, 0.14), transparent 24rem),
        linear-gradient(135deg, #fbfaf7, #eef5ff);
}

.maintenance-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
}

.maintenance-card {
    width: min(680px, 100%);
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-xl);
    padding: clamp(28px, 6vw, 64px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.48)),
        var(--admin-glass);
    box-shadow: var(--admin-glass-shadow);
    text-align: center;
    backdrop-filter: var(--admin-glass-blur);
    -webkit-backdrop-filter: var(--admin-glass-blur);
}

.maintenance-card h1 {
    margin: 0 0 16px;
    font-size: clamp(2.4rem, 8vw, 5rem);
    line-height: 0.95;
}

.maintenance-card p:last-child {
    margin: 0 auto;
    max-width: 520px;
    color: var(--muted);
    font-size: 1.1rem;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .auth-panel,
    .dashboard,
    .dashboard-hero,
    .dashboard-card,
    .dashboard-stats article,
    .admin-panel,
    .editor-card,
    .block-style-panel,
    .repeat-row,
    .media-picker-preview,
    .media-choice-grid,
    .media-choice,
    .media-modal__panel,
    .sticky-save,
    .inline-form,
    .upload-form,
    .media-card,
    .dashboard-checklist div,
    .guide-steps a,
    .guide-steps span,
    .dashboard-page-list article,
    .page-row,
    .empty-state,
    .danger-zone,
    .maintenance-card {
        background: rgba(255, 255, 255, 0.94);
    }

    .page-editor-preview {
        background: #151719;
    }
}

@media (max-width: 1180px) {
    .admin-panel--editor {
        width: min(1180px, 100%);
        padding: 18px;
    }

    .page-editor-layout {
        display: block;
    }

    .page-editor-fields {
        min-width: 0;
        max-width: none;
    }

    .page-editor-preview {
        display: none;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: auto;
    }

    .hero__grid,
    .dashboard,
    .dashboard-hero,
    .dashboard-page-list article {
        grid-template-columns: 1fr;
        display: grid;
    }

    .dashboard-stats,
    .dashboard-grid,
    .dashboard-overview-grid,
    .dashboard-router-grid,
    .dashboard-grid--hub,
    .guide-steps {
        grid-template-columns: 1fr;
    }

    .dashboard-route-card {
        min-height: 240px;
        padding: 22px;
    }

    .dashboard-route-card h2 {
        font-size: clamp(2rem, 12vw, 3.2rem);
    }

    .dashboard-page-list--compact article,
    .analytics-list--orders p,
    .dashboard-shop-settings .editor-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-inline-settings {
        display: grid;
        max-width: none;
    }

    .dashboard-inline-settings input[type="text"],
    .dashboard-inline-settings .button {
        width: 100%;
    }

    .dashboard-hero__actions,
    .dashboard-page-actions {
        justify-content: flex-start;
    }

    .hero__image {
        min-height: 320px;
    }

    .auth-panel,
    .dashboard {
        padding: 20px;
    }

    .admin {
        display: block;
    }

    .admin-panel {
        padding: 18px;
    }

    .admin-panel__header,
    .page-row {
        display: grid;
    }

    .editor-grid,
    .span-2 {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }

    .sticky-save {
        justify-content: stretch;
        display: grid;
    }

    .editor-tools {
        grid-template-columns: 1fr;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .shop-admin-grid {
        grid-template-columns: 1fr;
    }
}

.cms-page {
    --page-bg: #ffffff;
    --page-surface: #f7f7f5;
    --page-text: #232323;
    --page-muted: #686f75;
    --page-primary: #166f68;
    --page-accent: #d28b3f;
    --page-border: rgba(30, 30, 30, 0.12);
    --page-radius: 16px;
    --page-font: "Inter", Arial, sans-serif;
    --page-heading-font: "Playfair Display", Georgia, serif;
    --page-background: var(--page-bg);
    background: var(--page-background);
    color: var(--page-text);
    font-family: var(--page-font);
    min-height: 100vh;
}

.theme-performance {
    --page-bg: #08090a;
    --page-surface: #121416;
    --page-text: #f7f7f2;
    --page-muted: #adadad;
    --page-primary: #6db6b8;
    --page-accent: #f1d592;
    --page-border: rgba(255, 255, 255, 0.1);
    --page-radius: 28px;
    --page-font: "Plus Jakarta Sans", Arial, sans-serif;
    --page-heading-font: "Plus Jakarta Sans", Arial, sans-serif;
}

.theme-electric {
    --page-bg: #ffffff;
    --page-surface: #f3f6fb;
    --page-text: #172033;
    --page-muted: #64748b;
    --page-primary: #2563eb;
    --page-accent: #fbbf24;
    --page-border: #e2e8f0;
    --page-radius: 16px;
    --page-font: "Inter", Arial, sans-serif;
    --page-heading-font: "Inter", Arial, sans-serif;
}

.theme-beauty {
    --page-bg: #ffffff;
    --page-surface: #faf7f5;
    --page-text: #2d2a29;
    --page-muted: #6b6661;
    --page-primary: #3d3a38;
    --page-accent: #d4a373;
    --page-border: #ede7e3;
    --page-radius: 24px;
    --page-font: "Inter", Arial, sans-serif;
    --page-heading-font: "Playfair Display", Georgia, serif;
}

.theme-craft {
    --page-bg: #f9f5f2;
    --page-surface: #ffffff;
    --page-text: #2d2a29;
    --page-muted: #8c8580;
    --page-primary: #5c4033;
    --page-accent: #d4a373;
    --page-border: rgba(92, 64, 51, 0.18);
    --page-radius: 14px;
    --page-font: "Outfit", Arial, sans-serif;
    --page-heading-font: "Playfair Display", Georgia, serif;
}

.theme-malinio {
    --page-bg: #fbfcfd;
    --page-surface: #ffffff;
    --page-text: #020617;
    --page-muted: #64748b;
    --page-primary: #020617;
    --page-accent: #e30b5d;
    --page-border: #e2e8f0;
    --page-radius: 8px;
    --page-font: "Inter", Arial, sans-serif;
    --page-heading-font: "Inter", Arial, sans-serif;
}

.theme-care {
    --page-bg: #fdfcfb;
    --page-surface: #f3f6f4;
    --page-text: #2c3e50;
    --page-muted: #64748b;
    --page-primary: #5e807f;
    --page-accent: #e28d8d;
    --page-border: #d9e4dd;
    --page-radius: 30px;
    --page-font: "Inter", Arial, sans-serif;
    --page-heading-font: "Playfair Display", Georgia, serif;
}

.cms-page .container {
    width: min(1160px, calc(100% - 40px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--page-bg) 88%, transparent);
    border-bottom: 1px solid var(--page-border);
    backdrop-filter: blur(16px);
}

.site-demo-banner {
    position: sticky;
    top: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 8px 16px;
    background: #facc15;
    color: #111827;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

.site-demo-banner__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #111827;
    border-radius: 999px;
    padding: 6px 11px;
    color: #111827;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
    text-transform: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-demo-banner__back:hover {
    background: #111827;
    color: #facc15;
    transform: translateY(-1px);
}

.site-header__inner {
    min-height: 74px;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    color: var(--page-text);
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 180px;
    height: 42px;
    object-fit: contain;
    object-position: left center;
}

.site-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.site-nav a,
.site-phone {
    color: var(--page-text);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.site-phone {
    background: var(--page-primary);
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
}

.theme-beauty .site-header {
    position: absolute;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), transparent);
    border-bottom: 0;
    backdrop-filter: none;
}

.theme-beauty .site-logo,
.theme-beauty .site-nav a {
    color: #fff;
}

.theme-beauty .site-phone {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    backdrop-filter: blur(10px);
}

.theme-malinio .site-header {
    background: rgba(255, 255, 255, 0.86);
    border-bottom-color: rgba(226, 232, 240, 0.86);
}

.theme-malinio .site-logo {
    color: var(--page-text);
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.theme-malinio .site-logo img {
    max-width: 178px;
    height: 48px;
}

.theme-malinio .site-nav {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.theme-malinio .site-nav a {
    color: var(--page-muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color .18s ease;
}

.theme-malinio .site-nav a:hover {
    color: var(--page-accent);
}

.theme-malinio .site-phone {
    background: var(--page-text);
    color: #fff;
}

.theme-electric .site-phone,
.theme-performance .site-phone {
    color: #0b1020;
    background: var(--page-accent);
}

.theme-malinio .cms-hero {
    min-height: 560px;
    padding: 118px 0 80px;
    background:
        linear-gradient(180deg, rgba(251, 252, 253, 0) 0%, #fbfcfd 100%),
        radial-gradient(circle at 50% 18%, rgba(227, 11, 93, 0.1), transparent 34rem);
}

.theme-malinio .cms-hero__grid {
    display: block;
    max-width: 1060px;
    margin: 0 auto;
    text-align: center;
}

.theme-malinio .cms-hero h1,
.theme-malinio .cms-page h2 {
    font-family: var(--page-heading-font);
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.theme-malinio .cms-hero h1 {
    max-width: 100%;
    font-size: 5.3rem;
    line-height: 1.02;
    background: linear-gradient(135deg, #020617 22%, #e30b5d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.theme-malinio .cms-page h2 {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
    font-size: 3rem;
    line-height: 1.08;
}

.theme-malinio .cms-hero p,
.theme-malinio .section p,
.theme-malinio .contact-lines {
    max-width: 60ch;
}

.theme-malinio .cms-hero__copy > p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
    color: #475569;
    font-size: 1.2rem;
    line-height: 1.7;
}

.theme-malinio .eyebrow {
    color: var(--page-accent);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.theme-malinio .eyebrow.center {
    text-align: center;
}

.theme-malinio .actions {
    gap: 12px;
    justify-content: center;
}

.theme-malinio .button,
.theme-malinio button {
    min-height: 52px;
    border: 1px solid var(--page-primary);
    border-radius: 16px;
    padding: 0 22px;
    background: var(--page-primary);
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.14);
}

.theme-malinio .button:hover,
.theme-malinio button:hover {
    border-color: var(--page-accent);
    background: var(--page-accent);
    box-shadow: 0 20px 38px rgba(227, 11, 93, 0.18);
}

.theme-malinio .button.secondary {
    border-color: #cbd5e1;
    background: rgba(255, 255, 255, 0.7);
    color: var(--page-text);
    box-shadow: none;
}

.theme-malinio .section {
    padding: 82px 0;
}

.theme-malinio .section-tinted {
    background: #f8fafc;
}

.theme-malinio .feature-grid,
.theme-malinio .portfolio-grid,
.theme-malinio .price-card-grid,
.theme-malinio .stats-grid {
    gap: 18px;
}

.theme-malinio .feature-card,
.theme-malinio .feature-panel-card,
.theme-malinio .portfolio-card,
.theme-malinio .price-card,
.theme-malinio .quote-card,
.theme-malinio .team-card,
.theme-malinio .stat-card,
.theme-malinio .contact-form,
.theme-malinio .price-list,
.theme-malinio .custom-form,
.theme-malinio .property-search,
.theme-malinio .property-detail__summary,
.theme-malinio .realtor-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: none;
    background: #ffffff;
}

.theme-malinio .feature-card {
    min-height: 228px;
    padding: 28px;
}

.theme-malinio .feature-card__icon {
    color: var(--page-accent);
    font-weight: 900;
}

.theme-malinio .feature-card h3,
.theme-malinio .portfolio-card h3,
.theme-malinio .price-card h3,
.theme-malinio .team-card h3 {
    color: var(--page-text);
    font-size: 1.35rem;
    line-height: 1.18;
}

.theme-malinio .portfolio-card h3,
.theme-malinio .price-card h3,
.theme-malinio .team-card h3,
.theme-malinio .stat-card strong {
    letter-spacing: 0;
}

.theme-malinio .portfolio-card__link {
    color: var(--page-accent);
}

.theme-malinio .feature-panel-card h3 {
    font-style: normal;
    letter-spacing: 0;
}

.theme-malinio .price-card strong {
    color: var(--page-accent);
    font-size: 2rem;
}

.theme-malinio .stat-card {
    min-height: 154px;
    justify-items: start;
    text-align: left;
}

.theme-malinio .stat-card strong {
    color: var(--page-accent);
    font-size: 3.1rem;
}

.theme-malinio .stat-card span {
    color: var(--page-text);
    font-weight: 800;
}

.theme-malinio .feature-panel {
    align-items: start;
}

.theme-malinio .feature-panel__copy {
    position: sticky;
    top: 112px;
}

.theme-malinio .feature-panel__copy h2 {
    margin-left: 0;
    text-align: left;
}

.theme-malinio .feature-panel__grid {
    grid-template-columns: 1fr;
}

.theme-malinio .feature-panel-card {
    min-height: 132px;
}

.theme-malinio .portfolio-card {
    display: grid;
    min-height: 240px;
}

.theme-malinio .portfolio-card > div {
    display: flex;
    flex-direction: column;
}

.theme-malinio .portfolio-card__link {
    width: fit-content;
    margin-top: auto;
}

.theme-malinio .menu-row,
.theme-malinio .hours-list div,
.theme-malinio .price-row,
.theme-malinio .faq-list details {
    border-bottom-color: rgba(18, 18, 18, 0.1);
}

.theme-malinio .faq-list details {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.theme-malinio .social-links a {
    border-color: rgba(18, 18, 18, 0.1);
    background: var(--page-surface);
}

.theme-malinio .social-links a:hover {
    background: var(--page-text);
}

.theme-malinio .cta-band {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 58px 34px;
    background: #020617;
    color: #fff;
}

.theme-malinio .cta-band h2,
.theme-malinio .cta-band p {
    color: #fff;
}

.theme-malinio .cta-band .button {
    border-color: #fff;
    background: #fff;
    color: #020617;
}

.theme-malinio .cta-band .button.secondary {
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
}

.theme-malinio .contact-grid {
    align-items: stretch;
}

.theme-malinio .contact-form input,
.theme-malinio .contact-form textarea {
    border-radius: 8px;
}

@media (max-width: 900px) {
    .theme-malinio .cms-hero {
        min-height: auto;
        padding: 92px 0 62px;
    }

    .theme-malinio .cms-hero h1 {
        font-size: 3.6rem;
    }

    .theme-malinio .cms-page h2 {
        font-size: 2.35rem;
    }

    .theme-malinio .feature-panel__copy {
        position: static;
    }
}

@media (max-width: 640px) {
    .theme-malinio .site-header__inner {
        align-items: flex-start;
    }

    .theme-malinio .site-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .theme-malinio .site-nav a {
        font-size: 0.68rem;
    }

    .theme-malinio .cms-hero {
        padding: 76px 0 52px;
    }

    .theme-malinio .cms-hero h1 {
        font-size: 2.85rem;
        line-height: 1.05;
    }

    .theme-malinio .cms-hero__copy > p:not(.eyebrow) {
        font-size: 1.05rem;
    }

    .theme-malinio .cms-page h2 {
        font-size: 2rem;
    }

    .theme-malinio .button,
    .theme-malinio button {
        width: 100%;
    }

    .theme-malinio .stat-card strong {
        font-size: 2.4rem;
    }
}

.cms-hero {
    position: relative;
    padding: 90px 0;
    color: var(--page-text);
    overflow: hidden;
}

.cms-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
    gap: 56px;
    align-items: center;
}

.cms-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cms-hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cms-hero:not(.cms-hero--image_center) > .cms-hero__background {
    display: none;
}

.cms-hero h1,
.cms-page h2 {
    margin: 0;
    color: var(--page-text);
    font-family: var(--page-heading-font);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1;
    letter-spacing: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.theme-performance .cms-hero h1,
.theme-performance h2,
.theme-electric .cms-hero h1,
.theme-electric h2 {
    font-family: var(--page-heading-font);
    font-weight: 800;
}

.cms-page h2 {
    margin-bottom: 40px;
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.cms-hero p,
.section p,
.contact-lines {
    color: var(--page-muted);
    font-size: 1.08rem;
}

.cms-hero__copy > p:not(.eyebrow) {
    max-width: 680px;
    margin: 24px 0 34px;
}

.cms-hero--gradient_center {
    padding: 110px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--page-primary), color-mix(in srgb, var(--page-primary) 74%, #ffffff));
}

.cms-hero--gradient_center .cms-hero__grid {
    display: block;
}

.cms-hero--gradient_center h1,
.cms-hero--gradient_center p {
    color: #fff;
}

.cms-hero--gradient_center .cms-hero__copy > p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
}

.cms-hero--gradient_center .actions {
    justify-content: center;
}

.cms-hero--center {
    padding: 150px 0 115px;
    text-align: center;
    background:
        radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--page-primary) 14%, transparent), transparent 34%),
        var(--page-bg);
}

.cms-hero--center .cms-hero__grid {
    display: block;
}

.cms-hero--center .cms-hero__copy {
    max-width: 940px;
    margin: 0 auto;
}

.cms-hero--center .cms-hero__copy > p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
}

.cms-hero--center .actions {
    justify-content: center;
}

.cms-hero--image_center {
    width: 100%;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    color: #fff;
    background: #1f1a17;
}

.cms-hero--image_center::before,
.cms-hero--image_center::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.cms-hero--image_center::before {
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15));
}

.cms-hero--image_center::after {
    inset: auto 0 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--page-bg) 98%);
}

.cms-hero--image_center .cms-hero__grid {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cms-hero--image_center .cms-hero__copy {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.cms-hero--image_center h1 {
    color: #fff;
    font-size: clamp(2.5rem, 10vw, 5rem);
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.cms-hero--image_center .eyebrow {
    color: #fff;
    letter-spacing: 0.34em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.cms-hero--image_center .cms-hero__copy > p:not(.eyebrow) {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cms-hero--image_center .actions {
    justify-content: center;
}

.cms-page .eyebrow {
    color: var(--page-accent);
}

.cms-page .eyebrow.center {
    text-align: center;
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cms-page .button,
.cms-page button {
    background: var(--page-primary);
    color: #fff;
}

.cms-page .button.secondary {
    background: transparent;
    border: 1px solid var(--page-border);
    color: var(--page-text);
}

.shop-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--page-border);
    background: color-mix(in srgb, var(--page-bg) 86%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.shop-header__inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.shop-page {
    background: var(--page-background);
    color: var(--page-text);
    font-family: var(--page-font);
}

.shop-hero {
    padding: 96px 0 72px;
    background:
        radial-gradient(circle at 16% 0%, color-mix(in srgb, var(--page-primary) 16%, transparent), transparent 28rem),
        linear-gradient(135deg, color-mix(in srgb, var(--page-surface) 84%, white), var(--page-bg));
    text-align: center;
}

.shop-hero h1,
.shop-product-detail h1,
.shop-page h1,
.shop-page h2 {
    font-family: var(--page-heading-font);
}

.shop-hero h1 {
    margin: 0 auto 18px;
    max-width: 900px;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.95;
}

.shop-hero p {
    max-width: 680px;
    margin: 0 auto 24px;
    color: var(--page-muted);
    font-size: 1.2rem;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.shop-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.shop-category-nav a {
    border: 1px solid var(--page-border);
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--page-text);
    text-decoration: none;
    background: var(--page-surface);
    font-weight: 800;
}

.shop-category-nav a:hover,
.shop-category-nav a.is-active {
    border-color: var(--page-primary);
    background: var(--page-primary);
    color: #fff;
}

.shop-product-card {
    display: grid;
    gap: 16px;
    border: 1px solid var(--page-border);
    border-radius: 18px;
    padding: 12px;
    background: var(--page-surface);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.1);
}

.shop-product-card a {
    color: inherit;
    text-decoration: none;
}

.shop-product-card img,
.shop-product-detail__media img,
.shop-cart-row img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    object-fit: cover;
    background: color-mix(in srgb, var(--page-surface) 70%, #eee);
}

.shop-product-card h2 {
    margin: 14px 0 8px;
    font-size: 1.35rem;
}

.shop-product-card p,
.shop-description,
.shop-cart-row p {
    color: var(--page-muted);
}

.shop-product-card strong,
.shop-price {
    display: block;
    color: var(--page-primary);
    font-size: 1.35rem;
    font-weight: 900;
}

.shop-price-old {
    display: block;
    color: var(--page-muted);
    text-decoration: line-through;
    font-weight: 800;
    margin-bottom: 4px;
}

.shop-badge {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 12px;
    background: var(--page-primary);
    color: #fff;
    font-weight: 900;
    margin-bottom: 12px;
}

.shop-product-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.shop-product-detail {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

.shop-product-detail__copy {
    display: grid;
    gap: 22px;
}

.shop-product-detail h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.96;
}

.shop-buy-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px auto;
    gap: 14px;
    align-items: end;
}

.shop-buy-form label {
    width: auto;
}

.shop-product-stage {
    border: 1px solid var(--page-border);
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, color-mix(in srgb, var(--page-surface) 92%, #fff), color-mix(in srgb, var(--page-background) 88%, #fff));
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.shop-product-stage__image {
    display: block;
    border-radius: 0 !important;
    aspect-ratio: 1 / 1;
}

.shop-product-stage__empty {
    display: grid;
    place-items: center;
    min-height: 460px;
    padding: 24px;
    color: var(--page-muted);
    font-weight: 700;
}

.shop-product-gallery__thumb {
    appearance: none;
    padding: 0;
    border: 1px solid var(--page-border);
    border-radius: 16px;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-product-gallery__thumb:hover,
.shop-product-gallery__thumb.is-active {
    border-color: var(--page-primary);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.shop-product-gallery__thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0;
}

.shop-product-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.shop-product-title {
    display: grid;
    gap: 12px;
}

.shop-product-lead {
    margin: 0;
    max-width: 58ch;
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--page-muted);
}

.shop-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.shop-product-meta > span,
.shop-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--page-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--page-surface) 88%, #fff);
    color: var(--page-text);
    font-size: 0.95rem;
    font-weight: 700;
}

.shop-availability.is-available {
    border-color: color-mix(in srgb, var(--page-primary) 35%, var(--page-border));
}

.shop-availability.is-unavailable {
    border-color: color-mix(in srgb, #dc2626 35%, var(--page-border));
}

.shop-availability__dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 999px;
    background: #16a34a;
}

.shop-availability.is-unavailable .shop-availability__dot {
    background: #dc2626;
}

.shop-price-box {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    padding: 24px 26px;
    border: 1px solid var(--page-border);
    border-radius: 24px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--page-primary) 5%, #fff), color-mix(in srgb, var(--page-surface) 92%, #fff));
}

.shop-price-save {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--page-primary) 12%, #fff);
    color: var(--page-primary);
    font-weight: 900;
}

.shop-buy-box {
    display: grid;
    gap: 16px;
    padding: 26px;
    border: 1px solid var(--page-border);
    border-radius: 24px;
    background: var(--page-surface);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.shop-buy-form__field {
    display: grid;
    gap: 8px;
}

.shop-buy-form__field--wide {
    grid-column: 1 / span 1;
}

.shop-buy-form__field span {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--page-muted);
}

.shop-buy-box__notes {
    display: grid;
    gap: 6px;
}

.shop-buy-box__notes p {
    margin: 0;
    color: var(--page-muted);
}

.shop-product-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-product-benefits span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--page-surface) 84%, #fff);
    border: 1px solid var(--page-border);
    color: var(--page-muted);
    font-weight: 700;
}

.shop-product-sections {
    display: grid;
    gap: 24px;
}

.shop-content-card {
    display: grid;
    gap: 18px;
    padding: 26px;
    border: 1px solid var(--page-border);
    border-radius: 26px;
    background: var(--page-surface);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.05);
}

.shop-content-card h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.2vw, 2.4rem);
    line-height: 1.05;
}

.shop-specs,
.shop-bundle-list {
    display: grid;
    gap: 12px;
}

.shop-specs__row,
.shop-bundle-list__row {
    display: grid;
    grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.2fr);
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--page-border) 70%, transparent);
}

.shop-specs__row:last-child,
.shop-bundle-list__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.shop-specs__row span,
.shop-bundle-list__row strong {
    color: var(--page-muted);
}

.shop-bundle-list__row strong {
    font-size: 0.95rem;
}

.shop-bundle-list__row span,
.shop-specs__row strong {
    color: var(--page-text);
}
}

.shop-cart {
    display: grid;
    gap: 16px;
}

.shop-legal-footer {
    padding: 0 0 48px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
}

.legal-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--page-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--page-surface) 90%, #fff);
    color: var(--page-text);
    font-weight: 700;
    text-decoration: none;
}

.legal-links__button {
    appearance: none;
    border: 1px solid var(--page-border);
    border-radius: 999px;
    min-height: 42px;
    padding: 10px 16px;
    background: color-mix(in srgb, var(--page-surface) 90%, #fff);
    color: var(--page-text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.legal-document {
    max-width: 920px;
    margin: 0 auto;
}

.legal-document__content {
    color: var(--page-muted);
    line-height: 1.9;
}

.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid var(--page-border);
    border-radius: 24px;
    background: color-mix(in srgb, var(--page-surface) 92%, #fff);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(16px);
}

.cookie-banner__copy {
    display: grid;
    gap: 6px;
}

.cookie-banner__copy p {
    margin: 0;
    color: var(--page-muted);
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: end;
}

.shop-cart-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 110px auto;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--page-border);
    border-radius: 16px;
    padding: 14px;
    background: var(--page-surface);
}

.shop-cart-row img {
    aspect-ratio: 1;
}

.shop-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 40px;
    align-items: start;
}

.shop-order-summary {
    position: sticky;
    top: 96px;
    border: 1px solid var(--page-border);
    border-radius: 20px;
    padding: 24px;
    background: var(--page-surface);
}

.shop-order-summary > p {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.checkout-packeta {
    display: grid;
    gap: 12px;
    border: 1px solid var(--page-border);
    border-radius: 18px;
    padding: 18px;
    background: color-mix(in srgb, var(--page-surface) 82%, white);
}

.checkout-packeta h2,
.checkout-packeta p {
    margin: 0;
}

.checkout-packeta__selected {
    color: var(--page-muted);
    font-weight: 750;
}

.checkout-payment-note input[disabled] {
    opacity: 1;
    color: var(--page-text);
    background: color-mix(in srgb, var(--page-primary) 8%, white);
}

.section-intro {
    max-width: 760px;
    margin: -14px auto 34px;
    color: var(--page-muted);
    text-align: center;
    font-size: 1.12rem;
}

.shop-feature {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    gap: 46px;
    align-items: center;
}

.shop-feature-section--reverse .shop-feature > img {
    order: 2;
}

.shop-feature > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

.shop-feature h2,
.shop-promo h2,
.shop-cart-status h2 {
    margin-top: 0;
}

.shop-promo {
    display: grid;
    justify-items: center;
    border: 1px solid var(--page-border);
    border-radius: 24px;
    padding: clamp(34px, 6vw, 72px);
    background:
        radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--page-accent) 18%, transparent), transparent 24rem),
        var(--page-surface);
    text-align: center;
}

.shop-promo .actions {
    justify-content: center;
}

.shop-cart-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid var(--page-border);
    border-radius: 22px;
    padding: 26px;
    background: var(--page-surface);
}

.shop-cart-status > div:last-child {
    display: grid;
    justify-items: end;
    gap: 8px;
}

.shop-cart-status strong {
    color: var(--page-primary);
    font-size: 2.4rem;
    line-height: 1;
}

.theme-electric .button,
.theme-electric button,
.theme-performance .button,
.theme-performance button {
    color: #0b1020;
    background: var(--page-accent);
}

.cms-hero__media {
    position: relative;
    min-height: 490px;
    border-radius: var(--page-radius);
    overflow: hidden;
    background: var(--page-surface);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

.cms-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: cmsFade 18s infinite;
}

.cms-hero__media img:nth-child(1) { animation-delay: 0s; }
.cms-hero__media img:nth-child(2) { animation-delay: 3s; }
.cms-hero__media img:nth-child(3) { animation-delay: 6s; }
.cms-hero__media img:nth-child(4) { animation-delay: 9s; }
.cms-hero__media img:nth-child(5) { animation-delay: 12s; }
.cms-hero__media img:nth-child(6) { animation-delay: 15s; }

@keyframes cmsFade {
    0%, 23%, 100% { opacity: 0; }
    5%, 18% { opacity: 1; }
}

.section {
    padding: 90px 0;
    color: var(--page-text);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-tinted {
    background: var(--page-surface);
}

.feature-grid {
    display: grid;
    grid-template-columns: var(--block-grid-template, repeat(auto-fit, minmax(240px, 1fr)));
    gap: 24px;
}

.feature-card {
    min-height: 210px;
    padding: 30px;
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius);
    background: var(--page-bg);
}

.theme-performance .feature-card {
    background: var(--page-surface);
}

.feature-card__icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--page-accent) 22%, transparent);
    color: var(--page-primary);
    font-weight: 800;
}

.feature-card h3 {
    margin: 0 0 12px;
    color: var(--page-text);
    font-size: 1.35rem;
}

.feature-panel-section {
    padding: 70px 0;
}

.feature-panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(36px, 7vw, 90px);
    align-items: center;
    border: 1px solid var(--page-primary);
    border-radius: clamp(24px, 4vw, 42px);
    padding: clamp(34px, 6vw, 76px);
    background: var(--page-bg);
}

.feature-panel-section--reverse .feature-panel__copy {
    order: 2;
}

.feature-panel-section--reverse .feature-panel__grid {
    order: 1;
}

.feature-panel__copy h2 {
    margin-bottom: 24px;
    text-align: left;
    font-style: italic;
}

.feature-panel__copy p:not(.eyebrow) {
    max-width: 560px;
    font-size: 1.08rem;
}

.feature-panel__grid {
    display: grid;
    grid-template-columns: var(--block-grid-template, repeat(2, minmax(0, 1fr)));
    gap: 22px;
}

.feature-panel-card {
    min-height: 156px;
    padding: 30px;
    border: 1px solid color-mix(in srgb, var(--page-border) 68%, transparent);
    border-radius: 24px;
    background: var(--page-surface);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.feature-panel-card h3 {
    margin: 0 0 12px;
    color: var(--page-text);
    font-size: 1.18rem;
    font-style: italic;
    text-transform: uppercase;
}

.feature-panel-card p {
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: var(--block-grid-template, repeat(auto-fit, minmax(220px, 1fr)));
    gap: 18px;
}

.gallery-item {
    position: relative;
    min-height: 260px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--page-radius);
    background: var(--page-bg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item figcaption {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 4px;
    padding: 22px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

.gallery-item figcaption span {
    font-size: 0.9rem;
    opacity: 0.86;
}

.price-list {
    max-width: 780px;
    margin: 0 auto;
    padding: 36px;
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius);
    background: var(--page-surface);
}

.price-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 17px 0;
    border-bottom: 1px solid var(--page-border);
}

.price-row:last-child {
    border-bottom: 0;
}

.price-row strong {
    color: var(--page-accent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 46px;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 28px;
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius);
    background: var(--page-bg);
}

.contact-form label {
    color: var(--page-text);
}

.contact-form input,
.contact-form textarea {
    border-color: var(--page-border);
    background: var(--page-surface);
}

.contact-lines {
    margin-top: 28px;
}

.social-section {
    text-align: center;
}

.social-section--left {
    text-align: left;
}

.social-section--right {
    text-align: right;
}

.social-section--left h2,
.social-section--right h2 {
    text-align: inherit;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

.social-section--left .social-links {
    justify-content: flex-start;
}

.social-section--right .social-links {
    justify-content: flex-end;
}

.social-links a {
    display: inline-flex;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid var(--page-border);
    border-radius: 999px;
    color: var(--page-text);
    text-decoration: none;
    background: var(--page-bg);
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    border-color: var(--page-accent);
    background: var(--page-accent);
    color: #fff;
}

.social-feed-section h2 {
    margin-bottom: 28px;
}

.feed-embed {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius);
    background: var(--page-bg);
}

.feed-embed iframe {
    display: block;
    width: 100%;
    min-height: 260px;
    border: 0;
    background: var(--page-bg);
}

.feed-embed--facebook {
    max-width: 540px;
}

.instagram-grid,
.property-grid {
    display: grid;
    grid-template-columns: var(--block-grid-template, repeat(auto-fit, minmax(250px, 1fr)));
    gap: 22px;
}

.instagram-card {
    position: relative;
    display: grid;
    min-height: 280px;
    overflow: hidden;
    border-radius: var(--page-radius);
    color: #fff;
    text-decoration: none;
    background: var(--page-primary);
}

.instagram-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.instagram-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 25%, rgba(0, 0, 0, 0.75));
}

.instagram-card:hover img {
    transform: scale(1.06);
}

.instagram-card span,
.instagram-card small {
    position: relative;
    z-index: 1;
    align-self: end;
    margin: auto 20px 20px;
}

.instagram-card small {
    margin-top: -16px;
    color: rgba(255, 255, 255, 0.78);
    font-size: .82rem;
}

.feed-action {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.feed-placeholder {
    display: grid;
    min-height: 240px;
    place-items: center;
    border: 1px dashed var(--page-border);
    border-radius: var(--page-radius);
    color: var(--page-muted);
    background: var(--page-bg);
}

.property-search-section {
    position: relative;
    z-index: 3;
    margin-top: -44px;
    padding-bottom: 54px;
}

.property-search {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 28px;
    align-items: center;
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius);
    padding: 28px;
    background: var(--page-bg);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.12);
}

.property-search h2 {
    margin-bottom: 14px;
    text-align: left;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.property-search p {
    margin: 0;
}

.property-search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    align-items: end;
}

.property-search-form label {
    display: grid;
    gap: 6px;
    color: var(--page-muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.property-search-form select {
    min-height: 46px;
    border: 1px solid var(--page-border);
    border-radius: 8px;
    padding: 0 12px;
    background: var(--page-surface);
    color: var(--page-text);
    font: inherit;
}

.property-search-form .button {
    min-height: 46px;
}

.property-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 42px;
    align-items: center;
}

.property-feature > img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: var(--page-radius);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .14);
}

.property-feature h2 {
    margin-bottom: 18px;
    text-align: left;
}

.property-location {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.property-price {
    display: block;
    margin: 8px 0 18px;
    color: var(--page-accent);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.property-facts,
.property-meta,
.realtor-contact,
.realtor-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.property-facts {
    margin: 24px 0;
}

.property-facts span,
.property-meta span,
.realtor-stats span {
    border: 1px solid var(--page-border);
    border-radius: 999px;
    padding: 9px 13px;
    background: var(--page-surface);
    color: var(--page-text);
    font-weight: 800;
}

.property-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius);
    background: var(--page-bg);
    transition: transform .2s ease, box-shadow .2s ease;
}

.property-results {
    margin: -24px 0 28px;
    text-align: center;
    color: var(--page-muted);
    font-weight: 800;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
}

.property-card > a {
    position: relative;
    display: block;
    min-height: 240px;
    background: var(--page-surface);
}

.property-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.property-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    border-radius: 999px;
    padding: 7px 11px;
    background: var(--page-accent);
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
}

.property-badge--static {
    position: static;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
}

.property-card > div {
    display: grid;
    gap: 10px;
    padding: 22px;
}

.property-card h3 {
    margin: 0;
    color: var(--page-text);
}

.property-card strong {
    color: var(--page-primary);
    font-size: 1.3rem;
}

.property-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 34px;
    align-items: start;
}

.property-detail__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.property-detail__gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: calc(var(--page-radius) - 6px);
}

.property-detail__gallery .is-main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
    border-radius: var(--page-radius);
}

.property-detail__summary {
    position: sticky;
    top: 94px;
    display: grid;
    gap: 14px;
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius);
    padding: 30px;
    background: var(--page-bg);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .08);
}

.property-detail__summary h1 {
    margin: 0;
    color: var(--page-text);
    font-family: var(--page-heading-font);
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    line-height: 1;
}

.property-detail__facts,
.property-detail__body {
    grid-column: 1 / -1;
}

.property-detail__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
}

.property-detail__facts div {
    display: grid;
    gap: 6px;
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius);
    padding: 20px;
    background: var(--page-surface);
}

.property-detail__facts span {
    color: var(--page-muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.property-detail__facts strong {
    color: var(--page-text);
    font-size: 1.2rem;
}

.property-detail__body {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(260px, .5fr);
    gap: 34px;
    align-items: start;
}

.property-feature-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.property-feature-list li {
    border: 1px solid var(--page-border);
    border-radius: 999px;
    padding: 11px 15px;
    background: var(--page-bg);
    color: var(--page-text);
    font-weight: 800;
}

.property-show {
    background:
        radial-gradient(circle at 18% 12%, rgba(176, 141, 87, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(245, 245, 241, 0.96), #fff);
}

.property-show__hero {
    position: relative;
    min-height: min(74vh, 720px);
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #20241f;
}

.property-show__hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-show__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 18, 15, 0.86), rgba(14, 18, 15, 0.35) 48%, rgba(14, 18, 15, 0.12)),
        linear-gradient(0deg, rgba(14, 18, 15, 0.78), rgba(14, 18, 15, 0.06) 54%);
}

.property-show__hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 56px;
    padding-top: 120px;
    padding-bottom: 72px;
}

.property-show__back {
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    backdrop-filter: blur(12px);
}

.property-show__headline {
    max-width: 900px;
    color: #fff;
}

.property-show__headline .eyebrow,
.property-show__location {
    color: rgba(255, 255, 255, 0.82);
}

.property-show__headline h1 {
    margin: 12px 0 18px;
    color: #fff;
    font-family: var(--page-heading-font);
    font-size: clamp(3rem, 8vw, 7.4rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
}

.property-show__badge {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 9px 13px;
    background: var(--page-accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-show__location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 800;
}

.property-show__content {
    margin-top: -36px;
    padding-top: 0;
}

.property-show__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
    gap: 28px;
    align-items: start;
}

.property-show__main,
.property-show__sidebar > div {
    border: 1px solid rgba(37, 42, 39, 0.1);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 70px rgba(37, 42, 39, 0.12);
    backdrop-filter: blur(14px);
}

.property-show__main {
    display: grid;
    gap: 30px;
    padding: clamp(22px, 4vw, 42px);
}

.property-show__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.property-show__facts div {
    display: grid;
    gap: 7px;
    border: 1px solid rgba(37, 42, 39, 0.08);
    border-radius: 24px;
    padding: 18px;
    background: #f7f5ef;
}

.property-show__facts span,
.property-show__price-card span {
    color: var(--page-muted);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-show__facts strong {
    color: var(--page-text);
    font-size: clamp(1rem, 1.8vw, 1.45rem);
}

.property-show__copy {
    max-width: 780px;
}

.property-show__copy h2 {
    margin: 0 0 14px;
    text-align: left;
}

.property-show__copy p:last-child {
    color: var(--page-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.property-show__gallery {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 14px;
}

.property-show__gallery img {
    width: 100%;
    min-height: 220px;
    height: 100%;
    object-fit: cover;
    border-radius: 26px;
}

.property-show__gallery img:first-child {
    min-height: 340px;
    grid-row: span 2;
}

.property-show__sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 18px;
}

.property-show__price-card,
.property-show__agent {
    display: grid;
    gap: 15px;
    padding: 28px;
}

.property-show__price-card strong {
    color: var(--page-primary);
    font-family: var(--page-heading-font);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.95;
}

.property-show__price-card p,
.property-show__agent p {
    margin: 0;
    color: var(--page-muted);
    line-height: 1.65;
}

.property-show__agent h2 {
    margin: 0;
    text-align: left;
}

.property-show__agent a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--page-text);
    font-weight: 900;
    text-decoration: none;
}

.realtor-card {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
    gap: 42px;
    align-items: center;
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius);
    padding: 34px;
    background: var(--page-surface);
}

.realtor-card > img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: calc(var(--page-radius) - 4px);
}

.realtor-card h2 {
    margin-bottom: 16px;
    text-align: left;
}

.realtor-card h3 {
    margin: 0 0 6px;
    color: var(--page-text);
    font-size: 1.7rem;
}

.realtor-card strong {
    color: var(--page-accent);
}

.realtor-contact {
    margin: 22px 0;
}

.realtor-contact a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--page-text);
    text-decoration: none;
    font-weight: 800;
}

.realtor-stats span {
    display: grid;
    gap: 2px;
    border-radius: var(--page-radius);
}

.realtor-stats b {
    color: var(--page-primary);
    font-size: 1.5rem;
}

.realtor-stats small {
    color: var(--page-muted);
}

.custom-form-layout {
    display: grid;
    gap: 34px;
    align-items: start;
}

.custom-form-section--center .custom-form-layout {
    max-width: 720px;
    justify-items: stretch;
    text-align: center;
}

.custom-form-section--split .custom-form-layout {
    grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
    gap: 70px;
}

.custom-form-section--split h2 {
    text-align: left;
}

.custom-form-section--wide .custom-form-layout {
    max-width: 1040px;
}

.custom-form-copy > p {
    max-width: 680px;
    margin: -18px auto 0;
}

.custom-form-section--split .custom-form-copy > p {
    margin-left: 0;
}

.custom-form {
    display: grid;
    gap: 18px;
    padding: 40px;
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius);
    background: var(--page-bg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.custom-form label {
    display: grid;
    gap: 6px;
    color: var(--page-text);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    border: 1px solid var(--page-border);
    border-radius: 8px;
    padding: 15px;
    background: var(--page-surface);
    color: var(--page-text);
    font: inherit;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--page-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--page-accent) 18%, transparent);
}

.map-section {
    color: var(--page-text);
}

.map-heading {
    padding: 70px 0 28px;
}

.map-frame {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--page-border);
    border-bottom: 1px solid var(--page-border);
    background: var(--page-surface);
}

.map-section--gray iframe {
    filter: grayscale(1);
    transition: filter .35s ease;
}

.map-section--gray iframe:hover {
    filter: grayscale(0);
}

.map-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--page-muted);
}

.site-footer {
    padding: 42px 0;
    border-top: 1px solid var(--page-border);
    color: var(--page-muted);
}

.site-footer .container {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.narrow {
    max-width: 860px;
}

.portfolio-grid,
.price-card-grid,
.quote-grid,
.team-grid,
.stats-grid {
    display: grid;
    grid-template-columns: var(--block-grid-template, repeat(auto-fit, minmax(240px, 1fr)));
    gap: 22px;
}

.portfolio-card,
.price-card,
.quote-card,
.team-card,
.stat-card {
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius);
    background: var(--page-bg);
    overflow: hidden;
}

.feature-card,
.feature-panel-card,
.gallery-item,
.portfolio-card,
.price-card,
.quote-card,
.team-card,
.stat-card,
.instagram-card,
.property-card {
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, filter .24s ease;
}

.block-hover--lift .feature-card:hover,
.block-hover--lift .feature-panel-card:hover,
.block-hover--lift .gallery-item:hover,
.block-hover--lift .portfolio-card:hover,
.block-hover--lift .price-card:hover,
.block-hover--lift .quote-card:hover,
.block-hover--lift .team-card:hover,
.block-hover--lift .stat-card:hover,
.block-hover--lift .instagram-card:hover,
.block-hover--lift .property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, .14);
}

.block-hover--zoom .feature-card:hover,
.block-hover--zoom .feature-panel-card:hover,
.block-hover--zoom .gallery-item:hover,
.block-hover--zoom .portfolio-card:hover,
.block-hover--zoom .price-card:hover,
.block-hover--zoom .quote-card:hover,
.block-hover--zoom .team-card:hover,
.block-hover--zoom .stat-card:hover,
.block-hover--zoom .instagram-card:hover,
.block-hover--zoom .property-card:hover {
    transform: scale(1.025);
    box-shadow: 0 20px 45px rgba(15, 23, 42, .12);
}

.block-hover--glow .feature-card:hover,
.block-hover--glow .feature-panel-card:hover,
.block-hover--glow .gallery-item:hover,
.block-hover--glow .portfolio-card:hover,
.block-hover--glow .price-card:hover,
.block-hover--glow .quote-card:hover,
.block-hover--glow .team-card:hover,
.block-hover--glow .stat-card:hover,
.block-hover--glow .instagram-card:hover,
.block-hover--glow .property-card:hover {
    border-color: color-mix(in srgb, var(--page-primary) 58%, var(--page-border));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--page-primary) 22%, transparent), 0 22px 60px color-mix(in srgb, var(--page-primary) 16%, transparent);
}

.block-hover--tilt .feature-card:hover,
.block-hover--tilt .feature-panel-card:hover,
.block-hover--tilt .gallery-item:hover,
.block-hover--tilt .portfolio-card:hover,
.block-hover--tilt .price-card:hover,
.block-hover--tilt .quote-card:hover,
.block-hover--tilt .team-card:hover,
.block-hover--tilt .stat-card:hover,
.block-hover--tilt .instagram-card:hover,
.block-hover--tilt .property-card:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 22px 52px rgba(15, 23, 42, .13);
}

.reveal-on-scroll.feature-card,
.reveal-on-scroll.feature-panel-card,
.reveal-on-scroll.gallery-item,
.reveal-on-scroll.portfolio-card,
.reveal-on-scroll.price-card,
.reveal-on-scroll.quote-card,
.reveal-on-scroll.team-card,
.reveal-on-scroll.stat-card,
.reveal-on-scroll.instagram-card,
.reveal-on-scroll.property-card {
    transform: translateY(26px) scale(.985);
}

.reveal-on-scroll.feature-card.is-revealed,
.reveal-on-scroll.feature-panel-card.is-revealed,
.reveal-on-scroll.gallery-item.is-revealed,
.reveal-on-scroll.portfolio-card.is-revealed,
.reveal-on-scroll.price-card.is-revealed,
.reveal-on-scroll.quote-card.is-revealed,
.reveal-on-scroll.team-card.is-revealed,
.reveal-on-scroll.stat-card.is-revealed,
.reveal-on-scroll.instagram-card.is-revealed,
.reveal-on-scroll.property-card.is-revealed {
    transform: translateY(0) scale(1);
}

.portfolio-card img,
.team-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.portfolio-card > div,
.price-card,
.quote-card,
.team-card,
.stat-card {
    padding: 26px;
}

.portfolio-card h3,
.price-card h3,
.team-card h3 {
    margin: 0 0 10px;
    color: var(--page-text);
}

.portfolio-card__link {
    margin-top: 16px;
}

.floating-action {
    position: fixed;
    z-index: 80;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 20px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.24);
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.3);
}

.floating-action--right {
    right: 24px;
}

.floating-action--left {
    left: 24px;
}

.floating-action i {
    font-size: 1.35rem;
}

.menu-list,
.faq-list,
.hours-list {
    max-width: 860px;
    margin: 0 auto;
}

.menu-list h3 {
    margin: 34px 0 12px;
    color: var(--page-primary);
}

.menu-row,
.hours-list div {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    border-bottom: 1px solid var(--page-border);
    padding: 16px 0;
}

.menu-row strong,
.hours-list strong {
    color: var(--page-text);
}

.menu-row p {
    margin: 4px 0 0;
    color: var(--page-muted);
}

.price-card strong {
    display: block;
    margin: 10px 0 14px;
    color: var(--page-accent);
    font-size: 1.7rem;
}

.price-card ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--page-muted);
}

.split-block,
.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

.split-block--reverse > div {
    order: 2;
}

.split-block--reverse > img {
    order: 1;
}

.split-block h2,
.hours-grid h2 {
    text-align: left;
}

.split-block img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--page-radius);
}

.image-text-panel-section {
    background: var(--page-surface);
}

.image-text-panel {
    display: grid;
    grid-template-columns: minmax(280px, .92fr) minmax(0, 1fr);
    gap: clamp(34px, 6vw, 70px);
    align-items: center;
}

.image-text-panel--reverse .image-text-panel__media {
    order: 2;
}

.image-text-panel--reverse .image-text-panel__copy {
    order: 1;
}

.image-text-panel__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3.1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(42, 37, 31, .12);
}

.image-text-panel__copy h2 {
    margin-bottom: 28px;
    text-align: left;
}

.image-text-panel__copy h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 2px;
    margin-top: 28px;
    background: var(--page-accent);
}

.image-text-panel__copy p:not(.eyebrow) {
    max-width: 650px;
    font-size: 1.05rem;
}

.block-buttons {
    justify-content: center;
    margin-top: 28px;
}

.block-buttons--left {
    justify-content: flex-start;
}

.quote-card {
    margin: 0;
}

.quote-card > p {
    color: var(--page-text);
    font-size: 1.1rem;
}

.quote-card footer {
    display: grid;
    gap: 2px;
    margin-top: 22px;
    color: var(--page-muted);
}

.faq-list details {
    border: 1px solid var(--page-border);
    border-radius: var(--page-radius);
    padding: 18px 22px;
    background: var(--page-bg);
}

.faq-list details + details {
    margin-top: 12px;
}

.faq-list summary {
    color: var(--page-text);
    cursor: pointer;
    font-weight: 800;
}

.faq-list p {
    margin: 12px 0 0;
}

.team-card strong {
    color: var(--page-accent);
}

.stat-card {
    display: grid;
    gap: 8px;
    text-align: center;
}

.stat-card strong {
    color: var(--page-primary);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
}

.cta-band {
    display: grid;
    justify-items: center;
    text-align: center;
    border-radius: var(--page-radius);
    background: var(--page-surface);
    padding: 58px 32px;
}

.cta-band p {
    max-width: 680px;
}

.cta-band .actions {
    justify-content: center;
}

@media (max-width: 850px) {
    .site-header__inner {
        min-height: auto;
        padding: 16px 0;
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .site-nav {
        display: none;
    }

    .cms-hero {
        padding: 54px 0;
    }

    .cms-hero--center {
        padding: 76px 0 64px;
    }

    .cms-hero h1,
    .cms-page h2 {
        hyphens: auto;
    }

    .cms-hero__copy,
    .cms-hero--center .cms-hero__copy {
        max-width: 100%;
    }

    .cms-hero--image_center {
        min-height: 620px;
        height: 86vh;
    }

    .cms-hero--image_center h1 {
        font-size: clamp(2.5rem, 16vw, 4.8rem);
    }

    .cms-hero--image_center .eyebrow,
    .cms-hero--image_center .cms-hero__copy > p:not(.eyebrow) {
        letter-spacing: 0.18em;
    }

    .cms-hero__grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cms-hero__media {
        min-height: 320px;
        order: -1;
    }

    .section {
        padding: 64px 0;
    }

    .feature-grid,
    .feature-panel,
    .feature-panel__grid,
    .gallery-grid,
    .instagram-grid,
    .property-grid,
    .portfolio-grid,
    .price-card-grid,
    .quote-grid,
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .feature-panel {
        padding: 30px 22px;
        border-radius: 28px;
    }

    .feature-panel-section--reverse .feature-panel__copy,
    .feature-panel-section--reverse .feature-panel__grid {
        order: initial;
    }

    .split-block,
    .image-text-panel,
    .hours-grid,
    .custom-form-section--split .custom-form-layout,
    .property-search,
    .property-feature,
    .realtor-card,
    .property-detail,
    .property-detail__body {
        grid-template-columns: 1fr;
    }

    .shop-header__inner,
    .shop-product-detail,
    .shop-feature,
    .shop-cart-row,
    .shop-checkout,
    .shop-cart-status {
        grid-template-columns: 1fr;
        display: grid;
    }

    .shop-buy-form,
    .shop-specs__row,
    .shop-bundle-list__row,
    .cookie-banner {
        grid-template-columns: 1fr;
    }

    .shop-product-stage__empty {
        min-height: 320px;
    }

    .shop-product-meta,
    .shop-product-benefits,
    .shop-price-box {
        gap: 10px;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
    }

    .cookie-banner__actions {
        justify-content: stretch;
    }

    .shop-feature-section--reverse .shop-feature > img {
        order: initial;
    }

    .shop-cart-status > div:last-child {
        justify-items: start;
    }

    .shop-order-summary {
        position: static;
    }

    .image-text-panel--reverse .image-text-panel__media,
    .image-text-panel--reverse .image-text-panel__copy {
        order: initial;
    }

    .custom-form-section--split h2,
    .custom-form-section--split,
    .social-section--left,
    .social-section--right {
        text-align: center;
    }

    .social-section--left .social-links,
    .social-section--right .social-links {
        justify-content: center;
    }

    .custom-form {
        padding: 26px;
    }

    .site-demo-banner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 12px;
        line-height: 1.35;
    }

    .site-demo-banner__back {
        padding: 6px 10px;
    }

    .split-block--reverse > div,
    .split-block--reverse > img {
        order: initial;
    }

    .menu-row,
    .hours-list div {
        display: grid;
        gap: 6px;
    }

    .property-search-section {
        margin-top: 0;
        padding-top: 24px;
    }

    .property-search,
    .realtor-card {
        padding: 22px;
    }

    .property-detail__summary {
        position: static;
    }

    .property-detail__gallery,
    .property-detail__facts {
        grid-template-columns: 1fr;
    }

    .property-show__hero {
        min-height: 620px;
    }

    .property-show__hero-inner {
        gap: 34px;
        padding-top: 110px;
        padding-bottom: 54px;
    }

    .property-show__grid,
    .property-show__facts,
    .property-show__gallery {
        grid-template-columns: 1fr;
    }

    .property-show__sidebar {
        position: static;
    }

    .property-show__gallery img,
    .property-show__gallery img:first-child {
        min-height: 230px;
    }

    .site-footer .container {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .reveal-on-scroll.feature-card,
    .reveal-on-scroll.gallery-item,
    .reveal-on-scroll.portfolio-card,
    .reveal-on-scroll.price-card,
    .reveal-on-scroll.quote-card,
    .reveal-on-scroll.team-card,
    .reveal-on-scroll.stat-card,
    .reveal-on-scroll.instagram-card,
    .reveal-on-scroll.property-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.button-secondary {
    background: transparent;
    color: var(--accent, #0f766e);
    border: 1px solid rgba(15, 118, 110, 0.2);
}

.editor-card--soft {
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    padding: 18px;
}

.reservation-hours-grid {
    margin-top: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reservation-resource-picker {
    margin-top: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reservation-layout {
    align-items: start;
}

.reservation-slot-panel {
    margin: 24px 0;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.reservation-slot-panel__header {
    margin-bottom: 16px;
}

.reservation-slot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.reservation-slot {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.reservation-slot:hover,
.reservation-slot.is-active {
    transform: translateY(-1px);
    background: var(--accent, #0f766e);
    color: #fff;
    box-shadow: 0 14px 32px rgba(15, 118, 110, 0.22);
}

.reservation-service-cards {
    display: grid;
    gap: 14px;
}

.reservation-service-card {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.85);
}

.reservation-summary {
    top: 120px;
}

.reservation-widget__intro {
    margin-bottom: 20px;
}

.reservation-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.reservation-calendar-day {
    min-height: 140px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.reservation-calendar-day > header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.reservation-calendar-item {
    display: grid;
    gap: 4px;
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(15, 118, 110, 0.08);
    font-size: 13px;
}

.reservation-calendar-item--blackout {
    background: rgba(190, 24, 93, 0.08);
}

@media (max-width: 1024px) {
    .reservation-hours-grid,
    .reservation-resource-picker {
        grid-template-columns: 1fr;
    }

    .reservation-calendar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Admin redesign */
body.admin {
    --admin-bg-a: #eef2f6;
    --admin-bg-b: #f8fafc;
    --admin-glass: #ffffff;
    --admin-glass-strong: #ffffff;
    --admin-glass-soft: #ffffff;
    --admin-glass-line: #d6dde7;
    --admin-glass-dark-line: #bcc7d4;
    --admin-glass-shadow: 0 20px 40px rgba(15, 23, 42, 0.07);
    --admin-glass-shadow-soft: 0 12px 26px rgba(15, 23, 42, 0.045);
    --admin-glass-blur: none;
    --admin-radius-xl: 8px;
    --admin-radius-lg: 6px;
    --admin-radius-md: 4px;
    padding: 20px;
    background:
        radial-gradient(circle at top left, rgba(22, 111, 104, 0.06), transparent 28rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.9)),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, var(--admin-bg-a), var(--admin-bg-b));
    background-size: auto, auto, 22px 22px, 22px 22px, auto;
    background-attachment: fixed;
}

.admin-shell {
    width: 100%;
    max-width: none;
    margin: 0;
}

.admin-shell--guest {
    width: min(560px, calc(100% - 24px));
    margin: 42px auto;
}

.admin-app {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.admin-sidebar {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 20px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 20px;
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    padding: 20px;
    overflow: hidden;
    border: 1px solid #1e252e;
    border-radius: var(--admin-radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, #151b22, #10151b);
    color: #d9e1ea;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
    transition: width .18s ease, padding .18s ease, gap .18s ease;
}

.admin-sidebar__brand {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.admin-sidebar__brand-mark {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid #2f3945;
    border-radius: 6px;
    background: linear-gradient(135deg, #1a7b73, #0f4c47);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-sidebar__brand-copy {
    display: grid;
    gap: 2px;
}

.admin-sidebar__brand-copy strong {
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.admin-sidebar__brand-copy small,
.admin-sidebar__meta small {
    color: #8f9bab;
}

.admin-sidebar__nav {
    display: grid;
    gap: 20px;
    align-content: start;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #31404f transparent;
}

.admin-sidebar__nav::-webkit-scrollbar {
    width: 8px;
}

.admin-sidebar__nav::-webkit-scrollbar-track {
    background: transparent;
}

.admin-sidebar__nav::-webkit-scrollbar-thumb {
    background: #31404f;
    border-radius: 999px;
}

.admin-sidebar__nav::-webkit-scrollbar-thumb:hover {
    background: #3f5162;
}

.admin-nav-section {
    display: grid;
    gap: 10px;
}

.admin-nav-section__label {
    margin: 0;
    color: #95a1af;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-nav-link {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid #252e38;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    color: #d9e1ea;
    text-decoration: none;
    transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.admin-nav-link__label {
    min-width: 0;
}

.admin-nav-link:hover {
    border-color: #3b4958;
    background: #18212a;
    color: #fff;
    transform: translateX(2px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.admin-nav-link.is-active {
    border-color: #1f8f86;
    background: linear-gradient(135deg, rgba(22, 111, 104, 0.2), rgba(15, 76, 71, 0.08));
    color: #fff;
    box-shadow: inset 3px 0 0 #1f8f86;
}

.admin-nav-link__mark {
    display: inline-grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid #334155;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    color: #b8c4d2;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-sidebar__footer {
    display: grid;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #232b34;
}

.admin-sidebar__meta {
    display: grid;
    gap: 2px;
}

.admin-sidebar .small-button {
    width: 100%;
    justify-content: center;
    border-color: #2f3945;
    background: #161d25;
    color: #d9e1ea;
}

.admin-sidebar .small-button:hover {
    background: #1b2430;
}

.admin-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-nav-toggle--sidebar {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    border-color: #2f3945;
    background: #161d25;
    color: #d9e1ea;
}

.admin-nav-toggle--sidebar:hover {
    background: #1b2430;
}

.admin-nav-toggle__icon {
    display: inline-grid;
    width: 18px;
    place-items: center;
    font-weight: 900;
}

.admin-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    display: grid;
    gap: 22px;
}

.admin-topbar {
    position: sticky;
    top: 20px;
    z-index: 20;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-xl);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--admin-glass-shadow-soft);
}

.admin-topbar__title {
    display: grid;
    gap: 6px;
}

.admin-topbar h1 {
    margin: 0;
    font-size: clamp(1.85rem, 3vw, 2.8rem);
    line-height: 0.96;
    letter-spacing: -0.02em;
}

.admin-topbar .eyebrow {
    margin: 0;
}

.admin-topbar__path {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.admin-topbar__actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-topbar__actions .admin-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #e1e7ee;
    background: #f8fafc;
}

.admin-topbar__actions .admin-link:hover {
    background: #eef3f7;
    text-decoration: none;
}

.admin-content {
    display: grid;
    gap: 22px;
}

.admin-app.is-nav-collapsed {
    grid-template-columns: 88px minmax(0, 1fr);
}

.admin-app.is-nav-collapsed .admin-sidebar {
    gap: 16px;
    padding: 18px 12px;
}

.admin-app.is-nav-collapsed .admin-sidebar__brand {
    grid-template-columns: 1fr;
    justify-items: center;
}

.admin-app.is-nav-collapsed .admin-sidebar__brand-copy,
.admin-app.is-nav-collapsed .admin-nav-section__label,
.admin-app.is-nav-collapsed .admin-nav-link__label,
.admin-app.is-nav-collapsed .admin-sidebar__meta,
.admin-app.is-nav-collapsed .admin-sidebar__footer form,
.admin-app.is-nav-collapsed .admin-nav-toggle__label {
    display: none;
}

.admin-app.is-nav-collapsed .admin-sidebar__nav {
    gap: 14px;
}

.admin-app.is-nav-collapsed .admin-nav-section {
    gap: 8px;
}

.admin-app.is-nav-collapsed .admin-nav-link {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 44px;
    padding: 0;
}

.admin-app.is-nav-collapsed .admin-nav-link:hover {
    transform: none;
}

.admin-app.is-nav-collapsed .admin-nav-link.is-active {
    box-shadow: inset 0 0 0 2px rgba(31, 143, 134, 0.35);
}

.admin-app.is-nav-collapsed .admin-sidebar__footer {
    justify-items: center;
    padding-top: 10px;
}

.admin-app.is-nav-collapsed .admin-nav-toggle--sidebar {
    width: 100%;
    padding: 0;
}

.admin-app.is-nav-collapsed .admin-sidebar__brand-mark {
    width: 48px;
    height: 48px;
}

.admin-topnav {
    display: none;
}

.auth-panel,
.dashboard,
.dashboard-hero,
.dashboard-card,
.dashboard-stats article,
.dashboard-metric,
.dashboard-route-card,
.admin-panel,
.editor-card,
.page-row,
.danger-zone,
.empty-state,
.media-card,
.module-option,
.admin-category,
.dashboard-page-list article,
.maintenance-card,
.page-editor-preview,
.shop-summary-card,
.dashboard-checklist div,
.guide-steps a,
.guide-steps span {
    border-color: var(--admin-glass-line);
    border-radius: var(--admin-radius-xl);
    background: #ffffff;
    box-shadow: var(--admin-glass-shadow-soft);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.dashboard-hero::before,
.admin-panel::before,
.dashboard-route-card::before,
.dashboard-metric::after,
.dashboard-stats article::before {
    display: none;
}

.admin-panel,
.dashboard-hub,
.dashboard,
.auth-panel {
    width: 100%;
    max-width: none;
}

.dashboard-hero,
.admin-panel,
.dashboard-card,
.dashboard-route-card,
.dashboard-metric,
.admin-category,
.module-option,
.page-row,
.dashboard-page-list article,
.media-card,
.maintenance-card,
.shop-summary-card {
    overflow: visible;
}

.dashboard-route-card {
    min-height: 0;
    padding: 26px;
    gap: 10px;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.dashboard-route-card:hover,
.dashboard-page-list article:hover,
.page-row:hover,
.media-card:hover,
.module-option:hover,
.admin-category:hover {
    transform: translateY(-2px);
    border-color: #b9c3d0;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.07);
}

.dashboard-hero {
    min-height: 0;
    padding: 26px;
}

.dashboard-route-card h2 {
    max-width: none;
    font-size: clamp(1.65rem, 2.4vw, 2.45rem);
    line-height: 1.04;
}

.dashboard-route-card p:not(.eyebrow),
.dashboard-card p,
.admin-category p,
.page-row p,
.analytics-list p,
.danger-zone p,
.empty-state p,
.auth-panel__intro {
    color: var(--muted);
}

.dashboard-route-card strong {
    color: var(--brand-dark);
    font-size: 0.96rem;
}

.dashboard-route-card__icon,
.admin-category__header > span,
.dashboard-checklist span,
.status-badge,
.preview-mode-toggle,
.preview-mode-toggle .small-button,
.admin-topnav__brand {
    border-radius: 4px;
}

.dashboard-route-card__icon,
.admin-category__header > span {
    border-color: var(--admin-glass-dark-line);
    background: linear-gradient(180deg, #f8fafb, #eef3f7);
    color: var(--text);
}

.status-badge {
    border: 1px solid var(--admin-glass-line);
    background: #f6f8fa;
}

.status-badge--published {
    background: #eef8f6;
    color: var(--brand-dark);
}

.status-badge--draft {
    background: #fff5e8;
    color: #9a5b11;
}

.admin-link {
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 800;
}

.admin-link:hover {
    color: var(--brand);
}

.button,
button,
input[type="file"]::file-selector-button {
    border-radius: 4px;
}

.admin .button,
.admin button {
    min-height: 42px;
    border: 1px solid transparent;
    box-shadow: none;
    font-weight: 800;
}

.admin .button:hover,
.admin button:hover {
    box-shadow: none;
    transform: translateY(-1px);
}

.admin .button.secondary,
.small-button,
.admin-category__links .admin-link,
.preview-mode-toggle .small-button,
.media-picker-actions .button.secondary {
    border: 1px solid var(--admin-glass-dark-line);
    background: linear-gradient(180deg, #fbfcfd, #f3f6f9);
    color: var(--text);
}

.admin .button.secondary:hover,
.small-button:hover,
.admin-category__links .admin-link:hover,
.preview-mode-toggle .small-button:hover,
.media-picker-actions .button.secondary:hover {
    background: #eef3f7;
}

.danger-button,
.danger-zone .danger-button {
    background: var(--danger);
    color: #fff;
}

input,
select,
textarea {
    border-color: var(--admin-glass-dark-line);
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand);
    outline: 3px solid rgba(22, 111, 104, 0.1);
    background: #fff;
}

.auth-panel {
    padding: 38px;
    border-top: 4px solid var(--brand);
}

.auth-panel__intro {
    margin: 12px 0 0;
    max-width: 440px;
}

.auth-panel .form {
    margin-top: 22px;
}

.admin-panel {
    width: min(1080px, 100%);
    margin: 0 auto;
    position: relative;
    background: linear-gradient(180deg, #ffffff, #fcfdff);
    border: 1px solid var(--admin-glass-line);
    border-top: 4px solid var(--brand);
    border-radius: var(--admin-radius-xl);
    padding: 28px;
    box-shadow: var(--admin-glass-shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.admin-panel--wide {
    width: min(1280px, 100%);
}

.admin-panel--editor {
    width: 100%;
    max-width: none;
    padding: 20px;
}

.admin-panel__header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e9eef4;
}

.admin-panel h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.96;
    color: var(--text);
    letter-spacing: -0.02em;
}

.admin-panel h2 {
    margin: 0;
    font-size: 1.18rem;
}

.admin-panel h3 {
    margin: 22px 0 10px;
    font-size: 0.98rem;
}

.page-row,
.dashboard-page-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.page-row {
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-lg);
    padding: 18px;
    background: linear-gradient(180deg, #ffffff, #fbfcfd);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.page-row h2,
.dashboard-page-list h3,
.admin-list-card h2 {
    letter-spacing: -0.01em;
}

.page-row p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.page-row p span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #e6ebf1;
    background: #f7f9fc;
}

.page-row__actions,
.admin-actions {
    justify-content: flex-end;
}

.danger-zone {
    border-style: solid;
    background: #fff4f2;
    border-left: 4px solid var(--danger);
}

.editor-card {
    border-radius: var(--admin-radius-lg);
}

.editor-card summary {
    background: linear-gradient(180deg, #fbfcfd, #f5f7fa);
    border-bottom: 1px solid var(--admin-glass-line);
}

.block-style-panel {
    border-radius: 4px;
    background: #fafbfd;
}

.repeat-row,
.media-choice-grid,
.media-picker-preview,
.color-popover,
.inline-form,
.upload-form {
    border-color: var(--admin-glass-dark-line);
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.inline-form,
.upload-form {
    background: #fbfcfe;
}

.media-choice {
    border-radius: 4px;
    background: #fff;
}

.media-choice img {
    border-radius: 2px;
}

.page-editor-layout {
    gap: 22px;
}

.page-editor-preview {
    top: 0;
    border-radius: 8px;
    border-color: #2c3440;
    background: #12171d;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

.preview-toolbar {
    background: #f7f9fb;
    border-bottom: 1px solid var(--admin-glass-line);
}

.preview-mode-toggle {
    overflow: hidden;
    background: #eef2f6;
}

.preview-mode-toggle .small-button.is-active {
    background: var(--brand);
    color: #fff;
    box-shadow: none;
}

.dashboard-grid,
.dashboard-grid--hub {
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
}

.dashboard-overview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-stats,
.dashboard-router-grid,
.admin-category-grid,
.module-grid,
.dashboard-grid--analytics {
    gap: 16px;
}

@media (max-width: 1100px) {
    .admin-app {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        min-height: 0;
    }

    .admin-sidebar__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .admin-app.is-nav-collapsed {
        grid-template-columns: 1fr;
    }

    .admin-app.is-nav-collapsed .admin-sidebar {
        padding: 20px;
    }

    .admin-app.is-nav-collapsed .admin-sidebar__brand {
        grid-template-columns: 56px minmax(0, 1fr);
        justify-items: stretch;
    }

    .admin-app.is-nav-collapsed .admin-sidebar__brand-copy,
    .admin-app.is-nav-collapsed .admin-nav-section__label,
    .admin-app.is-nav-collapsed .admin-nav-link__label,
    .admin-app.is-nav-collapsed .admin-sidebar__meta,
    .admin-app.is-nav-collapsed .admin-sidebar__footer form,
    .admin-app.is-nav-collapsed .admin-nav-toggle__label {
        display: revert;
    }

    .admin-app.is-nav-collapsed .admin-nav-link {
        grid-template-columns: 38px minmax(0, 1fr);
        justify-items: stretch;
        padding: 0 12px;
    }

    .admin-topbar {
        top: 0;
    }

    .dashboard-grid,
    .dashboard-grid--hub {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    body.admin {
        padding: 14px;
    }

    .admin-nav-toggle__label {
        display: none;
    }

    .admin-sidebar__nav {
        grid-template-columns: 1fr;
    }

    .admin-topbar,
    .admin-panel__header,
    .dashboard-hero,
    .page-row,
    .dashboard-page-list article {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-topbar__actions,
    .admin-actions,
    .page-row__actions {
        justify-content: flex-start;
    }

    .dashboard-overview-grid,
    .dashboard-stats,
    .dashboard-router-grid,
    .dashboard-grid--analytics {
        grid-template-columns: 1fr;
    }
}

.admin-stack {
    display: grid;
    gap: 20px;
}

.admin-section {
    display: grid;
    gap: 14px;
}

.admin-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.admin-section__header h2,
.admin-section__header p {
    margin: 0;
}

.admin-section__header p {
    color: var(--muted);
}

.admin-section__header h2,
.dashboard-card__header h2,
.admin-panel__header h1 {
    text-wrap: balance;
}

.admin-utility-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.admin-utility-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #e1e7ee;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.admin-utility-link:hover {
    background: #eef3f7;
}

.admin-utility-link.is-active {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.admin-quick-grid,
.admin-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-quick-card,
.admin-stat-card,
.admin-note,
.admin-list-card,
.page-editor-tools,
.page-editor-meta {
    border: 1px solid var(--admin-glass-line);
    border-radius: var(--admin-radius-lg);
    background: linear-gradient(180deg, #ffffff, #fbfcfd);
    box-shadow: var(--admin-glass-shadow-soft);
}

.admin-quick-card,
.admin-stat-card {
    padding: 18px 20px;
}

.admin-quick-card strong,
.admin-stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.45rem;
    line-height: 1;
}

.admin-quick-card p,
.admin-stat-card p,
.admin-note p {
    margin: 6px 0 0;
    color: var(--muted);
}

.admin-note {
    padding: 18px 20px;
}

.admin-note h2 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.admin-split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.admin-list-card {
    padding: 20px;
}

.admin-list-card > h2,
.admin-list-card > p {
    margin-top: 0;
}

.admin-list-card .page-list:last-child,
.admin-list-card .analytics-list:last-child,
.admin-list-card .media-grid:last-child {
    margin-bottom: 0;
}

.admin-list-card .page-list {
    margin-top: 0;
}

.filters-card {
    border-top: 4px solid #d8e4f3;
}

.dashboard-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.admin-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #e4e9f0;
    border-radius: 999px;
    background: #f7f9fb;
    color: #516072;
    font-size: 0.82rem;
    line-height: 1;
    font-weight: 700;
}

.admin-panel__header .admin-chip {
    background: #fff;
}

.page-editor-layout {
    grid-template-columns: minmax(0, 1.28fr) minmax(430px, 0.72fr);
    align-items: start;
}

.page-editor-fields {
    display: grid;
    gap: 18px;
}

.page-editor-tools {
    padding: 18px;
}

.page-editor-tools__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.page-editor-tools__grid > form,
.page-editor-tools__grid > div {
    min-width: 0;
}

.page-editor-meta {
    padding: 18px;
}

.page-editor-meta__strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.page-editor-meta__item {
    padding: 14px;
    border: 1px solid var(--admin-glass-line);
    border-radius: 8px;
    background: #f8fafc;
}

.page-editor-meta__item strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.page-editor-meta__item span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.page-editor-meta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.page-editor-blocks {
    display: grid;
    gap: 16px;
}

.page-editor-blocks > h2 {
    margin: 0;
}

.editor-card--block {
    overflow: hidden;
}

.editor-card--block summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.editor-card--block summary span {
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.editor-card--block .block-actions {
    padding: 0 22px;
}

.page-editor-tools__note {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px dashed #d9e4ef;
    background: #fbfcfe;
}

.page-editor-tools__note strong {
    display: block;
    margin-bottom: 6px;
}

.page-editor-tools__note p {
    margin: 0;
    color: var(--muted);
}

.editor-card--library summary,
.editor-card--meta summary {
    font-weight: 700;
}

.media-grid--admin {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.media-admin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 18px;
    align-items: start;
}

.media-admin-sidebar {
    position: sticky;
    top: 0;
}

.product-row__main {
    align-items: center;
}

.product-row__main img {
    width: 72px;
    height: 72px;
    border: 1px solid #e1e7ee;
    object-fit: cover;
}

@media (max-width: 1100px) {
    .admin-quick-grid,
    .admin-stat-strip,
    .page-editor-meta__strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-split,
    .page-editor-layout,
    .page-editor-tools__grid,
    .media-admin-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .admin-section__header {
        display: grid;
        align-items: start;
    }

    .admin-quick-grid,
    .admin-stat-strip,
    .page-editor-meta__strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .theme-malinio .site-header__inner {
        justify-items: start;
        text-align: left;
    }

    .theme-malinio .site-nav {
        display: flex;
        gap: 12px 16px;
        margin-top: 12px;
    }
}

@media (max-width: 520px) {
    .theme-malinio .site-header__inner {
        padding: 14px 0;
    }

    .theme-malinio .site-nav {
        max-width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .theme-malinio .site-nav::-webkit-scrollbar {
        display: none;
    }
}
