/**
 * Grimages seasonal – shared tile base.
 * The tile background in grimages.css uses !important, so themes override it
 * with ".gri-season--x:not(#gri-season-none)" (id specificity) + !important.
 */
.hikashop_subcontainer.gri-season {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  transition: box-shadow .3s ease, transform .3s ease;
}

.hikashop_subcontainer.gri-season:hover,
.hikashop_subcontainer.gri-season:focus-within {
  transform: translateY(-2px);
}

.hikashop_subcontainer.gri-season:not(#gri-season-none) a {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
}

.gri-season-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  flex: none;
  /* Keep the tile height identical to the other tiles */
  margin-block: -.5em;
}

.gri-season-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gri-season-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.gri-season-decor > * {
  position: absolute;
}

@media (prefers-reduced-motion: reduce) {
  .hikashop_subcontainer.gri-season,
  .hikashop_subcontainer.gri-season * {
    animation: none !important;
    transition: none !important;
  }
}
