/* Shared storefront type and controls; component layouts stay scoped. */
body { font-family: var(--mbs-nav-font,Archivo,Arial,sans-serif); font-size: 15px; font-weight: 500; line-height: 1.6; }
body :where(h1,h2,h3,h4) { font-family: var(--mbs-nav-heading-font,Poppins,Arial,sans-serif); font-weight: 600; }
/* Draw decorative arrows independently of each device's emoji font. */
.sch-home :is(.sch-link,.sch-button,.sch-category h3) > span[aria-hidden="true"], .mbs-arrow-up-right {
    display: inline-block; position: relative; flex: 0 0 1em; width: 1em; height: 1em;
    overflow: hidden; text-indent: 100%; white-space: nowrap; line-height: 1;
}
.sch-home :is(.sch-link,.sch-button,.sch-category h3) > span[aria-hidden="true"]::before, .mbs-arrow-up-right::before { position: absolute; inset: 0; }
.sch-home :is(.sch-link,.sch-button,.sch-category h3) > span[aria-hidden="true"]::before,
.mbs-arrow-up-right::before, .single-post .mbs-article-reco__action::after {
    content: ""; background-color: currentColor;
    --mbs-arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M5 5h14v14' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask: var(--mbs-arrow-mask) center / contain no-repeat;
    mask: var(--mbs-arrow-mask) center / contain no-repeat;
}
.woocommerce .woocommerce-breadcrumb, .mbs-editorial .mbs-article-breadcrumb { color: #555; font-size: 14px; line-height: 22px; font-weight: 500; overflow-wrap: anywhere; }
.woocommerce .woocommerce-breadcrumb a, .mbs-editorial .mbs-article-breadcrumb a { color: #000; text-decoration: none; }
.woocommerce .woocommerce-breadcrumb { display: flex; align-items: baseline; flex-wrap: wrap; row-gap: 4px; }
.mbs-catalog .mbs-catalog-hero .woocommerce-breadcrumb, .mbs-catalog .mbs-catalog-hero .woocommerce-breadcrumb a { color: inherit; }
.mbs-catalog-hero .mbs-breadcrumb-separator { color: inherit; opacity: .5; }
.mbs-breadcrumb-item { min-width: 0; max-width: 100%; }
.mbs-breadcrumb-separator, .mbs-article-breadcrumb > span[aria-hidden], .mbs-article-breadcrumb .separator { display: inline-block; padding-inline: 12px; color: #ccc; }
body .pc-tool-icon-favorite, body .pc-tool-icon-favorites { background-image: url("https://signcrisp.com/wp-content/themes/generatepress_child/assets/heart.svg"); }
body .pc-site-tools-drag-handle img { width: 100%; height: 100%; }
/* Keep the mascot's transparent drag area behind the shortcut buttons. */
body .pc-site-tools nav { position: relative; z-index: 2; }
body [aria-pressed=true] .pc-tool-icon-favorite, body .pc-favorite-remove .pc-tool-icon-favorite { background-image: url("https://signcrisp.com/wp-content/themes/generatepress_child/assets/heart-filled.svg"); }
@media (min-width: 681px) {
    body .pc-site-tools nav { width: 54px; }
}
.mbs-catalog ul.products li.product .mbs-catalog-favorite { width: 40px; min-width: 40px; max-width: 40px; height: 40px; min-height: 40px; max-height: 40px; padding: 8px; }
.mbs-catalog ul.products li.product .mbs-catalog-favorite .pc-tool-icon { width: 24px; height: 24px; }
@media (max-width: 767px) {
    body.wpc-shengda-customizer #content { padding-inline: 0; }
    body.wpc-shengda-customizer .wpc-peer-product { flex: 0 0 clamp(132px,38vw,155px); }
    body.wpc-shengda-customizer .wpc-product-heading-row h1 { font-size: 18px; }
    body.wac-product-template .wac-native-row { grid-template-columns: minmax(0,1fr); }
    body.wac-product-template .wac-native-label { justify-content: flex-start; width: 100%; text-align: left; }
    .mbs-product-discovery .mbs-journal .mbs-discovery-heading { font-size: 22px; }
    .mbs-catalog ul.products li.product .mbs-catalog-favorite { top: 8px; left: 8px; }
}
@media (max-width: 360px) {
    body.woocommerce-cart .wc-block-cart__main { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
}
@media (max-width: 680px) {
    /* Menus retain account shortcuts while narrow reading and browsing pages stay clear. */
    body:is(.mbs-catalog,.mbs-journal-single) .pc-site-tools { display: none; }
}
.mbs-favorite-feedback:not(.screen-reader-text) { position: fixed; z-index: 100001; bottom: 24px; left: 50%; transform: translateX(-50%); box-sizing: border-box; width: min(440px,calc(100% - 32px)); padding: 14px 18px; border: 1px solid #eedbd7; border-radius: 10px; background: #fff5f3; color: #a23c35; font-size: 14px; line-height: 1.5; box-shadow: 0 4px 16px #0001; }

/* Shared storefront interaction policy. No generated motion layers or arrows. */
body:not(.wp-admin) :is(a, button, summary, [role="link"], [role="button"]),
body:not(.wp-admin) :is(a, button, summary, [role="link"], [role="button"]) * {
    text-decoration: none !important;
}
body:not(.wp-admin) .mbs-dir-motion {
    display: none !important;
}
/* Remove decorative CTA arrows; functional menu and carousel controls remain. */
body:not(.wp-admin) .mbs-arrow-up-right,
body:not(.wp-admin) :is(.mbs-story__read, .mbs-journal__read, .mbs-journal__all, .mbs-featured-catalog__archive) > svg[aria-hidden="true"],
body:not(.wp-admin) .sc8-home :is(.sc8-link, .sc8-button) > span[aria-hidden="true"],
body:not(.wp-admin) .sch-home :is(.sch-link, .sch-button, .sch-category h3) > span[aria-hidden="true"] {
    display: none !important;
}
body:not(.wp-admin) .mbs-article-reco__action::after {
    content: none !important;
    display: none !important;
}
body:not(.wp-admin) .mbs-topic-nav a::after { content: none !important; }
body:not(.wp-admin) .mbs-topic-nav { gap: 8px; border-bottom: 0; }
body:not(.wp-admin) .mbs-topic-nav a { padding: 9px 13px; border-radius: 3px; min-height: 44px; }
body:not(.wp-admin) .mbs-topic-nav a[aria-current] { background-color: #0927420a; }
body:not(.wp-admin) :is(.sc8-link, .sch-link, .mbs-menu-links a, .mbs-menu-view-all,
    .mbs-story__title a, .mbs-story__read, .mbs-journal__title a, .mbs-journal__read,
    .mbs-journal__all, .mbs-featured-card__title a, .mbs-featured-catalog__archive,
    .mbs-qv-more, .site-footer .menu a, .footer-widgets .menu a) {
    transition: color .16s ease, background-color .16s ease;
}
@media (hover: hover) and (pointer: fine) {
    body:not(.wp-admin) :is(.sc8-link:not(.sc8-button), .sch-link, .mbs-menu-links a,
        .mbs-menu-view-all, .mbs-story__title a, .mbs-story__read, .mbs-journal__title a,
        .mbs-journal__read, .mbs-journal__all, .mbs-featured-card__title a,
        .mbs-featured-catalog__archive, .mbs-qv-more):hover {
        color: var(--mbs-link-hover, #b84620);
    }
    body:not(.wp-admin) :is(.site-footer .menu a, .footer-widgets .menu a):hover {
        background-color: #c24a2612;
    }
    body:not(.wp-admin) .mbs-menu-links a:hover {
        background-color: #09274206;
        border-radius: 3px;
    }
}
.sc8-b2b-card:first-child, .sch-event-copy { --mbs-link-hover: #ffd0b8; }
body:not(.wp-admin) :is(.sc8-link, .sch-link, .mbs-menu-links a,
    .site-footer .menu a, .footer-widgets .menu a):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
    body:not(.wp-admin) :is(a, button) { transition: none !important; }
}

/* Native WooCommerce notice: normal flow above the header, no reserved gap. */
body .woocommerce-store-notice.demo_store {
    position: relative;
    inset: auto;
    z-index: 990;
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 10px 64px;
    border: 0;
    border-radius: 0;
    background: var(--mbs-announcement-background, #092742);
    color: var(--mbs-announcement-color, #fff);
    box-shadow: none;
    font-family: var(--mbs-nav-font, inherit);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    text-wrap: balance;
}
body .woocommerce-store-notice.demo_store::before { content: none; }
body .woocommerce-store-notice.demo_store a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 3px;
}
body .woocommerce-store-notice.demo_store a:hover { text-decoration: underline; }
body .woocommerce-store-notice.demo_store a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
body .woocommerce-store-notice.demo_store .woocommerce-store-notice__dismiss-link {
    position: absolute;
    top: 50%;
    right: max(12px, calc((100% - 1688px) / 2 + 12px));
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: inherit;
    font-size: 0;
    transform: translateY(-50%);
    opacity: .8;
}
body .woocommerce-store-notice.demo_store .woocommerce-store-notice__dismiss-link::before { content: none; }
body .woocommerce-store-notice.demo_store .woocommerce-store-notice__dismiss-link::after {
    content: "×";
    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 300;
    line-height: 1;
}
body .woocommerce-store-notice.demo_store .woocommerce-store-notice__dismiss-link:hover {
    background: #ffffff14;
    text-decoration: none;
    opacity: 1;
}
@media (max-width: 767px) {
    body .woocommerce-store-notice.demo_store {
        padding: 9px 48px 9px 18px;
        font-size: 11.5px;
        line-height: 18px;
    }
    body .woocommerce-store-notice.demo_store .woocommerce-store-notice__dismiss-link {
        right: 5px;
        width: 40px;
        height: 40px;
    }
}
