:root {
    --canvas: #f2f5f3;
    --paper: #ffffff;
    --paper-soft: #f7f9f8;
    --ink: #17211d;
    --ink-soft: #52615a;
    --line: #dce4df;
    --line-strong: #c8d3cc;
    --nav: #18251f;
    --nav-soft: #24352d;
    --primary: #1467c9;
    --primary-strong: #0b4f9e;
    --success: #16845b;
    --success-soft: #e8f6ef;
    --danger: #c8443a;
    --danger-soft: #fbeceb;
    --accent: #d8952f;
    --shadow: 0 14px 34px rgba(24, 37, 31, 0.09);
}

body[data-theme="blue_clinic"] {
    --canvas: #f2f7fb;
    --paper: #ffffff;
    --paper-soft: #f6f9fc;
    --ink: #172231;
    --ink-soft: #526173;
    --line: #d9e3eb;
    --line-strong: #c2d0dc;
    --nav: #132437;
    --nav-soft: #20384f;
    --primary: #2166c2;
    --primary-strong: #174f99;
    --success: #0f8b86;
    --success-soft: #e4f5f4;
    --accent: #c58a28;
    --shadow: 0 14px 34px rgba(19, 36, 55, 0.1);
}

body[data-theme="graphite_gold"] {
    --canvas: #f4f4f1;
    --paper: #ffffff;
    --paper-soft: #f8f7f2;
    --ink: #1d1f20;
    --ink-soft: #5a5d5b;
    --line: #dfddd3;
    --line-strong: #cbc8bb;
    --nav: #202322;
    --nav-soft: #313735;
    --primary: #7f651d;
    --primary-strong: #634d13;
    --success: #587a55;
    --success-soft: #edf5eb;
    --accent: #b5892d;
    --shadow: 0 14px 34px rgba(32, 35, 34, 0.11);
}

body[data-theme="coral_fresh"] {
    --canvas: #f7f5f3;
    --paper: #ffffff;
    --paper-soft: #fbf8f6;
    --ink: #251d1a;
    --ink-soft: #685b56;
    --line: #eaded8;
    --line-strong: #d8c8c0;
    --nav: #27342f;
    --nav-soft: #394a44;
    --primary: #1d6f82;
    --primary-strong: #155568;
    --success: #c85c4a;
    --success-soft: #faedea;
    --accent: #9f7b2f;
    --shadow: 0 14px 34px rgba(39, 52, 47, 0.1);
}

body[data-theme="optikplus"] {
    --canvas: #0f1018d8;
    --paper: #14141e;
    --paper-soft: #1e1e28;
    --ink: #f7f8fb;
    --ink-soft: #bec3cf;
    --line: #303342;
    --line-strong: #474b5e;
    --nav: #14141e;
    --nav-soft: #1e1e28;
    --primary: #ff6600;
    --primary-strong: #ff8800;
    --success: #5cb85c;
    --success-soft: rgba(92, 184, 92, 0.18);
    --danger: #d04f4f;
    --danger-soft: rgba(208, 79, 79, 0.18);
    --accent: #e49400;
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

body[data-theme="kolens"] {
    --canvas: #0a0e16c4;
    --paper: #181c26;
    --paper-soft: #202636;
    --ink: #ffffff;
    --ink-soft: #c2d6e5;
    --line: #30394a;
    --line-strong: #465369;
    --nav: #101723;
    --nav-soft: #181c26;
    --primary: #48bcff;
    --primary-strong: #8fd8ff;
    --success: #6be28b;
    --success-soft: rgba(107, 226, 139, 0.16);
    --danger: #ff8b8b;
    --danger-soft: rgba(255, 92, 92, 0.14);
    --accent: #ffcc66;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--canvas);
    background-image:
        linear-gradient(rgba(23, 33, 29, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 33, 29, 0.024) 1px, transparent 1px);
    background-size: 28px 28px;
    color: var(--ink);
    font-family: "Manrope", "Trebuchet MS", sans-serif;
}

body[data-theme="optikplus"],
body[data-theme="kolens"] {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(20, 103, 201, 0.24);
    outline-offset: 2px;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
}

.app-shell {
    min-height: 100vh;
}

.loading-panel,
.empty-state {
    display: grid;
    width: min(100% - 40px, 700px);
    min-height: 100vh;
    margin: 0 auto;
    align-content: center;
    justify-items: start;
    gap: 14px;
}

.loading-panel::before {
    width: 42px;
    height: 4px;
    border-radius: 2px;
    background: var(--success);
    content: "";
    animation: loading-pulse 1.1s ease-in-out infinite alternate;
}

.loading-panel h1,
.empty-state h1,
.empty-state h2 {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.02;
}

.loading-panel p,
.empty-state p {
    max-width: 55ch;
    color: var(--ink-soft);
    line-height: 1.6;
}

.portal-shell {
    --portal-canvas: #eef2ef;
    --portal-bg: #eef2ef;
    --portal-surface: #ffffff;
    --portal-surface-soft: #f7f9f8;
    --portal-ink: #13201b;
    --portal-muted: #64736d;
    --portal-line: #d6dfd9;
    --portal-line-strong: #c8d3cc;
    --portal-nav: #16241f;
    --portal-nav-soft: #24352d;
    --portal-primary: #0f6d5a;
    --portal-primary-strong: #0a5848;
    --portal-secondary: #16241f;
    --portal-success: #16845b;
    --portal-success-soft: #e8f6ef;
    --portal-danger: #c8443a;
    --portal-danger-soft: #fbeceb;
    --portal-accent: #c6913a;
    --portal-panel: rgba(255, 255, 255, 0.9);
    display: grid;
    min-height: 100vh;
    align-content: start;
    background:
        linear-gradient(160deg, rgba(198, 145, 58, 0.12) 0 18%, transparent 18% 100%),
        linear-gradient(25deg, transparent 0 74%, rgba(15, 109, 90, 0.14) 74% 100%),
        var(--portal-bg);
    color: var(--portal-ink);
}

.portal-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px max(20px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid color-mix(in srgb, var(--portal-line) 80%, transparent);
    background: color-mix(in srgb, var(--portal-bg) 88%, white);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 28px rgba(24, 37, 31, 0.06);
}

.portal-brand,
.portal-shop-main {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.portal-brand .brand-mark {
    background:
        linear-gradient(135deg, var(--portal-secondary) 0 50%, var(--portal-primary) 50% 100%);
    color: #fff;
}

.portal-brand strong,
.portal-shop-main strong,
.portal-shop-main small {
    overflow-wrap: anywhere;
}

.portal-nav,
.portal-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.portal-nav .secondary,
.portal-actions .secondary,
.portal-actions .primary,
.portal-shop-card .secondary {
    display: inline-grid;
    min-height: 40px;
    place-items: center;
    padding: 8px 14px;
}

.portal-shell .primary {
    background: var(--portal-primary);
}

.portal-shell .primary:hover {
    background: var(--portal-primary-strong);
}

.portal-shell .secondary {
    border-color: color-mix(in srgb, var(--portal-line) 88%, var(--portal-secondary));
    color: var(--portal-secondary);
}

.portal-shell .secondary:hover {
    border-color: var(--portal-primary);
    /*color: var(--portal-primary);*/
    color: #98c7eb !important;
    background: color-mix(in srgb, var(--portal-bg) 80%, rgb(17, 99, 182));
}

.portal-language-switch {
    grid-template-columns: repeat(var(--portal-language-count, 3), minmax(36px, 1fr));
    width: auto;
    min-width: 116px;
    border-color: var(--portal-line);
    background: color-mix(in srgb, var(--portal-bg) 80%, white);
}

.portal-language-switch button[aria-pressed="true"] {
    background: var(--portal-secondary);
    color: #fff;
}

.portal-hero,
.portal-band,
.portal-footer {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
}

.portal-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    min-height: calc(100vh - 82px);
    align-items: center;
    gap: clamp(24px, 4vw, 52px);
    padding: 44px 0;
    isolation: isolate;
}

.portal-hero::before {
    position: absolute;
    inset: 28px -22px 28px auto;
    z-index: -1;
    width: min(42vw, 520px);
    border: 1px solid color-mix(in srgb, var(--portal-line) 82%, transparent);
    border-radius: 8px;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--portal-surface) 72%, transparent), rgba(255, 255, 255, 0.18)),
        repeating-linear-gradient(0deg, color-mix(in srgb, var(--portal-secondary) 8%, transparent) 0 1px, transparent 1px 26px);
    content: "";
    transform: skewX(-5deg);
    transform-origin: center;
}

.portal-hero-copy {
    display: grid;
    min-width: 0;
    gap: 18px;
}

.portal-hero-copy h1 {
    max-width: 18ch;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 78px);
    font-weight: 700;
    line-height: 1.04;
    hyphens: manual;
    overflow-wrap: normal;
    word-break: normal;
}

.portal-hero-copy > p {
    max-width: 58ch;
    color: var(--portal-muted);
    font-size: 17px;
    line-height: 1.65;
    overflow-wrap: normal;
    word-break: normal;
}

.portal-hero-stack {
    display: grid;
    min-width: 0;
    gap: 12px;
}

html[lang="hu"] .portal-hero-copy h1 {
    max-width: 20ch;
    font-size: clamp(36px, 5.2vw, 66px);
    line-height: 1.04;
}

.portal-band {
    position: relative;
    display: grid;
    gap: 22px;
    padding: 46px 0;
    border-top: 1px solid var(--portal-line);
}

.portal-band::before {
    width: 58px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--portal-primary), var(--portal-accent));
    content: "";
}

.portal-band.narrow {
    width: min(100% - 40px, 780px);
}

.portal-section-heading {
    display: grid;
    max-width: 760px;
    gap: 8px;
}

.portal-section-heading h2,
.portal-step-list h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.08;
}

.portal-section-heading p {
    color: var(--portal-muted);
    line-height: 1.6;
}

.portal-search-panel {
    display: grid;
    gap: 14px;
}

.portal-search-panel.compact {
    align-self: center;
    padding: 22px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 8px;
    background: var(--portal-panel);
    box-shadow: 0 22px 48px rgba(24, 37, 31, 0.14);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.portal-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.portal-search-form label {
    display: grid;
    gap: 7px;
    color: var(--portal-ink);
    font-size: 11px;
    font-weight: 800;
}

.portal-search-form .primary {
    align-self: end;
    min-width: 112px;
}

.portal-muted {
    color: var(--portal-muted);
    font-size: 13px;
    line-height: 1.5;
}

.portal-feature-grid,
.portal-result-grid,
.portal-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.portal-feature-grid article,
.portal-shop-card,
.portal-step-list {
    border: 1px solid color-mix(in srgb, var(--portal-line) 92%, transparent);
    border-radius: 8px;
    background: var(--portal-surface);
    box-shadow: 0 12px 28px rgba(24, 37, 31, 0.07);
}

.portal-feature-grid article {
    display: grid;
    min-height: 96px;
    grid-template-columns: 7px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 18px;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.portal-feature-grid article:hover,
.portal-shop-card:hover {
    border-color: color-mix(in srgb, var(--portal-primary) 30%, var(--portal-line));
    box-shadow: 0 16px 34px rgba(24, 37, 31, 0.11);
    transform: translateY(-2px);
}

.portal-feature-grid article span {
    width: 9px;
    height: 42px;
    border-radius: 5px;
    background: var(--portal-primary);
}

.portal-feature-grid strong {
    font-size: 14px;
    line-height: 1.4;
}

.portal-shop-card {
    display: grid;
    min-height: 142px;
    align-content: space-between;
    gap: 16px;
    padding: 16px;
    color: inherit;
}

.portal-shop-card .secondary {
    width: fit-content;
    border-color: color-mix(in srgb, var(--portal-primary) 32%, var(--portal-line));
    color: var(--portal-primary);
}

.portal-shop-main small {
    display: block;
    margin-top: 4px;
    color: var(--portal-muted);
    font-size: 12px;
    line-height: 1.35;
}

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

.portal-step-list {
    padding: 22px;
}

.portal-step-list ol {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding-left: 22px;
    color: var(--portal-muted);
    line-height: 1.55;
}

.portal-form {
    display: grid;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--portal-line);
    border-radius: 8px;
    background: var(--portal-surface);
    box-shadow: 0 18px 42px rgba(24, 37, 31, 0.12);
}

.portal-conversion-panel {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid color-mix(in srgb, var(--portal-line) 72%, transparent);
    border-radius: 8px;
    /*background:
        linear-gradient(145deg, color-mix(in srgb, var(--portal-secondary) 96%, black), color-mix(in srgb, var(--portal-primary) 48%, var(--portal-secondary))),
        var(--portal-secondary);*/
    background: linear-gradient(145deg, color-mix(in srgb, #0b4f9e 96%, black), color-mix(in srgb, var(--portal-primary) 48%, var(--portal-secondary))),
        var(--portal-secondary);    
    color: #fff;
    box-shadow: 0 28px 60px rgba(17, 32, 27, 0.22);
}

.portal-panel-head {
    display: grid;
    gap: 10px;
}

.portal-panel-head span {
    width: fit-content;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: color-mix(in srgb, var(--portal-accent) 60%, white);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.portal-panel-head strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    hyphens: auto;
    overflow-wrap: anywhere;
}

.portal-panel-head p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

html[lang="hu"] .portal-panel-head strong {
    font-size: clamp(25px, 3.3vw, 34px);
}

.portal-conversion-panel ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portal-conversion-panel li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.4;
}

.portal-conversion-panel li::before {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--portal-accent) 82%, white);
    color: var(--portal-secondary);
    content: "";
    font-size: 11px;
    font-weight: 900;
}

.portal-conversion-panel .primary {
    display: grid;
    min-height: 50px;
    place-items: center;
    background: var(--portal-accent);
    color: var(--portal-secondary);
}

.portal-route-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.portal-route-list a {
    display: grid;
    min-height: 88px;
    align-content: space-between;
    gap: 12px;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--portal-line) 86%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--portal-surface) 74%, transparent);
    box-shadow: 0 10px 24px rgba(24, 37, 31, 0.06);
}

.portal-route-list a:hover {
    border-color: color-mix(in srgb, var(--portal-primary) 34%, var(--portal-line));
    background: var(--portal-surface);
}

.portal-route-list span {
    color: var(--portal-accent);
    font-size: 11px;
    font-weight: 900;
}

.portal-route-list strong {
    font-size: 13px;
    line-height: 1.28;
    hyphens: auto;
    overflow-wrap: anywhere;
}

.portal-footer {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid var(--portal-line);
}

.portal-footer-links {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.portal-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    color: var(--portal-muted);
    font-size: 13px;
}

.booking-shell {
    display: grid;
    grid-template-columns: 248px minmax(430px, 1fr) 360px;
    min-height: 100vh;
}

.brand-panel {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-rows: auto auto;
    align-content: start;
    gap: 28px;
    height: 100vh;
    padding: 28px 22px;
    overflow: auto;
    background: var(--nav);
    color: #f5faf7;
}

.brand-top {
    display: grid;
    align-content: start;
    gap: 22px;
}

.brand-lockup {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: #f6fbf8;
    color: var(--nav);
    font-weight: 800;
    overflow: hidden;
}

.brand-mark > span,
.brand-mark img {
    position: absolute;
    inset: 0;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.brand-mark img {
    z-index: 1;
    background: #f6fbf8;
    object-fit: contain;
}

.brand-lockup strong,
.brand-lockup small {
    display: block;
    overflow-wrap: anywhere;
}

.brand-lockup strong {
    font-size: 15px;
    line-height: 1.25;
}

.brand-lockup small {
    margin-top: 4px;
    color: #9db1a6;
    font-size: 11px;
}

.brand-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.brand-link {
    display: inline-grid;
    width: 30px;
    min-height: 30px;
    place-items: center;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #d4dfd9;
    font-size: 10px;
    font-weight: 900;
}

.brand-link svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.brand-link.promo {
    width: auto;
}

.brand-link:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.brand-link.promo {
    border-color: rgba(22, 132, 91, 0.62);
    background: rgba(22, 132, 91, 0.2);
    color: #ffffff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.shop-switch {
    display: grid;
    gap: 11px;
}

.shop-switch p {
    margin: 0;
    color: var(--success);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

.shop-option {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    width: 100%;
    min-height: 74px;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: #f5faf7;
    text-align: left;
}

.shop-option:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.07);
}

.shop-option.active {
    border-color: rgba(22, 132, 91, 0.85);
    background: rgba(22, 132, 91, 0.14);
    box-shadow: inset 3px 0 0 var(--success);
}

.shop-option-mark {
    position: relative;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    background: #f6fbf8;
    color: var(--nav);
    font-size: 17px;
    font-weight: 900;
    overflow: hidden;
}

.shop-option-mark > span,
.shop-option-mark img {
    position: absolute;
    inset: 0;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.shop-option-mark img {
    z-index: 1;
    background: #f6fbf8;
    object-fit: contain;
}

.shop-option-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.shop-option-copy strong,
.shop-option-copy small {
    display: block;
    overflow-wrap: anywhere;
}

.shop-option-copy strong {
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
}

.shop-option-copy small {
    color: #9db1a6;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.brand-tools,
.language-control {
    display: grid;
    gap: 7px;
}

.language-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.language-switch button {
    min-height: 32px;
    padding: 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #aebfb6;
    font-size: 10px;
    font-weight: 900;
}

.language-switch button:hover {
    color: #fff;
}

.language-switch button[aria-pressed="true"] {
    /*background: #f5faf7;*/
    background: #4f7b9c !important;
    color: var(--nav);
}

.landing-info {
    display: grid;
    align-content: start;
    gap: 22px;
}

.shop-map {
    display: grid;
    gap: 9px;
}

.shop-map-heading {
    display: grid;
    gap: 3px;
}

.shop-map-heading a {
    width: fit-content;
    color: #d4dfd9;
    font-size: 10px;
    font-weight: 800;
}

.shop-map-heading a:hover {
    color: #fff;
}

.shop-map iframe {
    width: 100%;
    aspect-ratio: 16 / 10;
    border: 0;
    border-radius: 8px;
    background: var(--nav-soft);
}

.info-block {
    display: grid;
    gap: 9px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.info-block div {
    display: grid;
    gap: 6px;
}

.info-block a,
.info-block span {
    color: #d4dfd9;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.info-block a:hover {
    color: #ffffff;
}

.booking-workspace {
    min-width: 0;
    padding: 0 34px 48px;
}

.page-header {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.eyebrow {
    margin: 0 0 5px;
    color: var(--success);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand-panel .eyebrow {
    color: #85c7a8;
}

.page-header h1,
.manage-panel h1 {
    margin: 0;
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.08;
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-soft);
    font-size: 12px;
}

.availability-status strong {
    color: var(--ink);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px var(--success-soft);
}

.calendar-area {
    display: grid;
    gap: 32px;
    padding-top: 30px;
}

.calendar-view-switch {
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 360px);
    margin-bottom: 22px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-soft);
}

.calendar-view-switch button {
    min-height: 36px;
    padding: 7px 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 800;
}

.calendar-view-switch button[aria-pressed="true"] {
    background: var(--nav);
    color: #fff;
    box-shadow: 0 2px 8px rgba(18, 38, 29, 0.16);
}

.date-section,
.time-section {
    min-width: 0;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}

.section-heading > div {
    display: flex;
    align-items: center;
    gap: 11px;
}

.section-heading > span {
    display: grid;
    min-width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 800;
}

.section-heading strong {
    display: block;
    font-size: 15px;
    line-height: 1.25;
}

.step-number {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    place-items: center;
    border-radius: 8px;
    background: var(--nav);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.date-rail {
    display: grid;
    grid-auto-columns: minmax(76px, 1fr);
    grid-auto-flow: column;
    gap: 8px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.nearest-dates-notice {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid #cfe2d8;
    border-radius: 8px;
    /* background: #f3faf6; */
    background: #1e1e1e;
    color: var(--ink-soft);
}

.nearest-dates-notice > span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--success-soft);
    color: var(--success);
    font-size: 11px;
    font-weight: 900;
}

.nearest-dates-notice p {
    font-size: 11px;
    line-height: 1.45;
}

.nearest-dates-notice > div {
    display: flex;
    gap: 5px;
}

.nearest-dates-notice button {
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid #b9d4c7;
    border-radius: 6px;
    background: var(--paper);
    color: var(--success);
    font-size: 10px;
    font-weight: 800;
}

.nearest-dates-notice button:hover {
    border-color: var(--success);
}

.date-option {
    position: relative;
    display: grid;
    min-width: 76px;
    min-height: 102px;
    place-items: center;
    align-content: center;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.date-option:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

.date-option.selected {
    border-color: var(--nav);
    background: var(--nav);
    color: #fff;
    box-shadow: var(--shadow);
}

.date-option span,
.date-option small {
    color: var(--ink-soft);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

.date-option strong {
    font-size: 24px;
    line-height: 1;
}

.date-option.selected span,
.date-option.selected small {
    color: #b9cbc1;
}

.date-option i {
    position: absolute;
    top: 7px;
    right: 7px;
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 50%;
    background: var(--success-soft);
    color: var(--success);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.date-option.selected i {
    background: #345144;
    color: #bce8d2;
}

.date-option.today::after {
    position: absolute;
    right: 12px;
    bottom: 7px;
    left: 12px;
    height: 2px;
    border-radius: 1px;
    background: var(--accent);
    content: "";
}

.period-overview {
    min-width: 0;
}

.period-navigation {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.period-navigation strong {
    overflow: hidden;
    font-size: 13px;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: capitalize;
    white-space: nowrap;
}

.period-navigation button {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
}

.period-navigation button:not(:disabled):hover {
    border-color: var(--success);
    color: var(--success);
}

.period-navigation button:disabled {
    opacity: 0.32;
}

.week-overview,
.month-overview,
.month-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 7px;
}

.week-overview {
    grid-template-columns: repeat(7, minmax(62px, 1fr));
    padding-bottom: 5px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.month-weekdays {
    margin-bottom: 6px;
}

.month-weekdays span {
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.overview-day {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 76px;
    place-items: center;
    align-content: center;
    gap: 2px;
    padding: 7px 3px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
}

.overview-day:not(:disabled):hover {
    border-color: #9cc6b4;
    transform: translateY(-1px);
}

.overview-day.selected {
    border-color: var(--nav);
    background: var(--nav);
    color: #fff;
}

.overview-day:disabled {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.36);
    color: #a9b2ad;
}

.overview-day.outside-month {
    opacity: 0.38;
}

.overview-day span {
    color: currentColor;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.overview-day strong {
    font-size: 18px;
    line-height: 1;
}

.overview-day small {
    display: grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--success-soft);
    color: var(--success);
    font-size: 9px;
    font-weight: 900;
}

.overview-day small:empty {
    visibility: hidden;
}

.overview-day.selected small {
    background: #345144;
    color: #bce8d2;
}

.month-overview .overview-day span {
    display: none;
}

.slot-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.slot-button {
    display: grid;
    grid-template-columns: 5px 74px minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 82px;
    align-items: center;
    gap: 12px;
    padding: 11px 13px 11px 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.slot-button:hover {
    border-color: #9cc6b4;
    transform: translateY(-1px);
}

.slot-button.selected {
    border-color: var(--success);
    background: var(--success-soft);
    box-shadow: inset 0 0 0 1px var(--success);
}

.service-swatch {
    width: 5px;
    height: 48px;
    border-radius: 3px;
    background: var(--service-color);
}

.slot-time,
.slot-main,
.slot-side {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.slot-time {
    padding-right: 12px;
    border-right: 1px solid var(--line);
}

.slot-time strong {
    font-size: 18px;
}

.slot-time small,
.slot-main small {
    color: var(--ink-soft);
    font-size: 10px;
}

.slot-main strong {
    overflow: hidden;
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.slot-side {
    justify-items: end;
    color: var(--success);
    font-size: 22px;
}

.price {
    color: var(--success);
    font-size: 11px;
    font-weight: 800;
}

.empty-day {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
    color: var(--ink-soft);
    text-align: center;
}

.checkout-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 28px 24px;
    overflow-y: auto;
    border-left: 1px solid var(--line);
    background: var(--paper);
    overscroll-behavior: contain;
}

.checkout-form {
    display: grid;
    gap: 15px;
}

.summary-box {
    display: grid;
    min-height: 72px;
    align-content: center;
    gap: 4px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-soft);
}

.summary-box.compact {
    min-height: 50px;
}

.summary-box strong,
.summary-box span,
.summary-box small {
    overflow-wrap: anywhere;
}

.summary-box span,
.summary-box small {
    color: var(--ink-soft);
    font-size: 12px;
}

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

.form-grid label,
.consents label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
}

.form-grid .wide {
    grid-column: 1 / -1;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    padding: 10px 11px;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 103, 201, 0.1);
}

textarea {
    resize: vertical;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-soft);
}

.auth-tabs button {
    min-width: 0;
    min-height: 38px;
    padding: 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 800;
}

.auth-tabs button.active {
    background: var(--nav);
    color: #fff;
}

.consents {
    display: grid;
    gap: 9px;
    padding-top: 3px;
}

.consents label {
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    color: var(--ink-soft);
    font-weight: 600;
    line-height: 1.4;
}

.consents input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--success);
}

.service-picker,
.service-options {
    display: grid;
    gap: 8px;
}

.service-option {
    display: grid;
    grid-template-columns: 5px minmax(0, 1fr) auto;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    text-align: left;
}

.service-option:hover,
.service-option.selected {
    border-color: var(--success);
    box-shadow: inset 0 0 0 1px var(--success);
}

.service-option strong {
    font-size: 11px;
    overflow-wrap: anywhere;
}

.primary,
.secondary,
.link-button {
    border-radius: 8px;
}

.primary {
    min-height: 48px;
    padding: 10px 16px;
    border: 0;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
}

.primary:hover {
    background: var(--primary-strong);
}

.primary:disabled {
    cursor: wait;
    opacity: 0.65;
}

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

.secondary,
.link-button {
    min-height: 40px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
    font-weight: 800;
}

.link-button {
    width: fit-content;
    min-height: 0;
    padding: 0;
    border: 0;
    color: var(--primary);
    text-align: left;
}

.notice {
    min-height: 42px;
    padding: 11px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.notice.empty {
    display: none;
}

.notice.success {
    background: var(--success-soft);
    color: var(--success);
}

.notice.info {
    background: var(--paper-soft);
    color: var(--primary);
}

.notice.error {
    background: var(--danger-soft);
    color: var(--danger);
}

.mobile-action-bar {
    display: none;
}

.manage-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 620px);
    width: min(100% - 32px, 940px);
    min-height: 100vh;
    margin: 0 auto;
    align-content: center;
    gap: 14px;
    padding: 24px 0;
}

.manage-shell .brand-panel {
    position: static;
    height: 100%;
    min-height: 480px;
    border-radius: 8px;
}

.booking-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.manage-panel {
    display: grid;
    align-content: start;
    gap: 20px;
    padding: 32px;
}

.summary-list {
    display: grid;
}

.summary-list div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.summary-list span {
    color: var(--ink-soft);
    font-size: 12px;
}

.mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 900;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-login-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
}

.admin-login-panel {
    display: grid;
    width: min(100%, 420px);
    gap: 18px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.admin-login-panel h1,
.admin-header h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}

.admin-form {
    display: grid;
    gap: 14px;
}

.admin-form label {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
}

.admin-sidebar {
    display: grid;
    align-content: start;
    gap: 26px;
    padding: 28px 22px;
    background: var(--nav);
    color: #f5faf7;
}

.admin-brand {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.admin-brand > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    background: #f6fbf8;
    color: var(--nav);
    font-weight: 800;
}

.admin-brand div,
.admin-side-list div {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.admin-brand strong,
.admin-side-list dd {
    overflow-wrap: anywhere;
}

.admin-brand small,
.admin-side-list dt {
    color: rgba(245, 250, 247, 0.64);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-side-list {
    display: grid;
    gap: 16px;
    margin: 0;
}

.admin-side-list dd,
.admin-side-list dt {
    margin: 0;
}

.admin-logout {
    color: #f5faf7;
}

.admin-workspace {
    display: grid;
    align-content: start;
    gap: 24px;
    padding: 30px;
}

.admin-header,
.admin-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.admin-open-public {
    display: inline-grid;
    min-width: 120px;
    place-items: center;
    padding: 0 14px;
}

.admin-section {
    display: grid;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.admin-section h2 {
    margin: 0;
    font-size: 18px;
}

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

.theme-option {
    display: grid;
    min-height: 106px;
    align-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    text-align: left;
}

.theme-option:hover,
.theme-option.selected {
    border-color: var(--primary);
    box-shadow: inset 0 0 0 1px var(--primary);
}

.theme-option strong {
    font-size: 13px;
}

.theme-swatches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 38px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.theme-swatches i {
    display: block;
}

.admin-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.admin-details div {
    display: grid;
    gap: 5px;
}

.admin-details dt,
.admin-details dd {
    margin: 0;
}

.admin-details dt {
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-details dd {
    overflow-wrap: anywhere;
    font-weight: 700;
}

@keyframes loading-pulse {
    from { width: 42px; opacity: 0.55; }
    to { width: 110px; opacity: 1; }
}

@media (max-width: 1180px) {
    .booking-shell {
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .brand-panel {
        position: static;
        grid-column: 1 / -1;
        grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
        grid-template-rows: auto;
        gap: 0;
        height: auto;
        min-height: 118px;
        align-items: center;
        padding: 20px 28px;
    }

    .landing-info {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-content: center;
        gap: 18px;
        padding: 0 0 0 28px;
    }

    .shop-map iframe {
        display: none;
    }

    .info-block {
        padding: 0 0 0 16px;
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
    }

    .booking-workspace {
        padding-left: 28px;
        padding-right: 28px;
    }

    .checkout-panel {
        top: 0;
        height: calc(100vh - 118px);
    }
}

@media (max-width: 860px) {
    .portal-topbar {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        padding: 14px 20px;
    }

    .portal-nav {
        justify-content: space-between;
    }

    .portal-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 24px;
        padding: 30px 0 38px;
    }

    .portal-hero-copy h1 {
        max-width: 20ch;
        font-size: 38px;
        line-height: 1.08;
    }

    html[lang="hu"] .portal-hero-copy h1 {
        max-width: 21ch;
        font-size: 34px;
    }

    .portal-feature-grid,
    .portal-result-grid,
    .portal-step-grid,
    .portal-route-list {
        grid-template-columns: 1fr;
    }

    .portal-route-list a {
        min-height: 62px;
    }

    .portal-band {
        padding: 34px 0;
    }

    .portal-footer {
        display: grid;
    }

    .booking-shell {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: 82px;
    }

    .brand-panel {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 18px 20px;
    }

    .brand-top {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 16px;
    }

    .shop-switch {
        grid-column: 1 / -1;
    }

    .brand-link-list {
        grid-column: 1 / -1;
    }

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

    .shop-option {
        min-height: 68px;
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .shop-option-mark {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .brand-tools {
        width: 132px;
    }

    .landing-info {
        display: grid;
        grid-template-columns: auto auto;
        align-items: start;
        justify-content: space-between;
        gap: 12px;
        padding: 0;
    }

    .landing-info .info-block {
        display: none;
    }

    .booking-workspace {
        padding: 0 20px 34px;
    }

    .page-header {
        min-height: 98px;
    }

    .checkout-panel {
        position: static;
        height: auto;
        padding: 28px 20px 38px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .slot-list {
        grid-template-columns: 1fr;
    }

    .mobile-action-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 20;
        display: flex;
        min-height: 72px;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 16px max(10px, env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        background: var(--paper);
        box-shadow: 0 -10px 26px rgba(24, 37, 31, 0.1);
    }

    .mobile-action-bar > span {
        display: grid;
        min-width: 0;
    }

    .mobile-action-bar strong {
        font-size: 18px;
    }

    .mobile-action-bar small {
        max-width: 25ch;
        overflow: hidden;
        color: var(--ink-soft);
        font-size: 10px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-action-bar .primary {
        min-width: 140px;
    }

    .manage-shell {
        grid-template-columns: 1fr;
    }

    .manage-shell .brand-panel {
        min-height: 0;
    }

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

    .admin-sidebar {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px;
        padding: 20px;
    }

    .admin-side-list {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-workspace {
        padding: 24px 20px 34px;
    }

    .theme-grid,
    .admin-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .portal-hero,
    .portal-band,
    .portal-footer,
    .portal-band.narrow {
        width: min(100% - 28px, 1180px);
    }

    .portal-hero {
        gap: 16px;
        padding-top: 22px;
    }

    .portal-brand {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .portal-nav,
    .portal-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .portal-nav .secondary,
    .portal-actions .secondary,
    .portal-actions .primary {
        width: 100%;
    }

    .portal-route-list {
        display: none;
    }

    .portal-search-form {
        grid-template-columns: 1fr;
    }

    .portal-search-form .primary {
        width: 100%;
    }

    .portal-search-panel.compact,
    .portal-conversion-panel,
    .portal-form,
    .portal-step-list {
        padding: 16px;
    }

    .portal-hero::before {
        inset: auto -14px 14px -14px;
        width: auto;
        height: 46%;
        transform: none;
    }

    .portal-hero-copy h1 {
        max-width: 22ch;
        font-size: 32px;
    }

    html[lang="hu"] .portal-hero-copy h1 {
        max-width: 22ch;
        font-size: 30px;
        line-height: 1.08;
    }

    html[lang="hu"] .portal-panel-head strong {
        font-size: 26px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-lockup {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .brand-top {
        gap: 10px;
    }

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

    .shop-option {
        min-height: 62px;
        padding: 9px 10px;
    }

    .shop-option-copy strong {
        font-size: 14px;
    }

    .shop-option-copy small {
        font-size: 10px;
    }

    .brand-tools {
        width: 116px;
    }

    .language-switch button {
        min-height: 30px;
        font-size: 9px;
    }

    .booking-workspace {
        padding: 0 14px 28px;
    }

    .page-header {
        min-height: 86px;
    }

    .page-header h1 {
        font-size: 23px;
    }

    .availability-status > span:last-child {
        display: none;
    }

    .calendar-area {
        gap: 26px;
        padding-top: 22px;
    }

    .calendar-view-switch {
        width: 100%;
        margin-bottom: 18px;
    }

    .calendar-view-switch button {
        padding-right: 6px;
        padding-left: 6px;
        font-size: 10px;
    }

    .date-rail {
        grid-auto-columns: 72px;
    }

    .nearest-dates-notice {
        grid-template-columns: 24px minmax(0, 1fr);
        align-items: start;
    }

    .nearest-dates-notice > div {
        grid-column: 2;
    }

    .date-option {
        min-width: 72px;
        min-height: 94px;
    }

    .week-overview,
    .month-overview,
    .month-weekdays {
        gap: 4px;
    }

    .overview-day {
        min-height: 58px;
        border-radius: 6px;
    }

    .overview-day strong {
        font-size: 15px;
    }

    .overview-day small {
        position: absolute;
        top: 3px;
        right: 3px;
        min-width: 15px;
        height: 15px;
        font-size: 8px;
    }

    .slot-button {
        grid-template-columns: 5px 62px minmax(0, 1fr) auto;
        min-height: 78px;
        gap: 9px;
    }

    .slot-time strong {
        font-size: 16px;
    }

    .checkout-panel {
        padding-right: 14px;
        padding-left: 14px;
    }

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

    .form-grid .wide {
        grid-column: auto;
    }

    .mobile-action-bar .primary {
        min-width: 124px;
    }

    .manage-shell {
        width: min(100% - 20px, 940px);
        padding: 10px 0;
    }

    .manage-panel {
        padding: 22px 18px;
    }

    .summary-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .admin-login-shell {
        padding: 14px;
    }

    .admin-login-panel {
        padding: 22px 18px;
    }

    .admin-sidebar,
    .admin-header,
    .admin-section-heading {
        align-items: stretch;
    }

    .admin-sidebar,
    .admin-header,
    .admin-section-heading,
    .admin-side-list,
    .theme-grid,
    .admin-details {
        grid-template-columns: 1fr;
    }

    .admin-header,
    .admin-section-heading {
        display: grid;
    }

    .admin-open-public {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
