/* Café Lalilano UK GDPR / PECR cookie consent.
   Minimalist white banner, aubergine controls, square corners. */

.lalilano-consent-banner,
.lalilano-consent-modal {
  --lalilano-consent-aubergine: #30243d;
  --lalilano-consent-aubergine-hover: #3d2e4d;
  --lalilano-consent-ink: #352217;
  --lalilano-consent-muted: #5c5148;
  --lalilano-consent-line: #e6e0d8;
  --lalilano-consent-white: #ffffff;
  box-sizing: border-box;
  font-family: Lato, Inter, Arial, sans-serif;
  color: var(--lalilano-consent-ink);
}

.lalilano-consent-banner *,
.lalilano-consent-modal * {
  box-sizing: border-box;
}

.lalilano-consent-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10050;
  width: 100%;
  padding: 1.1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--lalilano-consent-line);
  background: var(--lalilano-consent-white);
  box-shadow: 0 -8px 24px rgba(48, 36, 61, 0.08);
}

.lalilano-consent-banner__inner {
  display: grid;
  gap: 1rem;
  width: min(100%, var(--lalilano-container-max, 1400px));
  margin: 0 auto;
}

.lalilano-consent-banner__copy h2,
.lalilano-consent-modal__title {
  margin: 0 0 0.45rem;
  color: var(--lalilano-consent-aubergine);
  font-family: "Roboto Condensed", Lato, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lalilano-consent-banner__copy p,
.lalilano-consent-modal__intro,
.lalilano-consent-category__desc {
  margin: 0;
  color: var(--lalilano-consent-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.lalilano-consent-banner__copy a,
.lalilano-consent-modal a {
  color: var(--lalilano-consent-aubergine);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.lalilano-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.lalilano-consent-banner .lalilano-consent-btn,
.lalilano-consent-modal .lalilano-consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 8.5rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--lalilano-consent-aubergine);
  border-radius: 0;
  background: var(--lalilano-consent-aubergine);
  color: #ffffff !important;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.lalilano-consent-banner .lalilano-consent-btn:hover,
.lalilano-consent-banner .lalilano-consent-btn:focus-visible,
.lalilano-consent-modal .lalilano-consent-btn:hover,
.lalilano-consent-modal .lalilano-consent-btn:focus-visible {
  background: var(--lalilano-consent-aubergine-hover);
  border-color: var(--lalilano-consent-aubergine-hover);
  color: #ffffff !important;
  outline: 2px solid #e7bf65;
  outline-offset: 2px;
}

.lalilano-consent-banner .lalilano-consent-btn--ghost,
.lalilano-consent-modal .lalilano-consent-btn--ghost {
  background: #ffffff;
  color: var(--lalilano-consent-aubergine) !important;
}

.lalilano-consent-banner .lalilano-consent-btn--ghost:hover,
.lalilano-consent-banner .lalilano-consent-btn--ghost:focus-visible,
.lalilano-consent-modal .lalilano-consent-btn--ghost:hover,
.lalilano-consent-modal .lalilano-consent-btn--ghost:focus-visible {
  background: #f7f4f8;
  color: var(--lalilano-consent-aubergine) !important;
}

.lalilano-consent-banner .lalilano-consent-btn--accept,
.lalilano-consent-banner .lalilano-consent-btn--reject,
.lalilano-consent-modal .lalilano-consent-btn--accept,
.lalilano-consent-modal .lalilano-consent-btn--reject {
  flex: 1 1 10rem;
  background: var(--lalilano-consent-aubergine);
  color: #ffffff !important;
}

.lalilano-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: rgba(53, 34, 23, 0.42);
}

.lalilano-consent-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10070;
  width: min(100% - 2rem, 34rem);
  max-height: min(88vh, 40rem);
  overflow: auto;
  padding: 1.35rem 1.25rem 1.25rem;
  border: 1px solid var(--lalilano-consent-line);
  border-radius: 0;
  background: var(--lalilano-consent-white);
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 40px rgba(48, 36, 61, 0.18);
}

.lalilano-consent-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.lalilano-consent-modal__close {
  flex: none;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--lalilano-consent-line);
  border-radius: 0;
  background: var(--lalilano-consent-white);
  color: var(--lalilano-consent-aubergine);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.lalilano-consent-category {
  display: grid;
  gap: 0.45rem;
  margin: 0.95rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--lalilano-consent-line);
}

.lalilano-consent-category__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lalilano-consent-category__label {
  margin: 0;
  color: var(--lalilano-consent-aubergine);
  font-size: 0.98rem;
  font-weight: 700;
}

.lalilano-consent-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--lalilano-consent-muted);
  font-size: 0.82rem;
}

.lalilano-consent-switch input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--lalilano-consent-aubergine);
  border-radius: 0;
}

.lalilano-consent-switch input:disabled {
  opacity: 0.7;
}

.lalilano-consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.lalilano-consent-modal__actions .lalilano-consent-btn {
  flex: 1 1 8rem;
}

body.lalilano-consent-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .lalilano-consent-banner__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.9fr);
    align-items: end;
    gap: 1.5rem;
  }

  .lalilano-consent-actions {
    justify-content: flex-end;
  }
}
