:root {
  --sp-cookie-bg: #171412;
  --sp-cookie-surface: #211d1a;
  --sp-cookie-cream: #f5efe5;
  --sp-cookie-muted: #b7aa9e;
  --sp-cookie-gold: #d5ad67;
  --sp-cookie-burgundy: #71192c;
  --sp-cookie-line: rgba(255,255,255,.10);
}


#sp-cookie-banner,
#sp-cookie-modal {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}


#sp-cookie-banner {
  position: fixed;
  z-index: 99990;

  left: 22px;
  right: 22px;
  bottom: 22px;

  max-width: 1180px;
  margin: 0 auto;

  padding: 22px 24px;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: center;
  gap: 24px;

  border:
    1px solid rgba(213,173,103,.24);

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(23,20,18,.985),
      rgba(32,28,24,.985)
    );

  color: var(--sp-cookie-cream);

  box-shadow:
    0 22px 70px
    rgba(0,0,0,.36);

  backdrop-filter:
    blur(14px);

  transform:
    translateY(
      calc(100% + 50px)
    );

  opacity: 0;

  transition:
    transform .28s ease,
    opacity .28s ease;
}


#sp-cookie-banner.visible {
  transform:
    translateY(0);

  opacity: 1;
}


.sp-cookie-copy strong {
  display: block;

  margin-bottom: 7px;

  color: var(--sp-cookie-gold);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 18px;
  font-weight: 500;
}


.sp-cookie-copy p {
  max-width: 700px;

  margin: 0;

  color: var(--sp-cookie-muted);

  font-size: 12px;
  line-height: 1.6;
}


.sp-cookie-copy a {
  color: var(--sp-cookie-gold);

  text-decoration: underline;
  text-underline-offset: 3px;
}


.sp-cookie-actions {
  display: flex;
  flex-wrap: wrap;

  justify-content: flex-end;

  gap: 9px;
}


.sp-cookie-button {
  min-height: 40px;

  padding:
    0 15px;

  border-radius: 9px;

  border:
    1px solid var(--sp-cookie-line);

  background: transparent;
  color: var(--sp-cookie-cream);

  font-size: 11px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform .15s ease,
    background .15s ease,
    border-color .15s ease;
}


.sp-cookie-button:hover {
  transform:
    translateY(-1px);
}


.sp-cookie-button.primary {
  border-color:
    var(--sp-cookie-burgundy);

  background:
    var(--sp-cookie-burgundy);

  color: white;
}


.sp-cookie-button.secondary:hover {
  border-color:
    rgba(213,173,103,.48);

  background:
    rgba(213,173,103,.06);
}


.sp-cookie-overlay {
  position: fixed;
  z-index: 99998;

  inset: 0;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 22px;

  background:
    rgba(8,7,6,.70);

  backdrop-filter:
    blur(8px);
}


.sp-cookie-overlay.visible {
  display: flex;
}


#sp-cookie-modal {
  width:
    min(
      620px,
      100%
    );

  max-height:
    min(
      760px,
      calc(100vh - 44px)
    );

  overflow-y: auto;

  border:
    1px solid
    rgba(213,173,103,.24);

  border-radius: 18px;

  background:
    #191614;

  color:
    var(--sp-cookie-cream);

  box-shadow:
    0 35px 100px
    rgba(0,0,0,.50);
}


.sp-cookie-modal-header {
  padding:
    25px 25px 18px;

  border-bottom:
    1px solid var(--sp-cookie-line);
}


.sp-cookie-modal-header span {
  color:
    var(--sp-cookie-gold);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: .15em;

  text-transform: uppercase;
}


.sp-cookie-modal-header h2 {
  margin:
    6px 0 8px;

  font-family:
    Georgia,
    serif;

  font-size: 25px;
  font-weight: 500;
}


.sp-cookie-modal-header p {
  margin: 0;

  color:
    var(--sp-cookie-muted);

  font-size: 11px;
  line-height: 1.6;
}


.sp-cookie-preferences {
  padding:
    8px 25px 12px;
}


.sp-cookie-category {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 22px;

  padding:
    20px 0;

  border-bottom:
    1px solid var(--sp-cookie-line);
}


.sp-cookie-category:last-child {
  border-bottom: 0;
}


.sp-cookie-category h3 {
  margin:
    0 0 5px;

  font-size: 13px;
}


.sp-cookie-category p {
  margin: 0;

  color:
    var(--sp-cookie-muted);

  font-size: 10px;
  line-height: 1.55;
}


.sp-cookie-required {
  color:
    var(--sp-cookie-gold);

  font-size: 10px;
  font-weight: 800;

  text-transform: uppercase;
}


.sp-cookie-switch {
  position: relative;

  width: 43px;
  height: 24px;

  flex: 0 0 auto;
}


.sp-cookie-switch input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
}


.sp-cookie-slider {
  position: absolute;
  inset: 0;

  border-radius: 999px;

  background:
    #423a34;

  cursor: pointer;

  transition:
    background .18s ease;
}


.sp-cookie-slider::after {
  content: "";

  position: absolute;

  width: 18px;
  height: 18px;

  top: 3px;
  left: 3px;

  border-radius: 50%;

  background: white;

  transition:
    transform .18s ease;
}


.sp-cookie-switch input:checked
+
.sp-cookie-slider {
  background:
    var(--sp-cookie-burgundy);
}


.sp-cookie-switch input:checked
+
.sp-cookie-slider::after {
  transform:
    translateX(19px);
}


.sp-cookie-modal-footer {
  padding:
    18px 25px 24px;

  display: flex;
  flex-wrap: wrap;

  justify-content: flex-end;

  gap: 9px;

  border-top:
    1px solid var(--sp-cookie-line);
}


#sp-cookie-settings {
  appearance: none;

  padding: 0;

  border: 0;

  background: none;

  color: #c8beb3;

  font: inherit;
  font-size: 11px;

  cursor: pointer;

  text-align: left;
}


#sp-cookie-settings:hover {
  color:
    var(--sp-cookie-gold);
}


@media (
  max-width: 760px
) {

  #sp-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;

    grid-template-columns: 1fr;

    padding: 19px;
  }


  .sp-cookie-actions {
    justify-content:
      flex-start;
  }


  .sp-cookie-button {
    flex:
      1 1 140px;
  }

}
