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

/* Add your custom styles here */

.facetwp-checkbox,
.facetwp-checkbox.checked {
    display: flex;
    align-items: center;
    background-image: none !important;
    padding-left: 0 !important;
}

.facetwp-checkbox::before {
    content: "";
    display: block;
    width: 17px;
    height: 17px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--e-global-color-primary);
    margin-right: 10px;
}

.facetwp-type-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    color: var(--e-global-color-primary);
}

.facetwp-checkbox.checked::before {
    background-color: var(--e-global-color-primary);
}

.facet-label.facet-label {
    font-size: 16px;
    font-weight: 600;
}

.facetwp-facet.facetwp-facet {
    margin-bottom: 20px;
}

.facetwp-slider-reset {
    display: none;
}

.facetwp-slider-label {
    color: var(--e-global-color-primary);
    font-weight: 600;
}

.facetwp-slider .noUi-connect {
    background: var(--e-global-color-primary);
}

.woocommerce-ordering select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='var(--e-global-color-primary)' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.879L3.5 7.386a.5.5 0 0 1 .707-.707L8 10.765l3.793-3.793a.5.5 0 0 1 .707.707L8 11.879z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em;
    padding-right: 2.5rem;
    border-radius: 0;
    border: 1px solid var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    font-size: 14px;
    font-weight: 600;
}

.woocommerce-result-count {
    position: relative;
    top: 5px;
    margin-bottom: 0 !important;
    font-size: 14px;
    font-weight: 600;
    color: var(--e-global-color-primary);
}

@media (max-width: 767px) {
    .woocommerce-result-count {
        top: 0px;
    }

    .woocommerce-ordering {
        float: left !important;
    }

    .products.elementor-grid.columns-3 {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
        row-gap: 20px !important;
    }

    .elementor-add-to-cart.elementor-product-simple > .cart {
        flex-wrap: wrap !important;
    }

    .elementor-add-to-cart.elementor-product-simple > .cart > .button {
        margin-left: 0 !important;
        margin-top: 20px !important;
    }
}

.woocommerce table.shop_attributes {
    border: 0 !important;
}

.woocommerce-product-attributes-item__value,
.woocommerce-product-attributes-item__label {
    background: none !important;
    text-align: left !important;
    border: 0 !important;
}

.woocommerce-product-attributes-item__label {
    width: 200px !important;
}

.woocommerce-product-attributes-item td {
    vertical-align: middle !important;
}

.woocommerce-product-attributes-item__value {
    font-style: normal !important;
}

.serie-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    row-gap: 40px;
    column-gap: 1px;
}

@media (max-width: 767px) {
    .serie-list {
        row-gap: 20px;
    }
}

.serie-item {
    position: relative;
    background-color: #eee;
    aspect-ratio: 4 / 3;
}

.serie-item > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.serie-item-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    color: #fff;
    padding: 30px;
    z-index: 2;
}

.serie-item-content::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 55, 109, .35);
    z-index: -1;
}

.serie-item-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.serie-item-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-wrap: balance;
}

.serie-item-button.serie-item-button.serie-item-button {
    margin-top: 10px;
    background-color: transparent;
    align-self: flex-start;
    background-color: var(--e-global-color-primary);
    border: 1px solid var(--e-global-color-primary);
    color: #fff;
    font-weight: 600;
}

.serie-item-button.serie-item-button.serie-item-button:hover,
.serie-item-button.serie-item-button.serie-item-button:focus {
    background-color: transparent;
    border: 1px solid var(--e-global-color-primary);
    color: var(--e-global-color-primary);
}

.serie-carousel {
    overflow: hidden;
    width: auto;
    margin-left: calc((100% - 100vw) / 2);
    margin-right: calc((100% - 100vw) / 2);
    padding-left: calc((100vw - 100%) / 2);
    padding-right: calc((100vw - 100%) / 2);
}

.serie-carousel-container {
    display: flex;
    gap: 20px;
}

.serie-carousel-container > .serie-item {
    flex: 0 0 auto;
    width: 400px;
}

.serie-carousel-button {
    position: absolute;
}

p {
    max-width: 110ch;
}

.elementor-widget-text-editor p:last-of-type {
    margin-bottom: 0;
}

.rlv-has-spinner {
    border-color: var(--e-global-color-primary);
    border-right-color: transparent;
}
.rlv-has-spinner::after {
    background-color: var(--e-global-color-primary);
}

.relevanssi-live-search-result p, .relevanssi-live-search-result-status p {
    padding: 5px 10px;
}

.relevanssi-live-search-results {
    max-height: 380px;
}


/* VOJTA CSS KOD */



/* Styles for mobile devices */
@media (max-width: 767px) {
  #ruka {
    position: absolute;
    top: 200px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
    animation: slideMobileCursor 1.5s linear infinite alternate; /* Adjust the animation duration */
  }

  #ruka img {
    min-width: 50px;
    transform: scale(0.5) rotate(-25deg);
    filter: invert(100%);
  }

  /* Keyframes for sliding animation on mobile */
  @keyframes slideMobileCursor {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100px); /* Move it to the left by 100px */
    }
  }
}





/* Styles for PC/laptop screens */
@media (min-width: 768px) {
  /* Styling for the cursor container */
  #cursor {
    position: absolute;
    top: 250px; /* Adjust the vertical positioning to 200px lower */
		left: 70%;

    z-index: 9999; /* Ensure it's on top of other elements */
    pointer-events: none; /* Make it unclickable */
    animation: slideCursor 3s linear infinite alternate; /* Horizontal sliding animation */
  }

  /* Styling for the cursor image */
  #desktopCursor {
    filter: invert(100%); /* Invert the colors to make it white */
    max-width: 5%; /* Make it 5% of its original size */
  }

  /* Keyframes for horizontal sliding animation */
  @keyframes slideCursor {
    0% {
      transform: translateX(0); /* Start from the current horizontal position */
    }
    100% {
      transform: translateX(100px); /* Move it horizontally by 200px */
    }
  }
}










/* Styles for mobile devices */
@media (max-width: 767px) {
  #ruka {
    /* Your mobile styles */
  }

  #ruka img {
    /* Your mobile image styles */
  }

  /* Hide the desktop cursor on mobile screens */
  #desktopCursor {
    display: none;
  }
}

/* Styles for PC/laptop screens */
@media (min-width: 768px) {
  #cursor {
    /* Your desktop styles */
  }

  #desktopCursor {
    /* Your desktop image styles */
  }

  /* Hide the mobile cursor on desktop screens */
  #ruka {
    display: none;
  }
}

div.elementor-element.elementor-element-fc43ccd.e-flex.e-con-boxed.e-con a:link {
	text-decoration: underline;
}

div.elementor-element.elementor-element-fc43ccd.e-flex.e-con-boxed.e-con a:hover {
	color: rgb(192, 171, 120);
}

#breadcrumbs { display:none; }