#root-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--neutral-000);
  z-index: 1500;
}
.cmp-header {
  display: flex;
  flex-direction: column;
  box-shadow: var(--box-shadow);
  /* --- top bar (hidden in mobile) --- */
  /* --- main content --- */
}
.cmp-header .icon {
  font-size: 1rem;
}
.cmp-header__top-bar-background {
  background-color: var(--base-500);
}
.cmp-header__top-bar {
  display: none;
}
@media (min-width: 1200px) {
  .cmp-header__top-bar {
    background-color: var(--base-500);
    display: flex;
    justify-content: space-between;
    height: 2rem;
    align-items: center;
  }
}
.cmp-header__top-bar .country-indicator {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.cmp-header__main-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.cmp-header__main-content .header-actions {
  padding-top: .875rem;
  /* right side hidden by default */
  /* mobile layout */
}
.cmp-header__main-content .header-actions__right-side {
  display: none;
}
.cmp-header__main-content .header-actions__left-side {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas: "menu logo cart" "search search search";
  column-gap: .75rem;
  row-gap: .5rem;
  align-items: center;
}
.cmp-header__main-content .header-actions__left-side .menu-toggle {
  grid-area: menu;
  justify-self: start;
}
.cmp-header__main-content .header-actions__left-side .menu-toggle .icon {
  font-size: 2.25rem;
  color: var(--base-500);
}
.cmp-header__main-content .header-actions__left-side .menu-toggle__icon--menu {
  display: inline-block;
}
.cmp-header__main-content .header-actions__left-side .menu-toggle__icon--close {
  display: none;
}
.cmp-header__main-content .header-actions__left-side .logo picture {
  grid-area: logo;
  justify-self: center;
  width: 12.5rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cmp-header__main-content .header-actions__left-side .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cmp-header__main-content .header-actions__left-side .cartButton {
  grid-area: cart;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .5rem;
  position: relative;
}
.cmp-header__main-content .header-actions__left-side .cartButton__number {
  position: absolute;
  top: -0.25rem;
  right: -0.375rem;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.125rem;
  background-color: var(--primary-500);
  color: var(--neutral-000);
  font-size: 0.9375rem;
  padding-top: 0.25rem;
  font-weight: bold;
  text-align: center;
  border-radius: 50%;
}
.cmp-header__main-content .header-actions__left-side .cmp-header__search {
  grid-area: search;
  width: 100%;
  margin: .5rem 0 0 0;
  padding-bottom: .75rem;
}
.cmp-header__mobile-footer {
  display: none;
}
@media (min-width: 1200px) {
  .cmp-header__main-content .header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.0625rem;
    padding-bottom: 1.0625rem;
  }
  .cmp-header__main-content .header-actions__left-side {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  .cmp-header__main-content .header-actions__left-side .menu-toggle {
    display: none;
  }
  .cmp-header__main-content .header-actions__left-side .cartButton {
    display: none;
  }
  .cmp-header__main-content .header-actions__right-side {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .cmp-header__main-content .header-actions__right-side .cart-content {
    position: relative;
  }
  .cmp-header__main-content .header-actions__right-side .cart-content .cartButton__number {
    position: absolute;
    top: -0.25rem;
    right: -0.375rem;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.125rem;
    background-color: var(--primary-500);
    color: var(--neutral-000);
    font-size: 0.9375rem;
    padding-top: 0.25rem;
    font-weight: bold;
    text-align: center;
    border-radius: 50%;
  }
  .cmp-header__main-content .header-actions .cmp-header__search {
    margin-top: 0;
    padding-bottom: 0;
    min-width: 412px;
  }
  /* safety cleanup */
  .cmp-header__mobile-footer {
    display: none !important;
  }
}
/* OVERLAY (mobile open) */
body.is-root-sheet {
  overflow: hidden;
}
body.is-root-sheet #root-sheet-overlay {
  display: block;
}
body.is-root-sheet .cmp-header {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--neutral-000);
  display: flex;
  flex-direction: column;
  /* root list becomes vertical */
  /* right-side buttons become visible */
  /* --- footer zone placed at bottom of overlay --- */
}
body.is-root-sheet .cmp-header__search {
  position: relative;
}
body.is-root-sheet .cmp-header__search:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  background: var(--base-100);
  transform: translateX(-50%);
}
body.is-root-sheet .cmp-header__main-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
body.is-root-sheet .cmp-header .header-actions {
  flex: 0 0 auto;
}
body.is-root-sheet .cmp-header .cmp-navigation__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
body.is-root-sheet .cmp-header .header-actions__right-side {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
body.is-root-sheet .cmp-header__mobile-footer {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  /* when top-bar is moved here */
  /* action buttons stacked */
}
body.is-root-sheet .cmp-header__mobile-footer .cmp-header__top-bar {
  display: flex;
  width: 100%;
  background-color: var(--base-500);
  color: var(--neutral-000);
  justify-content: space-between;
  gap: .5rem;
  padding: 1rem;
}
body.is-root-sheet .cmp-header__mobile-footer .cmp-header__top-bar .country-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.is-root-sheet .cmp-header__mobile-footer .header-actions__right-side {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1rem;
}
body.is-root-sheet .cmp-header__mobile-footer .header-actions__right-side .cmp-button {
  width: 100%;
  justify-content: center;
}
/* ================================
   INTERACTION STATES
   ================================ */
.cmp-header.is-nav-open .menu-toggle .menu-toggle__icon--menu {
  display: none;
}
.cmp-header.is-nav-open .menu-toggle .menu-toggle__icon--close {
  display: inline-block;
}

.other-services-wrapper {
  position: relative;
}
.other-services-wrapper.is-open .other-services__sheet {
  display: block;
}
.other-services-wrapper .other-services {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.other-services-wrapper .other-services__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.other-services-wrapper .other-services__sheet {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: none;
  font-family: inherit;
}
.other-services-wrapper .other-services__backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay-color);
}
.other-services-wrapper .other-services__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 100%;
  background: var(--neutral-000);
  padding: 1rem 1.5rem;
  box-sizing: border-box;
}
@media (min-width: 1200px) {
  .other-services-wrapper .other-services__panel {
    max-width: 30rem;
    height: 100vh;
    padding: 3rem 2.5rem;
    box-shadow: var(--box-shadow);
    border-left: 1px solid var(--base-100);
    margin-left: auto;
  }
}
.other-services-wrapper .other-services__header {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.other-services-wrapper .other-services__back {
  justify-content: flex-start;
}
.other-services-wrapper .other-services__back .icon-chevron-left {
  font-size: 1.5rem;
}
.other-services-wrapper .other-services__content {
  overflow: auto;
  padding-top: .5rem;
  height: 100%;
}
body.is-other-services-sheet-open {
  overflow: hidden;
}

.cmp-register-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-color);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.cmp-register-modal.is-open {
  display: flex;
}
.cmp-register-modal__content {
  display: flex;
  flex-direction: column;
  background-color: var(--neutral-000);
  width: 100%;
  height: 100%;
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .cmp-register-modal__content {
    height: auto;
    gap: 1rem;
    max-width: 37.5rem;
    border-radius: var(--tag-radio);
    box-shadow: var(--box-shadow);
  }
}
.cmp-register-modal__close {
  font-size: 1.5rem;
  color: var(--base-500);
  align-self: flex-end;
}
.cmp-register-modal__body {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  flex: 1;
  justify-content: center;
}
.cmp-register-modal__body .body__header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}
.cmp-register-modal__body .body__buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
}
