:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #536179;
  --subtle: #65748b;
  --accent: #254dd3;
  --accent-hover: #1d3caa;
  --tint: #edf2ff;
  --paper: #f5f7fb;
  --surface: #fff;
  --line: #dfe5ef;
  --navy: #111c32;
  --radius: 16px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body.has-shortlist { padding-bottom: 82px; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #476deb; outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
.shell { width: min(100% - 80px, 1240px); margin-inline: auto; }
.icon { display: inline-block; vertical-align: middle; width: 1.2em; height: 1.2em; flex-shrink: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 10; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; flex-shrink: 0; }
.brand-logo { display: block; width: 146px; height: auto; }
.brand small { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .035em; }
nav { display: flex; align-items: center; gap: 12px; }
.nav-link { color: var(--muted); padding: 12px 6px; font-size: 14px; font-weight: 650; }
.nav-link:hover { color: var(--accent); }
.button {
  min-height: 44px; border-radius: 9px; border: 1px solid transparent; padding: 10px 14px; display: inline-flex;
  justify-content: center; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; line-height: 1.25;
  white-space: nowrap; background: transparent; color: var(--ink); transition: background .15s, border-color .15s, color .15s;
}
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: #293954; }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { background: white; color: var(--ink); border-color: #ccd6e5; }
.button-outline:hover, .header-share:hover { background: var(--tint); color: #2143b4; border-color: #b5c6fc; }
.header-share { color: #33425e; }
.quote-count { min-width: 19px; background: #e8eeff; color: #203ea9; padding: 2px 5px; border-radius: 12px; font-size: 11px; }

.hero { margin-top: 28px; min-height: 365px; position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; border-radius: 22px; color: #fff; background: #111d34; }
.hero-content { padding: 38px min(5vw, 60px) 42px; width: 46%; }
.hero-visual { position: absolute; inset: 0 0 0 46%; background: #425787; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; margin: 0; }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thinkpad-slide img { object-position: center 53%; }
.legion-slide { background: radial-gradient(ellipse at center, #91a7cb, #23385d 83%); }
.legion-slide img { object-fit: contain; transform: scale(1.18); }
.hero-slide figcaption, .cover-controls { position: absolute; bottom: 14px; border: 1px solid #ffffff4a; background: #111d34e8; border-radius: 9px; }
.hero-slide figcaption { left: 16px; padding: 9px 12px; color: white; font-size: 13px; font-weight: 720; }
.cover-controls { right: 16px; display: flex; align-items: center; gap: 1px; padding: 2px 4px; }
.cover-controls button { width: 27px; height: 33px; display: grid; place-items: center; color: white; background: transparent; border: 0; border-radius: 5px; }
.cover-controls button:hover { background: #ffffff2e; }
.cover-controls button:focus-visible { outline-color: white; outline-offset: -2px; }
.cover-dot::before { content: ""; width: 8px; height: 8px; border-radius: 100%; background: #aebbd5; }
.cover-dot[aria-pressed="true"]::before { width: 17px; border-radius: 8px; background: #fff; }
.cover-controls .cover-playback { width: 34px; font-size: 15px; }
.hero-kicker { display: flex; align-items: center; gap: 11px; font-size: 11px; letter-spacing: .14em; color: #d2def9; font-weight: 700; }
.lenovo-mark { background: #d71523; padding: 4px 8px 5px; letter-spacing: -.045em; font-size: 17px; color: #fff; line-height: 1; font-weight: 780; }
.hero h1 { margin: 16px 0; font-size: clamp(3rem, 5.4vw, 4.6rem); font-weight: 770; letter-spacing: -.065em; line-height: .99; }
.hero p { max-width: 355px; margin-bottom: 24px; color: #d6e1f6; font-size: 16px; line-height: 1.55; }
.hero .button { background: #3c61e4; }
.hero .button:hover { background: #4d71ee; }
.needs-section { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 17px 22px; }
.needs-intro h2 { font-size: 18px; letter-spacing: -.025em; }
.needs-intro p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.need-options { display: flex; flex-wrap: wrap; gap: 8px; }
.need-button { background: #f6f8fc; border-color: #e0e6f0; color: #3c4a61; }
.need-button[aria-pressed="true"], .category-button[aria-pressed="true"] { color: #2042b0; background: var(--tint); border-color: #9db3f5; }
.need-button:hover, .category-button:hover { border-color: #9db3f5; color: #2042b0; }

.catalog { margin: 33px 0 48px; scroll-margin-top: 20px; }
.catalog > h2 { font-size: clamp(1.55rem, 2.7vw, 2.1rem); letter-spacing: -.048em; margin-bottom: 16px; }
.category-options { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; margin-bottom: 24px; }
.category-button { background: #fff; color: #33425e; border-color: var(--line); min-width: 0; min-height: 69px; flex-direction: column; gap: 5px; padding: 7px 4px; font-size: 13px; white-space: normal; text-align: center; }
.category-button .icon { width: 21px; height: 21px; }
.browse-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 23px; align-items: start; }
.filters { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 18px 15px 19px; }
.filters-title { display: flex; justify-content: space-between; align-items: center; gap: 5px; margin-bottom: 15px; }
.filters-title h3 { font-size: 15px; display: flex; gap: 7px; align-items: center; }
.filters-title .icon { color: var(--accent); }
.text-button { border: 0; background: transparent; color: #2446b7; padding: 7px 3px; font-size: 13px; font-weight: 700; }
.text-button:hover { text-decoration: underline; }
.filter-fields, #category-filters { display: grid; gap: 12px; }
#category-filters:empty { display: none; }
label { display: block; font-size: 13px; font-weight: 690; color: #35435a; }
select, input, textarea { border: 1px solid #ccd6e4; background: #fff; border-radius: 8px; width: 100%; padding: 10px 11px; font-size: 14px; color: var(--ink); margin-top: 6px; min-height: 43px; }
select { padding-right: 5px; }
input::placeholder, textarea::placeholder { color: #69758a; }
textarea { resize: vertical; }
#mobile-filters { display: none; }
.results-heading { display: flex; justify-content: space-between; align-items: center; margin: 0 0 13px; gap: 8px; }
.results-heading h3 { font-size: 21px; letter-spacing: -.032em; }
.results-heading p, .catalog-note { color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 4px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.product { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; min-width: 0; display: flex; flex-direction: column; }
.product-visual { height: 156px; position: relative; overflow: hidden; background: #d9e9f4; display: grid; place-items: center; }
.product-visual img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
.product-type { position: absolute; top: 10px; left: 10px; max-width: calc(100% - 20px); padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.95); color: #293854; font-size: 10px; font-weight: 780; letter-spacing: .05em; text-transform: uppercase; }
.product-content { display: flex; flex-direction: column; flex: 1; padding: 15px; }
.product h4 { letter-spacing: -.03em; font-size: 18px; line-height: 1.18; }
.product p { color: var(--muted); line-height: 1.48; font-size: 13px; margin-top: 7px; }
.specs { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px; padding: 0; margin: 11px 0 14px; list-style: none; }
.specs li { background: #f1f4f9; color: #35425a; border-radius: 4px; padding: 3px 6px; font-size: 11px; font-weight: 650; }
.product-actions { display: flex; align-items: center; gap: 7px; justify-content: space-between; margin-top: auto; }
.product-actions .button { min-height: 39px; padding: 8px 9px; font-size: 12px; }
.product-actions button[aria-pressed="true"] { background: var(--tint); color: #2042b0; border-color: #a7b9ef; }
.spec-link { color: #2946a5; font-weight: 650; font-size: 11px; white-space: nowrap; padding-block: 8px; display: inline-flex; align-items: center; gap: 3px; }
.spec-link:hover { text-decoration: underline; }
.empty-state { text-align: center; border: 1px dashed #c6d3e5; border-radius: var(--radius); background: #fff; padding: 36px 15px; }
.empty-icon { color: #4765bc; font-size: 27px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin: 7px 0 15px; }
.more-button { margin: 16px auto 0; display: flex; }
.catalog-note { margin-top: 17px; }
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { display: flex; gap: 22px; justify-content: space-between; padding-block: 29px; }
.footer-inner p { max-width: 385px; margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.footer-inner address { display: grid; grid-template-columns: repeat(2, max-content); align-content: center; gap: 10px 21px; font-size: 13px; font-style: normal; }
.footer-inner address a { color: #2545a6; display: flex; gap: 6px; align-items: center; }
.footer-inner address a:hover { text-decoration: underline; }

.shortlist-bar { position: fixed; z-index: 2; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(100% - 32px, 535px); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 30px #111d343b; background: #fff; }
.whatsapp-chat { position: fixed; z-index: 3; right: max(19px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); width: 52px; height: 52px; border: 2px solid #fff; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #087c51; box-shadow: 0 5px 16px #111d3440; font-size: 24px; }
.whatsapp-chat:hover { background: #066343; }
@media (max-width: 710px) {
  body.has-shortlist .whatsapp-chat { bottom: calc(max(14px, env(safe-area-inset-bottom)) + 72px); }
}
.shortlist-inner { padding: 8px 9px 8px 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.shortlist-inner > div { display: flex; align-items: center; gap: 8px; font-weight: 750; font-size: 14px; }
.shortlist-icon { display: grid; place-items: center; color: #2446b7; width: 34px; height: 34px; border-radius: 9px; background: var(--tint); flex-shrink: 0; }
dialog { width: min(100% - 28px, 650px); max-height: calc(100dvh - 34px); padding: 0; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 19px; box-shadow: 0 18px 62px #0e1c3d42; }
dialog::backdrop { background: #141d33a6; backdrop-filter: blur(2px); }
.dialog-body { padding: clamp(15px, 4.6vw, 27px); }
.dialog-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.dialog-top h2 { font-size: clamp(1.4rem, 4.8vw, 1.8rem); letter-spacing: -.04em; }
.dialog-top p { margin-top: 5px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.icon-button { display: grid; place-items: center; flex-shrink: 0; height: 42px; width: 42px; background: #f4f6fb; border: 1px solid var(--line); border-radius: 8px; color: #344460; }
.icon-button:hover { color: #2546b7; background: var(--tint); }
.quote-section { background: #f4f7fc; border: 1px solid var(--line); padding: 12px; border-radius: 10px; margin-bottom: 16px; }
.quote-section h3 { font-size: 15px; margin-bottom: 5px; }
.quote-item { display: grid; grid-template-columns: minmax(0, 1fr) auto 42px; align-items: center; gap: 9px; padding: 8px 0; }
.quote-item + .quote-item { border-top: 1px solid var(--line); }
.quote-item strong { display: block; font-size: 13px; }
.quote-item p, .quote-empty { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.quote-item label { display: flex; align-items: center; gap: 4px; font-size: 11px; }
.quote-item input { width: 65px; padding: 6px 5px; min-height: 40px; margin: 0; }
.quote-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.full-width { grid-column: 1 / -1; }
.quote-fields label > span { font-weight: 450; color: var(--muted); }
.draft-help { margin-top: 10px; display: flex; gap: 5px; align-items: center; font-size: 12px; color: var(--muted); line-height: 1.4; }
.draft-preview { margin-top: 12px; color: #2546ad; font-size: 13px; }
.draft-preview summary { padding: 6px 0; cursor: pointer; font-weight: 720; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.action-status { color: #304e78; font-size: 13px; margin-top: 9px; }
.action-status:empty { display: none; }
#share-dialog { max-width: 490px; }

@media (max-width: 1080px) {
  .shell { width: min(100% - 48px, 1240px); }
  .browse-layout { grid-template-columns: 198px minmax(0, 1fr); gap: 16px; }
  .product-grid { gap: 11px; }
  .product-content { padding: 12px; }
  .product-actions { flex-wrap: wrap; }
}
@media (max-width: 850px) {
  .hero { min-height: 340px; }
  .need-options { justify-content: flex-end; }
  .category-options { gap: 6px; }
  .category-button { font-size: 11px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 64px; height: auto; padding-block: 8px; }
  .brand { gap: 3px; }
  .brand-logo { width: 114px; }
  .brand small { font-size: 8px; }
  nav { gap: 4px; }
  nav .button { padding-inline: 8px; font-size: 12px; }
  .nav-link, .header-share > span:nth-child(2) { display: none; }
  .header-share { width: 42px; }
  .hero { margin-top: 15px; min-height: 0; display: grid; border-radius: 16px; }
  .hero-content { padding: 22px 19px; width: auto; }
  .hero h1 { font-size: clamp(2.8rem, 10.7vw, 3.9rem); margin-block: 12px; }
  .hero p { max-width: 295px; font-size: 14px; margin-bottom: 15px; }
  .hero-visual { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .hero-slide figcaption, .cover-controls { bottom: 8px; }
  .hero-slide figcaption { left: 8px; padding: 8px; }
  .cover-controls { right: 8px; }
  .needs-section { padding: 13px; margin-top: 14px; align-items: flex-start; flex-direction: column; gap: 11px; }
  .needs-intro h2 { font-size: 16px; }
  .need-options { width: 100%; justify-content: flex-start; gap: 6px; }
  .need-button { flex: 1 1 auto; font-size: 12px; padding-inline: 7px; gap: 5px; }
  .catalog { margin: 25px 0 30px; }
  .catalog > h2 { margin-bottom: 12px; }
  .category-options { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 11px; }
  .category-button { min-height: 57px; }
  .category-button .icon { width: 18px; height: 18px; }
  .browse-layout { display: block; }
  #mobile-filters { display: inline-flex; margin-bottom: 11px; }
  .filters { display: none; margin-bottom: 13px; }
  .filters.is-open { display: block; }
  .filter-fields, #category-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #category-filters { grid-column: 1 / -1; }
  .results-heading h3 { font-size: 18px; }
  .product-grid { gap: 9px; }
  .product-visual { height: 120px; }
  .product-content { padding: 10px; }
  .product h4 { font-size: 16px; }
  .product p { font-size: 12px; }
  .product-actions .button { min-height: 44px; }
  .specs li { font-size: 10px; }
  .footer-inner { flex-direction: column; padding-block: 20px; gap: 15px; }
}
@media (max-width: 355px) {
  .shell { width: calc(100% - 20px); }
  .hero-content { padding-inline: 15px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-fields { grid-template-columns: 1fr; }
  .footer-inner address { grid-template-columns: max-content; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.visually-hidden { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.category-options { grid-template-columns: repeat(9, minmax(0, 1fr)); margin-bottom: 13px; }
.catalog-tools { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.catalog-search { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; max-width: 480px; }
.catalog-search > span:first-child { color: var(--accent); position: absolute; margin-left: 12px; }
.catalog-search input { margin: 0; padding-left: 38px; min-height: 44px; }
.results-heading { flex-wrap: wrap; }
.results-heading .button { max-width: 100%; }
.product-illustration { display: grid; place-items: center; color: #35588a; background: #edf5ff; width: 64px; height: 64px; border-radius: 19px; font-size: 30px; }
.lifecycle { position: absolute; right: 10px; bottom: 10px; border-radius: 5px; color: #733e09; background: #fff4df; padding: 5px 7px; font-size: 11px; font-weight: 750; }
.product p.model-code { margin-top: 4px; color: #3d5374; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.card-details { font-size: 12px; color: var(--muted); margin-block: 7px 12px; }
.card-details summary { color: #2646ae; cursor: pointer; font-weight: 720; }
.card-details dl { margin-bottom: 0; overflow-wrap: anywhere; }
.card-details dt { font-weight: 750; }
.card-details dd { margin: 0 0 4px; }
.product-offer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 10px; }
.product-price { display: flex; align-items: baseline; gap: 5px 7px; flex-wrap: wrap; }
.product-price strong { font-size: 21px; letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: var(--navy); }
.product-price span { font-size: 11px; color: var(--muted); font-weight: 680; }
.availability { color: var(--muted); font-size: 12px; margin-top: 5px; }
.product-quote { margin-top: 9px; width: 100%; padding-inline: 6px; white-space: normal; }
.product-actions { margin-top: 8px; }
@media (max-width: 850px) {
  .category-options { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .category-options { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 10px; }
  .catalog-tools { margin-bottom: 10px; }
  #mobile-filters { margin-bottom: 0; }
  .catalog-search input { font-size: 16px; }
  .catalog-search input::placeholder { font-size: 12px; }
}
@media (max-width: 430px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { height: 144px; }
  .product-content { padding: 13px; }
}
