/* ==================================================
   ARTIFEX SITE CUSTOM CSS
   CLEANED FULL VERSION
   ================================================== */


/* ==================================================
   0. GLOBAL ARTIFEX COLORS
   ================================================== */

:root {
    --artifex-dark: #1f1f1d;
    --artifex-text: #232323;
    --artifex-gold: #9E8B6A;
    --artifex-button-border: #232323;
    --artifex-button-bg: transparent;
    --artifex-button-text: #232323;
    --artifex-button-hover: #9E8B6A;
    --artifex-cream-text: #fff8ef;
    --artifex-shop-bg: #f7f1e8;
}


/* ==================================================
   1. SHOP PAGE: HIDE OLD WOOCOMMERCE CONTROLS
   ================================================== */

body.woocommerce-shop .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering,
body.woocommerce-shop form.woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering,
body.post-type-archive-product form.woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_cat form.woocommerce-ordering {
    display: none !important;
}

/* Hide grid/list toggle buttons on shop page */
body.woocommerce-shop .gridlist-toggle,
body.woocommerce-shop .gridlist-toggle *,
body.woocommerce-shop .woocommerce-grid-list-toggle,
body.woocommerce-shop .woocommerce-grid-list-toggle *,
body.woocommerce-shop .wc-grid-list-toggle,
body.woocommerce-shop .wc-grid-list-toggle *,
body.woocommerce-shop .woo-grid-list-switcher,
body.woocommerce-shop .woo-grid-list-switcher *,
body.woocommerce-shop .products-view-toggle,
body.woocommerce-shop .products-view-toggle *,
body.woocommerce-shop .woocommerce-view-switcher,
body.woocommerce-shop .woocommerce-view-switcher *,
body.woocommerce-shop .product-view-switcher,
body.woocommerce-shop .product-view-switcher *,
body.woocommerce-shop .shop-view-switcher,
body.woocommerce-shop .shop-view-switcher *,
body.woocommerce-shop .archive-view-switcher,
body.woocommerce-shop .archive-view-switcher *,
body.woocommerce-shop .layout-switcher,
body.woocommerce-shop .layout-switcher *,
body.woocommerce-shop .product-layout-toggle,
body.woocommerce-shop .product-layout-toggle *,
body.woocommerce-shop .kadence-shop-toggle,
body.woocommerce-shop .kadence-shop-toggle *,
body.woocommerce-shop .kadence-toggle-shop-layout,
body.woocommerce-shop .kadence-toggle-shop-layout *,
body.woocommerce-shop .kt-shop-view,
body.woocommerce-shop .kt-shop-view *,
body.woocommerce-shop .woo-product-view,
body.woocommerce-shop .woo-product-view *,
body.woocommerce-shop .shop-product-view,
body.woocommerce-shop .shop-product-view *,
body.woocommerce-shop #grid,
body.woocommerce-shop #list,
body.woocommerce-shop a#grid,
body.woocommerce-shop a#list,
body.woocommerce-shop button#grid,
body.woocommerce-shop button#list,
body.woocommerce-shop a[href*="view=grid"],
body.woocommerce-shop a[href*="view=list"],
body.woocommerce-shop a[href*="product_view=grid"],
body.woocommerce-shop a[href*="product_view=list"],
body.woocommerce-shop a[href*="shop_view=grid"],
body.woocommerce-shop a[href*="shop_view=list"],
body.woocommerce-shop a[title="Grid view"],
body.woocommerce-shop a[title="List view"],
body.woocommerce-shop button[title="Grid view"],
body.woocommerce-shop button[title="List view"],
body.woocommerce-shop a[aria-label="Grid view"],
body.woocommerce-shop a[aria-label="List view"],
body.woocommerce-shop button[aria-label="Grid view"],
body.woocommerce-shop button[aria-label="List view"] {
    display: none !important;
}


/* ==================================================
   2. SHOP PAGE: FILTER EVERYTHING CLEANUP
   ================================================== */

body.woocommerce-shop .wpc-filter-chips-list,
body.woocommerce-shop .wpc-filter-chip,
body.woocommerce-shop .wpc-chip-content,
body.woocommerce-shop .wpc-chip-reset-all,
body.woocommerce-shop .wpc-posts-found,
body.woocommerce-shop .wpc-filter-title,
body.woocommerce-shop .wpc-filter-header,
body.woocommerce-shop .wpc-filters-section-title,
body.woocommerce-shop .wpc-filter-set-widget-title,
body.woocommerce-shop .wpc-filters-widget-top-container,
body.woocommerce-shop .wpc-filters-widget-top,
body.woocommerce-shop .wpc-filters-widget-top-panel,
body.woocommerce-shop .wpc-filters-open-button-container,
body.woocommerce-shop .wpc-filters-open-button,
body.woocommerce-shop .wpc-edit-filter-set,
body.woocommerce-shop .widget-title,
body.woocommerce-shop a[href*="post.php?post=3398"],
body.woocommerce-shop a[href*="action=edit"],
body.woocommerce-shop .wpc-term-count,
body.woocommerce-shop .wpc-term-count *,
body.woocommerce-shop .wpc-term-count-value,
body.woocommerce-shop .wpc-term-count-value *,
body.woocommerce-shop .wpc-filter-count,
body.woocommerce-shop .wpc-filter-count *,
body.woocommerce-shop .fe-count,
body.woocommerce-shop .fe-count * {
    display: none !important;
}

/* Hide empty and disabled filter categories */
body.woocommerce-shop .wpc-term-disabled,
body.woocommerce-shop .wpc-disabled,
body.woocommerce-shop .wpc-empty-term,
body.woocommerce-shop .disabled,
body.woocommerce-shop li[class*="disabled"],
body.woocommerce-shop li[class*="empty"] {
    display: none !important;
}


/* ==================================================
   3. SHOP PAGE: FILTER WRAPPER CLEANUP
   ================================================== */

body.woocommerce-shop .wpc-filters-widget-main-wrapper,
body.woocommerce-shop .wpc-filters-widget-wrapper,
body.woocommerce-shop .wpc-filters-main-wrap,
body.woocommerce-shop .wpc-filters-widget-content,
body.woocommerce-shop .filter-everything-widget,
body.woocommerce-shop .widget_filter_everything,
body.woocommerce-shop .fe-widget,
body.woocommerce-shop .wpc-filters-section,
body.woocommerce-shop .wpc-filter-content {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 18px 0 !important;
}


/* ==================================================
   4. SHOP PAGE: FILTER BUTTON ROW
   5-category version
   ================================================== */

body.woocommerce-shop .wpc-filter-content ul,
body.woocommerce-shop .wpc-filters-ul-list,
body.woocommerce-shop ul.wpc-filters-ul-list,
body.woocommerce-shop .fe-radio-list,
body.woocommerce-shop .fe-checkbox-list {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 1240px !important;
    list-style: none !important;
    margin: 0 auto 22px auto !important;
    padding: 0 !important;
    overflow: visible !important;
}


/* ==================================================
   5. SHOP PAGE: FILTER BUTTON VISUAL STYLE
   ================================================== */

body.woocommerce-shop .wpc-filter-content li,
body.woocommerce-shop .wpc-filters-ul-list li,
body.woocommerce-shop li.wpc-term-item,
body.woocommerce-shop .fe-radio-list li,
body.woocommerce-shop .fe-checkbox-list li {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    border-radius: 999px !important;
    border: 1.5px solid #232323 !important;
    background: transparent !important;
    color: #232323 !important;
    box-shadow: none !important;
    outline: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

body.woocommerce-shop li.wpc-term-item:hover,
body.woocommerce-shop .wpc-filter-content li:hover,
body.woocommerce-shop .wpc-filters-ul-list li:hover {
    background: #9E8B6A !important;
    border-color: #9E8B6A !important;
    color: #fff8ef !important;
}

/* Active selected button */
body.woocommerce-shop li.wpc-term-item.wpc-term-selected,
body.woocommerce-shop li.wpc-term-item.wpc-term-active,
body.woocommerce-shop li.wpc-term-item.wpc-term-chosen,
body.woocommerce-shop li.wpc-term-item.wpc-checked,
body.woocommerce-shop li.wpc-term-item.checked,
body.woocommerce-shop li.wpc-term-item:has(input:checked),
body.woocommerce-shop .wpc-filter-content li:has(input:checked),
body.woocommerce-shop .wpc-filters-ul-list li:has(input:checked) {
    background: #232323 !important;
    border-color: #232323 !important;
    color: #fff8ef !important;
}

/* Active hover stays filled */
body.woocommerce-shop li.wpc-term-item.wpc-term-selected:hover,
body.woocommerce-shop li.wpc-term-item.wpc-term-active:hover,
body.woocommerce-shop li.wpc-term-item.wpc-term-chosen:hover,
body.woocommerce-shop li.wpc-term-item.wpc-checked:hover,
body.woocommerce-shop li.wpc-term-item.checked:hover,
body.woocommerce-shop li.wpc-term-item:has(input:checked):hover,
body.woocommerce-shop .wpc-filter-content li:has(input:checked):hover,
body.woocommerce-shop .wpc-filters-ul-list li:has(input:checked):hover {
    background: #232323 !important;
    border-color: #232323 !important;
    color: #fff8ef !important;
}


/* ==================================================
   6. SHOP PAGE: REMOVE DOUBLE BUTTON EFFECTS
   ================================================== */

body.woocommerce-shop li.wpc-term-item *,
body.woocommerce-shop .wpc-filter-content li *,
body.woocommerce-shop .wpc-filters-ul-list li * {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    color: inherit !important;
}

/* Hide filter inputs */
body.woocommerce-shop .wpc-filter-content input,
body.woocommerce-shop .wpc-filters-ul-list input,
body.woocommerce-shop li.wpc-term-item input,
body.woocommerce-shop .fe-radio-list input,
body.woocommerce-shop .fe-checkbox-list input {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Make full pill clickable */
body.woocommerce-shop .wpc-filter-content label,
body.woocommerce-shop .wpc-filters-ul-list label,
body.woocommerce-shop li.wpc-term-item label,
body.woocommerce-shop .fe-radio-list label,
body.woocommerce-shop .fe-checkbox-list label,
body.woocommerce-shop .wpc-term-item-content-wrapper,
body.woocommerce-shop .wpc-term-item-content-wrapper a,
body.woocommerce-shop .wpc-term-item-content-wrapper span:not(.wpc-term-count):not(.wpc-term-count-value) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Remove plugin marks and pseudo circles */
body.woocommerce-shop .wpc-term-item-content-wrapper:before,
body.woocommerce-shop .wpc-term-item-content-wrapper:after,
body.woocommerce-shop li.wpc-term-item:before,
body.woocommerce-shop li.wpc-term-item:after,
body.woocommerce-shop li.wpc-term-item label:before,
body.woocommerce-shop li.wpc-term-item label:after,
body.woocommerce-shop .wpc-filter-content label:before,
body.woocommerce-shop .wpc-filter-content label:after,
body.woocommerce-shop .wpc-filters-ul-list label:before,
body.woocommerce-shop .wpc-filters-ul-list label:after {
    display: none !important;
    content: none !important;
}

/* Remove focus, click, and active effects */
body.woocommerce-shop li.wpc-term-item:focus,
body.woocommerce-shop li.wpc-term-item:focus-visible,
body.woocommerce-shop li.wpc-term-item:active,
body.woocommerce-shop li.wpc-term-item *:focus,
body.woocommerce-shop li.wpc-term-item *:focus-visible,
body.woocommerce-shop li.wpc-term-item *:active {
    box-shadow: none !important;
    outline: none !important;
}


/* ==================================================
   7. SHOP PAGE: FILTER BUTTON ORDER
   5-category version
   ================================================== */

/* Botanical Art */
body.woocommerce-shop li.wpc-term-item:has(input[value*="botanical-art"]),
body.woocommerce-shop li.wpc-term-item:has(a[href*="botanical-art"]),
body.woocommerce-shop li.wpc-term-item:has(label[for*="botanical-art"]),
body.woocommerce-shop li.wpc-term-item:has(input[value*="vintage-botanical"]),
body.woocommerce-shop li.wpc-term-item:has(a[href*="vintage-botanical"]),
body.woocommerce-shop li.wpc-term-item:has(label[for*="vintage-botanical"]) {
    order: 1 !important;
}

/* Historical Art */
body.woocommerce-shop li.wpc-term-item:has(input[value*="historical-art"]),
body.woocommerce-shop li.wpc-term-item:has(a[href*="historical-art"]),
body.woocommerce-shop li.wpc-term-item:has(label[for*="historical-art"]),
body.woocommerce-shop li.wpc-term-item:has(input[value*="vintage-art"]),
body.woocommerce-shop li.wpc-term-item:has(a[href*="vintage-art"]),
body.woocommerce-shop li.wpc-term-item:has(label[for*="vintage-art"]) {
    order: 2 !important;
}

/* Old Maps */
body.woocommerce-shop li.wpc-term-item:has(input[value*="old-maps"]),
body.woocommerce-shop li.wpc-term-item:has(a[href*="old-maps"]),
body.woocommerce-shop li.wpc-term-item:has(label[for*="old-maps"]),
body.woocommerce-shop li.wpc-term-item:has(input[value*="antique-maps"]),
body.woocommerce-shop li.wpc-term-item:has(a[href*="antique-maps"]),
body.woocommerce-shop li.wpc-term-item:has(label[for*="antique-maps"]) {
    order: 3 !important;
}

/* Historical City Views / City Views */
body.woocommerce-shop li.wpc-term-item:has(input[value*="historical-city-views"]),
body.woocommerce-shop li.wpc-term-item:has(a[href*="historical-city-views"]),
body.woocommerce-shop li.wpc-term-item:has(label[for*="historical-city-views"]),
body.woocommerce-shop li.wpc-term-item:has(input[value*="city-views"]),
body.woocommerce-shop li.wpc-term-item:has(a[href*="city-views"]),
body.woocommerce-shop li.wpc-term-item:has(label[for*="city-views"]) {
    order: 4 !important;
}

/* Natural History Art / Sea Life / Insects */
body.woocommerce-shop li.wpc-term-item:has(input[value*="natural-history-art"]),
body.woocommerce-shop li.wpc-term-item:has(a[href*="natural-history-art"]),
body.woocommerce-shop li.wpc-term-item:has(label[for*="natural-history-art"]),
body.woocommerce-shop li.wpc-term-item:has(input[value*="sea-life-art"]),
body.woocommerce-shop li.wpc-term-item:has(a[href*="sea-life-art"]),
body.woocommerce-shop li.wpc-term-item:has(label[for*="sea-life-art"]),
body.woocommerce-shop li.wpc-term-item:has(input[value*="sea-life"]),
body.woocommerce-shop li.wpc-term-item:has(a[href*="sea-life"]),
body.woocommerce-shop li.wpc-term-item:has(label[for*="sea-life"]),
body.woocommerce-shop li.wpc-term-item:has(input[value*="insects"]),
body.woocommerce-shop li.wpc-term-item:has(a[href*="insects"]),
body.woocommerce-shop li.wpc-term-item:has(label[for*="insects"]) {
    order: 5 !important;
}


/* ==================================================
   8. SHOP PAGE: PRODUCT GRID AND BACKGROUND
   ================================================== */

body.woocommerce-shop {
    background: var(--artifex-shop-bg);
    position: relative;
}

/* Faint fixed background image */
body.woocommerce-shop::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_b7527f929ac9438e891816a1d8cfd201mv2.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}

/* Keep shop content above background */
body.woocommerce-shop .site,
body.woocommerce-shop #page,
body.woocommerce-shop .content-area,
body.woocommerce-shop .site-main,
body.woocommerce-shop .woocommerce {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

body.woocommerce-shop ul.products {
    margin-top: 0 !important;
}

/* Remove big Kadence SHOP title strip only */
body.woocommerce-shop .entry-hero,
body.woocommerce-shop .page-header {
    display: none !important;
}

/* Keep WooCommerce shop header alive so filter buttons stay visible */
body.woocommerce-shop .woocommerce-products-header {
    display: block !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide only SHOP title text */
body.woocommerce-shop .woocommerce-products-header__title,
body.woocommerce-shop h1.woocommerce-products-header__title,
body.woocommerce-shop .page-title {
    display: none !important;
}

/* Add spacing above shop content */
body.woocommerce-shop #primary,
body.woocommerce-shop .content-area,
body.woocommerce-shop .site-main {
    padding-top: 70px !important;
}


/* ==================================================
   9. SHOP PAGE: TABLET FILTER GRID
   5-column pill style — plugin handles clicks
   ================================================== */

@media (min-width: 769px) and (max-width: 1180px) {

    /* 5-column grid */
    body.woocommerce-shop .wpc-filter-content ul,
    body.woocommerce-shop .wpc-filters-ul-list,
    body.woocommerce-shop ul.wpc-filters-ul-list {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 22px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Cancel 5th item centering from old rule */
    body.woocommerce-shop .wpc-filter-content ul > li:nth-child(5),
    body.woocommerce-shop .wpc-filters-ul-list > li:nth-child(5) {
        grid-column: auto !important;
        justify-self: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Pill shape only — do NOT touch label/input internals */
    body.woocommerce-shop li.wpc-term-item {
        min-height: 48px !important;
        border-radius: 999px !important;
        border: 1.5px solid #232323 !important;
        background: transparent !important;
        color: #232323 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
    }

    body.woocommerce-shop li.wpc-term-item:hover {
        background: #9E8B6A !important;
        border-color: #9E8B6A !important;
        color: #fff8ef !important;
    }

    body.woocommerce-shop li.wpc-term-item.wpc-term-selected,
    body.woocommerce-shop li.wpc-term-item.wpc-term-active,
    body.woocommerce-shop li.wpc-term-item:has(input:checked) {
        background: #232323 !important;
        border-color: #232323 !important;
        color: #fff8ef !important;
    }

    body.woocommerce-shop li.wpc-term-item.wpc-term-selected:hover,
    body.woocommerce-shop li.wpc-term-item.wpc-term-active:hover,
    body.woocommerce-shop li.wpc-term-item:has(input:checked):hover {
        background: #232323 !important;
        border-color: #232323 !important;
        color: #fff8ef !important;
    }

    /* Label text size only */
    body.woocommerce-shop li.wpc-term-item label,
    body.woocommerce-shop li.wpc-term-item .wpc-term-item-content-wrapper {
        font-size: 11.5px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
    }
}


/* ==================================================
   10. SHOP PAGE: MOBILE FILTER ROW
   ================================================== */

@media (max-width: 768px) {
    body.woocommerce-shop .wpc-filter-content ul,
    body.woocommerce-shop .wpc-filters-ul-list,
    body.woocommerce-shop ul.wpc-filters-ul-list,
    body.woocommerce-shop .fe-radio-list,
    body.woocommerce-shop .fe-checkbox-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important;
    }

    body.woocommerce-shop .wpc-filter-content ul::-webkit-scrollbar,
    body.woocommerce-shop .wpc-filters-ul-list::-webkit-scrollbar,
    body.woocommerce-shop ul.wpc-filters-ul-list::-webkit-scrollbar {
        display: none !important;
    }

    body.woocommerce-shop .wpc-filter-content li,
    body.woocommerce-shop .wpc-filters-ul-list li,
    body.woocommerce-shop li.wpc-term-item,
    body.woocommerce-shop .fe-radio-list li,
    body.woocommerce-shop .fe-checkbox-list li {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 145px !important;
    }

    body.woocommerce-shop .wpc-filter-content label,
    body.woocommerce-shop .wpc-filters-ul-list label,
    body.woocommerce-shop li.wpc-term-item label,
    body.woocommerce-shop .fe-radio-list label,
    body.woocommerce-shop .fe-checkbox-list label,
    body.woocommerce-shop .wpc-term-item-content-wrapper,
    body.woocommerce-shop .wpc-term-item-content-wrapper a,
    body.woocommerce-shop .wpc-term-item-content-wrapper span:not(.wpc-term-count):not(.wpc-term-count-value) {
        width: 100% !important;
        min-width: 145px !important;
        min-height: 42px !important;
        padding: 0 14px !important;
        font-size: 12px !important;
    }
}


/* ==================================================
   11. STATIC PAGE TITLE STRIP REMOVAL
   About, FAQ, Contact, Reviews
   ================================================== */

/* About Us page */
body.page-id-956 .entry-hero,
body.page-id-956 .page-hero-section,
body.page-id-956 .entry-hero-container-inner,
body.page-id-956 .entry-hero-container,
body.page-id-956 .kadence-title-section,
body.page-id-956 .site-page-title-wrap {
    display: none !important;
}

body.page-id-956 #primary,
body.page-id-956 .content-area,
body.page-id-956 .site-main {
    padding-top: 70px !important;
}

/* FAQ page */
body.page-id-1817 .entry-hero,
body.page-id-1817 .page-hero-section,
body.page-id-1817 .entry-hero-container-inner,
body.page-id-1817 .entry-hero-container,
body.page-id-1817 .kadence-title-section,
body.page-id-1817 .site-page-title-wrap {
    display: none !important;
}

body.page-id-1817 #primary,
body.page-id-1817 .content-area,
body.page-id-1817 .site-main {
    padding-top: 83px !important;
}

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

body.page-id-1817 .entry-content > .wp-block-kadence-rowlayout:first-child {
    margin-top: 0 !important;
}

/* Contact page */
body.page-id-1818 .entry-hero,
body.page-id-1818 .page-hero-section,
body.page-id-1818 .entry-hero-container-inner,
body.page-id-1818 .entry-hero-container,
body.page-id-1818 .kadence-title-section,
body.page-id-1818 .site-page-title-wrap {
    display: none !important;
}

body.page-id-1818 #primary,
body.page-id-1818 .content-area,
body.page-id-1818 .site-main {
    padding-top: 83px !important;
}

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

body.page-id-1818 .entry-content > .wp-block-kadence-rowlayout:first-child {
    margin-top: 0 !important;
}

/* Reviews page */
body.page-id-380 #primary,
body.page-id-380 .content-area,
body.page-id-380 .site-main {
    padding-top: 70px !important;
}

/* Tablet page spacing */
@media (min-width: 769px) and (max-width: 1180px) {
    body.page-id-956 #primary,
    body.page-id-956 .content-area,
    body.page-id-956 .site-main,
    body.page-id-1817 #primary,
    body.page-id-1817 .content-area,
    body.page-id-1817 .site-main,
    body.page-id-1818 #primary,
    body.page-id-1818 .content-area,
    body.page-id-1818 .site-main,
    body.page-id-380 #primary,
    body.page-id-380 .content-area,
    body.page-id-380 .site-main {
        padding-top: 96px !important;
    }

    body.page-id-1817 .entry-content > .wp-block-kadence-rowlayout:first-child,
    body.page-id-1818 .entry-content > .wp-block-kadence-rowlayout:first-child,
    body.page-id-380 .entry-content > .wp-block-kadence-rowlayout:first-child {
        margin-top: 0 !important;
    }
}


/* ==================================================
   12. CART AND CHECKOUT PAGE LAYOUT
   ================================================== */

body.woocommerce-cart .entry-content > .woocommerce,
body.woocommerce-checkout .entry-content > .woocommerce {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 55px 32px 70px !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals {
    box-sizing: border-box !important;
}

body.woocommerce-cart .cart_totals {
    max-width: 420px !important;
}

body.woocommerce-checkout form.checkout {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.woocommerce-checkout .col2-set,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
    box-sizing: border-box !important;
}

body.woocommerce-cart h1,
body.woocommerce-cart h2,
body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3 {
    margin-bottom: 24px !important;
}

/* ==================================================
   12A. TABLET CHECKOUT PAYMENT AREA
   ================================================== */

@media (min-width: 769px) and (max-width: 1180px) {
    body.woocommerce-checkout .entry-content > .woocommerce {
        max-width: 860px !important;
        padding: 48px 34px 70px !important;
    }

    body.woocommerce-checkout form.checkout {
        max-width: 760px !important;
    }

    body.woocommerce-checkout #payment,
    body.woocommerce-checkout .woocommerce-checkout-payment {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.woocommerce-checkout #payment .place-order,
    body.woocommerce-checkout .wc-ppcp-checkout-container,
    body.woocommerce-checkout .paypal-button-container {
        max-width: 560px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-checkout iframe[name^="__zoid__paypal"] {
        max-width: 560px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}


/* ==================================================
   13. PRODUCT PAGE FIXES
   ================================================== */

/* Hide small Jetpack related posts above WooCommerce related products */
body.single-product #jp-relatedposts,
body.single-product .jp-relatedposts,
body.single-product .wp-block-jetpack-related-posts {
    display: none !important;
}

/* Keep product content on a normal stacking layer */
body.single-product .product,
body.single-product .summary,
body.single-product .entry-summary {
    position: relative;
    z-index: 1;
}

/* Stop PayPal buttons from overlapping the header */
body.single-product .wc-ppcp-product-payments__container,
body.single-product .ppc-button-wrapper,
body.single-product .paypal-button-container,
body.single-product .paypal-buttons,
body.single-product iframe[name^="__zoid__paypal"] {
    position: relative !important;
    z-index: 1 !important;
}

/* ==================================================
   13A. TABLET RELATED PRODUCTS GRID
   Fixes orphan 4th product on product pages
   ================================================== */

@media (min-width: 769px) and (max-width: 1180px) {
    body.single-product .related.products {
        max-width: 760px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
    }

    body.single-product .related.products ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 38px 34px !important;

        width: 100% !important;
        max-width: 680px !important;

        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;

        box-sizing: border-box !important;
    }

    body.single-product .related.products ul.products li.product {
        float: none !important;
        clear: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body.single-product .related.products ul.products li.product img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }
}


/* ==================================================
   14. HEADER SEARCH ICON STYLE
   ================================================== */

.site-header .dgwt-wcas-search-icon,
.site-header a.dgwt-wcas-search-icon,
.site-header button.dgwt-wcas-search-icon {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;

    background: none !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;

    color: var(--artifex-text) !important;

    font-family: Inter, sans-serif !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

/* Hide original FiboSearch icon */
.site-header .dgwt-wcas-search-icon svg,
.site-header .dgwt-wcas-search-icon .dgwt-wcas-ico-magnifier,
.site-header .dgwt-wcas-search-icon .dgwt-wcas-ico-magnifier-handler {
    display: none !important;
}

/* SEARCH word */
.site-header .dgwt-wcas-search-icon::before {
    content: "SEARCH" !important;
    display: inline-block !important;

    font-family: Inter, sans-serif !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;

    color: inherit !important;
    text-decoration: none !important;
}

/* Thin magnifying glass */
.site-header .dgwt-wcas-search-icon::after {
    content: "" !important;
    display: inline-block !important;

    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;

    background-color: currentColor !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cline x1='15.5' y1='15.5' x2='21' y2='21'/%3E%3C/svg%3E") !important;
    -webkit-mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    -webkit-mask-size: 17px 17px !important;

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cline x1='15.5' y1='15.5' x2='21' y2='21'/%3E%3C/svg%3E") !important;
    mask-repeat: no-repeat !important;
    mask-position: center !important;
    mask-size: 17px 17px !important;
}

/* Search hover and active state */
.site-header .dgwt-wcas-search-icon:hover,
.site-header .dgwt-wcas-search-icon:focus,
.site-header .dgwt-wcas-search-icon:active,
.site-header .dgwt-wcas-search-icon[aria-expanded="true"],
.site-header .dgwt-wcas-search-icon.dgwt-wcas-active {
    color: var(--artifex-gold) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}


/* ==================================================
   15. FIBOSEARCH DROPDOWN CLEANUP
   ================================================== */

/* Hide FiboSearch "See all products" link everywhere */
.dgwt-wcas-suggestion-more,
.dgwt-wcas-suggestion-more-products {
    display: none !important;
}

/* Shop search dropdown */
body.woocommerce-shop .dgwt-wcas-suggestions-wrapp {
    max-height: 245px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;

    background: #ffffff !important;
    border: 1px solid var(--artifex-gold) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16) !important;

    z-index: 9999 !important;
}

body.woocommerce-shop .dgwt-wcas-suggestion {
    padding: 6px 10px !important;
    min-height: 46px !important;
}

body.woocommerce-shop .dgwt-wcas-suggestion img {
    width: 38px !important;
    height: 38px !important;
    object-fit: cover !important;
}

body.woocommerce-shop .dgwt-wcas-st-title {
    font-size: 14px !important;
    line-height: 1.22 !important;
}

body.woocommerce-shop .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-headline,
body.woocommerce-shop .dgwt-wcas-suggestions-wrapp .dgwt-wcas-st-more {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    font-size: 11px !important;
}


/* ==================================================
   MOBILE ONLY: CENTER PRODUCT LISTINGS
   ================================================== */

@media (max-width: 768px) {

    /* Prevent sideways page overflow */
    html,
    body {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Center WooCommerce product grids/cards on mobile */
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    body.home ul.products,
    body.home .woocommerce ul.products,
    .wc-block-grid__products,
    .wp-block-woocommerce-product-template {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    body.home ul.products li.product,
    body.home .woocommerce ul.products li.product,
    .wc-block-grid__product,
    .wp-block-woocommerce-product-template li {
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 560px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
    }

    .woocommerce ul.products li.product img,
    .woocommerce-page ul.products li.product img,
    body.home ul.products li.product img,
    body.home .woocommerce ul.products li.product img,
    .wc-block-grid__product img,
    .wp-block-woocommerce-product-template img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}


/* ==================================================
   MOBILE ONLY: SEARCH ICON ONLY + MEDIUM MAGNIFIER
   ================================================== */

@media (max-width: 768px) {

    .site-mobile-header-wrap .dgwt-wcas-search-icon::before {
        content: none !important;
        display: none !important;
    }

    .site-mobile-header-wrap .dgwt-wcas-search-icon::after {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;

        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cline x1='15.5' y1='15.5' x2='21' y2='21'/%3E%3C/svg%3E") !important;
        -webkit-mask-repeat: no-repeat !important;
        -webkit-mask-position: center !important;
        -webkit-mask-size: 34px 34px !important;

        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cline x1='15.5' y1='15.5' x2='21' y2='21'/%3E%3C/svg%3E") !important;
        mask-repeat: no-repeat !important;
        mask-position: center !important;
        mask-size: 34px 34px !important;
    }
}


/* ==================================================
   MOBILE ONLY: CLEAN NEWSLETTER BAR
   Uses existing href="#newsletter" HTML
   ================================================== */

@media (max-width: 768px) {

    /* Full-width mobile newsletter row */
    .site-mobile-header-wrap .site-header-row-container:has(a[href="#newsletter"]),
    .site-mobile-header-wrap .site-header-row-container-inner:has(a[href="#newsletter"]),
    .site-mobile-header-wrap .site-header-row:has(a[href="#newsletter"]),
    .site-mobile-header-wrap .site-header-item:has(a[href="#newsletter"]),
    .site-mobile-header-wrap .header-html-inner:has(a[href="#newsletter"]),
    .site-mobile-header-wrap .header-mobile-html:has(a[href="#newsletter"]),
    .site-mobile-header-wrap .mobile-html:has(a[href="#newsletter"]) {
        width: 100% !important;
        max-width: 100% !important;
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

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

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

        grid-column: 1 / -1 !important;
        flex: 0 0 100% !important;

        background: #1f1f1d !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* Existing clickable newsletter link */
    .site-mobile-header-wrap a[href="#newsletter"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        padding: 2px 10px !important;
        margin: 0 !important;
        background: #1f1f1d !important;
        color: #fff8ef !important;
        font-family: Inter, sans-serif !important;
        font-size: 0 !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        letter-spacing: 0.02em !important;
        text-align: center !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* First row */
    .site-mobile-header-wrap a[href="#newsletter"]::before {
        content: "Subscribe and save 25%";
        display: block !important;

        color: #fff8ef !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1.08 !important;
        text-align: center !important;

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

    /* Second row */
    .site-mobile-header-wrap a[href="#newsletter"]::after {
        content: "on your first order";
        display: block !important;

        color: #fff8ef !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1.08 !important;
        text-align: center !important;

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

    .site-mobile-header-wrap a[href="#newsletter"]:hover,
    .site-mobile-header-wrap a[href="#newsletter"]:focus,
    .site-mobile-header-wrap a[href="#newsletter"]:active {
        color: #fff8ef !important;
        text-decoration: none !important;
    }
}


/* ==================================================
   MOBILE ONLY: NEWSLETTER POPUP FITS SCREEN BETTER
   ================================================== */

@media (max-width: 768px) {

    /* Compact the newsletter popup text slightly on mobile */
    .pum-container h1,
    .pum-container h2,
    .pum-container h3,
    .popup h1,
    .popup h2,
    .popup h3,
    [class*="popup"] h1,
    [class*="popup"] h2,
    [class*="popup"] h3 {
        margin-top: 6px !important;
        margin-bottom: 12px !important;
        line-height: 1.15 !important;
    }

    /* Compact the email field spacing */
    .pum-container input[type="email"],
    .popup input[type="email"],
    [class*="popup"] input[type="email"] {
        height: 52px !important;
        min-height: 52px !important;
        margin-bottom: 12px !important;
    }

    /* Compact the subscribe button spacing */
    .pum-container button,
    .pum-container input[type="submit"],
    .popup button,
    .popup input[type="submit"],
    [class*="popup"] button,
    [class*="popup"] input[type="submit"] {
        min-height: 48px !important;
        margin-top: 8px !important;
    }
}

@media (max-width: 768px) {
    body.woocommerce-shop .wp-block-buttons,
    body.post-type-archive-product .wp-block-buttons,
    body.tax-product_cat .wp-block-buttons {
        scroll-behavior: auto !important;
        overscroll-behavior-x: contain;
    }
}

/* 1st visible button, Botanical Art, moves to position 3 */
body.woocommerce-shop .wpc-filter-content ul > li:nth-child(1),
body.woocommerce-shop .wpc-filters-ul-list > li:nth-child(1),
body.woocommerce-shop ul.wpc-filters-ul-list > li:nth-child(1),
body.woocommerce-shop .fe-radio-list > li:nth-child(1),
body.woocommerce-shop .fe-checkbox-list > li:nth-child(1) {
    order: 3 !important;
}

/* 2nd visible button, Old Maps, stays position 2 */
body.woocommerce-shop .wpc-filter-content ul > li:nth-child(2),
body.woocommerce-shop .wpc-filters-ul-list > li:nth-child(2),
body.woocommerce-shop ul.wpc-filters-ul-list > li:nth-child(2),
body.woocommerce-shop .fe-radio-list > li:nth-child(2),
body.woocommerce-shop .fe-checkbox-list > li:nth-child(2) {
    order: 2 !important;
}

/* 3rd visible button, Historical Art, moves to position 1 */
body.woocommerce-shop .wpc-filter-content ul > li:nth-child(3),
body.woocommerce-shop .wpc-filters-ul-list > li:nth-child(3),
body.woocommerce-shop ul.wpc-filters-ul-list > li:nth-child(3),
body.woocommerce-shop .fe-radio-list > li:nth-child(3),
body.woocommerce-shop .fe-checkbox-list > li:nth-child(3) {
    order: 1 !important;
}

/* 4th visible button, Natural History Art, stays position 4 */
body.woocommerce-shop .wpc-filter-content ul > li:nth-child(4),
body.woocommerce-shop .wpc-filters-ul-list > li:nth-child(4),
body.woocommerce-shop ul.wpc-filters-ul-list > li:nth-child(4),
body.woocommerce-shop .fe-radio-list > li:nth-child(4),
body.woocommerce-shop .fe-checkbox-list > li:nth-child(4) {
    order: 4 !important;
}

/* 5th visible button, Historical City Views, stays position 5 */
body.woocommerce-shop .wpc-filter-content ul > li:nth-child(5),
body.woocommerce-shop .wpc-filters-ul-list > li:nth-child(5),
body.woocommerce-shop ul.wpc-filters-ul-list > li:nth-child(5),
body.woocommerce-shop .fe-radio-list > li:nth-child(5),
body.woocommerce-shop .fe-checkbox-list > li:nth-child(5) {
    order: 5 !important;
}

/* ==================================================
   ARTIFEX PRODUCT CATEGORY PAGE FINAL CSS
   WooCommerce category pages
   ================================================== */


/* ==================================================
   ARTIFEX PRODUCT CATEGORY PAGE FINAL CSS
   WooCommerce category pages
   No background images
   ================================================== */


/* ==================================================
   1. FULL CATEGORY PAGE BACKGROUND
   ================================================== */

html body.tax-product_cat {
    background-color: #eeece3 !important;
}

html body.tax-product_cat .site-content {
    background: #eeece3 !important;
}

/* Make inner Kadence/WooCommerce containers transparent */
html body.tax-product_cat #primary,
html body.tax-product_cat .content-area,
html body.tax-product_cat main.site-main,
html body.tax-product_cat .site-main,
html body.tax-product_cat .woocommerce,
html body.tax-product_cat .woocommerce-products-header,
html body.tax-product_cat .content-bg,
html body.tax-product_cat .content-container,
html body.tax-product_cat .entry-content-wrap,
html body.tax-product_cat .kadence-shop-top-row,
html body.tax-product_cat .woocommerce-notices-wrapper {
    background: transparent !important;
}


/* ==================================================
   2. REMOVE GRID / LIST BUTTONS ABOVE LISTINGS
   ================================================== */

body.tax-product_cat #gridlist-toggle,
body.tax-product_cat #gridlist-toggle *,
body.tax-product_cat .gridlist-toggle,
body.tax-product_cat .gridlist-toggle *,
body.tax-product_cat .wc-grid-list-toggle,
body.tax-product_cat .wc-grid-list-toggle *,
body.tax-product_cat .woocommerce-grid-list-toggle,
body.tax-product_cat .woocommerce-grid-list-toggle *,
body.tax-product_cat .woo-grid-list-switcher,
body.tax-product_cat .woo-grid-list-switcher *,
body.tax-product_cat .product-view-toggle,
body.tax-product_cat .product-view-toggle *,
body.tax-product_cat .products-view,
body.tax-product_cat .products-view *,
body.tax-product_cat .woocommerce-view-toggle,
body.tax-product_cat .woocommerce-view-toggle *,
body.tax-product_cat .berocket_lgv_widget,
body.tax-product_cat .berocket_lgv_widget *,
body.tax-product_cat .berocket_lgv_buttons,
body.tax-product_cat .berocket_lgv_buttons *,
body.tax-product_cat .berocket_lgv_button,
body.tax-product_cat .berocket_lgv_button *,
body.tax-product_cat .berocket_lgv_grid,
body.tax-product_cat .berocket_lgv_grid *,
body.tax-product_cat .berocket_lgv_list,
body.tax-product_cat .berocket_lgv_list *,
body.tax-product_cat .br_lgv_product_count_block,
body.tax-product_cat .br_lgv_product_count_block *,
body.tax-product_cat .br_lgv_product_count,
body.tax-product_cat .br_lgv_product_count *,
body.tax-product_cat .br_lgv_grid,
body.tax-product_cat .br_lgv_grid *,
body.tax-product_cat .br_lgv_list,
body.tax-product_cat .br_lgv_list *,
body.tax-product_cat [class*="berocket_lgv"],
body.tax-product_cat [class*="br_lgv"],
body.tax-product_cat [id*="berocket_lgv"],
body.tax-product_cat [id*="br_lgv"],
body.tax-product_cat a#grid,
body.tax-product_cat a#list,
body.tax-product_cat button#grid,
body.tax-product_cat button#list {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    max-height: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}


/* ==================================================
   3. CATEGORY TITLE AND PRODUCT GRID SPACING
   ================================================== */

body.tax-product_cat .woocommerce-products-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background: transparent !important;
}

body.tax-product_cat h1.page-title,
body.tax-product_cat h1.woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title {
    margin-bottom: 30px !important;
    padding-bottom: 0 !important;
}

body.tax-product_cat ul.products {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.tax-product_cat .woocommerce-result-count,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_cat form.woocommerce-ordering {
    display: none !important;
}


/* ==================================================
   4. MOVED CATEGORY DESCRIPTION BOX
   ================================================== */

body.tax-product_cat .artifex-description-moved {
    position: relative !important;
    isolation: isolate !important;
    max-width: 1080px !important;
    margin: 90px auto 70px auto !important;
    padding: 58px 70px !important;
    background: #f3f0e7 !important;
    border: 1px solid rgba(158, 139, 106, 0.45) !important;
    border-top: 4px solid rgba(158, 139, 106, 0.65) !important;
    box-shadow: 0 18px 45px rgba(35, 35, 35, 0.08) !important;
    text-align: center !important;
    color: #2f2f2f !important;
    font-size: 17px !important;
    line-height: 1.85 !important;
    overflow: hidden !important;
}


/* Heading inside description box */
body.tax-product_cat .artifex-description-moved::before {
    content: "About this collection";
    display: block;
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto 28px auto;
    padding-bottom: 18px;
    color: #232323;
    font-size: 34px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    border-bottom: 1px solid rgba(158, 139, 106, 0.45);
}


/* Disable old pseudo background layer */
body.tax-product_cat .artifex-description-moved::after {
    content: none !important;
    display: none !important;
}


/* Paragraph styling */
body.tax-product_cat .artifex-description-moved p {
    position: relative;
    z-index: 2;
    max-width: 900px !important;
    margin: 0 auto 20px auto !important;
    text-wrap: pretty;
}

body.tax-product_cat .artifex-description-moved p:first-of-type {
    max-width: 940px !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #252525 !important;
    text-wrap: balance;
}

body.tax-product_cat .artifex-description-moved p:last-child {
    margin-bottom: 0 !important;
}


/* ==================================================
   5. MOBILE
   ================================================== */

@media (max-width: 768px) {
    body.tax-product_cat h1.page-title,
    body.tax-product_cat h1.woocommerce-products-header__title,
    body.tax-product_cat .woocommerce-products-header__title {
        margin-bottom: 22px !important;
    }

    body.tax-product_cat .artifex-description-moved {
        margin: 60px 16px 45px 16px !important;
        padding: 36px 24px !important;
        font-size: 15.5px !important;
        line-height: 1.75 !important;
    }

    body.tax-product_cat .artifex-description-moved::before {
        font-size: 25px;
        margin-bottom: 22px;
        padding-bottom: 14px;
    }

    body.tax-product_cat .artifex-description-moved p,
    body.tax-product_cat .artifex-description-moved p:first-of-type {
        max-width: 100% !important;
        font-size: 16px !important;
        text-wrap: pretty;
    }
}

/* ==================================================
   ARTIFEX CATEGORY PAGE FLEUR-DE-LIS SEPARATORS
   Category title + About collection separator
   ================================================== */


/* ==================================================
   ARTIFEX CATEGORY PAGE FLEUR-DE-LIS SEPARATORS
   Single title separator + About section separator
   Matches Reviews page style
   ================================================== */


/* ==================================================
   1. CATEGORY TITLE AREA
   ================================================== */

body.tax-product_cat .woocommerce-products-header {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    padding-top: 10px !important;
    padding-bottom: 0 !important;
    background: transparent !important;
}

body.tax-product_cat h1.page-title,
body.tax-product_cat h1.woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title {
    position: relative !important;
    display: block !important;
    max-width: 900px !important;
    margin: 0 auto 18px auto !important;
    padding: 6px 0 10px 0 !important;
    text-align: center !important;
}


/* ==================================================
   2. REMOVE TOP SEPARATOR ABOVE CATEGORY TITLE
   ================================================== */

body.tax-product_cat h1.page-title::before,
body.tax-product_cat h1.woocommerce-products-header__title::before,
body.tax-product_cat .woocommerce-products-header__title::before {
    content: none !important;
    display: none !important;
    background: none !important;
    border: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* ==================================================
   3. SINGLE SEPARATOR BELOW CATEGORY TITLE
   ================================================== */

body.tax-product_cat h1.page-title::after,
body.tax-product_cat h1.woocommerce-products-header__title::after,
body.tax-product_cat .woocommerce-products-header__title::after {
    content: "⚜";
    display: block !important;
    max-width: 720px !important;
    height: 26px !important;
    margin: 12px auto 0 auto !important;
    color: #9e8b6a !important;
    font-size: 23px !important;
    line-height: 26px !important;
    text-align: center !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-indent: 0 !important;
    border: none !important;
    background:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(158, 139, 106, 0.18) 12%,
            rgba(158, 139, 106, 0.42) calc(50% - 34px),
            transparent calc(50% - 34px),
            transparent calc(50% + 34px),
            rgba(158, 139, 106, 0.42) calc(50% + 34px),
            rgba(158, 139, 106, 0.18) 88%,
            transparent 100%
        ) center / 100% 1px no-repeat !important;
}


/* ==================================================
   4. PULL PRODUCTS CLOSER TO TITLE AREA
   ================================================== */

body.tax-product_cat ul.products {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.tax-product_cat .site-content,
body.tax-product_cat #primary,
body.tax-product_cat .content-area,
body.tax-product_cat main.site-main,
body.tax-product_cat .site-main,
body.tax-product_cat .woocommerce {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.tax-product_cat .woocommerce-notices-wrapper,
body.tax-product_cat .kadence-shop-top-row,
body.tax-product_cat .woocommerce-before-shop-loop {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* ==================================================
   5. SEPARATOR BELOW ABOUT THIS COLLECTION
   ================================================== */

/* Remove old plain underline under About this collection */
body.tax-product_cat .artifex-description-moved::before {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 18px !important;
}

/* Reviews-style separator before the description text */
body.tax-product_cat .artifex-description-moved p:first-of-type::before {
    content: "⚜";
    display: block !important;
    max-width: 720px !important;
    height: 26px !important;
    margin: 0 auto 30px auto !important;
    padding: 0 !important;
    color: #9e8b6a !important;
    font-size: 23px !important;
    line-height: 26px !important;
    text-align: center !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-indent: 0 !important;
    border: none !important;
    background:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(158, 139, 106, 0.18) 12%,
            rgba(158, 139, 106, 0.42) calc(50% - 34px),
            transparent calc(50% - 34px),
            transparent calc(50% + 34px),
            rgba(158, 139, 106, 0.42) calc(50% + 34px),
            rgba(158, 139, 106, 0.18) 88%,
            transparent 100%
        ) center / 100% 1px no-repeat !important;
}


/* ==================================================
   6. MOBILE
   ================================================== */

@media (max-width: 768px) {
    body.tax-product_cat .woocommerce-products-header {
        padding-top: 8px !important;
        margin-bottom: 10px !important;
    }

    body.tax-product_cat h1.page-title,
    body.tax-product_cat h1.woocommerce-products-header__title,
    body.tax-product_cat .woocommerce-products-header__title {
        margin-bottom: 14px !important;
        padding: 4px 0 8px 0 !important;
    }

    body.tax-product_cat h1.page-title::before,
    body.tax-product_cat h1.woocommerce-products-header__title::before,
    body.tax-product_cat .woocommerce-products-header__title::before {
        content: none !important;
        display: none !important;
        background: none !important;
        border: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.tax-product_cat h1.page-title::after,
    body.tax-product_cat h1.woocommerce-products-header__title::after,
    body.tax-product_cat .woocommerce-products-header__title::after,
    body.tax-product_cat .artifex-description-moved p:first-of-type::before {
        max-width: 320px !important;
        height: 24px !important;
        font-size: 20px !important;
        line-height: 24px !important;
        background:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(158, 139, 106, 0.18) 8%,
                rgba(158, 139, 106, 0.42) calc(50% - 28px),
                transparent calc(50% - 28px),
                transparent calc(50% + 28px),
                rgba(158, 139, 106, 0.42) calc(50% + 28px),
                rgba(158, 139, 106, 0.18) 92%,
                transparent 100%
            ) center / 100% 1px no-repeat !important;
    }

    body.tax-product_cat h1.page-title::after,
    body.tax-product_cat h1.woocommerce-products-header__title::after,
    body.tax-product_cat .woocommerce-products-header__title::after {
        margin-top: 10px !important;
    }

    body.tax-product_cat .artifex-description-moved p:first-of-type::before {
        margin-bottom: 24px !important;
    }
}
/* ==================================================
   ARTIFEX PAGE TITLE STYLE
   Category pages + visible Kadence page title only
   Prevents duplicate dividers on Returns page
   ================================================== */


/* ==================================================
   1. SHARED TITLE STYLE
   ================================================== */

body.tax-product_cat h1.page-title,
body.tax-product_cat h1.woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.page .entry-hero h1.entry-title,
body.page .entry-header h1.entry-title {
    position: relative !important;
    display: block !important;
    max-width: 980px !important;
    margin: 28px auto 38px auto !important;
    padding: 20px 0 22px 0 !important;
    color: #232323 !important;
    font-family: var(--global-heading-font-family, Georgia, serif) !important;
    font-size: clamp(40px, 4.2vw, 62px) !important;
    line-height: 1.05 !important;
    font-weight: 500 !important;
    letter-spacing: 0.025em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    text-wrap: balance;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}


/* ==================================================
   2. FLEUR-DE-LIS SEPARATOR ABOVE TITLE
   ================================================== */

body.tax-product_cat h1.page-title::before,
body.tax-product_cat h1.woocommerce-products-header__title::before,
body.tax-product_cat .woocommerce-products-header__title::before,
body.page .entry-hero h1.entry-title::before,
body.page .entry-header h1.entry-title::before {
    content: "⚜";
    display: block !important;
    max-width: 760px !important;
    height: 28px !important;
    margin: 0 auto 18px auto !important;
    color: #9e8b6a !important;
    font-size: 24px !important;
    line-height: 28px !important;
    text-align: center !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-indent: 0 !important;
    border: none !important;
    background:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(158, 139, 106, 0.18) 12%,
            rgba(158, 139, 106, 0.42) calc(50% - 34px),
            transparent calc(50% - 34px),
            transparent calc(50% + 34px),
            rgba(158, 139, 106, 0.42) calc(50% + 34px),
            rgba(158, 139, 106, 0.18) 88%,
            transparent 100%
        ) center / 100% 1px no-repeat !important;
}


/* ==================================================
   3. FLEUR-DE-LIS SEPARATOR BELOW TITLE
   ================================================== */

body.tax-product_cat h1.page-title::after,
body.tax-product_cat h1.woocommerce-products-header__title::after,
body.tax-product_cat .woocommerce-products-header__title::after,
body.page .entry-hero h1.entry-title::after,
body.page .entry-header h1.entry-title::after {
    content: "⚜";
    display: block !important;
    max-width: 760px !important;
    height: 28px !important;
    margin: 18px auto 0 auto !important;
    color: #9e8b6a !important;
    font-size: 24px !important;
    line-height: 28px !important;
    text-align: center !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-indent: 0 !important;
    border: none !important;
    background:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(158, 139, 106, 0.18) 12%,
            rgba(158, 139, 106, 0.42) calc(50% - 34px),
            transparent calc(50% - 34px),
            transparent calc(50% + 34px),
            rgba(158, 139, 106, 0.42) calc(50% + 34px),
            rgba(158, 139, 106, 0.18) 88%,
            transparent 100%
        ) center / 100% 1px no-repeat !important;
}


/* ==================================================
   4. PREVENT DUPLICATE DIVIDERS INSIDE PAGE CONTENT
   ================================================== */

body.page .entry-content h1::before,
body.page .entry-content h1::after,
body.page .entry-content .page-title::before,
body.page .entry-content .page-title::after,
body.page h1.page-title::before,
body.page h1.page-title::after,
body.page .page-title::before,
body.page .page-title::after {
    content: none !important;
    display: none !important;
    background: none !important;
}


/* ==================================================
   5. PAGE TITLE SPACING
   ================================================== */

body.page .entry-hero,
body.page .entry-header {
    background: transparent !important;
}

body.page .entry-hero h1.entry-title,
body.page .entry-header h1.entry-title {
    margin-top: 34px !important;
    margin-bottom: 42px !important;
}

body.tax-product_cat .woocommerce-products-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background: transparent !important;
}

body.tax-product_cat h1.page-title,
body.tax-product_cat h1.woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title {
    margin-bottom: 34px !important;
}


/* ==================================================
   6. MOBILE
   ================================================== */

@media (max-width: 768px) {
    body.tax-product_cat h1.page-title,
    body.tax-product_cat h1.woocommerce-products-header__title,
    body.tax-product_cat .woocommerce-products-header__title,
    body.page .entry-hero h1.entry-title,
    body.page .entry-header h1.entry-title {
        max-width: 92% !important;
        margin-top: 22px !important;
        margin-bottom: 30px !important;
        padding: 16px 0 18px 0 !important;
        font-size: clamp(34px, 10vw, 44px) !important;
        line-height: 1.08 !important;
        letter-spacing: 0.018em !important;
    }

    body.tax-product_cat h1.page-title::before,
    body.tax-product_cat h1.woocommerce-products-header__title::before,
    body.tax-product_cat .woocommerce-products-header__title::before,
    body.page .entry-hero h1.entry-title::before,
    body.page .entry-header h1.entry-title::before,
    body.tax-product_cat h1.page-title::after,
    body.tax-product_cat h1.woocommerce-products-header__title::after,
    body.tax-product_cat .woocommerce-products-header__title::after,
    body.page .entry-hero h1.entry-title::after,
    body.page .entry-header h1.entry-title::after {
        max-width: 320px !important;
        height: 24px !important;
        font-size: 20px !important;
        line-height: 24px !important;
        background:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(158, 139, 106, 0.18) 8%,
                rgba(158, 139, 106, 0.42) calc(50% - 28px),
                transparent calc(50% - 28px),
                transparent calc(50% + 28px),
                rgba(158, 139, 106, 0.42) calc(50% + 28px),
                rgba(158, 139, 106, 0.18) 92%,
                transparent 100%
            ) center / 100% 1px no-repeat !important;
    }
}

/* ==================================================
   HISTORICAL ART CATEGORY ONLY BACKGROUND IMAGE
   10% visibility, image moved upward
   ================================================== */

html body.tax-product_cat.term-historical-art,
html body.tax-product_cat.term-historical-art #page,
html body.tax-product_cat.term-historical-art .site,
html body.tax-product_cat.term-historical-art .site-content {
    background:
        linear-gradient(
            rgba(238, 236, 227, 0.90),
            rgba(238, 236, 227, 0.90)
        ),
        url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_1bf328e863484c46a55319c6474dd16emv2-1.jpg") !important;

    background-size: auto, cover !important;
    background-position: center center, center -160px !important;
    background-repeat: no-repeat, no-repeat !important;
    background-attachment: fixed, fixed !important;
}

/* Keep inner WooCommerce/Kadence containers transparent only on Historical Art */
html body.tax-product_cat.term-historical-art #primary,
html body.tax-product_cat.term-historical-art .content-area,
html body.tax-product_cat.term-historical-art main.site-main,
html body.tax-product_cat.term-historical-art .site-main,
html body.tax-product_cat.term-historical-art .woocommerce,
html body.tax-product_cat.term-historical-art .woocommerce-products-header,
html body.tax-product_cat.term-historical-art .content-bg,
html body.tax-product_cat.term-historical-art .content-container,
html body.tax-product_cat.term-historical-art .entry-content-wrap,
html body.tax-product_cat.term-historical-art .kadence-shop-top-row,
html body.tax-product_cat.term-historical-art .woocommerce-notices-wrapper {
    background: transparent !important;
}

/* ==================================================
   MOBILE FIX: HISTORICAL ART BACKGROUND
   10% mobile image visibility
   ================================================== */

@media (max-width: 768px) {
    html body.tax-product_cat.term-historical-art,
    html body.tax-product_cat.term-historical-art #page,
    html body.tax-product_cat.term-historical-art .site,
    html body.tax-product_cat.term-historical-art .site-content {
        background:
            linear-gradient(
                rgba(238, 236, 227, 0.90),
                rgba(238, 236, 227, 0.90)
            ),
            url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_1bf328e863484c46a55319c6474dd16emv2-1.jpg") !important;

        background-size: auto, 150% auto !important;
        background-position: center center, center 70px !important;
        background-repeat: no-repeat, no-repeat !important;
        background-attachment: scroll, scroll !important;
    }
}

/* ==================================================
   HISTORICAL ART ONLY: DESCRIPTION BOX BACKGROUND IMAGE
   10% opacity, armour heads positioned near top
   ================================================== */

html body.tax-product_cat.term-historical-art .artifex-description-moved {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: #f3f0e7 !important;
}

/* Background image inside Historical Art description box only */
html body.tax-product_cat.term-historical-art .artifex-description-moved::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background-image: url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_7645845f826a44e6a2d2cf31d8b46389mv2-1.jpeg") !important;
    background-size: cover !important;
    background-position: center -120px !important;
    background-repeat: no-repeat !important;
    opacity: 0.10 !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Keep About heading and text above the image */
html body.tax-product_cat.term-historical-art .artifex-description-moved::before,
html body.tax-product_cat.term-historical-art .artifex-description-moved p {
    position: relative !important;
    z-index: 2 !important;
}

/* Mobile */
@media (max-width: 768px) {
    html body.tax-product_cat.term-historical-art .artifex-description-moved::after {
        background-position: center top !important;
    }
}

/* ==================================================
   ARTIFEX CATEGORY PAGE TOP SPACING FINAL
   Applies to all WooCommerce product category pages
   Keeps title below header and starts products sooner
   ================================================== */

/* Reset bad pull-up rules from earlier attempts */
body.tax-product_cat .entry-hero,
body.tax-product_cat .product-archive-hero-section,
body.tax-product_cat .archive-hero-section,
body.tax-product_cat .entry-hero-container-inner,
body.tax-product_cat .hero-container,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_cat #primary,
body.tax-product_cat .content-area,
body.tax-product_cat .content-container,
body.tax-product_cat .content-wrap,
body.tax-product_cat .entry-content-wrap,
body.tax-product_cat main.site-main,
body.tax-product_cat .site-main,
body.tax-product_cat .woocommerce {
    margin-top: 0 !important;
    transform: none !important;
    top: auto !important;
}

/* Main fix: give the category title safe space below the header */
body.tax-product_cat .woocommerce-products-header {
    position: relative !important;
    z-index: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    padding-top: 58px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
}

/* If Kadence uses the archive hero wrapper, control that too */
body.tax-product_cat .entry-hero,
body.tax-product_cat .product-archive-hero-section,
body.tax-product_cat .archive-hero-section {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
}

body.tax-product_cat .entry-hero-container-inner,
body.tax-product_cat .hero-container {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 58px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
}

/* Category title itself */
body.tax-product_cat h1.page-title,
body.tax-product_cat h1.entry-title,
body.tax-product_cat h1.woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    max-width: 900px !important;
    margin: 0 auto 10px auto !important;
    padding: 0 0 6px 0 !important;
    text-align: center !important;
    transform: none !important;
    top: auto !important;
}

/* Keep the fleur-de-lis separator close under the title */
body.tax-product_cat h1.page-title::after,
body.tax-product_cat h1.entry-title::after,
body.tax-product_cat h1.woocommerce-products-header__title::after,
body.tax-product_cat .woocommerce-products-header__title::after {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

/* Start product grid sooner under title */
body.tax-product_cat ul.products,
body.tax-product_cat .products {
    margin-top: 24px !important;
    padding-top: 0 !important;
}

/* Remove space from hidden WooCommerce/plugin controls */
body.tax-product_cat .kadence-shop-top-row,
body.tax-product_cat .woocommerce-before-shop-loop,
body.tax-product_cat .before-shop-loop,
body.tax-product_cat .shop-loop-head,
body.tax-product_cat .woocommerce-notices-wrapper,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_cat form.woocommerce-ordering {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobile */
@media (max-width: 768px) {
    body.tax-product_cat .woocommerce-products-header {
        padding-top: 32px !important;
    }

    body.tax-product_cat .entry-hero-container-inner,
    body.tax-product_cat .hero-container {
        padding-top: 32px !important;
    }

    body.tax-product_cat h1.page-title,
    body.tax-product_cat h1.entry-title,
    body.tax-product_cat h1.woocommerce-products-header__title,
    body.tax-product_cat .woocommerce-products-header__title {
        margin-bottom: 8px !important;
        padding-bottom: 4px !important;
    }

    body.tax-product_cat ul.products,
    body.tax-product_cat .products {
        margin-top: 18px !important;
    }
}

/* ==================================================
   SMALL CATEGORY TITLE LOWERING
   Adds a little breathing room under logo/nav
   ================================================== */

body.tax-product_cat .woocommerce-products-header {
    padding-top: 76px !important;
}

body.tax-product_cat .entry-hero-container-inner,
body.tax-product_cat .hero-container {
    padding-top: 76px !important;
}

/* Mobile */
@media (max-width: 768px) {
    body.tax-product_cat .woocommerce-products-header {
        padding-top: 42px !important;
    }

    body.tax-product_cat .entry-hero-container-inner,
    body.tax-product_cat .hero-container {
        padding-top: 42px !important;
    }
}

/* ==================================================
   HISTORICAL CITY VIEWS CATEGORY ONLY BACKGROUND IMAGE
   10% visibility, image moved upward
   ================================================== */

html body.tax-product_cat.term-historical-city-views,
html body.tax-product_cat.term-historical-city-views #page,
html body.tax-product_cat.term-historical-city-views .site,
html body.tax-product_cat.term-historical-city-views .site-content {
    background:
        linear-gradient(
            rgba(238, 236, 227, 0.90),
            rgba(238, 236, 227, 0.90)
        ),
        url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_70b4dd70f3ec4ed0a1751f69019cc20amv2.jpg") !important;

    background-size: auto, cover !important;
    background-position: center center, center -120px !important;
    background-repeat: no-repeat, no-repeat !important;
    background-attachment: fixed, fixed !important;
}

/* Keep inner WooCommerce/Kadence containers transparent only on Historical City Views */
html body.tax-product_cat.term-historical-city-views #primary,
html body.tax-product_cat.term-historical-city-views .content-area,
html body.tax-product_cat.term-historical-city-views main.site-main,
html body.tax-product_cat.term-historical-city-views .site-main,
html body.tax-product_cat.term-historical-city-views .woocommerce,
html body.tax-product_cat.term-historical-city-views .woocommerce-products-header,
html body.tax-product_cat.term-historical-city-views .content-bg,
html body.tax-product_cat.term-historical-city-views .content-container,
html body.tax-product_cat.term-historical-city-views .entry-content-wrap,
html body.tax-product_cat.term-historical-city-views .kadence-shop-top-row,
html body.tax-product_cat.term-historical-city-views .woocommerce-notices-wrapper {
    background: transparent !important;
}

/* Mobile */
@media (max-width: 768px) {
    html body.tax-product_cat.term-historical-city-views,
    html body.tax-product_cat.term-historical-city-views #page,
    html body.tax-product_cat.term-historical-city-views .site,
    html body.tax-product_cat.term-historical-city-views .site-content {
        background-size: auto, cover !important;
        background-position: center center, center -60px !important;
        background-attachment: scroll, scroll !important;
    }
}

/* ==================================================
   MOBILE FIX: HISTORICAL CITY VIEWS BACKGROUND
   10% mobile image visibility
   ================================================== */

@media (max-width: 768px) {
    html body.tax-product_cat.term-historical-city-views,
    html body.tax-product_cat.term-historical-city-views #page,
    html body.tax-product_cat.term-historical-city-views .site,
    html body.tax-product_cat.term-historical-city-views .site-content {
        background:
            linear-gradient(
                rgba(238, 236, 227, 0.90),
                rgba(238, 236, 227, 0.90)
            ),
            url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_70b4dd70f3ec4ed0a1751f69019cc20amv2.jpg") !important;

        background-size: auto, 150% auto !important;
        background-position: center center, center 70px !important;
        background-repeat: no-repeat, no-repeat !important;
        background-attachment: scroll, scroll !important;
    }
}

/* ==================================================
   MOBILE ONLY: LOWER CATEGORY PAGE TITLE
   Gives logo and category name more breathing room
   ================================================== */

@media (max-width: 768px) {
    body.tax-product_cat .woocommerce-products-header {
        padding-top: 58px !important;
    }

    body.tax-product_cat .entry-hero-container-inner,
    body.tax-product_cat .hero-container {
        padding-top: 58px !important;
    }

    body.tax-product_cat h1.page-title,
    body.tax-product_cat h1.entry-title,
    body.tax-product_cat h1.woocommerce-products-header__title,
    body.tax-product_cat .woocommerce-products-header__title {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }
}

/* ==================================================
   HISTORICAL CITY VIEWS ONLY: DESCRIPTION BOX BACKGROUND
   Desktop good + fixed mobile background fill
   ================================================== */

html body.tax-product_cat.term-historical-city-views .artifex-description-moved {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: #f3f0e7 !important;
}

/* Background image inside Historical City Views description box only */
html body.tax-product_cat.term-historical-city-views .artifex-description-moved::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background-image: url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_06e5dc121b6044a6a21b71d2bd39b046mv2-1.jpg") !important;
    background-size: 175% auto !important;
    background-position: center -220px !important;
    background-repeat: no-repeat !important;
    opacity: 0.10 !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Keep heading, separator, and text above the image */
html body.tax-product_cat.term-historical-city-views .artifex-description-moved::before,
html body.tax-product_cat.term-historical-city-views .artifex-description-moved p,
html body.tax-product_cat.term-historical-city-views .artifex-description-moved p:first-of-type::before {
    position: relative !important;
    z-index: 2 !important;
}

/* Mobile cleanup */
@media (max-width: 768px) {
    html body.tax-product_cat.term-historical-city-views .artifex-description-moved {
        max-width: calc(100% - 32px) !important;
        margin: 50px 16px 40px 16px !important;
        padding: 34px 22px !important;
        font-size: 15.5px !important;
        line-height: 1.6 !important;
        text-align: center !important;
    }

    html body.tax-product_cat.term-historical-city-views .artifex-description-moved::after {
        background-size: auto 105% !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        opacity: 0.10 !important;
    }

    html body.tax-product_cat.term-historical-city-views .artifex-description-moved::before {
        font-size: 28px !important;
        line-height: 1.18 !important;
        letter-spacing: 0.05em !important;
        margin-bottom: 18px !important;
    }

    html body.tax-product_cat.term-historical-city-views .artifex-description-moved p,
    html body.tax-product_cat.term-historical-city-views .artifex-description-moved p:first-of-type {
        max-width: 100% !important;
        font-size: 15.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 18px !important;
        text-wrap: pretty;
    }

    html body.tax-product_cat.term-historical-city-views .artifex-description-moved p:first-of-type::before {
        margin-bottom: 24px !important;
    }
}

/* ==================================================
   NATURAL HISTORY ART CATEGORY PAGE BACKGROUND
   Whole page background + description box background
   ================================================== */


/* ==================================================
   1. NATURAL HISTORY ART WHOLE PAGE BACKGROUND
   10% visibility
   ================================================== */

html body.tax-product_cat.term-natural-history-art,
html body.tax-product_cat.term-natural-history-art #page,
html body.tax-product_cat.term-natural-history-art .site,
html body.tax-product_cat.term-natural-history-art .site-content {
    background:
        linear-gradient(
            rgba(238, 236, 227, 0.90),
            rgba(238, 236, 227, 0.90)
        ),
        url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_6331e64bbb6d4e9fad90bec89543bb7dmv2.jpg") !important;

    background-size: auto, 115% auto !important;
    background-position: center center, right 42% top 35px !important;
    background-repeat: no-repeat, no-repeat !important;
    background-attachment: fixed, fixed !important;
}

/* Keep inner WooCommerce/Kadence containers transparent */
html body.tax-product_cat.term-natural-history-art #primary,
html body.tax-product_cat.term-natural-history-art .content-area,
html body.tax-product_cat.term-natural-history-art main.site-main,
html body.tax-product_cat.term-natural-history-art .site-main,
html body.tax-product_cat.term-natural-history-art .woocommerce,
html body.tax-product_cat.term-natural-history-art .woocommerce-products-header,
html body.tax-product_cat.term-natural-history-art .content-bg,
html body.tax-product_cat.term-natural-history-art .content-container,
html body.tax-product_cat.term-natural-history-art .entry-content-wrap,
html body.tax-product_cat.term-natural-history-art .kadence-shop-top-row,
html body.tax-product_cat.term-natural-history-art .woocommerce-notices-wrapper {
    background: transparent !important;
}


/* ==================================================
   2. NATURAL HISTORY ART DESCRIPTION BOX BACKGROUND
   Octopus image, 10% opacity
   ================================================== */

html body.tax-product_cat.term-natural-history-art .artifex-description-moved {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: #f3f0e7 !important;
}

/* Background image inside Natural History Art description box only */
html body.tax-product_cat.term-natural-history-art .artifex-description-moved::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background-image: url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_c7c8dbbd53914dd8946d4b4b561e930bmv2.jpg") !important;
    background-size: 115% auto !important;
    background-position: center -150px !important;
    background-repeat: no-repeat !important;
    opacity: 0.10 !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Keep heading, separator, and text above the image */
html body.tax-product_cat.term-natural-history-art .artifex-description-moved::before,
html body.tax-product_cat.term-natural-history-art .artifex-description-moved p,
html body.tax-product_cat.term-natural-history-art .artifex-description-moved p:first-of-type::before {
    position: relative !important;
    z-index: 2 !important;
}


/* ==================================================
   3. MOBILE FIXES
   Whole page background + description box background
   ================================================== */

@media (max-width: 768px) {

    /* Mobile whole page background */
    html body.tax-product_cat.term-natural-history-art,
    html body.tax-product_cat.term-natural-history-art #page,
    html body.tax-product_cat.term-natural-history-art .site,
    html body.tax-product_cat.term-natural-history-art .site-content {
        background:
            linear-gradient(
                rgba(238, 236, 227, 0.90),
                rgba(238, 236, 227, 0.90)
            ),
            url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_6331e64bbb6d4e9fad90bec89543bb7dmv2.jpg") !important;

        background-size: auto, 170% auto !important;
        background-position: center center, 8% 35px !important;
        background-repeat: no-repeat, no-repeat !important;
        background-attachment: scroll, scroll !important;
    }

    /* Mobile description box layout */
    html body.tax-product_cat.term-natural-history-art .artifex-description-moved {
        max-width: calc(100% - 32px) !important;
        margin: 50px 16px 40px 16px !important;
        padding: 34px 22px !important;
        text-align: center !important;
        font-size: 15.5px !important;
        line-height: 1.6 !important;
    }

    /* Mobile description box octopus background */
    html body.tax-product_cat.term-natural-history-art .artifex-description-moved::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        background-image: url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_c7c8dbbd53914dd8946d4b4b561e930bmv2.jpg") !important;
        background-size: auto 112% !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        opacity: 0.10 !important;
        z-index: 0 !important;
        pointer-events: none !important;
    }

    html body.tax-product_cat.term-natural-history-art .artifex-description-moved::before {
        font-size: 27px !important;
        line-height: 1.18 !important;
        letter-spacing: 0.04em !important;
        margin-bottom: 18px !important;
    }

    html body.tax-product_cat.term-natural-history-art .artifex-description-moved p,
    html body.tax-product_cat.term-natural-history-art .artifex-description-moved p:first-of-type {
        max-width: 100% !important;
        font-size: 15.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 18px !important;
        text-wrap: pretty;
    }

    html body.tax-product_cat.term-natural-history-art .artifex-description-moved p:first-of-type::before {
        margin-bottom: 24px !important;
    }
}

/* ==================================================
   OLD MAPS CATEGORY ONLY BACKGROUND IMAGE
   10% visibility
   ================================================== */

html body.tax-product_cat.term-old-maps,
html body.tax-product_cat.term-old-maps #page,
html body.tax-product_cat.term-old-maps .site,
html body.tax-product_cat.term-old-maps .site-content {
    background:
        linear-gradient(
            rgba(238, 236, 227, 0.90),
            rgba(238, 236, 227, 0.90)
        ),
        url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_ea93fe664e0f49239b3ad54b24d389a9mv2.jpg") !important;

    background-size: auto, cover !important;
    background-position: center center, center top !important;
    background-repeat: no-repeat, no-repeat !important;
    background-attachment: fixed, fixed !important;
}

/* Keep inner WooCommerce/Kadence containers transparent only on Old Maps */
html body.tax-product_cat.term-old-maps #primary,
html body.tax-product_cat.term-old-maps .content-area,
html body.tax-product_cat.term-old-maps main.site-main,
html body.tax-product_cat.term-old-maps .site-main,
html body.tax-product_cat.term-old-maps .woocommerce,
html body.tax-product_cat.term-old-maps .woocommerce-products-header,
html body.tax-product_cat.term-old-maps .content-bg,
html body.tax-product_cat.term-old-maps .content-container,
html body.tax-product_cat.term-old-maps .entry-content-wrap,
html body.tax-product_cat.term-old-maps .kadence-shop-top-row,
html body.tax-product_cat.term-old-maps .woocommerce-notices-wrapper {
    background: transparent !important;
}

/* Mobile */
@media (max-width: 768px) {
    html body.tax-product_cat.term-old-maps,
    html body.tax-product_cat.term-old-maps #page,
    html body.tax-product_cat.term-old-maps .site,
    html body.tax-product_cat.term-old-maps .site-content {
        background:
            linear-gradient(
                rgba(238, 236, 227, 0.90),
                rgba(238, 236, 227, 0.90)
            ),
            url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_ea93fe664e0f49239b3ad54b24d389a9mv2.jpg") !important;

        background-size: auto, 150% auto !important;
        background-position: center center, center 40px !important;
        background-repeat: no-repeat, no-repeat !important;
        background-attachment: scroll, scroll !important;
    }
}

/* ==================================================
   OLD MAPS ONLY: DESCRIPTION BOX BACKGROUND
   10% opacity
   ================================================== */

html body.tax-product_cat.term-old-maps .artifex-description-moved {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: #f3f0e7 !important;
}

/* Background image inside Old Maps description box only */
html body.tax-product_cat.term-old-maps .artifex-description-moved::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background-image: url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_5c217d395ecf41eeb2e8c7d25bfa8a95mv2.jpg") !important;
    background-size: 125% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    opacity: 0.10 !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Keep heading, separator, and text above the image */
html body.tax-product_cat.term-old-maps .artifex-description-moved::before,
html body.tax-product_cat.term-old-maps .artifex-description-moved p,
html body.tax-product_cat.term-old-maps .artifex-description-moved p:first-of-type::before {
    position: relative !important;
    z-index: 2 !important;
}

/* Mobile */
@media (max-width: 768px) {
    html body.tax-product_cat.term-old-maps .artifex-description-moved {
        max-width: calc(100% - 32px) !important;
        margin: 50px 16px 40px 16px !important;
        padding: 34px 22px !important;
        text-align: center !important;
        font-size: 15.5px !important;
        line-height: 1.6 !important;
    }

    html body.tax-product_cat.term-old-maps .artifex-description-moved::after {
        background-size: auto 100% !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        opacity: 0.10 !important;
    }

    html body.tax-product_cat.term-old-maps .artifex-description-moved::before {
        font-size: 27px !important;
        line-height: 1.18 !important;
        letter-spacing: 0.04em !important;
        margin-bottom: 18px !important;
    }

    html body.tax-product_cat.term-old-maps .artifex-description-moved p,
    html body.tax-product_cat.term-old-maps .artifex-description-moved p:first-of-type {
        max-width: 100% !important;
        font-size: 15.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 18px !important;
        text-wrap: pretty;
    }

    html body.tax-product_cat.term-old-maps .artifex-description-moved p:first-of-type::before {
        margin-bottom: 24px !important;
    }
}

/* ==================================================
   BOTANICAL ART CATEGORY ONLY BACKGROUND IMAGE
   10% visibility, mandrake moved into focus
   ================================================== */

html body.tax-product_cat.term-botanical-art,
html body.tax-product_cat.term-botanical-art #page,
html body.tax-product_cat.term-botanical-art .site,
html body.tax-product_cat.term-botanical-art .site-content {
    background:
        linear-gradient(
            rgba(238, 236, 227, 0.90),
            rgba(238, 236, 227, 0.90)
        ),
        url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_b7175c9146924287a801a8876569fb13mv2.jpg") !important;

    background-size: auto, cover !important;
    background-position: center center, center -120px !important;
    background-repeat: no-repeat, no-repeat !important;
    background-attachment: fixed, fixed !important;
}

/* Keep inner WooCommerce/Kadence containers transparent only on Botanical Art */
html body.tax-product_cat.term-botanical-art #primary,
html body.tax-product_cat.term-botanical-art .content-area,
html body.tax-product_cat.term-botanical-art main.site-main,
html body.tax-product_cat.term-botanical-art .site-main,
html body.tax-product_cat.term-botanical-art .woocommerce,
html body.tax-product_cat.term-botanical-art .woocommerce-products-header,
html body.tax-product_cat.term-botanical-art .content-bg,
html body.tax-product_cat.term-botanical-art .content-container,
html body.tax-product_cat.term-botanical-art .entry-content-wrap,
html body.tax-product_cat.term-botanical-art .kadence-shop-top-row,
html body.tax-product_cat.term-botanical-art .woocommerce-notices-wrapper {
    background: transparent !important;
}

/* Mobile */
@media (max-width: 768px) {
    html body.tax-product_cat.term-botanical-art,
    html body.tax-product_cat.term-botanical-art #page,
    html body.tax-product_cat.term-botanical-art .site,
    html body.tax-product_cat.term-botanical-art .site-content {
        background:
            linear-gradient(
                rgba(238, 236, 227, 0.90),
                rgba(238, 236, 227, 0.90)
            ),
            url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_b7175c9146924287a801a8876569fb13mv2.jpg") !important;

        background-size: auto, 150% auto !important;
        background-position: center center, center -40px !important;
        background-repeat: no-repeat, no-repeat !important;
        background-attachment: scroll, scroll !important;
    }
}

/* ==================================================
   BOTANICAL ART ONLY: DESCRIPTION BOX BACKGROUND
   Mushroom image centered, 10% opacity
   ================================================== */

html body.tax-product_cat.term-botanical-art .artifex-description-moved {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: #f3f0e7 !important;
}

/* Background image inside Botanical Art description box only */
html body.tax-product_cat.term-botanical-art .artifex-description-moved::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background-image: url("https://artifex-replicas.com/wp-content/uploads/2026/05/1a4314_147cdb95393848ae8f2e4e750d0c60a4mv2.webp") !important;
    background-size: 125% auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 0.10 !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Keep heading, separator, and text above the image */
html body.tax-product_cat.term-botanical-art .artifex-description-moved::before,
html body.tax-product_cat.term-botanical-art .artifex-description-moved p,
html body.tax-product_cat.term-botanical-art .artifex-description-moved p:first-of-type::before {
    position: relative !important;
    z-index: 2 !important;
}

/* Mobile */
@media (max-width: 768px) {
    html body.tax-product_cat.term-botanical-art .artifex-description-moved {
        max-width: calc(100% - 32px) !important;
        margin: 50px 16px 40px 16px !important;
        padding: 34px 22px !important;
        text-align: center !important;
        font-size: 15.5px !important;
        line-height: 1.6 !important;
    }

    html body.tax-product_cat.term-botanical-art .artifex-description-moved::after {
        background-size: auto 108% !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        opacity: 0.10 !important;
    }

    html body.tax-product_cat.term-botanical-art .artifex-description-moved::before {
        font-size: 27px !important;
        line-height: 1.18 !important;
        letter-spacing: 0.04em !important;
        margin-bottom: 18px !important;
    }

    html body.tax-product_cat.term-botanical-art .artifex-description-moved p,
    html body.tax-product_cat.term-botanical-art .artifex-description-moved p:first-of-type {
        max-width: 100% !important;
        font-size: 15.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 18px !important;
        text-wrap: pretty;
    }

    html body.tax-product_cat.term-botanical-art .artifex-description-moved p:first-of-type::before {
        margin-bottom: 24px !important;
    }
}

/* ==================================================
   MOBILE SHOP FILTER BUTTONS
   Restore old behavior: horizontal row, no centering
   ================================================== */

@media (max-width: 768px) {

    body.woocommerce-shop .wpc-filter-content ul,
    body.woocommerce-shop .wpc-filters-ul-list,
    body.woocommerce-shop ul.wpc-filters-ul-list,
    body.woocommerce-shop .fe-radio-list,
    body.woocommerce-shop .fe-checkbox-list {
        display: flex !important;
        grid-template-columns: unset !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;

        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 auto 22px auto !important;
        padding: 0 18px 10px 18px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        list-style: none !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;

        scroll-behavior: auto !important;
        scroll-snap-type: none !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-shop .wpc-filter-content ul::-webkit-scrollbar,
    body.woocommerce-shop .wpc-filters-ul-list::-webkit-scrollbar,
    body.woocommerce-shop ul.wpc-filters-ul-list::-webkit-scrollbar,
    body.woocommerce-shop .fe-radio-list::-webkit-scrollbar,
    body.woocommerce-shop .fe-checkbox-list::-webkit-scrollbar {
        display: none !important;
    }

    body.woocommerce-shop .wpc-filter-content li,
    body.woocommerce-shop .wpc-filters-ul-list li,
    body.woocommerce-shop li.wpc-term-item,
    body.woocommerce-shop .fe-radio-list li,
    body.woocommerce-shop .fe-checkbox-list li {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 145px !important;

        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;

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

        border-radius: 999px !important;
        border: 1.5px solid #232323 !important;
        background: transparent !important;
        color: #232323 !important;

        scroll-snap-align: unset !important;
        scroll-margin: 0 !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body.woocommerce-shop .wpc-filter-content label,
    body.woocommerce-shop .wpc-filters-ul-list label,
    body.woocommerce-shop li.wpc-term-item label,
    body.woocommerce-shop .fe-radio-list label,
    body.woocommerce-shop .fe-checkbox-list label,
    body.woocommerce-shop .wpc-term-item-content-wrapper,
    body.woocommerce-shop .wpc-term-item-content-wrapper a,
    body.woocommerce-shop .wpc-term-item-content-wrapper span:not(.wpc-term-count):not(.wpc-term-count-value) {
        width: 100% !important;
        min-width: 145px !important;
        min-height: 44px !important;

        padding: 0 14px !important;
        margin: 0 !important;

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

        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
        text-align: center !important;
        white-space: nowrap !important;

        scroll-snap-align: unset !important;
        scroll-margin: 0 !important;

        box-sizing: border-box !important;
    }
}

.artifex-cart-link-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 55px !important;
    min-height: 55px !important;
    padding: 0 18px !important;
    margin: 28px 0 -12px 0 !important;
    box-sizing: border-box;
    text-align: center;

    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 20.4px !important;
    font-family: Inter, sans-serif !important;
    text-transform: uppercase !important;

    border-radius: 28px !important;
    transition: all 0.2s ease;
}

.artifex-cart-link-button:hover {
    background-color: var(--global-palette-btn-bg-hover) !important;
    color: var(--global-palette-btn-hover) !important;
}

/* Artifex size swatches: force same width as product buttons */

/* Turn WooCommerce variation table into normal full-width blocks */
.woocommerce div.product form.cart table.variations,
.woocommerce div.product form.cart table.variations tbody,
.woocommerce div.product form.cart table.variations tr,
.woocommerce div.product form.cart table.variations td,
.woocommerce div.product form.cart table.variations th {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Size label */
.woocommerce div.product form.cart table.variations .label,
.woocommerce div.product form.cart table.variations label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    font-weight: 600 !important;
    color: #232323 !important;
}

/* Value area holding the swatches */
.woocommerce div.product form.cart table.variations td.value {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Size row: all 3 buttons together */
.woo-variation-swatches .variable-items-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;

    width: 100% !important;
    max-width: 100% !important;
    height: 55px !important;

    margin: 10px 0 12px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Each size button */
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item {
    width: 100% !important;
    min-width: 0 !important;
    height: 55px !important;
    margin: 0 !important;
    padding: 0 12px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid #9E8B6A !important;
    border-radius: 28px !important;
    background: #f7f1e8 !important;
    color: #232323 !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: center !important;

    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Text inside buttons */
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-contents,
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span,
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span-button {
    width: 100% !important;
    height: auto !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: inherit !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: center !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Hover */
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:hover {
    background: #9E8B6A !important;
    border-color: #9E8B6A !important;
    color: #fff8ef !important;
    box-shadow: none !important;
}

/* Selected */
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item.selected,
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item.selected:hover {
    background: #9E8B6A !important;
    border-color: #9E8B6A !important;
    color: #fff8ef !important;
    box-shadow: none !important;
}

/* Remove plugin overlay/checkmark */
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:before,
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:after {
    display: none !important;
}

/* Clear link */
.woocommerce div.product form.cart .reset_variations {
    display: inline-block !important;
    margin-top: 4px !important;
    color: #9E8B6A !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

.woocommerce div.product form.cart .reset_variations:hover {
    text-decoration: underline !important;
}

/* Mobile */
@media (max-width: 767px) {
    .woo-variation-swatches .variable-items-wrapper {
        grid-template-columns: 1fr !important;
        height: auto !important;
        gap: 8px !important;
    }

    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item {
        height: 55px !important;
        font-size: 14px !important;
    }

    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span,
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span-button {
        font-size: 14px !important;
    }
}

/* Fix clipped text inside Artifex size swatches */
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item {
    overflow: visible !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-contents,
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span,
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span-button {
    height: 55px !important;
    min-height: 55px !important;
    line-height: 55px !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Slight optical correction for letters like g, y, p */
.woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span-button {
    transform: translateY(1px) !important;
}

/* Hide ugly selected variation text after Size label */
.woo-selected-variation-item-name {
    display: none !important;
}

/* Mobile size buttons: compact 3-button row */
@media (max-width: 767px) {
    .woo-variation-swatches .variable-items-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 8px 0 10px 0 !important;
        padding: 0 !important;
    }

    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item {
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 8px !important;
        border-radius: 22px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }

    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-contents,
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span,
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span-button {
        height: 42px !important;
        min-height: 42px !important;
        line-height: 42px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* Mobile only: size buttons with 2-line labels */
@media (max-width: 767px) {

    /* Hide selected variation text after Size label */
    .woo-selected-variation-item-name {
        display: none !important;
    }

    /* Keep 3 buttons in one centered 312px row */
    .woo-variation-swatches .variable-items-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;

        width: 312px !important;
        max-width: 100% !important;

        height: auto !important;
        margin: 8px auto 12px auto !important;
        padding: 0 !important;

        box-sizing: border-box !important;
    }

    /* Mobile button shape */
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item {
        width: 100% !important;
        min-width: 0 !important;

        height: 58px !important;
        min-height: 58px !important;
        padding: 0 6px !important;
        border-radius: 28px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;

        overflow: hidden !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Hide original long label text on mobile */
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-contents,
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span,
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item .variable-item-span-button {
        font-size: 0 !important;
        line-height: 0 !important;
        color: transparent !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* First row: size name */
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item::before {
        display: block !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
        color: #232323 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    /* Second row: measurements */
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item::after {
        display: block !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 1.1 !important;
        color: #232323 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    /* Small */
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:nth-child(1)::before {
        content: "Small" !important;
    }

    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:nth-child(1)::after {
        content: "12×16 cm" !important;
    }

    /* Medium */
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:nth-child(2)::before {
        content: "Medium" !important;
    }

    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:nth-child(2)::after {
        content: "25×35 cm" !important;
    }

    /* Large */
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:nth-child(3)::before {
        content: "Large" !important;
    }

    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:nth-child(3)::after {
        content: "43×61 cm" !important;
    }

    /* Selected and hover text color */
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item.selected::before,
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item.selected::after,
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:hover::before,
    .woo-variation-swatches .variable-items-wrapper .variable-item.button-variable-item:hover::after {
        color: #fff8ef !important;
    }
}



/* ================================
   ARTIFEX MAILPOET POPUP
   Clean corrected version
   ================================ */

:root {
    --artifex-dark: #1f1f1d;
    --artifex-text: #232323;
    --artifex-gold: #9E8B6A;
    --artifex-cream: #fff8ef;
    --artifex-bg: #f7f1e8;
}

/* Popup box */
.mailpoet_form_popup,
.mailpoet_form_popup_container,
.mailpoet_modal {
    width: 500px !important;
    max-width: calc(100vw - 36px) !important;
    min-width: 0 !important;
    background: var(--artifex-cream) !important;
    border: 1px solid rgba(158, 139, 106, 0.35) !important;
    box-shadow: 0 22px 60px rgba(31, 31, 29, 0.28) !important;
    overflow: hidden !important;
}

/* Scoped reset */
.mailpoet_form_popup,
.mailpoet_form_popup *,
.mailpoet_form_popup *::before,
.mailpoet_form_popup *::after {
    box-sizing: border-box !important;
}

/* Inner form */
.mailpoet_form_popup .mailpoet_form,
.mailpoet_form_popup form {
    width: 100% !important;
    min-height: 430px !important;
    padding: 36px 42px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center !important;
    overflow: hidden !important;
}

/* Real blue 25% badge */
.mailpoet_form_popup form > .mailpoet_paragraph:first-child {
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 auto 18px auto !important;
    padding: 0 !important;
    transform: scale(1.25) !important;
    transform-origin: center center !important;
}

/* If the 25% badge is an image */
.mailpoet_form_popup form > .mailpoet_paragraph:first-child img {
    display: block !important;
    width: 64px !important;
    max-width: 64px !important;
    height: auto !important;
    margin: 0 auto !important;
}

/* Main headline */
.mailpoet_form_popup h1,
.mailpoet_form_popup h2,
.mailpoet_form_popup h3 {
    margin: 0 0 16px 0 !important;
    color: var(--artifex-dark) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 58px !important;
    line-height: 0.95 !important;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
    text-align: center !important;
}

/* Bold offer text */
.mailpoet_form_popup strong,
.mailpoet_form_popup b {
    color: var(--artifex-dark) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 23px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

/* Normal popup text */
.mailpoet_form_popup .mailpoet_text,
.mailpoet_form_popup .mailpoet_paragraph {
    max-width: 100% !important;
    color: var(--artifex-text) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* Email field */
.mailpoet_form_popup input[type="email"],
.mailpoet_form_popup input[type="text"] {
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    margin: 24px 0 14px 0 !important;
    padding: 0 16px !important;
    background: #ffffff !important;
    border: 1px solid rgba(31, 31, 29, 0.35) !important;
    border-radius: 0 !important;
    color: var(--artifex-text) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    outline: none !important;
}

.mailpoet_form_popup input[type="email"]::placeholder,
.mailpoet_form_popup input[type="text"]::placeholder {
    color: rgba(35, 35, 35, 0.45) !important;
}

/* Submit button */
.mailpoet_form_popup input[type="submit"],
.mailpoet_form_popup button[type="submit"],
.mailpoet_form_popup .mailpoet_submit {
    display: block !important;
    width: 100% !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--artifex-dark) !important;
    color: var(--artifex-cream) !important;
    border: 1px solid var(--artifex-dark) !important;
    border-radius: 0 !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    cursor: pointer !important;
}

.mailpoet_form_popup input[type="submit"]:hover,
.mailpoet_form_popup button[type="submit"]:hover,
.mailpoet_form_popup .mailpoet_submit:hover {
    background: var(--artifex-gold) !important;
    border-color: var(--artifex-gold) !important;
    color: var(--artifex-cream) !important;
}

/* Close X */
.mailpoet_form_popup .mailpoet_form_close_icon,
.mailpoet_form_popup .mailpoet_close,
.mailpoet_form_popup button[aria-label="Close"] {
    color: var(--artifex-dark) !important;
    font-size: 22px !important;
    top: 14px !important;
    right: 16px !important;
}

/* Hide success before submit */
.mailpoet_validate_success,
.mailpoet_success {
    display: none !important;
}

/* Hide fields and button after successful signup */
.mailpoet_form_popup form:has(.mailpoet_validate_success[style*="display: block"]) input,
.mailpoet_form_popup form:has(.mailpoet_validate_success[style*="display:block"]) input,
.mailpoet_form_popup form:has(.mailpoet_success[style*="display: block"]) input,
.mailpoet_form_popup form:has(.mailpoet_success[style*="display:block"]) input,
.mailpoet_form_popup form:has(.mailpoet_validate_success[style*="display: block"]) button[type="submit"],
.mailpoet_form_popup form:has(.mailpoet_validate_success[style*="display:block"]) button[type="submit"],
.mailpoet_form_popup form:has(.mailpoet_success[style*="display: block"]) button[type="submit"],
.mailpoet_form_popup form:has(.mailpoet_success[style*="display:block"]) button[type="submit"],
.mailpoet_form_popup form:has(.mailpoet_validate_success[style*="display: block"]) .mailpoet_submit,
.mailpoet_form_popup form:has(.mailpoet_validate_success[style*="display:block"]) .mailpoet_submit,
.mailpoet_form_popup form:has(.mailpoet_success[style*="display: block"]) .mailpoet_submit,
.mailpoet_form_popup form:has(.mailpoet_success[style*="display:block"]) .mailpoet_submit {
    display: none !important;
}

/* Success screen layout */
.mailpoet_form_popup form:has(.mailpoet_validate_success[style*="display: block"]),
.mailpoet_form_popup form:has(.mailpoet_validate_success[style*="display:block"]),
.mailpoet_form_popup form:has(.mailpoet_success[style*="display: block"]),
.mailpoet_form_popup form:has(.mailpoet_success[style*="display:block"]) {
    min-height: 430px !important;
    padding: 36px 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Success message */
.mailpoet_validate_success[style*="display: block"],
.mailpoet_validate_success[style*="display:block"],
.mailpoet_success[style*="display: block"],
.mailpoet_success[style*="display:block"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 0 !important;
    color: transparent !important;
    text-align: center !important;
}

/* Success checkmark */
.mailpoet_validate_success[style*="display: block"]::before,
.mailpoet_validate_success[style*="display:block"]::before,
.mailpoet_success[style*="display: block"]::before,
.mailpoet_success[style*="display:block"]::before {
    content: "✓";
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 58px !important;
    height: 58px !important;
    margin: 0 auto 22px auto !important;
    border: 1px solid var(--artifex-gold) !important;
    border-radius: 50% !important;
    background: var(--artifex-bg) !important;
    color: var(--artifex-gold) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 20px rgba(31, 31, 29, 0.10) !important;
}

/* Success text */
.mailpoet_validate_success[style*="display: block"]::after,
.mailpoet_validate_success[style*="display:block"]::after,
.mailpoet_success[style*="display: block"]::after,
.mailpoet_success[style*="display:block"]::after {
    content: "Check your inbox to confirm your subscription. Your 25% welcome discount will be sent after confirmation.";
    display: block !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    color: var(--artifex-text) !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    text-align: center !important;
}

/* Mobile */
@media (max-width: 767px) {
    .mailpoet_form_popup,
    .mailpoet_form_popup_container,
    .mailpoet_modal {
        width: calc(100vw - 36px) !important;
        max-width: calc(100vw - 36px) !important;
    }

    .mailpoet_form_popup .mailpoet_form,
    .mailpoet_form_popup form,
    .mailpoet_form_popup form:has(.mailpoet_validate_success[style*="display: block"]),
    .mailpoet_form_popup form:has(.mailpoet_validate_success[style*="display:block"]),
    .mailpoet_form_popup form:has(.mailpoet_success[style*="display: block"]),
    .mailpoet_form_popup form:has(.mailpoet_success[style*="display:block"]) {
        min-height: 410px !important;
        padding: 32px 24px !important;
    }

    .mailpoet_form_popup form > .mailpoet_paragraph:first-child {
        margin-bottom: 16px !important;
        transform: scale(1.2) !important;
    }

    .mailpoet_form_popup form > .mailpoet_paragraph:first-child img {
        width: 58px !important;
        max-width: 58px !important;
    }

    .mailpoet_form_popup h1,
    .mailpoet_form_popup h2,
    .mailpoet_form_popup h3 {
        font-size: 48px !important;
    }

    .mailpoet_form_popup strong,
    .mailpoet_form_popup b {
        font-size: 20px !important;
    }

    .mailpoet_validate_success[style*="display: block"]::after,
    .mailpoet_validate_success[style*="display:block"]::after,
    .mailpoet_success[style*="display: block"]::after,
    .mailpoet_success[style*="display:block"]::after {
        max-width: 280px !important;
        font-size: 16px !important;
        line-height: 1.55 !important;
    }
}

/* Make only the top 25% larger */
.mailpoet_form_popup form > .mailpoet_paragraph:first-child {
    display: block !important;
    width: 100% !important;
    margin: 0 auto 14px auto !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 1 !important;
    transform: none !important;
}

.mailpoet_form_popup form > .mailpoet_paragraph:first-child,
.mailpoet_form_popup form > .mailpoet_paragraph:first-child p,
.mailpoet_form_popup form > .mailpoet_paragraph:first-child span,
.mailpoet_form_popup form > .mailpoet_paragraph:first-child strong,
.mailpoet_form_popup form > .mailpoet_paragraph:first-child b {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 58px !important;
    line-height: 0.9 !important;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
    color: #1f1f1d !important;
    text-align: center !important;
}

@media (max-width: 768px) {

    .site-mobile-header-wrap .site-header-row-container:has(a[href="#newsletter"]) {
        height: 30px !important;
        max-height: 30px !important;
        min-height: 30px !important;
        overflow: hidden !important;
        background: #1f1f1d !important;
        position: relative !important;
    }

    .site-mobile-header-wrap .site-header-row-container:has(a[href="#newsletter"]) .site-header-row-container-inner {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        height: 30px !important;
        max-height: 30px !important;
        width: 100% !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .site-mobile-header-wrap .site-header-row-container:has(a[href="#newsletter"]) .site-header-item:first-child {
        position: absolute !important;
        left: 12px !important;
        flex: none !important;
        width: auto !important;
    }

    .site-mobile-header-wrap .site-header-row-container:has(a[href="#newsletter"]) .site-header-item:last-child {
        position: absolute !important;
        right: 12px !important;
        flex: none !important;
        width: auto !important;
    }
	
	.site-mobile-header-wrap a[href="#newsletter"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: 30px !important;
        max-height: 30px !important;
        padding: 0 10px !important;
        margin: 0 !important;
        background: #1f1f1d !important;
        color: #fff8ef !important;
        font-size: 0 !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .site-mobile-header-wrap a[href="#newsletter"]::before {
        content: "Subscribe and save 25%" !important;
        display: block !important;
        color: #fff8ef !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1.08 !important;
        text-align: center !important;
    }

    .site-mobile-header-wrap a[href="#newsletter"]::after {
        content: "on your first order" !important;
        display: block !important;
        color: #fff8ef !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1.08 !important;
        text-align: center !important;
    }
}

.kt-adv-heading1815_e8606b-11,
.kt-adv-heading1815_d793ab-75,
.kt-adv-heading1815_048bf2-67,
.kt-adv-heading1815_2d566f-61,
.kt-adv-heading1815_20512a-1a {
    text-align: center !important;
}

@media (min-width: 769px) and (max-width: 1180px) {
    body.home .entry-content > .wp-block-kadence-rowlayout:first-child,
    body.home .entry-content > .kt-row-layout-wrap:first-child {
        padding-top: 110px !important;
    }
}

@media (min-width: 769px) and (max-width: 1180px) {
    .site-header-row-container:has(a[href="#newsletter"]) {
        height: 30px !important;
        max-height: 30px !important;
        min-height: 30px !important;
        overflow: hidden !important;
    }
}

@media (max-width: 768px) {
    .mailpoet_form_popup,
    .mailpoet_form_popup_container,
    .mailpoet_modal {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: calc(100vw - 36px) !important;
        max-height: 90dvh !important;
        overflow-y: auto !important;
    }
}