/*
Theme Name: lex-bleche Shop
Theme URI: https://lex-bleche.de
Author: OpenAI Codex
Author URI: https://openai.com
Description: Eigenes Shop-Theme für lex-bleche.de mit Kantteil-Konfigurator.
Version: 0.1.51
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: lexia-shop
*/

.lx-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eef3f7;
}

.lx-assistant {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 14020;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.lx-assistant__launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #123d7a, #1b61b5);
  box-shadow: 0 16px 42px rgba(14, 46, 91, 0.28);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.lx-assistant__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #123d7a;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(18, 61, 122, 0.12);
}

.lx-assistant__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(390px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(18, 61, 122, 0.12);
  border-radius: 26px;
  color: #132033;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 26px 68px rgba(14, 46, 91, 0.22);
  backdrop-filter: blur(14px);
}

.lx-assistant__panel[hidden] {
  display: none;
}

.lx-assistant__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #123d7a, #184f96);
}

.lx-assistant__head p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lx-assistant__head button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.lx-assistant__body {
  padding: 18px 18px 10px;
}

.lx-assistant__body strong {
  display: block;
  margin-bottom: 7px;
  color: #0d2c59;
  font-size: 1.1rem;
}

.lx-assistant__body p {
  margin: 0;
  color: #4a5c72;
  line-height: 1.5;
}

.lx-assistant__quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 18px 14px;
}

.lx-assistant__quick button,
.lx-assistant__form button,
.lx-assistant__cta {
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.lx-assistant__quick button {
  min-height: 46px;
  padding: 10px 12px;
  color: #123d7a;
  background: #eef5ff;
  text-align: left;
}

.lx-assistant__form {
  padding: 0 18px 16px;
}

.lx-assistant__label {
  display: block;
  margin-bottom: 7px;
  color: #5b6b7d;
  font-size: 0.82rem;
  font-weight: 800;
}

.lx-assistant__form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.lx-assistant__form input {
  min-width: 0;
  border: 1px solid rgba(18, 61, 122, 0.16);
  border-radius: 14px;
  padding: 12px 13px;
  color: #132033;
  background: #ffffff;
  font: inherit;
}

.lx-assistant__form button {
  padding: 0 14px;
  color: #ffffff;
  background: #123d7a;
}

.lx-assistant__cta {
  display: flex;
  justify-content: center;
  margin: 0 18px 18px;
  padding: 13px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #123d7a, #1b61b5);
  text-decoration: none;
}

@media (max-width: 640px) {
  .lx-assistant {
    right: 14px;
    bottom: 14px;
  }

  .lx-assistant__launcher span:last-child {
    display: none;
  }

  .lx-assistant__launcher {
    padding: 9px;
  }

  .lx-assistant__panel {
    right: -2px;
    width: calc(100vw - 24px);
  }

  .lx-assistant__quick {
    grid-template-columns: 1fr;
  }
}
