/* 
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.1
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 */
.woocommerce ul.products li.product a img {
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.4);
    box-shadow:
        0 8px 24px rgba(0,0,0,.20),
        0 0 0 1px rgba(0,0,0,.06) !important;
}

.woocommerce ul.products li.product:hover a img {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    border-radius: 12px;
}

/*** Partneři v dashboardu ***/
.pluri-partners {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.partner-card {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,.08);
    text-align: center;

    display: flex;
    flex-direction: column;
    height: 100%;
}

.partner-detail {
    display: block;
    color: inherit;
    text-decoration: none;
}

.partner-logo {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.partner-card h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px;
    min-height: 42px;
}

.partner-claim {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0 0 10px;
    /*min-height: 40px;*/
}

.partner-web {
    margin-top: auto;
    padding-top: 10px;
}

.partner-web a {
    font-size: 14px;
    text-decoration: none;
}

.partner-web a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .pluri-partners {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pluri-partners {
        grid-template-columns: 1fr;
    }
}

.page-id-846 .entry-title,
.page-id-846 h1.entry-title {
    display: none;
}

.pluri-category-image-wrap {
    margin-left: 330px;
    width: calc(100% - 330px);
    margin-bottom: 35px;
}

.pluri-category-image-wrap img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

@media (max-width: 1024px) {
    .pluri-category-image-wrap {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {

  .elementor-location-header {
    position: relative;
    z-index: 99999;
  }

  .elementor-location-header .elementor-widget-nav-menu {
    position: relative;
    z-index: 99999;
  }

  .elementor-location-header .elementor-nav-menu--dropdown {
    z-index: 999999 !important;
    background: #fff !important;
    padding: 12px 0 !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
  }

  .elementor-location-header .elementor-nav-menu--dropdown a {
    display: block !important;
    padding: 12px 20px !important;
    text-align: center !important;
  }
}

.tax-product_cat h1.page-title {
    display: none;
}

/* hlavní obrázek */
.single-product .woocommerce-product-gallery__image {
    overflow: visible !important;
    border-radius: 20px;
}

.single-product .woocommerce-product-gallery__image > a {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
}

.single-product .woocommerce-product-gallery__image img {
    display: block;
    border-radius: 20px;
}

/* Hlavní galerie – slider nerozbít */
.single-product .flex-viewport {
    overflow: hidden !important;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
}

/* Obrázek uvnitř */
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image > a,
.single-product .woocommerce-product-gallery__image img {
    border-radius: 20px;
}

/* Zakončení iframe v podrobném popisu; nákupní formulář zůstává beze změny. */
.single-product .pluri-iframe-ending {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    margin: 0 0 24px;
    border: 1px solid #dce3e8;
    border-top: 3px solid #b6c6d1;
    border-radius: 0 0 16px 16px;
    background: linear-gradient(#f3f6f8, #fff);
    color: #374754;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.single-product .pluri-iframe-ending__arrow {
    flex-shrink: 0;
    font-size: 26px;
    line-height: 1;
}

/* WooCommerce – čitelný obsah záložky Popis produktu */
.single-product .woocommerce-Tabs-panel--description,
.single-product .woocommerce-Tabs-panel--description p,
.single-product .woocommerce-Tabs-panel--description li,
.single-product .woocommerce-Tabs-panel--description strong,
.single-product .woocommerce-Tabs-panel--description span,
.single-product .woocommerce-Tabs-panel--description .elementor-widget-text-editor {
    color: #333333 !important;
}

.single-product .woocommerce-Tabs-panel--description h1,
.single-product .woocommerce-Tabs-panel--description h2,
.single-product .woocommerce-Tabs-panel--description h3,
.single-product .woocommerce-Tabs-panel--description h4,
.single-product .woocommerce-Tabs-panel--description h5,
.single-product .woocommerce-Tabs-panel--description h6 {
    color: #2d2d2d !important;
}

.single-product .woocommerce-Tabs-panel--description a {
    color: #e5006f !important;
}

.single-product .woocommerce-product-gallery__image > a {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
}




/* Miniatury jednotlivě */
.single-product .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px !important;
}

.single-product .flex-control-thumbs li {
    width: calc(25% - 14px) !important;
    margin: 0 !important;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 16px rgba(0,0,0,.12);
    background: #fff;
}

.single-product .flex-control-thumbs li img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* Aktivní / hover miniatura */
.single-product .flex-control-thumbs li img.flex-active,
.single-product .flex-control-thumbs li:hover {
    box-shadow: 0 7px 22px rgba(0,0,0,.18);
}

/* Miniatury – prostor pro stín */
.single-product .flex-control-nav.flex-control-thumbs {
    overflow: visible !important;
    padding-bottom: 18px !important;
    margin-bottom: 10px !important;
}

/* Jednotlivé miniatury */
.single-product .flex-control-thumbs li {
    overflow: visible !important;
    padding-bottom: 0;
}

.single-product .flex-control-thumbs li img {
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,.16);
}
 /* Tlačítka */
 :root {
    --pluri-primary: #c69c3f;
    --pluri-primary-hover: #b5892f;
    --pluri-text-light: #ffffff;
    --pluri-radius-button: 30px;
    --pluri-shadow-button: 0 4px 15px rgba(198,156,63,.25);
    --pluri-shadow-button-hover: 0 8px 25px rgba(198,156,63,.35);
}

/* Univerzální PLURI tlačítko */
.pluri-button,
button.pluri-button,
input[type="submit"].pluri-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--pluri-primary);
    color: var(--pluri-text-light) !important;

    border: none;
    border-radius: var(--pluri-radius-button);

    padding: 14px 34px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;

    cursor: pointer;
    box-shadow: var(--pluri-shadow-button);
    transition: all .25s ease;
}

.pluri-button:hover,
button.pluri-button:hover,
input[type="submit"].pluri-button:hover {
    background: var(--pluri-primary-hover);
    color: var(--pluri-text-light) !important;
    transform: translateY(-2px);
    box-shadow: var(--pluri-shadow-button-hover);
}

/* Tlačítko vstupenky */
.pluri-ticket-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 30px auto;
    flex-wrap: wrap;
}

.pluri-ticket-quantity {
    width: 80px !important;
    max-width: 80px !important;

    padding: 13px 10px;
    border: 1px solid #ddd;
    border-radius: 16px;

    text-align: center;
    font-size: 17px;
    line-height: 1.2;
}

/* PLURI – WooCommerce Blocks tlačítka: košík + pokladna */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
    background: var(--pluri-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--pluri-radius-button) !important;
    box-shadow: var(--pluri-shadow-button) !important;

    padding: 14px 28px !important;
    font-weight: 600 !important;
    text-decoration: none !important;

    transition: all .25s ease !important;
}

.wc-block-cart__submit-button span,
.wc-block-components-checkout-place-order-button span {
    color: #ffffff !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
    background: var(--pluri-primary-hover) !important;
    color: #ffffff !important;
    box-shadow: var(--pluri-shadow-button-hover) !important;
    transform: translateY(-2px);
}

/* Názvy produktů */
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #2d2d2d;
    min-height: 3.2em;
    margin: 15px 0 10px;
    text-align: center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    line-height: 1.5em;
    height: 3em; /* přesně 2 řádky */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Ceny produktů */
.woocommerce ul.products li.product .price {
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(87,70,26,1);
    margin-bottom: 15px;
    display: none;
}

/* tlačítka v katalogu */
.woocommerce ul.products li.product .button {
    width: 100%;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    text-align: center;
    background: #C89B5C ;
    color: #fff !important;
    transition: .3s;
    border: none;
}

.woocommerce ul.products li.product .button:hover {
    transform: translateY(-2px);
}


/** text pod obrázkem */
@media (max-width: 767px) {

    .elementor-48 .elementor-element.elementor-element-5d2bb4c {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: unset !important;
        overflow: visible !important;
    }

    .elementor-48 .elementor-element.elementor-element-be42f72,
    .elementor-48 .elementor-element.elementor-element-78a8c73 {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        transform: none !important;
        margin: 0 !important;
        z-index: auto !important;
    }

    .elementor-48 .elementor-element.elementor-element-78a8c73 {
        order: 2;
        margin-top: 20px !important;
    }

    .elementor-48 .elementor-element.elementor-element-be42f72 {
        order: 1;
    }

    .elementor-48 .elementor-element.elementor-element-6f57ddc img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        border-radius: 16px !important;
    }
}

/* WooCommerce – obrázek produktu bez problematického zoomu */
.single-product .woocommerce-product-gallery__image {
    overflow: hidden !important;
    border-radius: 20px;
}

.single-product .woocommerce-product-gallery__image .zoomImg {
    display: none !important;
}

.single-product .woocommerce-product-gallery__image img {
    border-radius: 20px;
}
