/* Kampanja "Cvjetni novembar" - baner odmah ispod menija (umesto splash slike).
   Velicine slova su iz dizajna (baner ~1766px sirok) preracunate u cqw,
   pa tekst prati sirinu banera. */

.cn-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.splash.cn-ana {
  background-image: var(--cn-bg);
  background-position: left center;
  justify-content: flex-end;
  position: relative;
  container-type: inline-size;
}

.splash.cn-ana .cn-ana__text {
  width: 38%;
  margin-right: 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: none;
  font-weight: normal;
}

.cn-ana__text p {
  margin: 0;
  line-height: 1;
}

.cn-ana__orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  width: 100%;
  font-size: 2.2cqw;
  color: #fff;
  margin-bottom: .3em;
}

.cn-ana__orn::before,
.cn-ana__orn::after {
  content: "";
  flex: 0 1 3.4em;
  height: 1px;
  background: rgba(255, 255, 255, .75);
}

.cn-ana__orn svg {
  width: 1.4em;
  height: auto;
}

.cn-ana__kicker {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 4.4cqw;
  letter-spacing: .08em;
  color: #FFFFFF;
}

/* "Novembar" rukopisom, nagnut nagore i podvucen ukrasnom linijom */
.cn-ana__title {
  font-family: 'Great Vibes', cursive;
  font-size: 10.5cqw;
  line-height: .85 !important;
  color: #C9A6DD;
  margin-top: .02em !important;
  transform: rotate(-6deg);
  white-space: nowrap;
}

.cn-ana__title::after {
  content: "";
  display: block;
  width: 3.6em;
  height: .3em;
  margin: -.14em 0 0 .8em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40'%3E %3Cpath d='M4 30C60 34 100 26 130 20c16-3 26-1 24 6-2 6-14 7-16 1s12-14 34-16c40-4 80 2 120-4' fill='none' stroke='%23C9A6DD' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Popust na naslikanom potezu cetkicom (neravne ivice) */
.cn-ana__discount {
  position: relative;
  isolation: isolate;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 800;
  font-variant-numeric: lining-nums;
  font-size: 8.2cqw;
  line-height: 1.05 !important;
  color: #351A3D;
  padding: .14em 1em .1em;
  margin-top: .35em !important;
}

.cn-ana__discount::before {
  content: "";
  position: absolute;
  inset: -4% -12%;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 110' preserveAspectRatio='none'%3E %3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E %3Cstop offset='0' stop-color='%23A983C4'/%3E%3Cstop offset='.35' stop-color='%23D6BCE8'/%3E%3Cstop offset='.6' stop-color='%23E9D8F4'/%3E%3Cstop offset='1' stop-color='%23A47BC0'/%3E%3C/linearGradient%3E %3Cfilter id='f' x='-10%25' y='-30%25' width='120%25' height='160%25'%3E %3CfeTurbulence type='fractalNoise' baseFrequency='.012 .3' numOctaves='3' seed='7'/%3E %3CfeDisplacementMap in='SourceGraphic' scale='24' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E %3Cpath filter='url(%23f)' fill='url(%23g)' d='M22 38C80 20 190 16 300 18c40 1 70 4 86 10-8 12-2 26-8 40-6 14-2 22 2 28-90 6-200 8-290 4-30-1-60-4-80-8 10-10 2-20 6-30 2-10-4-18 6-24z'/%3E %3Cpath filter='url(%23f)' fill='%23F3E8F9' fill-opacity='.35' d='M60 44c90-8 200-10 290-4v8c-90-4-200-2-290 6z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: rotate(-3deg);
}

/* Crtica fonta stoji nisko; podize se na sredinu visine brojeva */
.cn-minus {
  position: relative;
  top: -.1em;
  margin-right: .03em;
}

.cn-ana__note {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1.9cqw;
  letter-spacing: .12em;
  color: #FFFFFF;
  margin-top: .55em !important;
}

/* Tamnoljubicasto dugme sa svetlim okvirom */
.cn-ana__btn {
  display: inline-block;
  margin-top: 1.3em;
  padding: .75em 1.9em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.55cqw;
  letter-spacing: .03em;
  color: #FFFFFF;
  background: linear-gradient(180deg, #5B3376 0%, #44245B 60%, #391C4D 100%);
  border: 1.5px solid rgba(201, 166, 221, .85);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(20, 5, 30, .35), inset 0 1px 0 rgba(255, 255, 255, .2);
  text-decoration: none;
  white-space: nowrap;
}

.cn-ana__btn:hover,
.cn-ana__btn:focus {
  color: #FFFFFF;
  background: linear-gradient(180deg, #4E2A66 0%, #351A3D 100%);
  text-decoration: none;
}

.cn-btn__arrow {
  display: inline-block;
  font-weight: 300;
  font-size: 1.8em;
  line-height: 0;
  vertical-align: -.1em;
  margin-left: .45em;
}

/* Tablet: siri tekstualni deo i krupnija slova */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .splash.cn-ana .cn-ana__text {
    width: 48%;
    margin-right: 3%;
  }

  .cn-ana__orn {
    font-size: 2.8cqw;
  }

  .cn-ana__kicker {
    font-size: 5.4cqw;
  }

  .cn-ana__title {
    font-size: 12.6cqw;
  }

  .cn-ana__discount {
    font-size: 9.2cqw;
  }

  .cn-ana__note {
    font-size: 2.3cqw;
  }

  .cn-ana__btn {
    font-size: 2.1cqw;
  }
}

/* Telefon: buket ostaje u pozadini, tekst na sredini preko zatamnjenja */
@media screen and (max-width: 767px) {
  .splash.cn-ana {
    justify-content: center;
    background-position: 22% center;
  }

  .splash.cn-ana::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(35, 15, 40, .58);
  }

  .splash.cn-ana .cn-ana__text {
    position: relative;
    width: 90%;
    margin-right: 0;
  }

  /* Velicine rastu sa sirinom samo do ~400px, da tekst stane u visinu banera */
  .cn-ana__orn {
    font-size: min(4.6cqw, 18px);
  }

  .cn-ana__kicker {
    font-size: min(9cqw, 36px);
  }

  .cn-ana__title {
    font-size: min(19cqw, 76px);
  }

  .cn-ana__discount {
    font-size: min(14cqw, 54px);
  }

  .cn-ana__note {
    font-size: min(3.7cqw, 15px);
  }

  .cn-ana__btn {
    font-size: min(3.6cqw, 15px);
  }
}
