.laptop-page {
  background: #f4f7fb;
}

.collection-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(34, 201, 221, 0.28), transparent 28%),
    linear-gradient(130deg, #062459, #075cb5 68%, #0c95aa);
}

.collection-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000, transparent 84%);
}

.collection-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 440px;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
  align-items: center;
  gap: 34px;
  padding-block: 58px;
}

.collection-kicker {
  margin: 0 0 12px;
  color: #77e6f0;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.collection-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.collection-summary {
  max-width: 690px;
  margin: 19px 0 0;
  color: #e2efff;
  font-size: clamp(1.02rem, 1.5vw, 1.19rem);
}

.hero-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.hero-chip {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 11px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(255,255,255,.1);
  font-size: .9rem;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.hero-chip-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #063877;
  background: #8cecf4;
  font-size: .76rem;
  font-weight: 900;
}

.collection-visual {
  display: grid;
  min-height: 310px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  background: radial-gradient(circle, #fff 0%, #f2f8ff 56%, rgba(255,255,255,.72) 100%);
  box-shadow: 0 25px 60px rgba(0,0,0,.18);
}

.collection-visual img {
  width: 94%;
  height: 300px;
  object-fit: contain;
}

.content-stack {
  display: grid;
  gap: 22px;
  padding: 28px 0 70px;
}

.evidence-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  border: 1px solid #b8e3ee;
  border-radius: 16px;
  padding: 21px 23px;
  background: linear-gradient(125deg, #e9faff, #f5fbff);
}

.evidence-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--teal-700);
  font-size: 1.5rem;
  font-weight: 900;
}

.evidence-note h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.28rem;
}

.evidence-note p {
  margin: 6px 0 0;
  color: #334261;
}

.comparison-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.comparison-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.comparison-head h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.comparison-hint {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.explanation-toggle {
  min-height: 42px;
  flex: 0 0 auto;
  border: 1px solid #a9bee1;
  border-radius: 9px;
  padding: 8px 12px;
  color: var(--blue-700);
  background: #f5f9ff;
  font-weight: 800;
  cursor: pointer;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #ccd7e8;
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-table th,
.compare-table td {
  border-right: 1px solid #dbe3ef;
  border-bottom: 1px solid #dbe3ef;
  padding: 12px 11px;
  vertical-align: middle;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: 0;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table thead th {
  color: #fff;
  background: linear-gradient(180deg, #0d3475, #082659);
  font-size: .88rem;
  line-height: 1.1;
  text-align: center;
}

.compare-table thead th:first-child {
  width: 55%;
  text-align: left;
}

.compare-table thead th:not(:first-child) {
  width: 15%;
}

.compare-table thead small {
  display: block;
  margin-top: 2px;
  font-weight: 500;
}

.compare-table .level-row th {
  border-right: 0;
  padding: 8px 11px;
  color: var(--level-color, #075e66);
  background: var(--level-bg, #edf9fa);
  font-size: .82rem;
  letter-spacing: .05em;
  text-align: left;
  text-transform: uppercase;
}

.compare-table .product-row:hover td {
  background: #f7faff;
}

.compare-table .product-cell {
  text-align: left;
}

.compare-table .product-cell a {
  color: var(--navy-950);
  font-weight: 850;
  text-decoration: none;
}

.compare-table .product-cell a:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

.compare-spec {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.32;
}

.compare-number {
  color: var(--navy-950);
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

.score-source {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: .78rem;
}

.level-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.legend-item {
  border-left: 4px solid var(--legend-color);
  border-radius: 6px;
  padding: 7px 9px;
  color: #42506c;
  background: #f7f9fc;
  font-size: .75rem;
}

.legend-item strong {
  display: block;
  color: var(--navy-950);
}

.products-heading {
  padding-top: 14px;
}

.products-heading h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.products-heading p {
  margin: 7px 0 0;
  color: var(--muted);
}

.product-list {
  display: grid;
  gap: 24px;
}

.laptop-card {
  scroll-margin-top: 94px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.laptop-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  border-top: 6px solid var(--level-color, var(--teal-700));
  border-bottom: 1px solid var(--line);
  padding: 21px 24px 18px;
  background: linear-gradient(120deg, var(--level-tint, #effafa), #fff 58%);
}

.laptop-card h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.42rem, 2.5vw, 2rem);
  line-height: 1.14;
}

.model-line {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.level-pill {
  display: inline-flex;
  margin-top: 10px;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--level-color, var(--teal-700));
  background: var(--level-tint, #effafa);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.card-price {
  color: var(--blue-700);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.laptop-card-main {
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr);
  gap: 24px;
  padding: 24px;
}

.product-photo-button {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  background: #fbfcfe;
  cursor: zoom-in;
}

.product-photo-button img {
  width: 100%;
  height: 300px;
  object-fit: contain;
}

.photo-caption {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .75rem;
  text-align: center;
}

.provenance {
  display: inline-flex;
  margin-top: 10px;
  border: 1px solid #b7c8e5;
  border-radius: 999px;
  padding: 4px 9px;
  color: #224a86;
  background: #edf5ff;
  font-size: .72rem;
  font-weight: 800;
}

.product-intro {
  margin: 0;
  color: #263653;
  font-size: 1rem;
}

.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px 0 0;
}

.fact-chip {
  border: 1px solid #a9c2eb;
  border-radius: 999px;
  padding: 5px 9px;
  color: #174d9a;
  background: #f5f9ff;
  font-size: .75rem;
  font-weight: 750;
}

.fact-chip.condition {
  border-color: #91ceb0;
  color: #08723a;
  background: #f1fbf5;
}

.fact-chip.availability {
  border-color: #efb678;
  color: #994c00;
  background: #fff8ee;
}

.block-title {
  margin: 21px 0 8px;
  color: var(--navy-950);
  font-size: .93rem;
}

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

.use-item {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 10px;
  color: #263653;
  background: #fbfcfe;
  font-size: .82rem;
  font-weight: 700;
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.pros,
.considerations {
  border-radius: 12px;
  padding: 14px;
}

.pros {
  border: 1px solid #c6e7d2;
  background: #f2faf5;
}

.considerations {
  border: 1px solid #f0d0a7;
  background: #fff8ef;
}

.pros h3,
.considerations h3 {
  margin: 0 0 8px;
  font-size: .92rem;
}

.pros h3 { color: #096536; }
.considerations h3 { color: #a14f00; }

.pros ul,
.considerations ul {
  margin: 0;
  padding-left: 20px;
}

.pros li,
.considerations li {
  margin: 5px 0;
  color: #34425c;
  font-size: .8rem;
}

.spec-section {
  border-top: 1px solid var(--line);
  padding: 0 24px 24px;
}

.spec-section > h3 {
  margin: 22px 0 12px;
  color: var(--navy-950);
  font-size: 1.15rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  border-top: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 24%;
  color: var(--blue-700);
  font-size: .74rem;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.spec-value {
  color: var(--navy-950);
  font-weight: 750;
}

.spec-table details {
  margin-top: 6px;
}

.spec-table summary {
  width: fit-content;
  color: var(--blue-700);
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
}

.spec-explanation {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.product-gallery-section {
  border-top: 1px solid var(--line);
  padding: 22px 24px 26px;
  background: #fbfcfe;
}

.product-gallery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.product-gallery-heading h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.15rem;
}

.product-gallery-heading .provenance {
  margin-top: 0;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.product-gallery-grid figure {
  min-width: 0;
  margin: 0;
}

.gallery-photo-button {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 5px;
  background: #fff;
  cursor: zoom-in;
}

.gallery-photo-button:hover,
.gallery-photo-button:focus-visible {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(11, 104, 222, .12);
}

.gallery-photo-button img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.product-gallery-grid figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: .74rem;
  text-align: center;
}

.product-gallery-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .79rem;
}

.ask-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  border-top: 1px solid var(--line);
  padding: 20px 24px;
  background: #f7fbf8;
}

.ask-block p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}

.ask-block .btn {
  flex: 0 0 auto;
}

.back-link {
  color: var(--blue-700);
  font-size: .82rem;
  font-weight: 750;
}

.buying-info {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px;
  background: #fff;
}

.buying-info h2 {
  margin: 0 0 18px;
  color: var(--navy-950);
  font-size: 1.75rem;
}

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

.buying-item {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px;
  background: #fbfcfe;
}

.buying-item h3 {
  margin: 0 0 6px;
  color: var(--navy-950);
  font-size: .9rem;
}

.buying-item p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.page-colophon {
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}

.sticky-product-contact {
  position: fixed;
  z-index: 70;
  right: 16px;
  bottom: 16px;
  display: none;
  max-width: min(420px, calc(100% - 32px));
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 10px;
  color: #fff;
  background: #087c3d;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}

.sticky-product-contact.visible {
  display: flex;
}

.sticky-product-contact span {
  min-width: 0;
  overflow: hidden;
  font-size: .8rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-product-contact a {
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 8px 10px;
  color: #087c3d;
  background: #fff;
  font-size: .78rem;
  font-weight: 850;
  text-decoration: none;
}

.sticky-product-contact button {
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(3, 12, 31, .88);
}

.lightbox.open {
  display: grid;
}

.lightbox-panel {
  position: relative;
  display: grid;
  max-width: min(1040px, 96vw);
  max-height: 92vh;
  gap: 9px;
  border-radius: 14px;
  padding: 16px;
  color: #fff;
  background: #0a1630;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(92vh - 80px);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.7);
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-caption {
  margin: 0;
  font-size: .82rem;
  text-align: center;
}

@media (max-width: 850px) {
  .collection-hero-inner {
    grid-template-columns: 1fr;
    padding-block: 38px;
  }

  .collection-visual {
    grid-row: 1;
    min-height: 250px;
  }

  .collection-visual img {
    height: 245px;
  }

  .laptop-card-main {
    grid-template-columns: 1fr;
  }

  .product-photo-button img {
    height: 280px;
  }

  .buying-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .collection-hero-inner {
    gap: 19px;
    padding-block: 24px 30px;
  }

  .collection-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.45rem);
  }

  .collection-summary {
    margin-top: 13px;
    font-size: .98rem;
  }

  .collection-visual {
    min-height: 210px;
  }

  .collection-visual img {
    height: 210px;
  }

  .hero-chips {
    margin-top: 18px;
  }

  .hero-chip {
    min-height: 60px;
    padding: 8px;
    font-size: .78rem;
  }

  .content-stack {
    gap: 16px;
    padding-top: 18px;
  }

  .evidence-note {
    gap: 11px;
    padding: 16px;
  }

  .evidence-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.1rem;
  }

  .evidence-note h2 {
    font-size: 1.08rem;
  }

  .evidence-note p {
    font-size: .85rem;
  }

  .comparison-panel {
    margin-inline: -5px;
    border-radius: 13px;
    padding: 14px 7px 16px;
  }

  .comparison-head {
    display: block;
    padding-inline: 5px;
  }

  .comparison-head h2 {
    font-size: 1.55rem;
  }

  .explanation-toggle {
    width: 100%;
    margin-top: 11px;
  }

  .compare-table th,
  .compare-table td {
    padding: 9px 5px;
  }

  .compare-table thead th {
    font-size: .69rem;
  }

  .compare-table thead th:first-child {
    width: 52%;
  }

  .compare-table thead th:not(:first-child) {
    width: 16%;
  }

  .compare-table .product-cell a {
    font-size: .8rem;
    line-height: 1.18;
  }

  .compare-spec {
    font-size: .64rem;
    line-height: 1.25;
  }

  .compare-number {
    font-size: .73rem;
  }

  .level-legend {
    grid-template-columns: repeat(2, 1fr);
  }

  .laptop-card-head {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 17px;
  }

  .card-price {
    grid-row: 2;
  }

  .laptop-card-main {
    gap: 18px;
    padding: 17px;
  }

  .product-photo-button img {
    height: 235px;
  }

  .use-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .spec-section {
    padding: 0 12px 16px;
  }

  .product-gallery-section {
    padding: 18px 12px 20px;
  }

  .product-gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-photo-button img {
    height: 128px;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
    border-top: 0;
    padding: 6px 5px;
  }

  .spec-table tr {
    display: block;
    border-top: 1px solid var(--line);
    padding: 7px 0;
  }

  .ask-block {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .ask-block .btn {
    width: 100%;
  }

  .buying-info {
    padding: 18px 14px;
  }

  .buying-grid {
    grid-template-columns: 1fr;
  }

  .sticky-product-contact {
    right: 8px;
    bottom: 8px;
    left: 8px;
    max-width: none;
  }
}

@media print {
  .sticky-product-contact,
  .lightbox,
  .explanation-toggle,
  .ask-block {
    display: none !important;
  }

  .laptop-card,
  .buying-item {
    break-inside: avoid;
  }

  .spec-table details {
    display: block;
  }
}
