/* Web shop: product cards on /shop and the product page gallery. */

/* --- Cards (teaser) ---------------------------------------------------- */
.shop-product--teaser {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding-bottom: 1rem;
}
.shop-product--teaser .field--name-field-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shop-product--teaser .field--name-field-image a:hover img {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.45);
}
.shop-product--teaser .field--name-title {
  margin-top: 0.4rem;
  font-weight: 700;
  line-height: 1.3;
}
.shop-product--teaser .field--name-title a {
  text-decoration: none;
}
.shop-product--teaser .field--name-field-brand {
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.65;
}
.shop-product--teaser .field--name-price {
  font-weight: 700;
  font-size: 1.05em;
}

/* --- Product page gallery ------------------------------------------------ */
.shop-product--full .field--name-field-image,
.shop-product--default .field--name-field-image {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 1.5rem;
}
.shop-product--full .field--name-field-image > *:first-child,
.shop-product--default .field--name-field-image > *:first-child {
  grid-column: 1 / -1;
}
.shop-product--full .field--name-field-image img,
.shop-product--default .field--name-field-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}
.shop-product--default .field--name-field-brand {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.65;
}
.shop-product--default .field--name-price {
  font-size: 1.6em;
  font-weight: 700;
  margin: 0.25rem 0 1rem;
}

@media (min-width: 900px) {
  .shop-product--full .field--name-field-image,
  .shop-product--default .field--name-field-image {
    max-width: 560px;
  }
}
