/* MENA3D RFQ — step 10: product-page quotation controls.
 * Complete replacement for assets/css/product-quotation.css.
 */
.mena3d-rfq-product {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  width: 100%;
  max-width: 510px;
  min-width: 0;
  margin: 28px 0;
  padding: 22px 0 0;
  color: #191919;
  background: transparent;
  border: 0;
  border-top: 1px solid #dedad2;
  border-radius: 0;
  box-shadow: none;
}
.mena3d-rfq-product *,
.mena3d-rfq-product *::before,
.mena3d-rfq-product *::after { box-sizing: border-box; }
.mena3d-rfq-product > label {
  grid-column: 1 / -1;
  margin: 0;
  color: #454545;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
body .mena3d-rfq-product input[name="quantity"] {
  width: 85px;
  max-width: 100%;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 10px;
  color: #191919;
  background: #ffffff;
  border: 1px solid #d8d5ce;
  border-radius: 6px;
  box-shadow: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition: border-color 160ms ease;
}
body .mena3d-rfq-product input[name="quantity"]:focus {
  color: #191919 !important;
  background: #ffffff !important;
  border-color: #191919 !important;
  outline: 2px solid #191919 !important;
  outline-offset: 2px;
  box-shadow: none !important;
}
body .mena3d-rfq-product button[data-rfq-add],
body .mena3d-rfq-product button[data-rfq-add]:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 50px;
  max-width: 100%;
  margin: 0;
  padding: 12px 18px;
  color: #ffffff !important;
  background: #191919 !important;
  border: 1px solid #191919 !important;
  border-radius: 6px;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transform: none;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 180ms ease, border-color 180ms ease;
}
body .mena3d-rfq-product button[data-rfq-add]:not(:disabled):is(:hover, :active) {
  color: #ffffff !important;
  background: #e60100 !important;
  border-color: #e60100 !important;
}
body .mena3d-rfq-product button[data-rfq-add]:focus-visible {
  outline: 2px solid #e60100;
  outline-offset: 4px;
}
.mena3d-rfq-product :disabled { opacity: .55; cursor: not-allowed; }
body .mena3d-rfq-product button[data-rfq-add]:disabled { cursor: not-allowed; }
.mena3d-rfq-product[aria-busy="true"] :disabled { cursor: wait; }
body .mena3d-rfq-product[aria-busy="true"] button[data-rfq-add] {
  color: #ffffff !important;
  background: #191919 !important;
  border-color: #191919 !important;
  opacity: 1;
  cursor: wait;
}
.mena3d-rfq-product[aria-busy="true"] button[data-rfq-add]::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid rgb(255 255 255 / 35%);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: mena3d-rfq-product-spin 700ms linear infinite;
}
.mena3d-rfq-product [data-rfq-product-status] {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding: 12px 14px;
  color: #454545;
  background: #f7f6f3;
  border-left: 2px solid #e60100;
  font-size: 13px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.mena3d-rfq-product [data-rfq-product-status]:empty { display: none; }
.mena3d-rfq-product > noscript { grid-column: 1 / -1; font-size: 13px; line-height: 1.75; }
/* Preserve the plugin's existing variable-product quotation behaviour. */
.mena3d-rfq-variable-quotation form.variations_form .woocommerce-variation-add-to-cart {
  display: none !important;
}
.mena3d-rfq-product-notice {
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  min-width: 0;
  max-width: 510px;
  margin: 26px 0;
  padding: 22px 0 0;
  color: #191919;
  background: transparent;
  border: 0;
  border-top: 1px solid #ddd9d6;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  animation: mena3d-rfq-notice-enter 320ms ease-out both;
}
.mena3d-rfq-product-notice::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: #e60100;
}
.mena3d-rfq-product-notice *,
.mena3d-rfq-product-notice *::before,
.mena3d-rfq-product-notice *::after { box-sizing: border-box; }
.mena3d-rfq-product-notice__mark {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: 1px;
  color: #b71414;
  background: #fdf1f1;
  border: 0;
  border-radius: 50%;
}
.mena3d-rfq-product-notice__mark svg { width: 18px; height: 18px; }
.mena3d-rfq-product-notice--guest .mena3d-rfq-product-notice__mark svg,
.mena3d-rfq-product-notice--restricted .mena3d-rfq-product-notice__mark svg { display: none; }
.mena3d-rfq-product-notice--guest .mena3d-rfq-product-notice__mark::after {
  content: "→";
  font-size: 21px;
  line-height: 1;
}
.mena3d-rfq-product-notice--restricted .mena3d-rfq-product-notice__mark::after {
  content: "!";
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.mena3d-rfq-product-notice__content { flex: 1 1 auto; min-width: 0; }
.mena3d-rfq-product-notice p { margin: 0; }
.mena3d-rfq-product-notice .mena3d-rfq-product-notice__eyebrow {
  margin: 1px 0 5px;
  color: #a50d0d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}
.mena3d-rfq-product-notice .mena3d-rfq-product-notice__title {
  margin: 0 0 6px;
  padding: 0;
  color: #161616;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.3;
  text-transform: none;
}
.mena3d-rfq-product-notice .mena3d-rfq-product-notice__message {
  max-width: none;
  color: #505050;
  font-size: 13px;
  line-height: 1.65;
}
body .mena3d-rfq-product-notice a.mena3d-rfq-product-notice__action,
body .mena3d-rfq-product-notice a.mena3d-rfq-product-notice__action:visited {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  max-width: 100%;
  margin-top: 14px;
  padding: 9px 14px;
  color: #fff !important;
  background: #191919 !important;
  border: 1px solid #191919;
  border-radius: 5px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  text-decoration: none !important;
  -webkit-text-fill-color: #fff;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
body .mena3d-rfq-product-notice a.mena3d-rfq-product-notice__action:hover {
  color: #fff !important;
  background: #e60100 !important;
  border-color: #e60100;
  transform: translateY(-2px);
}
body .mena3d-rfq-product-notice a.mena3d-rfq-product-notice__action:focus-visible {
  outline: 2px solid #e60100;
  outline-offset: 3px;
}
.mena3d-rfq-product-notice__action span {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}
@keyframes mena3d-rfq-notice-enter {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .mena3d-rfq-product-notice { gap: 12px; padding-top: 19px; }
  .mena3d-rfq-product-notice__mark {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
  .mena3d-rfq-product-notice__mark svg { width: 18px; height: 18px; }
}
@media (max-width: 380px) {
  .mena3d-rfq-product { gap: 12px; }
  body .mena3d-rfq-product button[data-rfq-add] { grid-column: 1 / -1; }
}
@keyframes mena3d-rfq-product-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  body .mena3d-rfq-product input[name="quantity"],
  body .mena3d-rfq-product button[data-rfq-add],
  body .mena3d-rfq-product-notice a.mena3d-rfq-product-notice__action { transition: none; }
  .mena3d-rfq-product[aria-busy="true"] button[data-rfq-add]::before { animation: none; }
  .mena3d-rfq-product-notice { animation: none; }
}
