/* wine-banner.css — общий баннер (hero + модалка хедера). Грузится на всех страницах. */

.wine-gift-banner {
  --wine-banner-copy-left: 36px;
  --wine-banner-title-size: 40.154px;
  --wine-banner-title-line: 40px;
  --wine-banner-amp-size: 83.282px;
  --wine-banner-amp-line: 82.963px;
  --wine-banner-ru-sub-offset: 108px;

  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  color: #fff;
  width: 100%;
  height: 100%;
}

.wine-gift-banner__image,
.wine-gift-banner__shade,
.wine-gift-banner__copy {
  grid-area: 1 / 1;
}

.wine-gift-banner__image {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  /* Framed to the Figma band (node 1778:1074): headboard/pillows across the top,
     the Chateau Nobil bottles and their crests low in frame, glasses to the right. */
  object-position: center 56%;
  pointer-events: none;
}

.wine-gift-banner__shade {
  width: min(356px, 59.333%);
  height: 100%;
  justify-self: start;
  background: linear-gradient(47.65deg, #000 12.01%, rgba(0, 0, 0, 0) 91.61%);
  mix-blend-mode: multiply;
}

.wine-gift-banner__copy {
  z-index: 1;
  align-self: center;
  justify-self: start;
  margin-left: var(--wine-banner-copy-left);
  color: #fff;
  white-space: nowrap;
}

.wine-gift-banner__copy--en {
  display: flex;
  align-items: center;
  gap: 13px;
}

.wine-gift-banner__copy--ru {
  display: grid;
  align-content: center;
  transform: translateY(-1px);
}

.wine-gift-banner__copy--ro {
  display: block;
}

.wine-gift-banner__text--en-spa,
.wine-gift-banner__text--en-gift,
.wine-gift-banner__text--ru-title,
.wine-gift-banner__text--ro-title {
  font-family: var(--font-body);
  font-size: var(--wine-banner-title-size);
  font-weight: 500;
  line-height: var(--wine-banner-title-line);
  letter-spacing: 0;
}

.wine-gift-banner__text--en-amp {
  margin: 0 10px 0 -2px;
  font-family: var(--font-heading);
  font-size: var(--wine-banner-amp-size);
  font-style: italic;
  font-weight: 400;
  line-height: var(--wine-banner-amp-line);
}

.wine-gift-banner__text--ru-subtitle {
  margin-top: -4px;
  margin-left: var(--wine-banner-ru-sub-offset);
  font-family: var(--font-heading);
  font-size: var(--wine-banner-title-size);
  font-weight: 400;
  line-height: var(--wine-banner-title-line);
  letter-spacing: 0;
}
