﻿.onestich-consent-button {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9997;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(9, 8, 7, .9);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font: 500 12px/1.2 Inter, Arial, sans-serif;
  letter-spacing: .02em;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  cursor: pointer;
}

.onestich-social-dock {
  position: fixed;
  right: 150px;
  bottom: 16px;
  z-index: 9997;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.onestich-social-dock a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(9, 8, 7, .9);
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  text-decoration: none;
}

.onestich-social-dock a:hover {
  background: #fff;
  color: #100d0b;
}

.onestich-google-mark {
  font: 700 18px/1 Inter, Arial, sans-serif;
}

.onestich-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, .58);
  padding: 16px;
}

.onestich-consent-overlay.is-open {
  display: flex;
}

.onestich-consent-panel {
  width: min(980px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: #0b0a09;
  color: #f7f1ea;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .42);
}

.onestich-consent-inner {
  padding: 24px;
}

.onestich-consent-kicker {
  margin: 0 0 10px;
  color: #c8a37a;
  font: 600 11px/1.2 Inter, Arial, sans-serif;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.onestich-consent-title {
  margin: 0;
  font: 500 34px/1.05 Georgia, serif;
  color: #fff;
}

.onestich-consent-text {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(247, 241, 234, .76);
  font: 400 15px/1.65 Inter, Arial, sans-serif;
}

.onestich-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.onestich-consent-action {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 0 18px;
  background: transparent;
  color: #fff;
  font: 600 13px/1 Inter, Arial, sans-serif;
  cursor: pointer;
}

.onestich-consent-action.primary {
  border-color: #c8a37a;
  background: #c8a37a;
  color: #100d0b;
}

.onestich-consent-action:hover,
.onestich-consent-button:hover {
  opacity: .86;
}

.onestich-consent-options {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.onestich-consent-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, .035);
}

.onestich-consent-option h3 {
  margin: 0;
  color: #fff;
  font: 600 15px/1.3 Inter, Arial, sans-serif;
}

.onestich-consent-option p {
  margin: 6px 0 0;
  color: rgba(247, 241, 234, .68);
  font: 400 13px/1.55 Inter, Arial, sans-serif;
}

.onestich-consent-switch {
  position: relative;
  width: 50px;
  height: 28px;
}

.onestich-consent-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.onestich-consent-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}

.onestich-consent-slider::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s ease;
}

.onestich-consent-switch input:checked + .onestich-consent-slider {
  background: #c8a37a;
}

.onestich-consent-switch input:checked + .onestich-consent-slider::before {
  transform: translateX(22px);
}

.onestich-consent-switch input:disabled + .onestich-consent-slider {
  opacity: .58;
}

.onestich-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font: 500 12px/1.4 Inter, Arial, sans-serif;
}

.onestich-consent-links a {
  color: #c8a37a;
}

@media (min-width: 760px) {
  .onestich-consent-overlay {
    align-items: center;
  }

  .onestich-consent-inner {
    padding: 34px;
  }
}

@media (max-width: 520px) {
  .onestich-social-dock {
    right: 12px;
    bottom: 12px;
    gap: 6px;
  }

  .onestich-social-dock a {
    width: 42px;
    height: 42px;
  }

  .onestich-consent-button {
    display: none;
  }

  .onestich-consent-title {
    font-size: 28px;
  }
}
