/* Mission Shop surfaces and contrast. Scoped here so the mission pages keep their own treatments. */
body.iv-page-shop {
  --shop-ink: #20392e;
  --shop-paper: #f7f2e8;
  --shop-card: #fffdf7;
  --shop-brass: #e4c786;
  --shop-brass-ink: #735321;
  --shop-muted: #40554a;
  --shop-line: #cfc4ad;
  color-scheme: light;
  background: var(--shop-paper) !important;
  color: var(--shop-ink) !important;
}
body.iv-page-shop::before,
body.iv-page-shop::after { content: none !important; }
body.iv-page-shop main.iv-simple {
  color: var(--shop-ink);
  padding-top: clamp(18px, 3vw, 42px) !important;
}
body.iv-page-shop main.iv-simple :is(.iv-simple-intro, .iv-direct-giving, .iv-shop-support) :is(h1,h2,p,a) {
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
body.iv-page-shop main.iv-simple :is(.iv-simple-intro, .iv-direct-giving, .iv-shop-support) :is(h1,h2,p) {
  background: none !important;
  opacity: 1;
}
body.iv-page-shop main.iv-simple .iv-simple-intro {
  padding: clamp(28px, 6vw, 76px) !important;
  border: 1px solid #3e5947;
  border-radius: 10px 32px 10px 10px;
  color: #f8f4e7;
  background:
    linear-gradient(105deg, #142c24 9%, #203c2f 66%, #284535ac 100%),
    repeating-linear-gradient(135deg, #c8a76c38 0 1px, transparent 1px 20px),
    #2d4a37;
  box-shadow: 0 12px 35px #142c241a;
}
body.iv-page-shop main.iv-simple .iv-simple-intro::before {
  width: 48px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--shop-brass);
}
body.iv-page-shop main.iv-simple .iv-simple-intro h1 {
  color: #fffaf0 !important;
  font-size: clamp(35px, 6.3vw, 73px) !important;
  text-wrap: balance;
}
body.iv-page-shop main.iv-simple .iv-simple-intro > p:not(.iv-kicker) {
  color: #e5ebdd !important;
  max-width: 39ch;
}
body.iv-page-shop main.iv-simple .iv-simple-intro .iv-kicker { color: #f1d49a !important; }
body.iv-page-shop main.iv-simple .iv-simple-intro .iv-button {
  background: var(--shop-brass) !important;
  color: #1e2c23 !important;
  border-color: var(--shop-brass) !important;
}
body.iv-page-shop main.iv-simple .iv-simple-intro .iv-button-alt {
  background: #203c30 !important;
  color: #fffaf0 !important;
  border-color: #a79b76 !important;
}
body.iv-page-shop main.iv-simple .iv-simple-intro .iv-button:hover { outline: 2px solid #f4e2b8; }

body.iv-page-shop.nvest-shop-polish main.iv-simple .nvest-guide-shop {
  background: transparent !important;
  padding: clamp(36px, 5vw, 64px) 0 30px !important;
  border: 0;
}
body.iv-page-shop.nvest-shop-polish main .nvest-guide-tools {
  background: #efe9da !important;
  color: var(--shop-ink) !important;
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid var(--shop-line) !important;
  border-radius: 10px;
}
body.iv-page-shop.nvest-shop-polish main .nvest-guide-filters button { font-size: .9rem; }
body.iv-page-shop.nvest-shop-polish main .nvest-guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.8vw, 26px);
}
body.iv-page-shop.nvest-shop-polish main .nvest-guide-card {
  overflow: hidden;
  border-color: var(--shop-line) !important;
  border-radius: 10px;
  background: var(--shop-card) !important;
  box-shadow: 0 8px 24px #25342612 !important;
}
body.iv-page-shop.nvest-shop-polish main .nvest-guide-card > img {
  width: 100%;
  height: clamp(235px, 37vw, 360px);
  max-height: none;
  min-height: 0;
  padding: clamp(15px, 3vw, 26px);
  object-fit: contain;
  background: #e7e4d7 !important;
  border-radius: 0;
}
body.iv-page-shop.nvest-shop-polish main .nvest-guide-card > div {
  padding: clamp(18px, 3vw, 26px);
}
body.iv-page-shop.nvest-shop-polish main .nvest-guide-card > div > strong {
  font-variant-numeric: lining-nums tabular-nums;
}
body.iv-page-shop.nvest-shop-polish main .nvest-coming-guide {
  border-radius: 10px;
  border-color: #bdc5b4 !important;
  background: #e6ecdf !important;
}

body.iv-page-shop main.iv-simple #merch-preview { border: 0; }
body.iv-page-shop main.iv-simple #merch-preview { padding: 16px 0 22px !important; }
body.iv-page-shop main.iv-simple .iv-direct-giving {
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid #c7b78e;
  border-radius: 10px;
  background: #ebe5d4 !important;
  box-shadow: inset 4px 0 #927a47;
}
body.iv-page-shop main.iv-simple .iv-shop-support {
  margin: 0 0 30px;
  padding: clamp(22px, 4vw, 44px) !important;
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  background: var(--shop-card) !important;
}
body.iv-page-shop main.iv-simple :is(.iv-direct-giving,.iv-shop-support) h2 { color: var(--shop-ink) !important; }
body.iv-page-shop main.iv-simple :is(.iv-direct-giving,.iv-shop-support) p { color: var(--shop-muted) !important; max-width: 64ch; }
body.iv-page-shop main.iv-simple .iv-direct-giving .iv-kicker { color: var(--shop-brass-ink) !important; }
body.iv-page-shop main.iv-simple .iv-direct-giving .iv-button {
  background: #fffaf0 !important;
  color: var(--shop-ink) !important;
}
body.iv-page-shop main.iv-simple .iv-direct-giving .iv-button:hover { background: #ddd4bb !important; }
body.iv-page-shop main.iv-simple .iv-shop-support > a {
  display: inline-block;
  padding-block: 10px;
  color: #234536 !important;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: .2em;
}
body.iv-page-shop .iv-site-footer :is(p,a,small) { color: #f8f2e3 !important; }
body.iv-page-shop .iv-site-header a[aria-current="page"] { box-shadow: inset 0 -2px #8e733d; }
body.iv-page-shop .mobile-action-bar {
  background: #14271f !important;
  border-color: #5e654d !important;
}
body.iv-page-shop .mobile-action-bar a {
  min-height: 44px;
  background: #283d32 !important;
  color: #fff9ea !important;
  -webkit-text-fill-color: currentColor !important;
}
body.iv-page-shop .mobile-action-bar a[aria-current="page"] {
  background: #e4c786 !important;
  color: #1e2c23 !important;
}
@media (max-width: 760px) {
  body.iv-page-shop { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
  body.iv-page-shop .mobile-action-bar { bottom: max(10px, env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
  body.iv-page-shop.nvest-shop-polish main .nvest-guide-grid { grid-template-columns: minmax(0, 1fr); }
  body.iv-page-shop main.iv-simple .iv-simple-intro { border-top-right-radius: 21px; }
}
