@charset "UTF-8";

/* ==========================================================================
   IMPORTS
   ========================================================================== */
/* Imports: Montserrat para el body */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Fuente oficial de la Supercopa para titulos (archivo propio, subido a vuestro bucket) */
@font-face {
    font-family: "La Roja";
    src: url("https://client-dists-resources.s3.amazonaws.com/channels-client/supercopa/assets/fonts/La_Roja-VF.ttf") format("truetype");
    /* Fuente variable: grosor 400-700 */
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /*Fonts*/
    --theme-font-family: "Montserrat", sans-serif;
    /* Navbar */
    --ob-nav-text-color: #FFF;
    --ob-nav-list-active-bg-color: #ff0037;
    /* El fondo del navbar se aplica en la sección 1 */

    /* Color primary */
    --theme-primary-50: #E5E5E6;
    --theme-primary-100: #C0C0C2;
    --theme-primary-200: #96969A;
    --theme-primary-300: #69696F;
    --theme-primary-400: #44444B;
    --theme-primary-500: #15151E;
    --theme-primary-600: #13131B;
    --theme-primary-700: #111118;
    --theme-primary-800: #0F0F15;
    --theme-primary-900: #0B0B10;
    --theme-primary-A100: #C0C0C2;
    --theme-primary-A200: #96969A;
    --theme-primary-A400: #44444B;
    --theme-primary-A700: #111118;

    /* CONTRASTES */
    --theme-primary-contrast-50: #212121;
    --theme-primary-contrast-100: #212121;
    --theme-primary-contrast-200: #212121;
    --theme-primary-contrast-300: #FFFFFF;
    --theme-primary-contrast-400: #FFFFFF;
    --theme-primary-contrast-500: #FFFFFF;
    --theme-primary-contrast-600: #FFFFFF;
    --theme-primary-contrast-700: #FFFFFF;
    --theme-primary-contrast-800: #FFFFFF;
    --theme-primary-contrast-900: #FFFFFF;
    --theme-primary-contrast-A100: #212121;
    --theme-primary-contrast-A200: #212121;
    --theme-primary-contrast-A400: #FFFFFF;
    --theme-primary-contrast-A700: #FFFFFF;

    /* Footer: filtro del logo */
    --ob-custom-logo-filter: brightness(80);
}

/* ==========================================================================
   INDEX
   0 - GENERAL
   1 - NAVBAR
   2 - BILLBOARD
   3 - FOOTER
   4 - BUTTON
   5 - CUSTOM FOOTER
   6 - NOTICE BANNER MULTILENGUAJE ("ob-page-full-checkout")
   7 - HOTFIXES & BUG FIXES
   8 - PRRICEZONES CUSTOM ORDENING BY EVENT
   9 - HIDDEN ELEMENTS
   10 - TEXT OVERRIDES & LOCALIZATED VENUE NAMES
   ========================================================================== */

/* ==========================================================================
   0 - GENERAL
   ========================================================================== */


/* Titulos: Estrecha Bold 
h1,
h2,
h3 {
    font-family: "La Roja", sans-serif !important;
    font-weight: 700 !important;
    /* Ancho: 0 = Estrecha, 1000 = Ancha
    font-variation-settings: "wdth" 0;
} */

/*background login
.background-blur {
    background-image: url('https://client-dists-resources.s3.amazonaws.com/channels-client/supercopa-b2b/img/background.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}*/

/* ==========================================================================
   1 - NAVBAR
   ========================================================================== */
mat-toolbar.ob-top-bar {
    background-color: #15151E;
}

/* Carrito vacío (botón deshabilitado) visible pero tenue */
button.mdc-button.mat-mdc-button-base.mat-mdc-button.mat-mdc-button-disabled.mat-unthemed.ng-star-inserted {
    color: #ffffff73;
}

/* ==========================================================================
   2 - BILLBOARD
   ========================================================================== */
/* Gift card: texto blanco sobre rojo (el amarillo sobre rojo no tiene contraste) */
.gift-card {
    background-color: #ff0037 !important;
    color: #fff !important;
}

aside.gift-card a {
    color: #fff !important;
    text-decoration: underline;
}

/* Card */
.content {
    background-color: #fff;
    padding: 16px !important;
}

.ob-image-container {
    border-radius: 0px !important;
}


ob-page-events section.main-container {
    background-color: transparent;
}

ob-catalog-card {
    box-shadow: 0 10px 10px -2px rgba(33, 33, 33, .1);
}

/* ==========================================================================
   3 - FOOTER
   ========================================================================== */
/* Footer: fondo rojo Supercopa */
ob-footer.main-footer {
    background-color: #aca39a;
}

/* Color de links, copyright y textos del subfooter */
ob-footer.main-footer,
ob-footer.main-footer a,
ob-footer.main-footer span.footer-copyright,
ob-footer.main-footer span.justify-end {
    color: #15151E !important;
}

/* Botón de idioma e icono del subfooter */
ob-footer.main-footer span.mdc-button__label,
ob-footer.main-footer mat-icon.mat-icon {
    color: #15151E !important;
    font-weight: 400;
}

/* Borde blanco del botón de idioma */
ob-footer.main-footer ob-button>.mat-mdc-outlined-button {
    border: 1px solid #15151E !important;
}

/* Texto "powered by" */
ob-footer.main-footer section.items-center {
    color: #15151E;
}

/* Forzar logo "powered by fever" */
.fever-logo {
    display: block !important;
}

.onebox-logo {
    display: none;
}

/* ==========================================================================
   4 - BUTTON
   ========================================================================== */
/* Botones de acción principales en amarillo */
ob-button .mat-mdc-unelevated-button,
ob-button .mat-mdc-raised-button,
button.mat-mdc-unelevated-button.mat-primary {
    background-color: #ff0037 !important;
    /* texto oscuro sobre el amarillo (el blanco no tiene contraste) */
    color: #fff !important;
    border: 2px solid #ff0037 !important;
    border-radius: 20px !important;
}

/* Hover: fondo rojo con texto blanco */
ob-button .mat-mdc-unelevated-button:hover,
ob-button .mat-mdc-raised-button:hover,
button.mat-mdc-unelevated-button.mat-primary:hover {
    background-color: #ff0037 !important;
    color: #fff !important;
    border: 2px solid #ff0037 !important;
}

/* La etiqueta necesita ser contenedor relativo */
ob-button .mdc-button__label {
    position: relative;
}

/* La linea, oculta por defecto (width 0) */
ob-button .mdc-button__label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: currentColor;
    /* mismo color que el texto */
    transition: width 0.25s ease;
}

/* Al hacer hover, la linea crece hasta el 100% */
ob-button button:hover .mdc-button__label::after {
    width: 100%;
}

/* ==========================================================================
   5 - CUSTOM FOOTER
   ========================================================================== */

/*Main dark background container*/
.partners-section {
    width: 100%;
    background-color: #15151E;
    padding: 60px 20px;
    box-sizing: border-box;
}

/*Width constraint (max 1400px centered)*/
.partners-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

/*Partner category group*/
.partners-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/*Gold / bronze section titles*/
.partners-title {
    color: #9f8a70;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 28px 0;
    text-align: center;
    font-family: inherit;
}

/*Logo row: always in horizontal alignment*/
.partners-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 48px;
    width: 100%;
}

/*Active base links with href attribute*/
.partner-item[href] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-item[href]:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/*Standard logo dimensions (Desktop)*/
.partner-item img {
    /*height: 52px;*/
    max-width: 180px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-top: 24px;
}

.adidas-logo img {
   height: 80px !important;
}

/*Inactive placeholder slot (without href): reserves space with no hover or clicks via pure CSS*/
.partner-item:not([href]),
.partner-item.partner-slot-empty {
    display: inline-flex;
    width: 190px;
    height: 52px;
    pointer-events: none;
    cursor: default;
    opacity: 0;
}

/*Applies CSS brightness and inversion filters to turn all partner logos monochrome white, preserving alpha transparency*/

.partners-section .partner-item img {
    filter: brightness(0) invert(1) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

/*Optional: Slight opacity on idle, full brightness on hover for interactivity*/
.partners-section .partner-item:hover img {
    opacity: 0.8 !important;
}

/* ==========================================================================
   Mobile Responsive Overrides
   ========================================================================== */
@media screen and (max-width: 768px) {
    .partners-section {
        padding: 40px 12px;
    }

    .partners-container {
        gap: 36px;
    }

    .partners-title {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 18px;
    }

    .partners-row {
        gap: 20px;
    }

    .partner-item img {
        height: 32px;
        max-width: 120px;
    }

    .partner-item:not([href]),
    .partner-item.partner-slot-empty {
        width: 120px;
        height: 32px;
    }
}

/* ==========================================================================
   6 - NOTICE BANNER MULTILENGUAJE ("ob-page-full-checkout")
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Shared Base Container / Banner Styles
   -------------------------------------------------------------------------- */
ob-page-full-checkout div.panels-container::before {
    /* Block-level display to ensure it sits cleanly above the input grid */
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 8px 0 20px 0 !important;
    padding: 14px 18px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: var(--theme-info) !important;
    font-weight: 500 !important;
    background-color: var(--theme-info-light) !important;
    border: 1px solid var(--theme-info) !important;
    border-radius: 6px !important;
}

/* --------------------------------------------------------------------------
   2. Content Variations based on the document's <html> lang attribute
   -------------------------------------------------------------------------- */

/* Spanish (serves as default fallback if no lang attribute is set) */
ob-page-full-checkout div.panels-container::before,
html[lang^="es"] ob-page-full-checkout div.panels-container::before {
    content: "Importante: tus datos deben coincidir exactamente con tu documento original (T.C. Kimlik para ciudadanos turcos, pasaporte para internacionales). Serán verificados por las autoridades el día del partido." !important;
}

/* English */
html[lang^="en"] ob-page-full-checkout div.panels-container::before {
    content: "Important: your details must exactly match your original document (T.C. Kimlik for Turkish citizens, passport for international visitors). They will be verified by the authorities on match day." !important;
}

/* Turkish */
html[lang^="tr"] ob-page-full-checkout div.panels-container::before {
    content: "Önemli: Girilen bilgiler resmi evraklarınız ile birebir aynı olmalıdır (T.C. vatandaşları için T.C. kimlik kartı, yabancılar için pasaport). Bilet ve geçerli kimlik belgeniz, maç günü yetkililer tarafından kontrol edilecektir." !important;
}

/* Arabic (includes right-to-left layout and flipped accent border) */
html[lang^="ar"] ob-page-full-checkout div.panels-container::before {
    content: "هام: يجب أن تتطابق بياناتك تماماً مع وثيقتك الأصلية (الهوية التركية للمواطنين الأتراك، وجواز السفر للزوّار الدوليين). ستتحقق منها السلطات يوم المباراة." !important;
    direction: rtl !important;
    text-align: right !important; 
    border: 1px solid var(--theme-info) !important;
}


/* --------------------------------------------------------------------------
   3. Responsive Design for Mobile Screens
   -------------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
    ob-page-full-checkout div.panels-container::before {
        font-size: 12.5px !important;
        padding: 12px 14px !important;
        margin-bottom: 16px !important;
    }
}


/* ==========================================================================
   7 - HOTFIXES & BUG FIXES
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fix: SVG Graphic Container Alignment
   Applies vertical top spacing exclusively on desktop viewports (769px and wider).
   Mobile devices remain unaffected, preserving their default layout behavior.
   -------------------------------------------------------------------------- */
@media screen and (min-width: 769px) {
    .ob-svg-container {
        margin-top: 2% !important; /* Dynamically scale top offset on desktop */
    }
}

/* --------------------------------------------------------------------------
   Fix: Hide GDPR Title in Modal Content
   Target: First inner div containing the static 'GDPR' text label.
   Condition: Applied exclusively to English (en), Turkish (tr), and Arabic (ar) locales.
   Preserves the following paragraph, privacy link, and leaves Spanish (es) visible.
   -------------------------------------------------------------------------- */
html[lang^="en"] mat-dialog-content > div.ng-star-inserted > div.ng-star-inserted:first-child,
html[lang^="tr"] mat-dialog-content > div.ng-star-inserted > div.ng-star-inserted:first-child,
html[lang^="ar"] mat-dialog-content > div.ng-star-inserted > div.ng-star-inserted:first-child {
    display: none !important;
}

/* ==========================================================================
   8 - PRRICEZONES CUSTOM ORDENING BY EVENT
   ========================================================================== */

/* --------------------------------------------------------------------------
   Event: FC Barcelona vs Atlético de Madrid - TUE, 2 Feb 2027 - 22:00 (Event ID: 61545)
   -------------------------------------------------------------------------- */

/* Tier 1: Centre prime (Highest stadium tier / Prime center view) */
.eventId-61545 ob-pricezone-box#pricezoneId-430040 {
    order: 1 !important;
}

/* Tier 2: Centre stand (Main grandstand center view) */
.eventId-61545 ob-pricezone-box#pricezoneId-430041 {
    order: 2 !important;
}

/* Tier 3: Side lower (Lower bowl sideline view) */
.eventId-61545 ob-pricezone-box#pricezoneId-430042 {
    order: 3 !important;
}

/* Tier 4: Side upper (Upper tier sideline view) */
.eventId-61545 ob-pricezone-box#pricezoneId-430043 {
    order: 4 !important;
}

/* Tier 5: Corner lower (Lower bowl corner view) */
.eventId-61545 ob-pricezone-box#pricezoneId-430044 {
    order: 5 !important;
}

/* Tier 6: Corner upper (Upper tier corner view) */
.eventId-61545 ob-pricezone-box#pricezoneId-430045 {
    order: 6 !important;
}

/* Tier 7: Behind goal lower (Lower section behind the goals) */
.eventId-61545 ob-pricezone-box#pricezoneId-430046 {
    order: 7 !important;
}

/* Tier 8: Behind goal upper (Upper section behind the goals) */
.eventId-61545 ob-pricezone-box#pricezoneId-430047 {
    order: 8 !important;
}

/* Tier 9: Visitor (Designated away fans seating section) */
.eventId-61545 ob-pricezone-box#pricezoneId-430048 {
    order: 9 !important;
}

/* --------------------------------------------------------------------------
   Event: Real Sociedad vs Real Madrid - WED, 3 Feb 2027 - 22:00 (Event ID: 61545)
   -------------------------------------------------------------------------- */

/* Tier 1: Centre prime */
.eventId-61545 ob-pricezone-box#pricezoneId-430053 {
    order: 1 !important;
}

/* Tier 2: Centre stand */
.eventId-61545 ob-pricezone-box#pricezoneId-430054 {
    order: 2 !important;
}

/* Tier 3: Side lower */
.eventId-61545 ob-pricezone-box#pricezoneId-430055 {
    order: 3 !important;
}

/* Tier 4: Side upper */
.eventId-61545 ob-pricezone-box#pricezoneId-430056 {
    order: 4 !important;
}

/* Tier 5: Corner lower */
.eventId-61545 ob-pricezone-box#pricezoneId-430057 {
    order: 5 !important;
}

/* Tier 6: Corner upper */
.eventId-61545 ob-pricezone-box#pricezoneId-430058 {
    order: 6 !important;
}

/* Tier 7: Behind goal lower */
.eventId-61545 ob-pricezone-box#pricezoneId-430059 {
    order: 7 !important;
}

/* Tier 8: Behind goal upper */
.eventId-61545 ob-pricezone-box#pricezoneId-430060 {
    order: 8 !important;
}

/* Tier 9: Visitor */
.eventId-61545 ob-pricezone-box#pricezoneId-430061 {
    order: 9 !important;
}

/* --------------------------------------------------------------------------
   Event: Final - SAT, 6 Feb 2027 - 22:00 (Event ID: 61545)
   -------------------------------------------------------------------------- */

/* Tier 1: Centre prime */
.eventId-61545 ob-pricezone-box#pricezoneId-430064 {
    order: 1 !important;
}

/* Tier 2: Centre stand */
.eventId-61545 ob-pricezone-box#pricezoneId-430065 {
    order: 2 !important;
}

/* Tier 3: Side lower */
.eventId-61545 ob-pricezone-box#pricezoneId-430066 {
    order: 3 !important;
}

/* Tier 4: Corner lower (pitch-side) */
.eventId-61545 ob-pricezone-box#pricezoneId-430067 {
    order: 4 !important;
}

/* Tier 5: Side upper */
.eventId-61545 ob-pricezone-box#pricezoneId-430068 {
    order: 5 !important;
}

/* Tier 6: Corner lower */
.eventId-61545 ob-pricezone-box#pricezoneId-430069 {
    order: 6 !important;
}

/* Tier 7: Corner upper */
.eventId-61545 ob-pricezone-box#pricezoneId-430070 {
    order: 7 !important;
}

/* Tier 8: Behind goal lower */
.eventId-61545 ob-pricezone-box#pricezoneId-430071 {
    order: 8 !important;
}

/* Tier 9: Behind goal upper */
.eventId-61545 ob-pricezone-box#pricezoneId-430072 {
    order: 9 !important;
}

/* Tier 10: Visitor */
.eventId-61545 ob-pricezone-box#pricezoneId-430073 {
    order: 10 !important;
}

/* Tier 11: PRM (Sold out fallback) */
.eventId-61545 ob-pricezone-box#pricezoneId-430075 {
   display:  none;
}

/*==========================================================================
  9 - HIDDEN ELEMENTS
   ==========================================================================*/
   
/*Hide 'Accessibility Statement' and trailing separator in footer*/
section.footer-links > button:last-of-type,
section.footer-links > span[role="separator"]:last-of-type {
    display: none !important;
}

/*Hides the "My Season Tickets" action button inside the dropdown menu*/
button.mat-mdc-menu-item[data-testid="my-season-tickets"] {
    display: none !important;
}

/*==========================================================================
  10 - TEXT OVERRIDES & LOCALIZATED VENUE NAMES
   ==========================================================================*/

/*Hides default venue text only when the active language is Turkish (FC Barcelona vs Atlético de Madrid - WED, 3 Feb 2027 - 22:00)*/
html[lang="tr"] ob-page-select-locations.eventId-61545.sessionId-3066649 .place .ob-event-location-venue {
    font-size: 0 !important;
    display: inline-block !important;
}

/*Injects custom Turkish stadium name via pseudo-element (FC Barcelona vs Atlético de Madrid - WED, 3 Feb 2027 - 22:00)*/
html[lang="tr"] ob-page-select-locations.eventId-61545.sessionId-3066649 .place .ob-event-location-venue::after {
    content: "Fenerbahçe Şükrü Saracoğlu Stadyumu" !important;
    font-size: var(--theme-body-2-font-size, 14px) !important;
    visibility: visible !important;
}
