.wyszukiwarka {
  display: grid;
  grid-template-columns: 5fr 2fr;
  align-items: start;
  gap: 30px;
  row-gap: 10px;
  padding-bottom: 20px;
  @media(max-width: 889px) { grid-template-columns: 1fr; }
  .title {
        font-size: .9rem;
        padding: 0 0 3px; 
        text-transform: uppercase;
     @media(max-width: 889px) { text-align: start; }
   }
  .default{
     select, input{
        border: 1px solid #ff5a00;
        border-radius: 2px;
        padding: 7px;
        width: 100%;
        box-sizing: border-box;
     }
     select { margin: 0;  border: 1px solid #aaa;}
  }
  .section-1 {
    display: grid; 
    align-items: start;
    gap: 20px;
  }
  .section-2 { 
    padding: 1px; 
    @media(max-width: 889px){ padding-top: 10px !important;}
  }
  .fview{
     max-height: 1000px;
     overflow: hidden;
     transition: max-height .3s;
     &.hidde{ 
        transition: max-height .3s;
        max-height: 1px; 
        padding-top: 0;
     }
     @media(max-width: 889px) {
        max-height: 1px; 
        padding-top: 0;
        &.hidde{ 
          max-height: 1000px;
       }
     }
  }
  .action {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    padding-top: 21px;
    @media(max-width: 889px) {
       grid-template-columns: 1fr auto;
       [name="send"] { grid-column: span 2; }
    }
    .view-filtr{ 
       border: 1px solid #aaa;
       background: #fff;
       border-radius: 2px;
       cursor: pointer;
       place-items: center;
       display: grid;
       padding: 0 10px;
       transition: background .3s, color .3s;
       &:hover{ background: #aaa; color: #fff; }
       &.activ{ 
          background: #aaa; 
          color: #fff;
          &:hover{ background: #fff; color: #aaa; }
       }
    }
  }
  .btn{ padding: 9px 8px 8px; }
}
.radio {
  display: flex; 
  flex-wrap: wrap;
  gap: 10px;
  @media(max-width: 889px) { 
    display: grid; 
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    text-align: start;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 5px 10px;
    align-items: center;
    font-size: .95rem;
    input[type="radio" i] { margin: 0; }
  }
}

.alfabet {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(34px, 1fr));
  margin: 0;
  gap: 6px;
  :focus {
    outline: 0;
    border-color: #2260ff;
    box-shadow: 0 0 0 4px #b5c9fc;
  }
  input[type="radio"] {
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    &:checked + span {
      box-shadow: 0 0 0 0.0625em #0043ed;
      background-color: #dee7ff;
      z-index: 1;
      color: #0043ed;
    }
  }
  label span {
    display: block;
    cursor: pointer;
    background-color: #fff;
    padding: 0.375em .75em;
    position: relative;
    margin-left: .0625em;
    box-shadow: 0 0 0 0.0625em #b5bfd9;
    letter-spacing: .05em;
    color: #3e4963;
    text-align: center;
    transition: background-color .5s ease;
  }
}

.caly_srodek_sprzedam {
   display: grid;
   grid-template-columns: 1fr 4fr;
   gap: 25px;
}
.zielona_lista { width: 100%;}
.option_res { width: 100%; }

@media(max-width: 1267px)  {
  .caly_srodek_sprzedam { grid-template-columns: 1fr 3fr; }
}
@media(max-width: 767px)  {
  .caly_srodek_sprzedam { grid-template-columns: 1fr; }
}
.title_sellcat_menu {
  display: none;
  @media(max-width: 889px){
    display: flex;
    color: #000000;
    padding: 0;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 15px;
    justify-content: space-between;
 }
}
.has-name-sell {
  border: 1px solid var(--color-primary);
  border-radius: 2px;
  display: grid;
  place-items: center;
  min-height: 48px;
  font-weight: 500;
  text-align: left;
  width: 100%;
  font-size: .9rem;
}
.menu-group-cat { 
  list-style: none;
  border-top: 1px solid var(--color-primary);
  border-right: 1px solid var(--color-primary);
  @media(max-width: 889px){ border-right: none; }
  &>.men-cat>p{
    display: grid;
    grid-template-columns: 1fr 40px;
    align-items: center;
    transition: padding .3s, border .3s;
    &>a {
      padding: 7px 0;
      &.activ {
        color: #aaa;
        &:visited { color: var(--color-primary);}
      }
    }
    &:hover{ 
      background: #fff !important;
      padding-left: 5px;
      border-left: 6px solid var(--color-primary);
    }
    &>span {
      font-weight: bold;
      display: grid;
      place-items: center;
      height: 100%;
      min-height: 40px;
      width: 100%;
      cursor: pointer;
      transition: font .3s;
      &.activ, &:hover{ font-size: 1.6rem; }
    }
  }
}
.men-cat>p:has(.activ) {
   &:hover {
     border: none;
     padding-left: 0;
   }
   a, span {color: var(--color-primary);}
   .submen-has{ 
        border-bottom: 1px solid #ccc; 
   }
}
.menu-group-cat>.men-cat>.submen-has{
  margin-top: -2px;
  max-height: .1px;
  overflow: hidden;
  transition: max-height .3s, margin .3s;
}
.menu-group-cat>.men-cat>.submen-has.activ{
  content-visibility: auto;
  opacity: 1;
  max-height: 5000px;
  overflow: initial;
  transition: max-height .3s, margin .3s;
  border-bottom: 1px solid #aaa;
  border-top: 1px solid #aaa;
  margin: 0 10px 10px 0;
  padding: 12px;
}
.menu-group-cat>.men-cat>.submen-has>li{
  list-style: none;
  padding: 5px 10px;
  line-height: 1.2;
  position: relative;
  a { font-size: .9rem; }
}
.menu-group-cat>.men-cat>.submen-has>li:hover{ background: #eee; }
.menu-group-cat>.men-cat>.submen-has>li:hover::before{
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -11px;
  min-height: 10px;
  height: 100%;
  width: 10px;
  background: red;
}
/* .menu-group-cat>.men-cat:hover>p{ background: #eee; }*/

@media(max-width: 767px){
   .title_sellcat_menu.mobil { cursor: pointer; }
   .menu-group-cat.mobil{ display: none; }
}

.card-sell {
   content-visibility: auto;
   border-top: 1px solid #e8e8e8;
   padding-top: 15px;
   box-sizing: border-box;
   margin: 0 0 45px 0;
   width: 100%;
   display: grid;
   gap: 20px;
   grid-template-columns: auto 210px 1fr;
   @media(max-width: 889px){
      grid-template-columns: 1fr;
      gap: 10px;
   }
   .flag_sell_body{
      display: grid;
      gap: 3px;
      align-content: start;
      @media(max-width: 889px){
         display: flex;
      }
      img { border: 1px solid; }
   }
   .kategoria_sprzedma_glowna {
     font-size: 14px;
     flex: 1 1;
     width: 100%;
     .name-company{ 
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--color-primary);
     }
   }
   .content { margin-top: 5px;}
   .contact{ padding: 12px 24px; }
   .header_sell_offert {
     font-size: 15px;
     font-weight: bold;
     padding: 12px;
     margin-bottom: 14px;
     background-color: #e8e8e8;
     text-transform: uppercase;
     display: grid;
     gap: 4px;
     a:link { color: #000; }
     .cat{
       &:link { color: #1d60b1; }
       &:visited { color: #1d60b1; }
     }
   }
   .img_sell {
     display: grid;
     justify-content: center;
     img { 
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        border: 1px solid #cee9f2; 
        box-sizing: border-box;
     }
     .info.cel1 {
         text-align: center;
         font-weight: bold;
         font-size: 1rem;
         span { color: red; font-size: 1.2rem; display: block;}
         @media(max-width: 889px){
           display: flex;
            gap: 6px;
            justify-content: center;
            align-items: center;
           padding-top: 5px;
         }
       }
     }
  }
  .offert-info {
    display: grid;
    gap: 2px;
    padding: 30px 0;
    font-size: 1rem;
    &>div {display: flex; gap: 10px;}
  }
  .place-company {
     font-size: 1rem;
     padding-bottom: 10px;
     .cel2 { color: #6ca635 }
  }
}

.gielda_ramka_aktivtext {
  display: flex;
  width: 66%;
  justify-content: space-around;
}
.body_firmy_wyszkiwanie_gielda {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  justify-content: center;
  align-items: center;
  width: 100%;
  @media(max-width: 889px) {
    padding-top: 15px;
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
.not-found {
   width: 100%;
   display: grid;
   justify-content: center;
   padding: 65px 0;
}
.licznik_gielda {
  display: flex; 
  flex-direction: row; width: 100%;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  .licznik_gielda_text {
    span{ color: var(--color-primary); }
  }
}


@media (max-width: 1200px){
   .gielda_ramka_aktivtext {
      display: grid;
      grid-template-columns: 1fr 1fr;
      width: auto;
   }
   .gielda_ramka_aktivtext>div:first-child{ border-right: 1px solid #e3e3e3;}
   .ramka_info_gielda_2, .ramka_info_gielda {
      flex-direction: column;
      align-items: center;
      margin: 6px auto 0px;
    }
   .roz_sprzedaz { display: inline-flex; }
}

@media (max-width: 1000px){
   .roz_sprzedaz {
      flex-direction: column;
      align-items: center;
   }
   .roz_sprzedaz {
      flex-direction: column;
      align-items: center;
   }
   .flagi_sprzedam_glowna {
      display: flex;
      margin-top: 21px;
   }
}
.bolck-title-offert {
   border-bottom: 1px solid #aaa;
   padding-top: 30px;
}
@media (max-width: 785px){
  .licznik_gielda {
    flex-direction: column;
    gap: 5px;
  }
  .body_tresc_sprzedam_g{ grid-template-columns: 1fr auto; }
  .ramka_info_gielda {
    grid-template-columns: 1fr 1fr;
    margin: 6px auto 0px;
  }
  .ramka_info_gielda .view_napisz { grid-column: span 2; }
}
@media (max-width: 485px) {
   .naglowek_sell_glowna { text-align: center; }
}