.product-detail .product-galery {
    width: 50%;
    float: left;
    padding-right: 32px;
}
@media (max-width: 991px) {
    .product-detail .product-galery {
        width: 100%;
        float: none;
        padding-right: 0;
        padding-left: 0;
    }
}
.product-galery .main-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 12px;
}
.product-galery .main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.product-galery .gallery-thumbs .img-thumbnail {
    width: 96px;
    height: 64px;
    object-fit: cover;
}
.product-galery .demo-age-overlays {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 5;
    pointer-events: none;
}
/* single overlay alignment removed: keep audience badge on the left */
@media (min-width: 992px) {
    .product-detail:not(.demo-media-right) .product-galery .demo-age-overlays {
        right: 46px;
    }
}
.product-galery .demo-age-overlays .age-block,
.product-galery .demo-age-overlays .age-badge-right {
    position: static !important;
    top: auto !important;
    left: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: #2E3993;
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    line-height: 1.2;
    min-height: 30px;
    white-space: nowrap;
    pointer-events: auto;
}
.product-detail .details-column {
    width: auto;
    float: none;
}
@media (max-width: 991px) {
    .product-detail .details-column {
        width: 100%;
        float: none;
    }
}
.product-detail.demo-media-right .product-galery {
    float: right;
    padding-right: 0;
    padding-left: 32px;
}
.product-detail.demo-media-right .details-column {
    float: none;
    width: auto;
    padding-right: 0;
}
@media (max-width: 991px) {
    .product-detail.demo-media-right .details-column {
        padding-right: 0;
    }
}

@media (max-width: 991px) {
    .product-detail {
        display: flex;
        flex-direction: column;
    }
    .product-detail .details-column {
        display: contents;
    }
    .product-detail .repertoire-demo-title-block {
        order: 1;
        margin-bottom: 1rem;
    }
    .product-detail .product-galery {
        order: 2;
        width: 100%;
        float: none;
        margin-bottom: 1rem;
        padding-left: 0;
        padding-right: 0;
    }
    .product-detail .repertoire-mobile-body-slot {
        order: 3;
        width: 100%;
    }
    .product-detail > .clearfix {
        order: 4;
    }
}
.cat-events .event-line {
    align-items: center;
    column-gap: 12px;
}
.pushkincard-inline {
    flex: 0 0 auto;
    margin-left: 0.5rem !important;
    margin-right: 8px;
}
.cat-events .event_col-day {
    font-size: 1.8rem;
    font-weight: 700;
}
.cat-events .event_col-date p {
    font-size: 0.95rem;
    text-transform: lowercase;
}
.cat-events .event_col-time p {
    font-size: 0.95rem;
}
.pushkincard-inline img {
    width: 56px;
    height: auto;
}
.cast-card__heading {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.cast-card__heading + .cast-card__heading {
    margin-top: 0.75rem;
}
.cast-card__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.5rem;
}
.cast-card__row td {
    padding: 6px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.95rem;
    vertical-align: top;
}
.cast-card__row:last-child td {
    border-bottom: 0;
}
.cast-card__row--spacer td {
    border-bottom: 0;
    border-top: 3px double #e5e5e5;
    height: 32px;
    padding-top: 0;
    padding-bottom: 0;
}
.cast-card__role {
    width: 55%;
    font-weight: 600;
    padding-right: 12px;
}
.cast-card__role strong {
    font-weight: 800;
}
.cast-card__actors a {
    color: #2E3993;
    text-decoration: underline;
}
.repertoire-demo-title-block {
    margin-top: 16px;
    margin-bottom: 22px;
}
.repertoire-demo-title-block .demo-title {
    margin: 0;
    font-size: 2.1rem;
    line-height: 1.15;
}
.repertoire-demo-title-block .demo-composer {
    font-weight: 700;
    margin: 0 0 2px;
}
.repertoire-demo-title-block .demo-genre {
    font-style: italic;
    margin: 6px 0 0;
}
.repertoire-demo-title-block .demo-duration {
    margin: 6px 0 0;
}
.demo-sales-inline {
    width: 100% !important;
    float: none !important;
    margin-top: 18px;
}
@media (min-width: 992px) {
    .product-detail > .details-column .cat-events {
        width: 50%;
        max-width: 50%;
    }
    .product-detail.demo-media-right > .details-column .cat-events {
        margin-left: 0;
        margin-right: auto;
    }
    .product-detail:not(.demo-media-right) > .details-column .cat-events {
        margin-left: auto;
        margin-right: 0;
    }
}
.bye-ticket .btn-blue {
    min-width: clamp(150px, 26vw, 200px);
}
.event-line--purchase-choice {
    align-items: flex-start !important;
    flex-wrap: wrap;
}
.product-detail .cat-events .event-line .pushkincard-inline {
    margin-left: auto !important;
}
.purchase-options-card {
    flex: 0 0 100%;
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #d9dcef;
    border-radius: 10px;
    background: #f7f8ff;
    scroll-margin-top: 110px;
}
.purchase-options-card__description {
    margin: 0 0 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333;
}
.purchase-options-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.purchase-options-card__actions .btn-blue {
    flex: 1 1 230px;
    min-width: 230px;
    max-width: none;
    height: auto;
    min-height: 44px;
    padding: 11px 16px;
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
}
.btn-blue.btn-blue--disabled {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}
.cast-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 16px;
}
.cast-tooltip__toggle {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: #2E3993;
    text-decoration: underline;
    text-transform: none;
    display: inline-block;
    font: inherit;
    touch-action: manipulation;
}
.cast-tooltip__toggle:focus {
    outline: none;
}
.cast-tooltip__toggle:focus-visible {
    outline: 2px solid #2E3993;
    outline-offset: 3px;
}
.cast-tooltip__content {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 440px;
    max-width: calc(100vw - 32px);
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 18px;
    z-index: 10020;
    -webkit-overflow-scrolling: touch;
}
.cast-tooltip.is-open .cast-tooltip__content {
    display: block;
}
.cast-tooltip .close_tooltip {
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
    color: #999;
}
@media (max-width: 1200px) and (min-width: 992px) {
    .cat-events .event-line {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "date pushkin"
            "button button";
        align-items: start;
        row-gap: 8px;
        column-gap: 10px;
    }
    .cat-events .event-line .date-source {
        grid-area: date;
        min-width: 0;
    }
    .cat-events .event-line .bye-ticket {
        grid-area: button;
        width: 100%;
    }
    .cat-events .event-line .bye-ticket .btn-blue {
        width: 100%;
        display: block;
        min-width: 0;
        max-width: 240px;
    }
    .cat-events .event-line .purchase-options-card {
        grid-area: button;
        margin-top: 0;
    }
    .cat-events .event-line .pushkincard-inline {
        grid-area: pushkin;
        justify-self: end;
        align-self: center;
        margin: 0 !important;
    }
}
@media (max-width: 991px) {
    .cat-events .event-line {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "date pushkin"
            "button button";
        align-items: start;
        row-gap: 8px;
        column-gap: 10px;
        padding-right: 0;
        padding-left: 0;
    }
    .cat-events .event-line .date-source {
        grid-area: date;
        min-width: 0;
    }
    .cat-events .event-line .bye-ticket {
        grid-area: button;
        width: 100%;
    }
    .cat-events .event-line .bye-ticket .btn-blue {
        width: 100%;
        display: block;
        min-width: 0;
    }
    .cat-events .event-line .purchase-options-card {
        grid-area: button;
        margin-top: 0;
    }
    .cat-events .event-line .pushkincard-inline {
        grid-area: pushkin;
        justify-self: end;
        align-self: center;
        margin: 0 !important;
    }
}
@media (max-width: 640px) {
    .purchase-options-card__actions {
        flex-direction: column;
    }
    .purchase-options-card__actions .btn-blue {
        width: 100%;
        min-width: 0;
        flex-basis: auto;
    }
}
@media (max-width: 767px) {
    .cast-tooltip {
        display: block;
        margin-left: 0;
    }
    .cast-tooltip__content {
        position: fixed;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw - 28px);
        max-width: 420px;
        max-height: calc(100vh - 120px);
        box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    }
    .cast-tooltip .close_tooltip {
        top: 10px;
        right: 10px;
    }
}
    
.awards-badges {
    --award-logo-height: 100px;
    margin: 0 0 14px;
    --award-logo-max-height: 90px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.awards-badge {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.awards-badge img {
    display: block;
    width: auto;
    height: var(--award-logo-height);
    max-height: var(--award-logo-max-height);
    object-fit: contain;
}
@media (max-width: 767.98px) {
    .awards-badges {
        --award-logo-height: 72px;
        --award-logo-max-height: 120px;
        gap: 10px;
    }
}
