/* Akuvox category landings: "What is SIP?" button + dialog, and the video block. */

.ift-aku-sip-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  width: auto;
  margin-top: 12px;
  padding: 8px 15px 8px 11px;
  color: #0b1f4a;
  background: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.28);
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.ift-aku-sip-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #2563eb;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ift-aku-sip-btn:hover,
.ift-aku-sip-btn:focus-visible {
  background: #eff6ff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.32);
  outline: none;
}
.ift-aku-sip-btn--light {
  margin: 0 0 0 auto;
  padding: 7px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(147, 197, 253, 0.55);
  box-shadow: none;
  font-size: 0.75rem;
}
.ift-aku-sip-btn--light:hover,
.ift-aku-sip-btn--light:focus-visible {
  color: #0b1f4a;
  background: #fff;
  box-shadow: none;
}

/* Video block */
.ift-aku-video {
  margin: 0 0 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}
.ift-aku-video__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 12px 16px;
  background: #0b1f4a;
}
.ift-aku-video__head .ift-cat-aku__series-eyebrow {
  flex-basis: 100%;
}
.ift-aku-video__title {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 750;
}
.ift-aku-video__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 14px;
  padding: 14px;
}
.ift-aku-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
  border-radius: 12px;
}
.ift-aku-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ift-aku-video__main {
  position: relative;
  min-width: 0;
}
/* Sits over the player until YouTube reports it is playing, hiding YouTube's low-res thumbnail and spinner. */
.ift-aku-video__poster {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  background: #0f172a;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0s;
}
.ift-aku-video__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ift-aku-video__poster.is-gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.ift-aku-video__poster:not(.is-gone) ~ .ift-aku-video__sound {
  display: none;
}
.ift-aku-video__poster-title {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 18px 14px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 750;
  text-align: left;
  background: linear-gradient(transparent, rgba(2, 6, 23, 0.78));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ift-aku-video__poster.is-preview .ift-aku-video__poster-title {
  opacity: 1;
}
.ift-aku-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  color: #0b1f4a;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
  transition: transform 0.2s ease;
}
.ift-aku-video__play svg {
  fill: currentColor;
  margin-left: 4px;
}
.ift-aku-video__poster:hover .ift-aku-video__play,
.ift-aku-video__poster:focus-visible .ift-aku-video__play {
  transform: scale(1.08);
}
.ift-aku-video__sound {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(11, 31, 74, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  cursor: pointer;
}
.ift-aku-video__sound[hidden] {
  display: none;
}
.ift-aku-video__sound svg {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.ivp-is-float ~ .ift-aku-video__sound,
.ivp-is-modal ~ .ift-aku-video__sound {
  display: none;
}
.ift-aku-video__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 420px;
  overflow-y: auto;
}
.ift-aku-video__pick {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 6px;
  text-align: left;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.ift-aku-video__pick img {
  display: block;
  width: 104px;
  height: 58px;
  object-fit: cover;
  border-radius: 7px;
}
.ift-aku-video__pick:hover,
.ift-aku-video__pick:focus-visible {
  background: #fff;
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  outline: none;
}
.ift-aku-video__pick.is-active {
  background: #eff6ff;
  border-color: #2563eb;
}
.ift-aku-video__pick {
  position: relative;
}
.ift-aku-video__pick.is-pending::after,
.ift-aku-video.is-loading .ift-aku-video__pick.is-active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 58px;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  filter: drop-shadow(0 1px 2px rgba(2, 6, 23, 0.6));
  animation: ift-aku-spin 0.7s linear infinite;
}
.ift-aku-video.is-loading .ift-aku-video__poster-title {
  opacity: 1;
}
.ift-aku-video.is-loading .ift-aku-video__play {
  background: rgba(2, 6, 23, 0.72);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 6px 20px rgba(2, 6, 23, 0.35);
}
.ift-aku-video.is-loading .ift-aku-video__play svg {
  display: none;
}
.ift-aku-video.is-loading .ift-aku-video__play::after {
  content: "";
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ift-aku-spin 0.7s linear infinite;
}
@keyframes ift-aku-spin {
  to { transform: rotate(360deg); }
}
.ift-aku-video__pick-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ift-aku-video__pick-label {
  color: #2563eb;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ift-aku-video__pick-title {
  display: -webkit-box;
  overflow: hidden;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 860px) {
  .ift-aku-video__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .ift-aku-video__list {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }
  .ift-aku-video__list li {
    flex: 0 0 210px;
    scroll-snap-align: start;
  }
  .ift-aku-video__pick {
    grid-template-columns: minmax(0, 1fr);
  }
  .ift-aku-video__pick img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* SIP dialog */
.ift-aku-sip {
  width: min(640px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  color: #334155;
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.35);
}
.ift-aku-sip::backdrop {
  background: rgba(11, 31, 74, 0.55);
  backdrop-filter: blur(3px);
}
.ift-aku-sip[open] {
  animation: ift-aku-sip-in 0.22s ease-out;
}
@keyframes ift-aku-sip-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.ift-aku-sip__inner {
  position: relative;
  padding: 26px 26px 22px;
}
.ift-aku-sip__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #f1f5f9;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.ift-aku-sip__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #0f172a;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.ift-aku-sip__close:hover,
.ift-aku-sip__close:focus-visible {
  background: #e2e8f0;
  outline: none;
}
.ift-aku-sip__eyebrow {
  margin: 0 0 4px;
  color: #2563eb;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ift-aku-sip__title {
  margin: 0 0 10px;
  color: #0b1f4a;
  font-size: 1.45rem;
  font-weight: 800;
}
.ift-aku-sip__lead,
.ift-aku-sip__text {
  margin: 0 0 14px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.ift-aku-sip__flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 4px 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.ift-aku-sip__flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 10px;
  text-align: center;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
}
.ift-aku-sip__flow li + li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -18px;
  width: 14px;
  height: 14px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  transform: translateY(-50%);
}
.ift-aku-sip__node {
  color: #0b1f4a;
  font-size: 0.8125rem;
  font-weight: 800;
}
.ift-aku-sip__sub {
  color: #475569;
  font-size: 0.6875rem;
  line-height: 1.35;
}
.ift-aku-sip__h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 800;
}
.ift-aku-sip__list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.ift-aku-sip__list li {
  position: relative;
  margin: 0 0 7px;
  padding-left: 22px;
  font-size: 0.8125rem;
  line-height: 1.55;
}
.ift-aku-sip__list li::before {
  content: '';
  position: absolute;
  top: 0.45em;
  left: 2px;
  width: 12px;
  height: 12px;
  background: #2563eb;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #dbeafe;
}
.ift-aku-sip__list strong {
  color: #0f172a;
}
.ift-aku-sip__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}
.ift-aku-sip__cta .ift-cat-aku__spotlight-cta {
  margin: 0;
}
.ift-aku-sip__call {
  color: #1e3a8a !important;
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
}
.ift-aku-sip__call:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .ift-aku-sip__inner {
    padding: 22px 18px 18px;
  }
  .ift-aku-sip__flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .ift-aku-sip__flow li + li::before {
    top: -16px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
}

/* X937A spotlight slideshow */
.ift-cat-aku__spotlight-media.ift-aku-slides {
  position: relative;
  align-self: center;
  aspect-ratio: 4 / 3;
  background: #0b1220;
  border-color: #0b1220;
  isolation: isolate;
}
.ift-aku-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.ift-aku-slide.is-on {
  z-index: 1;
  opacity: 1;
}
.ift-aku-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.ift-aku-slides .ift-aku-slide img {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  transform: scale(1);
  transition: none;
}
.ift-aku-slides .ift-aku-slide.is-on img {
  animation: ift-aku-kenburns 7s ease-out both;
}
.ift-aku-slide--product {
  background: radial-gradient(circle at 50% 40%, #fff 0%, #eef2f7 70%);
}
.ift-aku-slides .ift-aku-slide--product img {
  padding: 8% 10% 16%;
  object-fit: contain;
}
.ift-aku-slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.6rem 1rem 1.45rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  background: linear-gradient(transparent, rgba(2, 6, 23, 0.82));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}
.ift-aku-slide.is-on figcaption {
  opacity: 1;
  transform: none;
}
.ift-aku-slide--product figcaption {
  color: #0b1f4a;
  background: none;
}
.ift-aku-slides__bars {
  position: absolute;
  right: 1rem;
  bottom: 0.7rem;
  left: 1rem;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.ift-aku-slides__bars i {
  flex: 1;
  height: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(2, 6, 23, 0.25);
  transition: flex-grow 0.35s ease, background-color 0.35s ease;
}
.ift-aku-slides__bars i.is-on {
  flex: 2.2;
  background: rgba(255, 255, 255, 0.55);
}
.ift-aku-slides__bars i::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #8cd400;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.ift-aku-slides.is-paused .ift-aku-slide.is-on img {
  animation-play-state: paused;
}
.ift-aku-slides.is-light .ift-aku-slides__bars i {
  background: rgba(11, 31, 74, 0.15);
}
@keyframes ift-aku-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .ift-aku-slides .ift-aku-slide.is-on img {
    animation: none;
  }
}

/* Full-width category pages (no left column): keep the hero banner-shaped. */
@media (min-width: 768px) {
  .ift-full-width .ift-cat-aku__hero {
    aspect-ratio: auto;
    height: clamp(300px, 32vw, 440px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ift-aku-video.is-loading .ift-aku-video__play::after,
  .ift-aku-video__pick.is-pending::after,
  .ift-aku-video.is-loading .ift-aku-video__pick.is-active::after {
    animation-duration: 1.6s;
  }
}

/* ---------- Phones: app-style layout (hero edge to edge, range tiles, collapsed "About") ---------- */
.ift-cat-aku__about,
.ift-cat-aku__series-ico {
  display: none;
}
.ift-cat-aku .ift-cat-intro__points {
  padding-left: 0;
  list-style: none;
}

@media (max-width: 575.98px) {
  .ift-cat-aku {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
  }
  .ift-cat-aku > * {
    order: 10;
  }
  .ift-cat-aku > .ift-cat-aku__hero { order: 1; }
  .ift-cat-aku > .ift-cat-aku__series { order: 2; }
  .ift-cat-aku > .ift-cat-aku__about { order: 3; }
  .ift-cat-aku:not(.is-about-open) > :not(.ift-cat-aku__hero):not(.ift-cat-aku__series):not(.ift-cat-aku__about) {
    display: none;
  }

  .ift-cat-aku__hero {
    margin: 0 -4px;
    aspect-ratio: auto;
    height: 232px;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .ift-cat-aku__hero-overlay {
    padding: 14px 14px 16px;
  }
  .ift-cat-aku__hero-title {
    font-size: 20px;
  }
  .ift-cat-aku__hero-lead {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  .ift-cat-aku__hero .ift-aku-sip-btn {
    margin-top: 10px;
  }

  /* Range tiles: one swipeable row */
  .ift-cat-aku__series {
    margin: 0 -4px;
    overflow: visible;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .ift-cat-aku__series-head {
    display: none;
  }
  .ift-cat-aku__series-grid {
    display: flex;
    gap: 8px;
    padding: 2px 8px 4px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-left: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ift-cat-aku__series-grid::-webkit-scrollbar {
    display: none;
  }
  .ift-cat-aku__series-grid li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .ift-cat-aku__series-card {
    flex-direction: column;
    justify-content: flex-start;
    gap: 7px;
    width: 100px;
    height: 100%;
    min-height: 0;
    padding: 12px 6px 10px;
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: none;
    transition: none;
  }
  .ift-cat-aku__series-card:hover,
  .ift-cat-aku__series-card:focus,
  .ift-cat-aku__series-card:active {
    transform: none;
    box-shadow: none;
    border-color: #0b1f4a;
  }
  .ift-cat-aku__series-label {
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.25;
  }
  .ift-cat-aku__series-ico {
    display: block;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    background: #0b1f4a;
    -webkit-mask: var(--ico) center / contain no-repeat;
    mask: var(--ico) center / contain no-repeat;
  }
  .ift-cat-aku__series-ico[data-ico="door"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2'/%3E%3Ccircle cx='12' cy='7' r='1.7'/%3E%3Crect x='9.5' y='13' width='5' height='5' rx='1'/%3E%3C/svg%3E"); }
  .ift-cat-aku__series-ico[data-ico="villa"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='3.5' width='8' height='17' rx='2'/%3E%3Ccircle cx='12' cy='8' r='1.6'/%3E%3Ccircle cx='12' cy='15' r='1.8'/%3E%3C/svg%3E"); }
  .ift-cat-aku__series-ico[data-ico="modular"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2'/%3E%3Cpath d='M7 9h10M7 15h10'/%3E%3Ccircle cx='12' cy='5.8' r='1.2'/%3E%3Cpath d='M10 12h4M10 18h4'/%3E%3C/svg%3E"); }
  .ift-cat-aku__series-ico[data-ico="face"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8V5.5A1.5 1.5 0 0 1 5.5 4H8M16 4h2.5A1.5 1.5 0 0 1 20 5.5V8M20 16v2.5a1.5 1.5 0 0 1-1.5 1.5H16M8 20H5.5A1.5 1.5 0 0 1 4 18.5V16'/%3E%3Ccircle cx='12' cy='10.5' r='2.6'/%3E%3Cpath d='M8 17c.9-1.7 2.3-2.5 4-2.5s3.1.8 4 2.5'/%3E%3C/svg%3E"); }
  .ift-cat-aku__series-ico[data-ico="monitor"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4.5' width='19' height='13' rx='2'/%3E%3Cpath d='M9 21h6M12 17.5V21M6 8.5h5M6 11.5h3'/%3E%3C/svg%3E"); }
  .ift-cat-aku__series-ico[data-ico="reader"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5.5' y='2.5' width='13' height='19' rx='2'/%3E%3Cpath d='M9.5 10a3.5 3.5 0 0 1 5 0M8 7.6a6 6 0 0 1 8 0'/%3E%3Ccircle cx='12' cy='12.3' r='.6' fill='%23000'/%3E%3Cpath d='M9.5 17h5'/%3E%3C/svg%3E"); }
  .ift-cat-aku__series-ico[data-ico="wire"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='5' height='12' rx='1.5'/%3E%3Crect x='16.5' y='6' width='5' height='12' rx='1.5'/%3E%3Cpath d='M7.5 10h3c1.5 0 1.5 4 3 4h3M7.5 14h3c1.5 0 1.5-4 3-4h3'/%3E%3C/svg%3E"); }
  .ift-cat-aku__series-ico[data-ico="kit"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4' width='6' height='15' rx='1.5'/%3E%3Ccircle cx='5.5' cy='8' r='1.1'/%3E%3Crect x='11' y='6.5' width='10.5' height='8' rx='1.5'/%3E%3Cpath d='M14.5 18.5h3.5M16.25 14.5v4'/%3E%3C/svg%3E"); }
  .ift-cat-aku__series-ico[data-ico="mount"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3.5' width='16' height='17' rx='2'/%3E%3Crect x='8.5' y='7' width='7' height='10' rx='1'/%3E%3Ccircle cx='6.5' cy='6' r='.6' fill='%23000'/%3E%3Ccircle cx='17.5' cy='6' r='.6' fill='%23000'/%3E%3Ccircle cx='6.5' cy='18' r='.6' fill='%23000'/%3E%3Ccircle cx='17.5' cy='18' r='.6' fill='%23000'/%3E%3C/svg%3E"); }

  /* "About Akuvox" card */
  .ift-cat-aku__about {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 12px 8px 8px;
    color: #0f172a;
    text-align: left;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
  }
  .ift-cat-aku__about-thumb {
    position: relative;
    flex: 0 0 84px;
    height: 48px;
    overflow: hidden;
    background: #0b1f4a;
    border-radius: 8px;
  }
  .ift-cat-aku__about-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .ift-cat-aku__about-thumb--logo {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }
  .ift-cat-aku__about-thumb--logo img {
    padding: 8px 10px;
    object-fit: contain;
  }
  .ift-cat-aku__about-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    color: #0b1f4a;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
  }
  .ift-cat-aku__about-play svg {
    margin-left: 2px;
    fill: currentColor;
  }
  .ift-cat-aku__about-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .ift-cat-aku__about-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
  }
  .ift-cat-aku__about-sub {
    color: #64748b;
    font-size: 12px;
    line-height: 1.3;
  }
  .ift-cat-aku__about-chev {
    flex: 0 0 auto;
    fill: none;
    stroke: #0f172a;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
  }
  .ift-cat-aku.is-about-open .ift-cat-aku__about-chev {
    transform: rotate(180deg);
  }

  .ift-aku-video {
    margin: 0;
  }
  .ift-cat-aku__chips {
    gap: 6px;
  }
  .ift-cat-aku__chips li {
    padding: 8px 6px;
    color: #0b1f4a;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: none;
    font-size: 11.5px;
    font-weight: 700;
  }

  /* The range tiles replace the subcategory list on phones. */
  .ift-cat-header:has(.ift-cat-aku__series) .ift-cat-index {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .ift-cat-aku__series-card.is-current {
    background: #0b1f4a;
    border-color: #0b1f4a;
  }
  .ift-cat-aku__series-card.is-current .ift-cat-aku__series-label {
    color: #fff;
  }
  .ift-cat-aku__series-card.is-current .ift-cat-aku__series-ico {
    background: #fff;
  }
}

/* SIP dialog: size to the visible viewport (iOS 100vh includes the hidden toolbars) and scroll inside */
.ift-aku-sip {
  max-height: calc(100dvh - 32px);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
html.ift-aku-sip-open,
html.ift-aku-sip-open body {
  overflow: hidden;
}
@media (max-width: 575.98px) {
  .ift-aku-sip {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    margin: auto 0 0;
    border-radius: 18px 18px 0 0;
  }
  .ift-aku-sip[open] {
    animation-name: ift-aku-sip-up;
  }
  .ift-aku-sip__inner {
    padding: 12px 18px calc(18px + env(safe-area-inset-bottom));
  }
  .ift-aku-sip__close {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0 -6px -36px auto;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  }
  .ift-aku-sip__eyebrow {
    margin-top: 10px;
    padding-right: 44px;
  }
}
@keyframes ift-aku-sip-up {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* —— Self-hosted video player: no chrome until pressed —— */
.ift-aku-video__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b1220;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.ift-aku-video__stage:focus-visible {
  box-shadow: inset 0 0 0 3px #60a5fa;
}
.ift-aku-video__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0b1220;
}
.ift-aku-video__stage:fullscreen .ift-aku-video__media,
.ivp-is-modal .ift-aku-video__media,
.ivp-is-float .ift-aku-video__media {
  object-fit: contain;
}
.ift-aku-video__spin {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.62);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ift-aku-video__spin::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ift-aku-spin 0.7s linear infinite;
}
.ift-aku-video__stage.is-loading .ift-aku-video__spin {
  opacity: 1;
  visibility: visible;
}
.ift-aku-video__bigplay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  padding: 0;
  color: #0b1f4a;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
  cursor: pointer;
}
.ift-aku-video__bigplay[hidden] {
  display: none;
}
.ift-aku-video__bigplay svg {
  margin-left: 4px;
  fill: currentColor;
}
.ift-aku-video__stage .ift-aku-video__sound {
  z-index: 5;
}
.ift-aku-video__ui {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.6) 0%, rgba(2, 6, 23, 0) 22%, rgba(2, 6, 23, 0) 66%, rgba(2, 6, 23, 0.75) 100%);
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.ift-aku-video__stage.is-ui .ift-aku-video__ui {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0s;
}
.ift-aku-video__ui-title {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: 0;
  padding: 12px 16px;
  overflow: hidden;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ift-aku-video__ui-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  pointer-events: auto;
  cursor: default;
}
.ift-aku-video__ctl {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.ift-aku-video__ctl:hover,
.ift-aku-video__ctl:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}
.ift-aku-video__ctl svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.ift-aku-video__ctl svg .s {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.ift-aku-video__stage.is-paused .i-pause,
.ift-aku-video__stage:not(.is-paused) .i-play,
.ift-aku-video__stage.is-muted .i-on,
.ift-aku-video__stage:not(.is-muted) .i-off {
  display: none;
}
.ift-aku-video__time {
  flex: 0 0 auto;
  padding: 0 4px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ift-aku-video__seek {
  --p: 0%;
  flex: 1 1 auto;
  min-width: 60px;
  height: 18px;
  margin: 0 6px;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.ift-aku-video__seek::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, #8cd400 var(--p), rgba(255, 255, 255, 0.35) var(--p));
  border-radius: 4px;
}
.ift-aku-video__seek::-moz-range-track {
  height: 4px;
  background: linear-gradient(90deg, #8cd400 var(--p), rgba(255, 255, 255, 0.35) var(--p));
  border-radius: 4px;
}
.ift-aku-video__seek::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -5px;
  background: #fff;
  border: 0;
  border-radius: 50%;
  -webkit-appearance: none;
  appearance: none;
}
.ift-aku-video__seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #fff;
  border: 0;
  border-radius: 50%;
}
.ift-aku-video__q {
  position: relative;
}
.ift-aku-video__qbtn {
  padding: 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
}
.ift-aku-video__qbtn[hidden] {
  display: none;
}
.ift-aku-video__qmenu {
  position: absolute;
  right: 0;
  bottom: 44px;
  z-index: 6;
  min-width: 140px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.45);
}
.ift-aku-video__qmenu[hidden] {
  display: none;
}
.ift-aku-video__qmenu button {
  display: block;
  width: 100%;
  padding: 7px 10px 7px 26px;
  color: #e2e8f0;
  font-size: 0.85rem;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.ift-aku-video__qmenu button:hover,
.ift-aku-video__qmenu button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}
.ift-aku-video__qmenu button[aria-pressed="true"] {
  position: relative;
  color: #8cd400;
  font-weight: 700;
}
.ift-aku-video__qmenu button[aria-pressed="true"]::before {
  content: "✓";
  position: absolute;
  left: 9px;
}
@media (max-width: 575px) {
  .ift-aku-video__time {
    display: none;
  }
}

/* —— Hero: images crossfading —— */
.ift-cat-aku__hero[data-aku-hero] .ift-cat-aku__hero-img {
  opacity: 0;
  transition: opacity 1s ease;
}
.ift-cat-aku__hero[data-aku-hero] .ift-cat-aku__hero-img.is-on {
  opacity: 1;
}
