/*
Theme Name: Krois Brewery
Theme URI: https://www.kroisbrewery.com/
Template: astra
Author: ABMG web & PPC
Author URI: https://abmg.hu
Description: Astra gyerek blokksablon.
Requires at least: 6.4
Tested up to: 6.9.4
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kroisbrewery
*/


body {
    margin: 0 auto;
    max-width: 1920px;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

*:focus{
    outline: none !important;
    stroke: none !important;
}

::selection{
    color: #CCC9BD;
    background-color:  #FF503B;
}

a,
a:hover{
    text-decoration: none !important;
}

mark {
    color: var(--ast-global-color-0);
}

.uagb-buttons-repeater,
.uagb-buttons-repeater > .uagb-button__link {
    transition: 300ms ease-in-out !important;
}

span.lowerCase{
    text-transform: lowercase;
}

.ast-logo-title-inline .site-logo-img {
    padding: 0 !important;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-fill {
    background-color: var(--ast-global-color-4) !important;
}

body.page:not(.home) .ast-container,
body.woocommerce:not(.home) header .ast-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 !important;
}

body.page:not(.home) #primary,
body.woocommerce:not(.home) #primary {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body.page:not(.home) .ast-builder-grid-row:has(> .site-header-primary-section-left),
body.woocommerce:not(.home) .ast-builder-grid-row:has(> .site-header-primary-section-left) {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

body.page:not(.home) .site-branding,
body.woocommerce:not(.home) .site-branding {
    padding: 20px 0 0 0;
}

.uagb-icon-list__source-wrap svg path,
.uagb-icon-list__label {
    transition: 400ms ease-in-out;
}

.woocommerce-breadcrumb a {
    transition: 400ms ease-in-out;
}

.woocommerce-breadcrumb a:hover {
    color: var(--ast-global-color-0);
}

/*AGE GATE*/
.age-gate {
    background: transparent !important;
}

.age-gate__heading-title--logo {
    width: 250px !important;
    height: 250px !important;
    object-fit: contain !important;
}

.age-gate__button {
    color: #fff !important;
    background-color: #DD183B !important;
    transition: 400ms ease-in-out !important;
    border-radius: 4px !important;
}

.age-gate__button:hover {
    background-color: #CC1939 !important;
}

.age-gate__remember {
    position: relative;
    padding-left: 20px;
}

.age-gate__remember::before,
.age-gate__remember::after {
    content: '';
    display: block;
    position: absolute;
    transition: 300ms ease-in-out;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.age-gate__remember::before {
    width: 20px;
    height: 20px;
    background-color: #fff;
}

.age-gate__remember::after {
    content: '\2713';
    display: block;
    font-size: 14px;
    left: 5px;
    padding-bottom: 4px;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    line-height: 1;
}

.age-gate__remember:has(input:checked)::before {
    background-color: #CC1939 !important;
}

.age-gate__remember:has(input:checked)::after {
    opacity: 1;
    visibility: visible;
}

.age-gate__remember input {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.nullMargin {
    margin: 0 !important;
}

@media (min-width: 1300px) {
    .ast-footer-copyright {
        padding-left: 55px !important;
    }
}
@media (max-width: 359.98px) {
    .age-gate__form-elements {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

.featuredMenu img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important;
    background-color: var(--ast-global-color-5) !important;
}

/*MODERN CART*/
#moderncart-floating-cart {
    gap: 20px !important;
}

#moderncart-floating-cart .moderncart-floating-cart-button-notification {
    background-color: var(--ast-global-color-1);
    color: var(--ast-global-color-2);
    font-size: 1.125rem;
    line-height: 1.1;
    border-radius: 4px;
    border: none;
    padding: 11px 15px;
    position: relative;
    border: 2px solid var(--ast-global-color-2);
}

#moderncart-floating-cart .moderncart-floating-cart-button-notification::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%) rotate(45deg);
    background-color: var(--ast-global-color-1);
    width: 18px;
    height: 18px;
    border-right: 2px solid var(--ast-global-color-2);
    border-top: 2px solid var(--ast-global-color-2);
}

#moderncart-floating-cart button {
    transition: 400ms ease-in-out;
}

#moderncart-floating-cart button:hover {
    background-color: var(--ast-global-color-1);
}

.moderncart-modal-wrap span,
.moderncart-cart-item-product span,
.moderncart-slide-out-footer span,
.moderncart-modal-wrap input {
    color: var(--ast-global-color-4) !important;
}

.moderncart-cart-line-items-value .woocommerce-Price-amount {
    white-space: nowrap;
}

.site-branding .custom-logo,
.site-footer-primary-section-1 img {
    transition: 400ms ease-in-out;
    filter: drop-shadow(0 0 16px #DD183B00);
}

.site-branding .custom-logo:hover,
.site-footer-primary-section-1 img:hover {
    filter: drop-shadow(0 0 16px #dd183c8c);
}

.woocommerce-account #main {
    padding: 300px 20px 40px 20px !important;
}

.woocommerce .woocommerce-Addresses .woocommerce-Address-title, .woocommerce .woocommerce-Addresses .woocommerce-column__title, .woocommerce .woocommerce-MyAccount-content .woocommerce-Address-title, .woocommerce .woocommerce-MyAccount-content .woocommerce-column__title, .woocommerce .woocommerce-customer-details .woocommerce-Address-title, .woocommerce .woocommerce-customer-details .woocommerce-column__title, .woocommerce-account .woocommerce-Addresses .woocommerce-Address-title, .woocommerce-account .woocommerce-Addresses .woocommerce-column__title, .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title, .woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title, .woocommerce-account .woocommerce-customer-details .woocommerce-Address-title, .woocommerce-account .woocommerce-customer-details .woocommerce-column__title,
.woocommerce-page.woocommerce-checkout .woocommerce-order h2.woocommerce-column__title, .woocommerce-page.woocommerce-checkout .woocommerce-order h2.woocommerce-order-details__title, .woocommerce.woocommerce-checkout .woocommerce-order h2.woocommerce-column__title, .woocommerce.woocommerce-checkout .woocommerce-order h2.woocommerce-order-details__title,
.woocommerce-js table.shop_table thead, .woocommerce-page table.shop_table thead {
    background-color: transparent !important;
}

.woocommerce-account h2 {
    font-size: 48px !important;
}

.woocommerce-order-details {
    overflow: auto !important;
}

.woocommerce-order-overview > li:not(:last-child) {
    margin-bottom: 12px;
}

.ast-separate-container .entry-content > .alignfull,
.ast-separate-container .entry-content[data-ast-blocks-layout] > .alignwide, .ast-plain-container .entry-content[data-ast-blocks-layout] > .alignwide,
.ast-plain-container .entry-content .alignfull {
    margin-left: 0;
    margin-right: 0;
}

/*ADDITIONAL HOVERS*/
.beerBottleCont img {
    transition: 400ms ease-in-out;
    filter: drop-shadow(0 0 12px #CC193900) !important;
}

.beerBottleCont .wp-block-uagb-container:has(a:hover) img {
    filter: drop-shadow(0 0 22px #cc193aa4) !important;
}

.featuredMenu > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container > .wp-block-uagb-container .uagb-ifb-title,
.featuredMenu > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container > .wp-block-uagb-container .uagb-heading-text {
    transition: 400ms ease-in-out;
}

.featuredMenu > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container > .wp-block-uagb-container:has(a:hover) .uagb-ifb-title,
.featuredMenu > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container > .wp-block-uagb-container:has(a:hover) .uagb-heading-text {
    color: var(--ast-global-color-1) !important;
}

.srfm-button {
    transition: 400ms ease-in-out !important;
}

/*AGE GATE*/
.age-gate__wrapper {
    z-index: 1000000;
}

/*COMPLIANZ*/
#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div, #cmplz-document .cmplz-dropdown .cookies-per-purpose div, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown .cookies-per-purpose div {
    background: var(--ast-global-color-5) !important;
}

#cmplz-document a[target="_blank"]::after, .editor-styles-wrapper .cmplz-unlinked-mode a[target="_blank"]::after {
    filter: brightness(0) invert(1);
}

/*IMPRINT*/
.legalTable table {
    width: unset !important;
    max-width: unset !important;
}

.legalTable td {
    white-space: nowrap !important;
}

/*BREWERY PATTERN*/
.breweryRow img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.middleBox {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    pointer-events: none !important;
}

.middleBox a {
    pointer-events: all !important;
}

.pubEventsCont .tribe-events-view {
    padding-top: 60px !important;
}