/* ══════════════════════════════════════
   COOKIE CONSENT MODAL (Peninsula style)
   Centered float — no backdrop, no dim
══════════════════════════════════════ */
#loewera-cookie-banner {
  display: none;
  position: fixed;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #f8f7f5;
  border: 1px solid #e8e4de;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  max-width: 520px;
  width: calc(100% - 48px);
  padding: 36px 44px;
  border-radius: 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}
#loewera-cookie-banner.is-visible {
  display: block;
}

.cb-wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6B1A2A;
  margin-bottom: 16px;
}
.cb-divider {
  width: 40px;
  height: 1px;
  background: #C9A96E;
  margin: 0 auto 18px;
}
.cb-body {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #4a4a4a;
  margin-bottom: 24px;
}
.cb-body a {
  color: #C9A96E;
  text-decoration: none;
  transition: text-decoration 0.2s;
}
.cb-body a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cb-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.cb-manage {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6B1A2A;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 0.5px;
  transition: color 0.25s;
  white-space: nowrap;
}
.cb-manage:hover {
  color: #C9A96E;
}
.cb-accept {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  background: #6B1A2A;
  border: 0;
  border-radius: 0;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.25s;
  white-space: nowrap;
}
.cb-accept:hover {
  background: #C9A96E;
}

/* ══════════════════════════════════════
   COOKIE PREFERENCES MODAL
   (Opens from "Manage Preferences" click)
══════════════════════════════════════ */
#loewera-cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(28, 26, 26, 0.72);
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
}
#loewera-cookie-modal.is-open {
  display: flex;
}
.cookie-modal-box {
  background: #faf8f4;
  color: #1c1a1a;
  max-width: 540px;
  width: calc(100% - 3rem);
  padding: 2.5rem 2rem;
  position: relative;
}
.cookie-modal-box h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: #1c1a1a;
}
.cookie-modal-box p {
  font-size: 0.7rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: 1.5rem;
}
.cookie-category {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 0.9rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-category:last-of-type {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}
.cookie-category-info strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.cookie-category-info span {
  font-size: 0.65rem;
  color: #777;
  line-height: 1.65;
}
.cookie-toggle {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle-track {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  transition: background 0.25s;
  cursor: pointer;
}
.cookie-toggle input:checked + .cookie-toggle-track {
  background: #6D1F3C;
}
.cookie-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
}
.cookie-toggle input:checked + .cookie-toggle-track::after {
  transform: translateX(18px);
}
.cookie-toggle input:disabled + .cookie-toggle-track {
  opacity: 0.55;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}
.cookie-modal-close:hover { color: #333; }
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.2);
  background: transparent;
  color: #1c1a1a;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.cookie-btn:hover {
  border-color: rgba(0,0,0,0.45);
}
.cookie-btn.cookie-btn-accept {
  background: #6D1F3C;
  border-color: #6D1F3C;
  color: #fff;
}
.cookie-btn.cookie-btn-accept:hover {
  background: #C9A96E;
  border-color: #C9A96E;
}

/* ══════════════════════════════════════
   FOOTER — slim one-line design
══════════════════════════════════════ */
footer {
  background: #f8f7f5;
  border-top: 1px solid #e8e4de;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  width: 100%;
}
.ft-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a6a6a;
  flex: 1;
}
.ft-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ft-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a6a6a;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.25s;
}
.ft-link:hover { color: #6B1A2A; }
.ft-ig {
  color: #6a6a6a;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.25s;
  margin-left: 20px;
}
.ft-ig:hover { color: #6B1A2A; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  #loewera-cookie-banner {
    top: 10%;
    padding: 24px 22px;
    border-radius: 12px;
    width: calc(100% - 64px);
    max-width: 360px;
  }
  .cb-wordmark {
    margin-bottom: 14px;
  }
  .cb-divider {
    margin: 0 auto 14px;
  }
  .cb-body {
    margin-bottom: 20px;
    line-height: 1.55;
  }
  .cb-actions {
    flex-direction: column;
    gap: 12px;
  }
  .cb-accept {
    width: 100%;
  }
  footer {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 24px 24px;
    text-align: center;
  }
  .ft-ig {
    order: 1;
    margin-left: 0;
    margin-bottom: 1rem;
  }
  .ft-copy {
    order: 2;
    flex: none;
    margin-bottom: 1rem;
  }
  .ft-right {
    order: 3;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
