/* Header */

.header {
  background-color: #009fe3;
  display: flex;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 98px;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 12px;
}

.header__logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* Center navigation */

.header__nav {
  flex: 1;
}

.header__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.header__menu-link {
  color: #fff;
  font-size: 17px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header__menu-link:hover {
  color: #96d1ee;
}

/* Products dropdown */

.header__menu-item--products {
  position: relative;
}

.header__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  padding-top: 18px;
  gap: 4px;
}

.header__menu-item--products:hover .header__dropdown {
  display: flex;
  flex-direction: column;
}

.header__dropdown-item {
  padding: 6px 20px;
  background-color: #96d1ee;
  color: #fff;
  font-size: 20px;
  white-space: nowrap;
  border-radius: 0 16px;
  transition: background-color 0.2s ease;
}

.header__dropdown-item:hover {
  background-color: #79cef3;
}

/* Right side */

.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__phone {
  color: #fff;
  font-size: 26px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header__phone:hover {
  opacity: 0.8;
}

.header__socials {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__social {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__social img {
  width: 42px;
  height: 42px;
  display: block;
}

/* Mobile buttons (buy + burger) */

.header__mobile {
  display: none;
  align-items: center;
  gap: 12px;
}

.header__mobile-socials {
  display: none;
}

.header__buy,
.header__burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.header__buy img,
.header__burger img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Drawer (mobile nav) */

.header__drawer {
  display: none;
  flex-direction: column;
  padding: 18px;
  background-color: #79cef3;
  border-radius: 0 0 16px 16px;
}

.header__drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.header__drawer-link {
  color: #fff;
  font-size: 16px;
  transition: color 0.2s ease;
}

.header__drawer-link:hover {
  color: #96d1ee;
}

.header__drawer-phone {
  display: block;
  margin-top: 35px;
  color: #fff;
  font-size: 17px;
}
.header__share-toggle {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: opacity 0.2s;
}
.header__share-toggle:hover {
    opacity: 0.7;
}
.header__share-toggle img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}
.header__share {
    position: relative;
    display: inline-block;
}
.header__share-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background-color: #009fe3;;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    list-style: none;
    z-index: 1000;
}
.header__share-dropdown.open {
    display: block;
}

.social-share-item {
    padding: 0;
    margin: 0;
}
.social-share-item .social-share-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
    background: transparent;
}
.social-share-item .social-share-link:hover {
    opacity: .7;
    background: transparent;
}
.social-share-item .social-share-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.social-share-copy {
    border-top: 1px solid #e0e0e0;
    margin-top: 6px;
    padding-top: 6px;
}
.social-share-copy .social-share-link {
    color: #fff;
    font-weight: normal;
}
.social-share-copy .social-share-link:hover {
    opacity: .7;
}

/* Responsive */

@media (max-width: 1024px) {
  .header__inner {
    width: 100%;
    height: 70px;
    padding: 0 15px 0 36px;
    gap: 0;
    justify-content: space-between;
  }

  .header__logo img {
    height: 24px;
  }

  .header__nav,
  .header__right {
    display: none;
  }

  .header__mobile {
    display: flex;
    gap: 6px;
  }

  .header__mobile-socials {
    position: absolute;
    top: 82px;
    right: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .header__mobile-social {
    display: flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
  }

  .header__mobile-social img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .header__buy,
  .header__burger {
    width: 46px;
    height: 46px;
  }

  .header__drawer {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 0 16px 24px rgba(0, 76, 116, 0.16);
  }

  .header__drawer-link:hover {
    color: inherit;
  }

  .header.is-open .header__drawer {
    display: flex;
  }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .header__socials img {
        width: 32px;
        height: 32px;
    }
    .header__share-toggle img {
        width: 32px;
        height: 32px;
    }
  .header__inner {
    width: 100%;
    padding: 0 24px;
    gap: 10px;
  }

  .header__logo {
    margin-right: 0;
  }

  .header__logo img {
    height: 27px;
  }

  .header__menu {
    gap: 12px;
  }

  .header__menu-link {
    font-size: 15px;
  }

  .header__right {
    gap: 10px;
  }

  .header__phone {
    font-size: 20px;
  }

  .header__social img {
    width: 32px;
    height: 32px;
  }
}
