.pp-cookie {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 10000;
  display: none;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
}

.pp-cookie.is-visible {
  display: block;
}

.pp-cookie__panel {
  max-width: 880px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.18);
  padding: 18px;
}

.pp-cookie__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.pp-cookie__eyebrow {
  color: #f97316;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.pp-cookie__title {
  font-size: 18px;
  font-weight: 850;
  margin: 0 0 6px;
}

.pp-cookie__text {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
}

.pp-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.pp-cookie__button {
  min-height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.pp-cookie__button:hover {
  transform: translateY(-1px);
  border-color: #f97316;
}

.pp-cookie__button--primary {
  background: #f97316;
  border-color: #f97316;
  color: #fff;
}

.pp-cookie__button--ghost {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}

.pp-cookie__settings {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.pp-cookie.is-settings .pp-cookie__settings {
  display: grid;
  gap: 10px;
}

.pp-cookie__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fffbf5;
}

.pp-cookie__row strong {
  display: block;
  margin-bottom: 3px;
}

.pp-cookie__row span {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}

.pp-cookie__toggle {
  width: 20px;
  height: 20px;
  accent-color: #f97316;
  flex: 0 0 auto;
  margin-top: 2px;
}

.pp-cookie__link {
  color: #c2410c;
  font-weight: 700;
  text-decoration: none;
}

.pp-cookie__link:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .pp-cookie {
    inset: auto 10px 10px 10px;
  }

  .pp-cookie__panel {
    padding: 14px;
  }

  .pp-cookie__grid {
    grid-template-columns: 1fr;
  }

  .pp-cookie__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pp-cookie__button {
    width: 100%;
  }
}
