/*
Theme Name: Susana
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: susana
*/
@media screen and (max-width: 1199px) {
    body {
        font-size: 18px;
    }
}

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

body {
    margin: 0;
    padding: 0;
}

.wp-block-cover .wc-block-components-product-summary {
    text-align: center;
}

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

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

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

pre {
    font-size: 1rem;
}

.taxonomy-pa_statusz a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.taxonomy-pa_statusz a[href*="elo"] {
    background: #ce011e;
    color: #fff;
    padding-top: var(--wp--preset--spacing--xs);
    padding-bottom: var(--wp--preset--spacing--xs);
    padding-left: var(--wp--preset--spacing--m);
    padding-right: var(--wp--preset--spacing--m);
    margin-bottom: var(--wp--preset--spacing--s);
}

.taxonomy-pa_statusz a[href*="elo"]::before {
    content: '';
    display: block;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0% {
        -webkit-transform: scale(0.90);
        transform: scale(0.90);
        -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }

    100% {
        -webkit-transform: scale(0.90);
        transform: scale(0.90);
        -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1);
    }
}

.taxonomy-pa_statusz a[href*="erkezik"] {
    background: #4caf50;
    color: #fff;
    padding-top: var(--wp--preset--spacing--xs);
    padding-bottom: var(--wp--preset--spacing--xs);
    padding-left: var(--wp--preset--spacing--m);
    padding-right: var(--wp--preset--spacing--m);
    margin-bottom: var(--wp--preset--spacing--s);
}

.taxonomy-pa_statusz a[href*="archiv"] {
    background: #777;
    color: #fff;
    padding-top: var(--wp--preset--spacing--xs);
    padding-bottom: var(--wp--preset--spacing--xs);
    padding-left: var(--wp--preset--spacing--m);
    padding-right: var(--wp--preset--spacing--m);
    margin-bottom: var(--wp--preset--spacing--s);
}

.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;
}

.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;
}

.timeline {
    position: relative;
    padding-left: clamp(1rem, 2vw, 2rem);
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--wp--preset--border-color);
}

.timeline-item {
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    top: 6px;
    left: calc((clamp(1rem, 2vw, 2rem) + 5px) * -1);
    width: 8px;
    height: 8px;
    background: var(--wp--preset--color--black);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--wp--preset--border-color);
}

.wc-ppp-expiration-status-container {
    background: var(--wp--preset--color--neutral);
    padding-top: var(--wp--preset--spacing--xl);
    padding-right: var(--wp--preset--spacing--xl);
    padding-bottom: var(--wp--preset--spacing--xl);
    padding-left: var(--wp--preset--spacing--xl);
}

.wc-ppp-expiration-status-container ul {
    margin: 0;
}

#what-ever-you-want,
.wc-ppp-remaining-container ul {
    margin: 0;
    padding: 0;
}

.woocommerce-account #what-ever-you-want,
.woocommerce-account .wc-ppp-remaining-container ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {

    .woocommerce-account .wc-ppp-remaining-container ul,
    .woocommerce-account #what-ever-you-want {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wc-ppp-thumb img {
    width: 100%;
    height: auto;
}

.wc-ppp-purchased-item {
    display: block;
    position: relative;
}

.wc-ppp-purchased-item .premium-category {
    color: var(--wp--preset--color--text-muted);
    font-size: var(--wp--preset--font-size--small);
}

.wc-ppp-tags span {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: smaller;
    padding: 5px 10px;
    text-transform: uppercase;
}

.archiv .premium-tag {
    background: #ddd;

}

.friss .premium-tag {
    background: #000;
    color: #fff;
}

.wc-ppp-purchased-item h3 {
    font-size: 1.5rem;
}

.ppp-purchased-content__list,
.ppp-purchased-content__list li {
    padding: 0;
    list-style-type: none;
    margin: 0;
}

.ppp-purchased-content__list a {
    display: inline-block;
    margin-top: 1rem;
    background: var(--wp--preset--color--primary);
    color: #fff;
    line-height: inherit;
    padding-top: 0.75rem;
    padding-right: 1.25rem;
    padding-bottom: 0.75rem;
    padding-left: 1.25rem;
    text-decoration: none;
}

.woocommerce-MyAccount-navigation-link a {
    background: var(--wp--preset--color--neutral);
    line-height: inherit;
    padding-top: 0.75rem;
    padding-right: 1.25rem;
    padding-bottom: 0.75rem;
    padding-left: 1.25rem;
    text-decoration: none;
}

.woocommerce-MyAccount-navigation-link--purchased-content a {
    background: #000;
    color: #fff;
    line-height: inherit;
    padding-top: 0.75rem;
    padding-right: 1.25rem;
    padding-bottom: 0.75rem;
    padding-left: 1.25rem;
    text-decoration: none;
}

footer.wp-block-template-part {
    margin: 0;
}

.wp-block-tag-cloud a,
.single-post .wp-block-post-terms a {
    display: inline-block;
    background: #222;
    color: #fff;
    padding-top: var(--wp--preset--spacing--xs);
    padding-bottom: var(--wp--preset--spacing--xs);
    padding-left: var(--wp--preset--spacing--m);
    padding-right: var(--wp--preset--spacing--m);
    margin-bottom: var(--wp--preset--spacing--s);
}


.wp-block-group.woocommerce.product {
    margin-top: 0;
}

@media only screen and (min-width: 1320px) {
    header.wp-block-template-part .wp-block-navigation__responsive-container-content {
        margin-left: -7rem;
    }

    #logo {
        position: absolute;
        top: 1.75rem;
        left: 50%;
        margin-left: -110px;
        width: 220px;
        z-index: 2;
    }

    #logo a img {
        width: 200px !important;
    }
}

@media only screen and (max-width: 1319px) {
    header.wp-block-template-part .are-vertically-aligned-center > .wp-block-column:last-of-type {
        flex-basis: max-content !important;
    }

    #logo,
    #logo a,
    #logo a img {
        width: 200px !important;
        text-align: left;
    }

    .wp-block-navigation__responsive-container-content .wp-block-spacer {
        display: none;
    }

    .wc-block-product-template__responsive.columns-3 {
        grid-template-columns: repeat(auto-fill, minmax(max(150px, calc(33.33333% - .5em)), 1fr));
    }

    .wc-block-product-template__responsive.columns-2 {
        grid-template-columns: repeat(auto-fill, minmax(max(150px, calc(50% - .580em)), 1fr));
    }


}


@media only screen and (max-width: 600px) {

    .wc-block-product-template__responsive.columns-3,
    .wc-block-product-template__responsive.columns-2 {
        grid-template-columns: 1fr !important;
    }

}

.wp-block-embed iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9!important;
}