/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* Shared declarations reuse existing selectors; component rules retain differences. Keep responsive and state overrides in cascade order. */


:root {
    --shroom-font-text: "Google Sans Flex", Arial, sans-serif;
    --shroom-font-title: "Google Sans Flex", Arial, sans-serif;
    --shroom-container-width: 1440px;
    --shroom-container-gutter: 20px;
    --shroom-primary: #a24d0d;
    --shroom-primary-rgb: 162, 77, 13;
    --shroom-hover: #863d05;
    --shroom-hover-rgb: 134, 61, 5;
    --shroom-primary-dark: var(--shroom-hover);
    --shroom-text: #1e0d09;
    --shroom-text-rgb: 30, 13, 9;
    --shroom-ink: var(--shroom-text);
    --shroom-forest: #173128;
    --shroom-surface: #f8fbf6;
    --shroom-white: #fff;
    --shroom-border: 1px;
    --shroom-radius-sm: 8px;
    --shroom-radius-pill: 999px;
    --shroom-space-xs: 8px;
    --shroom-space-sm: 16px;
    --shroom-space-md: 24px;
    --shroom-space-lg: 32px;
    --shroom-space-xl: 48px;
    --shroom-container-size: min(var(--shroom-container-width), calc(100% - 2 * var(--shroom-container-gutter)));
    --shroom-section-title: clamp(34px, 4vw, 56px);
}

.shroomology-catalog {
    display: grid;
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
    padding: 64px 0 40px;
    color: var(--shroom-ink);
}

.shroomology-catalog__sidebar,
.shroomology-catalog__results,
.woocommerce-cart .woocommerce-cart-form {
    min-width: 0;
}

.shroomology-catalog__sidebar {
    display: grid;
    align-content: start;
    gap: 26px;
}

@media (min-width: 701px) {
    .shroomology-catalog__sidebar {
        --catalog-sticky-top: 24px;
        position: sticky;
        top: var(--catalog-sticky-top);
        align-self: start;
        max-height: calc(100vh - var(--catalog-sticky-top) - 24px);
        max-height: calc(100dvh - var(--catalog-sticky-top) - 24px);
        overflow-y: auto;
        scrollbar-width: thin;
    }

    body.admin-bar .shroomology-catalog__sidebar {
        --catalog-sticky-top: 56px;
    }
}

@media (min-width: 701px) and (max-width: 782px) {
    body.admin-bar .shroomology-catalog__sidebar {
        --catalog-sticky-top: 70px;
    }
}

.shroomology-catalog__filter-panel {
    padding: 30px 26px;
    border-radius: 12px;
    background: var(--shroom-primary);
    color: #fff;
}

.shroomology-catalog__filter {
    padding: 0;
}

.shroomology-catalog__filter+.shroomology-catalog__filter {
    margin-top: 38px;
}

.shroomology-catalog__search>label {
    display: block;
    margin-bottom: 22px;
    font-family: var(--shroom-font-title);
    font-size: 1.65rem;
    line-height: 1.3;
}

/* Shared layout and UI. */
.shroomology-catalog__search-field,
.shroomology-shop-hero,
.shroomology-footer__email-preview,
.shroomology-footer__socials,
.shroomology-footer__nav,
.shroomology-header-actions,
.shroomology-logo-slider__group,
.shroomology-testimonials__author,
.shroomology-home-hero__actions,
.single-product .shroomology-single-product div.product .summary,
.single-product .shroomology-single-product .single_variation_wrap,
.single-product .shroomology-single-product form.cart:not(.variations_form),
.single-product .shroomology-single-product .woocommerce-variation-add-to-cart,
.single-product .shroomology-product-reviews__pagination ul.page-numbers,
.shroomology-newsletter__email-row {
    display: flex;
    align-items: center;
}

.shroomology-catalog__search-field {
    box-sizing: border-box;
    min-height: 52px;
    background: #eeece8;
    border: 1px solid var(--shroom-primary);
    border-radius: 10px;
    padding: 0 10px 0 28px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

/* Shared form controls. */
.shroomology-catalog__search-field input[type="search"],
.shroomology-catalog__search-field input[type="search"]:focus,
.shroomology-catalog__search-field input[type="search"]:focus-visible,
.shroomology-footer__newsletter input[type="email"],
.shroomology-guide-form input,
.shroomology-review-drawer :is(input[type="text"], input[type="email"], textarea),
.shroomology-newsletter__form input[type='email'] {
    box-sizing: border-box;
    width: 100%;
}

.shroomology-catalog__search-field input[type="search"],
.shroomology-catalog__search-field input[type="search"]:focus,
.shroomology-catalog__search-field input[type="search"]:focus-visible {
    flex: 1 1 auto;
    min-width: 0;
    height: 50px;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: var(--shroom-ink);
    font-family: var(--shroom-font-text);
    font-size: .95rem;
    outline: none;
    box-shadow: none;
}

.shroomology-catalog__search-field input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

.shroomology-catalog__search-field input[type="search"]::-webkit-search-cancel-button {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c5362f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E");
    cursor: pointer;
}

.shroomology-catalog__search-field input[type="search"]:-webkit-autofill,
.shroomology-catalog__search-field input[type="search"]:-webkit-autofill:hover,
.shroomology-catalog__search-field input[type="search"]:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--shroom-ink);
    box-shadow: 0 0 0 1000px #eeece8 inset;
}

.shroomology-catalog__search-field input::placeholder {
    color: #858585;
    opacity: 1;
}

.shroomology-catalog__search-field button,
.shroomology-catalog__search-field button:hover,
.shroomology-catalog__search-field button:focus {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: var(--shroom-primary);
    cursor: pointer;
    box-shadow: none;
}

.shroomology-catalog__search-field button:hover {
    color: var(--shroom-ink);
}

/* Shared icons. */
.shroomology-catalog__search-field svg,
.shroomology-newsletter__close svg {
    width: 24px;
    height: 24px;
}

.shroomology-catalog__search-field:focus-within {
    border-color: var(--shroom-primary-dark);
    box-shadow: 0 0 0 1px var(--shroom-primary-dark);
}

.shroomology-catalog__search-field button:focus-visible {
    outline: 2px solid var(--shroom-primary-dark);
    outline-offset: -4px;
    border-radius: 6px;
}

/* Shared headings. */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--shroom-font-title);
    font-weight: 600;
}

.shroomology-catalog__filter h2 {
    margin: 0 0 26px;
    font-size: 1.85rem;
    color: inherit;
}

/* Shared layout and UI. */
.shroomology-catalog__filter ul,
.shroomology-quality__list,
.shroomology-steps,
.shroomology-journey__steps,
.single-product .shroomology-product-reviews__pagination ul.page-numbers {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shroomology-catalog__filter ul.children {
    flex-basis: 100%;
    padding: 12px 0 0 16px;
}

/* Shared layout and UI. */
.shroomology-catalog__filter li,
.shroomology-catalog__toolbar,
.shroomology-footer__row,
.single-product .shroomology-product-acf-details__item summary,
.woocommerce-cart .shroomology-cart-coupon__toggle {
    display: flex;
    justify-content: space-between;
}

.shroomology-catalog__filter li {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .65);
    font-size: 1rem;
}

.shroomology-catalog__filter li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

/* Shared layout and UI. */
.shroomology-catalog__filter li>a,
.shroomology-catalog__filter a:hover,
.shroomology-shop-hero__breadcrumb a,
.shroomology-brand,
.shroomology-brand:hover,
.shroomology-brand:focus,
.shroomology-primary-nav a,
.shroomology-cart-link,
.woocommerce-cart table.shop_table .product-name a {
    color: inherit;
    text-decoration: none;
}

.shroomology-catalog__filter li>a {
    flex: 1;
}

.shroomology-catalog__filter li.current-cat>a {
    font-weight: 600;
    text-decoration: none;
}

.shroomology-catalog__filter a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.shroomology-catalog__toolbar {
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--shroom-text);
}

.woocommerce .shroomology-catalog__toolbar .woocommerce-result-count {
    float: none;
    margin: 0;
    font-family: var(--shroom-font-title);
    font-size: 1.4rem;
}

.woocommerce .shroomology-catalog__toolbar .woocommerce-ordering {
    float: none;
    margin: 0;
    width: 210px;
    max-width: 100%;
}

.shroomology-catalog__toolbar select {
    appearance: none;
    -webkit-appearance: none;
    min-width: 210px;
    max-width: 100%;
    min-height: 46px;
    padding: 0 48px 0 20px;
    border: 1px solid rgba(var(--shroom-text-rgb), .16);
    border-radius: 10px;
    background-color: #f4f1ec;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2324201d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px 16px;
    box-shadow: none;
    color: var(--shroom-text);
    font-family: var(--shroom-font-text);
    font-size: .85rem;
    line-height: 1.2;
}

.shroomology-catalog__toolbar select:focus {
    border-color: rgba(var(--shroom-hover-rgb), .45);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(var(--shroom-hover-rgb), .1);
}

.shroomology-catalog__toolbar select option {
    background: #f4f1ec;
    color: var(--shroom-text);
}

.shroomology-catalog__toolbar select.shroomology-sort__native {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.shroomology-catalog__results {
    position: relative;
}

.shroomology-catalog__results.is-loading :is(ul.products, .woocommerce-pagination) {
    opacity: .32;
    pointer-events: none;
}

.shroomology-catalog__results.is-loading::before {
    content: "";
    position: absolute;
    inset: 56px 0 0;
    z-index: 5;
    background: rgba(248, 251, 246, .72);
    backdrop-filter: blur(2px);
}

.shroomology-catalog__results.is-loading::after {
    content: "";
    position: absolute;
    top: 118px;
    left: 50%;
    z-index: 6;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border: 3px solid rgba(var(--shroom-hover-rgb), .18);
    border-top-color: var(--shroom-hover);
    border-radius: 50%;
    animation: shroomology-spin .8s linear infinite;
}

@keyframes shroomology-spin {
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

.shroomology-sort {
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    width: 100%;
    font-family: var(--shroom-font-text);
}

.shroomology-sort__button {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 18px 0 20px;
    border: 1px solid rgba(var(--shroom-hover-rgb), .28);
    border-radius: 10px;
    background: #f4f1ec;
    color: var(--shroom-text) !important;
    font: inherit;
    font-size: .85rem;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(var(--shroom-text-rgb), .04);
}

.shroomology-sort__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shroomology-sort__button:hover,
.shroomology-sort.is-open .shroomology-sort__button {
    border-color: rgba(var(--shroom-hover-rgb), .5);
    background: #f7f3ed;
    color: var(--shroom-text) !important;
}

.shroomology-sort__button:focus-visible {
    outline: 2px solid rgba(var(--shroom-hover-rgb), .45);
    outline-offset: 3px;
}

.shroomology-sort__icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background: currentColor;
    clip-path: polygon(20% 34%, 50% 64%, 80% 34%, 88% 42%, 50% 80%, 12% 42%);
    opacity: .88;
    transition: transform .2s ease;
}

.shroomology-sort.is-open .shroomology-sort__icon {
    transform: rotate(180deg);
}

.shroomology-sort__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 100%;
    max-width: min(340px, calc(100vw - 32px));
    overflow: hidden;
    padding: 6px;
    border: 1px solid rgba(var(--shroom-hover-rgb), .28);
    border-radius: 12px;
    background: #fbf7ef;
    box-shadow: 0 18px 36px rgba(var(--shroom-text-rgb), .14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease;
}

.shroomology-sort.is-open .shroomology-sort__menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.shroomology-sort__option {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 9px 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--shroom-text);
    font: inherit;
    font-size: .86rem;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    background-clip: padding-box;
}

.shroomology-sort__option+.shroomology-sort__option {
    margin-top: 2px;
}

.shroomology-sort__option:hover,
.shroomology-sort__option:focus-visible {
    outline: 0;
    background: rgba(var(--shroom-primary-rgb), .12);
    color: var(--shroom-text) !important;
}

.shroomology-sort__option.is-selected {
    background: var(--shroom-hover);
    border-radius: 7px !important;
    color: #fff;
}

.shroomology-sort__option.is-selected:hover,
.shroomology-sort__option.is-selected:focus-visible {
    background: var(--shroom-hover);
    color: #fff !important;
}

:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 36px;
    padding: 0;
}

:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products::before,
:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products::after {
    display: none;
}

:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product .onsale {
    background: #dc3545;
    color: #fff;
}

/* Product cards: square photography and a softly raised cream panel. */
/* Shared product cards. */
:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product,
.single-product .related.products li.product {
    --card-inset: clamp(18px, 1.8vw, 32px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 0 var(--card-inset);
    border: 0;
    border-radius: 20px;
    background: #fcfaf7;
    box-shadow: 0 20px 38px rgba(105, 79, 51, .10);
    text-align: left;
}

/* Shared product cards. */
:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product .woocommerce-LoopProduct-link,
.single-product .related.products li.product .woocommerce-LoopProduct-link {
    display: block;
    color: var(--shroom-text);
    text-decoration: none;
}

/* Shared product cards. */
:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product a img,
.single-product .related.products li.product a img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0;
    border-radius: 18px;
}

:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product .woocommerce-loop-product__title {
    position: relative;
    margin: 24px var(--card-inset) 10px;
    padding: 0;
    color: var(--shroom-text);
    font-family: var(--shroom-font-title);
    font-size: clamp(1.35rem, 1.65vw, 1.5rem);
    font-weight: 400;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product .price {
    margin: 0 var(--card-inset) 22px;
    color: var(--shroom-primary);
    font-family: var(--shroom-font-text);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.5;
}

:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product .price ins {
    background: transparent;
    font-weight: 500;
    text-decoration: none;
}

/* Shared product cards. */
:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product .star-rating,
.single-product .related.products li.product .star-rating {
    margin: 0 var(--card-inset) 12px;
    color: var(--shroom-primary);
}

/* Shared product cards. */
:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product .button,
.single-product .related.products li.product .button {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin: auto var(--card-inset) 0;
    
    border-radius: 999px;
    background: var(--shroom-text);
    color: #fff;
    font-family: var(--shroom-font-text);
    line-height: 1.4;
    text-decoration: none;
}

:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product .button {
    box-sizing: border-box;
    justify-content: space-between;
    gap: 22px;
    max-width: calc(100% - var(--card-inset) * 2);
    padding: 15px 26px;
    font-size: .95rem;
    font-weight: 400;
    transition: background-color .2s ease;
}

:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product .button:not(.loading):not(.added)::after {
    content: "";
    flex: 0 0 25px;
    width: 25px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 18' fill='none' stroke='%23fff' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 9h25M19 2l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Keep the loading spinner in the flex layout so the button gap applies. */
:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product .button.loading::after {
    position: static;
    inset: auto;
    flex: 0 0 1em;
    width: 1em;
    height: 1em;
    margin: 0;
    line-height: 1;
}

/* Shared product cards. */
:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product .button:hover,
.single-product .related.products li.product .button:hover {
    background: var(--shroom-hover);
    color: #fff;
}

:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product a:focus-visible {
    outline: 2px solid var(--shroom-primary);
    outline-offset: 4px;
}

:is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products li.product .added_to_cart {
    align-self: flex-start;
    margin: 12px var(--card-inset) 0;
    color: var(--shroom-hover);
}

.woocommerce .shroomology-catalog .price_slider_amount .button {
    padding: 13px 26px;
    border: 1px solid var(--shroom-text);
    border-radius: 999px;
    background: var(--shroom-text);
    color: #fff;
    font-family: var(--shroom-font-text);
    font-size: .85rem;
    font-weight: 400;
    line-height: 1.4;
}

.woocommerce .shroomology-catalog .button:hover {
    background: var(--shroom-hover);
    color: #fff;
}

.woocommerce .shroomology-catalog .button:focus-visible {
    outline: 2px solid var(--shroom-text);
    outline-offset: 4px;
}

.woocommerce .shroomology-catalog .widget_price_filter .price_slider_wrapper .ui-widget-content {
    height: 3px;
    margin: 0 7px 24px;
    background: rgba(var(--shroom-text-rgb), .25);
}

.woocommerce .shroomology-catalog .widget_price_filter .ui-slider .ui-slider-range {
    background: var(--shroom-hover);
}

.woocommerce .shroomology-catalog .widget_price_filter .ui-slider .ui-slider-handle {
    top: -4px;
    width: 11px;
    height: 11px;
    margin-left: -5px;
    border: 1px solid var(--shroom-text);
    border-radius: 50%;
    background: #fff;
}

.woocommerce .shroomology-catalog .widget_price_filter .ui-slider-handle:focus-visible {
    outline: 2px solid var(--shroom-text);
    outline-offset: 4px;
}

/* Shared layout and UI. */
.woocommerce .shroomology-catalog .price_slider_amount,
.shroomology-footer__top,
.shroomology-guide-hero__copy,
.shroomology-benefit-card,
.single-product .shroomology-product-reviews__summary {
    display: flex;
    flex-direction: column;
}

.woocommerce .shroomology-catalog .price_slider_amount {
    align-items: flex-start;
    gap: 18px;
    text-align: left;
    font-size: 1rem;
    color: #fff;
}

.woocommerce .shroomology-catalog .price_slider_amount .button {
    font-size: 1rem;
}

.woocommerce .shroomology-catalog .price_slider_amount .price_label {
    order: -1;
}

.woocommerce .shroomology-catalog .price_slider_amount .clear,
.shroomology-home-faq__item summary::-webkit-details-marker,
.shroomology-cart-count[hidden],
.shroomology-testimonials__pagination[hidden],
.shroomology-testimonials__quote[hidden],
.shroomology-home-hero__overlay,
.single-product .shroomology-product-acf-details__item summary::-webkit-details-marker,
.single-product .related.products>ul.products::before,
.single-product .related.products>ul.products::after {
    display: none;
}

@media (max-width: 1000px) {
    .shroomology-catalog {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 28px;
    }

    :is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .shroomology-catalog {
        grid-template-columns: minmax(0, 1fr);
        padding: 36px 0 56px;
    }

    .shroomology-catalog__sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .shroomology-catalog__filter-panel {
        padding: 24px 18px;
    }
}

@media (max-width: 440px) {
    .shroomology-catalog__sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    :is(.woocommerce .shroomology-catalog, .shroomology-products .woocommerce) ul.products {
        grid-template-columns: minmax(0, 1fr);
    }
}

.shroomology-shop-hero {
    box-sizing: border-box;
    height: 450px;
    padding: 100px 0 30px;
    background:
        linear-gradient(180deg, rgba(20, 9, 5, 0.48), rgba(20, 9, 5, 0.34)),
        url("assets/images/banner%20shop.png") center 48% / cover no-repeat;
    color: var(--shroom-white);
    text-align: center;
}

.shroomology-shop-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(3.25rem, 5vw, 4.5rem);
    line-height: 1.15;
    color: inherit;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

/* Shared layout and UI. */
.shroomology-shop-hero__breadcrumb,
.shroomology-primary-nav,
.shroomology-cart-count,
.shroomology-logo-slider__item,
.shroomology-testimonials__placeholder,
.single-product .shroomology-single-product .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.shroomology-shop-hero__breadcrumb {
    gap: 18px;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.shroomology-shop-hero__breadcrumb a:hover {
    text-decoration: underline;
}

.shroomology-shop-hero__breadcrumb a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

/* Shared action buttons and their icons. */
/* Shared buttons. */


.shroomology-page .shroomology-hero-button:focus-visible,
.shroomology-page .shroomology-routine__button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.shroomology-site-header .shroomology-cart-link svg {
    display: block;
    flex-shrink: 0;
    fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {

    .shroomology-page .shroomology-hero-button,
    .shroomology-page .shroomology-routine__button,
    .shroomology-page .shroomology-hero-button svg,
    .shroomology-page .shroomology-routine__button svg {
        transition: none;
    }
}

html.shroomology-review-drawer-open,
html.shroomology-newsletter-open {
    overflow: hidden;
}

/* Shared drawers. */
.shroomology-review-drawer {
    box-sizing: border-box;
    position: fixed;
    inset: 0 0 0 auto;
    max-width: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #f7f4ee;
    color: var(--shroom-text);
    font-family: var(--shroom-font-text);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.shroomology-review-drawer::backdrop {
    background: rgba(25, 21, 17, .5);
}

/* Shared icons. */
.shroomology-footer__socials svg {
    width: 28px;
    height: 28px;
    transform: translateY(-6px);
}

.wc-block-cart .wc-block-cart__empty-cart__products .wc-block-grid__product-title a {
    color: inherit;
    text-decoration: none;
}

.shroomology-footer__brand {
    display: inline-block;
}

.shroomology-footer {
    background: var(--shroom-text);
    color: #f5f0e8;
    font-family: var(--shroom-font-text);
}

.shroomology-footer__top {
    align-items: center;
    padding: 54px 0 32px;
    text-align: center;
}

.shroomology-footer__brand img {
    display: block;
    width: 180px;
    height: auto;
}

.shroomology-footer h2 {
    margin: 28px 0 30px;
    color: inherit;
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    line-height: 1.35;
}

.shroomology-footer h2 em {
    color: var(--shroom-primary);
}

.shroomology-footer__newsletter {
    width: min(570px, 100%);
    text-align: left;
}

.shroomology-footer__email-preview {
    gap: 16px;
    border-bottom: 1px solid #8c8175;
}

.shroomology-footer__newsletter input[type="email"] {
    min-width: 0;
    min-height: 48px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #8c8175;
    border-radius: 0;
    background: transparent;
    color: #f5f0e8;
    font-family: inherit;
    font-size: 0.9rem;
    box-shadow: none;
}

.shroomology-footer__email-preview input[type="email"] {
    border-bottom: 0;
}

.shroomology-footer__newsletter input::placeholder {
    color: #bfb3a7;
    opacity: 1;
}

.shroomology-footer__newsletter input:disabled {
    opacity: 1;
    cursor: not-allowed;
}

/* Shared icons. */
.shroomology-footer__email-preview>svg,
.shroomology-cart-link svg,
.shroomology-testimonials__arrow svg,
.shroomology-newsletter__email-row svg {
    width: 22px;
    height: 22px;
}

.shroomology-footer__email-preview>svg {
    flex: 0 0 22px;
    color: var(--shroom-primary);
}

.shroomology-footer__note {
    margin: 10px 0 0;
    color: #bfb3a7;
    font-size: 0.75rem;
}

.shroomology-footer__newsletter button,
.shroomology-footer__newsletter input[type="submit"] {
    margin-top: 14px;
    padding: 12px 24px;
    border: 1px solid var(--shroom-primary);
    border-radius: var(--shroom-radius-pill);
    background: var(--shroom-primary);
    color: var(--shroom-text);
    font-family: inherit;
    cursor: pointer;
}

.shroomology-footer__commitments {
    border-top: 1px solid rgba(var(--shroom-primary-rgb), 0.45);
    padding: 42px 0;
}

.shroomology-footer__commitments-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shroomology-footer__commitment {
    padding: 0 28px;
    text-align: center;
}

.shroomology-footer__commitment+.shroomology-footer__commitment {
    border-left: 1px solid rgba(var(--shroom-primary-rgb), 0.4);
}

.shroomology-footer__commitment>svg {
    display: block;
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    color: #ded7ce;
}

.shroomology-footer__commitment h3 {
    margin: 0 0 6px;
    color: inherit;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    line-height: 1.3;
}

.shroomology-footer__commitment p {
    margin: 0;
    color: #ded7ce;
    font-size: 0.8rem;
    line-height: 1.65;
}

.shroomology-footer__bottom {
    border-top: 1px solid rgba(var(--shroom-primary-rgb), 0.45);
    padding: 38px 0 42px;
}

.shroomology-footer__row {
    align-items: center;
    gap: 24px;
}

.shroomology-footer__socials {
    gap: 18px;
    order: 2;
}

/* Shared layout and UI. */
.shroomology-footer__socials a,
.shroomology-footer__social-placeholder,
.shroomology-steps li::before,
.shroomology-routine__visual,
.shroomology-testimonials__author img,
.shroomology-testimonials__avatar,
.shroomology-testimonials__arrow,
.woocommerce-cart a.remove,
.shroomology-newsletter .shroomology-newsletter__close {
    display: grid;
    place-items: center;
}

.shroomology-footer__socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.shroomology-footer__connections {
    display: flex;
    align-items: stretch;
    gap: 28px;
    order: 2;
    flex-shrink: 0;
}

.shroomology-footer__label {
    margin: 0 0 8px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
    text-transform: uppercase;
}

.shroomology-footer__contact {
    padding-left: 28px;
    border-left: 1px solid rgba(var(--shroom-primary-rgb), 0.4);
}

/* Shared layout and UI. */
.shroomology-footer__contact>a {
    min-height: 44px;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.shroomology-footer__social-placeholder {
    width: 44px;
    height: 44px;
    color: #d9cfc3;
}

.shroomology-footer__nav {
    flex-wrap: wrap;
    gap: 12px 36px;
}

.shroomology-footer a {
    color: #d9cfc3;
    text-decoration: none;
}

.shroomology-footer a:hover {
    color: #fff;
}

.shroomology-footer__nav a {
    min-height: 44px;
    font-size: 0.85rem;
}

.shroomology-footer a:focus-visible,
.shroomology-footer input:focus-visible,
.shroomology-footer button:focus-visible {
    outline: 2px solid var(--shroom-primary);
    outline-offset: 5px;
}

.shroomology-footer__copyright {
    margin: 22px 20px 0;
    color: #bfb3a7;
    font-size: 0.65rem;
    line-height: 1.8;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 820px) {
    .shroomology-footer__commitments {
        padding: 32px 0;
    }

    .shroomology-footer__commitments-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .shroomology-footer__commitment {
        padding: 0 16px;
    }

    .shroomology-footer__commitment+.shroomology-footer__commitment {
        border-left: 0;
        border-top: 1px solid rgba(var(--shroom-primary-rgb), 0.3);
        padding-top: 26px;
    }

    .shroomology-footer__top {
        padding: 48px 0 40px;
    }

    .shroomology-footer__row {
        flex-direction: column;
        gap: 24px;
    }

    .shroomology-footer__connections {
        gap: 18px;
        max-width: 100%;
    }

    .shroomology-footer__contact {
        padding-left: 18px;
        min-width: 0;
    }

    .shroomology-footer__socials:empty {
        display: none;
    }

    .shroomology-footer__nav {
        justify-content: center;
        gap: 4px 24px;
    }

    .shroomology-footer__brand img {
        width: 154px;
    }
}

.shroomology-quality {
    padding: clamp(56px, 7vw, 112px) 0;
    background: #fff;
    color: var(--shroom-ink);
}

/* Shared layout and UI. */
.shroomology-quality__layout,
.shroomology-quality__list li,
.shroomology-home-faq__item summary,
.shroomology-header-container,
.shroomology-testimonials__layout,
.shroomology-journey__step,
.shroomology-home-hero__inner {
    display: grid;
    align-items: center;
}

.shroomology-quality__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(36px, 7vw, 112px);
}

.shroomology-quality__visual {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 5 / 5;
    overflow: hidden;
    border-radius: 50% 50% 8px 8px;
    background: #f4f0e9;
    box-shadow: 0 40px 70px -44px rgba(var(--shroom-text-rgb), .55);
}

/* Shared layout and UI. */
.shroomology-quality__visual img,
.shroomology-guide-hero__visual img,
.shroomology-routine__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shroomology-quality__visual img,
.shroomology-ritual__image>img {
    object-position: center;
}

.shroomology-quality__content h2 {
    margin: 0 0 clamp(28px, 4vw, 52px);
    font-size: var(--shroom-section-title);
    line-height: 1.15;
}

/* Shared headings. */
.shroomology-quality__content h2 em,
.shroomology-home-faq h2 em {
    display: block;
    color: var(--shroom-primary-dark);
}

/* Clean promise rows: hairline dividers, soft icon badges that warm up on hover. */
.shroomology-quality__list {
    display: grid;
    max-width: 560px;
    border-bottom: 1px solid rgba(var(--shroom-text-rgb), .1);
}

.shroomology-quality__list li {
    position: relative;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 20px;
    padding: 22px 0;
}

/* Divider above each row; home-motion.js draws it in by animating --row-line from 0 to 1. */
.shroomology-quality__list li::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(var(--shroom-text-rgb), .1);
    transform: scaleX(var(--row-line, 1));
    transform-origin: left;
}

.shroomology-quality__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--shroom-primary);
    color: var(--shroom-white);
}

.shroomology-quality__icon svg {
    width: 28px;
    height: 28px;
}

.shroomology-quality__list p {
    margin: 0;
    color: var(--shroom-text);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.5;
}

@media (max-width: 820px) {
    .shroomology-quality__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .shroomology-quality__visual {
        max-width: 440px;
        justify-self: center;
    }

    .shroomology-quality__list li {
        gap: 16px;
        padding: 18px 0;
    }
}

.shroomology-home-faq {
    scroll-margin-top: 96px;
    --routine-accent: var(--shroom-primary-dark);
    padding: clamp(48px, 6vw, 96px) 0;
    background: #f4f0e9;
    color: var(--shroom-ink);
}

/* Testimonials share this background, so the two read as one continuous band. */
.shroomology-testimonials+.shroomology-home-faq {
    padding-top: 0;
}

.shroomology-home-faq__panel {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(32px, 6vw, 96px);
    padding: clamp(28px, 5vw, 72px);
    border-radius: 32px;
    background: var(--shroom-white);
}

/* The intro stays beside the long question list instead of leaving a gap. */
.shroomology-home-faq__intro {
    position: sticky;
    top: 112px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 4vw, 48px);
    min-width: 0;
}

.shroomology-home-faq__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
}

.shroomology-home-faq__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--shroom-primary-dark);
}

.shroomology-home-faq h2 {
    margin: 0;
    font-size: var(--shroom-section-title);
    line-height: 1.12;
}

.shroomology-home-faq__help h3 {
    margin: 0 0 10px;
    font-family: var(--shroom-font-text);
    font-size: 1rem;
    font-weight: 500;
}

.shroomology-home-faq__help p {
    max-width: 290px;
    margin: 0 0 22px;
    color: var(--shroom-text);
    font-size: 0.85rem;
    line-height: 1.75;
}

.shroomology-home-faq__list {
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
}

.shroomology-home-faq__item {
    border: 1px solid transparent;
    border-radius: 16px;
    background: #f8f6f2;
    overflow-wrap: anywhere;
}

.shroomology-home-faq__item[open] {
    border-color: rgba(var(--shroom-primary-rgb), 0.35);
}

.shroomology-home-faq__item summary {
    grid-template-columns: 26px minmax(0, 1fr) 34px;
    gap: 18px;
    min-height: 80px;
    padding: 22px 24px;
    list-style: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
}

.shroomology-home-faq__item summary::marker {
    content: "";
}

.shroomology-home-faq__number {
    color: var(--shroom-primary);
    font-weight: 400;
}

/* Round plus button; it fills and turns into a minus when the question is open. */
.shroomology-home-faq__toggle {
    position: relative;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(var(--shroom-primary-rgb), .28);
    border-radius: 50%;
    background: var(--shroom-white);
    color: var(--shroom-primary-dark);
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.shroomology-home-faq__item summary:hover .shroomology-home-faq__toggle {
    border-color: var(--shroom-primary-dark);
}

.shroomology-home-faq__item[open] .shroomology-home-faq__toggle {
    border-color: var(--shroom-primary-dark);
    background: var(--shroom-primary-dark);
    color: var(--shroom-white);
}

/* Shared layout and UI. */
.shroomology-home-faq__toggle::before,
.shroomology-home-faq__toggle::after,
.shroomology-ritual::before,
.shroomology-ritual::after,
.shroomology-journey__step::before,
.shroomology-journey__step::after,
.shroomology-home-hero::after {
    content: "";
    position: absolute;
}

.shroomology-home-faq__toggle::before,
.shroomology-home-faq__toggle::after {
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    margin: -.75px 0 0 -6px;
    border-radius: 1px;
    background: currentColor;
    transition: transform .3s ease;
}

.shroomology-home-faq__toggle::after {
    transform: rotate(90deg);
}

/* The vertical stroke folds flat into the minus. */
.shroomology-home-faq__item[open] .shroomology-home-faq__toggle::after {
    transform: rotate(0deg);
}

.shroomology-home-faq__item>p,
.shroomology-home-faq__item>.shroomology-home-faq__points {
    margin: -4px 60px 24px 68px;
    color: var(--shroom-text);
    font-size: 0.84rem;
    line-height: 1.8;
}

.shroomology-home-faq__points {
    padding-left: 20px;
    list-style: disc;
}

.shroomology-home-faq__points li+li {
    margin-top: 6px;
}

.shroomology-home-faq__item summary:hover {
    color: var(--shroom-primary-dark);
}

.shroomology-home-faq__item summary:focus-visible,
.shroomology-home-faq__help a:focus-visible {
    outline: 2px solid var(--shroom-primary-dark);
    outline-offset: 4px;
    border-radius: 16px;
}

@media (max-width: 820px) {
    .shroomology-home-faq__panel {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 24px;
    }

    .shroomology-home-faq__intro {
        position: static;
        gap: 28px;
    }

    .shroomology-home-faq__help p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .shroomology-home-faq__panel {
        padding: 28px 18px;
    }

    .shroomology-home-faq__item summary {
        gap: 10px;
        padding: 18px 14px;
    }

    .shroomology-home-faq__item>p,
    .shroomology-home-faq__item>.shroomology-home-faq__points {
        margin: 0 20px 22px 50px;
    }
}



body,
button,
input,
select,
textarea,
.shroomology-site-header,
.shroomology-primary-nav {
    font-family: var(--shroom-font-text);
    font-weight: 400;
}

.shroomology-site-header {
    z-index: 20;
    width: 100%;
  
    color: var(--shroom-text);
}

body.home .shroomology-site-header,
body.page-template-page-home .shroomology-site-header {
    position: absolute;
    top: 0;
    left: 0;
    padding: 14px 0 0;
}

.admin-bar body.home .shroomology-site-header,
.admin-bar body.page-template-page-home .shroomology-site-header {
    top: 32px;
}

/* Shared layout and UI. */
.shroomology-header-container,
.shroomology-container {
    box-sizing: border-box;
    width: var(--shroom-container-size);
    margin: 0 auto;
}

.shroomology-header-container {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
    min-height: 54px;
    align-items: center;
    gap: clamp(22px, 4vw, 80px);
    padding: 8px;
    border: 1px solid rgba(15, 15, 15, 0.08);
    border-bottom-color: rgba(15, 15, 15, 0.14);
    border-radius: 999px;
    background: #fbfbfb;
    box-shadow: 0 10px 24px rgba(15, 15, 15, 0.08);
    backdrop-filter: blur(12px);
}

.shroomology-header-container {
    transition: translate .25s ease;
    z-index: 1;
}

.shroomology-header-container.is-scroll-hidden {
    translate: 0 calc(-100% - 100px);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .shroomology-header-container {
        transition: none;
    }
}

.shroomology-brand {
    min-width: 0;
    gap: 9px;
    display: flex;
    align-items: center;
    width: fit-content;
    justify-self: start;
    color: inherit;
    text-decoration: none;
}

.shroomology-brand__logo {
    display: block;
    width: 36px;
    height: 36px;
}

.shroomology-brand__name {
    overflow: hidden;
    color: inherit;
    font-size: 18px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shroomology-primary-nav {
    display: flex;
    justify-self: center;
    justify-content: center;
    gap: 40px;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

.shroomology-primary-nav a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease;
}

.shroomology-primary-nav a:hover,
.shroomology-primary-nav a:focus {
    color: var(--shroom-hover);
    text-decoration: none;
}

.shroomology-primary-nav a.active,
body.home .shroomology-primary-nav a:first-child,
body.page-template-page-home .shroomology-primary-nav a:first-child {
    color: var(--shroom-hover);
    text-decoration: none;
}

body.home .shroomology-primary-nav a:hover,
body.home .shroomology-primary-nav a:focus,
body.page-template-page-home .shroomology-primary-nav a:hover,
body.page-template-page-home .shroomology-primary-nav a:focus {
    color: var(--shroom-hover);
}

body:not(.home):not(.page-template-page-home) .shroomology-primary-nav a.active {
    color: var(--shroom-hover);
}

.shroomology-header-actions {
    justify-self: end;
    justify-content: flex-end;
}

.shroomology-menu-control,
.shroomology-menu-toggle {
    display: none !important;
}

.shroomology-cart-link {
    position: relative;
    min-width: 96px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 0 18px;
    color: #fff;
    border: 1px solid var(--shroom-text);
    border-radius: 999px;
    background: var(--shroom-text);
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.shroomology-cart-link:hover,
.shroomology-cart-link:focus {
    background: var(--shroom-hover);
    border-color: var(--shroom-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.shroomology-cart-link>span:first-child:not(.shroomology-cart-icon):not(.shroomology-cart-label) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.shroomology-cart-label {
    color: inherit;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1;
}

.shroomology-cart-icon {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}


.shroomology-cart-count {
    position: absolute;
    top: -12px;
    right: -12px;
    box-sizing: border-box;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e45157;
    color: #fff;
    font-family: var(--shroom-font-text);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
}

.screen-reader-text,
.shroomology-cart-count .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.shroomology-page {
    color: #173128;
    background: #f8fbf6;
    font-family: inherit;
}

.shroomology-hero {
    padding: clamp(140px, 12vw, 180px) 0 clamp(40px, 7vw, 72px);
    background: linear-gradient(135deg, rgba(32, 102, 79, 0.92), rgba(143, 176, 89, 0.74)), #20664f;
    color: #fff;
}

.shroomology-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.25rem, 6vw, 4.75rem);
    line-height: 1;
    letter-spacing: 0;
}

.shroomology-hero p {
    max-width: 680px;
    margin: 20px 0 0;
    font-size: 1.125rem;
    line-height: 1.7;
}

.shroomology-eyebrow {
    margin: 0 0 16px;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.shroomology-section {
    padding: clamp(44px, 7vw, 84px) 0;
}

/* How To: a single full-width guide hero using the supplied artwork. */
.shroomology-how-to {
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    background: #f6f2ea;
}

/* Override Hello Elementor's desktop .site-main { max-width: 1140px } rule for this full-bleed page. */
body:not([class*="elementor-page-"]) .site-main.shroomology-how-to {
    width: 100vw !important;
    max-width: none !important;
    margin-right: calc(50% - 50vw) !important;
    margin-left: calc(50% - 50vw) !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.shroomology-guide-hero {
    width: 100%;
    min-height: min(920px, calc(100vh - 80px));
    background: #f6f2ea;
    color: var(--shroom-text);
}

.shroomology-guide-hero__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(1440px, calc(100% - 40px));
    max-width: none;
    min-height: inherit;
    margin: 0 auto;
}

.shroomology-guide-hero__visual {
    display: block;
    min-height: inherit;
    overflow: hidden;
    order: 2;
}

.shroomology-guide-hero__visual img {
    object-position: 85%;
}

.shroomology-guide-hero__copy {
    box-sizing: border-box;
    justify-content: center;
    width: auto;
    margin-left: 0;
    padding: 100px 0;
}

.shroomology-guide-hero__eyebrow {
    display: none;
    margin: 0 0 24px;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    letter-spacing: .3em;
    text-transform: uppercase;
}

.shroomology-guide-hero h1 {
    margin: 0;
    color: var(--shroom-text);
    font-size: clamp(4rem, 6vw, 6.5rem);
    line-height: .96;
}

.shroomology-guide-hero h2 {
    margin: 36px 0 18px;
    color: var(--shroom-text);
    font-size: clamp(1.6rem, 2.3vw, 2.2rem);
    line-height: 1.25;
}

.shroomology-guide-hero__intro {
    max-width: 650px;
    margin: 0;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.6;
}

.shroomology-guide-form {
    max-width: 650px;
    margin-top: 42px;
}

.shroomology-guide-form p {
    margin: 0 0 22px;
}

.shroomology-guide-form__names {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.shroomology-guide-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--shroom-text);
    font-family: var(--shroom-font-title);
    font-size: 1.1rem;
}

.shroomology-guide-form input {
    height: 62px;
    padding: 0 18px;
    border: 1px solid #cbbdaf;
    border-radius: 8px;
    background: rgba(255, 255, 255, .35);
    color: var(--shroom-text);
    font-family: var(--shroom-font-text);
    font-size: 1.05rem;
}

.shroomology-guide-form input::placeholder {
    color: var(--shroom-primary);
    opacity: 1;
}

.shroomology-guide-form input:focus {
    border-color: var(--shroom-hover);
    outline: 2px solid rgba(var(--shroom-hover-rgb), .2);
    outline-offset: 2px;
}

/* Shared buttons. */
.shroomology-guide-form button,
.shroomology-review-drawer .submit {
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-family: var(--shroom-font-text);
    font-size: .95rem;
    cursor: pointer;
}

.shroomology-guide-form button {
    gap: 22px;
    min-height: 66px;
    margin-top: 10px;
    padding: 0 38px;
    background: var(--shroom-hover);
    letter-spacing: .18em;
    text-transform: uppercase;
}

.shroomology-guide-form button:hover {
    background: var(--shroom-hover);
}

.shroomology-guide-form button:focus-visible {
    outline: 2px solid var(--shroom-hover);
    outline-offset: 4px;
}

.shroomology-guide-form button span {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
}

@media (max-width: 900px) {
    .shroomology-guide-hero {
        min-height: 0;
    }

    .shroomology-guide-hero__content {
        grid-template-columns: minmax(0, 1fr);
    }

    .shroomology-guide-hero__visual {
        min-height: 520px;
        order: 1;
    }

    .shroomology-guide-hero__copy {
        order: 2;
    }
}

@media (max-width: 640px) {
    .shroomology-guide-hero__content {
        width: 100%;
    }

    .shroomology-guide-hero__visual {
        min-height: 360px;
    }

    .shroomology-guide-hero__copy {
        padding: 64px 24px;
    }

    .shroomology-guide-form__names {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
}

/* Shared layout and UI. */
.shroomology-grid,
.shroomology-home-benefits__grid,
.single-product .related.products>ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.shroomology-shop .shroomology-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Shared layout and UI. */
.shroomology-card,
.shroomology-steps li,
.shroomology-faq-list details {
    border: 1px solid rgba(23, 49, 40, 0.12);
    border-radius: 8px;
    background: #fff;
}

.shroomology-card {
    min-height: 220px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(23, 49, 40, 0.08);
}

.shroomology-card h2,
.shroomology-steps h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.shroomology-card p,
.shroomology-steps p,
.shroomology-faq-list p {
    margin: 0;
    color: #53625c;
    line-height: 1.65;
}

.shroomology-products .woocommerce {
    width: 100%;
}

.shroomology-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    counter-reset: shroomology-step;
}

.shroomology-steps li {
    position: relative;
    min-height: 190px;
    padding: 76px 28px 28px;
    counter-increment: shroomology-step;
}

.shroomology-steps li::before {
    position: absolute;
    top: 28px;
    left: 28px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d3eb7f;
    color: #173128;
    font-weight: 400;
    content: counter(shroomology-step);
}

.shroomology-faq-list {
    display: grid;
    gap: 14px;
}

.shroomology-faq-list summary {
    cursor: pointer;
    padding: 22px 24px;
    font-size: 1.05rem;
    font-weight: 400;
}

.shroomology-faq-list details[open] summary {
    border-bottom: 1px solid rgba(23, 49, 40, 0.1);
}

.shroomology-faq-list details p {
    padding: 20px 24px 24px;
}

/* Shared layout and UI. */
.shroomology-home,
body[class*="page-template-page-home"] .site-main.shroomology-home {
    position: static;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible;
}

.shroomology-home {
    background: var(--shroom-primary);
    color: #fff;
}

body[class*="page-template-page-home"] {
    overflow-x: clip;
}

body[class*="page-template-page-home"] #page,
body[class*="page-template-page-home"] #content,
body[class*="page-template-page-home"] .site-content,
body[class*="page-template-page-home"] .content-area {
    width: 100%;
    max-width: none;
    overflow: visible;
}

.shroomology-home .shroomology-section {
    background: #f8fbf6;
    color: #173128;
}

/* Shared Home section heading: eyebrow, title and optional lead. */
.shroomology-section-heading {
    max-width: 880px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    text-align: center;
}

.shroomology-section-heading h2 {
    margin: 0;
    font-size: var(--shroom-section-title);
    line-height: 1.15;
    text-wrap: balance;
}

.shroomology-section-heading h2+p {
    max-width: 720px;
    margin: 20px auto 0;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.8;
}

.shroomology-section-heading em {
    color: var(--shroom-primary-dark);
}

/* Scoped to .shroomology-page so section `p` rules (e.g. intention heading) cannot restyle it. */
.shroomology-page .shroomology-section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    padding: 7px 14px;
    border: 1px solid rgba(162, 77, 13, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    color: var(--shroom-primary);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .2em;
    line-height: 1.5;
    text-transform: uppercase;
}

/* Benefit cards below the home hero. */
.shroomology-home-benefits {
    scroll-margin-top: 96px;
    padding: clamp(56px, 7vw, 104px) 0;
    background: #fff;
    color: var(--shroom-ink);
}

.shroomology-benefit-card {
    box-sizing: border-box;
    align-items: center;
    min-width: 0;
    min-height: 246px;
    padding: 28px 20px 46px;
    border: 1px solid #e9e1d7;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #fcfbf8 100%);
    box-shadow: 0 1px 2px rgba(var(--shroom-text-rgb), .04), 0 18px 36px -28px rgba(66, 44, 26, .35);
    text-align: center;
    transition: border-color .3s ease, box-shadow .3s ease;
}

/* Hover changes only border and shadow: GSAP owns the card transform. */
.shroomology-benefit-card:hover {
    border-color: rgba(var(--shroom-primary-rgb), .35);
    box-shadow: 0 1px 2px rgba(var(--shroom-text-rgb), .04), 0 24px 48px -28px rgba(66, 44, 26, .45);
}

/* Soft badge with a thin ring; it warms to the brand colour when the card is hovered. */
.shroomology-benefit-card__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #f5eadd;
    box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(var(--shroom-primary-rgb), .14);
    color: var(--shroom-primary);
    transition: background-color .35s ease, color .35s ease;
}

.shroomology-benefit-card__icon svg {
    display: block;
    width: 58%;
    height: 58%;
}

.shroomology-benefit-card:hover .shroomology-benefit-card__icon {
    background: var(--shroom-primary);
    color: #fff;
}

.shroomology-benefit-card h3 {
    margin: 0;
    font-size: clamp(22px, 1.8vw, 28px);
    font-weight: 350;
    line-height: 1.35;
}

@media (max-width: 1024px) {
    .shroomology-home-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .shroomology-home-benefits__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.shroomology-intention {
    padding: clamp(64px, 7vw, 104px) 0;
    background: #f5f1ea;
    color: var(--shroom-ink);
}

.shroomology-intention__heading {
    max-width: 820px;
    margin: 0 auto 56px;
    text-align: center;
}

.shroomology-intention__heading h2 {
    margin: 0 0 20px;
    font-size: var(--shroom-section-title);
    line-height: 1.15;
}

.shroomology-intention__heading p {
    margin: 0;
    font-size: clamp(15px, 1.2vw, 16px);
    line-height: 1.8;
    color: var(--shroom-text);
}

.shroomology-intention__rituals {
    display: grid;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
}

/* Shared layout and UI. */
.shroomology-ritual,
.shroomology-ritual__image,
.shroomology-testimonials,
.shroomology-testimonials__visual,
.shroomology-moment__media {
    position: relative;
    overflow: hidden;
}

.shroomology-ritual {
    --ritual-tint: #d6eeea;
    --ritual-border: #b8d8d3;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
    padding: 8px;
    border: 2px solid var(--ritual-border);
    border-radius: 200px;
    background: radial-gradient(ellipse at 65% 12%, rgba(255, 255, 255, .95), transparent 60%), linear-gradient(180deg, var(--ritual-tint) 0%, #fff 40%, var(--ritual-tint) 100%);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .85), inset 0 8px 12px rgba(255, 255, 255, .9), inset 0 -10px 18px var(--ritual-border), 0 12px 24px -18px rgba(68, 55, 44, .3);
}

/* Reflections sit above both halves of the capsule without blocking interaction. */
.shroomology-ritual::before,
.shroomology-ritual::after {
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
}

.shroomology-ritual::before {
    inset: 0px;
    border: 2px solid rgba(255, 255, 255, .65);
    box-shadow: inset 0 5px 5px rgba(255, 255, 255, .75), inset 3px 0 6px rgba(255, 255, 255, .45), inset -3px 0 6px rgba(255, 255, 255, .45), inset 0 -4px 5px rgba(255, 255, 255, .5);
}

.shroomology-ritual::after {
    inset: 12px;
    background: radial-gradient(ellipse 11% 4% at 18% 5%, rgba(255, 255, 255, .95) 10%, rgba(255, 255, 255, .55) 48%, transparent 75%), radial-gradient(ellipse 8% 3% at 83% 5%, rgba(255, 255, 255, .9) 12%, transparent 78%), radial-gradient(ellipse 1.2% 13% at 98% 38%, rgba(255, 255, 255, .8) 18%, transparent 80%), linear-gradient(180deg, rgba(255, 255, 255, .24), transparent 19%, transparent 88%, rgba(255, 255, 255, .16));
}

.shroomology-ritual--rest {
    --ritual-tint: #f8dfe2;
    --ritual-border: #eac5cd;
}

.shroomology-ritual--mindfulness {
    --ritual-tint: #e5e2fa;
    --ritual-border: #ccc8ef;
}

.shroomology-ritual__image {
    min-width: 0;
    min-height: 360px;
    border-radius: 190px 64px 64px 190px;
}

.shroomology-ritual__image>svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Shared layout and UI. */
.shroomology-ritual__image>img,
.shroomology-testimonials__visual>img,
.shroomology-moment__video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shroomology-ritual__content {
    align-self: center;
    padding: 32px 64px 32px 40px;
}

.shroomology-ritual--rest .shroomology-ritual__image {
    grid-column: 2;
    grid-row: 1;
    border-radius: 64px 190px 190px 64px;
}

.shroomology-ritual--rest .shroomology-ritual__content {
    grid-column: 1;
    grid-row: 1;
    padding: 32px 40px 32px 64px;
}

.shroomology-ritual__icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--ritual-tint);
    color: #625b77;
}

.shroomology-ritual__icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shroomology-ritual__content p {
    margin: 0;
    font-family: var(--shroom-font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    color: #635f67;
}

.shroomology-ritual__content .shroomology-ritual__eyebrow {
    margin-bottom: 8px;
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.shroomology-ritual__content h3 {
    margin: 0 0 14px;
    font-size: clamp(28px, 2.8vw, 38px);
    line-height: 1.2;
}

@media (max-width: 767px) {

    .page-header .entry-title,
    .site-footer .footer-inner,
    .site-footer:not(.dynamic-footer),
    .site-header .header-inner,
    .site-header:not(.dynamic-header),
    body:not([class*=elementor-page-]) .site-main {
        padding: 0;
    }

    .shroomology-intention__heading {
        margin-bottom: 36px;
    }

    .shroomology-ritual {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 200px;
        padding: 0;
    }

    .shroomology-ritual .shroomology-ritual__image {
        grid-column: auto;
        grid-row: auto;
        min-height: 0;
        aspect-ratio: 1;
        border-radius: 32px;
    }

    .shroomology-ritual .shroomology-ritual__content {
        grid-column: auto;
        grid-row: auto;
        padding: 30px;
        height: 400px;
    }
}

.shroomology-logo-slider {
    background: var(--shroom-white);
    color: var(--shroom-text);
    border-block: 1px solid rgba(var(--shroom-text-rgb), 0.08);
}

.shroomology-logo-slider__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    padding-block: clamp(28px, 3.5vw, 44px);
}

.shroomology-logo-slider__label {
    margin: 0;
    padding-right: clamp(24px, 4vw, 56px);
    border-right: 1px solid rgba(var(--shroom-text-rgb), 0.12);
    color: var(--shroom-primary);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
}

.shroomology-logo-slider__viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, var(--shroom-text) 8%, var(--shroom-text) 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, var(--shroom-text) 8%, var(--shroom-text) 92%, transparent);
}

.shroomology-logo-slider__viewport:focus-visible {
    outline: 2px solid var(--shroom-primary-dark);
    outline-offset: 4px;
}

.shroomology-logo-slider__track {
    display: flex;
    width: max-content;
    animation: shroomology-logo-scroll 40s linear infinite;
}

.shroomology-logo-slider__group {
    flex-shrink: 0;
    gap: clamp(48px, 6vw, 88px);
    margin: 0;
    padding: 4px clamp(48px, 6vw, 88px) 4px 0;
    list-style: none;
}

.shroomology-logo-slider__item {
    --logo-scale: 1;
    flex: none;
    height: 44px;
}

.shroomology-logo-slider__item img {
    display: block;
    width: auto;
    max-width: none;
    height: calc(var(--logo-h, 28px) * var(--logo-scale));
    opacity: 0.55;
    transition: opacity 0.3s ease;
}

.shroomology-logo-slider__item:hover img {
    opacity: 1;
}

@media (max-width: 767px) {
    .shroomology-logo-slider__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding-block: 28px;
    }

    .shroomology-logo-slider__label {
        padding-right: 0;
        border-right: 0;
        text-align: center;
    }

    .shroomology-logo-slider__item {
        --logo-scale: 0.8;
        height: 36px;
    }
}

.shroomology-logo-slider__viewport:hover .shroomology-logo-slider__track,
.shroomology-logo-slider__viewport:focus-within .shroomology-logo-slider__track {
    animation-play-state: paused;
}

@keyframes shroomology-logo-scroll {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .shroomology-logo-slider__track {
        animation: none;
    }

    .shroomology-logo-slider__viewport {
        overflow-x: auto;
    }

    .shroomology-logo-slider__group[aria-hidden="true"] {
        display: none;
    }
}

.shroomology-routines {
    padding: clamp(64px, 7vw, 110px) 0;
    background: #fff;
    color: var(--shroom-ink);
}

.shroomology-routines__list {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 32px;
    isolation: isolate;
}

.shroomology-routine {
    --routine-surface: #f5efe4;
    --routine-accent: var(--shroom-hover);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #e9e1d7;
    border-radius: 28px;
    background: var(--routine-surface);
}

/* Morning routine typography and filled action, matching the reference. */
.shroomology-routine--ritual {
    --routine-surface: #f8f5ef;
    --routine-accent: var(--shroom-hover);
}

.shroomology-routine--ritual .shroomology-routine__content {
    min-width: 0;
    padding: 32px clamp(18px, 2.5vw, 40px) 44px;
}

.shroomology-routine--ritual .shroomology-routine__label {
    gap: 16px;
    margin-bottom: 30px;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .14em;
}

.shroomology-routine--ritual .shroomology-routine__label svg {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
}

.shroomology-routine--ritual .shroomology-routine__content h3 {
    margin: 0 0 22px;
    color: var(--shroom-text);
    font-size: clamp(34px, 3.6vw, 48px);
    line-height: 1.15;
}

.shroomology-routine--ritual .shroomology-routine__description {
    max-width: 470px;
    margin: 0 0 36px;
    color: var(--shroom-text);
    font-size: 18px;
    line-height: 1.65;
}

.shroomology-routine--ritual .shroomology-routine__benefits {
    margin: 0 0 36px;
    font-size: 16px;
    line-height: 1.8;
}

.shroomology-page .shroomology-routine--ritual .shroomology-routine__button,
.shroomology-page .shroomology-routine--dreamscape .shroomology-routine__button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    width: 170px;
    max-width: 100%;
    height: 60px;
    min-height: 60px;
    margin: 0;
    padding: 0 30px;
    border-color: var(--routine-accent);
    background: var(--routine-accent);
    color: #fff;
    font-size: 17px;
    line-height: 1.4;
    letter-spacing: .06em;
    white-space: nowrap;
}

.shroomology-page .shroomology-routine--ritual .shroomology-routine__button>span,
.shroomology-page .shroomology-routine--dreamscape .shroomology-routine__button>span {
    flex: 0 0 auto;
}

.shroomology-page .shroomology-routine--ritual .shroomology-routine__button:hover,
.shroomology-page .shroomology-routine--ritual .shroomology-routine__button:focus-visible {
    border-color: var(--shroom-hover);
    background: var(--shroom-hover);
    color: #fff;
}

.shroomology-page .shroomology-routine--dreamscape .shroomology-routine__button:hover,
.shroomology-page .shroomology-routine--dreamscape .shroomology-routine__button:focus-visible {
    border-color: #584d69;
    background: #584d69;
    color: #fff;
}

.shroomology-routine--dreamscape {
    --routine-surface: #efedf6;
    --routine-accent: #6d617f;
    position: relative;
    z-index: 1;
    border-color: #ddd7e8;
}

.shroomology-routine__content {
    align-self: center;
    padding: clamp(28px, 4vw, 64px);
}

.shroomology-routine__label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 28px;
    color: var(--routine-accent);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .18em;
}

.shroomology-routine__label svg {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
}

.shroomology-routine__content h3 {
    margin: 0 0 22px;
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.15;
}

.shroomology-routine__description,
.shroomology-routine__benefits {
    margin: 0 0 22px;
    font-family: var(--shroom-font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.shroomology-routine__benefits {
    color: var(--routine-accent);
    font-size: 16px;
}

.shroomology-routine__button {
    justify-content: space-between;
    gap: 40px;
    min-height: 48px;
    margin-top: 10px;
    padding: 12px 26px;
    border: 1px solid var(--routine-accent);
    border-radius: 999px;
    color: var(--routine-accent);
    font-size: 14px;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.shroomology-routine__button:hover,
.shroomology-routine__button:focus-visible {
    background: var(--routine-accent);
    color: #fff;
}

.shroomology-routine__visual {
    min-width: 0;
    min-height: 440px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, .9), rgba(255, 255, 255, .1) 72%);
}

.shroomology-routine__placeholder {
    display: grid;
    gap: 16px;
    padding: 40px;
    color: var(--routine-accent);
    text-align: center;
}

.shroomology-routine__placeholder span {
    font-family: var(--shroom-font-title);
    font-size: 30px;
}

.shroomology-routine__placeholder small,
.wc-block-components-totals-shipping .wc-block-components-totals-shipping__via {
    font-size: 12px;
}

@media (max-width: 767px) {
    .shroomology-routine {
        grid-template-columns: minmax(0, 1fr);
    }

    .shroomology-routine__visual {
        min-height: 280px;
        padding: 24px;
    }
}

/* Testimonials: a fixed photo between two continuously scrolling review columns. */
.shroomology-testimonials {
    padding: clamp(56px, 6vw, 96px) 0;
    background: #f4f0e9;
    color: var(--shroom-text);
    font-family: var(--shroom-font-text);
}

.shroomology-review-drawer .comment-form-author,
.shroomology-review-drawer .comment-form-email,
.shroomology-review-drawer .form-submit {
    margin: 0;
}

.shroomology-testimonials__intro {
    max-width: 700px;
    margin: 0 auto 44px;
    text-align: center;
}

.shroomology-testimonials__intro h2 {
    margin: 0 0 18px;
    font-family: var(--shroom-font-title);
    font-size: var(--shroom-section-title);
    line-height: 1.15;
    color: inherit;
}

.shroomology-testimonials__intro > p:last-child {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.shroomology-testimonials__wall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: auto;
    align-items: start;
}

.shroomology-testimonials__column {
    min-width: 0;
    height: 560px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
}

.shroomology-testimonials__wall--single {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 800px;
}

.shroomology-testimonials__group {
    display: grid;
    gap: 16px;
    padding-bottom: 16px;
}

.shroomology-testimonials__group[hidden] {
    display: none;
}

.shroomology-testimonials__card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 270px;
    margin: 0;
    padding: 26px 24px;
    border-radius: 18px;
    background: #fff;
    overflow-wrap: anywhere;
}

.shroomology-testimonials__rating {
    color: #e9a247;
    font-size: 19px;
    line-height: 1;
}

.shroomology-testimonials__card blockquote,
.shroomology-testimonials__card blockquote p {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 16px;
    font-style: normal;
    line-height: 1.55;
}

.shroomology-testimonials__card figcaption {
    margin-top: auto;
    font-size: 16px;
    line-height: 1.5;
}

.shroomology-testimonials__customer {
    font-size: 19px;
    font-weight: 500;
}

.shroomology-testimonials__detail {
    color: #746d68;
    font-size: 14px;
}

.shroomology-testimonials__photo {
    min-width: 0;
    height: 560px;
    overflow: hidden;
    border-radius: 22px;
}

.shroomology-testimonials__photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

/* Shown until the first approved review exists: the review-wall grid, filled with writing prompts. */
.shroomology-testimonials__empty {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.shroomology-testimonials__prompts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.shroomology-testimonials__prompt {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 240px;
    padding: 26px 24px 28px;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

/* Ruled lines with a pencilled sentence starter: space left to write, not a finished review. */
.shroomology-testimonials__prompt .shroomology-testimonials__prompt-note {
    min-height: 78px;
    margin: auto 0 0;
    color: rgba(var(--shroom-text-rgb), .66);
    font-family: "Caveat", "Segoe Print", cursive;
    font-size: 22px;
    line-height: 26px;
    background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(var(--shroom-primary-rgb), .16) 25px 26px);
}

.shroomology-testimonials__prompt-note span {
    display: inline-block;
}

.shroomology-testimonials__prompt-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    color: var(--shroom-primary);
}

/* Number circled by hand in pencil; each card turns the loop a little differently. */
.shroomology-testimonials__prompt-number {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    font-family: "Caveat", "Segoe Print", cursive;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}

/* Caveat's digit ink sits ~2px right of and ~1px below its box (slant + side bearings); pull it back to the loop's centre. */
.shroomology-testimonials__prompt-digits {
    position: relative;
    transform: translate(-2.5px, -1px);
}

.shroomology-testimonials__prompt-circle {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: rotate(var(--circle-turn, 0deg));
}

.shroomology-testimonials__prompt-circle path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    filter: url(#shroomology-pencil);
}

.shroomology-testimonials__prompt-circle path:first-child {
    stroke-width: 1.3;
    opacity: .85;
}

.shroomology-testimonials__prompt-circle path+path {
    stroke-width: .8;
    opacity: .45;
}

.shroomology-testimonials__defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* The pencilled circle and the written text are animated by home-motion.js (cards appear first, then write). */

.shroomology-testimonials__prompt-top>svg {
    width: 32px;
    height: 32px;
}

.shroomology-testimonials__prompt h3 {
    margin: 0 0 10px;
    color: inherit;
    font-size: clamp(22px, 1.9vw, 26px);
    line-height: 1.2;
}

.shroomology-testimonials__prompt p {
    margin: 0 0 20px;
    color: #746d68;
    font-size: 15px;
    line-height: 1.6;
}

.shroomology-testimonials__empty .shroomology-testimonials__photo {
    position: relative;
    height: auto;
    min-height: 520px;
}

.shroomology-testimonials__empty .shroomology-testimonials__photo img {
    position: absolute;
    inset: 0;
}

.shroomology-testimonials__photo-note {
    position: absolute;
    left: 50%;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 18px;
    border-radius: var(--shroom-radius-pill);
    background: rgba(255, 250, 243, .88);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--shroom-text);
    font-size: 13px;
    white-space: nowrap;
    transform: translateX(-50%);
}

.shroomology-testimonials__photo-note::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--shroom-primary);
}

.shroomology-testimonials__invite {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: 240px;
    padding: 28px 24px;
    border-radius: 18px;
    background: linear-gradient(160deg, var(--shroom-primary) 0%, var(--shroom-hover) 100%);
    color: #fff;
}

.shroomology-testimonials__invite-mark {
    width: 34px;
    height: 34px;
    opacity: .35;
}

.shroomology-testimonials__invite h3 {
    margin: 0;
    color: inherit;
    font-size: clamp(22px, 1.9vw, 26px);
    line-height: 1.2;
}

.shroomology-testimonials__invite p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.6;
}

.shroomology-testimonials__invite-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding: 12px 22px;
    border-radius: var(--shroom-radius-pill);
    background: #fff;
    color: var(--shroom-primary-dark);
    font-size: 14px;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.shroomology-testimonials__invite-link:hover,
.shroomology-testimonials__invite-link:focus-visible {
    background: var(--shroom-text);
    color: #fff;
}

.shroomology-testimonials__invite-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.shroomology-testimonials__column.is-scrolling {
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.shroomology-testimonials__column.is-scrolling .shroomology-testimonials__track {
    animation: shroomology-testimonials-scroll var(--testimonials-duration, 42s) linear infinite;
    animation-delay: var(--testimonials-delay, 0s);
}

.shroomology-testimonials.is-paused .shroomology-testimonials__track,
.shroomology-testimonials__wall:hover .shroomology-testimonials__track,
.shroomology-testimonials__wall:focus-within .shroomology-testimonials__track {
    animation-play-state: paused;
}

.shroomology-testimonials .shroomology-testimonials__motion {
    display: block;
    margin: 24px auto 0;
    padding: 8px 16px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: var(--shroom-primary);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.shroomology-testimonials .shroomology-testimonials__motion[hidden] {
    display: none;
}

.shroomology-testimonials__motion:focus-visible,
.shroomology-testimonials__column:focus-visible {
    outline: 2px solid var(--shroom-primary);
    outline-offset: 4px;
}

@keyframes shroomology-testimonials-scroll {
    from { transform: translateY(0); }
    to { transform: translateY(var(--testimonials-distance, -50%)); }
}

@media (max-width: 900px) {
    .shroomology-testimonials__card {
        padding: 22px 18px;
        gap: 24px;
    }

    .shroomology-testimonials__wall {
        gap: 12px;
    }

    /* Photo leads full width; the two prompt columns sit side by side below it. */
    .shroomology-testimonials__empty {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .shroomology-testimonials__empty .shroomology-testimonials__photo {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 360px;
    }

    /* Let prompts join the grid directly so they read 01, 02, 03, then the invite. */
    .shroomology-testimonials__prompts {
        display: contents;
    }
}

@media (max-width: 640px) {
    .shroomology-testimonials__wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shroomology-testimonials__photo {
        grid-column: 1 / -1;
        grid-row: 1;
        height: 360px;
    }

    .shroomology-testimonials__empty {
        grid-template-columns: minmax(0, 1fr);
    }

    .shroomology-testimonials__empty .shroomology-testimonials__photo {
        height: auto;
        min-height: 280px;
    }

    .shroomology-testimonials__prompt,
    .shroomology-testimonials__invite {
        min-height: 0;
        padding: 22px 20px;
    }

    .shroomology-testimonials__prompt-top {
        margin-bottom: 12px;
    }

    .shroomology-testimonials__prompt .shroomology-testimonials__prompt-note {
        min-height: 52px;
    }

    .shroomology-testimonials__column {
        height: 440px;
    }

    .shroomology-testimonials__wall--single .shroomology-testimonials__column {
        grid-column: 1 / -1;
    }

    .shroomology-testimonials__card {
        padding: 20px 14px;
        gap: 22px;
    }

    .shroomology-testimonials__card blockquote p {
        font-size: 14px;
    }

    .shroomology-testimonials__customer {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shroomology-testimonials__column.is-scrolling .shroomology-testimonials__track {
        animation: none;
    }
}

/* Mindfulness cards and guided practice video. */
.shroomology-moment {
    padding: clamp(64px, 7vw, 110px) 0;
    background: #fff;
    color: var(--shroom-text);
}

.shroomology-moment__heading {
    max-width: 900px;
    margin: 0 auto clamp(32px, 4vw, 56px);
    text-align: center;
}

.shroomology-moment__heading h2 {
    margin: 0 0 20px;
    font-size: var(--shroom-section-title);
    line-height: 1.15;
    color: inherit;
}

.shroomology-moment__heading p {
    margin: 0;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.8;
    color: var(--shroom-text);
}

.shroomology-moment__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
    gap: 24px;
    align-items: stretch;
}

.shroomology-moment__cards {
    display: grid;
    gap: 20px;
}

.shroomology-moment__card {
    position: relative;
    padding: clamp(24px, 2.5vw, 40px);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(66, 44, 26, .06);
    background-color: #fcf8ef;
}

/* Same soft round badge as the Benefits icons, so both card icons share one size and weight. */
.shroomology-moment__icon {
    position: absolute;
    top: 24px;
    right: 24px;
    display: grid;
    place-items: center;
    --icon-bg: #f5eadd;
    --icon-tint: #ecd9c6;
    --icon-tint-soft: #f7ebdf;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--icon-bg);
    color: var(--shroom-primary);
}

/* Two-tone fills for the Moment icons; opaque, so a front petal hides the outline behind it. */
.shroomology-icon-tint {
    fill: var(--icon-tint, #ecd9c6);
}

.shroomology-icon-tint-soft {
    fill: var(--icon-tint-soft, #f7ebdf);
}

.shroomology-moment__icon svg {
    width: 32px;
    height: 32px;
}

.shroomology-moment__card .shroomology-moment__eyebrow {
    margin: 0 72px 16px 0;
    color: var(--shroom-primary);
    font-size: 10px;
    letter-spacing: .26em;
    text-transform: uppercase;
}

.shroomology-moment__card h3 {
    margin: 0 64px 16px 0;
    font-size: clamp(26px, 2.25vw, 34px);
    line-height: 1.15;
    color: inherit;
}

.shroomology-moment__card h3::after {
    display: block;
    width: 24px;
    height: 1px;
    margin-top: 18px;
    background: var(--shroom-primary);
    content: "";
}

.shroomology-moment__card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
}

.shroomology-moment__media {
    min-height: 440px;
    border-radius: 24px;
    background: #d8cbbb;
    isolation: isolate;
}

/* Warm shade keeps the hint readable on the bright poster; it lifts while playing. */
.shroomology-moment__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(var(--shroom-text-rgb), .3), rgba(var(--shroom-text-rgb), .08) 72%);
    pointer-events: none;
    transition: opacity .6s ease;
}

.shroomology-moment__media.is-playing::before {
    opacity: 0;
}

/* Full-area button: hover target for mouse, tap/keyboard toggle for everyone else. */
.shroomology-page .shroomology-moment__hint,
.shroomology-page .shroomology-moment__hint:hover,
.shroomology-page .shroomology-moment__hint:focus {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: #fff;
    font: inherit;
    line-height: 1.4;
    cursor: pointer;
    transition: opacity .45s ease;
}

.shroomology-moment__media.is-playing .shroomology-moment__hint {
    opacity: 0;
}

/* Once faded, stop the blur and ripples from repainting over the playing video.
   The button itself stays clickable so touch users can tap to pause. */
.shroomology-moment__media.is-playing .shroomology-moment__hint-icon,
.shroomology-moment__media.is-playing .shroomology-moment__hint-label {
    visibility: hidden;
    transition: visibility 0s .45s;
}

.shroomology-moment__media.is-playing .shroomology-moment__hint-icon svg,
.shroomology-moment__media.is-playing .shroomology-moment__hint-icon::before,
.shroomology-moment__media.is-playing .shroomology-moment__hint-icon::after {
    animation-play-state: paused;
}

.shroomology-moment__hint-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(255, 250, 243, .92);
    color: var(--shroom-primary);
    box-shadow: 0 18px 40px -16px rgba(var(--shroom-text-rgb), .6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.shroomology-moment__hint-icon svg {
    width: 34px;
    height: 34px;
    transform-origin: 50% 85%;
    animation: shroomology-moment-tap 2.6s ease-in-out infinite;
}

/* Two staggered rings ripple out like a tap. */
.shroomology-moment__hint-icon::before,
.shroomology-moment__hint-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(255, 250, 243, .85);
    border-radius: 50%;
    animation: shroomology-moment-ripple 2.6s cubic-bezier(.2, .6, .3, 1) infinite;
}

.shroomology-moment__hint-icon::after {
    animation-delay: 1.3s;
}

.shroomology-moment__hint-label {
    padding: 8px 16px;
    border-radius: var(--shroom-radius-pill);
    background: rgba(var(--shroom-text-rgb), .4);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.shroomology-moment__hint-label--touch {
    display: none;
}

.shroomology-moment__hint:focus-visible {
    outline: none;
}

.shroomology-moment__hint:focus-visible .shroomology-moment__hint-icon {
    outline: 3px solid #fff;
    outline-offset: 6px;
}

@keyframes shroomology-moment-ripple {
    0% {
        opacity: .9;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.75);
    }
}

@keyframes shroomology-moment-tap {
    0%,
    60%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(-2px, -5px) rotate(-8deg);
    }

    40% {
        transform: translate(0, 1px) scale(.9);
    }
}

@media (hover: none), (pointer: coarse) {
    .shroomology-moment__hint-label--hover {
        display: none;
    }

    .shroomology-moment__hint-label--touch {
        display: inline;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shroomology-moment__hint-icon svg,
    .shroomology-moment__hint-icon::before,
    .shroomology-moment__hint-icon::after {
        animation: none;
    }
}

@media (max-width: 900px) {
    .shroomology-moment__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .shroomology-moment__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shroomology-moment__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 600px) {
    .shroomology-moment__cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .shroomology-moment__hint-icon {
        width: 64px;
        height: 64px;
    }

    .shroomology-moment__hint-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* Journey: three steps on one continuous route. Each step's number is a node sitting on the route where it
   rounds the step's outer edge; copy and image share a balanced two-column row, the copy on the node's side. */
.shroomology-journey {
    /* Distance of the route's outer edges from the list; nodes are centred on it. */
    --journey-inset: 30px;
    padding: clamp(64px, 7vw, 110px) 0;
    background: #fcf8ef;
    color: var(--shroom-text);
}

.shroomology-journey__step {
    position: relative;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(28px, 4vw, 64px);
    min-height: 320px;
    padding: 48px clamp(88px, 9vw, 132px);
    isolation: isolate;
}

/* Fallback route (no script or reduced motion): each step's border draws its arc. */
.shroomology-journey__step::before {
    inset: 0 15% 0 var(--journey-inset);
    z-index: -1;
    border: 2px solid var(--shroom-primary);
    border-right: 0;
    border-radius: 210px 0 0 210px;
    pointer-events: none;
}

.shroomology-journey__step::after {
    display: none;
}

.shroomology-journey__step+.shroomology-journey__step {
    margin-top: -2px;
}

.shroomology-journey__step:nth-child(even) {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.shroomology-journey__step:nth-child(even)::before {
    inset: 0 var(--journey-inset) 0 15%;
    border-right: 2px solid var(--shroom-primary);
    border-left: 0;
    border-radius: 0 210px 210px 0;
}

.shroomology-journey__step:nth-child(even) .shroomology-journey__image {
    grid-column: 1;
    grid-row: 1;
}

.shroomology-journey--animated > .shroomology-container {
    position: relative;
}

.shroomology-journey--route-ready .shroomology-journey__step::before {
    display: none;
}

.shroomology-journey .shroomology-journey__route {
    display: block;
    position: absolute;
    z-index: 1;
    max-width: none;
    max-height: none;
    overflow: visible;
    pointer-events: none;
}


.shroomology-journey__route > path {
    fill: none;
    stroke: var(--shroom-primary, #a24d0d);
    stroke-width: 3;
    stroke-linecap: round;
}

.shroomology-journey__route > .shroomology-journey__track {
    opacity: .1;
}

.shroomology-journey--animated .shroomology-journey__steps {
    position: relative;
    z-index: 2;
}

/* Step number as a node on the route: outlined until the travelling capsule reaches it, then filled. */
.shroomology-journey__number {
    position: absolute;
    top: 50%;
    left: var(--journey-inset);
    z-index: 3;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 2px solid var(--shroom-primary);
    border-radius: 50%;
    background: #fcf8ef;
    color: var(--shroom-primary);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1;
    translate: -50% -50%;
    transition: background-color .4s ease, color .4s ease;
}

.shroomology-journey__step:nth-child(even) .shroomology-journey__number {
    left: auto;
    right: var(--journey-inset);
    translate: 50% -50%;
}

.shroomology-journey__step.is-reached .shroomology-journey__number {
    background: var(--shroom-primary);
    color: var(--shroom-white);
}

/* The step the capsule is on keeps a soft ring pulsing out of its node. */
.shroomology-journey__step.is-current .shroomology-journey__number::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid var(--shroom-primary);
    border-radius: 50%;
    animation: shroomology-node-pulse 1.8s ease-out infinite;
    pointer-events: none;
}

@keyframes shroomology-node-pulse {
    from {
        opacity: .7;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(1.8);
    }
}

/* Small two-tone capsule that rides the tip of the route (positioned by MotionPath in home-motion.js). */
.shroomology-journey__traveler {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    width: 36px;
    height: 18px;
    border: 2px solid var(--shroom-primary);
    border-radius: var(--shroom-radius-pill);
    background: linear-gradient(90deg, var(--shroom-white) 50%, var(--shroom-primary) 50%);
    box-shadow: 0 0 0 6px rgba(var(--shroom-primary-rgb), .14), 0 6px 14px rgba(var(--shroom-text-rgb), .22);
    pointer-events: none;
    will-change: transform;
}

.shroomology-journey__label {
    margin: 0 0 12px;
    color: var(--shroom-primary);
    font-size: 12px;
    letter-spacing: .2em;
    line-height: 1.5;
    text-transform: uppercase;
}

.shroomology-journey__copy {
    max-width: 520px;
}

.shroomology-journey__copy h3 {
    margin: 0 0 18px;
    color: inherit;
    font-size: clamp(26px, 2.6vw, 40px);
    line-height: 1.15;
}

.shroomology-journey__copy p {
    margin: 0;
    font-size: clamp(15px, 1.3vw, 16px);
    line-height: 1.75;
}

.shroomology-journey__copy a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.shroomology-journey__image {
    position: relative;
    min-width: 0;
    justify-self: center;
}

.shroomology-journey__image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.shroomology-journey__signature {
    margin: 64px 0 0;
    font-size: 11px;
    line-height: 2;
    letter-spacing: .35em;
    text-align: center;
    text-transform: uppercase;
}

.shroomology-journey__signature::after {
    display: block;
    width: 42px;
    height: 1px;
    margin: 20px auto 0;
    background: currentColor;
    content: "";
}

/* Phones: the same alternating curved route as desktop, with tighter arcs. Nodes sit high on the arc
   (content is tall), and each step leaves room on its node's side. */
@media (max-width: 767px) {
    .shroomology-journey {
        --journey-inset: 20px;
    }

    .shroomology-journey__step,
    .shroomology-journey__step:nth-child(even) {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        min-height: 0;
    }

    .shroomology-journey__step {
        padding: 36px 16px 36px 58px;
    }

    .shroomology-journey__step:nth-child(even) {
        padding: 36px 58px 36px 16px;
    }

    .shroomology-journey__step::before {
        border-radius: 40px 0 0 40px;
    }

    .shroomology-journey__step:nth-child(even)::before {
        border-radius: 0 40px 40px 0;
    }

    .shroomology-journey__number {
        top: 46%;
        width: 44px;
        height: 44px;
        font-size: 14px;
    }

    .shroomology-journey__step .shroomology-journey__image,
    .shroomology-journey__step:nth-child(even) .shroomology-journey__image {
        grid-column: 1;
        grid-row: 2;
        max-width: 200px;
        justify-self: start;
    }
}

.shroomology-home-hero {
    position: relative;
    display: flex;
    width: 100vw;
    max-width: none;
    min-height: max(720px, 100svh);
    margin-left: calc(50% - 50vw);
    padding: 0;
    background: var(--shroom-primary);
    isolation: isolate;
}

.shroomology-home-hero::after {
    inset: 0;
    z-index: 1;
    background: rgba(var(--shroom-primary-rgb), 0.5);
    pointer-events: none;
}

.shroomology-home>.shroomology-section,
.single-product .shroomology-product-acf-details__content> :first-child,
.single-product .shroomology-product-review__content> :first-child,
.wc-block-cart .wc-block-cart__empty-cart__products {
    margin-top: 0;
}

.shroomology-home-hero__video,
.shroomology-home-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.shroomology-home-hero__video {
    z-index: 0;
    overflow: hidden;
}

.shroomology-home-hero__video iframe,
.shroomology-home-hero__video .shroomology-home-hero__poster {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100%, 177.78vh);
    height: max(100%, 56.25vw);
    border: 0;
    transform: translate(-50%, -50%);
}

.shroomology-home-hero__video .shroomology-home-hero__poster {
    max-width: none;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
    transition: opacity 600ms ease;
}

.shroomology-home-hero__video.is-playing .shroomology-home-hero__poster {
    opacity: 0;
}

/* Keep Vimeo's own error or loading screens hidden until frames are playing. */
.shroomology-home-hero__video iframe {
    opacity: 0;
    transition: opacity 600ms ease;
}

.shroomology-home-hero__video.is-playing iframe {
    opacity: 1;
}

.shroomology-home-hero__inner {
    position: relative;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 72px);
    z-index: 2;
    width: min(var(--shroom-container-width), calc(100% - 2 * var(--shroom-container-gutter)));
    min-height: max(720px, 100svh);
    padding: 150px 0 72px;
    margin: 0 auto;
}

.shroomology-home-hero__content {
    position: relative;
    z-index: 3;
    align-self: center;
    width: min(700px, 100%);
    max-width: 700px;
    padding-bottom: 0;
}

.shroomology-home-hero__visual {
    width: 100%;
    max-width: 750px;
    min-width: 0;
    justify-self: end;
    background: transparent;
}

.shroomology-home-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    clip-path: ellipse(40.5% 42.3% at 50% 49.4%);
}

.shroomology-home-hero__intro {
    max-width: 520px;
    margin: 0 0 28px;
    color: #fff;
    line-height: 1.72;
}

.shroomology-home-hero h1 {
    max-width: 600px;
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(36px, 3.2vw + 12px, 56px);
    text-transform: capitalize;
    line-height: 1.2;
    letter-spacing: 0;
    font-style: italic;
}

.shroomology-home-hero__actions {
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 78px;
}

.shroomology-hero-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 52px;
    padding: 8px 8px 8px 24px;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    background: var(--shroom-primary);
    transition: background-color .2s, color .2s, border-color .2s;
}

.shroomology-hero-button .shroomology-hero-button__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--shroom-primary);
    border-radius: 50%;
    padding: 10px;
}

.shroomology-hero-button:hover,
.shroomology-hero-button:focus {
    background: var(--shroom-hover);
    color: #fff;
}

.shroomology-hero-button svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 900px) {

    .shroomology-grid,
    .shroomology-shop .shroomology-grid,
    .shroomology-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .shroomology-header-container {
        grid-template-columns: minmax(160px, 1fr) minmax(0, auto) minmax(110px, 1fr);
        gap: 22px;
    }

    .shroomology-primary-nav {
        gap: 24px;
    }
}

@media (max-width: 820px) {
    :root {
        --shroom-container-gutter: 16px;
    }

    .admin-bar body.home .shroomology-site-header,
    .admin-bar body.page-template-page-home .shroomology-site-header {
        top: 46px;
    }

    body.home .shroomology-site-header,
    body.page-template-page-home .shroomology-site-header {
        padding-top: 22px;
    }

    .shroomology-header-container {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 10px;
        min-height: 52px;
        padding: 8px 12px 10px 14px;
        border-radius: 28px;
    }

    .shroomology-brand__logo {
        width: 24px;
        height: 24px;
    }

    /* Cart shares the first row with the brand; the nav wraps below both. */
    .shroomology-header-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .shroomology-primary-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        justify-content: flex-start;
        gap: 18px;
        overflow-x: auto;
        padding: 2px 0 0;
        scrollbar-width: none;
    }

    .shroomology-primary-nav::-webkit-scrollbar {
        display: none;
    }

    .shroomology-cart-link {
        min-width: 82px;
        height: 38px;
        padding: 0 14px;
    }

    .shroomology-home-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        min-height: 680px;
        padding: 130px 0 48px;
    }

    .shroomology-home-hero__content {
        max-width: 650px;
    }

    .shroomology-home-hero__visual {
        max-width: 540px;
        justify-self: center;
    }

    .shroomology-home-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        margin-top: 48px;
    }
}

@media (max-width: 640px) {
    :root {
        --shroom-container-gutter: 14px;
    }

    .shroomology-grid,
    .shroomology-shop .shroomology-grid,
    .shroomology-steps {
        grid-template-columns: 1fr;
    }

    .shroomology-card,
    .shroomology-steps li {
        min-height: 0;
    }
}

/* Product detail pages use the same content width and purchase controls as the site. */
/* Shared layout and UI. */
body.single-product #content,
body.single-product .site-content,
body.single-product .content-area,
body.single-product .site-main.shroomology-single-product,
body.woocommerce-cart #content,
body.woocommerce-cart .site-content,
body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main,
body.woocommerce-checkout #content,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .site-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.shroomology-single-product {
    padding: clamp(76px, 6vw, 88px) 0 clamp(56px, 8vw, 112px);
    background: var(--shroom-surface);
}

.single-product .shroomology-single-product div.product {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(36px, 6vw, 96px);
    width: 100%;
    margin: 0;
}

.single-product .shroomology-single-product div.product .woocommerce-product-gallery,
.single-product .shroomology-single-product div.product .summary {
    float: none;
    width: auto;
    margin: 0;
}

.single-product .shroomology-single-product .woocommerce-product-gallery__trigger {
    display: none !important;
}

.single-product .shroomology-single-product .woocommerce-product-gallery__image:first-child,
.single-product .shroomology-single-product .woocommerce-product-gallery__image:first-child a {
    display: block;
    height: min(750px, 44vw);
}

.single-product .shroomology-single-product .woocommerce-product-gallery__image:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 821px) {
    .single-product .shroomology-single-product div.product .woocommerce-product-gallery {
        position: static;
        align-self: stretch;
    }

    .single-product .shroomology-single-product div.product .woocommerce-product-gallery__wrapper {
        position: sticky;
        top: 24px;
    }
}

.single-product .shroomology-single-product div.product .summary {
    align-self: start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: -10px;
}

.single-product .shroomology-single-product div.product .summary .product_title {
    order: 1;
    flex-basis: 100%;
}

.single-product .shroomology-single-product div.product .summary>.woocommerce-product-rating {
    order: 2;
    flex-basis: 100%;
}

.single-product .shroomology-single-product div.product .summary>.price {
    order: 3;
    flex: 0 0 auto;
    margin-bottom: 15px;
    color: var(--shroom-text);
    font-size: 1.25em;
    font-weight: 500;
}

.single-product .shroomology-single-product div.product .summary>.price,
.single-product .shroomology-single-product div.product .summary>.price ins {
    color: var(--shroom-text);
    font-weight: 500;
}

.single-product .shroomology-product-stock {
    order: 3;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    font-family: var(--shroom-font-text);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.2;
    transform: translateY(-8px);
}

.single-product .shroomology-product-stock::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    content: "";
}

.single-product .shroomology-product-stock.is-in-stock {
    background: #e8f8ed;
    box-shadow: 0 3px 10px rgba(45, 161, 91, .12);
    color: #168541;
}

.single-product .shroomology-product-stock.is-in-stock::before {
    background: #2fbe69;
    box-shadow: 0 0 0 3px rgba(47, 190, 105, .12);
}

.single-product .shroomology-product-stock.is-out-of-stock {
    background: #fbeaea;
    color: #b04444;
}

.single-product .shroomology-product-stock.is-out-of-stock::before {
    background: #d95c5c;
}

.single-product .shroomology-single-product div.product .summary form.variations_form {
    display: contents;
}

.single-product .shroomology-single-product div.product .summary form.variations_form .variations {
    order: 4;
    flex-basis: 100%;
}

.single-product .shroomology-single-product div.product .summary form.variations_form .single_variation_wrap {
    order: 5;
    flex-basis: 100%;
}

.single-product .shroomology-single-product div.product .summary .woocommerce-product-details__short-description {
    order: 6;
    flex-basis: 100%;
}

.single-product .shroomology-single-product div.product .summary .shroomology-product-acf-details {
    order: 7;
    flex-basis: 100%;
}

.single-product .shroomology-single-product div.product .summary .product_meta {
    order: 9;
    flex-basis: 100%;
}

.single-product .shroomology-single-product div.product .summary .product_meta a {
    color: var(--shroom-hover);
    text-decoration: none;
}

.single-product .shroomology-single-product div.product .summary .product_meta a:hover,
.single-product .shroomology-single-product div.product .summary .product_meta a:focus {
    color: var(--shroom-forest);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-product .shroomology-single-product div.product .summary>form.cart:not(.variations_form) {
    order: 3;
    flex-basis: 100%;
    margin: 0;
}

.single-product .shroomology-single-product .woocommerce-product-details__short-description {
    margin: 24px 0;
    line-height: 1.7;
}

.single-product .shroomology-product-acf-details {
    margin: 0 0 24px;
    border-top: 1px solid rgba(var(--shroom-text-rgb), .14);
}

.single-product .shroomology-product-acf-details__item {
    border-bottom: 1px solid rgba(var(--shroom-text-rgb), .14);
}

.single-product .shroomology-product-acf-details__item summary {
    align-items: center;
    padding: 16px 0;
    color: var(--shroom-ink);
    cursor: pointer;
    font-family: var(--shroom-font-text);
    font-size: 1rem;
    font-weight: 600;
}

.single-product .shroomology-product-acf-details__item summary::after {
    content: "+";
    font-size: 1.2rem;
    font-weight: 400;
}

.single-product .shroomology-product-acf-details__item[open] summary::after {
    content: "−";
}

.single-product .shroomology-product-acf-details__content {
    padding: 0 0 18px;
    color: var(--shroom-text);
    font-size: .92rem;
    line-height: 1.7;
}

.single-product .shroomology-product-acf-details__content> :last-child,
.single-product .shroomology-product-review__content> :last-child {
    margin-bottom: 0;
}

.single-product .shroomology-single-product form.cart {
    clear: both;
    margin: 32px 0 0;
}

.single-product .shroomology-single-product form.variations_form .variations {
    width: 100%;
    margin: 0 0 24px;
    border: 0;
    background: transparent !important;
}

.single-product .shroomology-single-product form.variations_form .variations tr,
.single-product .shroomology-single-product form.variations_form .variations th,
.single-product .shroomology-single-product form.variations_form .variations td {
    display: block;
    padding: 0 !important;
    background: transparent !important;
    text-align: left;
}

.single-product .shroomology-single-product form.variations_form .variations th.label,
.single-product .shroomology-single-product form.variations_form .variations label,
.single-product .shroomology-single-product form.variations_form .reset_variations,
.single-product .shroomology-single-product .woocommerce-variation-price,
.wc-block-cart .wc-block-components-product-metadata,
.wc-block-cart .wc-block-cart-item__description {
    display: none !important;
}

.single-product .shroomology-variation-select {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.single-product .shroomology-variation-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    background: transparent;
}

.single-product .shroomology-variation-option {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(99, 74, 51, .28);
    border-radius: 100px;
    background: rgba(255, 255, 255, .65);
    color: var(--shroom-ink);
    font-family: var(--shroom-font-text);
    font-size: .92rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.single-product .shroomology-variation-option:hover,
.single-product .shroomology-variation-option.is-selected {
    border-color: var(--shroom-hover);
    background: #eee5d9;
    color: var(--shroom-ink);
}

.single-product .shroomology-variation-option:focus-visible {
    outline: 2px solid var(--shroom-primary-dark);
    outline-offset: 3px;
}

.single-product .shroomology-single-product .single_variation_wrap,
.single-product .shroomology-single-product form.cart:not(.variations_form),
.single-product .shroomology-single-product .woocommerce-variation-add-to-cart {
    width: 100%;
}

.single-product .shroomology-single-product .quantity {
    flex: 0 0 auto;
    width: 148px;
    height: 52px;
    border: 1px solid rgba(var(--shroom-text-rgb), .18);
    border-radius: var(--shroom-radius-pill);
    background: #fff;
}

.single-product .shroomology-single-product .quantity .qty {
    width: 48px;
    min-height: 46px;
    padding: 0;
    border: 0;
    appearance: textfield;
    -moz-appearance: textfield;
    background: transparent;
    color: var(--shroom-ink);
    font-family: var(--shroom-font-text);
    font-size: 1rem;
    text-align: center;
}

/* Shared buttons. */
.single-product .shroomology-single-product .quantity .qty::-webkit-inner-spin-button,
.single-product .shroomology-single-product .quantity .qty::-webkit-outer-spin-button,
.woocommerce-cart .quantity .qty::-webkit-inner-spin-button,
.woocommerce-cart .quantity .qty::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.single-product .shroomology-single-product .shroomology-quantity-button {
    display: grid;
    width: 40px;
    height: 46px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--shroom-ink);
    font-family: var(--shroom-font-text);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.single-product .shroomology-single-product .shroomology-quantity-button:hover {
    color: var(--shroom-primary-dark);
}

.single-product .shroomology-single-product .shroomology-quantity-button:focus-visible {
    outline: 2px solid var(--shroom-primary-dark);
    outline-offset: -4px;
}

.single-product .shroomology-single-product .single_add_to_cart_button {
    flex: 1 1 auto;
    min-height: 56px;
    margin: 0;
    padding: 12px 28px;
    border: 1px solid var(--shroom-hover) !important;
    border-radius: var(--shroom-radius-pill);
    background: var(--shroom-hover) !important;
    color: #fff !important;
    font-family: var(--shroom-font-text);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
}

.single-product .shroomology-single-product .single_add_to_cart_button:hover,
.single-product .shroomology-single-product .single_add_to_cart_button:focus {
    border-color: var(--shroom-primary) !important;
    background: var(--shroom-primary) !important;
    color: #fff !important;
}

@media (max-width: 820px) {
    .single-product .shroomology-single-product div.product {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .single-product .shroomology-single-product .woocommerce-product-gallery__image:first-child,
    .single-product .shroomology-single-product .woocommerce-product-gallery__image:first-child a,
    .single-product .shroomology-single-product .woocommerce-product-gallery__image:first-child img {
        height: auto;
    }
}

@media (max-width: 520px) {

    .single-product .shroomology-single-product .woocommerce-variation-add-to-cart,
    .single-product .shroomology-single-product form.cart:not(.variations_form) {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .single-product .shroomology-single-product form.variations_form .variations {
        margin-bottom: 18px;
    }

    .single-product .shroomology-variation-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .single-product .shroomology-variation-option {
        box-sizing: border-box;
        min-height: 56px;
        padding: 8px 10px;
        font-size: .88rem;
        line-height: 1.25;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .single-product .shroomology-single-product .quantity,
    .single-product .shroomology-single-product .single_add_to_cart_button {
        width: 100%;
    }

    .single-product .shroomology-single-product .quantity {
        margin-bottom: 0;
    }
}

@media (max-width: 360px) {
    .single-product .shroomology-variation-options {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Product reviews replace WooCommerce's default Description and Reviews tabs. */
/* Shared layout and UI. */
.single-product .shroomology-product-reviews,
.single-product .related.products {
    grid-column: 1 / -1;
    margin-top: clamp(56px, 8vw, 112px);
    padding-top: clamp(48px, 6vw, 80px);
    border-top: 1px solid rgba(var(--shroom-hover-rgb), .16);
}

.single-product .shroomology-product-reviews>h2 {
    margin: 0 0 clamp(32px, 4vw, 52px);
    color: var(--shroom-ink);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.1;
    text-align: left;
}

.single-product .shroomology-product-reviews__grid {
    display: grid;
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
}

.single-product .shroomology-product-reviews__summary {
    align-items: flex-start;
    padding-right: clamp(24px, 4vw, 56px);
    border-right: 1px solid rgba(var(--shroom-hover-rgb), .16);
}

/* Shared layout and UI. */
.single-product .shroomology-product-reviews__summary>strong,
:is(body.woocommerce-cart, body.woocommerce-checkout) :is(.entry-title, .wp-block-post-title),
.wc-block-cart .wc-block-components-title,
.wc-block-checkout .wc-block-components-title,
.wc-block-cart .wc-block-components-product-name,
.wc-block-cart .wc-block-components-product-name a,
.woocommerce-checkout form.checkout #order_review_heading {
    font-family: var(--shroom-font-title);
    font-weight: 400;
}

.single-product .shroomology-product-reviews__summary>strong {
    font-size: clamp(2.7rem, 4vw, 4rem);
    line-height: 1;
}

.single-product .shroomology-product-reviews__stars {
    margin-top: 10px;
    color: var(--shroom-primary);
    font-size: 1.2rem;
    letter-spacing: .08em;
    line-height: 1;
}

.single-product .shroomology-product-reviews__summary p {
    margin: 18px 0 28px;
    font-family: var(--shroom-font-title);
    font-size: 1.08rem;
}

.single-product .shroomology-product-reviews__write {
    gap: 10px;
    padding: 12px 20px;
    border: 0;
    border-radius: var(--shroom-radius-pill);
    background: var(--shroom-hover);
    color: #fff;
    font-family: var(--shroom-font-title);
    font-size: 1.08rem;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
}

/* Shared buttons. */
.single-product .shroomology-product-reviews__write:hover,
.single-product .shroomology-product-reviews__write:focus,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--shroom-primary);
    color: #fff;
}

.single-product .shroomology-product-reviews__list {
    display: grid;
    gap: 18px;
}

.single-product .shroomology-product-review {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 22px;
    padding: 24px 26px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 12px 28px rgba(var(--shroom-hover-rgb), .08);
}

.single-product .shroomology-product-review__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.single-product .shroomology-product-review__stars {
    margin: 0;
    font-size: 1.12rem;
}

.single-product .shroomology-product-review__author {
    margin: 10px 0 12px;
    font-family: var(--shroom-font-title);
    font-size: 1.18rem;
}

.single-product .shroomology-product-review__author span {
    margin-left: 4px;
    color: #95877a;
    font-size: 1rem;
}

.single-product .shroomology-product-review__content {
    color: var(--shroom-text);
    font-family: var(--shroom-font-title);
    font-size: 1.1rem;
    line-height: 1.6;
}

.single-product .shroomology-product-reviews__empty {
    margin: 0;
    padding: 24px 26px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .7);
    color: var(--shroom-text);
}

.single-product .shroomology-product-reviews__pagination {
    display: flex;
    justify-content: flex-start;
    margin-top: 28px;
}

.single-product .shroomology-product-reviews__pagination ul.page-numbers {
    justify-content: flex-end;
    gap: 8px;
}

.single-product .shroomology-product-reviews__pagination ul.page-numbers li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}

.single-product .shroomology-product-reviews__pagination a,
.single-product .shroomology-product-reviews__pagination span {
    box-sizing: border-box;
    display: inline-grid;
    min-width: 40px;
    height: 40px;
    place-items: center;
    padding: 0 10px;
    border: 1px solid rgba(var(--shroom-hover-rgb), .3);
    border-radius: 999px;
    color: var(--shroom-hover);
    font-family: var(--shroom-font-text);
    font-size: .9rem;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.single-product .shroomology-product-reviews__pagination .current,
.single-product .shroomology-product-reviews__pagination a:hover {
    background: var(--shroom-hover);
    border-color: var(--shroom-hover);
    color: #fff;
}

/* Product review form opens as a right-side drawer. */
.shroomology-review-drawer {
    width: min(720px, 100%);
    height: 100dvh;
}

.shroomology-review-drawer:not([open]) {
    display: none;
}

.shroomology-review-drawer[open] {
    animation: shroomology-review-drawer-enter .28s ease-out;
}

.shroomology-review-drawer__inner {
    padding: 76px clamp(24px, 5vw, 62px) 40px;
}

.shroomology-review-drawer__close {
    position: absolute;
    top: 21px;
    right: 22px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 9px;
    border: 0;
    border-radius: 50%;
    background: #e8ded2 !important;
    color: var(--shroom-text) !important;
    cursor: pointer;
}

.shroomology-review-drawer__close svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

/* Shared buttons. */
.shroomology-review-drawer :is(button, input, textarea, select):focus-visible,
.wc-block-checkout .wc-block-components-button:not(.is-link):focus-visible,
.wc-block-checkout button.wc-block-components-button:focus-visible,
:is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-coupon__button:focus-visible {
    outline: 2px solid var(--shroom-hover);
    outline-offset: 3px;
}

.shroomology-review-drawer .comment-reply-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.shroomology-review-drawer .comment-notes {
    margin: 10px 0 26px;
    color: var(--shroom-text);
    font-size: .9rem;
    line-height: 1.5;
}

.shroomology-review-drawer .required,
.shroomology-review-drawer .logged-in-as a {
    color: inherit;
}

.shroomology-review-drawer .comment-form-rating,
.shroomology-review-drawer .comment-form-comment {
    margin: 0 0 24px;
}

.shroomology-review-drawer label {
    display: block;
    margin-bottom: 9px;
    font-family: var(--shroom-font-title);
    font-size: 1rem;
}

.shroomology-review-drawer select {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.shroomology-review-drawer__rating-stars {
    display: flex;
    gap: 7px;
}

.shroomology-review-drawer__rating-stars button,
.shroomology-review-drawer__rating-stars button:hover,
.shroomology-review-drawer__rating-stars button:focus,
.shroomology-review-drawer__rating-stars button:focus-visible {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--shroom-primary) !important;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.shroomology-review-drawer :is(input[type="text"], input[type="email"], textarea) {
    border: 1px solid #cbbdaf;
    border-radius: 5px;
    background: rgba(255, 255, 255, .22);
    color: var(--shroom-text);
    font: inherit;
}

.shroomology-review-drawer :is(input[type="text"], input[type="email"]) {
    height: 40px;
    padding: 0 16px;
}

.shroomology-review-drawer textarea {
    min-height: 106px;
    padding: 12px 16px;
    resize: vertical;
}

.shroomology-review-drawer :is(input, textarea)::placeholder {
    color: #8b8179;
    opacity: 1;
}

.shroomology-review-drawer .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 24px 0 26px;
    color: var(--shroom-text);
    font-size: .9rem;
    line-height: 1.45;
}

.shroomology-review-drawer .comment-form-cookies-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--shroom-hover);
}

.shroomology-review-drawer .comment-form-cookies-consent label {
    margin: 0;
    font-family: var(--shroom-font-text);
    font-size: inherit;
}

.shroomology-review-drawer .submit {
    min-width: 150px;
    padding: 13px 28px;
    background: var(--shroom-text);
}

.shroomology-review-drawer .submit span {
    margin-left: 13px;
    font-size: 1.3rem;
    vertical-align: -1px;
}

.shroomology-review-drawer .logged-in-as {
    margin: 12px 0 22px;
    color: var(--shroom-text);
    font-size: .9rem;
}

@keyframes shroomology-review-drawer-enter {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@media (min-width: 541px) {
    .shroomology-review-drawer__identity {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shroomology-review-drawer[open] {
        animation: none;
    }
}

@media (max-width: 700px) {
    .single-product .shroomology-product-reviews__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .single-product .shroomology-product-reviews__summary {
        padding: 0 0 28px;
        border-right: 0;
        border-bottom: 1px solid rgba(var(--shroom-hover-rgb), .16);
    }
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: var(--shroom-text) !important;
}

/* Related products: match the Shop product-card grid. */
.single-product .related.products>h2 {
    margin: 0 0 clamp(32px, 4vw, 52px);
    color: var(--shroom-ink);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.1;
    text-align: center;
}

.single-product .related.products>ul.products {
    margin: 0;
    padding: 0;
}

.single-product .related.products li.product .woocommerce-loop-product__title {
    margin: 24px var(--card-inset) 10px;
    padding: 0;
    color: var(--shroom-text);
    font-family: var(--shroom-font-title);
    font-size: clamp(1.2rem, 1.65vw, 1.5rem);
    font-weight: 400;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.single-product .related.products li.product .price {
    margin: 0 var(--card-inset) 22px;
    color: var(--shroom-primary) !important;
    font-family: var(--shroom-font-text);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
}

.single-product .related.products li.product .button {
    padding: 15px 22px;
    font-size: .9rem;
}

@media (max-width: 1000px) {
    .single-product .related.products>ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 440px) {
    .single-product .related.products>ul.products {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .single-product .related.products {
        width: 100%;
        min-width: 0;
        margin-top: 56px;
        padding-top: 48px;
    }

    .single-product .related.products>h2 {
        margin-bottom: 28px;
        font-size: clamp(2.1rem, 11vw, 2.8rem);
    }

    .single-product .related.products>ul.products {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: none !important;
        gap: 18px;
    }

    .single-product .related.products>ul.products>li.product {
        width: 100% !important;
        max-width: none !important;
        min-height: 0;
        padding-bottom: 22px;
        border-radius: 18px;
    }

    .single-product .related.products li.product a img {
        aspect-ratio: 1;
        border-radius: 18px 18px 0 0;
    }

    .single-product .related.products li.product .woocommerce-loop-product__title {
        margin: 18px 20px 8px;
        font-size: 1.55rem;
        line-height: 1.15;
    }

    .single-product .related.products li.product .price {
        margin: 0 20px 18px;
        font-size: 1.05rem;
    }

    .single-product .related.products li.product .button {
        align-self: stretch;
        justify-content: center;
        min-height: 50px;
        margin: auto 20px 0;
        padding: 12px 20px;
        font-size: .95rem;
    }
}

/* Cart page: product list and order summary. */
/* Shared layout and UI. */
.single-product .shroomology-single-product div.product .summary>.price,
.single-product .shroomology-single-product div.product .summary>.price ins {
    text-decoration: none;
}

.woocommerce span.onsale {
    line-height: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: red;
}

.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
    box-sizing: border-box;
    width: min(var(--shroom-container-width), calc(100% - 2 * var(--shroom-container-gutter)));
    max-width: none;
    margin: 0 auto;
    padding: clamp(42px, 6vw, 88px) 0;
}

/* Shared layout and UI. */
.woocommerce-cart .woocommerce,
.woocommerce-checkout form.checkout {
    display: grid;
    gap: clamp(42px, 7vw, 96px);
    color: var(--shroom-ink);
    font-family: var(--shroom-font-text);
}

.woocommerce-cart .woocommerce {
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
    align-items: start;
}

.woocommerce-cart .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
}

.woocommerce-cart table.shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
}

.woocommerce-cart table.shop_table thead th {
    padding: 0 8px 18px;
    border: 0;
    border-bottom: 1px solid rgba(var(--shroom-hover-rgb), .24);
    color: var(--shroom-ink);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.woocommerce-cart table.shop_table thead .product-name {
    text-align: left;
}

.woocommerce-cart table.shop_table td {
    padding: 28px 8px;
    border: 0;
    border-bottom: 1px solid rgba(var(--shroom-hover-rgb), .2);
    vertical-align: top;
}

.woocommerce-cart table.shop_table .product-thumbnail {
    width: 114px;
    padding-left: 0;
}

.woocommerce-cart table.shop_table .product-thumbnail img {
    display: block;
    width: 92px;
    height: 92px;
    margin: 0;
    object-fit: cover;
    border-radius: 10px;
}

.woocommerce-cart table.shop_table .product-name {
    color: var(--shroom-ink);
    font-size: 1.1rem;
    font-weight: 600;
}

.woocommerce-cart table.shop_table .product-price {
    display: block;
    margin-top: 6px;
    color: var(--shroom-primary);
    font-size: 1rem;
    font-weight: 500;
}

.woocommerce-cart table.shop_table .product-subtotal {
    color: var(--shroom-ink);
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
}

.woocommerce-cart table.shop_table .product-remove {
    width: 32px;
    padding-left: 0;
}

.woocommerce-cart a.remove {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    color: var(--shroom-hover) !important;
    font-size: 1.35rem;
    line-height: 1;
    text-decoration: none;
}

.woocommerce-cart a.remove:hover {
    background: var(--shroom-hover);
    color: #fff !important;
}

.woocommerce-cart .quantity {
    justify-content: center;
    width: 116px;
    height: 44px;
    border: 1px solid rgba(var(--shroom-hover-rgb), .3);
    border-radius: 999px;
    background: #fff;
}

.woocommerce-cart .quantity .qty {
    width: 36px;
    min-height: 40px;
    padding: 0;
    border: 0;
    appearance: textfield;
    background: transparent;
    color: var(--shroom-ink);
    font: inherit;
    text-align: center;
}

.woocommerce-cart .shroomology-cart-quantity-button {
    display: grid;
    width: 34px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--shroom-hover);
    font-size: 1rem;
    cursor: pointer;
}

.woocommerce-cart table.shop_table td.actions {
    padding: 18px 0 0;
    border: 0;
}

/* Shared layout and UI. */
.woocommerce-cart table.shop_table td.actions .coupon,
.woocommerce-cart .shroomology-cart-coupon .coupon {
    display: flex;
    gap: 10px;
}

.woocommerce-cart [name="update_cart"] {
    padding: 11px 18px;
    border: 1px solid var(--shroom-hover);
    border-radius: 999px;
    background: transparent;
    color: var(--shroom-hover);
    font: inherit;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout form.checkout .col2-set {
    width: auto;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    float: none;
    width: auto;
}

.woocommerce-cart .cart_totals>h2 {
    margin: 0;
    padding: 0 0 18px;
    color: var(--shroom-ink);
    font-family: var(--shroom-font-text);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.woocommerce-cart .cart_totals>h2,
.woocommerce-cart .shroomology-cart-coupon {
    border-bottom: 1px solid rgba(var(--shroom-hover-rgb), .24);
}

.woocommerce-cart .shroomology-cart-coupon__toggle {
    width: 100%;
    align-items: center;
    padding: 18px 0;
    border: 0;
    background: transparent;
    color: var(--shroom-ink);
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.woocommerce-cart .shroomology-cart-coupon__toggle span {
    font-size: 1.2rem;
    transition: transform .2s ease;
}

.woocommerce-cart .shroomology-cart-coupon__toggle[aria-expanded="true"] span {
    transform: rotate(180deg);
}

.woocommerce-cart .shroomology-cart-coupon__content {
    padding: 0 0 18px;
}

.woocommerce-cart .shroomology-cart-coupon .input-text {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid rgba(var(--shroom-hover-rgb), .45);
    border-radius: 5px;
    color: var(--shroom-ink);
    font: inherit;
}

.woocommerce-cart .shroomology-cart-coupon .button {
    min-width: 110px;
    border: 1px solid var(--shroom-hover);
    border-radius: 5px;
    background: transparent;
    color: var(--shroom-hover);
    font: inherit;
}

.woocommerce-cart .cart_totals table {
    width: 100%;
    margin: 0;
    border: 0;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid rgba(var(--shroom-hover-rgb), .24);
    color: var(--shroom-ink);
    font-size: 1rem;
}

.woocommerce-cart .cart_totals table th {
    font-weight: 400;
    text-align: left;
}

.woocommerce-cart .cart_totals table td {
    font-weight: 600;
    text-align: right;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    padding: 32px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.woocommerce-cart .wc-proceed-to-checkout {
    padding: 32px 0 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 17px 24px;
    border-radius: 999px;
    background: var(--shroom-hover);
    color: #fff;
    font-family: var(--shroom-font-text);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 850px) {
    .woocommerce-cart .woocommerce {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }
}

@media (max-width: 580px) {
    .woocommerce-cart .site-main {
        width: calc(100% - 36px);
        padding-inline: 0;
    }

    .woocommerce-cart table.shop_table .product-thumbnail {
        display: none;
    }

    .woocommerce-cart table.shop_table td {
        padding-block: 20px;
    }

    .woocommerce-cart table.shop_table .product-subtotal {
        display: none;
    }

    .woocommerce-cart .shroomology-cart-coupon .coupon {
        flex-direction: column;
    }

    .woocommerce-cart .shroomology-cart-coupon .button {
        min-height: 46px;
    }
}

/* WooCommerce Cart and Checkout Blocks: presentation only, no flow changes. */
body.woocommerce-cart .entry-content>.wp-block-woocommerce-cart,
body.woocommerce-cart .entry-content>.wp-block-woocommerce-cart.alignwide,
body.woocommerce-checkout .entry-content>.wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content>.wp-block-woocommerce-checkout.alignwide,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
    box-sizing: border-box;
    width: min(var(--shroom-container-width), calc(100% - 2 * var(--shroom-container-gutter))) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* WordPress block themes may constrain direct blocks via --wp--style--global--content-size. */
body.woocommerce-cart :is(.entry-content, .wp-block-post-content, .is-layout-constrained)>.wp-block-woocommerce-cart,
body.woocommerce-checkout :is(.entry-content, .wp-block-post-content, .is-layout-constrained)>.wp-block-woocommerce-checkout {
    box-sizing: border-box !important;
    width: min(var(--shroom-container-width), calc(100% - 2 * var(--shroom-container-gutter))) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

:is(.woocommerce-cart, .woocommerce-checkout) .wc-block-cart,
:is(.woocommerce-cart, .woocommerce-checkout) .wc-block-checkout {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    color: var(--shroom-ink);
    font-family: var(--shroom-font-text);
}

:is(body.woocommerce-cart, body.woocommerce-checkout) :is(.entry-title, .wp-block-post-title) {
    box-sizing: border-box;
    width: min(var(--shroom-container-width), calc(100% - 2 * var(--shroom-container-gutter)));
    max-width: none;
    padding: 0;
    color: var(--shroom-ink);
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
    text-align: left;
}

.wc-block-cart .wc-block-cart__submit-container {
    background: transparent;
}

.wc-block-cart .wc-block-cart__main,
.wc-block-checkout .wc-block-checkout__main {
    padding-right: clamp(24px, 5vw, 64px);
}

/* Shared layout and UI. */
.wc-block-cart .wc-block-cart__sidebar,
.wc-block-checkout .wc-block-checkout__sidebar,
.woocommerce-checkout #order_review {
    padding-left: clamp(24px, 5vw, 64px);
    border-left: 1px solid rgba(var(--shroom-hover-rgb), .2);
}

.wc-block-cart .wc-block-components-title,
.wc-block-checkout .wc-block-components-title {
    color: var(--shroom-ink);
    font-size: clamp(2rem, 3vw, 3rem);
}

.wc-block-cart .wc-block-cart-items thead th {
    padding-bottom: 18px;
    border-color: rgba(var(--shroom-hover-rgb), .24);
    color: var(--shroom-ink);
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.wc-block-cart .wc-block-cart-items td {
    padding-block: 24px;
    border-color: rgba(var(--shroom-hover-rgb), .2);
}

.wc-block-cart .wc-block-cart-item__image img {
    border-radius: 10px;
}

.wc-block-cart .wc-block-components-product-name,
.wc-block-cart .wc-block-components-product-name a {
    color: var(--shroom-ink) !important;
    font-size: clamp(1.3rem, 1.6vw, 1.55rem) !important;
    line-height: 1.25;
    text-decoration: none !important;
}

.wc-block-cart .wc-block-cart-item__product a,
.wc-block-cart .wc-block-components-button,
.wc-block-cart .wc-block-components-button * {
    text-decoration: none !important;
}

.wc-block-cart .wc-block-components-product-price,
.wc-block-cart .wc-block-components-product-price__value {
    color: var(--shroom-primary) !important;
    font-size: 1rem !important;
    font-weight: 500;
}

.wc-block-cart .wc-block-components-product-metadata,
.wc-block-cart .wc-block-components-product-details__value,
.wc-block-cart .wc-block-cart-item__description {
    color: var(--shroom-text);
    font-size: 1rem;
    line-height: 1.55;
}

.wc-block-cart .wc-block-components-quantity-selector {
    height: 44px;
    border-color: rgba(var(--shroom-hover-rgb), .3);
    border-radius: 999px;
}

.wc-block-cart .wc-block-components-quantity-selector input,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
    color: var(--shroom-ink);
    font-family: var(--shroom-font-text);
}

.wc-block-cart .wc-block-components-quantity-selector>button,
.wc-block-cart .wc-block-components-quantity-selector>button:hover,
.wc-block-cart .wc-block-components-quantity-selector>button:focus {
    width: 34px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--shroom-hover);
    outline: 0;
}

.wc-block-cart .wc-block-components-quantity-selector>button:hover {
    color: var(--shroom-primary);
}

.wc-block-cart .wc-block-components-quantity-selector>button:focus-visible {
    outline: 2px solid var(--shroom-hover);
    outline-offset: -4px;
}

.wc-block-cart .wc-block-cart-item__remove-link {
    color: var(--shroom-hover);
    text-decoration: underline;
}

.wc-block-cart .wc-block-cart__empty-cart__title {
    margin: 0 0 12px;
    color: var(--shroom-ink);
    font-size: clamp(2rem, 3vw, 3rem);
    text-align: center;
}

.wc-block-cart .wc-block-cart__empty-cart__description {
    margin: 0 auto 52px;
    color: var(--shroom-text);
    font-size: 1rem;
    text-align: center;
}

.wc-block-cart .wc-block-cart__empty-cart__products>h2 {
    margin: 0 0 32px;
    color: var(--shroom-ink);
    font-size: clamp(2rem, 3vw, 3rem);
    text-align: center;
}

.wc-block-cart .wc-block-cart__empty-cart__products .wc-block-grid__products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}

.wc-block-cart .wc-block-cart__empty-cart__products .wc-block-grid__product {
    --card-inset: clamp(18px, 1.8vw, 28px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: auto;
    margin: 0;
    padding: 0 0 var(--card-inset);
    border: 0;
    border-radius: 20px;
    background: #fcfaf7;
    box-shadow: 0 20px 38px rgba(105, 79, 51, .10);
    text-align: left;
}

.wc-block-cart .wc-block-cart__empty-cart__products .wc-block-grid__product-image {
    display: block;
    margin: 0;
}

.wc-block-cart .wc-block-cart__empty-cart__products .wc-block-grid__product-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px;
}

.wc-block-cart .wc-block-cart__empty-cart__products .wc-block-grid__product-title {
    margin: 22px var(--card-inset) 8px;
    color: var(--shroom-text);
    font-family: var(--shroom-font-title);
    font-size: clamp(1.2rem, 1.65vw, 1.5rem);
    font-weight: 400;
    line-height: 1.2;
}

.wc-block-cart .wc-block-cart__empty-cart__products .wc-block-grid__product-price {
    margin: 0 var(--card-inset) 20px;
    color: var(--shroom-primary);
    font-family: var(--shroom-font-text);
    font-size: 1.05rem;
}

.wc-block-cart .wc-block-cart__empty-cart__products .wp-block-button {
    margin: auto var(--card-inset) 0;
}

.wc-block-cart .wc-block-cart__empty-cart__products .wp-block-button__link {
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--shroom-text);
    color: #fff;
    font-family: var(--shroom-font-text);
    font-size: .9rem;
    text-decoration: none;
}

@media (max-width: 1000px) {
    .wc-block-cart .wc-block-cart__empty-cart__products .wc-block-grid__products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .wc-block-cart .wc-block-cart__empty-cart__products .wc-block-grid__products {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Empty-cart suggestions can be rendered outside the inner .wc-block-cart wrapper. */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__product {
    --card-inset: clamp(18px, 1.8vw, 28px);
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 var(--card-inset) !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: #fcfaf7 !important;
    box-shadow: 0 20px 38px rgba(105, 79, 51, .10) !important;
    text-align: left !important;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
    font-size: 15px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__product-image {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__product-image img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 1 !important;
    object-fit: cover !important;
    border-radius: 18px !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__product-title {
    margin: 22px var(--card-inset) 8px !important;
    color: var(--shroom-text) !important;
    font-family: var(--shroom-font-title) !important;
    font-size: clamp(1.2rem, 1.65vw, 1.5rem) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__product-title a {
    color: inherit !important;
    text-decoration: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart :is(.wc-block-grid__product-title, .wc-block-grid__product-link) {
    text-decoration: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__product-price {
    margin: 0 var(--card-inset) 20px !important;
    color: var(--shroom-primary) !important;
    font-family: var(--shroom-font-text) !important;
    font-size: 1.05rem !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__product .wp-block-button {
    margin: auto var(--card-inset) 0 !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__product .wp-block-button__link,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__product .wc-block-components-product-button__button {
    display: inline-flex !important;
    min-height: 46px !important;
    align-items: center !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--shroom-text) !important;
    color: #fff !important;
    font-family: var(--shroom-font-text) !important;
    font-size: .9rem !important;
    text-decoration: none !important;
}

@media (max-width: 1000px) {
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 520px) {
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__products {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

.wc-block-components-totals-wrapper,
.woocommerce-checkout #order_review table {
    border: 0;
}

.wc-block-components-totals-item,
.wc-block-components-totals-coupon,
.wc-block-components-totals-shipping {
    border-color: rgba(var(--shroom-hover-rgb), .24) !important;
}

:is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-coupon {
    margin: 0 !important;
}

:is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-shipping {
    margin: 0 !important;
    padding: 18px 0 !important;
}

:is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-footer-item {
    margin-top: 10px;
    padding: 26px 0 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 1.25rem;
    font-weight: 600;
}

.wc-block-components-button:not(.is-link) {
    min-height: 54px;
    border-radius: 999px;
    background: var(--shroom-hover) !important;
    color: #fff !important;
    font-family: var(--shroom-font-text);
    font-weight: 600;
    text-decoration: none !important;
}

.wc-block-checkout .wc-block-components-button:not(.is-link),
.wc-block-checkout button.wc-block-components-button {
    border-color: transparent !important;
    box-shadow: none !important;
}

:is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-coupon__button {
    border-color: transparent !important;
    background: var(--shroom-hover) !important;
    box-shadow: none !important;
    color: #fff !important;
    text-decoration: none !important;
}

.wc-block-components-totals-item__value strong {
    font-weight: 500;
}

.wc-block-components-button:not(.is-link):hover {
    background: var(--shroom-primary) !important;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-select .wc-block-components-select__select {
    min-height: 50px;
    border-color: rgba(var(--shroom-hover-rgb), .38);
    border-radius: 5px;
    color: var(--shroom-ink);
    font-family: var(--shroom-font-text);
}

.wc-block-checkout .wc-block-components-checkout-step__title {
    color: var(--shroom-ink);
    font-size: 1.7rem;
}

.wc-block-checkout .wc-block-components-order-summary {
    padding: 24px;
    border-radius: 10px;
}

.wc-block-checkout .wc-block-components-order-summary__content {
    margin-top: 18px;
}

.wc-block-checkout .wc-block-components-order-summary-item {
    margin: 0;
    padding: 0 0 20px;
}

.wc-block-checkout .wc-block-components-order-summary-item+.wc-block-components-order-summary-item {
    padding-top: 20px;
    border-top: 1px solid rgba(var(--shroom-hover-rgb), .18);
}

.wc-block-checkout .wc-block-components-order-summary-item__image {
    margin-right: 16px;
}

.wc-block-checkout .wc-block-components-order-summary-item__image img {
    border-radius: 8px;
}

.wc-block-checkout .wc-block-components-order-summary-item__title {
    color: var(--shroom-ink);
    font-family: var(--shroom-font-title);
    font-size: 1.1rem;
    line-height: 1.3;
}

.wc-block-checkout .wc-block-components-order-summary .wc-block-components-totals-coupon {
    margin-top: 4px !important;
    border-top: 1px solid rgba(var(--shroom-hover-rgb), .2);
}

.wc-block-checkout .wc-block-components-totals-footer-item {
    padding-right: 16px !important;
    padding-left: 16px !important;
}

/* Classic Checkout receives the same visual system without changing its fields or actions. */
.woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
}

.woocommerce-checkout form.checkout #order_review_heading,
.woocommerce-checkout form.checkout #order_review {
    grid-column: 2;
}

.woocommerce-checkout form.checkout #order_review_heading {
    margin: 0 0 -64px;
    color: var(--shroom-ink);
    font-size: 2rem;
}

.woocommerce-checkout .woocommerce-billing-fields>h3,
.woocommerce-checkout .woocommerce-additional-fields>h3 {
    color: var(--shroom-ink);
    font-size: 2rem;
}

.woocommerce-checkout .form-row label {
    color: var(--shroom-ink);
    font-size: .92rem;
}

.woocommerce-checkout .form-row :is(input, textarea, select) {
    min-height: 50px;
    border: 1px solid rgba(var(--shroom-hover-rgb), .38);
    border-radius: 5px;
    color: var(--shroom-ink);
    font: inherit;
}

.woocommerce-checkout .form-row textarea {
    min-height: 110px;
}

.woocommerce-checkout #order_review {
    padding-top: 64px;
}

.woocommerce-checkout #order_review th,
.woocommerce-checkout #order_review td {
    padding: 16px 0;
    border-color: rgba(var(--shroom-hover-rgb), .2);
    color: var(--shroom-ink);
}

.woocommerce-checkout #payment {
    border-radius: 12px;
    background: #f7f4ee;
}

.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 54px;
    border-radius: 999px;
    background: var(--shroom-hover);
    color: #fff;
    font-family: var(--shroom-font-text);
    font-weight: 600;
}

@media (max-width: 780px) {

    .wc-block-cart .wc-block-cart__main,
    .wc-block-checkout .wc-block-checkout__main {
        padding-right: 0;
    }

    .wc-block-cart .wc-block-cart__sidebar,
    .wc-block-checkout .wc-block-checkout__sidebar {
        padding-left: 0;
        border-left: 0;
    }

    .woocommerce-checkout form.checkout {
        grid-template-columns: minmax(0, 1fr);
    }

    .woocommerce-checkout form.checkout #order_review_heading,
    .woocommerce-checkout form.checkout #order_review {
        grid-column: 1;
    }

    .woocommerce-checkout form.checkout #order_review_heading {
        margin-bottom: -36px;
    }

    .woocommerce-checkout #order_review {
        padding-top: 36px;
        padding-left: 0;
        border-left: 0;
    }
}

/* Home page: compact, touch-friendly layout for phones. */
@media (max-width: 767px) {
    :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-footer-item {
        padding: 0;
    }

    .shroomology-guide-hero h1 {
        font-size: clamp(3rem, 6vw, 6.5rem);
    }

    body.home,
    body.page-template-page-home {
        overflow-x: hidden;
    }

    body.home .shroomology-site-header,
    body.page-template-page-home .shroomology-site-header {
        padding-top: 12px;
    }

    .shroomology-header-container {
        width: calc(100% - 24px);
        min-height: 54px;
    }

    .shroomology-brand__logo {
        width: 22px;
        height: 22px;
    }

    .shroomology-brand__name {
        font-size: 1.1rem;
    }

    .shroomology-primary-nav {
        gap: 16px;
        font-size: .8rem;
    }

    .shroomology-cart-link {
        min-width: 78px;
        height: 36px;
        padding: 0 12px;
    }

    .shroomology-home-hero {
        min-height: 0;
    }

    .shroomology-home-hero__inner {
        width: min(100% - 32px, 560px);
        min-height: 0;
        gap: 30px;
        padding: 0;
    }

    .shroomology-home-hero__content {
        width: 100%;
    }

    .shroomology-home-hero__intro {
        max-width: 34rem;
        margin-bottom: 18px;
        font-size: .94rem;
        line-height: 1.6;
    }


    .shroomology-home-hero__actions {
        width: 100%;
        margin-top: 30px;
    }

    .shroomology-hero-button {
        width: 100%;
        min-width: 0;
        min-height: 52px;
    }

    .shroomology-home-hero__visual {
        width: min(100%, 360px);
        max-width: none;
    }

    .shroomology-home-benefits,
    .shroomology-intention,
    .shroomology-routines,
    .shroomology-journey,
    .shroomology-moment,
    .shroomology-testimonials,
    .shroomology-home-faq,
    .shroomology-quality {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .shroomology-home-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .shroomology-benefit-card {
        min-height: 190px;
        padding: 20px 12px 24px;
        border-radius: 12px;
    }

    .shroomology-benefit-card__icon {
        width: 54px;
        height: 54px;
    }

    .shroomology-benefit-card h3 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .shroomology-section-heading,
    .shroomology-intention__heading,
    .shroomology-moment__heading {
        margin-bottom: 32px;
    }

    :root {
        --shroom-section-title: clamp(2rem, 9vw, 2.8rem);
    }

    .shroomology-rituals,
    .shroomology-routines__list {
        gap: 20px;
    }

    .shroomology-routine {
        border-radius: 20px;
    }

    .shroomology-routine__content {
        padding: 28px 22px 30px;
    }

    .shroomology-routine__content h3 {
        font-size: 2rem;
    }

    .shroomology-routine__visual {
        min-height: 240px;
        padding: 0;
    }

    .shroomology-routine__button {
        width: 100%;
        min-height: 50px;
    }

    .shroomology-journey__step,
    .shroomology-journey__step:nth-child(even) {
        gap: 12px;
    }

    .shroomology-journey__step {
        padding: 32px 14px 32px 54px;
    }

    .shroomology-journey__step:nth-child(even) {
        padding: 32px 54px 32px 14px;
    }

    .shroomology-journey__copy h3 {
        font-size: 1.7rem;
    }

    .shroomology-moment__card {
        padding: 26px 22px;
    }

    .shroomology-moment__media {
        min-height: 240px;
        border-radius: 18px;
    }

    .shroomology-testimonials__layout {
        gap: 30px;
    }

    .shroomology-testimonials__review {
        margin-top: 28px;
    }

    .shroomology-home-faq__panel {
        gap: 28px;
        padding: 26px 18px;
        border-radius: 20px;
    }

    .shroomology-home-faq__item summary {
        grid-template-columns: 22px minmax(0, 1fr) 30px;
        padding: 18px 12px;
        font-size: .98rem;
    }

    .shroomology-home-faq__toggle {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 390px) {
    .shroomology-cart-link {
        min-width: 72px;
        padding: 0 10px;
    }

    .shroomology-home-benefits__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .shroomology-benefit-card {
        min-height: 0;
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
        padding: 18px;
        text-align: left;
    }

    .shroomology-benefit-card__icon {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
    }
}

/* Prevent Vimeo's cover iframe from creating horizontal overflow on mobile. */
@media (max-width: 767px) {
    .shroomology-shop-hero {
        height: 200px;
        padding: 0;
    }

    /* The desktop full-bleed guide uses 100vw; use the actual viewport width on phones. */
    html:has(.shroomology-how-to),
    body:has(.shroomology-how-to) {
        max-width: 100%;
        overflow-x: clip;
    }

    .site-main.shroomology-how-to,
    .shroomology-how-to {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        overflow-x: clip;
    }

    .shroomology-guide-hero,
    .shroomology-guide-hero__content,
    .shroomology-guide-hero__copy,
    .shroomology-guide-hero__visual {
        min-width: 0;
        max-width: 100%;
    }

    .shroomology-guide-hero__content {
        width: 100%;
    }

    .shroomology-guide-hero__visual {
        overflow: hidden;
    }

    .shroomology-guide-hero__visual img {
        width: 100%;
        max-width: 100%;
    }

    .shroomology-guide-form,
    .shroomology-guide-form input,
    .shroomology-guide-form button {
        box-sizing: border-box;
        max-width: 100%;
    }

    html:has(.shroomology-home),
    body.home,
    body.page-template-page-home,
    .shroomology-home {
        max-width: 100%;
        overflow-x: clip;
    }

    .shroomology-home-hero {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        overflow: hidden;
        overflow: clip;
    }

    body.home .shroomology-site-header,
    body.page-template-page-home .shroomology-site-header {
        background: transparent !important;
    }

    /* Do not rely only on WordPress body classes: the custom Home template * can be rendered with a different page class. Keep header inside hero's * visual layer in every case. */
    body:has(.shroomology-home) .shroomology-site-header {
        position: absolute !important;
        top: 0;
        left: 0;
        z-index: 20;
        width: 100%;
        background: transparent !important;
    }

    .shroomology-site-header--home {
        background: transparent !important;
        box-shadow: none !important;
    }

    .shroomology-site-header--home {
        position: absolute !important;
        top: 0;
        left: 0;
        z-index: 20;
        width: 100%;
    }

    .shroomology-home-hero::after {
        /* Keep headings readable while allowing the video to remain visible behind the header. */
        background: rgba(var(--shroom-primary-rgb), .52);
    }

    .shroomology-home-hero,
    .shroomology-home-hero__inner {
        min-height: 100svh;
    }

    .shroomology-home-hero__inner {
        box-sizing: border-box;
        position: relative;
        display: block;
        padding: 0;
    }

    .shroomology-home-hero__content {
        position: absolute;
        top: clamp(118px, 17svh, 140px);
        left: 0;
        right: 0;
        z-index: 3;
    }

    .shroomology-home-hero__visual {
        position: absolute;
        bottom: 0;
        left: 50%;
        z-index: 2;
        /* Short phones shrink the portrait so it never runs under the CTA. */
        width: min(74vw, 320px, 36svh);
        max-width: 74vw;
        transform: translateX(-50%);
    }

    .shroomology-home-hero__video {
        overflow: hidden;
        overflow: clip;
        contain: paint;
    }

    .shroomology-home-hero__video iframe,
    .shroomology-home-hero__video .shroomology-home-hero__poster {
        top: 50%;
        left: 50%;
        width: 177.78vh;
        height: 56.25vw;
        min-width: 100%;
        min-height: 100%;
        max-width: none;
        transform: translate(-50%, -50%);
    }

    /* The guided-practice file is 16:9. Keep its native frame on phones so * the browser does not add letterboxing around the video. */
    .shroomology-moment__media {
        min-height: 0;
        aspect-ratio: 16 / 9;
        line-height: 0;
        background: var(--shroom-text);
    }

    .shroomology-moment__media>.shroomology-moment__video {
        display: block;
        width: 100% !important;
        height: 100% !important;
        min-width: 100%;
        min-height: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        object-fit: cover !important;
        object-position: center center;
    }
}

/* Daily newsletter popup. */
.shroomology-newsletter {
    box-sizing: border-box;
    width: min(980px, calc(100% - 40px));
    max-width: none;
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 30px;
    overflow: auto;
    background: #e9e5de;
    color: var(--shroom-text);
    box-shadow: 0 24px 90px rgba(var(--shroom-text-rgb), .2);
    font-family: var(--shroom-font-text, "Google Sans Flex", Arial, sans-serif);
}

.shroomology-newsletter:not([open]) {
    display: none;
}

.shroomology-newsletter::backdrop {
    background: rgb(0 0 0 / 48%);
}

.shroomology-newsletter__layout {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 462px;
}

.shroomology-newsletter__content {
    padding: 56px 60px 48px 30px;
    align-self: center;
    min-width: 0;
}

.shroomology-newsletter .shroomology-newsletter__eyebrow {
    margin: 0 0 16px;
    font: 24px/1.3 var(--shroom-font-title, "Google Sans Flex", Arial, sans-serif);
}

.shroomology-newsletter h2 {
    margin: 0 0 24px;
    color: inherit;
    font: 46px/1.15 var(--shroom-font-title, "Google Sans Flex", Arial, sans-serif);
}

.shroomology-newsletter #shroomology-newsletter-description {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.9;
}

.shroomology-newsletter__image {
    width: 100%;
    height: 100%;
    min-height: 462px;
    object-fit: cover;
}

.shroomology-newsletter .shroomology-newsletter__close {
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background: #f7f4ed;
    color: var(--shroom-text);
    cursor: pointer;
}

.shroomology-newsletter .shroomology-newsletter__close:hover {
    background: var(--shroom-text);
    color: white;
}

.shroomology-newsletter :focus-visible {
    outline: 2px solid var(--shroom-text);
    outline-offset: 4px;
}

.shroomology-newsletter__email-row {
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--shroom-text);
}

.shroomology-newsletter__form input[type='email'] {
    min-width: 0;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--shroom-text);
    border-radius: 0;
    background: transparent;
    color: var(--shroom-text);
    font: inherit;
    box-shadow: none;
}

.shroomology-newsletter__email-row input[type='email'] {
    flex: 1;
    border: 0;
}

.shroomology-newsletter__form input::placeholder {
    color: var(--shroom-text);
    opacity: 1;
}

.shroomology-newsletter__form button,
.shroomology-newsletter__form input[type='submit'] {
    border: 1px solid var(--shroom-text);
    border-radius: 30px;
    background: transparent;
    color: var(--shroom-text);
    padding: 12px 20px;
    font: inherit;
    cursor: pointer;
}

/* Keep theme button hover/focus colors out of the newsletter form. */
.shroomology-newsletter .shroomology-newsletter__form button,
.shroomology-newsletter .shroomology-newsletter__form input[type='submit'],
.shroomology-newsletter .shroomology-newsletter__form button:is(:hover, :focus, :active, :disabled),
.shroomology-newsletter .shroomology-newsletter__form input[type='submit']:is(:hover, :focus, :active, :disabled) {
    background: transparent;
    border-color: var(--shroom-text);
    color: var(--shroom-text);
    box-shadow: none;
}

.shroomology-newsletter__email-row button {
    display: grid;
    flex: 0 0 50px;
    place-items: center;
    height: 50px;
    padding: 12px;
}

.shroomology-newsletter__form :disabled {
    cursor: not-allowed;
    opacity: 1;
}

.shroomology-newsletter .shroomology-newsletter__note {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--shroom-text);
}

@media (max-width: 700px) {
    .shroomology-newsletter {
        width: calc(100% - 28px);
        max-height: calc(100dvh - 28px);
    }

    .shroomology-newsletter__layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .shroomology-newsletter__content {
        padding: 48px 24px 30px;
    }

    .shroomology-newsletter h2 {
        font-size: clamp(30px, 8vw, 42px);
    }

    .shroomology-newsletter .shroomology-newsletter__eyebrow {
        font-size: 22px;
    }

    .shroomology-newsletter #shroomology-newsletter-description {
        font-size: 14px;
    }

    .shroomology-newsletter__image {
        height: 200px;
        min-height: 0;
        object-position: center 42%;
    }
}

/* Home motion (assets/js/home-motion.js). */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
    overflow: clip;
}

.lenis [data-lenis-prevent] {
    overscroll-behavior: contain;
}

/* Hero entrance runs in CSS from first paint: waiting for the motion scripts left the copy hidden for seconds. */
.shroomology-motion .shroomology-home-hero h1,
.shroomology-motion .shroomology-home-hero__intro,
.shroomology-motion .shroomology-home-hero__actions {
    animation: shroomology-hero-rise 1.3s cubic-bezier(.16, 1, .3, 1) both;
}

.shroomology-motion .shroomology-home-hero__intro {
    animation-delay: .18s;
}

.shroomology-motion .shroomology-home-hero__actions {
    animation-delay: .32s;
}

.shroomology-motion .shroomology-home-hero__visual {
    animation: shroomology-hero-bloom 1.6s cubic-bezier(.16, 1, .3, 1) .1s both;
}

/* Individual translate/scale/rotate compose with existing transforms (the phone portrait is centred with translateX(-50%)). */
@keyframes shroomology-hero-rise {
    from {
        opacity: 0;
        translate: 0 32px;
        filter: blur(8px);
    }

    to {
        opacity: 1;
        translate: none;
        filter: none;
    }
}

@keyframes shroomology-hero-bloom {
    from {
        opacity: 0;
        scale: .88;
        rotate: -4deg;
    }

    to {
        opacity: 1;
        scale: none;
        rotate: none;
    }
}

/* Benefits rides up over the pinned hero like a curtain; every later section must also stack above the fixed hero. */
.shroomology-motion .shroomology-home>section:not(.shroomology-home-hero) {
    position: relative;
    z-index: 2;
}

.shroomology-motion .shroomology-home-benefits {
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -24px 60px -24px rgba(var(--shroom-text-rgb), .35);
}

/* While pinned, the routine cards share one grid cell so each can slide over the last. */
.shroomology-routines__list.is-stacked {
    grid-auto-rows: auto;
}

.shroomology-routines__list.is-stacked>.shroomology-routine {
    position: relative;
    grid-area: 1 / 1;
    box-shadow: 0 -18px 50px -30px rgba(var(--shroom-text-rgb), .35);
}

/* Shade laid over a card as the next one covers it; driven by --routine-dim from home-motion.js. */
.shroomology-routines__list.is-stacked>.shroomology-routine::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    background: var(--shroom-text);
    opacity: var(--routine-dim, 0);
    pointer-events: none;
}

/* Diagonal highlight band swept across a capsule's glass once it opens (moved with transform, clipped by the capsule). */
.shroomology-ritual__shine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 45%;
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .5) 48%, rgba(255, 255, 255, .15) 56%, transparent 80%);
    transform: translateX(-120%);
    pointer-events: none;
}

/* Scrubbed elements get their own compositor layer, so scroll frames move them without repainting. */
.shroomology-motion .shroomology-home-hero__inner,
.shroomology-motion .shroomology-home-hero__video,
.shroomology-motion .shroomology-home-hero__visual img,
.shroomology-motion .shroomology-ritual,
.shroomology-motion .shroomology-ritual__image,
.shroomology-motion .shroomology-ritual__content,
.shroomology-motion .shroomology-ritual__image>img,
.shroomology-motion .shroomology-ritual__image>svg,
.shroomology-motion .shroomology-ritual__shine,
.shroomology-motion .shroomology-routine,
.shroomology-motion .shroomology-quality__visual img {
    will-change: transform;
}

/* Wrapper added by home-motion.js around the Moment video: it takes the clip-path reveal so the video never scales. */
.shroomology-moment__media-shell {
    display: grid;
    min-width: 0;
}

/* Phone refinements (motion + header). Kept last so they win over the earlier mobile blocks. */
@media (max-width: 767px) {
    /* No curtain corners on phones: without the pinned hero behind it, the rounded top only exposed the hero's edge. */
    .shroomology-motion .shroomology-home-benefits {
        border-radius: 0;
        box-shadow: none;
    }

    /* Upright capsules: the highlight band lies across and sweeps downward (home-motion.js moves it with yPercent). */
    .shroomology-ritual__shine {
        right: 0;
        bottom: auto;
        width: auto;
        height: 40%;
        background: linear-gradient(195deg, transparent 20%, rgba(255, 255, 255, .5) 48%, rgba(255, 255, 255, .15) 56%, transparent 80%);
        transform: translateY(-120%);
    }

    /* Header: brand + cart on one row, the nav spread evenly beneath a hairline. */
    .shroomology-header-container {
        width: calc(100% - 24px);
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 0;
        column-gap: 12px;
        padding: 8px 8px 0 14px;
        border-radius: 22px;
    }

    .shroomology-brand__name {
        font-size: 1.05rem;
    }

    .shroomology-cart-link {
        min-width: 0;
        height: 36px;
        padding: 0 14px;
        gap: 6px;
        font-size: 14px;
    }

    .shroomology-primary-nav {
        /* Stretch the nav across the card (the base rule centres it, which shrinks it to its links). */
        justify-self: stretch;
        justify-content: space-between;
        gap: 8px;
        margin: 8px -8px 0 -14px;
        padding: 11px 18px 12px;
        border-top: 1px solid rgba(15, 15, 15, .08);
        font-size: 13px;
    }
}
