/*
 * WillowPlant 15.10.2026 - wp-shop4.css: Fortsetzung von wp-shop3.css (eingebunden in templates/_partials/head.tpl
 * direkt danach). Kleine Datei, damit Ergaenzungen ohne Neuschreiben der grossen Dateien moeglich sind.
 */

/* v27 15.10.2026: Kontaktseite - Formular (Template themes/willowplant/modules/contactform/.../contactform.tpl, Klasse
   .wp-cf) im Stil des Bewertungsformulars: Beschriftung ueber dem Feld, helle abgerundete Felder mit orangem Fokus,
   Anhang als ein Feld mit grauem Knopf, Absenden orange. Linke Box: E-Mail-Adresse buendig mit dem Text, nicht mehr
   unter dem Symbol und abgeschnitten. */
#contact .wp-cf .form-fields { margin: 0; }
#contact .wp-cf .wp-contact-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: #414141;
}
#contact .wp-cf .wp-cf-intro {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: #5a5a5a;
}
#contact .wp-cf .wp-cf-field { margin: 0 0 16px; }
#contact .wp-cf .wp-cf-field > label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #7a7a7a;
  text-align: left;
}
#contact .wp-cf .wp-cf-opt { font-weight: 400; }
#contact .wp-cf .wp-cf-gdpr:not(:has(*)) { display: none; }
#contact .wp-cf input.form-control,
#contact .wp-cf select.form-control,
#contact .wp-cf textarea.form-control {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto;
  min-height: 46px;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  background: #f7f7f7 !important;
  font-size: 15px;
  line-height: 1.45;
  color: #414141;
  box-shadow: none !important;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
#contact .wp-cf textarea.form-control { min-height: 160px; resize: vertical; }
#contact .wp-cf input.form-control::placeholder,
#contact .wp-cf textarea.form-control::placeholder { color: #a0a0a0; opacity: 1; }
#contact .wp-cf input.form-control:focus,
#contact .wp-cf select.form-control:focus,
#contact .wp-cf textarea.form-control:focus {
  border-color: #ee732a !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(238, 115, 42, .15) !important;
  outline: none;
}
:root:root body#contact .wp-cf :is(input.form-control, textarea.form-control, select.form-control):focus-visible {
  outline: 2px solid #ee732a !important;
  outline-offset: 0 !important;
  box-shadow: 0 0 0 4px rgba(238, 115, 42, .18) !important;
}
/* Anhang (bootstrap-filestyle): ein Feld, Knopf rechts grau */
#contact .wp-cf .bootstrap-filestyle {
  display: flex !important;
  width: 100%;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #f7f7f7;
}
#contact .wp-cf .bootstrap-filestyle > input.form-control {
  width: auto !important;
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
#contact .wp-cf .bootstrap-filestyle .input-group-btn { display: flex; flex: 0 0 auto; width: auto; }
#contact .wp-cf .bootstrap-filestyle .input-group-btn label.btn {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-left: 1px solid #e0e0e0;
  border-radius: 0;
  background: #ececec;
  color: #414141;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
#contact .wp-cf .bootstrap-filestyle .input-group-btn label.btn:hover { background: #ee732a; color: #fff; }
#contact .wp-cf .bootstrap-filestyle .glyphicon { display: none; }
#contact .wp-cf .form-footer { margin: 4px 0 0; text-align: right; }
#contact .wp-cf .wp-cf-submit {
  min-height: 46px;
  padding: 0 26px;
  border: 0;
  border-radius: 23px;
  background: #ee732a;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  box-shadow: none;
}
#contact .wp-cf .wp-cf-submit:hover { background: #d9631e; }
#contact .wp-cf .wp-cf-alert { margin: 0 0 16px; border-radius: 12px; }
#contact .wp-cf .wp-cf-alert ul { margin: 0; padding-left: 18px; }
/* Linke Box: Symbol links, Text und Link in einer Spalte daneben */
#contact .contact-rich .block {
  display: grid !important;
  grid-template-columns: 32px 1fr;
  column-gap: 14px;
  align-items: start;
}
#contact .contact-rich .block .icon { grid-column: 1; grid-row: 1 / span 2; width: auto !important; float: none !important; }
#contact .contact-rich .block .data { grid-column: 2; width: auto !important; float: none !important; margin: 0 !important; }
#contact .contact-rich .block > a {
  grid-column: 2;
  font-size: 14px !important;
  overflow-wrap: normal;
  word-break: normal;
}
@media (max-width: 767px) {
  #contact .wp-cf .form-footer { text-align: stretch; }
  #contact .wp-cf .wp-cf-submit { width: 100%; }
}

/* v28 15.10.2026: Produktvideos (wp-shop4.js v17) - dunkler, abgerundeter Rahmen statt weisser Flaeche, Vorschaubild
   (Standbild aus dem Video) leicht abgedunkelt, Etikett "Video", runder Play-Knopf in der Mitte (weiss, oranges Symbol,
   Hover orange). Nach dem Start: Steuerleiste, Video vollstaendig sichtbar, Knopf/Etikett/Abdunklung weg.
   Abstand Miniaturen -> Video = Hauptbild -> Miniaturen (20 px). */
.video_popup .wp-vid,
.video_product .wp-vid { margin-top: 20px; }
.wp-vid {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #1e1e1e;
  line-height: 0;
}
.wp-vid > video {
  display: block;
  width: 100% !important;
  max-height: 70vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #1e1e1e;
  cursor: pointer;
}
.wp-vid > video[poster] { object-fit: cover; }
.wp-vid.wp-vid-started > video { object-fit: contain; cursor: auto; }
.wp-vid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .25);
  pointer-events: none;
  transition: opacity .2s;
}
.wp-vid.wp-vid-started::after { opacity: 0; }
.wp-vid-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: #ee732a;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
  cursor: pointer;
  transition: transform .15s, background-color .15s, color .15s, opacity .2s;
}
.wp-vid-play .material-icons { font-size: 48px; line-height: 1; }
.wp-vid-play:hover { background: #ee732a; color: #fff; transform: scale(1.06); }
.wp-vid.wp-vid-playing .wp-vid-play { opacity: 0; pointer-events: none; }
.wp-vid-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px 5px 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transition: opacity .2s;
}
.wp-vid-tag .material-icons { font-size: 18px; }
.wp-vid.wp-vid-started .wp-vid-tag { opacity: 0; }
@media (max-width: 767px) {
  .wp-vid { border-radius: 16px; }
  .wp-vid-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .wp-vid-play .material-icons { font-size: 40px; }
}
