/* 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;
}

.section-heading > a,
.card-actions .button,
.store-card-actions .button {
  white-space: nowrap;
}

.section-heading h2 {
  max-width: 100%;
}

@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 (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;
  }
}
.migration-nav,
.help-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px max(24px, (100vw - 1240px) / 2);
  background: #fff;
  border-bottom: 1px solid #e5e5e9;
  font-size: 15px;
}

.migration-nav > span,
.help-nav > a {
  font-weight: 650;
}

.migration-nav > div,
.help-nav > div {
  display: flex;
  gap: 20px;
  align-items: center;
}

.migration-nav a,
.help-nav a {
  white-space: nowrap;
}

.migration-nav a[aria-current],
.help-nav a[aria-current] {
  color: #315bbc;
  font-weight: 650;
}

.android-controls label,
.repair-layout aside > label,
.contact-preparation > label,
.help-model-label,
.help-search-label {
  display: grid;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.android-controls select,
.repair-layout select,
.contact-preparation select,
.help-model-label select,
.help-search-label input,
.contact-preparation textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d1d4dc;
  border-radius: 12px;
  background: white;
  padding: 14px 16px;
  font: inherit;
  color: #1d1d1f;
  font-weight: 400;
  line-height: 1.5;
}

.help-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.help-step {
  background: #f5f5f7;
  border-radius: 26px;
  padding: 35px 30px;
}

.soft .help-step {
  background: white;
}

.help-step > span,
.help-home-card > span {
  color: #8b8d95;
  font-size: 14px;
}

.help-step h3 {
  font-size: 25px;
  line-height: 1.35;
  text-wrap: balance;
  letter-spacing: -0.04em;
}

.help-step p,
.help-tiles p {
  font-size: 16px;
  line-height: 1.9;
  color: #65656d;
}

.help-note {
  font-size: 13px;
  color: #74747c;
  line-height: 1.9;
  margin-top: 25px;
}

.help-note a {
  color: #315bbc;
  text-decoration: underline;
}

.help-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.help-tiles article {
  background: #f5f5f7;
  border-radius: 25px;
  padding: 35px;
}

.soft .help-tiles article {
  background: #fff;
}

.help-tiles h3 {
  font-size: 25px;
  letter-spacing: -0.035em;
}

.help-details {
  max-width: 1100px;
  margin-inline: auto;
}

.help-details > h2 {
  font-size: 34px;
  letter-spacing: -0.04em;
}

.help-details details {
  border-bottom: 1px solid #dedee2;
  padding: 24px 0;
}

.help-details summary {
  font-size: 22px;
  font-weight: 650;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
  padding-right: 32px;
  position: relative;
  text-wrap: balance;
}

.help-details summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  font-weight: 400;
}

.help-details details[open] summary::after {
  content: "−";
}

.help-details details p {
  max-width: 880px;
  color: #65656d;
  font-size: 16px;
  line-height: 1.9;
}

.help-details details a {
  display: inline-block;
  margin: 8px 20px 0 0;
  color: #315bbc;
  font-size: 15px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.help-intro {
  padding-bottom: 40px;
}

.help-intro h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.help-intro > p:last-child {
  font-size: 20px;
  line-height: 1.8;
  color: #6a6a72;
}

.help-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 15px;
}

.help-home-card {
  border-radius: 28px;
  background: #f5f5f7;
  padding: 38px;
  box-shadow: 0 8px 24px rgba(21, 21, 33, 0.0235294118);
  transition: transform 0.3s, box-shadow 0.3s;
}

.help-home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 28px rgba(21, 21, 33, 0.0470588235);
}

.help-home-card h2 {
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: -0.04em;
  text-wrap: balance;
  margin: 20px 0 12px;
}

.help-home-card p {
  font-size: 17px;
  line-height: 1.8;
  color: #74747d;
}

.help-home-card b {
  display: block;
  font-size: 15px;
  color: #315bbc;
  font-weight: 500;
  margin-top: 25px;
}

.help-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.help-product-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  background: #fafafa;
  border-radius: 22px;
  gap: 18px;
}

.help-product-grid img {
  width: 150px;
  height: 150px;
  max-width: 100%;
  object-fit: contain;
}

.help-product-grid strong {
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
}

.help-guide-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 50px;
  padding-top: 10px;
  align-items: start;
}

.help-guide-layout aside {
  position: sticky;
  top: 90px;
}

.help-search-label {
  margin-top: 24px;
}

.help-guide-layout aside nav {
  display: grid;
  gap: 8px;
  margin-top: 26px;
}

.help-guide-layout aside nav button {
  padding: 15px 18px;
  text-align: left;
  border: 0;
  border-radius: 14px;
  background: #f5f5f7;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: #1d1d1f;
}

.help-guide-layout aside nav button[hidden] {
  display: none;
}

.help-guide-layout aside nav button small {
  display: block;
  font-weight: 400;
  color: #787880;
  font-size: 12px;
  margin-top: 6px;
}

.help-guide-layout aside nav button[aria-pressed=true] {
  background: #e8eef8;
  color: #315bbc;
}

.help-guide-panel {
  min-width: 0;
  padding: 35px;
  background: #f5f5f7;
  border-radius: 28px;
}

.help-guide-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.help-guide-heading h2 {
  font-size: 35px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  margin: 14px 0;
}

.help-guide-heading img {
  width: 155px;
  height: 155px;
  object-fit: contain;
}

.help-guide-heading p {
  font-size: 15px;
  color: #74747c;
  line-height: 1.8;
}

.help-guide-steps {
  margin-top: 20px;
}

.help-guide-steps article {
  display: flex;
  gap: 22px;
  border-top: 1px solid #dddde4;
  padding: 26px 0;
}

.help-guide-steps article > span {
  font-size: 13px;
  color: #8b8b93;
  margin-top: 8px;
}

.help-guide-steps h3 {
  font-size: 23px;
  line-height: 1.45;
  margin: 0 0 12px;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.help-guide-steps p {
  font-size: 16px;
  line-height: 1.95;
  margin: 0;
  color: #686871;
}

.help-guide-panel .actions {
  flex-wrap: wrap;
}

.help-guide-panel .text-link {
  font-size: 15px;
}

.repair-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 50px;
  align-items: start;
  padding-top: 15px;
}

.repair-layout aside {
  display: grid;
  gap: 25px;
}

.repair-layout aside img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin: auto;
}

.repair-layout h2 {
  font-size: 35px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.repair-steps {
  padding-left: 24px;
  color: #686871;
}

.repair-steps li {
  padding: 15px 0 15px 10px;
  font-size: 17px;
  line-height: 1.9;
  border-bottom: 1px solid #dddde4;
}

.repair-next {
  padding-top: 15px;
}

.repair-next h3 {
  font-size: 24px;
}

.repair-next p {
  font-size: 16px;
  color: #686871;
  line-height: 1.8;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding-top: 15px;
}

.contact-phone,
.contact-preparation {
  border-radius: 30px;
  padding: 42px;
  background: #f5f5f7;
}

.contact-phone {
  background: #17212d;
  color: #fff;
}

.contact-layout h2 {
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.contact-phone .contact-number {
  display: block;
  font-size: clamp(24px, 3vw, 41px);
  letter-spacing: -0.035em;
  margin: 25px 0 8px;
  color: white;
  white-space: nowrap;
}

.contact-phone p {
  line-height: 1.9;
}

.contact-phone .small {
  font-size: 14px;
  color: #bcc3cc;
}

.contact-phone .button {
  background: white;
  color: #1d1d1f;
  margin-top: 20px;
}

.contact-phone .help-note {
  color: #bcc3cc;
}

.contact-phone .help-note a {
  color: #ccdfff;
}

.contact-preparation > label {
  margin-top: 22px;
}

.contact-preparation textarea {
  resize: vertical;
}

.contact-preparation .small {
  font-size: 13px;
  line-height: 1.8;
}

.contact-preparation .button {
  margin-top: 15px;
}

.contact-preparation [role=status] {
  font-size: 14px;
  color: #315bbc;
}

.help-search-label input:focus,
.help-model-label select:focus,
.android-controls select:focus,
.contact-preparation textarea:focus {
  outline: 2px solid #315bbc;
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .help-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .help-nav {
    align-items: flex-start;
  }
  .help-nav > div {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .help-guide-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 25px;
  }
  .repair-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 25px;
  }
  .contact-phone,
  .contact-preparation {
    padding: 30px;
  }
  .contact-number {
    font-size: 33px !important;
  }
}
@media (max-width: 760px) {
  .help-nav,
  .migration-nav {
    padding: 16px 20px;
    gap: 15px;
    font-size: 13px;
  }
  .help-nav {
    display: block;
  }
  .help-nav > div {
    margin-top: 15px;
    gap: 12px 18px;
  }
  .help-steps {
    grid-template-columns: 1fr;
  }
  .help-step {
    padding: 28px;
  }
  .help-step h3 {
    font-size: 24px;
  }
  .help-tiles {
    grid-template-columns: 1fr;
  }
  .help-tiles article {
    padding: 28px;
  }
  .help-details summary {
    font-size: 19px;
  }
  .help-details > h2 {
    font-size: 29px;
  }
  .help-intro h1 {
    font-size: 43px;
  }
  .help-intro > p:last-child {
    font-size: 17px;
  }
  .help-home-grid {
    grid-template-columns: 1fr;
  }
  .help-home-card {
    padding: 29px;
  }
  .help-home-card h2 {
    font-size: 27px;
  }
  .help-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .help-product-grid img {
    width: 120px;
    height: 120px;
  }
  .help-guide-layout,
  .repair-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .help-guide-layout aside {
    position: static;
  }
  .help-guide-layout aside nav {
    grid-template-columns: 1fr 1fr;
  }
  .help-guide-layout aside nav button {
    font-size: 14px;
    padding: 14px;
  }
  .help-guide-panel {
    padding: 25px;
  }
  .help-guide-heading img {
    width: 95px;
    height: 110px;
  }
  .help-guide-heading h2,
  .repair-layout h2 {
    font-size: 29px;
  }
  .help-guide-steps article {
    gap: 16px;
  }
  .help-guide-steps h3 {
    font-size: 22px;
  }
  .help-guide-steps p,
  .repair-steps li {
    font-size: 15px;
  }
  .repair-layout aside img {
    width: 170px;
    height: 170px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-layout h2 {
    font-size: 29px;
  }
  .contact-phone,
  .contact-preparation {
    padding: 28px;
  }
  .contact-phone .contact-number {
    font-size: 32px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .help-home-card {
    transition: none;
  }
  .help-home-card:hover {
    transform: none;
  }
}
@media (max-width: 760px) {
  .help-intro h1 {
    font-size: clamp(32px, 8.5vw, 43px);
  }
  .contact-layout h2 {
    font-size: 26px;
  }
}

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

.icracked-banner-section {
  padding-top: 24px;
  padding-bottom: 40px;
  text-align: center;
}

.icracked-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 520px);
  padding: 18px 36px;
  background: #fff;
  border: 1px solid #191919;
  border-radius: 100px;
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.icracked-banner:hover {
  background: #191919;
  color: #fff;
}

@media (max-width: 760px) {
  .icracked-banner-section {
    padding-top: 16px;
    padding-bottom: 30px;
  }

  .icracked-banner {
    width: 100%;
    min-width: 0;
    padding: 16px 20px;
    font-size: 14px;
  }
}