.shop-menu { position: relative; }
.shop-menu summary,
.header #main-nav .nutrition-store-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
  font: inherit;
  line-height: 1.3;
}
.shop-menu summary { cursor: pointer; }
#main-nav .shop-menu > summary::after {
  content: '';
  width: .45rem;
  height: .45rem;
  margin: 0 .15rem .2rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
#main-nav .shop-menu[open] > summary::after { transform: rotate(225deg); margin-block: .2rem 0; }
.nutrition-store-link > span { flex: none; }
.shop-links { position: absolute; z-index: 5; top: 100%; left: 0; min-width: 15rem; max-height: 70vh; overflow-y: auto; padding: .6rem 1rem; background: var(--cream, #fffdf3); border: 1px solid var(--line); }
.header #main-nav .shop-links a { display: flex; align-items: center; min-height: 44px; padding: .35rem 0; }
.shop-links strong { display: block; margin-top: .5rem; }
.shop-hero-link { text-align: center; padding: .6rem; text-underline-offset: .18em; }
#treatments, #main article[id], #wegovy-card, #zepbound-card { scroll-margin-top: 6rem; }
@media (max-width: 960px) {
  .header #main-nav.open { max-height: calc(100dvh - 9rem); overflow-y: auto; row-gap: 0; }
  .header #main-nav .shop-menu > summary,
  .header #main-nav .nutrition-store-link {
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: .75rem 0;
    font-size: 1rem;
    white-space: normal;
  }
  .header #main-nav .shop-menu,
  .header #main-nav .nutrition-store-link { border-bottom: 1px solid var(--line); }
  .shop-links { position: static; max-height: none; padding: 0 1rem .4rem; border: 0; border-left: 2px solid var(--line); }
}
.nutrition-store-action { text-align: center; margin: 1.5rem 0 0; }
@media (min-width: 961px) {
  .header #main-nav {
    display: grid;
    grid-template-columns: repeat(6, auto);
    align-items: start;
    gap: .45rem 1rem;
  }
  #main-nav .shop-menu, #main-nav .nutrition-store-link { grid-column: span 3; }
}

.hero .treatment-jumps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 1rem 0 0;
  background: #43152d;
}
.hero .treatment-jumps a {
  min-width: 0;
  min-height: 46px;
  padding: .65rem .25rem;
  border: 0;
  align-items: center;
  text-align: center;
}
.hero .treatment-jumps a > span { font-size: 1rem; }
.hero .treatment-jumps a:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
#glp-options { scroll-margin-top: 6rem; }
@media (max-width: 540px), (min-width: 761px) and (max-width: 1100px) {
  .hero .treatment-jumps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.brand-mini {display:block;background:#f4d1de;border:0;border-radius:1rem;padding:clamp(1rem,3vw,2rem);color:#382032}
.brand-mini>span {display:block;font-size:.875rem;font-weight:bold}
.brand-mini>h3 {margin:.4rem 0 1rem;font-size:clamp(1.6rem,3vw,2.2rem)}
.brand-mini .partner-brand-options {display:grid;width:100%;max-width:none}
.brand-mini .partner-brand-options>div {background:#fffaf0;border-radius:.75rem}
.brand-ingredient {margin:.4rem 0;font-size:1rem;line-height:1.35}
.partner-brand-price b,.partner-brand-price span {display:block}
.partner-brand-price b {font-size:1.55rem}
.brand-mini>small {display:block;margin-top:.75rem}
/* Match the pharmacy section's dark-on-light type across screen sizes. */
#process.process-refresh {background:#e3efdf;color:#123e32}
#process .eyebrow,#process h2,#process .process-bottom,#process .process-bottom a {color:#123e32}
#process .process-steps li {background:#fffaf0;color:#123e32;border-radius:.8rem;padding:clamp(1rem,2vw,1.65rem)}
#process .process-steps li :is(h3,p,a) {color:#123e32}
#process .process-steps li p {font-size:1.0625rem;line-height:1.55}
#process .process-steps li p + p {margin-top:.75rem}

@media(min-width:761px){
  .hero.wrap {grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);gap:clamp(1.5rem,4vw,4rem)}
  .hero-visit {width:100%;max-width:none}
}
@media(min-width:761px) and (max-width:900px){
  .hero.wrap {grid-template-columns:minmax(0,1fr)}
  .hero-visit {max-width:43rem;justify-self:center}
}
@media(max-width:760px){
  .hero-visit {width:calc(100vw - 1.5rem);max-width:none;justify-self:center}
  .hero-visit .visit-player-slot,.hero-visit .visit-player {width:100%;max-width:none}
  .hero-visit .visit-scope {line-height:1.55}
}
@media(max-width:480px){
  .brand-mini .partner-brand-options {grid-template-columns:1fr!important}
}

@media(max-width:760px){
  #process .process-steps li {grid-template-columns:4rem minmax(0,1fr);gap:0 1rem}
  #process .process-steps img {width:4rem;height:3.5rem;grid-column:1;grid-row:1;margin:0}
  #process .process-steps h3 {grid-column:2;align-self:center;margin:0}
  #process .process-steps p {grid-column:1/-1;margin-top:.75rem}
}
main a[href^="mailto:"] {overflow-wrap:anywhere}

.rx-order-status { font-weight: 600; margin: .75rem 0; }

.header .brand img, .footer .brand img {width:clamp(8rem, 14vw, 9.5rem);height:auto}
