/* Product-card collision guard. Loaded after market.css on the homepage. */
.home-page .product-grid[data-product-grid] {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)) !important;
  align-items: stretch !important;
  gap: 16px !important;
}

.home-page .product-grid[data-product-grid] > .product-card,
.home-page .product-grid[data-product-grid] > .product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > .product-card:nth-child(8n + 1) {
  box-sizing: border-box !important;
  position: relative !important;
  display: grid !important;
  grid-template-rows: auto minmax(184px, auto) !important;
  min-width: 0 !important;
  min-height: 430px !important;
  height: auto !important;
  padding: 10px !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.home-page .product-grid[data-product-grid] .product-card-media,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-card-media,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-card-media {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] .product-card img,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) img,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  object-fit: contain !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] .product-copy,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-copy {
  box-sizing: border-box !important;
  position: static !important;
  display: grid !important;
  grid-template-rows: 16px 44px 24px minmax(80px, auto) !important;
  gap: 7px !important;
  min-width: 0 !important;
  min-height: 184px !important;
  padding: 12px 2px 0 !important;
  overflow: hidden !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] .product-copy small,
.home-page .product-grid[data-product-grid] .product-copy h3,
.home-page .product-grid[data-product-grid] .product-copy p,
.home-page .product-grid[data-product-grid] .product-meta,
.home-page .product-grid[data-product-grid] .price-row,
.home-page .product-grid[data-product-grid] .product-actions,
.home-page .product-grid[data-product-grid] .price-row strong {
  box-sizing: border-box !important;
  position: static !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] .product-copy small {
  display: block !important;
  height: 16px !important;
  overflow: hidden !important;
  color: #6a746f !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 16px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] .product-copy h3,
.home-page .product-grid[data-product-grid] .product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  overflow: hidden !important;
  color: #101719 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 22px !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .product-grid[data-product-grid] .product-copy p,
.home-page .product-grid[data-product-grid] .product-meta span:not(.price-status) {
  display: none !important;
}

.home-page .product-grid[data-product-grid] .product-meta {
  display: flex !important;
  align-items: center !important;
  height: 24px !important;
  min-height: 24px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] .product-meta .price-status {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  height: 22px !important;
  min-height: 22px !important;
  padding: 0 8px !important;
  overflow: hidden !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 22px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] .price-row {
  display: grid !important;
  grid-template-rows: 20px 38px !important;
  align-content: end !important;
  gap: 8px !important;
  min-height: 80px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] .price-row strong {
  display: block !important;
  height: 20px !important;
  overflow: hidden !important;
  color: #151c1f !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 20px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] .product-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
  width: 100% !important;
  height: 38px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] .product-actions button,
.home-page .product-grid[data-product-grid] .product-actions .chat-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .product-grid[data-product-grid] > .product-card,
  .home-page .product-grid[data-product-grid] > .product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > .product-card:nth-child(8n + 1) {
    grid-template-rows: auto minmax(216px, auto) !important;
    min-height: 398px !important;
    padding: 8px !important;
  }

  .home-page .product-grid[data-product-grid] .product-copy,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 16px 42px 24px minmax(116px, auto) !important;
    gap: 6px !important;
    min-height: 216px !important;
    padding-top: 9px !important;
  }

  .home-page .product-grid[data-product-grid] .product-copy h3,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(1) h3,
  .home-page .product-grid[data-product-grid] .product-card:nth-child(8n + 1) h3 {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    font-size: 12px !important;
    line-height: 21px !important;
  }

  .home-page .product-grid[data-product-grid] .price-row {
    grid-template-rows: 20px 78px !important;
    min-height: 116px !important;
  }

  .home-page .product-grid[data-product-grid] .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(2, 36px) !important;
    height: 78px !important;
    gap: 6px !important;
  }

  .home-page .product-grid[data-product-grid] .product-actions button,
  .home-page .product-grid[data-product-grid] .product-actions .chat-action {
    height: 36px !important;
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .product-grid[data-product-grid] > .product-card,
  .home-page .product-grid[data-product-grid] > .product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > .product-card:nth-child(8n + 1) {
    min-height: 440px !important;
  }
}

/* 20260715 live cleanup: final card geometry loaded after every homepage stylesheet. */
.home-page .product-grid[data-product-grid] {
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)) !important;
  gap: 16px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
  display: grid !important;
  grid-template-rows: minmax(0, auto) 170px !important;
  min-height: 414px !important;
  height: auto !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-card-media {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
  display: grid !important;
  grid-template-rows: 16px 44px 24px 70px !important;
  gap: 7px !important;
  min-height: 170px !important;
  max-height: 170px !important;
  padding: 10px 2px 0 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy small,
.home-page .product-grid[data-product-grid] > article.product-card .product-copy h3,
.home-page .product-grid[data-product-grid] > article.product-card .product-meta,
.home-page .product-grid[data-product-grid] > article.product-card .price-row,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  position: static !important;
  min-width: 0 !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  font-size: 14px !important;
  line-height: 22px !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row {
  display: grid !important;
  grid-template-rows: 18px 38px !important;
  gap: 8px !important;
  min-height: 70px !important;
  max-height: 70px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row strong {
  height: 18px !important;
  font-size: 12px !important;
  line-height: 18px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  height: 38px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    grid-template-rows: minmax(0, auto) 204px !important;
    min-height: 384px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 15px 42px 22px 108px !important;
    min-height: 204px !important;
    max-height: 204px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(2, 36px) !important;
    height: 78px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .price-row {
    grid-template-rows: 18px 78px !important;
    min-height: 108px !important;
    max-height: 108px !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* 20260715 EOF hard reset: this is intentionally duplicated at the real end of
   the file so no older card experiment can override it. */
.home-page .product-grid[data-product-grid] {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)) !important;
  align-items: stretch !important;
  gap: 18px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(198px, 1fr) !important;
  min-width: 0 !important;
  min-height: 462px !important;
  height: 100% !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-card-media {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-card-media img,
.home-page .product-grid[data-product-grid] > article.product-card img,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) img,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 18px 46px 24px minmax(92px, 1fr) !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 198px !important;
  padding: 12px 2px 0 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > small,
.home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .product-grid[data-product-grid] > article.product-card .product-meta,
.home-page .product-grid[data-product-grid] > article.product-card .price-row,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > small {
  display: block !important;
  min-width: 0 !important;
  height: 18px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #66746f !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 18px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #11181b !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 23px !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > p {
  display: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta span {
  display: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta .price-status {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 8px !important;
  overflow: hidden !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(20px, auto) auto !important;
  align-self: stretch !important;
  align-content: end !important;
  min-width: 0 !important;
  min-height: 92px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row strong {
  display: block !important;
  min-width: 0 !important;
  min-height: 20px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #121a1d !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 20px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-self: end !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  gap: 7px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    grid-template-rows: auto minmax(222px, 1fr) !important;
    min-height: 430px !important;
    padding: 8px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 17px 44px 24px minmax(120px, 1fr) !important;
    min-height: 222px !important;
    padding-top: 10px !important;
    gap: 7px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    font-size: 12px !important;
    line-height: 22px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .price-row {
    min-height: 120px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
  .home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    grid-template-rows: auto minmax(206px, 1fr) !important;
    min-height: 462px !important;
  }
}

/* 20260715 EOF final flow fix: this must stay last to prevent product-card overlap. */
.home-page .commerce-layout .product-grid[data-product-grid] {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  align-items: stretch !important;
  gap: 18px !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1),
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 410px !important;
  height: 100% !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-card-media,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-card-media,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-card-media {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-card-media img,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card img,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1) img,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
  box-sizing: border-box !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 12px 0 0 !important;
  gap: 7px !important;
  overflow: visible !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy > small,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-meta,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .price-row,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy > small {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #65716d !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 15px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  max-width: 100% !important;
  min-height: 42px !important;
  max-height: 42px !important;
  overflow: hidden !important;
  color: #10181b !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 21px !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy > p,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-meta span:not(.price-status) {
  display: none !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-meta {
  display: flex !important;
  align-items: center !important;
  min-height: 24px !important;
  overflow: hidden !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-meta .price-status {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  min-height: 24px !important;
  padding: 0 8px !important;
  overflow: hidden !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .price-row {
  display: block !important;
  min-height: 20px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .price-row strong {
  display: block !important;
  overflow: hidden !important;
  color: #11181b !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 20px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100% !important;
  gap: 7px !important;
  padding-top: 2px !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions button,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .home-page .commerce-layout .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card,
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    min-height: 390px !important;
    padding: 8px !important;
  }

  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy {
    gap: 6px !important;
    padding-top: 10px !important;
  }

  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy > h3,
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
    min-height: 40px !important;
    max-height: 40px !important;
    font-size: 12px !important;
    line-height: 20px !important;
  }

  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions button,
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 520px) {
  .home-page .commerce-layout .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card,
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    min-height: 430px !important;
  }
}

/* 20260715 final flow fix: prevent product text and buttons from stacking over each other. */
.home-page .commerce-layout .product-grid[data-product-grid] {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  align-items: stretch !important;
  gap: 18px !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1),
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 410px !important;
  height: 100% !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-card-media,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-card-media,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-card-media {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-card-media img,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card img,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1) img,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
  box-sizing: border-box !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 12px 0 0 !important;
  gap: 7px !important;
  overflow: visible !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy > small,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-meta,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .price-row,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy > small {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #65716d !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 15px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  max-width: 100% !important;
  min-height: 42px !important;
  max-height: 42px !important;
  overflow: hidden !important;
  color: #10181b !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 21px !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy > p,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-meta span:not(.price-status) {
  display: none !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-meta {
  display: flex !important;
  align-items: center !important;
  min-height: 24px !important;
  overflow: hidden !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-meta .price-status {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  min-height: 24px !important;
  padding: 0 8px !important;
  overflow: hidden !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .price-row {
  display: block !important;
  min-height: 20px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .price-row strong {
  display: block !important;
  overflow: hidden !important;
  color: #11181b !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 20px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100% !important;
  gap: 7px !important;
  padding-top: 2px !important;
}

.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions button,
.home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .home-page .commerce-layout .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card,
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    min-height: 390px !important;
    padding: 8px !important;
  }

  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy {
    gap: 6px !important;
    padding-top: 10px !important;
  }

  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-copy > h3,
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
    min-height: 40px !important;
    max-height: 40px !important;
    font-size: 12px !important;
    line-height: 20px !important;
  }

  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions button,
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 520px) {
  .home-page .commerce-layout .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card,
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .commerce-layout .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    min-height: 430px !important;
  }
}

/* 20260715 product shelf overlap repair: explicit rows for every visible text/action block. */
.home-page .product-grid[data-product-grid] {
  grid-template-columns: repeat(auto-fill, minmax(246px, 1fr)) !important;
  gap: 18px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
  display: grid !important;
  grid-template-rows: auto 204px !important;
  min-height: 470px !important;
  height: auto !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 18px 48px 24px 22px 42px !important;
  gap: 8px !important;
  min-height: 204px !important;
  max-height: 204px !important;
  padding: 12px 2px 0 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > small,
.home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .product-grid[data-product-grid] > article.product-card .product-meta,
.home-page .product-grid[data-product-grid] > article.product-card .price-row,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  position: static !important;
  grid-column: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > small {
  grid-row: 1 !important;
  height: 18px !important;
  line-height: 18px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
  grid-row: 2 !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  font-size: 14px !important;
  line-height: 24px !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta {
  grid-row: 3 !important;
  height: 24px !important;
  min-height: 24px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row {
  display: block !important;
  grid-row: 4 !important;
  min-height: 22px !important;
  height: 22px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row strong {
  height: 22px !important;
  min-height: 22px !important;
  line-height: 22px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  display: grid !important;
  grid-row: 5 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  height: 42px !important;
  min-height: 42px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
  height: 42px !important;
  min-height: 42px !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    grid-template-rows: auto 238px !important;
    min-height: 438px !important;
    padding: 8px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 18px 46px 24px 22px 78px !important;
    min-height: 238px !important;
    max-height: 238px !important;
    gap: 8px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    font-size: 12px !important;
    line-height: 23px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(2, 36px) !important;
    height: 78px !important;
    min-height: 78px !important;
    gap: 6px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
  .home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
    height: 36px !important;
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    grid-template-rows: auto 224px !important;
    min-height: 472px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 18px 46px 24px 22px 70px !important;
    min-height: 224px !important;
    max-height: 224px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions {
    grid-template-rows: repeat(2, 32px) !important;
    height: 70px !important;
    min-height: 70px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
  .home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
    height: 32px !important;
    min-height: 32px !important;
  }
}

/* 20260715 card-grid hard reset.
   The live homepage has several legacy card experiments above this block.
   This final grid owns the customer-facing shelf so CJK labels, price status,
   and buttons cannot overlap in three-column and two-column viewports. */
.home-page .product-grid[data-product-grid] {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)) !important;
  align-items: stretch !important;
  gap: 18px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(198px, 1fr) !important;
  min-width: 0 !important;
  min-height: 462px !important;
  height: 100% !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-card-media {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-card-media img,
.home-page .product-grid[data-product-grid] > article.product-card img,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) img,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 18px 46px 24px minmax(92px, 1fr) !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 198px !important;
  padding: 12px 2px 0 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > small,
.home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .product-grid[data-product-grid] > article.product-card .product-meta,
.home-page .product-grid[data-product-grid] > article.product-card .price-row,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > small {
  display: block !important;
  min-width: 0 !important;
  height: 18px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #66746f !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 18px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #11181b !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 23px !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > p {
  display: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta span {
  display: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta .price-status {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 8px !important;
  overflow: hidden !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(20px, auto) auto !important;
  align-self: stretch !important;
  align-content: end !important;
  min-width: 0 !important;
  min-height: 92px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row strong {
  display: block !important;
  min-width: 0 !important;
  min-height: 20px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #121a1d !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 20px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-self: end !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  gap: 7px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    grid-template-rows: auto minmax(222px, 1fr) !important;
    min-height: 430px !important;
    padding: 8px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 17px 44px 24px minmax(120px, 1fr) !important;
    min-height: 222px !important;
    padding-top: 10px !important;
    gap: 7px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    font-size: 12px !important;
    line-height: 22px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .price-row {
    min-height: 120px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
  .home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    grid-template-rows: auto minmax(206px, 1fr) !important;
    min-height: 462px !important;
  }
}

/* 20260715 no-overlap wide guard: avoid cramped 3-column cards on tablet widths. */
.home-page .product-grid[data-product-grid] {
  grid-template-columns: repeat(auto-fill, minmax(286px, 1fr)) !important;
  gap: 18px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
  display: grid !important;
  grid-template-rows: minmax(0, auto) 206px !important;
  min-height: 478px !important;
  padding: 12px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-card-media {
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
  display: grid !important;
  grid-template-rows: 17px 48px 24px 96px !important;
  gap: 7px !important;
  min-height: 206px !important;
  max-height: 206px !important;
  padding: 12px 2px 0 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy small,
.home-page .product-grid[data-product-grid] > article.product-card .product-copy h3,
.home-page .product-grid[data-product-grid] > article.product-card .product-meta,
.home-page .product-grid[data-product-grid] > article.product-card .price-row,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  position: static !important;
  min-width: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy small {
  height: 17px !important;
  line-height: 17px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  font-size: 14px !important;
  line-height: 24px !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta {
  height: 24px !important;
  min-height: 24px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row {
  display: grid !important;
  grid-template-rows: 20px 42px !important;
  align-content: end !important;
  gap: 10px !important;
  min-height: 96px !important;
  max-height: 96px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row strong {
  height: 20px !important;
  font-size: 13px !important;
  line-height: 20px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  height: 42px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
  min-height: 42px !important;
  height: 42px !important;
  font-size: 12px !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    grid-template-rows: minmax(0, auto) 214px !important;
    min-height: 404px !important;
    padding: 8px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 15px 42px 22px 117px !important;
    gap: 6px !important;
    min-height: 214px !important;
    max-height: 214px !important;
    padding-top: 9px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy h3,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    font-size: 12px !important;
    line-height: 21px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .price-row {
    grid-template-rows: 19px 84px !important;
    gap: 8px !important;
    min-height: 117px !important;
    max-height: 117px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(2, 39px) !important;
    height: 84px !important;
    gap: 6px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
  .home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
    min-height: 39px !important;
    height: 39px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    min-height: 456px !important;
  }
}

/* 20260715 card-grid-reset: final normalized product card layout. */
.home-page .product-grid[data-product-grid] {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 18px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
  display: grid !important;
  grid-template-rows: minmax(180px, auto) 184px !important;
  align-content: start !important;
  min-width: 0 !important;
  min-height: 468px !important;
  height: auto !important;
  padding: 12px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-card-media {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 180px !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card img,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) img,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
  display: grid !important;
  grid-template-rows: 17px 46px 24px 22px 42px !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 184px !important;
  max-height: 184px !important;
  padding: 12px 0 0 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > small,
.home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .product-grid[data-product-grid] > article.product-card .product-meta,
.home-page .product-grid[data-product-grid] > article.product-card .price-row,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  position: static !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > p {
  display: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > small {
  display: block !important;
  height: 17px !important;
  overflow: hidden !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 17px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  overflow: hidden !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 23px !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta {
  display: flex !important;
  align-items: center !important;
  height: 24px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta span:not(.price-status) {
  display: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta .price-status {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  height: 22px !important;
  padding: 0 8px !important;
  overflow: hidden !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 22px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row {
  display: block !important;
  height: 22px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row strong {
  display: block !important;
  height: 22px !important;
  overflow: hidden !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 22px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  height: 42px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 8px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    grid-template-rows: minmax(148px, auto) 216px !important;
    min-height: 398px !important;
    padding: 8px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-card-media,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-card-media,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-card-media {
    min-height: 148px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 16px 42px 23px 21px 78px !important;
    gap: 6px !important;
    min-height: 216px !important;
    max-height: 216px !important;
    padding-top: 8px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    font-size: 12px !important;
    line-height: 21px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .price-row,
  .home-page .product-grid[data-product-grid] > article.product-card .price-row strong {
    height: 21px !important;
    font-size: 12px !important;
    line-height: 21px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(2, 36px) !important;
    gap: 6px !important;
    height: 78px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
  .home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
    height: 36px !important;
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    min-height: 438px !important;
  }
}

/* 20260715 selected product card final override.
   This file loads after market.css, so keep the browser-facing card geometry here. */
.home-page .product-grid[data-product-grid] {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)) !important;
  align-items: stretch !important;
  gap: 16px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
  display: flex !important;
  flex-direction: column !important;
  grid-template-rows: none !important;
  min-width: 0 !important;
  min-height: 432px !important;
  height: auto !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-card-media {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  grid-template-rows: none !important;
  gap: 7px !important;
  min-width: 0 !important;
  min-height: 184px !important;
  max-height: none !important;
  padding: 12px 2px 0 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > small,
.home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .product-grid[data-product-grid] > article.product-card .product-meta,
.home-page .product-grid[data-product-grid] > article.product-card .price-row,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > small {
  flex: 0 0 16px !important;
  height: 16px !important;
  line-height: 16px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 42px !important;
  max-height: 42px !important;
  margin: 0 !important;
  overflow: hidden !important;
  line-height: 21px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta {
  flex: 0 0 24px !important;
  min-height: 24px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  min-height: 82px !important;
  height: auto !important;
  padding-top: 8px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  flex: 0 0 auto !important;
  height: auto !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    min-height: 402px !important;
    padding: 8px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
    min-height: 208px !important;
    padding-top: 9px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: none !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* 20260715 real EOF hard reset: final browser-facing product shelf geometry. */
.home-page .product-grid[data-product-grid] {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)) !important;
  align-items: stretch !important;
  gap: 18px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(198px, 1fr) !important;
  min-width: 0 !important;
  min-height: 462px !important;
  height: 100% !important;
  padding: 10px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-card-media,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-card-media {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-card-media img,
.home-page .product-grid[data-product-grid] > article.product-card img,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) img,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 18px 46px 24px minmax(92px, 1fr) !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 198px !important;
  padding: 12px 2px 0 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > small,
.home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .product-grid[data-product-grid] > article.product-card .product-meta,
.home-page .product-grid[data-product-grid] > article.product-card .price-row,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > small {
  display: block !important;
  min-width: 0 !important;
  height: 18px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #66746f !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 18px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
.home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
  display: -webkit-box !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #11181b !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 23px !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-copy > p {
  display: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta span {
  display: none !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-meta .price-status {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 8px !important;
  overflow: hidden !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(20px, auto) auto !important;
  align-self: stretch !important;
  align-content: end !important;
  min-width: 0 !important;
  min-height: 92px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
  overflow: hidden !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .price-row strong {
  display: block !important;
  min-width: 0 !important;
  min-height: 20px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #121a1d !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 20px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-self: end !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  gap: 7px !important;
}

.home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
.home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    grid-template-rows: auto minmax(222px, 1fr) !important;
    min-height: 430px !important;
    padding: 8px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) .product-copy,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) .product-copy {
    grid-template-rows: 17px 44px 24px minmax(120px, 1fr) !important;
    min-height: 222px !important;
    padding-top: 10px !important;
    gap: 7px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-copy > h3,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1) h3,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) h3 {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    font-size: 12px !important;
    line-height: 22px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .price-row {
    min-height: 120px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card .product-actions button,
  .home-page .product-grid[data-product-grid] > article.product-card .product-actions .chat-action {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 430px) {
  .home-page .product-grid[data-product-grid] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-page .product-grid[data-product-grid] > article.product-card,
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(1),
  .home-page .product-grid[data-product-grid] > article.product-card:nth-child(8n + 1) {
    grid-template-rows: auto minmax(206px, 1fr) !important;
    min-height: 462px !important;
  }
}
