:root {
  --ink: #171b1a; --muted: #59635e; --line: #dce1dd; --paper: #fff;
  --lime: #b2f339; --green: #315c12; --subtle: #f4f6f4;
  --font-ui: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --type-small: .8125rem; --type-label: .875rem; --type-product: .9375rem; --type-price: 1.125rem;
  --type-section: clamp(1.375rem, 1.18rem + .6vw, 1.75rem);
  --type-title: clamp(1.5rem, 1.24rem + .95vw, 2rem);
  font: 400 100%/1.5 var(--font-ui); color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-padding: 16px; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button { border: 0; background: transparent; }
button:disabled { opacity: .5; cursor: default; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #48791a; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(100%); white-space: nowrap; }
.skip:focus { position: absolute; top: 4px; left: 8px; background: white; padding: 12px; z-index: 10; }
.frame { width: min(91.5%, 1480px); margin-inline: auto; }
.icon { width: 1.22rem; height: 1.22rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: inline-block; flex: none; }
.header { background: #fff; }
.header-row, .nav-row, .header-actions, .brand, .tool, .catalog-trigger, .search-form, .btn-primary, .outline, .text-button, .stage-note, .section-head, .catalog-heading, .catalog-tools, .sort-label, .footer-row { display: flex; align-items: center; }
.header-row { gap: clamp(14px, 1.6vw, 30px); min-height: 79px; }
.brand { flex: none; gap: 6px; font-weight: 900; font-size: clamp(1.44rem, 2.1vw, 2.1rem); line-height: 1; letter-spacing: -.073em; font-style: italic; color: #121614; }
.brand-mark { width: 1.12em; height: 1.1em; flex: none; }
.brand-light { font-weight: 600; }
.catalog-trigger, .btn-primary { background: var(--lime); border-radius: 9px; font-weight: 730; justify-content: center; gap: 8px; }
.catalog-trigger { padding: 0 18px; height: 44px; font-size: .96rem; }
.catalog-trigger:hover, .btn-primary:hover { background: #a0e724; }
.search-form { flex: 1; min-width: 0; height: 44px; border: 1px solid #d5dcd6; background: #f5f7f5; border-radius: 9px; padding-inline: 13px 6px; gap: 10px; }
.search-form:focus-within { border-color: #64852d; background: #fff; }
.search-affordance { color: #5c675f; }
.search-form input { border: 0; outline: none; background: transparent; color: var(--ink); width: 100%; min-width: 0; font-size: .95rem; }
.search-form input:focus-visible { outline: none; }
.search-form input::placeholder { color: #68736c; opacity: 1; }
.search-submit { color: #435043; font-size: .88rem; font-weight: 600; padding: 5px 10px; border-left: 1px solid #d8ded8; }
.search-submit:hover { color: #245400; }
.header-actions { gap: clamp(10px,1.6vw,26px); }
.tool { flex-direction: column; justify-content: center; gap: 3px; font-size: .79rem; font-weight: 550; min-width: 44px; min-height: 45px; padding: 0; }
.tool .icon { width: 23px; height: 23px; }
.tool:hover, .tool[aria-pressed=true] { color: var(--green); }
.tool[aria-pressed=true] svg { fill: #dff6b8; }
.tool-icon { display: flex; position: relative; }
.tool-count { position: absolute; right: -9px; top: -5px; min-width: 16px; height: 16px; border-radius: 20px; display: grid; place-content: center; background: var(--lime); color: #193300; font-size: .70rem; font-weight: 800; padding: 0 3px; }
.nav-bar { background: #f4f6f4; border-block: 1px solid #e9ece8; }
.nav-row { min-height: 39px; justify-content: space-between; gap: 12px; }
#nav-categories { display: flex; align-items: stretch; gap: clamp(18px, 2.3vw, 40px); }
#nav-categories button { padding: 8px 0; font-size: .89rem; font-weight: 555; white-space: nowrap; }
#nav-categories button:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.stage-note { flex: none; gap: 7px; font-size: .81rem; color: #4f5b53; }
.stage-note > span { background: #749244; width: 7px; height: 7px; border-radius: 50%; }
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 23px; display: flex; align-items: center; min-height: clamp(330px, 27vw, 425px); border-radius: 18px; background: #070e19; color: white; }
.hero-image, .hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; }
.hero-image img { object-fit: cover; object-position: center 53%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(5,10,19,.70),rgba(6,12,21,.13) 51%,transparent 72%); pointer-events: none; }
.hero-content { width: 57%; padding: clamp(32px,3.3vw,61px) clamp(28px,4.1vw,72px); }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 650; letter-spacing: .14em; color: #e7f0ed; }
.eyebrow > span:first-child { width: 23px; height: 3px; background: var(--lime); }
.hero-divider { color: #9aaeaf; }
.hero h1 { font-size: clamp(2.75rem, 4.5vw, 5.25rem); font-weight: 795; line-height: .99; letter-spacing: -.05em; margin: 17px 0 14px; }
.hero em { font-style: normal; color: var(--lime); }
.hero-lead { max-width: 405px; color: #d4dadf; font-size: clamp(.98rem,1.1vw,1.125rem); line-height: 1.38; }
.btn-primary { min-height: 45px; padding: 9px 19px; font-size: .95rem; color: #152006; }
.hero-button { display: inline-flex; margin-top: 21px; padding-inline: 21px; }
.departments { margin: clamp(27px,2.4vw,42px) 0; }
.section-head, .catalog-heading { justify-content: space-between; gap: 15px; }
h2 { font-size: var(--type-section); line-height: 1.25; font-weight: 600; letter-spacing: -.012em; }
.text-button { font-size: .9rem; font-weight: 600; gap: 8px; padding: 8px 0 8px 8px; }
.text-button .icon { width: 16px; height: 16px; }
.text-button:hover { color: var(--green); }
.department-list { display: grid; grid-template-columns: repeat(5,minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.dept { position: relative; display: flex; align-items: center; isolation: isolate; overflow: hidden; text-align: left; border: 1px solid #e2e7e0; border-radius: 12px; min-height: clamp(87px,6.8vw,109px); padding: 13px clamp(10px,1.1vw,20px); background: #f2f5ef; transition: border-color .15s; }
.dept:nth-child(5n+2) { background:#f0f2f6; border-color:#e0e4e9; }
.dept:nth-child(5n+3) { background:#f3f0f6; border-color:#e5e0e9; }
.dept:nth-child(5n+4) { background:#edf4f2; border-color:#dde7e3; }
.dept:nth-child(5n+5) { background:#f7f3ed; border-color:#e9e3d9; }
.dept:hover { border-color: #8f9b90; }
.dept img { position: absolute; right: -4%; top: 11%; z-index: -1; width: 47%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transform: rotate(-6deg); }
.dept > span { display: grid; gap: 2px; width: 60%; }
.dept strong { font-size: clamp(.95rem,1.14vw,1.22rem); line-height: 1.12; letter-spacing: -.023em; }
.dept small { font-size: .79rem; color: #526156; }
.catalog { border-top: 1px solid var(--line); padding: clamp(24px,2.4vw,38px) 0 clamp(35px,5vw,75px); min-height: 300px; }
.catalog-heading { align-items: end; }
.catalog-count { color: var(--muted); font-size: .91rem; margin-top: 4px; }
.catalog-tools { align-self: center; gap: 8px; flex: none; }
.outline, .sort-label, .icon-btn { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.outline { justify-content:center; gap: 7px; padding: 9px 14px; min-height: 41px; font-size: .9rem; font-weight: 580; }
.outline:hover, .icon-btn:hover { background: var(--subtle); border-color: #a4b1a5; }
.sort-label { position: relative; }
.sort-label select { border: 0; appearance: none; background: transparent; color: var(--ink); cursor: pointer; border-radius: 8px; padding: 9px 31px 9px 11px; min-height: 39px; font-size: .9rem; font-weight: 525; }
.sort-label > svg { pointer-events: none; position: absolute; right: 8px; width: 16px; }
.filter-count { border-radius: 20px; background: var(--lime); padding: 0 6px; font-size: .8rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters:not(:empty) { padding-top: 13px; }
.token { display: inline-flex; align-items: center; gap: 5px; border-radius: 20px; padding: 5px 9px; font-size: .85rem; font-weight: 550; background: #edf4e4; color: #344e26; }
.token .icon { width: 14px; height: 14px; }
.product-grid { margin-top: 19px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(10px,1.1vw,20px); }
.product { position: relative; border: 1px solid var(--line); border-radius: 13px; display: flex; flex-direction: column; min-width: 0; background: white; overflow: hidden; transition: border-color .16s, box-shadow .16s; }
.product:hover { border-color: #aebaaa; box-shadow: 0 4px 16px #1822150a; }
.photo-link { display: block; padding: 14px 32px; height: clamp(155px,14.7vw,235px); background: #f7f8f7; }
.photo-link img, .detail-image img, .row-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.icon-btn { padding: 0; width: 37px; height: 37px; display: inline-grid; place-items: center; flex-shrink: 0; }
.favorite-btn { position: absolute; right: 10px; top: 10px; border-color: #e0e5e0; border-radius: 50%; }
.favorite-btn[aria-pressed=true] { color: #3c661b; background: #eaf6d8; }
.favorite-btn[aria-pressed=true] svg { fill: #b5e57d; }
.product-body { padding: clamp(12px,1.2vw,20px); flex: 1; display: flex; flex-direction: column; min-width: 0; }
.item-type { color: var(--muted); font-size: .78rem; margin-bottom: 5px; }
.product h3 { font-size: clamp(1rem,1.2vw,1.22rem); line-height: 1.25; font-weight: 670; letter-spacing: -.018em; overflow-wrap: anywhere; }
.product h3 a:hover { color: var(--green); }
.summary-specs { display: grid; color: #54605a; font-size: .83rem; line-height: 1.36; gap: 5px; margin-top: 10px; }
.summary-specs span { display: flex; align-items: start; gap: 6px; }
.summary-specs .icon { width: 15px; height: 15px; margin-top: 1px; color: #68776b; }
.product-bottom { margin-top: auto; padding-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.price { font-size: clamp(1.1rem,1.5vw,1.65rem); font-weight: 780; letter-spacing: -.04em; white-space: nowrap; }
.buy-icon { border: 0; background: var(--lime); width: 39px; height: 37px; border-radius: 8px; }
.buy-icon:hover { background: #a2e925; }
.buy-icon.has-item { background: #e8f3dc; color: #32531c; }
.more-row { display: flex; justify-content: center; }
.more-row button { margin-top: 22px; padding-inline: 26px; }
.empty { text-align: center; grid-column: 1/-1; background: var(--subtle); border-radius: 12px; padding: clamp(24px,4.5vw,75px) 16px; }
.empty h3 { font-size: 1.25rem; font-weight: 680; }
.empty p { margin: 5px auto 14px; color: var(--muted); max-width: 45ch; }
.empty .outline { margin: auto; }
.footer { border-top: 1px solid var(--line); background: var(--subtle); }
.footer-row { min-height: 91px; padding-block: 15px; justify-content: space-between; gap: 20px; }
.footer .brand { font-size: 1.45rem; }
.footer p { font-size: .86rem; color: var(--muted); }
dialog { color: var(--ink); border: 1px solid #d8ded8; border-radius: 17px; padding: 0; width: min(95vw, 570px); max-height: min(90dvh,900px); max-width: 100%; background: white; box-shadow: 0 20px 100px #05120733; }
dialog::backdrop { background: rgba(15,22,21,.62); }
dialog.wide { width: min(95vw, 850px); }
dialog.drawer { margin: 0 0 0 auto; max-height: 100dvh; height: 100dvh; border-radius: 15px 0 0 15px; width: min(100vw, 500px); }
.panel-inner { padding: clamp(18px,2.6vw,34px); }
.panel-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.panel-head h2 { font-size: clamp(1.5rem,2.1vw,2rem); padding-top: 4px; }
.panel-head .icon-btn { margin-left: auto; }
.panel-help { color: var(--muted); margin-top: 5px; font-size: .92rem; }
.category-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.category-menu button { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 12px; min-height: 49px; text-align: left; background: var(--subtle); border-radius: 8px; font-size: .95rem; }
.category-menu button:hover { background: #e6f2d7; }
.category-menu small { color: #5f6c61; }
.filter-form { display: grid; gap: 18px; }
.filter-form label { display: grid; gap: 6px; color: #415044; font-size: .92rem; font-weight: 550; }
.filter-form input, .filter-form select { border: 1px solid #c8d1c7; border-radius: 8px; padding: 10px 11px; width: 100%; min-width: 0; font-size: 1rem; background: white; color: var(--ink); }
.filter-form select { appearance: none; padding-right: 31px; }
.filter-form .sort-label { display: flex; border: 0; }
.price-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.pc-facets { display: grid; gap: 16px; }
.filter-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 5px; }
.detail-grid { display: grid; grid-template-columns: .93fr 1fr; gap: clamp(15px,2.2vw,32px); }
.detail-image { width: 100%; min-width: 0; aspect-ratio: 1/1; padding: 13px; border-radius: 10px; background: #f5f7f5; }
.detail-data { min-width: 0; }
.detail-price { font-size: 1.7rem; margin-bottom: 6px; }
.detail-caption { font-size: .87rem; color: var(--muted); }
.detail-actions { display: flex; gap: 8px; align-items: center; margin: 14px 0; }
.detail-actions .favorite-btn { position: static; border-radius: 8px; width: 44px; height: 44px; }
.spec-table { margin: 0; }
.spec-table div { border-bottom: 1px solid #e5e9e4; padding: 6px 0; }
.spec-table dt { color: var(--muted); font-size: .82rem; }
.spec-table dd { font-size: .94rem; margin: 1px 0 0; }
.cart-rows { display: grid; }
.cart-row { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: start; gap: 12px; border-bottom: 1px solid var(--line); padding: 15px 0; }
.row-image { aspect-ratio: 1/1; padding: 3px; background: var(--subtle); border-radius: 7px; }
.row-product { text-align: left; font-weight: 600; font-size: .97rem; padding: 0; }
.row-product:hover { color: var(--green); }
.row-price { font-size: .88rem; color: var(--muted); margin: 3px 0 6px; }
.qty { display: inline-flex; gap: 6px; align-items: center; background: #f1f4f0; border-radius: 7px; }
.qty button { width: 32px; height: 30px; display: grid; place-items: center; }
.qty .icon { width: 15px; height: 15px; }
.qty span { min-width: 20px; text-align: center; font-weight: 600; font-size: .87rem; }
.sum { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-top: 24px; font-size: 1.16rem; font-weight: 700; }
.cart-note { background: #f1f5eb; border-radius: 8px; padding: 12px; font-size: .91rem; color: #41503d; margin-top: 16px; }
.toast { pointer-events: none; position: fixed; bottom: 20px; left: 50%; transform: translate(-50%,12px); opacity: 0; background: #152118; color: white; font-size: .92rem; padding: 10px 16px; border-radius: 9px; box-shadow: 0 5px 24px #16281828; transition: opacity .16s, transform .16s; z-index: 9; }
.toast.shown { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 1050px) {
  .frame { width: 94%; }
  .header-row { gap: 13px; }
  .header-actions { gap: 12px; }
  .department-list { gap: 8px; }
  .dept { padding-inline: 10px; }
  .dept strong { font-size: .93rem; }
  .hero-content { width: 61%; }
  .product-grid { gap: 11px; }
}
@media (max-width: 800px) {
  .header-row { min-height: 66px; gap: 10px; }
  .tool-label { display: none; }
  .tool { min-width: 36px; }
  .header-actions { gap: 6px; }
  #nav-categories { gap: 19px; overflow-x: auto; scrollbar-width: none; }
  #nav-categories::-webkit-scrollbar { display: none; }
  .stage-note { font-size: .76rem; }
  .hero { min-height: 300px; }
  .hero-content { width: 64%; padding: 30px; }
  .hero h1 { font-size: clamp(2.7rem,6.2vw,3.6rem); }
  .hero-lead { font-size: .97rem; }
  .department-list { display: flex; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; scrollbar-color: #c7d1c5 transparent; }
  .dept { flex: 0 0 166px; min-height: 79px; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .photo-link { height: clamp(145px,20vw,190px); padding-inline: 23px; }
}
@media (max-width: 640px) {
  .frame { width: calc(100% - 30px); }
  .header-row { flex-wrap: wrap; gap: 7px; padding-block: 10px; }
  .brand { font-size: 1.52rem; gap: 3px; }
  .catalog-trigger { height: 36px; padding: 0 10px; margin-left: auto; font-size: .87rem; gap: 5px; }
  .catalog-trigger .icon { width: 16px; }
  .header-actions { gap: 0; padding-left: 2px; }
  .tool { min-width: 36px; min-height: 36px; }
  .tool .icon { width: 21px; height: 21px; }
  .search-form { order: 4; flex-basis: 100%; height: 40px; }
  .search-form input { font-size: 1rem; }
  .nav-row { min-height: 33px; }
  #nav-categories { gap: 16px; }
  #nav-categories button { font-size: .81rem; padding: 7px 0; }
  .stage-note { font-size: .73rem; gap: 5px; }
  .stage-note > span { width: 6px; height: 6px; }
  .hero { margin-top: 13px; min-height: 0; flex-direction: column; align-items: stretch; background: #0b1220; border-radius: 14px; }
  .hero-content { order: -1; width: 100%; padding: 25px 22px 0; }
  .hero h1 { font-size: clamp(2.55rem,8.9vw,3.4rem); margin: 12px 0 9px; }
  .eyebrow { font-size: .69rem; }
  .hero-lead { font-size: .94rem; max-width: 355px; }
  .hero-button { min-height: 40px; margin-top: 14px; padding: 8px 16px; font-size: .9rem; }
  .hero-image { position: relative; inset: auto; width: 100%; margin-top: -2px; height: clamp(212px,60vw,285px); }
  .hero-image img { object-fit: cover; z-index: auto; object-position: center 55%; }
  .hero::after { background: linear-gradient(180deg,#0b1220 0%,#0b122000 26%); inset: auto 0 0; height: clamp(212px,60vw,285px); }
  .departments { margin: 23px 0 16px; }
  .text-button { font-size: .83rem; }
  .department-list { margin-top: 9px; margin-right: -15px; padding-right: 15px; }
  .dept { flex-basis: 153px; }
  .catalog { padding-top: 19px; }
  .catalog-heading { flex-wrap: wrap; align-items: start; gap: 12px; }
  .catalog-tools { width: 100%; }
  .catalog-count { margin-top: 3px; font-size: .85rem; }
  .catalog-tools .outline, .sort-label select { min-height: 36px; padding-block: 6px; font-size: .85rem; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 13px; }
  .product { border-radius: 10px; }
  .photo-link { height: clamp(110px,30vw,176px); padding: 9px 15px; }
  .product-body { padding: 10px; }
  .favorite-btn { top: 6px; right: 6px; width: 30px; height: 30px; }
  .favorite-btn svg { width: 17px; }
  .product h3 { font-size: .96rem; }
  .item-type { font-size: .74rem; }
  .summary-specs { font-size: .78rem; }
  .product-bottom { padding-top: 11px; flex-wrap: wrap; }
  .price { font-size: 1.13rem; }
  .buy-icon { width: 34px; height: 32px; }
  .footer-row { align-items: start; flex-direction: column; gap: 8px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-image { height: 190px; }
  .category-menu { grid-template-columns: 1fr; }
  .toast { max-width: 90vw; width: max-content; bottom: 12px; }
}
@media (max-width: 350px) {
  .frame { width: calc(100% - 20px); }
  .search-form input { font-size: .92rem; }
  .brand { font-size: 1.32rem; }
  .header-row { gap: 4px; }
  .catalog-trigger span { display: none; }
  .product-body { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.market-body {
  --navy: #131921; --subnav: #232f3e; --link: #2162a1; --yellow: #ffd814;
  color: #0f1111; background: #e3e6e6;
}
.market-body :focus-visible { outline: 3px solid #06859e; outline-offset: 2px; }
.market-masthead { color: white; background: var(--navy); }
.market-head-inner, .market-nav-inner { max-width: 1600px; margin: auto; display: flex; align-items: center; }
.market-head-inner { gap: clamp(10px, 1.2vw, 24px); min-height: 63px; padding: 5px 22px; }
.market-wordmark { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 42px; color: white; }
.market-brand-mark { display: block; width: 152px; height: auto; }
.market-head-link { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; padding: 2px 6px; white-space: nowrap; color: #fff; }
.market-action-text { display: grid; text-align: left; line-height: 1.35; }
.market-action-text small { color: #e1e5e9; font-size: var(--type-small); }
.market-head-link strong { font-size: var(--type-label); font-weight: 600; }
.market-head-link:hover, .market-nav a:hover, .market-menu:hover, .market-masthead .market-wordmark:hover { outline: 1px solid white; outline-offset: 1px; }
.market-search { flex: 1; min-width: 0; display: flex; height: 42px; background: #fff; border-radius: 5px; }
.market-search:focus-within { box-shadow: 0 0 0 3px #ff9900; }
.market-search-scope { position: relative; display: flex; border-right: 1px solid #cdcdcd; border-radius: 5px 0 0 5px; background: #e6e6e6; }
.market-search-scope select { appearance: none; width: 69px; height: 100%; border: 0; border-radius: 5px 0 0 5px; padding: 0 22px 0 10px; color: #303536; background: transparent; cursor: pointer; font-size: var(--type-small); text-overflow: ellipsis; }
.market-search-scope select:has(option:checked:not([value=""])) { width: 145px; }
.market-drop { position: absolute; width: 9px; height: 8px; right: 9px; top: 44%; pointer-events: none; fill: #565959; }
.market-search input { flex: 1; width: 10px; min-width: 0; padding: 0 13px; border: 0; outline: none; font-size: 1rem; color: #0f1111; background: white; }
.market-search input:focus-visible { outline: none; }
.market-search { position: relative; z-index: 4; }
#market-hints { position: absolute; top: calc(100% + 2px); left: 0; right: 0; color: #0f1111; background: #fff; border: 1px solid #aaa; border-radius: 0 0 5px 5px; box-shadow: 0 4px 10px #0003; overflow: hidden; }
#market-hints a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 7px 12px; font-size: .92rem; }
#market-hints a:hover, #market-hints a[aria-selected="true"] { background: #edf3f5; }
#market-hints a > span { flex: 1; }
#market-hints .icon { width: 16px; height: 16px; color: #646d70; }
#market-hints small { color: #414949; white-space: nowrap; }
.market-search-submit { display: grid; place-items: center; width: 50px; border-radius: 0 5px 5px 0; color: #111820; background: #febd69; }
.market-search-submit:hover { background: #f3a847; }
#market-collections { scroll-margin-top: 12px; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes polkaro-drawer-in {
    from { opacity: .6; transform: translateX(-14px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes polkaro-surface-in {
    from { opacity: .65; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes polkaro-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
  #panel.km-dialog[open] { animation: polkaro-drawer-in 170ms ease-out; }
  #panel.km-dialog[open]::backdrop { animation: polkaro-backdrop-in 150ms ease-out; }
  #market-hints:not([hidden]), .kd-directory:not([hidden]), .pc-receipt, #pc-telegram-options:not([hidden]) {
    animation: polkaro-surface-in 155ms ease-out;
  }
  .kd-directory-toggle .kd-icon:last-child { transition: transform 160ms ease-out; }
  :is(.market-search-submit,.km-buy,.km-secondary,.km-stepper button,.kd-directory-toggle,.ks-control,.md-step) {
    transition: background-color 140ms, box-shadow 140ms, scale 140ms;
  }
  :is(.market-search-submit,.km-buy,.km-secondary,.km-stepper button,.kd-directory-toggle,.ks-control,.md-step):not(:disabled):active {
    scale: .97;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.ks-mini-photo,.market-rail-photo,.kd-cover,.md-product-figure,.km-photo,.market-tile-picture) img {
    transition: transform 180ms ease-out;
  }
  :is(.ks-mini,.market-rail a,.kd-card-link,.md-product,.km-photo,.market-tile):is(:hover,:focus-visible) img {
    transform: translateY(-2px) scale(1.025);
  }
}
.market-search-submit .icon { width: 25px; height: 25px; stroke-width: 2.2; }
.market-cart { gap: 8px; }
.market-cart-graphic { position: relative; width: 35px; height: 29px; margin-right: 4px; display: inline-flex; }
.market-cart-graphic > svg { width: 100%; height: 100%; }
.market-cart-graphic #cart-count { position: absolute; top: -5px; right: -6px; min-width: 17px; padding: 0 4px; border-radius: 12px; line-height: 17px; text-align: center; color: #18212c; background: #ffbf69; box-shadow: 0 0 0 2px var(--navy); font-size: .75rem; font-weight: 700; }
.market-nav-wrap { background: var(--subnav); }
.market-nav-inner { min-height: 39px; justify-content: space-between; gap: 18px; padding: 0 22px; }
.market-nav { display: flex; align-items: center; gap: clamp(10px,1.25vw,22px); min-width: 0; overflow-x: auto; scrollbar-width: none; }
.market-nav a, .market-menu { white-space: nowrap; padding: 7px 2px; font-size: var(--type-label); color: white; }
.market-nav .market-builder-nav { color: #ffd47d; font-weight: 600; }
.market-builder-nav[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.builder-loading { padding: 48px 24px; text-align: center; }
.market-menu { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.market-stage { white-space: nowrap; color: #dce5ec; font-size: .79rem; }
#market-home { max-width: 1500px; margin: auto; }
.market-hero { --wash: #c4e5ed; position: relative; height: clamp(310px,28.5vw,425px); background: var(--wash); isolation: isolate; overflow: hidden; }
.market-hero-art { display: block; position: absolute; inset: 0; z-index: -2; }
.market-hero-art img { width: 100%; height: 100%; object-fit: contain; object-position: right center; display: block; }
.market-hero-copy { position: absolute; left: clamp(60px,12%,188px); top: 12%; width: 45%; color: #172f3b; }
.market-hero-copy #market-hero-title { font-size: var(--type-title); letter-spacing: -.012em; font-weight: 600; line-height: 1.22; color: inherit; }
.market-hero-copy p { margin-top: 11px; font-size: 1rem; line-height: 1.5; }
.market-hero-link { display: inline-block; font-size: .91rem; font-weight: 600; margin-top: 12px; text-decoration: underline; text-underline-offset: 3px; }
.hero-step { position: absolute; top: 26%; width: 44px; height: 63px; display: grid; place-items: center; color: #15282e; }
.hero-step:hover { background: #ffffff4d; }
.hero-back { left: 7px; } .hero-forward { right: 7px; }
.hero-step .icon { width: 34px; height: 34px; stroke-width: 1.8; filter: drop-shadow(0 1px 1px white); }
.hero-back .icon, .market-prev .icon { transform: rotate(90deg); }
.hero-forward .icon, .market-next .icon { transform: rotate(-90deg); }
.market-home-content { position: relative; padding: 18px 16px 24px; }
.market-shopping-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.market-module, .market-shelf { background: #fff; }
.market-module { min-width: 0; padding: 19px clamp(13px,1.35vw,22px) 17px; display: flex; flex-direction: column; }
.market-home-content h2 { color: #0f1111; font-size: var(--type-section); line-height: 1.25; font-weight: 600; letter-spacing: -.012em; }
.market-tile-grid { display: grid; gap: 12px 9px; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 14px 0 17px; }
.market-tile { min-width: 0; display: grid; align-content: start; gap: 3px; }
.market-tile-picture { background: var(--tile-bg,#eef0f2); width: 100%; height: clamp(66px,7.3vw,116px); display: grid; place-items: center; padding: 6px; overflow: hidden; }
.market-tile-picture, .market-rail-photo { grid-template: minmax(0,1fr) / minmax(0,1fr); }
.market-tile-picture img { display: block; min-height: 0; min-width: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.market-tile small { font-size: var(--type-label); line-height: 1.4; overflow-wrap: anywhere; hyphens: auto; color: #0f1111; }
.market-tile:hover small { color: var(--link); text-decoration: underline; }
.market-module-link, .market-shelf-head a { align-self: start; color: var(--link); font-size: .86rem; }
.market-module-link { margin-top: auto; }
.market-module-link:hover, .market-shelf-head a:hover { text-decoration: underline; color: #a74e0b; }
.market-feature-photo { display: grid; flex: 1; align-items: center; min-height: 100px; margin: 14px 0 17px; }
.market-feature-photo img { display:block; width:100%; height:auto; border-radius:8px; }
.market-shelf { margin-top: 20px; padding: 18px 20px 14px; }
.market-shelf-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.market-shelf-head a { align-self: baseline; }
.market-shelf-head h2 a { font: inherit; color: inherit; }
.market-rail-box { position: relative; }
.market-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px,calc((100% - 65px)/6)); gap: 13px; overflow-x: auto; padding: 12px 0 7px; scrollbar-width: thin; scrollbar-color: #bbc2c3 transparent; scroll-snap-type: x proximity; }
.market-product-card { display: flex; flex-direction: column; min-width: 0; gap: 8px; scroll-snap-align: start; }
.market-product-card > a { flex: 1; }
.market-rail a { display: flex; flex-direction: column; color: #0f1111; min-width: 0; }
.market-rail a:hover .market-rail-name { color: var(--link); text-decoration: underline; }
.market-rail-photo { display: grid; place-items: center; height: clamp(125px,12vw,175px); padding: 6px; background: #f7f8f8; }
.market-rail img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.market-rail-name { margin-top: 7px; font-size: var(--type-product); line-height: 1.45; font-weight: 500; overflow-wrap: anywhere; }
.market-rail-price { margin-top: 4px; font-size: var(--type-price); line-height: 1.3; font-weight: 600; }
.market-rail-control { position: absolute; z-index: 1; top: 28%; display: grid; place-items: center; height: 55px; width: 32px; color: #273741; background: #fffffff5; border: 1px solid #c4c9cc; box-shadow: 0 1px 5px #18232d28; }
.market-prev { left: 0; } .market-next { right: 0; }
.market-footer { border: 0; color: #fff; background: var(--subnav); }
.market-footer-inner { max-width: 1500px; margin: auto; min-height: 82px; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.market-footer p { color: #e0e5e9; font-size: .84rem; }
.market-footer .market-brand-mark { width: 132px; }
body[data-market-view="home"] { background: #fff; }
.market-shopping-grid { gap: 12px; }
.market-module { border: 1px solid #dedede; border-radius: 12px; padding: 15px 12px 13px; }
.market-tile-picture, .market-feature-photo { border-radius: 8px; }
.market-home-content > .market-hero { margin-top:18px; border-radius:12px; width:100%; height:auto; aspect-ratio:3; min-height:228px; }
.primary-shelf { margin: 0; padding: 14px 16px 12px; background: #063e36; }
.primary-shelf .market-shelf-head { align-items: baseline; }
.primary-shelf .market-shelf-head h2, .primary-shelf .market-shelf-head h2 a { font-size: var(--type-section); line-height: 1.25; font-weight: 600; color: white; letter-spacing: -.012em; }
.primary-shelf .market-shelf-head > a { color: #e1f4ec; font-size: .86rem; }
.primary-shelf .market-rail { grid-auto-columns: calc((100% - 54px)/7); gap: 9px; padding: 9px 0 1px; scrollbar-width: none; }
.primary-shelf .market-product-card { background: white; border-radius: 12px; overflow: hidden; padding: 6px 9px 10px; }
.primary-shelf .market-rail-photo { background: white; height: clamp(105px,10vw,154px); }
.primary-shelf .market-rail-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.primary-shelf .market-rail-price { margin-top: auto; padding-top: 6px; }
.market-pager { display:flex; flex:none; align-items:center; gap:6px; margin-inline-start:auto; align-self:center; }
.market-pager > button {
  position:static; display:grid; place-items:center; width:40px; height:40px; padding:0;
  transform:none; border:1px solid #bfc9ce; border-radius:50%; box-shadow:none; color:#22333c; background:#fff;
}
.market-pager > button:enabled:hover { background:#edf2f4; }
.market-pager > button:disabled { opacity:.52; cursor:default; }
.market-pager .icon { width:19px; height:19px; }
.market-back-top { display: block; text-align: center; padding: 13px; background: #37475a; font-size: .83rem; }
.market-back-top:hover { background: #485769; }
.market-footer-links { max-width: 1240px; margin: auto; padding: 32px 24px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; }
.market-footer-links h2 { font-size: 1rem; line-height: 1.35; letter-spacing: 0; margin: 0 0 9px; color: #fff; }
.market-footer-links a { display: block; color: #d9e0e6; font-size: .87rem; margin: 4px 0; }
.market-footer-links a:hover { text-decoration: underline; }
.market-footer-inner { border-top: 1px solid #415063; }
@media(max-width: 1200px) {
  .primary-shelf .market-rail { grid-auto-columns: calc((100% - 45px)/6); }
}
@media(max-width: 1050px) {
  .primary-shelf .market-rail { grid-auto-columns: calc((100% - 36px)/5); }
  .market-head-inner { gap: 8px; padding-inline: 13px; }
  .market-nav-inner { padding-inline: 13px; }
  .market-stage { display: none; }
  .market-home-content { padding-inline: 12px; }
  .market-shopping-grid { gap: 10px; }
  .market-module { padding-inline: 11px; }
  .market-department-link { display: none; }
}
@media(max-width: 820px) {
  .primary-shelf .market-rail { grid-auto-columns: calc((100% - 27px)/4); }
  .market-saved .market-action-text, .market-cart > strong { display: none; }
  .market-saved, .market-cart { min-width: 44px; justify-content: center; }
  .market-shopping-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .market-module { padding: 15px; }
  .market-tile-picture { height: clamp(82px,13vw,120px); }
  .market-hero-copy { left: 9%; }
  .market-hero { height: 305px; }
  .market-home-content { padding-top: 12px; }
}
@media(max-width: 650px) {
  .primary-shelf .market-rail { grid-auto-columns: calc((100% - 18px)/3); }
}
@media(max-width: 600px) {
  .market-head-inner { display: grid; grid-template-columns: 1fr auto auto; row-gap: 3px; column-gap: 8px; padding: 5px 10px 8px; }
  .market-masthead .market-wordmark { min-height: 36px; justify-self: start; }
  .market-brand-mark { width: 120px; }
  .market-saved { grid-column: 2; grid-row: 1; }
  .market-cart { grid-column: 3; grid-row: 1; }
  .market-head-link { min-height: 44px; padding-inline: 4px; }
  .market-search { grid-column: 1 / -1; grid-row: 2; height: 42px; }
  .market-search-scope select { width: 63px; min-width: 0; font-size: var(--type-small); padding-left: 7px; }
  .market-search-scope select:has(option:checked:not([value=""])) { width: 96px; }
  .market-search-submit { width: 46px; }
  .market-search input { padding-inline: 9px; }
  .market-nav-inner { padding: 0 9px; min-height: 35px; }
  .market-nav { gap: 13px; }
  
  .market-home-content > .market-hero { display:flex; flex-direction:column; aspect-ratio:auto; min-height:0; }
  .market-hero-art { display:block; position:relative; inset:auto; height:clamp(132px,42vw,218px); }
  .market-hero-art img { object-fit:cover; object-position:right center; }
  .market-hero-copy { position:static; width:auto; padding:14px 18px 18px; background:var(--wash); }
  .market-hero-copy #market-hero-title { font-size: clamp(1.25rem,5.3vw,1.55rem); line-height: 1.2; }
  .market-hero-copy p { margin-top: 6px; font-size: var(--type-label); line-height: 1.4; }
  .market-hero-link { font-size:var(--type-label); margin-top:14px; max-width:calc(100% - 92px); }
  .hero-step { top:auto; bottom:9px; width:40px; height:40px; background:#fff; border:1px solid #bfc9ce; border-radius:50%; }
  .hero-back { left:auto; right:58px; } .hero-forward { right:12px; }
  .hero-step .icon { width: 20px; height: 20px; }
  .market-home-content { padding: 8px 7px 13px; }
  .market-shopping-grid { gap: 7px; }
  .market-module { padding: 11px 9px 10px; }
  .market-module h2, .md-department h2 { font-size: 1.1875rem; line-height: 1.3; overflow-wrap: anywhere; hyphens: auto; }
  .market-tile-grid { gap: 8px 5px; margin: 10px 0 12px; }
  .market-tile small { font-size: var(--type-small); }
  .market-tile-picture { height: clamp(56px,16vw,91px); padding: 2px; }
  .market-module-link { font-size: var(--type-small); }
  .market-shelf { margin-top: 8px; padding: 14px 10px; }
  .primary-shelf { margin-top: 0; }
  .market-footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 20px 16px; }
  .market-footer-links a { display: flex; align-items: center; min-height: 32px; margin: 0; padding-block: 4px; line-height: 1.35; }
  .market-feature-photo { margin: 10px 0 12px; }
  .market-shelf-head { gap: 4px 8px; }
  .market-rail { grid-auto-columns: 128px; gap: 9px; }
  .market-rail-control { width: 25px; height: 40px; }
  .market-footer-inner { padding: 16px; align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media(max-width: 480px) {
  .primary-shelf .market-rail { grid-auto-columns: calc((100% - 9px)/2); }
}

#market-stories {
  --ks-gap: clamp(10px, 1vw, 16px);
  margin: clamp(10px, 1.4vw, 22px) clamp(10px, 1.35vw, 20px) 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  color: #17222b;
}
#market-stories:empty { display: none; }
.ks-track {
  grid-column: 1 / -1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--ks-gap)) / 4);
  gap: var(--ks-gap);
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #aeb9bf transparent;
}
.ks-track::-webkit-scrollbar { height: 5px; }
.ks-track::-webkit-scrollbar-thumb { background: #aeb9bf; border-radius: 5px; }
#market-stories:has(.ks-control) .ks-track { scrollbar-width: none; }
#market-stories:has(.ks-control) .ks-track::-webkit-scrollbar { display: none; }
.ks-card {
  --ks-bg: #791d30;
  --ks-ink: #fff;
  --ks-art-ratio: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: clamp(520px, calc(30vw + 94px), 576px);
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  color: var(--ks-ink);
  background: var(--ks-bg);
  scroll-snap-align: start;
  container-type: inline-size;
}
.ks-pcs { --ks-bg: #e66920; --ks-ink: #211306; --ks-art-ratio: 1.04; }
.ks-graphics { --ks-bg: #791d30; --ks-art-ratio: 1.5; }
.ks-setup { --ks-bg: #392a85; --ks-art-ratio: 1.16; }
.ks-budget { --ks-bg: #08714d; --ks-art-ratio: 1.15; }
.ks-ram { --ks-bg: #ffbc55; --ks-ink: #312006; }
.ks-cpu { --ks-bg: #315882; }
.ks-phones { --ks-bg: #40285a; --ks-art-ratio: 1.75; }
.ks-laptops { --ks-bg: #0b4560; --ks-art-ratio: 1.67; }
.ks-appliances { --ks-bg: #edc0bc; --ks-ink: #382826; }
.ks-tools { --ks-bg: #c2cfb6; --ks-ink: #263222; }
.ks-feature {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  color: inherit;
}
#market-stories .ks-title {
  align-self: center;
  margin: 0;
  padding: clamp(16px, 6cqw, 24px);
  font-size: clamp(1.38rem, 8.6cqw, 2rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  color: inherit;
}
.ks-feature:hover .ks-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ks-art {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  container-type: size;
}
.ks-scene {
  /* Original scenes have headroom. Fit the entire subject within the available stage. */
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, calc(100cqh * var(--ks-art-ratio)));
  height: auto;
  display: block;
  mask-image: linear-gradient(transparent, black 13%);
}
.ks-cutout { display: block; width: 100%; height: 100%; padding: 6%; object-fit: contain; }
.ks-full .ks-art { mask-image: linear-gradient(transparent, black 10%); }
.ks-ram .ks-cutout { mix-blend-mode: multiply; }
.ks-cpu .ks-art { margin: 10px; border-radius: 8px; background: #fff; }
.ks-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 10px clamp(13px, 5cqw, 22px);
  min-height: 45px;
  color: inherit;
  font-size: var(--type-label);
  line-height: 1.35;
  font-weight: 600;
}
.ks-open::after {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-right: 2px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
.ks-open:hover { text-decoration: underline; text-underline-offset: 3px; }
.ks-feature:focus-visible, .ks-mini:focus-visible, .ks-open:focus-visible {
  outline: 3px solid currentColor !important;
  outline-offset: -3px !important;
}
.ks-full .ks-open { background: rgb(0 0 0 / 6%); }
.ks-mosaic { grid-template-rows: clamp(98px, 7.3vw, 121px) minmax(0, 1fr) auto; }
.ks-mosaic .ks-feature { grid-template: minmax(0, 1fr) / minmax(0, 54fr) minmax(0, 46fr); }
#market-stories .ks-mosaic .ks-title {
  padding: 10px 0 10px clamp(12px, 5cqw, 20px);
  font-size: clamp(1.12rem, 6.9cqw, 1.52rem);
  line-height: 1.13;
}
.ks-mosaic .ks-scene { mask-image: linear-gradient(90deg, transparent, black 10%); }
.ks-mini-grid {
  display: grid;
  grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-inline: clamp(7px, 2.8cqw, 12px);
}
.ks-mini-grid:not(:has(:nth-child(3))) { grid-template-rows: minmax(0, 1fr); }
.ks-mini-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.ks-product-card {
  display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; min-height: 0;
  padding-bottom: 7px; gap: 5px; background: #fff; border-radius: 7px;
}
.ks-product-card .ks-mini { padding-bottom: 0; }
#market-stories .ks-product-card .km-buy {
  width: auto; margin-inline: clamp(7px, 2.4cqw, 10px); padding-inline: 4px; gap: 4px; font-size: .8125rem;
}
#market-stories .ks-product-card .km-buy .icon { width: 14px; height: 14px; }
.ks-mini {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(28px, 1fr) auto auto;
  gap: 3px;
  padding: 7px clamp(7px, 2.4cqw, 10px);
  color: #17222b;
  background: #fff;
  border-radius: 7px;
}
.ks-mini-photo { min-width: 0; min-height: 0; }
.ks-mini-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ks-mini-caption {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: .84375rem;
  line-height: 1.24;
  font-weight: 500;
}
.ks-mini-price { font-size: clamp(.9375rem, 4.8cqw, 1.0625rem); line-height: 1.25; font-weight: 650; white-space: nowrap; }
.ks-mini:hover .ks-mini-caption { text-decoration: underline; text-underline-offset: 2px; }
.ks-control {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #b8c2c8;
  border-radius: 50%;
  background: #fff;
  color: #233342;
}
.ks-control[hidden] { display: none; }
.ks-control:not(:disabled):hover { background: #edf1f3; }
.ks-control:disabled { border-color: #e4e8ea; color: #a9b3b9; }
.ks-control:focus-visible { outline-offset: -4px; }
.ks-previous { grid-column: 2; }
.ks-next { grid-column: 3; }
.ks-chevron { width: 10px; height: 10px; border: solid currentColor; border-width: 2px 2px 0 0; }
.ks-previous .ks-chevron { transform: translateX(2px) rotate(-135deg); }
.ks-next .ks-chevron { transform: translateX(-2px) rotate(45deg); }
@media (max-width: 1140px) {
  .ks-track { grid-auto-columns: calc((100% - 2 * var(--ks-gap)) / 3); }
}
@media (max-width: 820px) {
  .ks-track { grid-auto-columns: calc((100% - var(--ks-gap)) / 2); }
}
@media (max-width: 580px) {
  #market-stories { --ks-gap: 9px; gap: 5px; }
  .ks-card { height: 518px; }
}
@media (max-width: 520px) {
  .ks-track { grid-auto-columns: 100%; }
}

#market-discover {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  min-width: 0;
  color: #0f1111;
}
#market-discover:empty { display: none; }
.md-other .md-tile-frame { padding:0; height:auto; aspect-ratio:1; overflow:hidden; border-radius:8px; }
.md-other .md-tile-frame img { object-fit:contain; mix-blend-mode:normal; }
.md-other .md-model-photo { background: #f5f6f6; padding: 5px; }
.md-other .md-model-photo img { object-fit: contain; mix-blend-mode: multiply; }
#market-discover h2 { margin: 0; }
#market-discover a { text-decoration: none; }
#market-discover .md-link {
  display: inline-block;
  align-self: start;
  color: #2162a1;
  font-size: var(--type-label); line-height: 1.45;
}
#market-discover .md-link:hover,
#market-discover .md-tile:hover .md-tile-label,
#market-discover .md-product:hover .md-product-name {
  color: #a54600;
  text-decoration: underline;
}
.md-departments, .md-editorial {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}
.md-department, .md-shelf, .md-feature { min-width: 0; background: #fff; }
.md-department {
  display: flex;
  flex-direction: column;
  padding: 19px clamp(13px,1.35vw,22px) 17px;
}
.md-department > .md-link { margin-top: auto; }
.md-tiles {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 11px 9px;
  margin: 14px 0 16px;
}
.md-tile { display: grid; min-width: 0; gap: 4px; align-content: start; }
.md-tile-frame, .md-product-figure {
  display: grid; place-items: center; grid-template: minmax(0,1fr) / minmax(0,1fr);
  min-width: 0; width: 100%; overflow: hidden;
}
.md-tile-frame { padding: 6px; height: clamp(66px,7.1vw,113px); background: var(--md-tone,#edf2f4); }
.md-tone-0 { --md-tone:#e5eef1; }
.md-tone-1 { --md-tone:#f1ebe2; }
.md-tone-2 { --md-tone:#eeeaf2; }
.md-tone-3 { --md-tone:#e9eee4; }
.md-tile-label { color: #0f1111; font-size: var(--type-label); line-height: 1.4; overflow-wrap: anywhere; hyphens: auto; }
.md-tile img, .md-product-figure img {
  display: block; width: 100%; height: 100%; min-height: 0; min-width: 0;
  object-fit: contain; mix-blend-mode: multiply;
}
.md-shelf { padding: 19px 20px 13px; }
.md-shelf-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
#market-discover .md-shelf-heading .md-link { align-self: baseline; }
.md-rail-wrap { position: relative; }
.md-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 70px) / 6);
  gap: 14px; overflow-x: auto; padding: 13px 0 6px;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #bbc2c3 transparent;
  overscroll-behavior-x: contain;
}
.md-feed-grid {
  display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px 16px;
}
.md-feed-first:not(:empty) { margin-top: 13px; }
.md-feed .md-editorial { margin-block: 21px; }
.md-feed-first:not(:empty) + .md-feed-rest:not(:empty) { margin-top: 22px; }
.md-feed-controls {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  min-height: 1px; margin-top: 16px; overflow-anchor: none;
}
.md-feed-retry { min-height: 44px; padding-inline: 26px; }
.md-feed-retry[hidden] { display: none; }
.md-feed-status { font-size: var(--type-small); color: #48535b; }
.md-feed-status:empty { display: none; }
.md-product { display: flex; min-width: 0; flex-direction: column; align-items: stretch; scroll-snap-align: start; color: #0f1111; }
.md-product-figure { height: clamp(123px,11.8vw,170px); padding: 8px; background: #f8f8f8; }
@media (min-width:1051px) {
  /* Reserve room for the header, product details and floating help button. */
  .md-feed-grid .md-product-figure { height: clamp(104px,calc(50vh - 255px),280px); }
  .md-feed-grid .md-product-name { line-height: 1.35; }
}
.md-feed-grid .md-product-image-link { display: block; flex: none; }
.md-feed-grid .md-product:not(:first-child) .md-product-name { margin-top: 0; }
.md-product-price { margin:auto 0 2px; padding-top:5px; font-size:var(--type-price); line-height:1.3; font-weight:600; color:#0f1111; }
.md-product-name {
  margin-top: 7px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; line-clamp: 3; font-size: var(--type-product); line-height: 1.45; font-weight: 500; overflow-wrap: anywhere;
}
.md-step {
  position: absolute; z-index: 1; top: clamp(46px,4.3vw,65px);
  display: grid; place-items: center; width: 34px; height: 54px;
  border: 1px solid #c3caca; background: #fff; color: #253642;
  box-shadow: 0 1px 5px #17293626;
}
.md-step[hidden] { display: none; }
.md-step-back { left: 0; border-radius: 0 4px 4px 0; }
.md-step-next { right: 0; border-radius: 4px 0 0 4px; }
.md-chevron { display: block; width: 13px; height: 13px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); }
.md-step-back .md-chevron { transform: rotate(-135deg); }
.md-editorial { grid-template-columns: repeat(2,minmax(0,1fr)); }
.md-feature {
  position: relative; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,1fr);
  min-height: clamp(164px,17vw,229px); isolation: isolate; overflow: hidden;
}
.md-feature-pc { background: #e0edf1; }
.md-feature-ssd { background: #f4e9e0; }
.md-feature-copy {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  align-items: flex-start; padding: 20px 0 20px clamp(17px,2.1vw,32px); min-width: 0;
}
.md-feature-section { font-size: var(--type-small); line-height: 1.45; color: #3d535d; }
#market-discover .md-feature h2 { max-width: 16ch; font-size: var(--type-title); }
.md-feature-detail { margin: 2px 0 9px; font-size: .9rem; color: #35454c; }
.md-feature-photo { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; }
.md-feature-photo { align-self:center; width:100%; max-width:245px; aspect-ratio:1; justify-self:end; }
.md-feature-photo img { display:block; width:100%; height:100%; object-fit:contain; }

@media(max-width:1050px) {
  #market-discover { gap: 12px; margin-top: 12px; }
  .md-departments, .md-editorial { gap: 10px; }
  .md-department { padding-inline: 11px; }
  .md-rail { grid-auto-columns: calc((100% - 48px)/5); gap: 12px; }
  .md-feed-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px 12px; }
}
@media(max-width:820px) {
  .md-rail { grid-auto-columns: calc((100% - 36px)/4); }
  .md-departments { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .md-department { padding: 15px; }
  .md-tile-frame { height: clamp(82px,13vw,120px); }
  .md-feature-copy { padding-left: 15px; }
  .md-feature-detail { font-size: .84rem; }
}
@media(max-width:650px) {
  .md-rail { grid-auto-columns: calc((100% - 24px)/3); }
}
@media(max-width:600px) {
  #market-discover { gap: 8px; margin-top: 8px; }
  .md-departments { gap: 7px; }
  .md-department { padding: 11px 9px; }
  .md-tiles { margin: 10px 0 12px; gap: 8px 5px; }
  .md-tile-frame { height: clamp(55px,16vw,91px); padding: 2px; }
  .md-tile-label, #market-discover .md-link { font-size: var(--type-small); }
  .md-shelf { padding: 13px 10px; }
  .md-shelf-heading { gap: 4px 8px; }
  .md-rail { grid-auto-columns: calc((100% - 18px)/3); gap: 9px; padding-top: 10px; }
  .md-feed-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 9px; }
  .md-feed-first:not(:empty) { margin-top: 10px; }
  .md-feed .md-editorial { margin-block: 15px; }
  .md-product-figure { height: clamp(98px,28vw,134px); padding: 5px; }
  .md-feed-grid .md-product-figure { height: clamp(116px,min(43vw,calc(50svh - 198px)),195px); }
  .md-feed-grid .md-product-name { line-height: 1.3; }
  .md-step { top: 33px; width: 25px; height: 39px; }
  .md-chevron { width: 10px; height: 10px; }
  .md-editorial { grid-template-columns: 1fr; gap: 8px; }
  .md-feature { min-height: 145px; }
  #market-discover .md-feature h2 { font-size: 1.47rem; }
}
@media(max-width:480px) {
  .md-rail { grid-auto-columns: calc((100% - 9px)/2); }
}

@media (max-width: 899px) {
  /* When more rows arrive, let the reader stay at the new products instead of following
     the bottom of the page. Keep an explicitly focused link or fragment target in place. */
  body:is([data-market-view="home"], :has(#ps-content[data-ps-home])) :is(.market-footer, #market-discover ~ *):not(:focus-within, :target):not(:has(:target)) {
    overflow-anchor: none;
  }
}

#all-departments {
  --kd-link: #2162a1;
  --kd-ink: #0f1111;
  --kd-muted: #565959;
  --kd-line: #d5d9d9;
  margin: clamp(24px,2.4vw,36px) 16px;
  padding: 0;
  background: #fff;
  color: var(--kd-ink);
}
#all-departments:empty { display:none; }
.kd-head {
  display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:14px;
}
.kd-heading-text { flex:1 1 240px; min-width:0; }
#all-departments .kd-title {
  font-size:var(--type-section); font-weight:600; line-height:1.25;
  margin:0; letter-spacing:-.012em;
}
.kd-summary,.kd-found { color:var(--kd-muted); font-size:var(--type-label); line-height:1.45; }
.kd-summary { margin:4px 0 0; }
.kd-icon { width:18px; height:18px; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; fill:none; flex:none; }
.kd-search-box,.kd-directory-toggle,.kd-more,.kd-slide,.kd-open-branch { display:inline-flex; align-items:center; justify-content:center; }
.kd-search-box {
  min-width:0; width:clamp(170px,22vw,320px); height:38px; gap:7px; padding:0 10px;
  border:1px solid #899397; border-radius:6px; background:#fff;
}
.kd-search-box:focus-within { border-color:#147781; outline:2px solid #147781; outline-offset:1px; }
.kd-search-box .kd-icon { width:17px; height:17px; color:#37475a; }
.kd-search { min-width:0; width:100%; border:0; color:var(--kd-ink); background:transparent; font-size:var(--type-product); }
#all-departments .kd-search:focus-visible { outline:0; }
.kd-directory-toggle,.kd-more {
  min-height:38px; padding:6px 13px; gap:6px; border:1px solid #b5b9bb; border-radius:20px;
  background:#fff; color:#1b313c; font-size:.86rem; font-weight:600; white-space:nowrap;
}
.kd-directory-toggle .kd-icon:first-child { width:15px; height:15px; }
.kd-directory-toggle .kd-icon:last-child { width:14px; height:14px; }
.kd-directory-toggle[aria-expanded=true] .kd-icon:last-child { transform:rotate(180deg); }
.kd-directory-toggle:hover,.kd-more:hover,.kd-slide:hover,.kd-open-branch:hover { background:#edf2f3; }
.kd-gallery { position:relative; min-width:0; }
.kd-track {
  display:grid; grid-auto-flow:column; grid-template-rows:repeat(2,auto); align-items:stretch;
  grid-auto-columns:calc((100% - 7 * 10px) / 8); column-gap:10px; row-gap:13px;
  min-width:0; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory;
  scrollbar-width:thin; scrollbar-color:#b3bec2 transparent; padding:2px 1px 6px;
}
.kd-card { min-width:0; display:flex; flex-direction:column; scroll-snap-align:start; }
.kd-card-link { display:flex; flex-direction:column; align-items:stretch; color:var(--kd-ink); }
.kd-cover {
  display:grid; place-items:center; grid-template:minmax(0,1fr)/minmax(0,1fr);
  overflow:hidden; width:100%; aspect-ratio:1; border-radius:9px;
  color:#355769; background:linear-gradient(120deg,#e0edf0,#f2f5f4);
}
.kd-cover img { display:block; min-width:0; min-height:0; width:100%; height:100%; object-fit:contain; }
.kd-cover-product { padding:5px; }
.kd-cover-product img { object-fit:contain; mix-blend-mode:multiply; }
.kd-fallback { width:38px; height:38px; stroke:currentColor; fill:none; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.kd-card-name {
  display:block; margin:5px 0 0; color:var(--kd-ink); font-size:var(--type-product); font-weight:500;
  line-height:1.4; overflow-wrap:anywhere;
}
.kd-card-link:hover .kd-card-name,.kd-whole-root:hover,.kd-tree-link:hover,.kd-result:hover strong {
  color:#a34a04; text-decoration:underline;
}
.kd-meta { margin-top:auto; min-height:28px; display:flex; align-items:center; gap:4px; justify-content:space-between; }
.kd-count { color:var(--kd-muted); font-size:var(--type-small); }
.kd-open-branch {
  flex:none; width:28px; height:23px; padding:0;
  border:1px solid #d5dcdc; border-radius:12px; color:#42525b; background:#fff;
}
.kd-open-branch .kd-icon { width:14px; height:14px; }
.kd-slide {
  position:absolute; z-index:1; top:50%; transform:translateY(-50%);
  width:32px; height:47px; border:1px solid #c8cecf; border-radius:5px;
  background:#fff; box-shadow:0 1px 5px #16232c33; color:#18242e;
}
.kd-prev { left:0; } .kd-next { right:0; }
.kd-prev .kd-icon { transform:rotate(90deg); } .kd-next .kd-icon { transform:rotate(-90deg); }
.kd-directory {
  display:grid; grid-template-columns:minmax(160px,24%) minmax(0,1fr);
  min-width:0; border:1px solid var(--kd-line); border-radius:6px;
  margin-top:13px; overflow:hidden;
}
.kd-root-list { position:relative; max-height:335px; overflow:auto; scrollbar-width:thin; padding:4px; background:#f3f6f6; }
.kd-root-choice {
  display:block; width:100%; padding:7px 10px; text-align:left; border-left:3px solid transparent; border-radius:3px;
  color:var(--kd-ink); font-size:var(--type-label); line-height:1.45;
}
.kd-root-choice[aria-pressed=true] { border-left-color:#ec9a25; background:#fff; font-weight:600; }
.kd-root-choice:hover { background:#fff; }
.kd-root-select-label { display:none; }
.kd-tree-body { min-width:0; align-self:start; padding:14px 18px; }
.kd-tree-head { display:flex; align-items:baseline; gap:8px 16px; flex-wrap:wrap; margin-bottom:8px; }
.kd-tree-title { color:var(--kd-ink); font-size:1.125rem; font-weight:600; line-height:1.35; margin:0; }
.kd-whole-root { color:var(--kd-link); font-size:.84rem; }
.kd-tree-scroll { max-height:270px; overflow:auto; scrollbar-width:thin; }
.kd-tree-list { list-style:none; margin:0; padding:0; }
.kd-tree-scroll > .kd-tree-list { columns:2; column-gap:15px; }
.kd-tree-list li { break-inside:avoid; }
.kd-tree-list .kd-tree-list { margin:1px 0 4px 5px; padding-left:9px; border-left:1px solid #d7dfe0; }
.kd-tree-link { display:inline-flex; align-items:baseline; gap:5px; padding:3px 1px; color:var(--kd-link); font-size:var(--type-label); line-height:1.45; }
.kd-tree-link small { color:var(--kd-muted); font-size:var(--type-small); }
.kd-no-children { margin:8px 0; font-size:.88rem; color:var(--kd-muted); }
.kd-found { margin:0 0 7px; }
.kd-result-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
.kd-result {
  display:flex; flex-direction:column; align-items:start; padding:9px 11px;
  border:1px solid #dce1e1; border-radius:5px; background:#f8fafa;
}
.kd-result strong { font-size:var(--type-product); line-height:1.4; font-weight:500; color:var(--kd-link); }
.kd-result span,.kd-result small { font-size:var(--type-small); line-height:1.45; color:var(--kd-muted); }
.kd-result span { margin:3px 0; }
.kd-more { margin-top:12px; }
.kd-load-failure { margin-top:9px; }
@media (max-width:1240px) {
  .kd-track { grid-auto-columns:calc((100% - 50px) / 6); }
}
@media (max-width:930px) {
  .kd-track { grid-auto-columns:calc((100% - 40px) / 5); }
  .kd-result-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:700px) {
  #all-departments { margin:24px 10px; padding:0; }
  .kd-head { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px 8px; margin-bottom:12px; }
  .kd-head .market-pager { grid-column:2; grid-row:1; }
  .kd-heading-text { flex:1 1 100%; }
  .kd-search-box { width:auto; grid-column:1; grid-row:2; }
  .kd-directory-toggle { grid-column:2; grid-row:2; }
  .kd-track { grid-auto-columns:calc((100% - 30px) / 4); gap:8px 10px; }
  .kd-directory { display:block; }
  .kd-root-list { display:none; }
  .kd-root-select-label { display:flex; align-items:center; gap:8px; padding:10px; background:#f2f5f5; font-size:.86rem; }
  .kd-root-select { min-width:0; max-width:100%; flex:1; padding:5px; color:#0f1111; background:#fff; border:1px solid #8a9598; border-radius:4px; }
  .kd-tree-body { padding:11px; }
  .kd-tree-scroll > .kd-tree-list { columns:1; }
  .kd-result-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .kd-search { font-size:1rem; }
}
@media (max-width:600px) {
  .kd-track { grid-auto-columns:calc((100% - 20px) / 3); }
}
@media (max-width:450px) {
  .kd-track { grid-auto-columns:calc((100% - 10px) / 2); }
  .kd-search-box { height:36px; padding-inline:7px; gap:4px; }
  .kd-search { font-size:1rem; }
  .kd-directory-toggle { min-height:36px; padding-inline:8px; font-size:var(--type-small); }
  .kd-directory-toggle .kd-icon:first-child { display:none; }
  .kd-slide { height:32px; width:23px; }
  .kd-result-list { gap:5px; }
  .kd-result { padding:7px; }
}

/* Results, product details and the local shopping cart share one set of retail controls. */
#catalog-pages { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:8px 16px; margin:12px auto; font-size:.88rem; }
#catalog-pages a { color:#175c88; text-decoration:underline; }
#market-update { padding:12px 18px; background:#fff3d3; color:#28333b; text-align:center; }
#catalog-load { min-height: 45vh; padding: 48px 24px; text-align: center; background: white; color: #35434b; }
.km-no-photo { display: grid; place-content: center; justify-items: center; gap: 8px; padding: 10px; color: #666f74; text-align: center; }
.km-no-photo small { line-height: 1.23; font-size: .81rem; max-width: 18ch; }
.km-no-photo .icon { width: 25px; height: 25px; }
.km-cart-image .km-no-photo small { display: none; }
.km-all-depts { margin-top: 10px; }
.km-all-depts summary { color: #2162a1; cursor: pointer; }
.km-mobile-scope > summary { padding: 5px 0; font-weight: 600; cursor: pointer; color: #175c88; }
.km-spec-facet, .km-facet-extra { margin: 0; border-top: 1px solid #e3e6e6; padding: 8px 0; min-width: 0; }
.km-spec-facet > summary, .km-facet-extra > summary { cursor: pointer; overflow-wrap: anywhere; padding: 4px 0; font-size: var(--type-label); font-weight: 600; line-height: 1.45; }
.km-facet-extra > .km-spec-facet { margin-left: 6px; }
.km-facet-options label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; column-gap: 8px; padding: 4px 0; font-size: var(--type-label); line-height: 1.45; cursor: pointer; }
.km-facet-options label span { min-width: 0; overflow-wrap: anywhere; }
.km-facet-options label small { padding: 0 5px; border-radius: 4px; background: #f1f3f3; color: #48535b; font-variant-numeric: tabular-nums; font-size: var(--type-small); white-space: nowrap; }
.km-facet-options input[type="checkbox"] { width: 15px; height: 15px; margin: 2px 0 0; accent-color: #175c88; }
.km-facet-search { width: 100%; min-width: 0; padding: 6px 8px; border: 1px solid #aeb6bb; border-radius: 5px; margin: 6px 0; }
.km-facet-more { color: #175c88; background: transparent; border: 0; padding: 4px 0; cursor: pointer; text-align: left; text-decoration: underline; }
.km-facet-form .km-facet-controls { position: sticky; bottom: 0; padding: 10px 0; background: #fff; z-index: 1; }
.km-facet-controls output { font-size: var(--type-small); color: #48535b; }
.km-facet-controls output:empty { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .km-spec-facet[open] > .km-facet-options, #active-filters .km-token { animation: km-facet-show .15s ease-out; }
  @keyframes km-facet-show { from { opacity: .55; transform: translateY(-2px); } to { opacity: 1; transform: translateY(0); } }
}
:root {
  --km-ink: #0f1111;
  --km-muted: #565959;
  --km-line: #d5d9d9;
  --km-link: #2162a1;
  --km-yellow: #ffd814;
}

body[data-market-view="catalog"], body[data-market-view="product"] { background: white; }
body[data-market-view="cart"] { background: #eaeded; }
#catalog, #market-product, #market-cart {
  width: min(100%, 1536px); max-width: none; margin: 0 auto; box-sizing: border-box;
  padding: 0 clamp(18px, 2.4vw, 40px) 55px; min-height: 58vh; color: var(--km-ink);
}
#catalog { border: 0; background: #fff; }
#catalog .catalog-heading {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 20px;
  padding: 18px 0 15px; min-height: 72px; border-bottom: 1px solid var(--km-line);
}
#catalog .catalog-heading > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; min-width: 0; }
#catalog-title { max-width: 100%; overflow-wrap: anywhere; font-size: var(--type-title); line-height: 1.25; letter-spacing: -.012em; font-weight: 600; }
#catalog-count { margin: 0; color: var(--km-muted); font-size: var(--type-label); }
#catalog .catalog-tools { display: flex; align-items: center; gap: 10px; width: auto; flex: none; }
#catalog .catalog-tools [data-action="filters"] { display: none; }
#catalog .sort-label { display: inline-flex; align-items: center; position: relative; min-width: 0; border: 0; background: transparent; }
#catalog .sort-label select, #catalog .catalog-tools [data-action="filters"] {
  border: 1px solid #c5caca; background: #f0f2f2; border-radius: 8px; box-shadow: 0 2px 4px #0f111113;
  height: 35px; min-height: 35px; padding: 2px 30px 2px 12px; color: var(--km-ink); font-size: .875rem;
}
#catalog .sort-label select { appearance: none; max-width: 100%; }
#catalog .sort-label .icon { position: absolute; width: 15px; height: 15px; right: 9px; pointer-events: none; }
.km-result-layout { display: grid; grid-template-columns: clamp(175px, 16.5vw, 235px) minmax(0, 1fr); gap: clamp(18px, 2vw, 34px); padding-top: 20px; }
.km-result-column, #market-refinements { min-width: 0; }
#market-refinements { padding-right: 8px; }
.km-facet-section { border: 0; margin: 0 0 18px; padding: 0 0 16px; border-bottom: 1px solid #e6e8e8; }
.km-facet-section h3 { font-size: 1rem; line-height: 1.4; letter-spacing: 0; margin: 0 0 8px; font-weight: 600; }
.km-facet-link { display: block; padding: 3px 0; line-height: 1.45; font-size: var(--type-label); color: var(--km-ink); text-decoration: none; }
.km-facet-link:hover, .km-card h3 a:hover, .km-cart-info h2 a:hover { color: #c45500; text-decoration: underline; }
.km-facet-link.selected { font-weight: 600; }
.km-price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.km-price-fields label, .km-select-label, .km-qty-label { display: grid; gap: 5px; font-size: var(--type-label); font-weight: 500; }
.km-price-fields input, .km-select-label select, .km-qty-label select {
  width: 100%; min-width: 0; height: 35px; padding: 4px 7px;
  background: #fff; border: 1px solid #888c8c; border-radius: 5px; color: var(--km-ink); font: inherit;
}
.km-select-label { margin-top: 10px; }
.km-select-label select, .km-qty-label select { cursor: pointer; padding-right: 2px; }
.km-facet-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.km-facet-controls a, .km-in-basket, .km-text-link, .km-crumbs a { color: var(--km-link); text-decoration: none; }
.km-facet-controls a:hover, .km-in-basket:hover, .km-text-link:hover, .km-crumbs a:hover { text-decoration: underline; }
.km-facet-controls a { font-size: .85rem; }
.km-secondary, #catalog #show-more {
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid #c6cccc; border-radius: 20px;
  min-height: 33px; padding: 5px 15px; background: white; font-size: .875rem; font-weight: 500;
  color: var(--km-ink); cursor: pointer; text-decoration: none; line-height: 1.2;
}
.km-secondary:hover, #catalog #show-more:hover { background: #f3f5f5; }
#active-filters { display: flex; flex-wrap: wrap; gap: 7px; }
#active-filters:not(:empty) { padding: 0 0 13px; }
.km-token { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; overflow-wrap: anywhere; text-align: start; border: 1px solid #a7c2cc; border-radius: 20px; padding: 4px 9px; background: #f0f8fa; font-size: var(--type-small); }
.km-token .icon { width: 13px; height: 13px; }
#product-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,211px),1fr));
  align-items: stretch; gap: 13px 11px; margin: 0;
}
#product-list .km-card {
  position: relative; display: flex; flex-direction: column; border: 1px solid #e4e6e6;
  border-radius: 8px; overflow: hidden; color: var(--km-ink); background: white; min-width: 0; box-shadow: none;
}
#product-list .km-card:hover { border-color: #c5caca; }
.km-photo { background: #f7f8f8; display: flex; justify-content: center; align-items: center; height: clamp(175px, 15.3vw, 232px); padding: 13px 17px; }
.km-photo img, .km-detail-image img, .km-cart-image img { width: 100%; height: 100%; display: block; object-fit: contain; mix-blend-mode: multiply; }
.pk-photo-frame { position: relative; display: block; min-width: 0; touch-action: pan-y pinch-zoom; }
.pk-photo-step {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 3px solid transparent; border-radius: 50%; background: #fff; background-clip: padding-box;
  color: #303434; cursor: pointer; touch-action: manipulation;
}
.pk-photo-step::before {
  content: ""; width: 8px; height: 8px; border-top: 2px solid; border-right: 2px solid;
}
.pk-photo-prev { left: 2px; }
.pk-photo-next { right: 2px; }
.pk-photo-prev::before { transform: translateX(2px) rotate(-135deg); }
.pk-photo-next::before { transform: translateX(-2px) rotate(45deg); }
.pk-photo-step:is(:hover, :focus-visible) { color: #973e00; background-color: #fff2e2; }
.pk-photo-step:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.pk-photo-count {
  position: absolute; bottom: 5px; right: 6px; padding: 1px 6px;
  border-radius: 8px; background: rgb(255 255 255 / 90%); color: #414545;
  font: 500 12px/1.5 system-ui, sans-serif; font-variant-numeric: tabular-nums; pointer-events: none;
}
.pk-photo-frame:not(.pk-photo-active, .pk-detail-gallery) > :is(.pk-photo-step, .pk-photo-count) {
  opacity: 0;
  pointer-events: none;
}
@media (pointer: coarse) {
  .pk-photo-step { width: 44px; height: 44px; border-width: 5px; }
}
.km-heart {
  flex: none; width: 36px; height: 36px; padding: 0;
  display: grid; place-content: center; background: white; border: 1px solid var(--km-line); border-radius: 50%;
}
.km-heart .icon { width: 16px; height: 16px; }
.km-heart:hover, .km-save-text:hover { background: #f1f4f4; }
.km-heart[aria-pressed="true"], .km-save-text[aria-pressed="true"] { color: #b43e13; }
.km-heart[aria-pressed="true"] .icon, .km-save-text[aria-pressed="true"] .icon { fill: #ffe0ce; }
.km-card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 12px 13px 15px; }
.km-card-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.km-card-label .km-eyebrow { min-width: 0; overflow-wrap: anywhere; }
.km-eyebrow { font-size: var(--type-small); line-height: 1.4; color: var(--km-muted); }
.km-card h3 { margin: 4px 0 0; font-size: var(--type-product); font-weight: 500; line-height: 1.45; letter-spacing: 0; overflow-wrap: anywhere; }
.km-card h3 a, .km-cart-info h2 a { color: inherit; text-decoration: none; }
.km-card-spec { margin: 6px 0 0; font-size: var(--type-label); line-height: 1.45; color: var(--km-muted); overflow-wrap: anywhere; }
.km-card-purchase { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding-top: 12px; margin-top: auto; }
.km-money { display: inline-flex; align-items: baseline; gap: .2em; font-size: var(--type-price); line-height: 1.3; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.km-money small { font-size: .85em; line-height: inherit; font-weight: inherit; }
.km-buy {
  display: inline-flex; align-items: center; justify-content: center; min-height: 33px;
  border: 1px solid var(--km-yellow); border-radius: 40px; padding: 6px 14px;
  background: var(--km-yellow); color: #0f1111; font: inherit; font-size: .885rem; font-weight: 550;
  line-height: 1.15; text-align: center; text-decoration: none;
}
.km-buy:hover { background: #f7ca00; border-color: #f0c100; }
.km-buy:disabled { opacity: .55; }
#catalog .more-row { text-align: center; justify-content: center; display: flex; }
#catalog #show-more { margin: 22px auto 0; min-height: 39px; }
.km-empty { grid-column: 1/-1; background: white; padding: clamp(25px,4vw,55px); border: 1px solid #d5d9d9; border-radius: 8px; }
.km-empty :is(h1, h2) { margin: 0; font-size: clamp(1.4rem,2vw,1.9rem); font-weight: 600; line-height: 1.25; letter-spacing: -.012em; }
.km-empty p { margin: 7px 0 15px; color: var(--km-muted); }
.km-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 15px 0 20px; line-height: 1.45; font-size: var(--type-label); color: var(--km-muted); }
.km-crumbs a { color: #505757; }
.km-crumbs b { color: #8e9595; font-weight: 400; }

.km-detail-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr) minmax(218px,.57fr); gap: clamp(18px,2.6vw,42px); align-items: start; }
.km-detail-image { min-width: 0; height: clamp(290px,33vw,485px); padding: 16px; display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); align-items: center; justify-items: center; border-radius: 8px; background: #fff; }
.km-detail-image img { min-width:0; min-height:0; }
.pk-detail-media { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; }
.km-detail-main { min-width: 0; }
.km-related { margin-top:24px; padding-top:16px; border-top:1px solid #d5d9d9; }
.km-related h2 { margin:0 0 10px; font-size:var(--type-section); }
.km-related ul { margin:0; padding-left:20px; }
.km-related li { margin:6px 0; overflow-wrap:anywhere; }
.km-related a { color:#175c88; text-decoration:underline; }
.km-recommendations { min-width:0; margin:clamp(22px,4vw,50px) 0 12px; color:#17252e; }
.km-reco-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.km-reco-heading h2, #ps-content .km-reco-heading h2 { margin:0; font-size:var(--type-section); line-height:1.25; }
.km-reco-track {
  display:grid; grid-auto-flow:column; grid-auto-columns:clamp(152px,16vw,212px); gap:12px;
  overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; scrollbar-width:thin; padding:3px 2px 9px;
}
.km-reco-card {
  display:flex; flex-direction:column; position:relative; min-width:0; padding:10px;
  border:1px solid #d5dce0; border-radius:12px; background:white; scroll-snap-align:start;
}
.km-reco-product, #ps-content .km-reco-product { display:block; color:inherit; text-decoration:none; }
.km-reco-photo { display:grid; place-items:center; aspect-ratio:1.3; margin:0 0 9px; background:white; }
.km-reco-photo img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.km-reco-no-photo, .km-reco-reason { color:#53616a; font-size:var(--type-small); }
.km-reco-name {
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere;
  font-size:var(--type-product); font-weight:500; line-height:1.3;
}
.km-reco-product:hover .km-reco-name { text-decoration:underline; }
.km-reco-reason { display:block; margin-top:5px; }
.km-reco-price { margin-top:auto; padding-top:8px; }
.km-reco-card > .pk-purchase { align-self:flex-start; margin-top:7px; max-width:100%; }
.km-reco-card > .km-heart { position:absolute; top:8px; right:8px; border-radius:50%; background:white; }
.km-reco-steps { display:flex; gap:6px; }
.km-reco-steps[hidden] { display:none; }
.km-reco-steps button {
  display:grid; place-items:center; width:38px; height:38px; border:1px solid #c6cfd4; border-radius:50%;
  background:white; color:inherit; font:600 24px/1 sans-serif; cursor:pointer;
}
.km-reco-steps button:disabled { opacity:.38; cursor:default; }
.km-recommendations :focus-visible { outline:2px solid #175c88; outline-offset:0; }
@media(max-width:600px) {
  .km-reco-track { grid-auto-columns:clamp(132px,43vw,190px); gap:8px; }
  .km-reco-card { padding:8px; }
  .km-reco-steps button { width:34px; height:34px; }
}
.km-detail-main h1, .km-basket-items h1 {
  margin: 5px 0 9px; font-size: var(--type-title); font-weight: 600; line-height: 1.25; letter-spacing: -.012em; overflow-wrap: anywhere;
}
.km-detail-summary { font-size: 1rem; line-height: 1.5; margin: 6px 0; }
.km-id { margin: 7px 0 16px; color: var(--km-muted); font-size: .87rem; }
.km-detail-main h2 { margin: 0 0 2px; padding: 14px 0 0; border-top: 1px solid var(--km-line); font-size: var(--type-section); font-weight: 600; line-height: 1.25; letter-spacing: -.012em; }
.km-specs { margin: 6px 0 0; }
.km-specs div { display: grid; grid-template-columns: minmax(85px,.85fr) minmax(100px,1.15fr); gap: 9px; padding: 7px 0; border-bottom: 1px solid #edf0f0; font-size: var(--type-product); line-height: 1.5; overflow-wrap: anywhere; }
.km-specs dt { font-weight: 400; color: var(--km-muted); }
.km-specs dd { margin: 0; }
.km-buy-box, .km-basket-total {
  display: flex; flex-direction: column; align-items: stretch; padding: clamp(15px,1.6vw,23px);
  border: 1px solid var(--km-line); border-radius: 9px; background: white;
}
.km-buy-box .km-money { margin-bottom: 13px; font-size: 1.25rem; }
.km-stock { margin: 0; color: #007600; font-size: var(--type-product); font-weight: 500; }
.km-snapshot { font-size: .84rem; color: var(--km-muted); margin: 4px 0 17px; }
.km-qty-label { display: flex; align-items: center; gap: 10px; font-weight: 450; }
.km-qty-label select { width: 60px; height: 32px; background: #f0f2f2; }
.km-buy-box .km-buy, .km-basket-total .km-buy { width: 100%; min-height: 38px; padding-inline: 8px; margin: 13px 0 0; }
.km-configure { display: block; margin: 13px 0; color: #2162a1; font-weight: 600; font-size: .92rem; }
.km-configure:hover { text-decoration: underline; }
.km-in-basket { font-size: .86rem; margin-top: 8px; text-align: center; }
.km-save-text { border: 0; border-top: 1px solid var(--km-line); border-radius: 0; margin-top: 17px; padding: 12px 3px 0; color: #33434b; display: inline-flex; align-items: center; gap: 7px; align-self: stretch; justify-content: center; font-size: .89rem; }
.km-save-text .icon { width: 16px; height: 16px; }

.km-basket-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(225px,300px); gap: 20px; align-items: start; }
.km-basket-items { min-width: 0; background: white; padding: clamp(16px,2.1vw,29px); }
.km-basket-items h1 { margin: 0; font-size: 1.9rem; }
.km-line-caption { text-align: right; font-size: .88rem; color: var(--km-muted); padding: 2px 0 5px; border-bottom: 1px solid var(--km-line); }
.km-cart-row { display: grid; grid-template-columns: clamp(88px,12vw,145px) minmax(0,1fr) auto; gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--km-line); }
.km-cart-row:last-child { border-bottom: 0; }
.km-cart-image { height: clamp(89px,10vw,138px); align-self: center; }
.km-cart-info { min-width: 0; }
.km-cart-info h2 { margin: 0 0 6px; font-weight: 560; font-size: 1.14rem; letter-spacing: -.01em; line-height: 1.3; overflow-wrap: anywhere; }
.km-cart-info .km-stock { font-size: .87rem; }
.km-cart-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 11px; }
.km-stepper { display: inline-flex; align-items: center; border: 2px solid #ffd814; border-radius: 15px; overflow: hidden; }
.km-stepper button { display: grid; place-items: center; width: 30px; height: 25px; border: 0; background: transparent; }
.km-stepper button:hover { background: #fff3be; }
.km-stepper span { text-align: center; font-size: .9rem; font-weight: 650; min-width: 19px; }
.km-stepper .icon { width: 14px; height: 14px; }
.km-text-link { font-size: .87rem; padding: 3px 0; }
.km-line-total { display: grid; gap: 3px; text-align: right; }
.km-line-total strong { font-size: 1.08rem; white-space: nowrap; }
.km-line-total small, .km-basket-total small { font-size: .84rem; color: var(--km-muted); }
.km-basket-total { border: 0; border-radius: 0; }
.km-basket-total p { margin: 0; font-size: 1.1rem; }
.km-basket-total strong { font-size: 1.55rem; white-space: nowrap; }
.km-basket-total small { margin-top: 13px; }

#panel.km-dialog { padding: 0; color: var(--km-ink); border: 0; background: white; max-height: 100dvh; height: 100dvh; margin: 0 auto 0 0; width: min(90vw,362px); border-radius: 0; }
#panel.km-dialog::backdrop { background: #0f11119c; }
.km-modal-heading { display: flex; justify-content: space-between; align-items: center; background: #232f3e; color: white; padding: 13px 18px; }
.km-modal-heading h2 { font-size: 1.3rem; margin: 0; letter-spacing: -.015em; }
.km-modal-heading button { color: white; border: 0; display: grid; place-items: center; width: 36px; height: 36px; }
.km-modal-body { padding: 16px 18px 30px; }
.km-menu { display: grid; }
.km-menu-dialog .km-modal-heading { position: sticky; top: 0; z-index: 1; }
.km-menu a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; text-decoration: none; color: inherit; padding: 11px 2px; border-bottom: 1px solid #eee; }
.km-menu a:hover { color: #c45500; }
.km-menu small { flex: none; color: var(--km-muted); font-variant-numeric: tabular-nums; }
body[data-market-view] .toast { z-index: 50; background: #232f3e; color: white; }
#catalog :focus-visible, #market-product :focus-visible, #market-cart :focus-visible, #panel.km-dialog :focus-visible { outline: 3px solid #007185; outline-offset: 2px; }
@media (max-width: 1100px) {
  .km-result-layout { grid-template-columns: 172px minmax(0,1fr); gap: 17px; }
  .km-detail-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1fr) minmax(186px,.55fr); gap: 16px; }
  #product-list { grid-template-columns: repeat(auto-fill,minmax(min(100%,185px),1fr)); }
}
@media (min-width: 1051px) {
  #catalog .catalog-heading { min-height: 50px; padding-block: 6px; }
  #catalog .km-result-layout {
    grid-template-columns: clamp(166px,15vw,218px) minmax(0,1fr);
    gap: clamp(14px,1.4vw,22px); padding-top: 10px;
  }
  #catalog .catalog-heading > div:first-child { align-items: center; }
  #active-filters:not(:empty) { min-width: 0; padding: 0; }
  .km-result-sidebar { min-width: 0; }
  .km-result-sidebar #polkaro-journal-links { margin: 0 0 15px; padding: 0 0 12px; border-top: 0; border-bottom: 1px solid var(--km-line); }
  .km-result-sidebar #polkaro-journal-links h2 { margin: 0 0 6px; font-size: 1rem; }
  .km-result-sidebar #polkaro-journal-links ul { list-style: none; padding: 0; font-size: var(--type-label); line-height: 1.35; }
  #product-list { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
  /* Short laptop windows need space for the heading, active filters and two rows of purchase controls. */
  #product-list .km-photo { height: clamp(92px,calc(50vh - 277px),260px); padding: 7px 12px; }
  #product-list .km-card-body { padding: 4px 9px 6px; }
  #product-list .km-heart { position: absolute; z-index: 2; top: 5px; right: 5px; width: 30px; height: 30px; }
  #product-list .km-card-label .km-eyebrow {
    position: absolute; top: 5px; left: 5px; max-width: calc(100% - 46px); padding: 2px 5px;
    background: rgb(255 255 255 / 94%); border-radius: 4px; line-height: 1.2;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none;
  }
  #product-list .km-card h3 { margin: 2px 0 0; line-height: 1.3; }
  #product-list .km-card h3 a, #product-list .km-card-spec {
    display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
  }
  #product-list .km-card h3 a { -webkit-line-clamp: 2; line-clamp: 2; }
  #product-list .km-card-spec {
    margin: 2px 0 0; font-size: var(--type-small); line-height: 1.25; -webkit-line-clamp: 1; line-clamp: 1;
  }
  #product-list .km-card-purchase { gap: 4px; padding-top: 5px; align-items: stretch; }
  #ps-content .ps-results {
    display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; padding: 0; list-style: decimal inside;
  }
  #ps-content .ps-results li { min-width: 0; padding: 10px; border: 1px solid #e4e6e6; border-radius: 8px; overflow-wrap: anywhere; }
}
@media (min-width: 1051px) and (min-height: 820px) {
  #product-list .km-card-spec { -webkit-line-clamp: 2; line-clamp: 2; }
}
@media (max-width: 790px) {
  #catalog, #market-product, #market-cart { padding-inline: 14px; }
  #catalog .catalog-tools [data-action="filters"] { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; }
  #catalog .catalog-tools [data-action="filters"] .icon { width: 15px; height: 15px; }
  #filter-count { background: #ffd814; border-radius: 12px; padding: 1px 5px; }
  #market-refinements { display: none; }
  .km-result-layout { display: block; padding-top: 12px; }
  .km-detail-image { min-height: 245px; height: 33vw; }
  .km-basket-grid { grid-template-columns: minmax(0,1fr) minmax(180px,215px); gap: 12px; }
  .km-cart-row { grid-template-columns: 72px minmax(0,1fr); gap: 8px 12px; }
  .km-line-total { grid-column: 2; text-align: left; }
  .km-cart-image { grid-row: span 2; height: 82px; }
  .km-line-caption { font-size: 0; padding: 2px; }
}
@media (max-width: 600px) {
  #catalog, #market-product, #market-cart { padding-inline: 10px; padding-bottom: 30px; }
  #catalog .catalog-heading { padding-block: 13px 10px; flex-wrap: wrap; gap: 9px; align-items: flex-start; }
  #catalog .catalog-heading > div:first-child { width: 100%; }
  #catalog .catalog-tools { gap: 8px; }
  #product-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .km-photo { height: clamp(118px,34vw,195px); padding: 9px 13px; }
  .km-card-body { padding: 9px 9px 12px; }
  .km-card h3 a, .km-card-spec { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .km-card h3 a { -webkit-line-clamp: 6; }
  .km-card-spec { -webkit-line-clamp: 3; }
  .km-card-purchase { padding-top: 9px; }
  .km-card .km-buy { padding: 6px 8px; font-size: var(--type-small); }
  .km-crumbs { padding: 10px 1px 14px; font-size: var(--type-small); }
  .km-detail-grid { display: flex; flex-direction: column; gap: 12px; }
  .km-detail-main { display: contents; }
  .km-detail-main > .km-eyebrow { order: 0; }
  .km-detail-main h1 { order: 1; margin: -6px 0 0; }
  .km-detail-summary { order: 2; margin: -5px 0 0; }
  .km-detail-image { order: 3; width: 100%; min-height: 0; height: clamp(195px,60vw,290px); padding: 7px; }
  .km-buy-box { order: 4; width: 100%; }
  .km-detail-main > .km-id { order: 5; margin: 5px 0 0; }
  .km-detail-main h2 { order: 6; width: 100%; margin: 0; }
  .km-specs { order: 7; width: 100%; margin: -7px 0 0; }
  .km-basket-grid { display: flex; flex-direction: column; gap: 12px; }
  .km-basket-items, .km-basket-total { width: 100%; padding: 14px; }
  .km-basket-items h1 { font-size: 1.55rem; }
  .km-cart-info h2 { font-size: 1rem; }
}
@media (max-width: 355px) {
  .km-price-fields { gap: 4px; }
}

@media (min-width: 601px) and (max-width: 960px) {
  .km-detail-grid {
    grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
    grid-template-areas: "photo description" "purchase description";
    grid-template-rows: auto 1fr;
  }
  .km-detail-image, .ps-picture { grid-area: photo; }
  .km-detail-main, .ps-product-main { grid-area: description; }
  .km-buy-box, .ps-purchase { grid-area: purchase; }
}

#polkaro-checkout[hidden] { display:none; }
.pc-page { max-width:1140px; min-height:52vh; margin:auto; padding:20px clamp(14px,3vw,40px) 44px; color:#17262e; font-size:1rem; line-height:1.5; }
.pc-page h1 { margin:18px 0 20px; font-size:clamp(1.625rem,3.4vw,2.25rem); font-weight:700; line-height:1.2; letter-spacing:-.025em; }
.pc-crumbs { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:.88rem; color:#53616a; }
.pc-page a,.pc-continue { color:#116779; text-decoration:underline; text-underline-offset:.15em; }
.pc-grid { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(280px,.84fr); gap:20px; align-items:start; }
#pc-form,.pc-summary,.pc-receipt { border:1px solid #d8e0e3; background:white; border-radius:9px; padding:clamp(16px,2.4vw,28px); min-width:0; }
.pc-section { min-width:0; margin:0 0 22px; border:0; padding:0; }
.pc-section legend,.pc-summary h2 { margin:0 0 14px; font-size:clamp(1.25rem,1.8vw,1.5rem); font-weight:650; line-height:1.25; letter-spacing:-.015em; }
.pc-section label { display:block; min-width:0; margin:0 0 12px; font-size:.875rem; line-height:1.45; font-weight:600; }
.pc-section label small { font-size:.8125rem; font-weight:400; color:#52616c; }
.pc-section :is(input,select,textarea) { display:block; box-sizing:border-box; width:100%; min-height:43px; margin:5px 0 0; padding:9px 11px; border:1px solid #a6b1b5; border-radius:5px; background:white; color:#13222c; font:inherit; font-size:1rem; font-weight:400; }
.pc-address { min-width:0; margin:19px 0; padding:14px 0 6px; border:0; border-block:1px solid #d8e0e3; }
.pc-address[hidden] { display:none; }
.pc-address legend { margin:0; padding:0 8px 0 0; font-size:1.125rem; }
.pc-address-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,8.75rem),1fr)); align-items:end; gap:0 12px; }
.pc-address summary { cursor:pointer; color:#116779; font-size:.875rem; padding:3px 0 7px; }
.pc-address summary small { color:#52616c; font-size:.8125rem; }
.pc-address details[open] summary { margin-bottom:3px; }
.pc-section textarea { resize:vertical; }
.pc-section label.pc-choice { display:flex; align-items:flex-start; gap:9px; line-height:1.4; cursor:pointer; }
.pc-choice input[type=checkbox] { flex:none; width:18px; height:18px; min-height:0; margin:1px 0 0; padding:0; accent-color:#15677b; }
#pc-telegram-options { margin:4px 0 14px; padding:10px 14px; border-left:2px solid #bfd5dc; }
#pc-telegram-options label[hidden] { display:none; }
.pc-telegram-phone { font-size:.85rem; color:#495962; margin:6px 0 0; overflow-wrap:anywhere; }
.pc-page :is(input,button,a,textarea,select,summary):focus-visible { outline:3px solid #18768b; outline-offset:2px; }
.pc-consent { display:flex; align-items:flex-start; gap:9px; font-size:.9rem; line-height:1.45; }
.pc-consent input { flex:none; width:18px; height:18px; margin:2px 0 0; accent-color:#15677b; }
.pc-note { color:#793600; font-size:.92rem; line-height:1.45; margin:12px 0; }
.pc-note:empty { display:none; }
.pc-page .pc-submit,.pc-page .km-buy { margin:16px 0 0; min-height:44px; color:#172127; text-decoration:none; }
.pc-submit { width:100%; }
.pc-disclosure { margin:10px 0 0; font-size:.82rem; color:#495962; line-height:1.45; }
.pc-summary { position:sticky; top:12px; }
.pc-summary details { padding:10px 0; border-top:1px solid #e3e8ea; }
.pc-summary summary { cursor:pointer; font-size:.9375rem; font-weight:600; }
.pc-summary ul { list-style:none; padding:0; margin:8px 0 0; }
.pc-lines ul { max-height:49vh; overflow:auto; }
.pc-lines li { display:flex; align-items:start; gap:10px; justify-content:space-between; padding:8px 1px; border-bottom:1px solid #edf0f1; font-size:.9375rem; line-height:1.45; }
.pc-lines :is(div,a),.pc-builds li { min-width:0; overflow-wrap:anywhere; }
.pc-lines a { font-weight:500; }
.pc-lines strong,.pc-total strong { font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; }
.pc-lines small { display:block; margin:3px 0 0; font-size:.8125rem; color:#53616a; }
.pc-total { border-top:1px solid #d8e0e3; display:flex; justify-content:space-between; align-items:center; gap:8px; padding:15px 0 11px; }
.pc-total strong { font-size:1.25rem; line-height:1.35; }
.pc-summary>a,.pc-continue { font-size:.9rem; }
.pc-continue { display:block; text-align:center; margin:12px 0 0; }
.pc-receipt { max-width:650px; margin:20px auto; }
.pc-receipt h1 { margin-top:0; }
.pc-cart-receipts { margin:16px 0; padding:14px 18px; background:white; border:1px solid #d8e0e3; border-radius:6px; }
.pc-cart-receipts summary { cursor:pointer; font-weight:650; }
.pc-cart-receipts ul { margin:10px 0 0; padding-left:22px; }
.pc-cart-receipts a { color:#116779; text-decoration:underline; }
.pc-cart-builds { margin:12px 0; padding:11px 14px; background:#f1f6f7; border-left:3px solid #337586; }
.pc-cart-builds h2 { font-size:.84rem; color:#455860; margin:0 0 5px; }
.pc-cart-builds ul { list-style:none; margin:0; padding:0; }
.pc-cart-builds li { display:flex; align-items:baseline; flex-wrap:wrap; gap:2px 9px; overflow-wrap:anywhere; }
.pc-cart-builds li+li { margin-top:5px; }
.pc-cart-builds li span { color:#495962; font-size:.83rem; }
.pc-cart-quick { display:none; }
#market-cart .km-stepper button:disabled { color:#728087; background:#f4f5f6; cursor:default; }
@media(max-width:760px) {
  .pc-page { padding:15px 12px 30px; }
  .pc-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .pc-summary { position:static; grid-row:1; }
  .pc-lines ul { max-height:150px; }
  .pc-lines li { display:grid; grid-template-columns:minmax(0,1fr); gap:3px; }
  .pc-section :is(input:not([type=checkbox]),select,textarea) { min-height:44px; font-size:1rem; }
  #market-cart .km-stepper button { width:44px; height:44px; }
  #market-cart [data-remove],#market-cart .km-buy,#market-product .km-buy-box .km-buy { min-height:44px; }
  .pc-cart-quick { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 14px; padding:12px 0; border-block:1px solid #d8e0e3; margin-top:12px; }
  .pc-cart-quick>span { color:#495962; font-size:.86rem; }
  .pc-cart-quick strong { display:block; color:#17262e; font-size:1.14rem; }
  .pc-cart-quick .km-buy { padding-inline:16px; }
}

body[data-ps-boot] main > :not(#ps-content) { display:none!important; }
body[data-ps-boot][data-ps-builder-error] main > #kwik-builder { display:block!important; }
#ps-content:not([data-ps-home]) { width:min(100%,1520px); min-height:36vh; margin:0 auto; padding:clamp(18px,3.5vw,55px); color:#14222c; background:white; }
#ps-content[data-ps-home] { max-width:1500px; margin:auto; }
body:has(#ps-content[data-ps-home]) { background:white; }
.ps-home-intro { margin:20px clamp(18px,2.5vw,38px); color:#34454f; font-size:var(--type-product); line-height:1.5; }
.ps-home-intro p { margin:0 0 5px; }
.ps-home-intro a { color:#17578d; text-decoration:underline; }
#ps-content[hidden] { display:none; }
#ps-content:where(:not([data-ps-home])) h1 { margin:13px 0; font-size:var(--type-title); font-weight:600; line-height:1.25; letter-spacing:-.012em; overflow-wrap:anywhere; }
#ps-content:where(:not([data-ps-home])) h2 { margin:20px 0 9px; font-size:var(--type-section); font-weight:600; line-height:1.25; letter-spacing:-.012em; }
#ps-content:where(:not([data-ps-home])) h3 { margin:14px 0 5px; font-size:1.125rem; font-weight:600; line-height:1.4; }
#ps-content:where(:not([data-ps-home])) p { margin:6px 0; }
#ps-content:where(:not([data-ps-home])) a { color:#17578d; text-decoration:underline; text-underline-offset:2px; }
#ps-content:where(:not([data-ps-home])) a:hover { color:#874c11; }
.ps-crumb,.ps-stamp,.ps-pages { font-size:var(--type-label); line-height:1.5; color:#4e5b64; }
.ps-links { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr)); gap:6px 17px; padding-left:20px; }
#ps-content:has(.ps-product) { width:min(100%,1536px); padding:0 clamp(18px,2.4vw,40px) 55px; }
#ps-content:has(.ps-product) .ps-crumb { padding:15px 0 20px; line-height:1.45; }
.ps-picture { display:grid; grid-template:minmax(0,1fr)/minmax(0,1fr); place-items:center; min-width:0; height:clamp(290px,33vw,485px); padding:16px; }
.ps-photo { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.ps-product-main { min-width:0; }
#ps-content .ps-product-main h1 { margin:5px 0 9px; }
.ps-purchase { padding:clamp(15px,1.6vw,23px); border:1px solid #d5d9d9; border-radius:9px; }
.ps-price { order:2; margin:0 0 9px; font-weight:600; font-size:1.25rem; line-height:1.3; overflow-wrap:anywhere; }
.ps-specs { font-size:var(--type-product); line-height:1.5; display:grid; grid-template-columns:minmax(115px,32%) minmax(0,1fr); margin:10px 0 16px; max-width:850px; }
.ps-specs dt,.ps-specs dd { margin:0; padding:6px 3px; border-bottom:1px solid #dbe1e4; overflow-wrap:anywhere; }
.ps-specs dt { color:#43535e; }
.ps-results { padding-left:28px; }
.ps-results li { padding:7px 0; }
.ps-results li > a { font-size:var(--type-product); font-weight:500; line-height:1.45; }
.ps-results span { display:block; margin-top:2px; color:#4d585f; font-size:var(--type-label); }
.ps-pages { margin-top:15px; }
.km-purchase-help { display:flex; flex-wrap:wrap; gap:6px 14px; padding-top:12px; border-top:1px solid #dde2e8; font-size:var(--type-label); }
.km-purchase-help a { color:#17578d; text-underline-offset:3px; }
#pc-buying-guide { min-width:0; margin:18px 0 25px; color:#22313c; font-size:var(--type-product); line-height:1.55; overflow-wrap:anywhere; }
#pc-buying-guide h2 { margin:0 0 12px; padding-top:15px; border-top:1px solid #d5dce1; font-size:var(--type-section); line-height:1.3; }
#pc-buying-guide h3 { margin:0 0 5px; font-size:1rem; line-height:1.45; }
#pc-buying-guide a { color:#17578d; text-decoration:underline; text-underline-offset:3px; }
#pc-buying-guide a:focus-visible { outline:2px solid #17578d; outline-offset:3px; }
#pc-buying-guide #pc-workloads dl { margin:0 0 20px; }
#pc-buying-guide #pc-workloads dl > div + div { margin-top:11px; }
#pc-buying-guide #pc-workloads dt { font-weight:600; }
#pc-buying-guide #pc-workloads dd { margin:2px 0 0; }
#pc-buying-guide #pc-price-comparison article { margin:12px 0; padding:clamp(10px,1.2vw,16px); border:1px solid #d5dce1; border-radius:8px; }
#pc-buying-guide .pc-peer-price { margin:4px 0 10px; color:#334853; font-weight:600; }
#pc-buying-guide table { width:100%; table-layout:fixed; border-collapse:collapse; font-size:var(--type-label); line-height:1.45; }
#pc-buying-guide th, #pc-buying-guide td { padding:7px 5px; vertical-align:top; text-align:start; }
#pc-buying-guide thead th { background:#f0f4f6; color:#344854; font-weight:600; }
#pc-buying-guide tbody th { color:#40535d; font-weight:500; }
#pc-buying-guide tbody tr + tr { border-top:1px solid #dfe5e9; }
#pc-buying-guide .pc-guide-collections { display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:15px; font-size:var(--type-label); }
#ps-content:has(.ps-information) { max-width:960px; min-height:55vh; padding:clamp(22px,4vw,52px) clamp(18px,5vw,65px); }
#ps-content .ps-information { max-width:70ch; font-size:1rem; line-height:1.55; overflow-wrap:anywhere; }
#ps-content .ps-information h1 { margin:18px 0 12px; }
#ps-content .ps-information > p { color:#3b4956; font-size:1rem; }
#ps-content .ps-information section { margin-top:26px; }
#ps-content .ps-information + nav { border-top:1px solid #dbe1e4; padding-top:16px; margin-top:28px; line-height:1.9; }
@media (max-width:790px) {
  #ps-content:has(.ps-product) { padding-inline:14px; }
  .ps-picture { height:33vw; min-height:245px; }
}
@media (max-width:600px) {
  #ps-content:has(.ps-product) { padding-inline:10px; }
  #ps-content:has(.ps-product) .ps-crumb { padding:10px 1px 14px; font-size:var(--type-small); }
  .ps-product-main { display:contents; }
  #ps-content .ps-product-main > .km-eyebrow { order:0; margin:0; }
  #ps-content .ps-product-main h1 { order:1; margin:-6px 0 0; }
  #ps-content .ps-product-main > .km-detail-summary { order:2; margin:-5px 0 0; }
  .ps-picture { order:3; width:100%; height:clamp(195px,60vw,290px); min-height:0; padding:7px; }
  .ps-purchase { order:4; width:100%; }
  #ps-content .ps-product .ps-id { order:5; margin:5px 0 0; }
  #ps-content .ps-product-main > h2 { order:6; width:100%; margin:0; padding-top:14px; border-top:1px solid #d5d9d9; }
  .ps-product-main .ps-specs { order:7; width:100%; margin:-7px 0 0; }
  #pc-buying-guide { order:5; width:100%; margin:10px 0 14px; }
}

#pickup-route .pickup-route-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  margin: 2px 10px 4px 0;
  padding: 9px 18px;
  border-radius: 8px;
  background: #104a73;
  color: white;
  font-weight: 650;
  text-decoration: none;
}
#pickup-route .pickup-route-button:hover { background: #0a3859; }
#pickup-route a:focus-visible { outline: 3px solid #2875ac; outline-offset: 3px; }
.pickup-route-note, .pickup-photos figcaption a { color: #435565; font-size: .9rem; }
.pickup-steps { padding-inline-start: 1.6rem; }
.pickup-steps li { margin-block: .65rem; padding-inline-start: .2rem; }
.pickup-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 18px; }
.pickup-photos figure { margin: 0; }
.pickup-photos img { display: block; width: 100%; height: auto; border-radius: 8px; }
.pickup-photos figcaption { margin-top: 6px; line-height: 1.4; }
.pickup-photos figcaption strong, .pickup-photos figcaption a { display: block; }
.pickup-photos figure > a { display: block; }
