/* XDEZ Filtru Moto v1.2.1 – Partdo sidebar: latimi si contururi uniforme. */
.xdez-moto-widget {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0 0 26px;
}
.xdez-moto-widget .xdez-moto-heading {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.xdez-moto-widget form.xdez-moto-filter {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
/* Selectorii expliciti previn suprascrierea bordurilor/latimilor de catre Partdo.
   Nu folosim un outline exterior, care se poate taia in sidebar. */
.xdez-moto-widget form.xdez-moto-filter > select.xdez-moto-brand,
.xdez-moto-widget form.xdez-moto-filter > select.xdez-moto-type,
.xdez-moto-widget form.xdez-moto-filter > select.xdez-moto-model {
  box-sizing: border-box !important;
  display: block !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 11px 42px 11px 16px !important;
  border: 1px solid #dedede !important;
  border-radius: 10px !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-position: right 14px center !important;
  background-size: 18px 18px !important;
  background-repeat: no-repeat !important;
  color: #222 !important;
  font-size: 15px !important;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}
.xdez-moto-widget form.xdez-moto-filter > select:disabled {
  background-color: #f8f8f8 !important;
  color: #999 !important;
  cursor: not-allowed;
  opacity: 1;
}
/* Contur vizibil, dar complet IN INTERIORUL controlului. */
.xdez-moto-widget form.xdez-moto-filter > select:focus-visible {
  border-color: #b50013 !important;
  box-shadow: inset 0 0 0 1px #b50013 !important;
  outline: 0 !important;
}
.xdez-moto-widget form.xdez-moto-filter > button.xdez-moto-submit {
  box-sizing: border-box !important;
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 56px;
  margin: 2px 0 0 !important;
  padding: 12px 16px;
  border: 0;
  border-radius: 11px;
  background: #cc0019;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease;
}
.xdez-moto-widget form.xdez-moto-filter > button.xdez-moto-submit:hover {
  background: #ad0015;
  color: #fff;
}
.xdez-moto-widget form.xdez-moto-filter > button.xdez-moto-submit:focus-visible,
.xdez-moto-widget form.xdez-moto-filter > a.xdez-moto-reset:focus-visible {
  outline: 2px solid #b50013;
  outline-offset: -2px;
}
.xdez-moto-widget .xdez-moto-reset {
  align-self: center;
  font-size: 13px;
  text-decoration: underline;
}
.xdez-moto-error { font-size: 13px; color: #9c1724; }

/* XDEZ v1.3.1: product categories filtered by chosen motorcycle, with stronger typography and darker checkbox outlines. */
.xdez-moto-categories { margin: 0 0 25px; width: 100%; min-width: 0; }
.xdez-moto-categories .xdez-moto-cat-heading { font-size: 20px; font-weight: 800; margin: 0 0 16px; line-height: 1.3; letter-spacing: 0; color: #111; }
.xdez-moto-categories .xdez-moto-cat-list { list-style: none; margin: 0; padding: 0; }
.xdez-moto-categories .xdez-moto-cat-list[hidden] { display: none !important; }
.xdez-moto-categories .xdez-moto-cat-line { display: flex; align-items: center; gap: 8px; min-height: 33px; }
.xdez-moto-categories .xdez-moto-cat-line > a { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 600; color: #111; text-decoration: none; line-height: 1.45; }
.xdez-moto-categories .xdez-moto-cat-line > a::before { content: ''; display: inline-block; box-sizing: border-box; vertical-align: -2px; width: 16px; height: 16px; margin-right: 10px; border: 1px solid #9f9f9f; border-radius: 4px; background: #fff; }
.xdez-moto-categories .xdez-moto-cat-children .xdez-moto-cat-line > a { font-size: 14px; font-weight: 500; color: #222; }
.xdez-moto-categories .xdez-moto-cat-line > a:hover { color: #000; }
.xdez-moto-categories .is-selected > .xdez-moto-cat-line > a { color: #b60019; font-weight: 700; }
.xdez-moto-categories .is-selected > .xdez-moto-cat-line > a::before { border-color: #b60019; background: #b60019; box-shadow: inset 0 0 0 3px #fff; }
.xdez-moto-categories .xdez-moto-cat-toggle { width: 30px; height: 30px; min-width: 30px; padding: 0; margin: 0; border: 0; border-radius: 4px; background: transparent; color: #444; font-weight: 600; font-size: 17px; line-height: 1; cursor: pointer; }
.xdez-moto-categories .xdez-moto-cat-toggle:hover, .xdez-moto-categories .xdez-moto-cat-toggle:focus-visible { background: #f1f1f1; }
.xdez-moto-categories .xdez-moto-cat-children { margin: 0 0 0 24px; padding: 0; }
.xdez-moto-categories .xdez-moto-cat-empty { font-size: 13px; line-height: 1.5; color: #777; margin: 0; }
