*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PDR';
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}
.container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.header__nav {
    background: #FFFFFF;
    padding: 25px 0;
}
.header__nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__nav-list {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.header__nav-link,
.header__nav-drop-link {
    font-size: 12px;
    line-height: 16px;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 4px;
}
.header__nav-drop-link  {
    padding: 12px 30px;
}

.header__nav-form {
    display: flex;
    gap: 4px;
}
.header__nav-input {
    border: 1px solid #41A28E;
    max-width: 180px;
    width: 100%;
    height: 28px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 16px;
    color: #4B4848;
    font-family: 'RR';
    outline: none;
}

.header__nav-btn {
    background: #41A28E;
    border: none;
    width: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__content {
    background: url(../images/headerbg.jpg) no-repeat center /cover;
    background-attachment: fixed;
    height: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
}
.header__content-title{
    font-size: 50px;
    color: #FFFFFF;
    line-height: 67px;
    background: rgba(0, 0, 0, 0.7);
    padding: 17px 60px;
    font-weight: 400;
}
.header__content-text {
    font-size: 22px;
    line-height: 29px;
    color: #FFFFFF;
    text-shadow: 6px 6px 5px rgba(0, 0, 0, 0.38);
}
.header__content-link,
.project__box-link {
    background: #FFFFFF;
    width: 130px;
    padding: 22px 0;
    text-align: center;
    font-size: 12px;
    color: #000000;
    line-height: 16px;
    transition: all 300ms;
}
.header__content-link:hover {
    background: #41A28E;
    color: #FFFFFF;
}

.header__nav-li {
    position: relative;
}
.header__nav-drop {
    z-index: -2;
    width: 160px;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 28px;
    opacity: 0;
}
.header__nav-li:hover .header__nav-drop {
    opacity: 1;
    z-index: 2;
}

.header__nav-li img {
    transition: all 300ms;
}

.header__nav-li:hover img {
    transform: rotate(180deg);
}


.header__nav-drop-li:nth-of-type(2) {
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

.commerce {
    padding-top: 48px;
    padding-bottom: 72px;
}
.commerce__box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 52px;
    flex-wrap: wrap;
    gap: 30px;
}
.commerce__item {
    max-width: 255px;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.commerce__item:hover .commerce__item-title {
    bottom: 0;
}


.commerce__item-title {
    transition: all 300ms;
    background: rgba(75, 72, 72, 0.7);
    font-size: 25px;
    color: #FFFFFF;
    line-height: 33px;
    text-align: center;
    padding: 2px 0;
    position: absolute;
    width: 100%;
    bottom: -22%;
}
.commerce__item-img {
    display: block;
}

.commerce__info,
.product__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.commerce__info-title,
.product__info-title {
    font-size: 50px;
    line-height: 67px;
    color: #000000;
}
.commerce__info-text,
.product__info-text {
    font-size: 16px;
    line-height: 19px;
    color: #666666;
    font-family: 'RR';
    max-width: 496px;
    width: 100%;
    text-align: center;
}

.project {
    background: url(../images/projectbg.jpg) no-repeat center /cover;
    background-attachment: fixed;
    padding-top: 120px;
    padding-bottom: 112px;
}

.project__box-text {
    font-size: 20px;
    line-height: 27px;
    color: #FFFFFF;
    margin-bottom: 3px;
}
.project__box-title {
    font-size: 50px;
    line-height: 67px;
    color: #FFFFFF;
    margin-bottom: 22px;
}

.project__box-link  {
    width: 190px;
    display: block;
}

.product {
  padding: 50px 0;  
}

.product__item {
    max-width: 255px;
    width: 100%;
}

.product__item-top {
    margin-bottom: 43px;
    position: relative;
    overflow: hidden;
}
.product__item-menu {
    background: rgba(0, 0, 0, 0.7);
    padding: 17px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    bottom: -17%;
    transition: all 300ms;
}

.product__item-top:hover  .product__item-menu {
    bottom: 0;
}

.product__item-add {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    line-height: 16px;
    color: #FFFFFF;
}
.product__item-icons {
    display: flex;
    align-items: center;
    gap: 22px;
}
.product__item-img {
    display: block;
}

.product__item-title {
   font-size: 22px; 
   line-height: 29px;
   color: #000000;
   margin-bottom: 6px;
}
.product__item-text {
    font-size: 18px;
    line-height: 24px;
    color: #000000;
    font-feature-settings: 'pnum' on, 'lnum' on, 'liga' off;
}

.product__box {
    display: flex;
    justify-content: space-between;
    margin-top: 70px;
    gap: 30px;
    flex-wrap: wrap;
}

.product__item-price {
    color: #666666;
    margin-right: 15px;
    text-decoration: line-through;
}

.product__item-out,
.product__item-sale {
    position: relative;
}

.product__item-out::before {
    content: 'OUT OF STOCK';
}
.product__item-sale::before {
    content: 'SALE';
}
.product__item-out::before,
.product__item-sale::before{
    background: #4B484B;
    font-size: 12px;
    line-height: 14px;
    color: #FFFFFF;
    padding: 10px 18px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
}

.footer {
    background: #000000;
    padding: 36px 0;
}
.footer__box-item {
    max-width: 255px;
    width: 100%;
}

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

.footer__box-title {
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
    margin-bottom: 40px;
}
.footer__box-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.footer__box-link {
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
    font-family: 'RR';
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer__box-form {
    display: flex;
}
.footer__box-input {
    max-width: 200px;
    width: 100%;
    padding: 14px 10px;
    font-size: 14px;
    line-height: 16px;
    color: #919191;
    font-family: 'RR';
    border: none;
    outline: none;
}
.footer__box-btn {
    background: #41A28E;
    font-size: 16px;
    line-height: 19px;
    font-family: 'RR';
    color: white;
    border: none;
    width: 55px;
}
.footer__box-text {
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
    margin: 20px 0;
    font-family: 'RR';
}

.footer__box-cards {
    display: flex;
    gap: 25px;
}

/* Медиа запросы */

@media (max-width:1140px) {
    .commerce__box,
    .product__box {
        justify-content: center;
    }
    .footer__box {
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width:1000px) {
    .header__nav-container {
        flex-direction: column;
        gap: 20px;
    }
    .footer__box-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer__box-text {
        text-align: center;
    }
}

@media (max-width:650px) {
    .header__content-title {
        font-size: 30px;
        line-height: 30px;
        text-align: center;
    }
    .header__content {
        height: auto;
        padding: 100px 0;
    }
    .header__nav-list {
        justify-content: center;
        gap: 20px;
    }
    .commerce__info-title,
    .product__info-title,
    .project__box-title {
        font-size: 24px;
        line-height: 30px;
    }
    .project__box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}