.technical-shell { max-width: 74rem; margin-inline: auto; padding: 1.25rem; }
.technical-shell details, .technical-shell section, .technical-grid > li { border: 1px solid #d7e0e9; border-radius: .5rem; padding: .85rem; margin-block: .7rem; }
.technical-shell summary { cursor: pointer; font-weight: 650; }
.technical-shell table { border-collapse: collapse; width: 100%; }
.technical-shell th, .technical-shell td { padding: .65rem; border-bottom: 1px solid #d7e0e9; text-align: left; vertical-align: top; }
.technical-shell thead { background: #f1f5f9; }
.technical-table { overflow: auto; max-height: 36rem; }
.technical-table thead th { position: sticky; top: 0; background: #f1f5f9; }
.technical-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .85rem; }
ul.technical-grid { padding: 0; list-style: none; }
.technical-image { object-fit: contain; max-width: 100%; }
.technical-brands, .technical-picker { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; margin-block: 1rem; }
.technical-picker label, .technical-picker input, .technical-picker select { display: block; max-width: 100%; }
.technical-picker > div { min-width: 0; }

.technical-shell { color: #142033; }
.technical-shell a { color: #1b4b81; }
.technical-shell h1 { line-height: 1.15; overflow-wrap: anywhere; }
.technical-shell section h2 { margin-top: 0; }
.technical-shell input, .technical-shell select, .technical-shell button {
  min-height: 2.5rem; border: 1px solid #c8d3df; border-radius: .4rem; padding: .4rem .65rem;
  font: inherit; background: #fff; color: inherit;
}
.technical-shell button { background: #142033; color: #fff; cursor: pointer; }
.technical-shell input[type="checkbox"] { min-height: 0; }
.technical-picker input { margin-block: .25rem; }
.technical-chart { width: 100%; max-height: 12rem; }
.technical-chart path { fill: none; stroke: #1b4b81; stroke-width: 2px; }
.technical-chart circle { fill: #1b4b81; }
.technical-dynamic { max-height: 70vh; overflow: auto; }
.technical-dynamic table { min-width: 38rem; }
.technical-dynamic thead th { position: sticky; top: 0; z-index: 1; background: #fff; }
.technical-dynamic thead img { display: block; object-fit: contain; }
.technical-dynamic .technical-change { background: #edf7ff; }

.technical-shell {
  --spec-accent: #b83a00;
  --spec-orange: #ff4b00;
  --spec-soft: #fff4ed;
  --spec-line: #e6e8ed;
  --spec-muted: #526070;
  width: min(100%, 86rem);
  max-width: none;
  padding: clamp(1rem, 3vw, 2.5rem);
  color: #101526;
}
.technical-shell a { color: var(--spec-accent); }
.technical-shell :focus-visible { outline: 2px solid var(--spec-accent); outline-offset: 3px; }
.technical-shell button { border-color: var(--spec-accent); background: var(--spec-accent); }
.technical-shell button[data-technical-add] { background: #fff; color: var(--spec-accent); }
.spec-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: 1rem; font-size: .875rem; }
.spec-breadcrumb a { color: var(--spec-muted); }
.spec-hero { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding: clamp(1.25rem, 4vw, 3.5rem); border: 1px solid var(--spec-line); border-radius: 1.4rem; background: linear-gradient(130deg, #fafbfe, #fff 72%); }
.spec-hero-text { grid-template-columns: minmax(0, 1fr); }
.spec-hero h1 { margin: 0 0 .7rem; max-width: 22ch; font-size: clamp(2rem, 4vw, 4rem); font-weight: 800; letter-spacing: -.047em; }
.spec-media { display: grid; place-items: center; min-width: 0; }
.spec-media img { height: auto; width: min(100%, 25rem); aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.spec-muted { color: var(--spec-muted); }
.spec-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.spec-actions > * { padding: .75rem 1rem !important; border-radius: .65rem !important; font-weight: 700 !important; }
.technical-shell .spec-primary { background: var(--spec-accent); color: #fff; text-decoration: none; }
.spec-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem; margin-top: 1rem; }
.spec-price strong { font-size: 1.85rem; }
.spec-price span { color: var(--spec-muted); }
.spec-configurations { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.spec-configurations li { border: 1px solid var(--spec-line); border-radius: .45rem; padding: .35rem .55rem; font-size: .85rem; }
.spec-intro { color: var(--spec-muted); max-width: 72ch; margin: 1.45rem 0; line-height: 1.65; }
.spec-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .65rem; padding: 0; margin: 1.25rem 0; list-style: none; }
.spec-features li { min-width: 0; display: grid; align-content: start; gap: .35rem; padding: .9rem; border: 1px solid var(--spec-line); border-radius: .75rem; overflow-wrap: anywhere; }
.spec-features span { color: var(--spec-muted); font-size: .85rem; }
.spec-icon { flex: 0 0 auto; width: 1.4rem; height: 1.4rem; color: var(--spec-accent); }
.spec-jump { position: sticky; top: var(--spec-header-offset, 0px); z-index: 4; display: flex; gap: .35rem; overflow: auto; background: #fff; padding: .5rem; margin: 1.75rem 0 1.2rem; border: 1px solid var(--spec-line); border-radius: .7rem; }
.spec-jump a { padding: .55rem .65rem; white-space: nowrap; text-decoration: none; border-radius: .4rem; font-size: .9rem; font-weight: 700; }
.spec-jump a:hover, .spec-jump a:focus-visible { background: var(--spec-soft); }
.technical-device .spec-section { padding: 0; border: 0; margin: 1.6rem 0; scroll-margin-top: calc(var(--spec-header-offset, 0px) + 4.5rem); }
.spec-section > h2 { font-size: clamp(1.35rem, 2.5vw, 2rem); letter-spacing: -.025em; margin-bottom: .85rem; }
.spec-groups { columns: 2; column-gap: .85rem; }
.spec-group { break-inside: avoid; border: 1px solid var(--spec-line); border-radius: .75rem; overflow: hidden; margin-bottom: .85rem; }
.spec-group h3 { display: flex; align-items: center; gap: .55rem; margin: 0; padding: .75rem .9rem; background: #f7f8fb; font-size: 1.05rem; }
.spec-group table { table-layout: fixed; }
.spec-group th { width: 48%; font-weight: 600; }
.spec-group th, .spec-group td { padding: .65rem .85rem; overflow-wrap: anywhere; border-color: var(--spec-line); }
.spec-group tbody tr:nth-child(even) { background: #fafbfc; }
.spec-group tbody tr:last-child > * { border-bottom: 0; }
.spec-link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .7rem; list-style: none; padding: 0; }
.spec-link-grid li, .spec-history { padding: .9rem; border: 1px solid var(--spec-line); border-radius: .75rem; }
.spec-link-grid li > strong { display: block; margin-top: .35rem; }
.spec-pair { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.spec-pair > span { display: grid; justify-items: center; text-align: center; min-width: 0; }
.spec-pair img { object-fit: contain; }
.spec-pair > strong { border-radius: .3rem; background: var(--spec-soft); padding: .25rem; font-size: .8rem; }
.spec-sources, .spec-international { border-color: var(--spec-line) !important; }
.spec-international .spec-groups { margin-top: 1rem; }
.technical-table thead th { background: var(--spec-soft); }
.technical-table .technical-change { background: #fff1e5; }
.technical-table table { min-width: min(44rem, 150vw); }
@media (max-width: 720px) {
  .spec-hero { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .spec-media img { width: min(100%, 14rem); }
  .spec-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-groups { columns: 1; }
}

.spec-gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; padding: 0; margin: .65rem 0 0; list-style: none; }
.spec-gallery a { display: block; padding: .25rem; border: 1px solid var(--spec-line); border-radius: .4rem; }
.spec-gallery img { display: block; width: 3.25rem; height: 3.25rem; }

.spec-placeholder { display: grid; width: 100%; aspect-ratio: 1; place-items: center; color: #a15231; background: #fbf3ee; border-radius: .75rem; }
.spec-media > .spec-placeholder { max-width: 25rem; }
.technical-shell .spec-secondary { display: inline-flex; align-items: center; border: 1px solid var(--spec-line); border-radius: .65rem; background: #fff; padding: .7rem .95rem; font-weight: 700; text-decoration: none; }
.spec-peer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .8rem; padding: 0; list-style: none; margin: 0 0 .9rem; }
.spec-peer-grid li { min-width: 0; }
.spec-peer-grid a { display: grid; height: 100%; align-content: start; gap: .35rem; padding: .8rem; border: 1px solid var(--spec-line); border-radius: .75rem; text-decoration: none; overflow-wrap: anywhere; }
.spec-peer-grid a:hover { border-color: var(--spec-accent); }
.spec-peer-grid img, .spec-peer-grid .spec-placeholder { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.spec-peer-grid span:not(.spec-placeholder) { color: var(--spec-muted); font-size: .85rem; }
@media (max-width: 720px) {
  .spec-media > .spec-placeholder { max-width: 14rem; }
  .spec-peer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.technical-shell .spec-variant-gallery { width: 100%; padding: 0; margin: .8rem 0 0; border: 0; text-align: center; }
.spec-variant-gallery h2 { margin: 0; font-size: 1rem; }
.spec-variant-gallery .spec-gallery { max-width: 100%; }
.spec-variant-gallery img { object-fit: contain; }

/* Device page uses the same orange, ink and neutral surfaces as the shop chrome. */
.technical-device {
  --spec-orange: var(--header-orange, #ff4b00);
  --spec-accent: #a83709;
  --spec-soft: #fff2eb;
  color: var(--header-ink, #101526);
}
.technical-device .spec-hero { gap: clamp(1.35rem, 3vw, 3rem); background: #fff; }
.spec-hero > .spec-features {
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--spec-line);
}
.spec-hero > .spec-features li { background: #f7f8fa; border-color: transparent; }
.technical-device .spec-actions { align-items: center; }
.technical-device .spec-actions > :is(.spec-primary, button, .spec-browse) {
  padding: .7rem 1rem !important;
  border-radius: .7rem !important;
}
.technical-device .spec-actions > :is(.spec-primary, button:not([hidden])) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; font-weight: 750;
}
.technical-device .spec-primary { border: 1px solid var(--spec-orange); background: var(--spec-orange); color: #101526; }
.technical-device .spec-primary:hover { background: #ff6a2b; }
.technical-device .spec-actions button { border-color: #ffc9b1; background: #fff; color: var(--spec-accent); }
.technical-device .spec-actions button:hover, .technical-device .spec-actions button[aria-pressed="true"] { background: var(--spec-soft); }
.technical-device .spec-actions > .spec-browse { padding-inline: .15rem !important; color: var(--spec-accent); text-underline-offset: .2rem; }

.spec-offer-grid, .spec-news-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
@media (min-width: 721px) {
  .technical-device .spec-peer-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }
}
.spec-offer-grid li, .spec-news-grid li { padding: 0; overflow: hidden; background: #fff; }
.spec-offer-grid a, .spec-news-grid a {
  display: flex; height: 100%; gap: .8rem; align-items: center; padding: .8rem;
  color: inherit; text-decoration: none;
}
.spec-offer-grid a:hover, .spec-news-grid a:hover { background: #fff8f4; }
.spec-offer-grid a:focus-visible, .spec-news-grid a:focus-visible { outline-offset: -3px; }
.spec-offer-grid img, .spec-offer-grid .spec-placeholder {
  flex: 0 0 5rem; width: 5rem; height: 5rem; object-fit: contain;
  border-radius: .5rem; background: #f7f8fa;
}
.spec-offer-grid .spec-placeholder svg { width: 2.25rem; height: 2.25rem; }
.spec-offer-copy, .spec-news-grid a > span { display: grid; gap: .35rem; min-width: 0; overflow-wrap: anywhere; }
.spec-offer-copy small, .spec-news-grid time { color: var(--spec-muted); font-size: .8rem; }
.spec-offer-copy strong { font-size: 1.1rem; }
.spec-news-grid img { flex: 0 0 7rem; width: 7rem; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; }

.technical-device .spec-history { margin-top: 1.25rem; padding: clamp(1rem, 3vw, 1.65rem); }
.spec-history-heading, .spec-alert-panel { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.spec-history-heading h3 { margin: 0 0 .35rem; }
.spec-history-heading p, .spec-alert-panel p { margin: 0; font-size: .9rem; color: var(--spec-muted); }
.spec-history-price { display: grid; gap: .15rem; flex: none; text-align: right; }
.spec-history-price span { color: var(--spec-muted); font-size: .8rem; }
.spec-history-price strong { font-size: 1.25rem; }
.technical-device .technical-chart { display: block; margin: 1rem 0; }
.technical-device .technical-chart path { stroke: var(--spec-orange); }
.technical-device .technical-chart circle { fill: var(--spec-orange); }
.spec-alert-panel { margin-top: 1rem; padding: 1rem; border: 1px solid #ffddc9; border-radius: .7rem; background: var(--spec-soft); }
.spec-alert-panel p { margin-top: .25rem; }
.technical-device .spec-alert-trigger {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px; padding: .6rem .85rem; border-color: #ffc9b1; border-radius: .65rem;
  background: #fff; color: var(--spec-accent); font-weight: 750;
}
.technical-device .spec-alert-trigger:hover { border-color: var(--spec-orange); }
.technical-device .price-alert-dialog [data-price-alert-close] { color: var(--header-ink, #101526); background: transparent; border: 0; }
.technical-device .price-alert-dialog button[type="submit"] { background: var(--spec-orange); border-color: var(--spec-orange); color: #101526; }
@media (max-width: 1050px) {
  .spec-hero > .spec-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .spec-hero > .spec-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-alert-panel, .spec-history-heading { align-items: flex-start; flex-direction: column; }
  .spec-history-price { text-align: left; }
}

.technical-device { --spec-header-offset: var(--site-header-height, 0px); }
.technical-archive-intro { margin: 1.25rem 0; }
.technical-archive .technical-archive-intro {
  padding: clamp(1.2rem, 4vw, 2.4rem); border: 1px solid var(--spec-line); border-radius: 1rem;
  background: linear-gradient(130deg, #fff2eb, #fff 68%);
}
.technical-archive-intro h1 { margin: 0 0 1rem; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.045em; }
.technical-archive-search { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.technical-archive-search label { font-weight: 650; }
.technical-archive-search input[type="text"], .technical-archive-search input:not([type]) { flex: 0 1 24rem; min-width: 0; }
.technical-archive .technical-archive-search button { background: var(--header-orange, #ff4b00); color: #101526; border-color: transparent; font-weight: 750; }
.technical-archive .technical-brands a { border: 1px solid var(--spec-line); border-radius: 999px; padding: .45rem .75rem; text-decoration: none; }
.technical-archive .technical-brands a:hover { border-color: var(--header-orange, #ff4b00); background: #fff2eb; }
.technical-model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: .9rem; padding: 0; margin: 1.15rem 0; list-style: none; }
.technical-model-card { display: flex; flex-direction: column; gap: .65rem; padding: .85rem; border: 1px solid var(--spec-line); border-radius: .85rem; }
.technical-model-card:hover { border-color: #ffb494; }
.technical-shell .technical-model-link { display: grid; gap: .35rem; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.technical-model-media { display: grid; height: 10.5rem; place-items: center; border-radius: .6rem; background: #f7f8fa; overflow: hidden; }
.technical-model-media img { display: block; width: 100%; height: 100%; max-height: 10.5rem; object-fit: contain; mix-blend-mode: multiply; }
.technical-model-media .spec-placeholder { height: 100%; }
.technical-model-category, .technical-model-price { color: var(--spec-muted); font-size: .85rem; }
.technical-model-card button:not([hidden]) { width: 100%; margin-top: auto; border-color: #ffc9b1; }
@media (max-width: 500px) {
  .technical-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .technical-model-card { padding: .55rem; }
  .technical-model-media { height: 8.25rem; }
  .technical-model-media img { max-height: 8.25rem; }
  .technical-archive-search label { flex-basis: 100%; }
  .technical-archive-search input:not([type]) { flex: 1 1 8rem; }
}

.compare-page { max-width: 82rem; }
.compare-page h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.055em; margin: 1rem 0 .65rem; }
.technical-shell.compare-page .compare-workspace {
  background: linear-gradient(145deg, #fff7f0, #fff 62%);
  border: 1px solid #edd7ca; border-radius: 1rem; padding: clamp(1rem, 3vw, 1.75rem); margin-block: 1.4rem;
}
.compare-workspace h2 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin: 0 0 .9rem; }
.compare-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: start; margin: 0; }
.compare-field label { font-weight: 700; margin-bottom: .4rem; }
.compare-field select, .compare-field input { width: 100%; min-width: 0; min-height: 2.75rem; }
.compare-field input { margin: 0 0 .4rem; }
.compare-field small { display: block; min-height: 1.25rem; margin-top: .25rem; color: #515e70; }
.technical-shell .compare-submit { background: #a93508; border-color: #a93508; min-height: 2.75rem; font-weight: 750; align-self: center; padding-inline: 1.2rem; }
.technical-shell .compare-submit:hover { background: #862b07; }
.compare-error { color: #942d0a; font-weight: 650; }
.compare-page .technical-brands a { border: 1px solid #e1e5ec; border-radius: 1.5rem; text-decoration: none; padding: .35rem .75rem; }
.compare-page .technical-brands a:hover { border-color: #d98762; }
.compare-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-block: 1rem; }
.compare-page .technical-dynamic { border: 1px solid #e1e5ec; border-radius: .9rem; }
.compare-page .technical-dynamic thead th { background: #faf7f4; }
.compare-page .technical-dynamic thead img { margin-bottom: .4rem; }
.compare-page .compare-group { background: #f0f3f7; }
.compare-page .technical-change { background: #fff5e9; }
.compare-editorial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.compare-editorial-grid a { display: block; padding: .9rem; border: 1px solid #e1e5ec; border-radius: .7rem; text-decoration: none; font-weight: 650; }
@media (max-width: 760px) {
  .compare-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .technical-shell .compare-submit { align-self: center; }
}
@media (max-width: 480px) {
  .compare-picker { grid-template-columns: minmax(0, 1fr); }
}
