/*
Theme Name: Andrese Maitsed
Theme URI: https://andresemaitsed.ee
Description:
Author: Nanito
Author URI: https://nanito.ee
Template: amfissa
Text Domain: andresemaitsed
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.product-template-default #qodef-page-inner{
    padding-top: 20px;
}

.andrese-product-accordion {
    margin: 25px 0;
    border-top: none;
}

.andrese-accordion-item {
    border-bottom: 1px solid #e5e5e5;
}

.andrese-accordion-toggle {
    width: 100%;
    background: none;
    border: 0;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.andrese-accordion-content {
    padding: 0 0 20px 0;
    font-size: 15px;
    color: #000;
    font-family: "DM Sans",sans-serif;
    line-height: 1.6em;
    font-weight: 400;
}

.andrese-accordion-content p:last-child {
    margin-bottom: 0;
}

.andrese-accordion-icon {
    font-size: 20px;
    line-height: 1;
}

/* Desktop */
@media (min-width: 1025px) {
    .andrese-accordion-icon {
        display: none;
    }

    .andrese-accordion-content {
        display: block !important;
    }

    .andrese-accordion-toggle {
        cursor: default;
    }
}

/* Mobile / tablet */
@media (max-width: 1024px) {
    .andrese-accordion-toggle {
        cursor: pointer;
    }
}

.andrese-ingredient-line {
    font-size: 15px;
    color: #000;
    font-family: "DM Sans",sans-serif;
    line-height: 1.6em;
    font-weight: 400;
}

.andrese-ingredient-line:last-child {
    margin-bottom: 0;
}

.andrese-accordion-item:first-child {
    border-top: none;
}

.andrese-accordion-item:last-child {
    border-bottom: none;
}

.andrese-product-inspiration-cat {
    margin: 40px 0 30px;
}

.andrese-product-inspiration-cat__title {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.3em;
    font-weight: 600;
    color: #000;
}

.andrese-product-inspiration-cat__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.andrese-product-inspiration-cat__item {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    line-height: 1.2em;
    transition: all 0.2s ease;
}

.andrese-product-inspiration-cat__item:hover {
    text-decoration: none;
    border-color: #000;
}

.recipe-category-page__description{
    font-family: "DM Sans", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
    color: #020101;
    margin-bottom: 40px;
}

.andrese-inspiration-recipes{
    padding-top: 40px;
}

#wc-guest-checkout-notice, .wc-block-components-address-form__country{
    display: none !important;
}
.woocommerce-checkout,
.woocommerce-checkout body,
.wp-block-woocommerce-checkout,
.wc-block-checkout {
    --am-bg: #f5f3ef;
    --am-card: #fbfaf7;
    --am-border: #d9d1c7;
    --am-text: #2f2a26;
    --am-muted: #6d665f;
    --am-accent: #c9753d;
    --am-dark: #111111;
    --am-radius: 0;
    font-size: 15px;
}

body.woocommerce-checkout, .qodef-page-title {
    background: var(--am-bg);
    color: var(--am-text);
}

body.woocommerce-checkout #qodef-page-inner {
    padding-top: 40px;
}

.wp-block-woocommerce-checkout-order-summary-block, .wc-block-components-shipping-rates-control{
    background: #fff;
}

/* Always show billing form instead of summary card */
body.woocommerce-checkout .wc-block-components-address-card-wrapper {
    display: none !important;
}

body.woocommerce-checkout .wc-block-components-address-form-wrapper {
    display: block !important;
}

body.woocommerce-checkout .wc-block-components-address-address-wrapper.is-editing .wc-block-components-address-form-wrapper,
body.woocommerce-checkout .wc-block-components-address-address-wrapper .wc-block-components-address-form-wrapper {
    display: block !important;
}