/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.13.3.1779442447
Updated: 2026-05-22 11:34:07

*/

/* ================================================
   AM HEADER – Shrink menu
   Pořadí: base → sticky overrides → shrunk state
             → komponenty → responzivita
================================================ */


/* ------------------------------------------------
   1. Základní stav (transparentní)
------------------------------------------------ */

.am-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  background: transparent !important;
  transition:
    background-color 0.3s ease,
    padding 0.3s ease,
    min-height 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

/* Vnitřní containery vždy transparentní */
.am-header > .elementor-element,
.am-header .e-con,
.am-header .elementor-container {
  background: transparent !important;
}


/* ------------------------------------------------
   2. Elementor sticky override – potlač jeho pozadí
      dokud není aktivní is-shrunk
------------------------------------------------ */

.am-header.elementor-sticky--effects:not(.is-shrunk),
.am-header.elementor-sticky--active:not(.is-shrunk) {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.am-header.elementor-sticky--effects:not(.is-shrunk) .e-con,
.am-header.elementor-sticky--active:not(.is-shrunk) .e-con {
  background: transparent !important;
  background-color: transparent !important;
}


/* ------------------------------------------------
   3. Shrunk stav (po scrollu)
------------------------------------------------ */

.am-header.is-shrunk {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  background: #ffffff !important; /* Čistě bílá bez průhlednosti */
  backdrop-filter: none !important; /* Vypne jakýkoliv blur */
  -webkit-backdrop-filter: none !important; /* Vypne blur pro Safari */
  box-shadow: none !important; /* Odstraní původní velký stín */
  border-bottom: 1px solid #000000 !important; /* Černé 1px ohraničení */
  overflow: visible !important;
	
}
/* Zajisti overflow i na vnitřních containerech */
.am-header.is-shrunk .e-con,
.am-header.is-shrunk .elementor-element,
.am-header.is-shrunk .elementor-container {
  overflow: visible !important;
}

/* ------------------------------------------------
   4. Logo
------------------------------------------------ */

.am-header .am-header-logo img,
.am-header .elementor-widget-image img {
  max-width: 200px;
  transition:
    max-width 0.3s ease,
    width 0.3s ease;
}

.am-header.is-shrunk .am-header-logo img,
.am-header.is-shrunk .elementor-widget-image img {
  max-width: 150px;
}


/* ------------------------------------------------
   5. Menu položky
------------------------------------------------ */

.am-header .e-n-menu-title,
.am-header .elementor-nav-menu .elementor-item,
.am-header .elementor-item {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  transition:
    font-size 0.3s ease,
    padding 0.3s ease,
    color 0.3s ease;
}

.am-header .e-n-menu-title-container {
  padding: 8px 10px;
  transition: padding 0.3s ease;
}

.am-header .elementor-nav-menu .elementor-item,
.am-header .elementor-item {
  padding-top: 8px;
  padding-bottom: 8px;
}

.am-header .e-n-menu {
  gap: 6px;
  transition: gap 0.3s ease;
}

/* Shrunk stav */
.am-header.is-shrunk .e-n-menu-title,
.am-header.is-shrunk .elementor-nav-menu .elementor-item,
.am-header.is-shrunk .elementor-item {
  font-size: 14px !important;
  line-height: 1.2;
}

.am-header.is-shrunk .e-n-menu-title-container {
  padding: 6px 8px !important;
}

.am-header.is-shrunk .elementor-nav-menu .elementor-item,
.am-header.is-shrunk .elementor-item {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.am-header.is-shrunk .e-n-menu {
  gap: 2px;
}


/* ------------------------------------------------
   6. Tlačítko + Minicart ikona
------------------------------------------------ */

.am-header .elementor-button {
  padding: 12px 22px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 8px;
  transition:
    padding 0.3s ease,
    font-size 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.am-header .elementor-button:hover {
  transform: translateY(-2px);
}

.am-header.is-shrunk .elementor-button {
  padding: 10px 18px;
  font-size: 14px;
}

/* Minicart – základní stav */
.am-header .elementor-menu-cart__toggle_button .elementor-button-icon svg {
  width: 18px;
  height: 18px;
  transition: width 0.3s ease, height 0.3s ease;
}

.am-header .elementor-menu-cart__toggle_button .elementor-button-text {
  font-size: 18px;
  transition: font-size 0.3s ease;
}

/* Minicart – shrunk stav */
.am-header.is-shrunk .elementor-menu-cart__toggle_button .elementor-button-icon svg {
  width: 14px;
  height: 14px;
}

.am-header.is-shrunk .elementor-menu-cart__toggle_button .elementor-button-text {
  font-size: 12px !important;
}

/* ------------------------------------------------
   7. Minicart panel – správné pozicování
------------------------------------------------ */

/* Panel vždy přes celou výšku, nezávisle na headeru */
.elementor-menu-cart__container {
  position: fixed !important;
  top: 0 !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow-y: auto !important;
  z-index: 99999 !important;
}

/* Wrapper nesmí ořezávat obsah */
.am-header .elementor-menu-cart__wrapper,
.elementor-menu-cart__wrapper {
  overflow: visible !important;
  position: static !important;
}

/* Oříznutí zrušit i na celém widgetu */
.am-header .elementor-widget-woocommerce-menu-cart {
  overflow: visible !important;
}

/* ------------------------------------------------
   8. Responzivita
------------------------------------------------ */

@media (max-width: 1024px) {
  .am-header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .am-header .am-header-logo img,
  .am-header .elementor-widget-image img {
    max-width: 160px;
  }

  .am-header.is-shrunk .am-header-logo img,
  .am-header.is-shrunk .elementor-widget-image img {
    max-width: 135px;
  }
}

@media (max-width: 767px) {
  .am-header {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .am-header .am-header-logo img,
  .am-header .elementor-widget-image img {
    max-width: 135px;
  }

  .am-header.is-shrunk .am-header-logo img,
  .am-header.is-shrunk .elementor-widget-image img {
    max-width: 120px;
  }
}
