/* Shared glass-unit cards: only the mobile arrangement changes. */
@media (max-width: 767px) {
  .vidi-stp .item {
    height: auto !important;
    min-height: 0 !important;
  }
  .vidi-stp .item .top {
    display: grid !important;
    grid-template-columns: minmax(0, 28%) minmax(0, 1fr);
    align-items: center;
    gap: 12px 6px;
  }
  .vidi-stp .item .top > img {
    grid-column: 1;
    grid-row: 1;
    max-width: 100% !important;
    width: 100% !important;
    height: auto;
    margin: 0;
  }
  .vidi-stp .item .top .scr {
    display: contents !important;
  }
  .vidi-stp .item .top .scr h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    min-width: 0;
    font-size: clamp(11px, 3.3vw, 16px);
    line-height: 1.3;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .vidi-stp .item .top .scr .imgs {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 4px;
    width: 100%;
    margin: 0;
  }
  .vidi-stp .item .top .scr .imgs .itm {
    width: 100% !important;
    max-width: 44px;
    height: auto !important;
    aspect-ratio: 1;
    min-width: 0;
    padding: 0;
    margin: 0 auto !important;
  }
  .vidi-stp .item .top .scr .imgs .itm > img {
    width: 66%;
    max-width: 100%;
    height: 66%;
    object-fit: contain;
  }
  .vidi-stp .item .top .scr .imgs .itm .popup {
    max-width: min(220px, 80vw);
    white-space: normal;
  }
}
