.page-trail { background: var(--surface-soft); border-block-end: 1px solid var(--line); }
.page-trail nav.shell { display: block; position: static; padding: 0; border: 0; background: none; box-shadow: none; }
.page-trail ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; margin: 0; padding: 14px 0; list-style: none; color: var(--sub); font-size: 13px; line-height: 1.6; }
.page-trail li { overflow-wrap: anywhere; }
.page-trail li + li::before { content: '/'; margin: 0 9px; color: var(--muted); opacity: .65; }
.page-trail a { display: inline; color: inherit; background: none; padding: 0; font: inherit; }
.page-trail a:hover { color: var(--blue); text-decoration: underline; }
.page-trail strong { color: var(--ink); }
.buying-hero { background: radial-gradient(ellipse at 82% 45%, var(--nav-tint), transparent 66%), linear-gradient(180deg, var(--surface-soft), var(--surface)); border-bottom: 1px solid var(--line); }
.buying-hero-inner { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, .84fr); align-items: center; gap: clamp(30px, 6vw, 92px); padding-block: clamp(48px, 5.8vw, 90px); }
.buying-eyebrow { display: inline-block; margin: 0 0 17px; padding: 4px 11px; color: var(--blue); background: var(--nav-tint); border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.buying-hero h1 { margin: 0; color: var(--ink); font-size: clamp(37px,4vw,64px); letter-spacing: -.04em; line-height: 1.12; overflow-wrap: anywhere; }
.buying-intro { max-width: 53ch; margin: 20px 0; color: var(--sub); font-size: clamp(15px,1.2vw,18px); line-height: 1.85; }
.buying-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.buying-chips li { display: flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface-soft); color: var(--sub); font-size: 12px; }
.buying-chips li span { color: #098661; }
.edition-board { position: relative; display: grid; width: min(100%, 342px); justify-self: center; grid-template-columns: repeat(3,minmax(0,1fr)); padding: clamp(20px,2vw,30px); gap: clamp(10px,1.1vw,16px); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(140deg,var(--surface-soft),var(--nav-tint)); box-shadow: 0 12px 30px #24395512; }
.edition-board > span { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; border-radius: 12px; color: white; background: var(--tile); box-shadow: 0 3px 8px #15264518; }
.edition-board b { font-size: clamp(20px,2.1vw,31px); line-height: 1.1; }
.edition-board small { font-size: 10px; margin-top: 3px; }
.edition-board strong { position: absolute; bottom: 0; left: 50%; transform: translate(-50%,50%); padding: 6px 14px; border-radius: 40px; color: #fff; background: #172238; font-size: 11px; white-space: nowrap; }
.edition-covers { display: flex; align-items: center; justify-content: center; padding: 24px; }
.edition-covers span { width: 37%; background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 30px #16284422; }
.edition-covers span + span { margin-inline-start: -8%; }
.edition-covers span:first-child { transform: rotate(-7deg); }
.edition-covers span:nth-child(2) { position: relative; z-index: 1; transform: translateY(-8%); }
.edition-covers span:nth-child(3) { transform: rotate(7deg); }
.edition-covers img { display: block; width: 100%; height: auto; }
.buying-section { padding-block: clamp(24px,3.3vw,46px); scroll-margin-top: 88px; }
.buying-section h2, .buying-list-title { margin-block: 0 20px; color: var(--ink); font-size: clamp(23px,2.2vw,34px); line-height: 1.3; letter-spacing: -.025em; }
.edition-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: clamp(14px,1.8vw,24px); }
.edition-cards article { display: flex; flex-direction: column; gap: 15px; min-width: 0; padding: clamp(16px,1.8vw,26px); background: var(--surface); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 4px 14px #1934510a; }
.edition-card-top { display: flex; align-items: center; gap: 13px; }
.edition-card-top img { width: 64px; height: 64px; object-fit: contain; border-radius: 7px; }
.edition-card-top small { color: var(--sub); font-size: 12px; }
.edition-card-top h3 { margin: 3px 0 0; font-size: 18px; line-height: 1.4; }
.edition-cards p, .buying-faq p { color: var(--sub); font-size: 14px; line-height: 1.75; }
.edition-cards dl { margin: auto 0 0; border-block-start: 1px solid var(--line); padding-block-start: 10px; }
.edition-cards dl div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 13px; }
.edition-cards dt { color: var(--sub); }
.edition-cards dd { margin: 0; text-align: end; font-weight: 650; }
.buy-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.buy-table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); }
.buy-table-wrap :is(th,td) { padding: 13px 16px; text-align: start; border-block-end: 1px solid var(--line); }
.buy-table-wrap thead { color: var(--sub); background: var(--surface-soft); }
.buy-table-wrap tr:last-child td,.buy-table-wrap tbody tr:last-child th { border-bottom: 0; }
.buy-table-wrap td:last-child { white-space: nowrap; }
.buy-table-wrap a,.detail-back,.related-buy a { color: var(--blue); }
.buy-table-wrap a:hover,.related-buy a:hover,.edition-card-top a:hover { text-decoration: underline; }
.buying-list-title { padding-block-start: 28px; }
.related-buy > div { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.related-buy a { padding: 7px 13px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.buying-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.buying-faq summary { font-weight: 650; cursor: pointer; }
.buying-faq p { margin: 11px 0 0; }
.detail-back { display: inline-block; margin-bottom: 16px; font-size: 13px; }
body[data-store-page] :is(#guides,#faq,#store-info) { display: none; }
body[data-store-page] #catalog { scroll-margin-top: 84px; }
[data-theme="dark"] .buying-eyebrow { color: #a9cdff; }
@media(max-width:740px) {
  .buying-hero-inner { grid-template-columns: minmax(0,1fr); gap: 30px; padding-block: 34px 42px; }
  .edition-board { width: min(100%,260px); }
  .edition-covers { max-width: 340px; justify-self: center; }
  .page-trail ol { font-size: 12px; padding-block: 10px; }
  .buy-table-wrap :is(td,th) { padding: 9px; }
  .buy-table-wrap table { min-width: 500px; font-size: 13px; }
}

.edition-options h3, .edition-options p { margin: 0; }
.edition-options small { color: var(--sub); }
.edition-options article > a { margin-top: auto; color: var(--blue); font-weight: 650; }
.edition-board span:nth-child(n+7) b { font-size: clamp(16px,1.6vw,24px); }

.compact-buying-hero > .shell { padding-block: clamp(30px,4vw,64px); }
.buying-hero .button.primary { color: #fff; background: linear-gradient(#3189ff,#0875eb); border-color: #0873e2; box-shadow: inset 0 1px 0 #ffffff42, 0 3px 6px #165a9b26; }
.buying-hero .button.primary:hover { background: linear-gradient(#2180ff,#056ad8); }
.buying-hero .button.secondary { color: #086ace; border-color: #2883e7; background: var(--surface); }
[data-theme="dark"] .buying-hero .button.secondary { color: #a9cdff; }

.product-guide { max-width: 78ch; color: var(--sub); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.product-guide section + section { margin-block-start: 28px; border-block-start: 1px solid var(--line); padding-block-start: 22px; }
.product-guide h3 { margin: 0 0 10px; color: var(--ink); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; }
.product-guide p { margin: 0 0 10px; }
.product-guide a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.guide-apps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 28px; margin: 16px 0 0; }
.guide-apps div { padding-inline-start: 12px; border-inline-start: 2px solid var(--line); }
.guide-apps dt, .guide-steps strong, .guide-questions summary { color: var(--ink); font-weight: 650; }
.guide-apps dd { margin: 2px 0 0; }
.guide-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.guide-steps { margin: 0; padding-inline-start: 1.6em; }
.guide-steps li { padding-inline-start: .35em; margin-block: 7px; }
.guide-steps li::marker { color: var(--blue); font-weight: 650; }
.guide-questions details { border-block-end: 1px solid var(--line); }
.guide-questions summary { padding-block: 12px; cursor: pointer; }
.guide-questions details p { margin-block: 0 16px; }
@media (max-width: 600px) { .guide-apps { grid-template-columns: 1fr; gap: 12px; } }

.product-platforms { display: grid; gap: 8px; margin-block: 16px 20px; scroll-margin-top: 6rem; }
.product-platforms strong { font-size: 14px; color: var(--ink); }
.product-platforms > div { display: flex; flex-wrap: wrap; gap: 8px; }
.product-platforms a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--surface); text-decoration: none; }
.product-platforms a:hover, .product-platforms a:focus-visible { border-color: var(--blue); color: var(--blue); }
.product-platforms a[aria-current="page"] { border-color: var(--blue); color: var(--blue); background: var(--nav-tint); font-weight: 700; }
