/**
 * Lens Out Of Stock - front (mobile first, RTL, large text)
 * @author Buchacho
 */

.los-box {
  margin: 12px 0 18px;
  text-align: right;
}

/* Disabled "אזל מהמלאי" button - same place and size as "הוסף לסל" */
.los-box .los-btn-disabled,
.los-box .los-btn-disabled:hover,
.los-box .los-btn-disabled:focus {
  background: #c7ccd1 !important;
  border-color: #c7ccd1 !important;
  color: #4a535b !important;
  opacity: 1 !important;
  cursor: not-allowed;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 16px;
  white-space: normal;
  box-shadow: none;
}

.los-notify {
  margin-top: 14px;
  padding: 16px;
  background: #f4f8fb;
  border: 1px solid #d6e4ee;
  border-radius: 10px;
}

.los-notify-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #0d6a98;
}

.los-notify-text {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.5;
  color: #333;
}

.los-label {
  display: block;
  margin: 10px 0 4px;
  font-size: 17px;
  font-weight: 600;
}

.los-box .los-input {
  height: 50px;
  font-size: 18px; /* 16px and up: no zoom on iPhone */
  border-radius: 6px;
  text-align: left;
}

.los-box .los-submit {
  margin-top: 14px;
  font-size: 19px;
  padding: 12px 16px;
  white-space: normal;
}

.los-box .los-submit[disabled] { opacity: .6; }

.los-message {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 17px;
  line-height: 1.5;
}
.los-message[hidden] { display: none !important; }
.los-message.los-ok { background: #e6f6ea; color: #1e6b33; border: 1px solid #b9e2c4; }
.los-message.los-err { background: #fdecec; color: #a32020; border: 1px solid #f3c2c2; }

/* Category / search list */
.los-list-disabled,
.los-list-disabled:hover {
  background: #c7ccd1 !important;
  border-color: #c7ccd1 !important;
  color: #4a535b !important;
  opacity: 1 !important;
  cursor: not-allowed;
  pointer-events: none;
  font-weight: 700;
}

@media (min-width: 768px) {
  .los-notify { padding: 20px; }
  .los-notify-title { font-size: 22px; }
}

/* "הודיעו לי כשיחזור" link under the disabled button in lists */
.los-list-notify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 14px;
  min-height: 44px; /* easy to tap on phones */
  border: 2px solid #0d6a98;
  border-radius: 6px;
  background: #fff;
  color: #0d6a98;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.los-list-notify:hover,
.los-list-notify:focus {
  background: #0d6a98;
  color: #fff;
  text-decoration: none;
}
.los-bell { flex-shrink: 0; }

/* Button + link one under the other, centered, in the product card */
.button-container .los-list-disabled,
.button-container .los-list-notify {
  display: flex;
  width: 100%;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}
.button-container .los-list-disabled { justify-content: center; }

/* Product page opened from "הודיעו לי": highlight the form for a moment */
.los-box.los-highlight .los-notify {
  animation: los-flash 1.6s ease-out 1;
}
@keyframes los-flash {
  0%   { box-shadow: 0 0 0 4px rgba(252, 214, 27, .9); }
  100% { box-shadow: 0 0 0 0 rgba(252, 214, 27, 0); }
}
