/* LEGO Design v2: shared CheckPrice shell with LEGO-specific product metadata. */
.lego-v2 .lego-page { display: block; width: min(1600px, 100%); }
.lego-v2 .lego-v2-toolbar {
  grid-template-columns: minmax(330px, 1.75fr) minmax(165px, .82fr) minmax(150px, .72fr) minmax(135px, .64fr) minmax(135px, .64fr) minmax(140px, .7fr);
  gap: 16px;
}
.lego-v2 .lego-intro {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 124px;
  padding: 18px 10px;
  background: #fff;
  border-bottom: 1px solid var(--v2-line);
}
.lego-v2 .lego-intro > img { width: 72px; height: 72px; object-fit: contain; }
.lego-v2 .lego-intro h1 {
  margin: 0;
  color: #0d6225;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}
.lego-v2 .lego-intro p { margin: 7px 0 0; color: #4f5951; font-size: 1rem; }
.lego-v2 .layout {
  grid-template-columns: 244px minmax(0, 1fr);
  border-top: 0;
}
.lego-v2 .layout.retailer-collapsed { grid-template-columns: 58px minmax(0, 1fr); }
.lego-v2 .retailer-nav { padding: 13px 10px 12px; }
.lego-v2 .retailer-button { min-height: 57px; }
.lego-v2 .product { min-height: 535px; }
.lego-v2 .lego-product .product-body {
  grid-template-rows: none;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 8px;
}
.lego-v2 .lego-set-meta {
  min-height: 20px;
  color: #168238;
  font-size: .76rem;
  font-weight: 600;
}
.lego-v2 .lego-set-meta img { width: 15px; height: 15px; }
.lego-v2 .lego-retail-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 0;
  color: var(--v2-muted);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.15;
}
.lego-v2 .lego-retail-price strong {
  color: var(--v2-ink);
  font-size: 1.18rem;
  font-weight: 750;
  line-height: 1.15;
  white-space: nowrap;
}
.lego-v2 .lego-offers {
  display: grid;
  gap: 0;
  margin-top: 2px;
  border-top: 1px solid var(--v2-line);
}
.lego-v2 .lego-offer {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto 20px 12px;
  gap: 6px;
  align-items: center;
  min-height: 43px;
  padding: 7px 0;
  color: var(--v2-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--v2-line);
  border-radius: 0;
}
.lego-v2 .lego-offer.retail-price-deal { background: #fff8d7; box-shadow: inset 3px 0 #e5b700; }
.lego-v2 .lego-offer .retailer-logo,
.lego-v2 .lego-offer .retailer-logo img { width: 20px; height: 20px; max-width: 20px; max-height: 20px; }
.lego-v2 .lego-offer .retailer-logo {
  display: grid;
  flex-basis: 20px;
  overflow: visible;
  place-items: center;
  border: 0;
  border-radius: 0;
}
.lego-v2 .lego-offer .retailer-logo img { object-fit: contain; }
.lego-v2 .lego-offer .retailer-logo { grid-column: 1; }
.lego-v2 .lego-offer-store {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lego-v2 .lego-offer-price { grid-column: 3; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.lego-v2 .lego-offer-price.discounted { color: #d33e34; }
.lego-v2 .lego-offer .stock-status-icon,
.lego-v2 .lego-offer .stock-status-icon svg { width: 18px; height: 18px; }
.lego-v2 .lego-offer .stock-status-icon { display: grid; grid-column: 4; place-items: center; }
.lego-v2 .lego-offer .offer-chevron,
.lego-v2 .lego-offer .offer-chevron svg { width: 12px; height: 12px; }
.lego-v2 .lego-offer .offer-chevron { display: grid; grid-column: 5; place-items: center; color: #69716b; }
.lego-v2 .lego-offer .offer-chevron svg,
.lego-v2 .lego-offer .stock-status-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}
.lego-v2 .lego-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 0;
  padding-top: 2px;
}
.lego-v2 .lego-card-actions .more-offers {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.lego-v2 .lego-card-actions .more-offers span { font-size: 1rem; line-height: 1; }
.lego-v2 .lego-added-date { color: var(--v2-muted); font-size: .68rem; white-space: nowrap; }
.lego-v2 .watch-list-link.active { color: #fff; background: var(--v2-green); }
.lego-v2 .empty { width: 100%; }

@media (max-width: 1080px) {
  .lego-v2 .lego-v2-toolbar { grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(145px, .7fr)); }
  .lego-v2 .lego-v2-toolbar > :nth-child(5),
  .lego-v2 .lego-v2-toolbar > :nth-child(6) { grid-row: 2; }
}
@media (max-width: 880px) {
  .lego-v2 .lego-v2-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lego-v2 .lego-v2-toolbar > * { grid-row: auto !important; }
  .lego-v2 .lego-intro { min-height: 104px; }
  .lego-v2 .lego-intro > img { width: 60px; height: 60px; }
  .lego-v2 .layout { grid-template-columns: 190px minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .lego-v2 .lego-v2-toolbar { grid-template-columns: 1fr 1fr; }
  .lego-v2 .lego-v2-toolbar > :first-child { grid-column: 1 / -1; }
  .lego-v2 .lego-v2-toolbar .apply-filter { grid-column: 2; }
  .lego-v2 .lego-intro { gap: 12px; min-height: 86px; padding: 12px 4px; }
  .lego-v2 .lego-intro > img { width: 50px; height: 50px; }
  .lego-v2 .lego-intro h1 { font-size: 1.45rem; }
  .lego-v2 .lego-intro p { margin-top: 4px; font-size: .78rem; }
  .lego-v2 .layout,
  .lego-v2 .layout.retailer-collapsed { grid-template-columns: minmax(0, 1fr); }
  .lego-v2 .retailer-nav { width: min(82vw, 286px); }
}
