.home-promotions {
  margin-top: 12px;
}
.promotion-stage {
  display: grid;
  touch-action: pan-y pinch-zoom;
}
.promotion-slide.hero {
  grid-area: 1 / 1;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 350ms ease,
    visibility 350ms;
}
.promotion-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.promotion-slide {
  min-width: 0;
}
.promotion-feature h2 {
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
  text-wrap: balance;
}
.promotion-feature h2 em {
  color: #7b5934;
}
.promotion-art {
  position: relative;
  align-self: center;
  margin: 0 0 0 12px;
}
.promotion-scene {
  position: relative;
  aspect-ratio: 1;
}
.promotion-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  --scene-mask:
    radial-gradient(
      ellipse at center,
      #000 55%,
      #000e 66%,
      #0008 79%,
      transparent 100%
    ),
    linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(0deg, transparent, #000 12%, #000 90%, transparent);
  mask-image: var(--scene-mask);
  -webkit-mask-image: var(--scene-mask);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}
.promotion-products {
  position: absolute;
  inset: 36% 10% 23%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
}
.promotion-product-photo {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}
.promotion-product-photo img {
  position: absolute;
  width: 120%;
  max-width: none;
  height: 125%;
  object-fit: contain;
  transform: rotate(-5deg);
}
.promotion-product-photo:nth-child(2) {
  transform: translateY(10%);
}
.promotion-product-photo:nth-child(2) img {
  transform: rotate(6deg);
}
.promotion-captions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: -3% 5% 0;
  position: relative;
}
.promotion-product-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px 14px;
  color: var(--green);
  text-decoration: none;
  background: linear-gradient(140deg, #fffcf5, #efe2cb);
  border: 1px solid #b18c4a70;
  border-radius: 4px 4px 22px 4px;
  box-shadow: 0 8px 18px -15px #674c26;
  position: relative;
}
.promotion-product-info:before {
  content: "";
  position: absolute;
  height: 3px;
  width: 30px;
  background: #b18c4a;
  top: -2px;
  left: 16px;
}
.promotion-product-brand {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.promotion-product-info strong {
  font-size: 13px;
  line-height: 1.35;
}
.promotion-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-top: auto;
  border-top: 1px solid #b18c4a40;
  padding-top: 10px;
}
.promotion-weight {
  font-size: 12px;
  color: #68715f;
  white-space: nowrap;
}
.promotion-price {
  font-size: 20px;
  font-weight: 750;
  white-space: nowrap;
}
.promotion-product-photo:focus-visible,
.promotion-product-info:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.promotion-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  margin: 12px 0 20px;
}
.promotion-controls[hidden] {
  display: none;
}
.promotion-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #526a3833;
  border-radius: 30px;
  background: #fffcf466;
  color: var(--green);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
}
.promotion-tabs {
  display: flex;
  gap: 6px;
}
.promotion-tabs button {
  border-color: transparent;
}
.promotion-tabs [aria-current="true"] {
  background: var(--green);
  color: white;
}
.promotion-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.promotion-controls button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.promotion-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 760px) {
  .promotion-slide.hero {
    grid-template-rows: auto 1fr;
    align-content: start;
    gap: 4px;
  }
  .promotion-slide .hero-copy {
    align-self: start;
    padding: 22px 10px 12px;
  }
  .promotion-slide .hero-visual {
    align-self: start;
  }
  .promotion-slide .hero-visual--portrait > img {
    max-height: none;
    width: 100%;
  }
  .promotion-slide h2 {
    font-size: clamp(30px, 8.5vw, 38px);
    line-height: 1.08;
    margin-bottom: 14px;
  }
  .promotion-slide .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
    margin-bottom: 13px;
  }
  .promotion-slide .hero-description {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 17px;
  }
  .promotion-slide .shop-story {
    display: block;
  }
  .promotion-art {
    align-self: start;
    width: 100%;
    max-width: 480px;
    justify-self: center;
    margin: 0;
  }
  .promotion-captions {
    gap: 10px;
    margin: -3% 3% 0;
  }
  .promotion-product-info {
    padding: 14px 11px 12px;
    gap: 7px;
  }
  .promotion-product-brand {
    font-size: 9px;
    letter-spacing: 0.8px;
  }
  .promotion-product-info strong {
    font-size: 12px;
  }
  .promotion-price {
    font-size: 18px;
  }
  .promotion-weight {
    font-size: 11px;
  }
  .promotion-tab-label {
    display: none;
  }
  .promotion-controls {
    gap: 6px;
    margin-top: 10px;
  }
  .promotion-tabs {
    gap: 2px;
  }
  .promotion-controls button {
    padding: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .promotion-slide.hero {
    transition: none;
  }
}

.hero-visual--portrait > img {
  --portrait-mask:
    radial-gradient(
      ellipse at center,
      #000 53%,
      #000e 67%,
      #0008 83%,
      transparent 100%
    ),
    linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent),
    linear-gradient(0deg, transparent, #000 12%, #000 88%, transparent);
}
/* Az álló kávésüveg talpa a jobb oldali kőlap síkjára illeszkedik. */
.promotion-autumn .promotion-product-photo:nth-child(2) {
  transform: translate(14%, 15%);
}
.promotion-autumn .promotion-product-photo:nth-child(2) img {
  transform: none;
}
.promotion-autumn .promotion-product-photo:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 92%;
  left: 17%;
  width: 66%;
  height: 3%;
  background: #30271b55;
  border-radius: 50%;
  filter: blur(2px);
}

/* A két álló tasak a kőlapok középvonalához és felső síkjához igazodik. */
.promotion-flours .promotion-products {
  inset: 0;
  display: block;
}
.promotion-flours .promotion-product-photo {
  position: absolute;
  left: 32%;
  bottom: 20.9%;
  width: 51%;
  height: 51%;
  transform: translateX(-50%);
}
.promotion-flours .promotion-product-photo:nth-child(2) {
  left: 77%;
  bottom: 16.4%;
}
.promotion-flours .promotion-product-photo img {
  width: 100%;
  height: 100%;
  transform: none;
}

.promotion-flours .promotion-product-photo::before {
  content: "";
  position: absolute;
  bottom: 6.5%;
  width: 54%;
  height: 3%;
  border-radius: 50%;
  background: #30271b45;
  filter: blur(2px);
}
