/*
Theme Name: Allimedia Child Theme
Theme URI: https://allimedia.cz/
Template: hello-elementor
Author: Allimedia.cz
Author URI: https://allimedia.cz/
Description: Odlehčená šablona s vlastní identitou. Optimalizováno pro vývoj v Elementoru, čistý start bez balastu. Kompletní kontrola nad styly, šablonami a rozložením.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.3.0.1745583531
Updated: 2025-04-25 14:18:51

*/

/* ================================================
   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: rgba(247, 246, 244, 0.75) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  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
------------------------------------------------ */

/* Logo – Image widget (img) i Icon widget (svg) */
.am-header .am-header-logo img,
.am-header .am-header-logo svg,
.am-header .elementor-widget-image img,
.am-header .elementor-widget-icon .elementor-icon svg {
  max-width: 200px;
  width: 200px;
  transition: max-width 0.3s ease, width 0.3s ease;
}

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


/* ------------------------------------------------
   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;
}

/* Menu – zvýšená specificita */
html body .am-header.is-shrunk .e-n-menu-title,
html body .am-header.is-shrunk .e-n-menu-title-text,
html body .am-header.is-shrunk .elementor-nav-menu .elementor-item,
html body .am-header.is-shrunk .elementor-item {
  font-size: 14px !important;
}

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

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

/* ------------------------------------------------
   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;
  }
}

/* ================================================ */

/* Li seznam */
.am-green-bullets ul li::marker {
    color: #B1D235;
}


/* Stack štítky */

#stack {
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

#stack .elementor-widget-text-editor {
    width: auto !important;
    margin: 0 !important;
}

#stack .elementor-widget-text-editor .elementor-widget-container {
    padding: 0 !important;
}

#stack .elementor-widget-text-editor p {
    display: inline-block;
    padding: 8px 18px;
    border: 1.5px solid #212529;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #212529;
    white-space: nowrap;
    line-height: 1;
    margin: 0;
    transition: all 0.2s ease;
}

#stack .elementor-widget-text-editor p:hover {
    background-color: #B1D235;
    border-color: #B1D235;
    cursor: default;
}

/* Blog nadpisy - barva */
#allimedia-blog h1,
#allimedia-blog h3,
#allimedia-blog h4,
#allimedia-blog h5,
#allimedia-blog h6 {
    color: #212529;
}

#allimedia-blog h2 {
    color: #95B11F;
	font-weight: 900;
}

#allimedia-blog blockquote {
    border-left: 4px solid #B1D235;
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: #f5f5f5;
    font-style: italic;
    color: #212529;
}

/* =============================================================
   Allimedia – Add-on: Instalace technikem
   Vložit do: style.css child theme (Hello Elementor Child)
   ============================================================= */

/* Wrapper
   ---------------------------------------------------------- */
.am-addon-installation {
    margin: 16px 0 20px;
    padding: 14px 16px;
    border: none;
    border-radius: 6px;
    background: transparent;
    transition: opacity 0.15s ease;
}

/* Skrytý stav — přidává JS před zobrazením / po resetu varianty */
.am-addon-installation.am-addon--hidden {
    display: none;
}

/* Label řádek
   ---------------------------------------------------------- */
.am-addon-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
	color: #fcfcfc;
    user-select: none;
    margin: 0;
}

/* Checkbox */
.am-addon-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #B1D235;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

/* Text + cena vedle sebe */
.am-addon-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Přirážka — limetková barva */
.am-addon-price {
    font-size: 0.9em;
    color: #B1D235;
    font-weight: 600;
    white-space: nowrap;
}

/* Přípis množství: "(× 3)" */
.am-addon-qty-note {
    font-weight: 400;
    color: #888;
    font-size: 0.9em;
}

/* Popis pod labelem
   ---------------------------------------------------------- */
.am-addon-desc {
    margin: 8px 0 0 28px;  /* 28px = šířka checkboxu + gap */
    font-size: 0.875em;
    color: #666;
    line-height: 1.5;
}

/* Admin — vizuální oddělení sekce ve variante
   ---------------------------------------------------------- */
.am-variation-installation {
    border-top: 1px dashed #ddd;
    margin-top: 10px;
    padding-top: 10px;
}

/* =============================================
   WooCommerce Blocks Checkout – Allimedia
   ============================================= */

/* Padding nahoře */
body.woocommerce-checkout .page-content {
    padding-top: 120px;
}

/* Nadpisy – Plus Jakarta Sans */
.wp-block-woocommerce-checkout h1,
.wp-block-woocommerce-checkout h2,
.wp-block-woocommerce-checkout h3,
.wp-block-woocommerce-checkout h4,
.wc-block-components-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Ostatní text – Inter */
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-checkout p,
.wp-block-woocommerce-checkout label,
.wp-block-woocommerce-checkout input,
.wp-block-woocommerce-checkout select,
.wp-block-woocommerce-checkout textarea {
    font-family: 'Inter', sans-serif;
}

/* Tlačítko Objednat */
.wc-block-components-checkout-place-order-button {
    background-color: #B1D235 !important;
    border-color: #B1D235 !important;
    color: #212529 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
}

.wc-block-components-checkout-place-order-button:hover {
    background-color: #95B11F !important;
    border-color: #95B11F !important;
    color: #212529 !important;
}

.wc-block-checkout__sidebar {
    top: 120px !important;
}

.wc-block-checkout__terms a {
    color: #B1D235 !important;
}

.wc-block-checkout__terms a:hover {
    color: #95B11F !important;
}