:root {
  --ink: #1d1d1f;
  --paper: #f5f5f7;
  --white: #fff;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, .13);
  --guide-header-height: 89px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--guide-header-height); }
body { margin: 0; padding-top: var(--guide-header-height); background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, .table-wrap:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 1200; padding: 10px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.guide-header { position: fixed; top: 0; right: 0; left: 0; z-index: 1000; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: 1240px; margin: auto; padding: 22px 36px; }
.brand img { width: 155px; }
.brand { flex-shrink: 0; min-width: 0; }
.header-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: .9rem; }
.guide-nav-links, .guide-header-actions { display: flex; align-items: center; gap: 24px; }
.guide-header-actions { gap: 12px; }
.guide-nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.header-nav a { text-decoration: none; }
.header-nav a:hover { text-decoration: underline; }
.nav-whatsapp-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px 0 12px; gap: 7px; border: 1px solid #050505; border-radius: 999px; background: #050505; color: #fff; font-size: 13px; font-weight: 750; line-height: 1; white-space: nowrap; box-shadow: 0 8px 18px rgba(0, 0, 0, .14); }
.header-nav .nav-whatsapp-link:hover { background: #1d1d1f; text-decoration: none; }
.nav-whatsapp-link svg, .guide-whatsapp-button svg { width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; }
.guide-whatsapp-button { gap: 8px; }
.language-link { padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; }
main, .footer-inner { max-width: 1240px; margin: auto; padding: 0 36px; }
#guide { scroll-margin-top: 24px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0; color: var(--muted); font-size: .84rem; }
.breadcrumbs a { color: var(--ink); }
.hero { padding: 36px 0 58px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: .75rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 880px; margin: 0 0 24px; font-size: clamp(2.25rem, 5.2vw, 4.8rem); font-weight: 650; line-height: 1.08; letter-spacing: -.045em; }
.lead { max-width: 770px; margin: 0; color: #48484d; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 21px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 600; }
.button-primary { background: var(--ink); color: var(--white); }
.button:hover { text-decoration: none; opacity: .8; }
.reading-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 54px; padding-top: 48px; }
.contents { position: sticky; top: calc(var(--guide-header-height) + 24px); align-self: start; color: var(--muted); font-size: .88rem; }
.contents h2 { margin: 0 0 14px; color: var(--ink); font-size: .9rem; }
.contents ol { margin: 0; padding-left: 18px; }
.contents li { padding: 5px 0; }
.contents a { text-decoration: none; }
.contents a:hover { text-decoration: underline; }
.article-body { min-width: 0; }
.article-body section { margin-bottom: 54px; scroll-margin-top: 24px; }
h2 { margin: 0 0 19px; font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 650; line-height: 1.25; letter-spacing: -.025em; }
h3 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 650; line-height: 1.4; }
p { margin: 0 0 17px; }
ul, ol { padding-left: 23px; }
li + li { margin-top: 9px; }
.checklist { display: grid; gap: 16px; padding: 0; list-style: none; }
.checklist li { margin: 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.checklist strong { display: block; margin-bottom: 4px; }
.note { padding: 18px 22px; border-left: 3px solid var(--ink); background: #eaeaec; font-size: .93rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--white); }
.product-copy { padding: 19px; }
.product-copy p { margin-bottom: 13px; font-size: .9rem; }
.product-copy a { font-size: .9rem; font-weight: 600; }
.table-wrap { width: 100%; overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
caption { padding: 15px 18px; text-align: left; font-weight: 600; }
th, td { padding: 14px 17px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { background: #eaeaec; font-weight: 600; }
tbody th { font-weight: 600; }
.product-card { display: flex; flex-direction: column; }
.product-card-image { flex: 0 0 auto; }
.product-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.product-copy .product-family { margin-bottom: 7px; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.product-copy h3 { overflow-wrap: anywhere; }
.product-copy .product-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }
.product-meta span { padding: 4px 8px; border-radius: 6px; background: var(--paper); font-size: .75rem; line-height: 1.3; }
.product-copy .guide-price { display: grid; gap: 3px; margin-top: auto; padding-top: 10px; margin-bottom: 4px; }
.guide-price span { color: var(--muted); font-size: .72rem; line-height: 1.4; }
.guide-price strong { font-size: 1.15rem; font-weight: 650; letter-spacing: -.02em; }
.product-detail-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; line-height: 1.4; }
.comparison { min-width: 780px; }
.range-table { min-width: 840px; }
.range-table th, .range-table td { padding: 12px; }
.comparison th:first-child, .range-table th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--line); }
.comparison thead th:first-child, .range-table thead th:first-child { background: #eaeaec; }
.comparison tbody th, .range-table tbody th, .comparison td:nth-child(4), .range-table td { white-space: nowrap; }
.comparison td:last-child { min-width: 220px; width: 32%; }
.table-unit { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; white-space: nowrap; }
.table-scroll-hint { margin-bottom: 8px; color: var(--muted); font-size: .8rem; }
.small { color: var(--muted); font-size: .88rem; }
.wearing-guide { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.wearing-title { margin-bottom: 12px; font-size: 1.4rem; }
.wearing-guide > h3:not(.wearing-title) { margin-top: 28px; margin-bottom: 16px; }
.wearing-steps { display: grid; gap: 16px; padding: 0; margin: 0 0 20px; list-style: none; }
.assembly-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fit-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wearing-step { min-width: 0; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.wearing-illustration { display: flex; flex-direction: column; justify-content: center; height: 180px; margin-bottom: 20px; }
.wearing-illustration img { width: 100%; height: 155px; object-fit: contain; }
.ear-labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; text-align: center; font-size: .75rem; font-weight: 600; line-height: 1.4; }
.wearing-step h4 { display: flex; align-items: baseline; gap: 9px; margin: 0 0 12px; font-size: 1rem; line-height: 1.4; }
.step-number { display: inline-flex; flex: 0 0 24px; align-items: center; justify-content: center; min-height: 24px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: .75rem; }
.wearing-step p { margin: 0; font-size: .9rem; }
.wearing-caution { margin: 0 0 20px; }
.wearing-assembled { display: flex; align-items: center; gap: 32px; margin: 0; padding: 28px 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.wearing-assembled img { flex: 0 0 260px; width: 260px; height: 280px; object-fit: contain; }
.wearing-assembled figcaption { min-width: 0; }
.wearing-assembled h4 { margin: 0 0 8px; font-size: 1rem; line-height: 1.4; }
.wearing-assembled p { margin: 0; font-size: .9rem; }
.wearing-source { margin: 0; }
.faq-item { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item p { margin: 0; }
.contact-box { padding: 30px; border-radius: 20px; background: var(--ink); color: var(--white); }
.contact-box p { color: #d1d1d6; }
.contact-box .button { border-color: var(--white); }
.source-list { display: flex; flex-wrap: wrap; gap: 9px 24px; padding: 0; list-style: none; font-size: .88rem; }
.source-list li { margin: 0; }
@media (min-width: 1180px) {
  .product-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .product-card { grid-column: span 4; }
  .product-card:nth-child(n+4) { grid-column: span 3; }
  .product-card:nth-child(n+4) .product-copy { padding: 16px; }
}
.guide-footer { margin-top: 26px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-top: 27px; padding-bottom: 35px; font-size: .85rem; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 960px) {
  .header-inner { gap: 20px; padding-left: 28px; padding-right: 28px; }
  .header-nav, .guide-nav-links { gap: 16px; }
  .reading-layout { grid-template-columns: 1fr; gap: 32px; }
  .contents { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .contents ol { display: flex; flex-wrap: wrap; gap: 8px 25px; padding-left: 18px; }
  .contents li { padding-right: 6px; }
}
@media (max-width: 760px) {
  :root { --guide-header-height: 107px; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 12px 20px; }
  .brand { grid-column: 1; grid-row: 1; }
  .brand img { width: 122px; margin: 0; }
  .header-nav { display: contents; font-size: .8rem; }
  .guide-header-actions { grid-column: 2; grid-row: 1; gap: 8px; }
  .guide-nav-links { grid-column: 1 / -1; grid-row: 2; justify-content: flex-end; gap: 20px; }
  .guide-nav-links a { min-height: 30px; }
  .nav-whatsapp-link { width: 44px; height: 44px; min-height: 44px; padding: 0; border-color: rgba(0, 0, 0, .14); border-radius: 50%; background: rgba(255, 255, 255, .72); color: #050505; box-shadow: none; }
  .nav-whatsapp-link span { display: none; }
  .nav-whatsapp-link svg { width: 19px; height: 19px; }
  .header-nav .nav-whatsapp-link:hover { background: #eaeaec; }
  .guide-header-actions .guide-language-select { width: 106px; min-width: 0; min-height: 44px; padding: 0 8px; }
}
@media (max-width: 620px) {
  main, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 22px 0 36px; }
  .reading-layout { padding-top: 30px; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card { display: grid; grid-template-columns: 40% minmax(0, 1fr); align-items: center; }
  .product-copy { padding: 18px 16px 18px 4px; }
  .checklist li { padding: 18px; }
  .contact-box { padding: 25px; }
  .assembly-steps, .fit-steps { grid-template-columns: 1fr; }
  .wearing-step { padding: 20px; }
  .wearing-illustration { height: 170px; margin-bottom: 18px; }
  .wearing-assembled { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px; }
  .wearing-assembled img { flex: 0 0 auto; width: min(100%, 260px); height: auto; margin: 0 auto; }
  th, td { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Match the homepage language choices while keeping static locale URLs. */
.guide-language-select { font: inherit; color: inherit; background: #fff; border: 1px solid #d8dde4; border-radius: 999px; padding: 8px 12px; max-width: 160px; cursor: pointer; }
.guide-language-select:focus-visible { outline: 3px solid #245bb3; outline-offset: 3px; }
.guide-footer nav { flex-wrap: wrap; }

/* Global back-to-top control. It lives outside scaled page canvases. */
.back-to-top {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.96);
  background: rgba(32, 33, 38, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.2),
    0 2px 7px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  pointer-events: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: saturate(185%) blur(20px) contrast(106%);
  -webkit-backdrop-filter: saturate(185%) blur(20px) contrast(106%);
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.back-to-top::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(ellipse 76% 52% at 28% 8%, rgba(255, 255, 255, 0.52), transparent 62%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.18), rgba(132, 139, 153, 0.06) 48%, rgba(5, 6, 9, 0.22));
  border-radius: inherit;
  pointer-events: none;
}

.back-to-top::after {
  position: absolute;
  inset: 4px;
  z-index: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: inherit;
  box-shadow: inset 0 -8px 14px rgba(5, 6, 10, 0.1);
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top span {
  position: relative;
  z-index: 1;
  display: block;
  width: 22px;
  height: 22px;
}

.back-to-top svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.28));
}

.back-to-top:hover {
  background: rgba(54, 56, 64, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 12px 32px rgba(0, 0, 0, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.13);
  transform: translateY(-2px) scale(1.03);
}

.back-to-top:active {
  transform: translateY(0) scale(0.96);
}

.back-to-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .back-to-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    width: 44px;
    height: 44px;
  }

  .back-to-top span {
    width: 20px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}
