.saghome,
.saghome-page,
.saghome-footer-blocks,
.saghome-floating-note-menu {
    --saghome-ink: #07152a;
    --saghome-muted: #475569;
    --saghome-red: #a91524;
    --saghome-coral: #ff8074;
    --saghome-soft: #f8fafc;
    --saghome-border: #e5e7eb;
    color: var(--saghome-ink);
    font-family: inherit;
}

/* Homepage Catalogue Manager (admin only). */
.saghome-catalogue-manager { max-width: 1240px; }
.saghome-catalogue-intro, .saghome-catalogue-note { max-width: 900px; font-size: 14px; line-height: 1.6; }
.saghome-catalogue-note { padding: 12px 14px; border-left: 4px solid #2271b1; background: #f0f6fc; }
.saghome-catalogue-lookup, .saghome-catalogue-shelves-section { margin: 24px 0; padding: 22px; border: 1px solid #dcdcde; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.saghome-catalogue-search-control, .saghome-catalogue-add-shelf, .saghome-catalogue-result-actions, .saghome-catalogue-save-row, .saghome-catalogue-section-heading { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.saghome-catalogue-section-heading { justify-content: space-between; align-items: flex-start; }
.saghome-catalogue-search-control input { flex: 1 1 360px; min-height: 34px; }
.saghome-catalogue-search-status.is-error { color: #b32d2e; font-weight: 600; }
.saghome-catalogue-search-results, .saghome-catalogue-shelf-list { display: grid; gap: 12px; margin-top: 16px; }
.saghome-catalogue-search-result { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 14px; border: 1px solid #dcdcde; border-radius: 6px; background: #fafafa; }
.saghome-catalogue-search-result > img { width: 76px; height: 76px; object-fit: contain; border: 1px solid #e2e2e2; background: #fff; }
.saghome-catalogue-search-result h3 { margin: 0 0 5px; font-size: 15px; }
.saghome-catalogue-search-result .description { margin: 0 0 10px; }
.saghome-catalogue-result-actions select { min-width: 220px; }
.saghome-catalogue-real-categories { margin-top: 12px; padding-top: 10px; border-top: 1px solid #dcdcde; }
.saghome-catalogue-real-categories summary { color: #2271b1; font-weight: 600; cursor: pointer; }
.saghome-catalogue-category-checkboxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 14px; max-height: 240px; overflow: auto; padding: 12px; border: 1px solid #dcdcde; background: #fff; }
.saghome-catalogue-shelf { padding: 16px; border: 1px solid #c3c4c7; border-radius: 7px; background: #f6f7f7; }
.saghome-catalogue-shelf-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.saghome-catalogue-shelf h3, .saghome-catalogue-shelf-header p, .saghome-catalogue-autofill { margin: 0; }
.saghome-catalogue-autofill { margin: 13px 0 !important; }
.saghome-catalogue-drag-handle, .saghome-catalogue-product-drag { display: inline-flex; align-items: center; min-width: 30px; min-height: 28px; color: #646970; font-size: 12px; font-weight: 600; cursor: grab; }
.saghome-catalogue-shelf.is-dragging, .saghome-catalogue-product-item.is-dragging { opacity: .5; }
.saghome-catalogue-product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.saghome-catalogue-product-item { display: grid; grid-template-columns: 30px 42px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 56px; padding: 8px; border: 1px solid #dcdcde; border-radius: 5px; background: #fff; }
.saghome-catalogue-product-item img { width: 42px; height: 42px; object-fit: contain; }
.saghome-catalogue-product-copy { min-width: 0; }
.saghome-catalogue-product-copy strong, .saghome-catalogue-product-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saghome-catalogue-product-copy small { margin-top: 3px; color: #646970; }
.saghome-catalogue-empty-products, .saghome-catalogue-empty-shelves, .saghome-catalogue-rollback-note { margin: 12px 0; }
@media (max-width: 782px) {
    .saghome-catalogue-lookup, .saghome-catalogue-shelves-section { padding: 16px; }
    .saghome-catalogue-product-list { grid-template-columns: 1fr; }
    .saghome-catalogue-search-result { grid-template-columns: 58px minmax(0, 1fr); }
    .saghome-catalogue-search-result > img { width: 58px; height: 58px; }
    .saghome-catalogue-add-shelf select, .saghome-catalogue-result-actions select, .saghome-catalogue-search-control input { width: 100%; }
}

body.saghome-global-footer-enabled #colophon.site-footer {
    display: none;
}

body.saghome-old-site-look-enabled {
    background: #fff;
}

.saghome-old-topbar {
    width: 100%;
    background: #c94b4b;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.saghome-old-topbar-inner {
    display: flex;
    min-height: 42px;
    max-width: 1218px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 auto;
    padding: 0 40px;
}

.saghome-old-topbar nav {
    display: flex;
    align-self: stretch;
    margin-right: -1px;
}

.saghome-old-topbar a {
    display: inline-flex;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    padding: 0 16px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: none;
}

.saghome-old-topbar a:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.24);
}

body.saghome-old-site-look-enabled #masthead {
    position: relative !important;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

body.saghome-old-site-look-enabled #masthead .kadence-sticky-header.item-is-fixed,
body.saghome-old-site-look-enabled #masthead .kadence-sticky-header.item-is-stuck,
body.saghome-old-site-look-enabled #masthead .kadence-sticky-header.item-is-fixed > .site-header-row-container-inner,
body.saghome-old-site-look-enabled #masthead .kadence-sticky-header.item-is-stuck > .site-header-row-container-inner {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: auto !important;
    transform: none !important;
}

body.saghome-old-site-look-enabled #main-header .site-header-upper-inner-wrap {
    position: relative;
}

body.saghome-old-site-look-enabled #main-header .site-top-header-wrap .site-header-row-container-inner {
    border-bottom: 1px solid #e5e7eb;
}

body.saghome-old-site-look-enabled #main-header .site-top-header-inner-wrap {
    min-height: 100px;
}

body.saghome-old-site-look-enabled #main-header .site-branding .brand {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    text-decoration: none;
}

body.saghome-old-site-look-enabled #main-header .site-branding .brand::before {
    display: block;
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    background: url("art-craft-logo-01.png") center / contain no-repeat;
    content: "";
}

body.saghome-old-site-look-enabled #main-header .site-branding .site-title {
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
}

body.saghome-old-site-look-enabled #main-header .site-branding .site-title::after {
    color: #000;
    content: "SAGACITY ART & CRAFTS";
    font-size: clamp(1.35rem, 2vw, 1.72rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

body.saghome-old-site-look-enabled #main-header .site-bottom-header-wrap {
    position: absolute;
    right: max(40px, calc((100vw - 1218px) / 2 + 40px));
    bottom: 26px;
    z-index: 3;
    width: auto;
}

body.saghome-old-site-look-enabled #main-header .site-header-item[data-section="kadence_customizer_cart"],
body.saghome-old-site-look-enabled #main-header .site-header-item[data-section="kadence_customizer_header_button"],
body.saghome-old-site-look-enabled #mobile-header .site-header-item[data-section="kadence_customizer_cart"],
body.saghome-old-site-look-enabled #mobile-header .site-header-item[data-section="kadence_customizer_header_button"] {
    display: none !important;
}

body.saghome-old-site-look-enabled #main-header .site-bottom-header-wrap .site-header-row-container-inner,
body.saghome-old-site-look-enabled #main-header .site-bottom-header-inner-wrap {
    min-height: 0;
    background: transparent;
}

body.saghome-old-site-look-enabled #main-header .site-bottom-header-wrap .site-container {
    max-width: none;
    padding: 0;
}

body.saghome-old-site-look-enabled #main-header .site-bottom-header-section-right {
    gap: 12px;
}

body.saghome-old-site-look-enabled #main-header .header-button {
    min-height: 32px;
    border-color: #0b35ff;
    border-radius: 999px;
    padding: 6px 13px;
    color: #0b35ff;
    font-size: 0.78rem;
    font-weight: 600;
}

body.saghome-old-site-look-enabled #main-header .header-cart-wrap .header-cart-button {
    color: #0b35ff;
}

body.saghome-old-site-look-enabled #main-header .site-main-header-wrap .site-header-row-container-inner {
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

body.saghome-old-site-look-enabled #main-header .site-main-header-inner-wrap {
    min-height: 52px;
}

body.saghome-old-site-look-enabled .main-navigation .primary-menu-container > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 18px;
}

body.saghome-old-site-look-enabled .main-navigation .primary-menu-container > ul > li.menu-item > a {
    color: #111827;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

body.saghome-old-site-look-enabled .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
body.saghome-old-site-look-enabled .main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
    color: #c94b4b;
}

.saghome a,
.saghome-page a {
    color: #1f5fa8;
}

.saghome {
    background: #fff;
}

.saghome .wp-block-columns,
.saghome .wp-block-group,
.saghome figure {
    box-sizing: border-box;
}

.saghome-hero {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 20px 10px;
}

body.home.saghome-old-site-look-enabled .content-area {
    margin-top: 0;
}

body.home.saghome-old-site-look-enabled .entry-content-wrap {
    padding-top: 0;
}

body.home.saghome-old-site-look-enabled .saghome-hero {
    padding-top: 0;
}

body.home.saghome-old-site-look-enabled .saghome-hero-copy {
    display: none;
}

body.home.saghome-old-site-look-enabled .saghome-banner {
    border: 0;
}

body.home.saghome-old-site-look-enabled .saghome > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
}

body.home.saghome-old-site-look-enabled .saghome-hero {
    order: 1;
}

body.home.saghome-old-site-look-enabled .saghome-section:not(.saghome-info-grid) {
    order: 2;
}

body.home.saghome-old-site-look-enabled .saghome-info-grid {
    order: 20;
    max-width: 1120px;
    align-items: flex-start;
    gap: 74px;
    padding-top: 72px;
    padding-bottom: 72px;
}

body.home.saghome-old-site-look-enabled .saghome-info-card,
body.home.saghome-old-site-look-enabled .saghome-question-card {
    min-height: 0;
}

body.home.saghome-old-site-look-enabled .saghome-question-card {
    justify-content: flex-start;
    padding-top: 54px;
}

.saghome-floating-note-menu {
    position: fixed;
    top: 42vh;
    right: 0;
    z-index: 9998;
    display: flex;
    width: 154px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background: rgba(255, 255, 255, 0.96);
    padding: 8px 7px;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
    color: #111827;
    transform: translateX(108px);
    transition: transform 180ms ease, box-shadow 180ms ease;
    will-change: transform;
}

.saghome-floating-note-menu:hover,
.saghome-floating-note-menu:focus-within,
.saghome-floating-note-menu.is-panel-open {
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.24);
    transform: translateX(0);
}

.saghome-floating-note-link {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 42px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
    font: inherit;
    padding: 7px 8px;
    color: #111827;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
    text-align: left;
}

.saghome-floating-note-link:hover,
.saghome-floating-note-link:focus-visible {
    background: #eff6ff;
    color: #111827;
    outline: none;
    text-decoration: none;
}

.saghome-floating-note-icon {
    width: 32px;
    text-align: center;
    font-size: 1.12rem;
    line-height: 1;
}

.saghome-floating-note-label {
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.saghome-floating-note-count {
    display: inline-flex;
    position: absolute;
    top: 4px;
    left: 26px;
    min-width: 18px;
    min-height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #c94b4b;
    color: #fff;
    font-size: 0.68rem;
    line-height: 1;
}

.saghome-product-search-panel,
.saghome-chat-choice-panel {
    position: fixed;
    right: 166px;
    z-index: 9999;
    border: 1px solid #d6deea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.24);
    color: #111827;
    padding: 16px;
}

.saghome-product-search-panel {
    top: calc(42vh + 42px);
    width: min(360px, calc(100vw - 28px));
}

.saghome-chat-choice-panel {
    top: calc(42vh + 168px);
    width: min(314px, calc(100vw - 28px));
}

.saghome-product-search-panel[hidden],
.saghome-chat-choice-panel[hidden] {
    display: none;
}

.saghome-product-search-panel h2,
.saghome-chat-choice-panel h2 {
    margin: 0 32px 6px 0;
    color: #111827;
    font-size: 1.05rem;
    line-height: 1.25;
}

.saghome-chat-choice-panel p {
    margin: 0 0 14px;
    color: #4b5563;
    font-size: 0.88rem;
    line-height: 1.45;
}

.saghome-panel-close {
    position: absolute;
    top: 8px;
    right: 10px;
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111827;
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
}

.saghome-product-search-form {
    margin: 12px 0 0;
}

.saghome-product-search-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 6px;
}

.saghome-product-search-control input,
.saghome-product-search-control button {
    box-sizing: border-box;
    min-height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #111827;
    font: inherit;
}

.saghome-product-search-control input {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
}

.saghome-product-search-control button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.saghome-product-search-control input:focus,
.saghome-product-search-control button:focus-visible {
    border-color: #1f5fa8;
    outline: 2px solid rgba(31, 95, 168, 0.2);
    outline-offset: 0;
}

.saghome-product-search-status {
    min-height: 20px;
    margin-top: 6px;
    color: #4b5563;
    font-size: 0.78rem;
    line-height: 1.35;
}

.saghome-product-search-results {
    max-height: min(360px, 48vh);
    margin-top: 4px;
    overflow-y: auto;
    border-top: 1px solid #e5e7eb;
}

.saghome-product-search-results[hidden] {
    display: none;
}

.saghome-product-search-result {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    padding: 7px 4px;
    text-decoration: none;
}

.saghome-product-search-result:hover,
.saghome-product-search-result:focus-visible {
    background: #eff6ff;
    color: #111827;
    outline: none;
    text-decoration: none;
}

.saghome-product-search-result img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #fff;
}

.saghome-product-search-result-copy,
.saghome-product-search-result-copy strong,
.saghome-product-search-result-copy span {
    display: block;
    min-width: 0;
}

.saghome-product-search-result-copy strong {
    overflow-wrap: anywhere;
    font-size: 0.84rem;
    line-height: 1.3;
}

.saghome-product-search-result-copy span {
    margin-top: 3px;
    color: #64748b;
    font-size: 0.73rem;
    line-height: 1.3;
}

.saghome-chat-choice-actions {
    display: grid;
    gap: 10px;
}

.saghome-chat-choice-action {
    display: block;
    width: 100%;
    border: 1px solid #d6deea;
    border-radius: 10px;
    background: #f8fbff;
    color: #111827;
    cursor: pointer;
    font: inherit;
    padding: 12px;
    text-align: left;
    text-decoration: none;
}

.saghome-chat-choice-action:hover,
.saghome-chat-choice-action:focus-visible,
.saghome-panel-close:hover,
.saghome-panel-close:focus-visible {
    border-color: #1f5fa8;
    background: #eff6ff;
    color: #111827;
    outline: none;
    text-decoration: none;
}

.saghome-chat-choice-action strong,
.saghome-chat-choice-action span {
    display: block;
}

.saghome-chat-choice-action strong {
    margin-bottom: 3px;
    font-size: 0.94rem;
    line-height: 1.25;
}

.saghome-chat-choice-action span {
    color: #4b5563;
    font-size: 0.78rem;
    line-height: 1.35;
}

.sagwc-widget .sagwc-launcher {
    display: none;
}

.sagwc-widget .sagwc-panel {
    bottom: 0;
}

.saghome-hero-copy {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-bottom: 22px;
}

.saghome-logo {
    margin: 0;
    width: 104px;
    height: 104px;
    object-fit: contain;
}

.saghome-logo img {
    width: 104px;
    height: 104px;
    object-fit: contain;
}

.saghome-eyebrow {
    margin: 0 0 6px;
    color: var(--saghome-red);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.saghome h1,
.saghome h2,
.saghome h3,
.saghome-page h1,
.saghome-page h2 {
    letter-spacing: 0;
}

.saghome h1 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.96;
}

.saghome-hero-copy p {
    max-width: 720px;
    margin: 0;
    color: var(--saghome-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.saghome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.saghome-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #1f5fa8;
    border-radius: 6px;
    background: #1f5fa8;
    padding: 10px 18px;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.saghome .wp-block-button.saghome-button {
    display: inline-flex;
    min-height: 0;
    border: 0;
    background: transparent;
    padding: 0;
}

.saghome .wp-block-button.saghome-button .wp-block-button__link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #1f5fa8;
    border-radius: 6px;
    background: #1f5fa8;
    padding: 10px 18px;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.saghome-button-secondary {
    background: #fff;
    color: #1f5fa8 !important;
}

.saghome .wp-block-button.saghome-button-secondary .wp-block-button__link {
    background: #fff;
    color: #1f5fa8 !important;
}

.saghome-banner {
    margin: 0;
    display: block;
    width: 100%;
    border: 1px solid var(--saghome-border);
    object-fit: cover;
}

.saghome-banner img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.saghome-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 44px 20px;
}

.saghome-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 280px;
    gap: 34px;
    align-items: center;
}

.saghome-info-card,
.saghome-question-card {
    min-height: 220px;
}

.saghome-info-card h2,
.saghome-question-card h2 {
    margin: 12px 0 12px;
    font-size: 1.25rem;
}

.saghome-info-card p,
.saghome-info-card li {
    color: var(--saghome-ink);
    font-size: 1rem;
    line-height: 1.38;
}

.saghome-info-card ul {
    margin: 12px 0 0 18px;
    padding: 0;
}

.saghome-icon {
    display: inline-flex;
    width: 86px;
    height: 86px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f0e5ff;
    color: #9967d9;
    font-size: 44px;
    font-weight: 900;
}

.saghome-icon-truck {
    border-radius: 22px;
}

.saghome-question-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.saghome-question-mark {
    display: flex;
    width: 188px;
    height: 150px;
    align-items: center;
    justify-content: center;
    background: #fff49a;
    clip-path: polygon(50% 0%, 63% 8%, 80% 4%, 92% 18%, 100% 36%, 91% 53%, 97% 70%, 79% 81%, 64% 94%, 47% 89%, 30% 98%, 13% 87%, 6% 70%, 0% 54%, 8% 37%, 4% 18%, 23% 9%);
    color: #050505;
    font-size: 1.6rem;
    line-height: 1.15;
    text-align: center;
}

.saghome-contact-button {
    border-color: var(--saghome-coral);
    background: var(--saghome-coral);
}

.saghome .wp-block-button.saghome-contact-button .wp-block-button__link {
    border-color: var(--saghome-coral);
    background: var(--saghome-coral);
}

.saghome-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.saghome-section-head h2 {
    margin: 0;
    font-size: 1.8rem;
}

.saghome-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.saghome-category-shelves {
    display: grid;
    gap: 52px;
}

.saghome-category-shelf {
    border-top: 2px solid var(--saghome-border);
    padding-top: 20px;
}

.saghome-category-shelf-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.saghome-category-shelf-head h3 {
    margin: 0;
    font-size: 1.35rem;
}

.saghome-category-shelf-head h3 a {
    color: var(--saghome-ink);
    text-decoration: none;
}

.saghome-category-shelf-head h3 a:hover,
.saghome-category-shelf-head h3 a:focus-visible {
    color: #1f5fa8;
    text-decoration: underline;
}

.saghome-category-shelf-link {
    flex: 0 0 auto;
    font-weight: 800;
}

.saghome-category {
    display: flex;
    min-height: 96px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--saghome-border);
    border-radius: 8px;
    background: var(--saghome-soft);
    padding: 18px;
    text-decoration: none;
}

.saghome-category span {
    color: var(--saghome-ink);
    font-size: 1.1rem;
    font-weight: 800;
}

.saghome-category em {
    margin-top: 4px;
    color: var(--saghome-muted);
    font-style: normal;
}

.saghome-product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.saghome-product {
    border: 1px solid var(--saghome-border);
    border-radius: 8px;
    background: #fff;
    padding: 12px;
}

.saghome-product a {
    color: var(--saghome-ink);
    text-decoration: none;
}

.saghome-product img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.saghome-product h3 {
    min-height: 44px;
    margin: 10px 0 8px;
    font-size: 0.96rem;
    line-height: 1.28;
}

.saghome-product p {
    margin: 0;
    color: var(--saghome-muted);
    font-weight: 700;
}

.saghome-footer-blocks {
    display: grid;
    grid-template-columns: minmax(300px, 1.55fr) minmax(220px, 1fr) minmax(150px, 0.68fr) minmax(180px, 0.78fr);
    gap: 36px;
    width: 100%;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    padding: 42px max(20px, calc((100vw - 1120px) / 2 + 20px));
    text-align: left;
}

.saghome-footer-blocks h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
}

.saghome-footer-blocks p,
.saghome-footer-blocks li {
    margin: 0;
    color: #111827;
    font-size: 0.88rem;
    line-height: 1.55;
}

.saghome-footer-blocks p + p {
    margin-top: 28px;
}

.saghome-footer-blocks ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.saghome-footer-blocks li + li {
    margin-top: 8px;
}

.saghome-footer-blocks a {
    color: #111827;
    text-decoration: none;
}

.saghome-footer-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: min(56vw, 560px);
    margin-top: 26px;
}

.saghome-footer-badge {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 24, 39, 0.14);
    border-radius: 8px;
    background: #fff;
    padding: 7px 10px;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.saghome-footer-badge img {
    display: block;
    width: auto;
    height: auto;
    max-width: 118px;
    max-height: 30px;
    object-fit: contain;
}

.saghome-footer-badge:first-child img {
    max-width: 70px;
    max-height: 40px;
}

.saghome-footer-badge:nth-child(2) img {
    max-width: 132px;
}

.saghome-footer-badge:nth-child(3) img {
    max-width: 142px;
}

.saghome-page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 34px 20px 64px;
}

.saghome-page h1 {
    margin: 0 0 20px;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.saghome-page h2 {
    margin: 28px 0 8px;
    font-size: 1.25rem;
}

.saghome-page p,
.saghome-page li {
    color: var(--saghome-ink);
    font-size: 1rem;
    line-height: 1.65;
}

.saghome-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.saghome-page-grid section {
    border: 1px solid var(--saghome-border);
    border-radius: 8px;
    padding: 18px;
}

@media (max-width: 900px) {
    .saghome-old-topbar-inner {
        padding: 0 20px;
    }

    body.saghome-old-site-look-enabled #main-header .site-branding .brand {
        gap: 18px;
    }

    body.saghome-old-site-look-enabled #main-header .site-branding .brand::before {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    body.saghome-old-site-look-enabled #main-header .site-branding .site-title::after {
        font-size: 1.2rem;
        white-space: normal;
    }

    body.home.saghome-old-site-look-enabled .saghome-info-grid {
        gap: 34px;
        padding-top: 48px;
        padding-bottom: 56px;
    }

    body.home.saghome-old-site-look-enabled .saghome-question-card {
        padding-top: 0;
    }

    .saghome-info-grid,
    .saghome-footer-blocks,
    .saghome-category-grid,
    .saghome-page-grid {
        grid-template-columns: 1fr 1fr;
    }

    .saghome-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .saghome-old-topbar-inner {
        min-height: 54px;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 8px 16px 0;
    }

    .saghome-old-topbar nav {
        align-self: flex-start;
        min-height: 28px;
    }

    .saghome-old-topbar a {
        padding: 0 12px;
    }

    .saghome-hero-copy,
    .saghome-info-grid,
    .saghome-footer-blocks,
    .saghome-category-grid,
    .saghome-page-grid {
        grid-template-columns: 1fr;
    }

    .saghome-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .saghome-category-shelves {
        gap: 38px;
    }

    .saghome-category-shelf-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 14px;
    }

    .saghome-hero-copy {
        text-align: center;
    }

    .saghome-logo {
        margin: 0 auto;
    }

    .saghome-actions,
    .saghome-section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .saghome-button {
        width: 100%;
    }

    .saghome .wp-block-button.saghome-button,
    .saghome .wp-block-button.saghome-button .wp-block-button__link {
        width: 100%;
    }

    .saghome-footer-badges {
        width: 100%;
        max-width: 100%;
    }

    .saghome-footer-badge {
        flex: 1 1 120px;
    }

    .saghome-floating-note-menu {
        top: auto;
        right: 0;
        bottom: 76px;
        width: 132px;
        border-right: 0;
        border-radius: 10px 0 0 10px;
        padding: 6px;
        transform: translateX(91px);
    }

    .saghome-floating-note-menu:hover,
    .saghome-floating-note-menu:focus-within,
    .saghome-floating-note-menu.is-panel-open {
        transform: translateX(0);
    }

    .saghome-floating-note-link {
        min-height: 38px;
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 5px;
        padding: 5px 6px;
    }

    .saghome-floating-note-icon {
        width: 28px;
        font-size: 0.9rem;
    }

    .saghome-floating-note-label {
        font-size: 0.76rem;
    }

    .saghome-floating-note-count {
        top: 3px;
        left: 22px;
        min-width: 17px;
        min-height: 17px;
        font-size: 0.64rem;
    }

    .saghome-product-search-panel,
    .saghome-chat-choice-panel {
        top: auto;
        right: 12px;
        bottom: 320px;
        left: 12px;
        width: auto;
        max-height: calc(100vh - 332px);
        padding: 14px;
        overflow-y: auto;
    }

    .saghome-product-search-results {
        max-height: min(300px, max(100px, calc(100vh - 500px)));
    }

    .sagwc-widget {
        right: 12px;
        bottom: 12px;
    }

    .kodee-fab {
        top: auto !important;
        bottom: 16px !important;
    }
}
