/*
Theme Name: Six
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: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: six
*/

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    margin-top: 0 !important;
}

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


figure:has(img) {
    line-height: 1;
}


body.page-template-page-no-title header.wp-block-template-part:not(.is-sticky) {
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%)
}


body.page-template-page-no-title header.wp-block-template-part:not(.is-sticky) .wp-duotone-secondary-full.wp-block-site-logo img {

    filter: var(--wp--preset--duotone--white);
}


body.page-template-page-no-title header.wp-block-template-part:not(.is-sticky) .wc-block-mini-cart__badge {
    color: #000;
}

body.page-template-page-no-title header.wp-block-template-part {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

header.wp-block-template-part.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #fff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}



header.wp-block-template-part:has([class*="mega-trigger-"]:hover) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[class*="mega-trigger-"]:hover {
    color: #000;
}

main.wp-block-group {
    margin: 0;
}




@media (max-width: 1024px) {

    h1 br,
    h2 br,
    h3 br {
        display: none;
    }
}




.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill {
    padding: .5em .75em;
    min-width: 50px;
    text-align: center;
    border-radius: 0px !important;
}

.wc-block-components-quantity-selector {

    border-radius: 0px !important;

}


.wp-block-navigation[aria-label="mobil-menu"] {
    display: none;
}




.wp-container-core-group-is-layout-e44ade59 > .wp-block-group:nth-of-type(1) {
    flex-basis: 560px;
}

.wp-container-core-group-is-layout-e44ade59 > .wp-block-group:nth-of-type(2) {
    flex-basis: 310px;
}

.wp-container-core-group-is-layout-e44ade59 > .wp-block-buttons {
    flex-basis: 270px;
}



@media (max-width: 1025px) {
    .wp-block-navigation[aria-label="main-menu"] {
        display: none;
    }

    .wp-block-navigation[aria-label="mobil-menu"] {
        display: block;
        flex: 1;
    }

    .contact-info {
        justify-content: space-between;
        flex-basis: 100% !important;
    }

    .contact-info p {
        font-size: 12px;
    }

    .wp-block-site-logo.is-default-size img {
        width: 80px;
    }

    .wp-block-site-logo.aligncenter + .wp-block-group {
        flex: 1
    }

    #idopontfoglalas,
    #idopontfoglalas .wp-block-button {
        display: block;
        justify-content: space-between;
        flex-basis: 100% !important;
        width: 100%;
        font-size: 14px !important;
    }

    header.wp-block-template-part .wp-block-group {
        align-items: flex-end;
        margin-top: 0;
        margin-bottom: 0;
    }

    .wp-block-search {
        display: none;
    }

}


@media (max-width: 420px) {
    .contact-info p:last-of-type {
        display: none;
    }
}











.cf7-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cf7-field {
    display: flex;
    flex-direction: column;
}

.cf7-full {
    grid-column: 1 / -1;
}

.cf7-grid .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.cf7-grid input[type="text"],
.cf7-grid input[type="email"],
.cf7-grid input[type="tel"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 12px 0;
    font-size: inherit;
    color: inherit;
    font-family: inherit;
    outline: none;

    border-radius: 0;
    transition: border-color 0.2s;
}

.cf7-grid input:focus {
    border-bottom-color: #C9A84C;
}

.cf7-grid input[type="submit"] {
    width: 100%;
    background: #C9A84C;
    color: #0D0D0D;
    border: none;
    padding: 16px 36px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;

    transition: background 0.2s;
    border-radius: 0;
}

.cf7-grid input[type="submit"]:hover {
    background: #F2D380;
}

.cf7-grid .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #DC3545;
    margin-top: 4px;
}

.cf7-grid .wpcf7-response-output {
    grid-column: 1 / -1;
    font-size: 13px;
    padding: 12px 16px;
    border-radius: 0;
    margin-top: 8px;
}

@media (max-width: 600px) {
    .cf7-grid {
        grid-template-columns: 1fr;
    }
}






.wp-block-list {
    list-style-type: square;
    padding-left: 0.8em
}

.wp-block-list li {
    margin-bottom: 6px;
    padding-left: 6px;
}

.wp-block-list li::marker {
    content: "◆ ";
    font-size: 10px;
}