/* CoconPro-Regular.woff2 ma prazdny glyf pre 7, cislo sa vobec nevykresli.
   Rozsah preto vynechava cislice a tie sa beru z nasledujuceho pisma v stacku. */
@font-face {
  font-family: "Floril Cocon Pro";
  src: url("/user/documents/floril-video-banner/CoconPro-Regular.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Native Shoptet banner content, arranged below the independent video hero. */
.floril-hero > span { display: block; }
.floril-promos {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr);
  gap: 16px;
  width: min(100%, 1440px);
  margin: 64px auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.floril-promo-slider { position: relative; min-width: 0; }
.floril-promo-slider--rotating { --floril-promo-bottom: 72px; }
.floril-promo-slide { height: 100%; }
.floril-promo-slide[hidden] { display: none; }
.floril-promo-slide > span { display: block; height: 100%; }
.floril-promo-shops { display: grid; gap: 16px; min-width: 0; --floril-promo-overlay: linear-gradient(180deg, rgba(45, 15, 32, .66), rgba(64, 19, 45, .68) 60%, rgba(94, 31, 69, .90)); }
.floril-promos a {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  background: #71364f;
}
.floril-promo-slide a { min-height: 480px; }
.floril-promos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.floril-promos a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--floril-promo-overlay, linear-gradient(180deg, transparent 15%, rgba(64, 19, 45, .12) 45%, rgba(177, 89, 146, .86) 100%));
}
.floril-promos .extended-banner-texts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 22px;
  height: 100%;
  box-sizing: border-box;
  padding: 38px 32px var(--floril-promo-bottom, 38px);
  color: #fff;
}
.floril-promos .extended-banner-title {
  font-family: "Floril Cocon Pro", Arial, sans-serif;
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 700;
  line-height: 1.13;
  color: #fff;
}
.floril-promos .extended-banner-link {
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.floril-promos .extended-banner-link::after { content: " ↗"; margin-left: 14px; display: inline-block; }
.floril-promo-slide .extended-banner-link::after { content: " →"; }
.floril-promo-shops .extended-banner-texts {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  gap: 18px;
}
.floril-promo-shops .extended-banner-title { font-size: clamp(28px, 2.8vw, 40px); }
.floril-promos a:focus-visible { outline: 3px solid #ec008c; outline-offset: 4px; }
.floril-promo-controls {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  max-width: calc(100% - 40px);
  gap: 6px;
  align-items: center;
}
.floril-promo-controls button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  background: #57253fb3;
  color: #fff;
  cursor: pointer;
}
.floril-promo-controls button[aria-current="true"] { background: #fff; color: #773553; }
.floril-promo-controls button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.floril-promos--no-news, .floril-promos--no-shops { grid-template-columns: minmax(0, 1fr); }
.floril-promos--no-news .floril-promo-shops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 991px) {
  .floril-promos { margin-block: 40px; gap: 12px; padding-inline: 16px; }
  .floril-promo-shops { gap: 12px; }
  .floril-promos a { min-height: 200px; }
  .floril-promo-slide a { min-height: 420px; }
  .floril-promos .extended-banner-texts { padding: 24px 24px var(--floril-promo-bottom, 24px); }
  .floril-promo-shops .extended-banner-texts { padding: 18px; }
  .floril-promo-shops .extended-banner-title { font-size: 28px; }
}
@media (max-width: 767px) {
  .floril-promos { grid-template-columns: minmax(0, 1fr); margin-block: 28px; }
  .floril-promo-slide a { min-height: 360px; }
  .floril-promos .extended-banner-title { font-size: 32px; }
  .floril-promo-shops a { min-height: 220px; }
  .floril-promo-shops .extended-banner-title { font-size: 32px; }
  .floril-promos--no-news .floril-promo-shops { grid-template-columns: minmax(0, 1fr); }
}

/* ================================================================
   FLORIL VIDEO BANNER — samostatne upravitelne premenne
   ================================================================ */
.floril-video-banner {
  --fvb-pink: #ec008c;
  --fvb-text: #ffffff;
  --fvb-dark: #1a1a1a;
  --fvb-font: "Floril Cocon Pro", "Arial Rounded MT Bold", Arial, sans-serif;
  --fvb-body-font: Inter, Arial, sans-serif;
  --fvb-height: 82vh;
  --fvb-min-height: 560px;
  --fvb-max-content-width: 1280px;

  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  width: 100vw;
  height: var(--fvb-height);
  min-height: var(--fvb-min-height);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: var(--fvb-dark);
  color: var(--fvb-text);
  font-family: var(--fvb-body-font);
}

.floril-video-banner *,
.floril-video-banner *::before,
.floril-video-banner *::after {
  box-sizing: border-box;
}

.floril-video-banner__media,
.floril-video-banner__shade {
  position: absolute;
  inset: 0;
}

.floril-video-banner__poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.floril-video-banner__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 1;
}

.floril-video-banner--ready .floril-video-banner__poster {
  opacity: 0;
}

.floril-video-banner__video video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  pointer-events: none !important;
  user-select: none;
  -webkit-user-select: none;
}

/* Zachyti mys/touch nad celym videom. Obsah a tlacidla su vo vyssej vrstve. */
.floril-video-banner__interaction-lock {
  position: absolute;
  z-index: 1;
  inset: 0;
  cursor: default;
  touch-action: pan-y;
}

.floril-video-banner__shade {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(236, 0, 140, 0.40), transparent 50%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25) 48%, rgba(0, 0, 0, 0.72));
}

.floril-video-banner__content {
  position: relative;
  z-index: 3;
  width: min(100%, var(--fvb-max-content-width));
  height: 100%;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.floril-video-banner__eyebrow {
  margin: 0 0 24px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--fvb-pink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.floril-video-banner__title {
  max-width: 950px;
  margin: 0;
  color: var(--fvb-text);
  font-family: var(--fvb-font);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.floril-video-banner__description {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
}

.floril-video-banner__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.floril-video-banner__button {
  min-height: 48px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--fvb-body-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.floril-video-banner__button:hover,
.floril-video-banner__button:focus-visible {
  transform: translateY(-2px);
}

.floril-video-banner__button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.floril-video-banner__button--primary {
  background: var(--fvb-pink);
  color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(236, 0, 140, 0.38);
}

.floril-video-banner__button--primary:hover {
  background: #cf007a;
}

/*
 * Odkaz "Prejsť do e-shopu" nema zmysel, zakaznik uz v e-shope je. V sablone
 * je odstraneny, toto pravidlo ho schova aj v markupe, ktory je uz vlozeny
 * v administracii, aby sa nemusel prepisovat rucne.
 */
.floril-video-banner__actions > .floril-video-banner__button[href="/"] {
  display: none;
}

/* Zostavajuce tlacidlo je hlavna akcia, teda ruzove. */
.floril-video-banner__button--secondary {
  background: var(--fvb-pink);
  color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(236, 0, 140, 0.38);
}

.floril-video-banner__button--secondary:hover {
  background: #cf007a;
}

/* Tablet */
@media (max-width: 991px) {
  .floril-video-banner {
    --fvb-height: 76vh;
    --fvb-min-height: 540px;
  }
}

/* Mobil */
@media (max-width: 575px) {
  .floril-video-banner {
    --fvb-height: min(760px, 82svh);
    --fvb-min-height: 520px;
  }

  .floril-video-banner__content {
    padding: 28px 18px;
  }

  .floril-video-banner__eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .floril-video-banner__title {
    font-size: clamp(34px, 10.5vw, 46px);
  }

  .floril-video-banner__description {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.5;
  }

  .floril-video-banner__actions {
    width: 100%;
    margin-top: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .floril-video-banner__button {
    width: 100%;
  }
}

/* Keep automatic video playback; reduce decorative transitions. */
/* Setri data a bateriu, ak navstevnik preferuje obmedzenie animacii. */
@media (prefers-reduced-motion: reduce) {
  .floril-video-banner__poster {
    transition: none;
  }

  .floril-video-banner__button {
    transition: none;
  }
}

/* Compact confectioner's seal, approved eyebrow variant 4. */
.floril-video-banner__eyebrow--seal {
  position: relative;
  display: grid;
  gap: 3px;
  min-width: 190px;
  margin-bottom: 24px;
  padding: 10px 30px;
  color: #773553;
  background: #fff4e9;
  border: 1px solid #e9c3d0;
  border-radius: 50% / 28%;
  outline: 1px solid #fff4e9;
  outline-offset: 3px;
  box-shadow: 0 6px 26px #30162226;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.floril-video-banner__eyebrow-place {
  font-family: var(--fvb-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .01em;
  text-transform: none;
}
.floril-video-banner__eyebrow-separator {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.floril-video-banner__eyebrow--seal::before,
.floril-video-banner__eyebrow--seal::after {
  content: "✦";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  line-height: 1;
  color: #c6618a;
}
.floril-video-banner__eyebrow--seal::before { left: 13px; }
.floril-video-banner__eyebrow--seal::after { right: 13px; }
@media (max-width:575px) {
  .floril-video-banner__eyebrow--seal {
    min-width: 180px;
    margin-bottom: 20px;
    font-size: 9px;
  }
  .floril-video-banner__eyebrow-place { font-size: 14px; }
}
