/* Meteolab 2027 - station/product polish patch */
.ml-hero-meta {
  margin: 12px 0 0;
}
.ml-station-meta-line {
  display: inline-block;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.35;
  font-weight: 760;
  color: #0f172a;
  background: rgba(234,245,252,.85);
  border: 1px solid rgba(21,130,199,.18);
  border-radius: 999px;
  padding: 8px 13px;
}

/* Station measurement table: softer, more dashboard-like */
.ml-station-measure-card .ml-measure-table {
  border: 0;
  border-radius: 18px;
  overflow: visible;
  background: transparent;
  gap: 8px;
}
.ml-station-measure-card .ml-measure-row {
  border: 1px solid rgba(15,23,42,.075) !important;
  border-radius: 14px;
  background: linear-gradient(180deg,#fff,#f8fbfe);
  box-shadow: 0 5px 14px rgba(15,23,42,.045);
}
.ml-station-measure-card .ml-measure-row span {
  color: #526176;
}
.ml-station-measure-card .ml-measure-row strong {
  color: #0f172a;
}

.ml-wind-card img,
.ml-wind-card-clean img,
.ml-wind-card-natural img,
.ml-wind-card-clean.ml-wind-card-natural img {
  display: block;
  width: 420px;
  min-width: 420px;
  max-width: none;
  height: 640px;
  max-height: none !important;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  box-shadow: none;
  background: transparent !important;
  object-fit: contain;
}

/* Wind images have fixed source dimensions; show them naturally, not oversized. */
.ml-wind-card-clean.ml-wind-card-natural {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  padding: 16px;
}
.ml-wind-card-clean.ml-wind-card-natural img {
  width: min(100%, 420px);
  max-width: 420px;
  height: auto;
  max-height: none !important;
  object-fit: contain;
  border-radius: 10px;
}
.ml-station-wind-duo-natural {
  align-items: stretch;
  background: transparent !important;
}
.ml-station-wind-duo-natural .ml-wind-card {
  min-height: 0;
}

/* Product pages */
.ml-product-page .ml-product-viewer {
  margin-top: 0;
}
.ml-product-page .ml-product-stage {
  background: #f5f8fc;
}
.ml-product-page .ml-product-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 84vh;
  margin: 0 auto;
  background: transparent;
  object-fit: contain;
}
.ml-product-description-card {
  max-width: none;
}
.ml-product-description-card h2 {
  margin-top: 0;
}
.ml-product-description-card p {
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .ml-station-meta-line {
    border-radius: 16px;
    padding: 9px 11px;
  }
  .ml-product-info {
    flex-direction: column;
  }
  .ml-product-mode {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Patch: station timestamp is informative text, not a pill/button */
.ml-hero-meta {
  margin: 12px 0 0;
}
.ml-station-meta-line {
  display: block;
  margin: 12px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #334155;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.42;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* Patch: loading state for large WebP animations in product viewer */
.ml-product-stage {
  position: relative;
  overflow: hidden;
}
.ml-product-loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: rgba(245,248,252,.78);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 4;
  color: #0f172a;
  text-align: center;
  font-weight: 800;
}
.ml-product-stage.is-loading .ml-product-loader {
  display: flex;
}
.ml-product-loader::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(21,130,199,.20);
  border-top-color: #002050;
  animation: ml-spin .8s linear infinite;
}
.ml-product-loader span {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(21,130,199,.16);
  box-shadow: 0 8px 20px rgba(15,23,42,.08);
  font-size: .9rem;
}
@keyframes ml-spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) {
  .ml-station-meta-line { font-size: .98rem; }
  .ml-product-loader span { font-size: .82rem; }
}

/* Product loader final fix: true centered overlay, never inline/right of image */
.ml-product-stage {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
}
.ml-product-stage img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ml-product-loader {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  pointer-events: none !important;
}
.ml-product-loader[hidden] {
  display: none !important;
}
.ml-product-stage.is-loading .ml-product-loader:not([hidden]) {
  display: flex !important;
}

/* Product description: use the full card width */
.ml-product-description-card,
.ml-product-description-card > *,
.ml-product-description-card h2,
.ml-product-description-card p,
.ml-info-text.ml-product-description-card,
.ml-info-text.ml-product-description-card > * {
  max-width: none !important;
  width: 100% !important;
}
.ml-product-description-card p {
  margin-right: 0 !important;
}
.ml-product-info {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.ml-product-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.ml-product-copy p[data-product-description] {
    max-width: none;
}
