.site-main {
    position: relative;
    z-index: 10;
}

.admin-panel,
.dashboard-shell {
    width: 100%;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
    font-family: var(--font-display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

/***** Dashboard */

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    gap: 1.25rem;
    align-items: stretch;
}

.dashboard-hero__content,
.dashboard-profile-card,
.dashboard-card,
.dashboard-note-card {
    background: var(--color-white);
    border: 1px solid rgba(189, 135, 196, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.dashboard-hero__content {
    padding: 2rem;
    background:
        linear-gradient(135deg, rgba(255, 102, 196, 0.16), rgba(255, 255, 255, 0.96) 38%),
        linear-gradient(180deg, rgba(116, 208, 201, 0.08), rgba(255, 255, 255, 1));
}

.dashboard-hero__content h1 {
    margin: 0 0 0.8rem;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--color-primary-dark);
}

.dashboard-hero__text {
    max-width: 42rem;
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.7;
    color: var(--color-text-soft);
}

.dashboard-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.dashboard-profile-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    background:
        linear-gradient(rgba(5, 6, 10, 0.68), rgba(5, 6, 10, 0.1)),
        url('../assets/images/dashboard/profile-card-bg.jpg') center center / cover no-repeat;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-strong);
}

.dashboard-profile-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    pointer-events: none;
}

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

.dashboard-profile-card__label {
    margin: 0 0 0.5rem;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.76rem;
    font-weight: 700;
}

.dashboard-profile-card h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.1;
    color: var(--color-white);
}

.dashboard-profile-card__email {
    margin: 0.5rem 0 1.25rem;
    color: rgba(255, 255, 255, 0.78);
    word-break: break-word;
}

.dashboard-profile-card__meta {
    display: grid;
    gap: 0.75rem;
}

.dashboard-profile-card .dashboard-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-chip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
}

.stat-chip__label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 1.5rem;
}

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

.dashboard-card,
.dashboard-note-card {
    padding: 1.35rem;
}

.dashboard-card--accent {
    background: linear-gradient(180deg, rgba(255, 102, 196, 0.12), rgba(255, 255, 255, 1) 60%);
}

.dashboard-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(116, 208, 201, 0.18);
    font-size: 1.35rem;
}

.dashboard-card__body h3,
.dashboard-note-card h3 {
    margin: 1rem 0 0.55rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    color: var(--color-black);
}

.dashboard-card__body p,
.dashboard-note-card p {
    margin: 0;
    line-height: 1.65;
    color: var(--color-text-soft);
}

.dashboard-section {
    margin-top: 2rem;
}

.dashboard-image-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.dashboard-image-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid rgba(189, 135, 196, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.dashboard-image-card__media {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(255, 102, 196, 0.12), rgba(116, 208, 201, 0.14));
    overflow: hidden;
}

.dashboard-image-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-image-card__content {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.85rem;
    padding: 1.25rem;
    flex: 1 1 auto;
}

.dashboard-image-card__content h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-black);
}

.dashboard-image-card__content p {
    margin: 0;
    line-height: 1.7;
    color: var(--color-text-soft);
}

.dashboard-image-card__content .button-primary,
.dashboard-image-card__content .button-secondary {
    margin-top: 0;
    align-self: flex-start;
}

/***** General layout */

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-heading h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--color-primary-dark);
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 14px 26px rgba(207, 17, 100, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.button-secondary {
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid rgba(17, 17, 17, 0.12);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: var(--color-black);
    color: var(--color-white);
    outline: none;
}

.text-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.text-link:hover,
.text-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.coming-soon-pill {
    display: inline-flex;
    margin-top: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(248, 154, 46, 0.16);
    color: #b96500;
    font-size: 0.85rem;
    font-weight: 800;
}

.form-helper-note {
    margin: 0 0 0.9rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #6e6570;
}

.form-message {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    font-weight: 600;
}

.form-message--error {
    background: rgba(207, 17, 100, 0.08);
    border: 1px solid rgba(207, 17, 100, 0.18);
    color: var(--color-primary-dark);
}

.inline-pink-link {
    color: var(--color-primary-dark);
    font-weight: 700;
    text-decoration: underline;
}

.inline-pink-link:hover,
.inline-pink-link:focus-visible {
    color: var(--color-primary);
}

/***** Event explainer */

.event-explainer-card {
    margin: 0 0 1.25rem;
    padding: 1.25rem 1.4rem;
    background:
        linear-gradient(135deg, rgba(255, 102, 196, 0.10), rgba(116, 208, 201, 0.10)),
        var(--color-white);
    border: 1px solid rgba(189, 135, 196, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.event-explainer-card h2 {
    margin: 0 0 0.5rem;
    color: var(--color-primary-dark);
}

.event-explainer-card p {
    margin: 0;
    line-height: 1.7;
    color: var(--color-text-soft);
}

.event-explainer-card p + p {
    margin-top: 0.6rem;
}

/***** Auth */

.auth-shell {
    width: 100%;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.95fr);
    gap: 1.5rem;
    align-items: stretch;
}

.auth-intro-card,
.auth-form-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.auth-intro-card {
    order: 2;
    padding: 2rem;
    border: 1px solid rgba(189, 135, 196, 0.22);
    background:
        radial-gradient(circle at top right, rgba(116, 208, 201, 0.18), transparent 14rem),
        linear-gradient(135deg, rgba(255, 102, 196, 0.14), rgba(255, 255, 255, 0.95) 38%),
        var(--color-white);
}

.auth-intro-card h1 {
    margin: 0 0 0.85rem;
    font-size: clamp(2.25rem, 4vw, 4.2rem);
    line-height: 0.96;
    color: var(--color-primary-dark);
}

.auth-intro-card__text {
    max-width: 34rem;
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.75;
    color: var(--color-text-soft);
}

.auth-intro-card--success {
    display: flex;
    flex-direction: column;
}

.checkout-success-image {
    position: relative;
    margin-top: 1.5rem;
    min-height: 280px;
    border-radius: 24px;
    border: 1px solid rgba(189, 135, 196, 0.18);
    overflow: hidden;
    background: url('../assets/images/checkout-success.jpg') center center / cover no-repeat;
    box-shadow: inset 0 -20px 40px rgba(17, 17, 17, 0.08);
}

.checkout-success-image__caption {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.2);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    backdrop-filter: blur(6px);
}

.auth-feature-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    max-width: 340px;
}

.auth-feature-list li {
    position: relative;
    padding: 0.9rem 1rem 0.9rem 3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(189, 135, 196, 0.24);
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.4;
    box-shadow: 0 4px 14px rgba(31, 16, 33, 0.04);
}

.auth-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: rgba(255, 102, 196, 0.14);
    color: #CF1164;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
}

.auth-intro-card__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.auth-highlight-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(189, 135, 196, 0.24);
    font-weight: 700;
    color: var(--color-black);
}

.auth-form-card {
    order: 1;
    width: 100%;
    max-width: none;
    padding: 2rem;
    border: 1px solid rgba(189, 135, 196, 0.22);
    background: var(--color-white);
}

.auth-form-card__header h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--color-primary-dark);
}

.auth-form-card__header p {
    margin: 0 0 1.25rem;
    color: var(--color-text-soft);
    line-height: 1.65;
}

.auth-form {
    margin-top: 0.5rem;
}

.auth-form-card__footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(189, 135, 196, 0.18);
}

.auth-form-card__footer p {
    margin: 0;
    color: var(--color-text-soft);
}

.auth-form-card__footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.auth-form-card__footer-links .text-link {
    margin-top: 0;
}

/***** Page sections */

.page-section {
    width: 100%;
}

.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.page-heading h1 {
    margin: 0;
    color: var(--color-primary-dark);
}

.page-heading--stacked {
    display: block;
}

.page-heading__text {
    max-width: 760px;
    margin: 0.75rem 0 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-soft);
}

/***** Children */

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

.child-card {
    padding: 1.35rem;
    background: var(--color-white);
    border: 1px solid rgba(189, 135, 196, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.child-card__top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.child-card__name {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    color: var(--color-black);
}

.child-card__meta {
    margin: 0;
    color: var(--color-text-soft);
    line-height: 1.6;
}

.child-card__meta strong {
    color: var(--color-black);
}

.child-card__actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.empty-state-card {
    padding: 1.6rem;
    background: var(--color-white);
    border: 1px solid rgba(189, 135, 196, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.empty-state-card h2 {
    margin: 0 0 0.5rem;
    color: var(--color-primary-dark);
}

.empty-state-card p {
    margin: 0 0 1rem;
    color: var(--color-text-soft);
    line-height: 1.7;
}

.back-link {
    margin: 0 0 1rem;
}

.back-link a {
    font-weight: 700;
    color: var(--color-primary-dark);
}

/***** Class booking page */

.booking-class-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-bottom: 2rem;
}

.booking-class-card {
    padding: 1.35rem;
    background: var(--color-white);
    border: 1px solid rgba(189, 135, 196, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.booking-class-card__title {
    margin: 0 0 0.45rem;
    color: var(--color-primary-dark);
}

.booking-class-card__meta {
    margin: 0.2rem 0;
    color: var(--color-text-soft);
    line-height: 1.6;
}

.booking-class-card__meta--emphasis {
    color: var(--color-text);
}

.booking-class-card__children {
    margin-top: 1rem;
}

.booking-class-card__label {
    margin: 0 0 0.6rem;
    font-weight: 700;
}

.booking-class-card__schedule {
    margin: 0.6rem 0 0.75rem;
}

.booking-class-card__value {
    color: var(--color-text);
    font-weight: 500;
}

.booking-child-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(189, 135, 196, 0.18);
    border-radius: 18px;
    background: #fff;
}

.booking-child-option input {
    width: auto;
    min-height: auto;
    flex-shrink: 0;
}

.booking-child-option span:first-child {
    line-height: 1.4;
}

.booking-child-option .coming-soon-pill {
    flex-shrink: 0;
    margin-top: 0;
    margin-left: auto;
}

/***** Fixed basket */

.booking-summary-bar {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999 !important;
    max-height: 88vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
    background: rgba(17, 17, 17, 0.94);
    color: var(--color-white);
    box-shadow: 0 -10px 30px rgba(17, 17, 17, 0.18);
}

.booking-summary-bar__totals {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}

.booking-summary-bar__actions {
    flex: 0 0 auto;
    position: sticky;
    bottom: 0;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    background: rgba(17, 17, 17, 0.94);
}

.booking-summary-spacer {
    height: 20px;
}

.booking-basket {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.booking-basket summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.booking-basket summary::-webkit-details-marker {
    display: none;
}

.booking-basket summary::after {
    content: '▴';
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.booking-basket[open] summary::after {
    transform: rotate(180deg);
}

.booking-basket__content {
    overflow-y: auto;
    overflow-x: hidden;
    height: 0;
    max-height: 38vh;
    transition: height 0.28s ease;
    -webkit-overflow-scrolling: touch;
}

.booking-basket__content-inner {
    overflow: visible;
    padding-right: 0.25rem;
    padding-bottom: 0.5rem;
}

.booking-basket[open] .booking-basket__content {
    grid-template-rows: 1fr;
}

.booking-basket__lines {
    margin-top: 0.9rem;
}

.booking-basket__line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.booking-basket__line p {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.booking-basket__line > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.booking-basket__line > div:last-child p {
    margin: 0;
}

.booking-basket__discount {
    color: #74D0C9 !important;
}

.booking-basket__totals {
    margin-top: 0.9rem;
}

.booking-basket__totals p {
    margin: 0.25rem 0;
}

.booking-basket__date {
    margin: 0.2rem 0 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
}

.booking-basket__remove {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    margin-top: 0.45rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ff8dd3;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
}

.booking-basket__remove:hover,
.booking-basket__remove:focus-visible {
    color: #ffffff;
    outline: none;
}

@media (max-width: 768px) {
    .booking-summary-bar {
        max-height: 88vh;
    }

    .booking-basket__content {
        max-height: 42vh;
    }
}

/***** Booking history */

.booking-filters {
    margin-bottom: 1.25rem;
    padding: 1.1rem 1.2rem;
    background: var(--color-white);
    border: 1px solid rgba(189, 135, 196, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.booking-filters__header {
    margin-bottom: 0.9rem;
}

.booking-filters__header h2 {
    margin: 0;
    color: var(--color-primary-dark);
}

.booking-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.booking-filter-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.booking-filter-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.booking-filter-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(189, 135, 196, 0.28);
    color: var(--color-black);
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.booking-filter-chip input:checked + span {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    border-color: transparent;
}

.booking-filter-chip span:hover {
    transform: translateY(-1px);
}

.booking-filter-clear {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #d1d5db;
    background: #f3f4f6;
    color: #111827;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    border-radius: 999px;
    padding: 13px 18px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.booking-filter-clear:hover {
    background: #e5e7eb;
    border-color: #cbd5e1;
}

.booking-list-groups {
    display: grid;
    gap: 1.5rem;
}

.booking-group-card {
    background: #ffffff;
    border: 1px solid rgba(189, 135, 196, 0.22);
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(31, 16, 33, 0.08);
    overflow: hidden;
}

.booking-group-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 1.4rem 1rem;
    background: linear-gradient(135deg, rgba(189, 135, 196, 0.16) 0%, rgba(116, 208, 201, 0.12) 100%);
    border-bottom: 1px solid rgba(189, 135, 196, 0.18);
}

.booking-group-card__header h2 {
    margin: 0.2rem 0 0;
    color: var(--color-primary-dark);
}

.booking-items {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
}

.booking-item-card {
    background: #fff;
    border: 1px solid rgba(189, 135, 196, 0.18);
    border-radius: 20px;
    padding: 1rem 1rem 0.95rem;
    box-shadow: 0 8px 20px rgba(31, 16, 33, 0.05);
}

.booking-item-card__top {
    display: block;
}

.booking-item-card__title {
    margin: 0 0 0.55rem;
    font-size: 1.35rem;
    line-height: 1.3;
    color: #1a1a1a;
}

.booking-item-card__meta {
    margin: 0;
    color: #5c5562;
    line-height: 1.7;
    font-size: 1.02rem;
}

.booking-item-card__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(189, 135, 196, 0.14);
}

.booking-item-card__price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1.2;
}

.booking-history-total {
    font-size: 1.15rem;
    font-weight: 800;
    color: #CF1164;
}

.booking-history-meta {
    margin-top: 0.35rem;
    font-size: 0.92rem;
    color: #6d6472;
}

.booking-history-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    background: rgba(189, 135, 196, 0.16);
    color: #6d2f7b;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(31, 16, 33, 0.06);
}

.booking-history-status--warning {
    background: rgba(248, 154, 46, 0.16);
    color: #8a4c00;
}

.booking-history-status--danger {
    background: rgba(207, 17, 100, 0.12);
    color: #a10f4f;
}

.booking-history-grid {
    display: grid;
    gap: 0.4rem;
}

.booking-history-note {
    margin-top: 0.35rem;
    padding: 0.75rem 0.9rem;
    background: rgba(189, 135, 196, 0.08);
    border: 1px solid rgba(189, 135, 196, 0.16);
    border-radius: 14px;
    color: #51495a;
    line-height: 1.55;
}

.booking-history-note--danger {
    background: rgba(207, 17, 100, 0.07);
    border-color: rgba(207, 17, 100, 0.18);
    color: #8f1248;
}

.booking-item-card__meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.75rem;
    margin-top: 0.35rem;
    width: 100%;
}

.booking-item-card__meta-grid .booking-item-card__meta {
    margin: 0;
}

.booking-item-card__meta-grid .booking-item-card__meta:nth-child(odd) {
    text-align: left;
}

.booking-item-card__meta-grid .booking-item-card__meta:nth-child(even) {
    text-align: right;
    justify-self: end;
}

.booking-item-card__meta-grid strong,
.booking-item-card__meta--address strong {
    color: #1a1a1a;
    font-weight: 700;
}

.booking-item-card__meta--address {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(189, 135, 196, 0.12);
    font-size: 1.02rem;
    line-height: 1.7;
}

.booking-order-card {
    overflow: hidden;
}

.booking-order-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-align: left;
}

.booking-order-toggle .booking-group-card__header {
    position: relative;
    padding-right: 3.25rem;
}

.booking-order-toggle__icon {
    position: absolute;
    right: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.25s ease;
    color: #6d2f7b;
}

.booking-order-card.is-open .booking-order-toggle__icon {
    transform: translateY(-50%) rotate(180deg);
}

.booking-order-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
}

.booking-order-panel__inner {
    overflow: hidden;
}

.booking-order-card.is-open .booking-order-panel {
    grid-template-rows: 1fr;
}

/***** Header nav dropdown */

.site-nav__dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.site-nav__dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: transparent;
    border: 0;
    margin: 0;
    font: inherit;
    font-weight: 700;
    color: inherit;
    cursor: pointer;
    line-height: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.site-nav__dropdown-chevron {
    display: inline-block;
    font-size: 0.85em;
    transform: translateY(-1px) rotate(0deg);
    transition: transform 0.28s ease;
}

.site-nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(18px);
    min-width: 220px;
    margin-top: 0;
    padding: 0.85rem 0.5rem 0.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        visibility 0.28s ease;
    z-index: 200;
}

.site-nav__dropdown-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.site-nav__dropdown-menu a {
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    text-align: left;
    white-space: nowrap;
}

.site-nav__dropdown-menu a:hover,
.site-nav__dropdown-menu a:focus-visible,
.site-nav__dropdown-menu a.active {
    background: var(--color-off-white);
    color: var(--color-primary-dark);
    outline: none;
}

.site-nav__dropdown.is-open .site-nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(8px);
}

/***** Site footer */

.site-footer {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9);
    background:
        linear-gradient(rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.75)),
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.04), transparent 16rem),
        radial-gradient(circle at 82% 70%, rgba(255, 255, 255, 0.03), transparent 18rem),
        url('../assets/images/header_bg_4.jpg') center center / cover no-repeat;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__inner,
.site-footer__bottom-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 2.5rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer__logo-link {
    display: inline-flex;
    align-items: center;
}

.site-footer__logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

.site-footer__tagline {
    max-width: 16rem;
    margin: 1rem 0 0;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.94);
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.site-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.site-footer__socials a:nth-child(1) {
    background: var(--color-primary);
    box-shadow: 0 10px 22px rgba(255, 102, 196, 0.22);
}

.site-footer__socials a:nth-child(2) {
    background: var(--color-secondary);
    box-shadow: 0 10px 22px rgba(189, 135, 196, 0.22);
}

.site-footer__socials a:nth-child(3) {
    background: var(--color-accent);
    color: var(--color-black);
    box-shadow: 0 10px 22px rgba(116, 208, 201, 0.22);
}

.site-footer__socials a:hover,
.site-footer__socials a:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.04);
    outline: none;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.site-footer__column {
    position: relative;
    padding-left: 1.5rem;
}

.site-footer__column:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.site-footer__column h3 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    color: #ff8dd3;
}

.site-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__column li + li {
    margin-top: 0.85rem;
}

.site-footer__column a {
    color: rgba(255, 255, 255, 0.86);
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible {
    color: #ff8dd3;
    outline: none;
}

.site-footer__bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.1rem;
    padding-bottom: 1.35rem;
}

.site-footer__bottom p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer__bottom-links a {
    color: #ff8dd3;
}

.site-footer__bottom-links a:hover,
.site-footer__bottom-links a:focus-visible {
    color: #ffffff;
    outline: none;
}

.site-footer__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
}

.site-footer__glow--left {
    top: 2rem;
    left: -4rem;
    width: 12rem;
    height: 12rem;
    background: rgba(255, 255, 255, 0.05);
}

.site-footer__glow--right {
    right: -4rem;
    bottom: 3rem;
    width: 14rem;
    height: 14rem;
    background: rgba(255, 255, 255, 0.04);
}

.site-footer__bottom p a {
    color: #ff8dd3;
    text-decoration: none;
}

.site-footer__bottom p a:hover,
.site-footer__bottom p a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
    outline: none;
}

/***** Misc */

.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-notice {
    margin-top: 1.5rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--color-text-soft);
}

.recaptcha-notice a {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

p.recaptcha-notice {
    margin-top: 30px;
}

.trial-form-card {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.trial-form-section-title {
    margin: 2.1rem 0 1rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.1;
    color: var(--color-primary-dark);
}

.trial-form-section-title:first-of-type {
    margin-top: 0;
}

/***** Responsive */

@media (max-width: 1024px) {
    .dashboard-grid,
    .dashboard-image-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer__tagline {
        max-width: 100%;
    }

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

    .site-footer__column {
        padding-left: 0;
    }

    .site-footer__column::before {
        display: none;
    }
}

@media (max-width: 900px) {
    .dashboard-hero,
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-profile-card {
        max-width: 520px;
        width: 100%;
        justify-self: center;
    }

    .dashboard-profile-card .dashboard-hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .auth-form-card {
        order: 1;
    }

    .auth-intro-card {
        order: 2;
    }

    .site-nav__dropdown {
        width: 100%;
        display: block;
    }

    .site-nav__dropdown-toggle {
        width: 100%;
        justify-content: center;
        cursor: pointer;
    }

    .site-nav__dropdown-menu {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        min-width: 0;
        margin-top: 0.6rem;
        padding-top: 0;
        padding-bottom: 0;
        border-radius: 14px;
        box-shadow: none;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            max-height 0.35s ease,
            opacity 0.28s ease,
            padding 0.28s ease,
            visibility 0.28s ease;
    }

    .site-nav__dropdown-menu::before {
        display: none;
    }

    .site-nav__dropdown.is-open .site-nav__dropdown-menu {
        max-height: 200px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
        transform: none;
    }

    .site-nav__dropdown-menu a {
        text-align: center;
        white-space: normal;
    }
}

@media (min-width: 901px) {
    .site-nav__dropdown-toggle {
        cursor: default;
    }

    .site-nav__dropdown:hover .site-nav__dropdown-toggle,
    .site-nav__dropdown:focus-within .site-nav__dropdown-toggle,
    .site-nav__dropdown.is-open .site-nav__dropdown-toggle,
    .site-nav__dropdown.active .site-nav__dropdown-toggle {
        background: rgba(255, 102, 196, 0.12);
        color: var(--color-primary-dark);
        transform: translateY(-1px);
    }

    .site-nav__dropdown:hover .site-nav__dropdown-menu,
    .site-nav__dropdown:focus-within .site-nav__dropdown-menu,
    .site-nav__dropdown.is-open .site-nav__dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(8px);
    }

    .site-nav__dropdown:hover .site-nav__dropdown-chevron,
    .site-nav__dropdown:focus-within .site-nav__dropdown-chevron,
    .site-nav__dropdown.is-open .site-nav__dropdown-chevron,
    .site-nav__dropdown.active .site-nav__dropdown-chevron {
        transform: translateY(-1px) rotate(180deg);
    }
}

@media (max-width: 760px) {
    .page-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .child-grid,
    .booking-class-grid {
        grid-template-columns: 1fr;
    }

    .child-card__top {
        flex-direction: column;
    }

    .booking-summary-bar__actions .button-primary,
    .booking-summary-bar__actions .button-secondary {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .booking-group-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .booking-item-card__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .dashboard-hero__content,
    .dashboard-profile-card,
    .dashboard-card,
    .dashboard-note-card {
        padding: 1.2rem;
        border-radius: 22px;
    }

    .dashboard-grid,
    .dashboard-grid--two,
    .dashboard-image-card-grid,
    .booking-item-card__meta-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-hero__actions {
        flex-direction: column;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-image-card__content .button-primary,
    .dashboard-image-card__content .button-secondary {
        width: 100%;
        justify-content: center;
    }

    .auth-intro-card {
        text-align: center;
    }

    .auth-intro-card__text {
        margin-left: auto;
        margin-right: auto;
    }

    .auth-feature-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .auth-feature-list li {
        width: 100%;
        max-width: 340px;
        text-align: left;
    }

    .booking-item-card__meta-grid {
        gap: 0.5rem;
    }

    .booking-item-card__meta-grid .booking-item-card__meta:nth-child(even),
    .booking-item-card__meta-grid .booking-item-card__meta:nth-child(odd) {
        text-align: left;
        justify-self: start;
    }

    .site-footer {
        margin-top: 2rem;
    }

    .site-footer__inner {
        padding-top: 2.25rem;
        padding-bottom: 1.5rem;
    }

    .site-footer__logo {
        width: 150px;
    }

    .site-footer__tagline {
        font-size: 1.45rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .site-footer__links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .site-footer__brand,
    .site-footer__column,
    .site-footer__column h3,
    .site-footer__column ul {
        align-items: center;
        text-align: center;
    }

    .site-footer__logo-link,
    .site-footer__socials {
        justify-content: center;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer__bottom-links {
        justify-content: center;
    }
}