.nec-consent,
.nec-consent * {
  box-sizing: border-box;
}

/* =========================================================
   COOKIE
   ========================================================= */

.nec-consent .cookie {
  --rotate: 0deg;
  --top-y: 0px;
  --eyeball-x: -2px;
  --eyeball-y: -2px;
  --eyeball-scale: 0.75;
  --mouth-y: 0px;
  --crack-offset: 38px;

  position: relative;
  transform: rotate(var(--rotate));
  transform-origin: 50% 100%;
}

.nec-consent .cookie .piece {
  fill: #f6a976;
  stroke-width: 0.5;
  stroke: #d5906e;
  position: absolute;
  width: 6px;
  height: 6px;
}

.nec-consent .cookie .piece.left {
  top: 15px;
  left: 4px;
}

.nec-consent .cookie .piece.right {
  top: 15px;
  right: 4px;
}

.nec-consent .cookie .top,
.nec-consent .cookie .bottom {
  display: block;
  width: 40px;
  height: 40px;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}

.nec-consent .cookie .background {
  fill: #f6a976;
}

.nec-consent .cookie .shine {
  fill: #ffdaae;
}

.nec-consent .cookie .dark {
  fill: #a96249;
}

.nec-consent .cookie .border {
  fill: none;
  stroke: #d5906e;
}

.nec-consent .cookie .crack {
  fill: none;
  stroke: #a96249;
  stroke-width: 1.25;
  stroke-dasharray: 38px;
  stroke-dashoffset: var(--crack-offset);
}

.nec-consent .cookie .top {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(var(--top-y));
}

/* =========================================================
   EYES
   ========================================================= */

.nec-consent .cookie .eye {
  top: 14px;
  position: absolute;
  z-index: 2;
}

.nec-consent .cookie .eye.left {
  left: 9px;
}

.nec-consent .cookie .eye.right {
  right: 9px;
}

.nec-consent .cookie .eye svg {
  display: block;
  width: 10px;
  height: 10px;
  fill: #fff;
  stroke: #000;
  stroke-width: 0.75;
}

.nec-consent .cookie .eye::after {
  content: "";
  left: 50%;
  top: 50%;
  position: absolute;
  transform: translate(var(--eyeball-x), var(--eyeball-y))
    scale(var(--eyeball-scale));
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background-color: #000;
}

/* =========================================================
   MOUTH
   ========================================================= */

.nec-consent .cookie .mouth {
  width: 12px;
  height: 9px;
  position: absolute;
  left: 14px;
  top: 20px;
  fill: #d5393f;
  stroke-width: 0.75;
  z-index: 2;
  stroke: #000;
  stroke-linejoin: round;
  transform: translateY(var(--mouth-y));
}

/* =========================================================
   BANNER
   ========================================================= */

.nec-consent .banner {
  background: rgba(167, 130, 188, 0.35); /* #a782bc */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  padding: 24px;
  border-radius: 27px;
  display: flex;
  gap: 20px;
  font-size: 14px;
  line-height: 1.4;
  color: #4c3a47;

  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999999;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

@media (min-width: 601px) {
  .nec-consent .banner {
    align-items: center;
  }
}

.nec-consent .banner .content {
  display: flex;
  gap: 24px;
}

@media (min-width: 601px) {
  .nec-consent .banner .content {
    align-items: center;
  }
}

@media (max-width: 600px) {
  .nec-consent .banner .content {
    flex-direction: column;
    gap: 16px;
  }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.nec-consent .banner .list {
  display: flex;
  gap: 12px;
}

.nec-consent .banner button {
  appearance: none;
  border: none;
  outline: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #4c3a47;

  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);

  line-height: 24px;
  padding: 8px 18px;
  border-radius: 15px;
  cursor: pointer;
  margin: 0;

  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.nec-consent .banner button:hover {
  background: rgba(0, 0, 0, 0.45);
}

.nec-consent .banner .list button:last-child {
  background: #ffffff;
  color: #4c3a47;
  box-shadow:
    0 6px 18px rgba(76, 58, 71, 0.35),
    inset 0 0 0 1px rgba(255,255,255,0.8);
}

.nec-consent .banner .list button:last-child:hover {
  background: #f4efea;
  transform: translateY(-1px);
}

.nec-consent .banner button.muted {
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255,255,255,0.85);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.nec-consent .banner button.muted:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* =========================================================
   MOBILE POLISH
   ========================================================= */

@media (max-width: 600px) {

  .nec-consent .banner {
    left: 12px;
    right: 12px;
    bottom: 12px;

    padding: 20px;
    border-radius: 22px;
    gap: 16px;

    font-size: 15px;
    line-height: 1.45;
  }

  .nec-consent .banner .content {
    gap: 14px;
  }

  .nec-consent .cookie {
    transform: scale(0.9);
    transform-origin: left center;
  }

  .nec-consent .banner .list {
    flex-direction: row;
    gap: 12px;
  }

  .nec-consent .banner .list button {
    width: 50%;
  }

  .nec-consent .banner button {
    width: 100%;
    justify-content: center;
    text-align: center;

    font-size: 15px;
    padding: 12px 18px;
    border-radius: 16px;
  }

  .nec-consent .banner .list button:last-child {
    font-weight: 700;
    letter-spacing: 0.2px;
  }

  .nec-consent .banner button:hover,
  .nec-consent .banner .list button:last-child:hover {
    transform: none;
  }

  .nec-consent .banner {
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
  }

  .nec-consent .banner br {
    display: none;
  }
}