:root :where(.wp-element-button:visited, .wp-block-button__link:visited) {
    color: var(--wp--preset--color--contrast);
}

:root :where(.wp-element-button:hover, .wp-block-button__link:hover) {
    background-color: var(--wp--preset--color--primary-2-hover);
    color: var(--wp--preset--color--white);
}

#Uvodni-obsah .wp-block-cover {
    background-color: #77777a;
}

.vertical-menu .wp-block-navigation__container>.wp-block-navigation-item:only-child>.wp-block-navigation__submenu-container>.wp-block-navigation-item:is(:hover, :active)>.wp-block-navigation-item__content img {
    filter: none;
}

.before-currency+div {
    display: flex;
}

.mobile-menu .wp-block-navigation__responsive-close {
    padding-top: 40px !important;
}

.wc-block-add-to-cart-form .input-text {
    padding: .9rem 0;
}

ul.has-background {
    padding: 2px 2.375em;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item:is(:hover, :focus) {
    background-color: transparent;
}

.price,
.wc-block-components-product-price {
    flex-direction: column;
}

.wpcf7-date {
    display: block;
    width: 100%;
    padding: 14.5px 20px;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    color: var(--wp--preset--color--contrast);
    background-color: var(--wp--preset--color--white);
    background-clip: padding-box;
    border: 1px solid var(--wp--preset--color--gray-300);
    appearance: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    border-radius: 0;
    font-family: inherit;
}

.single-product-page .single-product-content .wc-block-components-product-price small,
.emoto-product-price small {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: var(--wp--preset--color--gray-200) !important;
    display: block;
    margin-top: 8px;
}

.emoto-product-price .sale-price {
    font-size: 36px;
    font-weight: 700;
    color: #e9242e;
    margin-bottom: 8px;
    line-height: 1;
}

.emoto-product-price .regular-price {
    margin-bottom: 6px;
}

.emoto-product-price .regular-price .amount {
    font-weight: 600;
    text-decoration: line-through;
}

.single-product-page .single-product-content .stock {
    background: none;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.wc-block-grid__products .emoto-product-price,
.products .emoto-product-price {
    margin-top: 16px;
    margin-bottom: 16px;
}

.wc-block-grid__products .emoto-product-price .sale-price,
.products .emoto-product-price .sale-price {
    font-size: 20px;
    margin-bottom: 0;
}

.wc-block-grid__products .emoto-product-price .regular-price,
.products .emoto-product-price .regular-price {
    margin-bottom: 0;
}

.wc-block-grid__products .emoto-product-price .regular-price small,
.products .emoto-product-price .regular-price small {
    font-size: 14px !important;
}

.single-product-page .single-product-content .in-stock {
    color: var(--wp--preset--color--success);
}

.single-product-page .single-product-content .available-on-backorder {
    color: var(--wp--preset--color--orange);
}

.emoto-product-thumbnail {
    position: relative;
}

.product-variant-options {
    position: absolute;
    bottom: 6px;
    left: 0;
}

.product-variant-options .attribute-options {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
}

.product-variant-options .color-swatch {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.product-variant-options .more-options {
    color: #777;
    font-size: 0.9em;
}

.emoto-related-products li p {
    margin: 0;
}

.wp-block-post-excerpt {
    padding-bottom: 24px;
    border-bottom: 1px solid #D6D6D6;
}

.wc-pao-addons-container h2 {
    display: none;
}

.wc-pao-addon {
    padding: 0;
}

.woocommerce div.product .wc-pao-addon {
    margin-bottom: 16px;
}

.wc-pao-addons-container {
    width: 100%;
}

.wc-pao-addons-container .wc-pao-addon-description {
    font-style: normal;
}

.single-product-page .single-product-content .wp-block-add-to-cart-form .cart,
.single-product-page .variations_form.cart .single_variation_wrap .woocommerce-variation-add-to-cart {
    column-gap: 16px;
    row-gap: 0;
    margin-top: 24px;
}

.single-product-page .wp-block-woocommerce-product-meta {
    margin-top: 0 !important;
    padding: 0;
    border: none;
}

.wc-pao-addon-id-1704785770,
.wc-pao-addon-id-1728034757 {
    border-bottom: 1px solid #D6D6D6;
}

.wc-pao-addon-id-1712153689 {
    font-size: 14px;
}

.single-product-page .single-product-content .single_add_to_cart_button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-product-page .single-product-content .single_add_to_cart_button:before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='20' viewBox='0 0 21 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.9489 20C6.3989 20 5.92807 19.8042 5.5364 19.4125C5.14473 19.0208 4.9489 18.55 4.9489 18C4.9489 17.45 5.14473 16.9792 5.5364 16.5875C5.92807 16.1958 6.3989 16 6.9489 16C7.4989 16 7.96973 16.1958 8.3614 16.5875C8.75307 16.9792 8.9489 17.45 8.9489 18C8.9489 18.55 8.75307 19.0208 8.3614 19.4125C7.96973 19.8042 7.4989 20 6.9489 20ZM16.9489 20C16.3989 20 15.9281 19.8042 15.5364 19.4125C15.1447 19.0208 14.9489 18.55 14.9489 18C14.9489 17.45 15.1447 16.9792 15.5364 16.5875C15.9281 16.1958 16.3989 16 16.9489 16C17.4989 16 17.9697 16.1958 18.3614 16.5875C18.7531 16.9792 18.9489 17.45 18.9489 18C18.9489 18.55 18.7531 19.0208 18.3614 19.4125C17.9697 19.8042 17.4989 20 16.9489 20ZM6.0989 4L8.4989 9H15.4989L18.2489 4H6.0989ZM5.1489 2H19.8989C20.2822 2 20.5739 2.17083 20.7739 2.5125C20.9739 2.85417 20.9822 3.2 20.7989 3.55L17.2489 9.95C17.0656 10.2833 16.8197 10.5417 16.5114 10.725C16.2031 10.9083 15.8656 11 15.4989 11H8.0489L6.9489 13H17.9489C18.2322 13 18.4697 13.0958 18.6614 13.2875C18.8531 13.4792 18.9489 13.7167 18.9489 14C18.9489 14.2833 18.8531 14.5208 18.6614 14.7125C18.4697 14.9042 18.2322 15 17.9489 15H6.9489C6.1989 15 5.63223 14.6708 5.2489 14.0125C4.86557 13.3542 4.8489 12.7 5.1989 12.05L6.5489 9.6L2.9489 2H1.9489C1.66557 2 1.42806 1.90417 1.2364 1.7125C1.04473 1.52083 0.948898 1.28333 0.948898 1C0.948898 0.716667 1.04473 0.479167 1.2364 0.2875C1.42806 0.0958333 1.66557 0 1.9489 0H3.5739C3.75723 0 3.93223 0.05 4.0989 0.15C4.26556 0.25 4.39056 0.391667 4.4739 0.575L5.1489 2Z' fill='black' fill-opacity='0.75'/%3E%3C/svg%3E%0A");
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 8px;
}

.wp-block-woocommerce-product-price {
    margin-top: 24px;
}

.single-product-page .single-product-content .wp-block-woocommerce-product-image-gallery span.onsale {
    background-color: #e9242e;
    color: #fff;
    padding: 8px 20px;
    font-weight: 700;
    line-height: 1;
}

.tooltip-wrapper {
    position: relative;
    display: inline-block;
}
  
.tooltip-container {
    display: none;
    position: absolute;
    bottom: 100%;
    min-width: 300px;
    background: #fff9e6;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #333;
    margin-bottom: 12px;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    visibility: hidden;
}

.tooltip-wrapper:hover .tooltip-container {
    display: block;
    opacity: 1;
    visibility: visible;
}
  
.tooltip-trigger {
    cursor: pointer;
    text-decoration: underline;
    color: var(--wp--preset--color--success);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tooltip-heading {
    font-size: 1.1em;
    color: #000;
    display: flex;
    align-items: center;
    margin: 0;
}

.tooltip-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tooltip-list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 12px;
    font-size: 0.9em;
    line-height: 1.4;
}

.tooltip-list li:before {
    content: "•";
    color: #ff9900;
    position: absolute;
    left: 0;
}

.tooltip-container p {
    margin: 8px 0;
}

.note {
    font-size: 0.85em;
    color: #666;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #ddd;
    font-style: italic;
}


.emoto-currency-switcher {
    display: inline-block;
    position: relative;
}
.emoto-currency-switcher select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    line-height: 1.2;
    color: #333;
    width: auto;
    min-width: 70px;
    font-weight: 700;
    border: none;
    font-size: 14px;
    background: white;
    padding: 0.5rem;
}
.emoto-currency-switcher::after {
    content: "";
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #000;
    pointer-events: none;
}

.eshop-menu-dropdown ul.eshop-menu-dropdown {
	padding: 0;
}

.eshop-menu-dropdown ul.eshop-menu-dropdown .wp-block-navigation-submenu__toggle {
padding: 8px 16px;
width: 100%;
font-weight: 700;
}

.eshop-menu-dropdown ul.eshop-menu-dropdown .wp-block-navigation__submenu-icon {
margin: 0 16px 0 0;
}


.wp-block-woocommerce-cart .wc-block-cart {
    display: flex;
    margin-top: 0 !important;
}

.wp-block-woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
    margin-left: auto;
    margin-right: 0;
    max-width: 520px;
}

.wp-block-woocommerce-cart .wc-block-cart .wc-block-cart__sidebar .wc-block-cart__totals-title,
.wp-block-woocommerce-cart-order-summary-coupon-form-block,
.wp-block-woocommerce-cart .wc-block-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-wrapper:last-child,
.wc-block-cart table.wc-block-cart-items thead,
.wc-block-components-totals-fees,
.add_gift_card_form {
    display: none;
}

.wp-block-woocommerce-cart-order-summary-totals-block {
    padding: 0;
    border: none;
}

.wc-block-cart__submit .wc-block-components-button__text {
    color: var(--wp--preset--color--contrast);
}


ol.cart-header {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    counter-set: steps;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

ol.cart-header li {
    display: block;
    padding: 0 10px;
    position: relative;
    text-align: center;
    width: 33.3%;
    color: #1c1c1c;
    font-size: 14px;
}

ol.cart-header li > *:before {
    align-items: center;
    border-radius: 50%;
    border-style: solid;
    border-width: 1px;
    border-color: #E0E7E9;
    content: counter(steps);
    counter-increment: steps;
    display: flex;
    display: block;
    font-size: 16px;
    height: 40px;
    justify-content: center;
    line-height: 38px;
    margin: 0 auto 10px;
    position: relative;
    text-align: center;
    width: 40px;
    z-index: 2;
    background-color: #fff;
    font-weight: 400;
}

ol.cart-header li > * > span:after {
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #E0E7E9;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    top: 20px;
    width: 100%;
    z-index: 1;
}

ol.cart-header li.step-3 > * span:after {
    display: none;
}

ol.cart-header li.active > *:before, 
ol.cart-header li.completed > *:before {
    background: #f6f6f6;
}

ol.cart-header li.active {
    font-weight: 600;
}

.step-content {
    display: none;
}

.step-content.active {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.step-content > div {
    width: 100%;
}

.woocommerce-cart .wp-block-post-title, .woocommerce-checkout .wp-block-post-title, .woocommerce-account .wp-block-post-title, .woocommerce-wishlist .wp-block-post-title {
    margin-top: 40px;
    font-size: 36px;
}

.woocommerce-checkout form.checkout {
    display: flex;
}

.checkout-wrapper {
    width: 100%;
}

.woocommerce-checkout .wp-block-post-content > .woocommerce {
    margin-top: 0;
}

.wp-block-woocommerce-cart-order-summary-totals-block .wp-block-woocommerce-cart-order-summary-subtotal-block {
    padding-top: 0;
    padding-bottom: 16px;
}

.woocommerce-cart .cart-header {
    margin-top: 44px;
}

.woocommerce-checkout h3 {
    margin: 0 0 1rem 0;
}

#ship-to-different-address {
    margin: 0;
}

.wc-proceed-to-checkout .next-step {
    font-weight: 700;
    width: 100%;
    margin-top: 24px;
    height: 44px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.woocommerce-checkout-review-order ul {
    list-style: none;
    padding: 0;
}

.woocommerce-checkout-review-order ul li {
    padding: 16px 0;
    border-bottom: 1px solid #E0E7E9;
}

.woocommerce-checkout-review-order ul li:last-child {
    border-bottom: none;
}

.woocommerce-checkout #order_review {
    padding: 0;
    margin-top: 0;
    background-color: #fff;
}

.woocommerce-checkout #order_review label {
    font-size: 16px;
    margin: 0;
}

.woocommerce-checkout-review-order h3 {
    font-size: 18px;
    font-weight: 600;
}

.woocommerce-checkout #order_review .woocommerce-privacy-policy-text {
    margin: 0;
    padding-bottom: 0;
    border: none;
}

.woocommerce-checkout #order_review .payment_methods > li .payment_box p {
    color: var(--wp--preset--color--dark);
}

#tdpd-content-single #tdpd-open-popup-widget {
    text-decoration: underline;
    cursor: pointer;
}

#tdpd-content-single #tdpd-open-popup-widget:hover {
    text-decoration: none;
}

.woocommerce-checkout #order_review table th {
	padding: 20px 0;
}

.wc-block-order-confirmation-status {
    margin-top: 64px;
}

.woocommerce-variation-availability {
	margin-top: 8px; 
}

.woocommerce-ordering {
    margin-bottom: 24px;
}

@media (max-width: 1199px) {
    header.wp-block-template-part {
        height: 120px;
    }

    .header-v1 {
        position: fixed !important;
        width: 100%;
    }

    .custom-mob .wp-block-woocommerce-customer-account {
        margin-top: 0;
    }

    .custom-mob {
        display: flex;
    }

    .custom-mob .custom-cart-link {
        margin-top: 0px;
        display: flex;
        align-items: center;
        width: 40px;
        justify-content: center;
    }

    .custom-mob .custom-cart-link svg {
        width: 2rem;
        height: 2rem;
    }

    .custom-mob h3 {
        margin-right: auto;
        font-size: 1.125rem;
        line-height: 60px;
        height: 60px;
    }

    .hbgr {
        background-image: none !important;
        width: 2rem;
        height: 2rem;
        display: flex;
        align-items: center;
        margin-top: 16px !important;
        margin-left: 8px;
    }

    .custom-mob .is-layout-flex {
        gap: 0.5rem;
    }
}

@media screen and (min-width: 540px) {
    .woocommerce-ordering {
        float: right;
    }

    .woocommerce-result-count {
        display: inline;
    }

    .products {
        clear: both;
    }
}

@media screen and (min-width: 768px) {
    .woocommerce-checkout form.checkout .woocommerce-billing-fields__field-wrapper .form-row:not(.form-row-first):not(.form-row-last), 
    .woocommerce-checkout form.checkout .woocommerce-shipping-fields__field-wrapper .form-row:not(.form-row-first):not(.form-row-last) {
        grid-column: span 6 / span 6;
    }

    #billing_iscomp_field {
        grid-column: span 12 / span 6;
    }

    #billing_address_2_field label,
    #shipping_address_2_field label {
        clip: auto;
        height: auto;
        position: static !important;
        width: auto;
    }
}

@media screen and (min-width: 991px) {
    .cart-after-form-wrapper {
        flex-direction: row;
        gap: 20px;
    }

    .cart-shipping {
        line-height: 1.7;
        margin-top: 36px;
    }

    ol.cart-header {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }

    .woocommerce-cart .cart-header {
        margin-top: 64px;
    }
}

@media screen and (min-width: 1200px) {
    .step-content.active {
        flex-direction: row;
    }

    .checkout-order-top-right {
        position: absolute !important;
        right: 0;
        top: 0;
    }

    .checkout-wrapper {
        position: relative;
    }

    .woocommerce-checkout-review-order-table {
        position: static !important;
    }

    form.woocommerce-checkout #customer_details {
        max-width: 840px;
        margin-left: auto;
        margin-right: auto;
    }

    form.woocommerce-checkout .woocommerce-checkout-review-order {
        width: 60%;
    }

    .step-content .checkout-order-top-right,
    .step-content .order-review {
        width: calc(40% - 40px);
    }

    .order-review {
        position: sticky;
        top: 40px;
    }

    .custom-mob .wp-block-woocommerce-customer-account,
    .custom-mob .custom-cart-link {
        display: none;
    }

    .woocommerce-checkout #order_review {
        background-color: #f6f6f6;
        padding: 16px;
    }
}