/* ==========================================================================
   Components: Typography, Buttons, Navigation (Top/Bottom), Shortcode Sections
   ========================================================================== */

/* Typography Hierarchy */
h1, .h1 { font-family: var(--font-display); font-size: var(--text-h1); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 0.5em; }
h2, .h2 { font-family: var(--font-display); font-size: var(--text-h2); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 0.5em; }
h3, .h3 { font-family: var(--font-display); font-size: var(--text-h3); line-height: 1.22; letter-spacing: -0.015em; font-weight: 500; margin: 0 0 0.5em; }
h4, .h4 { font-family: var(--font-display); font-size: var(--text-h4); line-height: 1.3; font-weight: 500; margin: 0 0 0.5em; }
h5, .h5 { font-family: var(--font-display); font-size: var(--text-h5); line-height: 1.35; font-weight: 500; margin: 0 0 0.5em; }
h6, .h6 { font-family: var(--font-display); font-size: var(--text-h6); line-height: 1.4; font-weight: 500; margin: 0 0 0.5em; }

.body-lg { font-family: var(--font-body); font-size: var(--text-body-lg); font-weight: 400; }
.body-md { font-family: var(--font-body); font-size: var(--text-body-md); font-weight: 400; }
.body-sm { font-family: var(--font-body); font-size: var(--text-body-sm); font-weight: 400; }
.caption { font-family: var(--font-body); font-size: var(--text-caption); font-weight: 400; color: var(--text-secondary); letter-spacing: 0.02em; }

/* Container & Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

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

.skip-link:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: var(--z-skip-link);
    width: auto;
    height: auto;
    clip: auto;
    padding: 12px 20px;
    background: var(--contrast-bg);
    color: var(--contrast-text);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    outline: 3px solid var(--accent-primary);
}

/* Global Links (Action Pink, WCAG 2.2 AA) */
a {
    color: var(--accent-primary);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color 0.25s ease, text-decoration-thickness 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
    text-decoration-thickness: 2px;
}

/* Global Accessible Focus Ring (WCAG 2.2 AA) */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}

/* Material Symbols Helper */
.ttfc-icon {
    font-family: var(--font-icon);
    font-weight: 400;
    font-style: normal;
    font-size: 1.25em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    user-select: none;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    transition: transform 0.35s var(--ease-out-expo);
}

/* ==========================================================================
   Button System (Flat Colors + Paint-Fill Hover + WCAG 2.2 AA):
   - Solid: .btn-solid (.btn-solid-pink), .btn-white (.btn-solid-white)
   - Outline/Border: .btn-outline (.btn-outline-pink), .btn-outline-white
   - Contrast: .btn-contrast
   - Also supports Gutenberg .wp-block-button.is-style-* .wp-block-button__link
   ========================================================================== */
.btn,
.wp-block-button[class*="is-style-"] .wp-block-button__link {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    min-height: 44px;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: var(--text-body-sm);
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    --btn-fill-hover: var(--powder-pink-hover);
    transition:
        background-color 0.45s ease,
        color 0.55s ease,
        border-color 0.55s ease,
        transform 0.5s var(--ease-out-expo);
}

/* Flat paint-fill layer expanding from bottom center on hover */
.btn::before,
.wp-block-button[class*="is-style-"] .wp-block-button__link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background-color: var(--btn-fill-hover);
    pointer-events: none;
    clip-path: circle(0% at 50% 105%);
}

@media (prefers-reduced-motion: no-preference) {
    .btn::before,
    .wp-block-button[class*="is-style-"] .wp-block-button__link::before {
        transition: clip-path 0.85s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    }

    .btn:hover::before,
    .btn:focus-visible::before,
    .wp-block-button[class*="is-style-"] .wp-block-button__link:hover::before,
    .wp-block-button[class*="is-style-"] .wp-block-button__link:focus-visible::before {
        clip-path: circle(115% at 50% 105%);
    }

    .btn:hover .ttfc-icon {
        transform: translateX(3px);
    }

    .btn:active,
    .wp-block-button[class*="is-style-"] .wp-block-button__link:active {
        transform: scale(0.98);
    }
}

.btn:hover,
.wp-block-button[class*="is-style-"] .wp-block-button__link:hover {
    text-decoration: none;
}

.btn:focus-visible,
.wp-block-button[class*="is-style-"] .wp-block-button__link:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: 3px;
}

/* 1a. Solid Powder Pink (Pełny pudrowy róż: 11.71:1 -> 8.34:1 hover) */
.btn-solid,
.btn-solid-pink,
.wp-block-button.is-style-solid-pink .wp-block-button__link {
    background-color: var(--powder-pink);
    color: var(--powder-pink-text);
    border: none;
    --btn-fill-hover: var(--powder-pink-hover);
}
.btn-solid:hover,
.btn-solid-pink:hover,
.wp-block-button.is-style-solid-pink .wp-block-button__link:hover {
    color: var(--powder-pink-text);
}
@media (prefers-reduced-motion: reduce) {
    .btn-solid:hover,
    .btn-solid-pink:hover,
    .wp-block-button.is-style-solid-pink .wp-block-button__link:hover {
        background-color: var(--powder-pink-hover);
    }
}

/* 1b. Solid White (Pełny biały -> wypełnienie pudrowym różem: 18.14:1 -> 11.71:1) */
.btn-white,
.btn-solid-white,
.wp-block-button.is-style-solid-white .wp-block-button__link {
    background-color: var(--btn-white-bg);
    color: var(--btn-white-text);
    border: none;
    --btn-fill-hover: var(--btn-white-bg-hover);
}
.btn-white:hover,
.btn-solid-white:hover,
.wp-block-button.is-style-solid-white .wp-block-button__link:hover {
    color: var(--btn-white-text-hover);
}
@media (prefers-reduced-motion: reduce) {
    .btn-white:hover,
    .btn-solid-white:hover,
    .wp-block-button.is-style-solid-white .wp-block-button__link:hover {
        background-color: var(--btn-white-bg-hover);
    }
}

/* 2a. Outline Powder Pink (Borderowy pudrowy róż -> wypełnienie pudrowym różem: 6.99:1 -> 11.71:1) */
.btn-outline,
.btn-outline-pink,
.wp-block-button.is-style-outline-pink .wp-block-button__link {
    background-color: transparent;
    color: var(--accent-primary);
    border-color: var(--powder-pink-border);
    --btn-fill-hover: var(--powder-pink);
}
.btn-outline:hover,
.btn-outline-pink:hover,
.wp-block-button.is-style-outline-pink .wp-block-button__link:hover {
    color: var(--powder-pink-text);
    border-color: var(--powder-pink);
}
@media (prefers-reduced-motion: reduce) {
    .btn-outline:hover,
    .btn-outline-pink:hover,
    .wp-block-button.is-style-outline-pink .wp-block-button__link:hover {
        background-color: var(--powder-pink);
    }
}

/* 2b. Outline White (Borderowy biały/neutralny — dopasowany do Light/Dark Mode, biały na zdjęciach) */
.btn-outline-white,
.wp-block-button.is-style-outline-white .wp-block-button__link {
    background-color: transparent;
    color: var(--btn-outline-white-text);
    border-color: var(--btn-outline-white-border);
    --btn-fill-hover: var(--btn-outline-white-hover-bg);
}
.btn-outline-white:hover,
.wp-block-button.is-style-outline-white .wp-block-button__link:hover {
    color: var(--btn-outline-white-hover-text);
    border-color: var(--btn-outline-white-hover-bg);
}
@media (prefers-reduced-motion: reduce) {
    .btn-outline-white:hover,
    .wp-block-button.is-style-outline-white .wp-block-button__link:hover {
        background-color: var(--btn-outline-white-hover-bg);
    }
}

/* Na ciemnych tłach mediów (Split-Hero / Hero ze zdjęciem) zawsze biały */
.split-panel .btn-outline-white,
.split-hero__header .btn-outline-white,
.section-hero--has-media .btn-outline-white {
    color: #ffffff;
    border-color: #ffffff;
    --btn-fill-hover: #ffffff;
}
.split-panel .btn-outline-white:hover,
.split-hero__header .btn-outline-white:hover,
.section-hero--has-media .btn-outline-white:hover {
    color: var(--powder-pink-text);
    border-color: #ffffff;
}
.split-panel .btn-outline-white:focus-visible,
.split-hero__header .btn-outline-white:focus-visible,
.section-hero--has-media .btn-outline-white:focus-visible {
    outline-color: #ffffff;
}

/* 3. Contrast (High Contrast Inverted -> wypełnienie głębokim różem/pudrem) */
.btn-contrast,
.wp-block-button.is-style-contrast .wp-block-button__link {
    background-color: var(--contrast-bg);
    color: var(--contrast-text);
    border: none;
    --btn-fill-hover: var(--contrast-bg-hover);
}
.btn-contrast:hover,
.wp-block-button.is-style-contrast .wp-block-button__link:hover {
    color: var(--contrast-text);
}
@media (prefers-reduced-motion: reduce) {
    .btn-contrast:hover,
    .wp-block-button.is-style-contrast .wp-block-button__link:hover {
        background-color: var(--contrast-bg-hover);
    }
}

@media (forced-colors: active) {
    .btn,
    .wp-block-button[class*="is-style-"] .wp-block-button__link {
        border: 2px solid ButtonText;
        color: ButtonText;
        background-color: ButtonFace;
    }
    .btn:hover,
    .btn:focus-visible,
    .wp-block-button[class*="is-style-"] .wp-block-button__link:hover,
    .wp-block-button[class*="is-style-"] .wp-block-button__link:focus-visible {
        border-color: Highlight;
        outline: 2px solid Highlight;
    }
    .btn::before,
    .wp-block-button[class*="is-style-"] .wp-block-button__link::before {
        display: none;
    }
}

/* Icon-only button */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--surface-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-icon:hover {
    background: var(--bg-secondary);
}

/* ==========================================================================
   Unified Floating Bottom Navigation (Desktop & Mobile, max-width: 380px)
   ========================================================================== */
.floating-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: calc(44px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: var(--z-mobile-nav);
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    width: calc(100% - 24px);
    max-width: 380px;
    min-height: 60px;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 250, 252, 0.74);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: none;
    box-shadow:
        0 18px 40px -10px rgba(15, 23, 42, 0.22),
        inset 0 1.5px 1px rgba(255, 255, 255, 0.85),
        inset 0 -1px 1px rgba(244, 114, 182, 0.14);
    transition: transform 0.34s var(--ease-out-expo), opacity 0.25s ease;
}

body.is-booking-nav-hidden .floating-bottom-nav {
    transform: translateX(-50%) translateY(calc(100% + 56px + env(safe-area-inset-bottom)));
    opacity: 0;
    pointer-events: none;
}

[data-theme="dark"] .floating-bottom-nav {
    background: rgba(15, 12, 20, 0.76);
    box-shadow:
        0 20px 44px -10px rgba(0, 0, 0, 0.65),
        inset 0 1px 1px rgba(255, 255, 255, 0.22),
        inset 0 -1px 1px rgba(244, 114, 182, 0.16);
}

.floating-bottom-nav__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.floating-bottom-nav__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(16px);
    will-change: transform;
}

.floating-bottom-nav__orb--1 {
    width: 120px;
    height: 68px;
    left: -20px;
    top: -12px;
    background: rgba(251, 207, 232, 0.72); /* #fbcfe8 */
    animation: nav-orb-drift-1 4.8s ease-in-out infinite alternate;
}

.floating-bottom-nav__orb--2 {
    width: 130px;
    height: 72px;
    left: 125px;
    bottom: -16px;
    background: rgba(249, 168, 212, 0.6); /* #f9a8d4 */
    animation: nav-orb-drift-2 6.2s ease-in-out infinite alternate;
}

.floating-bottom-nav__orb--3 {
    width: 115px;
    height: 64px;
    right: -20px;
    top: -10px;
    background: rgba(253, 164, 175, 0.62); /* #fda4af */
    animation: nav-orb-drift-3 5.4s ease-in-out infinite alternate;
}

[data-theme="dark"] .floating-bottom-nav__orb--1 {
    background: rgba(236, 72, 153, 0.36);
}

[data-theme="dark"] .floating-bottom-nav__orb--2 {
    background: rgba(244, 114, 182, 0.3);
}

[data-theme="dark"] .floating-bottom-nav__orb--3 {
    background: rgba(190, 24, 93, 0.38);
}

@keyframes nav-orb-drift-1 {
    0% {
        transform: translate3d(0, 0, 0) scale(0.95);
    }
    35% {
        transform: translate3d(135px, 24px, 0) scale(1.12);
    }
    70% {
        transform: translate3d(260px, -6px, 0) scale(1.04);
    }
    100% {
        transform: translate3d(295px, 18px, 0) scale(0.92);
    }
}

@keyframes nav-orb-drift-2 {
    0% {
        transform: translate3d(-125px, -18px, 0) scale(1);
    }
    40% {
        transform: translate3d(25px, 6px, 0) scale(1.15);
    }
    75% {
        transform: translate3d(140px, -22px, 0) scale(1.02);
    }
    100% {
        transform: translate3d(-90px, 8px, 0) scale(0.94);
    }
}

@keyframes nav-orb-drift-3 {
    0% {
        transform: translate3d(0, 14px, 0) scale(1);
    }
    35% {
        transform: translate3d(-145px, -14px, 0) scale(1.14);
    }
    70% {
        transform: translate3d(-275px, 18px, 0) scale(1.02);
    }
    100% {
        transform: translate3d(-295px, -8px, 0) scale(0.92);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-bottom-nav,
    .floating-bottom-left {
        transition: none;
    }

    .floating-bottom-nav__orb {
        animation: none;
    }
}

body:not(.home) {
    padding-bottom: calc(126px + env(safe-area-inset-bottom));
}

.floating-bottom-nav__item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 46px;
    padding: 4px 8px;
    background: transparent;
    border: none;
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-bottom-nav__item:hover,
.floating-bottom-nav__item:focus-visible,
.floating-bottom-nav__item.is-active {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.56);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.floating-bottom-nav__item:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

[data-theme="dark"] .floating-bottom-nav__item:hover,
[data-theme="dark"] .floating-bottom-nav__item:focus-visible,
[data-theme="dark"] .floating-bottom-nav__item.is-active {
    background-color: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.floating-bottom-nav__logo {
    max-height: 26px;
    width: auto;
    object-fit: contain;
}

/* Bottom-Left Cookie Control & Copyright Credits */
.floating-bottom-left {
    position: fixed;
    left: 50%;
    bottom: calc(10px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: var(--z-mobile-nav);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    width: max-content;
    max-width: calc(100% - 24px);
    transition: transform 0.34s var(--ease-out-expo), opacity 0.25s ease;
}

body.is-booking-nav-hidden .floating-bottom-left {
    transform: translateX(-50%) translateY(calc(100% + 24px + env(safe-area-inset-bottom)));
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 768px) {
    .floating-bottom-left {
        left: 20px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        transform: none;
        justify-content: flex-start;
    }

    body.is-booking-nav-hidden .floating-bottom-left {
        transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom)));
    }
}

.floating-bottom-left__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 2px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
    user-select: none;
}

.floating-bottom-left__action > span:first-child {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.floating-bottom-left__action .ttfc-icon {
    line-height: 1;
}

.floating-bottom-left__action:hover,
.floating-bottom-left__action:focus-visible {
    color: var(--accent-primary);
}

.floating-bottom-left__action:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Home split-screen hero sits behind the bottom dock with a dark photo scrim in both themes */
body.home .floating-bottom-left__action {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
}

body.home .floating-bottom-left__action:hover,
body.home .floating-bottom-left__action:focus-visible {
    color: #f9dce2;
}

body.home .floating-bottom-left__action:focus-visible {
    outline-color: #ffffff;
}

.floating-bottom-credits__heart {
    display: inline-block;
    vertical-align: -2px;
    margin-inline: 1px;
    color: var(--accent-primary);
    font-variation-settings: 'FILL' 1;
}

/* ==========================================================================
   MU Consent Manager — Theme Integration (Light & Dark Mode, WCAG 2.2 AA)
   ========================================================================== */
:root,
[data-theme="light"] {
    --muc-surface: var(--surface-card);
    --muc-surface-subtle: var(--bg-secondary);
    --muc-text-primary: var(--text-primary);
    --muc-text-secondary: var(--text-secondary);
    --muc-text-muted: var(--text-secondary);
    --muc-border: var(--border-subtle);
    --muc-border-strong: var(--border-strong);
    --muc-accent: var(--accent-primary);
    --muc-on-accent: var(--accent-on);
    --muc-btn-bg: var(--contrast-bg);
    --muc-btn-fg: var(--contrast-text);
    --muc-btn-sec-fg: var(--text-primary);
    --muc-btn-sec-bd: var(--border-strong);
    --muc-shadow: var(--shadow-lg);
    --muc-backdrop: rgba(31, 18, 24, 0.56);
    --muc-radius: var(--radius-md);
    --muc-switch-track: rgba(31, 18, 24, 0.18);
    --muc-switch-border: rgba(31, 18, 24, 0.28);
    --muc-switch-thumb: #ffffff;
}

[data-theme="dark"] {
    --muc-surface: var(--surface-card);
    --muc-surface-subtle: var(--bg-secondary);
    --muc-text-primary: var(--text-primary);
    --muc-text-secondary: var(--text-secondary);
    --muc-text-muted: var(--text-secondary);
    --muc-border: var(--border-subtle);
    --muc-border-strong: var(--border-strong);
    --muc-accent: var(--accent-primary);
    --muc-on-accent: var(--accent-on);
    --muc-btn-bg: var(--contrast-bg);
    --muc-btn-fg: var(--contrast-text);
    --muc-btn-sec-fg: var(--text-primary);
    --muc-btn-sec-bd: var(--border-strong);
    --muc-shadow: var(--shadow-lg);
    --muc-backdrop: rgba(15, 10, 13, 0.72);
    --muc-switch-track: rgba(253, 247, 248, 0.18);
    --muc-switch-border: rgba(253, 247, 248, 0.3);
    --muc-switch-thumb: #ffffff;
}

.mu-consent-banner,
.mu-consent-dialog {
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
}

.mu-consent-banner__title,
.mu-consent-dialog__title {
    font-family: var(--font-display);
}

.mu-consent-dialog__header {
    border-bottom: none;
    padding: 1.25rem 1.5rem 0.75rem;
}

.mu-consent-dialog__body {
    padding: 0.25rem 1.5rem 1rem;
}

.mu-consent-dialog__close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0;
    line-height: 0;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mu-consent-dialog__close::before,
.mu-consent-dialog__close::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 15px;
    height: 1.75px;
    border-radius: 2px;
    background-color: currentColor;
}

.mu-consent-dialog__close::before {
    transform: rotate(45deg);
}

.mu-consent-dialog__close::after {
    transform: rotate(-45deg);
}

.mu-consent-dialog__close:hover,
.mu-consent-dialog__close:focus-visible {
    background: var(--powder-pink);
    color: var(--powder-pink-text);
}

.mu-consent-category {
    border: none;
    border-radius: var(--radius-md);
}

.mu-consent-switch {
    border: none;
}

.mu-consent-dialog__footer {
    border-top: none;
    padding: 0.5rem 1.5rem 1.35rem;
    gap: 0.625rem;
}

.mu-consent-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: var(--text-body-sm);
    font-weight: 500;
    background-image: none;
    --btn-fill-hover: var(--powder-pink-hover);
    transition:
        background-color 0.45s ease,
        color 0.55s ease,
        transform 0.5s var(--ease-out-expo);
}

.mu-consent-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background-color: var(--btn-fill-hover);
    pointer-events: none;
    clip-path: circle(0% at 50% 105%);
}

@media (prefers-reduced-motion: no-preference) {
    .mu-consent-btn::before {
        transition: clip-path 0.85s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    }

    .mu-consent-btn:hover::before,
    .mu-consent-btn:focus-visible::before {
        clip-path: circle(115% at 50% 105%);
    }

    .mu-consent-btn:active {
        transform: scale(0.98);
    }
}

.mu-consent-btn--equal {
    background-color: var(--powder-pink);
    color: var(--powder-pink-text);
    border: none;
    --btn-fill-hover: var(--powder-pink-hover);
}

.mu-consent-btn--equal:hover,
.mu-consent-btn--equal:focus-visible {
    color: var(--powder-pink-text);
    transform: none;
}

.mu-consent-btn--save,
.mu-consent-btn--ghost {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: none;
    --btn-fill-hover: var(--contrast-bg);
}

.mu-consent-btn--save:hover,
.mu-consent-btn--save:focus-visible,
.mu-consent-btn--ghost:hover,
.mu-consent-btn--ghost:focus-visible {
    color: var(--contrast-text);
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .mu-consent-btn--equal:hover,
    .mu-consent-btn--equal:focus-visible {
        background-color: var(--powder-pink-hover);
    }

    .mu-consent-btn--save:hover,
    .mu-consent-btn--save:focus-visible,
    .mu-consent-btn--ghost:hover,
    .mu-consent-btn--ghost:focus-visible {
        background-color: var(--contrast-bg);
    }
}

@media (max-width: 767px) {
    .mu-consent-banner,
    .mu-consent-dialog {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .mu-consent-dialog__header {
        padding: 1rem 1rem 0.5rem;
    }

    .mu-consent-dialog__body {
        padding: 0.25rem 1rem 0.75rem;
    }

    .mu-consent-dialog__footer {
        padding: 0.5rem 1rem 1rem;
    }
}

/* Navigation Drawer (<dialog>) */
.mobile-drawer {
    margin: auto auto calc(116px + env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    max-width: 380px;
    border: none;
    border-radius: var(--radius-lg);
    background: var(--surface-card);
    color: var(--text-primary);
    padding: 1.25rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition-property: opacity, transform, display, overlay;
    transition-duration: 0.32s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transition-behavior: allow-discrete;
}

@media (prefers-reduced-motion: no-preference) {
    .mobile-drawer {
        transform: translateY(16px) scale(0.96);
    }
}

.mobile-drawer:modal {
    overscroll-behavior: contain;
}

.mobile-drawer[open]:where(:not([data-closing])) {
    opacity: 1;
}

@starting-style {
    .mobile-drawer[open]:where(:not([data-closing])) {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .mobile-drawer[open]:where(:not([data-closing])) {
        transform: translateY(0) scale(1);
    }

    @starting-style {
        .mobile-drawer[open]:where(:not([data-closing])) {
            transform: translateY(16px) scale(0.96);
        }
    }
}

.mobile-drawer::backdrop {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition-property: background-color, backdrop-filter, display, overlay;
    transition-duration: 0.32s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transition-behavior: allow-discrete;
    overflow: hidden;
    overscroll-behavior: contain;
}

.mobile-drawer[open]:where(:not([data-closing]))::backdrop {
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

@starting-style {
    .mobile-drawer[open]:where(:not([data-closing]))::backdrop {
        background-color: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-drawer,
    .mobile-drawer::backdrop {
        transition-duration: 0.1s;
    }
}

.mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.mobile-drawer__title {
    font-family: var(--font-display);
    font-size: var(--text-h4);
    margin: 0;
}

.mobile-drawer .nav-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-drawer .nav-item.is-hidden-by-section {
    display: none;
}

.mobile-drawer .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.mobile-drawer .nav-link[aria-current="page"] {
    background: var(--bg-secondary);
    color: var(--accent-primary);
    font-weight: 600;
}

.mobile-drawer__paths {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
}

.mobile-drawer__paths .path-switcher__btn {
    flex: 1;
    justify-content: center;
    min-height: 44px;
    border: none;
}

.mobile-drawer__controls {
    margin-top: 0.25rem;
}

.mobile-drawer__theme-btn {
    width: 100%;
    min-height: 48px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mobile-drawer__theme-btn:hover,
.mobile-drawer__theme-btn:focus-visible {
    border-color: var(--border-strong);
}

.mobile-drawer__theme-btn:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.mobile-drawer__theme-info {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
}

.mobile-drawer__theme-state {
    font-size: var(--text-caption);
    font-weight: 600;
    color: var(--text-secondary);
}

.mobile-drawer__footer {
    margin-top: 0.75rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: var(--text-caption);
    line-height: 1.5;
    color: var(--text-secondary);
}

.mobile-drawer__copy,
.mobile-drawer__credit {
    margin: 0;
}

.mobile-drawer__credit-link {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mobile-drawer__credit-link:hover,
.mobile-drawer__credit-link:focus-visible {
    color: var(--accent-hover);
}

.mobile-drawer__credit-link:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Full-Screen Slide-Up Booking Sheet */
.booking-sheet {
    position: fixed;
    inset: 0;
    z-index: 105;
    isolation: isolate;
    width: 100%;
    height: 100%;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border: none;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.booking-sheet[hidden] {
    display: none;
}

.booking-sheet__close {
    position: fixed;
    top: max(1.25rem, env(safe-area-inset-top));
    right: max(1.25rem, env(safe-area-inset-right));
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(255, 250, 252, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .booking-sheet__close {
    background: rgba(20, 16, 26, 0.85);
}

.booking-sheet__close:hover {
    transform: scale(1.06);
}

.booking-sheet__body {
    min-height: 100%;
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

.booking-sheet__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
}

.booking-sheet__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--bg-secondary);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: booking-spin 0.75s linear infinite;
}

@keyframes booking-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .booking-sheet__spinner {
        animation: none;
    }
}

/* ==========================================================================
   Shortcode Sections (.section-hero, .section-content, .section-grid, .section-cta)
   ========================================================================== */
.section-block {
    padding-block: var(--section-space);
}

.section-eyebrow {
    font-size: var(--text-caption);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    margin: 0 0 0.75rem;
}

.section-header {
    max-width: 720px;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Section Hero */
.section-hero {
    position: relative;
    padding-block: clamp(2rem, 4vw, 3.25rem) clamp(0.75rem, 2vw, 1.5rem);
    background: transparent;
    overflow: hidden;
}

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

.section-hero--has-media {
    padding-block: clamp(4rem, 9vw, 8rem);
    color: #ffffff;
}

.section-hero--has-media .section-hero__subtitle,
.section-hero--has-media .breadcrumbs__list,
.section-hero--has-media .breadcrumbs a {
    color: rgba(255, 255, 255, 0.88);
}

.section-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-hero__img,
.section-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-hero__scrim {
    position: absolute;
    inset: 0;
    background: var(--scrim-panel);
}

.section-hero__inner {
    position: relative;
    z-index: 1;
}

.section-hero__title {
    margin: 0;
}

.section-hero + .page-article > .section-block:first-child,
.section-hero + .section-block {
    padding-top: clamp(0.75rem, 2vw, 1.5rem);
}

.section-hero__subtitle {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 65ch;
    margin: 0;
}

.section-hero--center .section-hero__subtitle,
.section-hero--center .breadcrumbs__list {
    margin-inline: auto;
    justify-content: center;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 1.25rem;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: var(--text-body-sm);
    color: var(--text-secondary);
}

.breadcrumbs a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--accent-primary);
}

/* Section Content */
.section-content__grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

@media (min-width: 768px) {
    .section-content__grid--cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .section-content__grid--reverse .section-content__media {
        order: -1;
    }
}

.section-prose {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-secondary);
    font-size: var(--text-body-md);
}

.section-prose p:last-child {
    margin-bottom: 0;
}

.section-content__actions {
    margin-top: 1.75rem;
}

.section-content__media {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.section-content__media img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Section Grid & Cards */
.card-grid {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 2rem);
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .card-grid--cols-2,
    .card-grid--cols-3,
    .card-grid--cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .card-grid--cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .card-grid--cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--surface-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-secondary);
}

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

.card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.card__tag {
    font-size: var(--text-caption);
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card__title {
    font-size: var(--text-h4);
    margin: 0;
}

.card__title a {
    color: var(--text-primary);
    text-decoration: none;
}

.card__title a:hover {
    color: var(--accent-primary);
}

.card__desc {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-secondary);
    font-size: var(--text-body-sm);
}

/* Section CTA Banner */
.cta-banner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
    .cta-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cta-banner__title {
    margin: 0 0 0.5rem;
}

.cta-banner__desc {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 55ch;
}

/* Site Footer */
.site-footer {
    padding-block: 2.5rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: var(--text-body-sm);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer__link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.site-footer__link:hover {
    color: var(--accent-primary);
}

/* ==========================================================================
   Swup + GSAP Directional Transition Curtain
   ========================================================================== */
.transition-curtain {
    position: fixed;
    inset: 0;
    z-index: var(--z-curtain);
    background: var(--contrast-bg);
    pointer-events: none;
    transform: translateX(-100%);
    will-change: transform, opacity;
}

/* ==========================================================================
   Top Navigation Toast (Popover API + Top-Layer Entry/Exit Transitions)
   ========================================================================== */
.nav-toast-region {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 2147483647;
}

@supports not selector(:popover-open) {
    .nav-toast[popover]:not(.\:popover-open) {
        display: none;
    }
}

.nav-toast[popover] {
    position: fixed;
    inset: auto;
    top: calc(12px + env(safe-area-inset-top));
    left: 50%;
    translate: -50% 0;
    z-index: 2147483647;
    margin: 0;
    padding: 0.4rem 0.5rem 0.4rem 0.6rem;
    width: min(calc(100vw - 24px), 380px);
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
    pointer-events: auto;

    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;

    border-radius: var(--radius-pill);
    background: rgba(255, 250, 252, 0.88);
    color: var(--text-primary);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(168, 74, 99, 0.22);
    box-shadow:
        0 12px 28px -10px rgba(31, 18, 24, 0.22),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);

    opacity: 0;
    transition-property: opacity, transform, display, overlay;
    transition-duration: 0.34s;
    transition-timing-function: var(--ease-out-expo);
    transition-behavior: allow-discrete;
}

body.admin-bar .nav-toast[popover] {
    top: calc(44px + env(safe-area-inset-top));
}

@media (prefers-reduced-motion: no-preference) {
    .nav-toast[popover] {
        transform: translateY(-12px) scale(0.97);
    }
}

[data-theme="dark"] .nav-toast[popover] {
    background: rgba(22, 14, 20, 0.88);
    color: var(--text-primary);
    border-color: rgba(242, 196, 206, 0.24);
    box-shadow:
        0 14px 32px -10px rgba(0, 0, 0, 0.65),
        inset 0 1px 1px rgba(255, 255, 255, 0.16);
}

.nav-toast[popover]:is(:popover-open, .\:popover-open):where(:not([data-closing])) {
    display: grid;
    opacity: 1;

    @starting-style {
        opacity: 0;
    }

    @media (prefers-reduced-motion: no-preference) {
        transform: translateY(0) scale(1);

        @starting-style {
            transform: translateY(-12px) scale(0.97);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-toast[popover] {
        transition-duration: 0.12s;
    }
}

.nav-toast__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-pill);
    background: var(--powder-pink);
    color: var(--powder-pink-text);
    flex-shrink: 0;
}

.nav-toast__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
}

.nav-toast__title {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    overflow-wrap: break-word;
}

.nav-toast__summary {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.725rem;
    line-height: 1.28;
    color: var(--text-secondary);
    overflow-wrap: break-word;
}

.nav-toast__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-toast__close:hover,
.nav-toast__close:focus-visible {
    background: var(--accent-soft);
    color: var(--accent-primary);
    border-color: var(--border-subtle);
}

@media (max-width: 420px) {
    .nav-toast[popover] {
        top: calc(8px + env(safe-area-inset-top));
        padding: 0.35rem 0.45rem 0.35rem 0.55rem;
        gap: 0.5rem;
    }

    .nav-toast__icon-wrap {
        width: 28px;
        height: 28px;
    }
}

/* ==========================================================================
   Duo Beauty Studio Regulations Page ([salon_duo_regulamin])
   ========================================================================== */
.duo-regulations__card {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
    border-radius: var(--radius-xl, 22px);
    background: var(--surface-card, #ffffff);
    border: 1px solid var(--border-subtle, rgba(31, 18, 24, 0.1));
    box-shadow: var(--shadow-md, 0 12px 32px rgba(31, 18, 24, 0.08));
}

.duo-regulations__head {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-subtle, rgba(31, 18, 24, 0.1));
}

.duo-regulations__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.duo-regulations__address {
    margin: 0 0 0.85rem;
    font-weight: 600;
    color: var(--accent-primary, #9c3350);
}

.duo-regulations__intro {
    margin: 0;
    color: var(--text-secondary);
}

.duo-regulations__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.duo-regulations__list > li h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.duo-regulations__list > li > ul {
    margin: 0;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.duo-regulations__sublist {
    list-style: none;
    margin: 0.35rem 0;
    padding-left: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.duo-regulations__sublist li::before {
    content: "– ";
}

.duo-regulations__foot {
    margin-top: 2rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--border-subtle, rgba(31, 18, 24, 0.1));
    text-align: center;
    color: var(--text-primary);
    font-weight: 600;
}

.duo-regulations__foot p {
    margin: 0 0 0.4rem;
}

.duo-regulations__thanks {
    color: var(--accent-primary, #9c3350);
}
