/* ============================================================
   Storefront Layout
   ============================================================ */

.site__main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 32px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}

.site-header__logo:hover {
  opacity: 0.8;
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 6px;
}

@media (min-width: 860px) {
  .site-header__nav {
    display: flex;
  }
}

.site-header__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}

.site-header__link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__link:hover {
  color: #111827;
}

.site-header__link:hover::after {
  width: 50%;
  left: 25%;
}

.site-header__link--active {
  color: #111827;
  font-weight: 600;
}

.site-header__link--active::after {
  width: 50%;
  left: 25%;
}

.site-header__dropdown {
  position: relative;
}

.site-header__dropdown > .site-header__link::after {
  pointer-events: none;
}

.site-header__dropdown:hover > .site-header__link {
  color: #111827;
}

.site-header__dropdown:hover > .site-header__link::after {
  width: 50%;
  left: 25%;
}

.site-header__dropdown-chevron {
  width: 12px;
  height: 12px;
  margin-left: 2px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.site-header__dropdown:hover .site-header__dropdown-chevron {
  transform: rotate(180deg);
}

.site-header__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
}

.site-header__dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.site-header__dropdown-menu {
  background: #fff;
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--shadow-lg, 0 10px 25px rgba(0, 0, 0, 0.1));
  padding: 8px 0;
  z-index: 100;
}

.site-header__dropdown:hover .site-header__dropdown-menu {
  display: block;
}

.site-header__dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.site-header__dropdown-item:hover {
  background: #f9fafb;
  color: #111827;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.site-header__action-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.site-header__action-link:hover {
  color: #111827;
  background-color: rgba(0, 0, 0, 0.05);
}

.site-header__cart {
  position: relative;
}

.site-header__cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background-color: #111827;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  box-shadow: 0 0 0 2px #ffffff;
}

/* ---- Burger Button ---- */

.site-header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: var(--radius-full);
  transition: background-color 0.2s;
}

.site-header__burger:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

@media (min-width: 860px) {
  .site-header__burger {
    display: none;
  }
}

.site-header__burger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background-color: #374151;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease;
  transform-origin: center;
}

.mobile-menu-wrapper--open .site-header__burger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-wrapper--open .site-header__burger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-wrapper--open .site-header__burger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- Mobile Menu ---- */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  flex-direction: column;
  color: #ffffff;
  display: flex;
  clip-path: circle(0% at calc(100% - 40px) 28px);
  opacity: 0;
  pointer-events: none;
  transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.mobile-menu-wrapper--open .mobile-menu {
  clip-path: circle(150% at calc(100% - 40px) 28px);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__header,
.mobile-menu__body {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s;
}

.mobile-menu-wrapper--open .mobile-menu__header,
.mobile-menu-wrapper--open .mobile-menu__body {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__logo img {
  filter: invert(1);
}

.mobile-menu__logo {
  display: flex;
  align-items: center;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  border-radius: 50%;
  transition: background-color 0.15s;
}

.mobile-menu__close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}


.mobile-menu__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 32px;
  overflow-y: auto;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.mobile-menu__link {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  transition: background-color 0.15s;
  letter-spacing: 0.01em;
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu__link--parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.mobile-menu__chevron {
  transition: transform 0.2s ease;
}

.mobile-menu__group--open .mobile-menu__chevron {
  transform: rotate(180deg);
}

.mobile-menu__children {
  display: none;
  padding-left: 16px;
}

.mobile-menu__children--open {
  display: block;
}

.mobile-menu__child-link {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  transition: background-color 0.15s, color 0.15s;
}

.mobile-menu__child-link:hover,
.mobile-menu__child-link:active {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.mobile-menu__footer {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.mobile-menu__secondary-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.mobile-menu__secondary-link:hover {
  color: #ffffff;
}

body:has(.mobile-menu-wrapper--open) {
  overflow: hidden;
}

@media (min-width: 860px) {
  .mobile-menu {
    display: none !important;
  }

  body:has(.mobile-menu-wrapper--open) {
    overflow: auto;
  }
}

/* ---- Footer ---- */

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer__logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-foreground);
  letter-spacing: -0.025em;
}

.site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.site-footer__social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: #1b1b1b;
  color: #ffffff;
  transition: background-color 0.15s;
}

.site-footer__social-icon:hover {
  background-color: #333333;
}

.site-footer__copyright {
  font-size: 14px;
  color: #374151;
  margin-top: 24px;
}

.site-footer__seal {
  display: inline-block;
  margin-top: 20px;
}

.site-footer__heading {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.site-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__link {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer__link:hover {
  color: #111827;
}

/* ---- Containers & Sections ---- */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Breadcrumbs (hierarchical trail on every sub-page) ---- */

.breadcrumbs {
  padding: 12px 0;
  font-size: 13px;
  color: var(--color-muted-foreground);
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "\203A";
  font-size: 15px;
  line-height: 1;
  color: #9ca3af;
}

.breadcrumbs__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumbs__link:hover {
  color: var(--color-foreground);
  text-decoration: underline;
}

.breadcrumbs__current {
  color: var(--color-foreground);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Overlaid at the top of a hero, in theme gold (legible on the dark image
   heroes and the light blog hero alike). The hero keeps its own padding. */
.breadcrumbs--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 18px 0;
  background: transparent;
  border-bottom: none;
  color: var(--color-gold);
}

.breadcrumbs--hero .breadcrumbs__item + .breadcrumbs__item::before,
.breadcrumbs--hero .breadcrumbs__link {
  color: var(--color-gold);
}

.breadcrumbs--hero .breadcrumbs__link {
  opacity: 0.85;
}

.breadcrumbs--hero .breadcrumbs__link:hover {
  color: var(--color-gold-light);
  opacity: 1;
}

.breadcrumbs--hero .breadcrumbs__current {
  color: var(--color-gold-light);
  font-weight: 600;
}

.hero--dark .breadcrumbs--hero .breadcrumbs__current,
.hero:not(.hero--dark) .breadcrumbs--hero .breadcrumbs__current {
  color: var(--color-gold-light);
}

.blog-hero .breadcrumbs--hero .breadcrumbs__current {
  color: var(--color-gold-dark);
}

.container--narrow {
  max-width: 768px;
}

.section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 100px 0;
  }
}

.section--muted {
  background-color: #fafaf8;
}

.section--themed {
  background-color: var(--theme-accent-bg);
}

.section__title {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .section__title {
    font-size: 36px;
  }
}

.section__title--center {
  text-align: center;
  margin-bottom: 48px;
}

.section__subtitle {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.7;
}

.section__subtitle--center {
  text-align: center;
}

.section__title-link {
  color: inherit;
  text-decoration: none;
}

.section__title-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section__cta {
  text-align: center;
  margin-top: 40px;
}

.section__empty {
  text-align: center;
  color: var(--color-muted-foreground);
  padding: 32px 0;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

@media (min-width: 860px) {
  .hero {
    min-height: 85vh;
    max-height: 900px;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* Gradient wash: solid left → transparent right so text is always readable */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      var(--theme-hero-wash) 0%,
      var(--theme-hero-wash) 30%,
      var(--theme-hero-wash-92) 45%,
      var(--theme-hero-wash-60) 65%,
      var(--theme-hero-wash-25) 100%
    );
}

/* Subtle grain overlay for depth */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

/* Mobile: stronger overlay so text pops */
@media (max-width: 859px) {
  .hero__bg::before {
    background:
      linear-gradient(180deg,
        var(--theme-hero-wash-mobile-95) 0%,
        var(--theme-hero-wash-mobile-85) 60%,
        var(--theme-hero-wash-mobile-70) 100%
      );
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 48px;
}

@media (min-width: 860px) {
  .hero__inner {
    padding: 0 24px;
  }
}

/* ---- Hero Content ---- */

.hero__content {
  max-width: 620px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold-dark);
  margin-bottom: 24px;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: heroPulse 2.5s ease-in-out infinite;
}

.hero__title {
  font-size: 42px;
  font-weight: 700;
  color: #111827;
  line-height: 1.05;
  letter-spacing: -0.03em;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

@media (min-width: 860px) {
  .hero__title {
    font-size: 60px;
  }
}

@media (min-width: 1100px) {
  .hero__title {
    font-size: 68px;
  }
}

.hero__text {
  margin-top: 24px;
  font-size: 16px;
  color: #5a5a5a;
  max-width: 400px;
  line-height: 1.7;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

@media (min-width: 860px) {
  .hero__text {
    font-size: 17px;
  }
}

/* ---- Hero Actions ---- */

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.02em;
  color: var(--theme-button-text);
  background: var(--theme-button-bg);
  border: none;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              background 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08),
              0 4px 12px rgba(0, 0, 0, 0.06);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
              0 12px 28px rgba(0, 0, 0, 0.1);
  background: var(--theme-button-hover-bg);
}

.hero__cta:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.hero__cta svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__cta:hover svg {
  transform: translateX(3px);
}

.hero__cta-secondary {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s;
}

.hero__cta-secondary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: opacity 0.25s;
}

.hero__cta-secondary:hover {
  color: #111827;
}

.hero__cta-secondary:hover::after {
  opacity: 1;
}

/* ---- Hero Trust Bar ---- */

.hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

.hero__trust-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

.hero__trust-divider {
  width: 1px;
  height: 16px;
  background: #d1d5db;
}

@media (max-width: 480px) {
  .hero__trust-divider {
    display: none;
  }
  .hero__trust {
    gap: 12px 20px;
  }
}

/* ---- Hero Animations ---- */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ---- Dark Hero ---- */

/* Compact hero for interior pages (about, contact) */
.hero--compact {
  min-height: auto;
}

.hero--compact .hero__inner {
  padding: 100px 24px 60px;
}

@media (min-width: 860px) {
  .hero--compact {
    min-height: auto;
    max-height: none;
  }

  .hero--compact .hero__inner {
    padding: 120px 24px 80px;
  }
}

.hero--dark .hero__bg::before {
  background:
    linear-gradient(105deg,
      #2a2a2a 0%,
      #2a2a2a 30%,
      rgba(42, 42, 42, 0.92) 45%,
      rgba(42, 42, 42, 0.6) 65%,
      rgba(42, 42, 42, 0.25) 100%
    );
}

.hero--dark .hero__title { color: #f5f5f5; }
.hero--dark .hero__text { color: #a3a3a3; }
.hero--dark .hero__kicker { color: var(--color-gold-light); }
.hero--dark .hero__kicker-dot { background: var(--color-gold-light); }
.hero--dark .hero__trust-item { color: #a3a3a3; }
.hero--dark .hero__trust-item svg { color: var(--color-gold-light); }
.hero--dark .hero__trust-divider { background: rgba(255, 255, 255, 0.15); }

/* ---- Split Hero (home) ---- */

.hero--split {
  display: block;
  min-height: auto;
  background: #f7f6f5;
}

@media (min-width: 860px) {
  .hero--split {
    min-height: auto;
    max-height: none;
  }
}

.hero__inner--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 48px 0 0;
  /* The base hero stacks its inner above a bg layer; the split hero has no bg
     layer, and the stacking context would isolate the media's multiply blend
     from the section background. */
  z-index: auto;
}

.hero__inner--split .hero__content {
  padding: 0 24px;
}

@media (min-width: 860px) {
  .hero__inner--split {
    max-width: 1280px;
    margin: 0 auto;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    padding: 72px 24px 0;
  }

  .hero__inner--split .hero__content {
    padding: 0;
  }
}

.hero__accent {
  position: absolute;
  top: -24px;
  right: -70px;
  width: 380px;
  pointer-events: none;
}

.hero__accent-img {
  display: block;
  width: 100%;
  height: auto;
  /* Same trick as the product artwork: the branch ships on a white backdrop
     that multiply melts into the hero background. */
  mix-blend-mode: multiply;
}

@media (max-width: 859px) {
  .hero__accent {
    width: 200px;
  }
}

.hero__kicker--plain {
  color: var(--color-gold-dark);
  letter-spacing: 0.16em;
}

.hero__title-accent {
  color: var(--color-gold);
}

.hero__rule {
  display: block;
  width: 44px;
  height: 1px;
  background: #d1cdc9;
  margin-top: 28px;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.hero__cta-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  background: transparent;
  border: 1px solid #d1cdc9;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.hero__cta-outline:hover {
  border-color: #111827;
  background: #ffffff;
}

.hero__trust--stacked {
  gap: 0;
  margin-top: 48px;
}

.hero__trust--stacked .hero__trust-item {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 22px;
  font-size: 13px;
  color: #374151;
  line-height: 1.35;
}

.hero__trust--stacked .hero__trust-item:first-child {
  padding-left: 0;
}

.hero__trust--stacked .hero__trust-item svg {
  color: #111827;
}

.hero__trust--stacked .hero__trust-divider {
  height: 44px;
}

@media (max-width: 480px) {
  .hero__trust--stacked .hero__trust-item {
    padding: 0 10px;
  }
}

.hero__media-img {
  display: block;
  width: 100%;
  height: auto;
  /* The artwork has true alpha transparency at the edges, so it composites
     onto the hero background without a blend mode. */
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* Bottom band: 25 years of pharmacy excellence */

.hero__band {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  background: #efedeb;
  border-radius: 24px;
  padding: 24px 36px;
  margin: 48px 0 40px;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero__band-lead {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 260px;
}

.hero__band-badge {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  color: #161515;
}

.hero__band-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.hero__band-text {
  flex: 1;
  min-width: 220px;
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
}

.hero__band-divider {
  width: 1px;
  height: 56px;
  background: #d8d4d0;
}

.hero__band-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
}

.hero__band-stars {
  color: var(--color-gold);
  font-size: 20px;
  letter-spacing: 3px;
}

@media (max-width: 859px) {
  .hero__band {
    justify-content: center;
    text-align: center;
  }

  .hero__band-lead {
    justify-content: center;
  }

  .hero__band-divider {
    display: none;
  }
}

/* ---- Portal Cards (For Him / For Her) ---- */

.portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .portal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.portal-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s ease;
}

@media (min-width: 768px) {
  .portal-card {
    min-height: 420px;
  }
}

.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.portal-card:hover .portal-card__bg {
  transform: scale(1.06);
}

.portal-card--him {
  background-color: #363f3e;
}

.portal-card--her {
  background-color: #674f5d;
}

.portal-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.portal-card__content {
  position: relative;
  z-index: 2;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-card__logo {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.25));
}

.portal-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  max-width: 280px;
}

.portal-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.portal-card__link svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-card:hover .portal-card__link svg {
  transform: translateX(4px);
}

/* ---- Product Grid & Cards ---- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 24px 20px 20px;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s ease,
              border-color 0.35s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08),
              0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: var(--theme-accent);
}

.product-card__name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
}

.product-card__image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__img {
  transform: scale(1.08);
}

.product-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: #f3f4f6;
}

/* Neutral fallback shown for products without an attached image. Composes with
   the sizing class of whichever component renders it. */
.product-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: #f3f4f6;
  color: #9ca3af;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1;
}

.onboarding__banner-image .product-image-placeholder,
.product-card__image-wrap .product-image-placeholder {
  min-height: 0;
}

.product-card__price {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-muted-foreground);
}

.product-card__price strong {
  color: var(--color-foreground);
  font-weight: 600;
}

.product-card__cta {
  width: 100%;
  margin-top: 16px;
  transform: translateY(4px);
  opacity: 0.9;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
}

.product-card:hover .product-card__cta {
  transform: translateY(0);
  opacity: 1;
}

.product-card__btn {
  display: block;
  width: 100%;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background: var(--theme-button-bg);
  color: var(--theme-button-text);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover .product-card__btn {
  background: var(--theme-button-hover-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ---- Category Grid & Cards ---- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.15s;
}

.category-card:hover {
  box-shadow: var(--shadow-sm);
}

.category-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-color: #f3f4f6;
}

.category-card__image--placeholder {
  background-color: #e5e7eb;
}

.category-card__body {
  padding: 16px;
  text-align: center;
}

.category-card__name {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.category-card__desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

/* ---- Product Detail ---- */

.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
  }
}

.product-detail__image {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid #f3f4f6;
}

.product-detail__image--placeholder {
  aspect-ratio: 1;
}

.product-detail__category {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--theme-icon-color, #6b7280);
  margin-bottom: 8px;
}

.product-detail__name {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.product-detail__ingredients {
  margin-bottom: 16px;
}

.product-detail__description {
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-detail__pricing {
  margin-bottom: 24px;
}

.product-detail__pricing-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.price-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.price-option:has(input:checked) {
  border-color: var(--theme-accent, var(--color-primary));
  background-color: var(--theme-accent-bg, #fafafa);
}

.price-option input {
  accent-color: var(--theme-accent, var(--color-primary));
}

.price-option__label {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}

.price-option__price {
  font-size: 15px;
  font-weight: 600;
}

.product-card__price-note {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-muted-foreground);
}

/* Prepaid plans: per-month breakdown leads, total sits under it */
.price-option__sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-muted-foreground);
  margin-top: 2px;
}

.price-option__amounts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.price-option__monthly {
  font-size: 16px;
  font-weight: 700;
  color: var(--theme-accent, var(--color-primary));
}

.price-option__total {
  font-size: 12px;
  color: var(--color-muted-foreground);
}

/* ---- Reviews (Two-column: image + carousel) ---- */

.reviews__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .reviews__layout {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.reviews__image-col {
  border-radius: 20px;
  overflow: hidden;
}

.reviews__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
  .reviews__image {
    aspect-ratio: auto;
    min-height: 480px;
  }
}

.reviews__content-col {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 32px 28px;
}

.reviews__content-col .section__title {
  margin-bottom: 32px;
}

/* ---- Carousel ---- */

.reviews__carousel {
  position: relative;
  min-height: 240px;
}

.reviews__slide {
  display: none;
  flex-direction: column;
  animation: reviewFadeIn 0.4s ease;
}

.reviews__slide--active {
  display: flex;
}

@keyframes reviewFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.reviews__quote {
  font-size: 18px;
  color: #374151;
  line-height: 1.7;
  font-style: italic;
  margin: 16px 0 24px;
}

.reviews__doctor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

/* ---- Review Card Elements (shared) ---- */

.review-card__stars {
  display: flex;
  gap: 2px;
}

.review-card__star {
  color: var(--color-gold);
  font-size: 18px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-card__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-icon-bg, var(--color-gold-bg));
  color: var(--theme-icon-color, var(--color-gold));
  font-size: 16px;
  font-weight: 600;
}

.review-card__author {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.review-card__title {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 2px;
}

/* ---- Carousel Navigation ---- */

.reviews__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.reviews__nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #374151;
  transition: background 0.2s, border-color 0.2s;
}

.reviews__nav-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.reviews__dots {
  display: flex;
  gap: 8px;
}

.reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.reviews__dot--active {
  background: var(--theme-icon-color, var(--color-gold));
  transform: scale(1.2);
}

/* ---- Accordion (FAQs) ---- */

.accordion__item {
  border-bottom: 1px solid #eeeee9;
}

.accordion__item:first-child {
  border-top: 1px solid #eeeee9;
}

.accordion__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 16px;
  transition: color 0.2s;
}

.accordion__trigger:hover {
  color: var(--theme-icon-color, var(--color-gold-dark));
}

.accordion__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fafaf8;
  font-size: 18px;
  font-weight: 300;
  color: #9ca3af;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s,
              color 0.2s;
}

.accordion__item--open .accordion__icon {
  transform: rotate(45deg);
  background: var(--theme-icon-bg, var(--color-gold-bg));
  color: var(--theme-icon-color, var(--color-gold));
}

.accordion__content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
}

.accordion__content-inner {
  padding-bottom: 22px;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
}

.accordion__item--open .accordion__content {
  opacity: 1;
}

/* ---- Blog Hero ---- */

.blog-hero {
  position: relative;
  padding: 100px 0 60px;
  background: #fafaf8;
  overflow: hidden;
}

@media (min-width: 768px) {
  .blog-hero {
    padding: 140px 0 80px;
  }
}

.blog-hero__inner {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.blog-hero__title {
  font-size: 40px;
  font-weight: 700;
  color: #111827;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .blog-hero__title {
    font-size: 56px;
  }
}

.blog-hero__subtitle {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto;
}

.blog-hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #ffffff);
  pointer-events: none;
}

/* ---- Blog Filter Bar ---- */

.blog-filter {
  padding: 24px 0;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.tag-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag-filter__tag {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag-filter__tag:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

.tag-filter__tag--active,
.tag-filter__tag--active:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

/* ---- Blog Featured Post ---- */

.blog-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #ffffff;
  border: 1px solid #eeeee9;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s ease;
}

@media (min-width: 860px) {
  .blog-feature {
    grid-template-columns: 1.1fr 1fr;
  }
}

.blog-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.06),
              0 4px 12px rgba(0, 0, 0, 0.03);
}

.blog-feature__image {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: #f0efea;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 860px) {
  .blog-feature__image {
    aspect-ratio: auto;
    min-height: 400px;
  }
}

.blog-feature:hover .blog-feature__image {
  transform: scale(1.03);
}

.blog-feature__content {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 860px) {
  .blog-feature__content {
    padding: 48px 44px;
  }
}

.blog-feature__kicker {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.blog-feature__title {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .blog-feature__title {
    font-size: 32px;
  }
}

.blog-feature__excerpt {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 24px;
}

.blog-feature__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.blog-feature__author {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.blog-feature__divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d1d5db;
}

.blog-feature__date {
  font-size: 14px;
  color: #9ca3af;
}

.blog-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-feature:hover .blog-feature__cta {
  gap: 12px;
}

/* ---- Blog Grid & Cards ---- */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #eeeee9;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06),
              0 2px 8px rgba(0, 0, 0, 0.02);
  border-color: transparent;
}

.blog-card__image-wrap {
  overflow: hidden;
}

.blog-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-color: #f0efea;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.blog-card__date {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}

.blog-card__tag-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold);
}

.blog-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.blog-card__excerpt {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: auto;
}

.blog-card__read-more svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card__read-more svg {
  transform: translateX(4px);
}

/* ---- Blog Empty State ---- */

.blog-empty {
  text-align: center;
  padding: 80px 0;
}

.blog-empty__icon {
  color: #d1d5db;
  margin-bottom: 20px;
}

.blog-empty__text {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 24px;
}

/* ---- Blog Article (Show Page) ---- */

.blog-article__header {
  padding: 100px 0 40px;
  text-align: center;
}

@media (min-width: 768px) {
  .blog-article__header {
    padding: 120px 0 48px;
  }
}

.blog-article__meta-top {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.blog-article__tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  text-decoration: none;
  padding: 5px 14px;
  border: 1px solid rgba(196, 154, 60, 0.25);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.blog-article__tag:hover {
  background: var(--color-gold-bg);
  border-color: var(--color-gold);
}

.blog-article__title {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .blog-article__title {
    font-size: 48px;
  }
}

.blog-article__lede {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 32px;
}

@media (min-width: 768px) {
  .blog-article__lede {
    font-size: 20px;
  }
}

.blog-article__byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.blog-article__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gold-bg);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.blog-article__author-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.blog-article__author-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.blog-article__date {
  font-size: 13px;
  color: #9ca3af;
}

/* Article Hero Image */

.blog-article__hero-image {
  padding: 0 0 48px;
}

.blog-article__img {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: block;
  border-radius: 20px;
  aspect-ratio: 2/1;
  object-fit: cover;
}

/* ---- Prose (base rich text) ---- */

.prose {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
}

.prose p {
  margin-bottom: 12px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose h1,
.prose h2,
.prose h3 {
  color: #111827;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}

.prose h2 { font-size: 18px; }
.prose h3 { font-size: 16px; }

.prose ul,
.prose ol {
  margin-bottom: 12px;
  padding-left: 40px;
}

.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }

.prose li {
  margin-bottom: 4px;
}

.prose a {
  color: var(--theme-icon-color, var(--color-gold));
  text-decoration: underline;
}

.prose strong {
  color: #374151;
  font-weight: 600;
}

/* Article Body */

.blog-article__body {
  padding-bottom: 48px;
}

.prose--article {
  font-size: 17px;
  line-height: 1.8;
  color: #374151;
}

.prose--article p {
  margin-bottom: 24px;
}

.prose--article h1,
.prose--article h2,
.prose--article h3 {
  color: #111827;
  margin-top: 40px;
  margin-bottom: 16px;
}

.prose--article h2 {
  font-size: 24px;
}

.prose--article h3 {
  font-size: 20px;
}

.prose--article ul,
.prose--article ol {
  margin-bottom: 24px;
}

.prose--article li {
  margin-bottom: 8px;
}

.prose--article blockquote {
  border-left: 3px solid var(--color-gold);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-style: italic;
  color: #6b7280;
  font-size: 18px;
  line-height: 1.7;
}

/* Article Footer */

/* Share & Tags */

.blog-article__share-section {
  padding: 32px 0;
  border-top: 1px solid #eeeee9;
}

.blog-article__share-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-article__footer-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-post__tag {
  font-size: 13px;
  padding: 5px 14px;
  background: #f5f5f0;
  border-radius: var(--radius-full);
  color: #6b7280;
  text-decoration: none;
  transition: all 0.15s ease;
}

.blog-post__tag:hover {
  background: #eeeee9;
  color: #374151;
}

.blog-article__share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-article__share-label {
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
}

.blog-article__share-links {
  display: flex;
  gap: 6px;
}

.blog-article__share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.blog-article__share-btn:hover {
  background: #f3f4f6;
  color: #111827;
  border-color: #d1d5db;
}

/* Prev / Next Navigation */

.blog-article__footer {
  border-top: 1px solid #eeeee9;
  padding: 32px 0;
}

.blog-article__post-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.blog-article__post-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 16px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  flex: 1;
  transition: border-color 0.2s, background 0.2s;
}

.blog-article__post-nav-link:hover {
  border-color: #d1d5db;
  background: #fafafa;
}

.blog-article__post-nav-link--next {
  text-align: right;
  justify-content: flex-end;
}

.blog-article__post-nav-link svg {
  flex-shrink: 0;
  color: #9ca3af;
}

.blog-article__post-nav-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-article__post-nav-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .blog-article__post-nav {
    flex-direction: column;
  }
}

/* ---- About Page ---- */

.about-mission {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 860px) {
  .about-mission {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.about-mission__content .section__title--lg {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .about-mission__content .section__title--lg {
    font-size: 36px;
  }
}

.about-mission__text {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.75;
}

.about-mission__text p {
  margin-bottom: 16px;
}

.about-mission__text p:last-child {
  margin-bottom: 0;
}

.about-mission__img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 4/5;
}

@media (max-width: 859px) {
  .about-mission__img {
    aspect-ratio: 3/2;
  }
}

/* Stats */

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 640px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-stat__number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .about-stat__number {
    font-size: 44px;
  }
}

.about-stat__label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

/* Final CTA */

.about-cta {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.about-cta__title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .about-cta__title {
    font-size: 40px;
  }
}

.about-cta__desc {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 32px;
}

.about-cta__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Questionnaire ---- */

.questionnaire__title {
  font-size: 30px;
  font-weight: 300;
  color: #111827;
  text-align: center;
  margin-bottom: 40px;
}

.questionnaire__progress {
  margin-bottom: 32px;
}

.questionnaire__progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.questionnaire__progress-track {
  height: 8px;
  background: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}

.questionnaire__progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: var(--theme-accent);
  transition: width 0.3s ease;
}

.questionnaire__step {
  padding: 16px 0;
}

.questionnaire__question {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 32px;
  text-align: center;
}

.questionnaire__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.questionnaire__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  text-align: left;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s;
}

.questionnaire__option:hover {
  border-color: #d1d5db;
}

.questionnaire__option--selected {
  border-color: var(--theme-accent);
  background: #f9fafb;
}

.questionnaire__option-check {
  display: none;
  color: var(--theme-accent);
  font-size: 18px;
  font-weight: 700;
}

.questionnaire__option--selected .questionnaire__option-check {
  display: inline;
}

.questionnaire__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.questionnaire__nav-back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}

.questionnaire__nav-back:hover:not(:disabled) {
  color: #111827;
}

.questionnaire__nav-next {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #ffffff;
  background: var(--theme-accent);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.questionnaire__nav-next:hover:not(:disabled) {
  background: var(--theme-accent-hover);
}

.questionnaire__nav-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.questionnaire__results-title {
  font-size: 26px;
  font-weight: 300;
  color: #111827;
  text-align: center;
  margin-bottom: 40px;
}

.questionnaire__retake {
  text-align: center;
  padding: 48px 0 16px;
}

.questionnaire__retake-btn {
  font-size: 14px;
  font-family: inherit;
  color: #6b7280;
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s;
}

.questionnaire__retake-btn:hover {
  color: #111827;
}

.questionnaire__empty-state {
  text-align: center;
  padding: 64px 24px;
}

.questionnaire__empty-text {
  font-size: 18px;
  color: #374151;
  margin-bottom: 8px;
}

.questionnaire__empty-subtext {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 32px;
}

.questionnaire__empty-retake {
  border-radius: 9999px;
}

/* ---- Newsletter ---- */

.newsletter {
  background: var(--theme-newsletter-bg);
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow */
.newsletter::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 154, 60, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter__content .section__kicker {
  color: var(--theme-newsletter-btn-border, var(--color-gold));
}

.newsletter__content .section__title {
  color: var(--theme-newsletter-text);
  font-size: 32px;
}

@media (min-width: 768px) {
  .newsletter__content .section__title {
    font-size: 38px;
  }
}

.newsletter__desc {
  color: var(--theme-newsletter-subtext);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 12px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 32px;
  background: var(--theme-newsletter-input-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 5px;
  transition: border-color 0.25s;
}

.newsletter-form:focus-within {
  border-color: rgba(196, 154, 60, 0.4);
}

.newsletter-form__field {
  flex: 1;
}

.newsletter-form__input {
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  font-family: inherit;
  color: var(--theme-newsletter-text);
  background: transparent;
  border: none;
  outline: none;
}

.newsletter-form__input::placeholder {
  color: var(--theme-newsletter-subtext);
}

.newsletter-form__btn {
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--theme-newsletter-btn-text);
  background: var(--theme-newsletter-btn-bg);
  border: 1px solid var(--theme-newsletter-btn-border, transparent);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.newsletter-form__btn:hover {
  opacity: 0.9;
}

.newsletter__fine-print {
  font-size: 12px;
  color: var(--theme-newsletter-subtext);
  margin-top: 16px;
}

.newsletter__success,
.newsletter__error {
  font-size: 15px;
  font-weight: 500;
  margin-top: 16px;
}

.newsletter__success {
  color: #4ade80;
}

.newsletter__error {
  color: #fca5a5;
}

/* Review section */
.reviews {
  background-color: var(--theme-review-bg);
}

/* ---- Cart Summary ---- */

.cart-summary {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ---- Button variants for storefront ---- */

.btn--pill {
  border-radius: var(--radius-full);
}

.btn--lg {
  height: 48px;
  padding: 0 32px;
  font-size: 15px;
}

.btn--themed {
  background: var(--theme-button-bg);
  color: var(--theme-button-text);
  border-color: var(--theme-button-bg);
}

.btn--themed:hover {
  background: var(--theme-button-hover-bg);
}

/* ---- Section Header Pattern ---- */

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section__header .section__subtitle {
  margin-bottom: 0;
}

.section__kicker {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--theme-kicker-color, var(--color-gold));
  margin-bottom: 14px;
}

.section__title--lg {
  font-size: 32px;
}

@media (min-width: 768px) {
  .section__title--lg {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.03em;
  }
}

/* ---- Dark Hero ---- */

.hero--dark {
  background-color: #333333;
}

/* ---- Why NOWmeds (Value Cards — Bento Grid) ---- */

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

@media (min-width: 640px) {
  .value-card--featured {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .value-card--featured {
    grid-column: span 1;
  }
}

.value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--theme-icon-bg, var(--color-gold-bg));
  color: var(--theme-icon-color, var(--color-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.value-card__title {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.value-card__desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}

/* ---- How It Works (Split + Vertical Timeline) ---- */

.how-it-works {
  background: #1a1a1a;
}

.hiw__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 860px) {
  .hiw__layout {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
}

.how-it-works .section__kicker {
  color: var(--theme-hiw-accent);
}

.hiw__header .section__title {
  color: #ffffff;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

@media (min-width: 860px) {
  .hiw__header .section__title {
    font-size: 44px;
  }
}

.hiw__lead {
  color: #9ca3af;
  font-size: 16px;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 360px;
}

.hiw__cta {
  margin-top: 36px;
  background: var(--theme-hiw-button-bg);
  color: var(--theme-hiw-button-text);
}

.hiw__cta:hover {
  background: var(--theme-hiw-button-hover-bg);
}

/* Steps with vertical line */
.hiw__steps {
  display: flex;
  flex-direction: column;
}

.hiw__step {
  display: flex;
  gap: 24px;
}

.hiw__step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.hiw__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--theme-hiw-accent);
  background: var(--theme-hiw-accent-bg);
  color: var(--theme-hiw-accent);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.hiw__step-line {
  width: 1.5px;
  flex: 1;
  background: repeating-linear-gradient(
    180deg,
    var(--theme-hiw-accent) 0,
    var(--theme-hiw-accent) 6px,
    transparent 6px,
    transparent 12px
  );
  margin: 8px 0;
  min-height: 32px;
}

.hiw__step-content {
  padding-bottom: 40px;
  padding-top: 8px;
}

.hiw__step:last-child .hiw__step-content {
  padding-bottom: 0;
}

.hiw__step-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.hiw__step-desc {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.7;
  max-width: 340px;
}

/* ---- Contact Methods ---- */

/* ---- Contact Methods ---- */

.contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .contact-methods {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-method {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #eeeee9;
  border-radius: 24px;
  padding: 36px 32px;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06),
              0 2px 8px rgba(0, 0, 0, 0.02);
  border-color: transparent;
}

.contact-method__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--color-gold-bg);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-method:hover .contact-method__icon {
  background: #1a1a1a;
  color: #ffffff;
}

.contact-method__title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.contact-method__desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.contact-method__detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.contact-method__detail svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-method:hover .contact-method__detail svg {
  transform: translateX(3px);
}

/* ---- Contact Layout (Form + Sidebar) ---- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: start;
  }
}

/* Form Card */

.contact-form-card {
  background: #ffffff;
  border: 1px solid #eeeee9;
  border-radius: 24px;
  padding: 36px 32px;
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 44px 40px;
  }
}

.contact-form-card__header {
  margin-bottom: 28px;
}

.contact-form-card__header .section__title--lg {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-form-card__header .section__subtitle {
  font-size: 15px;
}

.contact-form-card .form {
  max-width: none;
}

.contact-form-card__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 16px;
}

.contact-form-card__trust svg {
  color: #9ca3af;
  flex-shrink: 0;
}

.contact-form-card__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 12px;
}

/* Sidebar */

.contact-info-card {
  background: #ffffff;
  border: 1px solid #eeeee9;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-card__item {
  display: flex;
  gap: 16px;
}

.contact-info-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--color-gold-bg);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.contact-info-card__text {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
}

/* Response Time Card */

.contact-response-card {
  margin-top: 20px;
  background: #1a1a1a;
  border-radius: 24px;
  padding: 32px;
  text-align: center;
}

.contact-response-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-response-card__title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin-bottom: 8px;
}

.contact-response-card__value {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.contact-response-card__note {
  font-size: 13px;
  color: #6b7280;
}

/* ---- Cart Item ---- */

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  gap: 16px;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item__name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.cart-item__frequency {
  font-size: 14px;
  color: #6b7280;
}

.cart-item__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item__price {
  font-size: 16px;
  font-weight: 600;
}

/* ---- Product Detail Starting Price ---- */

.product-detail__starting-price {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 20px;
}

/* ============================================================
   Product Onboarding Flow
   ============================================================ */

.onboarding {
  min-height: 80vh;
  background: #fafafa;
}

/* Rendered inside the account portal (follow-up visits): no full-page chrome. */
.onboarding--embedded {
  min-height: 0;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

/* ---- Already Subscribed Block ---- */

.onboarding__blocked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  gap: 12px;
}

.onboarding__blocked h2 {
  font-size: 22px;
  font-weight: 600;
  color: #18181b;
  margin: 0;
}

.onboarding__blocked p {
  font-size: 15px;
  color: #6b7280;
  max-width: 400px;
  margin: 0;
}

/* ---- Banner ---- */

.onboarding__banner {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.onboarding__banner-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.onboarding__banner-image {
  width: 56px;
  height: 56px;
  background: #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.onboarding__banner-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.onboarding__banner-name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.onboarding__banner-price {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  margin: 2px 0 0;
}

/* ---- Step Indicator ---- */

.onboarding__steps {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.onboarding__steps-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboarding__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.onboarding__step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #9ca3af;
  transition: all 0.3s;
}

.onboarding__step-circle--active {
  background: var(--theme-accent, #111827);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.onboarding__step-circle--complete {
  background: var(--theme-icon-color, #16a34a);
  color: #ffffff;
}

.onboarding__step-label {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  transition: color 0.3s;
}

.onboarding__step-label--active {
  color: var(--theme-accent, #111827);
}

.onboarding__step-label--complete {
  color: var(--theme-icon-color, #16a34a);
}

.onboarding__step-line {
  width: 64px;
  height: 1px;
  background: #e5e7eb;
  margin: 0 12px;
  margin-bottom: 20px;
  transition: background 0.3s;
}

.onboarding__step-line--complete {
  background: #16a34a;
}

@media (min-width: 640px) {
  .onboarding__step-line {
    width: 96px;
  }
}

/* ---- Step Content ---- */

.onboarding__content {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
}

.onboarding__heading {
  text-align: center;
  margin-bottom: 32px;
}

.onboarding__heading h2 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px;
}

.onboarding__heading p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* ---- Error Banner ---- */

.onboarding__error {
  padding: 12px 16px;
  border-radius: var(--radius-lg, 10px);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 16px;
}

.onboarding__error--info {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

/* ---- Form Fields ---- */

.onboarding__fieldset {
  border: none;
  padding: 0;
  margin: 0 0 24px;
}

.onboarding__legend {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: block;
}

.onboarding__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.onboarding__field {
  margin-bottom: 12px;
}

.onboarding__row .onboarding__field {
  margin-bottom: 0;
}

.onboarding__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.onboarding__label--required::after {
  content: "*";
  color: #dc2626;
  margin-left: 3px;
}

.onboarding__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.onboarding__label-link {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
}

.onboarding__label-link:hover {
  color: #111827;
  text-decoration: underline;
}

.onboarding__input,
.onboarding__select,
.onboarding__textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-lg, 10px);
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.onboarding__input::placeholder,
.onboarding__textarea::placeholder {
  color: #9ca3af;
}

.onboarding__input:hover,
.onboarding__textarea:hover {
  border-color: #9ca3af;
}

.onboarding__input:user-invalid,
.onboarding__textarea:user-invalid {
  border-color: #dc2626;
}

.onboarding__input-group {
  position: relative;
}

.onboarding__input-group .onboarding__input {
  padding-right: 64px;
}

.onboarding__input-addon {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  padding: 6px 10px;
  border: none;
  border-radius: var(--radius-sm, 6px);
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
}

.onboarding__input-addon:hover {
  background: #f3f4f6;
  color: #111827;
}

/* Match the custom dropdown trigger to the taller onboarding inputs. */
.onboarding__field .dropdown__trigger {
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  border-color: #d1d5db;
  border-radius: var(--radius-lg, 10px);
}

.onboarding__field-error {
  font-size: 13px;
  font-weight: 500;
  color: #dc2626;
  margin: 8px 0 0;
}

.onboarding__input--code {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.3em;
  padding: 16px;
}

.onboarding__input:focus,
.onboarding__select:focus,
.onboarding__textarea:focus {
  outline: none;
  border-color: var(--theme-accent, #111827);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-accent, #111827) 14%, transparent);
}

.onboarding__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.onboarding__hint {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 8px 0 0;
}

.onboarding__hint--above {
  margin: -2px 0 10px;
}

/* ---- File Upload Boxes ---- */

.onboarding__upload-box {
  position: relative;
  border: 2px dashed #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.15s;
  cursor: pointer;
}

.onboarding__upload-box:hover {
  border-color: #d1d5db;
}

.onboarding__upload-box--wide {
  padding: 32px 20px;
}

.onboarding__upload-box--uploaded {
  border-color: var(--theme-icon-color, #86efac);
  background: var(--theme-accent-bg, #f0fdf4);
  cursor: default;
}

.onboarding__upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.onboarding__upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #9ca3af;
}

.onboarding__upload-placeholder span {
  font-size: 12px;
  font-weight: 500;
}

.onboarding__upload-placeholder small {
  font-size: 11px;
  color: #9ca3af;
}

.onboarding__upload-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.onboarding__upload-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--theme-icon-bg, #dcfce7);
  color: var(--theme-icon-color, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.onboarding__upload-success span {
  font-size: 12px;
  font-weight: 500;
  color: #15803d;
}

.onboarding__upload-box--static {
  cursor: default;
}

.onboarding__upload-input--hidden {
  inset: auto;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.onboarding__upload-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.onboarding__upload-actions .btn {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: var(--radius-full, 9999px);
}

.onboarding__upload-actions .btn--outline {
  color: #374151;
}

.onboarding__upload-preview {
  display: block;
  width: 100%;
  max-width: 380px;
  max-height: 240px;
  object-fit: contain;
  border-radius: var(--radius-lg, 10px);
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.onboarding__upload-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.onboarding__upload-meta .onboarding__upload-check {
  width: 22px;
  height: 22px;
  font-size: 12px;
}

.onboarding__upload-success .onboarding__upload-meta span:last-child {
  font-size: 13px;
  font-weight: 500;
  color: #15803d;
}

.onboarding__upload-replace {
  margin-top: 10px;
  padding: 4px 8px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: underline;
  cursor: pointer;
}

.onboarding__upload-replace:hover {
  color: #111827;
}

.onboarding__upload-thumb {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-md, 8px);
  border: 1px solid #e5e7eb;
  margin-bottom: 6px;
}

.onboarding__upload-loading span {
  font-size: 12px;
  color: #9ca3af;
}

/* ---- A/V Notice ---- */

.onboarding__av-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #fde68a;
  background: rgba(254, 243, 199, 0.4);
  margin-bottom: 16px;
}

.onboarding__av-notice svg {
  flex-shrink: 0;
  color: #d97706;
  margin-top: 2px;
}

.onboarding__av-title {
  font-size: 14px;
  font-weight: 500;
  color: #92400e;
  margin: 0 0 4px;
}

.onboarding__av-desc {
  font-size: 14px;
  color: #a16207;
  margin: 0;
}

/* ---- Submit / Auth Toggle ---- */

.onboarding__submit {
  padding-top: 8px;
  margin-bottom: 16px;
}

.onboarding__secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  margin-top: 16px;
}

/* ---- Account Card & New/Returning Switch ---- */

.onboarding__card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.onboarding__card .onboarding__heading {
  margin-bottom: 24px;
}

.onboarding__auth-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 28px;
  background: #f3f4f6;
  border-radius: var(--radius-xl, 14px);
}

.onboarding__auth-tab {
  flex: 1;
  padding: 10px 12px;
  border: none;
  border-radius: var(--radius-lg, 10px);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.onboarding__auth-tab:hover {
  color: #111827;
}

.onboarding__auth-tab--active {
  background: #ffffff;
  color: var(--theme-accent, #111827);
  box-shadow: var(--shadow-xs);
}

@media (max-width: 639px) {
  .onboarding__card {
    padding: 20px 16px;
    border-radius: 12px;
  }
}

.onboarding__toggle-auth {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  margin-top: 8px;
}

.onboarding__toggle-link {
  font-weight: 600;
  color: #111827;
  background: none;
  border: none;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}

.onboarding__toggle-link:hover {
  text-decoration: underline;
}

.onboarding__login-form {
  max-width: 360px;
  margin: 0 auto;
}

.onboarding__login-form .onboarding__field {
  margin-bottom: 16px;
}

.onboarding__login-form .btn {
  margin-top: 8px;
}

/* ---- Medical Intake Consent ---- */

.onboarding__consent {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}

.onboarding__consent-icon { color: #6b7280; margin-bottom: 12px; }

.onboarding__consent-title {
  font-size: 22px;
  font-weight: 600;
  color: #18181b;
  margin: 0 0 16px;
}

.onboarding__consent-text {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 12px;
}

.onboarding__consent-list {
  text-align: left;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 24px;
  padding-left: 20px;
}

.onboarding__consent-list li { margin-bottom: 6px; }
.onboarding__consent-list a { color: var(--accent, #2563eb); text-decoration: underline; }

.onboarding__consent-checkbox a { color: var(--accent, #2563eb); text-decoration: underline; }

.onboarding__consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 14px;
  color: #18181b;
  cursor: pointer;
  margin-bottom: 20px;
  justify-content: center;
}

.onboarding__consent-checkbox input { margin-top: 3px; flex-shrink: 0; }

.onboarding__pcp-notice {
  margin-top: 16px;
  padding: 12px 16px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  font-size: 14px;
  color: #0c4a6e;
  line-height: 1.5;
}

.onboarding__pcp-notice a { color: #0369a1; font-weight: 500; }

/* ---- Questionnaire Step ---- */

.onboarding__q-progress {
  margin-bottom: 40px;
}

.onboarding__q-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 8px;
}

.onboarding__q-progress-track {
  height: 6px;
  background: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}

.onboarding__q-progress-fill {
  height: 100%;
  background: var(--theme-accent, #111827);
  border-radius: 9999px;
  transition: width 0.5s ease;
}

.onboarding__q-container {
  max-width: 480px;
  margin: 0 auto;
}

.onboarding__q-question {
  text-align: center;
  margin-bottom: 32px;
}

.onboarding__q-question ul {
  text-align: left;
}

.onboarding__q-question h3 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px;
}

.onboarding__q-desc {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  text-align: left;
}

.onboarding__q-answers {
  margin-bottom: 40px;
}

.onboarding__q-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.onboarding__q-options--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.onboarding__q-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #111827;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
}

.onboarding__q-option:hover {
  border-color: #d1d5db;
}

.onboarding__q-option--selected {
  border-color: #111827;
  background: #f9fafb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.onboarding__q-option-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #111827;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.onboarding__q-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.15s;
}

.onboarding__q-checkbox--checked {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.onboarding__q-file-done {
  padding: 16px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 14px;
  font-weight: 500;
}

.onboarding__q-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto;
}

/* ---- Add to Cart Step ---- */

.onboarding__cart-success {
  text-align: center;
  padding: 32px 0;
}

.onboarding__cart-check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--theme-icon-bg, #dcfce7);
  color: var(--theme-icon-color, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.onboarding__cart-success h2 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px;
}

.onboarding__cart-success p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.onboarding__tiers {
  max-width: 360px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.onboarding__tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
}

.onboarding__tier:hover {
  border-color: #d1d5db;
}

.onboarding__tier--selected {
  border-color: #111827;
  background: #f9fafb;
}

.onboarding__tier-label {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

.onboarding__tier-price {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.onboarding__cart-actions {
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.onboarding__added-state {
  text-align: center;
}

.onboarding__added-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .onboarding__row {
    grid-template-columns: 1fr;
  }

  .onboarding__q-options--grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Checkout Flow
   ============================================================ */

.checkout {
  min-height: 80vh;
}

.checkout__empty {
  text-align: center;
  padding: 80px 24px;
}

.checkout__empty svg {
  margin: 0 auto 24px;
}

.checkout__empty h1 {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 12px;
}

.checkout__empty p {
  color: #6b7280;
  margin: 0 0 24px;
}

.checkout__main {
  max-width: 1024px;
  margin: 0 auto;
  padding: 40px 24px;
}

.checkout__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 32px;
}

.checkout__breadcrumb a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}

.checkout__breadcrumb a:hover {
  color: #374151;
}

.checkout__breadcrumb-sep {
  font-size: 16px;
}

.checkout__breadcrumb--active {
  color: #111827;
  font-weight: 500;
}

.checkout__grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .checkout__grid {
    grid-template-columns: 3fr 2fr;
  }
}

.checkout__section-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 20px;
}

.checkout__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout__field-row {
  display: grid;
  gap: 12px;
}

.checkout__field-row--4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .checkout__field-row--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.checkout__summary {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
}

.checkout__order-items {
  margin-bottom: 20px;
}

.checkout__order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.checkout__order-item-image {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.checkout__order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkout__order-item-placeholder {
  width: 100%;
  height: 100%;
  background: #e5e7eb;
}

.checkout__order-item-info {
  flex: 1;
  min-width: 0;
}

.checkout__order-item-name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout__order-item-price {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

.checkout__order-item-price small {
  font-weight: 400;
  color: #6b7280;
  font-size: 12px;
  margin-left: 2px;
}

.checkout__order-item-tier {
  font-size: 13px;
  color: #6b7280;
}

.checkout__order-item-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.checkout__remove-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s;
}

.checkout__remove-btn:hover {
  color: #ef4444;
}

.checkout__shipping-toggle {
  border-top: 1px solid #e5e7eb;
  padding: 16px 0 4px;
}

.checkout__shipping-toggle-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkout__shipping-toggle-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #111827;
  cursor: pointer;
}

.checkout__shipping-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: #111827;
}

.checkout__shipping-toggle-text small {
  font-size: 12px;
  color: #6b7280;
  font-weight: 400;
}

.checkout__totals {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
  margin-bottom: 16px;
}

.checkout__totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #6b7280;
  padding: 4px 0;
}

.checkout__totals-row span:last-child {
  color: #111827;
}

.checkout__totals-row--total {
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
}

.checkout__totals-row--total span {
  color: #111827;
}

.checkout__totals-row--discount span:last-child {
  color: #15803d;
}

/* ---- Coupon ---- */

.checkout__coupon {
  margin: 16px 0;
}

.checkout__coupon-input {
  display: flex;
  gap: 8px;
}

.checkout__coupon-field {
  flex: 1;
  text-transform: uppercase;
}

.checkout__coupon-field::placeholder {
  text-transform: none;
}

.checkout__coupon-applied {
  display: flex;
}

.checkout__coupon-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md, 8px);
}

.checkout__coupon-remove {
  border: none;
  background: none;
  color: #15803d;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.checkout__coupon-error {
  margin: 8px 0 0;
  font-size: 13px;
  color: #dc2626;
}

.checkout__disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-muted, #6b7280);
  margin: 12px 0 0;
}

.checkout__stripe-element {
  margin-bottom: 24px;
}

.checkout__payment-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout__pay-btn {
  flex: 1;
}

/* ---- Success page ---- */

.checkout__success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  margin: 0 auto 24px;
}

.checkout__success-text {
  font-size: 16px;
  color: #6b7280;
  max-width: 480px;
  margin: 0 auto;
}

.btn--outline {
  padding: 12px 24px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-full, 9999px);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
}

.btn--outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

/* Sitemap page */
.sitemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.sitemap__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.sitemap__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sitemap__link {
  color: var(--color-foreground);
  text-decoration: none;
}

.sitemap__link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ---------------------------------- */
/* Promo popup (email capture)        */
/* ---------------------------------- */

.promo-popup {
  /* The global `* { margin: 0 }` reset removes the UA's `margin: auto`
     that centers a modal dialog — restore it. */
  margin: auto;
  border: none;
  border-radius: var(--radius-xl);
  padding: 0;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: var(--shadow-lg, 0 20px 40px rgba(0, 0, 0, 0.2));
}

.promo-popup::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.promo-popup[open] {
  animation: promo-popup-in 0.25s ease-out;
}

@keyframes promo-popup-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.promo-popup__content {
  position: relative;
  padding: 36px 28px 28px;
  text-align: center;
}

.promo-popup__decline {
  display: block;
  margin: 14px auto 0;
  border: none;
  background: none;
  font-size: 13px;
  color: var(--color-muted-foreground);
  text-decoration: underline;
  cursor: pointer;
}

.promo-popup__decline:hover {
  color: var(--color-foreground);
}

.promo-popup__success-btn {
  margin-top: 16px;
}

.promo-popup__kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.promo-popup__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 10px;
}

.promo-popup__desc {
  font-size: 15px;
  color: var(--color-muted-foreground);
  margin-bottom: 18px;
}

.promo-popup__error {
  font-size: 14px;
  color: var(--color-danger-text);
  margin-bottom: 10px;
}

.promo-popup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-popup-form__input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid var(--color-input);
  border-radius: var(--radius-md);
}

.promo-popup-form__input:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: -1px;
  border-color: var(--color-gold);
}

.promo-popup-form__btn {
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--color-gold);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s ease;
}

.promo-popup-form__btn:hover {
  background: var(--color-gold-dark);
}

.promo-popup__fine-print {
  margin-top: 14px;
  font-size: 12px;
  color: var(--color-muted-foreground);
}

.promo-popup__success-lead {
  font-size: 15px;
  color: var(--color-foreground);
  margin-bottom: 12px;
}

.promo-popup__code {
  display: inline-block;
  padding: 10px 26px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-gold-dark);
  background: var(--color-gold-bg);
  border: 2px dashed var(--color-gold);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.promo-popup__success-note {
  font-size: 13px;
  color: var(--color-muted-foreground);
}

/* ---- Content Page Templates (hub / child) ---- */

.section--tight {
  padding: 48px 0 0;
}

@media (min-width: 768px) {
  .section--tight {
    padding: 64px 0 0;
  }
}

.page-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-intro {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
}

.page-intro__img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.page-intro__text p {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-intro__text p:last-child {
  margin-bottom: 0;
}

.condition-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .condition-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .condition-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.condition-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}

.condition-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.condition-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.condition-card__desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 20px;
}

.condition-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.condition-card__cta:hover {
  background: var(--color-gold-dark);
}

.section--flush-top {
  padding-top: 0;
}

/* ============================================
   Guided Camera Capture (photo-capture)
   ============================================ */

html.capture-open,
html.capture-open body {
  overflow: hidden;
}

/* Third-party floating widgets (live chat, accessibility) would sit on top of
   the viewfinder; hide them while the camera is open. */
html.capture-open #tlx-webchat-container,
html.capture-open .asw-container,
html.capture-open .asw-menu-btn,
html.capture-open .asw-widget {
  display: none !important;
}

.capture {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  background: #000;
  color: #ffffff;
}

.capture [hidden] {
  display: none !important;
}

.capture__stage {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.capture__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capture__outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.capture__frame {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(88vw, 560px);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.capture__guide {
  width: 100%;
  aspect-ratio: 1.586; /* ID-1 card */
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  box-shadow: 0 0 0 200vmax rgba(0, 0, 0, 0.55);
  transition: border-color 0.2s, background 0.2s;
}

.capture__guide--ready {
  border-color: #22c55e;
  box-shadow: 0 0 0 200vmax rgba(0, 0, 0, 0.55), 0 0 0 5px rgba(34, 197, 94, 0.35);
}

.capture__guide--flash {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.35);
}

.capture__status {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.capture__tip {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 120px;
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.capture__topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

.capture__cancel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 8px 8px;
  border: none;
  border-radius: var(--radius-full, 9999px);
  background: rgba(0, 0, 0, 0.35);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
}

.capture__title {
  font-size: 15px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.capture__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.capture__shutter {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.capture__shutter:active {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(0.94);
}

.capture__review {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  overflow-y: auto;
}

.capture__review-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.capture__result {
  width: min(92vw, 640px);
  max-height: 55vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.capture__review-text {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.capture__review-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.capture__review-actions .btn--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---- Search form (404 page, search page) ---- */

.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  padding: 6px 6px 6px 18px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form:focus-within {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 4px var(--theme-accent-bg);
}

.search-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.search-form__icon {
  flex: none;
  color: var(--color-muted-foreground);
}

.search-form__input {
  flex: 1;
  min-width: 0;
  padding: 10px 4px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-foreground);
  background: transparent;
  border: none;
  outline: none;
}

.search-form__input::placeholder {
  color: var(--color-muted-foreground);
}

.search-form__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-form__btn {
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--theme-button-text);
  background: var(--theme-button-bg);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.search-form__btn:hover {
  background: var(--theme-button-hover-bg);
}

/* ---- Error pages (404 / 422 / 500) and search page ---- */

.error-page__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.error-page__title {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .error-page__title {
    font-size: 52px;
  }
}

.error-page__desc {
  font-size: 17px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 32px;
}

.error-page__path {
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: #111827;
  background: var(--color-muted);
  border-radius: var(--radius-sm);
  word-break: break-all;
}

.error-page__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---- Category directory (treatment areas grouped by section) ---- */

.category-directory {
  display: grid;
  gap: 24px;
  margin-top: 64px;
}

@media (min-width: 768px) {
  .category-directory {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-directory__group {
  padding: 28px;
  background: var(--theme-accent-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.category-directory__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.category-directory__title:hover {
  color: var(--theme-accent);
}

.category-directory__title svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-directory__title:hover svg {
  transform: translateX(3px);
}

.category-directory__subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 18px;
}

.category-directory__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-directory__link {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.category-directory__link:hover {
  color: var(--theme-button-text);
  background: var(--theme-button-bg);
  border-color: var(--theme-button-bg);
}

/* ---- Search results ---- */

.search-results__group {
  margin-top: 56px;
}

.search-results__heading {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.search-results__categories + .search-results__categories {
  margin-top: 20px;
}

.search-results__subheading {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--theme-kicker-color, var(--color-gold));
  margin-bottom: 10px;
}

/* ---- Guided category page ---- */

.section__kicker--center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .page-intro--text-only {
    grid-template-columns: 1fr;
    max-width: 720px;
  }
}

.page-intro__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.page-intro__note {
  margin-top: 20px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* Product card presented for reading only (no purchase link) */

.product-card--static {
  cursor: default;
}

.product-card--static:hover {
  transform: none;
  box-shadow: none;
  border-color: #e5e7eb;
}

.product-card--static:hover .product-card__img {
  transform: none;
}

.product-card__ingredients {
  margin-top: 12px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

/* Comparison table */

.compare {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #ffffff;
}

.compare__table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  color: #374151;
}

.compare__corner,
.compare__label {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fafaf8;
  text-align: left;
  font-weight: 600;
  color: #111827;
  min-width: 160px;
  padding: 20px 24px;
  border-right: 1px solid #e5e7eb;
}

.compare__corner {
  border-bottom: 1px solid #e5e7eb;
}

.compare__product {
  padding: 24px 20px 20px;
  text-align: center;
  vertical-align: bottom;
  border-bottom: 1px solid #e5e7eb;
  min-width: 180px;
}

.compare__product-image {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #fafaf8;
}

.compare__product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compare__product-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.compare__cell {
  padding: 20px 24px;
  text-align: center;
  vertical-align: top;
  line-height: 1.6;
}

.compare__row + .compare__row .compare__cell,
.compare__row + .compare__row .compare__label {
  border-top: 1px solid #f3f4f6;
}

.compare__na {
  font-size: 13px;
  color: #9ca3af;
}

/* Questionnaire exit link */

.questionnaire__exit {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
}

.questionnaire__exit a {
  color: #6b7280;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.questionnaire__exit a:hover {
  color: #111827;
}

/* ---- Questionnaire: step transitions, interstitial, results reveal ---- */

@keyframes questionnaire-slide-forward {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes questionnaire-slide-backward {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.questionnaire__step--enter-forward {
  animation: questionnaire-slide-forward 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.questionnaire__step--enter-backward {
  animation: questionnaire-slide-backward 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.questionnaire__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0 8px;
  animation: questionnaire-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes questionnaire-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.questionnaire__loading-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 32px;
}

.questionnaire__loading-ring svg {
  display: block;
  transform: rotate(-90deg);
}

.questionnaire__loading-track,
.questionnaire__loading-progress {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
}

.questionnaire__loading-track {
  stroke: var(--theme-accent-bg, #f3f4f6);
}

.questionnaire__loading-progress {
  stroke: var(--theme-accent);
  stroke-dasharray: 326.7; /* 2πr, r = 52 */
  stroke-dashoffset: 326.7;
  animation: questionnaire-ring var(--loading-duration, 3000ms) cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes questionnaire-ring {
  to { stroke-dashoffset: 0; }
}

.questionnaire__loading-pulse {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: var(--theme-accent);
  opacity: 0.12;
  animation: questionnaire-pulse 1.6s ease-in-out infinite;
}

@keyframes questionnaire-pulse {
  0%, 100% { transform: scale(0.85); opacity: 0.1; }
  50%      { transform: scale(1);    opacity: 0.2; }
}

.questionnaire__loading-title {
  font-size: 26px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .questionnaire__loading-title {
    font-size: 30px;
  }
}

.questionnaire__loading-sub {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 36px;
}

.questionnaire__loading-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
  text-align: left;
}

.questionnaire__loading-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.questionnaire__loading-step--active,
.questionnaire__loading-step--done {
  color: #111827;
}

.questionnaire__loading-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.questionnaire__loading-step--active .questionnaire__loading-check {
  border-color: var(--theme-accent);
  border-top-color: transparent;
  animation: questionnaire-spin 0.8s linear infinite;
}

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

.questionnaire__loading-step--done .questionnaire__loading-check {
  border-color: var(--theme-accent);
  background: var(--theme-accent);
}

.questionnaire__loading-step--done .questionnaire__loading-check::after {
  content: "";
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* Results reveal: header first, then cards stagger in */

.questionnaire__results .section__header {
  margin-bottom: 40px;
}

.questionnaire__results--enter .section__header {
  animation: questionnaire-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.questionnaire__results--enter .product-grid > *,
.questionnaire__results--enter .questionnaire__empty-state {
  animation: questionnaire-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.questionnaire__results--enter .product-grid > :nth-child(1) { animation-delay: 0.15s; }
.questionnaire__results--enter .product-grid > :nth-child(2) { animation-delay: 0.25s; }
.questionnaire__results--enter .product-grid > :nth-child(3) { animation-delay: 0.35s; }
.questionnaire__results--enter .product-grid > :nth-child(4) { animation-delay: 0.45s; }
.questionnaire__results--enter .product-grid > :nth-child(5) { animation-delay: 0.55s; }
.questionnaire__results--enter .product-grid > :nth-child(6) { animation-delay: 0.65s; }
.questionnaire__results--enter .product-grid > :nth-child(n+7) { animation-delay: 0.75s; }

@media (prefers-reduced-motion: reduce) {
  .questionnaire__step--enter-forward,
  .questionnaire__step--enter-backward,
  .questionnaire__loading,
  .questionnaire__loading-pulse,
  .questionnaire__loading-step--active .questionnaire__loading-check,
  .questionnaire__results--enter .section__header,
  .questionnaire__results--enter .product-grid > *,
  .questionnaire__results--enter .questionnaire__empty-state {
    animation: none;
  }

  .questionnaire__loading-progress {
    animation-duration: 0.01ms;
  }
}
