body {
    font-family: "Mulish", serif;
}
img {
    max-width: 100%;
}
.header-top-content {
    padding: 30px 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}
.header-form {
    flex-grow: 1;
    max-width: 726px;
}
.header-form form {
    position: relative;
}
.header-form input {
    padding: 18px 65px 18px 20px;
    width: 100%;
    font-size: 16px;
    line-height: 20px;
    border: 1px solid #C4C4C4;
    border-radius: 39px;
}
.header-form input:focus-visible {
    outline: none;
}
.header-form input::placeholder {
    color: #333;
}
.header-form button {
    position: absolute;
    top: 6px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: white;
    background-color: #FE450F;
    border: none;
    border-radius: 50%;
}
.header-top-menu {
    display: none;
}
.header-logo {
    max-width: 234px;
}
.header-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-button a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.header-button span {
    font-size: 20px;
    font-weight: 600;
}
.header-button-cart a {
    color: #FE450F;
}
.header-button-login a {
    padding: 13px 16px;
    color: white;
    background-color: #FE450F;
    border-radius: 14px;
}
.header-nav {
    padding: 25px 0;
    background-color: #FE450F;
}
.header-nav-content .nav {
    display: flex;
    gap: 58px;
}
.header-nav-content .nav:before,
.header-nav-content .nav:after {
    content: none;
}
.header-nav-content .nav > li > a {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
.header-nav-content .nav-pills > li > a {
    color: white;
    background-color: transparent;
    border-radius: 0;
}
.header-nav-content .nav .open > a,
.header-nav-content .nav .open > a:focus,
.header-nav-content .nav .open > a:hover {
    background-color: transparent;
}
.header-nav-content .nav > li ul {
    margin-top: 0;
}
.header-nav-content .nav > li:hover ul {
    display: block;
}
.home-top-banner {
    margin-bottom: 51px;
}
.home-block-product {
    margin-bottom: 24px;
    padding: 20px 16px;
    background-color: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.07);
    border-radius: 10px;
}
.home-block-top {
    padding-bottom: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid #E7E7E7;
}
.home-block-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.home-block-title span {
    font-size: 20px;
    font-weight: 700;
    color: #FE450F;
    text-transform: uppercase;
}
.home-block-view-all a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}
.home-block-view-all a img {
    width: 15px;
}
.home-product-list {
    margin-top: 33px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 18px;
}
.home-product-item-top {
    position: relative;
    border-radius: 16px 16px 0 0;
}
.home-product-item__image img {
    width: 100%;
}
.home-product-item__link {
    padding: 4px 10px;
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: #FE450F;
    border-radius: 17px;
}
.home-product-item__link a {
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.home-product-item-bottom {
    padding: 16px 16px 27px;
    border: 1px solid #C4C4C4;
    border-top: none;
    border-radius: 0 0 16px 16px;
}
.home-product-item__title {
    font-size: 18px;
    font-weight: 600;
    color: #111C30;
}
.home-product-item__price {
    margin-top: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.home-product-item__price-sale {
    font-size: 24px;
    font-weight: 700;
    color: #FE450F;
}
.home-product-item__price-regular {
    font-size: 16px;
    color: #939CAB;
    text-decoration: line-through;
}
.home-block-slider {
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
}
.home-slider {
    border-radius: 12px;
    overflow: hidden;
}
.home-slider .carousel-control {
    width: 98px;
    background-image: none;
    opacity: 1;
}
.home-slider .carousel-control img {
    position: absolute;
    top: 50%;
    transform: translateY(-35px);
    z-index: 5;
    display: block;
}
.home-slider .carousel-control.left img {
    left: -28px;
}
.home-slider .carousel-control.right img {
    right: -28px;
}
.home-block-banner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.home-block-banner a {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
}
.footer-service {
    margin-top: 50px;
    padding: 20px 0;
    background-color: #F4F4F4;
}
.footer-service-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.footer-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-service-item img {
    width: 50px;
}
.footer-service-item {
    font-size: 20px;
    font-weight: 500;
    color: #2D2D2D;
}
.main-footer {
    padding: 30px 0;
    background-color: #FE450F;
}
.main-footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.footer-logo {
    max-width: 213px;
}
.footer-socials {
    margin-top: 20px;
    display: flex;
    gap: 16px;
}
.footer-column ul {
    margin: 20px 0 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-column ul li a {
    font-size: 16px;
    font-weight: 500;
    color: white;
}
.footer-column-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}
.footer-column form {
    margin: 20px 0 30px;
    position: relative;
    font-size: 16px;
}
.footer-column form input {
    padding: 14px 125px 14px 24px;
    background-color: white;
    border: none;
    border-radius: 46px;
    line-height: 1.5;
}
.footer-column form input:focus-visible {
    outline: none;
}
.footer-column form button {
    padding: 12px 26px;
    position: absolute;
    top: 4px;
    right: 4px;
    font-weight: 600;
    line-height: 20px;
    color: white;
    background-color: #FE450F;
    border: none;
    border-radius: 43px;
}
.footer-column form input::placeholder {
    color: #808080;
}
.footer-payment-methods {
    margin-top: 16px;
    display: flex;
    gap: 13px;
}
.copyright {
    margin-top: 40px;
    padding-top: 16px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    border-top: 1px solid #D9D9D9;
}

@media (min-width: 1400px) {
    .container {
        width: 1330px;
    }
}

@media (max-width: 1199px) {
    .footer-service-item {
        font-size: 18px;
    }
    .main-footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-column form input {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .header-form {
        width: 100%;
        order: 3;
    }
    .header-nav-content .nav {
        gap: 20px;
    }
    .home-product-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-block-slider {
        flex-direction: column;
    }
    .footer-service-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .copyright {
        padding: 16px 20px 0;
    }
}

@media (max-width: 767px) {
    .header-top-content {
        padding-top: 15px;
    }
    .header-top-left {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .header-top-menu {
        display: block;
    }
    .header-top-menu button {
        background-color: transparent;
        border: none;
    }
    .header-top-menu button img {
        width: 30px;
        height: 30px;
    }
    .header-top-menu ul > li > a {
        font-size: 16px;
        font-weight: 700;
    }
    .header-top-menu ul ul {
        list-style: none;
    }
    .header-top-menu ul ul > li > a {
        font-weight: 400;
        color: #333;
    }
    .header-logo {
        max-width: 150px;
    }
    .header-nav {
        display: none;
    }
    .home-top-banner {
        margin-bottom: 24px;
    }
    .main-footer-content {
        grid-template-columns: repeat(1, 1fr);
    }
    .copyright {
         padding: 16px 0 0;
    }
}

@media (max-width: 575px) {
    .header-button span {
        display: none;
    }
    .header-button-login a {
        padding: 4px;
        border-radius: 50%;
    }
    .home-block-title span {
        font-size: 18px;
    }
    .header-form input {
        font-size: 14px;
    }
    .home-product-list,
    .footer-service-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 374px) {
    .header-top-left {
        gap: 8px;
    }
    .header-logo {
        max-width: 120px;
    }
    .header-form input {
        padding: 18px 65px 18px 16px;
        font-size: 12px;
    }
    .home-block-product {
        padding: 20px 12px;
    }
    .home-block-title {
        gap: 4px;
    }
    .home-block-title img {
        width: 16px;
    }
    .home-block-title span {
        font-size: 16px;
    }
    .home-block-view-all a {
        font-size: 12px;
    }
    .home-product-item__title {
        font-size: 14px;
    }
}
