/* ==================================================================
   BeOrganic.sk – custom-fixes26.css
   Zúžená verze: jen horní zelená lišta + mobilní košík/checkout.
   Bez zásahu do spodních recenzí a customer slideru.
   ================================================================== */


/* ------------------------------------------------------------------
   1) Topbar – schovat druhé "Obľúbené" v horní zelené liště
   ------------------------------------------------------------------ */
header a.bo-top-link-favorites,
.bo-top-left a.bo-top-link-favorites,
a.bo-top-link-favorites {
  display: none !important;
}

header a.bo-top-link-favorites + span,
header span + a.bo-top-link-favorites,
.bo-top-left a.bo-top-link-favorites + .separator,
.bo-top-left .separator + a.bo-top-link-favorites {
  display: none !important;
}


/* ------------------------------------------------------------------
   2) Mobil – tlačítko "Vložiť" vycentrovat
   ------------------------------------------------------------------ */
@media (max-width: 768px) {
  body.bodyClass #page_cart .discountControls,
  body.bodyClass #page_order_out .discountControls,
  body.bodyClass #page_order-login_out .discountControls,
  body.bodyClass #page_order-address_out .discountControls,
  body.bodyClass #page_order-payment_out .discountControls {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body.bodyClass #page_cart .discountControls input[type="text"],
  body.bodyClass #page_order_out .discountControls input[type="text"],
  body.bodyClass #page_order-login_out .discountControls input[type="text"],
  body.bodyClass #page_order-address_out .discountControls input[type="text"],
  body.bodyClass #page_order-payment_out .discountControls input[type="text"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body.bodyClass #btn_discount_coupon_add,
  body.bodyClass input#btn_discount_coupon_add,
  body.bodyClass .discountControls #btn_discount_coupon_add,
  body.bodyClass input#btn_discount_coupon_add[type="button"] {
    display: block !important;
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 38px !important;
    text-align: center !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-position: center center !important;
  }
}


/* ------------------------------------------------------------------
   3) Mobil – celé tlačítko "Odoslať objednávku..." musí být vidět
   ------------------------------------------------------------------ */
@media (max-width: 768px) {
  body.bodyClass #pan_main #btn_cartOrderCheckout,
  body.bodyClass .block_cartButtonOrderCheckout input#btn_cartOrderCheckout,
  body.bodyClass input#btn_cartOrderCheckout[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 12px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    text-align: center !important;
    height: auto !important;
    min-height: 48px !important;
    letter-spacing: -0.01em !important;
  }
}

@media (max-width: 380px) {
  body.bodyClass #pan_main #btn_cartOrderCheckout,
  body.bodyClass .block_cartButtonOrderCheckout input#btn_cartOrderCheckout,
  body.bodyClass input#btn_cartOrderCheckout[type="submit"] {
    font-size: 13px !important;
    padding: 12px 8px !important;
  }
}


/* ------------------------------------------------------------------
   4) Desktop dropdown menu – zobrazit "Suchá pokožka"
   Bez zásahu do recenzí a bez změny mobilního menu.
   ------------------------------------------------------------------ */
@media (min-width: 801px) {
  #eshopCategory ul ul a[href*="/sucha-pokozka/c13"],
  #eshopCategory ul ul a[href*="/sucha-pokozka/c14"],
  #eshopCategory ul ul a[href*="/sucha-plet/c13"],
  #eshopCategory ul ul a[href*="/sucha-plet/c14"] {
    font-size: 0 !important;
    letter-spacing: 0 !important;
    line-height: 1.35 !important;
  }

  #eshopCategory ul ul a[href*="/sucha-pokozka/c13"]::after,
  #eshopCategory ul ul a[href*="/sucha-pokozka/c14"]::after,
  #eshopCategory ul ul a[href*="/sucha-plet/c13"]::after,
  #eshopCategory ul ul a[href*="/sucha-plet/c14"]::after {
    content: "Suchá pokožka";
    font-size: 13px;
    font-weight: inherit;
    font-family: inherit;
    line-height: 1.35;
    letter-spacing: normal;
    color: inherit;
  }
}


/* ------------------------------------------------------------------
   5) Mobilní menu – nechat jen jedno "Obľúbené", skrýt "Košík"
   Schovává pouze spodní staré menu #ce_menu.
   Horní kategorické "Obľúbené" zůstává viditelné.
   ------------------------------------------------------------------ */
@media (max-width: 800px) {
  #ce_menu li#m5,
  #ce_menu li#m8,
  #ce_menu li#m9,
  #ce_menu a[href="/kosik/m5"],
  #ce_menu a[href="/oblubene/m8"],
  #ce_menu a[href="/oblubene/m9"] {
    display: none !important;
  }
}
