html, body {
	margin: 0;
	padding: 0;
}

header {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #fff;
    box-shadow: 3px 3px 5px #ddd;
}

.top-navbar {
    display: flex;
    justify-content: space-between;
    background-color: #FF99FC;
    color: #FFFFFF;
    padding: 8px 30px;
}
.top-navbar-section {
    display: flex;
}
.top-navbar-item {
    cursor: pointer;
    transition: 0.4s;
}
.top-navbar-item:not(:last-child){
    margin-right: 2rem;
}
.top-navbar-item a {
    color: #fff;
}
.top-navbar-item a:hover {
    color: #424242 !important;
}

.top-navbar-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.top-navbar-item-mobile a {
    color: black;
}

.action-button-base {
    background-color: #FF99FC;
    transition: 0.4s;
    padding: 0.5rem 2rem;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.action-button-base:hover{
    background-color: #ff68fa;
}

.header-main, .header-main-mobile{
    padding: 0 30px 8px 30px;
    display: flex;
    align-items: center;
}
.header-main div:not(:last-child), .header-main-mobile div:not(:last-child) {
    margin-right: 2rem;
}
.header-main-mobile{
    display: none;
}

.header-main__login, .header-main__favourites, .header-main__cart{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
}

.custom-input{
    display: flex;
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 5px;
    max-width: 100vw;
    position: relative;
}
.custom-input input {
    border: none;
    outline: none;
    width: 100%;
}
.custom-input__action-button {
    background-color: #FF99FC;
    color: #fff;
    padding: 8px;
    font-size: 0.9rem;
    border-radius: 5px;
    cursor: pointer;
}

.custom-input__action-button:hover {
    transition: 0.4s;
    background-color: #ff68fa;
}

.header-menu {
    padding: 8px 30px;
    display: flex;
    justify-content: space-between;
}

.header-menu__item{
    cursor: pointer;
    position: relative;
}
.header-menu__item a {
    color: black;
}
.header-menu__item:before{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: black;
    bottom: -1px;
    transition: 0.8s;
}
.header-menu__item:hover:before{
    width: 100%;
}


/* CATALOG MODAL */
.catalog-bcgrd{
    position: fixed;
    top: 110px;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 1;
}
.catalog-modal-wrapper{
    top: 150px;
    width: 100%;
    left: 0;
    position: absolute;
    background-color: #ebebeb;
    z-index: 1;
}
.catalog-modal {
    padding: 25px;
    background-color: #ebebeb;
    box-shadow: 3px 3px 5px #ddd;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-gap: 30px;
}

.catalog-item{
    background-color: #ffffff;
    grid-gap: 25px;
    cursor: pointer;
    border-radius: 5px;
    padding: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.catalog-item__name {
    font-size: 14pt;
    margin-bottom: 15px;
    text-align: center;
}

.catalog-item__image{
    position: relative;
    width: 90%;
}

.catalog-item img{
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

@media screen and ( max-width: 800px) {
    .top-navbar, .header-main{
        display: none;
    }

    .top-navbar-mobile, .header-main-mobile {
        display: flex;
    }

    .catalog {
        top: 143px;
    }
}