@import url('https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
/* RESET */
::-moz-selection {
    background: var(--purple-color);
    color: #fff;
}
::selection {
    background: var(--purple-color);
    color: #fff;
}
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Lato", serif;
}
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
*:focus {
    outline: 0;
}
*:focus-visible {
    outline: 2px solid var(--purple-color);
    outline-offset: 2px;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
/* width */
::-webkit-scrollbar {
    width: .5vw;
}
/* Track */
::-webkit-scrollbar-track {
    background: #fff;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--purple-color);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--dark-purple-color);
}
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-color: var(--purple-color) #fff;
    scrollbar-width: normal;
}
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--white-color);
}
body.no-scroll,
html.no-scroll{
    overflow: hidden;
}
#alertMsg{
    font-size: 14px;
}
img {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
a {
    text-decoration: none;
    display: inline-block;
    color: inherit;
    cursor: pointer;
}
button {
    cursor: pointer;
    outline: none;
    border: none;
    font-family: inherit;
}
button[disabled] {
    cursor: default;
}

a, p{
    color: var(--txt-color);
}
ul,
ol {
    list-style: none;
}
input,
textarea {
    font-family: inherit;
    resize: none;
}
/* HIDE ARROWS ON NUMBER INPUTS */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
h1,h2,h3,h4,h5,h6{
    font-family: "Arsenal", serif;
}

/* UTILITIES */
:root {
    --white-color: #fff;
    --black-color: #000;
    --yellow-color: #EBCC57;
    --dark-purple-color: #98448A;
    --purple-color: #A17ED0;
    --light-purple-color: #DBCBF2;
    --background-color: #F0F3E8;
    --green-color: #C5C870;
    --txt-color: #494746;
}
.container {
    padding-left: 3rem;
    padding-right: 3rem;
    max-width: 150rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.container-right {
    padding-left: calc((100vw - 144rem) / 2);
    position: relative;
}
.container-left {
    padding-right: calc((100vw - 144rem) / 2);
    position: relative;
}
@media only screen and (max-width: 1500px) {
    .container-right {
        padding-left: 3rem;
    }
}

.button{
    padding: 1.1rem 4rem;
    background-color: var(--green-color);
    color: var(--white-color);
    border-radius: 2.2rem;
    font-size: 1.8rem;
}
h2{
    font-size: 3.2rem;
    color: var(--txt-color);
    position: relative;
    font-weight: 400;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 4rem;
}
h2::after{
    position: relative;
    display: block;
    content: "";
    width: 6.3rem;
    height: 1.6rem;
    background-image: url('images/krivudava-linija-zelena.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;  
    margin-top: 1rem;
}

.hero-section{
    background-color: var(--background-color);
    padding-top: 7rem;
}

.hero-container{
    padding: 0rem 12.5rem;
    position: relative;
    z-index: 1;
    margin-top: -11.2rem;
    transform: translateY(11.2rem);
}
.hero-container::before{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: rgb(161,126,208);
    background: linear-gradient(113deg, rgba(161,126,208,1) 0%, rgba(219,203,242,1) 100%);
    border-radius: 3.6rem;
    z-index: 0;
}
.hero-container::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 9.5rem;
    background-image: url('images/sjenka.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    left: 0;
    bottom: -8rem;
    z-index: -1;
}

.hero-container-flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 115rem;
    width: 100%;
    position: relative;
    z-index: 1;
}
.hero-container-flex-text h1{
    font-size: 11.6rem;
    line-height: 10rem;
    color: var(--white-color);
    margin-bottom: 4rem;
}
.hero-container-flex-text p{
    font-size: 1.8rem;
    line-height: 2.6rem;
    color: var(--white-color);
    margin-bottom: 4rem;
    max-width: 58rem;
}
.hero-container-flex-image{
    margin-top: -7rem;
}.hero-container-flex-image img{
    display: block;
}
.hero-container-sjenka{
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
}

.category-section{
    padding-top: 16.5rem;
    padding-bottom: 6.8rem;
}
.category-container-flex{
    max-width: 112rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.category-container-flex a{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.category-container-flex a p{
    font-size: 1.8rem;
    text-decoration: underline;
    position: relative;
    z-index: 1;
}
.category-container-flex a img{
    display: block;
    filter: drop-shadow(6px 6px 14px rgba(0,0,0,0.1));
    margin-bottom: 2.3rem;
}
.najnovije-section{
    background-color: var(--background-color);
    padding-top: 4.5rem;
    padding-bottom: 8.7rem;
}
.proizvod-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    column-gap: 2.4rem;
    row-gap: 7rem;
}
.proizvod-card-user{
    width: 100%;
}
.proizvod-card-user{
    width: 100%;
    padding: 0.8rem;
    border-radius: 4.3rem;
    background-color: var(--white-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}
.proizvod-card-user img{
    display: block;
    width: 3.7rem;
    height: 3.7rem;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;
}
.proizvod-card-user p{
    font-size: 1.6rem;
    color: var(--txt-color);
}
.proizvod-card-slika{
    position: relative;
    overflow: hidden;
    border-radius: 1.6rem;
    width: 100%;
    height: 46rem;
}
.proizvod-card-slika img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.proizvod-arrow{
    position: absolute;
    right: 2.4rem;
    bottom: 2.4rem;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 1px solid var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
.proizvod-arrow svg{
    display: block;
}
.proizvod-card-text{
    margin-top: 2.8rem;
}
.proizvod-card-text h3{
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--txt-color);
    margin-bottom: 0.6rem;
}
.proizvod-card-text p{
    font-size: 2.4rem;
    font-weight: 600;
    color: #C5C870;
}

footer{
    background: rgb(219,203,242);
    background: linear-gradient(97deg, rgba(219,203,242,1) 0%, rgba(165,131,210,1) 48%, rgba(211,193,237,1) 100%);
    position: relative;
}

.footer-flex{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    position: relative;
    padding-top: 5.6rem;
    padding-bottom: 4.1rem;
}

.footer-left-links{
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 4.1rem;
    left: 0;
}
.footer-left-links a{
    font-size: 1.8rem;
    color: #E7E7E7;
    margin-bottom: 2.4rem;
}
.footer-left-links > :last-child{
    margin-bottom: 0rem;
}
.footer-middle{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 63rem;
    width: 100%;
}
.footer-middle-logo img{
    display: block;
}
.footer-middle-logo{
    margin-bottom: 4.8rem;
}
.footer-middle-links{
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 63rem;
    justify-content: space-between;
    gap: 1rem;
}
.footer-middle-links a{
    font-size: 1.8rem;
    color: var(--white-color);
}
.footer-right-image img{
    display: block;
}
.footer-right-image{
    right: 0;
    bottom: 0;
    position: absolute;
}

.inner-hero-section{
    padding-top: 7rem;
    padding-bottom: 7rem;
    position: relative;
    background-color: var(--background-color);
}
.inner-hero-container{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    padding-top: 3rem;
    border-radius: 2.5rem;
    height: 16.5rem;
}
.inner-hero-container::before{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 2.5rem;
    content: "";
    background: rgb(161, 126, 208);
    background: linear-gradient(113deg, rgba(161, 126, 208, 1) 0%, rgba(219, 203, 242, 1) 100%);
    z-index: 0;
}
.inner-hero-container::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 9.5rem;
    background-image: url('images/sjenka.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    left: 0;
    bottom: -8rem;
    z-index: -1;
}
.inner-hero-container > span{
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
    color: #E7E7E7;
    font-family: "Lato", serif;
}
.inner-hero-container > span a{
    font-size: 1.8rem;
    color: #E7E7E7;
    font-family: "Lato", serif;
}
.inner-hero-container h1{
    position: relative;
    z-index: 1;
    font-size: 5.4rem;
    color: var(--white-color);
    line-height: 8rem;
}
.inner-hero-clothes-graphic{
    position: absolute;
    bottom: 0rem;
    left: 3rem;
}
.inner-hero-clothes-graphic img{
    display: block;
}
.inner-hero-logo-graphic{
    position: absolute;
    bottom: 0;
    right: 2.5rem;
}
.inner-hero-logo-graphic img{
    display: block;
}
.inner-category-section{
    background-color: var(--background-color);
    padding-bottom: 7.5rem;
}
.filter-container{
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 6rem;
}


.custom-select {
    position: relative;
    width: 100%;
    max-width: 22rem;
    z-index: 10;
}

.select-button {
    background-color: var(--white-color);
    border: 2px solid var(--dark-purple-color);
    color: var(--txt-color);
    font-size: 1.8rem;
    padding: 1.6rem 2.8rem;
    display: flex;
    border-radius: 4rem;
    font-family: "Lato", serif;
    cursor: pointer;
    z-index: 1;
    position: relative;
}

.select-button::after {
    content: "";
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 0.7rem;
    width: 1.2rem;
    background: url('images/down-arrow.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.dropdown {
    position: absolute;
    top: 2rem;
    left: 0;
    width: 100%;
    background: var(--white-color);
    border-radius: 2rem;
    display: none;
    overflow: hidden;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.dropdown.active {
    display: block;
}
.dropdown li:first-child{
    padding-top: 5rem;
}
.dropdown li {
    padding: 1rem 2.8rem;
    cursor: pointer;
    list-style: none;
    color: var(--txt-color);
    font-size: 1.8rem;
}

.dropdown li:hover {
    background: #f0f0f0;
}
.how-ormar-works-section{
    background-color: var(--background-color);
    padding-bottom: 3.3rem;
}
.how-ormar-works-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.how-ormar-works-container h3{
    font-size: 2.4rem;
    line-height: 3.7rem;
    max-width: 119rem;
    text-align: center;
    font-weight: 400;
    color: var(--txt-color);
    margin-bottom: 4.5rem;
}
.how-ormar-works-container p{
    font-size: 1.8rem;
    text-align: center;
    line-height: 2.6rem;
    max-width: 119rem;
}
.if-selling-section{
    padding-top: 5rem;
    padding-bottom: 9rem;
}
.if-selling-container-flex{
    display: flex;
    justify-content: space-between;
    gap: 10.7rem;
}
.if-selling-container-flex-item{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.if-selling-container-flex-item > div{
    margin-bottom: 1.8rem;
}
.if-selling-container-flex-item > div img{
    max-width: 100%;
}
.if-selling-container-flex-item h3{
    font-size: 3.2rem;
    color: var(--txt-color);
    margin-bottom: 1.8rem;
    text-align: center;
}
.if-selling-container-flex-item p{
    font-size: 1.8rem;
    line-height: 2.6rem;
    text-align: center;
    max-width: 38rem;
}
.if-selling-container > a{
    margin: 0 auto;
    margin-top: 4rem;
    display: flex;
    width: fit-content;
}
.if-selling-section.buying{
    background-color: var(--background-color);
}
.additional-info-section{
    padding-top: 7rem;
    padding-bottom: 15rem;
}
.additional-info-container-flex{
    width: 100%;
    max-width: 144rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    padding-top: 2rem;
}
.additional-info-container-flex-item{
    max-width: 58.6rem;
}
.additional-info-container-flex-item > h3{
    font-size: 3.2rem;
    color: var(--txt-color);
    margin-bottom: 1.8rem;
}
.additional-info-container-flex-item > p{
    font-size: 1.8rem;
    line-height: 2.6rem;
    margin-bottom: 1.8rem;
}
.additional-info-container-flex-item > div{
    padding-top: 1.2rem;
    position: relative;
}
.additional-info-container-flex-item > div::before{
    width: 3.6rem;
    height: 0.1rem;
    background-color: var(--green-color);
    position: absolute;
    top: 0;
    left: 0;
    content: "";
}
.additional-info-container-flex-item > div p{
    font-size: 1.8rem;
    line-height: 2.6rem;
    margin-bottom: 1.8rem;
}
.user-profile-info-section{
    padding-top: 16rem;
    padding-bottom: 7rem;
    background-color: var(--background-color);
}
.user-profile-info-container-left{
    display: flex;
    align-items: center;
    gap: 3.5rem;
}
.profile-image{
    width: 100%;
    max-width: 21rem;
    aspect-ratio: 1/1;
}
.profile-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}
.profile-info h4{
    font-size: 3.2rem;
    font-family: 'Lato', serif;
    color: var(--txt-color);
    margin-bottom: 5rem;
}
.profile-info-flex{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.7rem;
}
.profile-info-flex div{
    width: 2rem;
}
.profile-info-flex p{
    font-size: 1.8rem;
}
.profile-info .profile-info-flex:last-child{
    margin-bottom: 0rem;
}
.user-profile-info-container-right{
    max-width: 82rem;
    height: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}
.user-profile-info-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}
.user-profile-info-container-right a{
    width: fit-content;
}
.user-profile-info-container-right p{
    max-width: 58.6rem;
    font-size: 1.8rem;
    line-height: 2.6rem;
}
.user-profile-product-section{
    background-color: var(--background-color);
}
.user-profile-product-section{
    padding-bottom: 15rem;
}
.user-profile-product-container{
    padding-top: 2.5rem;
    border-top: 1px solid #E7E7E7;
}
.user-profile-info-container-right.logged a{
    margin-left:  auto;
    background-color: transparent;
    border: 1px solid var(--green-color);
    color: var(--txt-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2rem;
} 
.user-profile-product-container-header{
    position: relative;
}
.user-profile-product-container-header a{
    display: flex;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    top: 0;
    position: absolute;
    right: 0;
}

/* SETTINGS PAGE */
.settings-page {
    background-color: var(--background-color);
}
.settings-main {
    min-height: 100vh;
    padding: 1rem 0 6.5rem;
}
.settings-container {
    width: 100%;
    max-width: 95rem;
    margin: 0 auto;
}

.settings-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12rem;
    padding: 4.2rem 0;
    border-bottom: 1px solid #e1e5da;
}
.settings-copy h1,
.settings-copy h2 {
    display: block;
    margin: 0 0 2.4rem;
    font-family: "Arsenal", serif;
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 700;
    color: var(--txt-color);
}
.settings-copy h2::after {
    display: none;
}
.settings-copy p {
    max-width: 32rem;
    font-size: 1.6rem;
    line-height: 1.45;
}
.settings-photo-row {
    align-items: center;
    padding-top: 4.2rem;
    padding-bottom: 3.4rem;
}
.settings-photo-control {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4rem;
}
.settings-photo-control input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.settings-upload-button {
    min-width: 22rem;
    padding: 1.1rem 2rem;
    border: 1px solid var(--green-color);
    border-radius: 2.2rem;
    background-color: transparent;
    color: var(--txt-color);
    font-size: 1.6rem;
    text-align: center;
    cursor: pointer;
}
.settings-avatar {
    flex: 0 0 auto;
    width: 12rem;
    height: 12rem;
    overflow: hidden;
    border-radius: 50%;
    background-color: #e7e9df;
}
.settings-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.settings-row textarea,
.settings-fields input {
    width: 100%;
    border: 1px solid #dce0d5;
    border-radius: 0.7rem;
    background-color: transparent;
    color: var(--txt-color);
    font-size: 1.6rem;
}
.settings-row textarea::placeholder,
.settings-fields input::placeholder {
    color: #a3a69f;
    opacity: 1;
}
.settings-row textarea {
    min-height: 16.6rem;
    padding: 3rem 2.4rem;
}
.settings-fields {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.settings-fields input {
    height: 5.6rem;
    padding: 0 2.4rem;
}
.settings-submit {
    display: flex;
    justify-content: center;
    padding-top: 5.4rem;
}
.settings-submit button {
    min-width: 20rem;
    padding: 1.2rem 2.4rem;
    border-radius: 2.2rem;
    background-color: var(--green-color);
    color: var(--white-color);
    font-size: 1.6rem;
}

@media only screen and (max-width: 700px) {
    .settings-main {
        padding: 1rem 0 5rem;
    }
    .settings-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 0;
    }
    .settings-copy p {
        max-width: none;
    }
    .settings-photo-control {
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 420px) {
    .settings-photo-control {
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 2rem;
    }
}
.empty-closet{
    margin-top: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.empty-closet div{
    margin-bottom: 3.4rem;
}
.empty-closet p{
    font-size: 1.8rem;
    line-height: 2.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* CHAT PAGE */
.chat-page {
    background-color: var(--background-color);
}
.chat-main {
    min-height: 100vh;
    padding: 4.6rem 0 10rem;
    padding-top: 14rem;
}
.chat-layout {
    display: grid;
    grid-template-columns: 34rem minmax(0, 1fr);
    gap: 3rem;
    width: 100%;
    height: 60rem;
}
.chat-sidebar,
.chat-conversation {
    overflow: hidden;
    border: 1px solid #dce0d5;
    border-radius: 0.6rem;
    background-color: transparent;
}
.chat-sidebar-header,
.chat-conversation-header {
    display: flex;
    align-items: center;
    height: 6.4rem;
    padding: 0 2.4rem;
    border-bottom: 1px solid #dce0d5;
}
.chat-sidebar-header {
    justify-content: space-between;
}
.chat-sidebar-header h1 {
    font-family: "Lato", serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--txt-color);
}
.chat-sidebar-header button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.chat-sidebar-header svg {
    width: 3.2rem;
    height: 3.2rem;
}
.chat-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    height: 7.2rem;
    padding: 0 2.4rem;
    border-bottom: 1px solid #dce0d5;
    background-color: transparent;
    color: var(--txt-color);
    font-size: 1.6rem;
    text-align: left;
}
.chat-contact.active {
    background-color: #e6e7e2;
}
.chat-contact-avatar {
    display: block;
    flex: 0 0 auto;
    width: 4rem;
    height: 4rem;
    overflow: hidden;
    border-radius: 50%;
    background-color: #e3e5dc;
}
.chat-contact-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chat-conversation {
    display: flex;
    min-width: 0;
    flex-direction: column;
}
.chat-conversation-header {
    justify-content: space-between;
    padding: 0 3rem;
}
.chat-user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--txt-color);
    font-size: 1.6rem;
}
.chat-conversation-header a {
    font-size: 1.6rem;
    text-decoration: underline;
}
.chat-conversation-header a span {
    display: inline-block;
    margin-left: 0.5rem;
    text-decoration: none;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 3rem;
}
.chat-message-form {
    position: relative;
    margin: 0 3rem 3.5rem;
}
.chat-message-form input {
    width: 100%;
    height: 5.6rem;
    padding: 0 6rem 0 2.4rem;
    border: 1px solid #dce0d5;
    border-radius: 4.2rem;
    background-color: var(--white-color);
    color: var(--txt-color);
    font-size: 1.6rem;
}
.chat-message-form input::placeholder {
    color: #c3c5c0;
    opacity: 1;
}
.chat-message-form button {
    position: absolute;
    top: 50%;
    right: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background-color: transparent;
}
.chat-message-form button svg {
    width: 2.2rem;
    height: 1.7rem;
}

@media only screen and (max-width: 700px) {
    .chat-main {
        padding: 2rem 0;
    }
    .chat-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    .chat-sidebar {
        max-height: 22rem;
        overflow-y: auto;
    }
    .chat-conversation {
        height: 55rem;
    }
}

/* PRODUCT PAGE */
.product-page {
    background-color: var(--background-color);
}
.product-detail-section {
    padding-top: 14rem;
    padding-bottom: 12rem;
}
.product-detail {
    display: grid;
    grid-template-columns: 46rem 59rem;
    gap: 25rem;
    width: 100%;
    max-width: 130rem;
    min-height: 57rem;
    margin: 0 auto;
}
.product-gallery {
    position: relative;
    width: 100%;
    max-width: 46rem;
    padding-top: 11.8rem;
}
.product-gallery-viewport {
    width: 100%;
    overflow: hidden;
}
.product-gallery-track {
    display: flex;
    gap: 1.7rem;
    transition: transform 0.35s ease;
}
.product-gallery-image {
    flex: 0 0 calc((100% - 1.7rem) / 2);
    height: 26.2rem;
    background-color: #d4d4d4;
}
.product-gallery-button {
    position: absolute;
    top: calc(50% + 5.9rem);
    z-index: 2;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    transform: translateY(-50%);
    background-color: var(--green-color);
    color: var(--white-color);
    font-size: 1.8rem;
}
.product-gallery-button[hidden] {
    display: none;
}
.product-gallery-button:disabled {
    opacity: 0.45;
}
.product-gallery-prev {
    left: 1rem;
}
.product-gallery-next {
    right: 1rem;
}
.product-info {
    width: 100%;
    max-width: 59rem;
}
.product-info h1 {
    margin-bottom: 1rem;
    font-family: "Lato", serif;
    font-size: 3.2rem;
    color: var(--txt-color);
}
.product-price {
    margin-bottom: 3.4rem;
    color: var(--purple-color);
    font-size: 2.8rem;
    font-weight: 700;
}
.product-description {
    padding-bottom: 2.1rem;
    border-bottom: 1px solid #e1e5da;
    font-size: 1.8rem;
}
.product-attributes {
    padding: 2.3rem 0;
    border-bottom: 1px solid #e1e5da;
}
.product-attributes div {
    display: grid;
    grid-template-columns: 8rem 1fr;
    margin-bottom: 1.4rem;
    font-size: 1.8rem;
    gap: 4rem;
}
.product-attributes div:last-child {
    margin-bottom: 0;
}
.product-attributes dt {
    color: #9c9e98;
}
.product-attributes dd {
    color: var(--txt-color);
}
.product-seller {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4.2rem;
    padding: 0.5rem 1.3rem;
    border-radius: 2rem;
    background-color: var(--white-color);
}
.product-seller-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.product-seller-user > span {
    display: block;
    width: 3.7rem;
    height: 3.7rem;
    overflow: hidden;
    border-radius: 50%;
    background-color: #e3e5dc;
}
.product-seller-user img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-seller p,
.product-seller a {
    font-size: 1.8rem;
}
.product-seller a {
    text-decoration: underline;
}
.product-seller a span {
    display: inline-block;
    margin-left: 0.4rem;
    text-decoration: none;
}
.product-message-button {
    margin-top: 3.2rem;
    padding: 1rem 2.6rem;
    border-radius: 2.2rem;
    background-color: var(--green-color);
    color: var(--white-color);
    font-size: 1.2rem;
}
.product-related {
    padding: 4.2rem 0 7rem;
    border-top: 1px solid #e1e5da;
}
.product-related-container {
    width: 100%;
}
.product-related h2 {
    margin-bottom: 3.4rem;
}
.product-related h2::after {
    width: 3.8rem;
    height: 1rem;
    margin-top: 0.8rem;
}
.product-related .proizvod-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1.6rem;
    row-gap: 4rem;
}
.product-related .proizvod-card-user {
    margin-bottom: 0.8rem;
    padding: 0.5rem 0.8rem;
}
.product-related .proizvod-card-user img {
    width: 3.7rem;
    height: 3.7rem;
}
.product-related .proizvod-card-user p {
    font-size: 1.6rem;
}
.product-related .proizvod-card-slika {
    border-radius: 0.8rem;
}
.product-related .proizvod-arrow {
    right: 1.5rem;
    bottom: 1.5rem;
}
.product-related .proizvod-card-text {
    margin-top: 1.6rem;
}
.product-related .proizvod-card-text h3 {
    margin-bottom: 0.5rem;
    font-family: "Lato", serif;
    font-size: 1.8rem;
}
.product-related .proizvod-card-text p {
    font-size: 2.4rem;
}

@media only screen and (max-width: 900px) {
    .product-detail {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem;
    }
    .product-related .proizvod-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 650px) {
    .product-detail {
        grid-template-columns: 1fr;
        padding-bottom: 6rem;
    }
    .product-gallery {
        padding-top: 2rem;
    }
    .product-gallery-image {
        height: auto;
        aspect-ratio: 0.565;
    }
    .product-related .proizvod-grid {
        grid-template-columns: 1fr;
    }
    .product-related .proizvod-card-slika {
        height: auto;
        aspect-ratio: 0.72;
    }
}

/* ADD PRODUCT PAGE */
.add-product-page {
    background-color: var(--background-color);
}
.add-product-section {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 10rem;
}
.add-product-section::before {
    position: absolute;
    top: 18rem;
    left: -10rem;
    width: 55rem;
    height: 55rem;
    content: "";
    background-image: url("images/logo-graphic-green.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: scale(1.8);
}
.add-product-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 108rem;
    margin: 0 auto;
}
.add-product-container > h1 {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 3.5rem;
    color: var(--txt-color);
    font-family: "Lato", serif;
    font-size: 3.2rem;
    font-weight: 400;
    letter-spacing: 1.2rem;
}
.add-product-container > h1::after {
    display: block;
    width: 6.3rem;
    height: 1.6rem;
    margin-top: 1rem;
    content: "";
    background-image: url("images/krivudava-linija-zelena.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.add-product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 12rem;
    min-height: 15rem;
    border-bottom: 1px solid #e1e5da;
}
.add-product-photo-row {
    min-height: 13rem;
}
.add-product-copy h2 {
    display: block;
    margin: 0 0 2.4rem;
    color: var(--txt-color);
    font-size: 3.2rem;
    font-weight: 700;
}
.add-product-copy h2::after {
    display: none;
}
.add-product-copy p {
    max-width: 39rem;
    font-size: 1.8rem;
    line-height: 1.45;
}
.add-product-field {
    width: 100%;
}
.add-product-field input,
.add-product-field textarea,
.add-product-field select {
    width: 100%;
    border: 1px solid #dce0d5;
    border-radius: 0.7rem;
    background-color: transparent;
    color: var(--txt-color);
    font-family: "Lato", serif;
    font-size: 1.8rem;
}
.add-product-field input,
.add-product-field select {
    height: 5.6rem;
    padding: 0 2.4rem;
}
.add-product-field textarea {
    height: 9.2rem;
    padding: 2.2rem 2.4rem;
}
.add-product-field input::placeholder,
.add-product-field textarea::placeholder {
    color: #a3a69f;
    opacity: 1;
}
.add-product-fields {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 3rem 0;
}
.add-product-upload {
    display: flex;
    justify-content: flex-end;
}
.add-product-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.add-product-upload label {
    min-width: 22rem;
    padding: 1.1rem 2rem;
    border: 1px solid var(--green-color);
    border-radius: 2.2rem;
    color: var(--txt-color);
    font-size: 1.8rem;
    text-align: center;
    cursor: pointer;
}
.add-product-price-row {
    min-height: 13rem;
}
.add-product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12rem;
}
.add-product-actions .button {
    grid-column: 2;
    justify-self: start;
    margin-top: 5rem;
}

@media only screen and (max-width: 700px) {
    .add-product-container > h1 {
        font-size: 2.6rem;
        letter-spacing: 0.6rem;
        text-align: center;
    }
    .add-product-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 0;
    }
    .add-product-copy p {
        max-width: none;
    }
    .add-product-upload {
        justify-content: flex-start;
    }
    .add-product-actions {
        display: block;
    }
    .add-product-actions .button {
        grid-column: auto;
    }
}

/* NAVIGATION */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--background-color);
}
.site-header + .hero-section {
    margin-top: 7rem;
}
.nav-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 7rem;
}
.nav-left,
.nav-right {
    display: flex;
    align-items: center;
}
.nav-left {
    gap: 3rem;
    justify-self: start;
}
.nav-right {
    gap: 3rem;
    justify-self: end;
}
.nav-left > a,
.nav-right > a:not(.button),
.nav-category-trigger {
    background: transparent;
    color: var(--txt-color);
    font-size: 1.8rem;
}
.nav-category-trigger {
    height: 100%;
}
.nav-gender-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 7rem;
}
.nav-search {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-search svg {
    display: block;
    width: 1.9rem;
    height: 1.9rem;
}
.site-logo {
    color: var(--purple-color);
    font-family: "Arsenal", serif;
    font-size: 4.2rem;
    line-height: 1;
}
.site-logo span {
    font-family: inherit;
    font-style: italic;
}
.nav-right .button {
    padding: 1rem 3.8rem;
    font-size: 1.5rem;
}
.nav-publish-plus {
    display: none;
}
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: -12rem;
    display: none;
    grid-template-columns: 23rem 1fr;
    width: 70rem;
    min-height: 42rem;
    padding: 5.5rem 4.5rem;
    border-top: 0.4rem solid var(--purple-color);
    background-color: var(--white-color);
    box-shadow: 0 0.8rem 2.5rem rgba(73, 71, 70, 0.12);
}
.nav-gender-item.open .nav-dropdown {
    display: grid;
}
.nav-dropdown-tabs {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 3.2rem;
    padding-right: 4.5rem;
}
.nav-dropdown-tabs button {
    background-color: transparent;
    color: var(--txt-color);
    font-size: 1.8rem;
    text-align: left;
}
.nav-dropdown-tabs button.active {
    color: var(--purple-color);
    text-decoration: underline;
    text-underline-offset: 0.4rem;
}
.nav-dropdown-links {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 2.2rem;
    padding-left: 4.5rem;
    border-left: 1px solid #dedede;
}
.nav-dropdown-panel {
    display: none;
}
.nav-dropdown-panel.active {
    display: flex;
}
.nav-dropdown-links a {
    font-size: 1.8rem;
}
.nav-mobile-toggle {
    display: none;
    width: 3rem;
    background-color: transparent;
}
.nav-mobile-toggle span {
    display: block;
    width: 100%;
    height: 0.2rem;
    margin-bottom: 0.6rem;
    background-color: var(--txt-color);
}
.nav-mobile-toggle span:last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 1100px) {
    .nav-left,
    .nav-right {
        gap: 2.5rem;
    }
}

@media only screen and (max-width: 900px) {
    .nav-container {
        grid-template-columns: 1fr auto 1fr;
    }
    .nav-mobile-toggle {
        display: block;
        justify-self: start;
    }
    .nav-left {
        position: absolute;
        top: 7rem;
        left: -3rem;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        width: calc(100vw - 6rem);
        padding: 2rem 3rem;
        background-color: var(--white-color);
        box-shadow: 0 1rem 2rem rgba(73, 71, 70, 0.1);
    }
    .site-header.mobile-open .nav-left {
        display: flex;
    }
    .nav-left > a,
    .nav-gender-item {
        min-height: 5rem;
    }
    .nav-gender-item {
        display: block;
        height: auto;
    }
    .nav-category-trigger {
        width: 100%;
        height: 5rem;
        text-align: left;
    }
    .nav-dropdown {
        position: static;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        min-height: auto;
        padding: 2rem 0;
        border-top-width: 0.2rem;
        box-shadow: none;
    }
    .nav-dropdown-tabs,
    .nav-dropdown-links {
        gap: 1.5rem;
        padding: 0 2rem;
    }
    .nav-dropdown-tabs button,
    .nav-dropdown-links a {
        font-size: 1.5rem;
    }
    .nav-right > a:not(.button) {
        display: none;
    }
    .nav-publish-button {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .site-logo {
        font-size: 3.2rem;
    }
    .nav-right .button {
        width: 4rem;
        height: 4rem;
        padding: 0;
    }
    .nav-dropdown {
        grid-template-columns: 1fr;
    }
    .nav-dropdown-links {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid #dedede;
        border-left: 0;
    }
}
.product-info .button{
    margin-top: 5rem;
}

/* RESPONSIVE LAYOUTS */
.nav-dropdown {
    position: fixed;
    top: 7rem;
    left: 50%;
    max-width: calc(100vw - 4rem);
    transform: translateX(-50%);
}
@media only screen and (max-width: 1510px) {
    .footer-right-image img{
        max-width: 34rem;
    }
}
@media only screen and (max-width: 1250px) {
    .nav-container{
        gap: 1rem;
    }
    .nav-left > a, .nav-right > a:not(.button), .nav-category-trigger{
        font-size: 1.6rem;
    }
    .nav-right > button:not(.button){
        font-size: 1.6rem;
    }
    .footer-right-image{
        display: none;
    }
}
@media only screen and (max-width: 1250px) {
    .hero-container {
        padding-right: 6rem;
        padding-left: 6rem;
    }
    .hero-container-flex-text h1 {
        font-size: 8.5rem;
        line-height: 0.95;
    }
    .hero-container-flex-image {
        width: 42%;
    }
    .hero-container-flex-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    .proizvod-grid,
    .product-related .proizvod-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .proizvod-card-slika,
    .product-related .proizvod-card-slika {
        height: auto;
        aspect-ratio: 0.72;
    }
    .product-detail {
        grid-template-columns: minmax(0, 46rem) minmax(0, 59rem);
        gap: clamp(4rem, 7vw, 10rem);
    }
    .product-gallery,
    .product-info {
        max-width: 100%;
    }
    .if-selling-container-flex {
        gap: 4rem;
    }
    .settings-row,
    .add-product-row,
    .add-product-actions {
        gap: 5rem;
    }
}

@media only screen and (max-width: 1000px) {
    
    .user-profile-info-section {
        padding-top: 8rem;
    }
    .user-profile-info-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 5rem;
    }
    .user-profile-info-container-right {
        max-width: none;
        gap: 3rem;
    }
    .user-profile-info-container-right.logged a {
        margin-left: 0;
    }
    .footer-right-image {
        display: none;
    }
    .footer-flex {
        align-items: center;
        flex-direction: column;
        gap: 4rem;
        padding: 5rem 0;
    }
    .footer-left-links {
        position: static;
        align-items: center;
        order: 2;
    }
    .footer-middle {
        order: 1;
    }
    .additional-info-container-flex {
        flex-direction: column;
        gap: 5rem;
    }
    .additional-info-container-flex-item {
        max-width: none;
    }
}

@media only screen and (max-width: 900px) {
    
    .container {
        padding-right: 2.5rem;
        padding-left: 2.5rem;
    }

    /* Mobile navigation */
    .nav-container {
        height: 7rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .site-logo svg{
        max-width: 10rem;
    }
    .nav-mobile-toggle {
        position: relative;
        z-index: 2;
        display: block;
        width: 2.8rem;
        height: 2.4rem;
    }
    .nav-mobile-toggle span {
        position: absolute;
        left: 0;
        width: 100%;
        margin: 0;
        transition: top 0.25s ease, transform 0.25s ease, opacity 0.2s ease;
    }
    .nav-mobile-toggle span:nth-child(1) {
        top: 0.2rem;
    }
    .nav-mobile-toggle span:nth-child(2) {
        top: 1.1rem;
    }
    .nav-mobile-toggle span:nth-child(3) {
        top: 2rem;
    }
    .site-header.mobile-open .nav-mobile-toggle span:nth-child(1) {
        top: 1.1rem;
        transform: rotate(45deg);
    }
    .site-header.mobile-open .nav-mobile-toggle span:nth-child(2) {
        opacity: 0;
    }
    .site-header.mobile-open .nav-mobile-toggle span:nth-child(3) {
        top: 1.1rem;
        transform: rotate(-45deg);
    }
    .nav-left {
        position: fixed;
        top: 7rem;
        left: 0;
        width: 100%;
        height: calc(100vh - 7rem);
        height: calc(100dvh - 7rem);
        padding: 1.5rem 2.5rem 5rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        background-color: var(--white-color);
    }
    .nav-left > a,
    .nav-left > .nav-gender-item {
        flex: 0 0 auto;
    }
    .nav-left > a,
    .nav-category-trigger {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 5.6rem;
        border-bottom: 1px solid #eceee7;
        font-size: 1.7rem;
    }
    .nav-category-trigger {
        position: relative;
        padding-right: 3rem;
    }
    .nav-category-trigger::after {
        position: absolute;
        right: 0.4rem;
        content: "+";
        font-size: 2.2rem;
        font-weight: 300;
    }
    .nav-gender-item.open .nav-category-trigger::after {
        content: "−";
    }
    .nav-gender-item {
        display: block;
        height: auto;
        overflow: hidden;
    }
    .nav-dropdown {
        position: static;
        width: 100%;
        max-width: none;
        max-height: none;
        padding: 2rem 0 3rem;
        transform: none;
        border-top: 0;
    }
    .nav-dropdown-tabs {
        padding-right: 2rem;
    }
    .nav-dropdown-content {
        min-width: 0;
    }
    .nav-dropdown-links {
        min-width: 0;
    }
    .site-logo {
        position: static;
        left: auto;
        transform: none;
        justify-self: start;
    }

    /* Shared cards and footer */
    .proizvod-grid,
    .product-related .proizvod-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2rem;
        row-gap: 5rem;
    }
    .footer-middle-logo {
        margin-bottom: 3rem;
    }
    .footer-middle-logo img {
        width: 100%;
        max-width: 28rem;
        height: auto;
    }

    /* Home */
    .hero-section {
        padding-top: 3rem;
    }
    .hero-container {
        padding: 5rem 5rem 0;
        transform: translateY(6rem);
    }
    .hero-container-flex {
        align-items: center;
        flex-direction: column;
        max-width: none;
    }
    .hero-container-flex-text {
        width: 100%;
    }
    .hero-container-flex-text h1 {
        font-size: 7rem;
    }
    .hero-container-flex-text p {
        max-width: none;
    }
    .hero-container-flex-image {
        width: min(36rem, 80%);
        margin-top: 3rem;
    }
    .category-section {
        padding-top: 12rem;
    }
    .category-container-flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5rem 3rem;
    }
    .category-container-flex a {
        width: calc(33.333% - 2rem);
    }
    .category-container-flex a img {
        max-width: 100%;
        height: auto;
    }

    /* Inner hero and category */
    .inner-hero-section {
        padding: 4rem 0;
    }
    .inner-hero-container {
        height: 15rem;
    }
    .inner-hero-container h1 {
        font-size: 4.2rem;
        line-height: 1.4;
        text-align: center;
    }
    .inner-hero-clothes-graphic,
    .inner-hero-logo-graphic {
        width: 18rem;
    }
    .inner-hero-clothes-graphic img,
    .inner-hero-logo-graphic img {
        width: 100%;
        height: auto;
    }
    .filter-container {
        flex-wrap: wrap;
        padding: 0 2.5rem;
    }

    /* About */
    .if-selling-container-flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6rem 3rem;
    }
    .if-selling-container-flex-item {
        width: calc(50% - 1.5rem);
    }
    .additional-info-section {
        padding-bottom: 8rem;
    }

    /* Forms */
    .settings-row,
    .add-product-row,
    .add-product-actions {
        gap: 4rem;
    }

    /* Chat */
    .chat-layout {
        grid-template-columns: 28rem minmax(0, 1fr);
        gap: 2rem;
    }
}

@media only screen and (max-width: 700px) {
    h2 {
        font-size: 2.8rem;
    }
    .button {
        font-size: 1.6rem;
    }

    /* Navigation */
    .nav-right .button {
        width: 4.2rem;
        height: 4.2rem;
        padding: 0;
    }
    .nav-dropdown {
        grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.2fr);
    }
    .nav-dropdown-tabs,
    .nav-dropdown-links {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    /* Home */
    .hero-container {
        padding: 4rem 3rem 0;
        border-radius: 2.4rem;
    }
    .hero-container::before {
        border-radius: 2.4rem;
    }
    .hero-container-flex-text h1 {
        margin-bottom: 2.5rem;
        font-size: 5.8rem;
        line-height: 1;
    }
    .hero-container-flex-text p {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }
    .category-container-flex a {
        width: calc(50% - 1.5rem);
    }

    /* Inner pages */
    .inner-hero-clothes-graphic,
    .inner-hero-logo-graphic {
        display: none;
    }
    .inner-hero-container {
        justify-content: center;
        height: auto;
        min-height: 14rem;
        padding: 2rem;
    }
    .inner-hero-container h1 {
        font-size: 3.6rem;
        line-height: 1.2;
    }
    .inner-hero-container h3 {
        text-align: center;
    }
    .filter-container {
        gap: 1.5rem;
        margin-bottom: 4rem;
    }
    .custom-select {
        max-width: none;
    }

    /* Product */
    .product-detail {
        grid-template-columns: 1fr;
        gap: 4rem;
        min-height: auto;
        padding-bottom: 6rem;
    }
    .product-gallery {
        width: 100%;
        max-width: 59rem;
        margin: 0 auto;
        padding-top: 2rem;
    }
    .product-info {
        max-width: none;
    }
    .product-related {
        padding-top: 5rem;
    }

    /* Profile */
    .user-profile-info-section {
        padding: 6rem 0;
    }
    .user-profile-product-section {
        padding-bottom: 8rem;
    }
    .user-profile-product-container-header a {
        position: static;
        margin: 0 auto 4rem;
    }

    /* About */
    .if-selling-section {
        padding: 5rem 0 7rem;
    }
    .if-selling-container-flex-item {
        width: 100%;
    }
    .additional-info-section {
        padding-top: 6rem;
    }

    /* Chat */
    .chat-main {
        padding-top: 3rem;
    }
    .chat-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    .chat-sidebar {
        max-height: 26rem;
    }
    .chat-conversation {
        height: 58rem;
    }
}

@media only screen and (max-width: 560px) {
    .container {
        padding-right: 2rem;
        padding-left: 2rem;
    }
    .proizvod-grid,
    .product-related .proizvod-grid {
        grid-template-columns: 1fr;
    }
    .proizvod-card-slika,
    .product-related .proizvod-card-slika {
        aspect-ratio: 0.78;
    }
    .proizvod-card-text {
        margin-top: 1.8rem;
    }

    /* Navigation */
    .nav-left {
        padding-right: 2rem;
        padding-left: 2rem;
    }
    .site-logo {
        font-size: 3rem;
    }
    .nav-right .button {
        width: 4rem;
        height: 4rem;
        padding: 0;
    }
    .nav-dropdown {
        grid-template-columns: 1fr;
    }
    .nav-dropdown-tabs {
        padding-bottom: 2rem;
        border-bottom: 1px solid #dedede;
    }
    .nav-dropdown-content {
        border-left: 0;
    }
    .nav-dropdown-links {
        margin-top: 0;
        padding-top: 2rem;
        border-left: 0;
    }

    /* Home */
    .hero-section {
        padding-top: 2rem;
    }
    .hero-container {
        padding: 3.5rem 2.5rem 0;
        margin-top: -5rem;
    }
    .hero-container-flex-text h1 {
        font-size: clamp(4.2rem, 14vw, 5.2rem);
    }
    .hero-container-flex-image {
        width: min(28rem, 90%);
    }
    .category-section {
        padding-top: 9rem;
    }
    .category-container-flex {
        gap: 4rem 2rem;
    }
    .category-container-flex a {
        width: calc(50% - 1rem);
    }
    .najnovije-section {
        padding-bottom: 6rem;
    }

    /* Footer */
    .footer-flex {
        align-items: stretch;
        padding: 4rem 0;
    }
    .footer-middle {
        max-width: none;
    }
    .footer-middle-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem 3rem;
    }
    .footer-middle-links a,
    .footer-left-links a {
        font-size: 1.5rem;
    }

    /* Product */
    .product-detail-section {
        padding-top: 3rem;
    }
    .product-info h1 {
        font-size: 2.4rem;
    }
    .product-description {
        font-size: 1.4rem;
    }
    .product-attributes div {
        grid-template-columns: 9rem 1fr;
        font-size: 1.4rem;
    }
    .product-seller {
        height: auto;
        min-height: 4.8rem;
        margin-top: 3rem;
        padding: 1rem 1.5rem;
    }

    /* Profile */
    .user-profile-info-container-left {
        align-items: flex-start;
        flex-direction: column;
        gap: 2.5rem;
    }
    .profile-image {
        max-width: 15rem;
    }
    .profile-info h4 {
        margin-bottom: 3rem;
        font-size: 2.8rem;
    }
    .user-profile-info-container-right p {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }

    /* Forms */
    .settings-copy h1,
    .settings-copy h2,
    .add-product-copy h2 {
        font-size: 2.8rem;
    }
    .settings-copy p,
    .add-product-copy p {
        font-size: 1.6rem;
    }
    .settings-photo-control {
        align-items: flex-start;
        flex-direction: column-reverse;
    }
    .add-product-container > h1 {
        font-size: 2.4rem;
        letter-spacing: 0.35rem;
    }
    .add-product-upload label {
        min-width: 0;
        width: 100%;
    }
    .add-product-actions .button {
        width: 100%;
    }

    /* Chat */
    .chat-conversation {
        height: 52rem;
    }
    .chat-conversation-header {
        padding: 0 1.8rem;
    }
    .chat-conversation-header a {
        font-size: 1.3rem;
    }
    .chat-message-form {
        margin: 0 1.8rem 2rem;
    }
    .hero-container::after, .inner-hero-container::after{
        background-size: contain;
        bottom: -5.5rem;
    }
    .footer-middle-logo img{
        max-width: 20rem;
    }
    .user-profile-info-container-right.logged > .button{
        margin-left: 0px!important;
    }
}