/* Die Blöcke laufen über die volle Breite ihres Containers — die Breite gibt Divi vor, nicht dieses
   Stylesheet. Frühere Begrenzungen (`.ze-webapp` auf 1180, `.ze-wizard` auf 820, `.ze-tickets` und
   `.ze-ticket-grid` auf 760 Pixel) sind mit 1.16.0 entfallen. Bitte keine neuen `max-width` auf
   Container setzen; für ein schmaleres Layout die Zeilenbreite im Divi-Modul einstellen. */

.ze-app-scope,
.ze-app-scope * {
  box-sizing: border-box;
}

/* Manche Themes – darunter Divi – setzen `display` auf Elementtypen wie `section` und hebeln damit
   das native hidden-Attribut aus. Innerhalb unseres Scopes stellen wir es verbindlich wieder her.
   Ohne diese Regel stünden die Schritte des Referenten-Konfigurators alle untereinander, statt
   einer nach dem anderen zu erscheinen. */
.ze-app-scope [hidden] {
  display: none !important;
}

.ze-app-scope {
  --ze-primary: #26332d;
  --ze-accent: #b99a63;
  --ze-bg: #f6f3ed;
  --ze-text: #202522;
  --ze-white: #ffffff;
  --ze-border: rgba(32, 37, 34, 0.14);
  --ze-shadow: 0 18px 50px rgba(20, 25, 22, 0.10);
  --ze-radius: 22px;
  color: var(--ze-text);
  font-family: var(--ze-font, Nunito, Arial, sans-serif);
  line-height: 1.55;
}

.ze-app-scope button,
.ze-app-scope input,
.ze-app-scope select,
.ze-app-scope textarea {
  font: inherit;
}

.ze-app-scope button {
  cursor: pointer;
}

.ze-app-scope a {
  color: var(--ze-primary);
}

.ze-app-scope h2,
.ze-app-scope h3,
.ze-app-scope h4,
.ze-app-scope p {
  margin-top: 0;
}

.ze-app-scope h2,
.ze-app-scope h3,
.ze-app-scope h4 {
  color: var(--ze-text);
  font-weight: 700;
  line-height: 1.16;
}

.ze-app-scope .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}


.ze-app-header,
.ze-form-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 66px);
  border-radius: var(--ze-radius);
  background: var(--ze-primary);
  color: var(--ze-white);
  box-shadow: var(--ze-shadow);
}

.ze-app-header::after,
.ze-form-intro::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255, 255, 255, 0.035), 0 0 0 88px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.ze-app-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.ze-app-header > div,
.ze-form-intro > * {
  position: relative;
  z-index: 1;
}

.ze-app-scope .ze-app-header h2,
.ze-app-scope .ze-form-intro h2 {
  max-width: 760px;
  margin: 8px 0 14px;
  color: var(--ze-white);
  font-size: clamp(2rem, 5vw, 4.2rem);
  letter-spacing: -0.04em;
}

.ze-app-header p,
.ze-form-intro p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.ze-eyebrow {
  display: inline-block;
  color: var(--ze-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ze-cart-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ze-white);
  transition: transform 0.2s ease, background 0.2s ease;
}

.ze-cart-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.ze-cart-button strong {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--ze-accent);
  color: var(--ze-text);
  font-size: 0.8rem;
}

.ze-app-status,
.ze-notice,
.ze-empty-state {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid var(--ze-border);
  border-radius: 14px;
  background: var(--ze-bg);
}

.ze-app-status.is-error,
.ze-form-message.is-error {
  color: #9e2d2d;
}

.ze-filter {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--ze-border);
  border-radius: var(--ze-radius);
  background: var(--ze-white);
}

.ze-filter-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px 18px;
}

.ze-filter-field {
  display: grid;
  align-content: start;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ze-primary);
}

.ze-filter-field input,
.ze-filter-field select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--ze-border);
  border-radius: 12px;
  background: var(--ze-white);
  color: var(--ze-text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}

/* Spur und Knopf selbst zeichnen: Die Vorgabe des Browsers ist hell auf Weiß kaum zu sehen, und
   Divis globale Eingabefeld-Styles überschreiben sie ohnehin. --ze-range-fill setzt das Skript. */
.ze-app-scope .ze-filter-field input[type="range"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100%;
  height: 26px;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  cursor: pointer;
}

.ze-app-scope .ze-filter-field input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--ze-accent) 0,
    var(--ze-accent) var(--ze-range-fill, 100%),
    rgba(32, 37, 34, 0.16) var(--ze-range-fill, 100%)
  );
}

.ze-app-scope .ze-filter-field input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--ze-accent) 0,
    var(--ze-accent) var(--ze-range-fill, 100%),
    rgba(32, 37, 34, 0.16) var(--ze-range-fill, 100%)
  );
}

.ze-app-scope .ze-filter-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border: 2px solid var(--ze-white);
  border-radius: 50%;
  background: var(--ze-primary);
  box-shadow: 0 2px 8px rgba(20, 25, 22, 0.3);
  cursor: pointer;
}

.ze-app-scope .ze-filter-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid var(--ze-white);
  border-radius: 50%;
  background: var(--ze-primary);
  box-shadow: 0 2px 8px rgba(20, 25, 22, 0.3);
  cursor: pointer;
}

.ze-app-scope .ze-filter-field input[type="range"]:focus-visible {
  outline: 2px solid var(--ze-primary);
  outline-offset: 4px;
}

.ze-filter-price output {
  color: var(--ze-text);
  font-size: 0.85rem;
  text-transform: none;
}

.ze-filter-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.ze-filter-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.ze-filter-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ze-accent);
}

.ze-filter-count {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.7;
}

/* Verweis zwischen Tastingliste und Seite „Event-Produkte". */
.ze-reorder-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--ze-border);
  border-radius: var(--ze-radius);
  background: var(--ze-white);
  color: var(--ze-text) !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Einladung ans Referentenformular, unter der Tastingliste. Gleiche Leiste wie der Verweis auf die
   Event-Produkte, nur sandfarben statt weiß — sie spricht ein anderes Publikum an. */
.ze-referent-cta {
  margin-top: 34px;
  border-color: transparent;
  background: var(--ze-bg);
}

.ze-reorder-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(20, 25, 22, 0.08);
}

.ze-reorder-link strong {
  color: var(--ze-primary);
  white-space: nowrap;
}

.ze-product-groups {
  display: grid;
  gap: 44px;
  margin-top: 32px;
}

.ze-product-group {
  display: grid;
  gap: 16px;
}

.ze-tasting-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.ze-tasting-card {
  overflow: hidden;
  border: 1px solid var(--ze-border);
  border-radius: var(--ze-radius);
  background: var(--ze-white);
  box-shadow: 0 10px 30px rgba(20, 25, 22, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ze-tasting-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ze-shadow);
}

.ze-tasting-card > button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
}

.ze-tasting-image,
.ze-product-image,
.ze-detail-hero {
  position: relative;
  overflow: hidden;
  background: var(--ze-bg);
}

.ze-tasting-image {
  aspect-ratio: 4 / 3;
}

.ze-tasting-image img,
.ze-product-image img,
.ze-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ze-tasting-card:hover .ze-tasting-image img,
.ze-product-card:hover .ze-product-image img {
  transform: scale(1.035);
}

.ze-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(145deg, var(--ze-primary), #3e5148);
  color: rgba(255, 255, 255, 0.35);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ze-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(32, 37, 34, 0.83);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
}

.ze-badge-open {
  background: var(--ze-accent);
  color: var(--ze-text);
}

.ze-tasting-copy {
  padding: 23px;
}

.ze-card-meta,
.ze-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(32, 37, 34, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
}

.ze-card-meta span + span::before,
.ze-detail-meta span + span::before {
  content: "·";
  margin-right: 14px;
}

.ze-tasting-copy h3 {
  margin: 12px 0 10px;
  font-size: 1.42rem;
}

.ze-tasting-copy p {
  min-height: 4.7em;
  color: rgba(32, 37, 34, 0.7);
}

.ze-text-link {
  color: var(--ze-primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.ze-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-top: 14px;
}

.ze-card-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ze-primary);
}

.ze-card-price strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.ze-card-price small {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.65;
}

.ze-back-button {
  margin: 26px 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ze-primary);
  font-weight: 800;
}

.ze-detail-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  border: 1px solid var(--ze-border);
  border-radius: var(--ze-radius);
  background: var(--ze-white);
  box-shadow: var(--ze-shadow);
}

.ze-detail-hero {
  min-height: 430px;
}

.ze-detail-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 5vw, 62px);
}

.ze-detail-copy h2 {
  margin: 14px 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
}

.ze-detail-intro {
  color: rgba(32, 37, 34, 0.72);
  font-size: 1.08rem;
}

.ze-presented-by {
  margin-bottom: 24px;
}

.ze-products-section {
  margin-top: 54px;
}

.ze-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.ze-section-heading h3 {
  margin: 5px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.ze-cart-button-inline {
  border-color: var(--ze-border);
  background: var(--ze-white);
  color: var(--ze-text);
}

.ze-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ze-product-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--ze-border);
  border-radius: 18px;
  background: var(--ze-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ze-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 25, 22, 0.09);
}

.ze-product-image {
  aspect-ratio: 1 / 0.78;
}

.ze-product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.ze-product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ze-product-top h4 {
  margin-bottom: 2px;
  font-size: 1.2rem;
}

.ze-product-top > strong {
  flex: 0 0 auto;
  color: var(--ze-primary);
}

.ze-unit,
.ze-stock {
  display: block;
  color: rgba(32, 37, 34, 0.55);
  font-size: 0.78rem;
}

.ze-product-copy > p {
  flex: 1;
  margin: 14px 0;
  color: rgba(32, 37, 34, 0.68);
  font-size: 0.92rem;
}

.ze-add-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  margin-top: 16px;
}

.ze-add-row input {
  width: 100%;
  height: 46px;
  padding: 0 8px;
  border: 1px solid var(--ze-border);
  border-radius: 10px;
  text-align: center;
}

.ze-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.ze-button:hover {
  transform: translateY(-1px);
}

.ze-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.ze-button-primary {
  background: var(--ze-primary);
  color: var(--ze-white) !important;
}

.ze-button-secondary {
  border-color: var(--ze-border);
  background: var(--ze-white);
  color: var(--ze-primary) !important;
}

.ze-cart-drawer {
  position: fixed;
  z-index: 999999;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s ease, opacity 0.25s ease;
}

.ze-cart-drawer.is-open {
  visibility: visible;
  opacity: 1;
}

.ze-cart-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(10, 13, 11, 0.56);
  backdrop-filter: blur(4px);
}

.ze-cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(580px, 100%);
  height: 100%;
  overflow-y: auto;
  transform: translateX(100%);
  background: var(--ze-white);
  color: var(--ze-text);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.17);
  transition: transform 0.3s ease;
}

.ze-cart-drawer.is-open .ze-cart-panel {
  transform: translateX(0);
}

.ze-cart-panel > header {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 24px;
  border-bottom: 1px solid var(--ze-border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.ze-cart-panel > header h3 {
  margin: 0;
  font-size: 1.35rem;
}

.ze-icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--ze-border);
  border-radius: 50%;
  background: var(--ze-white);
  color: var(--ze-text);
  font-size: 1.6rem;
}

.ze-cart-content {
  padding: 24px;
}

.ze-cart-empty,
.ze-success-state {
  padding: 50px 20px;
  text-align: center;
}

.ze-cart-tasting {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  padding: 15px 17px;
  border-radius: 14px;
  background: var(--ze-bg);
}

.ze-cart-tasting span {
  color: rgba(32, 37, 34, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ze-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--ze-border);
}

.ze-cart-item-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.ze-cart-item-copy span {
  color: rgba(32, 37, 34, 0.58);
  font-size: 0.78rem;
}

.ze-cart-quantity {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--ze-border);
  border-radius: 999px;
}

.ze-cart-quantity button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: var(--ze-white);
}

.ze-cart-quantity span {
  min-width: 24px;
  text-align: center;
}

.ze-remove-item {
  padding: 4px;
  border: 0;
  background: transparent;
  color: rgba(32, 37, 34, 0.5);
  font-size: 1.3rem;
}

.ze-checkout-section {
  margin-top: 28px;
}

.ze-checkout-section h4 {
  margin-bottom: 13px;
}

.ze-radio-grid {
  display: grid;
  gap: 9px;
}

.ze-radio-card {
  position: relative;
  display: block;
}

.ze-radio-card input {
  position: absolute;
  opacity: 0;
}

.ze-radio-card span {
  display: block;
  padding: 13px 15px;
  border: 1px solid var(--ze-border);
  border-radius: 12px;
  transition: border 0.2s ease, background 0.2s ease;
}

.ze-radio-card input:checked + span {
  border-color: var(--ze-primary);
  background: rgba(38, 51, 45, 0.07);
  box-shadow: inset 0 0 0 1px var(--ze-primary);
}

.ze-pickup-box {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ze-bg);
}

.ze-pickup-box p:last-child {
  margin-bottom: 0;
}

.ze-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.ze-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.ze-field > span {
  color: rgba(32, 37, 34, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
}

.ze-field input,
.ze-field select,
.ze-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--ze-border);
  border-radius: 10px;
  background: var(--ze-white);
  color: var(--ze-text);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.ze-field textarea {
  min-height: 90px;
  resize: vertical;
}

.ze-field input:focus,
.ze-field select:focus,
.ze-field textarea:focus {
  border-color: var(--ze-primary);
  box-shadow: 0 0 0 3px rgba(38, 51, 45, 0.1);
}

.ze-field-full {
  grid-column: 1 / -1;
}

.ze-cart-totals {
  margin-top: 24px;
  padding: 17px;
  border-radius: 14px;
  background: var(--ze-bg);
}

.ze-cart-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 4px 0;
}

.ze-cart-total {
  margin-top: 8px;
  padding-top: 12px !important;
  border-top: 1px solid var(--ze-border);
  font-size: 1.12rem;
}

.ze-check,
.ze-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  font-size: 0.83rem;
}

.ze-check input,
.ze-consent input {
  flex: 0 0 auto;
  margin-top: 4px;
}

.ze-checkout-button {
  width: 100%;
}

.ze-form-message {
  min-height: 24px;
  margin-top: 12px;
  font-size: 0.9rem;
}

.ze-success-state > span {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--ze-primary);
  color: var(--ze-white);
  font-size: 1.7rem;
}

.ze-mobile-cartbar {
  position: fixed;
  z-index: 99990;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: none;
}

.ze-mobile-cartbar button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ze-primary);
  color: var(--ze-white);
  box-shadow: 0 14px 34px rgba(20, 25, 22, 0.24);
}

html.ze-cart-open {
  overflow: hidden;
}

/* Referentenformular */
.ze-form-intro {
  margin-bottom: 26px;
}

.ze-referent-form {
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid var(--ze-border);
  border-radius: var(--ze-radius);
  background: var(--ze-white);
  box-shadow: var(--ze-shadow);
}

.ze-referent-form fieldset {
  margin: 0;
  padding: 30px 0;
  border: 0;
  border-bottom: 1px solid var(--ze-border);
}

.ze-referent-form fieldset:first-of-type {
  padding-top: 0;
}

.ze-referent-form legend {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: var(--ze-text);
  font-size: 1.35rem;
  font-weight: 800;
}

.ze-referent-form legend span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ze-primary);
  color: var(--ze-white);
  font-size: 0.9rem;
}

.ze-help {
  color: rgba(32, 37, 34, 0.64);
}

.ze-product-form {
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid var(--ze-border);
  border-radius: 16px;
  background: var(--ze-bg);
}

.ze-product-form .ze-field input,
.ze-product-form .ze-field textarea {
  background: var(--ze-white);
}

.ze-product-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.ze-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #a03838;
  font-size: 0.83rem;
  font-weight: 700;
}

.ze-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 8px;
}

.ze-success-state-large {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ze-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 980px) {
  .ze-tasting-list,
  .ze-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ze-detail-card {
    grid-template-columns: 1fr;
  }

  .ze-detail-hero {
    min-height: 360px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 680px) {
  .ze-app-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ze-app-header > .ze-cart-button {
    display: none;
  }

  .ze-tasting-list,
  .ze-product-grid,
  .ze-form-grid {
    grid-template-columns: 1fr;
  }

  .ze-filter-count {
    margin-left: 0;
  }

  .ze-field-full {
    grid-column: auto;
  }

  .ze-tasting-copy p {
    min-height: 0;
  }

  .ze-detail-hero {
    min-height: 250px;
  }

  .ze-section-heading {
    align-items: flex-start;
  }

  .ze-cart-button-inline {
    display: none;
  }

  .ze-mobile-cartbar {
    display: block;
  }

  .ze-cart-panel > header,
  .ze-cart-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .ze-cart-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ze-cart-item > strong {
    text-align: right;
  }

  .ze-cart-quantity {
    grid-row: 2;
  }

  .ze-remove-item {
    grid-row: 2;
    grid-column: 2;
    justify-self: end;
  }

  .ze-product-form {
    padding: 16px;
  }

  .ze-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ze-form-actions .ze-button {
    width: 100%;
  }
}

/* WooCommerce / Germanized handoff */
.ze-product-legal {
  display: grid;
  gap: 2px;
  margin: -2px 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--ze-text) 72%, transparent);
}

.ze-product-legal p,
.ze-product-legal span {
  margin: 0;
}

.ze-product-legal a {
  color: inherit;
  text-decoration: underline;
}

.ze-price-html,
.ze-price-html .amount {
  white-space: nowrap;
}

.ze-woocommerce-handoff {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(38, 51, 45, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.ze-woocommerce-handoff p {
  margin: 0 0 12px;
}

.ze-checkout-methods,
.ze-checkout-pickup {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.78;
}

.ze-woocommerce-handoff .ze-checkout-button {
  width: 100%;
  margin-top: 4px;
}

/* Einverständnis zu Foto- und Videoaufnahmen, direkt über „Weiter zur Kasse".
   Eigene Klasse neben .ze-consent: Die gibt es auch im Bewerbungsformular und in der Warteliste. */
.ze-cart-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

/* Divi stylt alle Eingaben global – Größe und Position der Box deshalb selbst setzen. */
.ze-app-scope .ze-cart-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--ze-primary, #26332d);
}

.ze-cart-consent span {
  flex: 1 1 auto;
}

.ze-cart-consent a {
  text-decoration: underline;
}

.ze-checkout-button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.ze-notice.is-error {
  border-color: #b32d2e;
}

/* Integrated WooCommerce tasting tickets */
.ze-ticket-section {
  margin-top: 54px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--ze-border);
  border-radius: var(--ze-radius);
  background: var(--ze-bg);
}

.ze-ticket-section .ze-section-heading {
  margin-bottom: 22px;
}


/* Ticketkachel in der WebApp. Nicht mit `.ze-ticket-pass` verwechseln — das ist das druckbare
   Ticket mit QR-Code weiter unten. Bis 1.15.2 hießen beide `.ze-ticket-card`; die spätere Regel
   gewann, und die Kachel stand als volle Breite mit riesigem Bild da (851 statt 253 Pixel hoch). */
.ze-ticket-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  box-shadow: 0 16px 40px rgba(20, 25, 22, 0.08);
}

.ze-ticket-card .ze-product-image {
  min-height: 100%;
  aspect-ratio: auto;
}

.ze-product-type {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--ze-accent);
  color: var(--ze-text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ze-venue-address {
  margin: 0;
  white-space: pre-line;
  color: rgba(32, 37, 34, 0.66);
  font-size: 0.92rem;
}

@media (max-width: 680px) {
  .ze-ticket-section {
    padding: 18px;
  }

  .ze-ticket-card {
    display: flex;
  }

  .ze-ticket-card .ze-product-image {
    min-height: 220px;
    aspect-ratio: 1 / 0.78;
  }
}

/* Teilnehmererfassung und Check-in */

.ze-form-message.is-success {
  color: #2c6e49;
}

.ze-attendee-form fieldset {
  margin: 0 0 28px;
  padding: 22px;
  border: 1px solid var(--ze-border);
  border-radius: var(--ze-radius);
  background: var(--ze-white);
}

.ze-attendee-form legend {
  display: grid;
  gap: 4px;
  padding: 0 8px;
  font-weight: 700;
  color: var(--ze-primary);
}

.ze-attendee-form legend small {
  font-weight: 400;
  font-size: 0.85rem;
  opacity: 0.75;
}

.ze-attendee-row {
  padding: 16px 0;
  border-top: 1px solid var(--ze-border);
}

.ze-attendee-row:first-of-type {
  border-top: 0;
}

.ze-attendee-row > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ze-accent);
}

.ze-checkin-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 24px 0;
}

.ze-checkin-picker .ze-field {
  flex: 1 1 260px;
  margin: 0;
}

.ze-checkin-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 18px 22px;
  border-radius: var(--ze-radius);
  background: var(--ze-primary);
  color: var(--ze-white);
}

.ze-checkin-summary strong {
  font-size: 2rem;
  line-height: 1;
}

.ze-checkin-search {
  display: block;
  margin: 20px 0 12px;
}

.ze-checkin-search input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ze-border);
  border-radius: 14px;
  background: var(--ze-white);
  font-size: 1rem;
}

.ze-checkin-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ze-checkin-list li + li {
  margin-top: 8px;
}

.ze-checkin-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  /* Deliberately generous: this gets tapped in a dim room, often one-handed. */
  min-height: 60px;
  padding: 12px 16px;
  border: 1px solid var(--ze-border);
  border-radius: 16px;
  background: var(--ze-white);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ze-checkin-item[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.ze-checkin-name {
  flex: 1 1 auto;
  font-weight: 600;
}

.ze-checkin-code {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

.ze-checkin-state {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 2px solid var(--ze-border);
  border-radius: 50%;
}

.ze-checkin-item.is-checked-in {
  border-color: var(--ze-primary);
  background: rgba(38, 51, 45, 0.07);
}

.ze-checkin-item.is-checked-in .ze-checkin-name {
  text-decoration: line-through;
  opacity: 0.7;
}

.ze-checkin-item.is-checked-in .ze-checkin-state {
  border-color: var(--ze-primary);
  background: var(--ze-primary);
}

.ze-checkin-item.is-checked-in .ze-checkin-state::after {
  content: "✓";
  color: var(--ze-white);
  font-size: 0.95rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .ze-checkin-code {
    display: none;
  }
}

/* Referenten-Konfigurator (mehrstufig) */


.ze-wizard-progress {
  margin: 24px 0 8px;
}

.ze-wizard-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--ze-border);
  overflow: hidden;
}

.ze-wizard-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--ze-accent);
  transition: width 0.3s ease;
}

.ze-wizard-progress ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ze-wizard-progress li button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  background: none;
  border: 0;
  font-size: 0.85rem;
  color: var(--ze-text);
  opacity: 0.55;
  cursor: pointer;
}

.ze-wizard-progress li button:disabled {
  cursor: default;
}

.ze-wizard-progress li button[aria-current="step"] {
  opacity: 1;
  font-weight: 700;
  color: var(--ze-primary);
}

.ze-wizard-progress li button > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ze-border);
  font-size: 0.8rem;
  font-weight: 700;
}

.ze-wizard-progress li button[aria-current="step"] > span {
  background: var(--ze-primary);
  color: var(--ze-white);
}

.ze-wizard-step-head {
  margin-bottom: 20px;
}

.ze-wizard-step-head h3 {
  margin: 0 0 6px;
}

.ze-wizard-step-head p {
  margin: 0;
  opacity: 0.75;
}

.ze-wizard-field .ze-field-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.ze-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.ze-input-unit {
  margin-left: -44px;
  padding-right: 14px;
  font-size: 0.85rem;
  opacity: 0.6;
  pointer-events: none;
}

/* Kachelauswahl */
.ze-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ze-card-grid[data-columns="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ze-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.ze-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ze-card-body {
  display: block;
  height: 100%;
  padding: 16px;
  border: 1.5px solid var(--ze-border);
  border-radius: 16px;
  background: var(--ze-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ze-card-body strong {
  display: block;
  color: var(--ze-primary);
}

.ze-card-body small {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  opacity: 0.7;
}

.ze-card input:checked + .ze-card-body {
  border-color: var(--ze-primary);
  box-shadow: 0 0 0 1px var(--ze-primary);
}

.ze-card input:focus-visible + .ze-card-body {
  outline: 2px solid var(--ze-accent);
  outline-offset: 2px;
}

.ze-wizard-field.has-error .ze-field > span,
.ze-wizard-field.has-error .ze-field-label {
  color: #9e2d2d;
}

.ze-field-error {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  font-size: 0.82rem;
  color: #9e2d2d;
}

.ze-wizard-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.ze-wizard-actions-spacer {
  flex: 1 1 auto;
}

/* Übersicht */
.ze-summary-block {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--ze-border);
  border-radius: var(--ze-radius);
  background: var(--ze-white);
}

.ze-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ze-summary-head h4 {
  margin: 0;
  color: var(--ze-primary);
}

.ze-summary-block dl {
  margin: 0;
}

.ze-summary-row {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--ze-border);
}

.ze-summary-row:first-child {
  border-top: 0;
}

.ze-summary-row dt {
  font-weight: 600;
  opacity: 0.75;
}

.ze-summary-row dd {
  margin: 0;
}

@media (max-width: 640px) {
  .ze-card-grid,
  .ze-card-grid[data-columns="3"] {
    grid-template-columns: 1fr;
  }
  .ze-summary-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Referenten-Info-Popup */

.ze-referent-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ze-primary);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.ze-referent-hint {
  font-size: 0.82rem;
  color: var(--ze-accent);
  font-weight: 700;
}

.ze-referent-modal {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s ease, opacity 0.25s ease;
}

.ze-referent-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.ze-referent-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(10, 13, 11, 0.56);
  backdrop-filter: blur(4px);
}

.ze-referent-panel {
  position: relative;
  width: min(480px, 100%);
  max-height: min(86vh, 720px);
  overflow-y: auto;
  padding: 30px;
  border-radius: var(--ze-radius);
  background: var(--ze-white);
  color: var(--ze-text);
  box-shadow: var(--ze-shadow);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.ze-referent-modal.is-open .ze-referent-panel {
  transform: translateY(0);
}

.ze-referent-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.ze-referent-photo {
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ze-bg);
}

.ze-referent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ze-referent-panel h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.ze-referent-bio {
  color: rgba(32, 37, 34, 0.82);
}

.ze-referent-bio p {
  margin: 0 0 10px;
}

.ze-referent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ze-referent-links a {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--ze-border);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

html.ze-modal-open {
  overflow: hidden;
}

/* Tickets mit QR-Code */


.ze-tickets-intro {
  margin-bottom: 28px;
}

.ze-tickets-intro h2 {
  margin: 6px 0 10px;
}

.ze-ticket-pass {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  padding: 26px;
  border: 1px solid var(--ze-border);
  border-radius: var(--ze-radius);
  background: var(--ze-white);
  box-shadow: 0 10px 30px rgba(20, 25, 22, 0.06);
}

.ze-ticket-main {
  flex: 1 1 260px;
  min-width: 0;
}

.ze-ticket-main h3 {
  margin: 6px 0 14px;
  font-size: 1.5rem;
}

.ze-ticket-meta {
  margin: 0;
}

.ze-ticket-meta > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  padding: 4px 0;
}

.ze-ticket-meta dt {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.6;
}

.ze-ticket-meta dd {
  margin: 0;
}

.ze-ticket-code {
  flex: 0 0 auto;
  text-align: center;
}

.ze-ticket-code svg {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 8px;
}

.ze-ticket-code code {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
}

.ze-tickets-note {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Hervorhebung des gescannten Tickets in der Einlassliste */
.ze-checkin-item.is-scanned {
  border-color: var(--ze-accent);
  box-shadow: 0 0 0 2px var(--ze-accent);
}

/* Druckansicht: nur die Tickets, nichts vom Theme drumherum.
   Die Regeln greifen ausschließlich auf der Ticketseite (Body-Klasse aus ZE_Shortcodes),
   damit das Drucken aller anderen Seiten unverändert bleibt. */
@media print {
  @page {
    margin: 12mm;
  }

  /* Theme-Beiwerk ausblenden. Divi 5 gibt Kopf- und Fußbereich als schlichte header-/footer-
     Elemente aus (#page-container > #et-boc > header bzw. > #et-main-area > footer) — die
     Divi-4-IDs greifen dort nicht. Deshalb zuerst semantisch, die IDs nur als Rückfallebene für
     klassische Templates. Achtung: Im Ticket-Markup darf kein header/footer/nav/aside stehen,
     sonst würde es hier mit ausgeblendet. */
  body.ze-print-tickets header,
  body.ze-print-tickets footer,
  body.ze-print-tickets nav,
  body.ze-print-tickets aside,
  body.ze-print-tickets [role="banner"],
  body.ze-print-tickets [role="contentinfo"],
  body.ze-print-tickets [role="navigation"],
  body.ze-print-tickets [role="complementary"],
  body.ze-print-tickets #wpadminbar,
  body.ze-print-tickets #top-header,
  body.ze-print-tickets #main-header,
  body.ze-print-tickets #main-footer,
  body.ze-print-tickets #footer-bottom,
  body.ze-print-tickets .et_slide_in_menu_container,
  body.ze-print-tickets .et_pb_scroll_top,
  body.ze-print-tickets .et-social-icons,
  body.ze-print-tickets .et_post_meta_wrapper,
  body.ze-print-tickets .entry-title,
  body.ze-print-tickets .ze-tickets-intro,
  body.ze-print-tickets .ze-tickets-note {
    display: none !important;
  }

  /* Abstände und Hintergründe der Theme-Wrapper zurücksetzen, damit keine leeren Seiten entstehen.
     #et-boc, .et-l und .et_builder_inner_content sind die Divi-5-Container. */
  body.ze-print-tickets,
  body.ze-print-tickets #page-container,
  body.ze-print-tickets #et-boc,
  body.ze-print-tickets #et-main-area,
  body.ze-print-tickets #main-content,
  body.ze-print-tickets .et-l,
  body.ze-print-tickets .et_builder_inner_content,
  body.ze-print-tickets .container,
  body.ze-print-tickets .et_pb_row,
  body.ze-print-tickets .et_pb_section,
  body.ze-print-tickets .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    background: none !important;
    box-shadow: none !important;
  }

  body.ze-print-tickets .ze-tickets {
    max-width: none;
    margin: 0;
  }

  .ze-app-scope .ze-ticket-pass {
    /* Ein Ticket je Seite, damit der QR nicht über den Falz gerät. */
    page-break-inside: avoid;
    break-inside: avoid;
    page-break-after: always;
    break-after: page;
    box-shadow: none;
    border: 1px solid #000;
  }

  .ze-app-scope .ze-ticket-pass:last-of-type {
    page-break-after: auto;
    break-after: auto;
  }

  .ze-ticket-code svg {
    /* Schwarzweiß-tauglich: keine Hintergrundfarbe erzwingen. */
    width: 45mm;
    height: 45mm;
  }
}

/* Warteliste bei ausverkauften Tastings */

.ze-waitlist {
  margin-top: 22px;
  padding: 24px;
  border: 1px dashed var(--ze-border);
  border-radius: var(--ze-radius);
  background: var(--ze-bg);
}

.ze-waitlist h4 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.ze-waitlist > p {
  margin-bottom: 16px;
  color: rgba(32, 37, 34, 0.75);
}

.ze-waitlist-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 12px;
}

.ze-waitlist .ze-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
}

.ze-waitlist .ze-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.ze-waitlist .ze-success-state {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.ze-waitlist .ze-success-state > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--ze-primary);
  color: var(--ze-white);
  font-size: 1.3rem;
}

@media (max-width: 640px) {
  .ze-waitlist-fields {
    grid-template-columns: 1fr;
  }
}

/* --- Produktliste im Referenten-Konfigurator --- */

.ze-app-scope .ze-productlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.ze-app-scope .ze-product-row {
  display: grid;
  grid-template-columns: 1fr 140px 36px;
  gap: 8px;
  align-items: center;
}

.ze-app-scope .ze-product-row .ze-input-wrap {
  margin: 0;
}

.ze-app-scope .ze-product-remove {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  opacity: 0.55;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.ze-app-scope .ze-product-remove:hover,
.ze-app-scope .ze-product-remove:focus-visible {
  opacity: 1;
  border-color: currentColor;
}

.ze-app-scope .ze-product-add {
  margin-top: 10px;
  align-self: flex-start;
}

@media (max-width: 540px) {
  .ze-app-scope .ze-product-row {
    grid-template-columns: 1fr 110px 36px;
  }
}

/* --- Terminliste mit Kalender im Referenten-Konfigurator --- */

.ze-app-scope .ze-datelist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.ze-app-scope .ze-date-row {
  display: grid;
  grid-template-columns: 1fr 150px 36px;
  gap: 8px;
  align-items: center;
}

.ze-app-scope .ze-date-trigger {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--ze-border);
  border-radius: 14px;
  background: var(--ze-white);
  color: var(--ze-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0.75;
}

.ze-app-scope .ze-date-trigger.has-value {
  font-weight: 600;
  opacity: 1;
}

.ze-app-scope .ze-date-trigger:focus-visible,
.ze-app-scope .ze-date-trigger[aria-expanded="true"] {
  border-color: var(--ze-primary);
  outline: none;
}

/* Wie die übrigen Eingabefelder. Ohne „Uhr“-Zusatz: Der lag unter dem Uhr-Symbol des Browsers. */
.ze-app-scope .ze-date-time {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--ze-border);
  border-radius: 14px;
  background: var(--ze-white);
  color: var(--ze-text);
  font: inherit;
}

.ze-app-scope .ze-date-time:focus {
  border-color: var(--ze-primary);
  outline: none;
}

.ze-app-scope .ze-calendar {
  max-width: 340px;
  padding: 14px;
  border: 1px solid var(--ze-border);
  border-radius: 18px;
  background: var(--ze-white);
  box-shadow: var(--ze-shadow);
}

.ze-app-scope .ze-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ze-app-scope .ze-calendar-nav {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ze-border);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.ze-app-scope .ze-calendar-nav:disabled {
  cursor: default;
  opacity: 0.3;
}

.ze-app-scope .ze-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.ze-app-scope .ze-calendar-dow {
  padding: 4px 0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  opacity: 0.7;
}

.ze-app-scope .ze-calendar-dow.is-off {
  opacity: 0.3;
}

.ze-app-scope .ze-calendar-day {
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--ze-bg);
  color: var(--ze-text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.ze-app-scope .ze-calendar-day:hover:not(:disabled) {
  background: var(--ze-accent);
}

.ze-app-scope .ze-calendar-day:disabled {
  background: transparent;
  cursor: not-allowed;
  opacity: 0.28;
  text-decoration: line-through;
}

.ze-app-scope .ze-calendar-day.is-today {
  box-shadow: inset 0 0 0 1px var(--ze-primary);
}

.ze-app-scope .ze-calendar-day.is-selected {
  background: var(--ze-primary);
  color: var(--ze-white);
}

@media (max-width: 540px) {
  .ze-app-scope .ze-date-row {
    grid-template-columns: 1fr 120px 36px;
  }

  .ze-app-scope .ze-calendar {
    max-width: none;
  }
}
