/* Site header + footer ported from sony-soundbar-astro (Header.tsx / Footer.tsx)
   Tailwind utility classes have been resolved to plain CSS. */

body {
  padding-top: 53px; /* offset for fixed header */
  --kv-top-offset: 53px; /* keep the full-screen KV exactly one viewport tall below the fixed header */
}

/* Strip leftover Sony global chrome — superseded by .sh-header / .sh-footer */
.s5-breadcrumbs {
  display: none !important;
}

/* ---------- HEADER ---------- */
.sh-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

.sh-nav {
  background: #000;
  padding: 4px 8px;
}

.sh-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.sh-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sh-logo img {
  width: 140px;
  height: 45px;
}

.sh-menu-btn {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0;
  margin-right: 8px;
}

#sh-nav-icon {
  width: 25px;
  height: 30px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

#sh-nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 25px;
  background: #fff;
  border-radius: 12px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

#sh-nav-icon span:nth-child(1) {
  top: 3px;
}
#sh-nav-icon span:nth-child(2),
#sh-nav-icon span:nth-child(3) {
  top: 12px;
}
#sh-nav-icon span:nth-child(4) {
  top: 22px;
}

#sh-nav-icon.open span:nth-child(1) {
  top: 12px;
  width: 0%;
  left: 50%;
}
#sh-nav-icon.open span:nth-child(2) {
  transform: rotate(45deg);
}
#sh-nav-icon.open span:nth-child(3) {
  transform: rotate(-45deg);
}
#sh-nav-icon.open span:nth-child(4) {
  top: 12px;
  width: 0%;
  left: 50%;
}

.sh-nav__menu {
  display: none;
}

.sh-nav__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.sh-nav__menu li + li {
  margin-left: 24px;
}

.sh-nav__menu a,
.sh-nav__menu button {
  display: block;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.05em;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  text-underline-offset: 4px;
}

.sh-nav__menu a:hover,
.sh-nav__menu button:hover {
  text-decoration: underline;
}

.sh-nav__menu a:focus,
.sh-nav__menu button:focus,
.sh-dropdown a:focus,
.sh-dropdown button:focus,
.sh-menu-btn:focus,
.sh-logo:focus {
  outline: none;
}

.sh-nav__menu a:focus-visible,
.sh-nav__menu button:focus-visible,
.sh-dropdown a:focus-visible,
.sh-dropdown button:focus-visible,
.sh-menu-btn:focus-visible,
.sh-logo:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.sh-nav__menu .sh-brand {
  font-family: "SST", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.sh-nav__menu .sh-social {
  width: 28px;
  display: block;
}

.sh-nav__menu .sh-social img {
  width: 28px;
}

@media (min-width: 1024px) {
  .sh-menu-btn {
    display: none;
  }
  .sh-nav__menu {
    display: flex;
    align-items: center;
  }
}

/* Mobile dropdown */
.sh-dropdown {
  position: absolute;
  left: 0;
  top: 45px;
  width: 100%;
  background: #000;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease-in-out;
}

.sh-dropdown.open {
  max-height: 400px;
  transition-duration: 0.7s;
}

.sh-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.sh-dropdown li {
  padding: 16px 12px;
}

.sh-dropdown a,
.sh-dropdown button {
  color: #fff;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  display: block;
  width: 100%;
}

.sh-dropdown .sh-brand {
  font-family: "SST", "Helvetica Neue", Arial, sans-serif;
}

.sh-dropdown .sh-social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.sh-dropdown .sh-social-row a {
  width: 28px;
}
.sh-dropdown .sh-social-row img {
  width: 28px;
}

/* ---------- FOOTER ---------- */
.sh-footer {
  background: #000;
}

.sh-footer__inner {
  margin: 0 auto;
  width: 100%;
  max-width: 1280px;
  padding: 16px;
  text-align: center;
  font-family: "SST", "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 768px) {
  .sh-footer__inner {
    padding: 32px 16px;
  }
  .sh-footer__inner {
    margin-bottom: 68px;
  }
}

.sh-footer__inner span {
  display: block;
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
}

.sh-footer__inner span + span {
  margin-top: 4px;
}

.sh-footer__inner a {
  color: #fff;
  text-decoration: underline;
}
