@import url('header.css');
@import url('footer.css');
@import url('frames/art_card.css');

main {
    padding: 50px 20px;

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

    background: var(--color-gray);
}

main > .frame {
    display: flex;
    gap: 128px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 81px - 50px);
    justify-content: space-between;
}

main > .frame > .frame_l {
    flex-basis: 580px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

main > .frame > .frame_l #label {
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -1.2px;
    user-select: text;
}

main > .frame > .frame_l > .extra {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
main > .frame > .frame_l > .extra > * {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}
main > .frame > .frame_l > .extra > * :first-child {
    width: 55px;
    opacity: 0.4;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -0.42px;
}
main > .frame > .frame_l > .extra > * :last-child {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.6px;
    user-select: text;
}

main > .frame > .frame_l > #price {
    margin-top: 10px;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.9px;
    user-select: text;
}

main > .frame > .frame_l > #desc {
    margin-top: -10px;
    opacity: 0.5;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    user-select: text;
}

main > .frame > .frame_l > .after {
    display: flex;
    align-items: center;
    gap: 10px;
}
main > .frame > .frame_l > .after > .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 417px;
    padding: 10px;
    border-radius: 30px;
    background: var(--color-dark);
    cursor: pointer;

    color: var(--color-font-light);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 80%;
    letter-spacing: -0.48px;
}

main > .frame > .frame_l > .after > .button.active {
    background-color: var(--color-gray);
    color: var(--color-dark);
    border: 3px solid var(--color-dark);
    padding: 7px;
}
main > .frame > .frame_l > .after > .button:hover {
    background-color: var(--color-button-dark-hover);
}
main > .frame > .frame_l > .after > .button.active:hover {
    background-color: #00000022;
}

main > .frame > .frame_l > .after > .button.disabled {
    background-color: var(--color-form-button-disabled);
    pointer-events: none;
    cursor: default;
}

main > .frame > .frame_l > .after > .like {
    width: 33px;
    height: 33px;
    flex-shrink: 0;
    cursor: pointer;
}
main > .frame > .frame_l .like:not(.active) > :last-child,
main > .frame > .frame_l .like.active > :first-child
{display: none;}

main > .frame > .frame_r {
    display: flex;
    gap: 11px;
    align-items: start;
}
main > .frame > .frame_r > #preview {
    display: block;
    max-width: 577px;
    max-height: calc(100vh - 200px);
}
main > .frame > .frame_r > .column_r {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
main > .frame > .frame_r > .column_r > * {
    width: 107px;
    height: 84px;
    flex-shrink: 0;
    cursor: pointer;
}



main > .works {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

main > .works > .title {
    width: 100%;
    /* max-width: 1400px; */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;

    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.75px;
}

main > .works > .title > .slider_control {
    align-self: flex-end;
    width: 46px;
    margin-left: auto;
}

main > .works > .content {
    display: flex;
    gap: 10px;
    overflow: auto;
    height: 560px;
}

main > .works > .content > .art_card {
    width: 343px;
}
main > .works > .content > .art_card > #photo {
    width: 343px;
    height: auto;
    max-height: 451px;
}

/* main > .works > .hint {
    z-index: 2;
    position: absolute;
    top: 134px;
    left: calc(50% - 50px);

    display: flex;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    background: var(--color-dark);

    display: none;
}

main > .works > .hint > span {
    color: var(--color-font-light);
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.75px;
} */
