/* eKonsument v2.8: desktop cart + ONE round basket icon.
   The cart is generated by ps_shoppingcart in displayNav2 (black bar DOM),
   while the basket link is rendered in the white bar by header.tpl.
   Both have fixed CSS positions relative to same-width header containers.
   No JS moves elements after page load; cart module stays fully functional. */
@media (min-width:768px) {
  /* Reserve a real second row for the cart, instead of overlaying the slider. */
  #header .header-top.eko-whitebar {
    box-sizing:border-box!important;
    min-height:130px!important;
    height:130px!important;
    overflow:visible!important;
  }
  /* Both bars use 1170px/960px containers. Their right edges match. */
  #header .eko-whitebar > .container {
    position:relative!important;
  }
  #header .eko-desktop-basket-link {
    position:absolute!important;
    top:67px!important;
    right:15px!important;
    bottom:auto!important;
    left:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
    min-height:54px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    z-index:120!important;
    background:transparent!important;
  }
  #header .eko-desktop-basket-link svg {
    display:block!important;
    width:54px!important;
    height:54px!important;
    max-width:54px!important;
    max-height:54px!important;
  }
  /* #_desktop_cart is inside .eko-blackbar-inner (82px tall).
     82px + 67px + 12px = 161px absolute from top of header.
     Basket: 82px + 67px = 149px; centers align at 176px. */
  #header .eko-topbar-actions #_desktop_cart {
    position:absolute!important;
    top:161px!important;
    right:81px!important; /* 15px inset + 54px basket + 12px gap */
    bottom:auto!important;
    left:auto!important;
    display:block!important;
    width:max-content!important;
    min-width:0!important;
    height:30px!important;
    min-height:30px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    z-index:120!important;
  }
  #header .eko-topbar-actions #_desktop_cart .blockcart,
  #header .eko-topbar-actions #_desktop_cart .cart-preview,
  #header .eko-topbar-actions #_desktop_cart .header {
    position:static!important;
    display:flex!important;
    align-items:center!important;
    box-sizing:border-box!important;
    height:30px!important;
    min-height:30px!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  /* Hide the old pink shopping-cart glyph: the round basket is the ONLY icon.
     Keep the live module label and count, whether cart is empty or filled. */
  #header .eko-topbar-actions #_desktop_cart .header .material-icons.shopping-cart,
  #header .eko-topbar-actions #_desktop_cart .header .material-icons.shopping_cart,
  #header .eko-topbar-actions #_desktop_cart .header i.material-icons {
    display:none!important;
  }
  #header .eko-topbar-actions #_desktop_cart .header a,
  #header .eko-topbar-actions #_desktop_cart .header span {
    color:#242424!important;
    font-size:13px!important;
    font-weight:600!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }
}
@media (min-width:768px) and (max-width:991px) {
  /* The 768–991px menu wraps; give it more vertical space. */
  #header .header-top.eko-whitebar {
    min-height:158px!important;
    height:158px!important;
  }
  #header .eko-desktop-basket-link {top:100px!important;}
  #header .eko-topbar-actions #_desktop_cart {top:194px!important;}
}
@media (max-width:767px) {
  #header .eko-desktop-basket-link {display:none!important;}
}
