:root {
    --p24-bg: #e7ece9;
    --p24-panel: #ffffff;
    --p24-ink: #07345d;
    --p24-muted: #5d6a75;
    --p24-line: #d8dfdc;
    --p24-accent: #ff4f77;
    --p24-accent-dark: #e73762;
    --p24-soft: #f4f6f7;
}

* {
    box-sizing: border-box;
}

body.p24-page {
    min-height: 100vh;
    margin: 0;
    padding: 14px;

    background:
        linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)),
        url('../img/hero.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: var(--p24-ink);
    font-family: Arial, Helvetica, sans-serif;
}


.p24-logo-wrap {
    width: 100%;
    text-align: center;
    margin: 10px 0 14px;
}

.p24-logo {
    display: inline-block;
    width: 80%;
    max-width: 80%;
    height: auto;
}

.p24-hero {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
    margin: 0 0 16px 0;
}

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

.p24-card {
    background: var(--p24-panel);
    border: 1px solid var(--p24-line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(7, 52, 93, 0.12);
    overflow: hidden;
}

.p24-privacy-link {
    margin: 0;
    padding: 13px 22px 16px;
    border-top: 1px solid var(--p24-line);
    background: var(--p24-soft);
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}

.p24-privacy-link a,
.p24-privacy-content a {
    color: var(--p24-ink);
    text-decoration: underline;
    text-decoration-color: var(--p24-accent);
    text-underline-offset: 3px;
}

.p24-privacy-shell {
    width: min(860px, 100%);
}

.p24-privacy-content {
    padding: 18px 22px 24px;
    color: #102c45;
    font-size: 15px;
    line-height: 1.65;
}

.p24-privacy-content h2 {
    margin: 22px 0 8px;
    color: var(--p24-ink);
    font-size: 18px;
}

.p24-privacy-content h2:first-child {
    margin-top: 0;
}

.p24-privacy-content p {
    margin: 0 0 10px;
}

.p24-privacy-content ul {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.p24-privacy-content li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 22px;
    color: var(--p24-muted);
}

.p24-privacy-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--p24-accent);
}

.cookie-consent {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 16px 18px;
    border: 1px solid var(--p24-line);
    border-left: 5px solid var(--p24-accent);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(7, 52, 93, .24);
    color: var(--p24-ink);
}

.cookie-consent[hidden],
.cookie-settings[hidden] {
    display: none !important;
}

.cookie-consent__content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.cookie-consent__content p {
    margin: 0 0 6px;
    color: var(--p24-muted);
    font-size: 13px;
    line-height: 1.45;
}

.cookie-consent__content a {
    color: var(--p24-ink);
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--p24-accent);
    text-underline-offset: 3px;
}

.cookie-consent__actions,
.cookie-settings__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.cookie-consent__btn {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--p24-accent);
    border-radius: 999px;
    background: var(--p24-accent);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.cookie-consent__btn--secondary {
    background: #fff;
    color: var(--p24-ink);
}

.cookie-settings {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(7, 28, 48, .45);
}

.cookie-settings__panel {
    position: relative;
    width: min(540px, 100%);
    padding: 24px;
    border-radius: 8px;
    background: #fff;
    color: var(--p24-ink);
    box-shadow: 0 24px 64px rgba(7, 52, 93, .28);
}

.cookie-settings__panel h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.cookie-settings__panel p {
    margin: 0 0 12px;
    color: var(--p24-muted);
    line-height: 1.55;
}

.cookie-settings__intro[hidden],
.cookie-settings__details[hidden] {
    display: none !important;
}

.cookie-settings__panel a {
    color: var(--p24-ink);
    font-weight: 800;
    text-decoration-color: var(--p24-accent);
    text-underline-offset: 3px;
}

.cookie-settings__actions--stacked {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
}

.cookie-settings__actions--stacked .cookie-consent__btn {
    width: 100%;
    min-height: 48px;
}

.cookie-category-list {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.cookie-category {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--p24-line);
    border-radius: 7px;
    background: var(--p24-soft);
    cursor: pointer;
}

.cookie-category:first-child {
    cursor: default;
}

.cookie-category__text strong,
.cookie-category__text small {
    display: block;
}

.cookie-category__text strong {
    margin-bottom: 3px;
    color: var(--p24-ink);
    font-size: 15px;
}

.cookie-category__text small {
    color: var(--p24-muted);
    font-size: 13px;
    line-height: 1.4;
}

.cookie-switch {
    position: relative;
    display: block;
    width: 46px;
    height: 26px;
}

.cookie-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.cookie-switch__control {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #aeb8c1;
    transition: background .16s ease;
}

.cookie-switch__control::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(7, 52, 93, .24);
    transition: transform .16s ease;
}

.cookie-switch input:checked + .cookie-switch__control {
    background: var(--p24-accent);
}

.cookie-switch input:checked + .cookie-switch__control::after {
    transform: translateX(20px);
}

.cookie-switch input:focus-visible + .cookie-switch__control {
    outline: 3px solid rgba(255, 79, 119, .24);
    outline-offset: 2px;
}

.cookie-switch input:disabled + .cookie-switch__control {
    opacity: .7;
}

.cookie-settings__policy {
    margin-bottom: 0 !important;
}

.cookie-settings__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: var(--p24-ink);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.cookie-settings__close[hidden] {
    display: none;
}

.cookie-floating-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: transform .16s ease, filter .16s ease;
}

.cookie-floating-toggle[hidden] {
    display: none !important;
}

.cookie-floating-toggle:hover,
.cookie-floating-toggle:focus-visible {
    transform: translateY(-2px);
    filter: drop-shadow(0 10px 18px rgba(7, 52, 93, .28));
}

.cookie-floating-toggle img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(7, 52, 93, .22));
}

.p24-header {
    padding: 18px 22px 14px;
    border-left: 5px solid var(--p24-accent);
    background: var(--p24-panel);
}

.p24-event-name {
    margin: 0 0 10px;
    color: var(--p24-ink);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
}

.p24-eyebrow {
    margin: 0 0 6px;
    color: var(--p24-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.p24-title {
    margin: 0;
    color: var(--p24-ink);
    font-size: 24px;
    line-height: 1.15;
}

.p24-desc {
    margin: 8px 0 0;
    color: var(--p24-muted);
    font-size: 14px;
    line-height: 1.5;
}

.p24-form {
    padding: 16px 22px 18px;
}

.p24-required-note {
    margin: 0 0 12px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 79, 119, 0.32);
    border-left: 5px solid var(--p24-accent);
    border-radius: 6px;
    background: rgba(255, 79, 119, 0.08);
    color: var(--p24-ink);
    font-size: 13px;
    font-weight: 900;
}

.p24-field {
    margin-bottom: 11px;
}

.p24-label {
    display: block;
    margin-bottom: 5px;
    color: var(--p24-ink);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.p24-field-hint {
    margin: 5px 0 0;
    padding-left: 10px;
    border-left: 3px solid var(--p24-line);
    color: var(--p24-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.p24-field-hint.is-ok {
    border-left-color: #30a64a;
    color: #177332;
}

.p24-field-hint.is-error {
    border-left-color: #be2121;
    color: #7a1515;
}

.p24-input,
.p24-select {
    width: 100%;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid var(--p24-line);
    border-radius: 5px;
    background: var(--p24-soft);
    color: #071f37;
    font-size: 16px;
    font-weight: 700;
}

.p24-input:focus,
.p24-select:focus {
    outline: none;
    border-color: var(--p24-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 79, 119, 0.18);
}

.p24-input:required:valid,
.p24-select:required:valid,
.p24-input.is-valid,
.p24-select.is-valid,
.p24-input[name="email"].is-valid,
.p24-input[name="telefon"].is-valid {
    border-color: #30a64a !important;
    background-color: #f1fbf4 !important;
    box-shadow: 0 0 0 3px rgba(48, 166, 74, 0.12) !important;
    -webkit-box-shadow: 0 0 0 1000px #f1fbf4 inset, 0 0 0 3px rgba(48, 166, 74, 0.12) !important;
}

.p24-input:required:focus:valid,
.p24-select:required:focus:valid,
.p24-input.is-valid:focus,
.p24-select.is-valid:focus,
.p24-input[name="email"].is-valid:focus,
.p24-input[name="telefon"].is-valid:focus {
    border-color: #30a64a !important;
    box-shadow: 0 0 0 3px rgba(48, 166, 74, 0.18) !important;
    -webkit-box-shadow: 0 0 0 1000px #f1fbf4 inset, 0 0 0 3px rgba(48, 166, 74, 0.18) !important;
}

.p24-select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--p24-ink) 50%),
        linear-gradient(135deg, var(--p24-ink) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 21px,
        calc(100% - 14px) 21px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.p24-ticket-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    align-items: start;
}

.p24-ticket-grid .p24-field {
    width: calc(50% - 7px);
    min-width: 0;
}

.p24-total {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid #30a64a;
    border-radius: 5px;
    background: #f1fbf4;
    color: #177332;
    cursor: default;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 0 0 3px rgba(48, 166, 74, 0.12);
    user-select: none;
}

.p24-solo-option {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 34px;
    gap: 8px;
    align-items: center;
    margin: 2px 0 12px;
    opacity: 1;
    transform: translateY(0);
    max-height: 130px;
    overflow: visible;
    transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.2s ease, margin 0.2s ease;
}

.p24-solo-option.is-hidden {
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
}

.p24-solo-checkbox {
    margin: 0;
}

.p24-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 79, 119, 0.35);
    border-radius: 50%;
    background: #fff;
    color: var(--p24-accent-dark);
    cursor: help;
    font-size: 17px;
    font-weight: 900;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.p24-info-button:hover,
.p24-info-button:focus {
    border-color: var(--p24-accent);
    background: rgba(255, 79, 119, 0.08);
    color: var(--p24-accent-dark);
    outline: none;
    transform: translateY(-1px);
}

.p24-info-popover {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 4;
    width: min(430px, 100%);
    padding: 11px 12px;
    border: 1px solid rgba(7, 52, 93, 0.16);
    border-left: 5px solid var(--p24-accent);
    border-radius: 6px;
    background: #fff;
    color: var(--p24-muted);
    box-shadow: 0 12px 28px rgba(7, 52, 93, 0.16);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.p24-info-button:hover + .p24-info-popover,
.p24-info-button:focus + .p24-info-popover {
    opacity: 1;
    transform: translateY(0);
}

.p24-checkbox {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    margin: 14px 0;
    padding: 11px 12px;
    border: 1px solid var(--p24-line);
    border-radius: 6px;
    background: #fff;
    color: var(--p24-muted);
    font-size: 14px;
    line-height: 1.45;
}

.p24-checkbox:has(input:checked) {
    border-color: #30a64a;
    background: #f1fbf4;
}

.p24-checkbox input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--p24-accent);
}

.p24-checkbox a {
    color: var(--p24-accent-dark);
    font-weight: 800;
    text-decoration: none;
}

.p24-checkbox a:hover {
    text-decoration: underline;
}

.p24-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--p24-accent);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 9px 18px rgba(255, 79, 119, 0.28);
    transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.p24-submit:hover,
.p24-submit:focus {
    background: var(--p24-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(255, 79, 119, 0.34);
}

.p24-secondary-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 12px;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
    color: var(--p24-ink);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.p24-secondary-link:hover,
.p24-secondary-link:focus {
    border-color: var(--p24-accent);
    background: rgba(255, 79, 119, 0.08);
    color: var(--p24-accent-dark);
}

.p24-discount-toggle {
    width: 100%;
    margin: 0 0 12px;
    font-family: inherit;
    cursor: pointer;
}

.p24-discount-panel {
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid var(--p24-line);
    border-left: 5px solid var(--p24-accent);
    border-radius: 6px;
    background: var(--p24-soft);
}

.p24-discount-panel[hidden] {
    display: none !important;
}

.p24-discount-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.p24-discount-apply {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--p24-accent);
    border-radius: 5px;
    background: var(--p24-accent);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.p24-discount-apply:hover,
.p24-discount-apply:focus {
    background: var(--p24-accent-dark);
}

.p24-discount-apply:disabled {
    cursor: wait;
    opacity: .65;
}

.p24-discount-panel .p24-field-hint {
    margin-bottom: 0;
}

.p24-invoice-toggle {
    margin-bottom: 12px;
}

.p24-invoice-panel {
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid var(--p24-line);
    border-left: 5px solid var(--p24-accent);
    border-radius: 6px;
    background: var(--p24-soft);
}

.p24-invoice-panel[hidden],
.p24-invoice-panel .p24-field[hidden] {
    display: none !important;
}

.p24-invoice-title {
    margin: 0 0 14px;
    color: var(--p24-ink);
    font-size: 17px;
    font-weight: 900;
}

.p24-invoice-error {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid rgba(190, 33, 33, 0.28);
    border-left: 5px solid #be2121;
    border-radius: 6px;
    background: #fff0f0;
    color: #7a1515;
}

.p24-invoice-error[hidden] {
    display: none !important;
}

.p24-invoice-error strong {
    display: block;
    margin-bottom: 6px;
    color: #7a1515;
    font-size: 14px;
    font-weight: 900;
}

.p24-invoice-error ul {
    margin: 0;
    padding-left: 19px;
}

.p24-invoice-error li {
    margin: 3px 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.p24-invoice-panel .p24-input.is-invalid,
.p24-invoice-panel .p24-select.is-invalid {
    border-color: #be2121 !important;
    background-color: #fff7f7 !important;
    box-shadow: 0 0 0 3px rgba(190, 33, 33, 0.12) !important;
    -webkit-box-shadow: 0 0 0 1000px #fff7f7 inset, 0 0 0 3px rgba(190, 33, 33, 0.12) !important;
}

.p24-invoice-grid {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    gap: 12px;
}

.p24-invoice-panel .p24-field:last-of-type {
    margin-bottom: 10px;
}

.p24-error-box {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid rgba(190, 33, 33, 0.3);
    border-left: 5px solid #be2121;
    border-radius: 6px;
    background: #fff0f0;
    color: #7a1515;
}

.p24-error-box p {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.p24-error-box p + p {
    margin-top: 5px;
}

.p24-message {
    padding: 22px;
    color: var(--p24-ink);
    text-align: center;
}

.p24-message-title {
    margin: 0;
    color: var(--p24-ink);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
}

.p24-result-sections {
    display: grid;
    gap: 10px;
    max-width: 520px;
    margin: 20px auto 0;
    text-align: left;
}

.p24-result-section {
    padding: 13px 14px;
    border: 1px solid var(--p24-line);
    border-left: 5px solid var(--p24-accent);
    border-radius: 7px;
    background: var(--p24-soft);
}

.p24-result-label {
    display: block;
    margin-bottom: 4px;
    color: var(--p24-accent-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.p24-result-section p {
    margin: 0;
    color: var(--p24-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.p24-result-section a {
    color: var(--p24-accent-dark);
    font-weight: 900;
    text-decoration: none;
}

.p24-result-section a:hover {
    text-decoration: underline;
}

.p24-return-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 20px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--p24-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 9px 18px rgba(255, 79, 119, 0.28);
    transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.p24-return-btn:hover {
    background: var(--p24-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(255, 79, 119, 0.34);
}

@media (max-width: 900px), (pointer: coarse) {
    html,
    body.p24-page {
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 !important;
        overflow-x: hidden;
    }

.p24-eyebrow {

    font-size: 23px;


}

    body.p24-page {
        background-color: var(--p24-panel);
        background-image: none !important;
        background-attachment: scroll;
    }

    .p24-shell {
        width: 100vw !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .p24-card {
        width: 100% !important;
        max-width: none !important;
        min-height: 100vh;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .p24-header,
    .p24-form {
        padding-left: 40px;
        padding-right: 40px;
    }

    .p24-header {
        padding-top: 32px;
        padding-bottom: 28px;
    }

    .p24-form {
        padding-top: 30px;
        padding-bottom: 42px;
    }

    .p24-title {
        font-size: 29px;
        line-height: 1.24;
    }

    .p24-desc {
        margin-top: 16px;
        font-size: 24px;
        line-height: 1.7;
    }

    .p24-required-note,
    .p24-error-box p {
        font-size: 18px;
        line-height: 1.6;
    }

    .p24-field {
        margin-bottom: 30px;
    }

    .p24-label {
        margin-bottom: 12px;
        font-size: 21px;
    }

    .p24-field-hint {
        margin-top: 10px;
        font-size: 18px;
        line-height: 1.65;
    }

    .p24-ticket-grid {
        display: block;
    }

    .p24-ticket-grid .p24-field {
        width: 100%;
    }

    .p24-input,
    .p24-select,
    .p24-submit {
        min-height: 86px;
        font-size: 22px;
    }

    .p24-input,
    .p24-select,
    .p24-total {
        padding-left: 22px;
        padding-right: 22px;
    }

    .p24-total {
        min-height: 66px;
        font-size: 20px;
    }

    .p24-solo-option {
        grid-template-columns: 1fr 46px;
        align-items: start;
    }

    .p24-info-button {
        width: 46px;
        height: 46px;
        font-size: 24px;
    }

    .p24-info-popover {
        padding: 16px 18px;
        font-size: 22px;
        line-height: 1.65;
    }

    .p24-checkbox {
        gap: 13px;
        margin: 30px 0;
        padding: 20px 22px;
        font-size: 21px;
        line-height: 1.6;
    }

    .p24-submit {
        min-height: 86px;
        margin-top: 8px;
    }

    .p24-secondary-link {
        min-height: 64px;
        margin-top: 22px;
        font-size: 18px;
    }

    .p24-info-popover {
        left: 0;
        right: auto;
        width: 100%;
    }
}

@media (max-width: 380px) {
    .p24-header,
    .p24-form {
        padding-left: 28px;
        padding-right: 28px;
    }
}

@media (max-width: 1200px), (pointer: coarse) {
    html,
    body.p24-page {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    body.p24-page {
        background: var(--p24-panel) !important;
        background-image: none !important;
        background-attachment: scroll !important;
    }

    body.p24-page .p24-shell {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.p24-page .p24-card {
        width: 100% !important;
        max-width: none !important;
        min-height: 100vh !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body.p24-page .p24-header,
    body.p24-page .p24-form {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    body.p24-page .p24-title {
        font-size: 29px !important;
        line-height: 1.24 !important;
    }

    body.p24-page .p24-desc {
        margin-top: 16px !important;
        font-size: 24px !important;
        line-height: 1.7 !important;
    }

    body.p24-page .p24-required-note,
    body.p24-page .p24-error-box p {
        font-size: 18px !important;
        line-height: 1.6 !important;
    }

    body.p24-page .p24-field {
        margin-bottom: 30px !important;
    }

    body.p24-page .p24-label {
        margin-bottom: 12px !important;
        font-size: 21px !important;
    }

    body.p24-page .p24-field-hint {
        margin-top: 10px !important;
        font-size: 18px !important;
        line-height: 1.65 !important;
    }

    body.p24-page .p24-ticket-grid {
        display: block !important;
    }

    body.p24-page .p24-ticket-grid .p24-field {
        width: 100% !important;
    }

    body.p24-page .p24-input,
    body.p24-page .p24-select,
    body.p24-page .p24-total,
    body.p24-page .p24-submit {
        min-height: 86px !important;
        font-size: 24px !important;
    }

    body.p24-page .p24-input,
    body.p24-page .p24-select,
    body.p24-page .p24-total {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    body.p24-page .p24-solo-option {
        grid-template-columns: 1fr 46px !important;
    }

    body.p24-page .p24-info-button {
        width: 46px !important;
        height: 46px !important;
        font-size: 24px !important;
    }

    body.p24-page .p24-info-popover {
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        padding: 16px 18px !important;
        font-size: 22px !important;
        line-height: 1.65 !important;
    }

    body.p24-page .p24-checkbox {
        gap: 13px !important;
        margin: 30px 0 !important;
        padding: 20px 22px !important;
        font-size: 21px !important;
        line-height: 1.6 !important;
    }

    body.p24-page .p24-submit {
        min-height: 86px !important;
        margin-top: 8px !important;
    }

    body.p24-page .p24-secondary-link {
        min-height: 86px !important;
        margin-top: 22px !important;
        font-size: 24px !important;
    }

    body.p24-page .p24-discount-toggle {
        margin-bottom: 18px !important;
    }

    body.p24-page .p24-discount-panel {
        margin-bottom: 24px;
        padding: 20px 22px;
    }

    body.p24-page .p24-discount-apply {
        min-height: 86px;
        padding: 0 20px;
        font-size: 20px;
    }

    body.p24-page .p24-invoice-panel {
        margin-bottom: 28px;
        padding: 20px 22px;
    }

    body.p24-page .p24-invoice-title {
        font-size: 23px;
    }

    body.p24-page .p24-invoice-error {
        padding: 18px 20px;
    }

    body.p24-page .p24-invoice-error strong {
        font-size: 21px;
    }

    body.p24-page .p24-invoice-error li {
        margin: 7px 0;
        font-size: 18px;
        line-height: 1.45;
    }
}

@media (max-width: 560px) {
    body.p24-page .p24-discount-row,
    body.p24-page .p24-invoice-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px), (pointer: coarse) {
    body.p24-page .p24-privacy-link {
        padding: 18px 28px 24px;
        text-align: center;
        font-size: 17px;
    }

    body.p24-page .p24-privacy-content {
        padding: 20px 28px 32px;
        font-size: 16px;
        line-height: 1.55;
    }

    body.p24-page .p24-privacy-content h2 {
        font-size: 19px;
    }

    body.p24-page .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: block;
        padding: 18px;
    }

    body.p24-page .cookie-consent__content strong {
        font-size: 21px;
        line-height: 1.3;
    }

    body.p24-page .cookie-consent__content p,
    body.p24-page .cookie-consent__content a {
        font-size: 18px;
        line-height: 1.55;
    }

    body.p24-page .cookie-consent__actions,
    body.p24-page .cookie-settings__actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 16px;
    }

    body.p24-page .cookie-consent__btn {
        width: 100%;
        min-height: 54px;
        padding: 0 10px;
        font-size: 15px;
        line-height: 1.15;
        white-space: normal;
    }

    body.p24-page .cookie-settings {
        padding: 12px;
    }

    body.p24-page .cookie-settings__panel {
        max-height: calc(100vh - 24px);
        padding: 24px 18px 20px;
        overflow-y: auto;
    }

    body.p24-page .cookie-settings__panel h2 {
        padding-right: 34px;
        font-size: 24px;
        line-height: 1.25;
    }

    body.p24-page .cookie-settings__panel p {
        margin-bottom: 14px;
        font-size: 18px;
        line-height: 1.55;
    }

    body.p24-page .cookie-settings__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.p24-page .cookie-settings__actions--stacked {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.p24-page .cookie-category {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: 14px 12px;
    }

    body.p24-page .cookie-category__text strong {
        font-size: 18px;
    }

    body.p24-page .cookie-category__text small {
        font-size: 16px;
        line-height: 1.45;
    }

    body.p24-page .cookie-floating-toggle {
        right: 12px;
        bottom: 12px;
        width: 48px;
        height: 48px;
    }

    body.p24-page .cookie-floating-toggle img {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 430px) {
    body.p24-page .cookie-consent__actions,
    body.p24-page .cookie-settings__actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.p24-page .cookie-consent__btn {
        font-size: 17px;
    }
}

body.p24-page.p24-modal-open {
    overflow: hidden;
}

body.p24-page .p24-notice-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 24, 48, 0.72);
    backdrop-filter: blur(3px);
    animation: p24-modal-backdrop-in 160ms ease-out;
}

body.p24-page .p24-notice-modal[hidden] {
    display: none;
}

body.p24-page .p24-notice-modal__panel {
    position: relative;
    width: min(100%, 470px);
    padding: 38px 38px 34px;
    border-top: 5px solid #ff5274;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 65px rgba(0, 18, 38, 0.32);
    color: #082f58;
    text-align: center;
    animation: p24-modal-panel-in 190ms ease-out;
}

body.p24-page .p24-notice-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #61748a;
    font-size: 32px;
    line-height: 1;
    place-items: center;
}

body.p24-page .p24-notice-modal__close:hover,
body.p24-page .p24-notice-modal__close:focus-visible {
    color: #082f58;
}

body.p24-page .p24-notice-modal__icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    border: 2px solid #ff5274;
    border-radius: 50%;
    background: #fff3f6;
    color: #d92f55;
    font-size: 31px;
    font-weight: 800;
    line-height: 1;
    place-items: center;
}

body.p24-page .p24-notice-modal__label {
    margin: 0 0 7px;
    color: #d92f55;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.p24-page .p24-notice-modal__title {
    margin: 0 0 14px;
    color: #082f58;
    font-size: 27px;
    line-height: 1.2;
}

body.p24-page .p24-notice-modal__text {
    margin: 0 auto 26px;
    max-width: 390px;
    color: #52677e;
    font-size: 16px;
    line-height: 1.6;
}

body.p24-page .p24-notice-modal__action {
    min-width: 160px;
    min-height: 50px;
    padding: 0 28px;
    border: 2px solid #ff5274;
    border-radius: 6px;
    background: #ff5274;
    color: #ffffff;
    font-weight: 800;
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

body.p24-page .p24-notice-modal__action:hover,
body.p24-page .p24-notice-modal__action:focus-visible {
    border-color: #e33f62;
    background: #e33f62;
    transform: translateY(-1px);
}

body.p24-page .p24-notice-modal__close:focus-visible,
body.p24-page .p24-notice-modal__action:focus-visible {
    outline: 3px solid rgba(31, 112, 180, 0.35);
    outline-offset: 3px;
}

@keyframes p24-modal-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes p24-modal-panel-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 560px) {
    body.p24-page .p24-notice-modal {
        align-items: flex-end;
        padding: 12px;
    }

    body.p24-page .p24-notice-modal__panel {
        padding: 34px 22px 24px;
    }

    body.p24-page .p24-notice-modal__title {
        padding: 0 18px;
        font-size: 23px;
    }

    body.p24-page .p24-notice-modal__action {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.p24-page .p24-notice-modal,
    body.p24-page .p24-notice-modal__panel {
        animation: none;
    }
}
