﻿@font-face {
    font-family: 'Euronics';
    src: url('/assets/fonts/euronics-font/EuronicsRegular.woff2') format('woff2'), url('/assets/fonts/euronics-font/EuronicsRegular.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Euronics';
    src: url('/assets/fonts/euronics-font/EuronicsBlack.woff2') format('woff2'), url('/assets/fonts/euronics-font/EuronicsBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Euronics';
    src: url('/assets/fonts/euronics-font/EuronicsHeavy.woff2') format('woff2'), url('/assets/fonts/euronics-font/EuronicsHeavy.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/*
@font-face {
    font-family: 'Como';
    src: url('/assets/fonts/euronics-font/ComoSemiBold.woff2') format('woff2'), url('/assets/fonts/euronics-font/ComoSemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
*/

@font-face {
    font-family: 'EuronicsPrice';
    src: url('/assets/fonts/euronics-font/EURONICSPricefontV1000Bold.woff2') format('woff2'), url('/assets/fonts/euronics-font/EURONICSPricefontV1000Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: 'Euronics', sans-serif;
}

.container {
    margin-left: auto;
    margin-right: auto;
}

/* HELPER STYLE */
.m-percent-1 {
    margin-left: 1%;
    margin-right: 1%;
    width: 98% !important
}

/* BUTTON LOADING */
@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

button[loading] {
    position: relative;
    opacity: .6;
    pointer-events: none;
    user-select: none;
    padding-right: 2.75em;
}

    button[loading]::after {
        content: "";
        position: absolute;
        top: 50%;
        right: .75em;
        width: 1em;
        height: 1em;
        margin-top: -0.5em;
        border: 2px solid currentColor;
        border-left-color: transparent;
        border-radius: 50%;
        animation: btn-spin .6s linear infinite;
    }

/*SWIPER*/
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: yellow !important;
}

/* MODAL */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    transition: opacity 0.2s;
    opacity: 1;
    pointer-events: auto;
}

    .modal-backdrop.hidden2 {
        opacity: 0;
        pointer-events: none;
    }

.modal-panel {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    max-width: 28rem;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 50;
    transform: translateX(0);
    transition: transform 0.3s;
}

    .modal-panel.hidden2 {
        transform: translateX(100%);
    }

.map-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 60;
    transition: opacity 0.2s;
    opacity: 1;
    pointer-events: auto;
}

    .map-modal-backdrop.hidden2 {
        opacity: 0;
        pointer-events: none;
    }

.map-modal {
    z-index: 70;
}
