/* Legacy Bootstrap 3 helpers still referenced in Razor / custom CSS */
.clearfix::after {
  display: block;
  clear: both;
  content: "";
}
.help-block {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: var(--bs-secondary-color);
}
.row-fluid {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Shop layouts (Bootstrap 5.3)
   Legacy CSS assumed BS3 .row was not flex; some mobile rules set
   flex-direction: column on .row. These grids must stay row + wrap.
   -------------------------------------------------------------------------- */
.shopping_information .container > .row {
  flex-direction: row;
  flex-wrap: wrap;
}

.brand_list .row.logos_brd_list,
.brand_list .logos_brd_list.row {
  flex-direction: row !important;
  flex-wrap: wrap !important;
}

/* --------------------------------------------------------------------------
   Footer clicks + fixed drawer (Bootstrap 5.3 / stacking)
   The slide drawer is position:fixed with a high z-index; when it sits
   off-screen some layouts still hit-test it. Closed drawer must not
   intercept clicks. Footer is lifted with explicit pointer-events.
   -------------------------------------------------------------------------- */
body:not(.smr-open) aside.menu.slide-menu-right {
  pointer-events: none;
}
body.smr-open aside.menu.slide-menu-right {
  pointer-events: auto;
}

footer.footer-bg,
footer.footer-bg .footer-area-2 {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

footer.footer-bg a,
footer.footer-bg button,
footer.footer-bg [role="button"] {
  pointer-events: auto;
  cursor: pointer;
}

/* Main content above stray overlays but below open drawer if needed */
main {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Contact Us — Umbraco Forms + native controls (original style.css .field)
   Textareas / selects are not covered by .field input { … } in style.css.
   -------------------------------------------------------------------------- */
.cont_feedback_form .field.longanswer {
  height: auto;
  min-height: 0;
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
}

.cont_feedback_form .field.longanswer textarea.form-control,
.cont_feedback_form .field.longanswer textarea.textArea {
  border: 0;
  border-bottom: 1px solid #666;
  border-radius: 0;
  background: none;
  color: #9ea3b1;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  padding: 0.35rem 0;
  width: 100%;
  min-height: 120px;
  resize: vertical;
  text-transform: none;
}

.cont_feedback_form .field.dropdown {
  height: auto;
  min-height: 65px;
}

.cont_feedback_form .field select.form-control {
  border: 0;
  border-bottom: 1px solid #666;
  border-radius: 0;
  background: none;
  color: #9ea3b1;
  font-size: 14px;
  font-weight: 300;
  line-height: 35px;
  width: 100%;
  padding: 0;
  height: auto;
  cursor: pointer;
  text-transform: uppercase;
  -webkit-appearance: none;
  appearance: none;
}

.cont_feedback_form .field select.form-control:focus {
  outline: 0;
  border-bottom-color: #ccc;
}

.cont_feedback_form .field textarea + label,
.cont_feedback_form .field select + label {
  cursor: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform-origin: left bottom;
  transform: translate(0, 30px);
  font-size: 18px;
  font-weight: normal;
  letter-spacing: normal;
  margin-bottom: 0;
  color: #767676;
}

[lang="ar"] .cont_feedback_form .field textarea + label,
[lang="ar"] .cont_feedback_form .field select + label {
  transform-origin: right bottom;
}

.cont_feedback_form .field select:focus + label,
.cont_feedback_form .field textarea:focus + label,
.cont_feedback_form .field textarea:not(:focus):valid ~ label,
.cont_feedback_form .field select:not(:focus):valid ~ label {
  transform: translate(0, 0);
  cursor: pointer;
  color: #767676;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: normal;
}

/* Contact page layout + form grid: see wwwroot/css/contact-form.css (loaded on contact.cshtml) */
.cnt_map_head_contr {
  position: relative;
}

/* Mall map frame */
.shop-detail-yas .mobileMap,
.brand_list.shop-category-listing .mobileMap {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #eceff3;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.shop-detail-yas .mobileMap iframe,
.brand_list.shop-category-listing .mobileMap iframe {
  display: block;
  width: 100%;
  height: 420px;
}
