/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* GLOBAL */

html, body{overflow-x: hidden;}

.white, .white a{color:white!important;}

.elementor-kit-10 a:hover {
    text-decoration: none;
}

.mobileSide__close{display:none!important;}

#success-icon{
display:none;
}
#erorr-icon{
display:none;
}

.custom-cislo-kategorie {display: none;}
.kategorie-archive .custom-cislo-kategorie {display: block;}

.elementor-widget-button .elementor-button-wrapper .elementor-button {
	color: var(--e-global-color-53c0ddf);
    background-color: var(--e-global-color-8e4fb7f);
}

.elementor-widget-button .elementor-button-wrapper .elementor-button:hover {
    background-color: var(--e-global-color-c892749);
}

.woocommerce-button{
	background-color: var(--e-global-color-8e4fb7f)!important;
	color: var(--e-global-color-53c0ddf)!important;
	padding: 15px 30px!important;
	font-size: 15px!important;
	font-weight: 500!important;
}

.woocommerce-button:hover{
	background-color: var(--e-global-color-c892749)!important;
}

.wc-block-components-notice-banner .button{
	display: none!important;
}

/* Lightbox */

.fancybox-button svg {
  height: 30px!important;
  width: 30px!important;
}

.fancybox-button--zoom{display: none!important;}

.fancybox-button--close{
  display: flex!important;
  justify-content: center!important;
  align-items: center!important;
  background-color: transparent!important;
}

.fancybox-bg{
  opacity: 1!important;
  background: none!important;
  background-color: rgba(0, 0, 0, .8)!important;

}


/* Breadcrumbs */

.rank-math-breadcrumb p a, .rank-math-breadcrumb p span{
	font-size: 14px;
	font-weight: 500;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button {
    border-radius: 2px;
}

/* Megamenu */

.megamenu__button {
  position: relative;
}

.megamenu {
  opacity: 0;
  visibility: hidden;
  position: fixed !important;
  top: 110px;
  left: 0;
  right: 0;
  z-index: -1;
  transition: .3s;
}

.megamenu.active {
  opacity: 1;
  visibility: visible;
  z-index: 20;
}

body.megamenu__active {
  position: relative;
  overflow: hidden;
}

body.megamenu__active::after {
  content: '';
  z-index: 10;
  position: absolute;
  top: 110px;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.4);
}

.admin-bar .megamenu{top:142px;}

#topbar-menu .elementor-widget-container {
  overflow: inherit;
}

@media (max-width: 767px) {
  .hide-mobile {
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
  }

  .hide-mobile.active {
    height: auto;
    opacity: 1;
    visibility: visible;
  }
}

.woocommerce-categories-grid {
    -webkit-column-count: 4; /* Chrome, Safari, Opera */
    -moz-column-count: 4;    /* Firefox */
    column-count: 4;         /* Standard syntax */
    
    -webkit-column-gap: 20px; /* Chrome, Safari, Opera */
    -moz-column-gap: 20px;    /* Firefox */
    column-gap: 20px;         /* Standard syntax */
}

.category-column {
    break-inside: avoid; /* This prevents categories from being split across columns */
    -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
    page-break-inside: avoid; /* For older browsers */
    margin-bottom: 10px; /* Adjust the space between categories as needed */
}

.woocommerce-categories-grid a {
    display: block; /* This ensures the full area of the category link is clickable */
}

.woocommerce-categories-grid .category-column a {
	text-decoration: none!important;
	font-size: 14px;
	Font-weight: 400;
}

.woocommerce-categories-grid .category-column a:hover {
	text-decoration: underline!important;
}

.facetwp-facet{margin-bottom:0!important;}

.facetwp-facet select{
	padding: 9px 10px 8px 5px;
	border: 1px solid var(--e-global-color-primary);
}

/* PDF katalogy */

.pdf-katalog img {
    width: 100%;
    box-shadow: 0 5px 10px #00000014; 
	transition: .3s;
}

.pdf-katalog img:hover {
    width: 100%;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3); 
}

.pdf-katalog h5 a{
	text-decoration:none;
}

.pdf-katalog h5 a:hover, .pdf-katalog img:hover h5 a{
	text-decoration:underline!important;
}

/* HP - Sekce sortiment */

.hp-sortiment .count{display:none;}

.hp-sortiment li.product-category{
    padding: 10px!important;
    border-radius: 2px!important;
    border: 1px solid var(--e-global-color-ebc6d9b)!important;
    box-shadow: 0 5px 10px #00000014!important;
    transition: .3s!important;
}

@media (max-width: 767px){
  .hp-sortiment li.product-category{
    padding: 0px!important;
  }
}

.hp-sortiment li.product-category:hover{
    border: 1px solid var(--e-global-color-8be9c47)!important;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3)!important;
}

.hp-sortiment  ul.products {
    grid-row-gap: 20px!important;
}

@media (max-width: 1024px){
  .hp-sortiment  ul.products {
    grid-row-gap: 10px!important;
  }
}

.hp-sortiment ul.products li.product .woocommerce-loop-category__title{
    padding: 0 10px 10px!important;
}

.hp-sortiment .woocommerce ul.products li.product a img{
    margin-bottom:10px!important;
}

/* Product Categories widget */

.kategorie-archive .product-category{
  border: 1px solid var(--e-global-color-8e4fb7f);
  border-radius: 2px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
  transition: .3s;
  padding: 10px!important;
}

.kategorie-archive .product-category:hover{
  border: 1px solid var(--e-global-color-8be9c47);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.custom-cislo-kategorie{
  font-family: var(--e-a-font-family);
  font-size: 16px;
  color: var(--e-global-color-secondary);
  text-align: center;
}

.kategorie-archive .count{display:none;}

/* Checkout */

.woocommerce-order-received strong.product-quantity{display: none;}

#billing_company_field, #billing_ic_field, #billing_dic_field{width: calc(33.333% - 10px);
}

/* Vyhledávání */

.dgwt-wcas-si img{
	max-width: 50px;
	height: 50px;
}

/* Search results */

.search-categories-grid{
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}
.categories-grid {
  grid-template-columns: repeat(5, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}

@media (max-width: 1024px){
  .search-categories-grid,
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px){
  .search-categories-grid,
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.woocommerce-page ul.products li.product.search-category,
.woocommerce-page ul.products li.product.category {
  width: auto;
  margin: 0;
}

.woocommerce .search-categories-grid ul::after,
.woocommerce .categories-grid ul::after,
.woocommerce .search-categories-grid ul::before,
.woocommerce .categories-grid ul::before,
.woocommerce ul.search-categories-grid::after,
.woocommerce ul.categories-grid ul::before,
.woocommerce ul.search-categories-grid::before,
.woocommerce ul.categories-grid::before  {
  display: none;
}

.woocommerce .search-categories-grid .woocommerce-loop-category__title,
.woocommerce .categories-grid .woocommerce-loop-category__title {
  color: var(--e-global-color-primary);
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-weight: var(--e-global-typography-primary-font-weight);
  text-align: center;
}

/* Thank you page */

.woocommerce-order-details ul.wc-item-meta{
  padding-inline-start: 0;
}

.woocommerce-order-details .woocommerce-table__line-item:hover>td{
  background-color: transparent;
}

.woocommerce-table--order-details .wc-item-meta li{
	display: flex;
	flex-direction: column;
}
