/* Fit the gift's coordinate system to the uncropped, 3:2 garden cutout. */
.zabest-vianoce .hero-photo .hero-float { container-type: size; }
.zb-gift-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100cqw, 150cqh);
  aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}
.zabest-vianoce .zb-garden-gift {
  position: absolute;
  left: 63.6%;
  top: 57.9%;
  transform: translate(-50%, -100%);
  min-width: 44px;
  min-height: 44px;
  width: 8%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: none;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  font: inherit;
}
.zb-garden-gift::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 4%;
  bottom: 2%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #42403f63 0%, #57534826 47%, transparent 76%);
}
.zabest-vianoce .hero-photo .zb-garden-gift .zb-gift-parcel {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(1px 2px 1px #42352730);
  border: 0;
  border-radius: 0;
  transform-origin: 50% 95%;
  box-shadow: none;
}
.zb-gift-tag {
  position: absolute;
  top: 62%;
  left: 83%;
  padding: 2px 6px 3px 11px;
  border: 1px solid #baa277;
  border-radius: 5px 2px 2px 5px;
  background: #fcf3dd;
  color: #314b35;
  box-shadow: 0 1px 2px #352b1729;
  transform: rotate(-8deg);
  transform-origin: 0 50%;
  white-space: nowrap;
  font: italic 12px/1.05 Georgia, serif;
}
.zb-gift-tag::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  top: calc(50% - 1.5px);
  left: 4px;
  border-radius: 50%;
  background: #9e7746;
}
.zb-garden-gift:focus-visible { outline: 2px solid #294a36; outline-offset: 3px; }
@media (max-width: 600px) {
  .zabest-vianoce .hero-photo .zb-garden-gift .zb-gift-parcel {
    position: absolute;
    inset: auto 0 0;
    margin-inline: auto;
    width: 74%;
    height: 74%;
  }
  .zb-garden-gift::before { left: 15%; right: 15%; }
  .zb-gift-tag { top: 68%; left: 75%; }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-winter-motion="on"] .zb-garden-gift:focus-visible .zb-gift-parcel {
    transform: translateY(-2px) rotate(-4deg);
  }
  html[data-winter-motion="on"] .zb-gift-parcel { transition: transform .22s ease-out; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html[data-winter-motion="on"] .zb-garden-gift:hover .zb-gift-parcel {
    transform: translateY(-2px) rotate(-4deg);
  }
}
@media print { .zb-gift-frame { display: none; } }
