/* WMF / PKM Project v157
   Mobile add-on assistance CTA and Why WMF technology dialog. */

@media (max-width: 991px) {
  #mobile-additional-equipment .wmf-addon-help-v157 {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 20px 16px;
    border: 1px solid rgba(211, 162, 118, 0.24);
    border-radius: 20px;
    background:
      radial-gradient(circle at 100% 0%, rgba(211, 162, 118, 0.12), transparent 42%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
    text-align: center;
  }

  #mobile-additional-equipment .wmf-addon-help-v157 h3 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
  }

  #mobile-additional-equipment .wmf-addon-help-v157 button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid #c9956c;
    border-radius: 14px;
    color: #15100d;
    background: linear-gradient(135deg, #e0b38b, #be8359);
    font: inherit;
    font-size: 15px;
    font-weight: 850;
    cursor: pointer;
  }

  #why-wmf.wmf-why-v157 .why-eyebrow {
    max-width: none !important;
  }

  #why-wmf.wmf-why-v157 .why-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  #why-wmf.wmf-why-v157 .why-actions .why-btn {
    width: 100% !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 18px !important;
    border-radius: 14px !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  #why-wmf.wmf-why-v157 .why-actions .why-btn-primary {
    border: 1px solid rgba(201, 149, 108, 0.76) !important;
    color: #fff !important;
    background: #090a0d !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
  }

  #why-wmf.wmf-why-v157 .why-actions .why-btn-primary span {
    color: #d6a37b !important;
  }

  #why-wmf.wmf-why-v157 .why-actions .why-btn-secondary {
    border: 1px solid #c9956c !important;
    color: #15100d !important;
    background: linear-gradient(135deg, #dfb28a, #bd8258) !important;
  }

  #why-wmf.wmf-why-v157 .why-actions .why-btn-secondary span {
    color: #2b1b12 !important;
  }
}

.wmf-tech-dialog-v157 {
  width: min(480px, calc(100% - 20px));
  max-width: 480px;
  max-height: min(90dvh, 760px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(211, 162, 118, 0.48);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(211, 162, 118, 0.17), transparent 34%),
    linear-gradient(150deg, #15171c, #090b0f 68%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
}

.wmf-tech-dialog-v157:not([open]) {
  display: none;
}

.wmf-tech-dialog-v157::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.wmf-tech-dialog-v157__close {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 9, 12, 0.84);
  font: 300 27px/1 Arial, sans-serif;
  cursor: pointer;
}

.wmf-tech-dialog-v157 .why-tech-panel {
  display: block !important;
  max-height: min(90dvh, 760px) !important;
  margin: 0 !important;
  padding: 24px 16px 18px !important;
  overflow: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  scrollbar-color: rgba(211, 162, 118, 0.68) rgba(255, 255, 255, 0.04);
}

.wmf-tech-dialog-v157 .why-panel-title {
  margin: 0 52px 16px 0 !important;
  color: #fff !important;
  font-size: 23px !important;
  font-weight: 850 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
}

.wmf-tech-dialog-v157 .why-tech-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
}

.wmf-tech-dialog-v157 .why-tech-item,
.wmf-tech-dialog-v157 .why-tech-item-wide {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 11px !important;
  align-items: start !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 13px !important;
  border: 1px solid rgba(255, 255, 255, 0.085) !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  box-shadow: none !important;
}

.wmf-tech-dialog-v157 .why-tech-icon {
  display: grid !important;
  width: 40px !important;
  height: 40px !important;
  place-items: center !important;
  border: 1px solid rgba(211, 162, 118, 0.24) !important;
  border-radius: 12px !important;
  color: #d6a37b !important;
  background: rgba(211, 162, 118, 0.075) !important;
}

.wmf-tech-dialog-v157 .why-tech-icon svg {
  width: 21px !important;
  height: 21px !important;
}

.wmf-tech-dialog-v157 .why-tech-item h3 {
  margin: 0 0 4px !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

.wmf-tech-dialog-v157 .why-tech-item p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

html.wmf-tech-dialog-lock,
body.wmf-tech-dialog-lock {
  overflow: hidden !important;
}

@media (min-width: 992px) {
  .wmf-tech-dialog-v157 {
    display: none !important;
  }
}
