.sgt-cookie-consent {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 2147482500;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(201, 168, 76, .34);
  background: linear-gradient(145deg, rgba(5, 11, 22, .98), rgba(9, 20, 39, .98));
  color: rgba(245, 240, 230, .78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
  backdrop-filter: blur(16px);
}

.sgt-cookie-consent[hidden] {
  display: none !important;
}

.sgt-cookie-copy {
  display: grid;
  gap: 6px;
}

.sgt-cookie-kicker {
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c9a84c;
}

.sgt-cookie-copy strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.1;
  color: #fff;
}

.sgt-cookie-copy p {
  max-width: 640px;
  margin: 0;
  font: 500 .94rem/1.55 Inter, system-ui, sans-serif;
}

.sgt-cookie-copy a {
  color: #e2c46c;
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 196, 108, .4);
}

.sgt-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.sgt-cookie-actions button,
.sgt-cookie-manage button {
  min-height: 42px;
  border: 1px solid rgba(201, 168, 76, .34);
  border-radius: 4px;
  padding: 0 14px;
  background: rgba(5, 11, 22, .74);
  color: #fff;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.sgt-cookie-actions button[data-cookie-action="accept"],
.sgt-cookie-manage button[data-cookie-action="save"] {
  border-color: transparent;
  background: linear-gradient(135deg, #c9a84c, #e2c46c);
  color: #050b16;
}

.sgt-cookie-manage {
  grid-column: 1 / -1;
  display: none;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 168, 76, .18);
}

.sgt-cookie-consent[data-manage="true"] .sgt-cookie-manage {
  display: grid;
  gap: 12px;
}

.sgt-cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(245, 240, 230, .72);
  font: 500 .92rem/1.55 Inter, system-ui, sans-serif;
}

.sgt-cookie-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #c9a84c;
}

.sgt-cookie-option strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
}

@media (max-width: 720px) {
  .sgt-cookie-consent {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 16px;
  }

  .sgt-cookie-actions {
    justify-content: stretch;
  }

  .sgt-cookie-actions button,
  .sgt-cookie-manage button {
    flex: 1 1 150px;
  }
}
