@import "keyframes.css?v=2";

@import "system/color.css?v=2";
@import "system/z-index.css?v=2";
@import "system/font-style.css?v=2";

@import "static/font/glametrix/glametrix.css?v=2";
@import "static/font/damn/damn.css?v=2";

@import "components/header.css?v=2";
@import "components/button.css?v=2";
@import "components/circular-button.css?v=2";

@import "components/input/input-dom.css?v=2";
@import "components/input/select.css?v=2";
@import "components/input/textarea.css?v=2";

@import "components/container/card.css?v=2";
@import "components/container/header-profile.css?v=2";
@import "components/container/label-for-form.css?v=4";

@import "components/tab/layout.css?v=2";
@import "components/tab/chip.css?v=2";

@import "components/list/achievement.css?v=2";
@import "components/list/cards.css?v=2";

@import "static/ui/dialog.css?v=2";
@import "static/ui/loader.css?v=2";
@import "static/ui/toast.css?v=2";
@import "static/ui/popup-window.css?v=2";

@import "static/secure/captcha.css?v=2";

* {
    font-family: "Inter", "Roboto Flex", system-ui, sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;

    letter-spacing: -.02em;

    color: var(--color-text);

    padding: 0;
    margin: 0;
}

html, body {
    background-color: var(--color-body);
    overflow-x: hidden;
    height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    width: 100%;
}

.hide-scrollbar::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

span.page-access-denied {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    font-weight: 500;
    font-size: 19px;

    color: var(--color-text);

    text-align: center;
}

span.page-access-denied > i {
    font-size: 52px;

    color: var(--color-text-10);
}

section.container-products {
    width: calc(100% - calc(24px * 2));
    height: fit-content;

    padding: 48px 24px;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(26vh, 1fr));
    gap: 8px;
}

@media screen and (max-width: 520px) {
    section.container-products {
        display: flex;
        flex-direction: column;
    }
}

section.container-products > .card {
    aspect-ratio: unset;

    position: relative;

    overflow: hidden;
}

section.container-products > .card > img {
    width: 100%;
    height: 100%;
}

section.container-products > .card:not(:hover) > img {
    filter: grayscale(100%);
}

section.container-products > .card > section.product-seller {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    background-image: linear-gradient(transparent, var(--color-body));

    padding: 8px;

    width: calc(100% - calc(8px * 2));
    height: calc(60% - calc(8px * 2));

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;

    z-index: 1;
}
section.container-products > .card:not(:hover) > section.product-seller {
    display: none;
}
section.container-products > .card > section.product-seller > button {
    width: 100%;

    border-radius: 16px;
}

section.container-product {
    width: calc(100% - calc(24px * 2));

    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    gap: 24px;

    margin: 24px 24px 0 24px;
}

@media screen and (max-width: 800px) {
    section.container-product {
        flex-direction: column;
    }

    section.container-product > section.c:last-child {
        /* flex-direction: column-reverse; */
    }
}

section.container-product > section.c {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: start;
}

section.container-product > section.c:last-child {
    margin-bottom: 24px;
}

@media screen and (min-width: 400px) {
    section.container-product > section.c:first-child {
        width: auto;
    }
}
@media screen and (min-width: 800px) {
    section.container-product > section.c:first-child {
        position: sticky;
        top: calc(72px + 24px);
    }
}

section.container-product > section.c:last-child {
    gap: 48px;
}

section.container-product > section.c > section.container-soft {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 24px;
}

section.container-product > section.c > section.container-soft > div.container-soft {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 24px;
}

section.container-product > section.c > section.container-soft > div.container-soft > div.soft {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: start;
}

section.container-product > section.c > section.container-soft > div.container-soft > div.soft div.soft > h6 {
    display: none;
}

section.container-product > section.c > section.container-soft > div.container-soft > div.soft > h6 {
    font-weight: 700;
    font-size: 16px;

    color: var(--color-text);

    letter-spacing: unset;
}

section.container-product > section.c > span.message {
    color: var(--color-text-70);

    font-weight: 500;
    font-size: 16px;

    letter-spacing: .02em;

    line-height: 95%;
}

div.image-preview {
    width: 100%;
    max-width: 600px;

    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;

    user-select: none;
}

div.image-preview > img.image-preview {
    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1;

    object-position: center;
    object-fit: cover;

    border-radius: 7px;

    -webkit-user-drag: none;
}

@media screen and (min-width: 400px) {
    div.image-preview > img.image-preview {
        width: calc(16vw + 20vh);
    }
}

div.image-preview > div.container-images-preview {
    width: 100%;
    height: 68px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 4px;

    overflow-x: auto;
}

div.image-preview > div.container-images-preview > img {
    height: 100%;
    width: auto;

    aspect-ratio: 1 / 1;

    object-position: center;
    object-fit: cover;

    border-radius: 7px;

    cursor: pointer;

    -webkit-user-drag: none;
}

div.container-soft {
    width: 100%;
    height: fit-content;

    display: flex;
    flex-direction: column;
    align-items: start;
}

ul.soft {
    width: 100%;
    height: fit-content;

    display: flex;
    flex-direction: column;
    gap: 4px;

    list-style: none;

    margin-top: 8px;
}

ul.soft > li {
    width: calc(100% - calc(18px * 2) - 4px);
    height: fit-content;

    padding: 18px 14px;

    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 12px;

    border: 1px solid var(--color-stroke);
    border-left-width: 3px;
    border-left-color: var(--color-text);

    position: relative;
}
ul.soft > li > h6 {
    font-weight: 500;
    font-size: 16px;

    letter-spacing: .04em;

    color: var(--color-text);

    line-height: 95%;

    position: relative;

    margin-top: -2px;
}

ul.soft > li::after {
    content: attr(data-price) " " attr(data-currency);

    background-color: var(--color-text);

    clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0% 50%);

    padding: 0 10px 0 20px;
    margin-top: 8px;
    margin-left: auto;

    width: fit-content;
    height: 32px;
    max-height: 32px;
    min-height: 32px;

    display: flex;
    flex-direction: row;
    align-items: center;

    position: relative;

    user-select: none;

    transition: transform .2s;

    font-weight: 700;
    font-size: 16px;

    color: var(--color-body);

    letter-spacing: unset;

    bottom: 1px;
}

ul.soft > li:hover::after {
    transform: translateX(24px) scale(1.1);
}

ul.soft > li > div.privileges {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 4px;

    width: 100%;
}
ul.soft > li > div.privileges > span {
    width: 100%;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;

    cursor: pointer;
}

ul.soft > li > div.privileges > span > span {
    font-weight: 500;
    font-size: 15px;

    letter-spacing: unset;

    position: relative;
    top: 1px;
}

ul.soft > li > div.privileges > span > span,
ul.soft > li > div.privileges > span > i {
    color: var(--color-text-30);
}

ul.soft > li > div.privileges > span:hover > span,
ul.soft > li > div.privileges > span:hover > i {
    color: var(--color-text-50);
}

ul.soft > li > div.privileges > span.isset > i,
ul.soft > li > div.privileges > span.isset > span {
    color: var(--color-text);

    text-decoration: transparent;
    text-shadow: 0 0 20px var(--color-text-40);
}

section.container-seller {
    width: 100%;

    position: relative;

    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 24px;
}
section.container-seller > span.price {
    font-weight: 500;
    font-size: 13px;

    position: relative;
    top: 1px;

    letter-spacing: unset;

    color: var(--color-text-50);
}
section.container-seller > span.price > i.help {
    font-size: 12px;

    color: var(--color-text-50);

    position: relative;
    left: 4px;

    cursor: pointer;
}
section.container-seller > span.price > i.help:hover {
    color: var(--color-text-70);
}

*.message-error {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    font-weight: 500;
    font-size: 16px;

    color: var(--color-text-70);
}

section.thread-content {
    width: calc(100% - calc(24px * 2));
    height: auto;

    padding: 24px;

    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 12px;
}
section.thread-content > * {
    padding: 0;
    margin: 0;

    color: var(--color-text);
}

section.thread-content > h1,
section.thread-content > h2,
section.thread-content > h3,
section.thread-content > h4,
section.thread-content > h5 {
    width: 100% !important;

    border: unset !important;
    padding: 0 !important;
    margin: 0 !important;

    text-transform: unset !important;

    line-height: unset !important;

    text-align: left;

    display: unset !important;

    font-weight: 700 !important;

    white-space: unset !important;

    letter-spacing: unset !important;
}
section.thread-content > h1 {
    font-size: 48px;
}
section.thread-content > h2 {
    font-size: 36px;
}
section.thread-content > h3 {
    font-size: 28px;
}
section.thread-content > h4 {
    font-size: 20px;
}
section.thread-content > h5 {
    font-size: 16px;
}
section.thread-content > blockquote {
    border-left: 3px solid var(--color-text);

    padding: 2px 12px;

    position: relative;

    background-color: var(--color-body-light);

    width: calc(100% - calc(12px * 2));
}
section.thread-content > blockquote > p {
    position: relative;
    bottom: 2px;
}

section.forum-threads {
    width: calc(100% - calc(24px * 2));
    height: auto;

    margin: 24px;

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 12px;
}

section.forum-threads > article.thread {
    width: calc(100% - calc(2px * 2) - calc(24px * 2));

    border: 2px solid var(--color-stroke);

    padding: 24px;
}

section.forum-threads > article.thread > h2 {
    font-weight: 600;
    font-size: 18px;
}

footer.app-footer {
    width: calc(100% - calc(24px * 2));
    height: auto;

    margin-top: auto;

    padding: 24px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}

footer.app-footer > span.copyright {
    margin-right: auto;

    font-size: 14px;
    font-weight: 400;
}

footer.app-footer > label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 6px;
}

footer.app-footer > label > span {
    color: var(--color-text-30);

    font-size: 14px;
}

footer.app-footer > label > select {
    min-width: 80px;
    max-width: 150px;
}