/**
 * Theme Name:     Twenty Seventeen Child
 * Author:         the WordPress team
 * Template:       twentyseventeen
 * Text Domain:	   twenty-seventeen-child
 * Description:    Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.
 */

.header_section {
    position: absolute;
    width: 100%;
}

.menuCategory .eael-elements-flip-box-front-container:before, .topProduct_carousel .ha-slick-slide a:before,
.topProduct_carousel .ha-slick-slide .ha-slick-item:before{
    background-color: rgba(0, 0, 0, 0.5);
  content: '';
  display: block;
  height: 100%;

/* === LEON: удобный заказ и мобильная конверсия, 2026-07-31 === */
body.home a.elementor-icon[href="#menuSection"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 54px;
  padding: 14px 28px !important;
  border-radius: 999px;
  background: #d7a943 !important;
  color: #151515 !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.32);
  transition: transform .2s ease, background-color .2s ease;
}
body.home a.elementor-icon[href="#menuSection"] i,
body.home a.elementor-icon[href="#menuSection"] svg {
  display: none !important;
}
body.home a.elementor-icon[href="#menuSection"]::after {
  content: "Заказать доставку";
}
body.home a.elementor-icon[href="#menuSection"]:hover,
body.home a.elementor-icon[href="#menuSection"]:focus {
  background: #f0c766 !important;
  color: #111 !important;
  transform: translateY(-2px);
}
@media (max-width: 767px) {
  body { padding-bottom: 64px; }
  header a[href^="tel:+7(915)"] {
    position: fixed !important;
    left: 0;
    bottom: 0;
    z-index: 99999;
    width: 50%;
    height: 58px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #1f7a43 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: 0 -3px 12px rgba(0,0,0,.18);
  }
  header a[href^="tel:+7(915)"]::before {
    content: "☎ ";
    margin-right: 6px;
  }
  header a.hfe-cart-container[href*="/cart/"] {
    position: fixed !important;
    right: 0;
    bottom: 0;
    z-index: 99999;
    width: 50%;
    height: 58px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    background: #d7a943 !important;
    color: #111 !important;
    box-shadow: 0 -3px 12px rgba(0,0,0,.18);
  }
  header a.hfe-cart-container[href*="/cart/"]::before {
    content: "Корзина";
    margin-right: 8px;
    font-size: 15px;
    font-weight: 700;
  }
  body.home a.elementor-icon[href="#menuSection"] {
    width: min(90vw, 330px);
    min-width: 0;
    min-height: 56px;
    font-size: 16px;
  }
}

  position: absolute;
  width: 100%;
}
.menuCategory .eael-elements-slider-display-table{
    z-index: 10;
}

.menuCategor .eael-elements-flip-box-heading {
    text-shadow: 0 1px 0 #000;
}
.sidebar-menu .menu-item a,
.sidebar-menu .menu-item{
    width: 100%;
    text-align: left !important;
}
.cart-subtotal,
.update_totals_on_change,
.woocommerce-checkout .form-row.place-order #mailpoet_woocommerce_checkout_optin_field{
    display: none !important;
}

/* Cafe Leon legal information and cookie notice */
.leon-legal-details {
    background: #111;
    color: #fff;
    padding: 24px 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
}
.leon-legal-details a { color: #fff; text-decoration: underline; }
.leon-cookie-notice {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
    padding: 17px 20px;
    color: #fff;
    background: rgba(17,17,17,.97);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,.35);
    font-size: 15px;
    line-height: 1.45;
}
.leon-cookie-notice[hidden] { display: none !important; }
.leon-cookie-notice a { color: #fff; text-decoration: underline; }
.leon-cookie-notice button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 8px;
    padding: 11px 22px;
    background: #fff;
    color: #111;
    font-weight: 700;
    cursor: pointer;
}
@media (max-width: 600px) {
    .leon-cookie-notice { left: 10px; right: 10px; bottom: 10px; display: block; padding: 15px; }
    .leon-cookie-notice button { width: 100%; margin-top: 12px; }
}


/* leon-hide-sale-badge: combo prices keep their discount without the sale label */
body.term-kombo .onsale,
body.postid-1467 .onsale,
body.postid-1468 .onsale,
body.postid-1469 .onsale,
body.postid-1470 .onsale,
body.postid-1471 .onsale,
body.postid-1472 .onsale {
    display: none !important;
}
