:root {
  --etek-blue: #0c4da2;
  --etek-blue-dark: #00559d;
  --etek-text: #101820;
  --etek-muted: #607080;
  --etek-border: #e6eaf0;
  --etek-red: #ff3155;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--etek-text);
  font-family: "Be Vietnam Pro", Arial, Helvetica, sans-serif;
}

body.home .site-main {
  min-height: 100vh;
}

button {
  font: inherit;
}

.etek-home {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

.etek-screen {
  display: none;
  min-height: 100vh;
}

.etek-screen.is-active {
  display: block;
}

.etek-screen--hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  min-height: 640px;
  padding: 0;
  background:
    linear-gradient(rgba(244, 249, 252, 0.67), rgba(244, 249, 252, 0.67)),
    var(--etek-hero-bg) center / cover no-repeat;
}

.etek-screen--hero::after {
  position: absolute;
  inset: auto auto 0 -2%;
  z-index: -1;
  width: min(42vw, 660px);
  height: min(35vw, 460px);
  content: "";
  background:
    radial-gradient(circle at 18% 26%, rgba(40, 176, 214, 0.42) 0 4px, transparent 5px),
    radial-gradient(circle at 37% 48%, rgba(40, 176, 214, 0.32) 0 5px, transparent 6px),
    radial-gradient(circle at 56% 69%, rgba(40, 176, 214, 0.28) 0 4px, transparent 5px),
    repeating-linear-gradient(34deg, transparent 0 43px, rgba(40, 176, 214, 0.14) 44px 45px, transparent 46px 86px),
    repeating-linear-gradient(146deg, transparent 0 50px, rgba(40, 176, 214, 0.12) 51px 52px, transparent 53px 102px);
  opacity: 0.72;
  pointer-events: none;
}

.etek-plus {
  position: absolute;
  color: #ffffff;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.etek-plus--one {
  top: -18px;
  left: 42%;
}

.etek-plus--two {
  top: 18.5%;
  left: 52.2%;
}

.etek-hero__brand {
  position: absolute;
  top: 59px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.etek-logo {
  color: var(--etek-blue-dark);
  font-size: 92px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.9;
}

.etek-logo-image {
  display: block;
  width: 300px;
  height: auto;
  margin: 0 auto;
}

.etek-tagline {
  color: var(--etek-blue-dark);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

.etek-screen--hero h1 {
  position: absolute;
  top: 25.6%;
  left: 5%;
  width: 90%;
  margin: 0;
  color: var(--etek-blue-dark);
  font-size: 66px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: center;
}

.etek-main-categories {
  position: absolute;
  top: 48.2%;
  left: 6%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 106px;
  width: 88%;
}

.etek-main-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 105px;
  border: 0;
  border-radius: 14px;
  background: var(--etek-blue);
  color: #ffffff;
  cursor: pointer;
  gap: 26px;
  padding: 18px 29px;
  box-shadow: 0 12px 24px rgba(0, 84, 157, 0.18);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
  transition: box-shadow 180ms ease;
}

.etek-main-card:hover {
  box-shadow: 0 18px 30px rgba(0, 84, 157, 0.24);
}

.etek-main-card__icon {
  flex: 0 0 72px;
  height: 72px;
}

.etek-main-card img,
.etek-category-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.etek-main-card img {
  filter: brightness(0) invert(1);
}

.etek-hero__footer {
    position: absolute;
    bottom: 103px;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 86px;
    width: 100%;
    justify-content: center;
}

.etek-contact {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  gap: 14px;
  text-decoration: none;
}

.etek-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--etek-blue);
    border-radius: 6px;
    color: var(--etek-blue);
    font-size: 27px;
    line-height: 1;
    transition: border-color 160ms ease, color 160ms ease;
}

.etek-contact:hover .etek-contact__icon {
  border-color: var(--etek-blue-dark);
  color: var(--etek-blue-dark);
}

.etek-contact__content {
  min-width: 0;
}

.etek-contact__content strong,
.etek-contact__content span {
  display: block;
}

.etek-contact__content strong {
  color: var(--etek-blue);
  font-size: 17px;
  line-height: 1.25;
}

.etek-contact__content span {
  color: #111111;
  font-size: 19px;
  line-height: 1.3;
  white-space: nowrap;
}

.etek-contact:focus-visible {
  outline: 3px solid rgba(0, 108, 200, 0.42);
  outline-offset: 6px;
}

.etek-screen--products {
  height: 100vh;
  overflow: hidden;
  border: 2px solid #d4d8db;
  background: #ffffff;
  padding: 18px 6px 4px 6px;
}

.etek-screen--products.is-active {
  display: flex;
  flex-direction: column;
}

.etek-screen--categories {
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  border: 2px solid #d4d8db;
  background: #ffffff;
  padding: 18px 6px 6px 4px;
}

.etek-screen__top {
    display: flex;
}

.etek-screen__top--plain {
  align-items: center;
}

.etek-screen--categories .etek-screen__top {
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 2px solid var(--etek-blue);
}

.etek-tabs {
    display: flex;
    align-items: center;
    width: 100%;
    height: 64px;
    gap: 10px;
    border-left: 6px solid var(--etek-blue);
    padding-left: 10px;
}

.etek-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border: 1px solid var(--etek-blue);
    border-radius: 6px;
    background: var(--etek-blue);
    color: #ffffff;
    cursor: pointer;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    padding: 0px 15px;
    transition: background 160ms ease, color 160ms ease;
}

.etek-back:hover {
  background: var(--etek-blue-dark);
}

.etek-back .dashicons {
  width: 18px;
  height: 18px;
  font-size: 16px;
  line-height: 1;
}



.etek-tabs button {
    min-height: 44px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #000000;
    cursor: pointer;
    padding: 0px 15px;
    font-size: 17px;
    line-height: 1.1;
    white-space: nowrap;
    font-weight: 600;
}

.etek-tabs button.is-active {
  background: var(--etek-blue);
  color: #ffffff;
}

.etek-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(var(--etek-category-rows, 4), minmax(0, 1fr));
  width: 100%;
  height: calc(100vh - 104px);
  margin-top: 14px;
  border-left: 1px solid #e3e6e8;
  border-top: 1px solid #e3e6e8;
}

.etek-category-panel,
.etek-products-panel {
  display: none;
}

.etek-category-panel.is-active,
.etek-products-panel.is-active {
  display: block;
}

.etek-category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 0;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid #e3e6e8;
  border-bottom: 1px solid #e3e6e8;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  gap: 18px;
  padding: 18px 24px;
  text-align: center;
  transition: background 150ms ease, box-shadow 150ms ease;
}

.etek-category-card:hover {
  position: relative;
  z-index: 1;
  background: #f6fbff;
  box-shadow: inset 0 0 0 1px rgba(0, 108, 200, 0.24);
}

.etek-category-card span {
  width: 63px;
  height: 63px;
  color: #111111;
}

.etek-category-card strong {
  max-width: 300px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.etek-products__header h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
}

.etek-products__header span {
  color: var(--etek-blue-dark);
}

.etek-screen--products .etek-screen__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 64px;
  height: 64px;
  min-height: 64px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  margin-bottom: 15px;
}


.etek-screen--products .etek-products-panel.is-active {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  scrollbar-gutter: stable;
}

.etek-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-items: start;
  gap: 12px;
}

.etek-product-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  height: auto;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e3e6e8;
  background: #ffffff;
  cursor: pointer;
  padding: 5px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.etek-product-card:hover {
  border-color: rgba(0, 108, 200, 0.4);
  box-shadow: 0 8px 24px rgba(0, 70, 126, 0.1);
}

.etek-product-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #ffffff;
}

.etek-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  border-top: 1px solid #edf0f2;
  padding: 24px 20px;
}

.etek-product-card strong {
  display: block;
  margin-bottom: 14px;
  color: #000000;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
}

.etek-product-card em {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    color: var(--etek-red);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    gap: 8px;
    line-height: 1.2;
}

.etek-product-card em span {
  width: 18px;
  height: 18px;
  font-size: 16px;
  line-height: 1;
}

.etek-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  padding: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.etek-video-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

body.etek-modal-open {
  overflow: hidden;
}

.etek-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 23, 0.84);
  backdrop-filter: blur(8px);
}

.etek-video-modal__content {
    position: relative;
    z-index: 1;
    width: min(94vw, 1120px, calc((100dvh - 130px) * 1.7778));
    overflow: hidden;
    border-radius: 8px;
    background: var(--etek-blue);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5);
    transform: translateY(16px) scale(0.985);
    transition: transform 200ms ease;
}

.etek-video-modal.is-open .etek-video-modal__content {
  transform: translateY(0) scale(1);
}

.etek-video-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 20px;
  padding: 0 12px 0 22px;
}

.etek-video-modal__header h2 {
  overflow: hidden;
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.etek-video-modal__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.etek-video-modal iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.etek-video-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 38px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  transition: border-color 150ms ease, background 150ms ease;
}

.etek-video-modal__close .dashicons {
  width: 24px;
  height: 24px;
  font-size: 22px;
  line-height: 1;
}

.etek-video-modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

.etek-video-modal__close:focus-visible {
  outline: 3px solid rgba(68, 177, 255, 0.75);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .etek-video-modal,
  .etek-video-modal__content {
    transition: none;
  }
}

@media (max-width: 900px) {
  .etek-screen--hero {
    height: 100svh;
    min-height: 0;
    overflow-y: auto;
    padding: 28px 24px 32px;
  }

  .etek-plus {
    display: none;
  }

  .etek-hero__brand,
  .etek-screen--hero h1,
  .etek-main-categories,
  .etek-hero__footer {
    position: static;
  }

  .etek-hero__brand {
    margin: 0 auto 28px;
    transform: none;
  }

  .etek-logo-image {
    width: 240px;
  }

  .etek-screen--hero h1 {
    width: 100%;
    margin: 0 0 30px;
    font-size: 44px;
  }

  .etek-main-categories {
    grid-template-columns: 1fr;
    width: min(100%, 620px);
    margin: 0 auto;
    gap: 14px;
  }

  .etek-main-card {
    justify-content: flex-start;
    min-height: 96px;
    font-size: 26px;
  }

  .etek-hero__footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 760px);
    margin: 34px auto 0;
    gap: 24px;
  }

  .etek-screen--categories {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
    padding: 10px 0 0;
    border-width: 1px;
  }

  .etek-screen--categories.is-active {
    display: flex;
    flex-direction: column;
  }

  .etek-screen--categories .etek-screen__top {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding-right: 10px;
    border-bottom: 2px solid var(--etek-blue);
  }

  .etek-screen--categories .etek-tabs {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    scrollbar-width: none;
  }

  .etek-screen--categories .etek-tabs::-webkit-scrollbar {
    display: none;
  }



  .etek-screen--categories .etek-tabs button {
    min-width: max-content;
    min-height: 42px;
    padding: 8px 14px;
    font-size: 16px;
  }

  .etek-screen--categories .etek-back {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 13px;
    font-size: 15px;
  }

  .etek-screen--categories .etek-category-panel.is-active {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .etek-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(170px, auto);
    height: auto;
    min-height: 100%;
    margin-top: 10px;
  }

  .etek-category-card {
    padding: 16px;
  }

  .etek-category-card span {
    width: 56px;
    height: 56px;
  }

  .etek-category-card strong {
    font-size: 14px;
  }

  .etek-screen--products {
    height: 100svh;
    min-height: 0;
    padding: 10px;
    border-width: 1px;
  }

  .etek-screen--products .etek-screen__top {
    flex-basis: 64px;
    height: 64px;
    min-height: 0;
    margin-bottom: 10px;
  }

  .etek-products__header {
    min-width: 0;
    padding: 0 8px;
  }

  .etek-products__header h2 {
    font-size: 18px;
  }

  .etek-screen--products .etek-back {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 13px;
    font-size: 15px;
  }

  .etek-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 10px;
  }

  .etek-product-card__body {
    padding: 18px 16px;
  }

  .etek-product-card strong {
    font-size: 20px;
  }

  .etek-video-modal {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .etek-video-modal {
    padding: 10px;
  }

  .etek-video-modal__content {
    width: min(100%, calc((100dvh - 102px) * 1.7778));
  }

  .etek-video-modal__header {
    height: 54px;
    padding: 0 8px 0 15px;
  }

  .etek-video-modal__header h2 {
    font-size: 14px;
  }

  .etek-video-modal__close {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .etek-screen--hero {
    padding: 22px 18px 28px;
  }

  .etek-hero__brand {
    margin-bottom: 22px;
  }

  .etek-logo-image {
    width: 190px;
  }

  .etek-screen--hero h1 {
    margin-bottom: 24px;
    font-size: 30px;
    line-height: 1.15;
  }

  .etek-main-categories {
    width: 100%;
    gap: 12px;
  }

  .etek-main-card {
    min-height: 88px;
    border-radius: 8px;
    gap: 16px;
    padding: 14px 18px;
    font-size: 21px;
  }

  .etek-main-card__icon {
    flex-basis: 54px;
    height: 54px;
  }

  .etek-hero__footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    width: 100%;
    gap: 8px;
    margin-top: 24px;
  }

  .etek-contact {
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    gap: 6px;
    text-align: center;
  }

  .etek-contact__icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .etek-contact__content strong {
    font-size: 13px;
  }

  .etek-contact__content span {
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .etek-screen--categories {
    padding: 8px;
  }

  .etek-screen--categories .etek-screen__top {
    gap: 6px;
    padding-right: 0px;
  }

  .etek-screen--categories .etek-tabs {
    gap: 4px;
    padding-left: 4px;
  }



  .etek-screen--categories .etek-tabs button {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .etek-screen--categories .etek-back {
    height: 40px;
    gap: 6px;
    padding: 0 10px;
    font-size: 14px;
  }

  .etek-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(150px, auto);
    margin-top: 8px;
  }

  .etek-category-card {
    gap: 12px;
    padding: 14px 8px;
  }

  .etek-category-card span {
    width: 48px;
    height: 48px;
  }

  .etek-category-card strong {
    font-size: 12px;
  }

  .etek-screen--products {
    padding: 8px;
  }

  .etek-screen--products .etek-screen__top {
    flex-basis: 64px;
    height: 64px;
    gap: 6px;
    margin-bottom: 8px;
  }

  .etek-products__header {
    padding: 0 4px;
  }

  .etek-products__header h2 {
    font-size: 17px;
    line-height: 1.25;
  }

  .etek-screen--products .etek-back {
    height: 40px;
    gap: 6px;
    padding: 0 10px;
    font-size: 14px;
  }

  .etek-products-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 10px;
  }

  .etek-screen--products .etek-products-panel.is-active {
    padding-right: 0;
    scrollbar-gutter: auto;
  }

  .etek-product-card__body {
    padding: 16px;
  }

  .etek-product-card strong {
    margin-bottom: 10px;
    font-size: 19px;
  }
}
