/* Comparison pages: redesigned 2026-11-09. Seller photos are always shown whole (object-fit: contain). */
.cmp { --cmp-night: #0e1d17; --cmp-mint: #8fe3ba; --cmp-w: 1040px; background: #f5f7f5; padding-bottom: 3rem; }
.cmp .page-hero { background: radial-gradient(900px 380px at 88% -30%, #2b8a60 0%, rgba(43,138,96,0) 65%), var(--cmp-night); color: #fff; border: 0; padding: 1.6rem 0 0; }
.cmp .page-hero .container { width: min(calc(100% - 2rem), var(--cmp-w)); max-width: none; margin-inline: auto; padding: 0 0 5.2rem; }
.cmp .page-hero .breadcrumb, .cmp .page-hero .breadcrumb a, .cmp .page-hero .breadcrumb span { color: rgba(255,255,255,.66); border-color: rgba(255,255,255,.3); }
.cmp .page-hero .eyebrow { margin: .5rem 0 .55rem; color: var(--cmp-mint); font-size: .76rem; letter-spacing: .09em; }
.cmp .page-hero h1 { margin: 0; max-width: 30ch; color: #fff; text-shadow: none; font-size: clamp(1.62rem, 3.6vw, 2.75rem); line-height: 1.12; letter-spacing: -.022em; }
.cmp .page-hero .cmp-lede { margin: .8rem 0 0; max-width: 60ch; color: rgba(255,255,255,.8); font-size: 1.05rem; }
.cmp .page-hero .container p.cmp-disclosure { display: block; margin: .85rem 0 0; max-width: 88ch; color: rgba(255,255,255,.66); font-size: .78rem; line-height: 1.45; }
.cmp .cmp-disclosure strong { color: #fff; }
.cmp .cmp-disclosure a { color: inherit; text-decoration: underline; border: 0; }

.cmp .laptop-guide { width: min(calc(100% - 2rem), var(--cmp-w)); max-width: none; margin-inline: auto; padding: 0; }
.cmp .laptop-guide > section { margin-top: 2.75rem; }
.cmp .laptop-guide h2 { margin: 0 0 1rem; font-size: 1.5rem; letter-spacing: -.015em; }
.cmp .laptop-guide > section.cmp-duel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: -3.9rem; }
.cmp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.cmp-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(14,29,23,.06), 0 18px 44px -14px rgba(14,29,23,.26); }
.cmp-media { height: 260px; padding: .9rem; background: #fff; border-bottom: 1px solid #edf0ed; }
.cmp-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cmp-chip { position: absolute; top: .85rem; left: .85rem; padding: .22rem .62rem; border-radius: 999px; background: #e3f6ec; color: var(--green-dark); font-size: .74rem; font-weight: 800; }
.cmp-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 1.3rem 1.3rem; }
.cmp-card h3 { margin: 0; font-size: 1.22rem; line-height: 1.25; letter-spacing: -.01em; }
.cmp-price { margin: .4rem 0 0; color: var(--muted); font-size: .8rem; }
.cmp-price strong { margin-right: .35rem; color: var(--ink); font-size: 1.65rem; letter-spacing: -.02em; }
.cmp-why { margin: .7rem 0 1.05rem; color: #3f4a44; font-size: .97rem; line-height: 1.5; }
.cmp .pick-actions { display: grid; gap: .5rem; margin: auto 0 0; }
.cmp .button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0; border-radius: 10px; font-size: .95rem; font-weight: 800; text-align: center; transition: transform .15s ease, background .15s ease; }
.cmp .button:hover { transform: translateY(-1px); }
.cmp-vs { position: absolute; z-index: 2; top: 135px; left: 50%; display: grid; place-items: center; width: 54px; height: 54px; border: 4px solid #fff; border-radius: 50%; background: var(--cmp-night); color: #fff; font-size: .82rem; font-weight: 900; letter-spacing: .04em; transform: translate(-50%, -50%); }

.cmp-table { overflow-x: auto; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(14,29,23,.06), 0 10px 28px -16px rgba(14,29,23,.22); }
.cmp .cmp-table .spec-table { font-size: .95rem; }
.cmp .cmp-table th, .cmp .cmp-table td { padding: .95rem 1.1rem; border-bottom: 1px solid #edf0ed; vertical-align: middle; }
.cmp .cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp .cmp-table thead th { background: #fff; color: var(--ink); font-size: .95rem; font-weight: 800; letter-spacing: 0; text-transform: none; }
.cmp .cmp-table thead img { display: block; width: 52px; height: 52px; margin-bottom: .45rem; object-fit: contain; border-radius: 8px; }
.cmp .cmp-table tbody th { width: 24%; color: var(--muted); font-size: .86rem; font-weight: 700; }
.cmp .cmp-table tr.cmp-price-row > * { background: #effaf4; color: var(--green-dark); font-weight: 800; }
.cmp .table-note { margin-top: .75rem; font-size: .8rem; }

.cmp .laptop-guide > section.cmp-buy { padding: 2rem; border-radius: 18px; background: radial-gradient(700px 300px at 100% 0%, #2b8a60 0%, rgba(43,138,96,0) 70%), var(--cmp-night); }
.cmp .cmp-buy h2 { color: #fff; }
.cmp-buy-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.cmp-buy-row { display: grid; grid-template-columns: 72px 1fr minmax(230px, 300px); gap: 1rem; align-items: center; padding: .85rem 1rem; background: #fff; border-radius: 12px; }
.cmp-buy-row img { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; }
.cmp-buy-row h3 { margin: 0; font-size: 1.04rem; line-height: 1.25; }
.cmp-buy-row .cmp-price { margin-top: .15rem; }
.cmp-buy-row .cmp-price strong { font-size: 1.1rem; }
.cmp-buy-row .pick-price { margin: 0; color: var(--muted); font-size: .86rem; }
.cmp .cmp-buy .table-note { color: rgba(255,255,255,.66); }
.cmp .cmp-buy .table-note a { color: inherit; }

.cmp .faq { margin-top: .55rem; padding: 0; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(14,29,23,.06); }
.cmp .faq summary { position: relative; padding: 1rem 3rem 1rem 1.15rem; list-style: none; }
.cmp .faq summary::-webkit-details-marker { display: none; }
.cmp .faq summary::after { content: "+"; position: absolute; top: 50%; right: 1.15rem; color: var(--green); font-size: 1.4rem; font-weight: 500; line-height: 1; transform: translateY(-50%); }
.cmp .faq[open] summary::after { content: "\2212"; }
.cmp .faq p { margin: 0; padding: 0 1.15rem 1.1rem; }
.cmp .related { margin: 2rem 0 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 720px) {
  .cmp .page-hero { padding-top: 1rem; }
  .cmp .page-hero .container { padding-bottom: 3.4rem; }
  .cmp .page-hero .container p.cmp-lede { display: none; }
  .cmp .laptop-guide > section.cmp-duel { grid-template-columns: 1fr; gap: .85rem; margin-top: -2.4rem; }
  .cmp-vs, .cmp-chip { display: none; }
  .cmp-card { display: grid; grid-template-columns: 84px 1fr; column-gap: .85rem; padding: .95rem; align-items: start; }
  .cmp-media { grid-row: 1 / span 2; width: 84px; height: 84px; aspect-ratio: auto; padding: 0; border: 0; }
  .cmp-body { display: contents; }
  .cmp-card h3 { grid-column: 2; font-size: 1.04rem; }
  .cmp-price { grid-column: 2; margin-top: .15rem; }
  .cmp-price strong { font-size: 1.3rem; }
  .cmp-why { grid-column: 1 / -1; margin: .65rem 0 .75rem; font-size: .92rem; }
  .cmp .pick-actions { grid-column: 1 / -1; }
  .cmp .cmp-table th, .cmp .cmp-table td { padding: .75rem .7rem; }
  .cmp .cmp-table .spec-table { font-size: .86rem; }
  .cmp .cmp-table thead th { font-size: .84rem; }
  .cmp .laptop-guide > section.cmp-buy { padding: 1.25rem 1rem; }
  .cmp-buy-row { grid-template-columns: 60px 1fr; gap: .75rem; }
  .cmp-buy-row img { width: 60px; height: 60px; }
  .cmp-buy-row .pick-actions, .cmp-buy-row > .pick-price { grid-column: 1 / -1; }
}
