/* ==========================================================================
   Host4India — Site Header Stylesheet (Desktop)
   Scoped to #h4i-site-header
   ========================================================================== */

#h4i-site-header {
  --font-primary: "Plus Jakarta Sans", sans-serif;
  --font-secondary: "Inter", sans-serif;
  --body-bg: #ffffff;
  --color-white: #ffffff;
  --color-primary: #0774FF;
  --color-secondary: #000000;
  --color-third: #2C73FE;
  --btc: #000000;
  --header-top-gradient: linear-gradient(90deg, rgba(255, 255, 255, 0.10) 8.51%, rgba(255, 255, 255, 0.10) 77.02%);
  --border-color: #E9EDFF;
  --transition: all .4s ease;
  font-family: var(--font-secondary);
  position: relative;
  z-index: 999;
  width: 100%;
}

/* Layout overrides for Bootstrap 2 compatibility */
#h4i-site-header .container {
  width: auto;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

#h4i-site-header .row {
  display: block;
  margin: 0;
}

#h4i-site-header .mx-0 {
  margin-left: 0;
  margin-right: 0;
}

#h4i-site-header .px-0 {
  padding-left: 0;
  padding-right: 0;
}

#h4i-site-header .list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Top Bar Area */
#h4i-site-header .rts-ht {
  transition: all 0.3s ease;
}

#h4i-site-header .rts-ht.rts-ht__bg {
  background: #0066FF;
  backdrop-filter: blur(50px);
}

#h4i-site-header .rts-ht__wrapper {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  align-items: center;
  color: #ffffff;
  font-size: 14px;
  font-family: var(--font-secondary);
  line-height: 1;
}

#h4i-site-header .rts-ht__email {
  display: flex;
  align-items: center;
  gap: 12px;
}

#h4i-site-header .rts-ht__email a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-family: var(--font-secondary);
  line-height: 1;
}

#h4i-site-header .rts-ht__email a:hover {
  color: #ffffff;
  text-decoration: underline;
}

#h4i-site-header .rts-ht__email img.icon {
  margin-right: 6px;
  height: 14px;
  width: auto;
  vertical-align: middle;
}

#h4i-site-header .rts-ht__email .ht-phone i {
  margin-right: 6px;
}

#h4i-site-header .rts-ht__email .divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

#h4i-site-header .social__media--list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#h4i-site-header .social__media--list li {
  margin: 0;
  padding: 0;
}

#h4i-site-header .social__media--list .media {
  height: 30px;
  width: 30px;
  border-radius: 4px;
  border: 1px solid rgba(212, 220, 255, 0.5);
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  background: transparent;
  transition: all 0.3s ease-in;
  font-size: 13px !important;
  color: #ffffff;
  text-decoration: none;
}

#h4i-site-header .social__media--list .media:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0774FF;
}

/* Main Header Area */
#h4i-site-header .rts-header {
  position: relative;
  width: 100%;
  background: #033AA7;
  transition: all 0.3s ease;
}

#h4i-site-header .rts-header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

#h4i-site-header .rts-header__logo .site-logo {
  display: block;
}

#h4i-site-header .rts-header__logo .site-logo img {
  max-height: 44px;
  width: auto;
  display: block;
}

#h4i-site-header .rts-header__logo .site-logo .logo-white {
  display: block;
}

#h4i-site-header .rts-header__logo .site-logo .logo-dark {
  display: none;
}

/* Navigation Menu */
#h4i-site-header .rts-header__menu {
  display: block;
}

#h4i-site-header .hostie-menu .hostie-desktop-menu {
  display: flex;
  justify-content: center;
  flex-direction: row;
  list-style: none;
  padding: 0;
  margin: 0;
}

#h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  line-height: 26px;
  text-transform: capitalize;
  padding: 0 18px;
  position: relative;
  cursor: pointer;
}

@media (max-width: 1200px) {
  #h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item {
    padding: 0 12px;
  }
}

#h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item .hostie-dropdown-main-element {
  padding: 26px 0;
  position: relative;
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-secondary);
}

#h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item .hostie-dropdown-main-element::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 20px;
  background: #ffffff;
  transition: all 0.3s ease-in-out;
}

#h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item:hover .hostie-dropdown-main-element::after,
#h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item.active .hostie-dropdown-main-element::after {
  width: 100%;
}

#h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-has-dropdown .hostie-dropdown-main-element::before {
  content: "\f078";
  position: absolute;
  color: #ffffff;
  right: -16px;
  top: 50%;
  font-size: 10px;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif;
  font-weight: 900;
}

@media (max-width: 1200px) {
  #h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-has-dropdown .hostie-dropdown-main-element::before {
    right: -12px;
  }
}

#h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-has-dropdown:hover .hostie-submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Submenu Dropdown */
#h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-submenu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  width: 240px;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease-in-out;
  padding: 10px 0;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-radius: 8px;
  list-style: none;
  margin: 0;
}

#h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-submenu .nav-item {
  margin: 0;
  padding: 0;
  position: relative;
  list-style: none;
}

#h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-submenu .nav-item a.nav-link {
  display: block;
  text-transform: capitalize;
  color: #17191c;
  text-decoration: none;
  padding: 9px 20px;
  transition: all 0.25s ease-in-out;
  position: relative;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  font-family: var(--font-secondary);
}

#h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-submenu .nav-item a.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  background: #0774FF;
  transition: all 0.25s ease-in-out;
}

#h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-submenu .nav-item:hover a.nav-link {
  padding-left: 32px;
  color: #0774FF;
  background: rgba(7, 116, 255, 0.05);
}

#h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-submenu .nav-item:hover a.nav-link::after {
  width: 8px;
}

/* Header Right */
#h4i-site-header .rts-header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: right;
}

#h4i-site-header .rts-header__right .login__btn {
  border: 1px solid #ffffff;
  padding: 9px 28px;
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-secondary);
  transition: all 0.3s ease;
  display: inline-block;
  line-height: 20px;
}

#h4i-site-header .rts-header__right .login__btn:hover {
  background: #ffffff;
  color: #033AA7;
  border-color: #ffffff;
}

/* Hide Hamburger Menu Button on Desktop */
#h4i-site-header .menu-btn,
#h4i-site-header .mobile__active {
  display: none !important;
}

/* Hide HostBill's default header components on cart/order pages */
body.h4i-cart-page #headpart,
body.h4i-cart-page #mainmenu-container,
body.h4i-cart-page #submenu {
  display: none;
}

#headpart h1 {
  display: none;
}

/* ===== Fix 1: same blue gradient as host4india.com (one continuous header) ===== */
#h4i-site-header {
  background: linear-gradient(180deg, #308BFF 0%, #1262FF 100%);
}
#h4i-site-header .rts-ht.rts-ht__bg,
#h4i-site-header .rts-header {
  background: transparent;
}

/* ===== Fix 2: space between header and page content ===== */
body.h4i-cart-page #wrapper {
  padding-top: 48px;
}

/* ===== Fix 3: exact values from host4india.com style.css ===== */
#h4i-site-header .rts-ht.rts-ht__bg {
  background: linear-gradient(90deg, rgba(255,255,255,0.10) 8.51%, rgba(255,255,255,0.10) 77.02%);
  backdrop-filter: blur(50px);
}
#h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item {
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  padding: 0 30px;
}
#h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item .hostie-dropdown-main-element {
  padding: 28px 0;
}
@media (max-width: 1200px) {
  #h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item { padding: 0 15px; }
}

/* ===== Part 2: mobile ===== */

/* Header Mobile Styles */
@media (max-width: 1199.98px) {
  #h4i-site-header .rts-header {
    position: relative;
  }

  #h4i-site-header .rts-header__menu {
    display: none;
  }

  #h4i-site-header .menu-btn,
  #h4i-site-header .mobile__active {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    background: transparent;
    color: #ffffff;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    cursor: pointer;
  }

  #h4i-site-header .rts-header__right {
    display: flex;
    align-items: center;
  }

  #h4i-site-header.h4i-open .rts-header__menu {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #1262FF;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 8px 0;
  }

  #h4i-site-header.h4i-open .hostie-menu .hostie-desktop-menu,
  #h4i-site-header .hostie-menu .hostie-desktop-menu {
    display: block;
  }

  #h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item {
    display: block;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  #h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item .hostie-dropdown-main-element {
    padding: 14px 0;
    color: #ffffff;
  }

  #h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item .hostie-dropdown-main-element::after {
    display: none;
  }

  #h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-has-dropdown:hover .hostie-submenu {
    display: none;
  }

  #h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-submenu {
    position: static;
    display: none;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 8px 12px;
    min-width: 0;
    width: auto;
    border-radius: 0;
  }

  #h4i-site-header .hostie-menu .hostie-desktop-menu .menu-item.h4i-sub-open > .hostie-submenu {
    display: block !important;
  }

  #h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-submenu .nav-item a.nav-link {
    color: #ffffff;
    font-size: 14px;
    padding: 8px 0;
  }

  #h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-submenu .nav-item a.nav-link::after {
    display: none;
  }

  #h4i-site-header .hostie-menu .hostie-desktop-menu .hostie-submenu .nav-item:hover a.nav-link {
    background: transparent;
    color: #ffffff;
    padding-left: 0;
  }
}

@media (max-width: 767.98px) {
  #h4i-site-header .rts-ht__social {
    display: none;
  }

  #h4i-site-header .rts-ht__wrapper {
    flex-wrap: wrap;
  }

  #h4i-site-header .rts-ht__email {
    flex-wrap: wrap;
    font-size: 12px;
    gap: 8px;
  }

  #h4i-site-header .rts-ht__email a {
    font-size: 12px;
  }

  #h4i-site-header .rts-ht__email .divider {
    display: none;
  }

  #h4i-site-header .rts-header__logo .site-logo img {
    max-height: 28px;
  }

  #h4i-site-header .rts-header__right .login__btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  #h4i-site-header .rts-header__wrapper {
    min-height: 64px;
  }
}

/* HostBill layout fluid on small screens */
@media (max-width: 979.98px) {
  #wrapper .container { width: auto; max-width: 100%; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
  #wrapper .row, #wrapper .row-fluid { margin-left: 0; }
  #wrapper [class*="span"] { float: none; display: block; width: auto; margin-left: 0; }
  #cont, #cont.left { float: none !important; width: auto !important; }
  #sidemenu { float: none !important; width: auto !important; height: auto !important; margin: 24px 0 0; }
  #sidemenu #floater { position: static !important; width: auto !important; }
  #wrapper table { max-width: 100%; }
  #wrapper .wbox_content, #cont { overflow-x: auto; }
  img { max-width: 100%; height: auto; }
  #headpart .right { float: none; text-align: right; }
  #mainmenu-container { overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 767.98px) {
  body.h4i-cart-page #wrapper { padding-top: 24px; }
  #order-minimal.container-narrow { padding-left: 16px; padding-right: 16px; margin-top: 16px; }
}

/* ===== Part 3: footer ===== */

/* Base & Tokens */
#h4i-site-footer {
  --font-primary: "Plus Jakarta Sans", sans-serif;
  --font-secondary: "Inter", sans-serif;
  --color-primary: #0774FF;
  --color-secondary: #000000;
  --color-third: #2C73FE;
  --color-white: #ffffff;
  --btc: #4C5671;
  --border-color: #E9EDFF;
  --semibold: 600;
  --regular: 400;
  --size-default: 16px;
  --size-small: 14px;
  --size-h5: 20px;
  --lh-default: 26px;
  --transition: all .4s ease;

  width: 100%;
  clear: both;
  margin-top: 48px;
  font-family: var(--font-secondary);
  font-size: var(--size-default);
  line-height: var(--lh-default);
  color: var(--btc);
  font-weight: var(--regular);
  background: transparent;
}

#h4i-site-footer * {
  box-sizing: border-box;
}

/* Grid & Utilities */
#h4i-site-footer .container { width: auto; max-width: 1350px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
#h4i-site-footer .row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
#h4i-site-footer [class*="col-"] { box-sizing: border-box; padding: 0 12px; width: 100%; }

@media (min-width: 768px) {
  #h4i-site-footer .col-md-6 { width: 50%; }
  #h4i-site-footer .col-md-12 { width: 100%; }
}

@media (min-width: 992px) {
  #h4i-site-footer .col-lg-3 { width: 25%; }
  #h4i-site-footer .col-lg-9 { width: 75%; }
}

@media (max-width: 767.98px) {
  #h4i-site-footer .col-6,
  #h4i-site-footer .mobile-col-6 { width: 50%; }
  #h4i-site-footer .mobile-col-12 { width: 100%; }
}

@media (max-width: 479.98px) {
  #h4i-site-footer .col-6,
  #h4i-site-footer .mobile-col-6 { width: 100%; }
}

#h4i-site-footer .mb-4 { margin-bottom: 24px; }
@media (min-width: 992px) {
  #h4i-site-footer .mb-lg-0 { margin-bottom: 0; }
}

#h4i-site-footer .rts-footer__copyright-two .row { margin: 0; }
#h4i-site-footer h5,
#h4i-site-footer p,
#h4i-site-footer ul { margin-top: 0; }
#h4i-site-footer a { text-decoration: none; outline: none; }

/* Utilities from style.css */
#h4i-site-footer .w-230 {
  max-width: 230px;
}

#h4i-site-footer .transparent {
  background: transparent !important;
}

#h4i-site-footer .separator {
  margin: 25px 0;
}

#h4i-site-footer .site-default-border {
  border-top: 1px solid var(--border-color);
}

/* Footer Section */
#h4i-site-footer .rts-footer {
  padding-top: 80px;
  padding-bottom: 60px;
  background: transparent;
}

#h4i-site-footer .rts-footer.footer-style-default {
  padding-top: 80px;
  padding-bottom: 60px;
}

@media (max-width: 992px) {
  #h4i-site-footer .rts-footer.footer-style-default {
    padding-top: 40px !important;
    padding-bottom: 30px !important;
  }
}

/* Footer Widget */
#h4i-site-footer .rts-footer__widget {
  font-family: var(--font-secondary);
}

#h4i-site-footer .rts-footer__widget a.footer__logo {
  display: inline-block;
}

#h4i-site-footer .rts-footer__widget a.footer__logo img {
  max-width: 140px;
  height: auto;
  display: block;
}

#h4i-site-footer .rts-footer__widget h5.widget-title {
  color: var(--color-secondary);
  font-weight: var(--semibold);
  font-family: var(--font-secondary);
  font-size: var(--size-h5);
  line-height: 1.4;
  display: inline-block;
  text-transform: capitalize;
  margin-bottom: 30px;
}

/* Contact Method */
#h4i-site-footer .rts-footer__widget .contact-method {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#h4i-site-footer .rts-footer__widget .contact-method a {
  display: flex;
  align-items: center;
  color: var(--btc);
  text-decoration: none;
  font-size: var(--size-small);
  transition: var(--transition);
}

#h4i-site-footer .rts-footer__widget .contact-method a:hover {
  color: var(--color-primary);
}

#h4i-site-footer .rts-footer__widget .contact-method a span {
  height: 34px;
  width: 34px;
  border-radius: 3px;
  background: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Menu Links */
#h4i-site-footer .rts-footer__widget--menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#h4i-site-footer .rts-footer__widget--menu ul li:not(:last-child) {
  margin-bottom: 12px;
}

#h4i-site-footer .rts-footer__widget--menu ul li a {
  display: block;
  color: var(--btc);
  font-size: var(--size-small);
  transition: var(--transition);
  text-transform: capitalize;
  text-decoration: none;
}

#h4i-site-footer .rts-footer__widget--menu ul li a:hover {
  color: var(--color-primary);
}

/* Stack widgets vertically when two widgets are in the same column */
#h4i-site-footer .rts-footer__widget--column .rts-footer__widget + .rts-footer__widget {
  margin-top: 28px;
}

/* Copyright & Payment Area */
#h4i-site-footer .rts-footer__copyright-two {
  border-top: 1px solid #EAEAEA;
  background: transparent;
}

#h4i-site-footer .rts-footer__copyright-two__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  line-height: 100%;
}

#h4i-site-footer .rts-footer__copyright-two__wrapper p,
#h4i-site-footer .rts-footer__copyright-two .copyright {
  margin-bottom: 0;
  font-size: var(--size-small);
  color: var(--btc);
}

#h4i-site-footer .payment__method ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  gap: 5px;
  align-items: center;
}

#h4i-site-footer .payment__method ul li {
  padding: 0;
  margin: 0;
  display: inline-flex;
}

#h4i-site-footer .payment__method ul li img {
  height: 30px;
  width: 50px;
  object-fit: cover;
  overflow: hidden;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #h4i-site-footer .rts-footer__copyright-two__wrapper {
    display: block;
    text-align: center;
  }

  #h4i-site-footer .rts-footer__copyright-two__wrapper p,
  #h4i-site-footer .rts-footer__copyright-two .copyright {
    margin-bottom: 20px;
  }

  #h4i-site-footer .payment__method ul {
    justify-content: center;
  }
}

/* Hide HostBill's old footer */
#wrapper footer {
  display: none;
}






/* Part 3 fix: match live sizes */
#h4i-site-footer .rts-footer__widget--menu ul li a,
#h4i-site-footer .rts-footer__widget .contact-method a,
#h4i-site-footer .rts-footer__copyright-two .copyright { font-size: 16px; }
#h4i-site-footer .rts-footer__widget a.footer__logo img { max-width: 210px; }
/* Part 3 fix: copyright left, payment icons right (like live site) */
#h4i-site-footer .rts-footer__copyright-two__wrapper { width: 100%; }
@media (min-width: 769px) {
  #h4i-site-footer .rts-footer__copyright-two__wrapper .payment__method { margin-left: auto; }
}
/* ===== Cart summary: sticky inside the content range (replaces HostBill's jumpy script) ===== */
@media (min-width: 980px) {
  #contener:has(> #sidemenu) { display: flex; align-items: stretch; gap: 32px; }
  #contener:has(> #sidemenu) > #cont { flex: 1 1 auto; min-width: 0; float: none; }
  #contener:has(> #sidemenu) > .clear { display: none; }
  #contener > #sidemenu {
    order: 2; flex: 0 0 450px; float: none; padding: 140px 0 0 0;
    height: auto !important; display: flex; flex-direction: column;
  }
  #contener > #sidemenu > div { flex: 1 1 auto; position: relative; }
  #contener > #sidemenu #floater {
    position: sticky !important; top: 24px !important; width: 100%;
  }
}