.visually-hidden {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	padding:0 !important;
	border:0 !important;
	height: 1px !important; 
	width: 1px !important; 
	overflow: hidden;
}

body {
    margin: 0;
    padding: 0;

    font-family: "PT Sans Narrow", Arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;

    background-color: black;
    background-image: url(img/background-image.jpg);
    background-position: top center;
    background-repeat: no-repeat;
}

img {
    max-width: 100%;
    height: auto;
}

.inner-page {
    color: #000000;
  
    background-color: #f9f6f3;
    background-image: url("img/background-1.jpg");
    background-position: 0 0;
    background-repeat: repeat;
}

a {
    text-decoration: none;
}

.button {
    display: inline-block;
    padding: 10px 30px;
    margin-right: 10px;

    font:inherit;

    text-align: center;
    color: white;
    background-color: black;
    border: none;
    text-transform: uppercase;
}

.button.disabled,
.button:disabled {
  cursor: default;
  opacity: 0.5;
  background-color: #000000;
}

.button:hover,
.button:focus,
.button:active {
    background-color: #663d15;
}

.main-navigation {
    font-size: 16px;
    line-height: 20px;
    color: #ffffff;

    /*  СТИЛИ ДЛЯ СЕТКИ   */
    display: flex;
    flex-basis: 30%;
    flex-direction: column;
    margin-bottom: 75px;
}

.site-navigation,
.user-navigation {
    list-style: none;
}

.site-navigation a,
.user-navigation a {
    color: #ffffff
}

.site-navigation a:hover,
.user-navigation a:focus,
.site-navigation a:focus,
.user-navigation a:hover {
    background-color: rgb(36, 36,36);

}

.features-list {
    list-style: none;

    /*СТИЛИ ДЛЯ СЕТКИ*/
    margin: 0;
    padding: 0;
    display: flex;
    margin-bottom: 80px;
    justify-content: space-between;
}

.feature-item {
    text-align: center;

    width: 300px;
    text-align: center;
}

.feature-item p {
    padding: 0 0;
    margin: 0 0;
    text-align: center;
}

.feature-item h3 {
    font-size: 30px;
    line-height: 42px;
}

.index-colums {
    color:#000000;

    background-color: #f8f5f2;
    background-image: 
    url(img/background-line.png),
    url(img/background-1.jpg);
    background-repeat: no-repeat, repeat;
    background-position: center, 0 0;

    /*СТИЛИ ДЛЯ СЕТКИ*/
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    padding: 50px 80px;
}

.index-colums h2{
    font-size: 30px;
    line-height: 42px;
    margin: 0;
    margin-bottom: 25px;
}

.news-list {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
    margin-bottom: 25px;
}

.news-list p {
    margin: 0;
}

.news-item {
    margin-bottom: 25px;
}

.news-item time {
    text-transform: none;
    margin: 0;
    padding: 0;
}

.gallery-content {
    height: 164px;
    margin: 0;
    margin-bottom: 45px;

    background-color: #cccccc;
    border: 7px solid #ffffff;
}

.gallery-content img {
    width: 286px;
    height: 164px;
}

.gallery-button {
    box-sizing: border-box;
    width: 140px;
}

.gallery-button-container {
    display: flex;
}

.gallery-button-container .button:nth-child(2) {
    margin-right: 0;
    margin-left: 10px;
}

.appointment-item input {
    box-sizing: border-box;
    width: 140px;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;

    font: inherit;

    background-color: transparent;
    border: 2px solid #000000;
}

.appointment-item input:focus {
    border-color:  #977b5f;
}

.main-footer {
    color: #ffffff;

    background-color: #000000;
    background-image: url(img/footer-background.jpg);
    background-position: 0 0;
    background-repeat: repeat;

    margin-top: 65px;
    padding: 55px 0;
}

.product-photo-preview {
    display: flex;
    margin: 0;
    margin-top: 21px;
    padding: 0;
    justify-content: space-between;
    list-style: none;
}

.product-photo-preview li {
    width: 140px;
    height: 149px;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
}

.product-photo-full {
    width: 460px;
    height: 500px;
    margin: 0;
    padding: 0;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
}

.product-article {
    text-align: right;
    
    color: #aeaeae;
}

.product-description {
    display: flex;
    justify-content: space-between;
    margin-bottom: 29px;
}

.product-description p {
    width: 200px;
}

.product-text {
    margin: 0;
    padding: 0;
    margin-bottom: 30px;
}

.product-info {
    width: 390px;
}

.product-info ul {
    margin: 0;
    padding: 0;
}

.product-info li {
    position: relative;
    padding-left: 21px;
}

.product-info li::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 8px;
    left: 2px;
    transform: rotate(45deg);
    background-color: #000000;
}

.catalog-item-price b {
    text-align: center;
    background-color: rgb(229, 229, 229);
    font-size: 14px;
    line-height: 24px;
}

.catalog-item-content h3 {
    font-size: 24px;
    line-height: 30px;
}

.catalog-item-content-list {
    list-style: none;
}

.page-title {
    font-size: 30px;
    line-height: 42px;
}

.breadcrumbs {
    list-style: none;
}

.breadcrumbs a {
    color: #000000;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
    text-decoration: underline;
}

.breadcrumbs-current {
    color: #aba9a7;
}

.filter fieldset {
    border: none;
    margin: 0;
    padding: 0;
    margin-bottom: 50px;
}

.filter legend {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 26px;
}
.filter ul {
    list-style: none;
    line-height: 18px;
    margin: 0;
    padding: 0;
}

.filter-option {
    margin-bottom: 19px;
    padding-left: 45px;
}

.filter-option label {
    display: block;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.filter-input-checkbox + label::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: -43px;
    top: 0;
    border: 2px solid #000000;
}

.filter-input-checkbox:checked + label::after {
    content: "";
    position: absolute;
    left: -39px;
    top: 4px;
    width: 12px;
    height: 12px;
    background-image: url(img/cross.svg);
    background-repeat: no-repeat;
    background-position: 0 0;
}

.filter-input-radio + label::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #000000;
    border-radius: 50%;
    left: -43px;
    top: 0;
}

.filter-input-radio:checked + label::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    left: -37px;
    top: 6px;
    background-color: #000000;
    border-radius: 50%;
}

.filter-input:hover + label,
.filter-input:focus + label {
  color: #663d15;
}

.filter-input:disabled + label {
  color: #000000;

  opacity: 0.5;
}

.catalog-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
    margin-bottom: 45px;
    padding: 0;
    list-style: none;
}

.catalog-item {
    width: 220px;
    height: 286px;
    background-color: #f8f8f8;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.catalog-item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.catalog-item a {
    display: flex;
    flex-direction: column;
    color: #000000;
}

.catalog-item-image {
    margin: 0;
    order: 1;
    width: 220px;
    height: 165px;
}

.catalog-item h3 {
    order: 2;
    font-size: 14px;
    line-height: 18px;
    margin: 0;
    margin-top: 13px;
    margin-left: 16px;
}

.catalog-category {
    text-transform: none;
}

.catalog-item-price {
    display: flex;
    justify-content: stretch;
    margin: 15px;
    width: 186px;
    height: 43px;
}

.catalog-item-price b {
    padding: 13px 33px;
    width: 109px;
    text-align: center;


    font-size: 14px;
    line-height: 18px;
    background-color: #e5e5e5;
}

.catalog-item-price .button {
    width: 78px;
    padding: 13px 18px 11px;
    margin-right: 0;
    color: #ffffff;
    line-height: 18px;
}

.product-info .catalog-item-price {
    margin: 0;
    padding: 0;
    margin-right: auto;
    float: left;
}

.product-contents {
    margin-top: 150px;
}

.pagination-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 25px;
    margin-left: 240px;
}

.pagination-item {
    margin: 0;
    margin-right: 7px;
}

.pagination-item:last-child {
    margin-right: 0;
}

.pagination-item a {
    display: block;
    padding: 10px 18px;
    color: #ffffff;
    background-color: #000000;
}

.pagination-item-current {
    display: block;
    padding: 10px 18px;
    background-color: transparent;
}

.pagination-item a:hover,
.pagination-item a:focus,
.pagination-item a:active {
    background-color: #663d15;
}

.footer-contacts {
    width: 320px;
    margin: 0;
    margin-right: 90px;
}

.footer-contacts a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contacts a:hover,
.footer-contacts a:focus {
    text-decoration: none;
}

.footer-social {
    text-align: center;
    width: 153px;
}

.footer-social ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    width: 141px;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0;
}

.footer-social b {
    display: block;
    margin-bottom: 12px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    width: 43px;
    height: 43px;
    background-color: #000000;
}

.social-button:hover,
.social-button:focus {
  background-color: #ffffff;
}

.social-button:hover path,
.social-button:focus path {
  fill: #000000;
}

.footer-copyright {
    text-align: center;
    width: 150px;
    margin: 0;
    margin-left: auto;
}

.footer-copyright b {
    display: block;
    margin-bottom: 10px;
}

.footer-copyright .button {
    display: block;
    margin-right: 0;
    
}

.footer-copyright .button:hover,
.footer-copyright .button:focus {
    color: #000000;
    background-color: #ffffff;
}

@keyframes bounce {
    0% {
    transform: translateY(-2000px);
    }
  
    70% {
    transform: translateY(30px);
    }
  
    90% {
    transform: translateY(-10px);
    }
  
    100% {
    transform: translateY(0);
}
}

@keyframes shake {
    0%,
    100% {
      transform: translateX(0);
    }
  
    10%,
    30%,
    50%,
    70%,
    90% {
      transform: translateX(-10px);
    }
  
    20%,
    40%,
    60%,
    80% {
      transform: translateX(10px);
    }
}

.modal {
    display: none;
    color: #000000;
    background-color: #f8f5f2;
    background-image: url(img/background-1.jpg);
    background-position: 0 0;
    background-repeat: repeat;
}

.modal-map iframe {
    position: relative;
    z-index: 2;
}

.modal-show {
    display: block;
    animation: bounce 0.6s;
}

.modal-error {
    animation: shake 0.6s;
}

.modal h2 {
    font-size: 30px;
    line-height: 42px;
}

.modal-login {
    position: fixed;
    width: 300px;
    top: 50%;
    left: 50%;
    margin-left: -230px;
    margin-top: -230px;
    padding: 50px 80px;

    color: #000000;
    background-color: #f8f3f0;
    background-image: url("img/background-1.jpg");
    background-position: 0 0;
    background-repeat: repeat;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.7);

}

.modal-login h2 {
    font-size: 30px;
    line-height: 42px;
    font-weight: 700;
    margin: 0;
    margin-bottom: 20px;
}

.modal-description {
    margin: 0;
    margin-bottom: 10px;
}

.modal-close {
    position: absolute;
    top: 0;
    right: -34px;
    
    width: 22px;
    height: 22px;
  
    font-size: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";

  position: absolute;
  top: 10px;
  left: 2px;

  width: 19px;
  height: 3px;

  background-color: #d0d0d0;
}

.modal-close::after {
    transform: rotate(-45deg);
}

.modal-close::before {
    transform: rotate(45deg);
}

.login-form p {
    margin: 0;
    margin-bottom: 10px;
}

.login-form input{
    font: inherit;
    color: #000000;
    text-transform: uppercase;

    box-sizing: border-box;
    width: 300px;
    padding: 10px 15px;
    padding-right: 40px;

    background-color: #f9f6f3;
    border: 2px solid #000000;
}

.login-form .login-help {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 15px 0;
}

.login-checkbox {
    position: relative;
  
    padding-left: 30px;
  
    cursor: pointer;
}

.login-checkbox input[type="checkbox"] + .checkbox-indicator {
    position: absolute;

    top: 0;
    left: 0;

    width: 17px;
    height: 17px;

    border: 2px solid #000000;
}

.login-checkbox input[type="checkbox"]:focus + .checkbox-indicator {
    border-color: #663d15;
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
}

.login-checkbox input[type="checkbox"]:checked + .checkbox-indicator::before,
.login-checkbox input[type="checkbox"]:checked + .checkbox-indicator::after {
  content: "";

  position: absolute;
  top: 8px;
  left: 1px;

  width: 15px;
  height: 2px;

  background-color: #000000;
}

.login-checkbox input[type="checkbox"]:checked + .checkbox-indicator::before {
    transform: rotate(-45deg);
}

.login-checkbox input[type="checkbox"]:checked + .checkbox-indicator::after {
    transform: rotate(45deg);
}

.login-icon-user {
    background-image: url("img/user.svg");
    background-position: 270px center;
    background-repeat: no-repeat;
}
  
.login-icon-password {
    background-image: url("img/lock.svg");
    background-position: 270px center;
    background-repeat: no-repeat;
}

.login-form input:focus {
    border-color: #663d15;
}

.login-checkbox:hover,
.login-checkbox:focus {
  color: #663d15;
}

.restore {
    color: #000000;
    text-decoration: underline;
  }
  
.restore:hover,
.restore:focus {
    text-decoration: none;
  }

.login-form .button {
    width: 100%;
    margin-right: 0;
}

.modal-map {
    position: fixed;
    top: 50%;
    left: 50%;

    width: 766px;
    height: 561px;
    margin-top: -280px;
    margin-left: -390px;

    border: 7px solid white;
}

.modal-map p {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
      
    margin: 0;

    margin: 0;
}

.main-navigation a {
    order: 3;
    align-self: center;
}

.main-navigation:nth-child(2) {
    order: 1;
}

.main-navigation:last-child {
    order: 2;
}

.nav-wrapper {
    display: flex;
    width: 100%;
    background-color: #000000;
    margin-bottom: 60px;
}

.site-navigation {
    display: flex;
    flex-wrap: wrap;
    width: 640px;
    margin: 0;
    padding: 0;
}

.site-navigation-current {
    position: relative;
}

.site-navigation-current::after {
    position: absolute;
    content: "";
    height: 4px;
    bottom: 0;
    left: 20px;
    right: 20px;
    background-color: #ffffff;
    
}

.site-navigation a,
.user-navigation a {
    display: block;
    color: #ffffff;
    margin: 0;
    padding: 25px 20px;
}
.user-navigation {
    display: flex;
    max-width: 140px;
    margin: 0;
    padding: 0;
}

.user-navigation .login-link{
    padding-left: 50px;
    position: relative;
}

.login-link::before {
    content: "";

    position: absolute;
    top: 27px;
    left: 24px;
    width: 16px;
    height: 18px;
    background-image: url(img/login.svg);
    background-repeat: no-repeat;
    background-position: 0 0;
    opacity: 0.3;
}

.login-link:hover::before,
.login-link:focus::before,
.login-link:active::before {
    opacity: 1;
}

.container {
    width: 940px;
    margin: 0 auto;
    padding: 0 10px;
}

.nav-wrapper .container {
    display: flex;
    justify-content: space-between;
}

.feature-item h3 {
    position: relative;
    margin: 0;
    padding: 0;
    margin-bottom: 60px;
}

.feature-item h3::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    bottom: -30px;
    left: 50%;
    margin-left: -10px;
    transform: rotate(45deg);

    background-color: #ffffff;
}

.news{
    width: 380px;
}

.gallery {
    width: 300px;

}

.contacs {
    width: 380px;
}

.contacts p {
    margin: 0;
    margin-bottom: 25px;
}

.appointment {
    width: 300px;
}

.appointment .button {
    display: block;
    width: 100%;
    margin: 0;
    margin-top: 10px;
}

.appointment-info {
    margin: 0;
    padding-bottom: 15px;
}

.appointment-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.appointment-item {
    width: 140px;
    margin-bottom: 10px;
    margin-top: 0;
}

.appointment-item label {
    display: block;
    margin-top: 0;
    margin-bottom: 10px;
    margin-left: 15px;
}

.main-footer .container {
    display: flex;
}

/*------------------------СТИЛИ ДЛЯ КАТАЛОГА-------------------------------- */

.inner-page .main-header {
    
    margin-bottom: 50px;
    background-color: #000000;
}

.inner-page .main-header-logo {
    order: 0;
    width: 111px;
    height: 24px;
    padding: 23px 20px;
  }

.inner-page .main-navigation {
    display: flex;
    flex-direction: row;
    
}

.inner-page .user-navigation {
    margin-left: auto;
  }

.container .page-title {
    margin: 0;
    margin-bottom: 15px;
    padding: 0;
}

.inner-page .breadcrumbs {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    margin-bottom: 50px;
}

.breadcrumbs li {
    position: relative;
    margin-right: 40px;
}

.breadcrumbs li:last-child {
    margin-right: 0;
}

.breadcrumbs-current::after {
    display: none;
}

.breadcrumbs li::after {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    top: 7px;
    right: -25px;
    transform: rotate(45deg);
    background-color: #000000;

}

.inner-page filters {
    width: 180px;
}

.catalog {
    width: 700px;
}

.catalog-colums {
    display: flex;
    justify-content: space-between;
}

.catalog-item {
    width: 220px;
    margin-bottom: 20px;
}

.catalog-item:nth-child(3n) {
    margin-right: 0;
  }

.inner-page .main-footer {
    color: #ffffff;

    background-color: #000000;
    background-image: url(img/footer-shadow.png), url(img/footer-background.jpg);
    background-position:top, 0 0;
    background-repeat: repeat-x, repeat;

    margin-top: 45px;
    padding: 55px 0;
}

.filters {
    width: 180px;
}

iframe {
    border: 0;
}