.et-cookie {
  position: fixed;
  left: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 99990;
  width: min(420px, calc(100vw - 40px));
  color: #000;
  font-family: Heebo, sans-serif;
  pointer-events: none;
}

.et-cookie[hidden] {
  display: none !important;
}

.et-cookie__card {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(23, 23, 36, 0.12);
  padding: 18px 18px 16px;
}

.et-cookie__intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.et-cookie__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(49, 199, 127, 0.12);
  color: #31c77f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.et-cookie__icon svg {
  width: 20px;
  height: 20px;
}

.et-cookie__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
}

.et-cookie__text a {
  color: #31c77f;
  text-decoration: none;
  font-weight: 500;
}

.et-cookie__text a:hover {
  text-decoration: underline;
}

.et-cookie__actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.et-cookie__btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 40px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.et-cookie__btn--save {
  background: #31c77f;
  color: #fff;
}

.et-cookie__btn--save:hover {
  background: #28b36f;
}

.et-cookie__btn--reject {
  background: #d33c21;
  color: #fff;
  border-color: transparent;
}

.et-cookie__btn--reject:hover {
  background: #b8321b;
  border-color: transparent;
}

.et-cookie__btn--settings {
  background: #171724;
  color: #fff;
}

.et-cookie__btn--settings:hover,
.et-cookie__btn--settings.is-open {
  background: #23232f;
}

.et-cookie__prefs {
  display: none;
  margin-top: 12px;
  border-top: 1px solid #f0f0f1;
  padding-top: 8px;
  font-family: Heebo, sans-serif;
}

.et-cookie.is-settings .et-cookie__prefs {
  display: block;
}

.et-cookie__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f7f7f7;
}

.et-cookie__row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.et-cookie__row-copy {
  min-width: 0;
}

.et-cookie__row-title {
  display: block;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #000;
}

.et-cookie__row-desc {
  display: block;
  margin-top: 2px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
}

.et-cookie__switch {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 24px;
}

.et-cookie__switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.et-cookie__switch input:disabled {
  cursor: not-allowed;
}

.et-cookie__track {
  display: block;
  width: 42px;
  height: 24px;
  border-radius: 99px;
  background: #e8e8e9;
  pointer-events: none;
  transition: background-color .2s ease;
}

.et-cookie__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 23, 36, .2);
  transition: transform .2s ease;
}

.et-cookie__switch input:checked + .et-cookie__track {
  background: #31c77f;
}

.et-cookie__switch input:checked + .et-cookie__track::after {
  transform: translateX(18px);
}

.et-cookie__switch input:disabled + .et-cookie__track {
  background: #31c77f;
  opacity: .72;
}

.et-cookie__switch input:focus-visible + .et-cookie__track {
  outline: 2px solid #31c77f;
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .et-cookie {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto;
  }
}

@media (max-width: 575px) {
  .et-cookie__actions {
    grid-template-columns: 1fr;
  }

  .et-cookie__btn {
    min-height: 42px;
  }

  body.et-cookie-open .whatsapp-float {
    bottom: calc(280px + env(safe-area-inset-bottom));
  }

  body.et-cookie-open.et-cookie-settings .whatsapp-float {
    bottom: calc(400px + env(safe-area-inset-bottom));
  }
}

.et-hero-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(23,23,36,.55) 0%, rgba(23,23,36,.18) 45%, rgba(23,23,36,.04) 100%);
}

.et-hero-shade + .container {
  z-index: 1;
}
