.jloct-consent[hidden],
.jloct-consent-settings[hidden] {
  display: none !important;
}

.jloct-consent {
  position: fixed;
  z-index: 2147483000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #fff;
  background: #12372f;
  border: 1px solid #c8a96b;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.26);
  direction: rtl;
  font-family: inherit;
  line-height: 1.7;
}

.jloct-consent__copy {
  flex: 1 1 520px;
}

.jloct-consent__copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.jloct-consent__copy p {
  margin: 0;
  color: inherit;
  font-size: 0.9rem;
}

.jloct-consent__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.jloct-consent__actions button,
.jloct-consent-settings {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #c8a96b;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
}

.jloct-consent__actions button:first-child {
  color: #12372f;
  background: #d6bd84;
}

.jloct-consent__actions button:hover,
.jloct-consent__actions button:focus-visible,
.jloct-consent-settings:hover,
.jloct-consent-settings:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.jloct-consent-settings {
  position: fixed;
  z-index: 2147482999;
  right: 14px;
  bottom: 14px;
  color: #fff;
  background: #12372f;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
  direction: rtl;
}

@media (max-width: 760px) {
  .jloct-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .jloct-consent__copy {
    flex-basis: auto;
  }

  .jloct-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .jloct-consent__actions button {
    width: 100%;
  }
}
