/* A. Reuse reviewed namecard color and <=575px compact rules on the same purpose markup. */
/* Local review only. Existing purpose sections; no source text, links, image pixels or form changes. */
section.mc-purpose-landing {color:#182336;}
section.mc-purpose-landing h2 {color:#182336!important;}
section.mc-purpose-landing .mc-purpose-note {color:#566175!important;}
section.mc-purpose-landing .mc-purpose-primary {background:#0b625d!important;color:#fff!important;border-color:#0b625d;}
section.mc-purpose-landing .mc-purpose-secondary {background:#fff!important;color:#0b625d!important;border-color:#0b625d;}
section.mc-purpose-landing .mc-purpose-guide {color:#0b625d!important;}
section.mc-purpose-landing a:focus-visible {outline:3px solid #0b625d!important;outline-offset:3px!important;}
html[data-mc-shop-theme="dark"] section.mc-purpose-landing {color:#e9edf3;border-bottom-color:#455263;}
html[data-mc-shop-theme="dark"] section.mc-purpose-landing h2 {color:#e9edf3!important;}
html[data-mc-shop-theme="dark"] section.mc-purpose-landing .mc-purpose-note {color:#c4ccd7!important;}
html[data-mc-shop-theme="dark"] section.mc-purpose-landing .mc-purpose-secondary {background:#303b49!important;color:#e9edf3!important;border-color:#8bb8b3;}
html[data-mc-shop-theme="dark"] section.mc-purpose-landing .mc-purpose-guide {color:#9cd4ff!important;}
html[data-mc-shop-theme="dark"] section.mc-purpose-landing .mc-purpose-photo {background:transparent;}
html[data-mc-shop-theme="dark"] section.mc-purpose-landing a:focus-visible {outline-color:#9cd4ff!important;}
@media (max-width:575px) {
  section.mc-purpose-landing {grid-template-columns:clamp(100px,28vw,110px) minmax(0,1fr);grid-template-rows:auto auto auto auto auto;gap:8px 12px;align-items:start;padding:8px 0 16px;margin-bottom:16px;}
  section.mc-purpose-landing > a {grid-column:1;grid-row:1 / 3;align-self:start;min-width:0;}
  section.mc-purpose-landing .mc-purpose-photo {width:100%;height:110px;margin:0;object-fit:contain;object-position:center top;background:transparent;}
  body:has(#mc-purpose-title-postcards) .mc-purpose-landing .mc-purpose-photo {width:100%;height:110px;}
  section.mc-purpose-landing > .mc-purpose-copy {display:contents;}
  section.mc-purpose-landing .mc-purpose-copy > h2 {grid-column:2;grid-row:1;margin:0;font-size:18px;font-weight:700;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere;}
  section.mc-purpose-landing .mc-purpose-copy > p:not(.mc-purpose-note) {grid-column:2;grid-row:2;margin:0;font-size:14px;font-weight:400;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere;}
  section.mc-purpose-landing .mc-purpose-actions {grid-column:1 / -1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin:4px 0 0;}
  section.mc-purpose-landing .mc-purpose-actions a {box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;font-size:14px;font-weight:600;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere;}
  section.mc-purpose-landing .mc-purpose-note {grid-column:1 / -1;grid-row:4;margin:0;font-size:14px;font-weight:400;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere;}
  section.mc-purpose-landing .mc-purpose-guide {grid-column:1 / -1;grid-row:5;min-height:44px;margin:0;font-size:14px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere;}
}

/* B. Contrast-only additions from public DOM/color evidence. */
section.mc-purpose-landing .mc-purpose-primary:hover,
section.mc-purpose-landing .mc-purpose-primary:focus-visible {background-color:#064c48!important;color:#fff!important;}
section.mc-purpose-landing .mc-purpose-copy > p:not(.mc-purpose-note) {color:#182336!important;}
html[data-mc-shop-theme="dark"] section.mc-purpose-landing .mc-purpose-copy > p:not(.mc-purpose-note) {color:#e9edf3!important;}
.mc-fold-first-cta {background-color:#0b625d!important;color:#fff!important;}
.mc-fold-first-cta:hover,
.mc-fold-first-cta:focus-visible {background-color:#064c48!important;color:#fff!important;}
html[data-mc-shop-theme="dark"] .mc-fold-spec {color:#c2cbda!important;}
.mc-cat-intro {color:#182336!important;}
.mc-cat-intro a {color:#0b625d!important;}
html[data-mc-shop-theme="dark"] .mc-cat-intro {color:#c2cbda!important;}
html[data-mc-shop-theme="dark"] .mc-cat-intro a {color:#a8d3ff!important;}
html[data-mc-shop-theme="dark"] .mc-cat-title,
html[data-mc-shop-theme="dark"] .mc-cat-seo h2 {color:#e9edf3!important;}

/* Keep action text readable against its explicitly paired background in dark mode. */
html[data-mc-shop-theme="dark"] body.mc-shop-ui section.mc-purpose-landing .mc-purpose-actions a.mc-purpose-primary {background-color:#0b625d!important;color:#fff!important;border-color:#0b625d!important;}
html[data-mc-shop-theme="dark"] body.mc-shop-ui section.mc-purpose-landing .mc-purpose-actions a.mc-purpose-primary:hover,
html[data-mc-shop-theme="dark"] body.mc-shop-ui section.mc-purpose-landing .mc-purpose-actions a.mc-purpose-primary:focus-visible {background-color:#064c48!important;color:#fff!important;}
html[data-mc-shop-theme="dark"] body.mc-shop-ui section.mc-purpose-landing .mc-purpose-actions a.mc-purpose-secondary {background-color:#303b49!important;color:#e9edf3!important;border-color:#8bb8b3!important;}
html[data-mc-shop-theme="dark"] body.mc-shop-ui a.mc-fold-first-cta {background-color:#0b625d!important;color:#fff!important;}
html[data-mc-shop-theme="dark"] body.mc-shop-ui a.mc-fold-first-cta:hover,
html[data-mc-shop-theme="dark"] body.mc-shop-ui a.mc-fold-first-cta:focus-visible {background-color:#064c48!important;color:#fff!important;}

/* c0: retain the existing beige/pink cards and image colors in both themes. */
html body.mc-shop-ui #mc-poster-start a.mc-poster-path > div > h3 {color:#182336!important;}
html body.mc-shop-ui #mc-poster-start a.mc-poster-path > div > p {color:#36465b!important;}
html[data-mc-shop-theme="dark"] body.mc-shop-ui #mc-poster-start > p {color:#c2cbda!important;}

/* Category menu links: these are separate from product forms and image artwork. */
html[data-mc-shop-theme="dark"] body.mc-shop-ui .navbar-nav .dropdown-menu a.dropdown-item {color:#e9edf3!important;background-color:#242c35!important;}
html[data-mc-shop-theme="dark"] body.mc-shop-ui .navbar-nav .dropdown-menu a.dropdown-item:hover,
html[data-mc-shop-theme="dark"] body.mc-shop-ui .navbar-nav .dropdown-menu a.dropdown-item:focus-visible,
html[data-mc-shop-theme="dark"] body.mc-shop-ui .navbar-nav .dropdown-menu a.dropdown-item:active,
html[data-mc-shop-theme="dark"] body.mc-shop-ui .navbar-nav .dropdown-menu a.dropdown-item.active {color:#fff!important;background-color:#0b625d!important;}

/* Observed light-theme navigation/sort text, not invitation artwork or SEO wording. */
html:not([data-mc-shop-theme="dark"]) .shop-list-sort-wrap #tab-category .category-list a,
html:not([data-mc-shop-theme="dark"]) .shop-list-nav .list-nav a strong,
html:not([data-mc-shop-theme="dark"]) .mc-subcategory-panel .mc-subcategory-heading > div > p,
html:not([data-mc-shop-theme="dark"]) .mc-subcategory-panel > ul > li > a > span {color:#566175!important;}
/* C. Actual catalogue dialog: dark colors only, exact five-category stylesheet gate retained. */
html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-menu-dialog .mc-menu-dialog-head {background-color:#242c35!important;color:#e9edf3!important;border-color:#455263!important;}
html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-menu-dialog #mc-catalogue-title {color:#e9edf3!important;}
html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-menu-dialog .mc-dialog-close,
html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-menu-dialog .mc-menu-filter {background-color:#303b49!important;color:#e9edf3!important;border-color:#8b9aab!important;}
html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-menu-dialog .mc-menu-filter::placeholder {color:#c4ccd7!important;}
html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-menu-dialog .mc-menu-links a {background-color:#303b49!important;color:#e9edf3!important;border-color:#455263!important;}
html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-menu-dialog .mc-menu-links a.mc-category-all {background-color:#0b625d!important;color:#fff!important;border-color:#8bb8b3!important;}
html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-menu-dialog .mc-menu-links a:hover,
html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-menu-dialog .mc-menu-links a:focus-visible,
html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-menu-dialog .mc-dialog-close:hover,
html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-menu-dialog .mc-dialog-close:focus-visible {background-color:#064c48!important;color:#fff!important;}
html:not([data-mc-shop-theme="dark"]) body.mc-shop-ui .mc-menu-dialog .mc-menu-filter::placeholder {color:#566175!important;}
