/* Services mega menu — wider panel, calmer type, more space */
.headers .ht .navbar-nav .services-mega-menu {
    --svc-panel-w: 760px;
    width: var(--svc-panel-w);
    max-width: min(760px, 92vw);
    padding: 26px 28px 18px;
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    border-bottom-left-radius: 16px !important;
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.42);
}
.headers .ht .navbar-nav .services-nav-dropdown.is-mega-open::before {
    width: min(760px, 92vw);
    height: 16px;
}
.headers .ht .navbar-nav .services-nav-dropdown.is-mega-open > .nav-link,
.headers .ht .navbar-nav .services-nav-dropdown.is-mega-open > .nav-link.dropdown-toggle {
    border-radius: 12px 12px 0 0 !important;
}
.headers .ht .navbar-nav .services-mega-cols {
    display: flex;
    gap: 0;
}
.headers .ht .navbar-nav .services-mega-col {
    flex: 1;
    min-width: 0;
    padding: 0 8px;
}
.headers .ht .navbar-nav .services-mega-col + .services-mega-col {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 22px;
    margin-left: 14px;
}
.headers .ht .navbar-nav .services-mega-menu .dropdown-header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e94560;
    padding: 2px 12px 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(233, 69, 96, 0.28);
}
.headers .ht .navbar-nav .services-mega-menu .dropdown-item {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 6px;
    font-size: 14.5px;
    line-height: 1.35;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.92);
    border-left: 2px solid transparent;
}
.headers .ht .navbar-nav .services-mega-menu .dropdown-item .svc-abbr {
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.headers .ht .navbar-nav .services-mega-menu .dropdown-item:hover,
.headers .ht .navbar-nav .services-mega-menu .dropdown-item:focus {
    background: rgba(233, 69, 96, 0.14);
    color: #fff;
    border-left-color: #e94560;
}
.headers .ht .navbar-nav .services-mega-menu .dropdown-item:hover .svc-abbr,
.headers .ht .navbar-nav .services-mega-menu .dropdown-item:focus .svc-abbr {
    color: rgba(255, 255, 255, 0.72);
}
.headers .ht .navbar-nav .services-mega-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
    margin-top: 16px;
    padding: 14px 8px 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.headers .ht .navbar-nav .services-mega-footer .dropdown-item {
    color: #e94560;
    font-weight: 600;
    font-size: 13.5px;
    padding: 8px 12px;
    border-left-color: transparent;
}
.headers .ht .navbar-nav .services-mega-footer .dropdown-item:hover,
.headers .ht .navbar-nav .services-mega-footer .dropdown-item:focus {
    color: #ff6b81;
    background: rgba(233, 69, 96, 0.1);
}

.headers .ht .navbar-nav .solution-mega-menu {
    --svc-panel-w: 280px;
    width: var(--svc-panel-w);
    max-width: min(280px, 92vw);
    padding: 16px 12px;
}
.headers .ht .navbar-nav .solution-nav-dropdown.is-mega-open::before {
    width: min(280px, 92vw);
}

.m_head_nav .m-nav-services-panel a {
    line-height: 1.45;
    padding-top: 8px;
    padding-bottom: 8px;
    white-space: normal;
}
.m_head_nav .m-nav-services-panel .m-nav-group {
    display: block;
    margin: 12px 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e94560;
}

.headers .ht .navbar-nav > .nav-item-coupon {
  position: relative;
  overflow: visible;
}
.headers .ht .navbar-nav > .nav-item-coupon > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 8px 12px 12px !important;
  border-radius: 999px;
  background: rgba(233, 69, 96, 0.22);
  color: #ffd6de !important;
  font-weight: 700;
  line-height: 1.2;
}
.headers .ht .navbar-nav > .nav-item-coupon > .nav-link::after {
  bottom: 4px;
}
.headers .ht .navbar-nav > .nav-item-coupon > .nav-link .bi {
  font-size: 15px;
  color: #ffb7c4;
}
.headers .ht .navbar-nav > .nav-item-coupon > .nav-link:hover,
.headers .ht .navbar-nav > .nav-item-coupon > .nav-link:focus {
  background: #e94560;
  color: #fff !important;
}
.headers .ht .navbar-nav > .nav-item-coupon > .nav-link:hover .bi,
.headers .ht .navbar-nav > .nav-item-coupon > .nav-link:focus .bi {
  color: #fff;
}
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon.is-current > .nav-link,
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon > .nav-link.active,
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon.is-current > .nav-link:hover,
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon.is-current > .nav-link:focus,
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon > .nav-link.active:hover,
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon > .nav-link.active:focus {
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
  color: #e94560 !important;
  font-weight: 700;
}
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon.is-current > .nav-link .bi,
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon > .nav-link.active .bi,
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon.is-current > .nav-link:hover .bi,
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon.is-current > .nav-link:focus .bi,
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon > .nav-link.active:hover .bi,
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon > .nav-link.active:focus .bi,
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon.is-current > .nav-link > span,
.headers .ht .navbar-nav.main-menu > .nav-item.nav-item-coupon > .nav-link.active > span {
  color: #e94560 !important;
}
.nav-coupon-tip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1300;
  width: max-content;
  max-width: min(280px, 70vw);
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  color: #1a1a2e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-coupon-tip::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 22px;
  border: 6px solid transparent;
  border-top: 0;
  border-bottom-color: #fff;
}
.nav-item-coupon:hover > .nav-coupon-tip,
.nav-item-coupon:focus-within > .nav-coupon-tip,
.ht-coupon:hover > .nav-coupon-tip,
.ht-coupon:focus-within > .nav-coupon-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.head_m_1 .ht-coupon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(233, 69, 96, 0.28);
  color: #ffd6de;
  font-size: 16px;
  text-decoration: none;
  flex: 0 0 auto;
}
.head_m_1 .ht-coupon:hover,
.head_m_1 .ht-coupon:focus {
  background: #e94560;
  color: #fff;
  text-decoration: none;
}
.head_m_1 .ht-coupon > .nav-coupon-tip {
  right: 0;
}

.headers .ht .header-account-slot {
    display: flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}
.header-account {
    position: relative;
    flex-shrink: 0;
}
.header-account__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}
.header-account__btn .bi-chevron-down {
    font-size: 12px;
    opacity: .75;
    transition: transform .18s ease;
}
.header-account.is-open .header-account__btn .bi-chevron-down {
    transform: rotate(180deg);
}
.header-account__name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-first-order,
.header-account__offer {
    display: inline-flex;
    align-items: center;
    margin: 0 10px 0 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e94560;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}
.header-account__offer {
    display: block;
    margin: 0 0 8px;
    text-align: center;
    white-space: normal;
}
.header-first-order--m {
    display: inline-flex;
    margin: 8px 0 0;
    max-width: none;
}
.header-account__btn--avatar {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
}
.header-account__avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e94560;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.header-account__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 232px;
    padding: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(26, 26, 46, .16);
    z-index: 1200;
}
.header-account__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #1a1a2e;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.header-account__item i {
    width: 1.2em;
    flex-shrink: 0;
    text-align: center;
    font-size: 16px;
    color: #e94560;
    font-family: bootstrap-icons !important;
}
.header-account__item:hover,
.header-account__item:focus {
    background: #fff1f3;
    color: #e94560;
    text-decoration: none;
}
.head_m_1 .header-account--m {
    display: inline-flex;
    align-items: center;
    height: 32px;
}
