/* Detail-only responsive layer for the CardanMarkt Bitrix product component. */
article.cm-card-v2 {
  --detail-ink: #282b2e;
  --detail-muted: #52606a;
  --detail-line: #dbe0e3;
  --detail-gap: clamp(26px, 4.4vw, 64px);
  color: var(--detail-ink);
  font-family: Montserrat, 'Montserrat Price Ruble', Arial, sans-serif;
  margin: 0 auto 40px;
}
article.cm-card-v2 [hidden] { display: none !important; }
article.cm-card-v2 .cp-hero,
article.cm-card-v2 .cp-hero.long {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  grid-template-areas: 'title title' 'gallery specs' 'buy buy';
  grid-template-rows: auto auto auto;
  gap: 0 var(--detail-gap);
  align-items: start;
}
article.cm-card-v2 .cp-hero.no-gallery {
  grid-template-columns: minmax(0, 1.45fr) minmax(225px, .75fr);
  grid-template-areas: 'title title' 'specs buy';
  column-gap: clamp(28px, 4vw, 48px);
  max-width: 990px;
  margin-inline: auto;
}
article.cm-card-v2:has(.cp-hero.no-gallery) > .cp-desc,
article.cm-card-v2:has(.cp-hero.no-gallery) > .cp-lower { max-width: 990px; margin-inline: auto; }
article.cm-card-v2 .cp-title { grid-area: title; min-width: 0; padding-bottom: 13px; }
article.cm-card-v2 .cp-title h1 {
  font-size: clamp(32px, 3.2vw, 45px);
  font-weight: 700;
  -webkit-text-stroke: .16px currentColor;
  line-height: 1.12;
  letter-spacing: -.043em;
  overflow-wrap: break-word;
  margin: 0;
}
article.cm-card-v2 .cp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 15px; margin-top: 3px; }
article.cm-card-v2 .cm-maker-logo, article.cm-card-v2 .cm-bearing-maker {
  display: inline-flex; align-items: center; justify-content: flex-start; min-height: 42px; min-width: 44px;
  color: var(--detail-ink); padding: 0; border: 0; background: transparent; text-decoration: none; font-weight: 700;
}
article.cm-card-v2 .cm-maker-logo img { display: block; max-width: 82px; max-height: 21px; width: auto; height: auto; }
article.cm-card-v2 .cm-maker-logo::after, article.cm-card-v2 .cm-bearing-maker::after { content: none; }
article.cm-card-v2 a:focus-visible, article.cm-card-v2 button:focus-visible { outline: 2px solid #285f92; outline-offset: 3px; }
article.cm-card-v2 .cm-detail-sku { display: inline-flex; align-items: baseline; gap: 5px; font-size: 16px; color: var(--detail-muted); line-height: 1.25; }
article.cm-card-v2 .cm-detail-sku strong { color: #303640; font-weight: 700; overflow-wrap: anywhere; }
article.cm-card-v2 .cm-detail-type, article.cm-card-v2 .cp-product-flag {
  display: inline-flex; align-items: center; min-height: 23px; padding: 2px 8px; margin: 0;
  background: #edf2f4; color: #43545e; font-weight: 700; font-size: 12px; line-height: 1.25;
}
article.cm-card-v2 .cm-detail-type { border-left: 2px solid #899fae; }
article.cm-card-v2 .cp-gallery { grid-area: gallery; align-self: center; padding: 0 0 10px; min-width: 0; }
article.cm-card-v2 .cp-gallery .cm-gallery__stage { border: 0; border-radius: 0; background: #fff; }
article.cm-card-v2 .cp-gallery .cm-gallery__image, article.cm-card-v2 .cp-gallery .cm-gallery__empty {
  width: 100%; height: clamp(210px, 23vw, 282px); min-height: 0; background: white;
}
article.cm-card-v2 .cp-gallery:not([data-shaft-framing]) .cm-gallery__image .cp-frame { width: min(100%, 358px); }
article.cm-card-v2 .cp-gallery:not([data-shaft-framing]) .cm-gallery__image img { object-fit: contain; }
article.cm-card-v2 .cp-gallery .cm-gallery__arrow { width: 36px; height: 36px; min-width: 36px; border-width: 1px; box-shadow: none; }
article.cm-card-v2 .cp-gallery .cm-gallery__thumbs { justify-content: center; margin: 4px 0 0; }
article.cm-card-v2 .cp-gallery .cm-gallery__thumb { border-radius: 4px; background: #fff; border: 1px solid var(--detail-line); aspect-ratio: auto; width: 48px; height: 37px; flex: 0 0 auto; }
article.cm-card-v2 .cp-gallery .cm-gallery__thumb.tns-nav-active { border-color: #c92b32; }
article.cm-card-v2 .cp-gallery .cm-gallery__counter { margin-top: 2px; min-height: 0; text-align: center; }
article.cm-card-v2 .cm-single-image .cm-gallery__counter, article.cm-card-v2 .cm-single-image [data-cp-caption],
article.cm-card-v2 .cm-captioned .cm-gallery__counter, article.cm-card-v2 .cm-captioned [data-cp-caption] { display: none !important; }
article.cm-card-v2 .cm-captioned .cm-gallery__thumb { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; width: auto; min-width: 70px; max-width: 50%; color: #46545e; font: 600 12px/1.2 Montserrat, sans-serif; }
article.cm-card-v2 .cm-captioned .cm-gallery__thumb img { width: 28px; height: 25px; padding: 0; object-fit: contain; }
article.cm-card-v2 .cm-shaft-views { display: grid; width: 100%; gap: 14px; padding: 12px 0; }
article.cm-card-v2 .cm-shaft-overview, article.cm-card-v2 .cm-shaft-end { display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 0; color: var(--detail-muted); background: white; text-decoration: none; }
article.cm-card-v2 .cm-shaft-window { display: block; position: relative; overflow: hidden; width: 100%; max-height: 245px; }
article.cm-card-v2 .cm-shaft-window > img { display: block; width: 100%; height: auto; max-height: 245px; object-fit: contain; }
article.cm-card-v2 .cm-shaft-window.is-framed { max-height: none; width: min(100%, var(--limit)); height: auto; aspect-ratio: var(--ar); }
article.cm-card-v2 .cm-shaft-window.is-framed > img { position: absolute; width: var(--iw); height: auto; max-width: none; max-height: none; inset: auto; top: var(--it); left: var(--il); }
article.cm-card-v2 .cm-shaft-ends { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px 22px; }
article.cm-card-v2 .cm-shaft-end { gap: 4px; max-width: 42%; font-size: 12px; font-weight: 500; text-align: center; }
article.cm-card-v2 .cm-shaft-end .cm-shaft-window { width: 100px; max-width: 100%; }
article.cm-card-v2 .cm-shaft-end .cm-shaft-window:not(.is-framed) > img { height: 83px; }
article.cm-card-v2 .cp-facts { grid-area: specs; }
article.cm-card-v2 .cp-facts > h2 { font-size: 18px; font-weight: 700; letter-spacing: -.022em; margin: 0 0 10px; }
article.cm-card-v2 .cm-primary-specs { display: flex; align-items: stretch; margin: 0; padding: 11px 0; border-block: 1px solid var(--detail-line); }
article.cm-card-v2 .cm-primary-specs > div { flex: 1 1 0; min-width: 0; padding: 0 12px; border-left: 1px solid var(--detail-line); }
article.cm-card-v2 .cm-primary-specs > div:first-child { border: none; padding-left: 0; }
article.cm-card-v2 .cm-primary-specs > div:last-child { padding-right: 0; }
article.cm-card-v2 .cm-primary-specs dt { font-size: 13px; font-weight: 500; color: var(--detail-muted); line-height: 1.3; margin: 0 0 5px; overflow-wrap: break-word; }
article.cm-card-v2 .cm-primary-specs dd { font-size: clamp(19px, 1.9vw, 27px); font-weight: 700; color: var(--detail-ink); line-height: 1.17; letter-spacing: -.04em; overflow-wrap: anywhere; margin: 0; }
article.cm-card-v2 .cm-primary-specs dd small { font-size: .64em; letter-spacing: 0; font-weight: 500; color: #49545d; }
article.cm-card-v2 .cp-facts > .cp-spec { margin-top: 4px; }
article.cm-card-v2 .cp-spec > div { font-size: 14px; padding: 7px 0; gap: 12px; border-bottom: 1px solid var(--detail-line); }
article.cm-card-v2 .cp-spec > div:last-child { border-bottom: 0; }
article.cm-card-v2 .cp-spec dt { color: var(--detail-muted); }
article.cm-card-v2 .cp-spec dd { color: var(--detail-ink); font-weight: 700; }
article.cm-card-v2 .cm-bearing { margin: 11px 0 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; border-top: 1px solid var(--detail-line); }
article.cm-card-v2 .cm-bearing h3 { font-size: 15px; margin: 0; font-weight: 700; }
article.cm-card-v2 .cm-bearing-maker { justify-self: end; min-height: 35px; }
article.cm-card-v2 .cm-bearing-maker img { max-width: 52px; max-height: 17px; width: auto; height: auto; }
article.cm-card-v2 .cm-bearing dl { grid-column: 1/-1; margin: 0; }
article.cm-card-v2 .cp-buy {
  grid-area: buy; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,1fr); grid-template-areas: 'offer actions' 'offer click';
  column-gap: var(--detail-gap); row-gap: 2px; align-items: center; align-self: stretch;
  margin: 14px 0 0; padding: 14px 0; border-block: 1px solid var(--detail-line);
}
article.cm-card-v2 .cm-detail-offer { display: flex; flex-direction: column; align-items: flex-start; justify-self: center; grid-area: offer; gap: 4px; }
article.cm-card-v2 .cp-buy .cp-stock { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.25; }
article.cm-card-v2 .cp-buy .cp-stock::before { width: 7px; height: 7px; display: inline-block; vertical-align: .04em; border-radius: 50%; }
article.cm-card-v2 .cp-price { flex-wrap: wrap; align-items: baseline; gap: 3px 6px; }
article.cm-card-v2 .cp-price > .cm-price { font-family: Montserrat, 'Montserrat Price Ruble', Arial, sans-serif; font-size: clamp(36px,3.3vw,46px) !important; color: #25292c; font-weight: 900; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
article.cm-card-v2 .cm-detail-unit { font-size: 15px; color: var(--detail-muted); }
article.cm-card-v2 .cm-detail-quote { font-size: clamp(19px,2vw,25px); line-height: 1.15; }
article.cm-card-v2 .cp-actions { grid-area: actions; margin: 0 !important; justify-self: start; display: flex; align-items: center; gap: 7px; }
article.cm-card-v2 .cp-actions .btn { font-size: 15px; font-weight: 700; color: #fff; min-height: 44px; padding-inline: 16px !important; border-radius: 5px; background: #d51f25; border-color: #d51f25; }
article.cm-card-v2 .cp-actions .spin { width: 92px; border-radius: 4px; }
article.cm-card-v2 .cp-actions .spin input { width: 100%; font-size: 16px; font-weight: 600; }
article.cm-card-v2 .cp-actions .ic { width: 19px; height: 19px; }
article.cm-card-v2 .cp-one { grid-area: click; justify-self: start; margin-left: 99px; font-size: 12px; line-height: 1.3; }
article.cm-card-v2 .cp-hero.no-gallery .cp-buy { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; align-self: center; border: none; border-left: 1px solid var(--detail-line); padding: 4px 0 4px 20px; margin: 0; }
article.cm-card-v2 .no-gallery .cp-one { margin-left: 0; }
article.cm-card-v2 > .cp-desc { margin-top: 20px; }
article.cm-card-v2 > .cp-desc h2, article.cm-card-v2 .cp-lower h2, article.cm-card-v2 .cp-block .cm-mount h3 { font-size: 20px; font-weight: 700; letter-spacing: -.022em; margin: 0 0 8px; }
article.cm-card-v2 .cp-desc p { margin: 0 0 6px; font-size: 14px; line-height: 1.55; }
article.cm-card-v2 .cp-lower { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 var(--detail-gap); margin-top: 0; }
article.cm-card-v2 .cp-lower > .cp-block { min-width: 0; margin-top: 20px; padding: 14px 0 0; border-top: 1px solid var(--detail-line); }
article.cm-card-v2 .cp-lower > .cp-block.wide, article.cm-card-v2 .cp-lower > .cp-fit, article.cm-card-v2 .cp-lower > .cp-block:only-child { grid-column: 1/-1; }
article.cm-card-v2 .cm-fit-models { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(345px,100%),1fr)); gap: 7px 25px; }
article.cm-card-v2 .cm-fit-line { display: flex; gap: 14px; align-items: baseline; font-size: 14px; line-height: 1.45; }
article.cm-card-v2 .cm-fit-line .cm-fit-make { min-width: 55px; font-weight: 700; color: #303a41; text-decoration: none; }
article.cm-card-v2 .cm-fit-links { display: flex; flex-wrap: wrap; gap: 4px 13px; }
article.cm-card-v2 .cm-fit-links a { text-decoration: underline; text-decoration-color: #9da8ad; text-underline-offset: 3px; font-weight: 500; }
article.cm-card-v2 .cm-mate-context { font-size: 13px; color: var(--detail-muted); margin: 3px 0; }
article.cm-card-v2 .cm-mate-link { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 7px 0; min-height: 45px; color: var(--detail-ink); }
article.cm-card-v2 .cm-mate-link strong { font-size: 15px; font-weight: 700; }
article.cm-card-v2 .cm-mate-link small { color: var(--detail-muted); font-size: 13px; }
article.cm-card-v2 .cm-detail-kit { display: grid; grid-template-columns: minmax(85px,31%) minmax(0,1fr); gap: 3px 12px; align-content: start; align-items: start; }
article.cm-card-v2 .cm-detail-kit h2 { grid-column: 1/-1; }
article.cm-card-v2 .cm-kit-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--detail-muted); font-size: 12px; text-decoration: none; }
article.cm-card-v2 .cm-kit-photo img { width: 100%; max-width: 128px; height: 98px; object-fit: contain; }
article.cm-card-v2 .cm-detail-kit .cp-parts > div { border: 0; display: list-item; padding: 1px 0; margin: 0 0 0 15px; list-style: disc; }
article.cm-card-v2 .cm-detail-kit .cp-parts > div::marker { color: #96a0a9; }
article.cm-card-v2 .cm-detail-kit .cp-parts dt { font-size: 14px; font-weight: 500; }
article.cm-card-v2 .cm-detail-kit .cp-parts dd:empty { display: none; }
article.cm-card-v2 .cm-alt-price, article.cm-card-v2 .card__price { font-family: Montserrat, 'Montserrat Price Ruble', Arial, sans-serif; }
article.cm-card-v2 .cm-alt-row { min-height: 53px; }
article.cm-card-v2 .cm-alt-row:has(.cm-related-img) { display: grid; grid-template-columns: 45px minmax(0,1fr) auto; column-gap: 9px; align-items: center; }
article.cm-card-v2 .cm-related-img { grid-column: 1; grid-row: 1/3; width: 45px; height: 40px; object-fit: contain; }
article.cm-card-v2 .cm-alt-row:has(.cm-related-img) .cm-alt-id { grid-column: 2; grid-row: 1/3; }
article.cm-card-v2 .cm-alt-id > strong.cm-related-title { font-weight: 700; font-size: 14px; display: block; }
article.cm-card-v2 .cm-alt-id > strong.cm-related-title + strong { color: var(--detail-muted); font-size: 12px; }
article.cm-card-v2 .cm-alt-row:has(.cm-related-img) .cm-alt-stock { grid-column: 3; grid-row: 1; align-self: end; font-size: 11px; }
article.cm-card-v2 .cm-alt-row:has(.cm-related-img) .cm-alt-price { grid-column: 3; grid-row: 2; text-align: right; align-self: start; font-size: 14px; font-weight: 700; }
@media (max-width: 780px) {
  article.cm-card-v2 { margin-bottom: 26px; }
  article.cm-card-v2 .cp-hero, article.cm-card-v2 .cp-hero.long, article.cm-card-v2 .cp-hero.no-gallery { grid-template-columns: minmax(0,1fr); grid-template-areas: 'title' 'gallery' 'specs' 'buy'; gap: 0; }
  article.cm-card-v2 .cp-hero.no-gallery { grid-template-areas: 'title' 'specs' 'buy'; }
  article.cm-card-v2 .cp-title { padding-bottom: 5px; }
  article.cm-card-v2 .cp-title h1 { font-size: clamp(27px,6.6vw,32px); line-height: 1.09; }
  article.cm-card-v2 .cp-meta { gap: 2px 11px; margin: 0; }
  article.cm-card-v2 .cm-maker-logo { min-height: 40px; }
  article.cm-card-v2 .cm-maker-logo img { max-width: 68px; max-height: 18px; }
  article.cm-card-v2 .cm-detail-sku { font-size: 14px; }
  article.cm-card-v2 .cm-detail-type, article.cm-card-v2 .cp-product-flag { min-height: 20px; font-size: 11px; padding: 2px 6px; }
  article.cm-card-v2 .cp-gallery { padding: 3px 0 8px; }
  article.cm-card-v2 .cp-gallery .cm-gallery__image, article.cm-card-v2 .cp-gallery .cm-gallery__empty { height: clamp(152px,47vw,190px); }
  article.cm-card-v2 .cp-gallery:not([data-shaft-framing]) .cm-gallery__image .cp-frame { width: min(100%,244px); }
  article.cm-card-v2 .cp-gallery .cm-gallery__thumb { height: 32px; }
  article.cm-card-v2 .cm-captioned .cm-gallery__thumb img { width: 24px; height: 22px; }
  article.cm-card-v2 .cm-shaft-views { gap: 10px; padding: 5px 0; }
  article.cm-card-v2 .cm-shaft-end .cm-shaft-window { width: 70px; }
  article.cm-card-v2 .cm-shaft-end .cm-shaft-window:not(.is-framed) > img { height: 62px; }
  article.cm-card-v2 .cm-shaft-end { font-size: 11px; }
  article.cm-card-v2 .cp-facts > h2 { font-size: 16px; margin: 4px 0 7px; }
  article.cm-card-v2 .cm-primary-specs { padding: 9px 0; }
  article.cm-card-v2 .cm-primary-specs > div { padding: 0 8px; }
  article.cm-card-v2 .cm-primary-specs dt { font-size: 12px; margin-bottom: 4px; }
  article.cm-card-v2 .cm-primary-specs dd { font-size: clamp(17px,4.7vw,21px); }
  article.cm-card-v2 .cm-primary-specs dd small { font-size: .72em; }
  article.cm-card-v2 .cp-spec > div { padding: 6px 0; font-size: 13px; }
  article.cm-card-v2 .cp-buy, article.cm-card-v2 .cp-hero.no-gallery .cp-buy {
    display: grid; grid-template-columns: minmax(0,1fr) max-content; grid-template-areas: 'offer actions' 'offer click';
    align-self: stretch; gap: 2px 6px; padding: 13px 0 11px; margin: 9px 0 0; border: 0; border-block: 1px solid var(--detail-line);
  }
  article.cm-card-v2 .cm-detail-offer { justify-self: start; align-self: center; gap: 5px; }
  article.cm-card-v2 .cp-buy .cp-stock { font-size: 13px; }
  article.cm-card-v2 .cp-price > .cm-price { font-size: clamp(27px,7.7vw,35px) !important; }
  article.cm-card-v2 .cm-detail-quote { font-size: 20px; }
  article.cm-card-v2 .cp-actions { justify-self: end; gap: 5px; }
  article.cm-card-v2 .cp-actions .spin { width: 68px; }
  article.cm-card-v2 .cp-actions .btn { font-size: 13px; min-height: 40px; padding-inline: 10px !important; }
  article.cm-card-v2 .cp-actions .ic { width: 15px; height: 15px; margin-left: 4px !important; }
  article.cm-card-v2 .cp-one, article.cm-card-v2 .no-gallery .cp-one { justify-self: end; margin-left: 0; font-size: 11px; translate: 0 4px; }
  article.cm-card-v2 > .cp-desc { margin-top: 15px; }
  article.cm-card-v2 > .cp-desc h2, article.cm-card-v2 .cp-lower h2, article.cm-card-v2 .cp-block .cm-mount h3 { font-size: 18px; }
  article.cm-card-v2 .cp-desc p { font-size: 13px; }
  article.cm-card-v2 .cp-lower { grid-template-columns: minmax(0,1fr); }
  article.cm-card-v2 .cp-lower > .cp-block { margin-top: 15px; padding-top: 12px; }
  article.cm-card-v2 .cm-fit-models { grid-template-columns: minmax(0,1fr); }
  article.cm-card-v2 .cm-fit-line { gap: 10px; }
  article.cm-card-v2 .cm-kit-photo img { height: 86px; }
}
@media (max-width: 370px) {
  article.cm-card-v2 .cp-buy.cm-quote-buy, article.cm-card-v2 .cp-hero.no-gallery .cp-buy.cm-quote-buy { grid-template-columns: 1fr; grid-template-areas: 'offer' 'actions' 'click'; row-gap: 6px; }
  article.cm-card-v2 .cp-actions .btn, article.cm-card-v2 .cm-detail-sku { font-size: 12px; }
  article.cm-card-v2 .cp-actions .spin { width: 60px; }
  article.cm-card-v2 .cp-actions .btn { padding-inline: 7px !important; }
  article.cm-card-v2 .cm-maker-logo img { max-width: 62px; }
}

/* Compact vehicle directory and parts detail. */
main:has(#brand.row--model-links) > .container:has(> h1.h1--page) {margin-bottom:0!important;padding-bottom:12px;}
main:has(#brand.row--model-links) > .container > h1.h1--page {margin-bottom:0!important;}
main > .bg-light:has(> .container > #brand.row--model-links) {padding-top:clamp(12px,1.15vw,18px)!important;}
@media (min-width:781px) {
  article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero:not(.long):not(.no-gallery) {grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);grid-template-areas:'title title' 'gallery specs' 'gallery buy' 'gallery .';grid-template-rows:auto max-content max-content minmax(0,1fr);column-gap:clamp(24px,3.2vw,48px);}
  article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero:not(.long):not(.no-gallery) .cp-buy {grid-template-columns:minmax(0,1fr) max-content;gap:4px 12px;align-self:start;margin-top:8px;padding:12px 0 3px;border-bottom:0;}
  article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero:not(.long):not(.no-gallery) .cm-detail-offer {justify-self:start;}
  article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero:not(.long):not(.no-gallery) .cp-one {justify-self:end;margin-left:0;}
  article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero:not(.long):not(.no-gallery) .cm-gallery__image, article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero:not(.long):not(.no-gallery) .cm-gallery__empty {height:clamp(186px,18vw,230px);}
  article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero.no-gallery .cp-buy {align-self:start;}
}
@media (max-width:780px) {
  main:has(#brand.row--model-links) > .container:has(> h1.h1--page) {padding-bottom:8px;}
  article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero:not(.long) .cp-gallery .cm-gallery__image, article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero:not(.long) .cp-gallery .cm-gallery__empty {height:clamp(140px,40vw,171px);}
}
/* Narrow part purchase */
@media (max-width: 370px) {
  article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero .cp-buy {display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 8px;}
  article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero .cm-detail-offer {flex:1 0 auto;max-width:100%;}
  article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero .cp-actions {margin-left:auto!important;}
  article.cm-card-v2:not([data-cm-category="kardannye-valy"]):not([data-cm-category="promyshlennye-valy"]) .cp-hero .cp-one {flex:0 0 100%;text-align:right;}
}
