/* Cookie consent banner + settings panel (GDPR) */

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #141414;
  color: #fff;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.28);
  font-family: var(--userfont);
  font-size: 14px;
  line-height: 1.5;
}
.cookie-consent[hidden],
.cookie-settings[hidden],
.chat-enable[hidden] {
  display: none !important;
}
.cookie-consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 20px;
}
.cookie-consent__text {
  flex: 1 1 420px;
  min-width: 260px;
}
.cookie-consent__text a {
  color: #fff;
  text-decoration: underline;
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-consent__btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 6px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cookie-consent__btn:hover {
  border-color: #fff;
}
.cookie-consent__btn--accept {
  background: #e52f1d;
  border-color: #e52f1d;
  color: #fff;
}
.cookie-consent__btn--accept:hover {
  background: #c62616;
  border-color: #c62616;
}
.cookie-consent__btn--necessary {
  background: #fff;
  border-color: #fff;
  color: #141414;
}
.cookie-consent__btn--necessary:hover {
  background: #eee;
}

/* Settings panel / modal */
.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
}
.cookie-settings__inner {
  width: 100%;
  max-width: 460px;
  background: #fff;
  color: #141414;
  border-radius: 12px;
  padding: 24px;
  font-family: var(--userfont);
  font-size: 15px;
}
.cookie-settings__head {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}
.cookie-settings__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #ececec;
  cursor: pointer;
}
.cookie-settings__row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}
.cookie-settings__row span {
  flex: 1;
}
.cookie-settings__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.cookie-settings__btn {
  border: 1px solid #ccc;
  background: transparent;
  color: #141414;
  border-radius: 6px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.cookie-settings__btn--save {
  background: #e52f1d;
  border-color: #e52f1d;
  color: #fff;
}
.cookie-settings__btn--save:hover {
  background: #c62616;
}

/* Local "activate chat" placeholder (shown until aichat.md consent) */
.chat-enable {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 1900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e52f1d;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 13px 20px;
  font-family: var(--userfont);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.chat-enable:hover {
  background: #c62616;
}
.chat-enable__note {
  position: fixed;
  right: 18px;
  bottom: 148px;
  z-index: 1900;
  max-width: 260px;
  background: #141414;
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--userfont);
  font-size: 12.5px;
  line-height: 1.45;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
  .cookie-consent__inner {
    padding: 14px 16px;
    gap: 12px;
  }
  .cookie-consent__actions {
    width: 100%;
  }
  .cookie-consent__btn {
    flex: 1 1 30%;
    text-align: center;
    padding: 10px 8px;
  }
  .chat-enable__note {
    max-width: 220px;
  }
}

/* Footer legal links, login note, order consent, profile delete, settings hint */
.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
  background: #101010;
}
.footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
}
.footer__legal-inner a {
  color: #ccc;
  font-size: 13px;
  text-decoration: none;
}
.footer__legal-inner a:hover {
  color: #fff;
  text-decoration: underline;
}

.login-popup__note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #666;
}

.order-consent {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin: 8px 0;
}
.order-consent a {
  color: #e52f1d;
  text-decoration: underline;
}

.cookie-settings__hint {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 3px;
  line-height: 1.4;
}
