:root {
    --ycb-graphit-dark: #1c1c1c;
    --ycb-graphit: #3c3c3b;
    --ycb-naturstein: #929292;
    --ycb-leinen: #f5f1e9;
    --ycb-salbei: #99ab81;
    --ycb-salbei-hell: #acbd96;
    --ycb-olive: #4f6d46;
    --ycb-weiss: #fff;
    --ycb-border-soft: rgba(255, 255, 255, 0.16);
    --ycb-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    --ycb-font: Montserrat, Arial, sans-serif;
}

.ycb-booking-controls,
.ycb-auth-prompt,
.ycb-account-welcome,
.ycb-account-dashboard,
.ycb-registration-form,
.ycb-event-cancelled-notice {
    box-sizing: border-box;
    font-family: var(--ycb-font);
    min-width: 0;
    overflow-wrap: anywhere;
}

.ycb-booking-controls *,
.ycb-auth-prompt *,
.ycb-account-welcome *,
.ycb-account-dashboard *,
.ycb-registration-form *,
.ycb-event-cancelled-notice * {
    box-sizing: border-box;
}

.ycb-booking-controls,
.ycb-auth-prompt,
.ycb-account-welcome,
.ycb-account-dashboard,
.ycb-registration-form,
.ycb-event-cancelled-notice {
    width: 100%;
    max-width: 52rem;
    margin: 2rem 0;
    padding: clamp(1.25rem, 2.2vw, 2rem);
    border: 1px solid var(--ycb-border-soft);
    color: var(--ycb-weiss);
    background:
        linear-gradient(135deg, rgba(60, 60, 59, 0.86), rgba(28, 28, 28, 0.96)),
        var(--ycb-graphit-dark);
    box-shadow: var(--ycb-shadow);
}

.ycb-booking-controls > p:first-child,
.ycb-auth-prompt > p:first-child,
.ycb-account-welcome > :first-child,
.ycb-account-dashboard > :first-child,
.ycb-registration-form > :first-child,
.ycb-event-cancelled-notice > :first-child {
    margin-top: 0;
}

.ycb-booking-controls > p:last-child,
.ycb-auth-prompt > p:last-child,
.ycb-account-welcome > :last-child,
.ycb-account-dashboard > :last-child,
.ycb-registration-form > :last-child,
.ycb-event-cancelled-notice > :last-child {
    margin-bottom: 0;
}

.ycb-booking-controls p,
.ycb-auth-prompt p,
.ycb-account-welcome p,
.ycb-account-dashboard p,
.ycb-registration-form p {
    color: inherit;
    line-height: 1.55;
}

.ycb-booking-controls a,
.ycb-auth-prompt a,
.ycb-account-dashboard a,
.ycb-registration-form a,
.ycb-event-cancelled-notice a {
    color: var(--ycb-salbei);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.ycb-booking-controls strong,
.ycb-auth-prompt strong,
.ycb-registration-form strong,
.ycb-event-cancelled-notice strong {
    color: var(--ycb-weiss);
    font-weight: 700;
}

.ycb-booking-controls p:first-child {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: var(--ycb-leinen);
    font-weight: 500;
}

.ycb-booking-controls p:first-child strong {
    color: var(--ycb-salbei);
    font-size: 1.05rem;
    letter-spacing: 0.03em;
}

.ycb-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: var(--ycb-leinen);
    font-weight: 500;
}

.ycb-availability strong {
    color: var(--ycb-salbei);
    font-size: 1.05rem;
    letter-spacing: 0.03em;
}

.ycb-inline-notice,
.ycb-credit-balance,
.ycb-empty-bookings {
    max-width: 52rem;
    margin: 1.25rem 0;
    padding: 1rem;
    border: 1px solid var(--ycb-border-soft);
    border-left: 4px solid var(--ycb-salbei);
    color: var(--ycb-leinen);
    background:
        linear-gradient(135deg, rgba(60, 60, 59, 0.84), rgba(28, 28, 28, 0.96)),
        var(--ycb-graphit-dark);
    font-family: var(--ycb-font);
    line-height: 1.5;
}

.ycb-inline-notice strong,
.ycb-credit-balance strong {
    color: var(--ycb-salbei);
}

.ycb-inline-notice a,
.ycb-credit-balance a {
    color: var(--ycb-salbei);
    font-weight: 700;
}

.ycb-inline-notice--error {
    border-left-color: #d78080;
}

.ycb-inline-notice--muted {
    border-left-color: var(--ycb-naturstein);
}

.ycb-booking-controls .ycb-inline-notice {
    margin: 0 0 1rem;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
}

.ycb-credit-balance {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.65rem;
    font-size: clamp(1.05rem, 2.4vw, 1.75rem);
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.ycb-action-button,
.ycb-auth-prompt .button,
.ycb-account-dashboard .button,
.ycb-registration-form button[type="submit"],
.ycb-registration-form .button,
.ycb-return-to-class .button,
.woocommerce-account .woocommerce form .button,
.woocommerce .ycb-auth-prompt .button {
    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
    min-height: 2.9rem;
    max-width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.7rem 1.1rem;
    border: 1px solid var(--ycb-salbei);
    border-radius: 0;
    color: var(--ycb-graphit-dark);
    background: var(--ycb-salbei);
    box-shadow: none;
    cursor: pointer;
    font-family: var(--ycb-font);
    font-size: clamp(0.76rem, 1.8vw, 0.86rem);
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.ycb-action-button:hover,
.ycb-action-button:focus,
.ycb-auth-prompt .button:hover,
.ycb-auth-prompt .button:focus,
.ycb-account-dashboard .button:hover,
.ycb-account-dashboard .button:focus,
.ycb-registration-form button[type="submit"]:hover,
.ycb-registration-form button[type="submit"]:focus,
.ycb-registration-form .button:hover,
.ycb-registration-form .button:focus,
.ycb-return-to-class .button:hover,
.ycb-return-to-class .button:focus,
.woocommerce-account .woocommerce form .button:hover,
.woocommerce-account .woocommerce form .button:focus,
.woocommerce .ycb-auth-prompt .button:hover,
.woocommerce .ycb-auth-prompt .button:focus {
    border-color: var(--ycb-salbei-hell);
    color: var(--ycb-graphit-dark);
    background: var(--ycb-salbei-hell);
    text-decoration: none;
}

.cancel-yoga-class,
.ycb-auth-prompt .ycb-auth-login,
.ycb-account-dashboard > p:last-child .button {
    color: var(--ycb-weiss);
    border-color: rgba(255, 255, 255, 0.76);
    background: transparent;
}

.cancel-yoga-class:hover,
.cancel-yoga-class:focus,
.ycb-auth-prompt .ycb-auth-login:hover,
.ycb-auth-prompt .ycb-auth-login:focus,
.ycb-account-dashboard > p:last-child .button:hover,
.ycb-account-dashboard > p:last-child .button:focus {
    color: var(--ycb-weiss);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.18);
}

.ycb-action-button[disabled],
.ycb-action-button.is-success,
.ycb-action-button.is-loading {
    cursor: default;
}

.ycb-action-button.is-loading {
    opacity: 0.84;
}

.ycb-action-button.is-loading::before {
    content: "";
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: ycb-spin 0.75s linear infinite;
}

.ycb-action-button.is-success {
    color: var(--ycb-graphit-dark);
    background: var(--ycb-salbei-hell);
}

.ycb-action-message,
.ycb-message-error,
.ycb-message-success,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    display: none;
    width: 100%;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--ycb-border-soft);
    border-left-width: 4px;
    border-radius: 0;
    color: var(--ycb-leinen);
    background: rgba(255, 255, 255, 0.07);
    font-family: var(--ycb-font);
    font-size: 0.9rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ycb-action-message.is-visible,
.ycb-message-error,
.ycb-message-success,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    display: block;
}

.ycb-action-message.is-success,
.ycb-message-success,
.woocommerce .woocommerce-message {
    border-left-color: var(--ycb-salbei);
    color: var(--ycb-weiss);
    background: rgba(153, 171, 129, 0.16);
}

.ycb-action-message.is-error,
.ycb-message-error,
.woocommerce .woocommerce-error {
    border-left-color: #d78080;
    color: var(--ycb-weiss);
    background: rgba(165, 62, 62, 0.18);
}

.ycb-cancel-confirmation {
    display: none;
    width: 100%;
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 4px solid var(--ycb-salbei);
    color: var(--ycb-leinen);
    background: rgba(255, 255, 255, 0.07);
    font-family: var(--ycb-font);
    line-height: 1.45;
}

.ycb-cancel-confirmation.is-visible {
    display: block;
}

.ycb-cancel-confirmation h4 {
    margin: 0 0 0.5rem;
    color: var(--ycb-weiss);
    font-family: var(--ycb-font);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1.25;
    text-transform: uppercase;
}

.ycb-cancel-confirmation__message {
    margin: 0;
}

.ycb-cancel-confirmation__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ycb-cancel-confirmation__keep,
.ycb-cancel-confirmation__confirm {
    display: inline-flex;
    min-height: 2.7rem;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border: 1px solid var(--ycb-salbei);
    border-radius: 0;
    cursor: pointer;
    font-family: var(--ycb-font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: center;
    text-transform: uppercase;
}

.ycb-cancel-confirmation__keep {
    color: var(--ycb-graphit-dark);
    background: var(--ycb-salbei);
}

.ycb-cancel-confirmation__confirm {
    color: var(--ycb-weiss);
    border-color: rgba(255, 255, 255, 0.76);
    background: transparent;
}

.ycb-cancel-confirmation__keep:hover,
.ycb-cancel-confirmation__keep:focus {
    border-color: var(--ycb-salbei-hell);
    color: var(--ycb-graphit-dark);
    background: var(--ycb-salbei-hell);
}

.ycb-cancel-confirmation__confirm:hover,
.ycb-cancel-confirmation__confirm:focus {
    color: var(--ycb-weiss);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.18);
}

.yoga-booking-item .ycb-cancel-confirmation {
    grid-column: 1 / -1;
    margin: 0;
}

.woocommerce .woocommerce-info {
    border-left-color: var(--ycb-naturstein);
    color: var(--ycb-weiss);
    background: rgba(255, 255, 255, 0.08);
}

.ycb-login-link {
    display: inline-block;
    margin-left: 0.6rem;
    color: var(--ycb-salbei);
    font-weight: 700;
}

.ycb-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.ycb-auth-help {
    margin: 0.9rem 0 0;
    color: var(--ycb-naturstein);
    font-size: 0.9rem;
}

.ycb-account-welcome h2,
.ycb-account-dashboard h2 {
    margin: 0 0 0.75rem;
    color: var(--ycb-weiss);
    font-family: var(--ycb-font);
    font-size: clamp(1.35rem, 1.8vw, 1.9rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.18;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.ycb-account-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.35rem 0 1.7rem;
}

.ycb-account-card {
    display: flex;
    min-height: 11rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--ycb-border-soft);
    color: var(--ycb-leinen);
    background: rgba(255, 255, 255, 0.07);
}

.ycb-account-card span {
    color: var(--ycb-naturstein);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.ycb-account-card strong {
    color: var(--ycb-salbei);
    font-size: clamp(1.55rem, 3.6vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    overflow-wrap: anywhere;
}

.ycb-account-bookings {
    margin-top: 1.5rem;
}

.ycb-account-bookings h3,
.ycb-empty-bookings {
    margin: 0 0 1rem;
    color: var(--ycb-weiss);
    font-family: var(--ycb-font);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.yoga-bookings-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yoga-booking-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--ycb-border-soft);
    color: var(--ycb-leinen);
    background: rgba(255, 255, 255, 0.06);
}

.yoga-booking-item.is-cancelled {
    opacity: 0.68;
}

.yoga-booking-details {
    min-width: 0;
}

.yoga-booking-details strong {
    display: block;
    color: var(--ycb-salbei);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.yoga-booking-actions {
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

.yoga-booking-item .ycb-action-message {
    grid-column: 1 / -1;
    margin-top: 0;
}

.ycb-registration-form {
    max-width: 58rem;
}

.ycb-registration-form form {
    margin-top: 1.5rem;
}

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

.ycb-registration-form p {
    margin: 0 0 1.15rem;
}

.ycb-registration-field {
    margin: 0;
}

.ycb-registration-field--full,
.ycb-registration-form fieldset,
.ycb-registration-form .description {
    grid-column: 1 / -1;
}

.ycb-registration-form label {
    display: inline-block;
    margin-bottom: 0.42rem;
    color: var(--ycb-leinen);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.ycb-registration-form input[type="text"],
.ycb-registration-form input[type="email"],
.ycb-registration-form input[type="date"],
.ycb-registration-form select,
.ycb-registration-form textarea,
.woocommerce-account .woocommerce form input[type="text"],
.woocommerce-account .woocommerce form input[type="email"],
.woocommerce-account .woocommerce form input[type="password"],
.woocommerce-account .woocommerce form select,
.woocommerce-account .woocommerce form textarea {
    width: 100%;
    min-height: 2.9rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0;
    color: var(--ycb-weiss);
    background: rgba(255, 255, 255, 0.08);
    font-family: var(--ycb-font);
    font-size: 0.95rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.ycb-registration-form textarea,
.woocommerce-account .woocommerce form textarea {
    min-height: 7rem;
}

.ycb-registration-form input:focus,
.ycb-registration-form select:focus,
.ycb-registration-form textarea:focus,
.woocommerce-account .woocommerce form input:focus,
.woocommerce-account .woocommerce form select:focus,
.woocommerce-account .woocommerce form textarea:focus {
    outline: 2px solid transparent;
    border-color: var(--ycb-salbei);
    box-shadow: 0 0 0 1px var(--ycb-salbei);
}

.ycb-registration-form input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    accent-color: var(--ycb-salbei);
}

.ycb-registration-form .ycb-checkbox-option > label,
.ycb-registration-form fieldset label {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0;
    color: var(--ycb-leinen);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

.ycb-registration-form fieldset {
    margin: 1.4rem 0;
    padding: 1.2rem;
    border: 1px solid var(--ycb-border-soft);
    background: rgba(255, 255, 255, 0.05);
}

.ycb-registration-form legend {
    padding: 0 0.45rem;
    color: var(--ycb-salbei);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-transform: uppercase;
    white-space: normal;
}

.ycb-registration-form .description {
    color: var(--ycb-naturstein);
    font-size: 0.88rem;
    line-height: 1.45;
}

.ycb-event-cancelled-notice {
    max-width: 58rem;
    border-color: rgba(153, 171, 129, 0.45);
    background:
        linear-gradient(135deg, rgba(79, 109, 70, 0.28), rgba(28, 28, 28, 0.96)),
        var(--ycb-graphit-dark);
}

.woocommerce-account .ycb-account-shell,
.woocommerce-account .woocommerce {
    font-family: var(--ycb-font);
}

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

@media (max-width: 768px) {
    .ycb-booking-controls,
    .ycb-auth-prompt,
    .ycb-account-welcome,
    .ycb-account-dashboard,
    .ycb-registration-form,
    .ycb-event-cancelled-notice {
        margin: 1.5rem 0;
        padding: 1.15rem;
    }

    .ycb-account-cards,
    .ycb-registration-fields,
    .yoga-booking-item {
        grid-template-columns: 1fr;
    }

    .yoga-booking-actions {
        justify-content: flex-start;
    }

    .ycb-action-button,
    .ycb-auth-prompt .button,
    .ycb-account-dashboard .button,
    .ycb-registration-form button[type="submit"],
    .ycb-registration-form .button,
    .ycb-return-to-class .button,
    .ycb-cancel-confirmation__keep,
    .ycb-cancel-confirmation__confirm {
        width: 100%;
    }

    .ycb-auth-actions,
    .ycb-cancel-confirmation__actions {
        flex-direction: column;
    }
}

/*
 * WooCommerce "Meine MATTE" account.
 *
 * Account pages use a light, information-friendly interpretation of the
 * Tisch & Matte palette. Everything is scoped to `.woocommerce-account` so
 * product, cart, checkout and event screens retain their existing styling.
 */

body.woocommerce-account {
    --ycb-account-surface: #fff;
    --ycb-account-surface-soft: rgba(255, 255, 255, 0.76);
    --ycb-account-surface-muted: #ebe6dc;
    --ycb-account-border: rgba(60, 60, 59, 0.18);
    --ycb-account-border-strong: rgba(60, 60, 59, 0.34);
    --ycb-account-text: var(--ycb-graphit-dark);
    --ycb-account-text-muted: #5f5e59;
    --ycb-account-link: var(--ycb-olive);
    --ycb-account-shadow: 0 18px 50px rgba(60, 60, 59, 0.11);
    color: var(--ycb-account-text);
    background-color: var(--ycb-leinen);
}

body.woocommerce-account #page,
body.woocommerce-account .site,
body.woocommerce-account .site-content,
body.woocommerce-account #primary,
body.woocommerce-account .content-area,
body.woocommerce-account #main,
body.woocommerce-account .site-main,
body.woocommerce-account article.page,
body.woocommerce-account .inside-article,
body.woocommerce-account .entry-content {
    color: var(--ycb-account-text);
    background-color: var(--ycb-leinen);
    background-image: none;
}

body.woocommerce-account .site-content {
    width: min(100%, 90rem);
    margin-inline: auto;
    padding: clamp(1rem, 3vw, 3rem);
}

body.woocommerce-account .inside-article {
    padding: 0;
}

body.woocommerce-account .entry-header {
    margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

body.woocommerce-account .entry-title {
    margin: 0;
    color: var(--ycb-account-text);
    font-family: var(--ycb-font);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.05;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

body.woocommerce-account .entry-title::after {
    display: block;
    width: clamp(4rem, 10vw, 8rem);
    height: 0.25rem;
    margin-top: 0.8rem;
    background: var(--ycb-salbei);
    content: "";
}

body.woocommerce-account .woocommerce,
body.woocommerce-account .ycb-account-shell {
    box-sizing: border-box;
    min-width: 0;
    color: var(--ycb-account-text);
    font-family: var(--ycb-font);
}

body.woocommerce-account .woocommerce *,
body.woocommerce-account .ycb-account-shell * {
    box-sizing: border-box;
}

body.woocommerce-account.logged-in .entry-content > .woocommerce,
body.woocommerce-account.logged-in .ycb-account-shell > .woocommerce {
    display: grid;
    grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: start;
}

body.woocommerce-account.logged-in .entry-content > .woocommerce::before,
body.woocommerce-account.logged-in .entry-content > .woocommerce::after,
body.woocommerce-account.logged-in .ycb-account-shell > .woocommerce::before,
body.woocommerce-account.logged-in .ycb-account-shell > .woocommerce::after {
    display: none;
    content: none;
}

/* Account navigation. */

body.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    border: 1px solid var(--ycb-account-border);
    background: var(--ycb-account-surface);
    box-shadow: var(--ycb-account-shadow);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--ycb-account-border);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:visited {
    position: relative;
    display: flex;
    min-height: 3.25rem;
    align-items: center;
    padding: 0.8rem 1rem 0.8rem 1.2rem;
    border-left: 4px solid transparent;
    color: var(--ycb-account-text);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.045em;
    line-height: 1.3;
    overflow-wrap: anywhere;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
    border-left-color: var(--ycb-salbei);
    color: var(--ycb-account-text);
    background: rgba(153, 171, 129, 0.18);
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    border-left-color: var(--ycb-olive);
    color: var(--ycb-account-text);
    background: rgba(153, 171, 129, 0.28);
}

/* Main account content. */

body.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid var(--ycb-account-border);
    color: var(--ycb-account-text);
    background:
        radial-gradient(circle at 100% 0%, rgba(153, 171, 129, 0.16), transparent 25rem),
        var(--ycb-account-surface);
    box-shadow: var(--ycb-account-shadow);
}

body.woocommerce-account .woocommerce-MyAccount-content > :first-child {
    margin-top: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content > :last-child {
    margin-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content > p:empty,
body.woocommerce-account .woocommerce-notices-wrapper:empty {
    display: none;
}

/*
 * WooCommerce prints two generic dashboard paragraphs before the custom MATTE
 * dashboard. They duplicate the navigation and mention shipping addresses,
 * which are intentionally not part of this booking-only account.
 */
body.ycb-account-dashboard-page .woocommerce-MyAccount-content > p {
    display: none;
}

body.woocommerce-account .woocommerce-MyAccount-content p,
body.woocommerce-account .woocommerce-MyAccount-content li,
body.woocommerce-account .woocommerce-MyAccount-content address {
    color: var(--ycb-account-text);
    line-height: 1.6;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-MyAccount-content h4,
body.woocommerce-account .woocommerce-form h2,
body.woocommerce-account #customer_login h2 {
    color: var(--ycb-account-text);
    font-family: var(--ycb-font);
    font-weight: 500;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-form h2,
body.woocommerce-account #customer_login h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    text-transform: uppercase;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button),
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):visited,
body.woocommerce-account .woocommerce-LostPassword a,
body.woocommerce-account .woocommerce-LostPassword a:visited {
    color: var(--ycb-account-link);
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):hover,
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):focus,
body.woocommerce-account .woocommerce-LostPassword a:hover,
body.woocommerce-account .woocommerce-LostPassword a:focus {
    color: var(--ycb-account-text);
}

/* Notices. */

body.woocommerce-account .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
    min-width: 0;
}

body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .ycb-action-message,
body.woocommerce-account .ycb-message-error,
body.woocommerce-account .ycb-message-success {
    width: 100%;
    margin: 0 0 1rem;
    padding: 1rem 1rem 1rem 1.15rem;
    border: 1px solid var(--ycb-account-border);
    border-left: 4px solid var(--ycb-salbei);
    border-radius: 0;
    color: var(--ycb-account-text);
    background: rgba(153, 171, 129, 0.2);
    box-shadow: none;
    font-family: var(--ycb-font);
    line-height: 1.5;
    list-style-position: inside;
}

body.woocommerce-account .woocommerce-error {
    border-left-color: #b65f5f;
    background: rgba(182, 95, 95, 0.13);
}

body.woocommerce-account .woocommerce-info {
    border-left-color: var(--ycb-naturstein);
    background: rgba(146, 146, 146, 0.12);
}

body.woocommerce-account .woocommerce-error::before,
body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-message::before {
    color: var(--ycb-account-link);
}

body.woocommerce-account .woocommerce-error a,
body.woocommerce-account .woocommerce-info a,
body.woocommerce-account .woocommerce-message a {
    color: var(--ycb-account-link);
    font-weight: 700;
}

/* MATTE dashboard and booking cards. */

body.woocommerce-account .ycb-account-dashboard {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--ycb-account-text);
    background: transparent;
    box-shadow: none;
}

body.woocommerce-account .ycb-account-dashboard h2 {
    margin: 0 0 0.75rem;
    color: var(--ycb-account-text);
}

body.woocommerce-account .ycb-account-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.woocommerce-account .ycb-account-card {
    border-color: var(--ycb-account-border);
    color: var(--ycb-account-text);
    background: var(--ycb-account-surface-soft);
    box-shadow: 0 8px 24px rgba(60, 60, 59, 0.07);
}

body.woocommerce-account .ycb-account-card span {
    color: var(--ycb-account-text-muted);
}

body.woocommerce-account .ycb-account-card strong {
    color: var(--ycb-olive);
}

body.woocommerce-account .ycb-account-bookings h3,
body.woocommerce-account .ycb-empty-bookings {
    color: var(--ycb-account-text);
}

body.woocommerce-account .ycb-empty-bookings,
body.woocommerce-account .yoga-booking-item {
    border-color: var(--ycb-account-border);
    color: var(--ycb-account-text);
    background: var(--ycb-account-surface-soft);
}

body.woocommerce-account .yoga-booking-details,
body.woocommerce-account .yoga-booking-details p {
    color: var(--ycb-account-text);
}

body.woocommerce-account .yoga-booking-details strong {
    color: var(--ycb-olive);
}

body.woocommerce-account .ycb-account-dashboard .button,
body.woocommerce-account .woocommerce .button,
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce input.button {
    display: inline-flex;
    min-height: 2.9rem;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.1rem;
    border: 1px solid var(--ycb-salbei);
    border-radius: 0;
    color: var(--ycb-account-text);
    background: var(--ycb-salbei);
    box-shadow: none;
    font-family: var(--ycb-font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
}

body.woocommerce-account .ycb-account-dashboard .button:hover,
body.woocommerce-account .ycb-account-dashboard .button:focus,
body.woocommerce-account .woocommerce .button:hover,
body.woocommerce-account .woocommerce .button:focus,
body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce button.button:focus,
body.woocommerce-account .woocommerce input.button:hover,
body.woocommerce-account .woocommerce input.button:focus {
    border-color: var(--ycb-salbei-hell);
    color: var(--ycb-account-text);
    background: var(--ycb-salbei-hell);
}

body.woocommerce-account .ycb-account-dashboard > p:last-child .button,
body.woocommerce-account .cancel-yoga-class,
body.woocommerce-account .ycb-cancel-confirmation__confirm {
    border-color: var(--ycb-account-border-strong);
    color: var(--ycb-account-text);
    background: transparent;
}

body.woocommerce-account .ycb-account-dashboard > p:last-child .button:hover,
body.woocommerce-account .ycb-account-dashboard > p:last-child .button:focus,
body.woocommerce-account .cancel-yoga-class:hover,
body.woocommerce-account .cancel-yoga-class:focus,
body.woocommerce-account .ycb-cancel-confirmation__confirm:hover,
body.woocommerce-account .ycb-cancel-confirmation__confirm:focus {
    border-color: var(--ycb-olive);
    color: var(--ycb-account-text);
    background: rgba(153, 171, 129, 0.18);
}

body.woocommerce-account .ycb-cancel-confirmation {
    border-color: var(--ycb-account-border);
    border-left-color: var(--ycb-olive);
    color: var(--ycb-account-text);
    background: rgba(153, 171, 129, 0.14);
}

body.woocommerce-account .ycb-cancel-confirmation h4 {
    color: var(--ycb-account-text);
}

/* Account forms, login and registration. */

body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce,
body.woocommerce-account:not(.logged-in) .ycb-account-shell > .woocommerce {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid var(--ycb-account-border);
    background: var(--ycb-account-surface);
    box-shadow: var(--ycb-account-shadow);
}

body.woocommerce-account #customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after {
    display: none;
    content: none;
}

body.woocommerce-account #customer_login > .col-1,
body.woocommerce-account #customer_login > .col-2 {
    float: none;
    width: auto;
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid var(--ycb-account-border);
    background: var(--ycb-account-surface-soft);
}

body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register,
body.woocommerce-account .woocommerce form.lost_reset_password,
body.woocommerce-account .woocommerce-EditAccountForm {
    margin: 1rem 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--ycb-account-text);
    background: transparent;
}

body.woocommerce-account .woocommerce form .form-row {
    margin: 0 0 1rem;
    padding: 0;
}

body.woocommerce-account .woocommerce form label,
body.woocommerce-account .woocommerce form legend {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: var(--ycb-account-text);
    font-family: var(--ycb-font);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.woocommerce-account .woocommerce form input[type="text"],
body.woocommerce-account .woocommerce form input[type="email"],
body.woocommerce-account .woocommerce form input[type="password"],
body.woocommerce-account .woocommerce form input[type="tel"],
body.woocommerce-account .woocommerce form input[type="date"],
body.woocommerce-account .woocommerce form select,
body.woocommerce-account .woocommerce form textarea,
body.woocommerce-account .select2-container--default .select2-selection--single {
    width: 100%;
    min-height: 3rem;
    padding: 0.72rem 0.8rem;
    border: 1px solid var(--ycb-account-border-strong);
    border-radius: 0;
    color: var(--ycb-account-text);
    background: var(--ycb-account-surface);
    box-shadow: none;
    font-family: var(--ycb-font);
    font-size: 0.95rem;
    line-height: 1.4;
}

body.woocommerce-account .woocommerce form textarea {
    min-height: 8rem;
    resize: vertical;
}

body.woocommerce-account .woocommerce form input:focus,
body.woocommerce-account .woocommerce form select:focus,
body.woocommerce-account .woocommerce form textarea:focus,
body.woocommerce-account .select2-container--focus .select2-selection--single {
    outline: 2px solid transparent;
    border-color: var(--ycb-olive);
    box-shadow: 0 0 0 2px rgba(79, 109, 70, 0.2);
}

body.woocommerce-account .woocommerce form input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--ycb-olive);
}

body.woocommerce-account .woocommerce-password-strength {
    margin-top: 0.5rem;
    padding: 0.6rem;
    border-radius: 0;
}

body.woocommerce-account .woocommerce-password-hint {
    color: var(--ycb-account-text-muted);
    font-size: 0.85rem;
}

/* Orders, downloads and addresses. */

body.woocommerce-account .woocommerce table.shop_table {
    width: 100%;
    margin: 1rem 0;
    border: 1px solid var(--ycb-account-border);
    border-collapse: collapse;
    border-radius: 0;
    color: var(--ycb-account-text);
    background: var(--ycb-account-surface);
}

body.woocommerce-account .woocommerce table.shop_table th,
body.woocommerce-account .woocommerce table.shop_table td {
    padding: 0.85rem;
    border: 1px solid var(--ycb-account-border);
    color: var(--ycb-account-text);
    text-align: left;
    vertical-align: middle;
}

body.woocommerce-account .woocommerce table.shop_table th {
    background: rgba(153, 171, 129, 0.2);
    font-size: 0.75rem;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

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

body.woocommerce-account .woocommerce-Addresses::before,
body.woocommerce-account .woocommerce-Addresses::after {
    display: none;
    content: none;
}

body.woocommerce-account .woocommerce-Address {
    float: none;
    width: auto;
    padding: 1.25rem;
    border: 1px solid var(--ycb-account-border);
    background: var(--ycb-account-surface-soft);
}

body.woocommerce-account .woocommerce-Address-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

body.woocommerce-account .woocommerce-Address-title::before,
body.woocommerce-account .woocommerce-Address-title::after {
    display: none;
    content: none;
}

body.woocommerce-account .woocommerce-pagination ul.page-numbers {
    border: 0;
}

body.woocommerce-account .woocommerce-pagination ul.page-numbers li {
    margin: 0 0.25rem;
    border: 1px solid var(--ycb-account-border);
}

body.woocommerce-account .woocommerce-pagination ul.page-numbers a,
body.woocommerce-account .woocommerce-pagination ul.page-numbers span {
    min-width: 2.75rem;
    min-height: 2.75rem;
    color: var(--ycb-account-text);
    background: var(--ycb-account-surface);
}

body.woocommerce-account .woocommerce-pagination ul.page-numbers .current {
    color: var(--ycb-account-text);
    background: var(--ycb-salbei);
}

/* Keyboard focus. */

body.woocommerce-account a:focus-visible,
body.woocommerce-account button:focus-visible,
body.woocommerce-account input:focus-visible,
body.woocommerce-account select:focus-visible,
body.woocommerce-account textarea:focus-visible {
    outline: 2px solid var(--ycb-olive);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    body.woocommerce-account .site-content {
        padding: 1rem;
    }

    body.woocommerce-account.logged-in .entry-content > .woocommerce,
    body.woocommerce-account.logged-in .ycb-account-shell > .woocommerce {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        width: max-content;
        min-width: 100%;
        flex-direction: row;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation li {
        flex: 0 0 auto;
        border-right: 1px solid var(--ycb-account-border);
        border-bottom: 0;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
        border-right: 0;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation a,
    body.woocommerce-account .woocommerce-MyAccount-navigation a:visited {
        min-height: 3rem;
        padding: 0.75rem 1rem;
        border-bottom: 4px solid transparent;
        border-left: 0;
        white-space: nowrap;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
    body.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
        border-bottom-color: var(--ycb-salbei);
        border-left-color: transparent;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
        border-bottom-color: var(--ycb-olive);
        border-left-color: transparent;
    }
}

@media (max-width: 768px) {
    body.woocommerce-account .entry-header {
        margin-bottom: 1.25rem;
    }

    body.woocommerce-account .entry-title {
        font-size: clamp(1.8rem, 10vw, 3rem);
    }

    body.woocommerce-account .woocommerce-MyAccount-content,
    body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce,
    body.woocommerce-account:not(.logged-in) .ycb-account-shell > .woocommerce {
        padding: 1rem;
    }

    body.woocommerce-account #customer_login,
    body.woocommerce-account .ycb-account-cards,
    body.woocommerce-account .woocommerce-Addresses,
    body.woocommerce-account .yoga-booking-item {
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-account .ycb-account-card {
        min-height: 9rem;
    }

    body.woocommerce-account .yoga-booking-actions {
        justify-content: stretch;
    }

    body.woocommerce-account .ycb-account-dashboard .button,
    body.woocommerce-account .yoga-booking-actions .button,
    body.woocommerce-account .woocommerce form .button {
        width: 100%;
    }

    body.woocommerce-account .woocommerce table.shop_table_responsive thead {
        display: none;
    }

    body.woocommerce-account .woocommerce table.shop_table_responsive,
    body.woocommerce-account .woocommerce table.shop_table_responsive tbody,
    body.woocommerce-account .woocommerce table.shop_table_responsive tr,
    body.woocommerce-account .woocommerce table.shop_table_responsive td {
        display: block;
        width: 100%;
    }

    body.woocommerce-account .woocommerce table.shop_table_responsive tr {
        margin-bottom: 1rem;
        border: 1px solid var(--ycb-account-border);
    }

    body.woocommerce-account .woocommerce table.shop_table_responsive td {
        display: grid;
        grid-template-columns: minmax(7rem, 40%) minmax(0, 1fr);
        gap: 0.75rem;
        align-items: center;
        border-width: 0 0 1px;
        text-align: right;
    }

    body.woocommerce-account .woocommerce table.shop_table_responsive td:last-child {
        border-bottom: 0;
    }

    body.woocommerce-account .woocommerce table.shop_table_responsive td::before {
        color: var(--ycb-account-text-muted);
        font-weight: 700;
        text-align: left;
    }
}

@media (max-width: 420px) {
    body.woocommerce-account .site-content {
        padding: 0.75rem;
    }

    body.woocommerce-account .woocommerce-MyAccount-content,
    body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce,
    body.woocommerce-account:not(.logged-in) .ycb-account-shell > .woocommerce {
        padding: 0.85rem;
    }

    body.woocommerce-account .woocommerce table.shop_table_responsive td {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }
}

/*
 * WooCommerce shop, product, cart and checkout.
 *
 * Both classic WooCommerce templates and the current Cart/Checkout blocks use
 * the same light MATTE surfaces. Account pages remain governed by the account
 * section above.
 */

body.woocommerce-page:not(.woocommerce-account) {
    --ycb-shop-surface: #fff;
    --ycb-shop-surface-soft: rgba(255, 255, 255, 0.78);
    --ycb-shop-surface-muted: #ebe6dc;
    --ycb-shop-border: rgba(60, 60, 59, 0.18);
    --ycb-shop-border-strong: rgba(60, 60, 59, 0.34);
    --ycb-shop-text: var(--ycb-graphit-dark);
    --ycb-shop-text-muted: #5f5e59;
    --ycb-shop-link: var(--ycb-olive);
    --ycb-shop-shadow: 0 18px 50px rgba(60, 60, 59, 0.11);
    color: var(--ycb-shop-text);
    background-color: var(--ycb-leinen);
}

body.woocommerce-page:not(.woocommerce-account) #page,
body.woocommerce-page:not(.woocommerce-account) .site,
body.woocommerce-page:not(.woocommerce-account) .site-content,
body.woocommerce-page:not(.woocommerce-account) #primary,
body.woocommerce-page:not(.woocommerce-account) .content-area,
body.woocommerce-page:not(.woocommerce-account) #main,
body.woocommerce-page:not(.woocommerce-account) .site-main,
body.woocommerce-page:not(.woocommerce-account) article,
body.woocommerce-page:not(.woocommerce-account) .inside-article,
body.woocommerce-page:not(.woocommerce-account) .entry-content {
    color: var(--ycb-shop-text);
    background-color: var(--ycb-leinen);
    background-image: none;
}

body.woocommerce-page:not(.woocommerce-account) .site-content {
    width: min(100%, 90rem);
    margin-inline: auto;
    padding: clamp(1rem, 3vw, 3rem);
}

body.woocommerce-page:not(.woocommerce-account) .inside-article {
    padding: 0;
}

body.woocommerce-page:not(.woocommerce-account) .entry-header,
body.woocommerce-shop .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header {
    margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

body.woocommerce-page:not(.woocommerce-account) .entry-title,
body.woocommerce-shop .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_tag .woocommerce-products-header__title {
    margin: 0;
    color: var(--ycb-shop-text);
    font-family: var(--ycb-font);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.05;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

body.woocommerce-page:not(.woocommerce-account) .entry-title::after,
body.woocommerce-shop .woocommerce-products-header__title::after,
body.tax-product_cat .woocommerce-products-header__title::after,
body.tax-product_tag .woocommerce-products-header__title::after {
    display: block;
    width: clamp(4rem, 10vw, 8rem);
    height: 0.25rem;
    margin-top: 0.8rem;
    background: var(--ycb-salbei);
    content: "";
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce,
body.woocommerce-page:not(.woocommerce-account) [class*="wc-block-"] {
    color: var(--ycb-shop-text);
    font-family: var(--ycb-font);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce *,
body.woocommerce-page:not(.woocommerce-account) [class*="wc-block-"] * {
    box-sizing: border-box;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce p,
body.woocommerce-page:not(.woocommerce-account) .woocommerce li,
body.woocommerce-page:not(.woocommerce-account) [class*="wc-block-"] p,
body.woocommerce-page:not(.woocommerce-account) [class*="wc-block-"] li {
    color: var(--ycb-shop-text);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce a:not(.button),
body.woocommerce-page:not(.woocommerce-account) .woocommerce a:not(.button):visited,
body.woocommerce-page:not(.woocommerce-account) [class*="wc-block-"] a:not(.wp-element-button),
body.woocommerce-page:not(.woocommerce-account) [class*="wc-block-"] a:not(.wp-element-button):visited {
    color: var(--ycb-shop-link);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce a:not(.button):hover,
body.woocommerce-page:not(.woocommerce-account) .woocommerce a:not(.button):focus,
body.woocommerce-page:not(.woocommerce-account) [class*="wc-block-"] a:not(.wp-element-button):hover,
body.woocommerce-page:not(.woocommerce-account) [class*="wc-block-"] a:not(.wp-element-button):focus {
    color: var(--ycb-shop-text);
}

/* Shared buttons, notices and form controls. */

body.woocommerce-page:not(.woocommerce-account) .woocommerce .button,
body.woocommerce-page:not(.woocommerce-account) .woocommerce button.button,
body.woocommerce-page:not(.woocommerce-account) .woocommerce input.button,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-button,
body.woocommerce-page:not(.woocommerce-account) .wp-block-button__link,
body.woocommerce-page:not(.woocommerce-account) .wc-block-grid__product-add-to-cart a {
    display: inline-flex;
    min-height: 3rem;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.15rem;
    border: 1px solid var(--ycb-salbei);
    border-radius: 0;
    color: var(--ycb-shop-text);
    background: var(--ycb-salbei);
    box-shadow: none;
    font-family: var(--ycb-font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce .button:hover,
body.woocommerce-page:not(.woocommerce-account) .woocommerce .button:focus,
body.woocommerce-page:not(.woocommerce-account) .woocommerce button.button:hover,
body.woocommerce-page:not(.woocommerce-account) .woocommerce button.button:focus,
body.woocommerce-page:not(.woocommerce-account) .woocommerce input.button:hover,
body.woocommerce-page:not(.woocommerce-account) .woocommerce input.button:focus,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-button:hover,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-button:focus,
body.woocommerce-page:not(.woocommerce-account) .wp-block-button__link:hover,
body.woocommerce-page:not(.woocommerce-account) .wp-block-button__link:focus,
body.woocommerce-page:not(.woocommerce-account) .wc-block-grid__product-add-to-cart a:hover,
body.woocommerce-page:not(.woocommerce-account) .wc-block-grid__product-add-to-cart a:focus {
    border-color: var(--ycb-salbei-hell);
    color: var(--ycb-shop-text);
    background: var(--ycb-salbei-hell);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce .button:disabled,
body.woocommerce-page:not(.woocommerce-account) .woocommerce .button.disabled,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce-error,
body.woocommerce-page:not(.woocommerce-account) .woocommerce-info,
body.woocommerce-page:not(.woocommerce-account) .woocommerce-message,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-notice-banner {
    width: 100%;
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--ycb-shop-border);
    border-left: 4px solid var(--ycb-salbei);
    border-radius: 0;
    color: var(--ycb-shop-text);
    background: rgba(153, 171, 129, 0.2);
    box-shadow: none;
    font-family: var(--ycb-font);
    line-height: 1.5;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce-error,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-notice-banner.is-error {
    border-left-color: #b65f5f;
    background: rgba(182, 95, 95, 0.13);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce-info,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-notice-banner.is-info {
    border-left-color: var(--ycb-naturstein);
    background: rgba(146, 146, 146, 0.12);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce-error::before,
body.woocommerce-page:not(.woocommerce-account) .woocommerce-info::before,
body.woocommerce-page:not(.woocommerce-account) .woocommerce-message::before {
    color: var(--ycb-shop-link);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce form label,
body.woocommerce-page:not(.woocommerce-account) .woocommerce form legend,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-text-input label,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-combobox-control label,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-checkbox__label {
    color: var(--ycb-shop-text);
    font-family: var(--ycb-font);
    font-weight: 600;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce input[type="text"],
body.woocommerce-page:not(.woocommerce-account) .woocommerce input[type="email"],
body.woocommerce-page:not(.woocommerce-account) .woocommerce input[type="password"],
body.woocommerce-page:not(.woocommerce-account) .woocommerce input[type="tel"],
body.woocommerce-page:not(.woocommerce-account) .woocommerce input[type="number"],
body.woocommerce-page:not(.woocommerce-account) .woocommerce select,
body.woocommerce-page:not(.woocommerce-account) .woocommerce textarea,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-text-input input,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-combobox-control input,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-form .wc-block-components-text-input input,
body.woocommerce-page:not(.woocommerce-account) .select2-container--default .select2-selection--single {
    min-height: 3rem;
    border: 1px solid var(--ycb-shop-border-strong);
    border-radius: 0;
    color: var(--ycb-shop-text);
    background: var(--ycb-shop-surface);
    box-shadow: none;
    font-family: var(--ycb-font);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce textarea {
    min-height: 7rem;
    resize: vertical;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce input:focus,
body.woocommerce-page:not(.woocommerce-account) .woocommerce select:focus,
body.woocommerce-page:not(.woocommerce-account) .woocommerce textarea:focus,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-text-input input:focus,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-combobox-control input:focus,
body.woocommerce-page:not(.woocommerce-account) .select2-container--focus .select2-selection--single {
    outline: 2px solid transparent;
    border-color: var(--ycb-olive);
    box-shadow: 0 0 0 2px rgba(79, 109, 70, 0.2);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce input[type="checkbox"],
body.woocommerce-page:not(.woocommerce-account) .woocommerce input[type="radio"],
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-checkbox input,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-radio-control__input {
    accent-color: var(--ycb-olive);
}

/* Shop and product archives. */

body.woocommerce-shop .term-description,
body.tax-product_cat .term-description,
body.tax-product_tag .term-description {
    max-width: 58rem;
    color: var(--ycb-shop-text-muted);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce-result-count {
    color: var(--ycb-shop-text-muted);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce-ordering select {
    min-height: 2.9rem;
    padding: 0.65rem 2.5rem 0.65rem 0.8rem;
    border: 1px solid var(--ycb-shop-border-strong);
    border-radius: 0;
    color: var(--ycb-shop-text);
    background-color: var(--ycb-shop-surface);
    font-family: var(--ycb-font);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
    margin: 2rem 0;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products::before,
body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products::after {
    display: none;
    content: none;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products li.product {
    display: flex;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 1rem;
    flex-direction: column;
    border: 1px solid var(--ycb-shop-border);
    color: var(--ycb-shop-text);
    background: var(--ycb-shop-surface-soft);
    box-shadow: 0 10px 30px rgba(60, 60, 59, 0.08);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products li.product:hover {
    border-color: rgba(79, 109, 70, 0.4);
    box-shadow: 0 16px 36px rgba(60, 60, 59, 0.12);
    transform: translateY(-2px);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    text-decoration: none;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products li.product img,
body.woocommerce-page:not(.woocommerce-account) .wc-block-grid__product-image img,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-product-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 1rem;
    border: 1px solid rgba(60, 60, 59, 0.1);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page:not(.woocommerce-account) .wc-block-grid__product-title,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-product-name {
    color: var(--ycb-shop-text);
    font-family: var(--ycb-font);
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products li.product .price,
body.woocommerce-page:not(.woocommerce-account) .woocommerce div.product p.price,
body.woocommerce-page:not(.woocommerce-account) .woocommerce div.product span.price,
body.woocommerce-page:not(.woocommerce-account) .wc-block-grid__product-price,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-product-price {
    color: var(--ycb-olive);
    font-weight: 700;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products li.product .button {
    width: 100%;
    margin-top: auto;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce span.onsale,
body.woocommerce-page:not(.woocommerce-account) .wc-block-components-product-sale-badge {
    min-width: 0;
    min-height: 0;
    padding: 0.45rem 0.65rem;
    border: 0;
    border-radius: 0;
    color: var(--ycb-shop-text);
    background: var(--ycb-salbei);
    font-family: var(--ycb-font);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce .star-rating,
body.woocommerce-page:not(.woocommerce-account) .woocommerce .star-rating::before {
    color: var(--ycb-olive);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce nav.woocommerce-pagination ul {
    border: 0;
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce nav.woocommerce-pagination ul li {
    margin: 0 0.2rem;
    border: 1px solid var(--ycb-shop-border);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce nav.woocommerce-pagination ul li a,
body.woocommerce-page:not(.woocommerce-account) .woocommerce nav.woocommerce-pagination ul li span {
    min-width: 2.75rem;
    min-height: 2.75rem;
    color: var(--ycb-shop-text);
    background: var(--ycb-shop-surface);
}

body.woocommerce-page:not(.woocommerce-account) .woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--ycb-salbei);
}

/* Single product. */

body.single-product .woocommerce div.product {
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid var(--ycb-shop-border);
    background:
        radial-gradient(circle at 100% 0%, rgba(153, 171, 129, 0.16), transparent 28rem),
        var(--ycb-shop-surface);
    box-shadow: var(--ycb-shop-shadow);
}

body.single-product .woocommerce div.product::before,
body.single-product .woocommerce div.product::after {
    display: table;
    content: "";
}

body.single-product .woocommerce div.product::after {
    clear: both;
}

body.single-product .woocommerce div.product .product_title {
    color: var(--ycb-shop-text);
    font-family: var(--ycb-font);
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 400;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

body.single-product .woocommerce div.product div.images img {
    border: 1px solid var(--ycb-shop-border);
}

body.single-product .woocommerce div.product .woocommerce-product-details__short-description,
body.single-product .woocommerce div.product .woocommerce-product-details__short-description p,
body.single-product .woocommerce div.product .stock,
body.single-product .woocommerce div.product .product_meta {
    color: var(--ycb-shop-text-muted);
}

body.single-product .woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
    margin: 1.5rem 0;
}

body.single-product .woocommerce .quantity .qty,
body.woocommerce-cart .woocommerce .quantity .qty {
    width: 5rem;
    min-height: 3rem;
    padding: 0.6rem;
    border: 1px solid var(--ycb-shop-border-strong);
    border-radius: 0;
    color: var(--ycb-shop-text);
    background: var(--ycb-shop-surface);
}

body.single-product .woocommerce div.product form.cart .variations {
    width: 100%;
    border: 1px solid var(--ycb-shop-border);
}

body.single-product .woocommerce div.product form.cart .variations th,
body.single-product .woocommerce div.product form.cart .variations td {
    padding: 0.75rem;
    color: var(--ycb-shop-text);
}

body.single-product .woocommerce div.product .woocommerce-tabs {
    clear: both;
    padding-top: 2rem;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom-color: var(--ycb-shop-border);
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    border: 1px solid var(--ycb-shop-border);
    border-radius: 0;
    background: var(--ycb-shop-surface-muted);
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-color: var(--ycb-salbei);
    background: var(--ycb-salbei);
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--ycb-shop-text);
}

body.single-product .woocommerce div.product .woocommerce-tabs .panel {
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid var(--ycb-shop-border);
    border-top: 0;
    color: var(--ycb-shop-text);
    background: var(--ycb-shop-surface-soft);
}

body.single-product .woocommerce section.related,
body.single-product .woocommerce section.upsells {
    clear: both;
    padding-top: 2rem;
}

body.single-product .woocommerce section.related > h2,
body.single-product .woocommerce section.upsells > h2 {
    color: var(--ycb-shop-text);
    font-family: var(--ycb-font);
    font-weight: 500;
    text-transform: uppercase;
}

/* Classic cart. */

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .cart-collaterals .cross-sells,
body.woocommerce-cart .woocommerce-empty-cart-message {
    padding: clamp(1rem, 2.5vw, 1.75rem);
    border: 1px solid var(--ycb-shop-border);
    color: var(--ycb-shop-text);
    background: var(--ycb-shop-surface);
    box-shadow: var(--ycb-shop-shadow);
}

body.woocommerce-cart .woocommerce table.shop_table {
    border: 1px solid var(--ycb-shop-border);
    border-collapse: collapse;
    border-radius: 0;
    color: var(--ycb-shop-text);
    background: var(--ycb-shop-surface);
}

body.woocommerce-cart .woocommerce table.shop_table th,
body.woocommerce-cart .woocommerce table.shop_table td {
    padding: 0.85rem;
    border: 1px solid var(--ycb-shop-border);
    color: var(--ycb-shop-text);
}

body.woocommerce-cart .woocommerce table.shop_table th {
    background: rgba(153, 171, 129, 0.2);
    font-size: 0.75rem;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

body.woocommerce-cart .woocommerce a.remove {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(182, 95, 95, 0.32);
    border-radius: 0;
    color: #934b4b !important;
    background: rgba(182, 95, 95, 0.1);
}

body.woocommerce-cart .woocommerce a.remove:hover,
body.woocommerce-cart .woocommerce a.remove:focus {
    color: var(--ycb-weiss) !important;
    background: #934b4b;
}

body.woocommerce-cart .woocommerce table.cart img {
    width: 5rem;
    border: 1px solid var(--ycb-shop-border);
}

body.woocommerce-cart .woocommerce table.cart td.actions .coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

body.woocommerce-cart .woocommerce table.cart td.actions .coupon .input-text {
    width: min(100%, 15rem);
    min-height: 3rem;
}

body.woocommerce-cart .cart-collaterals {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
    gap: clamp(1rem, 3vw, 2rem);
    margin-top: 2rem;
}

body.woocommerce-cart .cart-collaterals::before,
body.woocommerce-cart .cart-collaterals::after {
    display: none;
    content: none;
}

body.woocommerce-cart .cart-collaterals .cross-sells,
body.woocommerce-cart .cart-collaterals .cart_totals {
    float: none;
    width: auto;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
    grid-column: 2;
}

body.woocommerce-cart .cart-collaterals h2 {
    color: var(--ycb-shop-text);
    font-family: var(--ycb-font);
    font-weight: 500;
    text-transform: uppercase;
}

/* Classic checkout. */

body.woocommerce-checkout .woocommerce-form-coupon,
body.woocommerce-checkout .woocommerce-form-login {
    padding: 1.25rem;
    border: 1px solid var(--ycb-shop-border);
    border-radius: 0;
    color: var(--ycb-shop-text);
    background: var(--ycb-shop-surface);
}

body.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: start;
}

body.woocommerce-checkout form.checkout > .col2-set {
    float: none;
    width: auto;
    min-width: 0;
    padding: clamp(1rem, 2.5vw, 1.75rem);
    border: 1px solid var(--ycb-shop-border);
    background: var(--ycb-shop-surface);
    box-shadow: var(--ycb-shop-shadow);
}

body.woocommerce-checkout form.checkout > .col2-set .col-1,
body.woocommerce-checkout form.checkout > .col2-set .col-2 {
    float: none;
    width: auto;
}

body.woocommerce-checkout form.checkout > h3,
body.woocommerce-checkout form.checkout > #order_review_heading {
    grid-column: 2;
    margin: 0;
    color: var(--ycb-shop-text);
    font-family: var(--ycb-font);
    font-weight: 500;
    text-transform: uppercase;
}

body.woocommerce-checkout form.checkout > #order_review {
    grid-column: 2;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid var(--ycb-shop-border);
    color: var(--ycb-shop-text);
    background: var(--ycb-shop-surface);
    box-shadow: var(--ycb-shop-shadow);
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
    border-collapse: collapse;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 0.8rem;
    border-color: var(--ycb-shop-border);
    color: var(--ycb-shop-text);
}

body.woocommerce-checkout #payment {
    border-radius: 0;
    color: var(--ycb-shop-text);
    background: var(--ycb-shop-surface-muted);
}

body.woocommerce-checkout #payment ul.payment_methods {
    border-bottom-color: var(--ycb-shop-border);
}

body.woocommerce-checkout #payment div.payment_box {
    color: var(--ycb-shop-text);
    background: var(--ycb-shop-surface);
}

body.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: var(--ycb-shop-surface);
}

body.woocommerce-checkout #place_order {
    width: 100%;
}

/* Cart and Checkout blocks. */

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wc-block-checkout {
    color: var(--ycb-shop-text);
}

body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout {
    gap: clamp(1rem, 3vw, 2rem);
}

body.woocommerce-cart .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid var(--ycb-shop-border);
    color: var(--ycb-shop-text);
    background: var(--ycb-shop-surface);
    box-shadow: var(--ycb-shop-shadow);
}

body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-checkout__payment-method {
    border-color: var(--ycb-shop-border);
}

body.woocommerce-cart .wc-block-cart-item__product,
body.woocommerce-cart .wc-block-cart-item__total,
body.woocommerce-checkout .wc-block-components-order-summary-item,
body.woocommerce-checkout .wc-block-components-totals-item {
    color: var(--ycb-shop-text);
}

body.woocommerce-cart .wc-block-cart-item__image img,
body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
    border: 1px solid var(--ycb-shop-border);
}

body.woocommerce-cart .wc-block-components-quantity-selector {
    border: 1px solid var(--ycb-shop-border-strong);
    border-radius: 0;
    background: var(--ycb-shop-surface);
}

body.woocommerce-cart .wc-block-cart-item__remove-link {
    color: #934b4b;
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    width: 100%;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-cart .wc-block-components-title {
    color: var(--ycb-shop-text);
    font-family: var(--ycb-font);
}

/* Empty states. */

body.woocommerce-page:not(.woocommerce-account) .wc-block-cart__empty-cart__title,
body.woocommerce-page:not(.woocommerce-account) .cart-empty,
body.woocommerce-page:not(.woocommerce-account) .woocommerce-info.cart-empty {
    color: var(--ycb-shop-text);
}

/* Keyboard focus. */

body.woocommerce-page:not(.woocommerce-account) a:focus-visible,
body.woocommerce-page:not(.woocommerce-account) button:focus-visible,
body.woocommerce-page:not(.woocommerce-account) input:focus-visible,
body.woocommerce-page:not(.woocommerce-account) select:focus-visible,
body.woocommerce-page:not(.woocommerce-account) textarea:focus-visible {
    outline: 2px solid var(--ycb-olive);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.woocommerce-checkout form.checkout {
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-checkout form.checkout > h3,
    body.woocommerce-checkout form.checkout > #order_review_heading,
    body.woocommerce-checkout form.checkout > #order_review {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    body.woocommerce-page:not(.woocommerce-account) .site-content {
        padding: 1rem;
    }

    body.woocommerce-page:not(.woocommerce-account) .entry-title,
    body.woocommerce-shop .woocommerce-products-header__title,
    body.tax-product_cat .woocommerce-products-header__title,
    body.tax-product_tag .woocommerce-products-header__title {
        font-size: clamp(1.8rem, 10vw, 3rem);
    }

    body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products li.product {
        padding: 0.85rem;
        transform: none;
    }

    body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products li.product:hover {
        transform: none;
    }

    body.single-product .woocommerce div.product {
        padding: 1rem;
    }

    body.single-product .woocommerce div.product div.images,
    body.single-product .woocommerce div.product div.summary {
        float: none;
        width: 100%;
    }

    body.single-product .woocommerce div.product div.summary {
        margin-bottom: 1rem;
    }

    body.woocommerce-cart .woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals .cart_totals,
    body.woocommerce-cart .cart-collaterals .cross-sells,
    body.woocommerce-checkout form.checkout > .col2-set,
    body.woocommerce-checkout form.checkout > #order_review,
    body.woocommerce-cart .wc-block-components-main,
    body.woocommerce-checkout .wc-block-components-main,
    body.woocommerce-cart .wc-block-components-sidebar,
    body.woocommerce-checkout .wc-block-components-sidebar {
        padding: 1rem;
    }

    body.woocommerce-cart .cart-collaterals {
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-cart .cart-collaterals .cart_totals {
        grid-column: 1;
    }

    body.woocommerce-cart .woocommerce table.shop_table_responsive thead {
        display: none;
    }

    body.woocommerce-cart .woocommerce table.shop_table_responsive,
    body.woocommerce-cart .woocommerce table.shop_table_responsive tbody,
    body.woocommerce-cart .woocommerce table.shop_table_responsive tr,
    body.woocommerce-cart .woocommerce table.shop_table_responsive td {
        display: block;
        width: 100%;
    }

    body.woocommerce-cart .woocommerce table.shop_table_responsive tr {
        margin-bottom: 1rem;
        border: 1px solid var(--ycb-shop-border);
    }

    body.woocommerce-cart .woocommerce table.shop_table_responsive td {
        display: grid;
        grid-template-columns: minmax(7rem, 40%) minmax(0, 1fr);
        gap: 0.75rem;
        align-items: center;
        border-width: 0 0 1px;
        text-align: right;
    }

    body.woocommerce-cart .woocommerce table.shop_table_responsive td::before {
        color: var(--ycb-shop-text-muted);
        font-weight: 700;
        text-align: left;
    }

    body.woocommerce-cart .woocommerce table.cart td.actions .coupon {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-cart .woocommerce table.cart td.actions .coupon .input-text,
    body.woocommerce-cart .woocommerce table.cart td.actions .button,
    body.woocommerce-cart .woocommerce table.cart td.actions > .button {
        width: 100%;
    }

    body.woocommerce-cart .wc-block-components-sidebar-layout,
    body.woocommerce-checkout .wc-block-components-sidebar-layout {
        display: block;
    }

    body.woocommerce-cart .wc-block-components-main,
    body.woocommerce-checkout .wc-block-components-main,
    body.woocommerce-cart .wc-block-components-sidebar,
    body.woocommerce-checkout .wc-block-components-sidebar {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    body.woocommerce-page:not(.woocommerce-account) .site-content {
        padding: 0.75rem;
    }

    body.woocommerce-page:not(.woocommerce-account) .woocommerce ul.products {
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-page:not(.woocommerce-account) .woocommerce-result-count,
    body.woocommerce-page:not(.woocommerce-account) .woocommerce-ordering {
        float: none;
        width: 100%;
    }

    body.woocommerce-page:not(.woocommerce-account) .woocommerce-ordering select {
        width: 100%;
    }

    body.woocommerce-cart .woocommerce table.shop_table_responsive td {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }

    body.single-product .woocommerce div.product form.cart .button,
    body.woocommerce-page:not(.woocommerce-account) .woocommerce .button,
    body.woocommerce-page:not(.woocommerce-account) .wc-block-components-button {
        width: 100%;
    }
}

/*
 * Elementor and embedded WooCommerce product catalog refinements.
 *
 * These selectors deliberately do not require a .woocommerce wrapper because
 * Elementor product widgets often render the loop without one. The important
 * declarations are limited to colors Elementor commonly writes inline.
 */

body.woocommerce-page:not(.woocommerce-account) ul.products {
    align-items: stretch;
}

body.woocommerce-page:not(.woocommerce-account) ul.products li.product {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(60, 60, 59, 0.14);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 32px rgba(60, 60, 59, 0.07);
}

body.woocommerce-page:not(.woocommerce-account) ul.products li.product > a:first-child {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    color: var(--ycb-shop-text);
    text-decoration: none;
}

body.woocommerce-page:not(.woocommerce-account) ul.products li.product img {
    aspect-ratio: 4 / 3;
    margin: 0 0 1.15rem;
    border: 0;
    border-bottom: 1px solid rgba(60, 60, 59, 0.12);
    object-fit: cover;
    object-position: center;
    transition: transform 220ms ease;
}

body.woocommerce-page:not(.woocommerce-account) ul.products li.product:hover img {
    transform: scale(1.018);
}

body.woocommerce-page:not(.woocommerce-account) ul.products li.product h2,
body.woocommerce-page:not(.woocommerce-account) ul.products li.product h3,
body.woocommerce-page:not(.woocommerce-account) ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page:not(.woocommerce-account) ul.products li.product .woocommerce-loop-category__title {
    margin: 0 1.1rem 0.65rem;
    color: var(--ycb-shop-text) !important;
    font-family: var(--ycb-font);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.woocommerce-page:not(.woocommerce-account) ul.products li.product .price {
    display: block;
    margin: 0 1.1rem 1.25rem;
    color: var(--ycb-olive) !important;
    font-family: var(--ycb-font);
    font-size: 1rem;
    font-weight: 600;
}

body.woocommerce-page:not(.woocommerce-account) ul.products li.product .button,
body.woocommerce-page:not(.woocommerce-account) ul.products li.product a.added_to_cart {
    width: calc(100% - 2.2rem);
    min-height: 3rem;
    margin: auto 1.1rem 1.1rem;
    padding: 0.78rem 1rem;
    border: 1px solid var(--ycb-salbei) !important;
    border-radius: 0 !important;
    color: var(--ycb-shop-text) !important;
    background: var(--ycb-salbei) !important;
    box-shadow: none !important;
    font-family: var(--ycb-font);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

body.woocommerce-page:not(.woocommerce-account) ul.products li.product .button:hover,
body.woocommerce-page:not(.woocommerce-account) ul.products li.product .button:focus,
body.woocommerce-page:not(.woocommerce-account) ul.products li.product a.added_to_cart:hover,
body.woocommerce-page:not(.woocommerce-account) ul.products li.product a.added_to_cart:focus {
    border-color: var(--ycb-graphit-dark) !important;
    color: var(--ycb-leinen) !important;
    background: var(--ycb-graphit-dark) !important;
}

body.single-product .summary .price,
body.single-product .elementor-widget-woocommerce-product-price .price,
body.single-product .woocommerce div.product .summary .price {
    display: block;
    margin: 0.5rem 0 1.6rem;
    color: var(--ycb-olive) !important;
    font-family: var(--ycb-font);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 600;
}

body.single-product .woocommerce div.product form.cart .quantity {
    margin: 0;
}

/*
 * Elementor single-product widgets do not always retain WooCommerce's outer
 * .woocommerce wrapper, so the direct body selectors below are intentional.
 */

body.single-product form.cart {
    display: flex;
    width: min(100%, 34rem);
    margin: 1.6rem 0 1.8rem !important;
    padding: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
    border: 1px solid var(--ycb-shop-border);
    border-left: 4px solid var(--ycb-salbei);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 28px rgba(60, 60, 59, 0.06);
}

body.single-product form.cart .quantity {
    float: none !important;
    margin: 0 !important;
}

body.single-product form.cart .quantity .qty,
body.single-product .woocommerce div.product form.cart .quantity .qty {
    width: 4.75rem;
    min-height: 3.2rem;
    border: 1px solid var(--ycb-shop-border-strong) !important;
    border-radius: 0 !important;
    color: var(--ycb-shop-text) !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: none !important;
    font-family: var(--ycb-font);
    text-align: center;
}

body.single-product form.cart .single_add_to_cart_button,
body.single-product form.cart button.button,
body.single-product form.cart button.button.alt,
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
body.single-product .woocommerce div.product form.cart button.button.alt {
    min-height: 3.2rem;
    padding-inline: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid var(--ycb-salbei) !important;
    border-radius: 0 !important;
    color: var(--ycb-shop-text) !important;
    background: var(--ycb-salbei) !important;
    box-shadow: none !important;
    font-family: var(--ycb-font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

body.single-product form.cart .single_add_to_cart_button:hover,
body.single-product form.cart .single_add_to_cart_button:focus,
body.single-product form.cart button.button:hover,
body.single-product form.cart button.button:focus,
body.single-product form.cart button.button.alt:hover,
body.single-product form.cart button.button.alt:focus,
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button:hover,
body.single-product .woocommerce div.product form.cart .single_add_to_cart_button:focus,
body.single-product .woocommerce div.product form.cart button.button.alt:hover,
body.single-product .woocommerce div.product form.cart button.button.alt:focus {
    border-color: var(--ycb-graphit-dark) !important;
    color: var(--ycb-leinen) !important;
    background: var(--ycb-graphit-dark) !important;
}

body.single-product .product_meta,
body.single-product .woocommerce div.product .product_meta {
    margin-top: 1.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ycb-shop-border);
    color: var(--ycb-shop-text-muted);
    font-family: var(--ycb-font);
    font-size: 0.9rem;
}

body.single-product .product_meta a,
body.single-product .product_meta a:visited,
body.single-product .woocommerce div.product .product_meta a,
body.single-product .woocommerce div.product .product_meta a:visited {
    color: var(--ycb-olive) !important;
    font-weight: 600;
    text-decoration-color: rgba(79, 109, 70, 0.45);
    text-underline-offset: 0.2em;
}

@media (max-width: 480px) {
    body.woocommerce-page:not(.woocommerce-account) ul.products li.product .button,
    body.woocommerce-page:not(.woocommerce-account) ul.products li.product a.added_to_cart {
        width: calc(100% - 2.2rem);
    }

    body.single-product form.cart .single_add_to_cart_button,
    body.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
        width: 100%;
    }

    body.single-product form.cart {
        width: 100%;
        padding: 0.85rem;
    }

    body.single-product form.cart .quantity,
    body.single-product form.cart .quantity .qty,
    body.single-product .woocommerce div.product form.cart .quantity,
    body.single-product .woocommerce div.product form.cart .quantity .qty {
        width: 100%;
    }
}

/*
 * Booking readiness and yoga registration flow.
 *
 * These components previously retained the original graphite card treatment.
 * They now share the light linen/white surfaces used by the calendar and
 * "Meine MATTE" account, with graphite copy and olive accents.
 */

.ycb-booking-controls {
    width: 100%;
    max-width: 58rem;
    margin: clamp(1.5rem, 3vw, 2.5rem) 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(60, 60, 59, 0.18);
    color: var(--ycb-graphit-dark);
    background:
        radial-gradient(circle at 100% 0%, rgba(153, 171, 129, 0.16), transparent 24rem),
        var(--ycb-weiss);
    box-shadow: 0 16px 44px rgba(60, 60, 59, 0.11);
}

.ycb-booking-controls p,
.ycb-booking-controls > p:first-child,
.ycb-booking-controls .ycb-availability {
    color: var(--ycb-graphit-dark);
}

.ycb-availability,
.ycb-booking-controls .ycb-availability {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
    margin: 0 0 1rem;
    color: var(--ycb-graphit-dark);
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
    line-height: 1.4;
}

.ycb-availability strong,
.ycb-booking-controls .ycb-availability strong,
.ycb-booking-controls > p:first-child strong {
    color: var(--ycb-olive);
    font-size: 1.08em;
    font-weight: 700;
}

.ycb-inline-notice,
.ycb-booking-controls .ycb-inline-notice {
    width: 100%;
    max-width: none;
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(79, 109, 70, 0.32);
    border-left: 4px solid var(--ycb-olive);
    color: var(--ycb-graphit-dark);
    background: rgba(153, 171, 129, 0.2);
    box-shadow: none;
    font-family: var(--ycb-font);
    line-height: 1.5;
}

.ycb-inline-notice strong,
.ycb-booking-controls .ycb-inline-notice strong {
    color: var(--ycb-graphit-dark);
}

.ycb-inline-notice a,
.ycb-inline-notice a:visited,
.ycb-booking-controls .ycb-inline-notice a,
.ycb-booking-controls .ycb-inline-notice a:visited {
    color: var(--ycb-olive);
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.ycb-inline-notice a:hover,
.ycb-inline-notice a:focus,
.ycb-booking-controls .ycb-inline-notice a:hover,
.ycb-booking-controls .ycb-inline-notice a:focus {
    color: var(--ycb-graphit-dark);
}

.ycb-inline-notice--error {
    border-color: rgba(182, 95, 95, 0.36);
    border-left-color: #b65f5f;
    background: rgba(182, 95, 95, 0.13);
}

.ycb-inline-notice--muted {
    border-color: rgba(146, 146, 146, 0.32);
    border-left-color: var(--ycb-naturstein);
    background: rgba(146, 146, 146, 0.12);
}

.ycb-booking-controls .ycb-action-message {
    border-color: rgba(60, 60, 59, 0.18);
    color: var(--ycb-graphit-dark);
    background: var(--ycb-leinen);
}

/* Registration page shell. */

body.ycb-registration-page {
    color: var(--ycb-graphit-dark);
    background-color: var(--ycb-leinen);
}

body.ycb-registration-page #page,
body.ycb-registration-page .site,
body.ycb-registration-page .site-content,
body.ycb-registration-page #primary,
body.ycb-registration-page .content-area,
body.ycb-registration-page #main,
body.ycb-registration-page .site-main,
body.ycb-registration-page article.page,
body.ycb-registration-page .inside-article {
    color: var(--ycb-graphit-dark);
    background-color: var(--ycb-leinen);
    background-image: none;
}

body.ycb-registration-page .site-content {
    width: min(100%, 80rem);
    margin-inline: auto;
    padding: clamp(1rem, 3vw, 3rem);
}

body.ycb-registration-page .inside-article {
    padding: 0;
}

body.ycb-registration-page .entry-header {
    margin: 0;
    padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 4vw, 3rem) 0;
    border: 1px solid rgba(60, 60, 59, 0.16);
    border-bottom: 0;
    background: var(--ycb-weiss);
}

body.ycb-registration-page .entry-title {
    margin: 0;
    color: var(--ycb-graphit-dark);
    font-family: var(--ycb-font);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

body.ycb-registration-page .entry-title::after {
    display: block;
    width: clamp(4rem, 10vw, 8rem);
    height: 0.25rem;
    margin-top: 0.85rem;
    background: var(--ycb-salbei);
    content: "";
}

body.ycb-registration-page .entry-content {
    margin: 0;
    padding: clamp(1.25rem, 4vw, 3rem);
    border: 1px solid rgba(60, 60, 59, 0.16);
    border-top: 0;
    color: var(--ycb-graphit-dark);
    background: var(--ycb-weiss);
    box-shadow: 0 20px 55px rgba(60, 60, 59, 0.11);
}

/* Registration form. */

.ycb-registration-form {
    width: 100%;
    max-width: 62rem;
    margin: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(60, 60, 59, 0.18);
    color: var(--ycb-graphit-dark);
    background:
        radial-gradient(circle at 100% 0%, rgba(153, 171, 129, 0.18), transparent 26rem),
        var(--ycb-leinen);
    box-shadow: 0 12px 34px rgba(60, 60, 59, 0.08);
}

.ycb-registration-form form {
    margin: 0;
}

.ycb-registration-form p,
.ycb-registration-form strong {
    color: var(--ycb-graphit-dark);
}

.ycb-registration-fields {
    gap: 1.25rem 1.4rem;
}

.ycb-registration-field {
    min-width: 0;
}

.ycb-registration-form label {
    margin-bottom: 0.45rem;
    color: var(--ycb-graphit-dark);
}

.ycb-registration-form input[type="text"],
.ycb-registration-form input[type="email"],
.ycb-registration-form input[type="date"],
.ycb-registration-form select,
.ycb-registration-form textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(60, 60, 59, 0.34);
    border-radius: 0;
    color: var(--ycb-graphit-dark);
    background: var(--ycb-weiss);
    box-shadow: none;
    caret-color: var(--ycb-olive);
    font-family: var(--ycb-font);
    font-size: 1rem;
    line-height: 1.4;
}

.ycb-registration-form textarea {
    min-height: 7.5rem;
    resize: vertical;
}

.ycb-registration-form input::placeholder,
.ycb-registration-form textarea::placeholder {
    color: #686761;
    opacity: 1;
}

.ycb-registration-form select {
    appearance: none;
    cursor: pointer;
}

.ycb-registration-form .ycb-select-control {
    position: relative;
    display: block;
    width: 100%;
}

.ycb-registration-form .ycb-select-control::after {
    position: absolute;
    top: 50%;
    right: 1.1rem;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--ycb-olive);
    border-bottom: 2px solid var(--ycb-olive);
    content: "";
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

.ycb-registration-form .ycb-select-control select {
    min-height: 3.25rem;
    padding-right: 3.2rem;
    background:
        linear-gradient(to left, rgba(153, 171, 129, 0.16) 0, rgba(153, 171, 129, 0.16) 3rem, transparent 3rem),
        var(--ycb-weiss);
}

.ycb-registration-form .ycb-select-control option {
    padding: 0.65rem 0.8rem;
    color: var(--ycb-graphit-dark);
    background: var(--ycb-weiss);
}

.ycb-registration-form input:focus,
.ycb-registration-form select:focus,
.ycb-registration-form textarea:focus {
    outline: 2px solid transparent;
    border-color: var(--ycb-olive);
    box-shadow: 0 0 0 2px rgba(79, 109, 70, 0.2);
}

.ycb-registration-form input:user-invalid,
.ycb-registration-form select:user-invalid,
.ycb-registration-form textarea:user-invalid {
    border-color: #b65f5f;
    box-shadow: 0 0 0 1px rgba(182, 95, 95, 0.2);
}

.ycb-registration-form .description {
    display: block;
    margin-top: 0.45rem;
    color: #5f5e59;
    font-size: 0.88rem;
    line-height: 1.5;
}

.ycb-registration-form .ycb-checkbox-option > label,
.ycb-registration-form fieldset label {
    color: var(--ycb-graphit-dark);
}

.ycb-registration-form input[type="checkbox"] {
    display: grid;
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0.05rem 0.65rem 0 0;
    padding: 0;
    place-content: center;
    appearance: none;
    border: 1px solid rgba(60, 60, 59, 0.45);
    border-radius: 0;
    background: var(--ycb-weiss);
    box-shadow: none;
    cursor: pointer;
}

.ycb-registration-form input[type="checkbox"]::before {
    width: 0.62rem;
    height: 0.34rem;
    border-bottom: 2px solid var(--ycb-weiss);
    border-left: 2px solid var(--ycb-weiss);
    content: "";
    transform: translateY(-0.05rem) rotate(-45deg) scale(0);
    transform-origin: center;
    transition: transform 120ms ease;
}

.ycb-registration-form input[type="checkbox"]:checked {
    border-color: var(--ycb-olive);
    background: var(--ycb-olive);
}

.ycb-registration-form input[type="checkbox"]:checked::before {
    transform: translateY(-0.05rem) rotate(-45deg) scale(1);
}

.ycb-registration-form .ycb-checkbox-option {
    margin: 0;
}

.ycb-registration-form .ycb-checkbox-option > label {
    width: 100%;
    min-height: 3.2rem;
    margin: 0;
    padding: 0.85rem 1rem;
    align-items: flex-start;
    border: 1px solid rgba(60, 60, 59, 0.18);
    color: var(--ycb-graphit-dark);
    background: rgba(255, 255, 255, 0.68);
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.ycb-registration-form .ycb-checkbox-option > label:hover {
    border-color: rgba(79, 109, 70, 0.5);
    background: rgba(153, 171, 129, 0.12);
}

.ycb-registration-form .ycb-checkbox-option > label:has(input:checked) {
    border-color: var(--ycb-salbei);
    background: rgba(153, 171, 129, 0.2);
}

.ycb-registration-form .ycb-checkbox-option--required > label {
    border-left: 3px solid var(--ycb-salbei);
}

.ycb-registration-form .ycb-registration-choice-heading {
    margin: 1.1rem 0 0.65rem;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.ycb-registration-form fieldset {
    margin: 0;
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(60, 60, 59, 0.22);
    color: var(--ycb-graphit-dark);
    background: rgba(255, 255, 255, 0.68);
}

.ycb-registration-form legend {
    padding: 0 0.5rem;
    color: var(--ycb-olive);
}

.ycb-registration-newsletter > p {
    margin-bottom: 0.85rem;
    color: var(--ycb-graphit-dark);
}

.ycb-registration-form button[type="submit"],
.ycb-registration-form .button {
    min-height: 3rem;
    border-color: var(--ycb-salbei);
    color: var(--ycb-graphit-dark);
    background: var(--ycb-salbei);
}

.ycb-registration-form button[type="submit"]:hover,
.ycb-registration-form button[type="submit"]:focus,
.ycb-registration-form .button:hover,
.ycb-registration-form .button:focus {
    border-color: var(--ycb-salbei-hell);
    color: var(--ycb-graphit-dark);
    background: var(--ycb-salbei-hell);
}

.ycb-registration-form .ycb-message-error,
.ycb-registration-form .ycb-message-success {
    margin: 0 0 1.25rem;
    color: var(--ycb-graphit-dark);
    background: rgba(153, 171, 129, 0.2);
}

.ycb-registration-form .ycb-message-error {
    border-left-color: #b65f5f;
    background: rgba(182, 95, 95, 0.13);
}

.ycb-registration-form a,
.ycb-registration-form a:visited {
    color: var(--ycb-olive);
}

.ycb-registration-form a:hover,
.ycb-registration-form a:focus {
    color: var(--ycb-graphit-dark);
}

.ycb-booking-controls a:focus-visible,
.ycb-booking-controls button:focus-visible,
.ycb-registration-form a:focus-visible,
.ycb-registration-form button:focus-visible,
.ycb-registration-form input:focus-visible,
.ycb-registration-form select:focus-visible,
.ycb-registration-form textarea:focus-visible {
    outline: 2px solid var(--ycb-olive);
    outline-offset: 3px;
}

.ycb-registration-form .ycb-select-control select:focus-visible {
    outline-offset: 2px;
    box-shadow: none;
}

.ycb-registration-form input[type="checkbox"]:focus-visible {
    outline-offset: 3px;
    box-shadow: none;
}

@media (max-width: 768px) {
    .ycb-booking-controls,
    .ycb-registration-form {
        margin: 1rem 0;
        padding: 1rem;
    }

    .ycb-registration-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .ycb-registration-form .ycb-checkbox-option > label {
        min-height: 3.35rem;
        padding: 0.9rem;
    }

    .ycb-registration-field--full,
    .ycb-registration-form fieldset,
    .ycb-registration-form .description {
        grid-column: auto;
    }

    .ycb-registration-form button[type="submit"],
    .ycb-registration-form .button {
        width: 100%;
    }

    body.ycb-registration-page .site-content {
        padding: 1rem;
    }

    body.ycb-registration-page .entry-header {
        padding: 1.25rem 1rem 0;
    }

    body.ycb-registration-page .entry-title {
        font-size: clamp(1.8rem, 9vw, 3rem);
    }

    body.ycb-registration-page .entry-content {
        padding: 1rem;
    }
}

@media (max-width: 420px) {
    .ycb-booking-controls,
    .ycb-registration-form {
        padding: 0.85rem;
    }

    .ycb-inline-notice,
    .ycb-booking-controls .ycb-inline-notice {
        padding: 0.85rem;
    }

    .ycb-registration-form fieldset {
        padding: 0.85rem;
    }

    body.ycb-registration-page .site-content {
        padding: 0.75rem;
    }
}

/*
 * Event booking experience.
 *
 * Keep these measurements independent of the theme's root font size. Some
 * Elementor configurations enlarge 1rem considerably, which previously made
 * the booking card span almost the entire desktop viewport.
 */

.ycb-booking-controls {
    display: grid;
    width: min(100%, 920px);
    max-width: 920px;
    margin: 32px 0;
    padding: clamp(20px, 3vw, 32px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 24px;
    align-items: center;
    border: 1px solid rgba(60, 60, 59, 0.16);
    color: var(--ycb-graphit-dark);
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.96), rgba(245, 241, 233, 0.86)),
        var(--ycb-weiss);
    box-shadow: 0 16px 42px rgba(60, 60, 59, 0.09);
    font-family: var(--ycb-font);
    font-size: 16px;
}

.ycb-booking-controls .ycb-availability,
.ycb-booking-controls > p:first-child {
    display: flex;
    min-width: 0;
    min-height: 56px;
    margin: 0;
    padding: 13px 16px;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    border-left: 3px solid var(--ycb-salbei);
    color: var(--ycb-graphit-dark);
    background: rgba(153, 171, 129, 0.12);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
}

.ycb-booking-controls .ycb-availability strong,
.ycb-booking-controls > p:first-child strong {
    color: var(--ycb-olive);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.ycb-booking-controls > .ycb-action-button {
    min-width: 168px;
    min-height: 56px;
    margin: 0;
    padding: 13px 22px;
    border: 1px solid var(--ycb-salbei);
    color: var(--ycb-graphit-dark);
    background: var(--ycb-salbei);
    box-shadow: none;
    font-size: 13px;
    letter-spacing: 0.075em;
    line-height: 1.25;
}

.ycb-booking-controls > .ycb-action-button:hover,
.ycb-booking-controls > .ycb-action-button:focus {
    border-color: var(--ycb-graphit-dark);
    color: var(--ycb-leinen);
    background: var(--ycb-graphit-dark);
}

.ycb-booking-controls > .cancel-yoga-class {
    border-color: rgba(60, 60, 59, 0.48);
    color: var(--ycb-graphit-dark);
    background: transparent;
}

.ycb-booking-controls > .cancel-yoga-class:hover,
.ycb-booking-controls > .cancel-yoga-class:focus {
    border-color: var(--ycb-graphit-dark);
    color: var(--ycb-leinen);
    background: var(--ycb-graphit-dark);
}

.ycb-booking-controls > .ycb-action-button.is-loading {
    border-color: var(--ycb-salbei);
    color: var(--ycb-graphit-dark);
    background: var(--ycb-salbei);
}

.ycb-booking-controls > .ycb-action-button.is-success {
    border-color: var(--ycb-olive);
    color: var(--ycb-weiss);
    background: var(--ycb-olive);
}

.ycb-booking-controls > .ycb-action-button.is-success::before {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    animation: none;
    content: "✓";
    font-size: 17px;
    line-height: 1;
}

.ycb-booking-controls > .ycb-inline-notice,
.ycb-booking-controls > .ycb-cancel-confirmation,
.ycb-booking-controls > .ycb-action-message {
    grid-column: 1 / -1;
}

.ycb-booking-controls > .ycb-inline-notice {
    margin: 0;
    padding: 15px 17px;
    border: 1px solid rgba(79, 109, 70, 0.28);
    border-left: 4px solid var(--ycb-olive);
    color: var(--ycb-graphit-dark);
    background: rgba(153, 171, 129, 0.14);
    font-size: 15px;
    line-height: 1.55;
}

.ycb-booking-controls > .ycb-inline-notice--muted {
    border-color: rgba(95, 94, 89, 0.2);
    border-left-color: var(--ycb-naturstein);
    background: rgba(146, 146, 146, 0.09);
}

.ycb-booking-controls > .ycb-inline-notice--error {
    border-color: rgba(182, 95, 95, 0.28);
    border-left-color: #b65f5f;
    background: rgba(182, 95, 95, 0.1);
}

.ycb-booking-controls > .ycb-action-message {
    position: relative;
    margin: 0;
    padding: 16px 18px 16px 52px;
    border: 1px solid rgba(60, 60, 59, 0.14);
    border-left: 4px solid var(--ycb-naturstein);
    color: var(--ycb-graphit-dark);
    background: var(--ycb-leinen);
    font-size: 15px;
    line-height: 1.55;
}

.ycb-booking-controls > .ycb-action-message::before {
    position: absolute;
    top: 50%;
    left: 17px;
    display: grid;
    width: 22px;
    height: 22px;
    place-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "i";
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
}

.ycb-booking-controls > .ycb-action-message.is-success {
    border-color: rgba(79, 109, 70, 0.24);
    border-left-color: var(--ycb-olive);
    color: var(--ycb-graphit-dark);
    background: rgba(153, 171, 129, 0.16);
}

.ycb-booking-controls > .ycb-action-message.is-success::before {
    color: var(--ycb-olive);
    content: "✓";
}

.ycb-booking-controls > .ycb-action-message.is-error {
    border-color: rgba(182, 95, 95, 0.28);
    border-left-color: #b65f5f;
    color: var(--ycb-graphit-dark);
    background: rgba(182, 95, 95, 0.1);
}

.ycb-booking-controls > .ycb-action-message.is-error::before {
    color: #934848;
    content: "!";
}

.ycb-booking-controls > .ycb-action-message .ycb-login-link {
    margin-left: 8px;
    color: var(--ycb-olive);
}

.ycb-booking-controls > .ycb-cancel-confirmation {
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(182, 95, 95, 0.25);
    border-left: 4px solid #b65f5f;
    color: var(--ycb-graphit-dark);
    background: rgba(182, 95, 95, 0.08);
}

.ycb-booking-controls > .ycb-cancel-confirmation h4 {
    margin: 0 0 7px;
    color: var(--ycb-graphit-dark);
    font-size: 15px;
}

.ycb-booking-controls > .ycb-cancel-confirmation p {
    margin: 0;
    color: #5f5e59;
    font-size: 14px;
    line-height: 1.55;
}

.ycb-booking-controls > .ycb-cancel-confirmation .ycb-cancel-confirmation__actions {
    gap: 10px;
    margin-top: 15px;
}

.ycb-booking-controls > .ycb-cancel-confirmation .ycb-cancel-confirmation__keep,
.ycb-booking-controls > .ycb-cancel-confirmation .ycb-cancel-confirmation__confirm {
    min-height: 44px;
    padding: 10px 15px;
    font-size: 12px;
}

.ycb-booking-controls > .ycb-cancel-confirmation .ycb-cancel-confirmation__keep {
    border-color: var(--ycb-salbei);
    color: var(--ycb-graphit-dark);
    background: var(--ycb-salbei);
}

.ycb-booking-controls > .ycb-cancel-confirmation .ycb-cancel-confirmation__confirm {
    border-color: #934848;
    color: #934848;
    background: transparent;
}

.ycb-booking-controls > .ycb-cancel-confirmation .ycb-cancel-confirmation__confirm:hover,
.ycb-booking-controls > .ycb-cancel-confirmation .ycb-cancel-confirmation__confirm:focus {
    border-color: #934848;
    color: var(--ycb-weiss);
    background: #934848;
}

@media (max-width: 680px) {
    .ycb-booking-controls {
        width: 100%;
        margin: 24px 0;
        padding: 16px;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        box-shadow: 0 10px 28px rgba(60, 60, 59, 0.08);
    }

    .ycb-booking-controls .ycb-availability,
    .ycb-booking-controls > p:first-child {
        min-height: 52px;
        padding: 12px 14px;
        font-size: 15px;
    }

    .ycb-booking-controls .ycb-availability strong,
    .ycb-booking-controls > p:first-child strong {
        margin-left: auto;
        font-size: 20px;
    }

    .ycb-booking-controls > .ycb-action-button {
        width: 100%;
        min-width: 0;
        min-height: 52px;
    }

    .ycb-booking-controls > .ycb-action-message {
        padding: 14px 14px 14px 46px;
        font-size: 14px;
    }

    .ycb-booking-controls > .ycb-action-message::before {
        left: 14px;
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .ycb-booking-controls > .ycb-inline-notice,
    .ycb-booking-controls > .ycb-cancel-confirmation {
        padding: 14px;
        font-size: 14px;
    }
}

/* Automatically populated Events Calendar organiser team page. */

.ycb-team,
.ycb-team * {
    box-sizing: border-box;
}

.ycb-team {
    width: 100%;
    margin: clamp(1.5rem, 4vw, 3.5rem) 0;
    color: var(--ycb-graphit-dark);
    font-family: var(--ycb-font);
}

.ycb-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

.ycb-team-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(60, 60, 59, 0.16);
    border-radius: 2px;
    color: var(--ycb-graphit-dark);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(28, 28, 28, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.ycb-team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(28, 28, 28, 0.14);
}

.ycb-team-card__portrait {
    display: grid;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    place-items: center;
    color: var(--ycb-weiss);
    background: linear-gradient(145deg, var(--ycb-salbei), var(--ycb-olive));
    text-decoration: none;
}

.ycb-team-card__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.ycb-team-card:hover .ycb-team-card__photo {
    transform: scale(1.025);
}

.ycb-team-card__initials {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
}

.ycb-team-card__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: clamp(1.25rem, 3vw, 1.75rem);
}

.ycb-team-card h3,
.ycb-team-card h4,
.ycb-team-card p,
.ycb-team-card ul {
    margin-top: 0;
}

.ycb-team-card h3 {
    margin-bottom: 0.75rem;
    color: var(--ycb-graphit-dark);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    line-height: 1.2;
}

.ycb-team-card h3 a,
.ycb-team-card h3 a:visited {
    color: inherit;
    text-decoration: none;
}

.ycb-team-card h3 a:hover,
.ycb-team-card h3 a:focus {
    color: var(--ycb-olive);
}

.ycb-team-card__description {
    margin-bottom: 1rem;
    color: var(--ycb-graphit);
    line-height: 1.65;
}

.ycb-team-card__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1.25rem;
}

.ycb-team-card__contact a,
.ycb-team-card__contact a:visited {
    color: var(--ycb-olive);
    font-size: 0.85rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-underline-offset: 0.2em;
}

.ycb-team-card__events {
    margin: 0.25rem 0 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(60, 60, 59, 0.14);
}

.ycb-team-card__events h4 {
    margin-bottom: 0.75rem;
    color: var(--ycb-graphit-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ycb-team-card__events ul {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.ycb-team-card__events li {
    display: grid;
    gap: 0.1rem;
}

.ycb-team-card__events time {
    color: var(--ycb-naturstein);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ycb-team-card__events a,
.ycb-team-card__events a:visited {
    color: var(--ycb-graphit-dark);
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.ycb-team-card__events a:hover,
.ycb-team-card__events a:focus {
    color: var(--ycb-olive);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.ycb-team-card__profile,
.ycb-team-card__profile:visited {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.45rem;
    margin-top: auto;
    color: var(--ycb-olive);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
}

.ycb-team-card__profile:hover,
.ycb-team-card__profile:focus {
    color: var(--ycb-graphit-dark);
}

@media (prefers-reduced-motion: reduce) {
    .ycb-team-card,
    .ycb-team-card__photo {
        transition: none;
    }

    .ycb-team-card:hover,
    .ycb-team-card:hover .ycb-team-card__photo {
        transform: none;
    }
}

/* Teacher byline shown at the top of a single event's description. */

.ycb-teacher-teaser-row,
.ycb-teacher-teaser-row * {
    box-sizing: border-box;
}

.ycb-teacher-teaser-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1.75rem;
}

.ycb-teacher-teaser {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem 0.55rem 0.55rem;
    border: 1px solid rgba(60, 60, 59, 0.18);
    color: var(--ycb-graphit-dark);
    background: rgba(255, 255, 255, 0.82);
    font-family: var(--ycb-font);
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.ycb-teacher-teaser:hover,
.ycb-teacher-teaser:focus {
    border-color: var(--ycb-olive);
    background: var(--ycb-weiss);
}

.ycb-teacher-teaser__portrait {
    display: grid;
    overflow: hidden;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    place-items: center;
    color: var(--ycb-weiss);
    background: linear-gradient(145deg, var(--ycb-salbei), var(--ycb-olive));
}

.ycb-teacher-teaser__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ycb-teacher-teaser__initials {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.ycb-teacher-teaser__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ycb-teacher-teaser__label {
    color: var(--ycb-olive);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ycb-teacher-teaser__name {
    color: var(--ycb-graphit-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.ycb-teacher-teaser:hover .ycb-teacher-teaser__name,
.ycb-teacher-teaser:focus .ycb-teacher-teaser__name {
    color: var(--ycb-olive);
}

/* Individual teacher profile page (single tribe_organizer template). */

body.ycb-teacher-profile-page,
body.ycb-teacher-profile-page #page,
body.ycb-teacher-profile-page .site,
body.ycb-teacher-profile-page .site-content,
body.ycb-teacher-profile-page #primary,
body.ycb-teacher-profile-page .content-area,
body.ycb-teacher-profile-page #main,
body.ycb-teacher-profile-page .site-main {
    color: var(--ycb-graphit-dark) !important;
    background-color: var(--ycb-leinen) !important;
    background-image: none !important;
}

/* Keep profile content below Tisch & Matte's fixed Elementor header. */
body.ycb-teacher-profile-page {
    --ycb-header-offset: 120px;
}

body.ycb-teacher-profile-page #content {
    margin-top: var(--ycb-header-offset) !important;
}

.ycb-teacher-profile,
.ycb-teacher-profile * {
    box-sizing: border-box;
}

.ycb-teacher-profile {
    width: 100%;
    max-width: 64rem;
    margin: clamp(2rem, 5vw, 4rem) auto;
    padding: 0 clamp(1rem, 4vw, 1.5rem);
    color: var(--ycb-graphit-dark);
    background: transparent;
    font-family: var(--ycb-font);
}

.ycb-teacher-profile__hero {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    padding: clamp(1.75rem, 4vw, 3rem);
    border: 1px solid rgba(60, 60, 59, 0.16);
    color: var(--ycb-graphit-dark);
    background:
        radial-gradient(circle at 92% 4%, rgba(153, 171, 129, 0.2), transparent 22rem),
        linear-gradient(145deg, var(--ycb-weiss), var(--ycb-leinen) 78%);
    box-shadow: 0 20px 55px rgba(60, 60, 59, 0.12);
}

.ycb-teacher-profile__hero::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ycb-salbei), var(--ycb-olive) 48%, transparent 88%);
    content: "";
}

.ycb-teacher-profile__portrait {
    width: min(100%, 260px);
    flex: 0 0 auto;
}

.ycb-teacher-profile__photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(60, 60, 59, 0.14);
    object-fit: cover;
    box-shadow: 0 14px 32px rgba(28, 28, 28, 0.12);
}

.ycb-teacher-profile__initials {
    display: grid;
    width: 100%;
    aspect-ratio: 3 / 4;
    place-items: center;
    color: var(--ycb-weiss);
    background: linear-gradient(145deg, var(--ycb-salbei), var(--ycb-olive));
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.ycb-teacher-profile__intro {
    min-width: 0;
    flex: 1 1 260px;
}

.ycb-teacher-profile__eyebrow {
    margin: 0 0 0.5rem;
    color: var(--ycb-olive);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ycb-teacher-profile__name {
    margin: 0 0 1rem;
    color: var(--ycb-graphit-dark);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 400;
    line-height: 1.05;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.ycb-teacher-profile__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.ycb-teacher-profile__contact a,
.ycb-teacher-profile__contact a:visited {
    color: var(--ycb-olive);
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(79, 109, 70, 0.3);
    background: rgba(255, 255, 255, 0.58);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    overflow-wrap: anywhere;
    text-decoration: none;
    text-transform: uppercase;
    text-underline-offset: 0.2em;
}

.ycb-teacher-profile__contact a:hover,
.ycb-teacher-profile__contact a:focus {
    border-color: var(--ycb-graphit-dark);
    color: var(--ycb-graphit-dark);
    background: var(--ycb-weiss);
}

.ycb-teacher-profile__bio {
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid rgba(60, 60, 59, 0.16);
    border-radius: 2px;
    color: var(--ycb-graphit);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(28, 28, 28, 0.09);
    line-height: 1.7;
}

.ycb-teacher-profile__section-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(60, 60, 59, 0.14);
}

.ycb-teacher-profile__section-heading p {
    margin: 0;
    color: var(--ycb-olive);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ycb-teacher-profile__section-heading h2 {
    margin: 0;
    color: var(--ycb-graphit-dark);
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 400;
    letter-spacing: 0.015em;
    line-height: 1.15;
    text-transform: uppercase;
}

.ycb-teacher-profile__answers {
    display: grid;
    gap: 0.85rem;
}

.ycb-teacher-profile__answers > * {
    margin-block: 0;
}

.ycb-teacher-profile__answers > *:first-child {
    margin-top: 0;
}

.ycb-teacher-profile__answers > *:last-child {
    margin-bottom: 0;
}

.ycb-teacher-profile__answers h2,
.ycb-teacher-profile__answers h3,
.ycb-teacher-profile__answers h4,
.ycb-teacher-profile__answers p,
.ycb-teacher-profile__answers li {
    color: var(--ycb-graphit-dark);
}

.ycb-teacher-profile__answers p {
    max-width: 54rem;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.8;
}

.ycb-teacher-profile__answers > p:has(> strong:first-child) {
    max-width: none;
    margin-top: 0.85rem;
    padding: 0.9rem 1rem;
    border-left: 4px solid var(--ycb-salbei);
    color: var(--ycb-graphit-dark);
    background: rgba(153, 171, 129, 0.11);
    line-height: 1.45;
}

.ycb-teacher-profile__answers > p:first-child:has(> strong:first-child) {
    margin-top: 0;
}

.ycb-teacher-profile__answers > p > strong:first-child {
    color: var(--ycb-graphit-dark);
    font-weight: 700;
}

.ycb-teacher-profile__answers a,
.ycb-teacher-profile__answers a:visited {
    color: var(--ycb-olive);
    text-underline-offset: 0.18em;
}

.ycb-teacher-profile__answers a:hover,
.ycb-teacher-profile__answers a:focus {
    color: var(--ycb-graphit-dark);
}

.ycb-teacher-events {
    margin-top: clamp(1.25rem, 3vw, 2rem);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid rgba(60, 60, 59, 0.16);
    border-radius: 2px;
    color: var(--ycb-graphit-dark);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(28, 28, 28, 0.09);
}

.ycb-teacher-events h4 {
    margin: 0 0 1rem;
    color: var(--ycb-graphit-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ycb-teacher-events .ycb-teacher-profile__section-heading {
    margin-bottom: 1.25rem;
}

.ycb-teacher-events ul {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ycb-teacher-events li {
    margin: 0;
}

.ycb-teacher-events li:last-child {
    margin-bottom: 0;
}

.ycb-teacher-event,
.ycb-teacher-event:visited {
    display: grid;
    min-height: 5.5rem;
    grid-template-columns: minmax(8.5rem, 0.8fr) minmax(0, 1.8fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(60, 60, 59, 0.14);
    color: var(--ycb-graphit-dark);
    background: linear-gradient(135deg, var(--ycb-weiss), rgba(245, 241, 233, 0.72));
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ycb-teacher-event:hover,
.ycb-teacher-event:focus {
    border-color: rgba(79, 109, 70, 0.5);
    color: var(--ycb-graphit-dark);
    box-shadow: 0 10px 24px rgba(60, 60, 59, 0.1);
    transform: translateY(-2px);
}

.ycb-teacher-event time,
.ycb-teacher-event__details {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.2rem;
}

.ycb-teacher-event__date {
    color: var(--ycb-olive);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.ycb-teacher-event__time,
.ycb-teacher-event__details > span {
    color: var(--ycb-naturstein);
    font-size: 0.78rem;
}

.ycb-teacher-event__details strong {
    color: var(--ycb-graphit-dark);
    font-size: 1rem;
    line-height: 1.35;
}

.ycb-teacher-event__arrow {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: var(--ycb-olive);
    font-size: 1.15rem;
}

@media (prefers-reduced-motion: reduce) {
    .ycb-teacher-event {
        transition: none;
    }

    .ycb-teacher-event:hover,
    .ycb-teacher-event:focus {
        transform: none;
    }
}

@media (max-width: 768px) {
    body.ycb-teacher-profile-page {
        --ycb-header-offset: 130px;
    }
}

@media (max-width: 640px) {
    .ycb-teacher-profile {
        margin-block: 1.25rem 2rem;
        padding-inline: 0.75rem;
    }

    .ycb-teacher-profile__hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
    }

    .ycb-teacher-profile__portrait {
        width: 100%;
        max-width: 220px;
    }

    .ycb-teacher-profile__bio,
    .ycb-teacher-events {
        padding: 1.25rem;
    }

    .ycb-teacher-profile__section-heading {
        display: block;
    }

    .ycb-teacher-profile__section-heading p {
        margin-bottom: 0.4rem;
    }

    .ycb-teacher-event,
    .ycb-teacher-event:visited {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ycb-teacher-event time {
        grid-column: 1;
    }

    .ycb-teacher-event__details {
        grid-column: 1;
    }

    .ycb-teacher-event__arrow {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

/* Logged-out account welcome: premium introductory panel. */
body.woocommerce-account:not(.logged-in) .ycb-account-welcome {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
    padding: clamp(32px, 4vw, 52px) clamp(28px, 4.5vw, 64px);
    overflow: hidden;
    border: 1px solid rgba(153, 171, 129, 0.34);
    color: var(--ycb-leinen);
    background:
        radial-gradient(circle at 92% 8%, rgba(172, 189, 150, 0.2), transparent 31%),
        linear-gradient(118deg, #3c3c3b 0%, #292b28 58%, #1f211f 100%);
    box-shadow:
        0 22px 50px rgba(28, 28, 28, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.woocommerce-account:not(.logged-in) .ycb-account-welcome::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ycb-salbei), var(--ycb-salbei-hell) 42%, transparent 82%);
    content: "";
}

body.woocommerce-account:not(.logged-in) .ycb-account-welcome::after {
    position: absolute;
    z-index: -1;
    top: -82px;
    right: 5%;
    width: 310px;
    height: 230px;
    border: 1px solid rgba(245, 241, 233, 0.1);
    content: "";
    transform: rotate(-12deg);
}

body.woocommerce-account:not(.logged-in) .ycb-account-welcome h2 {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 18px;
    color: var(--ycb-weiss);
    font-family: var(--ycb-font);
    font-size: clamp(28px, 2.4vw, 40px);
    font-weight: 400;
    letter-spacing: 0.055em;
    line-height: 1.15;
    text-transform: uppercase;
    word-break: normal;
    overflow-wrap: normal;
}

body.woocommerce-account:not(.logged-in) .ycb-account-welcome h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 76px;
    height: 3px;
    background: var(--ycb-salbei);
    content: "";
}

body.woocommerce-account:not(.logged-in) .ycb-account-welcome p {
    max-width: 940px;
    margin: 0;
    color: rgba(245, 241, 233, 0.9);
    font-family: var(--ycb-font);
    font-size: clamp(16px, 1.35vw, 19px);
    font-weight: 400;
    letter-spacing: 0.005em;
    line-height: 1.7;
    overflow-wrap: normal;
}

@media (max-width: 768px) {
    body.woocommerce-account:not(.logged-in) .ycb-account-welcome {
        margin-bottom: 20px;
        padding: 28px 22px 26px;
        box-shadow: 0 14px 34px rgba(28, 28, 28, 0.14);
    }

    body.woocommerce-account:not(.logged-in) .ycb-account-welcome::after {
        top: -54px;
        right: -94px;
        width: 220px;
        height: 165px;
    }

    body.woocommerce-account:not(.logged-in) .ycb-account-welcome h2 {
        margin-bottom: 16px;
        padding-bottom: 14px;
        font-size: 25px;
        letter-spacing: 0.04em;
    }

    body.woocommerce-account:not(.logged-in) .ycb-account-welcome h2::after {
        width: 58px;
    }

    body.woocommerce-account:not(.logged-in) .ycb-account-welcome p {
        font-size: 15px;
        line-height: 1.65;
    }
}

/* Light authentication prompt shown inside bookable event pages. */

body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt {
    width: min(100%, 920px);
    max-width: 920px;
    margin: 32px 0;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid rgba(60, 60, 59, 0.16);
    color: var(--ycb-graphit-dark);
    background:
        radial-gradient(circle at 100% 0%, rgba(153, 171, 129, 0.15), transparent 380px),
        rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 42px rgba(60, 60, 59, 0.09);
    font-family: var(--ycb-font);
}

body:is(.single-tribe_events, .tribe-events-page-template) .ycb-booking-controls > .ycb-auth-prompt {
    grid-column: 1 / -1;
    margin: 0;
}

body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt > p:first-child {
    margin: 0;
    padding: 15px 17px;
    border-left: 3px solid var(--ycb-salbei);
    color: var(--ycb-graphit-dark);
    background: rgba(153, 171, 129, 0.12);
    font-size: 17px;
    line-height: 1.55;
}

body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt > p:first-child strong {
    color: var(--ycb-graphit-dark);
    font-size: inherit;
    font-weight: 600;
}

body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt .ycb-auth-actions {
    display: flex;
    margin: 20px 0 0;
    flex-wrap: wrap;
    gap: 12px;
}

body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt .button {
    min-width: 170px;
    min-height: 52px;
    padding: 12px 20px;
    border: 1px solid var(--ycb-salbei);
    border-radius: 0;
    color: var(--ycb-graphit-dark);
    background: var(--ycb-salbei);
    box-shadow: none;
    font-family: var(--ycb-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
}

body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt .ycb-auth-login {
    border-color: rgba(60, 60, 59, 0.42);
    color: var(--ycb-graphit-dark);
    background: transparent;
}

body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt .button:hover,
body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt .button:focus {
    border-color: var(--ycb-graphit-dark);
    color: var(--ycb-leinen);
    background: var(--ycb-graphit-dark);
}

body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt .ycb-auth-help {
    margin: 18px 0 0;
    color: var(--ycb-account-text-muted, #5f5e59);
    font-size: 14px;
    line-height: 1.5;
}

body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt .ycb-auth-help a,
body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt .ycb-auth-help a:visited {
    color: var(--ycb-olive);
    font-weight: 600;
    text-decoration-color: rgba(79, 109, 70, 0.45);
    text-underline-offset: 3px;
}

body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt .ycb-auth-help a:hover,
body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt .ycb-auth-help a:focus {
    color: var(--ycb-graphit-dark);
}

@media (max-width: 680px) {
    body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt {
        width: 100%;
        margin: 24px 0;
        padding: 16px;
        box-shadow: 0 10px 28px rgba(60, 60, 59, 0.08);
    }

    body:is(.single-tribe_events, .tribe-events-page-template) .ycb-booking-controls > .ycb-auth-prompt {
        margin: 0;
    }

    body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt > p:first-child {
        padding: 13px 14px;
        font-size: 15px;
    }

    body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt .ycb-auth-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    body:is(.single-tribe_events, .tribe-events-page-template) .ycb-auth-prompt .button {
        width: 100%;
        min-width: 0;
    }
}

/*
 * "Meine MATTE" dashboard rhythm and detailed upcoming-event cards.
 * Pixel-based spacing keeps the account balanced when Elementor changes the
 * document root font size.
 */

body.woocommerce-account .woocommerce-MyAccount-content {
    padding: clamp(24px, 4vw, 48px);
}

body.woocommerce-account .ycb-account-dashboard h2 {
    margin: 0 0 30px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
}

body.woocommerce-account .ycb-account-cards {
    gap: 20px;
    margin: 0 0 42px;
}

body.woocommerce-account .ycb-account-card {
    min-height: 220px;
    gap: 20px;
    padding: 28px;
}

body.woocommerce-account .ycb-account-card span {
    font-size: 13px;
    line-height: 1.35;
}

body.woocommerce-account .ycb-account-card strong {
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.05;
}

body.woocommerce-account .ycb-account-card--registration strong {
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 500;
    overflow-wrap: anywhere;
}

body.woocommerce-account .ycb-account-bookings {
    margin: 0 0 30px;
    scroll-margin-top: 150px;
}

body.woocommerce-account .ycb-account-bookings > h3 {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.035em;
    line-height: 1.25;
}

body.woocommerce-account .yoga-bookings-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
}

body.woocommerce-account .yoga-booking-item {
    display: grid;
    min-width: 0;
    padding: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 250px);
    gap: 22px 32px;
    align-items: center;
    border: 1px solid var(--ycb-account-border);
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(245, 241, 233, 0.62)),
        var(--ycb-account-surface-soft);
    box-shadow: 0 10px 28px rgba(60, 60, 59, 0.06);
}

body.woocommerce-account .yoga-booking-details {
    display: block;
    min-width: 0;
}

body.woocommerce-account .yoga-booking-status {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border: 1px solid rgba(79, 109, 70, 0.34);
    color: var(--ycb-olive);
    background: rgba(153, 171, 129, 0.16);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
}

body.woocommerce-account .yoga-booking-status::before {
    content: "✓";
    font-size: 13px;
}

body.woocommerce-account .yoga-booking-details h4 {
    margin: 13px 0 16px;
    font-family: var(--ycb-font);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

body.woocommerce-account .yoga-booking-details h4 a,
body.woocommerce-account .yoga-booking-details h4 a:visited {
    color: var(--ycb-account-text);
    text-decoration-color: rgba(79, 109, 70, 0.38);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

body.woocommerce-account .yoga-booking-details h4 a:hover,
body.woocommerce-account .yoga-booking-details h4 a:focus {
    color: var(--ycb-olive);
}

body.woocommerce-account .yoga-booking-meta {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 12px 28px;
}

body.woocommerce-account .yoga-booking-meta-item {
    display: grid;
    min-width: min(100%, 180px);
    gap: 4px;
    color: var(--ycb-account-text);
    font-size: 15px;
    line-height: 1.45;
}

body.woocommerce-account .yoga-booking-meta-item small {
    color: var(--ycb-account-text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.075em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.woocommerce-account .yoga-booking-actions {
    display: grid;
    width: 100%;
    gap: 10px;
    justify-content: stretch;
}

body.woocommerce-account .yoga-booking-actions .button,
body.woocommerce-account .yoga-booking-actions .ycb-action-button {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 11px 14px;
    font-size: 11px;
}

body.woocommerce-account .yoga-booking-actions .ycb-view-event {
    border-color: var(--ycb-salbei);
    color: var(--ycb-account-text);
    background: var(--ycb-salbei);
}

body.woocommerce-account .yoga-booking-actions .ycb-view-event:hover,
body.woocommerce-account .yoga-booking-actions .ycb-view-event:focus {
    border-color: var(--ycb-graphit-dark);
    color: var(--ycb-leinen);
    background: var(--ycb-graphit-dark);
}

body.woocommerce-account .yoga-booking-actions .cancel-yoga-class {
    border-color: var(--ycb-account-border-strong);
    color: var(--ycb-account-text);
    background: transparent;
}

body.woocommerce-account .yoga-booking-item > .ycb-action-message,
body.woocommerce-account .yoga-booking-item > .ycb-cancel-confirmation {
    grid-column: 1 / -1;
}

body.woocommerce-account .ycb-account-dashboard > p:last-child {
    margin: 28px 0 0;
}

@media (max-width: 760px) {
    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px;
    }

    body.woocommerce-account .ycb-account-dashboard h2 {
        margin-bottom: 24px;
        font-size: clamp(30px, 10vw, 42px);
    }

    body.woocommerce-account .ycb-account-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-bottom: 34px;
    }

    body.woocommerce-account .ycb-account-card {
        min-height: 190px;
        padding: 22px;
    }

    body.woocommerce-account .yoga-booking-item {
        padding: 20px;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    body.woocommerce-account .yoga-booking-details h4 {
        font-size: 23px;
    }

    body.woocommerce-account .yoga-booking-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 16px;
    }

    body.woocommerce-account .ycb-account-card,
    body.woocommerce-account .yoga-booking-item {
        padding: 17px;
    }

    body.woocommerce-account .ycb-account-bookings > h3 {
        font-size: 18px;
    }

    body.woocommerce-account .yoga-booking-meta {
        display: grid;
        gap: 12px;
    }
}

@media (max-width: 420px) {
    .ycb-booking-controls {
        margin: 18px 0;
        padding: 13px;
    }

    .ycb-booking-controls > .ycb-cancel-confirmation .ycb-cancel-confirmation__actions {
        flex-direction: column;
    }

    .ycb-booking-controls > .ycb-cancel-confirmation .ycb-cancel-confirmation__keep,
    .ycb-booking-controls > .ycb-cancel-confirmation .ycb-cancel-confirmation__confirm {
        width: 100%;
    }
}

/* Persistent booked state used after AJAX and after a full page refresh. */

.ycb-booked-state {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
    font-family: var(--ycb-font);
}

.ycb-booked-state__label,
.ycb-booked-state__link {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid var(--ycb-olive);
    font-family: var(--ycb-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.075em;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.ycb-booked-state__label {
    gap: 8px;
    color: var(--ycb-weiss);
    background: var(--ycb-olive);
}

.ycb-booked-state__label::before {
    content: "✓";
    font-size: 16px;
    line-height: 1;
}

.ycb-booked-state__link,
.ycb-booked-state__link:visited {
    color: var(--ycb-olive);
    background: transparent;
}

.ycb-booked-state__link:hover,
.ycb-booked-state__link:focus {
    border-color: var(--ycb-graphit-dark);
    color: var(--ycb-leinen);
    background: var(--ycb-graphit-dark);
}

.ycb-booking-controls > .ycb-booked-state {
    grid-column: 2;
    grid-row: 1;
}

.ycb-booking-controls > .cancel-yoga-class {
    grid-column: 2;
    justify-self: stretch;
}

.ycb-booking-controls > .cancel-yoga-class + .ycb-action-message {
    grid-column: 1 / -1;
}

@media (max-width: 680px) {
    .ycb-booking-controls > .ycb-booked-state,
    .ycb-booking-controls > .cancel-yoga-class {
        grid-column: 1;
        grid-row: auto;
    }

    .ycb-booked-state {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    .ycb-booked-state__label,
    .ycb-booked-state__link {
        width: 100%;
        min-height: 50px;
    }
}
