.product-card-pricing .product-price-per-square-meter,
.product-price-fact .product-price-per-square-meter {
  color: var(--color-muted);
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 3px;
}

.product-card-pricing .product-price-per-square-meter,
.product-price-fact .product-price-per-square-meter {
  text-transform: none;
}

.product-price-fact .product-total-box-price {
  color: var(--color-primary);
  display: block;
  font-size: 0.98rem;
  line-height: 1.3;
  margin-top: 8px;
}

.mobile-product-price {
  display: none;
}

.coverage-calculator input {
  font-size: 16px;
  min-width: 0;
  touch-action: manipulation;
}

.coverage-calculator input::placeholder {
  color: var(--color-muted);
  font-weight: 700;
  opacity: 0.8;
}

.product-detail .coverage-calculator {
  align-items: start;
}

.product-detail .coverage-calculator > label,
.product-detail .coverage-calculator > div {
  display: grid;
  grid-template-rows: 18px 48px;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  background: transparent;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 18px;
}

.product-detail .coverage-calculator > div > small {
  font: inherit;
  color: inherit;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-detail .coverage-calculator > label > input,
.product-detail .coverage-calculator > div > strong {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0;
  font-size: 16px;
  line-height: normal;
}

.product-detail .coverage-calculator > div > strong {
  display: grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
}

.coverage-calculator .coverage-stock-warning {
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fda4af;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 2px 0 0;
  padding: 10px 12px;
}

/* Presentational only: product names remain unchanged in the API and orders. */
.product-card-title h3,
.product-title-row h1,
.product-info > h1,
.order-item h2 {
  text-transform: uppercase;
}

.feature-list .product-category-feature {
  display: grid;
  gap: 3px;
}

.feature-list .product-category-feature small {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.feature-list .product-category-feature strong {
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.25;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  body:has(.product-detail:not(.mobile-actions-inline) .sticky-actions) {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .app-shell:has(.product-detail:not(.mobile-actions-inline) .sticky-actions) .bottom-nav {
    display: none;
  }

  .product-detail:not(.mobile-actions-inline) .sticky-actions {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    grid-template-columns: minmax(70px, 0.8fr) minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 8px;
  }

  .product-detail.mobile-actions-inline .sticky-actions {
    position: relative;
    inset: auto;
    z-index: 1;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #fff;
  }

  .product-detail .sticky-actions > * {
    min-width: 0;
  }

  .product-detail .sticky-actions .button {
    min-height: 48px;
    padding-inline: 8px;
  }

  .product-detail .product-gallery,
  .product-detail .cdo-product-media-stage {
    position: relative;
  }

  .mobile-product-price {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-sizing: border-box;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 3px;
    left: 10px;
    max-width: calc(100% - 20px);
    min-width: 190px;
    padding: 13px 14px;
    pointer-events: none;
    position: absolute;
    top: auto;
    bottom: 10px;
    z-index: 5;
  }

  .mobile-product-price-label {
    color: var(--color-muted);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .mobile-product-price-value {
    color: var(--color-primary);
    font-size: 1.18rem;
    line-height: 1.2;
  }

  .mobile-product-price-per-square-meter {
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 800;
  }

  .mobile-product-total-box-price {
    color: var(--color-primary);
    font-size: 0.94rem;
    line-height: 1.25;
    margin-top: 3px;
  }

  .product-detail:has(.mobile-product-price-value) .product-price-fact {
    display: none;
  }

  .coverage-calculator {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .coverage-calculator input {
    min-height: 48px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .product-price-fact .product-total-box-price {
    font-size: 1rem;
  }
}
