/* =========================================
   SARAH LEA WEST ART — CUSTOM CSS
   ========================================= */


/* SITE BACKGROUND */

html,
body,
.site,
.site-content,
#page {
    background-color: #F4F0E8 !important;
}


/* LOGO */

.custom-logo,
.site-header .logo {
    width: 280px !important;
    max-width: 100% !important;
    height: auto !important;
}


/* SHOP — PRODUCT TITLES */

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 0.9rem !important;
    color: #2f2f2f !important;
    font-weight: 400 !important;
}


/* SHOP — BUTTONS */

.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.product_type_simple,
.woocommerce ul.products li.product a.product_type_variable {
    background-color: #2f2f2f !important;
    border-color: #2f2f2f !important;
    color: #ffffff !important;
    padding: 0.45em 0.9em !important;
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
}

.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover,
.woocommerce ul.products li.product a.product_type_simple:hover,
.woocommerce ul.products li.product a.product_type_variable:hover {
    background-color: #3f4d3f !important;
    border-color: #3f4d3f !important;
    color: #ffffff !important;
}


/* MAIN NAVIGATION */

.main-navigation a {
    color: #2f2f2f !important;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: #4a5a4a !important;
}


/* HANDWRITTEN HOME */

.handwritten-home > a {
    display: inline-block !important;
    width: 110px !important;
    height: 55px !important;

    background-image: url("https://sarahleawest.art/wp-content/uploads/2026/08/Untitled_Artwork-6-1.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;

    font-size: 0 !important;
    color: transparent !important;
}


/* HANDWRITTEN SHOP */

.handwritten-shop > a {
    display: inline-block !important;
    width: 110px !important;
    height: 55px !important;

    background-image: url("https://sarahleawest.art/wp-content/uploads/2026/08/Untitled_Artwork-4-1.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;

    font-size: 0 !important;
    color: transparent !important;
}


/* HANDWRITTEN FREE DOWNLOADS */

.handwritten-free > a {
    display: inline-block !important;
    width: 150px !important;
    height: 55px !important;

    background-image: url("https://sarahleawest.art/wp-content/uploads/2026/08/Untitled_Artwork-5-1.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;

    font-size: 0 !important;
    color: transparent !important;
}


/* HANDWRITTEN ABOUT */

.handwritten-about > a {
    display: inline-block !important;
    width: 110px !important;
    height: 55px !important;

    background-image: url("https://sarahleawest.art/wp-content/uploads/2026/08/Untitled_Artwork-3-4.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;

    font-size: 0 !important;
    color: transparent !important;
}
/* HANDWRITTEN POCKET LITURGIES */

.handwritten-pocket-liturgies > a {
    display: inline-block !important;
    width: 150px !important;
    height: 55px !important;

    background-image: url("https://sarahleawest.art/wp-content/uploads/2026/08/Untitled_Artwork-22.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;

    font-size: 0 !important;
    color: transparent !important;
}


/* HIDE FOOTER SITE TITLE */

.site-footer .site-info,
.site-footer .site-title {
    display: none !important;
}


/* =========================================
   MOBILE — DESKTOP-STYLE HANDWRITTEN MENU
   ========================================= */

@media screen and (max-width: 768px) {

    /* Smaller logo */

    .custom-logo,
    .site-header .logo {
        width: 165px !important;
        max-width: 60vw !important;
        height: auto !important;
    }


    /* Hide Menu + */

    #toggle,
    #toggle-menu {
        display: none !important;
    }


    /* Hide Cart + and mobile cart */

    #woocommerce-toggle,
    #toggle-cart,
    .woocommerce-menu-container {
        display: none !important;
    }


    /* Keep navigation itself visible */

    #site-navigation {
        display: block !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
    }


    /* Force the actual menu wrapper open */

    #site-navigation > .menu-primary-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        position: static !important;
        transform: none !important;

        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;

        overflow: visible !important;

        margin: 8px 0 0 !important;
        padding: 0 !important;
    }


    /* TARGET THE ACTUAL MENU BY ID */

    #site-navigation #menu-primary-1 {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;

        flex-direction: row !important;
        flex-wrap: nowrap !important;

        justify-content: center !important;
        align-items: center !important;

        position: static !important;
        transform: none !important;

        width: 100% !important;
        height: auto !important;
        max-height: none !important;

        overflow: visible !important;

        margin: 0 auto !important;
        padding: 0 !important;

        gap: 2px !important;

        list-style: none !important;
    }


    /* Individual menu items */

    #menu-primary-1 > li {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        position: static !important;
        float: none !important;

        width: auto !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* Smaller handwritten menu artwork */

    #menu-primary-1 .handwritten-home > a,
    #menu-primary-1 .handwritten-shop > a,
    #menu-primary-1 .handwritten-about > a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 68px !important;
        height: 38px !important;

        margin: 0 !important;
        padding: 0 !important;

        background-size: contain !important;
    }


    #menu-primary-1 .handwritten-free > a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 92px !important;
        height: 38px !important;

        margin: 0 !important;
        padding: 0 !important;

        background-size: contain !important;
    }


    /* Strip away Exford's mobile menu formatting */

    #menu-primary-1 a,
    #menu-primary-1 a:visited,
    #menu-primary-1 a:hover,
    #menu-primary-1 a:focus,
    #menu-primary-1 a:active {
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
}
/* =========================================
   HIDE PAGE TITLES + BREADCRUMBS
   ========================================= */

.page-header,
.entry-header,
.woocommerce-products-header,
.woocommerce-breadcrumb {
    display: none !important;
}
/* =========================================
   TERMS OF USE BUTTON
   ========================================= */

a.wp-block-button__link[href*="terms-of-use-for-free-resources"] {
    background: transparent !important;
    background-color: transparent !important;
    color: #2f2f2f !important;

    border: 1px solid #2f2f2f !important;
    border-radius: 1px !important;

    padding: 0.55em 1em !important;

    font-size: 0.75rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;

    box-shadow: none !important;
    text-decoration: none !important;
}

a.wp-block-button__link[href*="terms-of-use-for-free-resources"]:hover,
a.wp-block-button__link[href*="terms-of-use-for-free-resources"]:focus {
    background: #2f2f2f !important;
    background-color: #2f2f2f !important;
    color: #F4F0E8 !important;
}
/* =========================================
   ABOUT PAGE — REMOVE EMPTY TOP SPACE
   ========================================= */

body.page-id-1610 .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-1610 .entry-content > :first-child {
    margin-top: 0 !important;
}

body.page-id-1610 .entry-content::before {
    display: none !important;
    content: none !important;
}

body.page-id-1610 #primary,
body.page-id-1610 #main,
body.page-id-1610 article {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* =========================================
   HANDWRITTEN FOOTER MENU
   ========================================= */

/* Keep footer navigation centred and tidy */

.site-footer nav ul,
.site-footer .footer-navigation ul,
.site-footer .menu {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 18px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    list-style: none !important;
}


/* Remove default footer link styling */

.site-footer nav li,
.site-footer .footer-navigation li {
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer nav a,
.site-footer .footer-navigation a {
    display: inline-block !important;

    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;

    font-size: 0 !important;
    color: transparent !important;

    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
}


/* CONTACT */

.footer-contact > a {
    width: 95px !important;
    height: 42px !important;

    background-image: url("https://sarahleawest.art/wp-content/uploads/2026/08/Untitled_Artwork-8-e1787280927786.png") !important;
}


/* REFUNDS + RETURNS */

.footer-refunds > a {
    width: 150px !important;
    height: 42px !important;

    background-image: url("https://sarahleawest.art/wp-content/uploads/2026/08/Untitled_Artwork-7-e1787280948429.png") !important;
}


/* TERMS OF USE */

.footer-terms > a {
    width: 135px !important;
    height: 42px !important;

    background-image: url("https://sarahleawest.art/wp-content/uploads/2026/08/Untitled_Artwork-5-2-e1787280982512.png") !important;
}


/* SUBSCRIBE */

.footer-subscribe > a {
    width: 105px !important;
    height: 42px !important;

    background-image: url("https://sarahleawest.art/wp-content/uploads/2026/08/Untitled_Artwork-6-2-e1787280964141.png") !important;
}


/* MOBILE */

@media screen and (max-width: 768px) {

    .site-footer nav ul,
    .site-footer .footer-navigation ul,
    .site-footer .menu {
        gap: 8px 14px !important;
    }

    .footer-contact > a {
        width: 72px !important;
        height: 34px !important;
    }

    .footer-refunds > a {
        width: 115px !important;
        height: 34px !important;
    }

    .footer-terms > a {
        width: 105px !important;
        height: 34px !important;
    }

    .footer-subscribe > a {
        width: 82px !important;
        height: 34px !important;
    }
}
/* HAND-DRAWN MAILCHIMP SUBSCRIBE BUTTON */

#mailchimp-button-block-1 {
    background-color: transparent !important;
    background-image: url("https://sarahleawest.art/wp-content/uploads/2026/08/Untitled_Artwork-9-e1787281897210.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;

    border: none !important;
    box-shadow: none !important;

    width: 220px !important;
    height: 60px !important;
    padding: 0 !important;

    font-size: 0 !important;
    color: transparent !important;

    cursor: pointer !important;
}
/* =========================================
   CUSTOM COPYRIGHT FOOTER
   ========================================= */

#colophon::after {
    content: "© Sarah Lea West 2026";

    display: block;
    width: 100%;

    text-align: center;

    color: #2f2f2f;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.03em;

    padding: 18px 0 22px;
}
/* /* =========================================
   CUSTOM HANDWRITTEN COPYRIGHT FOOTER
   ========================================= */

#colophon::after {
    content: "" !important;

    display: block !important;

    width: px !important;
    height: 50px !important;

    margin: 18px auto 22px !important;

    background-image: url("https://sarahleawest.art/wp-content/uploads/2026/08/Untitled_Artwork-18.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}
/* =========================================
   CUSTOM HANDWRITTEN COPYRIGHT FOOTER
   ========================================= */

#colophon::after {
    content: "" !important;

    display: block !important;

    width: px !important;
    height: 50px !important;

    margin: 0px auto 18px !important;

    background-image: url("https://sarahleawest.art/wp-content/uploads/2026/08/Untitled_Artwork-18.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}
/* =========================================
   FOOTER ORDER — ALL SCREEN SIZES
   ========================================= */

#colophon {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

#colophon .footer-navigation {
    order: 1 !important;
    width: 100% !important;
}

#colophon .site-info {
    display: none !important;
    order: 2 !important;
}

#colophon::before {
    content: none !important;
    display: none !important;
}

#colophon::after {
    order: 3 !important;
    align-self: center !important;
}
/* =========================================
   SHOP — REDUCE SPACE ABOVE FOOTER
   ========================================= */

body.woocommerce-shop #content {
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
}

body.woocommerce-shop #main {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.woocommerce-shop #colophon {
    margin-top: 0px !important;
    padding-top: 0 !important;
}
/* PRODUCT PAGE — REMOVE DESCRIPTION TABS */

/* Hide the WooCommerce tab navigation */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: none !important;
}

/* Hide the repeated "Description" heading */
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description > h2:first-child {
    display: none !important;
}

/* Remove tab panel border/background/padding */
.woocommerce div.product .woocommerce-tabs .panel {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-top: 0 !important;
}

/* Tidy spacing above the description */
.woocommerce div.product .woocommerce-tabs {
    padding-top: 20px !important;
}
/* Hide Jetpack related posts */
#jp-relatedposts {
    display: none !important;
}
/* Site-wide button style */
button,
input[type="button"],
input[type="submit"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.single_add_to_cart_button {
    background: transparent !important;
    color: #222 !important;
    border: 1px solid #777 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 12px 22px !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 400 !important;
}

/* Hover */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.single_add_to_cart_button:hover {
    background: #222 !important;
    color: #fff !important;
    border-color: #222 !important;
}
/* Shop product titles */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: "Allegra", serif !important;
    font-weight: 400 !important;
}
/* Hide WooCommerce result count and sorting dropdown */
.woocommerce-result-count,
.woocommerce-ordering {
    display: none !important;
}
/* SHOP POLISH */

/* Bring product titles a little closer to images */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin-top: 8px !important;
    margin-bottom: 6px !important;
}

/* Make shop buttons a little more delicate */
.woocommerce ul.products li.product .button {
    padding: 9px 16px !important;
    font-size: 0.9em !important;
    letter-spacing: 0.03em !important;
}

/* Refine price typography */
.woocommerce ul.products li.product .price {
    font-family: "Allegra", serif !important;
    font-weight: 400 !important;
    font-size: 1.05em !important;
    margin-bottom: 10px !important;
}

/* Reduce space between product grid and footer */
.woocommerce ul.products {
    margin-bottom: 35px !important;
}

.woocommerce-page #colophon {
    margin-top: 0 !important;
    padding-top: 10px !important;
}
/* KEEP THE SHOP HEADER CONTAINER ALIVE */
body.woocommerce-shop .woocommerce-products-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* HIDE ONLY THE WORD "SHOP" */
body.woocommerce-shop .woocommerce-products-header__title {
    display: none !important;
}

/* SHOW THE CONTENT WE ADDED IN THE SHOP EDITOR */
body.woocommerce-shop .woocommerce-products-header .page-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 0 35px 0 !important;
}

/* BANNER IMAGE */
body.woocommerce-shop .woocommerce-products-header .page-description figure {
    display: block !important;
    margin: 0 !important;
}

body.woocommerce-shop .woocommerce-products-header .page-description img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}
.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;
    white-space: nowrap !important;
    border: 0 !important;
}