/* Toolbar iznad Elementor Loop Grida. Isti izgled kao u mockupu maskica. */
.emt-archive-tools.v2-archive-tools {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.emt-archive-tools .v2-archive-tools-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 16px 20px;
}
/* Na kategoriji je u redu samo sort, pa ide desno. */
.emt-archive-tools .v2-archive-tools-row:has(> :only-child) {
  justify-content: flex-end;
}
/* Vrtuljak rucnog rada i banner ispod njega nisu dio podkategorije. */
body.emt-cat-leaf .elementor-element-v2-handmade,
body.emt-cat-leaf .elementor-element-v2-handmade-banner {
  display: none;
}
.elementor-element-v2subcat img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.emt-archive-tools .v2-archive-tools-sort {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
}
.emt-archive-tools .v2-archive-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.emt-archive-tools .v2-archive-brand-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.emt-archive-tools .v2-archive-tools-label,
.emt-archive-tools .v2-archive-select-wrap span,
.emt-archive-tools .v2-archive-model > span:first-child {
  color: #5c5c53;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.emt-archive-tools .v2-archive-chip {
  box-sizing: border-box;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(92, 92, 83, 0.22);
  background: #fffef9;
  color: #1f1f1d;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 38px;
  cursor: pointer;
}
.emt-archive-tools .v2-archive-chip.is-on {
  border-color: #1f1f1d;
  background: #1f1f1d;
  color: #fffef9;
}
.emt-archive-tools .v2-archive-select-wrap,
.emt-archive-tools .v2-archive-model {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.emt-archive-tools .v2-archive-model {
  flex: 1 1 360px;
  width: auto;
  min-width: 240px;
}
.emt-archive-tools .v2-archive-combo {
  position: relative;
  display: block;
}
.emt-archive-tools .v2-archive-combo-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  display: block;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}
.emt-archive-tools .v2-archive-combo-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: #1f1f1d;
}
.emt-archive-tools .v2-archive-combo input {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 64px 0 36px;
  border: 1px solid rgba(92, 92, 83, 0.22);
  border-radius: 0;
  background: #fffef9;
  color: #1f1f1d;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.emt-archive-tools .v2-archive-combo input:focus {
  outline: none;
  border-color: #1f1f1d;
}
.emt-archive-tools .v2-archive-combo-clear {
  position: absolute;
  top: 50%;
  right: 28px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5c5c53;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.emt-archive-tools .v2-archive-combo-clear:not([hidden]) {
  display: inline-flex;
}
.emt-archive-tools .v2-archive-combo-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #5c5c53;
  border-bottom: 1.5px solid #5c5c53;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.emt-archive-tools .v2-archive-combo.is-open .v2-archive-combo-chevron {
  transform: translateY(-20%) rotate(225deg);
}
.emt-archive-tools .v2-archive-combo-list {
  position: absolute;
  z-index: 50;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 280px;
  margin: 0;
  padding: 4px 0;
  overflow: auto;
  list-style: none;
  border: 1px solid rgba(92, 92, 83, 0.22);
  background: #fffef9;
  box-shadow: 0 8px 24px rgba(31, 31, 29, 0.08);
}
.emt-archive-tools .v2-archive-combo-opt,
.elementor-element-emt-archive-search .v2-archive-combo-opt {
  display: block;
  width: 100%;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: #1f1f1d;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.emt-archive-tools .v2-archive-combo-opt:hover,
.emt-archive-tools .v2-archive-combo-opt.is-active,
.elementor-element-emt-archive-search .v2-archive-combo-opt:hover,
.elementor-element-emt-archive-search .v2-archive-combo-opt.is-active {
  background: #f3efe3;
}
.emt-archive-tools .v2-archive-combo-opt[aria-selected="true"],
.elementor-element-emt-archive-search .v2-archive-combo-opt[aria-selected="true"] {
  font-weight: 600;
}
.emt-archive-tools .v2-archive-combo-empty,
.elementor-element-emt-archive-search .v2-archive-combo-empty {
  padding: 8px 14px;
  color: #5c5c53;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.3;
}
.emt-archive-tools .v2-archive-select {
  position: relative;
  display: block;
}
.emt-archive-tools .v2-archive-select-wrap select {
  box-sizing: border-box;
  width: 100%;
  min-width: 188px;
  height: 40px;
  margin: 0;
  padding: 0 36px 0 14px;
  border: 1px solid rgba(92, 92, 83, 0.22);
  border-radius: 0;
  background-color: #fffef9;
  background-image: none;
  color: #1f1f1d;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 38px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.emt-archive-tools .v2-archive-select-wrap select:focus {
  outline: none;
  border-color: #1f1f1d;
}
.emt-archive-tools .v2-archive-select-wrap select::-ms-expand {
  display: none;
}
.elementor-element.is-emt-loading {
  opacity: 0.45;
  pointer-events: none;
}
/* Brojac i "Ucitaj jos" su ispod grida, oba na sredini. */
.elementor-widget-container:has(> .v2-archive-shown) > .v2-archive-shown {
  display: block;
  width: 100%;
  margin: 36px 0 0;
  padding: 0;
  text-align: center;
  color: #5c5c53;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.elementor-widget-container:has(> .v2-archive-shown) > .e-loop__load-more {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 16px 0 0;
  text-align: center;
}
.elementor-widget-container:has(> .v2-archive-shown) > .e-loop__load-more .elementor-button {
  margin-left: 0;
  margin-right: 0;
}
/* Polje pretrage je Elementor widget. Shortcodeovo polje je rezerva. */
body:has(.elementor-element-emt-archive-search) .emt-archive-tools .v2-archive-model,
.emt-archive-tools .v2-archive-model.is-elementor-search {
  display: none !important;
}
body.emt-cat-parent .elementor-element-emt-archive-search {
  display: none !important;
}
.elementor-element-emt-archive-search [data-id="emt-archive-search-label"],
.v2-archive-tools-sort [data-id="emt-archive-sort-label"],
.elementor-element-emt-archive-sort [data-id="emt-archive-sort-label"] {
  margin: 0;
  color: #5c5c53;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
body:has([data-id="emt-archive-sort-label"]) .v2-archive-sort-label,
body:has([data-id="emt-archive-sort-label"]) .v2-archive-select-wrap > span:first-child {
  display: none !important;
}
.elementor-element-emt-archive-sort {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  width: auto !important;
  max-width: 100% !important;
}
body.emt-cat-parent .elementor-element-emt-archive-sort {
  align-self: flex-end;
}
body:has([data-id="emt-archive-sort-label"]) .elementor-element-emttools {
  width: auto !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  flex: 0 0 auto !important;
}
body.emt-cat-leaf .elementor-element-emtshop {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
}
body.emt-cat-leaf .elementor-element-emt-archive-search,
body.emt-cat-leaf .elementor-element-emt-archive-sort {
  padding: 0 !important;
  align-self: flex-end;
}
body.emt-cat-leaf .elementor-element-emt-archive-search {
  position: relative;
  flex: 1 1 280px !important;
  width: auto !important;
  min-width: 220px;
  max-width: none !important;
  order: 1;
  overflow: visible !important;
}
body.emt-cat-leaf .elementor-element-emt-archive-sort {
  flex: 0 0 auto !important;
  order: 2;
  margin-left: 0 !important;
}
body.emt-cat-leaf .elementor-element-emtstack {
  flex: 1 1 100% !important;
  width: 100% !important;
  order: 3;
}
.emt-archive-search-field,
.emt-archive-search-field .elementor-widget-container,
.emt-archive-search-field .elementor-search-form,
.emt-archive-search-field .elementor-search-form__container {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}
.emt-archive-search-field .elementor-search-form__container,
.elementor-search-form--skin-minimal.emt-archive-search-field .elementor-search-form__container {
  display: flex !important;
  align-items: center;
  position: relative;
  min-height: 40px;
  background: #fffef9;
  border: 1px solid rgba(92, 92, 83, 0.22);
  border-radius: 0;
  box-sizing: border-box;
}
.elementor-search-form--skin-minimal.emt-archive-search-field .elementor-search-form__icon {
  position: absolute !important;
  top: 50% !important;
  left: 12px !important;
  right: auto !important;
  inset-inline-start: 12px !important;
  inset-inline-end: auto !important;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 0;
  color: #1f1f1d;
  pointer-events: none;
}
.emt-archive-search-field .elementor-search-form__icon i,
.emt-archive-search-field .elementor-search-form__icon svg {
  width: 16px;
  height: 16px;
  font-size: 16px;
}
.emt-archive-search-field .elementor-search-form__input {
  width: 100% !important;
  height: 40px;
  margin: 0;
  padding: 0 64px 0 40px !important;
  border: 0;
  background: transparent;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 40px;
  color: #1f1f1d;
  box-sizing: border-box;
}
.emt-archive-search-field .elementor-search-form__input:focus {
  outline: none;
}
.emt-archive-search-field:focus-within .elementor-search-form__container {
  border-color: #1f1f1d;
}
.emt-archive-search-field .elementor-search-form__input::placeholder {
  color: #1f1f1d;
  opacity: 1;
}
.elementor-element-emt-archive-search .v2-archive-combo-clear {
  position: absolute;
  top: 50%;
  right: 28px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5c5c53;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.elementor-element-emt-archive-search .v2-archive-combo-clear:not([hidden]) {
  display: inline-flex;
}
.elementor-element-emt-archive-search .v2-archive-combo-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #5c5c53;
  border-bottom: 1.5px solid #5c5c53;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.elementor-element-emt-archive-search .v2-archive-combo.is-open .v2-archive-combo-chevron {
  transform: translateY(-20%) rotate(225deg);
}
.elementor-element-emt-archive-search .v2-archive-combo-list {
  position: absolute;
  z-index: 50;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 280px;
  margin: 0;
  padding: 4px 0;
  overflow: auto;
  list-style: none;
  background: #fffef9;
  border: 1px solid rgba(92, 92, 83, 0.22);
  box-shadow: 0 8px 24px rgba(31, 31, 29, 0.08);
}
@media (max-width: 767px) {
  .emt-archive-tools .v2-archive-tools-row,
  .emt-archive-tools .v2-archive-tools-row:has(> :only-child) {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .emt-archive-tools .v2-archive-model {
    flex: 0 1 auto;
  }
  .emt-archive-tools .v2-archive-model,
  .emt-archive-tools .v2-archive-select-wrap,
  .emt-archive-tools .v2-archive-select-wrap select {
    width: 100%;
    min-width: 0;
  }
  body.emt-cat-leaf .elementor-element-emtshop {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  body.emt-cat-leaf .elementor-element-emt-archive-search,
  body.emt-cat-leaf .elementor-element-emt-archive-sort,
  body.emt-cat-leaf .elementor-element-emttools {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0;
    margin-left: 0;
  }
}
