@charset "UTF-8";

/* ==========================================================
   ORTOS — CRITICAL CSS
   Шапка + верхняя промо-панель + первый экран (hero)
   Подключается синхронно до отложенного main.css
   ========================================================== */

/* Fonts used above the fold */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/montserrat-400.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/montserrat-600.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/montserrat-700.woff2") format("woff2");
}

:root {
    --bs-primary: #755194;
    --bs-secondary: #535460;
    --bs-secondary-6: #eef3f8;
    --bs-secondary-9: #f1f2f8;
    --bs-secondary-10: #f3f4fb;
    --bs-secondary-11: #8e8f9b;
    --bs-light: #fff;
    --bs-dark: #1a1a1a;
    --bs-body-color: #212529;
    --bs-body-bg: #fff;
    --bs-border-color: #dee2e6;
    --bs-link-color-rgb: 13, 110, 253;
    --bs-link-hover-color-rgb: 10, 88, 202;
    --bs-border-width: 1px;
    --bs-border-radius: 0.375rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-body-font-family: "Montserrat", sans-serif;
    --bs-body-font-size: 0.9rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.6;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1,
.h1 {
    font-size: calc(1.35rem + 1.2vw);
}

h5,
.h5 {
    font-size: 1.125rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: rgba(var(--bs-link-color-rgb), 1);
    text-decoration: underline;
}

a:hover {
    color: rgba(var(--bs-link-hover-color-rgb), 1);
}

img,
svg,
video {
    vertical-align: middle;
}

img,
video {
    max-width: 100%;
}

ol,
ul {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 0;
}

button,
input,
select,
textarea {
    margin: 0;
    font: inherit;
}

button,
[role="button"] {
    cursor: pointer;
}

/* Container */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    --bs-gutter-x: 1.5rem;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}

@media (min-width: 576px) {
    .container,
    .container-sm {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container,
    .container-sm,
    .container-md {
        max-width: 840px;
    }
}

@media (min-width: 992px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg {
        max-width: 1000px;
    }
}

@media (min-width: 1200px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1600px;
    }
}

/* Grid used in the desktop hero */
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    margin-top: var(--bs-gutter-y);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}

.col-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

.g-3,
.gx-3 {
    --bs-gutter-x: 1rem;
}

.g-3,
.gy-3 {
    --bs-gutter-y: 1rem;
}

@media (min-width: 576px) {
    .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 768px) {
    .col-md-9 {
        flex: 0 0 auto;
        width: 75%;
    }
}

@media (min-width: 1200px) {
    .col-xl-auto {
        flex: 0 0 auto;
        width: auto;
    }
}

/* Header/navigation structure */
.nav {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: inherit;
    text-decoration: none;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.navbar > .container,
.navbar > .container-fluid,
.navbar > .container-sm,
.navbar > .container-md,
.navbar > .container-lg,
.navbar > .container-xl,
.navbar > .container-xxl {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    margin-right: 1rem;
    padding-top: 0.32rem;
    padding-bottom: 0.32rem;
    color: inherit;
    font-size: 1.125rem;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    color: inherit;
    font-size: 1.125rem;
    line-height: 1;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.collapse:not(.show) {
    display: none;
}

.dropdown,
.dropup,
.dropend,
.dropstart {
    position: relative;
}

.dropdown-toggle {
    white-space: nowrap;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    margin: 0;
    padding: 0.5rem 0;
    color: var(--bs-body-color);
    text-align: left;
    list-style: none;
    background: var(--bs-light);
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: var(--bs-border-radius);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    color: inherit;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    border: 0;
}

/* Keep closed offcanvas outside layout before main.css arrives */
.offcanvas {
    position: fixed;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    visibility: hidden;
    background: #fff;
    outline: 0;
    transition: transform 0.3s ease-in-out;
}

.offcanvas.offcanvas-start {
    top: 0;
    bottom: 0;
    left: 0;
    width: 400px;
    max-width: 100%;
    transform: translateX(-100%);
}

.offcanvas.show,
.offcanvas.showing {
    visibility: visible;
    transform: none;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    padding: 1rem;
}

.offcanvas-body {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
}

/* Header-specific classes from the current stylesheet */
.logo {
    display: block;
    width: 180px;
    height: auto;
}

.logo img,
.logo svg {
    display: block;
    width: 100%;
    height: auto;
}

.bg-mobile-header {
    background-image: linear-gradient(90deg, #583179, #6d4391, #8355ab, #9a68c4, #b17bdf);
}

.search-container {
    position: relative;
}

.search-container .form-control {
    min-height: 50px;
    background-color: var(--bs-secondary-10);
    border: 0;
}

.search-container .search-icon {
    padding-right: 10px;
}

.form-control {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 0 0.75rem;
    color: var(--bs-secondary-11);
    background-color: var(--bs-secondary-10);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

@media (max-width: 1024px) {
    .logo {
        width: 120px;
    }
}

/* Promo bar — it is above the header and affects CLS */
.promo-bar {
    position: relative;
    z-index: 100;
    width: 100%;
    min-height: 42px;
    color: var(--promo-text-color);
    background-color: var(--promo-background-color);
    background-image: var(--promo-background-desktop);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.promo-bar__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.38);
    pointer-events: none;
}

.promo-bar__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1440px;
    min-height: 42px;
    margin: 0 auto;
    padding: 8px 50px;
}

.promo-bar__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    color: inherit;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

.promo-bar__content:hover,
.promo-bar__content:focus {
    color: inherit;
    text-decoration: none;
}

.promo-bar__text {
    font-weight: 600;
    text-transform: uppercase;
}

.promo-bar__link {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.promo-bar__timer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-bar__timer-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-bar__close {
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 3;
    padding: 5px;
    color: inherit;
    line-height: 1;
    background: transparent;
    border: 0;
    transform: translateY(-50%);
}

@media (max-width: 767px) {
    .promo-bar {
        min-height: 40px;
        background-image: var(--promo-background-mobile, var(--promo-background-desktop));
    }

    .promo-bar__inner {
        min-height: 40px;
        padding: 7px 38px 7px 12px;
    }

    .promo-bar__content {
        gap: 5px 10px;
        font-size: 11px;
    }

    .promo-bar__close {
        right: 7px;
    }
}

/* Buttons used in the hero */
.btn {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-border-radius: 0.5rem;
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    color: var(--bs-body-color);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    user-select: none;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--bs-btn-border-radius);
}

.btn.purple-gradient {
    position: relative;
    color: #fff;
    background: linear-gradient(129deg, #583179 16.48%, #b17bdf 86.74%) 0 / 200% 100% padding-box,
                linear-gradient(55deg, #b17bdf 16.48%, #583179 86.74%) 50% / 100% 100% border-box;
    box-shadow: 0 5px 36px 4px rgba(34, 60, 80, 0.25);
}

.btn.glass-gradient {
    color: var(--bs-body-color);
    background: linear-gradient(100.73deg, #ededed 11.47%, #fff 50.56%), #fff;
    border-color: #e9eaef;
    box-shadow: 2px 2px 10px rgba(22, 10, 32, 0.1);
}

.bg-glass {
    background-color: rgba(238, 243, 248, 0.5);
    border: 1px solid #fff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Swiper structural CSS needed before the full library CSS */
.swiper,
.swiper-container {
    position: relative;
    z-index: 1;
    display: block;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
    overflow: hidden;
    list-style: none;
}

.swiper-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
    box-sizing: content-box;
    transition-property: transform;
}

.swiper-slide {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
}

/* Desktop hero */
.slideshow,
.swiper-slideshow,
.slide-content {
    position: relative;
    width: 100%;
    height: 450px;
    min-height: 450px;
    overflow: hidden;
}

.slideshow video,
.slideshow img,
.hero-video {
    display: block;
    width: 100%;
    height: 450px;
    max-height: 450px;
    object-fit: cover;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video-overlay {
    position: relative;
}

.hero-video-overlay::before {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.hero-video-overlay .slide-text {
    z-index: 3;
    width: max-content !important;
    max-width: calc(100% - 2rem);
    padding-left: 8rem;
}

.hero-video-overlay .slide-text .bg-glass {
    width: 100%;
    background-color: rgba(238, 243, 248, 0.7);
}

/* Mobile hero */
.mob-slideshow,
.mob-slide {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mob-slide {
    min-height: var(--mobile-banner-height, 80vh);
    background-image: url("/catalog/view/theme/ortos/assets/images/poster/mob_main.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.mob-slide:not(:first-child) {
    display: none;
}

.mob-slide-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mob-slide-content {
    position: relative;
    z-index: 3;
    width: calc(100% - 30px);
    max-width: 560px;
}

.mob-slide-block {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

.mob-slide-item {
    width: 100%;
}

.mob-slide-item .btn,
.mob-slide-a1,
.mob-slide-a2 {
    width: 100%;
}

.mob-slide-p {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Bootstrap utility subset used by header and hero */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-light { color: #fff !important; }
.text-muted { color: rgba(33, 37, 41, 0.75) !important; }
.text-decoration-none { text-decoration: none !important; }
.rounded-4 { border-radius: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 1rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.z-1 { z-index: 1 !important; }
.z-2 { z-index: 2 !important; }
.z-3 { z-index: 3 !important; }

@media (min-width: 992px) {
    .text-lg-start {
        text-align: left !important;
    }
}

@media (max-width: 991.98px) {
    .hero-video-overlay .slide-text {
        width: calc(100% - 2rem) !important;
        max-width: none;
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media (max-width: 575.98px) {
    .slideshow,
    .swiper-slideshow,
    .slide-content {
        height: var(--mobile-banner-height, 80vh);
        min-height: var(--mobile-banner-height, 80vh);
    }

    .slideshow video,
    .slideshow img,
    .hero-video {
        height: 100%;
        max-height: none;
    }

    h1,
    .h1 {
        font-size: calc(1.35rem + 1.2vw);
    }
}
