/*
 * Shared sticky sidebar — Figma 520:32 / Tour Recommendation.
 * Used on single tour + single blog post.
 */

.tourbin-sidebar {
    min-width: 0;
    max-width: 330px;
    /* Grid layouts use align-items:start; stretch so sticky has room to travel. */
    align-self: stretch;
}

.tourbin-sidebar__sticky {
    position: sticky;
    /* JS (sidebar-sticky.js) sets top: short → 24px, tall → bottom-first. */
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 21px;
}

/* ---------------------------------------------------------------------- */
/* Details / content card                                                 */
/* ---------------------------------------------------------------------- */

.tourbin-sidebar__card {
    box-sizing: border-box;
    background: #f9fafb;
    border-radius: 20px;
    box-shadow: inset 0 -2px 1px rgba(255, 244, 40, 0.25);
    padding: 22px 27px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tourbin-sidebar--post .tourbin-sidebar__head {
    align-items: flex-end;
}

.tourbin-sidebar__head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

/* Tour header — Figma: title row, rating right + price left on one row */
.tourbin-sidebar--tour .tourbin-sidebar__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "title title"
        "rating price";
    column-gap: 6px;
    row-gap: 10px;
    align-items: end;
}

.tourbin-sidebar__title {
    margin: 0;
    width: 100%;
    font-family: "Liana", "Liana-soft-FD", var(--tourbin-font);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: right;
    color: #0d0d0d;
}

.tourbin-sidebar--tour .tourbin-sidebar__title {
    grid-area: title;
    align-self: start;
}

.tourbin-sidebar__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-top: 14px;
    width: 100%;
}

.tourbin-sidebar--tour .tourbin-sidebar__price {
    grid-area: price;
    justify-self: end;
    align-items: flex-start;
    margin: 0;
    width: auto;
    max-width: 100%;
}

.tourbin-sidebar--tour .tourbin-sidebar__price-label,
.tourbin-sidebar--tour .tourbin-sidebar__price-amount {
    text-align: left;
}

.tourbin-sidebar__price-label {
    font-family: "Vazirmatn", var(--tourbin-font);
    font-size: 0.6875rem;
    font-weight: 400;
    line-height: 1.55;
    color: #9f9f9f;
    white-space: nowrap;
}

.tourbin-sidebar__price-amount {
    font-family: "Vazirmatn", var(--tourbin-font);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.56;
    color: #1a1a1a;
    white-space: nowrap;
}

.tourbin-sidebar__rating {
    margin-top: 8px;
    width: 100%;
}

.tourbin-sidebar--tour .tourbin-sidebar__rating {
    grid-area: rating;
    justify-self: start;
    margin: 0;
    width: auto;
}

.tourbin-sidebar--tour .tourbin-sidebar__duration {
    display: none;
}

.tourbin-sidebar__stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    direction: ltr;
}

.tourbin-sidebar__star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.tourbin-sidebar__star svg {
    display: block;
    width: 100%;
    height: 100%;
}

.tourbin-sidebar__stars-value {
    margin-inline-start: 6px;
    font-family: "Vazirmatn", var(--tourbin-font);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.58;
    color: #000;
}

.tourbin-sidebar__duration {
    margin: 8px 0 0;
    width: 100%;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: right;
    color: #6b6b6b;
}

.tourbin-sidebar__departures {
    margin-top: 0;
}

.tourbin-sidebar__departure-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tourbin-sidebar--tour .tourbin-sidebar__departure-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
}

.tourbin-sidebar__departure-chip {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid var(--tourbin-yellow);
    background: var(--tourbin-yellow-soft, #fffbcf);
    color: #1a1a1a;
}

.tourbin-sidebar--tour .tourbin-sidebar__departure-chip {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    font-family: "Vazirmatn", var(--tourbin-font);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5625;
    color: #1a1a1a;
    text-align: right;
}

.tourbin-sidebar__departure-date {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tourbin-sidebar__departure-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    order: -1;
}

.tourbin-sidebar__departure-icon svg {
    display: block;
    width: 19px;
    height: 19px;
}

.tourbin-sidebar__departure-chip--closed .tourbin-sidebar__departure-date,
.tourbin-sidebar__departure-chip--full .tourbin-sidebar__departure-date {
    color: #9f9f9f;
    text-decoration: line-through;
}

.tourbin-sidebar__departure-chip--cancelled .tourbin-sidebar__departure-date {
    color: #9f9f9f;
    text-decoration: line-through;
}

.tourbin-sidebar--tour .tourbin-sidebar__departure-chip--closed,
.tourbin-sidebar--tour .tourbin-sidebar__departure-chip--full,
.tourbin-sidebar--tour .tourbin-sidebar__departure-chip--cancelled {
    border: none;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    opacity: 1;
}

.tourbin-sidebar__divider {
    display: block;
    height: 1px;
    margin: 0;
    border: none;
    background: #f0f0f0;
}

.tourbin-sidebar__section-label {
    margin: 0 0 10px;
    font-family: "Vazirmatn", var(--tourbin-font);
    font-size: 0.6875rem;
    font-weight: 400;
    line-height: 1.55;
    text-align: right;
    color: #9f9f9f;
}

/* Feature / meta chips (2×2 grid) */

.tourbin-sidebar__chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    min-width: 0;
}

.tourbin-sidebar__chips > li {
    position: relative;
    min-width: 0;
    max-width: 100%;
}

.tourbin-sidebar__chip {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: width 0.2s ease, box-shadow 0.2s ease;
}

.tourbin-sidebar__chip-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
}

.tourbin-sidebar--tour .tourbin-sidebar__chip-icon {
    order: -1;
}

.tourbin-sidebar__chip-text {
    flex: 1 1 auto;
    min-width: 0;
    font-family: "Vazirmatn", var(--tourbin-font);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5625;
    text-align: right;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*
 * Truncated chip text: on hover the chip itself grows to its content width
 * and floats above the grid (position: absolute, anchored to the li), so
 * neighboring chips never reflow or drop to a new row.
 */
.tourbin-sidebar__chips > li:hover .tourbin-sidebar__chip,
.tourbin-sidebar__chips > li:focus-within .tourbin-sidebar__chip {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    width: max-content;
    max-width: 280px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.tourbin-sidebar__chips > li:hover .tourbin-sidebar__chip .tourbin-sidebar__chip-text,
.tourbin-sidebar__chips > li:focus-within .tourbin-sidebar__chip .tourbin-sidebar__chip-text {
    overflow: visible;
    text-overflow: clip;
}

@media (prefers-reduced-motion: reduce) {
    .tourbin-sidebar__chips > li:hover .tourbin-sidebar__chip,
    .tourbin-sidebar__chips > li:focus-within .tourbin-sidebar__chip {
        transition: none;
    }
}

.tourbin-sidebar__chip-icon svg {
    display: block;
    width: 19px;
    height: 19px;
}

.tourbin-sidebar__chip--link {
    text-decoration: none;
    color: inherit;
    transition:
        box-shadow var(--tourbin-duration-micro, 120ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1)),
        transform var(--tourbin-duration-micro, 120ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1)),
        background-color var(--tourbin-duration-micro, 120ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1));
}

.tourbin-sidebar__chip--link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.tourbin-sidebar__chip--link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Podcast / share panel */

.tourbin-sidebar__panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tourbin-sidebar__panel-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 21px 27px 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tourbin-sidebar--tour .tourbin-sidebar__panel-card {
    padding: 21px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.tourbin-sidebar__panel-title {
    display: block;
    margin: 0 0 8px;
    font-family: "Vazirmatn", var(--tourbin-font);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5625;
    text-align: right;
    color: #1a1a1a;
}

.tourbin-sidebar--tour .tourbin-sidebar__panel-title::before {
    content: none;
    display: none;
}

.tourbin-sidebar__panel-title::before {
    content: "";
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tourbin-yellow-soft, #fffbcf);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23131313' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.tourbin-sidebar--post .tourbin-sidebar__panel-title {
    display: block;
    text-align: right;
}

.tourbin-sidebar--post .tourbin-sidebar__panel-title::before {
    content: none;
    display: none;
}

.tourbin-sidebar__panel-hint {
    margin: 0 0 14px;
    font-family: "Vazirmatn", var(--tourbin-font);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.538;
    color: #000;
    text-align: right;
}

.tourbin-sidebar--post .tourbin-sidebar__panel-hint {
    color: #6b6b6b;
    text-align: right;
}

.tourbin-sidebar--post .tourbin-sidebar__panel-card {
    padding: 20px 18px 18px;
}

/* Share panel has just a label + button — keep them on one line, not stacked. */
.tourbin-sidebar--post .tourbin-sidebar__panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tourbin-sidebar--post .tourbin-sidebar__panel .tourbin-sidebar__section-label {
    margin: 0;
}

/*
 * Tour sidebar nests its share trigger inside a white .panel-card, so the
 * button's own #f9fafb reads against real white. Post/secret sidebars put it
 * straight on the #f9fafb card bg — same shade, so it disappears. Force it
 * white here so it stays distinct from the card behind it.
 */
.tourbin-sidebar--post .tourbin-share-trigger.tourbin-share-trigger--sidebar,
.tourbin-sidebar--post .tourbin-share-trigger--sidebar .tourbin-sidebar__share-icon,
.tourbin-sidebar--post .tourbin-share-trigger--sidebar .tourbin-sidebar__share-label {
    background: #fff;
}

.tourbin-sidebar--post .tourbin-share-trigger.tourbin-share-trigger--sidebar {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tourbin-sidebar--post .tourbin-share-trigger--sidebar:hover,
.tourbin-sidebar--post .tourbin-share-trigger--sidebar:active {
    background: #fff;
}

.tourbin-sidebar--post .tourbin-sidebar__social {
    direction: rtl;
    gap: 10px;
}

.tourbin-sidebar--post .tourbin-sidebar__social > li {
    min-width: 0;
}

.tourbin-sidebar--post .tourbin-sidebar__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ececec;
    background: #fafafa;
    font-family: "Vazirmatn", var(--tourbin-font);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition:
        border-color var(--tourbin-duration, 200ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1)),
        background-color var(--tourbin-duration, 200ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1)),
        box-shadow var(--tourbin-duration, 200ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1));
}

.tourbin-sidebar--post .tourbin-sidebar__social-link:hover {
    border-color: var(--tourbin-yellow);
    background: var(--tourbin-yellow-soft, #fffbcf);
    box-shadow: none;
}

.tourbin-sidebar__social-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
}

.tourbin-sidebar__social-link--whatsapp .tourbin-sidebar__social-badge {
    background: #25d366;
}

.tourbin-sidebar__social-link--telegram .tourbin-sidebar__social-badge {
    background: #26a5e4;
}

.tourbin-sidebar__social-link--x .tourbin-sidebar__social-badge {
    background: #000000;
}

.tourbin-sidebar__social-link--copy .tourbin-sidebar__social-badge {
    border-radius: 6px;
    background: #fff;
    color: var(--tourbin-black, #131313);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.tourbin-sidebar__social-icon,
.tourbin-sidebar__social-icon .tourbin-secret-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.tourbin-sidebar__social-icon svg,
.tourbin-sidebar__social-badge svg {
    display: block;
    width: 12px;
    height: 12px;
}

.tourbin-sidebar__social-text {
    min-width: 0;
}

/* Audio player — Figma 520:32 player row */

.tourbin-sidebar__player {
    display: grid;
    grid-template-columns: auto auto auto minmax(48px, 1fr) auto auto;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 40px;
    padding: 0 8px;
    border-radius: 20px;
    background: #f9fafb;
    border: 1px solid #f4f4f4;
    box-sizing: border-box;
    direction: ltr;
}

.tourbin-sidebar__player-skip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 12px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: default;
    flex: 0 0 auto;
    pointer-events: none;
}

.tourbin-sidebar__player-skip svg {
    display: block;
    width: 10px;
    height: 12px;
}

.tourbin-sidebar__player-skip--back {
    transform: none;
}

.tourbin-sidebar__audio-element {
    display: none;
}

.tourbin-sidebar__audio-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff428;
    cursor: pointer;
    flex: 0 0 auto;
}

.tourbin-sidebar__audio-play-icon,
.tourbin-sidebar__audio-pause-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tourbin-sidebar__audio-play svg {
    display: block;
    width: 9px;
    height: 10px;
}

.tourbin-sidebar__audio-pause-icon {
    display: none;
}

.tourbin-sidebar__audio-play.is-playing .tourbin-sidebar__audio-play-icon {
    display: none;
}

.tourbin-sidebar__audio-play.is-playing .tourbin-sidebar__audio-pause-icon {
    display: block;
}

.tourbin-sidebar__audio-play:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.tourbin-sidebar__audio-progress {
    position: relative;
    flex: 1 1 auto;
    min-width: 48px;
    height: 4px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: #f0f0f0;
    overflow: visible;
    cursor: pointer;
}

.tourbin-sidebar__audio-progress:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.tourbin-sidebar__audio-progress-fill {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 0;
    border-radius: 4px;
    background: #fff428;
    pointer-events: none;
}

.tourbin-sidebar__audio-progress-thumb {
    position: absolute;
    top: 50%;
    inset-inline-start: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff428;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.tourbin-sidebar__player.is-empty {
    opacity: 0.72;
}

.tourbin-sidebar__audio-time {
    font-family: "Vazirmatn FD", "Vazirmatn", var(--tourbin-font);
    font-size: 0.5rem;
    font-weight: 500;
    line-height: 2.125;
    color: #8c8c8c;
    opacity: 0.6;
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
    min-width: 14px;
    text-align: center;
}

.tourbin-sidebar__audio-volume {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
}

.tourbin-sidebar__audio-volume svg {
    display: block;
    width: 9px;
    height: 8px;
}

.tourbin-sidebar__audio-volume:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.tourbin-sidebar__audio-volume.is-muted {
    opacity: 0.35;
}

/* Share chip placement — visual spec lives in share.css */

.tourbin-sidebar__share {
    margin-top: 12px;
    align-self: end;
}

/* WhatsApp CTA */

.tourbin-sidebar__whatsapp {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 60px;
    padding: 0 20px;
    border: none;
    border-radius: 12px;
    background: #25d366;
    box-shadow: 0 4px 10px rgba(30, 138, 110, 0.2);
    color: #fff;
    font-family: "Vazirmatn", var(--tourbin-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1875;
    text-decoration: none;
    box-sizing: border-box;
    transition:
        background-color var(--tourbin-duration, 200ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1)),
        box-shadow var(--tourbin-duration, 200ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1)),
        transform var(--tourbin-duration, 200ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1));
}

.tourbin-sidebar__whatsapp:hover {
    background: #1ebe57;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(
        --tourbin-shadow-cta-green,
        0 8px 20px rgba(37, 211, 102, 0.28)
    );
}

.tourbin-sidebar__whatsapp:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(30, 138, 110, 0.18);
}

.tourbin-sidebar__whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 24px;
    flex: none;
    order: 1;
}

.tourbin-sidebar__whatsapp-icon svg {
    display: block;
    width: 28px;
    height: 24px;
}

.tourbin-sidebar__whatsapp-label {
    text-align: right;
    flex: none;
    order: 0;
}

/* Social link chips (blog) */

.tourbin-sidebar__social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tourbin-sidebar__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    color: #1a1a1a;
    transition:
        box-shadow var(--tourbin-duration, 200ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1)),
        transform var(--tourbin-duration-micro, 120ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1)),
        background-color var(--tourbin-duration, 200ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1));
}

.tourbin-sidebar__social-link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* ---------------------------------------------------------------------- */
/* Lead capture card                                                      */
/* ---------------------------------------------------------------------- */

.tourbin-sidebar__lead {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 329px;
    min-height: 438px;
    margin-inline: auto;
    padding: 0 27px 26px;
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    background: #f9fafb;
}

.tourbin-sidebar__lead-accent {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.tourbin-sidebar__lead-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    right: -72px;
    bottom: -96px;
    border-radius: 50%;
    background: #fff428;
    opacity: 0.55;
    filter: blur(52px);
}

.tourbin-sidebar__lead-dots {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 200px;
    height: 130px;
    background-image: radial-gradient(
        circle,
        rgba(255, 207, 1, 0.5) 1.5px,
        transparent 1.5px
    );
    background-size: 11px 11px;
    mask-image: radial-gradient(
        ellipse 90% 90% at 100% 100%,
        #000 15%,
        transparent 72%
    );
    opacity: 0.55;
    pointer-events: none;
}

.tourbin-sidebar__lead-mascot {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    width: 156.78px;
    height: 147.33px;
    transform: translateX(-50%);
    pointer-events: none;
}

.tourbin-sidebar__lead-mascot::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 22px;
    background: linear-gradient(
        180deg,
        rgba(249, 250, 251, 0) 14.53%,
        #f9fafb 84.78%
    );
}

.tourbin-sidebar__lead-mascot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

.tourbin-sidebar__lead-form {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    margin: 154px 0 0;
    padding: 0;
}

.tourbin-sidebar__lead-title {
    margin: 0 auto 14px;
    max-width: 171px;
    min-height: 76px;
    font-family: "Liana", "Liana-soft-FD", var(--tourbin-font);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4167;
    text-align: center;
    color: #0d0d0d;
}

.tourbin-sidebar__lead-fields {
    display: flex;
    flex-direction: column;
    height: 85px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tourbin-sidebar__lead-fields input {
    flex: 1 1 50%;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    border: none;
    border-bottom: 1px solid #f6f6f6;
    padding: 12px 16px;
    font-family: var(--tourbin-font);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5833;
    text-align: right;
    color: #0d0d0d;
    background: transparent;
}

.tourbin-sidebar__lead-fields input:last-child {
    border-bottom: none;
}

.tourbin-sidebar__lead-fields input::placeholder {
    color: #d1d1d1;
}

.tourbin-sidebar__lead-submit {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 60px;
    margin: 23px 0 0;
    padding: 10px 18px;
    border: none;
    border-radius: 12px;
    background: #fff428;
    color: #000;
    font-family: var(--tourbin-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1875;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(255, 207, 1, 0.2);
    transition:
        transform var(--tourbin-duration, 200ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1)),
        box-shadow var(--tourbin-duration, 200ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1)),
        background-color var(--tourbin-duration, 200ms)
            var(--tourbin-ease, cubic-bezier(0.2, 0, 0, 1));
}

.tourbin-sidebar__lead-submit:hover {
    filter: none;
    transform: translateY(-1px);
    background: #ffe600;
    box-shadow: var(
        --tourbin-shadow-cta-yellow,
        0 8px 20px rgba(255, 207, 1, 0.35)
    );
}

.tourbin-sidebar__lead-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(255, 207, 1, 0.2);
}

.tourbin-sidebar__lead-submit-icon {
    display: inline-flex;
    flex: none;
    width: 15px;
    height: 6px;
}

.tourbin-sidebar__lead-submit-icon svg {
    display: block;
    width: 15px;
    height: 6px;
}

.tourbin-lead-form__honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.tourbin-lead-form__message {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.5;
}

.tourbin-lead-form__message.is-success {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}

.tourbin-lead-form__message.is-error {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

.tourbin-sidebar__lead-form.is-submitting .tourbin-sidebar__lead-submit,
.tourbin-contact-form__form.is-submitting .tourbin-contact-form__submit {
    opacity: 0.7;
    pointer-events: none;
}

/* ---------------------------------------------------------------------- */
/* Video — Figma sidebar 330×240 dashed frame, 308×221 media, 21×24 play */
/* ---------------------------------------------------------------------- */

.tourbin-sidebar__video {
    width: 100%;
    max-width: 330px;
}

.tourbin-sidebar__video-frame {
    box-sizing: border-box;
    width: 100%;
    height: 240px;
    padding: 9px 10px 10px 12px;
    border: 1px dashed rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.tourbin-sidebar__video-frame .tourbin-video-chip {
    width: 308px;
    height: 221px;
    max-width: 100%;
    border-radius: 20px;
}

/* ---------------------------------------------------------------------- */
/* Promo banner                                                           */
/* ---------------------------------------------------------------------- */

.tourbin-sidebar__promo {
    position: relative;
    min-height: 349px;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.tourbin-sidebar__promo-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 349px;
    object-fit: cover;
    border-radius: 20px;
}

.tourbin-sidebar__promo .tourbin-banner-card {
    height: 100%;
    min-height: 349px;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.tourbin-sidebar__promo .tourbin-banner-image,
.tourbin-sidebar__promo .tourbin-banner-image-text,
.tourbin-sidebar__promo .tourbin-banner-mixed {
    position: relative;
    height: 100%;
    min-height: 349px;
}

.tourbin-sidebar__promo .tourbin-banner-image__image,
.tourbin-sidebar__promo .tourbin-banner-image-text__image,
.tourbin-sidebar__promo .tourbin-banner-mixed__image,
.tourbin-sidebar__promo img:not(.tourbin-sidebar__promo-image) {
    width: 100%;
    height: 100%;
    min-height: 349px;
    object-fit: cover;
    border-radius: 20px;
}

.tourbin-sidebar__promo .tourbin-banner-image-text__heading,
.tourbin-sidebar__promo .tourbin-banner-image__heading,
.tourbin-sidebar__promo .tourbin-banner-mixed__heading {
    position: absolute;
    inset-inline: 36px;
    bottom: 36px;
    margin: 0;
    font-family: "Liana", "Liana-soft-FD", var(--tourbin-font);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.75;
    text-align: right;
    color: #000;
    z-index: 2;
}

.tourbin-sidebar__promo .tourbin-banner-image-text__body,
.tourbin-sidebar__promo .tourbin-banner-mixed__body {
    position: absolute;
    inset: 0;
    padding: 21px 28px 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.tourbin-sidebar__promo .tourbin-banner-image-text__subtext,
.tourbin-sidebar__promo .tourbin-banner-image-text__actions,
.tourbin-sidebar__promo .tourbin-banner-mixed__subtext,
.tourbin-sidebar__promo .tourbin-banner-mixed__meta {
    display: none;
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                             */
/* ---------------------------------------------------------------------- */

@media (max-width: 900px) {
    .tourbin-sidebar {
        max-width: none;
    }

    .tourbin-sidebar__sticky {
        position: static;
        align-items: center;
    }

    .tourbin-sidebar__card,
    .tourbin-sidebar__lead,
    .tourbin-sidebar__promo {
        width: 100%;
        max-width: 400px;
    }

    .tourbin-sidebar__lead {
        min-height: 0;
        padding: 0 clamp(16px, 4vw, 27px) clamp(18px, 4vw, 26px);
    }

    .tourbin-sidebar__lead-mascot {
        width: min(156.78px, 48vw);
        height: auto;
        aspect-ratio: 157 / 147;
    }

    .tourbin-sidebar__lead-form {
        margin-top: clamp(120px, 38vw, 154px);
    }

    .tourbin-sidebar__lead-title {
        max-width: 12em;
        min-height: 0;
        font-size: clamp(1.2rem, 4.2vw, 1.5rem);
    }

    .tourbin-sidebar__lead-submit {
        height: clamp(48px, 12vw, 60px);
        margin-top: clamp(16px, 4vw, 23px);
    }

    .tourbin-sidebar__video {
        width: 100%;
        max-width: 400px;
    }

    .tourbin-sidebar__video-frame {
        height: auto;
    }

    .tourbin-sidebar__video-frame .tourbin-video-chip {
        width: 100%;
        height: auto;
        aspect-ratio: 308 / 221;
    }
}

@media (max-width: 640px) {
    .tourbin-sidebar__chips,
    .tourbin-sidebar__social {
        grid-template-columns: 1fr;
    }

    .tourbin-sidebar__card,
    .tourbin-sidebar__lead,
    .tourbin-sidebar__promo,
    .tourbin-sidebar__video {
        max-width: 329px;
    }
}
