/* Final storefront compaction: video, system covers, then products. */
body.home-page :is(#showroom, #products, .product-area) .commerce-layout .product-grid[data-product-grid] > article.product-card.product-card--model .product-copy--model {
  grid-template-rows: minmax(42px, auto) 44px !important;
  flex-basis: 96px !important;
  min-height: 96px !important;
  height: 96px !important;
  max-height: 96px !important;
}

body.home-page :is(#showroom, #products, .product-area) .commerce-layout .product-grid[data-product-grid] > article.product-card.product-card--model .product-actions--model {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  min-height: 44px !important;
  height: 44px !important;
  max-height: 44px !important;
  gap: 8px !important;
}

body.home-page :is(#showroom, #products, .product-area) .commerce-layout .product-grid[data-product-grid] > article.product-card.product-card--model .product-actions--model button {
  min-width: 0 !important;
  min-height: 44px !important;
  height: 44px !important;
  max-height: 44px !important;
  padding: 8px 10px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.home-page :is(#showroom, #products, .product-area) .commerce-layout .product-grid[data-product-grid] > article.product-card.product-card--model .product-actions--model button:last-child {
  border-color: #cf4b31 !important;
  color: #fff !important;
  background: #cf4b31 !important;
}

@media (max-width: 620px) {
  body.home-page .market-header {
    top: 6px;
    width: calc(100% - 12px);
    min-height: 58px;
    padding: 6px 8px;
    border-radius: 8px;
  }

  body.home-page .market-header-inner {
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
    min-height: 44px;
    padding: 0;
  }

  body.home-page .market-brand {
    min-width: 0;
    gap: 7px;
  }

  body.home-page .brand-mark {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 18px;
  }

  body.home-page .brand-text strong {
    font-size: 15px;
  }

  body.home-page .brand-text small {
    max-width: none;
    font-size: 8px;
    white-space: nowrap;
  }

  body.home-page .language-switcher {
    flex: 0 0 auto;
    gap: 1px;
    margin-left: auto;
    padding: 2px;
  }

  body.home-page .language-switcher button {
    min-width: 32px;
    min-height: 40px;
    height: 40px;
    padding: 0 6px;
  }

  body.home-page .electro-hero {
    margin-top: 10px;
  }

  body.home-page:not(.is-showroom-view) .olaa-style-shop {
    padding-top: 18px;
  }

  body.home-page .system-showcase-head {
    margin-bottom: 8px;
  }

  body.home-page .system-showcase-head h2 {
    font-size: 25px;
    line-height: 1.1;
  }

  body.home-page .system-showcase-head > p {
    display: none;
  }

  body.home-page .olaa-style-shop .system-rail.system-rail--covers {
    grid-auto-columns: 136px !important;
    gap: 8px !important;
    padding: 2px 0 8px !important;
  }

  body.home-page .olaa-style-shop .system-rail.system-rail--covers > .system-rail-card {
    min-height: 156px !important;
    border-radius: 8px !important;
  }

  body.home-page .olaa-style-shop .system-rail.system-rail--covers > .system-rail-card .system-index {
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  body.home-page .olaa-style-shop .system-rail.system-rail--covers > .system-rail-card .system-badge,
  body.home-page .olaa-style-shop .system-rail.system-rail--covers > .system-rail-card .system-subtitle,
  body.home-page .olaa-style-shop .system-rail.system-rail--covers > .system-rail-card .system-count {
    display: none !important;
  }

  body.home-page .olaa-style-shop .system-rail.system-rail--covers > .system-rail-card .system-copy {
    padding: 10px !important;
  }

  body.home-page .olaa-style-shop .system-rail.system-rail--covers > .system-rail-card .system-copy strong {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  body.home-page .product-area {
    padding-top: 22px;
  }

  body.home-page .product-area .section-title {
    gap: 3px;
    min-height: 0;
    margin-bottom: 12px;
  }

  body.home-page .product-area .section-title .eyebrow,
  body.home-page .product-area .section-title p:last-child {
    display: none;
  }

  body.home-page .product-area .section-title h2 {
    font-size: 30px;
    line-height: 1.1;
  }

  body.home-page #products .commerce-layout {
    gap: 10px;
  }

  body.home-page #products .catalog-panel {
    min-height: 48px;
    padding-bottom: 4px;
  }

  body.home-page #products .category-button {
    min-height: 44px;
    padding: 8px 12px;
  }

  body.home-page #products .product-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 58px;
    margin-bottom: 10px;
  }

  body.home-page #products .product-toolbar label span,
  body.home-page #products .sync-badge small {
    display: none;
  }

  body.home-page #products .product-toolbar input {
    min-height: 48px;
  }

  body.home-page #products .sync-badge {
    min-height: 48px;
    padding: 8px 10px;
  }
}
