/*
Theme Name: MyFive
Theme URI: https://frontendtanfolyam.hu/
Author: FrontendTanfolyam
Author URI: https://frontendtanfolyam.hu/pocsik-emese-frontend-fejleszto/
Description: Basic Block Theme by Emese Pocsik
Tags: one-column, custom-colors, custom-menu
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myfive
*/

@media screen and (max-width: 1199px) {
    body {
        font-size: 18px;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
}

.wc-block-product {
    position: relative;
}

.wc-block-product > .wp-block-group {
    height: 100%;
}

  .wc-block-product .taxonomy-product_tag {
    position: absolute;
    left: 0;
    top: 1rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-self: flex-start;
    gap: 0.5rem;
}

.wc-block-product .taxonomy-product_tag a {
    font-size: .75rem;
    padding: 4px 14px;
    text-align: center;
    vertical-align: middle;
    align-self: flex-start;
    text-transform: uppercase;
    background: var(--wp--preset--color--primary);
    color: #fff;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    z-index: 1;
}

.wc-block-product .wp-block-post-terms__separator {
    display: none;
}

.wp-block-woocommerce-product-sale-badge {
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 1;
}

.wc-block-components-product-sale-badge {
    aspect-ratio: 1 / 1;
    width: 4.5rem;
    align-items: center;
    display: flex;
    justify-content: center;
}

.wc-block-components-product-stock-indicator--out-of-stock,
.out-of-stock {
    color: red;
}

[data-filter-type="active-filters"] .wc-blocks-filter-wrapper:not([hidden]),
[data-filter-type="active-filters"] .wc-block-active-filters:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

[data-filter-type="active-filters"] .wc-block-active-filters__clear-all,
[data-filter-type="active-filters"] .wc-blocks-filter-wrapper .wp-block-heading {
    margin: 0 !important
}

.wc-block-components-product-rating {
    color: #ffa12d;
    font-size: 1rem;
}

.wp-block-query-pagination-numbers .page-numbers,
.wp-block-query-pagination-next-arrow,
.wp-block-query-pagination-prev-arrow {
    display: inline-block;
    text-align: center;
    background: #fff;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    border-radius: 50%;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
    margin: 0 5px;
}

.wp-block-query-pagination-numbers .page-numbers.current {
    font-weight: bold;
    background: var(--wp--preset--color--neutral);
}

del {
    color: var(--wp--preset--color--text-muted);
    opacity: 0.5;
    font-weight: normal;
}

#home-slides .wp-block-cover {
    overflow: visible;
}

#home-slides .wp-block-cover .wp-block-cover__background {
    border-radius: 2rem;
}

.wp-block-cb-query-slider swiper-slide {
    height: auto;
}