.main-title {
    margin-bottom: 1rem;
}
.top-contaner {
    /*position: fixed;*/
    left: 0;
    right: 0;
}

/* Hero Section */
.hero-section {
    height: 480px;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
}
html.contrast-mode .hero-section {
    background-color: var(--contrast-black) !important;
    background-image: none !important;
}

.hero-content {
    text-align: center;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    color: var(--trans-white-700);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--trans-white-900);
}

.icon {
    width: 16px;
    height: 16px;
}

.time-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.progress-bar {
    width: 150px;
    height: 2px;
    background: var(--trans-white-900);
}

.progress {
    height: 100%;
    background: var(--neutral-white);
}
.tickets-nav-container {
    padding-bottom: 8rem;
    background-color: var(--neutral-white);
    position: relative;
}
.bottom-nav-container {
    margin-bottom: 0;
}
/* Ticket Section */
.main-content {
    margin-top: -2rem;
    margin-bottom: -2rem;
    border-radius: 1.5rem 1.5rem 0 0;
    background: var(--neutral-white);
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
    transition: border-radius 0.6s ease-in-out;
    z-index: 1;
}
html.contrast-mode .main-content {
    border-top: 1px solid var(--contrast-yellow);
}
.main-content.flat {
    border-radius: 0;
}

.event-details-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--neutral-700);
    margin-bottom: 1rem;
}
.ticket-header-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticket-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--neutral-50);
}
html.contrast-mode .ticket-item {
    border-bottom: 1px solid var(--contrast-yellow);
}
.ticket-item__info {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
}
.ticket-item__title {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 700;
    color: var(--neutral-black);
}
html[data-font-size="large"] .ticket-item__title {
    font-size: 1.125rem;
}
html[data-font-size="xlarge"] .ticket-item__title {
    font-size: 1.25rem;
}
.total-section {
    display: flex;
    justify-content: space-between;
    padding: 3rem 0 0.5rem;
    border-bottom: 1px solid var(--neutral-700);
}
.total-section__label {
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-family: "Romain BP Text", serif;
    font-style: italic;
    color: var(--neutral-black);
}
html[data-font-size="large"] .total-section__label {
    font-size: 1.5rem;
}
html[data-font-size="xlarge"] .total-section__label {
    font-size: 1.75rem;
}
.total-section__final-total {
    font-size: 1.15rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: var(--neutral-black);
    width: 80px;
    text-align: right;
}
html[data-font-size="large"] .total-section__final-total {
    font-size: 1.25rem;
}
html[data-font-size="xlarge"] .total-section__final-total {
    font-size: 1.5rem;
}
.ticket-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ticket-info {
    width: 80px;
}
.ticket-info__price {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: var(--neutral-600);
    width: 80px;
}
html[data-font-size="large"] .ticket-info__price {
    font-size: 1.125rem;
}
html[data-font-size="xlarge"] .ticket-info__price {
    font-size: 1.25rem;
}
.ticket-controls__total {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: var(--neutral-black);
    width: 80px;
    text-align: right;
}
html[data-font-size="large"] .ticket-controls__total {
    font-size: 1.125rem;
}
html[data-font-size="xlarge"] .ticket-controls__total {
    font-size: 1.25rem;
}
.ticket-controls__quantity {
    width: 32px;
    font-size: 1rem;
    text-align: center;
    line-height: 1.5rem;
    font-weight: 400;
    color: var(--neutral-black);
}
html[data-font-size="large"] .ticket-controls__quantity {
    font-size: 1.125rem;
}
html[data-font-size="xlarge"] .ticket-controls__quantity {
    font-size: 1.25rem;
}
.ticket-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.calendar-container__month-selector {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: .5rem;
    border-radius: 2rem;
    background-color: var(--neutral-50);
}
.calendar-container__days-header{
    width:100%;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}
.calendar-container__day-label{
    width: 100%;
    text-align: center;
}
.calendar-container__days-body{
    -webkit-box-flex: 0;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
button.date-past, .calendar-container__days-button.dzien-bez-terminow {
    pointer-events: none;
    opacity: 0.35;
    cursor: not-allowed;
}
.calendar-container__days-body[data-day-of-week-number="4"] button:first-child {
    margin-left: calc(100% / 7 * 3);
}
.calendar-container__days-button {
    align-items: center;
    border-width: 0;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    height: 3.125rem;
    justify-content: center;
    position: relative;
    width: calc(100% / 7);
}

@media (min-width: 820px) {
    .ticket-item {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: space-between;
    }
    .ticket-header.text-small {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}
/* Desktop Styles */
@media (min-width: 1024px) {
    .container {
        max-width: 100%;

        min-height: 100vh;
    }
    .ticket-item__title {
        font-size: 1.15rem;
        line-height: 1.5rem;
    }

    .hero-section {
        padding: 4rem;
        padding-top: calc(2rem + 56px);
    }

    .main-content {
        padding-top: 6rem;
        padding-bottom: 8rem;
        border-radius: 3rem 3rem 0 0;
        margin-top: -3rem;
        margin-bottom: -3rem;
    }

    .ticket-section {
        max-width: 720px;
        margin: 0 auto;
    }

    .event-details-group {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }
}
