:root {
  color-scheme: dark;
  --bg: #111111;
  --panel: #191919;
  --text: #eeeeee;
  --muted: #a0a0a0;
  --line: #383838;
  --hover: #242424;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  font: 14px/1.428571 Inter, Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; background: none; }
button:disabled { cursor: wait; opacity: .5; }
button:hover:not(:disabled), a:hover { color: #fff; }
:where(button,a,input,select,textarea,summary):focus-visible { outline: 2px solid #eee; outline-offset: 3px; }
input, select, textarea { min-width: 0; border: 1px solid var(--line); border-radius: 0; background: var(--panel); }
input, select { min-height: 44px; padding: 11px 12px; }
textarea { resize: vertical; padding: 12px; line-height: 1.428571rem; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; flex-shrink: 0; display: block; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; height: 44px; padding: 0; color: var(--muted); border-radius: 0; }
.icon-button:hover { background: var(--hover); }
.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 0; font-weight: 500; text-align: center; }
.button-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.button-primary:hover:not(:disabled) { color: var(--bg); background: #fff; }
.button-secondary { background: transparent; color: var(--text); }
.button-secondary:hover:not(:disabled) { background: var(--hover); }
.button-danger { border-color: #a36868; color: #f0b5b5; }
.text-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 12px 0; text-align: left; }
.danger-text { color: #d4a8a8; }
.muted, .pricesmall { color: var(--muted); font-size: 0.857143rem; line-height: 1.285714rem; }
.wrap { width: calc(100% - 64px); max-width: 1504px; margin-inline: auto; }
.skip { position: absolute; left: 16px; top: 0; transform: translateY(-150%); z-index: 100; padding: 12px; background: var(--text); color: var(--bg); }
.skip:focus { top: 8px; transform: none; }
.mast { border-bottom: 1px solid var(--line); }
.topbar { min-height: 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 48px; }
.wordmark { font-size: 2.285714rem; font-weight: 600; letter-spacing: -.03em; line-height: 2.857143rem; }
.nav { display: flex; align-items: stretch; gap: 32px; align-self: stretch; min-height: 80px; }
.nav a { display: flex; align-items: center; border-bottom: 1px solid transparent; color: var(--muted); }
.nav [aria-current=page] { color: var(--text); border-bottom-color: var(--text); }
.preferences { margin-left: auto; display: flex; gap: 24px; align-items: center; }
.language { min-width: 44px; min-height: 44px; display: grid; place-items: center; font-size: 0.857143rem; }
.preferences select { width: 88px; border-color: transparent; background: transparent; padding-inline: 8px; }
.workspace { display: grid; grid-template-columns: 208px minmax(0,1fr); gap: 32px; align-items: start; padding-top: 32px; min-height: calc(100vh - 160px); }
.sidebar { position: sticky; top: 24px; min-width: 0; }
.brandlinks { display: grid; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.brandlinks a, #savedTabs a { display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 12px 0 12px 12px; border-left: 1px solid transparent; color: var(--muted); overflow-wrap: anywhere; }
.brandlinks [aria-current=page], #savedTabs [aria-current=page] { color: var(--text); border-left-color: var(--text); }
.personal-heading { display: none; margin-top: 24px; }
.sidebar[data-has-tabs="1"] .personal-heading { display: block; }
#account { width: 100%; justify-content: space-between; }
#savedTabs { display: grid; }
#savedTabs small { font-size: 0.857143rem; margin-left: auto; color: var(--text); }
.mobile-brand { display: none; }
.catalog { container-type: inline-size; min-width: 0; padding-bottom: 48px; }
.search { display: flex; gap: 12px; align-items: center; min-height: 48px; width: 100%; padding-left: 16px; border: 1px solid var(--line); background: var(--panel); }
.search > svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); }
.search input { border: 0; background: transparent; flex: 1; width: 100%; min-height: 44px; padding-inline: 0; }
.search:focus-within { border-color: #a0a0a0; }
.search input:focus { outline: none; }
.search button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 16px; border-left: 1px solid var(--line); white-space: nowrap; }
.search button svg { width: 20px; height: 20px; }
.heading-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin: 32px 0 16px; }
.page-title { font-size: 1.428571rem; line-height: 1.857143rem; font-weight: 500; margin: 0; letter-spacing: 0; }
.result-count { font-size: 0.857143rem; line-height: 1.285714rem; color: var(--muted); white-space: nowrap; }
.catalog-toolbar { display: flex; align-items: center; gap: 24px; min-height: 56px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.sort-control { margin-left: auto; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.sort-control > span { font-size: 0.857143rem; }
.sort-control select { max-width: 180px; border: 0; background: transparent; }
#subscribe { white-space: nowrap; }
.applied { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.applied:not(:empty) { padding-top: 16px; }
.applied a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: 0.857143rem; line-height: 1.285714rem; }
.applied .icon { width: 16px; height: 16px; }
.applied .clear-filters { text-decoration: underline; text-underline-offset: 4px; color: var(--text); }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 16px; margin-top: 24px; }
.card { min-width: 0; }
.photo { display: grid; place-items: center; position: relative; aspect-ratio: 4/5; background: #e8e8e8; overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.missing { color: #595959; font-size: 0.857143rem; line-height: 1.285714rem; }
.discount { position: absolute; top: 12px; left: 12px; padding: 4px 8px; color: #fff; background: #191919; font-size: 0.857143rem; line-height: 1.285714rem; }
.cardinfo { padding-top: 12px; }
.item-heading { display: block; }
.item-brand { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.857143rem; line-height: 1.285714rem; color: var(--muted); }
.card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; height: 2.857143rem; margin: 4px 0 0; font-size: 1.0rem; line-height: 1.428571rem; font-weight: 400; }
.item-heading:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.price-row { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 4px; }
.price { font-size: 1.0rem; line-height: 1.428571rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bookmark { margin-right: -8px; }
.bookmark[aria-pressed=true] { color: var(--text); }
.bookmark[aria-pressed=true] svg, .product-actions [aria-pressed=true] svg { fill: currentColor; }
.subline { color: var(--muted); font-size: 0.857143rem; line-height: 1.285714rem; }
.item-store, .item-sizes { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#more { display: block; min-height: 44px; padding: 11px 32px; margin: 32px auto 0; border: 1px solid var(--line); }
#more:hover { background: var(--hover); }
#empty { padding: 48px 16px; text-align: center; color: var(--muted); }
.footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 0.857143rem; line-height: 1.285714rem; color: var(--muted); }
.footer > div { display: flex; gap: 24px; }
dialog { position: fixed; padding: 32px; width: min(34.285714rem,calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 1px solid var(--line); background: var(--panel); color: var(--text); overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: #000a; }
body:has(dialog[open]) { overflow: hidden; }
dialog h2 { font-size: 1.428571rem; line-height: 1.857143rem; font-weight: 500; margin: 0 44px 24px 0; }
.close { position: absolute; right: 16px; top: 16px; }
.dialog-form { display: grid; gap: 16px; }
.dialog-form > label { display: grid; gap: 8px; }
.dialog-form p { margin: 0; line-height: 1.428571rem; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; grid-column: 1/-1; padding-top: 16px; }
.dialog-actions .button { min-width: 96px; }
.form-error { color: #efbbbb; }
.brand-options { display: grid; }
.brand-options a { min-height: 44px; display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
#filterDialog { inset: 0 0 0 auto; margin: 0; width: min(32rem,100%); height: 100dvh; max-height: 100dvh; border-block: 0; border-right: 0; }
.public-filters { container-type: inline-size; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.public-filters > label { display: grid; gap: 8px; min-width: 0; font-size: 0.857143rem; line-height: 1.285714rem; color: var(--muted); }
.public-filters select, .public-filters input { width: 100%; color: var(--text); }
.wide-field, .price-range { grid-column: 1/-1; }
.price-range { border: 0; padding: 0; margin: 0; min-width: 0; }
.price-range legend { padding: 0; font-size: 0.857143rem; line-height: 1.285714rem; color: var(--muted); margin-bottom: 8px; }
.price-range > div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.search-select { position: relative; min-width: 0; color: var(--text); }
.select-trigger { display: flex; width: 100%; min-height: 44px; padding: 11px 12px; border: 1px solid var(--line); align-items: center; justify-content: space-between; gap: 8px; background: var(--panel); text-align: left; font-size: 1.0rem; line-height: 1.428571rem; }
.select-trigger > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.select-trigger .icon { width: 18px; height: 18px; }
.select-popup { position: absolute; z-index: 20; top: calc(100% + 4px); inset-inline: 0; min-width: min(240px,75vw); border: 1px solid var(--line); background: #191919; }
.select-popup > input { width: calc(100% - 16px); margin: 8px; }
.select-options { max-height: 240px; overflow-y: auto; padding: 4px; }
.select-options button { display: block; width: 100%; min-height: 44px; padding: 12px; text-align: left; line-height: 1.428571rem; }
.select-options button:hover, .select-options button:focus-visible, .select-options [aria-selected=true] { background: var(--hover); color: #fff; }
.select-options p { margin: 12px; }
.preferences .search-select { width: 6.285714rem; }
.preferences .select-trigger, .sort-control .select-trigger { border-color: transparent; background: transparent; padding-inline: 4px; }
.preferences .select-popup, .sort-control .select-popup { left: auto; right: 0; min-width: 160px; }
.sort-control .search-select { width: 12rem; max-width: 100%; }
.account-row { display: flex; gap: 8px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); }
.account-row > a { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tab-count { font-size: 0.857143rem; }
.settings-note { margin-top: 24px; }
#clearBrowser { font-size: 0.857143rem; }
#dropzone { display: grid; justify-items: center; gap: 12px; padding: 32px 16px; border: 1px solid var(--line); }
#dropzone p { margin: 4px 0 0; font-size: 1.0rem; }
#dropzone > span { color: var(--muted); font-size: 0.857143rem; }
#photoDialog { width: min(40rem,calc(100% - 32px)); }
#cropCanvas { width: min(100%,400px); height: auto; display: block; margin: 16px auto; touch-action: none; cursor: crosshair; }
#cropFields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-block: 16px; }
#cropFields label { display: grid; gap: 4px; font-size: 0.857143rem; }
#cropFields input { width: 100%; }
#cropStage > .button { margin: 12px 8px 12px 0; }
#cropStage > label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
#cropStage input[type=checkbox] { min-height: 0; accent-color: #eee; width: 16px; height: 16px; }
#objects { display: flex; gap: 8px; flex-wrap: wrap; margin-block: 12px; }
#photoStatus, #cropHelp { color: var(--muted); line-height: 1.428571rem; }
#visualSummary { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
#visualSummary img { width: 64px; height: 80px; object-fit: contain; background: #e8e8e8; }
.visual-feedback { margin-left: auto; font-size: 0.857143rem; color: var(--muted); }
.visual-feedback .text-button { display: block; font-size: 0.857143rem; }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; padding: 16px 24px; width: max-content; max-width: calc(100vw - 32px); border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.detailgrid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); align-items: start; gap: 32px; margin-top: 32px; }
.public-gallery { min-width: 0; }
.gallery-hero { display: grid; place-items: center; background: #e8e8e8; min-height: 240px; aspect-ratio: 4/5; }
.gallery-hero img { display: block; width: 100%; aspect-ratio: 4/5; max-height: 640px; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; }
.gallery-thumbs button { flex: 0 0 56px; padding: 0; border: 1px solid transparent; background: #e8e8e8; }
.gallery-thumbs [aria-pressed=true] { border-color: #eee; }
.gallery-thumbs img { display: block; width: 54px; height: 64px; object-fit: contain; }
.gallery-thumbs .missing { display: grid; place-items: center; width: 54px; height: 64px; }
.detailbody { position: sticky; top: 24px; min-width: 0; }
.detailbody .product-brand { font-size: 0.857143rem; line-height: 1.285714rem; color: var(--muted); margin: 0 0 12px; }
.detailbody h1 { font-size: 1.714286rem; line-height: 2.285714rem; font-weight: 400; letter-spacing: 0; margin: 0 0 24px; overflow-wrap: anywhere; }
.detailbody label { display: grid; gap: 8px; font-size: 0.857143rem; color: var(--muted); }
.detailbody select { width: 100%; }
.detailbody .price { font-size: 1.428571rem; line-height: 1.857143rem; margin: 24px 0 8px; }
.original-price { font-size: 0.857143rem; color: var(--muted); margin: 0 0 16px; }
.original-price:empty { display: none; }
.detailbody p { line-height: 1.428571rem; }
.detailbody > p:not(.price):not(.product-brand) { color: var(--muted); }
.external { width: 100%; margin-block: 8px; }
.detailbody a:not(.external) { text-decoration: underline; text-underline-offset: 4px; }
.detailbody a:not(.external):has(.icon) { display: inline-flex; align-items: center; gap: 4px; margin-right: 16px; min-height: 44px; }
.detailbody a:not(.external) .icon { width: 16px; height: 16px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 16px 24px; }
.detailbody h2 { font-size: 1.142857rem; line-height: 1.714286rem; font-weight: 500; margin: 24px 0 12px; }
.chart { display: block; width: 100%; height: 96px; color: #c8c8c8; }
.detailbody details { border-top: 1px solid var(--line); padding-block: 16px; font-size: 0.857143rem; }
.detailbody summary { cursor: pointer; min-height: 44px; display: list-item; align-content: center; }
.detailbody ul { padding-left: 16px; color: var(--muted); line-height: 1.428571rem; }
.product-store { margin-top: 24px; font-size: 0.857143rem; }
@media(min-width:1550px) {
  .cards { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media(max-width:1100px) {
  .workspace { grid-template-columns: 176px minmax(0,1fr); gap: 24px; }
  .catalog-toolbar { gap: 16px; flex-wrap: wrap; }
  .sort-control > span { display: none; }
  .detailgrid { grid-template-columns: 1fr; }
  .detailbody { position: static; }
}
@media(max-width:760px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { min-height: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .wordmark { font-size: 2.0rem; line-height: 2.571429rem; padding-block: 12px; width: max-content; }
  .preferences { margin-left: auto; gap: 12px; }
  .nav { order: 3; flex-basis: 100%; flex-wrap: wrap; min-height: 44px; gap: 0 24px; }
  .nav a { min-height: 44px; }
  .workspace { display: block; padding-top: 0; }
  .sidebar { position: static; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 0 16px; padding-block: 12px 0; }
  .brandlinks { display: none; }
  .mobile-brand { display: flex; min-width: 0; }
  .mobile-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .personal-heading { margin: 0; }
  #savedTabs { grid-column: 1/-1; }
  #savedTabs a { padding: 12px 0; border-left: 0; border-bottom: 1px solid transparent; }
  #savedTabs [aria-current=page] { border-bottom-color: #eee; }
  .catalog { padding-top: 12px; padding-bottom: 32px; }
  .search { padding-left: 12px; gap: 8px; }
  .search button { padding-inline: 12px; }
  .search button span { display: none; }
  .heading-row { margin-block: 24px 12px; }
  .catalog-toolbar { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
  .sort-control { justify-self: end; margin: 0; min-width: 0; }
  .sort-control > span { display: none; }
  .sort-control .search-select { width: 11.428571rem; }
  #subscribe { grid-column: 1/-1; justify-self: start; white-space: normal; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; margin-top: 16px; }
  .card h3 { font-size: 1.0rem; }
  .price-row { gap: 0; }
  .price-row .price { white-space: nowrap; font-size: 1.0rem; }
  .bookmark { min-width: 44px; width: 44px; margin-right: -8px; }
  .discount { top: 8px; left: 8px; padding: 2px 4px; }
  .footer { flex-direction: column; gap: 12px; }
  .footer > div { flex-wrap: wrap; gap: 16px; }
  dialog { padding: 24px; }
  #filterDialog { padding: 24px; }
  .public-filters { gap: 24px 12px; }
  .public-filters > label:has(#storeFilter), .public-filters > label:has(#sizeFilter) { grid-column: 1/-1; }
  .public-filters > label:has([name=status]) { grid-row: 1; grid-column: 2; }
  .select-popup { min-width: 100%; }
  .public-filters > label:nth-of-type(even) .select-popup { left: auto; right: 0; }
  .account-row { flex-wrap: wrap; }
  .account-row > a { flex-basis: calc(100% - 104px); }
  .detailgrid { margin-top: 16px; gap: 16px; }
  .offer-page .sidebar { display: none; }
  .gallery-hero img { max-height: 43dvh; min-height: 240px; aspect-ratio: auto; }
  .gallery-hero { aspect-ratio: auto; }
  .detailbody h1 { font-size: 1.428571rem; line-height: 1.857143rem; }
  .visual-feedback { flex-basis: 100%; margin: 0; }
}
@container (width < 20rem) {
  .cards { grid-template-columns: 1fr; }
  .catalog-toolbar { display: flex; flex-wrap: wrap; }
  .sort-control { max-width: 100%; }
  #subscribe { white-space: normal; }
  .public-filters > label { grid-column: 1/-1 !important; grid-row: auto !important; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
