/* Shared legacy price cards: phones and portrait tablets only. */
@media (max-width: 991px), (min-width: 992px) and (max-width: 1199px) and (orientation: portrait) {
  html body .windows { min-height: 0; padding-bottom: 32px; }
  html body .windows .head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin: 24px 15px;
    padding: 22px;
  }
  html body .windows .head > .col-md-6 {
    width: 100%;
    min-width: 0;
    padding: 0;
    float: none;
  }
  html body .windows .head .l-c {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
  }
  html body .windows .head .l-c > img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin: 0 auto;
    align-self: center;
  }
  html body .windows .head .l-c .r-t {
    width: auto;
    min-width: 0;
    padding: 0;
  }
  html body .windows .head .l-c .r-t h3 {
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 16px;
  }
  html body .windows .head .l-c .r-t .line {
    width: 100%;
    gap: 8px;
    align-items: baseline;
    flex-wrap: wrap;
  }
  html body .windows .head .r-c { padding: 0; }
  html body .windows .head .r-c h3 {
    padding: 0;
    margin: 0 0 12px;
    background: transparent;
    color: #29473d;
    text-align: left;
    font-size: 20px;
    line-height: 1.3;
  }
  html body .windows .head .r-c h3 + p {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  html body .windows .head .r-c .chars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  html body .windows .head .r-c .chars > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    margin: 0;
  }
  html body .windows .head .r-c .chars p { margin: 0 0 6px; font-size: 12px; }
  html body .windows .head .r-c .chars .stars {
    display: flex;
    width: auto;
    height: auto;
    gap: 2px;
    margin: 0;
    position: static;
  }
  html body .windows .head .r-c .chars .stars::before,
  html body .windows .head .r-c .chars .stars::after { content: none; display: none; }
  html body .windows .head .r-c .chars .stars img {
    width: 14px;
    height: 14px;
    margin: 0;
    flex: 0 0 14px;
  }
  html body .windows .head .skidka-mark { width: 66px; }
  html body .windows .products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 15px;
  }
  html body .windows .products::before,
  html body .windows .products::after { display: none; }
  html body .windows .products > div {
    display: flex;
    width: auto;
    min-width: 0;
    padding: 0;
    float: none;
  }
  html body .windows .products .item-p {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    padding: 0;
  }
  html body .windows .products .item-p .head-img {
    flex: 0 0 auto;
    height: 210px;
    background: #f0efeb;
  }
  html body .windows .products .item-p .head-img > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  html body .windows .products .item-p .body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    padding: 18px 14px;
  }
  html body .windows .products .item-p .body h3 {
    min-height: 0;
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 16px;
  }
  html body .windows .products .item-p .body .p-b {
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-bottom: 16px;
  }
  html body .windows .products .item-p .body .price {
    font-size: 25px;
    line-height: 1.2;
    white-space: nowrap;
  }
  html body .windows .products .item-p .body .price-prev {
    font-size: 13px;
    margin-left: 0;
    white-space: nowrap;
  }
  html body .windows .products .item-p .body .line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 8px;
  }
  html body .windows .products .item-p .body .line p,
  html body .windows .products .item-p .body .line .unit span { font-size: 13px; line-height: 1.6; }
  html body .windows .products .item-p .body ul {
    display: block;
    min-height: 0;
    margin: 12px 0;
  }
  html body .windows .products .item-p .body ul li { font-size: 13px; line-height: 1.4; padding-left: 23px; }
  html body .windows .products .item-p .body h4 {
    display: block;
    font-size: 16px;
    line-height: 1.3;
    margin: 14px 0 0;
  }
  html body .windows .products .item-p .body .call-block {
    margin-top: auto;
    flex-shrink: 0;
    min-height: 48px;
    height: auto;
  }
  html body .windows .products .item-p .body ul:last-of-type { margin-bottom: 22px; }
  html body .windows .products .item-p .item-shadow { display: none; }
  /* Keep the already redesigned Actions variant, only normalize its mobile photos. */
  html body #actions-window-tiers.vo-actions-window-tiers .products .head-img > img { object-fit: contain; }
}
@media (min-width: 700px) and (max-width: 991px) {
  html body #actions-window-tiers.vo-actions-window-tiers .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 560px) and (max-width: 699px) {
  html body .windows .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body #actions-window-tiers.vo-actions-window-tiers .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body #actions-window-tiers.vo-actions-window-tiers .products .body { padding: 18px 14px; }
  html body #actions-window-tiers.vo-actions-window-tiers .products .body h3 { font-size: 18px; }
  html body #actions-window-tiers.vo-actions-window-tiers .products .price { font-size: 25px; }
  html body .windows .products > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    justify-self: center;
  }
}
@media (max-width: 559px) {
  html body .windows .head { padding: 18px; gap: 18px; }
  html body .windows .head .l-c { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; }
  html body .windows .head .l-c > img { max-height: 145px; }
  html body .windows .head .l-c .r-t h3 { font-size: 20px; }
  html body .windows .head .l-c .r-t .line p,
  html body .windows .head .l-c .r-t .line .unit span,
  html body .windows .head .l-c .r-t .line > span { font-size: 13px; line-height: 1.5; }
  html body .windows .head .skidka-mark { width: 48px; }
  html body .windows .products { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  html body .windows .products .item-p .head-img { height: 220px; }
  html body .windows .products .item-p .body { padding: 18px; }
}
@media (max-width: 767px) {
  html body #actions-window-tiers.vo-actions-window-tiers .products .head-img,
  html body #actions-window-tiers.vo-actions-window-tiers .products .head-img > img { height: 220px; }
}
@media (min-width: 992px) and (max-width: 1199px) and (orientation: portrait) {
  html body .windows .label-price { position: static; height: auto; }
  html body .windows .label-price > img { display: none; }
  html body .windows .label-price h2 { position: static; margin: 26px 15px; color: #29473d; }
  html body .windows .label-price h2 span { color: #29473d; }
}
