/* Legal consent, cookies and persistent legal navigation. */
:root {
  --aa-legal-ink: #2e2727;
  --aa-legal-paper: #fffdf9;
  --aa-legal-paper-muted: #f5efe6;
  --aa-legal-gold: #d0aa6a;
  --aa-legal-gold-dark: #9f773c;
  --aa-legal-border: rgba(56, 48, 48, 0.18);
  --aa-legal-shadow: 0 18px 50px rgba(29, 21, 21, 0.24);
}

.allaart-consent {
  width: 100%;
  margin: 14px 0 0;
  color: var(--aa-legal-ink);
  font: 400 13px/1.45 "TildaSans", Arial, sans-serif;
  text-align: left;
}

.allaart-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
}

.allaart-consent__check {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  margin: 1px 0 0 !important;
  accent-color: var(--aa-legal-gold-dark);
}

.allaart-consent a,
.allaart-legal-footer a,
.allaart-legal-footer button {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.allaart-consent a:hover,
.allaart-legal-footer a:hover,
.allaart-legal-footer button:hover {
  color: var(--aa-legal-gold-dark);
}

.allaart-consent__note {
  display: block;
  margin: 5px 0 0 27px;
  color: rgba(46, 39, 39, 0.72);
  font-size: 12px;
}

/* Kitchen calculation form: the original cover uses a large logo image.
   Keep the form and the mandatory consent readable on that background. */
#rec1868139501 .t698__mainwrapper {
  box-sizing: border-box;
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  padding: 34px 38px;
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 18px 50px rgba(29, 21, 21, 0.2);
}

#rec1868139501 .t698__title,
#rec1868139501 .t698__descr {
  color: var(--aa-legal-ink) !important;
  text-shadow: none;
}

/* This is the old short Tilda notice. The full linked consent is inserted
   directly after the submit button by legal-consent.js. */
#rec1868139501 .t698__form-bottom-text {
  display: none !important;
}

#rec1868139501 .allaart-consent {
  box-sizing: border-box;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 10px;
  background: var(--aa-legal-paper-muted);
  color: var(--aa-legal-ink);
  font-size: 13px;
  line-height: 1.45;
}

#rec1868139501 .allaart-consent__label {
  gap: 10px;
}

#rec1868139501 .allaart-consent__note {
  margin-top: 6px;
  margin-left: 28px;
  color: rgba(46, 39, 39, 0.78);
}

/* The compact kitchen calculator is assembled after the page loads. Its
   consent is kept in the normal document flow and made as readable as the
   rest of the calculator, without adding another framed panel. */
#rec1853632431 .local-simple-calc .allaart-consent {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #383030 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#rec1853632431 .local-simple-calc .allaart-consent__label {
  display: flex !important;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
}

#rec1853632431 .local-simple-calc .allaart-consent__label > span {
  display: block !important;
  min-width: 0;
  color: #383030 !important;
}

#rec1853632431 .local-simple-calc .allaart-consent a {
  color: #383030 !important;
  font-weight: 500;
  text-decoration-color: #d0aa6a !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  pointer-events: auto !important;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

#rec1853632431 .local-simple-calc .allaart-consent a:hover,
#rec1853632431 .local-simple-calc .allaart-consent a:focus-visible {
  color: #d0aa6a !important;
}

#rec1853632431 .local-simple-calc .allaart-consent__note {
  display: block !important;
  margin: 6px 0 0 28px;
  color: #625958 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

#rec1853632431 .local-simple-calc .allaart-consent__check {
  flex: 0 0 18px;
  opacity: 1 !important;
}

@media (max-width: 640px) {
  #rec1868139501 .t698__mainwrapper {
    margin-right: 16px;
    margin-left: 16px;
    padding: 24px 18px;
    border-radius: 14px;
  }

  #rec1868139501 .allaart-consent {
    padding: 12px;
    font-size: 12px;
  }

  #rec1853632431 .local-simple-calc .allaart-consent {
    margin-top: 14px !important;
    font-size: 12px !important;
  }
}

.allaart-legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 7px 14px;
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.85);
  background: #383030;
  border-radius: 10px;
  font: 400 13px/1.4 "TildaSans", Arial, sans-serif;
  text-align: center;
}

.allaart-legal-footer button {
  appearance: none;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.allaart-legal-footer--standalone {
  margin-top: 0;
  padding: 24px 20px;
  color: rgba(255, 255, 255, 0.88);
  background: #383030;
  border-radius: 0;
}

.allaart-cookie {
  position: fixed;
  z-index: 9990;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: auto;
  box-sizing: border-box;
  width: min(calc(100vw - 32px), 320px);
  max-height: none;
  padding: 16px;
  border: 1px solid rgba(56, 48, 48, 0.14);
  border-radius: 14px;
  color: var(--aa-legal-ink);
  background: var(--aa-legal-paper);
  box-shadow: var(--aa-legal-shadow);
  font: 400 13px/1.42 "TildaSans", Arial, sans-serif;
}

.allaart-cookie[hidden] {
  display: none !important;
}

body.t-body_popupshowed .allaart-cookie,
body:has(.ap-lightbox[open]) .allaart-cookie {
  display: none !important;
}

.allaart-cookie__title {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 600;
}

.allaart-cookie__text {
  margin: 0;
}

.allaart-cookie__text a {
  color: inherit;
  text-decoration: underline;
}

.allaart-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.allaart-cookie__button {
  min-height: 36px;
  border: 1px solid var(--aa-legal-gold-dark);
  border-radius: 9px;
  padding: 7px 10px;
  color: var(--aa-legal-ink);
  background: transparent;
  font: 600 12px/1.2 "TildaSans", Arial, sans-serif;
  cursor: pointer;
}

.allaart-cookie__button--primary {
  color: #fff;
  background: var(--aa-legal-gold-dark);
}

.allaart-cookie__button:focus-visible,
.allaart-consent a:focus-visible,
.allaart-legal-footer a:focus-visible,
.allaart-legal-footer button:focus-visible {
  outline: 3px solid #1d72aa;
  outline-offset: 3px;
}

.allaart-cookie__settings {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--aa-legal-paper-muted);
}

.allaart-cookie__settings[hidden] {
  display: none;
}

.allaart-cookie__setting {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.allaart-cookie__setting input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--aa-legal-gold-dark);
}

.allaart-cookie__setting strong,
.allaart-cookie__setting span {
  display: block;
}

.allaart-cookie__setting span {
  margin-top: 3px;
  color: rgba(46, 39, 39, 0.74);
  font-size: 13px;
}

@media (max-width: 520px) {
  .allaart-cookie {
    padding: 17px;
    font-size: 14px;
  }

  .allaart-cookie__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .allaart-cookie__button {
    width: 100%;
  }

  .allaart-legal-footer {
    gap: 7px 12px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 12px;
  }
}
