
/* Three Creeks Farm — shared design foundation */

:root {
    --tcf-forest: #344638;
    --tcf-forest-hover: #26372A;
    --tcf-sage: #77836B;
    --tcf-cream: #F5F1E8;
    --tcf-charcoal: #292D28;
    --tcf-muted: #596153;
    --tcf-border: #D8DCD2;

    --ast-global-color-0: #344638;
    --ast-global-color-1: #26372A;
    --ast-global-color-2: #292D28;
    --ast-global-color-3: #292D28;
}

/* Content typography */

body {
    color: var(--tcf-charcoal);
}

.site-content h1,
.site-content h2,
.site-content h3,
.site-content h4 {
    color: var(--tcf-forest);
    line-height: 1.25;
}

.site-content h1 {
    letter-spacing: -.025em;
}

.site-content .entry-content p {
    line-height: 1.7;
}

.site-content .entry-content li {
    line-height: 1.6;
}

/* Editorial links, without changing checkout controls */

.entry-content a:not(.button):not(.wp-block-button__link):not([class*="tcf"]) {
    color: var(--tcf-forest);
    text-decoration-color: currentColor;
    text-underline-offset: 3px;
}

.entry-content a:not(.button):not(.wp-block-button__link):hover {
    color: var(--tcf-forest-hover);
}

/* Standard editorial buttons */

.wp-block-button .wp-block-button__link,
.entry-content a.ast-button {
    background: var(--tcf-forest);
    color: #FFFFFF;
    border-radius: 5px;
    text-decoration: none;
}

.wp-block-button .wp-block-button__link:hover,
.entry-content a.ast-button:hover {
    background: var(--tcf-forest-hover);
    color: #FFFFFF;
}

/* Sidebar appearance */

#secondary .widget-title {
    color: var(--tcf-forest);
    line-height: 1.3;
}

#secondary .widget a {
    color: var(--tcf-forest);
}

/* Accessible keyboard focus */

.site-content a:focus-visible,
.site-content button:focus-visible,
.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 2px solid var(--tcf-forest);
    outline-offset: 4px;
}

/* Back-to-top control */

#ast-scroll-top {
    background: var(--tcf-forest);
    color: #FFFFFF;
    border-radius: 6px;
}

#ast-scroll-top:hover {
    background: var(--tcf-forest-hover);
}

/* Shared mobile reading rhythm */

@media (max-width: 600px) {

    .site-content h1 {
        font-size: clamp(1.75rem, 6vw, 2.15rem);
    }

    .site-content .entry-content h2 {
        font-size: 1.45rem;
    }

    .site-content .entry-content h3 {
        font-size: 1.15rem;
    }

    .site-content .entry-content p {
        line-height: 1.65;
    }

    .site-content .entry-content img {
        max-width: 100%;
    }
}


/* D8B — Astra header and navigation */

.site-header {
    color: var(--tcf-charcoal, #292D28);
}

.site-header .site-title a,
.site-header .site-title a:visited {
    color: var(--tcf-forest, #344638);
}

.site-header .site-description {
    color: var(--tcf-muted, #596153);
}

.site-header .main-header-menu > .menu-item > .menu-link,
.site-header .ast-builder-menu .menu-link {
    color: var(--tcf-forest, #344638);
    font-weight: 500;
    text-decoration: none;
}

.site-header .main-header-menu .menu-link:hover,
.site-header .ast-builder-menu .menu-link:hover {
    color: var(--tcf-forest-hover, #26372A);
}

.site-header .main-header-menu .current-menu-item > .menu-link,
.site-header .main-header-menu .current-menu-ancestor > .menu-link,
.site-header .ast-builder-menu .current-menu-item > .menu-link {
    color: var(--tcf-forest, #344638);
    font-weight: 600;
}

.site-header .main-header-menu .current-menu-item > .menu-link {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
}

/* Preserve native Astra hamburger behavior */

.site-header .menu-toggle,
.site-header .ast-mobile-menu-trigger-minimal {
    color: var(--tcf-forest, #344638);
    min-width: 44px;
    min-height: 44px;
    border-radius: 5px;
}

.site-header .menu-toggle svg,
.site-header .ast-mobile-menu-trigger-minimal svg {
    fill: currentColor;
}

.site-header .menu-toggle:focus-visible,
.site-header .menu-link:focus-visible {
    outline: 2px solid var(--tcf-forest, #344638);
    outline-offset: 3px;
}

@media (max-width: 921px) {

    .ast-header-break-point .main-header-bar {
        border-bottom-color: var(--tcf-border, #D8DCD2);
    }

    .ast-header-break-point .ast-mobile-header-content,
    .ast-header-break-point .ast-mobile-popup-inner,
    .ast-header-break-point .main-header-menu {
        background-color: var(--tcf-cream, #F5F1E8);
    }

    .ast-header-break-point .main-header-menu .menu-link,
    .ast-header-break-point .ast-builder-menu-mobile .menu-link {
        color: var(--tcf-forest, #344638);
        min-height: 48px;
        padding-top: 12px;
        padding-bottom: 12px;
        line-height: 1.45;
    }

    .ast-header-break-point .main-header-menu .menu-item {
        border-color: var(--tcf-border, #D8DCD2);
    }

    .ast-header-break-point .main-header-menu
    .current-menu-item > .menu-link {
        background-color: #E3E8DE;
        font-weight: 600;
        text-decoration: none;
    }

    .ast-mobile-popup-drawer .menu-toggle-close {
        color: var(--tcf-forest, #344638);
        min-width: 44px;
        min-height: 44px;
    }
}

/* Back-to-top accent */

#ast-scroll-top {
    background-color: var(--tcf-forest, #344638);
    color: #FFFFFF;
}


/* D8C: shared sitewide footer */

.tcf-site-footer {
    background: #344638;
    color: #E3E8DE;
    padding: 42px 24px 22px;
    clear: both;
}

.tcf-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.tcf-footer-brand {
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid #77836B;
}

.tcf-site-footer .tcf-footer-name {
    color: #FFFFFF;
    font-size: 1.65rem;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: none;
}

.tcf-site-footer p {
    color: #E3E8DE;
    margin: 7px 0;
    font-size: .95rem;
    line-height: 1.6;
}

.tcf-footer-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 28px;
}

.tcf-site-footer .tcf-footer-group h2 {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 13px;
}

.tcf-footer-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tcf-footer-group li {
    margin: 0 0 7px;
    padding: 0;
    line-height: 1.5;
}

.tcf-site-footer a:not(.tcf-footer-subscribe) {
    color: #E3E8DE;
    text-decoration: none;
    font-size: .95rem;
    overflow-wrap: anywhere;
}

.tcf-site-footer a.tcf-footer-name {
    color: #FFFFFF;
    font-size: 1.65rem;
}

.tcf-site-footer a:not(.tcf-footer-subscribe):hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tcf-site-footer a:focus-visible {
    outline: 2px solid #F5F1E8;
    outline-offset: 4px;
}

.tcf-site-footer .tcf-footer-subscribe {
    display: inline-block;
    background: #F5F1E8;
    color: #344638;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.4;
    padding: 12px 17px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 12px;
}

.tcf-site-footer .tcf-footer-subscribe:hover {
    background: #FFFFFF;
    color: #26372A;
}

.tcf-footer-bottom {
    border-top: 1px solid #77836B;
    margin-top: 30px;
    padding-top: 17px;
    font-size: .85rem;
    color: #D8DCD2;
}

/* Replace the redundant Astra copyright bar. */

.tcf-custom-footer .ast-small-footer,
.tcf-custom-footer .site-below-footer-wrap {
    display: none;
}

@media (max-width: 900px) {
    .tcf-footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 26px 22px;
    }
}

@media (max-width: 480px) {

    .tcf-site-footer {
        padding: 28px 20px 20px;
    }

    .tcf-footer-brand {
        padding-bottom: 18px;
        margin-bottom: 22px;
    }

    .tcf-footer-grid {
        gap: 24px 17px;
    }

    .tcf-footer-group li {
        margin-bottom: 9px;
    }

    .tcf-site-footer a:not(.tcf-footer-subscribe) {
        font-size: .92rem;
    }

    .tcf-site-footer a.tcf-footer-name {
        font-size: 1.5rem;
    }

    .tcf-footer-newsletter {
        grid-column: 1 / -1;
        padding-top: 18px;
        border-top: 1px solid #77836B;
    }

    .tcf-footer-subscribe {
        min-height: 44px;
    }

    .tcf-footer-bottom {
        margin-top: 24px;
    }
}


/* D8D: final shared visual refinements */

/* Breadcrumbs */

.site-content .woocommerce-breadcrumb,
.site-content .ast-breadcrumbs,
.site-content .ast-breadcrumbs-wrapper {
    color: #596153;
    font-size: .88rem;
    line-height: 1.5;
}

.site-content .woocommerce-breadcrumb a,
.site-content .ast-breadcrumbs a {
    color: #344638;
    text-underline-offset: 3px;
}

/* Sidebar */

#secondary .widget {
    margin-bottom: 26px;
}

#secondary .widget-title {
    font-size: 1.15rem;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #D8DCD2;
}

#secondary .widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#secondary .widget li {
    margin-bottom: 9px;
    line-height: 1.5;
}

#secondary .widget a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* General workshop and shopping buttons.
   Exclude checkout and payment gateway controls. */

body:not(.woocommerce-checkout)
.woocommerce a.button,
body:not(.woocommerce-checkout)
.woocommerce button.button,
body:not(.woocommerce-checkout)
.woocommerce input.button,
body:not(.woocommerce-checkout)
.woocommerce a.button.alt,
body:not(.woocommerce-checkout)
.woocommerce button.button.alt {
    background-color: #344638;
    color: #FFFFFF;
    border-radius: 5px;
    font-weight: 600;
    line-height: 1.4;
}

body:not(.woocommerce-checkout)
.woocommerce a.button:hover,
body:not(.woocommerce-checkout)
.woocommerce button.button:hover,
body:not(.woocommerce-checkout)
.woocommerce input.button:hover {
    background-color: #26372A;
    color: #FFFFFF;
}

/* WooCommerce informational notices.
   Preserve native error and success distinctions. */

body:not(.woocommerce-checkout)
.woocommerce-info {
    background-color: #F5F1E8;
    border-top-color: #344638;
    color: #292D28;
}

body:not(.woocommerce-checkout)
.woocommerce-info::before {
    color: #344638;
}

/* Contact form presentation */

body.page-id-3 .entry-content label {
    color: #344638;
    font-weight: 600;
}

body.page-id-3 .entry-content
input:not([type="hidden"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.page-id-3 .entry-content select,
body.page-id-3 .entry-content textarea {
    max-width: 100%;
    border-color: #B8C0B2;
    border-radius: 5px;
    color: #292D28;
    font-size: 16px;
}

body.page-id-3 .entry-content
input:focus,
body.page-id-3 .entry-content select:focus,
body.page-id-3 .entry-content textarea:focus {
    border-color: #344638;
    outline-color: #344638;
}

body.page-id-3 .entry-content
input[type="submit"],
body.page-id-3 .entry-content
button[type="submit"] {
    background-color: #344638;
    color: #FFFFFF;
    border-radius: 5px;
    min-height: 44px;
}

/* Editorial images and captions */

.entry-content figure {
    max-width: 100%;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
    color: #596153;
    font-size: .88rem;
    line-height: 1.5;
}

.entry-content figure img,
.entry-content .wp-caption img {
    max-width: 100%;
    height: auto;
}

/* Footer link touch areas */

.tcf-footer-group li a {
    display: inline-block;
    padding: 3px 0;
}

.tcf-footer-subscribe {
    box-sizing: border-box;
    max-width: 100%;
}

/* Narrow screen refinements */

@media (max-width: 600px) {

    .site-content .ast-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-content .entry-content
    .wp-block-columns {
        gap: 18px;
    }

    .site-content .entry-content p {
        overflow-wrap: break-word;
    }

    #secondary .widget {
        margin-bottom: 22px;
    }

    .site-content .woocommerce-breadcrumb {
        overflow-wrap: anywhere;
    }

    body:not(.woocommerce-checkout)
    .woocommerce button.button,
    body:not(.woocommerce-checkout)
    .woocommerce a.button {
        min-height: 44px;
    }
}

@media (max-width: 360px) {

    .tcf-footer-grid {
        grid-template-columns: 1fr;
    }

    .tcf-footer-newsletter {
        grid-column: auto;
    }
}

/* Consistent back-to-top accent */

#ast-scroll-top {
    background-color: #344638 !important;
    color: #FFFFFF !important;
}

#ast-scroll-top:hover {
    background-color: #26372A !important;
}


/* D8F: consolidated mobile review corrections */

/* Suppress the native copyright footer when replaced.
   Never hide a footer containing the custom footer. */

.tcf-custom-footer #colophon:not(:has(.tcf-site-footer)) {
    display: none !important;
}

.tcf-custom-footer #colophon .ast-footer-copyright,
.tcf-custom-footer #colophon .ast-small-footer,
.tcf-custom-footer #colophon .site-below-footer-wrap {
    display: none !important;
}

/* Historical price label */

.single-product .summary .tcf-previous-fee {
    display: block;
    font-size: .85rem;
    line-height: 1.4;
    font-weight: 400;
    color: #596153;
    margin-bottom: 4px;
}

/* Workshop catalog navigation */

.tcf-refined-catalog a {
    position: relative;
    display: block;
    padding-right: 30px !important;
    overflow-wrap: break-word;
}

.tcf-refined-catalog a::after {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.tcf-refined-catalog a:hover {
    color: #26372A;
    text-decoration: underline;
}

/* Better separation of driving directions */

.tcf-direction-heading {
    display: block;
    color: #344638;
    margin-top: 1.4em;
    margin-bottom: .55em;
    line-height: 1.4;
}

/* Improve back-to-top contrast against the footer */

#ast-scroll-top {
    border: 1px solid #E3E8DE !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

@media (max-width: 921px) {

    .ast-header-break-point
    .main-header-menu .menu-link,
    .ast-header-break-point
    .ast-builder-menu-mobile .menu-link,
    .ast-header-break-point
    .ast-mobile-header-content .menu-link {

        min-height: 44px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        line-height: 1.45 !important;
    }

    .ast-header-break-point
    .main-header-menu .current-menu-item > .menu-link,
    .ast-header-break-point
    .ast-builder-menu-mobile .current-menu-item > .menu-link,
    .ast-header-break-point
    .ast-mobile-header-content .current-menu-item > .menu-link {

        background-color: #E3E8DE !important;
        color: #344638 !important;
    }

    /* Redundant mobile sidebar content on home/contact.
       Account and cart remain accessible in the footer. */

    body.home #secondary,
    body.page-id-3 #secondary {
        display: none !important;
    }

    body.home #primary,
    body.page-id-3 #primary {
        width: 100%;
        margin-bottom: 0;
        border-right: 0;
        padding-right: 0;
    }
}

@media (max-width: 600px) {

    body.page-id-218 .entry-content p,
    body.page-id-322 .entry-content p,
    body.page-id-3583 .entry-content p,
    body.page-id-3 .entry-content p {
        margin-bottom: 1em;
    }

    body.page-id-218 .entry-content img {
        height: auto !important;
        max-width: 100%;
        object-fit: contain !important;
    }

    body.page-id-218 .entry-content img {
        margin-bottom: 10px;
    }

    .tcf-refined-catalog a {
        padding-top: 11px !important;
        padding-bottom: 11px !important;
        min-height: 44px;
        box-sizing: border-box;
        line-height: 1.45;
    }

    .tcf-footer-group li {
        margin-bottom: 6px;
    }

    #ast-scroll-top {
        right: 10px !important;
    }
}

/* Existing catalog markup refinements */
.tcf-history a,
a.tcf-history,
.tcf-workshop-catalog a,
a.tcf-workshop-catalog {
position:relative;
padding-right:30px !important;
overflow-wrap:break-word;
}
.tcf-history a::after,
a.tcf-history::after,
.tcf-workshop-catalog a::after,
a.tcf-workshop-catalog::after {
content:"";
position:absolute;
right:12px;
top:50%;
width:7px;
height:7px;
border-top:2px solid currentColor;
border-right:2px solid currentColor;
transform:translateY(-50%) rotate(45deg);
}


/* TCF-DR1: Desktop landing page layout */

@media (min-width: 922px) {

    :is(
        body.home,
        body.page-id-218,
        body.page-id-322,
        body.page-id-3583,
        body.page-id-1091,
        body.page-id-3
    ) #secondary {
        display: none !important;
    }

    :is(
        body.home,
        body.page-id-218,
        body.page-id-322,
        body.page-id-3583,
        body.page-id-1091,
        body.page-id-3
    ) #content > .ast-container {
        display: block;
        max-width: 1200px;
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    :is(
        body.home,
        body.page-id-218,
        body.page-id-322,
        body.page-id-3583,
        body.page-id-1091,
        body.page-id-3
    ) #primary {
        float: none !important;
        width: 100% !important;
        max-width: 1120px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    :is(
        body.home,
        body.page-id-218,
        body.page-id-322,
        body.page-id-3583,
        body.page-id-1091,
        body.page-id-3
    ) .entry-content > p {
        max-width: 85ch;
        font-size: 17px;
        line-height: 1.75;
    }

    :is(
        body.home,
        body.page-id-218,
        body.page-id-322,
        body.page-id-3583,
        body.page-id-1091,
        body.page-id-3
    ) .entry-title {
        font-size: clamp(30px, 2.8vw, 40px);
        line-height: 1.2;
        font-weight: 700;
    }

    :is(
        body.home,
        body.page-id-218,
        body.page-id-322,
        body.page-id-3583
    ) .entry-content h2 {
        font-weight: 650;
        line-height: 1.3;
    }
}



/* TCF-DR2B-R2: Desktop split heroes */

.tcf-split-hero-photo {
    display:block;
}

@media (min-width:922px) {

    .entry-content .tcf-split-hero {
        display:grid !important;
        grid-template-columns:minmax(0,45%) minmax(0,55%);
        align-items:stretch;
        min-height:340px;
        margin-bottom:28px;
    }

    .tcf-split-hero-copy {
        grid-column:1;
        grid-row:1;
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        justify-content:center;
        padding:clamp(24px,3vw,40px) !important;
        box-sizing:border-box;
    }

    .tcf-split-hero-photo {
        grid-column:2;
        grid-row:1;
        position:relative;
        min-height:340px;
        overflow:hidden;
        background:#26372a;
    }

    .tcf-split-hero-photo img {
        position:absolute;
        inset:0;
        width:100% !important;
        height:100% !important;
        object-fit:contain !important;
        object-position:center;
        margin:0 !important;
        border-radius:0 !important;
    }

    .entry-content .tcf-split-hero h2 {
        font-size:clamp(28px,3vw,40px) !important;
        line-height:1.18 !important;
        color:white !important;
        margin-bottom:16px;
    }

    .tcf-split-hero-copy p {
        line-height:1.55;
        max-width:42ch;
    }

    .tcf-split-hero-copy a {
        max-width:100%;
    }
}



/* TCF-DR3: Desktop class layouts */

@media (min-width:922px) {

    .tcf-soap-comparison-grid {
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:20px;
        align-items:stretch;
        margin:24px 0;
    }

    .tcf-soap-comparison-card {
        margin:0 !important;
        min-width:0;
        box-sizing:border-box;
        overflow-wrap:break-word;
    }

    .tcf-soap-comparison-card h3 {
        font-size:22px;
        line-height:1.3;
        margin-bottom:16px;
    }

    .tcf-soap-comparison-card p {
        font-size:16px;
        line-height:1.65;
    }

    .tcf-soap-comparison-card:first-child {
        border-top:4px solid #344638 !important;
    }

    .tcf-home-category-grid {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:24px !important;
        align-items:stretch;
    }

    .tcf-home-category-grid article {
        display:flex;
        flex-direction:column;
        min-width:0;
    }

    .tcf-home-category-grid article > div {
        flex:1;
        display:flex;
        flex-direction:column;
    }

    .tcf-home-category-grid article > div > a:last-child {
        align-self:flex-start;
        margin-top:auto;
        padding:11px 18px;
        border-radius:4px;
        background:#344638;
        color:white !important;
        text-decoration:none !important;
    }

    .tcf-home-category-grid article img {
        height:250px !important;
        object-fit:contain !important;
        background:#e8e6dd;
    }

}



/* TCF-DR4: Shared desktop workshop presentation */

@media (min-width:922px) {

    body.single-product:has(.tcfwr-content)
    #content > .ast-container {
        max-width:1200px;
        width:100%;
        padding-left:40px;
        padding-right:40px;
        box-sizing:border-box;
        margin:auto;
    }

    body.single-product:has(.tcfwr-content)
    #secondary {
        display:none !important;
    }

    body.single-product:has(.tcfwr-content)
    #primary {
        width:100% !important;
        max-width:1120px;
        margin-left:auto;
        margin-right:auto;
        padding:0 !important;
        border:0 !important;
        float:none !important;
    }

    .single-product .product:has(.tcfwr-content)
    .summary.entry-summary {
        width:100% !important;
        float:none !important;
        margin-left:0 !important;
        box-sizing:border-box;
    }

    .single-product .summary:has(> .tcfwr-hero) {
        display:grid !important;
        grid-template-columns:
            minmax(0,11fr) minmax(0,14fr);
        grid-template-rows:auto auto auto auto auto 1fr;
        column-gap:32px;
        row-gap:12px;
        align-items:start;
    }

    .single-product
    .summary:has(> .tcfwr-hero) > * {
        grid-column:2;
        min-width:0;
    }

    .single-product
    .summary:has(> .tcfwr-hero) > .product_title {
        grid-column:1 / -1;
        grid-row:1;
    }

    .single-product
    .summary:has(> .tcfwr-hero) > .tcfwr-session {
        grid-column:1 / -1;
        grid-row:2;
        margin:0 0 10px !important;
    }

    .single-product
    .summary:has(> .tcfwr-hero) > .tcfwr-hero {
        grid-column:1;
        grid-row:3 / span 5;
        width:100% !important;
        max-width:none !important;
        margin:0 !important;
        padding:0 !important;
    }

    .single-product .tcfwr-hero img {
        display:block;
        width:100% !important;
        max-width:100% !important;
        height:auto !important;
        max-height:520px !important;
        object-fit:contain !important;
        object-position:center top;
        margin:auto;
        border-radius:8px;
    }

    .single-product .summary > .product_title {
        font-size:clamp(32px,3vw,42px) !important;
        line-height:1.15 !important;
        color:#344638;
    }

    .single-product .summary > .price {
        font-size:24px !important;
        margin:0 !important;
    }

    .single-product .summary > .tcfwr-intro {
        font-size:17px;
        line-height:1.7;
        margin:0 !important;
        max-width:none !important;
    }

    .single-product .summary > .tcfwr-cta {
        margin:12px 0 0 !important;
        box-sizing:border-box;
    }

    .single-product .summary > form.cart {
        margin:0 !important;
    }

    .tcfwr-content {
        clear:both;
        max-width:1120px !important;
        margin:40px auto !important;
        font-size:17px;
        line-height:1.75;
    }

    .tcfwr-content h2 {
        font-size:clamp(25px,2.3vw,32px);
        line-height:1.25;
        margin-bottom:20px;
    }

    .tcfwr-content h3 {
        font-size:23px;
        line-height:1.3;
    }

    .tcfwr-content p {
        max-width:78ch;
    }

    .tcfwr-content .tcfwr-with-image {
        grid-template-columns:
            minmax(0,2fr) minmax(0,3fr);
        gap:30px;
        margin:32px 0;
        align-items:center;
    }

    .tcfwr-with-image:nth-of-type(even)
    .tcfwr-feature-photo {
        grid-column:2;
        grid-row:1;
    }

    .tcfwr-with-image:nth-of-type(even)
    > :not(.tcfwr-feature-photo) {
        grid-column:1;
        grid-row:1;
        min-width:0;
    }

    .tcfwr-with-image:nth-of-type(even) {
        grid-template-columns:
            minmax(0,3fr) minmax(0,2fr);
    }

    .tcfwr-feature-photo img {
        width:100% !important;
        height:auto !important;
        max-height:440px !important;
        object-fit:contain !important;
        border-radius:7px;
    }

    .tcfwr-instructor {
        background:#f5f1e8;
        padding:26px;
        border-radius:7px;
        box-sizing:border-box;
    }

    .tcfwr-faq {
        max-width:900px;
    }

    .tcfwr-faq details {
        padding:15px 18px;
    }

    .tcfwr-faq summary {
        cursor:pointer;
        font-size:17px;
    }

    .tcfwr-related ul {
        display:grid;
        grid-template-columns:
            repeat(auto-fit,minmax(220px,1fr));
        gap:14px;
        list-style:none;
        padding:0;
        margin:20px 0;
    }

    .tcfwr-related li {
        list-style:none;
        margin:0;
        display:flex;
    }

    .tcfwr-related li a {
        display:flex;
        align-items:center;
        justify-content:space-between;
        width:100%;
        background:#f5f1e8;
        border:1px solid #d8dcd2;
        color:#344638;
        border-radius:6px;
        padding:16px;
        font-weight:600;
        text-decoration:none !important;
    }

    .tcfwr-related li a::after {
        content:"\2192";
        margin-left:12px;
    }

    .tcfwr-related li a:hover {
        background:#344638;
        color:white;
    }

    .entry-content .tcf-schedule {
        display:grid !important;
        grid-template-columns:
            repeat(3,minmax(0,1fr));
        gap:18px;
        align-items:stretch;
    }

    .tcf-schedule > :is(
        div,article,section
    ):has(a[href*="/product/"]) {
        min-width:0;
        box-sizing:border-box;
        margin:0 !important;
        overflow-wrap:break-word;
    }

    .tcf-schedule > :not(
        :is(div,article,section):has(
            a[href*="/product/"]
        )
    ) {
        grid-column:1 / -1;
    }

    .tcf-schedule > :only-child {
        grid-column:1 / -1;
    }

}

@media (min-width:922px) and (max-width:1100px) {

    .entry-content .tcf-schedule {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .single-product
    .summary:has(> .tcfwr-hero) {
        column-gap:24px;
    }
}



/* TCF-DR5: Editorial photography */

.tcf-editorial-media img {
    display:block;
    width:100% !important;
    height:auto !important;
    object-fit:contain !important;
    border-radius:7px;
    margin:0 !important;
}

.tcf-editorial-media {
    margin:0 0 22px;
}

.tcf-finished-projects-photo img {
    height:auto !important;
    object-fit:contain !important;
}

@media (min-width:922px) {

    .tcf-photo-section {
        display:flow-root;
        margin-top:42px !important;
        margin-bottom:42px !important;
    }

    .tcf-photo-editorial .tcf-editorial-media,
    .tcf-photo-private .tcf-editorial-media {
        float:left;
        width:42%;
        margin:0 30px 22px 0;
    }

    .tcf-photo-private .tcf-editorial-media {
        float:right;
        margin:0 0 22px 30px;
    }

    .tcf-photo-section p {
        font-size:17px;
        line-height:1.75;
    }

    .tcf-photo-section h2 {
        line-height:1.25;
    }

    .tcf-photo-projects .tcf-editorial-media,
    .tcf-finished-projects-photo {
        max-width:720px;
        margin:24px auto;
    }

    .tcf-photo-projects img,
    .tcf-finished-projects-photo img {
        display:block;
        max-height:430px;
        width:100% !important;
        object-fit:contain !important;
        margin:auto !important;
    }
}



/* TCF-DR6: Final visual polish */

.tcf-polish-actions {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    margin-top:16px;
}

.tcf-polish-button {
    display:inline-block;
    box-sizing:border-box;
    background:#344638;
    color:#fff !important;
    border:1px solid #344638;
    border-radius:5px;
    padding:12px 18px;
    font-size:15px;
    font-weight:600;
    line-height:1.4;
    text-decoration:none !important;
    transition:background-color .15s ease;
}

.tcf-polish-button:hover {
    background:#26372a;
}

.tcf-polish-button:focus-visible {
    outline:3px solid #77836b;
    outline-offset:4px;
}

.tcf-split-hero .tcf-polish-button {
    background:#f3e8d7;
    color:#344638 !important;
    border-color:#f3e8d7;
}

.tcf-split-hero .tcf-polish-secondary {
    background:transparent;
    color:#fff !important;
    border-color:#e5e6db;
}

.tcf-split-hero .tcf-polish-secondary:hover {
    background:#26372a;
}

.tcf-private-workshop-photo {
    display:block;
    width:100% !important;
    height:auto !important;
    object-fit:contain !important;
    border-radius:7px;
    margin:20px auto !important;
}

.tcf-soap-comparison-card .tcf-polish-button {
    margin-top:12px;
}

@media (min-width:922px) {

    :is(
        body.home,
        body.page-id-218,
        body.page-id-322,
        body.page-id-3583
    ) .entry-content {
        font-size:17px;
        line-height:1.7;
    }

    :is(
        body.home,
        body.page-id-218,
        body.page-id-322,
        body.page-id-3583
    ) .entry-content h2 {
        letter-spacing:-.018em;
        line-height:1.25;
    }

    .tcf-soap-comparison-card {
        display:flex;
        flex-direction:column;
    }

    .tcf-soap-comparison-card
    .tcf-polish-button {
        margin-top:auto;
        align-self:flex-start;
    }

    .tcf-private-workshop-photo {
        max-width:760px !important;
        max-height:440px !important;
    }

    .tcf-schedule a,
    .tcfwr-button {
        line-height:1.4;
    }

    .tcf-split-hero-copy {
        min-width:0;
    }

    .tcf-photo-section h3 {
        clear:both;
    }
}

@media (prefers-reduced-motion:reduce) {
    .tcf-polish-button {
        transition:none;
    }
}

