/* PAPIRUS DESKTOP HEADER V2 */
@media (min-width:1200px) {

  /* Bara secundara */
  .headerBlock .top-line {
    position:relative;
    background:#f5f9f6;
    border:0;
    min-height:40px;
    box-shadow:none;
    overflow:visible;
  }

  .headerBlock .top-line .my_container {
    position:relative;
    max-width:1360px;
    width:calc(100% - 48px);
    margin:0 auto;
    min-height:40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
  }

  .headerBlock .top-line
  .my_container > .col-lg-4 {
    width:auto !important;
    float:none !important;
    flex:1 1 auto;
    padding:0;
    min-width:0;
  }

  .headerBlock .top-line
  .my_container > .col-lg-5 {
    width:auto !important;
    float:none !important;
    flex:0 1 auto;
    padding:0;
    min-width:0;
  }

  .headerBlock .top-menu {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px 17px;
  }

  .headerBlock .top-menu a {
    font-size:12px;
    font-weight:600;
    line-height:1.5;
    white-space:nowrap;
    color:#46574d;
  }

  .headerBlock .right_links_header {
    justify-content:flex-end;
    gap:9px 15px;
  }

  .headerBlock .caller {
    margin:0;
  }

  .headerBlock .header_phone_number {
    display:inline-flex;
    align-items:center;
    gap:5px;
    white-space:nowrap;
  }

  .headerBlock .header_phone_number .number {
    font-weight:700;
    font-size:13px;
  }

  .headerBlock .header_phone_number .hotline {
    display:none;
  }

  /* Logo din randul superior, pozitionat vizual
     in bara principala */
  .headerBlock .logo-desktop {
    position:absolute !important;
    z-index:10;
    top:calc(100% + 11px);
    left:14px;
    width:155px !important;
    height:52px;
    padding:0 !important;
    margin:0 !important;
    float:none !important;
    display:flex;
    align-items:center;
  }

  .headerBlock .logo-desktop a {
    display:flex;
    align-items:center;
    height:100%;
  }

  .headerBlock .logo-desktop img {
    max-width:145px;
    max-height:49px;
    height:auto;
    margin:0;
  }

  /* Fundal bara principala */
  .headerBlock .cat-line {
    background:#f5f9f6;
    padding:8px 0 14px;
    overflow:visible;
  }

  .headerBlock .affiche-head {
    background:transparent;
    box-shadow:none;
  }

  .headerBlock .cat-line .my_container {
    width:calc(100% - 48px);
    max-width:1360px;
    margin:0 auto;
    padding:0;
    background:#fff;
    border:1px solid #e1eae4;
    border-radius:18px;
    box-shadow:0 8px 26px rgba(17,44,29,.08);
    box-sizing:border-box;
  }

  /* Layout orizontal */
  .headerBlock .cat-line .space-row-24 {
    display:flex;
    align-items:center;
    gap:12px;
    min-height:72px;
    padding:10px 14px 10px 178px;
    margin:0;
    box-sizing:border-box;
  }

  .headerBlock .cat-line .shop-menu {
    flex:0 0 218px;
    width:218px !important;
    float:none !important;
    padding:0;
    margin:0;
  }

  .headerBlock .shop-menu .myButton {
    width:100%;
    min-height:48px;
    padding:8px 14px;
    border:0;
    border-radius:12px;
    background:#008f68;
    color:#fff !important;
    font-size:15px;
    font-weight:700;
    box-sizing:border-box;
    box-shadow:none;
    white-space:nowrap;
  }

  .headerBlock .cat-line
  .space-row-24 > .col-lg-7 {
    width:auto !important;
    flex:1 1 auto;
    min-width:0;
    float:none !important;
    padding:0;
    margin:0;
  }

  .headerBlock .d-search {
    margin:0;
    width:100%;
  }

  .headerBlock .fileld-search {
    width:100%;
  }

  .headerBlock #top-field {
    width:100%;
    min-height:48px;
    padding-left:17px;
    background:#f8faf9;
    border:1px solid #dbe6df;
    border-radius:12px;
    box-sizing:border-box;
    font-size:14px;
  }

  /* Favorite + cos */
  .headerBlock .shopping_favorite_block {
    position:relative;
    flex:0 0 122px;
    width:122px !important;
    min-width:122px;
    float:none !important;
    padding:0;
    margin:0;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
  }

  .headerBlock .d-h-favorite,
  .headerBlock .d-h-basket {
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:52px;
    height:48px;
    border-radius:12px;
    background:#f4f8f5;
    border:1px solid #e2ebe5;
    box-sizing:border-box;
  }

  .headerBlock .d-h-favorite img,
  .headerBlock .d-h-basket img {
    display:block;
    width:23px;
    height:23px;
    margin:0 !important;
    object-fit:contain;
  }

  .headerBlock .d-h-basket .total_price_header,
  .headerBlock .d-h-favorite .qty_favorite {
    position:absolute;
    top:-8px;
    right:-7px;
    left:auto;
    width:auto;
    min-width:20px;
    height:20px;
    padding:0 5px;
    border-radius:12px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#008f68;
    color:#fff;
    font-size:11px;
    font-weight:700;
    white-space:nowrap;
  }

  /* Panou catalog cu latime controlata */
  .headerBlock .ctl-wrap {
    border-radius:0 0 17px 17px;
  }

  .headerBlock a:focus-visible,
  .headerBlock input:focus-visible {
    outline:2px solid #008f68;
    outline-offset:2px;
  }

  @media (max-width:1350px) {
    .headerBlock .top-menu {
      gap:6px 10px;
    }

    .headerBlock .top-menu a {
      font-size:11px;
    }

    .headerBlock .cat-line .space-row-24 {
      padding-left:155px;
      gap:9px;
    }

    .headerBlock .logo-desktop {
      width:130px !important;
    }

    .headerBlock .logo-desktop img {
      max-width:125px;
    }

    .headerBlock .cat-line .shop-menu {
      flex-basis:195px;
      width:195px !important;
    }
  }
}

/* PAPIRUS_AUTOCOMPLETE_P189 */
@media (min-width: 992px) {
    .headerBlock .d-search {
        position: relative !important;
        min-width: 0 !important;
    }

    .headerBlock .d-search > .autocomplite {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 65vh !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        z-index: 9999 !important;
    }
}
