/* ===================================
   Single product – sidebar related products
   Plik: assets/css/product-sidebar-related.css
   Zależny od: product-category-compact-list.css
   =================================== */

.am-sidebar-related {
  margin-top: 28px;
  background: transparent;
}

.am-sidebar-related .am-offer-list {
  background: transparent;
}

.am-sidebar-related .am-offer-row + .am-offer-row {
  border-top: 0;
}

.am-sidebar-related__head {
  margin-bottom: 18px;
}

.am-sidebar-related__head h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: #151515;
  margin: 0;
  letter-spacing: -0.02em;
}

/* ============================================================
   Karty: zawsze w układzie mobilnym (zdjęcie na górze, treść pod)
   ============================================================ */

.am-sidebar-related .am-offer-row {
  grid-template-columns: 1fr;
  border-radius: 20px;
  min-height: auto;
}

.am-sidebar-related .am-offer-row__image {
  min-height: 200px;
  height: 200px;
}

.am-sidebar-related .am-offer-row__content {
  padding: 16px 16px 10px;
}

.am-sidebar-related .am-offer-row__title {
  font-size: 17px;
  line-height: 1.15;
}

.am-sidebar-related .am-offer-row__meta {
  margin-top: 10px;
  font-size: 13px;
  gap: 8px 14px;
}

.am-sidebar-related .am-offer-row__side {
  grid-column: auto;
  padding: 0 16px 16px;
  border-left: 0;
  border-top: 1px solid #eee8f5;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
  flex-direction: unset;
  justify-content: unset;
}

.am-sidebar-related .am-offer-row__price {
  text-align: left;
}

.am-sidebar-related .am-offer-row__price strong {
  font-size: 24px;
  justify-content: flex-start;
}

.am-sidebar-related .am-offer-row__price strong span {
  font-size: 14px;
}

.am-sidebar-related .am-offer-row__cta {
  min-width: 130px;
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}
