/* STYLES 1.0
Developer: t.me/moretheme
Avtor rip Zveraboy
Screen resolution: 460, 860, 1440, 1920 */
:root {
    --bg: #fff;
    --bg2: #f2f5f7;
    --bg3: #212121;
    --engine: #fff;
    --engine2: #f2f5f7;
    --text: #000;
    --text1: #fff;
    --text2: #5b5b5b;
    --color1: #00adff;
    --color2: #3fc1fe;
    --light: rgb(255 255 255 / 15%);
    --light2: rgb(255 255 255 / 30%);
    --dark: rgb(0 0 0 / 10%);
    --radius: 15px;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: normal;
    font-family: "Geologica", sans-serif;
    font-size: 16px;
    font-weight: 500;
}

/* HEADER */
header {
    position: relative;
    background: var(--bg);
    border-bottom: 1px solid var(--bg2);
    color: #000;
    width: 100%;
    top: 0;
    padding: 10px 0;
    transition: 0.3s;
    z-index: 7;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 20px;
}

.header-logo, .header-logo img {
    position: relative;
    font-size: 28px;
    font-weight: bold;
}

.header-city {
    position: relative;
}

@media (max-width: 860px) {
    .header-city {
        display: none;
    }
}

.header-city > a {
    display: inline-block;
    background: var(--bg2);
    padding: 10px 20px;
    border-radius: var(--radius);
}

.header-city > a i {
    color: var(--color1);
    margin-left: 8px;
    font-weight: bold;
}

.header-city > div {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 200px;
    top: 100%;
    right: 0;
    background: var(--bg);
    color: #000;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    border-radius: var(--radius);
    padding: 3px;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 5;
}

.header-city.active > div {
    visibility: visible;
    opacity: 1;
}

.header-city > div:before {
    content: "";
    position: absolute;
    top: -5px;
    right: 30px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: rotate(225deg);
}

.header-city > div a {
    display: block;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-align: center;
}

.header-city > div a:hover {
    background: var(--bg2);
}

/* CATALOG */
.catalog-btn {
    display: inline-block;
    min-width: 48px;
    height: 48px;
    line-height: 48px;
    background: var(--color1);
    color: #fff;
    border-radius: var( --radius);
    text-align: center;
}

.catalog-btn:hover {
    background: var(--color2);
    color: #fff;
}

.catalog-btn.active i:before {
    content: "\f00d";
}

.catalog {
    position: absolute;
    background: var(--bg);
    color: var(--text);
    padding: 20px;
    box-shadow: 0 6px 25px -1px rgb(0 0 0 / 30%);
    border-radius: var(--radius);
    max-width: 290px;
    top: 100%;
    left: 0;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    z-index: 8;
}

.catalog:before {
    content: "";
    position: absolute;
    top: -5px;
    left: 40%;
    width: 10px;
    height: 10px;
    background: var(--bg);
    transform: rotate(45deg);
}

@media (max-width: 860px) {
    .catalog:before {
        left: 60%;
    }
}

.catalog.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(10px);
}

.catalog > a {
    display: inline-block;
    min-width: 120px;
    padding: 5px;
}

.catalog > a:hover {
    color: var(--color1);
}

/* HEADER SEARCH */
.header-search {
    display: flex;
    align-items: center;
    background: var(--bg2);
    border: 2px solid var(--bg2);
    border-radius: var(--radius);
    margin-right: auto;
}

@media (max-width: 860px) {
    .header-search {
        visibility: hidden;
        opacity: 0;
        position: fixed;
        width: 100%;
        top: -40px;
        left: 0;
        background: var(--bg);
        border-radius: 0;
        padding: 10px;
        transition: 0.3s;
        z-index: 5;
    }
}

.header-search.active {
    visibility: visible;
    opacity: 1;
    top: 0;
}

.header-search_btn, .header-search .fa-magnifying-glass, .header-search .fa-xmark {
    background: var(--bg2);
    border-radius: var(--radius);
    min-width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 14px;
    text-align: center;
}

.header-search_btn {
    display: none;
}

@media (max-width: 860px) {
    .header-search_btn {
        display: inline-block;
    }
}

.header-search input {
    background: none;
    padding: 0;
    box-shadow: none;
    border: none;
    width: 380px;
    height: inherit;
    border-radius: 0;
    margin-left: 15px;
}

.header-search input::placeholder {
    color: #8b9297;
}

.header-search .fa-xmark:not(.header-search.active .fa-xmark) {
    display: none;
}

.header-search_top {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 445px;
    top: 110%;
    left: auto;
    background: var(--bg);
    box-shadow: 0 10px 20px -2px rgb(0 0 0 / 40%);
    padding: 30px;
    border-radius: var(--radius);
    transition: 0.3s;
}

@media (max-width: 860px) {
    .header-search_top {
        width: 100%;
        left: 0;
    }
}

.header-search_top.active {
    visibility: visible;
    opacity: 1;
}

.header-search_top > span {
    display: block;
    color: var(--text2);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* HEADER USER */
.header-user {
    position: relative;
}

.header-user > a {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.header-user > a i {
    display: block;
    font-size: 25px;
}

.header-user > div {
    position: absolute;
    width: 200px;
    top: 100%;
    right: 0;
    background: var(--bg);
    color: #000;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    border-radius: var(--radius);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 5;
}

.header-user > div:before {
    content: "";
    position: absolute;
    top: -5px;
    right: 30px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: rotate(225deg);
}

.header-user.active > div {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.header-user_info {
    border-bottom: 1px solid var(--bg2);
    padding: 10px 20px;
    text-align: center;
}

.header-user_info > img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.header-user_info > span {
    display: block;
    margin: 8px 0;
    font-size: 16px;
    font-weight: bold;
}

.header-user_info > a {
    display: inline-block;
    color: var(--color1);
    font-weight: bold;
    font-size: 13px;
    border-bottom: 1px dotted var(--color1);
    margin: 5px;
}

.header-user_info > a i {
    margin-right: 5px;
}

.header-user_group {
    display: inline-block;
    background: var(--bg3);
    border-radius: var(--radius);
    color: #b9b3d3;
    padding: 4px 10px;
    font-size: 10px;
}

.header-user_group * {
    color: #b9b3d3!important;
}

.header-user_link {
    padding: 3px;
}

.header-user_link a {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    padding: 8px 20px;
    border-radius: var(--radius);
    color: #14192a;
    font-size: 14px;
}

.header-user_link a:last-child {
    color: #F44336;
}

.header-user_link a:hover {
    background: var(--bg2);
    color: var(--color1);
}

/* MODAL LOGIN 0.2 */
.modal-login > a {
    position: relative;
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 2.0;
    text-align: center;
    cursor: pointer;
}

.modal-login > a i {
    display: block;
    font-size: 25px;
}

@media (max-width: 860px) {
    .modal-login > a i {
        background: var(--bg2);
        border-radius: var(--radius);
        color: var(--text2);
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
        text-align: center;
    }
}

@media (max-width: 860px) {
    .modal-login > a span {
        display: none;
    }
}

.modal-login form {
    display: none;
    position: fixed;
    min-width: 500px;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background: var(--bg);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    padding: 40px 80px;
    border-radius: var(--radius);
    text-align: center;
    z-index: 9;
}

@media (max-width: 860px) {
    .modal-login form {
        min-width: 100%;
        padding: 30px;
        border-radius: 0;
    }
}

.modal-login form > i {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
}

.modal-login form > i:hover {
    background: var(--color1);
    color: #fff;
}

.modal-login .e-float > a {
    position: absolute;
    top: 20px;
    right: 15px;
    font-size: 14px;
    border-bottom: 1px dotted #20a8d8;
}

.modal-login_btn a {
    background: var(--bg3);
    margin-left: 20px;
}

.modal-login_btn a:hover {
    background: var(--bg3);
    opacity: 0.8;
}

.modal-login_soc span {
    display: block;
    color: #767389;
    margin: 20px 0;
}

.modal-login_soc .e-flex {
    align-items: center;
    justify-content: center;
}

.modal-login_soc .e-flex > a, .modal-login_soc .e-flex a > img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
}

/* TOOLTIP */
[data-tooltip] {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -220%;
    right: 0;
    opacity: 0;
    visibility: hidden;
    width: max-content;
    background: black;
    padding: 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    text-align: center;
    line-height: normal;
    transition: all 0.3s;
    z-index: 1;
}

[data-tooltip]:hover::before {
    content: " ";
    position: absolute;
    right: 6px;
    bottom: -6px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

[data-tooltip]:hover::after {
    visibility: visible;
    opacity: 1;
}

/* ALONG SECT */
.along-sect_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

@media (max-width: 860px) {
    .along-sect_title {
        flex-direction: column;
        align-items: flex-start;
        grid-gap: 15px;
    }
}

.along-sect_title h1 {
    margin-bottom: 0;
}

.along-sect_title a {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    background: var(--bg2);
    padding: 10px 20px;
    border-radius: var(--radius);
}

.along-sect_title a:hover {
    background: var(--color2);
    color: #fff;
}

.along-sect_items {
    position: relative;
    padding: 12px 20px 0;
    overflow: hidden;
}

@media (max-width: 860px) {
    .along-sect_items {
        padding: 0;
        overflow: visible;
    }
}

.along-sect_items > .fa-regular {
    position: absolute;
    display: inline-block;
    top: 25%;
    left: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #fff;
    border-radius: 50%;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    z-index: 5;
}

.along-sect_items > .fa-regular:hover {
    background: var(--color2);
    color: #fff;
}

@media (max-width: 860px) {
    .along-sect_items > .fa-regular {
        display: none;
    }
}

.along-sect_items > .fa-regular + .fa-regular {
    left: unset;
    right: 0;
}

.along-sect_items .swiper-button-disabled, .along-story_items .swiper-button-disabled {
    display: none;
}

/* ALONG CAT */
.along-cat {
    display: grid;
    grid-gap: 20px;
    grid-auto-rows: max-content;
    grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 860px) {
    .along-cat {
        grid-template-columns: repeat(2, 1fr);
    }
}

.along-cat_item:nth-child(1), .along-cat_item:nth-child(2) {
    grid-column: span 2;
    grid-row: span 2;
}

.along-cat_item {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
}

.along-cat_item:before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(0 0 0 / 34%), transparent);
    z-index: 1;
}

.along-cat_title {
    position: absolute;
    width: 200px;
    top: 20px;
    left: 20px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 3;
}

.along-cat_item:nth-child(1) .along-cat_title, .along-cat_item:nth-child(2) .along-cat_title {
    top: 30px;
    left: 30px;
    font-size: 25px;
}

.along-cat_item:hover img {
    transform: scale(1.05);
}

.along-cat_item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    transition: 0.3s;
}

/* ALONG SCREEN */
.along-story_items {
    position: relative;
    padding: 0 20px;
    overflow: hidden;
}

@media (max-width: 860px) {
    .along-story_items {
        padding: 0;
        overflow: visible;
    }
}

.along-story_items > .fa-regular {
    position: absolute;
    display: inline-block;
    top: 40%;
    left: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #fff;
    border-radius: 50%;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    z-index: 5;
}

.along-story_items > .fa-regular:hover {
    background: var(--color2);
    color: #fff;
}

@media (max-width: 860px) {
    .along-story_items > .fa-regular {
        display: none;
    }
}

.along-story_items > .fa-regular + .fa-regular {
    left: unset;
    right: 0;
}

.along-story_item {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
}

.along-story_item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    border-radius: var(--radius);
    transition: 0.3s;
}

.along-story_item:hover img {
    transform: scale(1.05);
}

.along-story_content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
    z-index: 3;
}

.along-story_title {
    display: block;
    font-size: 18px;
    line-height: 1.2;
    font-weight: bold;
    margin-bottom: 20px;
}

.along-story_content > a {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    max-width: max-content;
    border: 1px solid #fff0e6;
    color: #fff0e6;
    padding: 6px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: bold;
}

.along-story_content > a:before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ALONG SHORT */
.along-item > img {
    background: #f2f2f2;
    border-radius: var(--radius);
    width: 100%;
    height: auto;
    aspect-ratio: 10/10;
    margin-bottom: 10px;
}

.along-item_sale {
    position: absolute;
    top: -5px;
    left: 10px;
    transform: rotate(-3deg);
    transform-origin: top left;
    display: inline-block;
    background-color: #fc5230;
    box-shadow: 4px 4px 14px 0px rgb(160 33 33 / 40%);
    color: #fff0e6;
    padding: 5px 8px;
    border-radius: var(--radius);
    font-size: 10px;
    font-weight: bold;
}

.along-item_title {
    font-size: 16px;
    font-weight: bold;
}

.along-item:hover .along-item_title {
    color: var(--color2);
}

.along-item_meta {
    display: flex;
    align-items: center;
    grid-gap: 20px;
    font-size: 14px;
    color: var(--text2);
    margin: 10px 0;
}

.along-item_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 15px;
}

@media (max-width: 860px) {
    .along-item_link {
        flex-direction: column;
        align-items: flex-start;
        grid-gap: 10px;
    }
}

.along-item_link > span {
    font-size: 18px;
    font-weight: bold;
    color: var(--text2);
}

.along-item_link a {
    display: inline-block;
    background-color: #fff0e6;
    color: #d15700;
    padding: 8px 10px;
    border-radius: var(--radius);
    font-size: 14px;
    text-align: center;
}

.along-item_link a:hover {
    background: #d15700;
    color: #fff0e6;
}

.along-item_link a:before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ALONG FULL */
.along-full {
    grid-gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 860px) {
    .along-full {
        grid-gap: 30px;
    }
}

.along-screen {
    position: relative;
    padding: 0 0;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

@media (max-width: 860px) {
    .along-screen {
        height: 350px;
    }
}

.along-screen > .fa-regular {
    position: absolute;
    top: 45%;
    left: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #fff;
    border-radius: 50%;
    font-weight: 600;
    text-align: center;
    z-index: 9;
}

.along-screen > .fa-regular + .fa-regular {
    left: unset;
    right: 0;
}

.along-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    overflow: hidden;
}

.along-full_center {
    overflow: hidden;
}

.along-full_head {
    display: flex;
    align-items: center;
    grid-gap: 20px;
    color: var(--text2);
    font-size: 18px;
    margin-top: -20px;
    margin-bottom: 20px;
}

.along-full_center > ul {
    display: flex;
    align-items: center;
    grid-gap: 20px;
    color: var(--text2);
    font-size: 18px;
    border-bottom: 1px solid var(--bg2);
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.along-full_center > ul li {
}

.along-full_center > ul li span {
    display: block;
    opacity: 0.8;
    font-weight: bold;
    margin-top: 6px;
}

.along-full_text + * {
    margin-top: 20px;
}

.along-full_text > span {
    display: block;
    color: var(--text2);
    opacity: 0.8;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.along-full_link {
    display: flex;
    align-items: center;
    grid-gap: 20px;
    border: 1px solid var(--bg2);
    padding: 10px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

@media (max-width: 860px) {
    .along-full_link {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

.along-full_link > span {
    font-size: 25px;
    font-weight: bold;
    color: #fc5230;
}

.along-full_link > span:nth-child(2) {
    color: #9e9b98;
    font-size: 18px;
    font-weight: 400;
    text-decoration: line-through;
}

.along-full_link > a {
    display: inline-block;
    background: var(--color1);
    color: #fff;
    padding: 18px 80px;
    border-radius: var(--radius);
    text-align: center;
    margin-left: auto;
}

.along-full_link > a:hover {
    background: var(--color2);
}

@media (max-width: 860px) {
    .along-full_link > a {
        width: 100%;
        margin-left: 0;
    }
}

.along-full_rating {
    display: flex;
    align-items: center;
    grid-gap: 20px;
    color: var(--text2);
    margin-top: -20px;
    margin-bottom: 25px;
}

.along-comm {
    position: relative;
    background: var(--bg2);
    padding: 30px 1000px;
    margin: 0 -1020px 40px;
}

.along-comm textarea {
    background: var(--bg);
}

/* FOOTER */
footer {
    position: relative;
    background: var(--bg3);
    color: #fff;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 20px;
    padding: 30px 0;
    font-size: 14px;
}

@media (max-width: 860px) {
    footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

.footer-soc {
    display: flex;
    align-items: center;
    grid-gap: 10px;
}

.footer-soc a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 10px;
    background: var(--light);
    font-size: 14px;
    color: #fff;
}

.footer-soc a:nth-child(1):hover {
    background: #23aaea;
}

.footer-soc a:nth-child(2):hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.footer-soc a:nth-child(3):hover {
    background: #23aaea;
}

.footer-tel {
    margin-top: 20px;
    color: #b3b3b3;
}

.footer-tel > a:first-child {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-menu {
}

.footer-menu span {
    display: block;
    color: #b3b3b3;
    font-size: 16px;
    font-weight: bold;
}

.footer-menu a {
    display: block;
    margin-top: 10px;
}

footer .footer-copy {
    font-size: 12px;
    color: #b3b3b3;
    border-top: 1px solid var(--light);
}

.footer-copy span {
    margin-right: auto;
}
