/* PDP “Hasonló hangulat” row. Loads after style.css; scoped under .aura-pdp .aura-related. */

/* Woo blocktheme CSS adds `.woocommerce div.product .related.products { margin-top: 5em }`;
   the section above already carries its own bottom padding, so drop it. */
.woocommerce.aura-pdp div.product .related.products.aura-related,
.aura-pdp div.product .related.products.aura-related { margin-top: 0; }

.aura-pdp .aura-related,
.aura-pdp .related.products.aura-related {
  grid-area: related;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 28px 104px;
  box-sizing: border-box;
  border-top: 0;
  text-align: left;
  background: transparent;
}

.aura-pdp .aura-related > h2,
.aura-pdp .related.products.aura-related > h2 {
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: var(--heading);
  font-weight: 500;
  letter-spacing: -.026em;
  line-height: .98;
}

.aura-pdp .aura-related > h2::before,
.aura-pdp .related.products.aura-related > h2::before {
  content: none !important;
  display: none !important;
  margin: 0;
}

.aura-pdp .aura-related-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
  list-style: none;
  padding: 0;
}

.aura-pdp .aura-related-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}

.aura-pdp .aura-related-card:hover {
  color: var(--ink);
}

.aura-pdp .aura-related-card__image {
  height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 26px;
  background: var(--white);
}

.aura-pdp .aura-related-card__image img {
  height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.aura-pdp .aura-related-card__body {
  padding: 20px 20px 22px;
  border-top: 1px solid var(--line);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.aura-pdp .aura-related-card__brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.aura-pdp .aura-related-card__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.15;
  margin: 4px 0 6px;
}

.aura-pdp .aura-related-card__notes {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
}

.aura-pdp .aura-related-card__reason {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--burgundy);
}

.aura-pdp .aura-related-card__price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.aura-pdp .aura-related-card__price .price {
  margin: 0;
}

.aura-pdp .aura-related-card__volume {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .aura-pdp .aura-related,
  .aura-pdp .related.products.aura-related {
    padding: 0 18px 72px;
  }

  .aura-pdp .aura-related-cards {
    grid-template-columns: repeat(4, 72%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    margin: 28px -18px 0;
    padding: 0 18px 8px;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .aura-pdp .aura-related-card {
    scroll-snap-align: start;
  }

  .aura-pdp .aura-related-card__image {
    height: 220px;
  }

  .aura-pdp .aura-related-card__image img {
    height: 180px;
  }
}
