/* Ported from in.css. Replace Olympiacos-specific values (colors, fonts, logo) when brand assets are available. */

@font-face {
    font-family: 'AvertaPE';
    src: url('/Site/StaticPages/ticketing-platform/fonts/AvertaPE-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AvertaPE';
    src: url('/Site/StaticPages/ticketing-platform/fonts/AvertaPE-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

:root {
    --in-color: #DA251D; /* Olympiacos official red */
    --primary-purple: #DC0D15;
    --color-primary-purple: #DC0D15;
    --color-primary-purple-hover: #AD0006;
    --color-primary-purple-active: #8a0005;
    --colors-prime-purple-prime-purple-700: #AD0006;
    --colors-prime-purple-prime-purple-900: #AD0006;
    --colors-prime-purple-prime-purple-50: #F3F6F9;
    --Colors-Prime-Purple-prime-purple-50: #F3F6F9;
    --in-dot-color: rgba(255, 255, 255, 0.3);
    --maxgridrow: 1640px;
    /* EVP-11405: joyride tour buttons + help icon/text use --color-purple */
    --color-purple: #DC0D15;
    --color-purple-hover: #AD0006;
    --color-purple-pressed: #8a0005;
    --color-purple-dark-link: #8a0005;
}

html {
    scrollbar-color: var(--in-color) #f4f5f6 !important;
    background-color: #DC0D15;
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:active,
::-webkit-scrollbar-thumb:hover {
    background-color: var(--in-color);
}

html body ::selection {
    background-color: #EDF1F6 !important;
    color: inherit;
}

html body ::-moz-selection {
    background-color: #EDF1F6 !important;
    color: inherit;
}

.eb-button--primary,
.eb-button--primary:link,
.eb-button--primary:visited {
    background-color: #DC0D15 !important;
    border-color: #DC0D15 !important;
    color: #FFFFFF !important;
}

.eb-button--primary:hover,
.eb-button--primary:focus,
.eb-button--primary:active {
    background-color: #AD0006 !important;
    border-color: #AD0006 !important;
    color: #FFFFFF !important;
}

.eb-button[disabled],
.eb-button--disabled,
.eb-button--disabled:hover,
.eb-button--soldout,
.eb-button--soldout:hover {
    background: #E9E8EC !important;
    border: none !important;
    box-shadow: none !important;
    color: #9897A9 !important;
    cursor: not-allowed !important;
}

.eb-button--link,
.eb-button--link:link,
.eb-button--link:visited,
.eb-button--link-primary,
.eb-button--link-primary:link,
.eb-button--link-primary:visited {
    color: #DC0D15 !important;
}

.eb-button--link:hover,
.eb-button--link:focus,
.eb-button--link-primary:hover,
.eb-button--link-primary:focus {
    color: #AD0006 !important;
}

.eb-button--green-border,
.eb-button--green-border:link,
.eb-button--green-border:visited {
    color: #DC0D15 !important;
    -webkit-box-shadow: 0 0 0 1px inset #DC0D15 !important;
    -moz-box-shadow: 0 0 0 1px inset #DC0D15 !important;
    box-shadow: 0 0 0 1px inset #DC0D15 !important;
}

.eb-button--green-border:hover,
.eb-button--green-border:focus {
    color: #AD0006 !important;
    -webkit-box-shadow: 0 0 0 1px inset #AD0006 !important;
    -moz-box-shadow: 0 0 0 1px inset #AD0006 !important;
    box-shadow: 0 0 0 1px inset #AD0006 !important;
}

/* ── Header top: red + CSS vertical stripes + centered logo ─────────────── */
.olympiacos-header-top {
    height: 107px;
    box-sizing: border-box;
    padding-top: 8px;
    background-color: #DC0D15;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.olympiacos-header-stripes {
    flex: 1;
    display: flex;
    align-self: stretch;
    overflow: hidden;
}

.olympiacos-header-stripes--left {
    flex-direction: row-reverse;
}

.olympiacos-header-stripes--right {
    flex-direction: row;
}

.olympiacos-header-stripes span {
    display: block;
    flex-shrink: 0;
    width: 50px;
    height: 100%;
}

._account_order_view_filter {
    text-decoration: underline;
}

    ._account_order_view_filter #dropdown-button {
        color: black;
    }

._account_profile_initials,
#account_menu_initials,
.on_boarding_generic_text {
    color: black;
}

.account_menu_fullname {
    color: black;
}

._account_menu_item_selected {
    background-color: #F3F6F9;
}

._account_order_count_number {
    color: black;
}

._account_prefix_items {
    max-height: calc(100vh - 545px);
}

._account_country_items {
    max-height: calc(100vh - 454px);
}

.onboarding_modal_dialog {
    top: 76px;
}

/* My Account modals: full-screen on mobile. */
@media (max-width: 991px) {
    :root {
        --olympiacos-mobile-header-height: 98px;
        --olympiacos-mobile-modal-height: calc((var(--vh, 1vh) * 100) - var(--olympiacos-mobile-header-height));
    }
    .modal.eb-modal {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        overflow: hidden;
        overscroll-behavior: none;
        touch-action: none;
    }

    .onboarding_modal_dialog,
    .account_profile_pic_modal,
    ._account_prefix_modal,
    ._account_country_modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    .onboarding_modal_content,
    .account_profile_pic_modal_content,
    ._account_prefix_modal_content,
    ._account_country_modal_content {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .onboarding_modal_body {
        height: 100% !important;
        max-height: 100% !important;
        overflow: hidden !important;
    }

    ._account_profile_pic_wrapper,
    ._account_prefix_wrapper,
    ._account_country_wrapper,
    ._account_city_wrapper {
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
    }

    ._account_prefix_items,
    ._account_country_items,
    ._account_city_items {
        flex: 1;
        overflow: auto;
        overscroll-behavior: contain;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }
}

.olympiacos-header-stripes--left span:nth-child(odd),
.olympiacos-header-stripes--right span:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.9);
}

.olympiacos-header-logo-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 64px;
}

.olympiacos-header-logo {
    height: 72px;
    width: auto;
    display: block;
}

.main-nav {
    background-color: transparent;
    --olympiacos-nav-left-gutter: max(30px, calc(50vw - 620px));
    --olympiacos-nav-right-edge: max(30px, calc(50vw - 613px));
}

.intercom-lightweight-app {
    display: none !important;
}

.promo_mobile {
    display: none;
    margin: 0 20px;
}

/* Empty logo anchor kept only for CDN JS compatibility — visually hidden on desktop */
.main-nav__logo--olympiacos {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Mobile nav logo — hidden by default, shown on mobile */
.olympiacos-nav-logo-mobile {
    display: none;
}

.main-nav__logo {
    padding-left: 16px;
    padding-right: 0;
    display: flex;
    align-items: center;
    height: 44px;
}

/* ── Social icons in nav bar ────────────────────────────────────────────── */
.olympiacos-nav-social {
    display: flex;
    align-items: center;
    gap: 3px;
    padding-left: var(--olympiacos-nav-left-gutter);
}

.olympiacos-nav-social__item {
    display: flex;
    flex-shrink: 0;
    text-decoration: none;
}

.olympiacos-nav-social__item:hover {
    opacity: 0.85;
}

/* ── Figma nav links: Εισιτήρια / Σύνδεση ──────────────────────────────── */
.olympiacos-nav-links {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 20px;
    height: 44px;
}

.olympiacos-nav-link,
.olympiacos-nav-link:visited,
.olympiacos-nav-link:active {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'AvertaPE', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
    white-space: nowrap;
    padding: 0 4px;
    height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
}

.olympiacos-nav-link:hover {
    text-decoration: none;
    border-bottom-color: #FFFFFF;
}

/* When hovering Σύνδεση/account area → suppress Εισιτήρια underline */
.olympiacos-nav-links:has(.olympiacos-account-wrapper:hover) > a.olympiacos-nav-link {
    border-bottom-color: transparent !important;
}

/* ── Account dropdown (full-width overlay) ───────────────────────────── */
.olympiacos-account-wrapper {
    position: static;
    display: flex;
    align-items: stretch;
    align-self: stretch;
}

.olympiacos-account-dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 102%;
    width: 100%;
    z-index: 10000;
    background: linear-gradient(180deg, #DC0D15 0%, #AD0007 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.olympiacos-account-wrapper.olympiacos-account--open {
}

/* When hovering Εισιτήρια → suppress account link active underline */
.olympiacos-nav-links > a.olympiacos-nav-link:hover ~ .olympiacos-account-wrapper > .olympiacos-nav-link--active {
    border-bottom-color: transparent !important;
}

.olympiacos-account-wrapper.olympiacos-account--open .olympiacos-nav-link {
    text-decoration: none !important;
}

.olympiacos-account--open .olympiacos-account-dropdown {
    display: block;
}

.olympiacos-account-dropdown__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0 12px var(--olympiacos-nav-left-gutter);
}

.olympiacos-account-dropdown__item,
.olympiacos-account-dropdown__item:visited,
.olympiacos-account-dropdown__item:active {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'AvertaPE', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

.olympiacos-account-dropdown__item:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.olympiacos-nav-link--active {
    border-bottom: 2px solid #FFFFFF !important;
    text-decoration: none !important;
}

.main-nav__inner {
    position: relative;
    height: 44px;
    background-color: #DC0D15;
    padding-bottom: 0;
    border-bottom: 3px solid #AD0006;
    overflow: visible !important;
}

.main-nav__inner a,
.main-nav__inner a:hover,
.main-nav__inner a:active,
.main-nav__inner a:visited {
    font-family: 'AvertaPE', Arial, sans-serif;
}

.eventImageContainer {
    position: relative;
}

/* ── Powered by more.com ────────────────────────────────────────────────── */
.powered-by-anchor {
    margin-left: 40px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    height: 44px;
}

.powered-by-more-logo {
    display: block;
    height: 22px;
    width: auto;
}

.list-container__link,
.list-container__link:visited,
.list-container__link:active,
.list-container__link:hover {
    color: white;
    height: 44px;
    padding-top: 13px;
    padding-bottom: 10px;
}

.list-container__more .list-container__link--active {
    border-bottom: none !important;
    text-decoration: none !important;
}

.list-container__list {
    width: unset;
    top: 44px;
}

.list-container__list-item-wrapper {
    padding: 2px 8px;
}

.list-container__list-item-wrapper:first-of-type {
    padding-top: 8px;
}

.list-container__list-item-wrapper:last-of-type {
    padding-bottom: 8px;
}

.list-container__list-item,
.list-container__list-item:hover {
    line-height: 36px !important;
    height: 36px !important;
    padding: 0px 16px;
    border-radius: 8px;
}

.list-container__list-item:hover,
.list-container__more .list-container__link--active:hover {
    background-color: #EDF1F6 !important;
}

.list-container__link:hover,
.list-container--open .list-container__link,
.list-container__link--active {
    background-color: rgba(255, 255, 255, 0.0) !important;
    border-bottom: none !important;
    text-decoration: underline !important;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px !important;
}

.olympiacos-grid-container {
    padding: 0px 10px;
    margin: 0px auto;
    max-width: var(--maxgridrow);
}

/* ── Language switcher: flag-only button + EL/EN dropdown ───────────────── */
.olympiacos-lang-settings {
    display: flex;
    align-items: center;
    height: 44px;
    padding-right: var(--olympiacos-nav-right-edge);
    flex-shrink: 0;
    position: relative;
}

.olympiacos-lang-switcher {
    position: relative;
}

.olympiacos-lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    padding: 4px 10px 4px 6px;
    height: 32px;
    color: #FFFFFF;
    line-height: 1;
}

.olympiacos-lang-switcher__btn:hover {
    background: rgba(0, 0, 0, 0.3);
}

.olympiacos-lang-flag {
    display: block;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background-size: cover !important;
    background-position: center !important;
    flex-shrink: 0;
}

.olympiacos-lang-chevron {
    display: block;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.olympiacos-lang-switcher__btn[aria-expanded="true"] .olympiacos-lang-chevron {
    transform: rotate(180deg);
}

.olympiacos-lang-switcher__menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #b00a11;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    min-width: 50px;
    z-index: 10001;
    overflow: hidden;
}

.olympiacos-lang-switcher__menu--open {
    display: block;
}

.olympiacos-lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    color: #222222;
    text-decoration: none;
    font-family: 'AvertaPE', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.olympiacos-lang-option:hover {
    background-color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

.olympiacos-lang-option--active {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: -2px;
    border-radius: 3px;
}

/* ── Custom mobile drawer ───────────────────────────────────────────────── */
.olympiacos-drawer-icon {
    display: block;
    width: 24px;
    height: 24px;
}

.olympiacos-drawer-icon--close {
    display: none !important;
}

.olympiacos-drawer--active .olympiacos-drawer-icon--open {
    display: block !important;
}

.olympiacos-drawer--active .olympiacos-drawer-icon--close {
    display: none !important;
}

.olympiacos-drawer-panel {
    display: none;
}

/* ── Sticky footer layout ────────────────────────────────────────────────── */
#ui-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#ui-page {
    flex: 1 0 auto;
}

footer.olympiacos-footer {
    flex-shrink: 0;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.olympiacos-footer {
    width: 100%;
    background-color: #DC0D15;
    font-family: 'AvertaPE', Arial, sans-serif;
    border-top: none !important;
    background-image: none !important;
}

/* Remove CDN footer gradient line */
.olympiacos-footer::before,
.olympiacos-footer::after,
footer::before,
footer::after {
    display: none !important;
    content: none !important;
}

footer.olympiacos-footer,
.olympiacos-footer {
    border-top: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

.olympiacos-footer__inner {
    display: flex;
    align-items: center;
    padding: 0 max(20px, calc(50vw - 617px));
}

.olympiacos-footer__main {
    padding: 16px 0 12px;
}

.olympiacos-footer__logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    margin-right: 48px;
}

.olympiacos-footer__logo {
    height: 52px;
    width: auto;
    display: block;
}

.olympiacos-footer__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.olympiacos-footer__social-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.olympiacos-footer__follow-label {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    white-space: nowrap;
    margin-right: 6px;
}

.olympiacos-footer__social-item {
    display: flex;
    flex-shrink: 0;
    text-decoration: none;
}

.olympiacos-footer__social-item:hover {
    opacity: 0.85;
}

.olympiacos-footer__links-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.olympiacos-footer__link,
.olympiacos-footer__link:visited {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.olympiacos-footer__link:hover {
    text-decoration: underline;
}

.olympiacos-footer__sep {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.olympiacos-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 0;
}

.olympiacos-footer__inner--bottom {
    justify-content: space-between;
}

.olympiacos-footer__copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
}

.olympiacos-footer__powered-by-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.olympiacos-footer__powered-by-logo {
    display: block;
    height: 20px;
    width: auto;
}

@media (max-width: 1680px) {
    :root {
        --maxgridrow: calc(100vw - 40px);
    }
}


@media (max-width: 991px) {
    html:not(.touch) .list-container__link:hover,
    .list-container--open .list-container__link {
        background-color: rgba(255, 255, 255, 0.0) !important;
    }

    .powered-by-anchor {
        display: none !important;
    }

    /* Social icons and nav links move into the drawer on mobile */
    .olympiacos-nav-social {
        display: none !important;
    }

    .olympiacos-nav-links {
        display: none !important;
    }

    .main-nav__logo {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Suppress CDN native white drawer — we use our custom red drawer */
    .main-nav__list {
        display: none !important;
    }

    /* Stripe bar: 8 squares edge-to-edge, 5px red band on top.
       Box width = 6% (≈23px at 390px = square), 7 equal gaps between boxes. */
    .olympiacos-header-top {
        height: 28px;
        box-sizing: content-box;
        padding-top: 0;
        background-color: #DC0D15;
        background-image: linear-gradient(90deg,
            rgba(255,255,255,0.9)  0%,    rgba(255,255,255,0.9)  6%,
            transparent            6%,    transparent           13.43%,
            rgba(255,255,255,0.9) 13.43%, rgba(255,255,255,0.9) 19.43%,
            transparent           19.43%, transparent           26.86%,
            rgba(255,255,255,0.9) 26.86%, rgba(255,255,255,0.9) 32.86%,
            transparent           32.86%, transparent           40.29%,
            rgba(255,255,255,0.9) 40.29%, rgba(255,255,255,0.9) 46.29%,
            transparent           46.29%, transparent           53.71%,
            rgba(255,255,255,0.9) 53.71%, rgba(255,255,255,0.9) 59.71%,
            transparent           59.71%, transparent           67.14%,
            rgba(255,255,255,0.9) 67.14%, rgba(255,255,255,0.9) 73.14%,
            transparent           73.14%, transparent           80.57%,
            rgba(255,255,255,0.9) 80.57%, rgba(255,255,255,0.9) 86.57%,
            transparent           86.57%, transparent           94%,
            rgba(255,255,255,0.9) 94%,    rgba(255,255,255,0.9) 100%
        );
        background-size: 100% 23px;
        background-position: 0 5px;
        background-repeat: no-repeat;
        align-items: center;
        justify-content: flex-start;
        position: static;
    }

    .olympiacos-header-stripes {
        display: none;
    }

    /* Hide the desktop logo — logo moves into the nav bar on mobile */
    .olympiacos-header-logo-link {
        display: none;
    }

    /* Nav bar: 70px on mobile — strip ALL CDN padding */
    .main-nav__inner {
        height: 70px !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    /* Hamburger: order 1 (leftmost), fills height, centers icon */
    .main-nav__drawer {
        order: 1 !important;
        flex: 0 0 auto !important;
        height: 70px !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .main-nav__drawer .list-container {
        height: 70px !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .main-nav__drawer .list-container__link,
    .main-nav__drawer .list-container__link:visited,
    .main-nav__drawer .list-container__link:hover {
        height: 70px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Logo: order 2 (center), flex-grow fills the middle space */
    .main-nav__logo--olympiacos {
        order: 2 !important;
        flex: 1 1 0 !important;
        position: static !important;
        transform: none !important;
        height: 70px !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: auto;
    }

    .olympiacos-nav-logo-mobile {
        display: block !important;
        height: 46px !important;
        width: auto !important;
        max-width: 180px !important;
        max-height: 46px !important;
        object-fit: contain !important;
        flex-shrink: 0;
        transform: translateY(-8px);
    }

    /* EVP-11421: On account pages, header-minisite.js restores the burger. Use absolute
       centering for the logo since drawer (32px) and lang-settings (82px) are unequal. */
    html.olympiacos_page .main-nav__inner {
        position: relative;
    }

    html.olympiacos_page .main-nav__logo--olympiacos {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        width: fit-content !important;
        flex: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: visible !important;
        pointer-events: auto !important;
    }

    html.olympiacos_page .olympiacos-lang-settings {
        margin-left: auto !important;
    }

    /* Language selector: order 3 (rightmost) */
    .olympiacos-lang-settings {
        order: 3 !important;
        flex: 0 0 auto !important;
        margin-left: 0 !important;
        height: 70px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    header.main-nav {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    #ui-wrap {
        padding-top: var(--olympiacos-mobile-header-height);
    }

    .olympiacos-drawer-panel--open {
        display: block;
        position: fixed;
        top: var(--olympiacos-mobile-header-height); /* 28px stripe + 70px nav = 98px */
        left: 0;
        width: 260px;
        bottom: 0;
        z-index: 9999;
        background-color: #DC0D15;
        overflow-y: auto;
        box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25);
    }

    .olympiacos-drawer-panel__link,
    .olympiacos-drawer-panel__link:visited {
        display: block;
        color: #FFFFFF;
        font-size: 16px;
        font-weight: 600;
        padding: 16px 20px;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
        box-sizing: border-box;
    }

    .olympiacos-drawer-panel__link--active {
        border-left: 3px solid #FFFFFF;
        padding-left: 17px;
    }

    .olympiacos-drawer-panel--active-account .olympiacos-drawer-account-row {
        border-left: 3px solid #FFFFFF;
        padding-left: 17px;
    }

    /* ── Drawer account accordion ──────────────────────────────────────── */
    .olympiacos-drawer-account-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .olympiacos-drawer-account-label,
    .olympiacos-drawer-account-label:visited {
        flex: 1;
        align-self: stretch;
        display: flex;
        align-items: center;
        color: #FFFFFF;
        text-decoration: none;
    }

    .olympiacos-drawer-account-chevron-btn {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .olympiacos-drawer-chevron {
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }

    .olympiacos-drawer-account-chevron-btn[aria-expanded="true"] .olympiacos-drawer-chevron {
        transform: rotate(180deg);
    }

    .olympiacos-drawer-account-submenu {
        background: linear-gradient(180deg, #DB0D15 0%, #AD0006 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .olympiacos-drawer-account-submenu[hidden] {
        display: none;
    }

    .olympiacos-drawer-account-item,
    .olympiacos-drawer-account-item:visited {
        display: block;
        color: #FFFFFF;
        font-size: 16px;
        font-weight: 400;
        padding: 10px 20px;
        text-decoration: none;
    }

    .olympiacos-drawer-account-item:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    .olympiacos-drawer-panel__social {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 16px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .olympiacos-drawer-panel__social .olympiacos-nav-social__item svg {
        width: 24px;
        height: 24px;
    }

}

/* ── Cookie banner: override purple with Olympiacos red ─────────────────── */
.cc-btn--accept,
.cc-btn--reject {
    background-color: #DC0D15 !important;
    border-color: #DC0D15 !important;
    color: #FFFFFF !important;
    text-shadow: none !important;
}

.cc-btn--accept:hover,
.cc-btn--accept:focus,
.cc-btn--reject:hover,
.cc-btn--reject:focus {
    background-color: #AD0006 !important;
    border-color: #AD0006 !important;
}

.cc-type-check input[type="checkbox"]:checked:not(:disabled) + label::after,
.cc-type-check input[type="checkbox"]:checked:not(:disabled) + span::after,
.cc-checkbox input[type="checkbox"]:checked:not(:disabled) + label::after,
.cc-checkbox input[type="checkbox"]:checked:not(:disabled) + span::after {
    border-color: #DC0D15 !important;
    color: #DC0D15 !important;
}

@media (max-width: 768px) {
    #ui-page:has([id$="eventContainer"]) {
        padding-bottom: 44px;
    }

    .olympiacos-footer__main {
        padding: 20px 0 16px;
    }

    .olympiacos-footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .olympiacos-footer__logo-link {
        margin-right: 0;
    }

    .olympiacos-footer__right {
        align-items: flex-start;
        width: 100%;
    }

    /* Stack links vertically, no separators */
    .olympiacos-footer__links-row {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 4px;
    }

    .olympiacos-footer__sep {
        display: none;
    }

    /* Hide "FOLLOW US:" / "ΑΚΟΛΟΥΘΗΣΤΕ ΜΑΣ:" label */
    .olympiacos-footer__follow-label {
        display: none;
    }

    .olympiacos-footer__inner--bottom {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 620px) {
    .poweredbyviva {
        display: none !important;
    }

    .charges-label {
        display: none;
    }

    .promo_web {
        display: none;
    }

    .promo_mobile {
        display: block;
    }

    .phone-reservations-label {
        display: none;
    }
}

/* ── EVP-11417: My Account — tick color + input focus color ──────────────────
   The country/prefix/gender tick icon (/site/images/tick.svg) has a hardcoded
   purple stroke (#703EFF). Use a CSS filter to shift it to the Olympiacos green
   (#28BE63): hue-rotate from 262° to 144° = +242°, desaturate, darken slightly. */
._account_select_item_img {
    filter: brightness(0) saturate(100%) invert(57%) sepia(55%) saturate(490%) hue-rotate(100deg) brightness(98%) contrast(90%);
}

/* Password-change input focus/active border: override --primary-purple red → dark blue */
.input_focus,
.input_focus:not(:placeholder-shown),
.input_ctlr:not(:placeholder-shown) {
    border-color: #0D0C1C !important;
}

.label_ctlr_focus {
    color: #0D0C1C !important;
}

@media (max-width: 530px) {
    .main-nav__logo {
        padding-left: 12px;
        padding-right: 12px;
    }

    .olympiacos-nav-logo-mobile {
        height: 50px !important;
        max-height: 50px !important;
    }
}

@media (max-width: 599px) {
    .olympiacos-footer__follow-label,
    .olympiacos-footer__link,
    .olympiacos-footer__link:visited,
    .olympiacos-footer__sep,
    .olympiacos-footer__copyright {
        font-size: 12px;
    }
}

/* EVP-11407: Season tickets before Event tickets in the filter dropdown */
html.olympiacos_page [id$="FilterSeason"] { order: 1; }
html.olympiacos_page [id$="FilterEvent"]  { order: 2; }

/* EVP-11765: Hide mobile logout button — logout is already in the burger menu */
html.olympiacos_page ._account_logout_mobile_link_container { display: none; }

/* Modals must cover the header. login.css (loaded via Onboarding.master) sets
   .modal-backdrop { z-index: 10 !important } which places it behind the header
   (z-index 18 on desktop, 1000 on mobile). Override both backdrop and dialog. */
html.olympiacos_page .modal-backdrop {
    z-index: 1200 !important;
}

html.olympiacos_page .modal {
    z-index: 1201 !important;

  /* OTP verification inputs: override blue bottom border → black */
html.olympiacos_page ._account_reset_verfication_item {
    border-color: #0D0C1C;
}
