/* ==========================================================================
   SVIATOČNÝ VIZUÁL (Vianoce a PF 2027) - súvisí s js/sviatky.js
   Načítava sa len ak je VOLIS_SVIATKY vo functions.php zapnuté.
   ========================================================================== */

/* ---------- BANNER ---------- */
#sale-info.sale-info-sv,
#et-boc #sale-info.sale-info-sv {
  background: #0b3b2e;
  background: radial-gradient(ellipse at 50% 0%, #14594a 0%, #0b3b2e 55%, #072a21 100%);
  border-top: solid 1px #d9b563;
  border-bottom: solid 3px #d9b563;
}

#sale-info.sale-info-sv .et_pb_row,
#et-boc #sale-info.sale-info-sv .et_pb_row {
  padding: 20px 10px!important;
}

#sale-info.sale-info-sv .et_pb_row .et_pb_text_inner,
#et-boc #sale-info.sale-info-sv .et_pb_row .et_pb_text_inner {
  flex-direction: row;
  font-size: 36px;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

#sale-info.sale-info-sv .et_pb_row .et_pb_text_inner:before {
  display: block;
  width: 190px;
  height: 190px;
  margin: 0 44px 0 0;
  background-image: url(../images/sviatky/veniec.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

#sale-info.sale-info-sv .et_pb_row .et_pb_text_inner p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

#sale-info.sale-info-sv .sale-info-sv-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#sale-info.sale-info-sv .sale-info-sv-highlight {
  color: #f0cd7d;
  white-space: nowrap;
}

#sale-info.sale-info-sv .sale-info-sv-motto {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 500;
}

#sale-info.sale-info-sv .sale-info-sv-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  color: #f0cd7d;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#sale-info.sale-info-sv .sale-info-sv-sep {
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.4);
}

#sale-info.sale-info-sv .et_pb_row a {
  background: #e3bd68;
  border: solid 2px #e3bd68;
  color: #072a21!important;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 26px!important;
  margin: 14px 30px 0 40px;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

#sale-info.sale-info-sv .et_pb_row a:hover,
#sale-info.sale-info-sv .et_pb_row a:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: #072a21!important;
  text-decoration: none;
}

/* ---------- GIRLANDA POD HLAVIČKOU ---------- */
.sviatky-girlanda {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: -1; /* pod rozbaľovacím menu */
  height: 44px;
  background: url(../images/sviatky/girlanda.svg) repeat-x center top;
  pointer-events: none;
}

/* pri posúvaní stránky by prekrývala obsah */
#main-header.et-fixed-header .sviatky-girlanda {
  display: none;
}

/* ---------- SNEŽENIE ---------- */
.sviatky-sneh {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.sviatky-sneh i {
  position: absolute;
  top: -30px;
  background: url(../images/sviatky/vlocka.svg) no-repeat center / contain;
}

@media (prefers-reduced-motion: no-preference) {
  .sviatky-sneh i {
    animation: sviatky-sneh linear infinite;
  }
}

@keyframes sviatky-sneh {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(var(--posun), 110vh) rotate(var(--otocenie)); }
}

/* ---------- ZIMNÁ KRAJINKA NAD PÄTIČKOU ---------- */
.sviatky-krajinka {
  position: relative;
  height: 200px;
  background-color: #003f75;
  background-image: url(../images/sviatky/krajinka.svg), linear-gradient(#003f75, #0d5a96);
  background-repeat: repeat-x, no-repeat;
  background-position: center bottom -1px, center;
  background-size: 1600px 170px, auto;
  text-align: center;
}

.sviatky-krajinka span {
  display: block;
  padding-top: 12px;
  color: #f0cd7d;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 4px;
}

/* ---------- TABLET + MOBIL ---------- */
@media (max-width: 980px) {

  #sale-info.sale-info-sv .et_pb_row,
  #et-boc #sale-info.sale-info-sv .et_pb_row {
    padding: 14px 16px 18px!important;
  }

  #sale-info.sale-info-sv .et_pb_row .et_pb_text_inner,
  #et-boc #sale-info.sale-info-sv .et_pb_row .et_pb_text_inner {
    flex-direction: column;
    font-size: 23px;
  }

  #sale-info.sale-info-sv .et_pb_row .et_pb_text_inner:before {
    width: 92px;
    height: 92px;
    margin: 0 0 8px 0;
  }

  #sale-info.sale-info-sv .et_pb_row .et_pb_text_inner p {
    flex-direction: column;
    text-align: center;
  }

  #sale-info.sale-info-sv .sale-info-sv-motto {
    font-size: 16px;
  }

  #sale-info.sale-info-sv .sale-info-sv-sub {
    margin-top: 6px;
    font-size: 13px;
  }

  #sale-info.sale-info-sv .et_pb_row a {
    margin: 12px 0 2px 0;
    font-size: 15px;
  }

  .sviatky-girlanda {
    height: 24px;
    background-size: 131px 24px;
  }

  .sviatky-krajinka {
    height: 140px;
    background-size: 1035px 110px, auto;
  }

  .sviatky-krajinka span {
    padding-top: 8px;
    font-size: 22px;
  }
}

@media (max-width: 480px) {

  #sale-info.sale-info-sv .et_pb_row .et_pb_text_inner,
  #et-boc #sale-info.sale-info-sv .et_pb_row .et_pb_text_inner {
    font-size: 20px;
  }

  #sale-info.sale-info-sv .sale-info-sv-sub {
    flex-direction: column;
    line-height: 1.5;
  }

  #sale-info.sale-info-sv .sale-info-sv-sep {
    display: none;
  }
}
