/* Child header: Warehouse desktop layout, matching the shop reference. */
@media (min-width: 992px) {
  #header .header-nav > .container > .row,
  #header .header-nav > .row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 28px;
  }
  #header .header-nav .left-nav,
  #header .header-nav .right-nav { flex: 1 1 0; white-space: nowrap; }
  #header .header-nav .center-nav { flex: 0 0 auto; }
  #header .header-nav .right-nav { text-align: right; }
  #header .header-nav #user_info { display: inline-block; margin-right: 8px; }
  #desktop-header.desktop-header-style-2 .header-top { padding: 0; }
  #desktop-header #desktop-header-container { padding-top: 0; padding-bottom: 0; }
  #desktop-header-container > .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 104px;
  }
  #desktop-header-container .col-header-left { flex: 0 0 24%; min-width: 0; }
  #desktop-header-container .col-header-center { flex: 1 1 auto; min-width: 0; }
  #desktop-header-container .col-header-right {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    margin-left: auto;
  }
  #desktop-header-container #search_widget { width: 100%; max-width: 380px !important; margin: 0; }
  #desktop-header-container #search_widget form { width: 100%; }
  #desktop-header-container #search_widget .input-group { position: relative; }
  #desktop-header-container #search_widget .form-search-control {
    height: 44px;
    padding-right: 54px;
    border: 1px solid #e2e2e2;
    border-radius: 24px;
  }
  #desktop-header-container #search_widget .search-btn {
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #c74719;
    color: #fff;
    z-index: 4;
  }
  #desktop-header-container .pianetachef-header-actions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 22px;
    margin-bottom: 0;
  }
  #desktop-header-container .pianetachef-header-actions > * { flex: 0 0 auto; padding: 0; margin: 0; }
  #desktop-header-container .pianetachef-header-actions .header-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    padding: 0;
    color: #808080;
  }
  #desktop-header-container .pianetachef-header-actions .header-btn .icon { color: #c74719; font-size: 22px; }
  #desktop-header-container .pianetachef-header-actions .header-btn .title { display: block; font-size: 15px; font-weight: 600; margin-top: 8px; }
  #desktop-header-container #header-preventivo .blockbbsquotations_conversioncart { background: transparent; padding: 0; margin: 0; }
  #desktop-header-container .pianetachef-quote-icon { position: relative; display: inline-flex; line-height: 26px; }
  #desktop-header-container .pianetachef-quote-icon .cart-products-count {
    position: absolute;
    top: -4px;
    right: -9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 12px;
    background: #25b9cf;
    color: #fff;
    font-size: 11px;
    line-height: 17px;
  }
  #desktop-header-container #telefoni-header {
    order: -1;
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    gap: 14px;
    padding: 0;
    margin: 0;
  }
  #desktop-header-container #telefoni-header a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #808080;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    padding: 0;
    border-bottom: 2px solid #c74719;
    text-decoration: none;
  }
  #desktop-header-container #telefoni-header #header-whatsapp { border-color: #28a745; }
  #desktop-header-container #header-whatsapp .fa { color: #28a745; }
  #desktop-header-container #header-telefono .fa { color: #c74719; }

}
@media (min-width: 992px) and (max-width: 1199px) {
  #desktop-header-container .col-header-left { flex-basis: 24%; }
  #desktop-header-container .col-header-right { gap: 12px; }
  #desktop-header-container #telefoni-header {
    order: -1;
    flex: 0 0 auto; gap: 12px; }
  #desktop-header-container #telefoni-header a { font-size: 14px; }
  #header .header-nav .center-nav { max-width: 30%; white-space: normal; }
}
/* Desktop mini-cart: anchor the panel to the cart button. */
@media (min-width: 992px) {
  #desktop-header #ps-shoppingcart.dropdown,
  #desktop-header #ps-shoppingcart.dropdown #blockcart {
    position: relative;
  }
  #desktop-header #ps-shoppingcart.dropdown #_desktop_blockcart-content {
    position: absolute;
    top: 100% !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 380px;
    min-width: 0;
    max-width: calc(100vw - 32px);
    margin: 0;
    padding: 10px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1050;
  }
  #desktop-header #ps-shoppingcart.dropdown #blockcart-content {
    position: relative;
    right: auto;
    width: 100%;
    min-width: 0;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-top: 3px solid #c74719;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    color: #333;
    font-size: 13px;
    line-height: 1.5;
  }
  #desktop-header #blockcart-content .cart-products {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: min(340px, 45vh);
  }
  #desktop-header #blockcart-content .cart-products > li {
    padding: 0 0 16px;
    margin: 0 0 16px;
    border-bottom: 1px solid #eee;
  }
  #desktop-header #blockcart-content .col-info { padding-left: 12px; }
  #desktop-header #blockcart-content .col-info > .pb-1 > a {
    color: #333;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: none;
  }
  #desktop-header #blockcart-content .product-attributes,
  #desktop-header #blockcart-content .product-attributes .label,
  #desktop-header #blockcart-content .product-attributes .value {
    color: #707070;
    font-size: 12px;
    line-height: 1.5;
  }
  #desktop-header #blockcart-content .cart-subtotals {
    border: 0;
    margin: 0 0 12px;
    padding: 0;
  }
  #desktop-header #blockcart-content .cart-summary-line,
  #desktop-header #blockcart-content .cart-totals > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 5px;
  }
  #desktop-header #blockcart-content .cart-summary-line > .value,
  #desktop-header #blockcart-content .cart-totals .value { margin-left: auto; }
  #desktop-header #blockcart-content .cart-totals {
    padding: 12px 0 0;
    margin: 0 0 16px;
    border-top: 1px solid #e5e5e5;
    font-size: 15px;
    font-weight: 600;
  }
  #desktop-header #blockcart-content .cart-totals .text-default {
    font-size: 12px;
    font-weight: 400;
  }
  #desktop-header #blockcart-content .cart-buttons .btn-primary {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 12px 18px;
    border: 1px solid #c74719;
    border-radius: 100px;
    background: #c74719;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
  }
  #desktop-header #blockcart-content .cart-buttons .btn-primary:hover {
    background: #a93812;
    border-color: #a93812;
  }
  #desktop-header #blockcart-content a:focus-visible {
    outline: 2px solid #c74719;
    outline-offset: 3px;
  }
}
