/* Soft depth and category browsing */
:root {
  --card-shadow: 0 3px 6px rgba(26, 26, 36, 0.015), 0 14px 34px rgba(26, 26, 36, 0.055);
  --card-hover-shadow: 0 5px 12px rgba(26, 26, 36, 0.025), 0 24px 48px rgba(26, 26, 36, 0.095);
}
/* Keep mobile packshots inside the image area without a tilted crop. */
@keyframes phone-enter-mobile {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Product specifications and direct store */
.bag-link {
  display: flex;
  align-items: center;
  position: relative;
  min-width: 32px;
  min-height: 38px;
  justify-content: center;
}

.bag-link svg {
  width: 21px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.bag-link span {
  font-size: 12px;
  position: absolute;
  right: -7px;
  top: 0;
}

.button:disabled {
  background: #c9c9ce;
  color: #fff;
  cursor: default;
  box-shadow: none;
}

@media (max-width: 1200px) {
  .global nav {
    gap: 15px;
  }
  .global nav a:nth-child(n+5) {
    display: none;
  }
  .nav-tools {
    gap: 12px;
  }
}
@media (max-width: 640px) {
  .bag-link {
    min-width: 27px;
  }
  .nav-tools {
    gap: 7px;
  }
}
/* News and company pages use the same calm Japanese typography. */
.global nav {
  gap: 23px;
}

#press-result-label {
  font-size: 14px;
  color: #74747a;
  margin: 0 0 28px;
}

@media (min-width: 1201px) and (max-width: 1400px) {
  .global nav {
    gap: 14px;
    font-size: 12px;
  }
  .global {
    gap: 15px;
  }
  .nav-tools {
    gap: 13px;
  }
  .nav-compare {
    font-size: 12px;
  }
}

:root {
  --visual-ink: #17171a;
  --visual-muted: #77777c;
}

.cinema-copy :is(h1, h2) {
  font-size: clamp(58px, 6.8vw, 96px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  margin: 20px 0 24px;
  font-weight: 650;
}
@media (max-width: 760px) {
  .cinema-copy :is(h1, h2) {
    font-size: 53px;
  }
}

/* Headlines are edited separately from technical facts, so one-character overflow never drives the layout. */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
}

p,
li,
dd {
  text-wrap: pretty;
}

@media (max-width: 1200px) {
  .global nav {
    display: none !important;
  }
  .global .menu-button {
    display: grid;
  }
  .global .nav-tools {
    margin-left: auto;
  }
  .global {
    gap: 20px;
    justify-content: space-between;
  }
}

@keyframes ribbon-drift {
  from {
    transform: translateX(-4%) rotate(-24deg);
  }
  to {
    transform: translateX(4%) rotate(-19deg);
  }
}
@media (max-width: 360px) {
  .cinema-copy :is(h1, h2) {
    font-size: 40px;
  }
  .section-heading h2,
  .section h2 {
    font-size: 26px;
  }
}

#phone-results {
  scroll-margin-top: 62px;
}
.global .nav-compare {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 380px) {
  .global {
    padding-inline: 16px;
    gap: 8px;
  }
  .global .brand {
    flex-shrink: 0;
  }
  .global .nav-tools {
    gap: 5px;
    flex-shrink: 0;
  }
  .global .brand-logo {
    width: 112px;
  }
}

@keyframes signature-arrive {
  from {
    opacity: 0;
    transform: translateY(35px) rotate(15deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(11deg);
  }
}
@media (max-width: 360px) {
  .page-intro h1 {
    font-size: 28px;
  }
}
@media (min-width: 761px) and (max-width: 1200px) {
  .detail-hero:is([data-product=buds2plus],
  [data-product=edge70fusion],
  [data-product=g66j],
  [data-product=soundflow],
  [data-product=watch],
  [data-product=parker]) h1 {
    font-size: clamp(28px, 3.8vw, 44px);
  }
}

@keyframes spec-focus-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes performance-panel-in {
  from {
    opacity: 0.45;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes performance-scene-in {
  from {
    opacity: 0.4;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

[hidden]:not([hidden=until-found]) {
  display: none !important;
}