@font-face {
    font-family: "SourceSans3";
    src: url("../fonts/SourceSans3/SourceSans3-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "SourceSans3";
    src: url("../fonts/SourceSans3/SourceSans3-Medium.ttf");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "SourceSans3";
    src: url("../fonts/SourceSans3/SourceSans3-MediumItalic.ttf");
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: "SourceSans3";
    src: url("../fonts/SourceSans3/SourceSans3-Bold.ttf");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "SourceSans3";
    src: url("../fonts/SourceSans3/SourceSans3-BoldItalic.ttf");
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: "SourceSans3";
    src: url("../fonts/SourceSans3/SourceSans3-Light.ttf");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "SourceSans3";
    src: url("../fonts/SourceSans3/SourceSans3-ExtraLight.ttf");
    font-weight: 200;
    font-style: normal;
}

:root {
    font-family: 'SourceSans3', sans-serif;
    font-weight: 400;
    font-size: 12pt;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;

    color-scheme: light dark;


    /*@media (max-width: 523px) {*/
    /*    font-size: 14pt;*/
    /*}*/

}

@media (prefers-color-scheme: light) {
    :root {
    }
}

[light] {
    /*--bg: #fbfbfb;*/
    --bg: #F7F7F3;
    --bg-badge: #00c501;
    --bg-body: #f9f9f9;
    --bg-card: #fff;
    --bg-filter: #f5f5f5;
    --bg-header: rgb(246, 248, 250);
    --bg-hero: rgb(255 245 240 / 0.9);
    --bg-main-menu: #f9f9f9;
    --bg-main-page-block: #f3e2d5;
    --bg-modal: rgba(0, 0, 0, 0.4);
    --border: #d7a993;
    --danger: #f44336;
    --hover: brightness(1.2);
    --text: #3D2E24;
    --text-secondary: #656565;
    --text-subheader: #4b2b22;
    /*--primary: #264b5d;*/
    --primary: rgb(218, 112, 89);
    --primary-10: rgba(218, 112, 89, .1);
    --primary-20: rgba(218, 112, 89, .2);
    --primary-50: rgba(218, 112, 89, .5);
    --primary-90: rgba(218, 112, 89, .9);
    --primary-hover: #b04931;
    --shadow: rgb(0 0 0 / 0.1);
    --shadow-menu: rgba(209, 217, 224, 0.5) 0px 0px 0px 1px, rgba(37, 41, 46, 0.04) 0px 6px 12px -3px, rgba(37, 41, 46, 0.12) 0px 6px 18px 0px;
    --shadow-inner: inset 0 0 0 2px var(--primary);
    --shadow-inner-disabled: inset 0 0 0 2px var(--primary-20);
    --shadow-inner-90: inset 0 0 0 2px var(--primary-90);
}

/** **#2C221E (Espresso Truffle)** — глибокий, майже чорний колір смажених кавових зернят, який виглядає дорого і солідно.*/
/** **#5A4A42 (Smoked Taupe)** — шляхетний сіро-коричневий відтінок (тауп), популярний у сучасних інтер'єрах та преміум-дизайні.*/
/** **#8C7A6B (Muted Bronze)** — стриманий бронзовий тон з благородним приглушеним блиском для акцентів і рамок.*/
/** **#D4C5B9 (Cashmere Beige)** — м'який світлий кашеміровий відтінок, який додає сторінці повітря та відчуття високої якості.*/
/** **#F7F4F0 (Alabaster Silk)** — ультрасвітлий кремово-бежевий фон із легким теплим підтоном для чистого дорогих мінімалізму.*/

[dark] {
    /*--bg: #231b18;*/
    --bg: #17120e;
    --bg-badge: #009800;
    --bg-body: #111;
    --bg-card: rgb(33, 40, 48);
    --bg-filter: rgb(36, 42, 62);
    --bg-header: #17120e;
    --bg-hero: rgb(21 8 0 / 0.9);
    --bg-main-menu: rgb(42, 49, 60);
    --bg-main-page-block: #231b18;
    --bg-modal: rgba(0, 0, 0, 0.7);
    /*--border: #8C7A6B;*/
    --border: #574c42;
    --border-input: #574c42;
    --danger: #f44336;
    --hover: brightness(0.8);
    --text: #D4C5B9;
    --text-secondary: #aaa;
    --text-subheader: #8C7A6B;
    --primary: rgb(218, 112, 89);
    --primary-10: rgba(218, 112, 89, .1);
    --primary-20: rgba(218, 112, 89, .2);
    --primary-50: rgba(218, 112, 89, .5);
    --primary-90: rgba(218, 112, 89, .9);
    --primary-hover: #b04931;
    --shadow: rgba(0, 0, 0, 0.5);
    --shadow-menu: rgb(61, 68, 77) 0px 0px 0px 1px, rgba(1, 4, 9, 0.4) 0px 6px 12px -3px, rgba(1, 4, 9, 0.4) 0px 6px 18px 0px;
    --shadow-inner: inset 0 0 0 2px var(--primary);
    --shadow-inner-90: inset 0 0 0 2px var(--primary-90);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100vw;
    height: 100vh;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    background-color: var(--bg);
    color: var(--text);
    font-size: 12pt;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1 {
    margin: 0;
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 3rem;

    span {
        color: var(--primary);
    }
}

h2 {
    margin: 0;
    font-weight: 700;
    font-size: 3rem;
    line-height: 2.6rem;

    span {
        color: var(--primary);
    }
}

a {
    text-decoration: none;
    color: var(--primary);
    font-size: inherit;
    cursor: pointer;
}


ul {
    list-style: none;
}

.l_window {
    max-width: 1440px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    display: flex;
    flex: 1;
}

main {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spacer-05 {
    width: 100%;
    height: .5rem;
}

.spacer-1 {
    width: 100%;
    height: 1rem;
}

.spacer-2 {
    width: 100%;
    height: 2rem;
}

.spacer-3 {
    width: 100%;
    height: 3rem;
}

section {
    width: min(1280px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    /*overflow-y: auto;*/
    /*border: 1px solid crimson;*/
    padding: 0 1.4rem;

    @media (max-width: 1320px) {
    }
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.breadcrumbs {
    margin-top: 1rem;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-modal); /* напівпрозорий чорний фон */
    display: none;
    /*align-items: center;*/
    /*justify-content: center;*/
    /*z-index: 10; !* поверх усього *!*/
}

.modal.visible-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* поверх усього */
}

.breadcrumbs {

    a {
        color: var(--primary);
    }
}

button {
    padding: 0 1rem;
    height: 3rem;
    outline: none;
    border: none;
    border-radius: 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;

    &.primary {
        background: var(--primary);
        color: var(--bg);

        &:hover {
            background: var(--primary-90);
        }

        &:disabled {
            background: var(--primary-50);

            &:hover {
                background: var(--primary-50);
            }
        }

        a {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }


    &.secondary {
        background: var(--primary-10);
        box-shadow: var(--shadow-inner);
        color: var(--primary);
        transition: all 0.2s;

        &:focus,
        &:hover {
            box-shadow: var(--shadow-inner-90);
            background: var(--primary-20);
        }

        &:disabled {
            box-shadow: var(--shadow-inner-disabled);
            color: var(--primary-50);

            &:hover {
                background: var(--primary-10);
            }
        }
    }

    &.danger {
        background: var(--danger);
        color: white;
    }
}


/* Responsive */
/*@media (max-width: 600px) {*/
/*    header,*/
/*    main,*/
/*    .filters {*/
/*        padding: 1rem;*/
/*    }*/
/*}*/