/*
Theme Name: Lilia Theme
Theme URI: https://kwiaciarnia-lilia.local
Author: Kwiaciarnia Lilia
Author URI: https://kwiaciarnia-lilia.local
Description: Motyw hybrydowy 1:1 dla Kwiaciarni Lilia.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: lilia-theme
*/
@font-face{
    font-family: NotoSansGothic;
    src: url(fonts/Marcellus-Regular.ttf);
    font-weight: normal;
}

:root{
    /* MINE IMPORTANT -> HEADER, LOZAD, SECTIONS*/
    --header-height: 140px;
    --section-space-mobile: 50px;
    --section-space: 25px;
    --lozad-animation: 0.8s;
    --lozad-animation-delay: 0.5s;
    --global-transition: 0.3s;

    --header: #030303;
    --header-scroll: rgba(255,109,109,0.8);
    --shadow: 5px 5px 5px rgba(55,55,55,0.2);

    --black: #111111;
    --black-secondary: #333333;
    --primary-color: #666565;
    --primary-color-hover: #9e9e9e;
    --primary-color-text: #ffffff;
    --secondary-color: #8B0000;
    --secondary-color-hover: #e37b7b;
    --secondary-color-text: #ffffff;
    --white: #ffffff;

    --banner-headspace: 140px;

   --silver-gradient: linear-gradient( 95deg, #888888 30%, #eeeeee, #d1d0d0);

    /* BANNER */
    --min-banner-height: 100vh;
    --min-banner-height: 100svh;

    /* BUTTONS */
    --button: #8181ff;
    --button-hover: #9b9bff;

    --color-accent: #333;
}

@media (max-width:737px){
    :root{
        --header-height: 20vw;
    }
}

::selection{
    background-color: var(--primary-color) !important;
    color:white;
}

html,body{
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    color: var(--white);
    font-family: "NotoSansGothic", sans-serif !important;
    scroll-padding-top: var(--header-height);
    word-break: break-word;
}

body{
    background-color: #111111 !important;
}

a, a:focus,
.lilia-shop-page .lilia-help-box a{    
    color: #c1aa78;
}

.lilia-shop-page .lilia-help-box a img{
    filter: invert(71%) sepia(7%) saturate(1717%) hue-rotate(3deg) brightness(97%) contrast(87%);
}

a:hover,
.lilia-shop-page .lilia-help-box a:hover{
    color: #ffffff
}

.lilia-shop-page .lilia-help-box a:hover img{
    filter: invert(100%) sepia(0%) saturate(100%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

/* Minimalne poprawki pod WordPress, bazowe style pochodza z assets/css/style.css */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

[x-cloak] {
	display: none !important;
}

#header{
    padding: 0 !important;
    position: fixed;
    width: 100%;
    z-index: 100;
    backdrop-filter: none;
    background: transparent;
    border-bottom: 0;
}

.header-bg{
    background-image: linear-gradient(180deg, black, transparent);
}

#header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}
#header .header-second{
    padding: 20px 0;
    transition: var(--global-transition);
    min-height: 105px;
    display: flex;
        background-image: linear-gradient(180deg, black, transparent);
}
#header.header-scroll .header-second{
    padding:  10px 0;
    min-height: auto;
        background: var(--black);
    border-bottom: double 4px lightgray;
}

#header .header-first{
    transition: var(--global-transition);
    padding-top: 7px;
    padding-bottom: 7px;
}

.header-space{
    transition: 0.3s linear;
    height: 120px;
    height: var(--header-height);
}

.header-padding{
    padding-top: calc(var(--header-height) * 2);
}

@media (max-width:767px){
    .header-padding{
        padding-top: var(--header-height);
    }
}

.logo img {
    max-height: 100px;
    transition: 0.3s;
    aspect-ratio: 1318/665;
    height: auto;
}

.header-scroll .logo img{
    max-height: 70px;
}

header nav .lilia-menu-account-item, header nav .lilia-menu-cart-item {
    display: inline-block;
    align-items: center;
    margin-right: 5px;
}

.header-col-left{
display: inline-block;
width: 150px;
}
.header-col-right{
    display: inline-block;
    width: calc(100% - 150px);
}

.header-col-right nav{
    justify-self: end;
}

#mega-menu-primary .dashicons-admin-home{
    position: relative;
}

#mega-menu-primary .dashicons-admin-home a{
    display: block;
    position: relative;
    font-size: 0 !important;
    width: 50px !important;
}

#mega-menu-primary .dashicons-admin-home::before {
    content: '';
    background-image: url('assets/images/icons/home.svg');
    filter: invert(1);
    display: block !important;
    opacity: 1 !important;
    height: 24px !important;
    width: 24px !important;
    background-size: 24px 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

#top{
    height: var(--header-height);
}

.hero, .parallax-section{
    position: relative;
    overflow: hidden;
    min-height: 25vw;
}

.hero{
        min-height: calc(100dvh - var(--header-height));
    align-content: center;
}

.parallax-section{
    filter: grayscale(1);
    transition: 1s;
}

.parallax-section:hover{
    filter: grayscale(0);
}

.hero:before, .parallax-section:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(180deg, #111111, rgba(0.07, 0.07, 0.07, 0.4) 20%, rgba(0.07, 0.07, 0.07, 0.4) 80%, #111111 100%);
    z-index: 1;
    pointer-events: none;
}

.section{
    border: none !important;
}

li{
    color: white !important;
}
.section img:not(.logo img), .card img, .gallery-item img, .product-card img, .result-card img, .hero img, .grid-2 img, .grid-3 img, .carousel-track img{
    border: double 4px lightgray;
    padding: 3px;
    border-radius: 1px !important;
    outline: none !important;
}

.radial-white-after{
    position: relative;
}

.radial-white-after:after, .card:after{
    content: "";
    width: 100%;
    max-width: 600px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 1 / 1;
    z-index: -1;
    background-image: radial-gradient(#595959, transparent 70%);
    opacity: 0.5;
}

.card:after{
    opacity: 0 !important;
    transition: 1s;
}

.card:hover:after{
    opacity: 0.5 !important;
}

.container{
    z-index: 1;
    position: relative;
}

.section{
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (max-width:767px){
    .section{
        padding-top: 50px;
        padding-bottom:50px;
    }
}

p{color: white;}

/*
h1, .h1 {font-size: clamp(1.8rem, 4.5vw, 3.6rem) !important;}
h2, .h2 {font-size: clamp(1.5rem, 3.5vw, 2.7rem) !important;}
h3, .h3 {font-size: clamp(1.3rem, 3vw, 2.4rem) !important;}
h4, .h4 {font-size: clamp(1.2rem, 2.5vw, 2rem) !important;}
h5, .h5 {font-size: clamp(1.1rem, 2vw, 1.7rem) !important;}
h6, .h6 {font-size: clamp(1rem, 1.7vw, 1.4rem) !important;}
*/
.button.secondary, .button.is-secondary, .button{
    border: double 4px lightgray !important;
}

.blog-stat .number{
    color: white !important;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item a.mega-menu-link:before {
    display: inline-block;
    font: inherit;
    font-family: dashicons;
    position: static;
    margin: 0 6px 0 0px;
    vertical-align: top;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: inherit;
    background: transparent;
    height: auto;
    width: auto;
    top: auto;
}

@media (min-width: 1199px) {
    #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link:before {
        content: "";
        width: 100px !important;
        height: 100px !important;
        position: absolute !important;
        top: 50% !important;
        left: 50%;
        transform: translate(-50%, -50%);
        aspect-ratio: 1 / 1;
        z-index: -1;
        background-image: radial-gradient(#5b5b5b, transparent 70%) !important;
        opacity: 0;
        transition: 1s;
        pointer-events: none;
    }
    #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link:hover:before {
        opacity: 0.8;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
        font-size: clamp(14px, 1.2vw, 18px);
    }
}

.product-image{
    margin-left:auto;
    margin-right: auto;
}

#mega-menu-wrap-primary{
    margin-left:auto;
}

article .blog-post-image{
    align-content: center;
}

.article-content h3,
.woocommerce-Price-amount{
    color: white !important;
}

.lilia-gallery-lightbox__close {
    top: 4px !important;
    right: 4px !important;
}

/*ul li::marker{
    display: none;
    font-size:0;
}*/

footer{
        background-color: black;
    color: white;
    padding: 15px 0px;
    border-top: 4px double lightgray;
    margin-top: 0;
}

#backToTop{
    position: fixed;
    bottom: 90px;
    right: 18px;
    width: 60px;
    height: 60px;
    z-index: 100;
    border-radius: 999px;
    background-image: linear-gradient(135deg, #757575, #dfdfdf, #fdfdfd, #dfdfdf) !important;
    box-shadow: 8px 8px 8px black;
    opacity: 0.8;
    transform: scale(0.9);
    transition: 300ms;
    color: black;
}

#backToTop:after {
    content: '\f142';
    font-family: dashicons;
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-54%, -50%);
    text-shadow: 0px 0px 4px black;
}

.back-to-top::before{
    display: none;
}

::-webkit-scrollbar { width: 0.6em; }
::-webkit-scrollbar-track { background-color:black; }
::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius:0;
    border:solid 2px black;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--primary-color-hover); }

.button{
    transition: 1s;
}

.button:hover{
    color: white !important;
    background-color: rgba(200, 200, 200, 0.3) !important;
        box-shadow: 0 0 30px black, inset 0 0 15px black !important;
    text-shadow: 0px 0px 10px black, 0px 0px 10px black, 0px 0px 10px black;
}

.lilia-shop-tabs a.tab.active{
    background: #333 !important;
    border-top: solid 1px #999999 !important;
    border-left: solid 1px #999999 !important;
    border-right: solid 1px #999999 !important;
    border-bottom: 0 !important;
    position: relative;
    bottom: -1px;
}

.tab{
    background-color: black;
}

.tabs{
    border-bottom: 1px solid #999999;
}

.lilia-shop-page .lilia-occasion-link{
    color: white;
}

.lilia-gallery-lightbox__nav{
    padding-bottom: 5px;
}

.lilia-products-grid .lilia-product-card {
    background: #000000 !important;
}

.lilia-products-grid .lilia-product-card:hover{
    background:black !important;
}

.icon-invert{
    height: 120px;
    max-height: 100%;
    width: auto;
    filter: invert(1);
    border:none !important;
    margin: 15px 20px;
}

.border-double{
    border: double 4px lightgray;
    padding: 3px;
    border-radius: 1px !important;
    margin-bottom: 20px;
        display: table;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width:768px) and (max-width: 1199px){
    .grid-4{
        grid-template-columns: repeat(2, 2fr);
    }
}

.product-image {
    justify-self: center;
}

@media (max-width: 768px) {
    footer {
        padding-bottom: 120px !important;
    }
}

.testimonial::before{
    top:5px;
}

.testimonial p{
    padding-top: 15px;
}

@media (min-width:861px) and (max-width:959px){
.lilia-products-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
}

@media (min-width:960px) and (max-width:1199px){
.lilia-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}

select,
select option {
    color: #ffffff !important;
    background: #333333 !important;
}

.checkbox-group{
    margin-bottom: 5px;
    margin-top: 5px;
}

@media (min-width:769px) and (max-width:991px){
.grid-3 {
    grid-template-columns: repeat(2, 1fr);
}
}

.article-content a.button{
    margin-bottom:10px;
}

@media (min-width:600px){
    .article-content a.button+a.button{
        margin-left:10px;
    }
}


.article-content a.button+br{
    display: none;
}

img{
    max-width: 100%;
    height: auto;
}

.grid-2-lg{
    grid-template-columns: 1fr;
}
@media (min-width:992px){
.grid-2-lg {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: center;
}
}

@media (max-width:992px){
    .grid-wpisy{
        grid-template-columns: 1fr !important;
    }
}

.sidebar-category .count {
    padding: 3px;
    align-content: center;
    aspect-ratio: 1 / 1;
    min-width: 30px;
    height: auto;
    text-align-last: center;
    border-radius: 999px !important;
}

.first-section, .lilia-single-product-page{
    padding-top: 0 !important;
}

@media (min-width:769px) and (max-width:991px){
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lilia-account-content-wrap .woocommerce-error::before, .lilia-account-content-wrap .woocommerce-info::before, .lilia-account-content-wrap .woocommerce-message::before{
    position: initial;
}

.wc-block-components-order-summary-item__image img{
    border: 0px !important;
    padding: 0 !important;
        border-radius: 5px !important;
}

.wc-block-components-form .wc-block-components-text-input label, .wc-block-components-text-input label{
    color: #666666;
}

@media (max-width: 605px) {
    .results-grid{
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .quiz-step{
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

.result-card img{
    aspect-ratio: 16/16;
    width: 100%;
    height: auto !important;
    object-fit: contain;
}

.lilia-single-product-page .lilia-gallery-main,
.lilia-single-product-page .lilia-product-gallery-stage{
    min-height: unset !important;
    /*height: auto !important;*/
}

.woocommerce ul.products li.product a img {
    aspect-ratio: 16 / 16;
    object-fit: contain;
}

.tabs, .article-nav{
    flex-flow: wrap;
}

@media (max-width:767px){
    .header-col-left, .header-col-right{
        width: 50%;
    }
    header .container{
        padding-right:15px !important;
    }
}

.woocommerce-notices-wrapper{
        width: 940px;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before{
    position: unset !important;
}

.wc-block-components-order-summary-item{
    flex-flow: wrap;
}

.woocommerce-price-suffix{
    color: #cccccc;
}

.wc-block-checkout__shipping-method-option--selected .wc-block-checkout__shipping-method-option-title,
.wc-block-checkout__shipping-method-option--selected .wc-block-checkout__shipping-method-option-icon{
    color: black;
}

.woocommerce .quantity .qty{
    min-height:30px;
    position: relative;
}

.quantity:before{
    content: "ilość: ";
    color:white;
}

input{
    position: relative;
}

input[type="date" i]::-webkit-calendar-picker-indicator,
input[type="time" i]::-webkit-calendar-picker-indicator{
    filter: invert(1);
    background-color: transparent;
    width: 100%;
    height: 100%;
    background-position: calc(100% - 5px) 50%;
    background-size: 16px 16px;
    z-index: 1;
    position: absolute;
    right: 0;
    top: 0;
}

.page-numbers{
    list-style: none;
        justify-self: center;
}

.page-numbers li{
        display: inline-block;
}

.page-numbers li a, .page-numbers li span.current{
    text-decoration: none;
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: center;
    background-color: black;
    border: double 3px white;
    display: block;
}

.page-numbers li .current{
    background-color: rgba(200, 200, 200, 0.3) !important;
    box-shadow: 0 0 30px black, inset 0 0 15px black !important;
}

label[for=radio-control-wc-payment-method-options-bluemedia] #radio-control-wc-payment-method-options-bluemedia__label:before{
    display: none !important;
}

.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label img{
    border: none !important;
    outline: none !important;
    margin-right: 5px !important;
    height: 34px !important;
    filter: brightness(3) !important;
}

label[for=radio-control-wc-payment-method-options-bluemedia] #radio-control-wc-payment-method-options-bluemedia__label:after {
    position: relative !important;
    background-size: contain !important;
    height: 34px !important;
    max-height: 34px !important;
    bottom: 0 !important;
    left: 0px !important;
        width: 100% !important;
    max-width: 300px !important;
    filter: invert(1) brightness(1.5) !important;
}

.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label{
    flex-wrap: wrap;
}

.atp-block-payment img{
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.atp-block-payment-item-wrapper{
    padding-left: 20px;
}

/*.atp-block-payment-item label{
    background-color: rgba(255,255, 255, 0.7) !important;
    color: black !important;
    padding: 18px;

}

.atp-block-payment-item .atp-active{
    background-color: white !important;
    border: solid 3px #006ec7;
    padding: 16px;
}

.atp-block-payment-item label *{
    color:  black !important;
}*/

.atp-block-payment-item img{
    background: white !important;
}

.atp-block-payment-item .atp-active{
    background: gray !important;
    border: solid 3px #006ec7;
    padding: 16px;
}

.wc-block-checkout__main {
  display: flex;
  flex-direction: column;
}


.wc-block-checkout__form {
  display: flex;
  flex-direction: column;
}

.wc-block-checkout__form > .eu-vat-extra-css {
  order: 6;
}

.wc-block-checkout__form > .wc-block-checkout__actions {
  order: 7;
}