:root {
  --bg: #f3f3f1;
  --card: #ffffff;
  --text: #1e1e22;
  --muted: #666670;
  --line: #dedee3;
  --accent: #2d74bd;
  --cta: #2c3e55;
  --cta-hover: #1f2d3f;
  --cta-soft: #eef3f8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Spectral", Georgia, serif;
  color: var(--text);
  background: radial-gradient(circle at 18% 0%, #ffffff 0%, #f5f6f7 36%, #eceeef 100%);
}

.page-wrap {
  width: min(100%, 760px);
  margin: 0 auto;
  background: var(--bg);
  border-left: 1px solid #d8d8dd;
  border-right: 1px solid #d8d8dd;
}

.site-header {
  background: linear-gradient(180deg, #f9f9f8 0%, #eeeeef 100%);
  border-bottom: 1px solid var(--line);
}

.brand-row {
  padding: 14px 16px 10px;
  border-bottom: 2px solid #86a9cc;
}

.brand {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 1.7rem + 1vw, 2.7rem);
  line-height: 1;
  color: #25272c;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.top-nav {
  display: flex;
  gap: 22px;
  padding: 10px 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.top-nav a {
  font-family: "Merriweather", Georgia, serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.04em;
  color: #4b4f57;
  white-space: nowrap;
}

.content {
  padding: 18px 16px 26px;
}

.breadcrumbs {
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: #70727c;
}

.breadcrumbs a {
  color: #5f6f8a;
  text-decoration: none;
}

.headline {
  margin: 0 0 10px;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.68rem, 1.2rem + 1.1vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.subhead {
  margin: 0 0 18px;
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(1.1rem, 0.95rem + 0.2vw, 1.16rem);
  line-height: 1.35;
}

.feature-grid {
  display: block;
}

.feature-grid::after {
  content: "";
  display: block;
  clear: both;
}

.expert-card {
  float: left;
  width: 220px;
  margin: 0 18px 10px 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 9px;
}

.photo-shell {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  background: linear-gradient(145deg, #cfd9e4, #9caec3);
  border: 1px solid #ced2d9;
  overflow: hidden;
}

.photo-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-shell.is-missing::after {
  content: "Place photo at assets/images/people/rena-malik.webp";
  position: absolute;
  inset: auto 8px 8px;
  font-size: 0.75rem;
  color: #233246;
  background: #ffffffd6;
  padding: 6px;
}

.expert-card h3 {
  margin: 8px 0 2px;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.2;
}

.expert-card .title {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

.story {
  min-width: 0;
}

.story-meta h2 {
  margin: 0;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.3rem, 1.1rem + 0.4vw, 1.55rem);
}

.story-meta p {
  margin: 4px 0 10px;
  color: #7b7d86;
  font-size: 0.93rem;
}

.story-text {
  color: #2a2d32;
  font-size: 1.15rem;
  line-height: 1.45;
}

.story-text p {
  margin: 0 0 12px;
}


.availability-copy {
  width: min(100%, 420px);
  margin: 0 auto 12px;
  color: #2f3440;
  text-align:left;
}

.availability-title {
  margin: 0 0 8px;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.availability-list {
  margin: 0;
  padding-left: 20px;
  font-size: 1rem;
  line-height: 1.45;
}

.availability-list li + li {
  margin-top: 3px;
}

.availability-wrap {
  clear: both;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.availability-wrap br {
  display: none;
}

.availability-btn {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 680px);
  min-height: 72px;
  border: 3px solid #d77407;
  border-radius: 18px;
  padding: 16px 30px 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: #fff8e9;
  text-shadow: 0 2px 3px rgba(125, 49, 0, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 208, 112, 0.45) 0%, rgba(255, 208, 112, 0.04) 16%, rgba(255, 208, 112, 0) 22%),
    linear-gradient(180deg, #ffaf2e 0%, #e57c11 34%, #e36100 68%, #d05200 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 244, 205, 0.72),
    inset 0 -2px 0 rgba(171, 65, 0, 0.38),
    0 4px 0 #c75900,
    0 9px 18px rgba(176, 74, 0, 0.22);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.availability-btn::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 13px;
  border: 1px solid rgba(255, 222, 152, 0.78);
  pointer-events: none;
}

.availability-btn::after {
  content: "\2192";
  position: relative;
  z-index: 1;
  font-size: 1.08em;
  font-weight: 900;
}

.availability-btn:hover {
  filter: brightness(1.03);
}

.availability-btn:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 0 rgba(255, 244, 205, 0.72),
    inset 0 -2px 0 rgba(171, 65, 0, 0.38),
    0 2px 0 #c75900,
    0 6px 12px rgba(176, 74, 0, 0.18);
}

.availability-icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 38px;
  flex: 0 0 34px;
  font-size: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 34'%3E%3Cpath fill='%23ffd861' d='M14 1c4.7 0 8.5 3.8 8.5 8.5V14h1.3c1.2 0 2.2 1 2.2 2.2v13.6c0 1.2-1 2.2-2.2 2.2H4.2C3 32 2 31 2 29.8V16.2C2 15 3 14 4.2 14h1.3V9.5C5.5 4.8 9.3 1 14 1zm0 4C11.5 5 9.5 7 9.5 9.5V14h9V9.5C18.5 7 16.5 5 14 5z'/%3E%3Cpath fill='%23925b00' d='M14 20.2a2.8 2.8 0 0 1 1.6 5.1v2.9h-3.2v-2.9a2.8 2.8 0 0 1 1.6-5.1z'/%3E%3C/svg%3E");
}

.availability-label {
  position: relative;
  z-index: 1;
}

.availability-note {
  margin: 15px 0 0;
}

.availability-note:not(.availability-note--styled) {
  display: none;
}

.availability-note--styled {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  width: min(100%, 700px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.35;
  color: #2a2927;
}

.availability-note-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.availability-note-item::before {
  content: "\2714";
  color: #38a32d;
  font-size: 1.1em;
  font-weight: 900;
}

.availability-note-item:not(:last-child)::after {
  content: "\2022";
  margin-left: 10px;
  color: #4a4741;
}

.reader-comments {
  clear: both;
  margin-top: 18px;
  border: 1px solid #d6d8de;
  background: #f8f8f9;
}

.reader-comments__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid #e1e3e8;
  background: linear-gradient(180deg, #fbfbfc 0%, #f1f2f5 100%);
}

.reader-comments__header h2 {
  margin: 0;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.25rem, 1.03rem + 0.4vw, 1.45rem);
  line-height: 1.2;
}

.reader-comments__sort {
  margin: 0;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.02rem;
  color: #6c6f78;
  white-space: nowrap;
}

.reader-comments__sort strong {
  color: #2b2e34;
}

.comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fafafc;
}

.comment-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #e3e5ea;
}

.comment-item:last-child {
  border-bottom: 0;
}

.comment-item--reply {
  margin-left: 50px;
  padding: 8px 10px 10px;
  background: transparent;
}

.comment-item--reply::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 14px;
  width: 20px;
  height: 20px;
  border-left: 3px solid #8caed1;
  border-bottom: 3px solid #8caed1;
  border-bottom-left-radius: 14px;
}

.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #c9cfd9;
  background: #dce4ee;
}

.comment-body {
  min-width: 0;
}

.comment-meta {
  margin: 0 0 4px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.comment-name {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #262a31;
}

.comment-time {
  font-size: 0.94rem;
  color: #7a7e88;
}

.comment-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.32;
  color: #2d3138;
}

.comment-item--reply .comment-name {
  color: #2f5e8c;
}

.comment-item--reply .comment-time {
  color: #4f78a4;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.comment-item--reply .comment-avatar {
  width: 32px;
  height: 32px;
  border-color: #9dbad7;
}

.comment-item--reply .comment-body {
  background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
  border: 1px solid #c8daec;
  border-radius: 8px;
  padding: 7px 10px 8px;
}

.comment-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-top: 1px solid #e1e4ea;
  background: #f7f7f9;
}

.comment-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid #d5d9e1;
  border-radius: 5px;
  padding: 10px 12px;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1rem;
  line-height: 1.2;
  color: #2e3035;
  background: #fff;
}

.comment-form input::placeholder {
  color: #9b9da5;
}

.comment-send {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  flex-shrink: 0;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: linear-gradient(180deg, #5194d3 0%, #3576b3 100%);
  cursor: pointer;
}

.comment-send:hover {
  filter: brightness(1.04);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  padding: 10px 16px;
  font-family: "Merriweather", Georgia, serif;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
}

.btn-secondary {
  background: var(--cta-soft);
  border-color: #c2d2e3;
  color: #233246;
}

.btn-secondary:hover {
  background: #dde8f3;
}


body.quiz-open {
  overflow: hidden;
}

body.quiz-open .page-wrap {
  filter: blur(9px);
  transform: scale(0.995);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.quiz-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.quiz-gate.is-active {
  display: flex;
}

.quiz-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 30, 0.56);
  backdrop-filter: blur(3px);
}

.quiz-shell {
  position: relative;
  width: min(450px, 100%);
  max-height: 92vh;
  border-radius: 22px;
  border: 1px solid #dbe5ef;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 22%);
  box-shadow: 0 24px 64px rgba(11, 31, 56, 0.34);
  overflow: hidden;
}

.quiz-screen {
  display: none;
  padding: 24px 20px 22px;
  max-height: 92vh;
  overflow: auto;
}

.quiz-screen.is-active {
  display: block;
  animation: quiz-fade-up 0.3s ease;
}

.quiz-kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3c75ad;
}

.quiz-title {
  margin-top: 6px;
  color: #17395d;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.45rem, 5.6vw, 1.88rem);
  line-height: 1.2;
}

.quiz-product-highlight {
  margin-top: 16px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.quiz-product-photo {
  width: min(100%, 165px);
  padding: 8px 10px;
  border-radius: 15px;
  background: linear-gradient(180deg, #f5f9fe, #ecf3fb);
  border: 1px solid #d8e5f3;
  box-shadow: 0 12px 30px rgba(24, 61, 98, 0.12);
}

.quiz-product-photo img {
  width: 100%;
  object-fit: contain;
}

.quiz-product-price {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  min-width: min(100%, 165px);
  padding: 8px 12px;
  border-radius: 11px;
  background: linear-gradient(180deg, #fff1b2, #ffd659);
  border: 1px solid #f0c23c;
  box-shadow: 0 10px 22px rgba(165, 121, 12, 0.22);
  color: #554000;
}

.quiz-product-price strong {
  font-size: 1.01rem;
  line-height: 1;
}

.quiz-product-price__label {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.quiz-copy {
  margin-top: 10px;
  color: #2e455f;
  font-size: 0.96rem;
  line-height: 1.45;
}

.quiz-progress {
  margin-top: 16px;
  height: 10px;
  background: #e4edf7;
  border-radius: 999px;
  overflow: hidden;
}

.quiz-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2b6ea9, #5fa7ec);
  transition: width 0.14s linear;
}

.quiz-primary-btn,
.quiz-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  border: 0;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.04rem;
  font-weight: 700;
  border-radius: 12px;
}

.quiz-primary-btn {
  color: #ffffff;
  background: linear-gradient(180deg, #377dbd, #28679f);
  box-shadow: 0 10px 24px rgba(30, 87, 136, 0.33);
}

.quiz-primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.quiz-primary-btn--accent {
  color: #3f3100;
  background: linear-gradient(180deg, #ffe27a, #f4c531);
  box-shadow: 0 12px 26px rgba(141, 107, 19, 0.35);
}

.quiz-primary-btn--accent:hover {
  filter: brightness(1.03);
}

.quiz-secondary-btn {
  color: #285c8f;
  background: #eff5fc;
  border: 1px solid #cdddf0;
  box-shadow: none;
}

.quiz-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.quiz-step-count,
.quiz-step-select {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.quiz-step-count {
  color: #2e6aa5;
}

.quiz-step-select {
  color: #667b93;
}

.quiz-question {
  margin: 2px 0 0;
  color: #18385a;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.1rem, 4.6vw, 1.38rem);
  line-height: 1.25;
}

.quiz-options {
  margin-top: 14px;
  display: grid;
  gap: 9px;
}

.quiz-option {
  width: 100%;
  border: 1px solid #cdddef;
  background: #ffffff;
  color: #173f67;
  text-align: left;
  border-radius: 12px;
  padding: 12px 13px;
  font-family: "Merriweather", Georgia, serif;
  font-size: 0.97rem;
  line-height: 1.3;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.quiz-option:hover {
  border-color: #8fb5dd;
}

.quiz-option.is-selected {
  border-color: #2c72ad;
  background: #f0f7ff;
  box-shadow: 0 0 0 2px rgba(45, 118, 180, 0.15);
  transform: translateY(-1px);
}

.quiz-options--multi .quiz-option {
  padding-left: 44px;
  position: relative;
}

.quiz-options--multi .quiz-option::before,
.quiz-options--multi .quiz-option::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.quiz-options--multi .quiz-option::before {
  left: 14px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid #9db8d6;
  background: #ffffff;
}

.quiz-options--multi .quiz-option::after {
  left: 20px;
  width: 7px;
  height: 11px;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: translateY(-58%) rotate(40deg);
}

.quiz-options--multi .quiz-option.is-selected::before {
  border-color: #2b6ea9;
  background: #2b6ea9;
}

.quiz-options--multi .quiz-option.is-selected::after {
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}

.quiz-next-btn {
  margin-top: 14px;
}

.quiz-benefits {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.quiz-benefits li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 0.96rem;
  color: #1d436c;
  border: 1px solid #d6e5f4;
  background: #f7fbff;
  border-radius: 11px;
  padding: 9px 12px;
  font-weight: 600;
}

.quiz-benefits li::before {
  content: "✔ ";
  color: #1e6cae;
}

.quiz-benefits li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.quiz-screen--warning .quiz-title {
  color: #6a2f1a;
}

.quiz-screen--warning .quiz-copy {
  color: #58433a;
}

.quiz-screen--result .quiz-title {
  line-height: 1.12;
}

.quiz-screen--result .quiz-product-highlight {
  margin-top: 14px;
  gap: 7px;
}

.quiz-screen--result .quiz-product-photo {
  width: min(100%, 150px);
  padding: 7px 8px;
}

.quiz-screen--result .quiz-product-price {
  min-width: min(100%, 156px);
  padding: 7px 11px;
}

.quiz-screen--result .quiz-benefits {
  margin-top: 12px;
  gap: 6px;
}

.quiz-screen--result .quiz-benefits li {
  padding: 8px 11px;
  line-height: 1.24;
}

.quiz-screen--result .quiz-primary-btn {
  margin-top: 12px;
}

.availability-check-modal {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.availability-check-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.availability-check-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 23, 0.38);
  backdrop-filter: blur(10px);
}

.availability-check-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.32s ease;
}

.availability-check-modal.is-active .availability-check-modal__dialog {
  transform: translateY(0) scale(1);
}

.availability-check-card {
  position: relative;
  background: #f6f6f4;
  border-radius: 28px;
  padding: 28px 24px 24px;
  color: #232a35;
  box-shadow: 0 28px 80px rgba(7, 17, 30, 0.22);
}

.availability-check-card__title {
  margin: 0 0 24px;
  text-align: center;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 6vw, 2.55rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: #111111;
  text-wrap: balance;
}

.availability-check-card__title sup {
  font-size: 0.48em;
}

.availability-check-progress {
  margin-bottom: 22px;
}

.availability-check-card.is-hold-visible .availability-check-progress {
  margin-bottom: 0;
}

.availability-check-progress__track {
  width: 100%;
  height: 12px;
  background: #dfdfdd;
  border-radius: 999px;
  overflow: hidden;
}

.availability-check-progress__fill {
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #119673, #18b285);
  transition: width 0.55s ease;
}

.availability-check-progress__meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2f3134;
}

.availability-check-table {
  border: 1px solid #d8d8d6;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.28s ease, margin 0.28s ease;
  transform-origin: top center;
  max-height: 560px;
}

.availability-check-card.is-hold-visible .availability-check-table {
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  margin: 0;
  border-width: 0;
  pointer-events: none;
}

.availability-check-table__head,
.availability-check-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.availability-check-table__head {
  background: #f2f2f0;
}

.availability-check-table__th {
  padding: 16px 18px;
  border-bottom: 1px solid #d8d8d6;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  color: #33333a;
}

.availability-check-table__th + .availability-check-table__th,
.availability-check-row__task + .availability-check-row__status {
  border-left: 1px solid #d8d8d6;
}

.availability-check-row + .availability-check-row {
  border-top: 1px solid #d8d8d6;
}

.availability-check-row.is-hidden {
  display: none;
}

.availability-check-row__task,
.availability-check-row__status {
  min-height: 72px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
}

.availability-check-row__task {
  font-size: 1rem;
  line-height: 1.15;
  color: #4a4f58;
}

.availability-check-row__task-line {
  display: block;
}

.availability-check-row__task--stacked {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.availability-check-row__status {
  justify-content: center;
  position: relative;
}

.availability-check-status {
  display: none;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 600;
  text-align: left;
}

.availability-check-status--error,
.availability-check-status--success,
.availability-check-status--warning {
  position: absolute;
  inset: 50% auto auto 18px;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.availability-check-row.is-active .availability-check-status--loading {
  display: inline-flex;
}

.availability-check-row.is-brands .availability-check-status--brands {
  display: flex;
}

.availability-check-row.is-error .availability-check-status--error,
.availability-check-row.is-success .availability-check-status--success,
.availability-check-row.is-warning .availability-check-status--warning {
  display: inline-flex;
  opacity: 1;
  visibility: visible;
  position: static;
  transform: none;
}

.availability-check-status--error {
  color: #e14568;
}

.availability-check-status--success {
  color: #15a07b;
}

.availability-check-status--warning {
  color: #3a3d43;
}

.availability-check-status--warning strong {
  color: #222222;
}

.availability-check-status__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.availability-check-status__icon--error {
  background-image: url("../pharmacy-check/i-cross.svg");
}

.availability-check-status__icon--success {
  background-image: url("../pharmacy-check/i-pass.svg");
}

.availability-check-status__icon--warning {
  background-image: url("../pharmacy-check/i-warning.svg");
}

.availability-check-spinner {
  width: 24px;
  height: 24px;
  display: inline-block;
  background: url("../pharmacy-check/spinner.webp") center / contain no-repeat;
  animation: availability-check-spin 0.8s linear infinite;
}

.availability-check-brands {
  width: 184px;
  overflow: hidden;
}

.availability-check-brands__track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  transform: translateX(34px);
  transition: transform 0.45s ease;
  will-change: transform;
}

.availability-check-brands__item {
  flex: 0 0 72px;
  width: 72px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  transform: scale(0.82);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.availability-check-brands__item.is-center {
  opacity: 1;
  transform: scale(1.18);
}

.availability-check-brands__item img {
  display: block;
  max-width: 100%;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.availability-check-redirect-proxy {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

@keyframes availability-check-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 575px) {
  .availability-check-card {
    border-radius: 24px;
    padding: 24px 14px 18px;
  }

  .availability-check-card__title {
    margin-bottom: 20px;
    font-size: clamp(1.95rem, 8.4vw, 2.15rem);
  }

  .availability-check-table__th,
  .availability-check-row__task,
  .availability-check-row__status {
    padding: 14px 12px;
  }

  .availability-check-table__th {
    font-size: 0.92rem;
  }

  .availability-check-row__task {
    min-height: 64px;
    font-size: 0.9rem;
  }

  .availability-check-status {
    font-size: 0.88rem;
  }

  .availability-check-status--warning strong {
    font-size: 0.96rem;
  }

  .availability-check-brands {
    width: 148px;
  }

  .availability-check-brands__track {
    gap: 14px;
  }

  .availability-check-brands__item {
    flex-basis: 58px;
    width: 58px;
  }
}

.is-hidden {
  display: none;
}

@keyframes quiz-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 640px) {
  .brand-row {
    padding: 12px 12px 9px;
  }

  .brand {
    font-size: clamp(2.05rem, 1.6rem + 1.3vw, 2.45rem);
  }

  .top-nav {
    gap: 16px;
    padding: 8px 12px;
  }

  .content {
    padding: 14px 12px 20px;
  }

  .headline {
    font-size: clamp(1.95rem, 1.25rem + 1.8vw, 2.4rem);
    line-height: 1.16;
  }

  .subhead {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .feature-grid {
    display: block;
  }

  .expert-card {
    width: 116px;
    margin: 0 10px 8px 0;
    padding: 6px;
  }

  .expert-card h3 {
    font-size: 1rem;
    margin-top: 6px;
  }

  .expert-card .title {
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .story-meta h2 {
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .story-meta p {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .story-text {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .availability-wrap {
    margin-top: 16px;
  }

  .availability-btn {
    width: 100%;
    min-height: 60px;
    gap: 10px;
    padding: 8px 18px 8px;
    border-radius: 16px;
    font-size: clamp(1.05rem, 5vw, 1.7rem);
  }

  .availability-btn::before {
    inset: 3px;
    border-radius: 11px;
  }

  .availability-icon {
    width: 28px;
    height: 32px;
    flex-basis: 28px;
  }

  .availability-note--styled {
    gap: 6px 12px;
    font-size: 0.86rem;
  }

  .availability-note-item {
    gap: 5px;
  }

  .availability-note-item:not(:last-child)::after {
    margin-left: 6px;
  }

  .reader-comments {
    margin-top: 14px;
  }

  .reader-comments__header {
    padding: 9px 10px;
  }

  .reader-comments__header h2 {
    font-size: 1.1rem;
  }

  .reader-comments__sort {
    font-size: 0.87rem;
  }

  .comment-item {
    gap: 8px;
    padding: 8px 10px;
  }

  .comment-item--reply {
    margin-left: 24px;
    padding: 7px 8px 9px;
  }

  .comment-item--reply::before {
    left: -20px;
    top: 12px;
    width: 14px;
    height: 14px;
    border-left-width: 2px;
    border-bottom-width: 2px;
  }

  .comment-item--reply .comment-avatar {
    width: 28px;
    height: 28px;
  }

  .comment-item--reply .comment-body {
    padding: 6px 8px;
  }

  .comment-avatar {
    width: 34px;
    height: 34px;
  }

  .comment-name {
    font-size: 0.96rem;
  }

  .comment-time {
    font-size: 0.82rem;
  }

  .comment-text {
    font-size: 0.94rem;
    line-height: 1.28;
  }

  .comment-form {
    gap: 8px;
    padding: 7px 8px;
  }

  .comment-form input {
    font-size: 0.9rem;
    padding: 8px 10px;
  }

  .comment-send {
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
  }

  .actions {
    gap: 8px;
    margin-top: 8px;
  }

  .btn {
    font-size: 0.74rem;
    padding: 8px 10px;
  }
}

/* quiz-mobile-sync-42438 */
@media (max-width: 640px) {
  .quiz-gate {
    padding:
      max(8px, env(safe-area-inset-top))
      8px
      max(8px, env(safe-area-inset-bottom));
  }

  .quiz-shell {
    width: min(420px, 100%);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    max-height: calc(100svh - 16px);
    border-radius: 18px;
  }

  .quiz-screen {
    padding: 18px 15px 16px;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    max-height: calc(100svh - 16px);
  }

  .quiz-kicker {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
  }

  .quiz-title {
    margin-top: 4px;
    font-size: clamp(1.48rem, 6.4vw, 1.92rem);
    line-height: 1.14;
  }

  .quiz-copy {
    margin-top: 8px;
    font-size: 1.08rem;
    line-height: 1.36;
  }

  .quiz-progress {
    margin-top: 12px;
    height: 8px;
  }

  .quiz-primary-btn,
  .quiz-secondary-btn {
    min-height: 46px;
    margin-top: 12px;
    font-size: 1.16rem;
    border-radius: 10px;
  }

  .quiz-step-row,
  .quiz-steps.is-compact .quiz-step-row {
    gap: 6px;
    margin-bottom: 6px;
  }

  .quiz-step-count,
  .quiz-step-select {
    font-size: 0.97rem;
  }

  .quiz-question,
  .quiz-steps.is-compact .quiz-question {
    margin-top: 0;
    font-size: clamp(1.32rem, 5.7vw, 1.56rem);
    line-height: 1.18;
  }

  .quiz-options,
  .quiz-steps.is-compact .quiz-options {
    margin-top: 9px;
    gap: 6px;
  }

  .quiz-option {
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 1.18rem;
    line-height: 1.2;
  }

  .quiz-options--dense .quiz-option {
    padding: 8px 10px;
    font-size: 1.08rem;
    line-height: 1.16;
  }

  .quiz-options--multi .quiz-option {
    padding-left: 38px;
  }

  .quiz-options--dense.quiz-options--multi .quiz-option {
    padding-left: 36px;
  }

  .quiz-options--multi .quiz-option::before {
    left: 12px;
    width: 15px;
    height: 15px;
    border-radius: 4px;
  }

  .quiz-options--multi .quiz-option::after {
    left: 17px;
    width: 5px;
    height: 9px;
  }

  .quiz-next-btn {
    margin-top: 12px;
  }

  .quiz-benefits {
    margin-top: 12px;
    gap: 6px;
  }

  .quiz-benefits li {
    font-size: 1.08rem;
    padding: 8px 10px;
  }

  .quiz-screen--result {
    padding: 14px 12px 12px;
  }

  .quiz-screen--result .quiz-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
  }

  .quiz-screen--result .quiz-title {
    margin-top: 3px;
    font-size: clamp(1.18rem, 5.1vw, 1.48rem);
    line-height: 1.07;
  }

  .quiz-screen--result .quiz-product-highlight {
    margin-top: 10px;
    gap: 6px;
  }

  .quiz-screen--result .quiz-product-photo {
    width: min(100%, 124px);
    padding: 5px 6px;
    border-radius: 12px;
  }

  .quiz-screen--result .quiz-product-price {
    min-width: min(100%, 146px);
    padding: 6px 10px;
    border-radius: 10px;
  }

  .quiz-screen--result .quiz-product-price strong {
    font-size: 0.92rem;
  }

  .quiz-screen--result .quiz-product-price__label {
    font-size: 0.58rem;
  }

  .quiz-screen--result .quiz-benefits {
    margin-top: 9px;
    gap: 5px;
  }

  .quiz-screen--result .quiz-benefits li {
    font-size: 0.92rem;
    padding: 7px 9px;
    line-height: 1.18;
  }

  .quiz-screen--result .quiz-primary-btn {
    min-height: 42px;
    margin-top: 10px;
    font-size: 0.98rem;
  }
}

@media (max-width: 380px), (max-width: 640px) and (max-height: 740px) {
  .quiz-gate {
    padding:
      max(6px, env(safe-area-inset-top))
      6px
      max(6px, env(safe-area-inset-bottom));
  }

  .quiz-shell {
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
    max-height: calc(100svh - 12px);
    border-radius: 16px;
  }

  .quiz-screen {
    padding: 15px 12px 12px;
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
    max-height: calc(100svh - 12px);
  }

  .quiz-kicker {
    font-size: 0.8rem;
  }

  .quiz-title {
    font-size: clamp(1.32rem, 6vw, 1.58rem);
  }

  .quiz-copy {
    margin-top: 6px;
    font-size: 0.98rem;
    line-height: 1.3;
  }

  .quiz-step-row,
  .quiz-steps.is-compact .quiz-step-row {
    margin-bottom: 4px;
  }

  .quiz-step-count,
  .quiz-step-select {
    font-size: 0.86rem;
  }

  .quiz-step-select {
    display: none;
  }

  .quiz-question,
  .quiz-steps.is-compact .quiz-question {
    font-size: 1.18rem;
  }

  .quiz-options,
  .quiz-steps.is-compact .quiz-options {
    margin-top: 8px;
    gap: 4px;
  }

  .quiz-option {
    padding: 7px 9px;
    font-size: 1.03rem;
    line-height: 1.16;
  }

  .quiz-options--dense .quiz-option {
    padding: 6px 8px;
    font-size: 0.98rem;
    line-height: 1.12;
  }

  .quiz-options--multi .quiz-option {
    padding-left: 34px;
  }

  .quiz-options--dense.quiz-options--multi .quiz-option {
    padding-left: 32px;
  }

  .quiz-options--multi .quiz-option::before {
    left: 10px;
    width: 14px;
    height: 14px;
  }

  .quiz-options--multi .quiz-option::after {
    left: 15px;
    width: 4px;
    height: 8px;
  }

  .quiz-primary-btn,
  .quiz-secondary-btn {
    min-height: 40px;
    margin-top: 8px;
    font-size: 1rem;
  }

  .quiz-benefits li {
    font-size: 0.98rem;
  }

  .quiz-screen--result {
    padding: 12px 10px 10px;
  }

  .quiz-screen--result .quiz-kicker {
    font-size: 0.72rem;
  }

  .quiz-screen--result .quiz-title {
    margin-top: 2px;
    font-size: clamp(1.02rem, 4.8vw, 1.24rem);
    line-height: 1.04;
  }

  .quiz-screen--result .quiz-product-highlight {
    margin-top: 8px;
    gap: 5px;
  }

  .quiz-screen--result .quiz-product-photo {
    width: min(100%, 110px);
    padding: 4px 5px;
    border-radius: 10px;
  }

  .quiz-screen--result .quiz-product-price {
    min-width: min(100%, 134px);
    padding: 5px 8px;
    border-radius: 9px;
  }

  .quiz-screen--result .quiz-product-price strong {
    font-size: 0.84rem;
  }

  .quiz-screen--result .quiz-product-price__label {
    font-size: 0.5rem;
  }

  .quiz-screen--result .quiz-benefits {
    margin-top: 7px;
    gap: 4px;
  }

  .quiz-screen--result .quiz-benefits li {
    font-size: 0.84rem;
    padding: 6px 8px;
    border-radius: 9px;
  }

  .quiz-screen--result .quiz-primary-btn {
    min-height: 38px;
    margin-top: 8px;
    font-size: 0.92rem;
  }
}
