@font-face {
  font-family: "Exo 2";
  src: url("../fonts/Exo2Regular/Exo2Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Exo 2";
  src: url("../fonts/Exo2Bold/Exo2Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html body,
html body *:not(.fa):not(.fas):not(.far):not(.fab):not(.fal) {
  font-family: "Exo 2", sans-serif !important;
}

body {
  background: #eef1f6;
}

button,
input,
select,
textarea {
  font-family: "Exo 2", sans-serif !important;
}

.top_bidfax {
  width: 100%;
}

.search_form {
  display: flex !important;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.search_form .search,
.search_form input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  margin: 10px 0 5px;
  padding: 0 18px;
  border: 3px solid #ececec !important;
  color: #6c6f75;
  font-size: 22px;
  font-weight: 700;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.search_form .submit,
.search_form input[type="submit"] {
  flex: 0 0 auto;
  width: auto;
  min-width: 92px;
  height: 37px;
  margin: 10px 0 5px;
  padding: 0 10px;
  white-space: nowrap;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  box-shadow: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}


.content {
  background-color: #fff;
  margin-top: 10px;
  padding: 15px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.drop-menu-main-sub .dropdown-hint {
  display: block;
  padding: 10px 14px;
  color: #6b7280;
  cursor: default;
  pointer-events: none;
}

.home-showcase {
  background: #fff;
  border-top: 1px solid #ececec;
  padding: 16px 0 10px;
  margin-bottom: 18px;
  box-shadow: none;
}

.home-section-title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  color: #273246;
}

.home-info-block {
  background: #fff;
  border: 1px solid #e7eaf0;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.home-info-block h2 {
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  font-size: 22px;
  line-height: 1.25;
  color: #333333;
  font-weight: 700;
}

.home-info-block p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

body[data-page="home"] .new-offers .col-md-9 {
  width: 100%;
}

body[data-page="home"] .content .grid {
  margin-left: -10px;
  margin-right: -10px;
}

.home-info-block p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .search_form {
    max-width: 100%;
    gap: 8px;
  }

  .search_form .search,
  .search_form input[type="text"] {
    font-size: 18px;
    padding: 0 12px;
  }

  .search_form .submit,
  .search_form input[type="submit"] {
    min-width: 96px;
    padding: 0 12px;
    font-size: 18px;
  }

  .home-section-title {
    font-size: 24px;
  }

  .home-info-block h2 {
    font-size: 20px;
  }
}


css/* Фікс зламаних зображень у карточках */
.thumbnail.offer .img-wrapper {
  display: block;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #eef1f6;  /* видно якщо картинка не завантажилась */
  position: relative;
}

.thumbnail.offer .img-wrapper a {
  display: block;
  width: 100%;
  height: 100%;
}

.thumbnail.offer .img-wrapper img.xfieldimage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* FIX catalog layout */

.catalog-row{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
gap:20px;
align-items:start;
}

.catalog-row > [class*="col-"]{
width:auto !important;
float:none !important;
padding:0 !important;
}

.catalog-row .thumbnail.offer{
height:100%;
display:flex;
flex-direction:column;
margin:0;
}

.catalog-row .caption{
display:flex;
flex-direction:column;
flex:1;
}

.catalog-row .img-wrapper{
width:100%;
height:240px;
background:#f3f4f6;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
}

.catalog-row .img-wrapper img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

.catalog-row .btn-more{
margin-top:auto;
}

.grid.clearfix.grid-thumb-3col.row{
margin-left:0 !important;
margin-right:0 !important;
}
