/* =========================================================================
   NEW HEADER  (header-new.css)
   ========================================================================= */

/* ---------- Variables (scoped, not :root) ---------- */
.site-header,
.drawer,
.drawer-bg {
  --navy: #08141f;
  --navy-2: #0e1f2e;
  --navy-3: #152a3d;
  --red: #E41E25;
  --red-dark: #E41E25;
  --white: #fff;
  --muted: #a9b6c3;
  --line: rgba(255, 255, 255, .08);
  --ink: #14202b;
  --ink-muted: #5b6875;
  --paper: #fff;
  --paper-2: #f4f6f8;
  --wrap: 1260px;
}

/* ---------- Scoped base (replaces the old global reset) ---------- */
.site-header,
.site-header *,
.site-header *::before,
.site-header *::after {
  box-sizing: border-box;
}

.site-header .topbar a,
.site-header .nav a,
.site-header .logo {
  color: inherit;
  text-decoration: none;
}

.site-header .topbar ul,
.site-header .nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .burger {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-header .tb-link svg,
.site-header .tb-book svg,
.site-header .caret,
.site-header .dd-ico svg,
.site-header .dd-arrow,
.site-header .burger svg {
  display: block;
}

.site-header .wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 10px;
}

/* ---------- Sticky shell (beats the legacy .header / .header-sticky rules) ---------- */
.site-header.header,
.site-header.header.header-sticky {
  position: fixed;
  z-index: 100;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  /* overflow: visible; */
  transform: none;
  
}



/* book consultation */
.tb-book {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tb-book img {
  transition: none;
  filter: none;
}

#siteHeader.site-header .tb-book:hover {
  background-color: #FFFFFF!important;
  color: #E41E25!important;
}

.tb-book:hover img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(94%) saturate(4150%) hue-rotate(350deg) brightness(91%) contrast(105%);
}


/* Reserve the initial header space */
body:not(.page-template-default):not(.single-post):not(.single-product) .site-header-spacer {
  display: block;
  width: 100%;
  height: 130px;
  pointer-events: none;
}

body.page-template-default .site-header-spacer {
  display: block;
  width: 100%;
  height: 36px;
  pointer-events: none;
}

@media (max-width: 640px) {
  body:not(.page-template-default):not(.single-post):not(.single-product) .site-header-spacer {
    height: 114px;
  }
}

@media (min-width:641px) and (max-width: 1024px) {
  body.page-template-default .site-header-spacer {
    height: 54px;
  }
}

@media (max-width: 640px) {
  body.page-template-default .site-header-spacer {
    height: 36px;
  }
}


@media (max-width: 640px) {
  body:not(.page-template-default):not(.single-post):not(.single-product) .site-header-spacer {
    height: 114px;
  }
}



/* ---------- Announcement bar ---------- */
.site-header .topbar {
  background: var(--navy-2);
  color: var(--muted);
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
  max-height: 46px;
  overflow: hidden;
  transition: max-height .3s ease, opacity .25s ease;
}

.site-header.is-scrolled .topbar,
.site-header.header-sticky .topbar {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
  border-bottom-width: 0px;
}

.site-header .topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  gap: 16px;
}

.site-header .topbar-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header .topbar-msg .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
  box-shadow: 0 0 0 4px rgba(227, 30, 36, .18);
}

.site-header .topbar-msg strong {
  color: var(--white);
  font-weight: 500;
}

.site-header .topbar-links {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-header .tb-link {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 16px;
  color: #dfe6ec;
  font-weight: 500;
  transition: color .15s;
}

.site-header .tb-link:hover {
  color: var(--white);
}

.site-header .tb-link svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.site-header .tb-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, .15);
}

.site-header .tb-hire {
  color: var(--white);
}

.site-header .tb-book {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 18px;
  margin-left: 8px;
  background: var(--red);
  color: var(--white) !important;
  font-weight: 500;
  transition: background .15s;
}

.site-header .tb-book:hover {
  background: var(--red-dark);
}

.site-header .tb-book svg {
  width: 16px;
  height: 16px;
}

/* ---------- Main bar ---------- */
.site-header .mainbar {
  background: var(--navy);
  transition: box-shadow .25s;
}

.site-header.is-scrolled .mainbar,
.site-header.header-sticky .mainbar {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

/* Legacy wrapper chain, re-styled for the new layout */
.site-header .mainbar .mx-auto {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.site-header .mainbar .container {
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

.site-header .mainbar .header__wrp {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 32px;
  height: 84px;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  transition: height .25s;
}

.site-header.is-scrolled .mainbar .header__wrp,
.site-header.header-sticky .mainbar .header__wrp {
  height: 68px;
}

/* Logo */
.site-header .logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex: none;
}

.site-header .logo img {
  display: block;
  height: 37px;
  width: auto;
}

.drawer-head .logo img {
  display: block;
  height: 37px;
  width: auto;
}

.site-header .logo-word {
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -.5px;
  color: var(--red);
  font-style: italic;
}

.site-header .logo-sub {
  font-size: 8.5px;
  letter-spacing: 6.2px;
  color: var(--red);
  margin-top: 3px;
  padding-left: 2px;
  font-weight: 500;
}

/* Nav */
.site-header .nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.site-header .menu {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.site-header .menu>li {
  position: relative;
  margin: 0;
  padding: 0;
}

.site-header .menu>li>a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 6px;
  position: relative;
  transition: color .15s;
}

.site-header .menu>li>a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}

.site-header .menu>li:hover>a::after,
.site-header .menu>li:focus-within>a::after,
.site-header .menu>li>a.active::after {
  transform: scaleX(1);
}

.site-header .caret {
  width: 10px;
  height: 10px;
  opacity: .7;
  transition: transform .2s;
}

.site-header .menu>li:hover .caret,
.site-header .menu>li:focus-within .caret {
  transform: rotate(180deg);
}

/* Dropdown */
.site-header .dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 260px;
  background: var(--paper);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(8, 20, 31, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
  list-style: none;
  margin: 0;
  z-index: 5;
}

.site-header .dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.site-header .menu>li:hover>.dropdown,
.site-header .menu>li:focus-within>.dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.site-header .dropdown li {
  position: relative;
  margin: 0;
  padding: 0;
}

.site-header .dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  transition: background .15s, color .15s;
}

.site-header .dropdown a:hover,
.site-header .dropdown a:focus {
  background: var(--paper-2);
  color: var(--red);
  outline: none;
}

.site-header .dd-ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fdecec;
  color: var(--red);
  display: grid;
  place-items: center;
  flex: none;
}

.site-header .dd-ico svg {
  width: 18px;
  height: 18px;
}

.site-header .dd-text small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 400;
  margin-top: 2px;
}

.site-header .dd-arrow {
  margin-left: auto;
  width: 12px;
  height: 12px;
  color: var(--ink-muted);
}

.site-header .dd-all {
  border-top: 1px solid #e8ecf0;
  margin-top: 6px;
  padding-top: 6px;
}

.site-header .dd-all a {
  color: var(--red);
  justify-content: space-between;
}

/* Sub-dropdown (flyout) */
.site-header .sub {
  position: absolute;
  left: calc(100% + 8px);
  top: -8px;
  min-width: 230px;
  background: var(--paper);
  border-radius: 10px;
  padding: 8px;
  list-style: none;
  margin: 0;
  box-shadow: 0 18px 40px rgba(8, 20, 31, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: all .18s ease;
}

.site-header .sub::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 10px;
}

.site-header .dropdown li:hover>.sub,
.site-header .dropdown li:focus-within>.sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Mega dropdown (Our Range) */
.site-header .dropdown.mega {
  left: 50%;
  transform: translate(-50%, 6px);
  width: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 12px;
}

.site-header .menu>li:hover>.dropdown.mega,
.site-header .menu>li:focus-within>.dropdown.mega {
  transform: translate(-50%, 0);
}

.site-header .mega .dd-all {
  grid-column: 1 / -1;
}

/* ---------- Right side: cart + burger (legacy .header__contact, shrink-wrapped) ---------- */
.site-header .mainbar .header__contact {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Cart button = legacy .header__cartWrp restyled as the round new-design button */
.site-header .header__cartWrp {
  position: relative;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .14);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.site-header .header__cartWrp:hover {
  background: var(--navy-3);
  border-color: rgba(255, 255, 255, .3);
}

.site-header .header__cartWrp>img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Cart count badge (legacy .cart-count, id #mini_cart_count) */
.site-header .header__cartWrp .cart-count {
  position: absolute;
  top: 10px;
  right: 8px;
  left: auto;
  bottom: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin: 0;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
}

.site-header .burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  place-items: center;
  color: #fff;
}

.site-header .burger svg {
  width: 24px;
  height: 24px;
}


.site-header .cart-popup__close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
  line-height: 0;
}

.site-header .cart-popup__body {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.site-header .cart-popup__productWrap {
  overflow-y: auto;
}

.site-header .cart-popup__bottom {
  margin-top: 20px;
}

/* ---------- Mobile drawer (markup not added yet; CSS kept for later) ---------- */
.drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 31, .55);
  opacity: 0;
  visibility: hidden;
  transition: .25s;
  z-index: 200;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--navy);
  color: #fff;
  z-index: 201;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}

body.drawer-open .drawer {
  transform: none;
}

body.drawer-open .drawer-bg {
  opacity: 1;
  visibility: visible;
}

/* body.drawer-open {
  overflow: hidden;
} */


/* Mobile drawer */

html.drawer-open {
  overflow: hidden;
}

body.drawer-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

/* Allow scrolling inside the mobile drawer */
.drawer {
  overscroll-behavior: contain;
}

.drawer-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}




.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-body {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0;
}

.m-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.m-menu li {
  border-bottom: 1px solid var(--line);
}

.m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-row a {
  flex: 1;
  padding: 15px 20px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
}

.m-toggle {
  width: 52px;
  height: 50px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.m-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform .2s;
}

.m-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  background: var(--navy-2);
  transition: max-height .3s ease;
}

.m-sub a {
  display: block;
  padding: 12px 20px 12px 34px;
  color: #c9d3dc;
  font-size: 14.5px;
  text-decoration: none;
}

.m-sub .m-sub a {
  padding-left: 48px;
}

li.open>.m-row .m-toggle svg {
  transform: rotate(180deg);
}

li.open>.m-sub {
  max-height: 800px;
}

.drawer-foot {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.drawer-foot a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dfe6ec;
  font-size: 14.5px;
  text-decoration: none;
}

.drawer-foot svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.drawer-foot .btn {
  justify-content: center;
  background: var(--red);
  color: #fff;
  padding: 13px;
  border-radius: 6px;
  font-weight: 500;
  margin-top: 6px;
}

.drawer-foot .btn svg {
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-header .menu>li>a {
    padding: 10px 10px;
    font-size: 14.5px;
  }

  .site-header .menu>li>a::after {
    left: 10px;
    right: 10px;
  }

  .site-header .mainbar .header__wrp {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .site-header .nav {
    display: none;
  }

  .site-header .burger {
    display: grid;
  }

  .site-header .mainbar .header__contact {
    margin-left: auto !important;
  }

  .site-header .topbar-msg {
    display: none;
  }

  .site-header .topbar .wrap {
    justify-content: center;
  }

  /* calendar popup */
  .calendarPopup__innerWrap {
    top: 130px !important;
  }
}

@media (max-width: 640px) {

  .site-header .wrap,
  .site-header .mainbar .container {
    padding: 0 16px;
  }

  .site-header .tb-link span,
  .site-header .tb-book span {
    display: none;
  }

  .site-header .tb-link {
    padding: 0 14px;
  }

  .site-header .tb-link svg,
  .site-header .tb-book svg {
    width: 18px;
    height: 18px;
  }

  .site-header .topbar-links {
    width: 100%;
    justify-content: space-between;
  }

  .site-header .tb-book {
    margin-left: 0;
    padding: 0 16px;
  }

  .site-header .tb-hire span {
    display: inline;
    font-size: 13px;
  }

  .site-header .mainbar .header__wrp {
    height: 68px;
  }

  .site-header .logo-word {
    font-size: 26px;
  }

  .site-header.is-scrolled .mainbar .header__wrp,
  .site-header.header-sticky .mainbar .header__wrp {
    height: 60px;
  }

  .site-header .cart-popup__wrapper {
    padding: 24px 20px 20px;
  }



}



.calendarPopup__innerWrap {
    top: 140px !important;
}

#closeDrawer {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  outline: none;
  border: 0px;
}


/* banner */

@media(max-width:1024px){
.innerBanner__content{
  margin-top: 32px;
}
}



@media(max-width:600px){
.topbar-contact{
  display: flex;
  flex-direction: row;
  margin-left:-14px;
}
}

.topbar-contact{
  display: flex;
  
}




/* Mobile menu dropdown arrow */
@media(max-width:1024px){
 
 
.m-row svg.caret {
    display: none;
}

.m-row .dd-arrow{
        display: none;
    }
 
.dd-ico img{
    display: none;
}
}
