:root {
  --pharmacia-well-accent: #1388f7;
  --pharmacia-nav-accent: #1388f7;
  --pharmacia-nav-text: #51527d;
  --pharmacia-well-bottom-nav-height: 78px;
  --pharmacia-well-detail-z: 95;
  --partner-accent: #1388f7;
  --violet: #51527d;
  --body: #43645f;
  --muted: #7a8494;
  --line: #dfe8e5;
  --soft: #f5f9f8;
  --blue: #1388f7;
}

/* Booking owns this experience switcher. It is shared by both Booking views. */
.experience-tabs {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  gap: 4px;
  margin-left: 12px;
}

.experience-tabs button {
  position: relative;
  min-width: 126px;
  padding: 0 16px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 14px !important;
  font-weight: 760;
  line-height: 1.2 !important;
  cursor: pointer;
}

.experience-tabs button::after {
  position: absolute;
  right: 15px;
  bottom: -1px;
  left: 15px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: transparent;
  content: "";
}

.experience-tabs button:hover { color: var(--purple); background: #fbfdff; }
.experience-tabs button[aria-pressed="true"] { color: var(--purple); background: linear-gradient(180deg,#fff,#f8fbff); }
.experience-tabs button[aria-pressed="true"]::after { background: linear-gradient(90deg,var(--blue),var(--teal)); }
.experience-tabs button:focus-visible { outline: 3px solid rgba(19,136,247,.28); outline-offset: -4px; }

.pharmacia-well-home {
  min-height: calc(100dvh - var(--pharmacia-site-header-height,74px));
  padding: 74px 0 108px;
  scroll-margin-top: var(--pharmacia-site-header-height,74px);
  background: linear-gradient(180deg,color-mix(in srgb,var(--partner-accent) 1.2%,white),white);
  font-family: Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.well-home-shell,
.well-community-grid--discovery .well-stream { width: 100%; max-width: 1180px; margin-inline: auto; }
.well-community-grid--discovery { display: grid; width: 100%; grid-template-columns: minmax(0,1fr); }
.well-stream,.well-feed { min-width: 0; max-width: 100%; }

.well-stream-heading { display: flex; padding: 0 4px 25px; align-items: end; justify-content: space-between; gap: 20px; }
.well-stream-heading--discovery { padding-inline: 0; }
.well-stream-eyebrow-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.well-stream-heading .eyebrow { margin: 0 0 9px; color: var(--blue); font-size: 9px !important; font-weight: 850; line-height: 1.25 !important; letter-spacing: .18em; }
.well-stream-follow-inline { display: none; }
.well-stream-heading h1 { margin: 0; color: var(--violet); font-size: clamp(32px,3.1vw,42px) !important; font-weight: 700 !important; line-height: 1.08 !important; letter-spacing: -.045em !important; }
.well-stream-heading p:not(.eyebrow) { max-width: 680px; margin: 7px 0 0; color: var(--body); font-size: 16px !important; line-height: 1.55 !important; }
.well-stream-heading > button { min-width: 88px; min-height: 44px; padding: 0 17px; border: 1px solid color-mix(in srgb,var(--partner-accent) 35%,var(--line)); border-radius: 999px; background: white; color: var(--partner-accent); font-size: 14px !important; font-weight: 800; cursor: pointer; }
.well-stream-heading > button:hover { background: color-mix(in srgb,var(--partner-accent) 5%,white); }
.well-stream-heading > button:focus-visible { outline: 3px solid rgba(19,136,247,.34); outline-offset: 2px; }

.well-community-search { display: flex; width: min(100%,560px); min-height: 48px; margin: 0 0 16px; padding: 0 16px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 5px 18px rgba(49,75,67,.04); }
.well-community-search .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.well-community-search:focus-within { border-color: color-mix(in srgb,var(--blue) 46%,var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb,var(--blue) 10%,transparent); }
.well-community-search svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--muted); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.well-community-search input { width: 100%; min-width: 0; min-height: 46px; padding: 0; border: 0; outline: 0; background: transparent; box-shadow: none; color: #24262b; font: 500 16px/1.3 Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.well-community-search input::placeholder { color: #8b929e; opacity: 1; }

.well-topics { display: flex; padding: 0 0 23px; flex-wrap: wrap; overflow-x: auto; gap: 9px; scrollbar-width: none; }
.well-topics::-webkit-scrollbar { display: none; }
.well-topics button { display: block; flex: 0 0 auto; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--body); font-size: 14px !important; font-weight: 750; cursor: pointer; }
.well-topics button.is-active { border-color: var(--violet); background: var(--violet); color: white; }
.well-topics button:focus-visible { outline: 3px solid rgba(19,136,247,.34); outline-offset: 2px; }
.well-topics i { display: none; }

.well-discovery-heading { display: flex; padding: 4px 0 17px; align-items: end; justify-content: space-between; gap: 20px; }
.well-discovery-heading h2 { margin: 0; color: var(--violet); font-size: 22px !important; font-weight: 700 !important; line-height: 1.15 !important; letter-spacing: -.03em !important; }
.well-discovery-heading p { margin: 3px 0 0; color: var(--body); font-size: 14px !important; line-height: 1.5 !important; }
.well-discovery-heading > span { color: var(--muted); font-size: 12px; }
.well-community-grid--discovery .well-feed { display: block; padding: 0; border: 0; }
.well-community-safety { margin: 18px 0 0; color: var(--muted); font-size: 11px !important; line-height: 1.45 !important; text-align: center; }
.booking-well-search-empty { display: grid; min-height: 280px; place-content: center; justify-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 24px; color: var(--body); background: white; text-align: center; }
.booking-well-search-empty strong { color: var(--violet); font-size: 16px; }
.booking-well-search-empty span { font-size: 14px; }
.booking-well-island-loading,.booking-well-island-error { display: grid; min-height: 280px; margin: 0 14px; padding: 24px; place-content: center; justify-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 24px; background: white; color: var(--body); font-size: 14px; text-align: center; }
.booking-well-island-loading::before { width: 32px; height: 32px; content: ""; border: 3px solid var(--line); border-top-color: var(--partner-accent); border-radius: 50%; animation: booking-well-loader-spin .8s linear infinite; }
.booking-well-island-error button { min-width: 112px; min-height: 44px; padding: 0 18px; border: 1px solid var(--partner-accent); border-radius: 999px; background: var(--partner-accent); color: white; font: inherit; font-weight: 800; cursor: pointer; }
.booking-well-island-error button:focus-visible { outline: 3px solid rgba(19,136,247,.34); outline-offset: 2px; }
@keyframes booking-well-loader-spin { to { transform: rotate(1turn); } }

html:not([data-experience="well"]) #pharmacia-well-mobile-nav-root { display: none; }
/* The discovery feed has its own closing safety note and controls. Keep the
   Booking site footer out of this experience so it cannot show through the
   focused-post viewport or compete with the fixed mobile navigation. */
html[data-experience="well"] .shared-footer { display: none; }
html.well-post-open,html.well-post-open body,html.well-preferences-open,html.well-preferences-open body { overflow: hidden; overscroll-behavior: none; }

/* Exact Partner Pharmacy Well preferences presentation, rendered by Booking. */
.well-preferences-backdrop { position: fixed; z-index: 720; inset: 0; display: grid; padding: 28px; place-items: center; overflow: auto; background: rgba(25,38,45,.48); backdrop-filter: blur(14px); font-family: Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.well-preferences { width: min(760px,100%); max-height: min(900px,calc(100dvh - 56px)); overflow: auto; border: 1px solid color-mix(in srgb,var(--partner-accent) 18%,var(--line)); border-radius: 28px; background: white; box-shadow: 0 30px 90px rgba(25,38,45,.24); }
.well-preferences--follow { width: min(540px,100%); }
.well-preferences--follow > header { text-align: center; }
.well-preferences--follow > header p:not(.eyebrow) { margin-inline: auto; }
.well-preferences > header { position: sticky; z-index: 3; top: 0; display: grid; padding: 26px 76px 22px 28px; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(18px); }
.well-preferences > header .eyebrow { margin: 0 0 6px; color: var(--partner-accent); font-size: 9px !important; font-weight: 850; line-height: 1.3 !important; letter-spacing: .15em; }
.well-preferences > header h2 { margin: 0; color: var(--violet); font-size: 29px !important; font-weight: 700 !important; line-height: 1.08 !important; letter-spacing: -.04em !important; }
.well-preferences > header p:not(.eyebrow) { max-width: 540px; margin: 7px 0 0; color: var(--body); font-size: 14px !important; line-height: 1.5 !important; }
.well-preferences > header > button { position: absolute; top: 22px; right: 24px; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--violet); font-size: 21px; cursor: pointer; }
.well-preferences button:focus-visible,.well-preferences input:focus-visible { outline: 3px solid rgba(19,136,247,.34); outline-offset: 2px; }
.well-preferences form { display: grid; padding: 24px 28px 28px; gap: 19px; }
.well-preferences fieldset { display: grid; margin: 0; padding: 17px; gap: 10px; border: 1px solid var(--line); border-radius: 18px; }
.well-preferences legend,.well-preferences-field > span,.well-suggestion > span { padding: 0 5px; color: var(--body); font-size: 14px !important; font-weight: 800; line-height: 1.2 !important; }
.well-preferences-field { display: grid; gap: 7px; }
.well-preferences-field input,.well-suggestion input { box-sizing: border-box; width: 100%; min-height: 49px; padding: 0 14px; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--violet); font-size: 16px; }
.well-preferences-field small,.well-suggestion > span small { color: var(--muted); font-size: 12px !important; font-weight: 500; line-height: 1.5 !important; }
.well-follow-anonymous { display: grid; padding: 14px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; border: 1px solid color-mix(in srgb,var(--partner-accent) 22%,var(--line)); border-radius: 16px; background: color-mix(in srgb,var(--partner-accent) 3%,white); }
.well-follow-anonymous > span { display: grid; min-width: 0; gap: 3px; }
.well-follow-anonymous strong { color: var(--violet); font-size: 14px !important; line-height: 1.3 !important; }
.well-follow-anonymous small { color: var(--muted); font-size: 12px !important; line-height: 1.45 !important; }
.well-follow-anonymous button { min-width: 132px; min-height: 44px; padding: 0 15px; border: 1px solid var(--partner-accent); border-radius: 999px; background: white; color: var(--partner-accent); font-size: 13px; font-weight: 800; cursor: pointer; }
.well-follow-anonymous button:disabled { cursor: wait; opacity: .62; }
.well-follow-divider { display: flex; margin: -2px 0; align-items: center; gap: 10px; color: var(--muted); font-size: 11px !important; text-transform: uppercase; letter-spacing: .08em; }
.well-follow-divider::before,.well-follow-divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.well-follow-divider span { flex: 0 0 auto; }
.well-choice,.well-preference-topics > label { display: grid; min-width: 0; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; cursor: pointer; }
.well-choice input,.well-preference-topics input,.well-consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--partner-accent); }
.well-choice > span,.well-preference-topics > label > span { display: grid; gap: 3px; }
.well-choice strong,.well-preference-topics strong { color: var(--violet); font-size: 14px !important; line-height: 1.25 !important; }
.well-choice small,.well-preference-topics small { color: var(--muted); font-size: 12px !important; line-height: 1.45 !important; }
.well-preference-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.well-preference-extras { background: color-mix(in srgb,var(--partner-accent) 2%,white); }
.well-suggestion { display: grid; margin: 5px 0; gap: 7px; }
.well-suggestion > span { display: flex; padding: 0; justify-content: space-between; gap: 12px; }
.well-consent { display: grid; padding: 14px; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; border-radius: 14px; background: var(--soft); color: var(--body); font-size: 14px !important; line-height: 1.5 !important; cursor: pointer; }
.well-consent > span { font-size: inherit !important; line-height: inherit !important; }
.well-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.well-preferences-error { margin: 0; padding: 12px 14px; border: 1px solid #f1c8c1; border-radius: 12px; background: #fff7f5; color: #a83828; font-size: 14px !important; line-height: 1.45 !important; }
.well-preferences footer { display: flex; padding-top: 3px; justify-content: flex-end; align-items: center; gap: 11px; }
.well-preferences footer > button { min-height: 46px; padding: 0 18px; border: 1px solid var(--partner-accent); border-radius: 999px; background: var(--partner-accent); color: white; font-size: 14px !important; font-weight: 800; cursor: pointer; }
.well-preferences footer > button:disabled { cursor: wait; opacity: .62; }
.well-preferences footer > .well-unsubscribe { border-color: var(--line); background: white; color: var(--muted); }
.well-preferences-loading,.well-preferences-success { display: grid; min-height: 300px; padding: 45px; place-content: center; justify-items: center; color: var(--body); text-align: center; }
.well-preferences-success > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: color-mix(in srgb,var(--partner-accent) 10%,white); color: var(--partner-accent); font-size: 25px; }
.well-preferences-success h3 { margin: 17px 0 6px; color: var(--violet); font-size: 25px !important; line-height: 1.2 !important; }
.well-preferences-success p { max-width: 420px; margin: 0; font-size: 14px !important; line-height: 1.6 !important; }
.well-preferences-success button { min-height: 44px; margin-top: 20px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--partner-accent); color: white; font-size: 14px; font-weight: 800; }

@media (max-width: 680px) {
  html[data-experience="well"] body { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  html[data-experience="well"] .mobile-quick-nav { display: none !important; }
  #pharmacia-well-mobile-nav-root { position: relative; z-index: 100; }
  .header-trust { display: none; }
  .site-header__inner { min-height: 106px; flex-wrap: wrap; gap: 0 8px; padding-top: 7px; padding-bottom: 0; }
  .brand--header-image { order: 1; }
  .brand--header-image img { width: 96px; }
  .brand--header-image small { display: none; }
  .help-button { order: 2; margin-left: auto; }
  .experience-tabs { width: 100%; min-width: 0; height: 44px; flex: 1 0 100%; order: 3; justify-content: stretch; gap: 0; margin-left: 0; border-top: 1px solid rgba(67,100,95,.08); }
  .experience-tabs button { min-width: 0; flex: 1 1 50%; padding: 0 8px; font-size: 14px !important; white-space: nowrap; }
  .experience-tabs button::after { right: 12px; left: 12px; }
  .pharmacia-well-home { min-height: calc(100dvh - 106px); padding: 34px 0 50px; }
  .well-home-shell,.well-community-grid--discovery { width: 100%; }
  .well-stream-heading--discovery { padding: 0 20px 20px; }
  .well-stream-heading--discovery h1 { font-size: 30px !important; line-height: 1.14 !important; }
  .well-stream-heading--discovery p:not(.eyebrow) { font-size: 16px !important; line-height: 1.5 !important; }
  .well-stream-heading--discovery > button { display: none; }
  .well-stream-eyebrow-row { margin-bottom: 9px; }
  .well-stream-heading .well-stream-eyebrow-row .eyebrow { min-width: 0; margin: 0; }
  .well-stream-follow-inline { display: inline-flex; min-width: 82px; min-height: 44px; padding: 0 15px; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb,var(--partner-accent) 35%,var(--line)); border-radius: 999px; background: white; color: var(--partner-accent); font-size: 14px !important; font-weight: 800; line-height: 1.5 !important; cursor: pointer; }
  .well-stream-follow-inline:focus-visible { outline: 3px solid rgba(19,136,247,.34); outline-offset: 2px; }
  .well-community-search { width: auto; min-height: 46px; margin: 0 20px 14px; }
  .well-topics { padding: 0 20px 20px; flex-wrap: nowrap; }
  .well-topics button { min-height: 44px; padding-inline: 15px; font-size: 14px !important; }
  .well-discovery-heading { padding: 3px 20px 14px; }
  .well-discovery-heading h2 { font-size: 21px !important; }
  .well-discovery-heading p { font-size: 14px !important; }
  .well-discovery-heading > span { font-size: 10px; }
  .well-community-safety { padding-inline: 20px; }
  .well-preferences-backdrop { width: 100%; max-width: 100vw; height: 100svh; height: 100dvh; padding: max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left)); place-items: center; overflow-x: hidden; overflow-y: auto; overscroll-behavior: none; }
  .well-preferences { min-width: 0; max-height: calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); margin-inline: auto; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
  .well-preferences--follow { width: min(100%,420px); border-radius: 24px; }
  .well-preferences--manage { width: 100%; height: 100%; max-height: 100%; border: 0; border-radius: 0; box-shadow: none; }
  .well-preferences > header { padding: max(22px,env(safe-area-inset-top)) 68px 18px 18px; }
  .well-preferences > header h2 { font-size: 25px !important; }
  .well-preferences > header > button { top: max(18px,env(safe-area-inset-top)); right: 16px; }
  .well-preferences form { padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); }
  .well-preferences--follow > header { padding: 24px 58px 18px; }
  .well-preferences--follow > header > button { top: 18px; right: 16px; }
  .well-preferences--follow form { padding: 20px; gap: 16px; }
  .well-follow-anonymous { grid-template-columns: 1fr; }
  .well-follow-anonymous button { width: 100%; }
  .well-preference-topics { grid-template-columns: 1fr; }
  .well-suggestion > span { display: grid; }
  .well-preferences footer { flex-direction: column; }
  .well-preferences footer > button,.well-preferences footer > .well-unsubscribe { width: 100%; }
}

@media (max-width: 340px) {
  .well-stream-heading--discovery { padding-inline: 16px; }
  .well-community-search { margin-inline: 16px; }
  .well-topics,.well-discovery-heading { padding-inline: 16px; }
  .well-community-safety { padding-inline: 16px; }
}

@media (max-height: 560px) and (max-width: 680px) {
  .well-preferences-backdrop { place-items: start center; }
}

@media (prefers-reduced-motion: reduce) {
  .well-topics { scroll-behavior: auto; }
  .well-preferences * { transition-duration: .01ms !important; }
  .booking-well-island-loading::before { animation: none; }
}
