.header {
  width: 100%;
  max-width: 1240px;
  margin: 20px auto 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.header-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.header-logo{
  width: 146px;
  height: 60px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  flex: 0 0 auto;
  background-size: contain;
}
.header-box{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 18px;
}
.header-box-left{
  display:flex;
  align-items:center;
  gap: 18px;
}
.header-catalog-link{
  display:flex;
  align-items:center;
  gap: 14px;
  height: 60px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #2F8A3C;
  color:#fff;
  font-weight: 600;
}
.header-catalog-link:hover {
  background-color: #3fae50;
}
.header-catalog-link .frame{
  width: 22px;
  height: 22px;
}
.icon-link{
  width: 60px;              
  height: 60px;
  padding: 10px 20px 16px 20px;
  border-width: 2px !important;
  font-size: 24px;  
  text-decoration: none;
  font-weight: 900;
}
.icon-link:hover{
  background-color: var(--bs-primary);
  color: white;
}
.heart-outline{
  font-size: 22px;
  color: transparent;
  -webkit-text-stroke: 2px var(--bs-primary);
}
.heart-outline:hover{
  font-size: 22px;
  color: transparent;
  -webkit-text-stroke: 2px white;
}
.search-group{
  width: 420px;
  height: 60px;
  border: 2px solid #2F8A3C;
  border-radius: 999px;
  overflow: hidden;
}
.search-group .search-input{
  border:0;
  box-shadow:none;
  height: 60px;
  padding-left: 22px;
}
.search-group .search-icon{
  background: transparent;
  border:0;
  padding-right: 18px;
}
.btn-call{
  flex-shrink: 0;
  flex-basis: auto;
  position: relative;
  text-align: left;
  white-space: nowrap;
  background-color: var(--dark-green);
  height: 60px;
  color:#fff;
  padding: 0 22px;
  border-radius: 100px;
  background: black; 
}
.btn-call:hover {
  background-color: rgb(53, 53, 53);
  color: white;
}
.btn-call-icon {
  background-image: url("../assets/custom-icons/icon-call.svg");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px
}
.header-menu{
  height: 60px;
  border: 0;
  color:#fff;
  font-weight: 600;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #318741, #316d87);
}
.header-phone{
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: #1F3D2A;
  color:#fff;
  text-decoration:none;
  flex: 0 0 auto;
}
.header-phone i,
.header-menu i{
  font-size: 22px;
}
.top-bar {
  display: flex;
  font-size: 20px;
  padding: 0;
  margin: 0 auto;
  color: #181616;
  font-family: Gilroy, var(--default-font-family);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  white-space: nowrap;
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.header-catalog-icon {
  flex-shrink: 0;
  position: relative;
  width: 16px;
  height: 16px;
  background: url("../assets/custom-icons/icon-catalog.svg")
    no-repeat center;
  background-size: cover;
  z-index: 489;
}
.catalog {
  flex-shrink: 0;
  flex-basis: auto;
  position: relative;
  height: 22px;
  color: #ffffff;
  font-family: Gilroy, var(--default-font-family);
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  text-align: left;
  white-space: nowrap;
  z-index: 490;
}


@media (max-width: 1440px) {
  .header {
    padding: 0 20px
  }
}
@media (min-width: 1241px){
  .header-catalog-link{ display:flex !important; }
  .icon-link{ display:inline-flex !important; }
  .search-group{ display:flex !important; }
  .btn-call{ display:inline-flex !important; }
  .header-phone{ display:none !important; }
  .header-menu{ display:none !important; }
  .top-bar{ display:flex !important; }
  .top-bar-nav{ display:flex !important; }
}

@media (max-width: 1240px){
  .header{
    gap: 18px;
  }
  .header-logo {
    width: 124px;
    height: 56px
  }
  .header-menu {
    width: 130px;
  }
  .header-catalog-link {
    width: 156px;
  }
  .header-top {
    gap: 8px;
  }
  .header-phone{ display:inline-flex !important; }
  .header-menu{ display:inline-flex !important; }
  .icon-link{  
    display: inline-flex !important; 
    width: 60px;
    height: 60px;
  }
  .search-group{ 
    width: 160px; 
  }
  .header-box-left {
    gap: 8px;
  }
  .btn-call{ display:none !important; }
  .header-box {
    gap: 8px;
  }
  .top-bar-nav{ display:none !important; }
  .top-bar-contacts{
    width: 100%;
    display:flex;
    gap: 12px;
  }
  .top-bar {
    flex-direction: column;
    gap: 12px;
    display:flex !important; 
  }
}

@media (max-width: 768px){
  .header{
    max-width: 100%;
    padding: 0 15px;
    gap: 14px;
    margin: 16px auto 22px;
  }
  .header-menu {
    width: 130px;
    height: 48px;
  }
  .header-phone {
    width: 48px;
    height: 48px;
  }
  .header-logo{
    width: 106px;
    height: 48px;
  }
  .header-phone{ display:inline-flex !important; }
  .header-menu{ display:inline-flex !important; }
  .header-catalog-link{ display:none !important; }
  .icon-link{ display:none !important; }
  .search-group{ display:none !important; }
  .btn-call{ display:none !important; }
  .top-bar{ display:none !important; }
}

/* Mobile Menu Styles */
.offcanvas {
  max-width: 80%;
}

.offcanvas-header {
  border-bottom: 1px solid #eee;
  padding: 20px;
}

.offcanvas-body {
  padding: 20px;
}

.offcanvas-body .nav-link {
  font-family: Gilroy, sans-serif;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 0;
  color: #181616;
}

.offcanvas-body .nav-link:hover {
  color: #2F8A3C;
}

.offcanvas-body hr {
  margin: 10px 0;
  opacity: 0.1;
}

.text-mutedSmall {
  font-size: 14px;
  color: #6c757d;
}
