body {
    margin: 0px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    background-color: #eeeeee;
}
h1{
    font-weight: 900;
    margin: 100px 20px 20px 20px;
    text-align: center;
}

p {
    margin-top: 30px;
}
.t-center {text-align: center;}


/* === Base styles === */
.hide {
    display: none;
}
.d-hide {
    display: none;
}
.d-flex {
    display: flex;
}
/* === End - Base styles === */



/* === Navbar === */
.navbar__container {
    background: rgb(62,193,177);
    background: linear-gradient(90deg, rgb(70 70 70) 0%, rgb(69 189 178) 50%, rgb(200 137 249) 100%);
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    -webkit-box-shadow: 0px 3px 15px 0px rgba(22,28,74,0.67);
    -moz-box-shadow: 0px 3px 15px 0px rgba(22,28,74,0.67);
    box-shadow: 0px 3px 15px 0px rgba(22,28,74,0.67);
}

/* Navbar - Sandwich */
.navbar__sandwich-block {
    display: block;
}
.navbar__sandwich-button {
    /*height: 30px;*/
    margin: 11px;
    cursor: pointer;
}
/* End - Navbar - Sandwich */

/* Navbar - Logo */
.navbar__logo-block {
    display: flex;
    font-size: 26px;
    margin: 0px 0px 0px 20px;
    color: #b57501;
}
.navbar__logo-link {
    text-decoration: none;
    color: #000000;
}
.navbar__logo-name {
    margin: 10px 10px 0px 10px;
}
/*.navbar__logo-image {*/
    /*height: 51px;*/
/*}*/
/* End - Navbar - Logo */

.welcome-from-other-sites {
    color: white;
    font-size: 10px;
    margin-top: 13px;
}

.navbar__search-field {
    width: 98%;
    height: 36px;
    padding: 0px 0px 0px 15px;
    border: 0px;
    border-radius: 18px;
    outline: none;
    font-size: 16px;
    vertical-align: top;
}
.navbar__search-block {
    display: inline-block;
    width: 60%;
    vertical-align: top;
    margin-top: 20px;
}
.navbar__search-button {
    display: inline-block;
    vertical-align: top;
    margin: 20px 0px 0px 20px;
    height: 36px;
    border: 1px solid;
    border-radius: 18px;
    width: 120px;
    font-size: 17px;
    background-color: #5c7fad;
    color: #fff;
    cursor: pointer;
    outline: none;
    transition-property: background-color;
    transition-duration: 300ms;
}
.navbar__search-button:hover {
    background-color: #386094;
    transition-property: background-color;
    transition-duration: 300ms;
}
.navbar__other-buttons-block {
    display: block;
    height: 50px;
}
.navbar__button__add-product, .navbar__button__favorites, .navbar__button__user {
    /*height: 30px;*/
    margin: 11px;
    cursor: pointer;
}

.navbar__control-panel__item-container {
    position: absolute;
    display: none;
    background-color: #bccee8;
    padding: 10px 0;
    margin-top: -2px;
    width: 250px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    right: 0px;
}
.navbar__control-panel__item-block {
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.navbar__control-panel__item {
    transition-property: background-color;
    transition-duration: 200ms;
}
.navbar__control-panel__item:hover {
    background-color: #8aa8d4;
}
.navbar__control-panel__item-link {
    text-decoration: none;
    color: black;
}
/* === End - Navbar === */



/* === Left Sidebar Menu === */
.left-sidebar-menu {
    background: #8b9ebf;
    height: 100%;
    width: 280px;
    position: fixed;
    top: 0px;
    left: -280px;
    z-index: 3;
    transition-property: left;
    transition-duration: 500ms;
    overflow-y: auto;
}
.left-sidebar-menu-shadow {
    -webkit-box-shadow: 0px 0px 62px -8px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 62px -8px rgba(0,0,0,1);
    box-shadow: 0px 0px 62px -8px rgba(0,0,0,1);
}
.button__left-sidebar-menu__open {
    height: 30px;
    margin: 11px;
    cursor: pointer;
    display: none;
}
.left-sidebar-menu__open {
    left: 0;
}
.button__left-sidebar-menu__close {
    width: 40px;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}
/* === End - Left Sidebar Menu === */



/* === Banners === */
.big-banner {
    margin: 50px 0px;
    position: relative;
}
.big-banner_image {
    width: 100%;
}
.big-banner_content-block {
    position: absolute;
    top: 30px;
    left: 40px;
}
.big-banner_link {
    text-decoration: none;
}
.big-banner_title {
    background-color: #000;
    color: #81a6ce;
    padding: 10px 30px;
    font-size: 26px;
    font-weight: 900;
}
.big-banner_content {
    background-color: #000000b8;
    color: #eeeeee;
    padding: 10px 30px;
    margin-top: 30px;
}
/* === End - Banners === */


/* === Popular categories === */
.popular-categories__container {
    margin-top: 40px;
    padding: 25px 0px;
    /*background-color: #acd4b8;*/
    /*background: linear-gradient(45deg, rgb(70 70 70 / 30%) 0%, rgb(69 189 178 / 30%) 50%, rgb(200 137 249 / 30%) 100%);*/
}

.popular-category__block {
    display: block;
    text-align: center;
    justify-content: center;
}

.popular-category__item {
    display: inline-block;
    width: 280px;
    height: 120px;
    background: #fff;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 0 0px 5px 0px rgb(22 28 74 / 40%);
}
.popular-category__item:hover {
    background: #f3f3f3;
    box-shadow: 0 0px 15px 0px rgb(22 28 74 / 40%);
}

.popular-category__item__link {
    text-decoration: none;
    color: #000
}

.popular-category__item__content {
    padding: 14px 0;
}
/* === End - Popular categories === */


.phone {
    text-decoration: none;
    color: #a8a8a9;
}



/* === Products === */
#product-container {
    display: block;
    text-align: center;
}

.product-card {
    background-color: #ffffff;
    width: 250px;
    height: 396px;
    display: inline-block;
    margin: 10px;
    border-radius: 40px 5px;
    padding: 5px 0 0 0;
    box-shadow: 1px 1px 12px 3px rgb(133 133 137 / 20%);
    transition-property: box-shadow;
    transition-duration: 500ms;
}
.product-card:hover {box-shadow: 1px 1px 12px 3px rgb(133 133 137 / 60%)}



/* Block - Price */
.title-block {
    position: absolute;
    z-index: 1;
    height: 34px;
    width: 230px;
    font-size: 16px;
    border-radius: 5px;
    padding: 5px;
    margin: 3px 10px 5px 5px;
    color: #3c3c48;
    text-align: left;
    text-overflow: ellipsis;
    overflow:hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition-property: height, background-color;
    transition-duration: 200ms;
}
.title-block:hover {
    height: 75px;
    background-color: #ededed;
    -webkit-line-clamp: 4;
}
/* End Block - Price */


/* Block - Price */
.product-card__price-container {
    font-size: 22px;
    font-weight: 500;
    margin: 55px 30px 0 10px;
    position: relative;
    bottom: 4px;
    text-align: left;
    border-radius: 6px 6px 0 0;
    height: 25px;
    padding-top: 5px;
}
.product-card__price-value {
    vertical-align: super;
    margin: 5px 5px 0 0px;
}
.product-card__price-currency {
    font-size: 14px;
    font-weight: 300;
}
/* End Block - Price */


/* Block - Phone Number */
.show-phone-number {width: 202px}
.hide-phone-number {width: 0}
.block__phone-number {
    position: absolute;
    right: 9px;
    overflow: auto;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 0px;
    background-color: #cdebc9;
    border-radius: 15px 15px 15px 15px;
    margin: 3px 0 0 0;
    padding: 6px 23px 7px 7px;
    z-index: 1;
    transition-property: width;
    transition-duration: 300ms;
}
.icon-animation {
    animation: pulse-green 2s infinite;
}
.icon-phone {
    transform: rotate(270deg);
    margin: 3px 8px 0px 0px;
    cursor: pointer;
    z-index: 2;
    transition-property: transform;
    transition-duration: 300ms;
    border-radius: 15px;
}
.icon-phone:hover {
    transform: rotate(225deg);
}
@keyframes pulse-green {
    0% {
        transform: scale(0.95) rotate(225deg);
        box-shadow: 0 0 0 0 rgba(51, 217, 178, 0.7);
    }

    70% {
        transform: scale(1) rotate(270deg);
        box-shadow: 0 0 0 10px rgba(51, 217, 178, 0);
    }

    100% {
        transform: scale(0.95) rotate(225deg);
        box-shadow: 0 0 0 0 rgba(51, 217, 178, 0);
    }
}
/* End Block - Phone Number */


/* Block - Location */
.location-block {
    font-size: 14px;
    margin: 6px 0 0 7px;
    color: #ff6a00;
    font-weight: 400;
    text-align: left;
    display: flex;
    position: relative;
}
.location-block > img {
    height: 20px;
}
.location-block:hover > img {
    height: 25px;
    margin-left: -2px;
}

.icon-map {
    position: absolute;
    bottom: 0px;
    transition-property: height, margin-left;
    transition-duration: 300ms;

}
/* End Block - Location */

/* === End - Products === */



/* === PopUp === */
.popup__wrapper {
    position: fixed;
    z-index: 2;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
}
.popup__container {
    position: relative;
    background-color: #c7c7c7;
    margin: auto;
    padding: 30px 0px;
    border: 1px solid #888;
    width: 370px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    text-align: center;
    border-radius: 10px;
}
.popup__btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #6b6b6b;
    font-weight: 900;
    padding: 5px;
    cursor: pointer;
}
.popup__btn-close:hover {
    color: #980000;
    background-color: #a8a8a9;
    border-radius: 5px;
}
.popup__title {
    font-size: 30px;
    font-weight: 900;
    padding: 0px 15px;
}
.popup__content {
    margin: 30px 30px 10px 30px;
}
.popup__content-phone {
    font-size: 20px;
    font-weight: 900;
    line-height: 2em;
}
.popup__label-input {
    margin: 10px 0px;
    font-weight: 900;
}
.popup__input-email {
    height: 35px;
    width: 252px;
    border-radius: 23px;
    border: 1px solid;
    outline: none;
    padding: 0px 22px;
    margin-bottom: 10px;
    border-color: #bfbfbf;
}
.popup__btn-login {
    font-size: 18px;
    background: #079032;
    padding: 10px 0px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    width: 150px;
    height: 40px;
    cursor: pointer;
    margin: 20px auto;
}
.popup__label-authorization-error {
    display: none;
    color: #970000;
    margin-top: 0px;
}
/* === End - PopUp === */



/* === Footer === */
.footer-top__container {
    margin-top: 65px;
    background-color: #bacfe8;
    -webkit-box-shadow: 0px 3px 15px 0px rgba(22,28,74,0.67);
    -moz-box-shadow: 0px 3px 15px 0px rgba(22,28,74,0.67);
    box-shadow: 0px 3px 15px 0px rgba(22,28,74,0.67);
}
.footer-top__block {
    display: block;
    text-align: center;
}
.footer-top__group-items {
    display: inline-block;
    max-width: 1000px;
    margin: 0px;
    text-align: left;
    margin: 20px;
}
.footer-top__item-title {
    text-align: center;
    margin: 8px 0px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}
.footer-top__item-content {
    margin: 0 20px;
    text-align: justify;
}
.footer-top__link {
    font-size: 14px;
    color: #737373;
    text-decoration: none;
    cursor: pointer;
}
.footer-top__link:hover {
    color: #fd6a01;
}

.footer-bottom__block {
    background: linear-gradient(90deg, rgb(70 70 70) 0%, rgb(69 189 178) 50%, rgb(200 137 249) 100%);
    display: block;
    text-align: center;
    color: #000000;
    font-size: 14px;
}
.footer-bottom__item {
    display: inline-block;
    margin: 8px;
}
.footer-bottom__link {
    color: #000;
    text-decoration: none;
}
/* === End - Footer === */


/* === Media === */
@media only screen and (max-width: 450px) {
    .navbar__logo-name {display: none;}
    .navbar__search-block {width: 80%;}
    /*.welcome-from-other-sites {font-size: 8px;}*/
}

@media only screen and (max-width: 650px) {
    .big-banner_content-block {position: static;}
    .big-banner_title {margin-top: -4px;}
    .big-banner_content {margin-top: 0px;}
    .welcome-from-other-sites {display: none;}
}

@media only screen and (min-width: 580px) {
    .welcome-from-other-sites {display: none;}
}

@media only screen and (min-width: 660px) {
    .welcome-from-other-sites {font-size: 12px; margin-top: 19px; display: block;}
}

@media only screen and (min-width: 850px) {
    .welcome-from-other-sites {font-size: 16px; margin-top: 17px; display: block;}
}

@media only screen and (min-width: 1024px) {
    .navbar__sandwich-button {display: none;}
    .navbar__search-block {width: 40%;}
    .welcome-from-other-sites {font-size: 20px; margin-top: 13px; display: block;}
}
/* === End - Media === */


/* Header buttons */
.authoriz {
    height: 50px;
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    transition-property: background-color;
    transition-duration: 1000ms;
}
.authoriz:hover {
    background-color: #bccfe8;
    transition-property: background-color;
    transition-duration: 200ms;
}
.navbar__buttons {
    display: inline-block;
    cursor: pointer;
    /*background-color: #ffb340;*/
    height: 50px;
    transition-property: background-color;
    transition-duration: 1000ms;
}
.navbar__buttons:hover {
    background-color: #bccfe8;
    transition-property: background-color;
    transition-duration: 200ms;
}
/* End - Header buttons */
