/* Cookie banner (js/cookies.js): a small card bottom left, above the wish list tab; Accept and Reject look the same,
   as the ICO expects. */
.ck {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(400px, calc(100vw - 40px));
  padding: 18px 20px;
  border: 1px solid #e3d9d0;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(30, 28, 24, 0.18);
  color: #3a3835;
  text-align: left;
}

.ck[hidden] {
  display: none;
}

.ck-text {
  margin: 0;
  text-align: left;
  font-family: Raleway, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.ck-buttons {
  display: flex;
  gap: 10px;
}

.ck-btn {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid #3a3835;
  background-color: #3a3835;
  color: #fff;
  font-family: Cinzel, serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.ck-btn:hover,
.ck-btn:focus-visible {
  background-color: #5d5850;
  border-color: #5d5850;
}

.ck-btn:focus-visible {
  outline: 2px solid #e59775;
  outline-offset: 2px;
}

/* "Cookie settings" in the footer: a button styled like the footer links beside it */
.ck-settings {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-family: Raleway, sans-serif;
  text-align: inherit;
  cursor: pointer;
}

@media screen and (max-width: 479px) {
  .ck {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 16px;
  }
}
