/*
Theme Name: Wisemind Storefront
Theme URI: https://wisemindpublications.com/
Description: Faithful, maintainable Storefront child theme for Wisemind Publications.
Author: Wisemind Publications
Version: 0.7.28
Template: storefront
Text Domain: wisemind-storefront
*/

:root {
    --wisemind-green: #1f4d08;
    --wisemind-gold: #e5d012;
    --wisemind-metal-gold-light: #fff4a8;
    --wisemind-metal-gold-mid: #e0b72d;
    --wisemind-metal-gold-dark: #805500;
    --wisemind-red: #ce0000;
    --wisemind-black: #000;
    --wisemind-width: 66.25rem;
    --wisemind-side-stripe: 18px;
    --wisemind-horizontal-stripe: 36px;
    --wisemind-header-gap: 4.235801032em;
    --wisemind-bamboo-width: 72px;
    --wisemind-bamboo-tile-height: 298px;
}

html,
body {
    background: #fff;
}

body {
    color: var(--wisemind-black);
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
}

body::before {
    position: fixed;
    z-index: 9999;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--wisemind-side-stripe);
    background: linear-gradient(
        to right,
        var(--wisemind-green) 0 33.333%,
        var(--wisemind-gold) 33.333% 66.666%,
        var(--wisemind-red) 66.666% 100%
    );
    content: "";
    pointer-events: none;
}

.col-full {
    max-width: var(--wisemind-width);
}

.site-header {
    margin: 0;
    padding: 2rem 0 0;
    border: 0;
    background:
        linear-gradient(var(--wisemind-red), var(--wisemind-red))
        0 100% / 100% var(--wisemind-horizontal-stripe) no-repeat,
        var(--wisemind-green);
}

.site-header .site-branding {
    width: 100%;
    margin: 0 0 1.25rem;
}

.site-branding .site-title,
.site-branding .site-title a {
    color: var(--wisemind-black);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 45px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    -webkit-text-stroke: 1.4px var(--wisemind-metal-gold-mid);
    paint-order: stroke fill;
    text-shadow:
        0 -1.4px 0 var(--wisemind-metal-gold-light),
        .7px -.7px 0 #f4d968,
        1.4px 0 0 var(--wisemind-metal-gold-mid),
        .7px 1.4px 0 var(--wisemind-metal-gold-dark),
        0 1.4px 0 #704700,
        -.7px .7px 0 #a97908,
        -1.4px 0 0 #d5aa21,
        -.7px -.7px 0 #fff8c9,
        0 2.1px 2.1px rgba(0, 0, 0, .35);
}

.site-branding .site-description {
    margin-top: .35rem;
    color: var(--wisemind-gold);
    font-size: 16px;
    font-weight: 600;
}

.storefront-primary-navigation {
    clear: both;
    margin: 0;
    background: var(--wisemind-gold);
}

.wisemind-red-strip {
    min-height: var(--wisemind-horizontal-stripe);
    background: var(--wisemind-red);
}

.wisemind-red-strip .col-full {
    display: flex;
    box-sizing: border-box;
    min-height: var(--wisemind-horizontal-stripe);
    align-items: center;
    justify-content: flex-end;
}

.site-header .wisemind-red-strip-cart,
.site-header .wisemind-red-strip-cart:visited {
    display: inline-flex;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    min-height: var(--wisemind-horizontal-stripe);
    padding: 0 .85rem;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem;
    color: #fff6b0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-header .wisemind-red-strip-cart .amount {
    color: #fff6b0;
}

.site-header .wisemind-red-strip-cart:hover,
.site-header .wisemind-red-strip-cart:focus,
.site-header .wisemind-red-strip-cart:active {
    background: var(--wisemind-black);
    color: var(--wisemind-gold);
}

.site-header .wisemind-red-strip-cart:hover .amount,
.site-header .wisemind-red-strip-cart:focus .amount,
.site-header .wisemind-red-strip-cart:active .amount {
    color: var(--wisemind-gold);
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a,
.site-header-cart .cart-contents {
    padding: 1.15rem .85rem;
    color: #2d7409;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.main-navigation ul.menu > li.current-menu-item > a,
.main-navigation ul.nav-menu > li.current-menu-item > a,
.main-navigation ul.menu > li > a:hover,
.main-navigation ul.nav-menu > li > a:hover,
.site-header-cart .cart-contents:hover {
    background: var(--wisemind-black);
    color: #e51212;
}

.site-header-cart .widget_shopping_cart {
    background: var(--wisemind-black);
}

.site-header-cart .widget_shopping_cart {
    color: var(--wisemind-gold);
}

.main-navigation ul ul {
    border: 1px solid rgba(28, 91, 145, .28);
    background: #fffef6;
    box-shadow: 0 .45rem 1rem rgba(0, 0, 0, .18);
}

.main-navigation ul ul a {
    color: #1c5b91;
}

.main-navigation ul ul li:hover > a,
.main-navigation ul ul li.focus > a,
.main-navigation ul ul li.current-menu-item > a {
    background: #e8f2f9;
    color: #123f67;
}

@media (min-width: 768px) {
    .main-navigation ul ul {
        width: 21em;
    }

    .main-navigation ul ul li a {
        width: 100%;
        padding: .72rem .85rem;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.25;
        white-space: nowrap;
    }
}

.site-content,
.content-area,
.widget-area,
.site-main,
.hentry,
.site-footer {
    background: #fff;
}

.site-content {
    padding: 0 0 2.25rem;
}

.content-area {
    position: relative;
    width: 65.2173913043%;
    box-sizing: border-box;
    padding-top: 2.25rem;
    padding-left: 4.25rem;
}

.content-area::before {
    position: absolute;
    z-index: 1;
    top: calc(-1 * var(--wisemind-header-gap));
    bottom: 0;
    left: 0;
    width: var(--wisemind-bamboo-width);
    background: url("assets/bamboo-divider.png") center top / 100% var(--wisemind-bamboo-tile-height) repeat-y;
    content: "";
    opacity: .7;
    pointer-events: none;
    transform: translateX(-10%);
}

.widget-area {
    width: 30.4347826087%;
    box-sizing: border-box;
    padding-top: 2.25rem;
    padding-right: .78125rem;
    padding-left: .78125rem;
    text-align: center;
}

body:not(.woocommerce):not(.woocommerce-page) .content-area {
    float: right;
}

body:not(.woocommerce):not(.woocommerce-page) .widget-area {
    float: left;
}

.woocommerce .content-area,
.woocommerce-page .content-area {
    float: right;
}

.woocommerce .widget-area,
.woocommerce-page .widget-area {
    float: left;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.widget-title,
.woocommerce-loop-product__title {
    color: var(--wisemind-green);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
}

h1,
.entry-title,
.page-title {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}

p,
li,
dt,
dd,
label,
.entry-content,
.entry-summary,
.woocommerce-result-count,
.posted_in {
    color: var(--wisemind-black);
}

a,
.entry-content a,
.entry-summary a,
.widget-area a,
.woocommerce a {
    color: #9b0000;
}

a:hover,
.entry-content a:hover,
.entry-summary a:hover,
.widget-area a:hover,
.woocommerce a:hover {
    color: var(--wisemind-green);
}

.widget {
    margin: 0 0 2.5rem;
}

.widget .widget-title,
.widget .widgettitle {
    margin-bottom: .9rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(229, 208, 18, .65);
    font-size: 20px;
    text-align: center;
}

.widget-area ul {
    margin-left: 0;
}

.widget-area select,
.widget-area input[type="text"],
.widget-area input[type="search"],
.widget-area button,
.widget-area .select2-container {
    display: block;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.wisemind-sidebar-image {
    text-align: center;
}

.wisemind-sidebar-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.wisemind-sidebar-image .widget-title {
    text-align: center;
}

.wisemind-featured-read {
    padding: 1rem;
    border: 1px solid #b8d7a7;
    border-top: 6px solid var(--wisemind-green);
    background: #f5faef;
    box-shadow: 0 2px 8px rgba(31, 77, 8, .13);
    text-align: center;
}

.wisemind-featured-read .widget-title {
    margin-bottom: .8rem;
    color: var(--wisemind-green);
}

.wisemind-featured-read-cover img {
    display: block;
    width: auto;
    max-width: 78%;
    max-height: 230px;
    margin: 0 auto .8rem;
    object-fit: contain;
    background: #fff;
}

.wisemind-featured-read h3 {
    margin: 0 0 .65rem;
    font-size: 1.05rem;
    line-height: 1.3;
}

.wisemind-featured-read h3 a {
    color: var(--wisemind-green);
}

.wisemind-featured-read p {
    margin: 0 0 .85rem;
    color: #38562d;
    font-size: .9rem;
    line-height: 1.45;
    text-align: left;
}

.wisemind-featured-read .wisemind-featured-read-link {
    display: inline-block;
    margin: 0;
    background: var(--wisemind-green);
    color: #fff8d6;
    font-size: .86rem;
}

.wisemind-featured-read .wisemind-featured-read-link:hover,
.wisemind-featured-read .wisemind-featured-read-link:focus {
    background: #316f12;
    color: var(--wisemind-gold);
}

body.tax-product_cat.term-ancient-testimony .term-description {
    margin: 0 0 2rem;
    padding: 1.35rem 1.5rem;
    border-left: 6px solid var(--wisemind-red);
    background: #fffbe0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

body.tax-product_cat.term-ancient-testimony .term-description p:last-child {
    margin-bottom: 0;
}

body.page-id-15 .content-area .entry-content {
    font-family: "Calisto MT", Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.65;
}

body.page-id-15 .entry-content .wisemind-greetings-portrait {
    width: 31%;
    max-width: 17rem;
    margin: 0 0 1rem 1.5rem;
    float: right;
}

body.page-id-15 .entry-content .wisemind-greetings-portrait img {
    display: block;
    width: 100%;
    height: auto;
}

body.page-id-15 .entry-content::after {
    display: table;
    clear: both;
    content: "";
}

body.page-id-15 .hentry {
    margin-bottom: 1em;
}

body.page-id-15 #comments {
    padding-top: .75em;
}

#respond .comment-reply-title {
    margin-bottom: .8rem;
    color: #31582b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: .01em;
}

#respond .comment-form p {
    margin-bottom: .75rem;
}

#respond textarea#comment {
    min-height: 4.5rem;
    padding: .55rem .7rem;
    line-height: 1.45;
    resize: vertical;
}

body.page-id-2 .hentry {
    margin-bottom: 2.117900516em;
}

body.page-id-2 #comments {
    padding-top: 1.308962em;
}

.wisemind-news-list {
    margin-top: 2rem;
}

.wisemind-news-card {
    display: flow-root;
    margin: 0 0 1.5rem;
    padding: 1.25rem;
    border-left: 6px solid var(--wisemind-red);
    background: #fffbe0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

.wisemind-news-card h3 {
    margin-top: 0;
}

.wisemind-news-image {
    float: left;
    width: 11rem;
    margin: 0 1.25rem .75rem 0;
}

.wisemind-news-image img {
    display: block;
    width: 100%;
    height: auto;
}

.wisemind-news-date {
    margin: -.5rem 0 .75rem;
    font-size: 14px;
}

.wisemind-news-list .page-numbers {
    clear: both;
}

.wisemind-book-category-directory {
    margin: 0 0 2rem;
    padding: 1.25rem;
    border-left: 6px solid var(--wisemind-red);
    background: #fffbe0;
}

.wisemind-book-category-directory ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: .75rem;
    margin: 0;
    list-style: none;
}

.wisemind-book-category-directory li {
    margin: 0;
}

.wisemind-book-category-directory a {
    display: block;
    height: 100%;
    padding: .8rem 1rem;
    border: 1px solid rgba(31, 77, 8, .3);
    background: #fff;
    text-decoration: none;
}

.wisemind-book-category-directory a:hover,
.wisemind-book-category-directory a:focus {
    border-color: var(--wisemind-red);
    background: #fff7b8;
}

.wisemind-book-category-directory small {
    display: block;
    margin-top: .2rem;
    color: var(--wisemind-black);
    font-size: 13px;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wc-block-components-button,
.added_to_cart {
    border: 0;
    background: var(--wisemind-green);
    color: #fff;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce button.single_add_to_cart_button {
    color: #fff6b0;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.wc-block-components-button:hover,
.added_to_cart:hover {
    background: var(--wisemind-black);
    color: var(--wisemind-gold);
}

.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce a.button:active,
.woocommerce button.button:hover,
.woocommerce button.button:focus,
.woocommerce button.button:active,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce button.single_add_to_cart_button:focus,
.woocommerce button.single_add_to_cart_button:active {
    color: var(--wisemind-gold);
}

.woocommerce-account .woocommerce-MyAccount-downloads-file.button {
    display: block;
    width: 100%;
    padding: .65em .8em;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.35;
    text-align: left;
}

.single-product .wisemind-product-review-intro {
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border-left: 4px solid #8dbb75;
    background: #f3f8ef;
    color: #28491c;
}

.single-product .wisemind-top-rated-books {
    position: fixed;
    z-index: 999;
    top: calc(50% - 178px);
    right: 0;
    margin: 0;
    transform: none;
}

.single-product .wisemind-top-rated-books:not([open]) {
    animation: wisemind-top-rated-nudge 1.15s ease-in-out .65s 1 both;
}

@keyframes wisemind-top-rated-nudge {
    0%,
    100% {
        transform: translateX(0);
    }

    38%,
    62% {
        transform: translateX(-18px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .single-product .wisemind-top-rated-books:not([open]) {
        animation: none;
    }
}

.single-product .wisemind-top-rated-books[open] {
    display: flex;
    max-width: calc(100vw - .5rem);
    flex-direction: row-reverse;
    align-items: stretch;
}

.single-product .wisemind-top-rated-books summary {
    display: flex;
    box-sizing: border-box;
    width: 42px;
    min-height: 168px;
    padding: .75rem .45rem;
    cursor: pointer;
    list-style: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #8dbb75;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    background: var(--wisemind-green);
    color: #fff8d6;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .02em;
    text-align: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.single-product .wisemind-top-rated-books summary::-webkit-details-marker {
    display: none;
}

.single-product .wisemind-top-rated-books summary:hover,
.single-product .wisemind-top-rated-books summary:focus {
    background: #316f12;
    color: var(--wisemind-gold);
}

.single-product .wisemind-top-rated-books-panel {
    box-sizing: border-box;
    width: min(330px, calc(100vw - 42px));
    max-height: 80vh;
    padding: 1rem;
    overflow-y: auto;
    border: 1px solid #b8d7a7;
    border-top: 5px solid #8dbb75;
    border-right: 0;
    background: #f7fbf4;
    box-shadow: -5px 5px 18px rgba(31, 77, 8, .2);
}

.single-product .wisemind-top-rated-books h2 {
    margin: 0 0 .35rem;
    color: var(--wisemind-green);
    font-size: 1.18rem;
}

.single-product .wisemind-top-rated-books-note {
    margin: 0 0 .75rem;
    color: #52674b;
    font-size: .84rem;
    line-height: 1.35;
}

.single-product .wisemind-top-rated-books ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-product .wisemind-top-rated-books li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: .7rem;
    align-items: center;
    padding: .55rem 0;
    border-top: 1px solid #dbe9d3;
}

.single-product .wisemind-top-rated-books li:first-child {
    border-top: 0;
}

.single-product .wisemind-top-rated-book-cover img {
    display: block;
    width: 48px;
    height: 62px;
    margin: 0;
    object-fit: contain;
    background: #fff;
}

.single-product .wisemind-top-rated-book-title {
    color: var(--wisemind-green);
    font-weight: 700;
    line-height: 1.25;
}

.single-product .wisemind-top-rated-books .star-rating {
    float: none;
    margin: .25rem 0 0;
    font-size: .78rem;
}

.single-product .wisemind-top-rated-book-rating-kind {
    display: block;
    margin-top: .15rem;
    color: #6b7c63;
    font-size: .72rem;
    line-height: 1.25;
}

.single-product .wisemind-top-rated-book-review-count {
    display: block;
    margin-top: .2rem;
    color: #5b7053;
    font-size: .76rem;
    line-height: 1.3;
}

.single-product .wisemind-book-review-invitation {
    display: block;
    margin-top: .75rem;
    padding: .6rem .7rem;
    border-radius: 2px;
    background: var(--wisemind-green);
    color: #fff8d6;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.single-product .wisemind-book-review-invitation:hover,
.single-product .wisemind-book-review-invitation:focus {
    background: #316f12;
    color: var(--wisemind-gold);
}

@media (max-width: 767px) {
    .single-product .wisemind-top-rated-books {
        top: auto;
        right: .5rem;
        bottom: 4.5rem;
        max-width: calc(100vw - 1rem);
        transform: none;
    }

    .single-product .wisemind-top-rated-books[open] {
        display: block;
        width: calc(100vw - 1rem);
    }

    .single-product .wisemind-top-rated-books summary {
        width: auto;
        min-height: 0;
        padding: .65rem .85rem;
        border-right: 1px solid #8dbb75;
        border-radius: 4px;
        writing-mode: horizontal-tb;
        transform: none;
    }

    .single-product .wisemind-top-rated-books[open] summary {
        width: 100%;
        border-radius: 4px 4px 0 0;
    }

    .single-product .wisemind-top-rated-books-panel {
        width: 100%;
        max-height: 58vh;
        border-right: 1px solid #b8d7a7;
    }
}

ul.products li.product .wisemind-catalog-rating {
    display: flex;
    min-height: 2.35rem;
    margin: .35rem 0 .55rem;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

ul.products li.product .wisemind-catalog-rating .star-rating {
    float: none;
    margin: 0 auto .2rem;
}

ul.products li.product .wisemind-catalog-rating-label {
    color: #587050;
    font-size: .74rem;
    line-height: 1.25;
    text-align: center;
}

.page-id-1690 .entry-content .wp-block-image {
    width: 55%;
    margin: 0 1.5rem 0 0;
    float: left;
    text-align: left;
}

.page-id-1690 .entry-content .wp-block-image figure {
    margin-bottom: 0;
}

.page-id-1690 .entry-content .wp-block-image figcaption {
    display: none;
}

.page-id-1690 .entry-content .wp-block-image img {
    display: block;
    width: 100%;
}

.page-id-1690 .entry-content .wp-block-heading {
    clear: none;
    margin-top: 0;
}

.page-id-1690 .entry-content::after {
    display: table;
    clear: both;
    content: "";
}

@media (max-width: 767px) {
    body.page-id-15 .entry-content .wisemind-greetings-portrait {
        width: min(78%, 17rem);
        margin: 0 auto 1.15rem;
        float: none;
    }

    .page-id-1690 .entry-content .wp-block-image {
        width: 100%;
        margin: 0 0 1rem;
        float: none;
    }
}

.wisemind-account-navigation-widget {
    display: none;
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
table.shop_table,
.cart_totals,
.woocommerce-checkout-review-order {
    background: #fff7b8;
    color: var(--wisemind-black);
}

ul.products li.product,
.single-product div.product,
.woocommerce-tabs,
.woocommerce-Tabs-panel {
    color: var(--wisemind-black);
}

.single-product div.product .images,
.single-product div.product .summary,
.single-product div.product .woocommerce-product-gallery {
    margin-bottom: 1.35rem;
}

.single-product .woocommerce-tabs {
    padding-top: 1rem;
}

.single-product .woocommerce-tabs ul.tabs li a {
    margin-bottom: .35rem;
    padding: .65rem .8rem;
    border: 1px solid #9a80bd;
    border-radius: 3px;
}

.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover,
.single-product .woocommerce-tabs ul.tabs li a:focus {
    border-color: #6f4e9d;
    background: #f6f1fa;
}

.woocommerce ul.products li.product .price,
.single-product div.product p.price,
.single-product div.product span.price {
    color: var(--wisemind-black);
    font-size: 19px;
    font-weight: 900;
}

body.post-type-archive-product .site-main ul.products,
body.tax-product_cat .site-main ul.products,
body.tax-product_tag .site-main ul.products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 2rem .75rem;
}

body.post-type-archive-product .site-main ul.products::before,
body.post-type-archive-product .site-main ul.products::after,
body.tax-product_cat .site-main ul.products::before,
body.tax-product_cat .site-main ul.products::after,
body.tax-product_tag .site-main ul.products::before,
body.tax-product_tag .site-main ul.products::after {
    display: none;
}

body.post-type-archive-product .site-main ul.products li.product,
body.tax-product_cat .site-main ul.products li.product,
body.tax-product_tag .site-main ul.products li.product {
    display: flex;
    float: none;
    clear: none;
    flex-direction: column;
    width: auto;
    height: 100%;
    margin: 0;
    padding: .75rem;
    border: 1px solid rgba(31, 77, 8, .3);
    border-top: 3px solid rgba(31, 77, 8, .45);
    background: #f7fbf3;
    box-shadow: 0 2px 7px rgba(31, 77, 8, .1);
}

body.post-type-archive-product .site-main ul.products li.product:hover,
body.post-type-archive-product .site-main ul.products li.product:focus-within,
body.tax-product_cat .site-main ul.products li.product:hover,
body.tax-product_cat .site-main ul.products li.product:focus-within,
body.tax-product_tag .site-main ul.products li.product:hover,
body.tax-product_tag .site-main ul.products li.product:focus-within {
    border-color: rgba(31, 77, 8, .65);
    box-shadow: 0 4px 12px rgba(31, 77, 8, .16);
}

body.post-type-archive-product .site-main ul.products li.product > .woocommerce-LoopProduct-link,
body.tax-product_cat .site-main ul.products li.product > .woocommerce-LoopProduct-link,
body.tax-product_tag .site-main ul.products li.product > .woocommerce-LoopProduct-link {
    flex: 1 1 auto;
}

body.post-type-archive-product .site-main ul.products li.product > .button,
body.tax-product_cat .site-main ul.products li.product > .button,
body.tax-product_tag .site-main ul.products li.product > .button {
    align-self: center;
    margin-top: auto;
}

blockquote {
    margin: .5rem;
    padding: 1.75rem;
    border-top: 3px solid var(--wisemind-black);
    border-bottom: 3px solid var(--wisemind-black);
    background: var(--wisemind-gold);
    color: var(--wisemind-black);
    font-family: Georgia, serif;
    font-size: 16px;
    font-style: italic;
}

.site-footer {
    border-top: 5px solid var(--wisemind-green);
    color: var(--wisemind-black);
}

.site-footer .col-full {
    max-width: var(--wisemind-width);
}

.wisemind-legal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    padding: .85rem 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.wisemind-legal-footer p {
    margin: 0;
}

.wisemind-legal-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .4rem 1rem;
}

.wisemind-legal-footer__links a {
    color: var(--wisemind-green);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

.wisemind-legal-footer__links a:hover,
.wisemind-legal-footer__links a:focus {
    color: #5d4400;
}

body.page-template-default.page .entry-content .wisemind-policy-intro {
    max-width: 52rem;
    margin-bottom: 2rem;
}

body.page-template-default.page .entry-content .wisemind-policy-section {
    max-width: 52rem;
    margin-bottom: 2.25rem;
    scroll-margin-top: 2rem;
}

body.page-template-default.page .entry-content .wisemind-policy-section h2 {
    margin-bottom: .75rem;
}

@media (max-width: 767px) {
    .site-header {
        padding-top: 1.2rem;
    }

    .site-header .wisemind-red-strip-cart,
    .site-header .wisemind-red-strip-cart:visited {
        padding-right: .5rem;
        padding-left: .5rem;
        gap: .3rem;
        font-size: 13px;
    }

    .site-branding .site-title,
    .site-branding .site-title a {
        font-size: 34px;
    }

    .content-area,
    .widget-area,
    body:not(.woocommerce):not(.woocommerce-page) .content-area,
    body:not(.woocommerce):not(.woocommerce-page) .widget-area,
    .woocommerce .content-area,
    .woocommerce .widget-area,
    .woocommerce-page .content-area,
    .woocommerce-page .widget-area {
        float: none;
        width: 100%;
    }

    .content-area {
        padding-left: 3rem;
    }

    .content-area::before {
        top: 0;
        width: 58px;
        --wisemind-bamboo-tile-height: 240px;
        transform: translateX(-20%);
    }

    .wisemind-news-image {
        float: none;
        width: 100%;
        max-width: 18rem;
        margin: 0 auto 1rem;
    }

    .wisemind-legal-footer {
        display: block;
        padding-right: .75rem;
        padding-left: .75rem;
        text-align: center;
    }

    .wisemind-legal-footer__links {
        justify-content: center;
        margin-top: .55rem;
    }
}

@media (min-width: 768px) {
    body.home #content .col-full,
    body.page-id-1690 #content .col-full {
        max-width: 110rem;
    }

    body.home .content-area,
    body.page-id-1690 .content-area {
        width: 72.5%;
    }

    body.home .widget-area,
    body.page-id-1690 .widget-area {
        width: 23.15%;
    }

    .main-navigation ul.menu,
    .main-navigation ul.nav-menu {
        text-align: right;
    }

    .main-navigation ul.menu > li,
    .main-navigation ul.nav-menu > li {
        display: inline-block;
        float: none;
        text-align: left;
    }

    body.woocommerce-account #content .col-full {
        max-width: 90rem;
    }

    body.logged-in.woocommerce-account .content-area > .site-main .woocommerce-MyAccount-navigation {
        display: none;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
        margin: 0;
        min-width: 0;
    }

    body.logged-in.woocommerce-account .wisemind-account-navigation-widget {
        display: block;
    }

    body.logged-in.woocommerce-account .wisemind-account-navigation-widget .woocommerce-MyAccount-navigation {
        float: none;
        width: 100%;
        margin: 0;
    }

    body.logged-in.woocommerce-account .wisemind-account-navigation-widget .woocommerce-MyAccount-navigation ul {
        width: 13.5rem;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    body.logged-in.woocommerce-account .wisemind-account-navigation-widget .woocommerce-MyAccount-navigation li,
    body.logged-in.woocommerce-account .wisemind-account-navigation-widget .woocommerce-MyAccount-navigation a {
        position: relative;
        display: block;
        padding-right: 2.25rem;
        text-align: left;
        white-space: nowrap;
    }

    body.logged-in.woocommerce-account .wisemind-account-navigation-widget .woocommerce-MyAccount-navigation a::before {
        position: absolute;
        right: 0;
        float: none;
        margin-left: 0;
        text-align: center;
    }

    body.woocommerce-account .woocommerce-table--order-downloads {
        table-layout: fixed;
    }

    body.woocommerce-account .woocommerce-table--order-downloads .download-product {
        width: 32%;
    }

    body.woocommerce-account .woocommerce-table--order-downloads .download-remaining {
        width: 16%;
    }

    body.woocommerce-account .woocommerce-table--order-downloads .download-expires {
        width: 14%;
    }

    body.woocommerce-account .woocommerce-table--order-downloads .download-file {
        width: 38%;
    }

    body.post-type-archive-product #content .col-full,
    body.tax-product_cat #content .col-full,
    body.tax-product_tag #content .col-full {
        max-width: 110rem;
    }

    body.post-type-archive-product .content-area,
    body.tax-product_cat .content-area,
    body.tax-product_tag .content-area {
        width: 72.5%;
    }

    body.post-type-archive-product .widget-area,
    body.tax-product_cat .widget-area,
    body.tax-product_tag .widget-area {
        width: 23.15%;
    }

    body.post-type-archive-product .site-main ul.products,
    body.tax-product_cat .site-main ul.products,
    body.tax-product_tag .site-main ul.products {
        grid-template-columns: repeat(auto-fill, 9.75rem);
        justify-content: start;
        gap: 2.25rem 1.25rem;
    }

    .woocommerce-active .site-header .main-navigation {
        width: 100%;
        margin-right: 0;
    }
}

/* Papine Tales is a true product category; keep its cover grid light and compact. */
body.term-papine-tales ul.products li.product img {
    width: 70%;
    margin-right: auto;
    margin-bottom: .809em;
    margin-left: auto;
}
