/* t816 — gold pills on named page content, static chips, swipe rows, CTAs.
   Does not restyle the site header, footer, ticker, or homepage hero. */

/* Static (not sticky) category bars on Shop and Shop My Picks */
.mm-cs-chips-wrap,
.mm-smp-chips-wrap {
  position: relative !important;
  top: auto !important;
  z-index: 1;
}

/* Gold filled pills — match existing .mm-btn */
.mm-t816-gold-scope a.btn,
.mm-t816-gold-scope a.btn-outline,
.mm-t816-gold-scope button.btn,
.mm-t816-gold-scope button.btn-outline,
.mm-t816-gold-scope a.mm-btn-ghost,
.mm-t816-gold-scope button.mm-btn-ghost,
body.mm-t816-gold .mm-main a.btn,
body.mm-t816-gold .mm-main a.btn-outline,
body.mm-t816-gold .mm-main button.btn,
body.mm-t816-gold .mm-main .mm-es-badge,
body.mm-t816-gold .mm-main .mm-cs-ribbon,
body.mm-t816-gold .mm-main a.mm-btn-ghost:not(.mm-hero a):not(.mm-site-header a):not(.mm-site-footer a) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mm-gold, #B8913A) !important;
  color: var(--mm-ivory, #FAF8F3) !important;
  border: 1px solid var(--mm-gold, #B8913A) !important;
  border-radius: 999px !important;
  padding: 0.9rem 1.65rem;
  font-family: var(--mm-sans, "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none !important;
  box-shadow: 0 1px 0 rgba(140,106,47,0.2);
  text-shadow: none;
}
body.mm-t816-gold .mm-main .mm-cs-ribbon,
body.mm-t816-gold .mm-main .mm-es-badge {
  padding: 0.28rem 0.75rem !important;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

/* Homepage journey cards stay in existing mm-card style */
#journey-start .mm-home-feature-card { padding-top: 0; }
#stay-in-the-know { padding-top: 1rem; }

/* Swipe rows (same idea as live Shop shelves) */
.mm-t816-shelf { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto 2.4rem; }
.mm-t816-shelf-head { margin: 0 0 1rem; }
.mm-t816-track { position: relative; }
.mm-t816-row {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.2rem 0.15rem 1.1rem;
  scrollbar-width: thin;
}
.mm-t816-card {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  margin: 0;
  padding: 0.7rem;
  border: 1px solid rgba(181,143,53,0.42);
  background: linear-gradient(180deg, rgba(255,252,246,.92), rgba(250,248,241,.78));
  min-width: 0;
}
.mm-t816-card a { color: inherit; text-decoration: none; display: block; }
.mm-t816-cover {
  margin: 0 0 0.75rem;
  aspect-ratio: 16 / 10;
  background: #F6EDD8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mm-t816-cover.is-square { aspect-ratio: 1 / 1; }
.mm-t816-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-t816-card h3 {
  font-family: var(--mm-serif, "Cormorant Garamond", Palatino, Georgia, serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}
.mm-t816-card p { margin: 0; color: var(--mm-ink-soft, #5c534c); font-size: 0.95rem; }
.mm-t816-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--mm-gold, #B8913A);
  background: rgba(250,248,241,.95);
  color: var(--mm-ink, #181414);
  cursor: pointer;
}
.mm-t816-arrow.prev { left: -0.6rem; }
.mm-t816-arrow.next { right: -0.6rem; }
.mm-t816-arrow:hover { background: var(--mm-ink, #181414); color: var(--mm-ivory, #FAF8F3); }
@media (max-width: 980px) { .mm-t816-arrow { display: none; } }

.mm-t816-cta {
  text-align: center;
  padding: 2.5rem 0 2.2rem;
}
.mm-t816-cta h2 {
  font-family: var(--mm-serif, "Cormorant Garamond", Palatino, Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin: 0 0 0.5rem;
}
.mm-t816-cta .mm-lede { margin: 0 auto 0.4rem; max-width: 32rem; }
.mm-t816-cta .mm-actions { justify-content: center; }
.mm-t816-note {
  margin: 1rem 0 0;
  color: var(--mm-ink-soft, #5c534c);
}
.mm-t816-msg {
  display: none;
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(181,143,53,0.4);
  background: #fffdf8;
}
.mm-t816-msg.is-on { display: block; }

/* Resources hub type cards (from approved v2 mockup) */
.mm-res-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2.2rem;
}
.mm-res-type-card {
  margin: 0;
  padding: 1.35rem 1.4rem 1.4rem;
  background: linear-gradient(180deg, rgba(255,252,246,.92), rgba(250,248,241,.78));
  border: 1px solid rgba(181,143,53,.42);
  box-shadow: 0 18px 40px rgba(24,20,20,.06), inset 0 1px 0 rgba(255,255,255,.75);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mm-res-type-card h3 {
  font-family: var(--mm-serif, "Cormorant Garamond", Palatino, Georgia, serif);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 0 0 0.55rem;
}
.mm-res-type-card .desc { color: var(--mm-ink-soft, #5c534c); margin: 0 0 1.15rem; flex: 1; }
.mm-res-type-card .count {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mm-gold-dark, #8C6A2F);
  margin: 0 0 1rem;
}
.mm-res-type-hero { width: min(1180px, calc(100% - 2.5rem)); margin: 2.2rem auto 1.6rem; }
.mm-res-type-hero h1 {
  font-family: var(--mm-serif, "Cormorant Garamond", Palatino, Georgia, serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin: 0 0 0.6rem;
}
.mm-res-type-hero .lede { max-width: 40rem; color: var(--mm-ink-soft, #5c534c); }

/* Resource detail */
.mm-rd {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 2.2rem auto 3rem;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: start;
}
.mm-rd-cover {
  margin: 0;
  aspect-ratio: 1 / 1;
  background: #F3E6C8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mm-rd-cover img { width: 90%; height: 90%; object-fit: contain; display: block; }
.mm-rd-cover img.is-placeholder { width: 100%; height: 100%; object-fit: cover; }
.mm-rd-body h1 {
  font-family: var(--mm-serif, "Cormorant Garamond", Palatino, Georgia, serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin: 0 0 0.7rem;
}
.mm-rd-teaser { color: var(--mm-ink-soft, #5c534c); font-size: 1.08rem; max-width: 36rem; margin: 0 0 1.3rem; }
.mm-rd-price {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mm-gold-dark, #8C6A2F);
  margin: 0 0 1rem;
}
.mm-rd-included {
  margin: 1.4rem 0 0;
  padding: 1.25rem 1.3rem 1.15rem;
  border: 1px solid rgba(181,143,53,.4);
  background: rgba(255,252,246,.7);
}
.mm-rd-included h2 {
  font-family: var(--mm-serif, "Cormorant Garamond", Palatino, Georgia, serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
}
.mm-rd-stat {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.55rem 1rem;
}
.mm-rd-stat li {
  display: flex; justify-content: space-between; gap: 0.8rem;
  border-bottom: 1px solid rgba(24,20,20,.1); padding: 0.45rem 0;
}
.mm-rd-stat .k { color: var(--mm-ink-soft, #5c534c); }
.mm-rd-stat .v { font-weight: 600; }
.mm-rd-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.35rem 0 0; }

@media (max-width: 800px) {
  .mm-res-type-grid, .mm-rd, .mm-rd-stat { grid-template-columns: 1fr; }
  .mm-res-type-hero, .mm-rd, .mm-t816-shelf { width: min(1180px, calc(100% - 1.5rem)); }
}

.mm-cs-chips-wrap{position:sticky;top:calc(var(--mm-banner-h, 36px) + var(--mm-ticker-h, 38px) + 96px);z-index:30;background:rgba(250,248,241,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--mm-gold-light, #E8D5A3);margin:0 0 2rem}
.mm-cs-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:.55rem;list-style:none;margin:0 auto;padding:.85rem 1.25rem;width:min(1180px, calc(100% - .5rem));box-sizing:border-box}
.mm-cs-chip{display:inline-flex;align-items:center;background:transparent;color:var(--mm-gold-dark, #8C6A2F);border:1px solid var(--mm-gold, #B8913A);border-radius:999px;padding:.42rem .95rem;font-family:var(--mm-sans, "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:.7rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;text-decoration:none}
.mm-cs-chip:hover,.mm-cs-chip.is-current,.mm-cs-chip[aria-current="true"]{background:var(--mm-blush, #F0E8E0);color:var(--mm-gold-dark, #8C6A2F)}
.mm-cs-shelf{width:min(1180px, calc(100% - 2.5rem));margin:0 auto 2.8rem;scroll-margin-top:calc(var(--mm-banner-h, 36px) + var(--mm-ticker-h, 38px) + 96px + 4.5rem);max-width:100%;box-sizing:border-box}
.mm-cs-shelf-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin:0 0 1.1rem;padding-bottom:.75rem;border-bottom:1px solid rgba(184,145,58,.35)}
.mm-cs-shelf-head h2{font-family:var(--mm-serif, "Cormorant Garamond", Palatino, serif);font-weight:600;font-size:clamp(1.8rem, 3.2vw, 2.6rem);line-height:1.15;letter-spacing:-.01em;color:var(--mm-ink, #181414);margin:0}
.mm-cs-count{font-family:var(--mm-sans, "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--mm-gold-dark, #8C6A2F);white-space:nowrap}
.mm-cs-track{position:relative}
.mm-cs-row{display:flex;gap:1.15rem;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;padding:.2rem .15rem 1.1rem;scrollbar-width:thin}
.mm-cs-card{flex:0 0 min(240px, 72vw);scroll-snap-align:start;display:flex;flex-direction:column;margin:0;padding:.7rem;border:1px solid rgba(181,143,53,.42);background:linear-gradient(180deg, rgba(255,252,246,.92), rgba(250,248,241,.78));box-shadow:0 18px 40px rgba(24,20,20,.08), inset 0 1px 0 rgba(255,255,255,.75);min-width:0;text-align:center;list-style:none}
.mm-cs-cover{position:relative;margin:0;aspect-ratio:1/1;background:#F6EDD8;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(181,143,53,.28)}
.mm-cs-cover img{display:block;width:90%;height:90%;object-fit:contain;object-position:center;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.mm-cs-title{margin:.85rem .15rem .45rem;font-family:var(--mm-serif, "Cormorant Garamond", Palatino, serif);font-size:1.22rem;line-height:1.2;font-weight:500;color:var(--mm-ink, #181414);text-align:left}
.mm-cs-ribbon{display:inline-flex;align-self:flex-start;margin:.1rem 0 0;padding:.28rem .55rem;border:1px solid var(--mm-gold, #B8913A);background:transparent;color:var(--mm-ink, #181414);font-family:var(--mm-sans, "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:.62rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.mm-cs-arrow{position:absolute;top:38%;transform:translateY(-50%);width:2.4rem;height:2.4rem;border-radius:50%;border:1px solid var(--mm-gold, #B8913A);background:rgba(250,248,241,.95);color:var(--mm-ink, #181414);font-size:1.2rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(24,20,20,.1);z-index:2;cursor:pointer}
.mm-cs-arrow.prev{left:-.6rem}
.mm-cs-arrow.next{right:-.6rem}
.mm-cs-arrow:hover{background:var(--mm-ink, #181414);color:var(--mm-ivory, #FAF8F3)}
.mm-cs-arrow[hidden]{display:none}
.mm-cs-notify{margin-top:2rem}
@media(max-width:980px){.mm-cs-arrow{display:none}}
@media(max-width:720px){
  .mm-cs-chips{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;padding:.8rem 1.15rem;width:100%;max-width:100%;mask-image:linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%)}
  .mm-cs-chips::-webkit-scrollbar{display:none}
  .mm-cs-shelf{width:min(1180px, calc(100% - 1.5rem));margin-bottom:2.5rem}
  .mm-cs-shelf-head{flex-direction:column;align-items:flex-start;gap:.35rem}
}
@media(prefers-reduced-motion:reduce){.mm-cs-row{scroll-behavior:auto}}
