@font-face {
    font-family: "Gilroy Extra Bold";
    src: url("../fonts/gilroyextrabold.woff") format("woff"),
        url("../fonts/gilroyextrabold.woff2") format("woff2");
}

@font-face {
    font-family: "Gilroy Light";
    src: url("../fonts/gilroylight.woff") format("woff"),
        url("../fonts/gilroylight.woff2") format("woff2");
}

@font-face {
    font-family: "OpenSans";
    src: url("../fonts/opensans.woff") format("woff"),
        url("../fonts/opensans.woff2") format("woff2");
}

@font-face {
    font-family: "OpenSans Light";
    src: url("../fonts/opensanslight.woff") format("woff"),
        url("../fonts/opensanslight.woff2") format("woff2");
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "OpenSans Light", Arial, sans-serif;
    font-size: 15px;
    line-height: 30px;
    color: #464646;

    background-color: #ffffff;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}


.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;
}

.btn {
    border: none;
    background-color: transparent;
}

.user-navigation,
.list-catalog,
.about-navigation {
    padding: 0;
    margin: 0;
    list-style: none;
}

.catalog .visible {
    visibility: visible;
}


/* Grid */

.page {
    height: 100%;
    margin-top: 40px;
}

.page-body {
    min-height: 100%;
    display: grid;
    grid-template-rows: min-content 1fr min-content;
    align-content: start;
}

/* Container */

.container {
    width: 1160px;
    margin: 0 auto;
    padding: 0 10px;
}

.navigation-wrapper.container {
    width: 1040px;
}

/* Header */

.main-header {
    background-color: #f7e296;
    ;
}

/* Navigation */

.navigation-wrapper {
    display: flex;
    flex-direction: column;
    padding-top: 35px;
}

/* Logo */

.navigation-wrapper .main-logo {
    position: absolute;
    top: -20px;
    width: 163px;
    height: 35px;
}

.navigation-wrapper .logo-link:hover,
.navigation-wrapper .logo-link:focus {
    opacity: 0.7;
}


.navigation-wrapper .logo-link:active {
    opacity: 0.5;
}


/* Search block */
.search label {
    position: relative;
}

.search__input {
    position: relative;
    width: 300px;
    padding-left: 30px;
    line-height: initial;
    background-color: transparent;
    background-image: url(../img/svg/search.svg);
    background-position: center left;
    background-repeat: no-repeat;
    border: none;
    outline: none;
}

.search__input::placeholder {
    opacity: 0.5;
    color: #000000;
}

.search__input:hover::placeholder {
    opacity: 0.8;
}

.search__input:focus::placeholder {
    opacity: 1;
}

.search__focus {
    position: absolute;

    display: none;
    bottom: -10px;
    height: 2px;
    width: 355px;
    background-color: #000000;
}

.search__btn {
    position: absolute;
    top: -20px;
    right: -23px;
    display: none;
    padding: 8px 15px;
    color: #000000;
    font: inherit;
    background-color: transparent;
    border: 2px solid #000000;
    outline: none;
}

.search__input:focus+.search__focus,
.search__input:active~.search__focus {
    display: block;
}

.search__input:focus~.search__btn,
.search__input:active~.search__btn {
    display: inherit;
    cursor: pointer;
}

.search__input:focus~.search__btn:hover {
    color: #ffffff;
    background-color: #000000;
}

.search__input:active~.search__btn:hover {
    color: #494949;
    background-color: #000000;
}

/* User navigation */

.user-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 45px;
}

.user-navigation-list {
    display: flex;
    margin: 0;
    padding: 0;
    width: 480px;
}

.user-navigation-list button {
    padding: 0;
    font-weight: bold;
}

.user-navigation-list li {
    position: relative;
    padding: 0;
}

.user-navigation-list li:first-child {
    margin-right: 250px;
}

.user-navigation-list li::before {
    content: "";
    position: absolute;
    top: 30%;
    left: -44%;
    width: 13px;
    height: 12px;
    background-repeat: no-repeat;
}

.user-navigation-list li:first-child::before {
    background-image: url(../img/svg/user.svg);
}

.user-navigation-list li:nth-child(2)::before {
    top: 35%;
    left: -30%;
    background-image: url(../img/svg/compare.svg);
}

.user-navigation-list li:nth-child(3)::before {
    top: 35%;
    left: -30%;
    background-image: url(../img/svg/cart.svg);
}

.user-navigation-list li:nth-child(2) {
    margin-right: 55px;
}


.second-row {
    display: flex;
    justify-content: space-between;
}

.inner-page .second-row {
    padding-bottom: 75px;
    height: 0;
}

.about-navigation {
    display: grid;
    grid-template-columns: 130px 130px 130px;
    gap: 25px;
    width: 500px;
}

.about-navigation li:last-child {
    margin-left: 55px;
}

.user-navigation li:hover,
.list-catalog .catalog-link:hover,
.about-navigation a:hover,
h2.catalog-title:hover {
    opacity: 0.6;
}

.user-navigation li:focus,
.list-catalog .catalog-link:focus,
.about-navigation a:focus,
h2.catalog-title:focus {
    opacity: 0.6;
    outline-style: solid;
}

.user-navigation li:active,
.list-catalog .catalog-link:active,
.about-navigation a:active,
h2.catalog-title:active {
    opacity: 0.4;
    outline: none;
}

.main-navigation {
    position: relative;
    color: #000000;
    background-color: #f7e296;
}

.main-navigation a {
    color: #000000;
}

/* Catalog */

.catalog {
    position: relative;
}

.list-catalog {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: max-content max-content max-content;
    column-gap: 40px;
    padding: 0;
    margin: 0;
    height: 144px;
    visibility: hidden;

    background-color: #f7e296;
}
.list-catalog::before {
    content: '';
    position: absolute;
    z-index: -1;
    height: 100%;
    display: block;
    top: 0;
    left: -13.9%;
    right: -120.4%;
    background-color: #f7e296;
}

.catalog-item:nth-child(5) {
    grid-column: span 2;
}

.catalog-item {
    font-weight: bold;
}



h2.catalog-title,
.about-navigation a {
    margin: 0;
    font-family: 'Gilroy Extra Bold', Tahoma, sans-serif;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 5px;

    text-transform: uppercase;

}

.catalog .catalog-title {
    width: 50%;
    margin-bottom: 22px;
    cursor: pointer;
}

.catalog-title::after {
    /* content: ""; */
    position: absolute;
    margin-left: 15px;
    margin-top: 3px;
    width: 16px;
    height: 16px;
    background-image: url(../img/svg/plus.svg);
    fill: transparent;
}

.catalog-plus {
    position: absolute;
    top: 2px;
    right: 47%;
    display: inline-block;
    background-image: url(../img/svg/plus.svg);
    width: 16px;
    height: 16px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.popular-items {
    margin-bottom: 100px;
}


.popular-items.container {
    width: 1040px;
}

.popular-item {

    display: flex;
    justify-content: space-between;
}


/* Item Photo */
.popular-item .item-photo {
    margin-left: 25px;

}

.third-item .item-photo {
    margin: 65px 40px 0 -30px;
}


/* Item Description */

.popular-items .popular-title {
    position: relative;
    z-index: 1;
    width: 400px;
    margin: 0;
    color: #000000;
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    font-size: 47px;
    line-height: 56px;
}

.third-item .popular-title {
    width: 500px;
}

.popular-item .item-description {
    position: relative;
    /* margin-right: 20px; */
    margin-top: 76px
}

.popular-item .item-description::before {
    content: '';
    position: absolute;
    display: block;
    width: 100px;
    height: 7px;
    background-color: #fff;
    top: -40px;
}

.popular-item .item-description::after {
    content: '01';
    position: absolute;
    top: -17px;
    right: 0;
    display: block;
    font-family: 'Gilroy Extra Bold', Tahoma, sans-serif;
    font-size: 179px;
    color: #ffffff;
}

.second-item .item-description::after {
    content: '02';
}

.third-item .item-description::after {
    content: '03';
}

.popular-subtitle {
    margin: 0;
    width: 480px;
    margin-top: 30px;
    margin-bottom: 55px;
}

.item-description .btn-info {
    display: inline-block;
    margin-right: 195px;
    margin-bottom: 60px;
}

.popular-switch {
    display: inline-block;
    padding: 0;
    border: none;
    vertical-align: middle;
}

.popular-switch input {
    width: 23px;
    height: 23px;
    appearance: none;
    background-image: url('../img/svg/slider-button-empty.svg');
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.popular-switch input:checked {
    background-image: url('../img/svg/slider-button.svg');
}

/* Characteristics */

.list-characteristics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
    margin: 0;
    width: 440px;
}


.second-item .list-characteristics {
    grid-template-columns: max-content;
}

.list-characteristics .characteristic-desc {
    margin: 0;
}

.btn-info {
    position: relative;

    display: block;
    width: 220px;
    height: 9px;

    color: #000000;
    background-color: #f0c52e;
    text-transform: uppercase;
    border: none;

    cursor: pointer;

}

.btn-info:active,
.btn-info:focus {
    outline-style: solid;
    outline-offset: 4px;
    outline-width: 2px;
}




.btn-info::before {
    content: "";
    position: absolute;
    top: -78%;
    left: 15%;

    display: block;

    font-size: 18px;
    line-height: 24px;
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    letter-spacing: 5px;
}

.btn-info-more:hover,
.btn-info-about:hover,
.btn-info-write:hover,
.btn-info-show:hover,
.btn-info-submit:hover {
    transform: scaleY(4.5);
}

.btn-info-more:focus,
.btn-info-about:focus,
.btn-info-write:focus,
.btn-info-show:focus,
.btn-info-submit:focus {
    transform: scaleY(4.5);
    outline: none;

}

.btn-info-more::before {
    content: "Подробнее";

}

.btn-info-more:hover::before,
.btn-info-about:hover::before,
.btn-info-write:hover::before,
.btn-info-show:hover::before,
.btn-info-submit:hover::before {
    transform: scaleY(0.23) scaleX(1);
}

.btn-info-more:focus::before,
.btn-info-about:focus::before,
.btn-info-write:focus::before,
.btn-info-show:focus::before,
.btn-info-submit:focus::before {
    transform: scaleY(0.23) scaleX(1);
}

.btn-info-more:active::before,
.btn-info-about:active::before,
.btn-info-write:active::before,
.btn-info-show:active::before,
.btn-info-submit:active::before {
    transform: scaleY(0.23) scaleX(1);
    opacity: 0.5;
}



.list-slider .btn-info:hover,
.list-slider .btn-info:focus {
    transform: scaleY(5);
    outline: none;
}

.list-slider .btn-info:hover::before,
.list-slider .btn-info:focus::before {
    transform: scaleY(0.2);

}


.list-slider .btn-info-active {
    background-color: #000;
    outline: none;
    transform: scaleX(1.75) scaleY(5) translateX(35px);
}

.list-slider .btn-info-active:hover,
.list-slider .btn-info-active:focus {
    transform: scaleX(1.75) scaleY(5) translateX(35px);
}

.list-slider .btn-info-active::before {
    content: "Доставка";
    left: 0;
    color: #f7e184;
    transform: scaleY(0.2) scaleX(0.6);
}

.list-slider .btn-info-active:hover::before,
.list-slider .btn-info-active:focus::before {
    color: #f7e184;
    transform: scaleY(0.2) scaleX(0.6);
}

.btn-info-delivery::before {
    content: "Доставка";
    left: 10%;
}

.btn-info-warranty::before {
    content: "Гарантия";
    left: 13%
}

.btn-info-credit::before {
    content: "Кредит";
    left: 22%;
}

.list-slider .btn-info-delivery.btn-info-active::before {
    content: "Доставка";

}

.list-slider .btn-info-credit.btn-info-active::before {
    content: "Кредит";

}

.list-slider .btn-info-warranty.btn-info-active::before {
    content: "Гарантия";

}












.about-us .btn-info,
.contacts .btn-info {
    width: 260px;
}

.btn-info-about::before {
    content: "Подробнее о нас";
    left: 5%;

}

.btn-info-write::before {
    content: "Напишите нам";
    left: 12%;
}

.btn-info-submit::before {
    content: "Отправить";
    left: 5px;

    width: 200px;

}

.btn-info-show::before {
    content: "Показать";
    left: 10px;
    width: 200px;

}

.list-slider .btn-info {
    width: 160px;
}

.list-slider li {
    margin-bottom: 50px;
}

.list-slider li:last-child {
    margin-bottom: 0;
}

.list-characteristics .characteristic-desc {
    font-family: "Gilroy Light", Tahoma, sans-serif;
    font-size: 36px;
    line-height: 48px;
}

.list-characteristics .characteristic-title {
    font-size: 13px;
    line-height: 20px;
}

/* Popular Catagor */

.popular-categories.container {
    width: 1160px;
}

.list-popular-categories {
    display: grid;
    grid-template-columns: repeat(6, min-content);
    column-gap: 32px;
    margin-bottom: 170px;
}

.list-popular-categories p {
    margin: 0;
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #000000;

}

.popular-img-wrapper {
    width: 160px;
    height: 160px;
    margin-bottom: 35px;

    background-image: url('../img/svg/popular-1.svg');
    background-color: #f7e296;
    background-position: center center;
    background-repeat: no-repeat;
}

.popular-categories-link:focus {
    outline: none;
}

.popular-categories-link:hover .popular-img-wrapper,
.popular-categories-link:focus .popular-img-wrapper {
    background-color: #f0c52e;
}

.popular-categories-link:focus .popular-img-wrapper {
    outline: 1px solid #000;
}

.popular-categories-link:active .popular-img-wrapper {
    background-color: #f0c52e;
    background-blend-mode: exclusion;
}

.popular-img-wrapper:active+p {
    opacity: 0.4;
    outline: none;
}

.popular-img-wrapper-2 {
    background-image: url('../img/svg/popular-2.svg');
    background-position-y: bottom;
}

.popular-img-wrapper-3 {
    background-image: url('../img/svg/popular-3.svg');
}

.popular-img-wrapper-4 {
    background-image: url('../img/svg/popular-4.svg');
}

.popular-img-wrapper-5 {
    background-image: url('../img/svg/popular-5.svg');
}

.popular-img-wrapper-6 {
    background-image: url('../img/svg/poppular-6.svg');
}





/* Services */
.customers-slider {
    position: relative;
    margin-bottom: 100px;
    background-color: #e5e5e5;
}

.customers-slider-wrapper {
    position: relative;
    display: flex;

}

.customers-slider-wrapper::after {
    content: '';
    position: absolute;
    right: 5%;
    top: -5%;
    width: 136px;
    height: 164px;
    background-image: url('../img/svg/delivery.svg');

}

.customers-slider .list-slider {
    position: relative;
    top: -97px;
    display: inline-block;
    padding: 80px 0;
    padding-left: 35px;
    padding-right: 120px;
    margin-right: 115px;
    border-right: 7px solid #000000;

}

.customers-slider .customers-slider-title {
    margin: 0;
    margin-bottom: 35px;
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    font-size: 47px;
    line-height: 48px;
    color: #000000;
}

.customers-slider .customers-slider-section {
    position: relative;
    top: -28px
}

.customers-slider-section p {
    margin: 0;
    width: 450px;
}

/* Sponsor */

.sponsor {
    margin-bottom: 90px;
}

.list-sponsor {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 25px;
}

.sponsor img {
    opacity: 0.3;
}

.sponsor img:hover,
.sponsor a:focus img {
    opacity: 1;
}

/* Index Column */

.index-column {
    display: flex;
    justify-content: space-between;
}

.index-column.container {
    width: 1160px;
}

.index-column h2 {
    margin-bottom: 50px;
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    font-size: 47px;
    line-height: 48px;
    color: #000000;
}

.index-column p {
    margin: 0;
    margin-top: 35px;
}



.about-us {
    width: 460px;
}

.about-us p:last-of-type {
    margin-bottom: 60px;
}

.contacts {
    width: 560px;
}

.contacts p {
    margin-bottom: 43px;
}

.contacts .btn-info-write {
    margin-top: 85px;
}

.about-us-title-wrapper,
.contacts-title-wrapper {
    position: relative;
    padding-top: 15px;
}

.about-us-title-wrapper::before,
.contacts-title-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    border-top: 7px solid #000;

}
.contacts img {
    cursor: pointer;
}

.list-transport {
    padding: 0;
    padding-left: 15px;
    margin: 0;
    margin-bottom: 65px;
    color: #e3e3e3;
    list-style: circle;
}

.list-transport li {
    margin-bottom: 10px;
}

.list-transport .list-item {
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    color: #000000;
    font-weight: bold;
}



.write-us label {
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    color: #000000;
    font-size: 18px;
    line-height: 24px;
}

/* Footer */


.main-footer {
    background-color: #464646;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    padding-top: 50px;
    padding-bottom: 60px;
}

.footer-left {
    position: relative;
    padding-bottom: 65px;

}

.footer-left::before {
    content: "";
    position: absolute;
    bottom: 2%;
    left: 0;
    width: 80px;
    border-top: 7px solid #ffc600;

}

.footer-left a:hover,
.footer-left a:focus {
    opacity: 0.8;
}

.footer-left a:active {
    opacity: 0.4;
}

.footer-left p {
    margin-top: 37px;
    margin-bottom: 20px;
    color: #ffffff;
}


/* Footer center */

.footer-center {
    width: 440px;
    text-align: center;

    margin-top: 80px;
    margin-left: 100px;
}

.footer-services {
    display: grid;
    grid-template-columns: min-content min-content min-content;
    column-gap: 33px;
    margin: 0;
    margin-bottom: 60px;
}


.footer-services a {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 4px;
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    color: #ffffff;
}

.footer-services a:hover,
.footer-services a:focus {
    color: #c3c3c3;
}

.footer-services a:active {
    color: #8d8d8d;
}

.footer-socials {
    display: grid;
    grid-template-columns: repeat(3, min-content);
    justify-content: center;
    column-gap: 15px;
    margin: 0;
}

.footer-socials a {
    display: block;
    width: 32px;
    height: 32px;
    background-image: url(../img/svg/fb.svg);
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.footer-socials a:hover,
.footer-socials a:focus {
    opacity: 0.6;
}

.footer-socials a:active {
    opacity: 0.2;
}

.footer-socials a.vk {
    background-image: url(../img/svg/vk.svg);
}

.footer-socials a.twitter {
    background-image: url(../img/svg/twitter.svg);
}

/* Footer right */

.footer-user-nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 12px;
    margin: 0;
    margin-bottom: 50px;
}

.footer-user-nav .footer-nav-link {
    margin-left: 5px;
    color: #c8c8c8;
    letter-spacing: 1px;
}

.footer-nav-link:hover,
.footer-nav-link:focus {
    color: #ffffff;
}

.footer-nav-link:active {
    color: #737373;
}

.footer-user-nav svg {
    margin-right: 10px;
}

.footer-user-nav path {
    fill: #ffc600;
}

.footer-nav-link:hover path,
.footer-nav-link:focus path {
    opacity: 0.7;
}

.footer-nav-link:active path {
    opacity: 0.4;
}

.footer-tel {
    margin: 0;
    margin-bottom: 55px;
    color: #ffffff;
    text-align: end;
}

.mini-logo {
    display: block;
    height: 0;
    text-align: right;
}

.mini-logo:hover,
.mini-logo:focus {
    opacity: 0.7;
}

.mini-logo:active {
    opacity: 0.4;
}


.main-content__wrapper.container {
    width: 1180px;
}

.main-content__wrapper {
    display: grid;
    grid-template-columns: 355px 1fr;
}

.main-header .main-title {
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    font-size: 47px;
    line-height: 48px;
    color: #000000;
}

.section-title {
    margin: 0;
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 4px;
    color: #000000;
    text-transform: uppercase;
    align-self: center;
}

.filter {
    position: relative;
    background-color: #efefef;
}
.filter::before {
    content: '';
    position: absolute;
    left: -120%;
    top: 0;
    height: 100%;
    width: 120%;
    background-color: #efefef;
}

.filter__wrapper {
    margin-top: 65px;
}

.filter__wrapper.container {
    width: 235px;
}


.filter .section-title__wrapper {
    position: relative;
    padding: 27px 0;
    background-color: #dbdbdb;
}
.filter .section-title__wrapper::before {
    content: '';
    position: absolute;
    left: -120%;
    top: 0;
    height: 78px;
    width: 120%;
    background-color: #dbdbdb;
}

.filter .section-title.container {
    width: 220px;
    margin: 0 auto;
}

.filter .filter-subtitle {
    padding-top: 15px;
    margin-bottom: 25px;
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #000000;

    border-top: 2px solid #000000;
}

.filter label {
    margin-left: 6px;
    color: #000000;
    font-size: 16px;
    font-weight: bold;
    vertical-align: text-bottom;
    cursor: pointer;
    user-select: none;
}

/* range */

.range-filter {
    width: 100%;
}

.range-controls {
    position: relative;
    height: 16px;
    padding-top: 39px;
    background-color: transparent;
}

.range-controls .scale {
    height: 2px;
    background-color: #dbdbdb;
}

.range-controls .bar {
    width: 70%;
    height: 2px;
    background-color: #91c92f;
}

.range-controls .toggle {
    position: absolute;
    top: 31px;
    left: 0;
    width: 4px;
    height: 4px;
    padding: 0;
    border: 8px solid #ffffff;
    background-color: #ababab;
    border-radius: 50%;
    box-shadow: 0 2px 1px 0 #cfcfcf;
    cursor: pointer;
}

.range-controls .toggle-min {
    left: 0;
}

.range-controls .toggle-max {
    left: 160px;
}

.price-controls {
    display: flex;
    justify-content: space-between;
}

.price-controls label {
    margin-left: 0;
    text-transform: lowercase;
    font-family: 'Gilroy Light', Tahoma, sans-serif;
    font-size: 14px;
    opacity: 0.4;
}

.price-controls input {
    width: 80px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    border: none;
    background-color: transparent;
    text-align: left;
    text-transform: uppercase;
}

/* Filter Color */

.filter-color {
    padding: 0;
    margin: 0;
}

.filter-color input {
    width: 27px;
    height: 23px;
    appearance: none;
    background-image: url('../img/svg/checkbox-off.svg');
    background-repeat: no-repeat;
    cursor: pointer;
}

.filter-color input:hover {
    opacity: 0.7;
}

.filter-color input:focus {
    opacity: 0.7;
    outline: none;
}


.filter-color input:active {
    background-image: url('../img/svg/checkbox-on.svg');
}

.filter-color input:checked {
    background-image: url('../img/svg/checkbox-on.svg');
}

.filter-color input:checked:active {
    background-image: url('../img/svg/checkbox-off.svg');
}

.filter-color input:disabled+label {
    opacity: 0.4;
}

.filter-color input:disabled {
    opacity: 0.4;
    background-image: url('../img/svg/checkbox-off.svg');
}


.filter-color input:disabled:checked {
    opacity: 0.4;
    background-image: url('../img/svg/checkbox-on.svg');
}


/* Filter bluetooth */

.filter-bluetooth {
    padding: 0;
    margin: 0;
    margin-bottom: 45px;
}


.filter-bluetooth input {
    width: 25px;
    height: 25px;
    appearance: none;
    background-image: url('../img/svg/radio-off.svg');
    background-repeat: no-repeat;
}


.filter-bluetooth input:hover {
    opacity: 0.7;
}

.filter-bluetooth input:focus {
    opacity: 0.7;
    outline: none;
}

.filter-bluetooth input:checked {
    background-image: url('../img/svg/radio-on.svg');
}

.filter-bluetooth input:disabled+label {
    opacity: 0.4;
}

.filter-bluetooth input:disabled {
    opacity: 0.4;
    background-image: url('../img/svg/radio-off.svg');
}


.filter-bluetooth input:disabled:checked {
    opacity: 0.4;
    background-image: url('../img/svg/radio-on.svg');
}





.filter-bluetooth label {
    margin-left: 7px;
    vertical-align: super;
}



/* Content */


/* Content header */

.content-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 27px 0;
    padding-bottom: 21.5px;
    padding-left: 75px;
    background-color: #ebebeb;
}
.content-header::before {
    content: '';
    position: absolute;
    right: -50%;
    top: 0;
    height: 100%;
    width: 50%;
    background-color: #ebebeb;
}

.sorting {
    display: flex;
}

.content-header .list-sorting {
    display: flex;
    padding: 0;
    margin: 0;
    margin-left: 45px;
}

.list-sorting li {
    margin-right: 20px;
    cursor: pointer;
}

.list-sorting li:last-child {
    margin-right: 0;
}

.list-sorting button {
    margin: 0;
    padding: 0;
    font: inherit;
    color: #000000;
    opacity: 0.4;
    background-color: transparent;
    border: none;
}

.list-sorting button:hover,
.list-sorting button:focus {
    opacity: 0.7;
    outline: none;
}

.list-sorting button:active {
    opacity: 1;
}

.list-sorting .active-sort {
    opacity: 1;
}


.content__arrows {
    display: flex;
    align-items: center;
}

.arrow {
    margin: 0;
    padding: 0;
    display: block;
    width: 11px;
    height: 10px;
    background-color: transparent;
    background-image: url('../img/svg/icon-up-dir.svg');
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
}

.arrow-up {
    margin-right: 20px;
}

.arrow-down {
    transform: rotate(180deg);
}

.arrow-active {
    opacity: 0.4;
}

/* Content cards */


.content__wrapper {
    padding: 70px 0;
    padding-left: 75px
}


.product-photo-wrapper {
    position: relative;
    height: 380px;
    background-color: #efefef;
}

.product-photo-wrapper .product__hover {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
}

.product-photo-wrapper .product__hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #eeeeee;
    opacity: 0.5;
}

.product-photo-wrapper:hover .product__hover,
.product-photo-wrapper:focus .product__hover {
    display: block;
}

.product__hover button {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 7;
}

.product__hover button:hover,
.product__hover button:focus {
    transform: scaleY(4.5) translateX(-50%);
}

.product__hover button:active {
    transform: scaleY(4.5) translateX(-50%);
    z-index: 7;
}

.product__hover button.btn-info-show::before {
    content: 'В корзину';
}

.product__hover button:last-of-type {
    position: absolute;
    bottom: 30%;
    left: 50%;
    padding: 0;
    font: inherit;
    font-size: 13px;
    line-height: 36px;
    background-color: transparent;
    transform: translate(-50%, 10%);
    cursor: pointer;
    border: none;
    opacity: 0.7;
}

.product__hover button:last-of-type:hover,
.product__hover button:last-of-type:focus {
    opacity: 1;
    outline: none;
}

.product__hover button:last-of-type:active {
    opacity: 0.4;
}

.list-sorting li {
    font-family: 'OpenSans', Arial, sans-serif;
    font-size: 14px;
    color: #000000;
}

.list-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    padding: 0;
    column-gap: 40px;
}



.product-item__description {
    display: flex;
    justify-content: space-between;
    padding-top: 35px;
    padding-bottom: 65px;
}
.product-item h3 {
    margin: 0;
    padding: 0;
    line-height: 24px;
    width: 260px;
}

.product-item .product-name {
    margin: 0;
    padding: 0;
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #000000;
}

.product-item .product-price {
    margin: 0;
    padding: 0;
    font-family: 'Gilroy Light', Tahoma, sans-serif;
    color: #464646;
    font-size: 16px;
    line-height: 24px;
    align-self: baseline;
}

.decoration-new-label {
    position: absolute;
    top: 8%;
    right: 8%;
    padding: 18px;
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    font-size: 16px;
    opacity: 0.5;
    border: 2px solid #d7d7d7;
    border-radius: 50%;
}

/* Content Footer */

.main-content-footer {
    display: grid;
    grid-template-columns: min-content 1fr min-content;
    background-color: #ebebeb;

}

.main-content-footer ul {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    margin: 0;
    padding: 0;
}

.main-content-footer button {
    font-family: "Gilroy Extra Bold", Tahoma, sans-serif;
    font-size: 16px;
    color: #bababa;
    border: none;
    background-color: transparent;
    text-transform: uppercase;
}

.main-content-footer button:hover,
.main-content-footer button:focus {
    color: #8d8d8d;
    outline: none;
}

.main-content-footer button:active {
    color: #000000;
}

.main-content-footer button.active-page {
    color: #000000;
}


.main-content-footer .content__footer-control {
    color: #000000;
    padding: 25px 30px;
}

.main-content-footer .content__footer-control:hover,
.main-content-footer .content__footer-control:focus {
    color: #000000;
    background-color: #d9d9d9;
    outline: none;
}

.main-content-footer .content__footer-control:active {
    color: #acacac;
    background-color: #d9d9d9;
}

/* Main */

.main {
    position: relative;
    top: -110px;
}

.inner-page .main {
    top: 0px;
}


/* Breadcrumbs */
.breadcrumbs {
    margin-top: 38px;
    margin-bottom: 45px;

}

.breadcrumbs.container {
    width: 1040px;
}

.page-title {
    margin: 0;
    margin-bottom: 15px;
    padding: 0;
    font-family: 'Gilroy Extra Bold', sans-serif;
    font-size: 47px;
    line-height: 48px;
    color: #000000;
}

.breadcrumbs__list {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 35px;
    margin: 0;
    padding: 0;
    list-style: none;

}

.breadcrumbs__list a {
    position: relative;
    font-size: 14px;
    line-height: 24px;
    color: #000000;
    opacity: 0.5;
}

.breadcrumbs__list a:after {
    content: '';
    position: absolute;
    display: block;
    width: 6px;
    height: 9px;
    background-image: url(../img/svg/nav-arrow.svg);
    background-repeat: no-repeat;
    top: 7px;
    right: -20px;
}

.breadcrumbs__list li:last-child a::after {
    content: '';
    display: none;
}

.breadcrumbs__list a:hover,
.breadcrumbs__list a:focus {
    opacity: 0.8;
}

.breadcrumbs__list a:active {
    opacity: 0.3;
}


/* modal */

.modal {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 3;
    margin: auto;
    display: none;
}

.modal-show {
    display: block;
    animation: bounce 0.6s;
}

.modal-error {
    display: block;
    animation: shake 0.6s;
}


.modal-map {
    top: auto;
    bottom: 190px;
    width: 960px;
    height: 560px;
    box-shadow: 0 10px 20px rgba(4, 6, 6, 0.4);
}

.modal-map iframe {
    border: none;
    width: 100%;
    height: 100%;

}

.modal-write {
    box-sizing: border-box;
    /* display: block; */
    width: 960px;
    height: 560px;
    padding: 90px 100px;
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(4, 6, 6, 0.4);
}

.modal-write form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.modal-write label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Gilroy Extra Bold';
    font-size: 18px;
    line-height: 24px;
    color: #000000;
}

.modal-write input {
    width: calc(100% - 6px);
    padding: 15px 0;
    padding-left: 20px;
    border: 3px solid #f2f2f2;
    background-color: #f2f2f2;
}

.modal-write textarea {
    width: 100%;    
    min-height: 100px;
    max-height: 200px;
    min-width: 170px;
    max-width: 770px;
    padding: 18px;
    padding-right: 0;
    border: 3px solid #f2f2f2;
    background-color: #f2f2f2;
}

.modal-write input:hover,
.modal-write textarea:hover {
    border-color:  #eaeaea;
    background-color: #eaeaea;
}

.modal-write input:focus,
.modal-write textarea:focus {
    border-color: #f7e296 ;
    background-color: #ffffff;
    outline: none;
}

.modal-write input:invalid {

    border-color:#f6dada;
    background-color: #f6dada;
}


.modal-write p {
    margin: 0;
}

.modal-write p:nth-child(3) {
    grid-column: 1/3;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-image: url('../img/svg/modal-close.svg');
    border: none;
    opacity: 0.6;
}

.modal-close:hover,
.modal-close:focus {
    opacity: 1;
    outline: none;
}

.modal-close:active {
    opacity: 0.4;
}

/* Keyframes */

@keyframes bounce {
    0%   {transform: translateY(-2000px);  }
    70%  {transform: translateY(100px);   }
    9%   {transform: translateY(-300px);   }
    100% {transform: translateY(0px);      }
}

@keyframes shake {
    0%, 100%                { transform: translateX(0px);   }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80%      { transform: translateX(10px); }
}
