
/* RareCharts master-page shell. Catalog styles remain in c_ArchiTemplate.css. */
body.rc-shell-page { margin: 0; }
.hiddencolumn { display: none; }
.auto-style1 { color: #00FF99; }
.auto-style2 { color: #00FF99; font-weight: bold; }

#header.rc-header,
#footer.rc-footer {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    float: none;
    border: 0;
    background: #fbfaf7;
    color: #193244;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}
#header.rc-header *,
#header.rc-header *::before,
#header.rc-header *::after,
#footer.rc-footer *,
#footer.rc-footer *::before,
#footer.rc-footer *::after { box-sizing: border-box; }
#header.rc-header .rc-inner,
#footer.rc-footer .rc-inner {
    width: calc(100% - 48px);
    max-width: 1120px;
    margin: 0 auto;
}
#header.rc-header .rc-header-main {
    display: grid;
    grid-template-columns: 190px minmax(240px, 1fr) auto;
    gap: 36px;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 18px;
}
#header.rc-header #logo.rc-brand {
    display: block;
    float: none;
    width: 190px;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    text-decoration: none;
}
#header.rc-header .rc-brand img {
    display: block;
    width: 100%;
    max-width: 208px;
    height: auto;
    border: 0;
    border-radius: 4px;
}
#header.rc-header #rightHeader.rc-search-area {
    float: none;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
}
#header.rc-header .rc-tagline {
    margin: 0 0 10px;
    padding: 0;
    color: #52616b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}
#header.rc-header .rc-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 590px;
    margin: 0;
    padding: 0;
    border: 1px solid #a7b2b8;
    border-radius: 6px;
    background: #ffffff;
}
#header.rc-header .rc-search:focus-within {
    border-color: #193244;
    box-shadow: 0 0 0 3px rgba(25, 50, 68, 0.16);
}
#header.rc-header .rc-search-input {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 6px 0 0 6px;
    background: #ffffff;
    color: #193244;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: none;
}
#header.rc-header .rc-search-input::placeholder { color: #65727b; opacity: 1; }
#header.rc-header .rc-search-input:focus { outline: 0; }
#header.rc-header .rc-search-button {
    flex: 0 0 auto;
    min-width: 88px;
    min-height: 46px;
    margin: 0;
    padding: 10px 18px;
    border: 0;
    border-radius: 0 5px 5px 0;
    background: #193244;
    color: #ffffff;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
#header.rc-header .rc-search-button:hover { background: #294b61; }
#header.rc-header .rc-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
#header.rc-header .rc-cart {
    position: static;
    float: none;
    margin: 0;
    padding: 0;
}
#header.rc-header .rc-cart-link,
#header.rc-header .rc-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #d9ddd9;
    border-radius: 6px;
    background: transparent;
    color: #193244;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
#header.rc-header .rc-cart-link:hover,
#header.rc-header .rc-menu-toggle:hover { background: #eeeae0; }
#header.rc-header .rc-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    padding: 0 6px;
    border-radius: 50%;
    background: #193244;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}
#header.rc-header .rc-icon { display: block; width: 20px; height: 20px; flex: 0 0 20px; }
#header.rc-header .rc-menu-toggle { display: none; }
#header.rc-header #menu.rc-nav {
    float: none;
    clear: both;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e2dfd7;
    border-bottom: 2px solid #a38552;
    background: #f3f0e8;
    text-align: left;
}
#header.rc-header #menu .rc-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
}
#header.rc-header #menu .rc-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.5;
}
#header.rc-header #menu .rc-navigation li { display: block; margin: 0; padding: 0; }
#header.rc-header #menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    min-height: 44px;
    margin: 0;
    padding: 10px 13px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #193244;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}
#header.rc-header #menu a:hover { background: #e6e1d4; color: #193244; }
#header.rc-header #menu a[aria-current="page"] { background: #193244; color: #ffffff; }
#header.rc-header #menu .rc-availability {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
}
#header.rc-header #menu .rc-availability-label {
    color: #53636d;
    font-size: 14px;
    white-space: nowrap;
}
#header.rc-header #menu .rc-availability-options {
    display: inline-flex;
    padding: 3px;
    border: 1px solid #b9aa8d;
    border-radius: 7px;
    background: #fbfaf7;
}
#header.rc-header #menu .rc-status-option {
    min-height: 44px;
    padding: 9px 13px;
    border-radius: 4px;
}
#header.rc-header #menu .rc-status-option.is-selected {
    background: #193244;
    color: #ffffff;
}
#header.rc-header #menu .rc-status-option.is-selected:hover {
    background: #294b61;
    color: #ffffff;
}
#header.rc-header a:focus-visible,
#header.rc-header button:focus-visible,
#header.rc-header input[type="submit"]:focus-visible,
#footer.rc-footer a:focus-visible {
    outline: 3px solid #397da5;
    outline-offset: 3px;
}
.rc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.rc-skip-link,
.rc-skip-link:visited {
    position: absolute;
    top: 8px;
    left: 16px;
    z-index: 10000;
    padding: 12px 18px;
    border-radius: 4px;
    background: #193244;
    color: #ffffff;
    font: 600 16px/1.5 Arial, sans-serif;
    transform: translateY(-180%);
}
.rc-skip-link:focus { transform: translateY(0); outline: 3px solid #a38552; }
#rc-main { display: flow-root; clear: both; }
#rc-main:focus { outline: none; }

#footer.rc-footer { clear: both; border-top: 1px solid #d9d5ca; }
#footer.rc-footer .rc-footer-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px 36px;
    padding-top: 28px;
    padding-bottom: 24px;
}
#footer.rc-footer .rc-footer-name { margin: 0 0 5px; font-size: 18px; font-weight: 600; line-height: 1.5; }
#footer.rc-footer .rc-footer-description { margin: 0; color: #52616b; font-size: 14px; line-height: 1.6; }
#footer.rc-footer .rc-footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
#footer.rc-footer a,
#footer.rc-footer a:visited { color: #193244; font-size: 15px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
#footer.rc-footer a:hover { color: #2c6385; }
#footer.rc-footer .rc-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
#footer.rc-footer .rc-footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
#footer.rc-footer .rc-footer-bottom { padding-top: 16px; padding-bottom: 20px; border-top: 1px solid #e2dfd7; }
#footer.rc-footer #legal { float: none; margin: 0; padding: 0; color: #52616b; font-size: 13px; line-height: 1.7; }

@media (max-width: 1040px) {
    #header.rc-header .rc-header-main { grid-template-columns: 174px minmax(200px, 1fr) auto; gap: 24px; }
    #header.rc-header #logo.rc-brand { width: 174px; }
    #header.rc-header #menu .rc-nav-inner { gap: 8px; }
    #header.rc-header #menu a { padding-right: 10px; padding-left: 10px; }
}
@media (max-width: 800px) {
    #header.rc-header .rc-inner,
    #footer.rc-footer .rc-inner { width: calc(100% - 32px); }
    #header.rc-header .rc-header-main {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px 12px;
        padding-top: 14px;
        padding-bottom: 16px;
    }
    #header.rc-header #logo.rc-brand { width: 156px; max-width: 100%; }
    #header.rc-header #rightHeader.rc-search-area { grid-column: 1 / -1; grid-row: 2; }
    #header.rc-header .rc-search { max-width: none; }
    #header.rc-header .rc-tagline { display: none; }
    #header.rc-header .rc-header-actions { grid-column: 2; grid-row: 1; justify-content: flex-end; }
    #header.rc-header.rc-nav-ready .rc-menu-toggle { display: inline-flex; }
    #header.rc-header #menu .rc-nav-inner { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
    #header.rc-header #menu .rc-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
    #header.rc-header #menu .rc-navigation a { display: flex; justify-content: flex-start; padding: 12px; white-space: normal; }
    #header.rc-header #menu .rc-availability { justify-content: flex-start; }
    #header.rc-header.rc-nav-ready #menu { display: none; }
    #header.rc-header.rc-nav-ready.rc-nav-open #menu { display: block; }
    #footer.rc-footer .rc-footer-main { flex-direction: column; gap: 18px; padding-top: 24px; }
}
@media (max-width: 410px) {
    #header.rc-header .rc-inner,
    #footer.rc-footer .rc-inner { width: calc(100% - 24px); }
    #header.rc-header #logo.rc-brand { width: 128px; }
    #header.rc-header .rc-header-main { column-gap: 8px; }
    #header.rc-header .rc-header-actions { gap: 6px; }
    #header.rc-header .rc-cart-link,
    #header.rc-header .rc-menu-toggle { gap: 5px; padding: 9px 8px; font-size: 14px; }
    #header.rc-header .rc-cart-link .rc-icon,
    #header.rc-header .rc-menu-toggle .rc-icon { display: none; }
    #header.rc-header .rc-search-button { min-width: 80px; padding-right: 12px; padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .rc-skip-link { scroll-behavior: auto; }
}

    

/* Results summary and paging controls; existing catalog/grid styles are retained. */
#page .rc-results-navigation {
    box-sizing: border-box;
    margin: 14px 0;
    padding: 12px 14px;
    border: 1px solid #d9ddd9;
    border-radius: 6px;
    background: #fbfaf7;
    color: #193244;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
}
#page .rc-results-navigation *,
#page .rc-results-navigation *::before,
#page .rc-results-navigation *::after { box-sizing: border-box; }
#page .rc-results-navigation .rc-results-summary {
    margin: 0 0 8px;
    padding: 0;
    color: #52616b;
    font: inherit;
}
#page .rc-results-navigation .rc-results-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
#page .rc-results-navigation .rc-page-link,
#page .rc-results-navigation .rc-page-current,
#page .rc-results-navigation .rc-page-disabled {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #b9aa8d;
    border-radius: 4px;
    background: #fbfaf7;
    color: #193244;
    font: inherit;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}
#page .rc-results-navigation .rc-page-link:visited { color: #193244; }
#page .rc-results-navigation .rc-page-link:hover {
    background: #e6e1d4;
    color: #193244;
}
#page .rc-results-navigation .rc-page-link:focus-visible {
    outline: 3px solid #397da5;
    outline-offset: 3px;
}
#page .rc-results-navigation .rc-page-current {
    border-color: #193244;
    background: #193244;
    color: #ffffff;
}
#page .rc-results-navigation .rc-page-disabled {
    border-color: #d9ddd9;
    background: #f3f0e8;
    color: #65727b;
}
#page .rc-results-navigation .rc-page-ellipsis {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 3px;
    color: #52616b;
}
@media (max-width: 410px) {
    #page .rc-results-navigation { padding: 10px; }
    #page .rc-results-navigation .rc-results-pager { gap: 4px; }
}
