/* Created by Combine Studio – needs adding into production.css when recompiling */

.page-template-template_blog .hero__content, .page-template-template_blog .hero__content--news{
  position:relative;
  z-index:3;
}

.search-filter-query.search-filter-query--id-1 {
  display: contents;
}

/* Layout: fields in a row, right aligned on desktop */
.latest-offers__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

/* Each field behaves like a pill */
.latest-offers__filters .search-filter-field {
  flex: 0 0 auto;
  margin: 0;
}

/* Hide the labels visually but keep for screen readers */
.latest-offers__filters .search-filter-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.latest-offers__filters .search-filter-component-combobox{
  background-color:transparent !important;
  border:0;
}
/* Combobox container */
.latest-offers__filters .search-filter-component-combobox__header {
  display: flex;
  align-items: center;
  border-radius: 999px;
  border: 2px solid #ff3954;
  padding: 0.6rem 1.6rem;
  background: transparent;
}

/* Text input inside the pill */
.latest-offers__filters .search-filter-component-combobox__actions-input {
  border: 0;
  outline: none;
  background: transparent;
  font-size: 1rem;
  font-style: italic;
  color: #ffffff;
  padding: 0;
  margin: 0;
  min-width: 7ch;
}

/* Selected value span (when an option is chosen) */
.latest-offers__filters .search-filter-component-combobox__selection span {
  font-size: 1rem;
  font-style: italic;
  color: #ffffff;
}

/* Arrow icon alignment */
.latest-offers__filters .search-filter-component-combobox__listbox-toggle {
  margin-left: 0.75rem;
}

/* Make the SVG arrow match your accent colour */
.latest-offers__filters .search-filter-component-combobox__listbox-toggle .search-filter-icon__svg {
  fill: #ff3954;
}

/* Clear icon (when visible) */
.latest-offers__filters .search-filter-component-combobox__clear-selection .search-filter-icon__svg {
  fill: #ff3954;
}

/* Submit button styled like a pill */
.latest-offers__filters .search-filter-input-button {
  border-radius: 999px;
  border: 2px solid #ff3954;
  background: transparent;
  color: #ff5a5f;
  padding: 0.6rem 1.6rem;
  font-size: 1rem;
  font-style: italic;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.latest-offers__filters .search-filter-input-button:hover,
.latest-offers__filters .search-filter-input-button:focus {
  background: #ff3954;
  color: #ffffff;
}

.filter-search-button button:hover{
  border-color: #ff3954 !important;
  background-color:#ff3954 !important;
  color:#fff !important;
}
.search-filter-component-combobox-base span{
  overflow:visible !important;
}

/* Mobile: stack filters nicely */
@media (max-width: 768px) {
  .latest-offers__filters {
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .latest-offers__filters .search-filter-field {
    flex: 1 1 100%;
  }
  .search-filter-query.search-filter-query--id-1 {
    display: contents;
  }
}


/* =========================================
   Search & Filter Pro – Floating dark dropdown
   Query Style ID: 1
   ========================================= */

.search-filter-component-popup.search-filter-style--id-1.search-filter-style--choice-select {
  /* spacing from input */
  margin-top: 12px;                /* space between input and dropdown */

  /* background & shape */
  background: #1e397b;
  border-radius: 18px;
  border: 2px solid rgba(255, 60, 90, 0.95);

  /* elevation */
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);

  /* animation */
  transform-origin: top center;
  animation: sfDropdownIn 160ms ease-out;

  /* sizing */
  max-height: 320px;
  overflow-y: auto;

  /* stacking */
  z-index: 99999;
}

/* Options */
.search-filter-component-popup.search-filter-style--id-1
.search-filter-component-combobox-base__listbox-option {
  padding: 16px 18px;
  font-size: 20px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

/* Hover state */
.search-filter-component-popup.search-filter-style--id-1
.search-filter-component-combobox-base__listbox-option:hover {
  background: rgba(255, 255, 255, 0.10);
}

/* Selected option */
.search-filter-component-popup.search-filter-style--id-1
.search-filter-component-combobox-base__listbox-option--selected {
  background: rgba(255, 60, 90, 0.28);
  color: #ffffff;
}

/* Count styling */
.search-filter-component-popup.search-filter-style--id-1
.search-filter-component-combobox-base__listbox-option-count {
  opacity: 0.65;
  margin-left: 8px;
}

/* Scrollbar (webkit) */
.search-filter-component-popup.search-filter-style--id-1::-webkit-scrollbar {
  width: 10px;
}
.search-filter-component-popup.search-filter-style--id-1::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
}
.search-filter-component-popup.search-filter-style--id-1::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

/* Animation */
@keyframes sfDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scaleY(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}
.search-filter-component-popup.search-filter-style--id-1 {
  backdrop-filter: blur(2px);
}
