* {
    font-family: 'Ubuntu';
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    padding: 0;
    margin: 0;
}
body {
    height: 100vh;
    background: #fff;
}
input, textarea, select {
    border: #2fade0 1px solid;
}
textarea {
    resize: none;
}
a {
    color: #0480ec;
    text-decoration: none;
}
a:hover {
    color: #a63da6 !important;
    text-decoration: none;
}
b {
    font-weight: 500;
}
p {
    padding: 0 0 10px 0;
    margin: 0;
}
h1, h2, h3, h4 {
    font-weight: 400;
    padding: 0 0 10px 0;
    margin: 0;
}
h1 *, h2 *, h3 *, h4 * {
    font-size: inherit;
}
h1 {
    font-size: 32px;
}
h2 {
    font-size: 24px;
}
img {
    border: 0;
    padding: 0;
    margin: 0;
    vertical-align: top;
}
.clear {
    font-size: 0;
    clear: both;
}
.hidden {
    display: none;
}
.nowrap {
    white-space: nowrap;
}
:focus {
    outline: none;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
}

header {
	width: 100%;
    height: 120px;
    background: #f0d3fa;
    box-shadow: rgba(0, 0, 0, 0.25) 0 1px 5px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 8;
}
header .logo {
    width: 80px;
    height: 80px;
    background: url('/templates/images/logo.png') 50% 50% no-repeat;
    position: absolute;
    top: 20px;
    left: 0;
}
header .menu {
    padding: 20px 0 20px 0;
    margin: 0 260px 0 260px;
}
header .menu a {
    margin-right: 12px;
}
header .search {
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 4px 88px 4px 6px;
    background: #fff;
    margin: 0 350px 0 120px;
    position: relative;
}
header .search input {
    width: 100%;
    background: transparent;
    border: 0;
}
header .search button {
    width: 80px;
    line-height: normal;
    background: #eee;
    border: 0;
    border-radius: 2px;
    padding: 4px 0;
    position: absolute;
    top: 4px;
    right: 4px;
    cursor: pointer;
}
header .phone {
    text-align: right;
    position: absolute;
    top: 20px;
    right: 0;
}
header .user {
    text-align: right;
    position: absolute;
    top: 20px;
    right: 0;
}
header .user a {
    margin-left: 8px;
}
header .basket {
    text-align: right;
    position: absolute;
    top: 71px;
    right: 0;
}

main {
	padding-top: 20px;
    margin-top: 120px;
}

footer {
    min-height: 120px;
    background: #eee;
}
footer .menu {
    width: 320px;
    float: left;
    color: #999;
    padding: 20px 0 20px 0;
}
footer .menu a {
    margin-bottom: 4px;
    display: block;
}
footer .socials {
    width: 320px;
    float: right;
    padding: 20px 0 20px 0;
}
footer .socials .label {
    color: #999;
    padding-bottom: 4px;
}
footer .socials .links a {
    margin-right: 4px;
    opacity: 0.8;
}
footer .socials .links a:hover {
    opacity: 1;
}
footer .copyright {
    color: #999;
    padding: 20px 0 20px 0;
}

.path {
    color: #ccc;
}
.path a::after {
    content: "/";
    color: #ccc;
    padding: 0 5px 0 10px;
}
.path a:last-child::after {
    content: "";
}

section.main-goods {
    padding: 20px;
    margin-bottom: 20px;
}
section.main-goods .items {
    flex-wrap: wrap;
    flex-direction: row;
    display: flex;
}
section.main-goods .items .item {
    width: 25%;
}
section.main-goods .items .item .image {
    width: 280px;
    height: 210px;
    overflow: hidden;
}
section.main-goods .items .item .image img {
    width: 100%;
}
section.main-goods .items .item .name {
    padding-top: 10px;
}

section.categories {
	padding: 0 10px;
    margin-bottom: 10px;
}
section.categories .items {
    flex-wrap: wrap;
    flex-direction: row;
    display: flex;
}
section.categories .items .item {
    width: 33.33%;
}
section.categories .items .item .item-content {
	background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 15px 10px 10px 10px;
    margin: 0 5px 15px 5px;
    transition: box-shadow ease 0.2s;
}
section.categories .items .item .item-content:hover {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
section.categories .items .item:nth-child(3n-2) .item-content {
    margin: 0 10px 0 0;
}
section.categories .items .item:nth-child(3n) .item-content {
    margin: 0 0 0 10px;
}
section.categories .items .item .item-content .image {
    height: 240px;
    text-align: center;
    overflow: hidden;
}
section.categories .items .item .item-content.image img {
    max-width: 100%;
    max-height: 100%;
}
section.categories .items .item .item-content .name {
    height: 70px;
    overflow: hidden;
}
section.categories .items .item .item-content .name div {
    padding-top: 15px;
    text-align: center;
}

section.category {
    padding: 0 10px;
    margin-bottom: 20px;
}
section.category .filter {
    padding-bottom: 20px;
}
section.category .filter .filter-brands {

}
section.category .filter .filter-brands-chars {

}
section.category .filter .filter-brands-chars div {
    border-radius: 4px;
    padding: 0 6px;
    cursor: pointer;
    display: inline-block;
}
section.category .filter .filter-brands-chars div span {
    color: #0480ec;
    margin-left: 4px;
}
section.category .filter .filter-brands-chars div.set {
    background: #e6e6e6;
}
section.category .filter .filter-brands-items {

}
section.category .filter .filter-brands-items span {
    border-radius: 4px;
    padding: 0 6px;
    cursor: pointer;
}
section.category .filter .filter-brands-items span.open {
    background: #e6e6e6;
}
section.category .goods {

}
section.category .goods .goods-available-trigger {
    padding: 0 0 16px 0;
}
section.category .goods .goods-available-trigger .item {
    border: #e6e6e6 1px solid;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
}
section.category .goods .goods-available-trigger .item.open {
    background: #e6e6e6;
}
section.category .goods .items {
    flex-wrap: wrap;
    flex-direction: row;
    display: flex;
}
section.category .goods .items .item {
    width: 25%;
}
section.category .goods .items .item .item-content {
	background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 10px;
    margin: 0 7.5px 15px 7.5px;
    transition: box-shadow ease 0.2s;
}
section.category .goods .items .item .item-content:hover {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
section.category .goods .items .item:nth-child(4n-3 of :not(.hidden)) .item-content {
    margin: 0 7.5px 0 0;
}
section.category .goods .items .item:nth-child(4n of :not(.hidden)) .item-content {
    margin: 0 0 0 7.5px;
}
section.category .goods .items .item .item-content .image {
    height: 180px;
    text-align: center;
    overflow: hidden;
}
section.category .goods .items .item .item-content .image img {
    max-width: 100%;
    max-height: 100%;
}
section.category .goods .items .item .item-content .name {
    padding-top: 15px;
}
section.category .goods .items .item .item-content .name div {
    height: 50px;
    overflow: hidden;
}

section.good {
    padding: 0 10px;
    margin-bottom: 20px;
}
section.good .images {
    width: 320px;
    float: left;
}
section.good .images .image {
	background-color: #fff;
    text-align: center;
    padding: 20px;
}
section.good .images .photos {
	background-color: #fff;
    margin-top: 20px;
}
section.good .images .photos a {
    width: 80px;
    height: 200px;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}
section.good .images .photos img {
    max-width: 100%;
}
section.good .images .video {
    margin-top: 20px;
}
section.good .details {
    margin-left: 360px;
}
section.good .volume {
    font-weight: 500;
}
section.good .label {
    color: #999;
    margin-right: 8px;
}
section.good .type {
    margin-bottom: 20px;
}
section.good .brand {
    margin-bottom: 20px;
}
section.good .perfumers {
    margin-bottom: 20px;
}
section.good .perfumers span:not(:last-child):after {
    content: ', ';
}
section.good .description {
    margin-bottom: 10px;
}
section.good .notice {
    background: #f0d3fa;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 14px 20px 9px 20px;
    margin-bottom: 10px;
}
section.good .not-available {
    background: #f0d3fa;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 14px 20px 9px 20px;
    margin-bottom: 10px;
}
section.good .price {
    margin-bottom: 4px;
}
section.good.price-old {
    text-decoration: line-through;
    margin-bottom: 4px;
}
section.good .bottles {
	background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 14px 20px 14px 20px;
    margin-top: 30px;
}
section.good .bottles .bottle {
    border-bottom: #e6e6e6 1px solid;
    padding-bottom: 14px;
    margin-bottom: 14px;
}
section.good .bottles .bottle:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
section.good .bottles .bottle .name {
    font-weight: 500;
}
section.good .bottles .bottle .price {
    margin-bottom: 4px;
}
section.good .bottles .bottle .price-old {
    text-decoration: line-through;
    margin-bottom: 4px;
}
section.good .comments {
	background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 10px 20px 2px 20px;
    margin-top: 30px;
}
section.good .comments .comment {
    margin-bottom: 10px;
}
section.good .comments .comment .date {
    color: #999;
}

section.articles {
    padding: 0 10px;
}
section.articles .items {
    flex-wrap: wrap;
    flex-direction: row;
    display: flex;
}
section.articles .items .item {
    width: 25%;
    padding-bottom: 20px;
}
section.articles .items .item .image {
    width: 280px;
    height: 210px;
    overflow: hidden;
}
section.articles .items .item .image img {
    width: 100%;
}
section.articles .items .item .title {
    padding-top: 10px;
}

section.article {
    padding: 0 10px;
}

section.reviews {
    padding: 0 10px;
}
section.reviews .items {
    flex-wrap: wrap;
    flex-direction: row;
    display: flex;
}
section.reviews .items .item {
    width: 25%;
    padding-bottom: 20px;
}
section.reviews .items .item .image {
    width: 280px;
    height: 210px;
    text-align: center;
    overflow: hidden;
}
section.reviews .items .item .image img {
    max-width: 100%;
    max-height: 100%;
}

section.text {
    padding: 0 10px;
}

section.login {
    padding: 0 10px;
}

section.registration {
    padding: 0 10px;
}

section.my {
    padding: 0 10px;
}
section.my .menu {
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 6px 12px;
    margin-bottom: 20px;
}
section.my .menu .item {
    margin-right: 6px;
}
section.my .menu .item.open {
    color: #333;
}

section.my .main {

}
section.my .profile {

}
section.my .orders {

}

section.sp {

}
section.sp .description {
    margin-bottom: 40px;
}
section.sp .goods {

}
section.sp .goods .good {
    width: 100%;
    margin-bottom: 40px;
    display: table;
}
section.sp .goods .good .image {
    width: 240px;
    text-align: center;
    display: table-cell;
}
section.sp .goods .good .image img {
    max-width: 240px;
}
section.sp .goods .good .details {
    padding-left: 20px;
    display: table-cell;
}
section.sp .goods .good .details .name {
    font-weight: bold;
    margin-bottom: 10px;
}
section.sp .goods .good .details .notes {
    margin-bottom: 10px;
}
section.sp .goods .good .details .notes .label {
    color: #999;
}
section.sp .goods .good .details .link {
    margin-bottom: 10px;
}
section.sp .goods .good .details .price {
    font-weight: bold;
    color: #c33;
    margin-bottom: 10px;
}
section.sp .goods .good .details .price span {
    font-weight: normal;
    color: #999;
}
section.sp .goods .good .details .orders {
    margin-bottom: 10px;
}
section.sp .goods .good .details .available {
    margin-bottom: 10px;
}
section.sp .goods .good .details .available span {
    font-weight: bold;
    color: #c33;
}
section.sp .goods .good .details .count select {
    border-radius: 3px;
    padding: 4px 12px 3px 4px;
    text-align: center;
}
section.sp .goods .good .details .count .send {
    background: #eee;
    border-radius: 3px;
    padding: 6px 12px 5px 12px;
    margin-left: 8px;
    cursor: pointer;
}
section.sp .goods .good .details .count .send:hover {
    background: #ccc;
}
section.sp .archive {
    margin: 30px 0;
}
section.sp .archive .sps {

}
section.sp .archive .sps a {
    margin-right: 10px;
}

section.basket {
    padding: 0 10px;
}
section.basket .items {
    width: 100%;
    margin-bottom: 30px;
}
section.basket .items th {
    font-weight: 400;
    color: #999;
}
section.basket .items .image {
    width: 80px;
    text-align: center;
}
section.basket .items .image img {
    width: 100%;
}
section.basket .items .name {
    padding: 0 20px;
    text-align: left;
}
section.basket .items .count {
    width: 120px;
    text-align: center;
}
section.basket .items .price {
    width: 120px;
    text-align: right;
}
section.basket .items .sum {
    width: 120px;
    text-align: right;
}
section.basket .items .label {
    text-align: right;
}
section.basket .basket-details {
    margin: 20px 0;
    position: relative;
}
section.basket .basket-details .basket-sum {
    padding: 20px 0;
}
section.basket .basket-details .basket-code-form {
    width: 220px;
    padding: 20px 0;
    position: absolute;
    top: 0;
    right: 0;
}
section.basket .basket-details .basket-code-form .basket-code-success {
    font-size: 13px;
    color: green;
}
section.basket .basket-details .basket-code-form .basket-code-fail {
    font-size: 13px;
    color: #c33;
}

.basket-change {
    display: inline-block;
}
.basket-change div {
    width: 32px;
    padding: 3px 0;
    text-align: center;
    display: inline-block;
}
.basket-change .minus, .basket-change .plus {
    background: #eee;
    border-radius: 3px;
    cursor: pointer;
}
.basket-change .minus:hover, .basket-change .plus:hover {
    background: #ccc;
}
.basket-change.disabled {
    opacity: 0.5;
}

.form {
    max-width: 360px;
    margin-bottom: 20px;
}
.form.center {
    margin: 0 auto 20px auto;
}
.form.min {
    max-width: 240px;
}
.form .field {
    padding: 0 0 16px 0;
    position: relative;
}
.form .field .input {
    background: #fff;
    border: #ccc 1px solid;
    border-radius: 4px;
    padding: 0 8px;
}
.form .field .input input {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 4px 0;
    margin: 0;
}
.form .field .input.select {
    padding-left: 6px;
}
.form .field .input.select select {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 4px 0;
    margin: 0;
}
.form .field .input.textarea {
    padding-bottom: 0;
}
.form .field .input.textarea textarea {
    width: 100%;
    height: 100px;
    background: transparent;
    border: 0;
    padding: 4px 0;
    margin: 0;
    vertical-align: top;
}
.form .field .input-prefix {
    position: absolute;
    top: 5px;
    left: -25px;
}
.form .field .input:has([disabled]) {
    background: #eee !important;
}
.form .field button {
    background: #eee;
    border: #ccc 1px solid;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
}
.form .field .error {
    font-size: 14px;
    color: #c33;
    padding: 3px 0 0 9px;
}

.is-mobile {
    display: none;
}

/* */
@media (max-width: 640px) {
	* {
        font-size: 13px;
        line-height: 1.3;
    }
    h1 {
        font-size: 22px;
        padding-bottom: 12px;
    }
    h2 {
        font-size: 18px;
        padding-bottom: 8px;
    }
    
    header {
    	height: 60px;
    }
    header .logo {
        width: 40px;
        height: 40px;
        background-size: 100%;
        top: 10px;
        left: 10px;
    }
    header .menu {
        display: none;
    }
    header .search {
        display: none;
    }
    header .phone {
        display: none;
    }
    header .user {
        top: 10px;
        right: 10px;
    }
    header .basket {
        top: 35px;
        right: 10px;
    }
    main {
        margin-top: 70px;
    }
    footer {
    	height: auto;
    }
    footer .menu {
        width: auto;
        float: none;
        padding: 10px;
    }
    footer .socials {
        width: auto;
        float: none;
        padding: 10px;
    }
    footer .copyright {
        padding: 20px 10px;
    }

    section.categories .items .item {
        width: 50%;
    }
    section.categories .items .item .item-content {
        padding: 10px;
        margin: 0 5px 10px 0 !important;
    }
    section.categories .items .item:nth-child(2n) .item-content {
        margin: 0 0 0 5px !important;
    }
    section.categories .items .item .image {
        height: 153px;
    }
    
    section.category .goods .items .item {
        width: 50%;
    }
    section.category .goods .items .item .item-content {
        padding: 10px;
        margin: 0 5px 10px 0 !important;
    }
    section.category .goods .items .item:nth-child(2n of :not(.hidden)) .item-content {
        margin: 0 0 0 5px !important;
    }
    section.category .goods .items .item .image {
        height: 153px;
    }
    
    section.good .images {
        width: auto;
        float: none;
        margin-bottom: 20px;
    }
    section.good .images .photos a {
        height: auto;
    }
    section.good .details {
        margin: 0;
    }
    section.good .comments {
        padding: 10px 10px 2px 10px;
        margin-top: 10px;
    }
    section.good .notice {
        padding: 14px 10px 9px 10px;
    }
    section.good .bottles {
        padding: 14px 10px 9px 10px;
        margin-top: 10px;
    }

    section.reviews .items .item {
        width: 100%;
    }
    section.reviews .items .item .image {
        width: 100%;
    }

    section.basket .items .price {
        display: none;
    }
    section.basket .items .sum {
        display: none;
    }

    .is-mobile {
        display: block;
    }
}