/* MOTOSHOP81 — country suggestion. All rules belong to this dialog. */
#m81-region-window {
  box-sizing: border-box;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  margin: auto;
  padding: 0;
  border: 0;
  border-top: 3px solid #ff1d3e;
  border-radius: 8px;
  background: #fff;
  color: #17191c;
  font-family: "Exo 2", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: 0 18px 70px #0004;
}
#m81-region-window::backdrop { background: #101217a3; }
#m81-region-window * { box-sizing: border-box; }
#m81-region-window .m81-region-content { padding: 30px 32px 24px; }
#m81-region-window .m81-region-logo {
  display: block;
  width: 240px;
  max-width: calc(100% - 30px);
  height: auto;
  margin: 0 0 26px;
}
#m81-region-window .m81-region-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #59616b;
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
}
#m81-region-window .m81-region-title {
  margin: 0 0 10px;
  color: #17191c;
  font: 700 27px/1.2 "Exo 2", Arial, sans-serif;
  letter-spacing: -.4px;
}
#m81-region-window .m81-region-description { margin: 0 0 24px; color: #545b64; }
#m81-region-window .m81-region-go {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 13px 16px;
  border: 0;
  border-radius: 4px;
  background: #df092c;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font: 700 16px/1.4 "Exo 2", Arial, sans-serif;
  cursor: pointer;
}
#m81-region-window .m81-region-go:hover { background: #c80727; color: #fff; text-decoration: none; }
#m81-region-window .m81-region-stay {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  padding: 10px 2px;
  border: 0;
  background: transparent;
  color: #4b525b;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: 400 14px/1.5 "Exo 2", Arial, sans-serif;
  cursor: pointer;
}
#m81-region-window :is(a, button):focus-visible { outline: 3px solid #17191c; outline-offset: 3px; }
@media (max-width: 390px) {
  #m81-region-window .m81-region-content { padding: 26px 22px 18px; }
  #m81-region-window .m81-region-title { font-size: 24px; }
  #m81-region-window .m81-region-logo { width: 214px; margin-bottom: 23px; }
}

/* Native selectors remain accessible in the existing compact category menu. */
#m81nav #m81-region-controls { display: none; }
@media (max-width: 1279.98px) {
  #m81nav #m81-region-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #eceef1;
    background: #fafbfc;
    color: #292d33;
    text-transform: none;
  }
  #m81nav #m81-region-controls label { display: grid; gap: 4px; margin: 0; font-size: 13px; line-height: 1.4; }
  #m81nav #m81-region-controls select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 8px;
    border: 1px solid #cbd0d6;
    border-radius: 4px;
    background-color: #fff;
    color: #17191c;
    font: 400 16px/1.4 "Exo 2", Arial, sans-serif;
    cursor: pointer;
  }
  #m81nav #m81-region-controls select:focus-visible { outline: 2px solid #df092c; outline-offset: 2px; }
}
