/* Redesign PR4 — product page layout, sticky buy bar, delivery check */

.pdp-cond-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 0.15rem 0 0;
}

.pdp-cond-row .chip-cond {
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #e7f3ef;
  color: #1a6b60;
}

.pdp-cond-row .pdp-grade-link {
  margin: 0;
  font-size: 0.875rem;
}

.pdp-gallery .klar-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

.pdp-delivery-block {
  border: 1px solid #e3ebe5;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  background: #fff;
  display: grid;
  gap: 0.55rem;
}

.pdp-delivery-block strong {
  font-size: 0.9375rem;
}

.pdp-delivery-block p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #3f5247;
}

.pdp-delivery-check {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.25rem;
}

.pdp-delivery-check input {
  width: 6.5rem;
  min-height: 42px;
  border: 1px solid #dfe8e1;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font: inherit;
}

.pdp-delivery-check button {
  min-height: 42px;
}

.pdp-delivery-result {
  font-size: 0.85rem;
  color: #1a6b60;
}

.pdp-delivery-result.is-error {
  color: #9a3412;
}

.byt-pdp-note.exchange-value-box {
  background: var(--lemon, #f4ef8b);
  border: none;
  border-radius: 18px;
  padding: 1rem 1.15rem;
  color: #0f1a14;
}

.byt-pdp-note.exchange-value-box .pdp-link {
  color: var(--ink-on-lemon, #12302a);
  font-weight: 700;
}

.byt-pdp-note.exchange-value-box .pdp-exchange-cap {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #2b2a1c;
}

.pdp-reklamation-note {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #3f5247;
  line-height: 1.45;
}

.pdp-sticky-buy {
  display: none;
}

@media (max-width: 899px) {
  .pdp-sticky-buy {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--bottom-nav-h, 64px) + env(safe-area-inset-bottom));
    z-index: 55;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e3ebe5;
    box-shadow: 0 -6px 20px rgba(15, 23, 32, 0.08);
  }

  .pdp-sticky-buy[hidden] {
    display: none !important;
  }

  .pdp-sticky-buy .pdp-sticky-price {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f1a14;
  }

  .pdp-sticky-buy .btn {
    flex: 1;
    min-height: 46px;
  }

  body.has-pdp-sticky {
    padding-bottom: calc(var(--bottom-nav-h, 64px) + 72px + env(safe-area-inset-bottom));
  }
}
