.wcds-cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999999;
  width: min(540px, calc(100vw - 24px));
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.wcds-cookie-consent__head {
  background: #1b8772;
  padding: 22px 26px;
  text-align: center;
}

.wcds-cookie-consent__head h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.wcds-cookie-consent__close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.wcds-cookie-consent__body {
  padding: 24px 30px 8px;
  color: #5b6473;
  font-size: 16px;
  line-height: 1.55;
}

.wcds-cookie-consent__body p {
  margin: 0 0 12px;
}

.wcds-cookie-consent__body a {
  color: #1b8772;
  font-weight: 700;
  text-decoration: none;
}

.wcds-cookie-consent__actions {
  display: flex;
  gap: 18px;
  padding: 10px 30px 30px;
}

.wcds-cookie-consent__btn {
  flex: 1 1 0;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}

.wcds-cookie-consent__btn:hover {
  transform: translateY(-1px);
  opacity: .96;
}

.wcds-cookie-consent__btn--accept {
  background: #1b8772;
  color: #fff;
}

.wcds-cookie-consent__btn--secondary {
  background: #4f4a72;
  color: #fff;
}

.wcds-cookie-consent.is-hidden {
  display: none !important;
}

@media (max-width: 767px) {
  .wcds-cookie-consent {
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
    max-width: 340px;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  }

  .wcds-cookie-consent__head {
    padding: 14px 18px;
  }

  .wcds-cookie-consent__head h3 {
    font-size: 16px;
  }

  .wcds-cookie-consent__close {
    right: 9px;
    top: 8px;
    font-size: 22px;
  }

  .wcds-cookie-consent__body {
    padding: 14px 16px 6px;
    font-size: 13px;
    line-height: 1.4;
  }

  .wcds-cookie-consent__actions {
    flex-direction: column;
    gap: 8px;
    padding: 8px 16px 16px;
  }

  .wcds-cookie-consent__btn {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 7px;
  }
}

@media (max-width: 420px) {
  .wcds-cookie-consent {
    right: 8px;
    left: 8px;
    bottom: 8px;
    max-width: none;
  }

  .wcds-cookie-consent__head {
    padding: 12px 16px;
  }

  .wcds-cookie-consent__head h3 {
    font-size: 15px;
  }

  .wcds-cookie-consent__body {
    padding: 12px 14px 6px;
    font-size: 12px;
  }

  .wcds-cookie-consent__actions {
    padding: 8px 14px 14px;
  }
}
