/* Word links need only one underline; button and navigation layouts stay intact. */
main a:is(.text-link,.textlink,.pd-link,.pd-back,.story-link,.ingredient-product-link,.closer-ingredients),
a.footer-waitlist {
  border-bottom:0;
  text-decoration-line:underline;
  text-decoration-thickness:1px;
  text-underline-offset:.28em;
}
main a:is(.text-link,.textlink,.pd-link,.pd-back,.story-link,.ingredient-product-link,.closer-ingredients):is(:hover,:focus-visible),
a.footer-waitlist:is(:hover,:focus-visible) {text-decoration-thickness:2px}

/* Desktop contact cue; the arrow is decorative and the address remains the link. */
@media (min-width:761px) {
  .site-footer .footer-contact .footer-email::before,
  .site-final-footer .foot-contact a[href^="mailto:"]::before {
    content:"";
    display:inline-block;
    inline-size:12px;
    block-size:10px;
    margin-inline-end:5px;
    vertical-align:baseline;
    background:var(--lime,#c4d454);
    clip-path:polygon(0 43%,70% 43%,43% 10%,55% 0,100% 50%,55% 100%,43% 90%,70% 57%,0 57%);
  }
}

/* Center button labels without moving the buttons or changing plain text links. */
a.button, button.button, a.btn, button.btn, a.pd-cta {
  justify-content:center;
  text-align:center;
}
button, input:is([type="button"],[type="submit"],[type="reset"]), [role="button"] {
  text-align:center;
}
button.button:has(> .link-arrow) {
  position:relative;
  padding-inline:34px;
}
button.button > .link-arrow {
  position:absolute;
  inset-inline-end:12px;
  top:50%;
  transform:translateY(-50%);
}
.shop-intro .shop-ready {gap:12px 24px}
.shop-ready-copy {min-width:0}
.shop-ready-copy p {margin:0}
.shop-ready-copy .shop-ready-title {font-size:1.2rem;line-height:1.35}
.shop-ready-title strong {font-weight:700}
.shop-ready-note {color:var(--muted);font-size:.9rem}
.shop-ready .shop-ready-cta {min-height:44px;margin:0;white-space:nowrap}

/* Only editorial text actions use the brand's bracket treatment. */
main a.editorial-bracket-link,
main a.editorial-bracket-link:is(:hover,:focus-visible) {text-decoration:none}
main a.editorial-bracket-link .editorial-bracket-group,
main a.editorial-bracket-link .editorial-bracket-group :is(i,em) {font:inherit}
main a.editorial-bracket-link .editorial-bracket-group em {
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:.28em;
}
main a.editorial-bracket-link:is(:hover,:focus-visible) .editorial-bracket-group em {text-decoration-thickness:2px}
main a.editorial-bracket-link .editorial-bracket-group i {color:inherit}
main a.editorial-bracket-link .editorial-bracket-group i:first-child {margin-inline-end:.3em}
main a.editorial-bracket-link .editorial-bracket-group i:last-child {margin-inline-start:.3em}

@media (max-width:760px) {
  .ingredients-jump-links:has(.editorial-bracket-link) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px}
}

/* Keep one email directly below the waitlist link on both footer templates. */
:is(.site-footer,.site-final-footer) :is(.footer-contact,.foot-contact) a[href^="mailto:"] {display:inline-block;color:var(--muted)}
:is(.site-footer,.site-final-footer) :is(.footer-contact,.foot-contact) a[href^="mailto:"]:is(:hover,:focus-visible) {color:var(--lime)}
@media (min-width:761px) {
  :is(.site-footer,.site-final-footer) :is(.footer-contact,.foot-contact) {gap:5px}
  :is(.site-footer,.site-final-footer) :is(.footer-contact,.foot-contact) :is(.footer-waitlist,.foot-join) {
    display:inline-flex;align-items:center;min-height:30px;
    color:var(--lime);font-size:15px;font-weight:700;line-height:1.3;
    text-decoration:underline;text-underline-offset:.28em;
  }
  :is(.site-footer,.site-final-footer) :is(.footer-contact,.foot-contact) a[href^="mailto:"] {font-size:13px;line-height:1.45}
}
@media (min-width:761px) and (max-width:980px) {
  .site-footer nav[aria-label="Footer navigation"] {display:grid;grid-template-columns:repeat(2,max-content)}
}
.design-main .design-orchid-closer h2 {margin-bottom:0}

/* Footer brackets follow the existing link color and don't alter accessible names. */
footer nav .footer-bracket-pair {white-space:nowrap}
footer nav .footer-bracket-pair i {font-style:normal;color:inherit}
footer nav .footer-bracket-pair i:first-child {margin-inline-end:.28em}
footer nav .footer-bracket-pair i:last-child {margin-inline-start:.28em}

/* Standalone text actions use one size; navigation and buttons keep theirs. */
main a.editorial-bracket-link,
main a.editorial-bracket-link .editorial-bracket-group,
main #system .system-support a.editorial-bracket-link {font-size:1rem}
@media (max-width:360px) {
  main #system .system-support {grid-template-columns:max-content minmax(0,1fr);column-gap:10px}
  main #system .system-support a.editorial-bracket-link {align-self:stretch;min-width:0}
  main #system .system-support a.editorial-bracket-link .editorial-bracket-group {min-width:0}
}
