.jp-cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  padding: 1.15rem clamp(1rem, 4vw, 3rem);
  color: #fff;
  background: rgba(16, 16, 15, 0.98);
  border-top: 1px solid rgba(201, 168, 106, 0.42);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.26);
  font-family: inherit;
}

.jp-cookie-consent[hidden] {
  display: none;
}

.jp-cookie-consent__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2.25rem;
}

.jp-cookie-consent__eyebrow {
  margin: 0 0 0.28rem;
  color: #c9a86a;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.jp-cookie-consent__title {
  margin: 0 0 0.32rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.2;
}

.jp-cookie-consent__text {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.79rem;
  font-weight: 300;
  line-height: 1.55;
}

.jp-cookie-consent__text a {
  color: #dec28d;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.jp-cookie-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(118px, 1fr));
  gap: 0.7rem;
}

.jp-cookie-consent__button {
  min-height: 44px;
  padding: 0.72rem 1.15rem;
  color: #fff;
  background: transparent;
  border: 1px solid #c9a86a;
  border-radius: 0;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.jp-cookie-consent__button:hover,
.jp-cookie-consent__button:focus-visible {
  color: #171612;
  background: #c9a86a;
  outline: none;
}

@media (max-width: 760px) {
  .jp-cookie-consent {
    padding: 1rem;
  }

  .jp-cookie-consent__inner {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .jp-cookie-consent__text {
    font-size: 0.75rem;
  }

  .jp-cookie-consent__actions {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .jp-cookie-consent__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jp-cookie-consent__button {
    transition: none;
  }
}
