/* Hide theme page/post title on plugin pages */
body.tdm-plugin-page .entry-title,
body.tdm-plugin-page .wp-block-post-title,
body.tdm-plugin-page .page-title,
body.tdm-plugin-page .entry-header,
body.tdm-plugin-page article > header {
    display: none !important;
}

.tdm-page-shell,
.tdm-page-shell * {
    box-sizing: border-box;
}

.tdm-page-shell {
    --tdm-bg: #e7e7e7;
    --tdm-paper: #efe5ea;
    --tdm-ink: #091638;
    --tdm-muted: #5f6777;
    --tdm-line: #000000;
    --tdm-pink: #ec4899;
    --tdm-pink-soft: #f6dbe9;
    --tdm-green: #22c55e;
    --tdm-shadow: 8px 8px 0 0 #000000;
    --tdm-radius-xl: 28px;
    --tdm-radius-lg: 24px;
    --tdm-radius-md: 18px;
    color: var(--tdm-ink);
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
}

.tdm-page-shell--listing,
.tdm-page-shell--single,
.tdm-page-shell--checkout,
.tdm-page-shell--thankyou {
    background: var(--tdm-bg);
    padding: 32px 0 130px;
}

.tdm-page-width {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.tdm-page-width--narrow {
    width: min(720px, calc(100% - 32px));
}

.tdm-eyebrow,
.tdm-side-label,
.tdm-card-kicker,
.tdm-status-pill,
.tdm-success-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tdm-eyebrow,
.tdm-card-kicker,
.tdm-side-label {
    color: var(--tdm-pink);
}

.tdm-empty-state {
    padding: 44px 36px;
    border: 2px solid var(--tdm-line);
    border-radius: var(--tdm-radius-xl);
    background: #ffffff;
    box-shadow: var(--tdm-shadow);
}

.tdm-empty-state h1 {
    margin: 16px 0 10px;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    line-height: 1;
}

.tdm-empty-state p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.tdm-archive-intro {
    display: grid;
    gap: 16px;
    margin-bottom: 36px;
}

.tdm-featured-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 24px;
    padding: 26px 28px;
    border: 2px solid var(--tdm-line);
    border-radius: var(--tdm-radius-xl);
    background: var(--tdm-paper);
    box-shadow: var(--tdm-shadow);
    color: inherit;
    text-decoration: none;
}

.tdm-featured-card h1 {
    margin: 0;
    font-size: clamp(1.9rem, 4.2vw, 3.2rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.tdm-single-main h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.tdm-featured-copy {
    display: grid;
    gap: 12px;
}

.tdm-featured-meta,
.tdm-single-meta,
.tdm-list-copy p,
.tdm-host-top p,
.tdm-opinion-role,
.tdm-related-card span {
    margin: 0;
    color: var(--tdm-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.tdm-status-pill,
.tdm-success-pill {
    padding: 8px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    background: var(--tdm-pink-soft);
    color: var(--tdm-pink);
}

.tdm-status-pill.is-open {
    background: #ebfff4;
    color: #17713c;
}

.tdm-status-pill.is-limited {
    background: #fff2d3;
    color: #8c5400;
}

.tdm-status-pill.is-urgent {
    background: transparent;
    color: #000000;
    border: 1px solid #000000;
}

.tdm-status-pill.is-sold-out {
    background: #ececec;
    color: #555555;
}

.tdm-featured-badge,
.tdm-list-badge,
.tdm-badge-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tdm-featured-badge .tdm-badge-tile {
    width: 110px;
}

.tdm-featured-badge img,
.tdm-list-badge img,
.tdm-badge-block img,
.tdm-gallery-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tdm-badge-tile {
    display: none;
}

.tdm-badge-tile span {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
}

.tdm-badge-tile--large,
.tdm-badge-block .tdm-badge-tile {
    width: 110px;
    min-height: 110px;
}

.tdm-cover-thumb {
    width: 110px;
    height: 110px;
    display: block;
    object-fit: cover;
    border-radius: 14px;
}

.tdm-cover-thumb--small {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}

.tdm-arrow-cta {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
}

.tdm-arrow-cta--small {
    width: 44px;
    height: 44px;
}

.tdm-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--tdm-line);
}

.tdm-section-head h2,
.tdm-detail-panel h2,
.tdm-opinions-panel h2,
.tdm-gallery-panel h2,
.tdm-related-panel h2,
.tdm-checkout-head h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2.8vw, 1.8rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.tdm-section-head h2,
.tdm-opinions-panel h2,
.tdm-related-panel h2 {
    font-style: italic;
}

.tdm-filter-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.88rem;
}

.tdm-filter-wrap select {
    min-height: 40px;
    padding: 8px 38px 8px 14px;
    border: 2px solid var(--tdm-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--tdm-ink);
    font: inherit;
    font-size: 0.88rem;
}

.tdm-listing-stack {
    display: grid;
    gap: 16px;
}

.tdm-list-card {
    border: 2px solid var(--tdm-line);
    border-radius: var(--tdm-radius-lg);
    background: #f0f0f0;
}

.tdm-list-link {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    min-height: 110px;
    padding: 16px 20px 16px 22px;
    color: inherit;
    text-decoration: none;
}

.tdm-list-badge .tdm-badge-tile {
    width: 60px;
    min-height: 60px;
    padding: 10px;
}

.tdm-list-badge .tdm-badge-tile::after {
    left: 8px;
    bottom: -10px;
    border-left-width: 9px;
    border-right-width: 9px;
    border-top-width: 10px;
}

.tdm-list-badge .tdm-badge-tile span {
    font-size: 1.5rem;
}

.tdm-list-copy {
    display: grid;
    gap: 6px;
}

.tdm-list-copy h3,
.tdm-host-top h3,
.tdm-opinion-card h3,
.tdm-summary-card h3 {
    margin: 0;
    font-size: clamp(1.15rem, 2.3vw, 1.55rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.tdm-list-side {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tdm-mini-stack {
    display: flex;
    align-items: center;
}

.tdm-mini-stack span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #f7cde1;
    color: var(--tdm-ink);
}

.tdm-mini-stack span:first-child {
    margin-left: 0;
}

.tdm-mini-stack span:nth-child(2) {
    background: #dce9ff;
}

.tdm-mini-stack span:nth-child(3) {
    background: #fbe8a8;
}

.tdm-mini-stack .material-symbols-outlined {
    font-size: 0.95rem;
}

.tdm-back-link-row {
    margin-bottom: 22px;
}

.tdm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tdm-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.tdm-single-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 36px;
}

.tdm-single-sidebar {
    display: grid;
    gap: 20px;
    align-content: start;
    padding-top: 14px;
}

.tdm-host-card,
.tdm-location-card,
.tdm-detail-panel,
.tdm-opinion-card,
.tdm-checkout-panel,
.tdm-order-card,
.tdm-checkout-card,
.tdm-summary-card,
.tdm-related-card,
.tdm-success-card {
    border: 2px solid var(--tdm-line);
    border-radius: var(--tdm-radius-lg);
}

.tdm-host-card,
.tdm-location-card {
    padding: 22px;
    background: #ffffff;
}

.tdm-host-card {
    background: #ffffff;
    color: var(--tdm-ink);
}

.tdm-host-card .tdm-side-label,
.tdm-location-card .tdm-side-label {
    color: var(--tdm-ink);
    font-weight: 800;
}

.tdm-host-card .tdm-host-top p {
    color: var(--tdm-muted);
}

.tdm-host-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 16px;
}

.tdm-host-avatar {
    display: block;
    width: 68px;
    height: 68px;
    border: 2px solid var(--tdm-pink);
    border-radius: 999px;
    background: #ffffff;
    object-fit: cover;
    flex-shrink: 0;
}

.tdm-host-card blockquote {
    margin: 0;
    color: var(--tdm-ink);
    font-size: 0.93rem;
    line-height: 1.7;
    font-style: italic;
}

.tdm-location-box {
    display: grid;
    gap: 4px;
    margin-top: 12px;
    padding: 14px 16px;
    border: 2px solid var(--tdm-line);
    border-radius: var(--tdm-radius-md);
    background: #f3f3f3;
    text-align: left;
}

.tdm-location-box span.material-symbols-outlined {
    justify-self: start;
    font-size: 1.4rem;
    color: var(--tdm-muted);
}

.tdm-location-box p {
    margin: 0;
    color: var(--tdm-muted);
    font-size: 0.88rem;
}

.tdm-location-box a {
    color: var(--tdm-ink);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.tdm-single-main {
    display: grid;
    gap: 24px;
    align-content: start;
    padding-top: 10px;
}

.tdm-single-meta {
    font-size: 0.98rem;
}

.tdm-single-datetime-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 999px;
    color: #000000;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #e5e5e5;
    margin-bottom: 4px;
    width: fit-content;
}

.tdm-lead {
    margin: 0;
    max-width: 680px;
    color: var(--tdm-muted);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    line-height: 1.65;
    font-weight: 600;
}

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

.tdm-detail-panel {
    padding: 0;
    border: 0;
    background: transparent;
}

.tdm-detail-panel h2,
.tdm-opinions-panel h2,
.tdm-gallery-panel h2,
.tdm-related-panel h2,
.tdm-checkout-head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.tdm-feature-list,
.tdm-agenda-list,
.tdm-opinions-grid,
.tdm-gallery-grid,
.tdm-related-grid {
    display: grid;
    gap: 14px;
}

.tdm-feature-item,
.tdm-agenda-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    color: var(--tdm-ink);
    font-size: 0.96rem;
    font-weight: 600;
}

.tdm-feature-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--tdm-pink-soft);
    color: var(--tdm-pink);
}

.tdm-agenda-item strong {
    color: var(--tdm-pink);
    font-size: 1rem;
}

.tdm-opinions-panel,
.tdm-related-panel {
    display: grid;
    gap: 16px;
}

.tdm-gallery-panel {
    display: grid;
    gap: 8px;
}

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

.tdm-opinion-card,
.tdm-related-card,
.tdm-checkout-card,
.tdm-summary-card,
.tdm-success-card,
.tdm-checkout-panel,
.tdm-order-card {
    padding: 22px;
    background: #ffffff;
}

.tdm-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tdm-gallery-card {
    margin: 0;
    min-height: 200px;
    overflow: hidden;
    border: 2px solid var(--tdm-line);
    border-radius: var(--tdm-radius-md);
}

.tdm-checkout-shell {
    display: grid;
    gap: 22px;
    padding: 26px;
    border: 2px solid var(--tdm-line);
    border-radius: var(--tdm-radius-lg);
    background: #ffffff;
}

.tdm-checkout-shell.is-open {
    animation: tdm-rise 0.25s ease-out;
}

.tdm-checkout-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.tdm-close-checkout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 2px solid var(--tdm-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--tdm-ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
}

.tdm-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 22px;
}

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

.tdm-field {
    display: grid;
    gap: 6px;
}

.tdm-field label {
    font-weight: 700;
    font-size: 0.93rem;
}

.tdm-field input,
.tdm-card-element {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1.5px solid #d0d5dd;
    border-radius: var(--tdm-radius-md);
    background: #f0f0f0;
    color: var(--tdm-ink);
    font: inherit;
}

.tdm-field input:focus {
    outline: none;
    border-color: var(--tdm-ink);
    background: #ffffff;
}

.tdm-card-element {
    display: flex;
    align-items: center;
}

.tdm-card-element .StripeElement {
    width: 100%;
}

.tdm-submit-button,
.tdm-booking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 12px 22px;
    border: 2px solid var(--tdm-line);
    border-radius: 999px;
    background: var(--tdm-pink);
    color: #ffffff;
    box-shadow: 6px 6px 0 0 #000000;
    font: inherit;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.95rem;
}

.tdm-submit-button:disabled,
.tdm-booking-button:disabled,
.tdm-booking-button.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
}

.tdm-booking-button.is-complete {
    background: #2f855a;
}

.tdm-feedback {
    min-height: 22px;
    margin-bottom: 14px;
}

.tdm-flash {
    padding: 12px 16px;
    border: 2px solid var(--tdm-line);
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.93rem;
}

.tdm-flash--success {
    background: #ecfff4;
    color: #166534;
}

.tdm-flash--error {
    background: #ffe3eb;
    color: #9d174d;
}

.tdm-summary-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tdm-summary-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f5f5f5;
}

.tdm-summary-cell .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--tdm-pink);
    flex-shrink: 0;
}

.tdm-summary-cell-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.tdm-summary-cell strong {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tdm-muted);
}

.tdm-summary-cell span:last-child {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--tdm-ink);
}

.tdm-summary-cell-address {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--tdm-muted);
    margin-top: 1px;
}

.tdm-group-discount-hint {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.85;
    margin-top: 2px;
}

.tdm-summary-total-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--tdm-ink);
    border: 2px solid #e5e5e5;
}

.tdm-summary-total-row .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--tdm-pink);
}

.tdm-summary-total-row strong {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tdm-muted);
}

.tdm-summary-total-value {
    margin-left: auto;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--tdm-ink);
}

.tdm-success-grid div {
    display: grid;
    gap: 4px;
}

.tdm-success-grid strong {
    font-size: 0.82rem;
    text-transform: uppercase;
    color: var(--tdm-muted);
}

.tdm-success-card {
    display: grid;
    gap: 16px;
}

.tdm-success-card h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    line-height: 1;
    text-transform: uppercase;
}

.tdm-success-card p {
    margin: 0;
}

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

.tdm-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tdm-related-card {
    display: grid;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.tdm-related-card strong {
    font-size: 1rem;
    text-transform: uppercase;
}

.tdm-booking-bar {
    position: fixed;
    left: 50%;
    bottom: 14px;
    z-index: 60;
    width: auto;
    max-width: calc(100% - 48px);
    transform: translateX(-50%);
}

.tdm-booking-inner {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: none;
    border-radius: 999px;
    background: #000000;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

@keyframes tdm-bar-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tdm-booking-price {
    display: grid;
    gap: 2px;
    color: #ffffff;
}

.tdm-price-line {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tdm-price-line strong {
    font-size: 1.4rem;
    line-height: 1.1;
    color: #ffffff;
    font-weight: 800;
}

.tdm-booking-price strong {
    font-size: 1.4rem;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.tdm-booking-price span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tdm-booking-whatsapp {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 999px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.tdm-booking-whatsapp:hover {
    opacity: 0.9;
    color: #000000;
}

.tdm-booking-button {
    box-shadow: none;
    min-width: 160px;
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.tdm-booking-button:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.03);
}

.tdm-booking-button--pink {
    background: #da007c;
    color: #ffffff !important;
    border-color: #da007c;
}

.tdm-booking-button--pink:hover {
    background: #b8006a;
    color: #ffffff;
    border-color: #b8006a;
    transform: scale(1.03);
}

.tdm-whatsapp-emoji {
    font-size: 1.15rem;
    line-height: 1;
}

/* Guest forms */
.tdm-guest-forms-wrap {
    display: grid;
    gap: 14px;
    margin-top: 10px;
}

.tdm-guest-form {
    padding: 16px 18px;
    border: 1.5px solid #d0d5dd;
    border-radius: var(--tdm-radius-md);
    background: #fafafa;
    display: grid;
    gap: 10px;
}

.tdm-guest-form-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tdm-muted);
}

/* Terms & Conditions checkbox */
.tdm-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--tdm-muted);
    cursor: pointer;
    line-height: 1.5;
}

.tdm-terms-checkbox {
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    min-height: unset;
    padding: 0;
    accent-color: var(--tdm-ink);
    cursor: pointer;
}

.tdm-terms-link {
    font-weight: 700;
    color: var(--tdm-ink);
    text-decoration: underline;
}

.tdm-checkout-layout {
    display: grid;
    gap: 24px;
    padding: 32px;
    border: 2px solid var(--tdm-line);
    border-radius: var(--tdm-radius-xl);
    background: #f3f3f3;
    box-shadow: 8px 8px 0 0 var(--tdm-pink);
}

.tdm-checkout-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.tdm-checkout-hero-main {
    display: grid;
    gap: 8px;
}

.tdm-checkout-hero-main h1,
.tdm-ticket-body h2,
.tdm-order-card h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4.2vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.tdm-thankyou-stage h1 {
    margin: 0;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-transform: none;
    font-weight: 700;
    max-width: 480px;
}

.tdm-checkout-hero-main p,
.tdm-thankyou-copy {
    margin: 0;
    color: var(--tdm-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Email notice block on thank-you page */
.tdm-thankyou-email-notice {
    display: grid;
    gap: 10px;
    width: min(480px, 100%);
    text-align: left;
}

.tdm-thankyou-email-main {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--tdm-ink);
    line-height: 1.3;
}

.tdm-thankyou-email-main .material-symbols-outlined {
    font-size: 1.6rem;
    color: var(--tdm-pink);
    flex-shrink: 0;
}

.tdm-thankyou-email-sub {
    margin: 0;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--tdm-muted);
    line-height: 1.5;
}

.tdm-thankyou-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    padding: 13px 22px;
    border: 2px solid var(--tdm-line);
    border-radius: 999px;
    background: #ffffff;
    color: #000000;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.tdm-thankyou-wa-btn:hover {
    opacity: 0.85;
    color: #000000;
}

.tdm-checkout-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 310px);
    gap: 24px;
    align-items: start;
}

.tdm-checkout-panel {
    padding: 22px;
}

.tdm-order-card {
    display: grid;
    gap: 14px;
    padding: 22px;
    background: #ffffff;
    position: sticky;
    top: 120px;
}

.tdm-order-card h2 {
    max-width: 100%;
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    overflow-wrap: anywhere;
}

.tdm-order-title {
    font-size: clamp(1.25rem, 2vw, 1.7rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em;
}

.tdm-guest-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 2px solid var(--tdm-line);
    border-radius: 20px;
    background: #ffffff;
}

.tdm-guest-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tdm-guest-copy {
    display: grid;
    gap: 4px;
}

.tdm-guest-copy strong {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tdm-guest-copy p {
    margin: 0;
    color: var(--tdm-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.tdm-guest-controls {
    display: grid;
    gap: 8px;
}

.tdm-guest-stepper {
    display: inline-grid;
    grid-template-columns: 48px auto 48px;
    align-items: center;
    gap: 14px;
}

.tdm-page-shell button.tdm-stepper-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border: none;
    border-radius: 999px;
    appearance: none;
    -webkit-appearance: none;
    background: #ececec;
    color: var(--tdm-ink);
    font: inherit;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    line-height: 1;
}

.tdm-page-shell button.tdm-stepper-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.tdm-stepper-value {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 1.6rem;
    font-weight: 700;
}

.tdm-guest-visuals {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 32px;
    align-items: center;
}

.tdm-guest-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--tdm-line);
    border-radius: 999px;
    background: var(--tdm-pink-soft);
    font-size: 0.9rem;
}

.tdm-guest-empty {
    color: var(--tdm-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.tdm-guest-help {
    margin: 0;
    color: var(--tdm-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.tdm-payment-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 2px solid #f4b4d5;
    border-radius: 22px;
    background: #f8eef4;
}

.tdm-payment-note {
    margin: 0;
    color: var(--tdm-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 600;
}

.tdm-payment-card.is-stripe {
    border-color: #d8dae3;
    background: #f7f8fb;
}

.tdm-payment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--tdm-pink);
}

.tdm-payment-head strong {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
}

.tdm-payment-head .material-symbols-outlined {
    color: #f472b6;
}

.tdm-thankyou-stage {
    display: grid;
    justify-items: center;
    gap: 20px;
    padding: 24px 0 48px;
    text-align: center;
}

.tdm-thankyou-icon {
    display: inline-flex;
    width: 96px;
    height: 96px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--tdm-pink);
    color: #ffffff;
}

.tdm-thankyou-icon .material-symbols-outlined {
    font-size: 3.2rem;
}


.tdm-ticket-divider {
    height: 2px;
    background: #e5e5e5;
}

.tdm-ticket-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
}

.tdm-ticket-meta div {
    display: grid;
    gap: 4px;
}

.tdm-ticket-meta strong {
    color: #8b94a5;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tdm-ticket-meta span {
    font-size: 1.05rem;
    font-weight: 700;
}

.tdm-close-link {
    color: var(--tdm-pink);
    font-size: 0.93rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

@keyframes tdm-rise {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .tdm-single-grid,
    .tdm-detail-columns,
    .tdm-checkout-grid,
    .tdm-checkout-stage {
        grid-template-columns: 1fr;
    }

    .tdm-order-card {
        position: static;
    }

    .tdm-gallery-grid,
    .tdm-opinions-grid,
    .tdm-related-grid,
    .tdm-success-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tdm-checkout-sticky-bar {
    display: grid;
    width: 100%;
}

.tdm-checkout-sticky-inner {
    display: grid;
    gap: 14px;
    padding: 14px 20px;
    border: none;
    border-radius: 32px;
    background: #000000;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.tdm-checkout-sticky-terms {
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
}

.tdm-checkout-sticky-terms .tdm-terms-label {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.tdm-checkout-sticky-terms .tdm-terms-checkbox {
    accent-color: var(--tdm-pink);
}

.tdm-checkout-sticky-terms .tdm-terms-link {
    color: #ffffff;
}

.tdm-checkout-sticky-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.tdm-checkout-sticky-info {
    display: grid;
    gap: 4px;
    text-align: left;
}

.tdm-checkout-sticky-info > span {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tdm-checkout-sticky-info .tdm-checkout-sticky-total {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    white-space: nowrap;
}

.tdm-checkout-sticky-bar .tdm-submit-button {
    min-width: 220px;
    min-height: 48px;
    margin: 0;
    border-radius: 20px;
    border-color: var(--tdm-pink);
    background: var(--tdm-pink);
    color: #ffffff;
    box-shadow: none;
}

.tdm-checkout-sticky-bar .tdm-submit-button:hover {
    background: #b8006a;
    border-color: #b8006a;
    color: #ffffff;
    border-radius: 20px;
}

@media (max-width: 820px) {
    .tdm-page-width {
        width: min(100%, calc(100% - 24px));
    }

    .tdm-page-shell--listing,
    .tdm-page-shell--single,
    .tdm-page-shell--checkout,
    .tdm-page-shell--thankyou {
        padding-top: 22px;
        padding-bottom: 220px;
    }

    .tdm-featured-card,
    .tdm-list-link {
        grid-template-columns: 1fr;
    }

    .tdm-featured-card {
        gap: 18px;
        padding: 22px;
    }

    .tdm-list-link {
        gap: 14px;
        padding: 14px 18px;
    }

    .tdm-list-side {
        justify-content: space-between;
    }

    .tdm-section-head,
    .tdm-checkout-head,
    .tdm-checkout-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .tdm-gallery-grid,
    .tdm-opinions-grid,
    .tdm-related-grid,
    .tdm-success-grid {
        grid-template-columns: 1fr;
    }

    .tdm-single-main h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .tdm-lead {
        font-size: 1rem;
    }

    .tdm-booking-bar {
        width: calc(100% - 4px);
        max-width: calc(100% - 4px);
    }

    .tdm-booking-inner {
        grid-template-columns: 1fr;
        border-radius: 24px;
        padding: 20px 20px 20px 24px;
        gap: 10px;
    }

    .tdm-booking-button,
    .tdm-booking-button--pink,
    .tdm-booking-whatsapp {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .tdm-booking-button:hover {
        transform: none;
    }

    .tdm-checkout-layout {
        padding: 20px;
        border-radius: 24px;
    }

    .tdm-guest-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tdm-ticket-body {
        padding: 26px 22px;
    }

    .tdm-ticket-meta {
        grid-template-columns: 1fr;
    }

    .tdm-share-row {
        flex-wrap: wrap;
    }

    .tdm-thankyou-actions {
        flex-direction: column;
        width: 100%;
    }

    .tdm-thankyou-actions .tdm-pdf-btn,
    .tdm-thankyou-actions .tdm-ical-btn {
        width: 100%;
        justify-content: center;
    }

    /* Single page reorder */
    .tdm-single-grid {
        display: flex;
        flex-direction: column;
    }
    .tdm-single-sidebar,
    .tdm-single-main {
        display: contents;
    }
    .tdm-single-main h1 { order: 1; margin-bottom: 6px; }
    .tdm-single-datetime-box { order: 2; margin-bottom: 6px; }
    .tdm-single-main .tdm-status-pill { order: 3; margin-bottom: 12px; }
    .tdm-gallery-panel { order: 4; margin-bottom: 12px; }
    .tdm-lead { order: 5; margin-bottom: 12px; }
    .tdm-detail-columns { order: 6; display: flex; flex-direction: column; }
    .tdm-host-card { order: 7; margin-bottom: 12px; }
    .tdm-location-card { order: 8; }

    /* Horizontal swipe carousel for gallery */
    .tdm-gallery-grid {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding-bottom: 10px;
    }
    .tdm-gallery-grid::-webkit-scrollbar {
        display: none;
    }
    .tdm-gallery-grid .tdm-gallery-card {
        flex: 0 0 calc(85% - 12px);
        scroll-snap-align: start;
    }

    /* Checkout Layout Reorder */
    .tdm-checkout-stage {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .tdm-checkout-panel, .tdm-form {
        display: contents;
    }
    .tdm-feedback, input[type="hidden"] { order: 1; }
    .tdm-field:nth-of-type(1) { order: 2; width: 100%; }
    .tdm-field:nth-of-type(2) { order: 3; width: 100%; }
    .tdm-field:nth-of-type(3) { order: 4; width: 100%; }
    .tdm-guest-card { order: 5; }
    .tdm-order-card { order: 6; width: 100%; padding: 22px; box-shadow: none; }
    .tdm-payment-card { order: 7; width: 100%; margin-top: 20px; }
    .tdm-checkout-sticky-bar { order: 8; width: 100%; }

    .tdm-checkout-layout {
        padding: 16px;
        gap: 8px;
        box-shadow: none;
        border: none;
        background: transparent;
    }

    /* Sticky Checkout Bar */
    .tdm-checkout-sticky-bar {
        position: fixed;
        left: 50%;
        bottom: 14px;
        width: calc(100% - 4px);
        max-width: calc(100% - 4px);
        transform: translateX(-50%);
        z-index: 99999;
        background: transparent;
        box-shadow: none;
    }
    .tdm-checkout-sticky-inner {
        gap: 10px;
        padding: 20px 20px calc(20px + env(safe-area-inset-bottom)) 24px;
        border-radius: 24px;
    }
    .tdm-checkout-sticky-terms {
        padding: 0 0 12px;
    }
    .tdm-checkout-sticky-terms .tdm-terms-label {
        font-size: 0.82rem;
        line-height: 1.4;
    }
    .tdm-checkout-sticky-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .tdm-checkout-sticky-info {
        gap: 6px;
    }
    .tdm-checkout-sticky-info > span {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.75);
    }
    .tdm-checkout-sticky-info .tdm-checkout-sticky-total {
        font-size: 1.35rem;
        text-align: left;
    }
    .tdm-checkout-sticky-bar .tdm-submit-button {
        width: 100%;
        min-height: 52px;
        margin: 0;
        box-sizing: border-box;
    }
}

/* Share buttons */
.tdm-share-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tdm-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: var(--tdm-ink);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tdm-share-btn .material-symbols-outlined {
    font-size: 1rem;
}

.tdm-share-btn:hover {
    background: var(--tdm-pink);
    color: #ffffff;
    border-color: var(--tdm-pink);
}

/* iCal button */
.tdm-ical-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 10px 16px;
    border: 2px solid var(--tdm-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--tdm-ink);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.tdm-ical-btn:hover {
    background: var(--tdm-pink);
    color: #ffffff;
    border-color: var(--tdm-pink);
}

.tdm-ical-btn .material-symbols-outlined {
    font-size: 1.1rem;
}

/* PDF download button */
.tdm-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 2px solid var(--tdm-line);
    border-radius: 999px;
    background: var(--tdm-pink);
    color: #ffffff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 4px 4px 0 0 #000000;
    transition: transform 0.15s ease;
}

.tdm-pdf-btn:hover {
    transform: translateY(-1px);
}

.tdm-pdf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.tdm-pdf-btn .material-symbols-outlined {
    font-size: 1.1rem;
}

/* Thankyou actions row */
.tdm-thankyou-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

/* Early-bird pricing */
.tdm-original-price {
    text-decoration: line-through;
    color: var(--tdm-muted);
    font-size: 0.85em;
    font-weight: 600;
}

.tdm-early-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tdm-booking-price .tdm-original-price {
    color: #a78bfa;
    font-size: 1rem;
}

.tdm-booking-price .tdm-early-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    font-size: 0.65rem;
    vertical-align: middle;
    margin-left: 4px;
}

/* Early-bird in checkout summary */
.tdm-summary-early-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 14px;
    background: #ecfdf5;
}

/* ── Past / expired workshops ── */
.tdm-featured-card.is-past,
.tdm-list-card.is-past .tdm-list-link {
    filter: grayscale(100%);
    opacity: 0.55;
    pointer-events: none;
    cursor: default;
    box-shadow: none;
}

.tdm-featured-card.is-past {
    pointer-events: none;
    text-decoration: none;
}

.tdm-list-card.is-past .tdm-card-kicker {
    color: #888888;
}

.tdm-status-pill.is-past {
    background: #e0e0e0;
    color: #777777;
}

/* ── Cinema-ticket card on thank-you page ── */
.tdm-ticket-card {
    width: min(520px, 100%);
    overflow: visible;
    border-radius: 0;
    background: #ffffff;
    border: 2px solid #222222;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Notched / perforated edges via radial-gradient masks */
.tdm-ticket-card::before,
.tdm-ticket-card::after {
    content: '';
    position: absolute;
    left: -8px;
    right: -8px;
    height: 16px;
    z-index: 2;
    background: radial-gradient(circle 8px at 16px 50%, transparent 99%, var(--tdm-bg) 100%);
    background-size: 32px 16px;
    background-repeat: repeat-x;
}

.tdm-ticket-card::before {
    top: -8px;
}

.tdm-ticket-card::after {
    bottom: -8px;
}

.tdm-ticket-head {
    display: none;
}

.tdm-ticket-body {
    display: grid;
    gap: 22px;
    padding: 40px 32px 16px;
    text-align: left;
}

.tdm-ticket-body h2 {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin: 0;
}

.tdm-ticket-barcode {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px 28px;
}

.tdm-ticket-barcode svg {
    width: 100%;
    max-width: 340px;
    height: 48px;
}

/* Dashed tear-line between info and barcode */
.tdm-ticket-tear {
    border-top: 2px dashed #cccccc;
    margin: 0 20px;
    position: relative;
}

.tdm-ticket-tear::before,
.tdm-ticket-tear::after {
    content: '';
    position: absolute;
    top: -10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--tdm-bg);
    border: 2px solid #222222;
}

.tdm-ticket-tear::before {
    left: -30px;
}

.tdm-ticket-tear::after {
    right: -30px;
}
