.rm-cookie-layer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: end center;
  padding: 24px;
  background: rgba(6, 18, 20, 0.42);
}

.rm-cookie-layer[hidden] {
  display: none;
}

.rm-cookie-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.86fr);
  gap: 24px;
  width: min(920px, 100%);
  padding: 26px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  color: #122528;
}

.rm-cookie-eyebrow {
  margin: 0 0 12px;
  color: #b76848;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.rm-cookie-panel h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.05;
}

.rm-cookie-panel p {
  margin: 0;
  color: #2d4547;
  line-height: 1.65;
}

.rm-cookie-options {
  display: grid;
  gap: 10px;
}

.rm-cookie-options label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid #ded4c4;
  border-radius: 8px;
  background: #fbf8f1;
}

.rm-cookie-options strong,
.rm-cookie-options small {
  display: block;
}

.rm-cookie-options small {
  margin-top: 4px;
  color: #667476;
  line-height: 1.35;
}

.rm-cookie-options input {
  width: 22px;
  height: 22px;
  accent-color: #176f86;
}

.rm-cookie-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.rm-cookie-actions button,
.rm-cookie-settings-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #ded4c4;
  border-radius: 999px;
  background: #fffdf8;
  color: #122528;
  font-weight: 800;
}

.rm-cookie-actions button.is-strong {
  border-color: #122528;
  background: #122528;
  color: #fffdf8;
}

.rm-apartment-shortcode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.rm-apartment-shortcode article {
  overflow: hidden;
  border: 1px solid #ded4c4;
  border-radius: 8px;
  background: #fffdf8;
}

.rm-apartment-shortcode img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.rm-apartment-shortcode h3,
.rm-apartment-shortcode p {
  margin: 20px;
}

@media (max-width: 720px) {
  .rm-cookie-layer {
    padding: 12px;
  }

  .rm-cookie-panel,
  .rm-apartment-shortcode {
    grid-template-columns: 1fr;
  }

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

  .rm-cookie-actions button {
    width: 100%;
  }
}
