@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (min-width: 1280px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1460px;
    }
}

.navbar-light .navbar-nav .nav-link {
    line-height: 1;
    text-align: center;
}

.fs-sm {
    font-size: 17px !important;
}

main.page-wrapper > .container:not(.main-title):not(.product-single):not(.catalog-wrap):not(.green-title):not(.remove-padding):not(.returns-btn):not(.main-title):not(.product-single):not(.catalog-wrap):not(.green-title):not(.remove-padding):not(.returns-btn) {
    padding-block: 3% !important;
    margin-bottom: 0 !important;
}

main.page-wrapper > .container.product-single {
    padding-top: 3% !important;
    margin-bottom: 0 !important;
}

.container.green-title {
    margin-bottom: 0 !important;
    padding-top: 65px !important;
    padding-bottom: 0px !important;
}

main.page-wrapper > .container.main-title {
    padding-top: 3%;
}

.btn-primary {
    color: var(--bs-primary-text) !important;
    border-color: var(--bs-primary);
    background-color: var(--bs-primary);
    opacity: 1;
    font-weight: bold;
    border-radius: 30px;
}

.btn-primary:hover {
    background-color: color-mix(in srgb, var(--bs-primary), transparent 70%);
}

.btn-outline-primary {
    border-color: var(--bs-primary);
    background-color: var(--bs-primary);
    color: white;
    border-radius: 30px;   
    font-weight: bold;
}

.btn-outline-primary:hover {
    background-color: transparent;
    color: var(--bs-primary) !important;
}

.btn-outline-light {
    border-color: white;
    border-radius: 30px;
    font-weight: bold;
}

.hm-category h2 {
    font-size: 45px;
    margin-bottom: 35px;
    max-width: 300px;
}

.main-title {
    display: flex;
    align-items: center;
    gap: 19px;
    padding-bottom: 30px;
    padding-left: 0;
    padding-right: 0;
}

.main-title span {
    height: 2px;
    background-color: #ebebeb;
    flex: 1;
}

.main-title h2 {
    flex: inherit;
    margin: 0;
    font-size: 25px;
}

.home-slider .swiper.has-pagination {
    padding-bottom: 0;
}

.home-slider .swiper-slide > .container {
    height: 92vh;
    flex-direction: column;
    display: flex;
    gap: 20px;
}

.home-slider .swiper-slide > .container > *:not(.video-wrap) {
    z-index: 1;
}

.home-slider .video-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;   
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-slider .display-5 {
    font-weight: 100;
}

.home-slider  .info-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1200px) {
    .home-slider .display-5 {
        font-size: 40px;
    }
}

.hm-banner .banner-bg {
    width: 100%;
    aspect-ratio: 6 / 8;
    height: auto;
    padding: 30px 20%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: white;
    background-position: center;
    background-repeat: no-repeat;
    max-height: 67vh;
    margin-bottom: 20px;
}

.hm-banner .banner-bg * {
    color: white;
}

.hm-banner .banner-bg h2 {
    max-width: 215px;
}

.hm-banner .banner-bg p {
    font-size: 20px;
    min-height: 95px;
    display: flex;
    align-items: center;
}

.hm-banner  .btn-outline-primary {
    border-color: white;    
}

.hm-category.fibaro {
    border-block: 2px solid #e1e1e1;
}

@media (min-width: 992px) {
    .hm-new .col-lg-2 {
        flex: 0 0 auto;
        width: 20%;
    }
}

.card .product-meta {
    height: auto !important;
}

main.page-wrapper > .container.hm-new {
    padding-top: 0 !important;
}

.hm-new .card {
    height: 330px;
    border: 1px solid #ebebeb;
    padding: 8px !important;
    border-radius: 0;
}

.hm-new .card .product-meta {
    border-top: 1px solid #ebebeb;   
}

.hm-new  > .row > .px-4 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
}

.prod-price .price {
    background-color: var(--bs-primary);
    color: white;
    font-weight: bold;
    font-size: 24px;
    padding: 10px 20px;
    border-radius: 30px;
    display: block;
    width: fit-content;
}

.price-wrap {
    display: flex;
    gap: 26px;       
}

.prod-sku {
    color: gray;
    font-size: 17px;
}

.input-wrap .form-control.quantity {
    padding: 11.75px 1em;    
}

.input-wrap .form-control.quantity p {
    margin-bottom: 5px;
    color: #a3a3a3;
}

.cat-breadcrumb {
    margin: 0 !important;
}

.cat-breadcrumb .container {
    padding: 0 !important;
    max-width: 100%;
}

.cat-breadcrumb .bg-breadcrumb {
    justify-content: center;
    padding: 15px 20px !important;
    background-image: url(https://zmediaecom.blob.core.windows.net/media/434c8a7f-f2f9-4d44-825b-8d66fcabf73c/2b497552-fa13-4237-a4f9-e3ca0390dce3/2b497552-fa13-4237-a4f9-e3ca0390dce3);  
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cat-breadcrumb .breadcrumb-light .breadcrumb-item.active, .cat-breadcrumb .breadcrumb-light .breadcrumb-item::before {
    color: #ffffffc4 !important;
}

.filter-list .cat-title{
    color: rgb(0, 151, 178);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bs-primary);
}

.filter-list .fs-sm {
    font-size: 0.875rem !important;
}

.filter-list .form-select {
    border: 1px solid var(--bs-primary);
    border-radius: 30px;v
}

.about-us img.w-100 {
    width: auto !important;
    margin: 0 auto;
    display: block;
}

.desktop-row-reverse .row {
    flex-direction: row-reverse;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--bs-primary);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
  padding-top: 0;
  line-height: 1.2em;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item .year {
  font-size: 36px;
  font-weight: 700;
  color: var(--bs-primary);
  display: block;
  margin-bottom: 10px;
}

.timeline-item .content {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 6px;
}

.timeline-item img {
    max-width: 100%;
    max-height: 315px;
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}

.timeline-item:before {
    width: 10px;
    height: 55px;
    position: absolute;
    right: 0;
    top: 0;
    background: var(--bs-primary);
    content: '';
}

.timeline-item.right:before {
    right: unset;
    left: 0;
}

.timeline-item p {
    text-align: center;
}

.green-title h2 {
    color: var(--bs-primary);
}

.catalog-wrap {
    padding-top: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-wrap .catalog {
    flex: 0 1 calc(25% - 8px);
    min-height: 200px;
    position: relative;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}

.catalog-wrap .catalog a {
    padding: 23px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.catalog-wrap .catalog:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #0000007a;
    z-index: -1;
}

.catalog-wrap .catalog h2 {
    color: white;
    font-size: 20px;
    transition: all 0.5s ease;
}

.catalog-wrap .catalog .info {
    position: absolute;
    bottom: 0;
    color: white;
    background-color: var(--bs-primary);
    width: 100%;
    left: 0;
    padding-left: 23px;
    padding-block: 15px;
    transform: translatey(100%);
    transition: all 0.5s ease;
}

.catalog-wrap .catalog:hover .info {
    transform: translateY(0);
}

.catalog-wrap .catalog:hover h2 {
    transform: translatey(-100%);
}

.container.apps .apps {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.container.apps .col-lg-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-title {
    font-size: 22px;
}

footer .col-lg-3 p {
    margin: 0;
}

footer .menu a {
    display: block;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.social-media-footer {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-media-footer i {
    font-size: 19px;
    padding: 10px;
    background-color: #eceeef;
    color: var(--bs-rpimary);
    border-radius: 100%;
    border: 2px solid #eceeef;
    transition: all 0.5s ease;
}

.social-media-footer i:hover {
    border-color: var(--bs-rpimary);    
    background-color: transparent;
}

.footer-logo {
    display: block;
    margin: 0 auto;
}

.card h3.product-title {
    min-height: 40px !important;
    height: auto !important;
}

.card .cart-button {
    height: 36px;
}

.category-list .card img {
    object-fit: contain !important;
}

.category-list .card a {
    position: relative;
}

.category-list .card:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #0000001a;
    display: block;
    z-index: 1;
    pointer-events: none;
    border-radius: 7px;
    transition: all 0.5s ease;
}

.category-list .card:hover:before {
    opacity: 0;
}

.prod-title-sku {
    padding-bottom: 10px;
    border-bottom: 2px solid #f9f7f7;
    margin-bottom: 30px;
}

.prod-attr-list {
    background: #f5f5f5;
    border-radius: 30px;
}

.prod-attr-list li:not(:last-of-type) {
    border-bottom: 1px solid #e9e9e9;
}

select#invite-branch option {
    text-wrap: auto;
    margin-bottom: 10px;
}

@media all and (max-width: 1150px) {
    .catalog-wrap .catalog {
        flex: 0 1 calc(33.3% - 8px);
    }
}

@media all and (max-width: 991px) {
    .navbar .input-group>.form-control {
        border-top-left-radius: 30px;
        border-bottom-left-radius: 30px;
    }

    header .navbar .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: white;
        max-height: 100vh;
        z-index: 1030;
        padding: 20px;
    }

    .navbar-nav .nav-item.mobile-lang-nmu {
        border-radius: 0;
        display: flex;
        justify-content: center;
    }

    .handheld-toolbar {
        z-index: 1031;
    }

    .hm-category .row {
        gap: 25px;
    } 

    footer > .container > .row {
        row-gap: 20px;
        justify-content: center;   
    }

    footer {
        padding-bottom: 65px;    
    }
}

.footer-text a {
    color: var(--bs-primary) !important;
}

@media all and (max-width: 800px) {
    .timeline-item {
        width: 95%;
    }

    .timeline-item {
        width: 100%;
        margin: auto;
    }

    .timeline-item:before, .timeline-item.right:before {
        left: 9px;
        right: unset;
    }

    .timeline::after {
        left: 5px;
        transform: none;
    }

    .timeline-item.right {
        left: unset;
    }

    .timeline-item.left {
        text-align: left;
    }
}

@media all and (max-width: 700px) {
    .catalog-wrap .catalog {
        flex: 0 1 calc(50% - 8px);
    }
}

@media all and (max-width: 700px) {
    .catalog-wrap .catalog a {
        padding: 10px;
    }

    .catalog-wrap .catalog h2 {
        font-size: 18px;
    }
}

@media all and (max-width: 411px) {
    .navbar>.container {
        justify-content: center;   
    }
}