.ev-gallery-thumbs img { width: 100%; height: 160px; object-fit: contain; }
.ev-product-gallery { text-align: left; max-width: 680px; margin: auto; }
.ev-product-gallery > figure img { width: 100%; height: 360px; object-fit: contain; }
.ev-product-gallery figure { margin: 0; }
.ev-gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ev-product-gallery p { font-size: 14px; padding: 14px; background: #edf3f0; border-radius: 8px; }
.ev-product-gallery a { display: block; }
.ev-page .ev-hero-v2 { grid-template-columns: 1.05fr 1fr; background: #edf3f0; }
.ev-page .ev-hero-v2 h1 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.05; }
.ev-page .ev-hero-media { display: grid; grid-template-columns: 1fr; background: white; min-width: 0; }
.ev-page .ev-hero-product { background: white; }
.ev-page .ev-hero-product img { height: 390px; min-height: 0; object-fit: contain; padding: 18px; }
.ev-page .ev-hero-case { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 16px; color: #152f35; background: #e4ede7; text-decoration: none; }
.ev-page .ev-hero-case img { height: 94px; min-height: 0; object-fit: cover; }
.ev-page .ev-hero-case span { padding-right: 16px; }
.ev-offer { display: grid; gap: 4px; margin: 24px 0; }
.ev-offer strong { font-size: 34px; line-height: 1.1; }
.ev-offer small { font-size: 14px; }
.ev-page .ev-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.ev-page .ev-quick a { display: grid; padding: 16px; border: 1px solid #cddbd3; background: white; border-radius: 12px; text-decoration: none; color: #152f35; }
.ev-page .ev-quick img { width: 100%; height: 135px; object-fit: contain; }
.ev-page .ev-quick strong, .ev-page .ev-quick small { display: block; margin-top: 8px; }
.ev-page .ev-series-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ev-page .ev-series-detail { background: white; border: 1px solid #d6dfd9; border-radius: 14px; padding: 24px; min-width: 0; }
.ev-page .ev-series-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ev-page .ev-series-visuals { display: grid; grid-template-columns: 1fr 1.25fr; align-items: start; gap: 10px; margin: 20px 0; }
.ev-page .ev-series-visuals img { width: 100%; height: 230px; object-fit: contain; }
.ev-page figcaption, .ev-product-gallery figcaption { font-size: 12px; color: #475e60; padding: 8px; }
.ev-page details { margin-top: 16px; }
.ev-page summary { cursor: pointer; font-weight: 700; min-height: 44px; padding: 10px 0; }
.ev-page details p { margin: 12px 0; }
.ev-page .ev-card h3 { min-height: 0; margin-bottom: 6px; }
.ev-page .ev-type { min-height: 24px; margin: 8px 0; }
.ev-page .ev-caption { margin: 2px 0 10px; }
.ev-page .ev-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; background: #f2f6f3; padding: 12px; border-radius: 8px; }
.ev-page .ev-metrics dt { font-size: 12px; font-weight: 400; }
.ev-page .ev-metrics dd { margin: 0; font-size: 17px; font-weight: 700; }
.ev-page .ev-legacy { padding: 12px; font-size: 13px; background: #fff5df; border-radius: 8px; margin: 12px 0; }
.ev-page .ev-tech-panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; background: #edf3f0; padding: 24px; border-radius: 16px; margin: 24px 0; }
.ev-page .ev-tech-panel img { width: 100%; height: auto; max-height: 500px; object-fit: contain; }
.ev-page .ev-tech-panel li { margin: 16px 0; }
.ev-page .ev-two article { background: white; padding: 24px; border: 1px solid #d6dfd9; border-radius: 12px; }
.ev-page .ev-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0 38px; }
.ev-page .ev-package-grid article { padding: 22px; background: white; border: 1px solid #d6dfd9; border-radius: 12px; }
.ev-page .ev-package-grid img { width: 100%; height: 210px; object-fit: contain; margin-bottom: 20px; }
.ev-page .ev-montage-photo { object-fit: cover; border-radius: 8px; }
.ev-page .ev-estimate { display: flex; flex-direction: column; background: #e6efea; }
.ev-page .ev-estimate dl { margin: 20px 0; }
.ev-page .ev-estimate :where(dl) div { padding: 10px 0; border-bottom: 1px solid #c9d8cf; }
.ev-page .ev-estimate dd { margin: 0; }
.ev-page .ev-estimate .abtn { margin-top: auto; }
.ev-page .ev-solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.ev-page .ev-solution-grid article { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px; background: white; border: 1px solid #d6dfd9; border-radius: 12px; }
.ev-page .ev-solution-grid img { width: 100%; height: 190px; object-fit: contain; }
.ev-page .ev-solution-grid strong { display: block; font-size: 25px; margin: 8px 0; }
.ev-page .ev-solution-grid small { display: block; margin: 10px 0; }
.ev-page .ev-parts-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.ev-page .ev-parts-tiles a { display: flex; flex-direction: column; padding: 16px; border: 1px solid #d6dfd9; border-radius: 12px; background: white; text-decoration: none; color: #152f35; }
.ev-page .ev-parts-tiles img { width: 100%; height: 135px; object-fit: contain; }
.ev-page .ev-parts-tiles strong { margin: 12px 0; }
.ev-page .ev-parts-tiles span { margin-top: auto; font-size: 13px; }
.ev-page .ev-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.ev-page .ev-guide-grid article { padding: 18px; background: white; border: 1px solid #d6dfd9; border-radius: 12px; }
.ev-page .ev-guide-grid img { width: 100%; height: 170px; object-fit: contain; }
.ev-page .ev-guide-grid h3 { font-size: 21px; margin: 16px 0 10px; }
.ev-page .ev-guide-grid a { display: inline-block; min-height: 44px; margin-top: 12px; }
.ev-page .ev-part-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.ev-page .ev-part-hero img { width: 100%; max-height: 430px; object-fit: contain; }
.ev-page .ev-part-hero h1 { font-size: clamp(28px, 3vw, 44px); line-height: 1.15; margin-bottom: 20px; }
.ev-page .ev-part-specs { display: grid; gap: 10px; margin: 20px 0; }
.ev-page .ev-part-specs div { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; border-bottom: 1px solid #d6dfd9; padding: 14px 0; }
.ev-page .ev-part-specs dd { margin: 0; }
.ev-page .ev-accessory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.ev-page .ev-accessory-grid article { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: white; border: 1px solid #d6dfd9; border-radius: 12px; }
.ev-page .ev-accessory-grid img { height: 200px; width: 100%; object-fit: contain; }
.ev-page .ev-accessory-grid h3 { font-size: 23px; }
.ev-page .ev-accessory-grid strong { font-size: 25px; margin-top: auto; }
.ev-page .ev-accessory-grid small { font-size: 12px; }

@media (width <= 900px) {
  .ev-page .ev-quick, .ev-page .ev-parts-tiles, .ev-page .ev-guide-grid { grid-template-columns: 1fr 1fr; }
  .ev-page .ev-package-grid, .ev-page .ev-accessory-grid { grid-template-columns: 1fr 1fr; }
  .ev-page .ev-series-details { grid-template-columns: 1fr; }
  .ev-page .ev-tech-panel { grid-template-columns: 1fr; }
  .ev-page .ev-solution-grid article { grid-template-columns: 100px 1fr; padding: 16px; gap: 12px; }
}

@media (width <= 650px) {
  .ev-page .ev-hero-v2, .ev-page .ev-part-hero { grid-template-columns: 1fr; }
  .ev-page .ev-hero-v2 h1 { font-size: 32px; }
  .ev-page .ev-hero-product img { height: 285px; }
  .ev-page .ev-hero-case { grid-template-columns: 112px 1fr; font-size: 13px; }
  .ev-page .ev-hero-case img { height: 85px; }
  .ev-page .ev-quick { gap: 10px; }
  .ev-page .ev-quick a { padding: 12px; }
  .ev-page .ev-quick img { height: 105px; }
  .ev-page .ev-quick strong { font-size: 15px; }
  .ev-page .ev-quick small { font-size: 12px; }
  .ev-page .ev-series-detail { padding: 16px; }
  .ev-page .ev-series-visuals { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ev-page .ev-series-visuals img { height: 175px; }
  .ev-page .ev-series-visuals figcaption { font-size: 11px; padding: 5px; }
  .ev-page .ev-tech-panel { padding: 16px; gap: 16px; }
  .ev-page .ev-package-grid, .ev-page .ev-solution-grid, .ev-page .ev-accessory-grid { grid-template-columns: 1fr; }
  .ev-page .ev-package-grid img { height: 185px; }
  .ev-page .ev-solution-grid article { grid-template-columns: 90px 1fr; }
  .ev-page .ev-solution-grid img { height: 160px; }
  .ev-page .ev-parts-tiles img { height: 110px; }
  .ev-page .ev-parts-tiles a { padding: 12px; }
  .ev-page .ev-guide-grid { grid-template-columns: 1fr; }
  .ev-page .ev-guide-grid img { height: 230px; }
  .ev-page .ev-part-specs div { grid-template-columns: 1fr; gap: 6px; }


}

.ev-detail [id="TOVAR"] h1 { flex: 0 0 100%; width: 100%; padding: 20px 12px 8px; margin: 0; font-size: clamp(28px, 3vw, 40px); text-align: left; }

.ev-page .ev-object-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ev-page .ev-object-grid article { overflow: hidden; border: 1px solid #d2dfd9; border-radius: 16px; background: #fff; }
.ev-page .ev-object-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ev-page .ev-object-photos a { display: block; overflow: hidden; }
.ev-page .ev-object-photos img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: center; }
.ev-page .ev-object-copy { padding: 24px; }
.ev-page .ev-object-copy h3 { margin-top: 8px; }

@media (width <= 767px) {
  .ev-page .ev-object-grid { grid-template-columns: 1fr; }
  .ev-page .ev-object-photos img { height: 230px; }
  .ev-page .ev-object-copy { padding: 20px; }
}

.ev-page .ev-vk-case { margin-block: 28px; padding: clamp(16px, 3vw, 28px); background: #fff; border: 1px solid #d2dfd9; border-radius: 16px; }
.ev-page .ev-vk-host { width: 100%; max-width: 520px; margin-inline: auto; }
.ev-page .ev-vk-host iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.ev-page .ev-vk-case button { min-height: 48px; white-space: normal; }
.ev-page .ev-vk-case button[hidden] { display: none; }
.ev-page .ev-vk-case [role="status"] { overflow-wrap: anywhere; }

/* Object video section: keep VK iframe content and controls intact. */
.ev-page .ev-video-heading { margin: 48px 0 24px; max-width: 640px; }
.ev-page .ev-video-heading h3 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.ev-page .ev-video-heading p { margin: 0; color: #49626a; line-height: 1.5; }
.ev-page .ev-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ev-page .ev-video-grid .ev-vk-case { min-width: 0; margin: 0; padding: 24px; }
.ev-page .ev-video-caption { padding-bottom: 20px; }
.ev-page .ev-video-kicker { margin: 0 0 8px; color: #49626a; font-size: 14px; }
.ev-page .ev-video-caption h4 { text-align: left; margin: 0; font-size: 30px; line-height: 1.15; font-weight: 600; }
.ev-page .ev-video-grid [role="status"] { margin: 0 0 16px; line-height: 1.5; color: #49626a; }
.ev-page .ev-video-grid [role="status"]:empty { display: none; }
.ev-page .ev-video-grid .ev-vk-host[aria-busy="true"] { background: #f3f7f5; border-radius: 8px; }
.ev-page .ev-video-more { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.ev-page .ev-video-more h3 { margin: 0; font-size: 18px; }

@media (width <= 900px) {
  .ev-page .ev-video-grid { grid-template-columns: 1fr; }
  .ev-page .ev-video-grid .ev-vk-case { padding: 20px; }
}

@media (width <= 480px) {
  .ev-page .ev-video-heading { margin-top: 32px; }
  .ev-page .ev-video-grid { gap: 20px; }
  .ev-page .ev-video-grid .ev-vk-case { padding: 16px; }
  .ev-page .ev-video-caption h4 { font-size: 26px; }
}
