/**
 * Theme Name: Aglaia Design
 * Template:   storefront
 */

:root {
    --color-primary: rgba(112, 86, 13, 1);
    --color-primary-90: rgba(112, 86, 13, 0.9);
    --color-primary-75: rgba(112, 86, 13, 0.75);
    --color-primary-50: rgba(112, 86, 13, 0.5);
    --color-primary-25: rgba(112, 86, 13, 0.25);
    --color-secondary: rgba(195, 166, 85, 1);
    --color-secondary-90: rgba(195, 166, 85, 0.9);
    --color-secondary-75: rgba(195, 166, 85, 0.75);
    --color-secondary-50: rgba(195, 166, 85, 0.5);
    --color-secondary-25: rgba(195, 166, 85, 0.25);
    --color-tertiary: rgba(239, 217, 155, 1);
    --color-tertiary-90: rgba(239, 217, 155, 0.9);
    --color-tertiary-75: rgba(239, 217, 155, 0.75);
    --color-tertiary-50: rgba(239, 217, 155, 0.5);
    --color-tertiary-25: rgba(239, 217, 155, 0.25);
    --color-quatriary: rgba(248, 237, 205, 1);
    --color-quatriary-90: rgba(248, 237, 205, 0.9);
    --color-quatriary-75: rgba(248, 237, 205, 0.75);
    --color-quatriary-50: rgba(248, 237, 205, 0.5);
    --color-quatriary-25: rgba(248, 237, 205, 0.25);

    --color-white: #ffffff;
    --color-white-75: rgba(100%, 100%, 100%, 75%);
    --color-white-50: rgba(100%, 100%, 100%, 50%);
    --color-white-25: rgba(100%, 100%, 100%, 25%);
    --color-black: #000000;
    --color-black-75: rgba(0%, 0%, 0%, 75%);
    --color-black-50: rgba(0%, 0%, 0%, 50%);
    --color-black-25: rgba(0%, 0%, 0%, 25%);
}

body { color: white; }
a { color: white; }

.woocommerce-active .site-header .site-header-cart { text-align: right; }
.site-header-cart .cart-contents::after { margin-left: 20px; }
.site-header-cart .widget_shopping_cart .product_list_widget li a.remove { content: "" !important; }

.footer-widgets.col-3 .block.footer-widget-3 .widget_block { margin-bottom: 0; }

.col-full-flex-row { display: flex; flex-direction: row; align-items: center; }

.site-header, .site-footer { background-color: transparent !important; }
.site-header {
    border-bottom-color: var(--color-primary);
    box-shadow: 0px 10px 10px 5px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0px 10px 10px 5px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 10px 10px 5px rgba(0,0,0,0.4);
}
.site-footer {
    margin-top: 4em;
    border-top-color: var(--color-primary);
    box-shadow: 0px -10px 10px 5px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0px -10px 10px 5px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px -10px 10px 5px rgba(0,0,0,0.4);
}
.home.blog .site-header, .home.page:not(.page-template-template-homepage) .site-header, .home.post-type-archive-product .site-header { margin-bottom: 0; position: relative; }
.home.blog .site-header:after, .home.page:not(.page-template-template-homepage) .site-header:after, .home.post-type-archive-product .site-header:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    background-image: linear-gradient(
            to right var(--color-primary), var(--color-secondary), var(--color-tertiary), var(--color-quatriary)
    );
    filter: blur(10px);
    opacity: 0.6;
}

.col-full-bordered {
    background-color: var(--color-white-25);
    border: 1px solid var(--color-primary);
    box-shadow: 0 5px 15px var(--color-black-50);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 1s ease;
    margin-top: 3em;
    padding-top: 3em;
}
.footer-widgets {
    padding-top: 0;
}

/* POZADI AGLAIA DESIGN - Start */
#page {
    background-image:
            linear-gradient(90deg,var(--color-primary-90) 0%, var(--color-secondary-90) 50%, var(--color-primary-90) 100%),
            url("assets/images/background/page-bg.webp")
;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

body::before {
    opacity: 0.3;
    animation: breathe 2s ease-in-out infinite alternate;
}

/* * Definice samotné animace "breathe" (dýchání)
 * Měníme 'background-size' (váš "scale") a mírně i 'background-position'.
*/
@keyframes breathe {
    0% {
        /* Začínáme s velkým pozadím */
        background-size: 200% 200%;
        background-position: 50% 50%;
    }
    100% {
        /* "Přiblížíme" pozadí a mírně ho posuneme */
        background-size: 250% 250%;
        background-position: 40% 60%;
    }
}
/* POZADI AGLAIA DESIGN - Konec */

/* STRÁNKA - Start */
.content-area {

}
/* STRÁNKA - End */

/* PRODUKTY - Start */
.woocommerce ul.products li.product {
    border: 1px solid var(--color-tertiary);
    border-radius: 0.5em;
    /*box-shadow: 0 5px 5px var(--color-tertiary);*/
    transition: all 1s ease;
    padding-bottom: 1em;
}
.woocommerce ul.products li.product:hover {
    border: 1px solid var(--color-quatriary);
    background-color: var(--color-secondary-50);
    /*box-shadow: 0 5px 5px var(--color-tertiary);*/
}
/* PRODUKTY - Konec */

/* KOSIK - Start */
.storefront-align-wide.page-template-template-fullwidth-php .hentry .entry-content .alignwide, .storefront-align-wide.storefront-full-width-content .hentry .entry-content .alignwide {
    margin-left: 0;
    margin-right: 0;
}
.site-header-cart .widget_shopping_cart {
    background-color: var(--color-primary)!important;
    border: 1px solid var(--color-primary-50)!important;
}
.site-header-cart .widget_shopping_cart .buttons, .site-header-cart .widget_shopping_cart .total {
    background-color: transparent!important;
}
.site-header-cart .widget_shopping_cart .product_list_widget li a.remove {
    content: "";
    opacity: 0;
}
.widget_shopping_cart p.total,
.product_list_widget li {
    border-bottom: 1px solid var(--color-primary-50)!important;
}
.woocommerce-active .site-header .site-header-cart {
    width: 15% !important;
}
/* KOSIK - Konec */

/* BREADCRUMBS - Start */
.storefront-breadcrumb { margin-bottom: 0!important; }
/* BREADCRUMBS - Konec */

/* FORM INPUTS - Start */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="date"],
input[type="password"],
input[type="tel"],
.wc-blocks-components-select .wc-blocks-components-select__select,
textarea,
select {
    background-color: rgba(100%, 100%, 100%, 50%)!important;
    border-color: var(--color-primary)!important;
    border-radius: 8px!important;
    color: var(--color-primary)!important;
    padding: 0.5em!important;
}

input[type="text"]::placeholder,
input[type="number"]::placeholder,
input[type="email"]::placeholder,
input[type="date"]::placeholder,
input[type="password"]::placeholder,
input[type="tel"]::placeholder,
.wc-blocks-components-select .wc-blocks-components-select__select::placeholder,
textarea::placeholder,
select::placeholder
{
    color: #d0417b!important;
}
/* FORM INPUTS - Konec */

/* SEARCH INPUT - Start */
.woocommerce-product-search input {
    background-color: var(--color-white-50)!important;
    border-color: #d0417b!important;
    border-radius: 8px!important;
    color: #d0417b!important;
}
.site-search .widget_product_search form::before {

}
/* SEARCH INPUT - Konec */

/* SORTING - Start */
.storefront-sorting { display: inline-flex; align-items: center; width: 100%; }
.storefront-sorting .woocommerce-pagination { margin-left: auto; }
/* SORTING - Konec */

/* MENU - Start */
.storefront-primary-navigation > .col-full {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.woocommerce-active .site-header .main-navigation {
    width: 100%;
}
.main-navigation ul.menu > li, .main-navigation ul.nav-menu > li {
    position: relative !important;
}
.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a {
    padding: 1em 2em;
}
.main-navigation ul.menu > li:hover, .main-navigation ul.nav-menu > li:hover {
    border: 1px solid var(--color-secondary);
    background-color: var(--color-primary)!important;
}
.main-navigation ul.menu ul.sub-menu, .main-navigation ul.nav-menu ul.children {
    border: 1px solid var(--color-secondary);
    background-color: var(--color-primary)!important;
}
.main-navigation ul.menu ul.sub-menu > li:hover, .main-navigation ul.nav-menu ul.children > li:hover {
    background-color: var(--color-secondary)!important;
}
/* MENU - Konec */

/* BREADCRUMBS - Start */
.woocommerce-breadcrumb a {
    color: white;
}
/* BREADCRUMBS - Konec */

.hentry {
    margin-bottom: 2em;
    border-bottom: 1px solid var(--color-primary);
}
.hentry:last-child {
    border-bottom: none;
}
.hentry .entry-header .posted-on, .hentry .entry-header .post-author, .hentry .entry-header .post-comments, .hentry .entry-header .byline {
    color: white;
}
.hentry .entry-header .posted-on a, .hentry .entry-header .post-author a, .hentry .entry-header .post-comments a, .hentry .entry-header .byline a {
    color: white;
}
.hentry .entry-header {
    border-bottom: none;
}
.hentry .entry-taxonomy {
    border-top: none;
    margin-top: 0;
}

.single-entry-header h1 {
    margin-bottom: 0;
}

.list-entry-header h2 {
    margin-bottom: 0;
}

.single-entry-header,
.list-entry-header {
    margin-bottom: 1em !important;
}
.single-entry-header .single-entry-meta,
.list-entry-header .list-entry-meta {
    display: inline-flex;
    gap: 2em;
}

table:not( .has-background ) tbody tr:nth-child(2n) td, fieldset, fieldset legend,
table:not( .has-background ) tbody td,
table:not( .has-background ) th,
.order_details { background-color: var(--color-primary-50); }
.order_details:before, .order_details:after {
    background: -webkit-linear-gradient(transparent 0, transparent 0), -webkit-linear-gradient(135deg, var(--color-primary-50) 33.33%, transparent 33.33%), -webkit-linear-gradient(45deg, var(--color-primary-50) 33.33%, transparent 33.33%);
}

.p-AccordionItem.p-AccordionItem--selected .p-AccordionButton, .p-AccordionItem.p-AccordionItem--selected .p-AccordionButton:hover {
    color: var(--color-primary) !important;
}

.falang-language-switcher.lang-v li a {
    display: inline-flex;
    align-items: center;
}

.block.footer-widget-1 > .widget {
    margin-bottom: 1em;
}
.block.footer-widget-1 .widget_falang {
    display: none;
}