/* Google Consent Mode v2 — Iunia ultra glass · Fraunces / Outfit / Poppins */
.egc {
  --egc-plum: #4e2a4e;
  --egc-plum-deep: #3a1f3a;
  --egc-mauve: #c18da2;
  --egc-rose: #c45d8a;
  --egc-mauve-soft: #e8d5dc;
  --egc-cream: #faf6f4;
  --egc-cream-card: #fffcfa;
  --egc-ink: #3a2a38;
  --egc-muted: #6b5a68;
  --egc-radius: 28px;
  --egc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --egc-shadow:
    0 28px 70px rgba(78, 42, 78, 0.16),
    0 8px 24px rgba(78, 42, 78, 0.08);
  --egc-font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --egc-font-body: "Outfit", system-ui, sans-serif;
  --egc-font-ui: "Poppins", "Outfit", system-ui, sans-serif;
  font-family: var(--egc-font-body);
  color: var(--egc-ink);
  z-index: 100000;
  -webkit-font-smoothing: antialiased;
}

.egc[hidden] {
  display: none !important;
}

.egc-scrim {
  position: fixed;
  inset: 0;
  background: rgba(58, 31, 58, 0.32);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  z-index: 100000;
  animation: egc-scrim-in 0.45s var(--egc-ease) both;
}

.egc-scrim[hidden] {
  display: none !important;
}

.egc-banner {
  position: fixed;
  left: 50%;
  width: min(1320px, calc(100% - 1.15rem));
  z-index: 100001;
  border-radius: var(--egc-radius);
  background:
    linear-gradient(
      128deg,
      rgba(255, 252, 250, 0.72) 0%,
      rgba(250, 246, 244, 0.58) 42%,
      rgba(255, 248, 250, 0.66) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    var(--egc-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(78, 42, 78, 0.04);
  overflow: hidden;
  color: var(--egc-ink);
  isolation: isolate;
  backdrop-filter: blur(24px) saturate(1.28);
  -webkit-backdrop-filter: blur(24px) saturate(1.28);
  animation: egc-banner-in 0.72s var(--egc-ease) both;
}

.egc-banner[hidden] {
  display: none !important;
  animation: none;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.egc-decided .egc-banner {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  animation: none !important;
}

.egc-banner--bottom {
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
}

.egc-banner--center {
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  animation-name: egc-banner-in-center;
}

/* —— Purple aurora blurs —— */
.egc-banner__glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  will-change: transform, opacity;
}

.egc-banner__glow--main {
  top: -42%;
  right: -14%;
  width: min(520px, 58%);
  height: 175%;
  background:
    radial-gradient(
      circle at 38% 42%,
      rgba(196, 93, 138, 0.5) 0%,
      rgba(78, 42, 78, 0.28) 36%,
      transparent 68%
    );
  filter: blur(34px);
  animation: egc-aurora-a 8.5s ease-in-out infinite alternate;
}

.egc-banner__glow--soft {
  bottom: -48%;
  right: 4%;
  width: min(340px, 42%);
  height: 110%;
  background:
    radial-gradient(circle at 50% 35%, rgba(193, 141, 162, 0.42) 0%, transparent 70%);
  filter: blur(40px);
  animation: egc-aurora-b 11s ease-in-out infinite alternate;
}

.egc-banner__glow--left {
  top: -28%;
  left: -10%;
  width: min(280px, 32%);
  height: 130%;
  background:
    radial-gradient(circle at 55% 50%, rgba(196, 93, 138, 0.26) 0%, rgba(78, 42, 78, 0.12) 45%, transparent 70%);
  filter: blur(30px);
  animation: egc-aurora-c 10s ease-in-out infinite alternate;
}

.egc-banner__sheen {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(232, 213, 220, 0.18) 52%,
    transparent 62%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: egc-sheen 7.5s ease-in-out infinite;
  mix-blend-mode: soft-light;
}

.egc-banner__close {
  position: absolute;
  top: 0.9rem;
  right: 0.95rem;
  z-index: 4;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: var(--egc-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.25s var(--egc-ease), background 0.25s var(--egc-ease), transform 0.25s var(--egc-ease);
  backdrop-filter: blur(10px);
}

.egc-banner__close:hover {
  color: var(--egc-plum);
  background: rgba(193, 141, 162, 0.28);
  transform: rotate(90deg);
}

.egc-banner__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.05rem;
  padding: 1.5rem 1.6rem 1.45rem 1.4rem;
  padding-right: 2.7rem;
}

@media (min-width: 860px) {
  .egc-banner__inner {
    grid-template-columns: minmax(0, 1.5fr) auto;
    align-items: end;
    gap: 1.85rem 2.6rem;
    padding: 1.75rem 2.1rem 1.65rem 1.65rem;
    padding-right: 3.2rem;
  }
}

.egc-banner__main {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  column-gap: 1.55rem;
  align-items: center;
}

.egc-banner__art {
  position: relative;
  width: 118px;
  height: 142px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  animation: egc-flower-float 6s ease-in-out infinite;
}

.egc-banner__art::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 93, 138, 0.28), transparent 70%);
  filter: blur(16px);
  z-index: 0;
  animation: egc-flower-halo 5s ease-in-out infinite alternate;
}

.egc-banner__art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 142px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 14px 24px rgba(78, 42, 78, 0.18));
  animation: egc-flower-breathe 5.2s ease-in-out infinite;
}

.egc-banner__copy {
  min-width: 0;
  padding-left: 0.2rem;
}

.egc-banner__copy > * {
  animation: egc-rise 0.7s var(--egc-ease) both;
}

.egc-banner__copy .egc-eyebrow {
  animation-delay: 0.12s;
}

.egc-banner__copy .egc-title {
  animation-delay: 0.2s;
}

.egc-banner__copy .egc-text {
  animation-delay: 0.28s;
}

.egc-banner__copy .egc-links {
  animation-delay: 0.36s;
}

.egc-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
  animation: egc-rise 0.75s var(--egc-ease) 0.32s both;
}

.egc-eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--egc-font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #9a6f84;
  font-weight: 600;
}

.egc-title {
  margin: 0 0 0.45rem;
  font-family: var(--egc-font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.82rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--egc-plum);
  letter-spacing: -0.015em;
}

.egc-text {
  margin: 0;
  font-family: var(--egc-font-body);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.52;
  color: var(--egc-muted);
  max-width: 56ch;
}

.egc-links {
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-family: var(--egc-font-ui);
  font-size: 0.8rem;
  font-weight: 500;
}

.egc-links a {
  color: var(--egc-plum) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(78, 42, 78, 0.32);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.2rem;
}

.egc-links a:hover {
  color: var(--egc-rose) !important;
  text-decoration-color: var(--egc-rose);
}

.egc-links span {
  color: rgba(78, 42, 78, 0.32);
}

.egc-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.66rem 1.12rem;
  font-family: var(--egc-font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 0.25s var(--egc-ease),
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}

.egc-btn:hover {
  transform: translateY(-2px);
}

.egc-btn:active {
  transform: translateY(0);
}

.egc-btn--solid {
  background: linear-gradient(180deg, #5a3358 0%, var(--egc-plum) 55%, var(--egc-plum-deep) 100%);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(78, 42, 78, 0.26);
}

.egc-btn--solid:hover {
  box-shadow: 0 16px 34px rgba(78, 42, 78, 0.32);
}

.egc-btn--soft,
.egc-btn--ghost {
  background: rgba(255, 255, 255, 0.35);
  color: var(--egc-plum) !important;
  border: 1.5px solid rgba(78, 42, 78, 0.26);
  backdrop-filter: blur(8px);
}

.egc-btn--soft:hover,
.egc-btn--ghost:hover {
  border-color: rgba(78, 42, 78, 0.45);
  background: rgba(193, 141, 162, 0.16);
}

/* —— Keyframes —— */
@keyframes egc-scrim-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes egc-banner-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(28px) scale(0.985);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes egc-banner-in-center {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 22px)) scale(0.985);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }
}

@keyframes egc-aurora-a {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(-7%, 5%, 0) scale(1.12);
    opacity: 1;
  }
}

@keyframes egc-aurora-b {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.75;
  }
  100% {
    transform: translate3d(6%, -4%, 0) scale(1.15);
    opacity: 1;
  }
}

@keyframes egc-aurora-c {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate3d(5%, 6%, 0) scale(1.1);
    opacity: 0.95;
  }
}

@keyframes egc-sheen {
  0%,
  35% {
    background-position: 120% 0;
  }
  65%,
  100% {
    background-position: -40% 0;
  }
}

@keyframes egc-flower-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-7px) rotate(2deg);
  }
}

@keyframes egc-flower-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@keyframes egc-flower-halo {
  0% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes egc-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes egc-modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes egc-modal-from-left {
  from {
    opacity: 0;
    transform: translateX(-28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes egc-reopen-from-left {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .egc-banner,
  .egc-scrim,
  .egc-banner__glow,
  .egc-banner__sheen,
  .egc-banner__art,
  .egc-banner__art img,
  .egc-banner__art::before,
  .egc-banner__copy > *,
  .egc-banner__actions,
  .egc-modal__panel,
  .egc-reopen.is-enter {
    animation: none !important;
  }
}

.egc-modal {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: grid;
  place-items: center;
  padding: clamp(0.65rem, 2.5vw, 1.1rem);
  overflow: hidden;
}

.egc-modal[hidden] {
  display: none !important;
}

.egc-modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(88vh, 720px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--egc-shadow);
  padding: clamp(1.05rem, 2.8vw, 1.45rem) clamp(0.95rem, 2.6vw, 1.3rem) clamp(1rem, 2.6vw, 1.3rem);
  color: var(--egc-ink);
  isolation: isolate;
  background:
    linear-gradient(155deg, rgba(255, 252, 250, 0.9), rgba(250, 246, 244, 0.84));
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  animation: egc-modal-in 0.5s var(--egc-ease) both;
}

.egc-modal__panel::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.egc-modal__panel.is-from-left {
  animation-name: egc-modal-from-left;
}

.egc-modal__panel::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -18%;
  width: min(260px, 70%);
  height: min(260px, 55%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 93, 138, 0.34), transparent 70%);
  filter: blur(26px);
  pointer-events: none;
  z-index: 0;
  animation: egc-aurora-a 9s ease-in-out infinite alternate;
}

.egc-modal__panel > * {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.egc-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(193, 141, 162, 0.18);
  color: var(--egc-plum);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--egc-ease), background 0.2s ease;
}

.egc-modal__close:hover {
  transform: rotate(90deg);
  background: rgba(193, 141, 162, 0.3);
}

.egc-modal .egc-title {
  padding-right: 2.2rem;
  font-size: clamp(1.28rem, 2.4vw, 1.55rem);
}

.egc-modal .egc-text {
  max-width: none;
}

.egc-cats {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.egc-cat {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(78, 42, 78, 0.08);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.egc-cat:hover {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(196, 93, 138, 0.22);
}

.egc-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.3rem;
}

.egc-cat__head strong {
  font-family: var(--egc-font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--egc-plum);
}

.egc-cat p {
  margin: 0;
  font-family: var(--egc-font-body);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--egc-muted);
}

.egc-pill {
  display: inline-flex;
  margin-left: 0.35rem;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  font-family: var(--egc-font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(193, 141, 162, 0.24);
  color: var(--egc-plum);
  vertical-align: middle;
}

.egc-switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}

.egc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.egc-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(78, 42, 78, 0.16);
  transition: background 0.2s ease;
  cursor: pointer;
}

.egc-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(78, 42, 78, 0.18);
  transition: transform 0.25s var(--egc-ease);
}

.egc-switch input:checked + span {
  background: linear-gradient(180deg, #c45d8a, #a84a74);
}

.egc-switch input:checked + span::after {
  transform: translateX(18px);
}

.egc-switch--locked span {
  background: rgba(196, 93, 138, 0.45);
  cursor: not-allowed;
}

.egc-switch--locked input:checked + span::after {
  transform: translateX(18px);
}

.egc-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1.1rem;
}

.egc-reopen {
  position: fixed;
  left: max(0.85rem, env(safe-area-inset-left));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  z-index: 84;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.52rem 0.9rem;
  border: 1px solid rgba(78, 42, 78, 0.12);
  border-radius: 999px;
  background: rgba(255, 252, 250, 0.88);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  color: var(--egc-plum) !important;
  box-shadow: 0 12px 30px rgba(78, 42, 78, 0.14);
  cursor: pointer;
  font-family: var(--egc-font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  transition: transform 0.25s var(--egc-ease), background 0.2s ease, box-shadow 0.25s ease;
}

/* Clear the left Programează siderail (≥1180px). */
@media (min-width: 1180px) {
  .egc-reopen {
    left: max(4.9rem, calc(env(safe-area-inset-left, 0px) + 4.45rem));
  }
}

.egc-reopen[hidden] {
  display: none !important;
}

.egc-reopen.is-enter {
  animation: egc-reopen-from-left 0.65s var(--egc-ease) both;
}

.egc-reopen:hover {
  background: #fff;
  transform: translateY(-2px);
}

@media (max-width: 560px) {
  .egc-banner {
    width: calc(100% - 0.9rem);
  }

  .egc-banner__main {
    grid-template-columns: 78px minmax(0, 1fr);
    column-gap: 1rem;
  }

  .egc-banner__art {
    width: 78px;
    height: 96px;
  }

  .egc-banner__art img {
    max-height: 96px;
  }

  .egc-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .egc-banner__actions .egc-btn--solid {
    grid-column: 1 / -1;
  }

  .egc-modal {
    padding: 0.55rem;
    align-items: end;
  }

  .egc-modal__panel {
    width: 100%;
    max-height: min(92vh, 100%);
    border-radius: 22px 22px 18px 18px;
    padding: 1.1rem 0.95rem 1rem;
  }

  .egc-modal .egc-title {
    font-size: 1.22rem;
  }

  .egc-modal .egc-text {
    font-size: 0.82rem;
  }

  .egc-cat {
    padding: 0.65rem 0.7rem;
  }

  .egc-cat p {
    font-size: 0.74rem;
  }

  .egc-reopen span {
    display: none;
  }

  .egc-reopen {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
  }
}
