/* ============================================================
   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;
}

.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); }

/* ---- 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;
}

.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 {
  aspect-ratio: 16/9;
  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;
}

/* ---- 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 {
  aspect-ratio: 3/2;
  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;
}

/* ---- 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: 16px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 14px;
  margin-bottom: 24px;
}

/* ---- 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: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.onboarding__input,
.onboarding__select,
.onboarding__textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.15s;
  box-sizing: border-box;
}

.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: #9ca3af;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.05);
}

.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: 14px;
  color: #6b7280;
  margin: -8px 0 16px;
}

/* ---- 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-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 {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  margin-top: 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;
}

.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__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;
}
