/* dsch.css – vlastní styly DSCH pro dermalogica.cz (nasazeno 29. 11. 2026, v7)
   HLAVIČKA – body pod ikonou účtu, počet ks pod ikonou košíku
   (stejné řešení jako na pro.salononline.cz, přizpůsobené šabloně Dermalogica)
   Vypnutí: odebrat <link> na tento soubor v HTML kódech (Záhlaví). */
html body .mehub-bonus-header-container.mehub-bonus-header-container.mehub-bonus-header-container,
html body #header .cart-count.cart-count > i,
html body #header .cart-count:not(.full)::after {
  position: absolute !important;
  inset: auto auto 8px 50% !important;
  transform: translateX(-50%) !important;
  display: block !important;
  width: auto !important; min-width: 0 !important; height: auto !important;
  margin: 0 !important; padding: 0 !important;
  background: none !important; border-radius: 0 !important; box-shadow: none !important;
  color: #fff !important;
  font: normal 400 10px/1 NeueHelvetica, sans-serif !important;
  letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap !important;
}
html body .mehub-bonus-header-container.mehub-bonus-header-container > span {
  display: inline !important; color: inherit !important; font: inherit !important;
}
html body .mehub-bonus-header-container.mehub-bonus-header-container > span::after { content: "\00a0 b."; }
html body #header .cart-count.cart-count > i::after { content: "\00a0ks"; }
html body #header .cart-count:not(.full)::after { content: "0\00a0ks" !important; }

/* mobil: ikony o kousek výš, aby se pod ně popisek vešel */
@media (max-width: 767px) {
  html body .responsive-tools > a:not([data-target="navigation"])::before,
  html body #header .cart-count::before { transform: translateY(-6px) !important; }
}

/* desktop: tmavý popisek, ikony (včetně lupy) o kousek výš na jedné lince */
@media (min-width: 768px) {
  html body .mehub-bonus-header-container.mehub-bonus-header-container.mehub-bonus-header-container,
  html body #header .cart-count.cart-count > i,
  html body #header .cart-count:not(.full)::after {
    bottom: 11px !important; color: #505862 !important; font-size: 11px !important;
  }
  html body #header .cart-count.cart-count > i,
  html body #header .cart-count:not(.full)::after { left: 31px !important; }
  html body #header .navigation-buttons .top-nav-button::before,
  html body #header .cart-count::before { transform: translateY(-7px) !important; }
  /* lupa: posouvá se jen ikona (::before) – transform na celém .lupa by schoval vyhledávací pole pod ztmavení */
  html body #header .navigation-buttons .lupa::before { transform: translateY(-7px) !important; }
}

/* HLAVIČKA – pořadí ikon na desktopu: lupa, oblíbené (srdíčko), účet, košík
   (jen dermalogica.cz – pro.dermalogica.cz srdíčko nemá) */
@media (min-width: 768px) {
  html body #header .navigation-buttons {
    display: flex !important; justify-content: flex-end !important; align-items: flex-start !important;
  }
  html body #header .navigation-buttons > .lupa { order: 1; }
  html body #header .navigation-buttons > div:has(> #dkLabFavHeaderIconBtn) {
    order: 2; position: relative; left: 4px; margin-top: 13px; transform: translateY(-7px);
  }
  html body #header .navigation-buttons > .top-nav-button { order: 3; }
  html body #header .navigation-buttons > .cart-count { order: 4; }
}

/* KOŠÍK – bez šedého podkladu ikony při otevřeném náhledu košíku */
html body.cart-window-visible #header .cart-count,
html body #header .cart-count:hover,
html body #header .cart-count.hovered { background-color: transparent !important; }

/* HLAVIČKA – stejné mezery mezi ikonami a srdíčko na stejné lince (desktop) */
@media (min-width: 768px) {
  html body #header .navigation-buttons > div:has(> #dkLabFavHeaderIconBtn) { left: 11px; transform: translateY(-6px); }
  html body #header .navigation-buttons > .top-nav-button { left: 9.5px; }
}

/* KOŠÍK – bez tmavého rámečku (stín při zaměření), který zůstával po zavření náhledu košíku */
html body #header .cart-count,
html body #header .cart-count:hover,
html body #header .cart-count:focus,
html body #header .cart-count:active,
html body #header .cart-count.hovered { box-shadow: none !important; }

/* HLAVIČKA – ikona účtu zarovnaná spodní hranou s košíkem (desktop) */
@media (min-width: 768px) {
  html body #header .navigation-buttons .top-nav-button::before { transform: translateY(-7.5px) !important; }
}

/* HLAVIČKA – mobil: košík zmenšený na velikost lupy a účtu, na stejné výšce */
@media (max-width: 767px) {
  html body #header .cart-count::before { transform: translateY(-6.5px) scale(.89) !important; }
}
