:root {
  --gt-ink: #171717;
  --gt-paper: #fff;
  --gt-muted: #f4f2ef;
}

app-provider,
main-header,
main-product {
  display: block;
}

.gt-brand-wordmark {
  align-items: center;
  color: var(--gt-ink) !important;
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-weight: 500;
  height: 100%;
  justify-content: center;
  letter-spacing: .32em;
  line-height: 1;
  min-width: 7.5rem;
  text-decoration: none !important;
  white-space: nowrap;
}

.gt-brand-wordmark--light {
  color: #fff !important;
  justify-content: flex-start;
}

dialog[open] {
  display: block;
}

[data-gt-menu-open="true"] {
  display: block !important;
  visibility: visible !important;
}

[menu][data-gt-menu-open="true"] {
  background: #fff !important;
  box-shadow: 0 .75rem 1.75rem rgba(0, 0, 0, .16) !important;
  isolation: isolate;
  opacity: 1 !important;
}

[data-gt-menu-open="false"] {
  visibility: hidden !important;
}

html.gt-drawer-active,
html.gt-drawer-active body {
  overflow: hidden;
}

modal-dialog {
  background: #fff;
  bottom: 0;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .42), 0 0 2rem rgba(0, 0, 0, .2);
  display: none !important;
  height: 100dvh;
  left: 0;
  max-width: min(100vw, 32rem);
  overflow: auto;
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 9999 !important;
}

modal-dialog[data-gt-open="true"] {
  display: grid !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

@media (max-width: 767px) {
  modal-dialog[data-gt-open="true"] {
    align-content: stretch !important;
    grid-template-rows: 5.5rem minmax(0, 1fr) !important;
  }

  modal-dialog[data-gt-open="true"] > [slot="header"] {
    align-items: center;
    display: flex !important;
    height: 5.5rem !important;
    margin: 0 !important;
    min-height: 5.5rem !important;
    padding: 0 1rem !important;
  }

  modal-dialog[data-gt-open="true"] > #menu-drawer {
    content-visibility: visible !important;
    grid-template-rows: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding-top: 1rem;
  }

  modal-dialog[data-gt-open="true"] > #menu-drawer * {
    content-visibility: visible !important;
  }

  modal-dialog[child="true"][data-gt-open="true"] {
    display: grid !important;
    grid-template-rows: 4.5rem minmax(0, 1fr) !important;
    overflow: hidden !important;
  }

  modal-dialog[child="true"][data-gt-open="true"] > [slot="header"] {
    height: 4.5rem !important;
    min-height: 4.5rem !important;
  }

  modal-dialog[child="true"][data-gt-open="true"] > :not([slot="header"]) {
    content-visibility: visible !important;
    min-height: 0;
    overflow-y: auto;
  }
}

modal-dialog[child="true"] {
  box-shadow: none;
  z-index: 10001 !important;
}

.gt-drawer-close {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--gt-ink);
  cursor: pointer;
  display: inline-flex;
  font: 300 2rem/1 Arial, Helvetica, sans-serif;
  height: 2.75rem;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: .75rem;
  top: .45rem;
  width: 2.75rem;
  z-index: 3;
}

accordion-item {
  display: block;
}

accordion-item > [role="region"][aria-hidden="true"] {
  display: none !important;
  visibility: hidden !important;
}

accordion-item > [role="region"][aria-hidden="false"] {
  display: grid !important;
  grid-template-rows: 1fr !important;
  visibility: visible !important;
}

swiper-container[data-gt-carousel] {
  display: block !important;
  position: relative;
}

@media (min-width: 768px) {
  swiper-with-timer-dots,
  swiper-container[data-gt-carousel="hero"],
  swiper-container[data-gt-carousel="hero"] > swiper-slide[data-gt-active="true"] {
    height: 100% !important;
  }
}

swiper-container[data-gt-carousel] > swiper-slide {
  display: none !important;
}

swiper-container[data-gt-carousel] > swiper-slide[data-gt-active="true"] {
  display: flex !important;
}

swiper-container[data-gt-carousel="gallery"] > swiper-slide[data-gt-active="true"] {
  display: block !important;
}

.gt-carousel-pagination {
  align-items: center;
  bottom: 1rem;
  display: flex;
  gap: .5rem;
  justify-content: center;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 30;
}

.gt-carousel-pagination button {
  background: rgba(255, 255, 255, .6);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: .35rem;
  padding: 0;
  transition: width .25s ease, background-color .25s ease;
  width: 1.4rem;
}

.gt-carousel-pagination button[aria-current="true"] {
  background: #fff;
  width: 2.8rem;
}

.gt-media-video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 1;
  position: absolute;
  width: 100%;
  z-index: 5;
}

video-player.gt-video-ready [data-poster] {
  opacity: 0 !important;
  pointer-events: none !important;
}

.gt-system-page {
  box-sizing: border-box;
  margin: 12vh auto;
  max-width: 48rem;
  padding: 2rem;
  text-align: center;
}

.gt-system-page h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  margin: 3rem 0 1rem;
}
