.market-page { --market-width: 1280px; line-height: 1.45; }
.market-page [hidden] { display: none !important; }
.market-page :focus-visible { outline: 2px solid var(--color-blue); outline-offset: 3px; }
.market-page .header__container, .market-container { width: calc(100% - 48px); max-width: var(--market-width); margin-inline: auto; padding-inline: 0; }
.market-page .header { padding: 24px 0 40px; }
.market-page .header__body { gap: 16px; }
.market-page .header__body:not(:last-child) { margin-bottom: 20px; }
.market-page .header__geo, .market-page .header__phone { font-size: 14px; }
.market-page .header__logo svg { width: 176px; height: 40px; }
.market-page .header__connection .button-icon { padding: 9px; }
.market-page .header__connection svg { width: 20px; height: 20px; }
.market-page .button { width: auto; min-height: 44px; padding: 10px 24px; font-size: 14px; border-radius: 3px; }
.market-page .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.market-skip { position: fixed; top: -80px; left: 20px; padding: 12px; background: white; z-index: 100; }
.market-skip:focus { top: 8px; }
.market-hero { margin-bottom: 120px; }
.market-hero__body { background: #f0faff; position: relative; min-height: 510px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 4px; }
.market-hero__content { padding: 80px 0 64px 44px; position: relative; z-index: 1; }
.market-hero__eyebrow { display: inline; background: #d8f4ff; color: #008dbf; padding: 4px 8px; font-size: 18px; }
.market-hero h1 { font-weight: 700; font-size: clamp(28px, 2.75vw, 40px); line-height: 1.24; text-transform: uppercase; margin: 26px 0 16px; }
.market-hero p { max-width: 485px; font-size: 17px; line-height: 1.45; margin-bottom: 32px; }
.market-hero__image { display: flex; align-items: flex-end; justify-content: center; min-width: 0; }
.market-hero__image img { width: 118%; max-width: none; height: 100%; max-height: 510px; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
.market-catalog { scroll-margin-top: 24px; }
.market-catalog__sticky { position: sticky; top: 0; z-index: 30; padding-top: 16px; background: white; box-shadow: 0 16px 22px -24px #10182880; }
.market-catalog__heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.market-catalog h2 { font-size: 28px; font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.market-categories { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 58%; }
.market-categories button { border: 1px solid #f2f4f7; padding: 10px 13px; font-size: 13px; border-radius: 3px; white-space: nowrap; }
.market-categories button[aria-pressed="true"] { background: #f0faff; color: var(--color-blue); border-color: #e2f6fd; }
.market-controls { display: grid; grid-template-columns: 1fr 350px; gap: 24px; margin-bottom: 24px; }
.market-search { display: flex; min-height: 44px; border: 1px solid #eaecf0; padding: 9px 14px; align-items: center; justify-content: space-between; gap: 12px; text-align: left; color: var(--color-text-secondary); border-radius: 3px; min-width: 0; }
#search-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.market-search__symbol { color: var(--color-blue); font-size: 26px; line-height: 20px; }
.market-sort select, .market-mobile-category select { border: 1px solid #eaecf0; min-height: 44px; width: 100%; border-radius: 3px; padding: 8px 30px 8px 14px; color: var(--color-black); font: inherit; background: white; cursor: pointer; }
.market-mobile-category { display: none; }
.market-active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.market-active-filters:not(:empty) { padding-bottom: 24px; }
.market-active-filters button { padding: 5px 10px; font-size: 13px; background: #f2f4f7; border-radius: 3px; }
.market-active-filters .market-clear { color: #0083b5; background: transparent; }
.market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
.market-card { border: 1px solid #eaecf0; border-radius: 4px; min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: white; }
.market-card__image { aspect-ratio: 1.47; display: flex; align-items: center; justify-content: center; background: #f3f4f8; overflow: hidden; }
.market-card__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .2s; }
.market-card__image:hover img { transform: scale(1.035); }
.market-image-missing { color: var(--color-text-secondary); font-size: 13px; text-align: center; padding: 24px; }
.market-card__body { padding: 20px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.market-card__tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 12px; }
.market-card__tags span { background: #f8f9fb; padding: 4px 8px; border-radius: 2px; }
.market-card h3 { font-size: 22px; font-weight: 700; line-height: 1.3; text-transform: uppercase; margin-bottom: 16px; overflow-wrap: anywhere; }
.market-card__description { font-size: 16px; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.market-specs { font-size: 14px; }
.market-specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px dashed #eaecf0; padding: 5px 0; }
.market-specs dt { color: var(--color-text-secondary); flex: 1 1 45%; }
.market-specs dd { text-align: right; flex: 0 1 58%; overflow-wrap: anywhere; }
.market-card .market-specs { margin-top: auto; }
.market-card__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 18px; }
.market-price { color: var(--color-blue); background: #f1fbff; font-size: 22px; font-weight: 700; line-height: 1.35; padding: 2px 6px; display: inline-block; }
.market-card__bottom .market-price { font-size: 20px; }
.market-card__bottom .button { padding: 8px 22px; }
.market-status { text-align: center; padding: 24px 0; color: var(--color-text-secondary); }
.market-status a { color: var(--color-blue); }
.market-more { text-align: center; margin-top: 40px; }
.market-button-outline { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e4e7ec; border-radius: 3px; min-height: 44px; padding: 10px 22px; color: #008dbf; background: white; }
.market-button-outline:hover { background: #f0faff; }
.market-filter-dialog { position: fixed; margin: 0; top: var(--filter-top, 15vh); left: var(--filter-left, 10vw); width: var(--filter-width, 70vw); max-width: min(880px, calc(100vw - 32px)); max-height: min(70vh, 650px); padding: 0; background: white; border: 1px solid #eaecf0; box-shadow: 0 12px 35px #10182826; border-radius: 4px; color: var(--color-black); }
.market-filter-dialog[open] { display: flex; flex-direction: column; }
.market-filter-dialog::backdrop { background: #10182818; }
.market-filter-dialog__search { display: flex; align-items: center; border-bottom: 1px solid #eaecf0; padding: 12px 16px; gap: 12px; }
.market-filter-dialog__search input { width: 100%; min-height: 28px; font-size: 16px; min-width: 0; color: inherit; }
.market-filter-dialog__search button { font-size: 28px; color: #008dbf; width: 32px; flex-shrink: 0; }
.market-facets { padding: 16px; overflow-y: auto; overscroll-behavior: contain; }
.market-facets fieldset { margin-bottom: 18px; min-width: 0; }
.market-facets legend { margin-bottom: 8px; font-weight: 500; }
.market-facets__values { display: flex; flex-wrap: wrap; gap: 6px; }
.market-facets button { padding: 5px 9px; border: 1px solid #eaecf0; border-radius: 3px; font-size: 13px; }
.market-facets button[aria-pressed="true"] { background: #e4f7ff; color: #0083b5; border-color: #8bd9f5; }
.market-filter-dialog__actions { padding: 12px 16px; border-top: 1px solid #eaecf0; display: flex; gap: 16px; justify-content: space-between; align-items: center; background: white; }
.market-filter-dialog__actions > button:first-child { color: var(--color-text-secondary); }
.market-footer { padding-top: 120px; padding-bottom: 24px; }
.market-footer__contacts { display: grid; grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: 32px; margin-bottom: 48px; }
.market-footer h2 { font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.market-footer p, .market-footer address, .market-footer__contact > a { color: var(--color-text-secondary); font-size: 15px; line-height: 1.65; font-style: normal; }
.market-footer__contact > a { display: block; overflow-wrap: anywhere; }
.market-footer .header__connection { gap: 8px; }
.market-footer__map { width: 100%; height: 510px; display: block; border: 0; border-radius: 3px; }
.market-footer__bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 24px; font-size: 13px; color: var(--color-text-secondary); }
.market-breadcrumbs { display: flex; gap: 14px; flex-wrap: wrap; color: var(--color-text-secondary); font-size: 14px; margin: 0 0 28px; }
.market-breadcrumbs [aria-current] { color: var(--color-black); }
.market-product__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 24px; }
.market-gallery { min-width: 0; }
.market-gallery__main { background: #f3f4f8; border-radius: 4px; aspect-ratio: 1.55; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.market-gallery__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.market-gallery__controls { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.market-gallery__arrow { display: flex; align-items: center; justify-content: center; width: 28px; min-height: 52px; border: 1px solid #eaecf0; border-radius: 3px; flex-shrink: 0; }
.market-gallery__thumbs { display: flex; gap: 12px; overflow-x: auto; flex: 1; min-width: 0; scroll-behavior: smooth; }
.market-gallery__thumbs button { flex: 0 0 calc((100% - 36px) / 4); aspect-ratio: 1.5; border: 1px solid #eaecf0; border-radius: 3px; padding: 5px; background: #f3f4f8; }
.market-gallery__thumbs button[aria-pressed="true"] { border-color: var(--color-blue); }
.market-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.market-product__info { padding: 20px; border: 1px solid #eaecf0; border-radius: 4px; min-width: 0; }
.market-product__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.market-product h1 { font-size: 28px; font-weight: 700; line-height: 1.25; }
.market-product__heading .market-price { flex-shrink: 0; font-size: 28px; }
.market-product__description { margin-bottom: 28px; font-size: 16px; white-space: pre-line; }
.market-quote { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 12px; background: #f8f9fb; margin-bottom: 32px; }
.market-quote p { font-size: 12px; line-height: 1.5; color: var(--color-text-secondary); }
.market-quote .button { flex-shrink: 0; padding: 10px 18px; }
.market-product h2 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.market-product__details { margin-top: 28px; }
.market-product__details summary { color: #0083b5; cursor: pointer; font-weight: 500; }
.market-product__details[open] summary { margin-bottom: 12px; }
.market-product__details p { white-space: pre-line; }
.market-product + .market-footer, [data-market-page="product"] .market-footer { padding-top: 240px; }
.market-quote-dialog { padding: 32px; max-width: min(500px, calc(100vw - 32px)); width: 100%; border-radius: 5px; color: var(--color-black); margin: auto; line-height: 1.5; }
.market-quote-dialog::backdrop { background: #10182888; }
.market-quote-dialog h2 { font-size: 26px; font-weight: 700; padding-right: 24px; margin-bottom: 20px; }
.market-quote-dialog p { margin-bottom: 20px; }
.market-quote-dialog .button, .market-quote-dialog .market-button-outline { width: 100%; margin-bottom: 12px; }
.market-dialog-close { position: absolute; right: 16px; top: 10px; font-size: 30px; }
.market-quote-dialog .market-quote-dialog__hours { color: var(--color-text-secondary); margin: 12px 0 0; font-size: 13px; text-align: center; }
@media (min-width: 1800px) { .market-page { --market-width: 1360px; } }
@media (max-width: 1100px) {
  .market-catalog__heading { flex-direction: column; align-items: flex-start; }
  .market-categories { max-width: 100%; justify-content: flex-start; }
  .market-hero__content { padding: 48px 0 48px 32px; }
  .market-hero__body { min-height: 410px; }
  .market-hero__eyebrow { font-size: 14px; }
  .market-hero h1 { font-size: 30px; }
  .market-hero p { font-size: 15px; }
  .market-card h3 { font-size: 19px; }
  .market-card__bottom .market-price { font-size: 18px; }
  .market-card__body { padding: 16px 12px; }
  .market-card .market-specs { font-size: 12px; }
  .market-card__description { font-size: 14px; }
  .market-product__heading { flex-direction: column; }
  .market-product h1, .market-product__heading .market-price { font-size: 24px; }
  .market-quote { flex-direction: column; align-items: stretch; }
  .market-footer__contacts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .market-page .header__container, .market-container { width: calc(100% - 32px); }
  .market-page .header { padding: 16px 0 28px; }
  .market-page .header__body { gap: 8px; flex-wrap: nowrap; }
  .market-page .header__body:not(:last-child) { margin-bottom: 12px; }
  .market-page .header__geo, .market-page .header__phone { font-size: 12px; }
  .market-page .header__geo { gap: 4px; white-space: nowrap; }
  .market-page .header__geo-icon svg { width: 14px; height: 14px; }
  .market-page .header__phone { max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: clip; }
  .market-page .header__logo svg { width: 176px; max-width: 42vw; height: 40px; }
  .market-page .header__connection { gap: 4px; }
  .market-page .header__connection .button-icon { padding: 7px; }
  .market-page .header__connection svg { width: 18px; height: 18px; }
  .market-hero { margin-bottom: 112px; }
  .market-hero__body { display: flex; flex-direction: column; min-height: 0; }
  .market-hero__content { padding: 24px 16px 8px; }
  .market-hero__eyebrow { font-size: 14px; padding: 3px 4px; }
  .market-hero h1 { font-size: 28px; line-height: 1.3; margin: 18px 0 14px; }
  .market-hero p { font-size: 15px; margin-bottom: 28px; }
  .market-hero .button { width: 100%; }
  .market-hero__image { aspect-ratio: 1.6; }
  .market-hero__image img { width: 100%; height: 100%; max-height: 300px; }
  .market-catalog__heading { display: block; margin-bottom: 26px; }
  .market-catalog__sticky { padding-top: 12px; }
  .market-catalog__sticky.is-stuck .market-catalog__heading { display: none; }
  .market-catalog__sticky.is-stuck .market-controls { margin-bottom: 12px; }
  .market-catalog__sticky.is-stuck .market-active-filters:not(:empty) { padding-bottom: 16px; }
  .market-catalog h2 { font-size: 26px; text-align: center; max-width: 360px; margin-inline: auto; }
  .market-categories { display: none; }
  .market-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 20px; }
  .market-mobile-category { display: block; }
  .market-sort { min-width: 0; }
  .market-sort select, .market-mobile-category select { font-size: 13px; padding-left: 8px; padding-right: 20px; }
  .market-search { grid-row: 2; grid-column: 1 / -1; font-size: 14px; }
  .market-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .market-card__body { padding: 20px 16px 16px; }
  .market-card h3 { font-size: 24px; text-transform: none; }
  .market-card__description { font-size: 16px; }
  .market-card .market-specs { font-size: 14px; }
  .market-card__bottom .market-price { font-size: 22px; }
  .market-card__image { aspect-ratio: 1.4; }
  .market-more { margin-top: 28px; }
  .market-filter-dialog { top: 12px; left: 16px; width: calc(100vw - 32px); max-width: none; max-height: calc(100dvh - 24px); }
  .market-filter-dialog::backdrop { background: #10182880; }
  .market-filter-dialog__search input { font-size: 16px; }
  .market-footer, [data-market-page="product"] .market-footer { padding-top: 120px; }
  .market-footer__contacts { display: flex; flex-direction: column; gap: 24px; margin-bottom: 24px; }
  .market-footer__address { order: 0; }
  .market-footer__hours { order: 1; margin-top: -14px; }
  .market-footer__hours h2 { display: none; }
  .market-footer__contact { order: 2; }
  .market-footer__social { order: 3; }
  .market-footer h2 { font-size: 18px; margin-bottom: 12px; }
  .market-footer__map { height: 340px; }
  .market-footer__bottom { flex-direction: column; gap: 12px; font-size: 12px; align-items: flex-start; }
  .market-breadcrumbs { gap: 8px; font-size: 12px; margin-bottom: 24px; }
  .market-product__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .market-gallery__main { aspect-ratio: 1.3; }
  .market-gallery__thumbs button { flex-basis: calc((100% - 24px) / 3); }
  .market-product__info { padding: 16px; }
  .market-product__heading { gap: 20px; margin-bottom: 24px; }
  .market-product h1 { font-size: 26px; text-transform: uppercase; }
  .market-product__heading .market-price { font-size: 26px; }
  .market-product__description { margin-bottom: 20px; }
  .market-quote { gap: 16px; margin-bottom: 28px; }
  .market-product .market-specs { font-size: 13px; }
}
@media (min-width: 768px) and (max-width: 1023px) { .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .market-page, .market-gallery__thumbs { scroll-behavior: auto; } .market-card__image img { transition: none; } }
.market-footer__catalog {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
