/* ==========================================================================
   AROMA HAVEN - PAGE-SPECIFIC STYLESHEET
   Shared tokens/base/components are loaded from tokens.css/base.css/components.css
   ========================================================================== */

/* 6. LANDING PAGE */

/* 6A. Personality Quiz */
.ah-quiz-main {
  padding: clamp(1.25rem, 2.8vw, 2.5rem) 0 clamp(2.4rem, 4.8vw, 4rem);
}

.ah-quiz-shell {
  max-width: 1020px;
  border: 1px solid rgba(42, 32, 28, 0.11);
  background:
    radial-gradient(circle at top right, rgba(117, 90, 74, 0.09), transparent 58%),
    var(--ah-surface);
  box-shadow: 0 18px 42px rgba(42, 32, 28, 0.07);
  border-radius: 1.3rem;
  padding: clamp(1.2rem, 2vw, 2rem);
}

.ah-quiz-head {
  display: grid;
  gap: 0.9rem;
}

.ah-quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ah-quiz-link {
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--ah-espresso);
}

.ah-quiz-link:hover,
.ah-quiz-link:focus-visible {
  color: var(--ah-terracotta);
}

.ah-quiz-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--ah-espresso);
}

.ah-quiz-title {
  margin: 0;
  font-family: var(--ah-font-serif);
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
  color: var(--ah-espresso);
}

.ah-quiz-copy {
  margin: 0;
  color: var(--ah-cortado);
  line-height: 1.6;
  max-width: 65ch;
}

.ah-quiz-progress-wrap {
  display: grid;
  gap: 0.4rem;
}

.ah-quiz-progress {
  height: 0.52rem;
  border-radius: 999px;
  background: rgba(42, 32, 28, 0.15);
  overflow: hidden;
}

.ah-quiz-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ah-sage), var(--ah-terracotta));
  transition: width 220ms ease;
}

.ah-quiz-progress-copy {
  margin: 0;
  color: var(--ah-cortado);
  font-size: 0.9rem;
}

.ah-quiz-grid {
  list-style: none;
  margin: clamp(1.2rem, 2.3vw, 1.8rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ah-quiz-grid li {
  min-width: 0;
}

.ah-quiz-option {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  text-decoration: none;
  background: var(--ah-steamed);
  border: 1px solid rgba(42, 32, 28, 0.11);
  border-radius: 1rem;
  padding: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ah-quiz-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 26px rgba(42, 32, 28, 0.09);
  border-color: rgba(117, 90, 74, 0.4);
}

.ah-quiz-option:focus-visible {
  outline: 3px solid rgba(117, 90, 74, 0.38);
  outline-offset: 2px;
}

.ah-quiz-option-image {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.ah-quiz-option-title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ah-espresso);
  font-family: var(--ah-font-serif);
}

.ah-quiz-option-hint {
  margin: 0;
  color: var(--ah-cortado);
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .ah-quiz-shell {
    border-radius: 1rem;
    padding: 1rem;
  }

  .ah-quiz-actions {
    gap: 0.5rem 1rem;
  }

  .ah-quiz-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .ah-quiz-option-image {
    width: 74px;
    height: 74px;
  }
}



.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 900px;
  padding: 3rem 1.5rem;
}

.products-grid .card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  min-height: 350px;
  background-color: var(--ah-steamed);
  box-shadow: 0px 4px 12px rgba(42, 32, 28, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  align-items: center;
}

.products-grid .card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.products-grid .card button {
  margin-top: auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: var(--ah-steamed);
  box-shadow: 0px 4px 12px rgba(42, 32, 28, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 12px 24px rgba(42, 32, 28, 0.08);
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Story Page */
.ah-story-body {
  background: #efe8dc;
}

.ah-story-main {
  background: #f4efe5;
  color: var(--ah-espresso);
}

.ah-story-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(42, 32, 28, 0.8);
}

.ah-story-hero-cta {
  min-width: min(260px, 100%);
}

.ah-story-chapter {
  padding: clamp(2.8rem, 6.6vw, 5.8rem) 0;
}

.ah-story-chapter-soft {
  background: #f4efe5;
}

.ah-story-chapter-deep {
  background: #ebe2d5;
}

.ah-story-section-title {
  font-family: "Fraunces", var(--ah-font-serif);
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  line-height: 1.1;
  color: var(--ah-espresso);
}

.ah-story-copy {
  color: #4d403c;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.68;
  max-width: 52ch;
}

.ah-story-image {
  width: 100%;
  height: clamp(280px, 44vw, 560px);
  object-fit: cover;
  object-position: center;
}

.ah-story-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.ah-story-list li {
  position: relative;
  padding-left: 1.1rem;
  color: #3d322f;
  line-height: 1.55;
}

.ah-story-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--ah-terracotta);
}

.ah-story-final {
  width: min(980px, 100%);
}

.ah-story-final-cta {
  min-width: min(240px, 100%);
}

.ah-story-chapter .row > * {
  animation: ahStoryRise 500ms ease both;
}

@keyframes ahStoryRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .ah-story-copy {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .ah-story-main {
    overflow-x: hidden;
  }

  .ah-story-image {
    height: 260px;
  }

  .ah-story-hero-cta,
  .ah-story-final-cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-story-chapter .row > * {
    animation: none !important;
  }
}

.brew-guides-banner {
  height: 240px;
  max-height: 320px;
  overflow: hidden;
}

.ah-display {
  font-family: var(--bs-font-sans-serif);
  font-size: clamp(2.25rem, 4.8vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ah-espresso);
}

.ah-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ah-cortado);
  max-width: 32rem;
}

.ah-features {
  padding: 5rem 0;
}

.ah-feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.ah-feature-text {
  font-family: var(--ah-font-serif);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ah-espresso);
}

.ah-guide-card {
  min-height: 230px;
}

.ah-guide-image {
  width: 100%;
  max-width: 302px;
  height: 227px;
  object-fit: cover;
  flex-shrink: 0;
}
.ah-guide-title {
  font-family: var(--ah-font-serif);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--ah-espresso);
  margin: 0;
}

.ah-guide-copy {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ah-espresso);
}

.ah-guide-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ah-espresso);
}

.ah-guide-link:hover {
  color: var(--ah-terracotta);
}

.ah-outline-square {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
  padding: 0.6rem 2rem;
}

/* 7. AUTH PAGES (FULL REBUILD) */
.ah-auth-body {
  background: #ebe5d8;
}

.ah-auth-page {
  padding: clamp(0.65rem, 1.8vw, 1.5rem);
}

.ah-auth-layout {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 2fr) minmax(540px, 3fr);
  background: #f3eee4;
  border: 1px solid var(--ah-border-soft);
  box-shadow: 0 14px 38px rgba(42, 32, 28, 0.08);
  overflow: clip;
}

.ah-auth-media {
  position: relative;
  min-width: 0;
  display: flex;
}

.ah-auth-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.03);
}

.ah-auth-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 32, 28, 0.62), rgba(42, 32, 28, 0.26) 45%, rgba(42, 32, 28, 0.08) 74%, rgba(42, 32, 28, 0));
}

.ah-auth-media-copy {
  position: absolute;
  inset: auto clamp(1.15rem, 2vw, 2.2rem) clamp(1.2rem, 2.2vw, 2.4rem);
  z-index: 1;
  color: #f7f3ea;
  max-width: 30ch;
}

.ah-auth-media-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.55rem 0;
}

.ah-auth-media-title {
  margin: 0;
  font-family: "Fraunces", var(--ah-font-serif);
  font-size: clamp(1.8rem, 3.35vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.ah-auth-media-note {
  margin: 0.7rem 0 0 0;
  font-size: clamp(0.95rem, 1.45vw, 1.2rem);
  line-height: 1.42;
}

.ah-auth-panel-wrap {
  padding: clamp(1.1rem, 2.7vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.ah-auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.ah-auth-back {
  text-decoration: none;
  color: var(--ah-cortado);
  font-size: var(--ah-text-sm);
  border-radius: var(--ah-radius-pill);
  padding: 0.2rem 0.5rem;
}

.ah-auth-back:hover {
  color: var(--ah-terracotta);
  background: rgba(193, 92, 61, 0.08);
}

.ah-auth-brand {
  font-size: var(--ah-text-xs);
  letter-spacing: var(--ah-letter-wide);
  text-transform: uppercase;
  color: var(--ah-cortado);
}

.ah-auth-panel {
  width: min(700px, 100%);
  background: rgba(252, 249, 243, 0.9);
  border: 1px solid var(--ah-border-soft);
  padding: clamp(1.15rem, 2vw, 1.75rem);
}

.ah-auth-title {
  margin: 0 0 0.35rem 0;
  font-family: "Fraunces", var(--ah-font-serif);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 1.08;
  color: var(--ah-espresso);
}

.ah-auth-subtitle {
  margin: 0 0 1.05rem 0;
  font-size: var(--ah-text-md);
  line-height: 1.55;
  color: var(--ah-cortado);
  max-width: 52ch;
}

.ah-auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ah-auth-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.ah-auth-label {
  font-size: var(--ah-text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ah-espresso);
}

.ah-auth-input {
  border: 1px solid var(--ah-border-mid);
  background: #fcfaf6;
  border-radius: var(--ah-radius-sm);
  padding: 0.7rem 0.9rem;
  min-height: 46px;
}

.ah-auth-input:focus {
  border-color: var(--ah-terracotta);
  box-shadow: 0 0 0 0.2rem rgba(193, 92, 61, 0.16);
}

.ah-auth-footnote {
  margin: 0.35rem 0 0 0;
  font-size: 0.82rem;
  color: var(--ah-cortado);
}

.ah-auth-link {
  text-decoration: none;
  color: var(--ah-terracotta);
}

.ah-auth-link:hover {
  color: var(--ah-terracotta-hover);
  text-decoration: underline;
}

.ah-auth-link:focus-visible,
.ah-auth-back:focus-visible,
.ah-auth-btn:focus-visible,
.ah-auth-input:focus-visible {
  outline: 3px solid rgba(193, 92, 61, 0.45);
  outline-offset: 2px;
}

.ah-auth-btn {
  margin-top: 0.2rem;
}

.ah-auth-trust {
  margin: 0.55rem 0 0 0;
  font-size: 0.79rem;
  color: var(--ah-cortado);
}

.ah-auth-error {
  color: #8f2f1f;
  font-size: var(--ah-text-sm);
  line-height: 1.4;
}

.ah-auth-panel,
.ah-auth-media-copy {
  animation: ahAuthFadeUp 440ms ease both;
}

@keyframes ahAuthFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .ah-auth-layout {
    grid-template-columns: 1fr;
  }

  .ah-auth-media {
    display: block;
  }

  .ah-auth-media img {
    height: auto;
  }

  .ah-auth-panel-wrap {
    padding: clamp(0.95rem, 4vw, 1.35rem);
  }

  .ah-auth-panel {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .ah-auth-grid-2 {
    grid-template-columns: 1fr;
  }

  .ah-auth-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-auth-panel,
  .ah-auth-media-copy {
    animation: none !important;
  }
}

/* =========================================================================
   8. CART DRAWER
   Checkout-first layout with sticky CTA
   ========================================================================= */
.ah-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 32, 28, 0.42);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ah-cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ah-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100dvh;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  background: #f8f4ec;
  border-left: 1px solid rgba(42, 32, 28, 0.14);
  box-shadow: -18px 0 36px rgba(24, 17, 12, 0.16);
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

.ah-cart-drawer.open {
  transform: translateX(0);
}

body.ah-cart-open {
  overflow: hidden;
}

.ah-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.9rem;
  flex-shrink: 0;
}

.ah-cart-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ah-espresso);
}

.ah-cart-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(42, 32, 28, 0.18);
  border-radius: 999px;
  background: #fcfaf6;
  color: var(--ah-espresso);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ah-cart-close:hover {
  border-color: rgba(193, 92, 61, 0.55);
  color: var(--ah-terracotta);
}

.ah-cart-divider {
  height: 1px;
  background: rgba(42, 32, 28, 0.1);
  flex-shrink: 0;
}

.ah-cart-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.9rem 1rem max(1rem, env(safe-area-inset-bottom));
  display: grid;
  gap: 0.95rem;
  align-content: start;
}

.ah-cart-primary {
  display: grid;
  gap: 0.75rem;
}

.ah-cart-body {
  border: 1px dashed rgba(42, 32, 28, 0.17);
  border-radius: var(--ah-radius-md);
  background: rgba(252, 250, 246, 0.86);
  padding: 1.45rem 1rem;
}

.ah-cart-empty-icon {
  color: var(--ah-espresso);
  width: 48px;
  height: 48px;
}

.ah-cart-empty-title {
  font-family: var(--ah-font-serif);
  font-size: 1.14rem;
  color: var(--ah-espresso);
  margin-bottom: 0.25rem;
}

.ah-cart-empty-sub {
  font-size: 0.82rem;
  color: rgba(42, 32, 28, 0.74);
  margin-bottom: 0;
}

.ah-cart-items {
  display: grid;
  gap: 0.6rem;
}

.ah-cart-item {
  display: flex;
  gap: 0.72rem;
  padding: 0.7rem;
  border: 1px solid rgba(42, 32, 28, 0.11);
  border-radius: 0.55rem;
  background: #fcfaf6;
}

.ah-cart-item-img {
  width: 74px;
  min-width: 74px;
  height: 86px;
  object-fit: cover;
  border-radius: 0.35rem;
  flex-shrink: 0;
}

.ah-cart-item-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ah-cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.45rem;
}

.ah-cart-item-name {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.32;
  color: var(--ah-espresso);
}

.ah-cart-item-origin {
  font-size: 0.74rem;
  color: var(--ah-cortado);
}

.ah-cart-item-price {
  font-family: var(--ah-font-serif);
  font-size: 0.9rem;
  line-height: 1.2;
  color: var(--ah-espresso);
  white-space: nowrap;
}

.ah-cart-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0.25rem 0 0.45rem;
}

.ah-cart-item-tags:empty {
  display: none;
}

.ah-cart-item-tag {
  border: 1px solid rgba(42, 32, 28, 0.35);
  border-radius: var(--ah-radius-pill);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ah-cortado);
  padding: 0.11rem 0.38rem;
}

.ah-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

.ah-cart-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(42, 32, 28, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--ah-espresso);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ah-cart-qty-btn:hover {
  border-color: rgba(193, 92, 61, 0.55);
  background: rgba(193, 92, 61, 0.08);
}

.ah-cart-qty-num {
  min-width: 1.15rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ah-espresso);
}

.ah-cart-checkout-wrap {
  position: sticky;
  bottom: 0;
  z-index: 3;
  background: linear-gradient(to top, #f8f4ec 76%, rgba(248, 244, 236, 0));
  padding-top: 0.8rem;
}

.ah-cart-checkout-btn {
  width: 100%;
  min-height: var(--ah-touch-target);
  border: none;
  border-radius: var(--ah-radius-pill);
  background: var(--ah-terracotta);
  color: var(--ah-oat);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ah-cart-checkout-btn:hover {
  background: var(--ah-terracotta-hover);
}

.ah-cart-recs-wrap {
  border-top: 1px solid rgba(42, 32, 28, 0.12);
  padding-top: 0.8rem;
  display: grid;
  gap: 0.58rem;
}

.ah-cart-rec-label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(42, 32, 28, 0.62);
}

.ah-cart-recs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.ah-cart-rec-card {
  border: 1px solid rgba(42, 32, 28, 0.1);
  border-radius: 0.48rem;
  background: rgba(252, 250, 246, 0.92);
  padding: 0.45rem;
  display: grid;
  gap: 0.35rem;
}

.ah-cart-rec-img-wrap {
  position: relative;
  border-radius: 0.35rem;
  overflow: hidden;
}

.ah-cart-rec-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ah-cart-rec-roast {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  background: rgba(248, 244, 236, 0.94);
  border: 1px solid rgba(42, 32, 28, 0.16);
  border-radius: var(--ah-radius-pill);
  color: var(--ah-espresso);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.12rem 0.32rem;
}

.ah-cart-rec-info {
  display: flex;
  justify-content: space-between;
  gap: 0.32rem;
}

.ah-cart-rec-name {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ah-espresso);
}

.ah-cart-rec-origin {
  font-size: 0.62rem;
  color: rgba(42, 32, 28, 0.65);
}

.ah-cart-rec-price {
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ah-espresso);
}

.ah-cart-rec-add-btn {
  border: 0;
  background: transparent;
  color: var(--ah-cortado);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.1rem 0;
  cursor: pointer;
}

.ah-cart-rec-add-btn:hover {
  color: var(--ah-terracotta);
}

.ah-cart-footer {
  padding-top: 0.25rem;
}

.ah-cart-return-btn {
  border: 0;
  background: transparent;
  color: var(--ah-cortado);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.18rem 0;
}

.ah-cart-return-btn:hover {
  color: var(--ah-terracotta);
}

.ah-cart-close:focus-visible,
.ah-cart-checkout-btn:focus-visible,
.ah-cart-return-btn:focus-visible,
.ah-cart-rec-add-btn:focus-visible,
.ah-cart-qty-btn:focus-visible {
  outline: 3px solid rgba(193, 92, 61, 0.45);
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  .ah-cart-drawer {
    width: 100vw;
    max-width: none;
    border-left: 0;
    box-shadow: none;
  }

  .ah-cart-header {
    padding-top: max(1rem, env(safe-area-inset-top));
  }

  .ah-cart-scroll {
    padding: 0.85rem 0.85rem max(0.9rem, env(safe-area-inset-bottom));
  }

  .ah-cart-item-img {
    width: 68px;
    min-width: 68px;
    height: 82px;
  }
}

@media (max-width: 520px) {
  .ah-cart-recs {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-cart-overlay,
  .ah-cart-drawer,
  .ah-cart-checkout-btn,
  .ah-cart-rec-add-btn,
  .ah-cart-return-btn,
  .ah-cart-qty-btn {
    transition: none !important;
  }
}

/* 8. SHOP PAGE */
.ah-shop-main {
  background:
    radial-gradient(circle at 12% 18%, rgba(193, 92, 61, 0.12), transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(42, 32, 28, 0.08), transparent 28%),
    var(--ah-oat);
}

.ah-shop-content {
  margin-top: clamp(1.4rem, 3vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.ah-shop-filters {
  background: rgba(252, 250, 246, 0.95);
  border: 1px solid var(--ah-border-soft);
  border-radius: var(--ah-radius-md);
  box-shadow: var(--ah-shadow-md);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  display: grid;
  gap: 1rem;
}

.ah-shop-filters-head {
  border-bottom: 1px solid var(--ah-border-soft);
  padding-bottom: 0.7rem;
}

.ah-shop-filters-title {
  font-family: var(--ah-font-serif);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.2;
  color: var(--ah-espresso);
}

.ah-shop-filters-help {
  font-size: 0.84rem;
  color: var(--ah-cortado);
}

.ah-shop-filter-group {
  display: grid;
  gap: 0.55rem;
}

.ah-shop-filter-group .form-label,
.ah-shop-legend {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ah-espresso);
}

.ah-shop-input {
  min-height: var(--ah-touch-target);
  border-color: var(--ah-border-mid);
  background: #fffefb;
}

.ah-shop-input:focus-visible {
  border-color: var(--ah-terracotta);
  box-shadow: 0 0 0 3px rgba(193, 92, 61, 0.2);
}

.ah-shop-checklist {
  display: grid;
  gap: 0.45rem;
  max-height: 210px;
  overflow: auto;
  padding-right: 0.15rem;
}

.ah-shop-check-input {
  border-color: var(--ah-border-mid);
}

.ah-shop-check-input:checked {
  background-color: var(--ah-terracotta);
  border-color: var(--ah-terracotta);
}

.ah-shop-check-input:focus-visible {
  box-shadow: 0 0 0 3px rgba(193, 92, 61, 0.2);
}

.ah-shop-check-label {
  color: var(--ah-espresso);
  font-size: 0.9rem;
}

.ah-shop-range-wrap {
  display: grid;
  gap: 0.25rem;
}

.ah-shop-range-label {
  font-size: 0.82rem;
  color: var(--ah-cortado);
}

.ah-shop-range {
  margin: 0;
}

.ah-shop-price-output {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ah-espresso);
}

.ah-shop-reset-btn {
  min-height: var(--ah-touch-target);
  border: 1px solid var(--ah-espresso);
  background: #fff;
  color: var(--ah-espresso);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ah-shop-reset-btn:hover {
  background: var(--ah-steamed);
}

.ah-shop-reset-btn:focus-visible {
  outline: 3px solid rgba(193, 92, 61, 0.35);
  outline-offset: 2px;
}

.ah-shop-noscript {
  font-size: 0.82rem;
  color: var(--ah-cortado);
}

.ah-shop-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.ah-shop-results-title {
  font-family: var(--ah-font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--ah-espresso);
}

.ah-shop-results-count {
  color: var(--ah-cortado);
  font-size: 0.92rem;
}

.ah-shop-pagination {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ah-shop-page-list {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.ah-shop-page-btn {
  min-height: 2.35rem;
  min-width: 2.35rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--ah-border-mid);
  background: #fff;
  color: var(--ah-espresso);
  border-radius: 999px;
  font-size: 0.82rem;
}

.ah-shop-page-btn:hover:not(:disabled) {
  background: var(--ah-steamed);
}

.ah-shop-page-btn[aria-current="page"] {
  background: var(--ah-terracotta);
  border-color: var(--ah-terracotta);
  color: #fff;
}

.ah-shop-page-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ah-shop-page-btn:focus-visible {
  outline: 3px solid rgba(193, 92, 61, 0.35);
  outline-offset: 2px;
}

.ah-shop-page-ellipsis {
  min-width: 1.2rem;
  text-align: center;
  color: var(--ah-cortado);
  font-size: 0.9rem;
}

@media (min-width: 1200px) {
  .ah-shop-filters {
    position: sticky;
    top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .ah-shop-content {
    margin-top: 1.2rem;
  }
}

/* 9. COFFEE PRODUCT PAGE */
.ah-coffee-product-page {
  background-color: var(--ah-oat);
}

.ah-coffee-breadcrumb-wrap {
  padding-top: var(--ah-space-8);
  padding-bottom: var(--ah-space-5);
}

.ah-coffee-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--ah-space-2);
  font-size: var(--ah-text-sm);
  line-height: 1.5;
  color: var(--ah-cortado);
  text-decoration: none;
  padding: var(--ah-space-2) var(--ah-space-3);
  border-radius: var(--ah-radius-pill);
  background: rgba(42, 32, 28, 0.04);
}

.ah-coffee-breadcrumb:hover {
  color: var(--ah-espresso);
}

.ah-coffee-breadcrumb:focus-visible {
  outline: 3px solid rgba(193, 92, 61, 0.45);
  outline-offset: 2px;
}

.ah-coffee-bean-section {
  padding-bottom: var(--ah-space-12);
}

.ah-coffee-missing {
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--ah-radius-md);
}

.ah-coffee-top {
  max-width: 1160px;
}

.ah-coffee-media-card,
.ah-coffee-details-card {
  background: var(--xr-surface, #fcfaf6);
  border: 1px solid var(--ah-border-soft);
  border-radius: var(--ah-radius-md);
  box-shadow: var(--ah-shadow-md);
  padding: var(--ah-space-4);
  height: 100%;
}

.ah-coffee-image-wrap {
  width: 100%;
  height: clamp(360px, 52vw, 620px);
  overflow: hidden;
  border-radius: var(--ah-radius-sm);
}

.ah-coffee-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ah-coffee-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--ah-space-5);
}

.ah-coffee-kicker {
  font-size: var(--ah-text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ah-cortado);
  font-weight: 600;
}

.ah-coffee-roast {
  align-self: flex-start;
}

.ah-coffee-title {
  font-family: var(--ah-font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ah-espresso);
}

.ah-coffee-origin {
  font-size: var(--ah-text-sm);
  color: var(--ah-cortado);
}

.ah-coffee-price {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  line-height: 1.2;
  color: var(--ah-espresso);
  font-family: var(--ah-font-serif);
}

.ah-coffee-stars {
  color: var(--ah-terracotta);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  line-height: 1;
}

.ah-coffee-review-count {
  font-size: var(--ah-text-sm);
  color: var(--ah-cortado);
}

.ah-coffee-description {
  font-size: var(--ah-text-md);
  line-height: 1.5;
  color: var(--ah-cortado);
}

.ah-coffee-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ah-space-3);
}

.ah-coffee-fact {
  border: 1px solid var(--ah-border-soft);
  border-radius: var(--ah-radius-sm);
  padding: var(--ah-space-3);
  background: rgba(255, 255, 255, 0.4);
}

.ah-coffee-fact p {
  color: var(--ah-espresso);
  font-size: var(--ah-text-sm);
}

.ah-grind-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ah-space-2);
}

.ah-grind-option {
  background: transparent;
  border: 1px solid var(--ah-border-mid);
  border-radius: var(--ah-radius-sm);
  color: var(--ah-espresso);
  font-size: var(--ah-text-sm);
  line-height: 1.5;
  padding: var(--ah-space-2) var(--ah-space-3);
  text-align: left;
  min-height: var(--ah-touch-target);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ah-grind-option:hover {
  border-color: var(--ah-terracotta);
}

.ah-grind-option:focus-visible,
.ah-qty-pill button:focus-visible,
.ah-coffee-add-btn:focus-visible {
  outline: 3px solid rgba(193, 92, 61, 0.45);
  outline-offset: 2px;
}

/* ============================================================
   10. CHECKOUT PAGE
   ============================================================ */

.ah-checkout-main {
  min-height: 80vh;
}

.ah-checkout-title {
  font-family: var(--ah-font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--ah-espresso);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.ah-checkout-subtitle {
  color: var(--ah-cortado);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.ah-checkout-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 12px rgba(42, 32, 28, 0.06);
}

.ah-checkout-section-title {
  font-family: var(--ah-font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ah-espresso);
  margin-bottom: 1.5rem;
}

/* Order items */
.ah-order-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.ah-order-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.ah-order-item-info {
  flex: 1;
}

.ah-order-item-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ah-espresso);
}

.ah-order-item-qty {
  font-size: 0.78rem;
  color: var(--ah-cortado);
}

.ah-order-item-price {
  font-size: 0.9rem;
  color: var(--ah-espresso);
  white-space: nowrap;
}

.ah-checkout-empty {
  font-size: 0.9rem;
  color: var(--ah-cortado);
}

.ah-checkout-empty a {
  color: var(--ah-terracotta);
  text-decoration: none;
}

.ah-checkout-divider {
  border: none;
  border-top: 1px solid rgba(42, 32, 28, 0.1);
  margin: 0.75rem 0;
}

/* Totals */
.ah-checkout-totals {
  max-width: 480px;
  margin-left: auto;
}

.ah-checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ah-espresso);
  padding: 0.3rem 0;
}

.ah-checkout-total-row small {
  font-size: 0.75rem;
  color: var(--ah-cortado);
}

.ah-checkout-grand-total {
  font-size: 1.1rem;
  font-weight: 600;
  padding-top: 0.5rem;
}

/* Form fields */
.ah-checkout-field {
  margin-bottom: 1.75rem;
}

.ah-checkout-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ah-espresso);
  margin-bottom: 0.5rem;
}

.ah-checkout-field input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(42, 32, 28, 0.3);
  border-radius: 0;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--ah-espresso);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: border-color 0.2s, outline-color 0.2s;
}

.ah-checkout-field input:focus {
  border-bottom-color: var(--ah-terracotta);
  outline-color: rgba(193, 92, 61, 0.45);
}

.ah-checkout-field input::placeholder {
  color: var(--ah-cortado);
  opacity: 0.6;
}

/* Payment options */
.ah-payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ah-payment-option input[type="radio"] {
  display: none;
}

.ah-payment-option-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem;
  border: 1.5px solid rgba(42, 32, 28, 0.18);
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--ah-espresso);
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}

.ah-payment-option input[type="radio"]:checked + .ah-payment-option-box {
  border-color: var(--ah-terracotta);
  background: rgba(193, 92, 61, 0.05);
}

.ah-payment-option-box:hover {
  border-color: var(--ah-terracotta);
}

/* PayPal notice */
.ah-paypal-notice {
  background: rgba(42, 32, 28, 0.04);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--ah-cortado);
  margin-bottom: 1.25rem;
}

.ah-paypal-secure {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--ah-cortado);
}

/* Security note */
/* Credit card fields panel */
.ah-cc-fields {
  border: 1.5px solid var(--ah-terracotta);
  border-radius: 0.5rem;
  background: rgba(193, 92, 61, 0.04);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ah-cc-fields[hidden] {
  display: none;
}

.ah-checkout-secure-note {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--ah-cortado);
  margin-bottom: 2rem;
}

/* Action buttons */
.ah-checkout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ah-checkout-back-btn,
.ah-checkout-place-btn {
  padding: 0.9rem 1rem;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ah-checkout-back-btn {
  background: transparent;
  border: 1.5px solid var(--ah-espresso);
  color: var(--ah-espresso);
}

.ah-checkout-back-btn:hover {
  background: var(--ah-espresso);
  color: var(--ah-oat);
}

.ah-checkout-place-btn {
  background: var(--ah-espresso);
  color: var(--ah-oat);
}

.ah-checkout-place-btn:hover {
  background: #1a130f;
}

@media (max-width: 575.98px) {
  .ah-checkout-card {
    padding: 1.5rem 1.25rem;
  }
  .ah-checkout-actions {
    grid-template-columns: 1fr;
  }
  .ah-payment-options {
    grid-template-columns: 1fr;
  }
}

.ah-grind-option.is-active {
  background-color: rgba(193, 92, 61, 0.1);
  border-color: var(--ah-terracotta);
  color: #8f4127;
}

.ah-coffee-purchase-row {
  width: 100%;
  align-items: stretch;
}

.ah-qty-pill {
  min-width: 120px;
  border: 1px solid var(--ah-border-mid);
  border-radius: var(--ah-radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ah-space-3);
  padding: 0.35rem var(--ah-space-3);
  color: var(--ah-espresso);
  background: rgba(255, 255, 255, 0.45);
}

.ah-qty-pill button {
  border: 0;
  background: transparent;
  color: inherit;
  line-height: 1;
  min-width: 1.5rem;
  min-height: 1.5rem;
  padding: 0;
}

.ah-coffee-add-btn {
  flex: 1;
  min-height: var(--ah-touch-target);
}

.ah-coffee-helper {
  font-size: var(--ah-text-sm);
  color: var(--ah-cortado);
}

.ah-coffee-reviews-section {
  padding-top: var(--ah-space-10);
  padding-bottom: var(--ah-space-12);
}

.ah-coffee-section-head {
  max-width: 740px;
}

.ah-coffee-reviews-title {
  font-family: var(--ah-font-serif);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ah-espresso);
}

.ah-review-card {
  background-color: var(--xr-surface, #fcfaf6);
  border: 1px solid var(--ah-border-soft);
  border-radius: var(--ah-radius-md);
  box-shadow: var(--ah-shadow-sm);
  padding: var(--ah-space-4);
  display: flex;
  flex-direction: column;
}

.ah-review-product {
  font-size: var(--ah-text-md);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ah-espresso);
}

.ah-review-copy {
  font-size: var(--ah-text-sm);
  line-height: 1.5;
  color: var(--ah-cortado);
}

.ah-review-author {
  font-size: var(--ah-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ah-letter-wide);
  color: var(--ah-espresso);
}

.ah-review-date {
  font-size: var(--ah-text-sm);
  color: var(--ah-espresso);
}

.ah-coffee-related-section {
  padding-bottom: var(--ah-space-12);
}

@media (max-width: 991.98px) {
  .ah-coffee-breadcrumb-wrap {
    padding-top: var(--ah-space-6);
    padding-bottom: var(--ah-space-4);
  }

  .ah-coffee-bean-section {
    padding-bottom: var(--ah-space-10);
  }

  .ah-coffee-image-wrap {
    height: clamp(320px, 56vw, 500px);
  }

  .ah-coffee-details {
    gap: var(--ah-space-4);
  }

  .ah-coffee-facts {
    grid-template-columns: 1fr 1fr;
  }

  .ah-coffee-section-head {
    max-width: 100%;
  }

  .ah-coffee-reviews-section {
    padding-top: var(--ah-space-8);
    padding-bottom: var(--ah-space-10);
  }

  .ah-coffee-related-section {
    padding-bottom: var(--ah-space-10);
  }
}

@media (max-width: 767.98px) {
  .ah-coffee-breadcrumb-wrap {
    padding-bottom: var(--ah-space-3);
  }

  .ah-coffee-image-wrap {
    height: clamp(280px, 68vw, 380px);
  }

  .ah-coffee-review-count {
    font-size: var(--ah-text-sm);
  }

  .ah-coffee-facts {
    grid-template-columns: 1fr;
  }

  .ah-coffee-purchase-row {
    flex-wrap: wrap;
  }

  .ah-qty-pill,
  .ah-coffee-add-btn {
    width: 100%;
  }

  .ah-coffee-reviews-title {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  .ah-coffee-media-card,
  .ah-coffee-details-card {
    padding: var(--ah-space-3);
  }
}

@media (max-width: 575.98px) {
  .ah-grind-grid {
    grid-template-columns: 1fr;
  }

  .ah-coffee-breadcrumb {
    font-size: var(--ah-text-xs);
  }

  .ah-coffee-price {
    font-size: 1.45rem;
  }

  .ah-coffee-title {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }
}

/* 10. COFFEE GUIDES PAGE */
.ah-guides-page,
.ah-guides-main {
  background-color: var(--ah-oat);
}

.ah-guides-hero-cta {
  min-width: min(220px, 100%);
}

.ah-guides-content {
  padding-top: clamp(2.2rem, 5vw, 4rem);
}

.ah-guides-section-head {
  max-width: 760px;
}

.ah-guides-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(42, 32, 28, 0.8);
}

.ah-guides-title {
  font-family: "Fraunces", var(--ah-font-serif);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.15;
  color: var(--ah-espresso);
}

.ah-guides-copy {
  color: #4d403c;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.6;
}

.ah-brew-guide-tile {
  background-color: #fcfaf6;
  border: 1px solid var(--ah-border-soft);
  box-shadow: var(--ah-shadow-md);
  border-radius: var(--ah-radius-md);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ah-brew-guide-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--ah-shadow-lg);
  border-color: var(--ah-border-mid);
}

.ah-brew-guide-tile-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--ah-radius-sm);
  background: #ece6d7;
}

.ah-brew-guide-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  border: 1px solid var(--ah-border-mid);
  border-radius: var(--ah-radius-pill);
  padding: 0.24rem 0.56rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ah-espresso);
  background: rgba(249, 246, 238, 0.95);
}

.ah-brew-guide-tile-image {
  width: 100%;
  height: clamp(190px, 22vw, 240px);
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ah-brew-guide-tile:hover .ah-brew-guide-tile-image {
  transform: scale(1.02);
}

.ah-brew-guide-tile-body {
  display: grid;
  gap: 0.7rem;
}

.ah-brew-guide-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(42, 32, 28, 0.72);
  margin: 0;
}

.ah-brew-guide-title {
  font-family: var(--ah-font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.2;
  color: var(--ah-espresso);
}

.ah-brew-guide-subtitle {
  color: var(--ah-cortado);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ah-brew-guide-meta {
  display: grid;
  gap: 0.5rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--ah-radius-sm);
  border: 1px solid rgba(42, 32, 28, 0.1);
  background: rgba(234, 230, 218, 0.42);
}

.ah-brew-guide-meta li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.ah-brew-guide-meta li span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(42, 32, 28, 0.64);
}

.ah-brew-guide-meta li strong {
  font-weight: 600;
  color: var(--ah-espresso);
  text-align: right;
}

.ah-brew-guide-open {
  margin-top: 0.1rem;
}

.ah-guides-detail-blocks {
  padding-top: clamp(2.6rem, 5.6vw, 4.8rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  display: grid;
  gap: 1rem;
}

.ah-brew-guide-detail {
  border: 1px solid var(--ah-border-soft);
  border-radius: var(--ah-radius-md);
  background: #f8f4ec;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.ah-brew-guide-detail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.ah-brew-guide-detail-title {
  font-family: var(--ah-font-serif);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--ah-espresso);
}

.ah-brew-guide-detail-note {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(42, 32, 28, 0.7);
  white-space: nowrap;
}

.ah-brew-guide-steps {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
  color: #433833;
  line-height: 1.55;
}

.ah-brew-guide-back {
  margin-top: 0.8rem;
  display: inline-flex;
  font-size: 0.82rem;
  color: var(--ah-cortado);
  text-decoration: none;
}

.ah-brew-guide-back:hover {
  color: var(--ah-terracotta);
}

.ah-brew-guide-back:focus-visible {
  outline: 3px solid rgba(193, 92, 61, 0.45);
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  .ah-guides-section-head {
    max-width: 100%;
  }

  .ah-guides-title {
    font-size: clamp(1.5rem, 7vw, 1.95rem);
  }

  .ah-brew-guide-detail-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .ah-guides-hero-cta {
    width: 100%;
  }

  .ah-brew-guide-meta li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .ah-brew-guide-meta li strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-brew-guide-tile,
  .ah-brew-guide-tile-image,
  .ah-brew-guide-open,
  .ah-brew-guide-back {
    transition: none !important;
    transform: none !important;
  }
}

/* 11. CONTACT PAGE */
.ah-contact-page,
.ah-contact-main {
  background-color: var(--ah-oat);
}

.ah-contact-hero-cta {
  min-width: min(220px, 100%);
}

.ah-contact-content {
  padding-top: clamp(2.4rem, 5.2vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.ah-contact-panel,
.ah-contact-form-wrap {
  border: 1px solid var(--ah-border-soft);
  border-radius: var(--ah-radius-md);
  background: #fcfaf6;
  box-shadow: var(--ah-shadow-md);
  padding: clamp(1rem, 2.6vw, 1.5rem);
}

.ah-contact-hours {
  background: #f8f4ec;
}

.ah-contact-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(42, 32, 28, 0.75);
}

.ah-contact-title {
  font-family: "Fraunces", var(--ah-font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.16;
  color: var(--ah-espresso);
}

.ah-contact-subtitle {
  font-family: var(--ah-font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--ah-espresso);
}

.ah-contact-copy {
  color: #4d403c;
  font-size: clamp(0.98rem, 1.15vw, 1.05rem);
  line-height: 1.6;
}

.ah-contact-list {
  display: grid;
  gap: 0.9rem;
}

.ah-contact-list li {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(42, 32, 28, 0.12);
}

.ah-contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ah-contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(42, 32, 28, 0.66);
}

.ah-contact-list a {
  color: var(--ah-espresso);
  text-decoration: none;
}

.ah-contact-list a:hover {
  color: var(--ah-terracotta);
}

.ah-contact-hours-list {
  display: grid;
  gap: 0.55rem;
}

.ah-contact-hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: #483c37;
  font-size: 0.92rem;
}

.ah-contact-hours-list li strong {
  font-weight: 600;
  color: var(--ah-espresso);
  text-align: right;
}

.ah-contact-textarea {
  resize: vertical;
  min-height: 8rem;
}

.ah-contact-note {
  font-size: 0.82rem;
  color: rgba(42, 32, 28, 0.68);
}

@media (max-width: 767.98px) {
  .ah-contact-title {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }
}

@media (max-width: 575.98px) {
  .ah-contact-hero-cta {
    width: 100%;
  }

  .ah-contact-hours-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .ah-contact-hours-list li strong {
    text-align: left;
  }
}

/* 12. HOME V2 JOURNEY PAGE */
.ah-v2-home {
  background-color: var(--ah-oat);
}

.ah-v2-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ah-v2-skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  z-index: 10000;
  background: var(--ah-espresso);
  color: var(--ah-oat);
  padding: 0.6rem 0.9rem;
  border-radius: 0.4rem;
  text-decoration: none;
}

.ah-v2-panel {
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.ah-v2-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ah-cortado);
}

.ah-v2-section-title {
  font-family: var(--ah-font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.2;
  color: var(--ah-espresso);
}

.ah-v2-hero {
  min-height: calc(100vh - 80px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(3rem, 8vh, 5.5rem);
  padding-bottom: clamp(3rem, 8vh, 5.5rem);
}

.ah-v2-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ah-v2-hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.ah-v2-hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(90deg, rgba(42, 32, 28, 0.7) 0%, rgba(42, 32, 28, 0.42) 45%, rgba(42, 32, 28, 0.22) 100%);
  padding: 3rem 0;
}

.ah-v2-hero-content {
  width: min(620px, 100%);
  color: var(--ah-oat);
}

.ah-v2-hero-content .ah-v2-kicker {
  color: rgba(246, 244, 237, 0.86);
}

.ah-v2-hero-title {
  font-family: var(--ah-font-serif);
  font-size: clamp(2.3rem, 5.6vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ah-oat);
}

.ah-v2-hero-copy {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  color: rgba(246, 244, 237, 0.94);
  max-width: 46ch;
}

.ah-v2-secondary-btn {
  border-color: rgba(246, 244, 237, 0.78);
  color: var(--ah-oat);
}

.ah-v2-secondary-btn:hover,
.ah-v2-secondary-btn:focus {
  background-color: rgba(246, 244, 237, 0.14);
  border-color: var(--ah-oat);
  color: var(--ah-oat);
}

.ah-v2-story {
  background-color: var(--ah-oat);
}

.ah-v2-story-copy {
  max-width: 42rem;
}

.ah-v2-story-image {
  width: 100%;
  height: clamp(340px, 45vw, 620px);
  object-fit: cover;
}

.ah-v2-proof {
  background-color: var(--ah-steamed);
}

.ah-v2-proof-card {
  background-color: rgba(246, 244, 237, 0.65);
  border: 1px solid rgba(42, 32, 28, 0.08);
  border-radius: 0.85rem;
  padding: 1.25rem 1rem;
  text-align: center;
}

.ah-v2-proof-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.ah-v2-featured {
  background-color: var(--ah-oat);
}

.ah-v2-quiz {
  background: linear-gradient(180deg, rgba(234, 230, 218, 0.7) 0%, rgba(246, 244, 237, 1) 100%);
}

.ah-v2-quiz-card {
  width: min(940px, 100%);
  margin: 0 auto;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  background-color: rgba(246, 244, 237, 0.95);
  border: 1px solid rgba(42, 32, 28, 0.12);
  border-radius: 1rem;
}

.ah-v2-brew {
  background-color: var(--ah-steamed);
}

.ah-v2-brew-card {
  background-color: var(--ah-oat);
  border: 1px solid rgba(42, 32, 28, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
}

.ah-v2-brew-image {
  width: 100%;
  height: clamp(220px, 26vw, 320px);
  object-fit: cover;
}

.ah-v2-brew-title {
  font-family: var(--ah-font-serif);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.2;
  color: var(--ah-espresso);
}

.ah-v2-inline-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ah-espresso);
}

.ah-v2-inline-link:hover {
  color: var(--ah-terracotta);
}

.ah-v2-final {
  background-color: var(--ah-oat);
}

.ah-v2-final-card {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 3.6rem);
  background-color: var(--ah-steamed);
  border-radius: 1rem;
}

@media (max-width: 991.98px) {
  .ah-v2-panel {
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
  }

  .ah-v2-hero {
    min-height: 78vh;
  }

  .ah-v2-hero-overlay {
    background: linear-gradient(180deg, rgba(42, 32, 28, 0.72) 0%, rgba(42, 32, 28, 0.44) 55%, rgba(42, 32, 28, 0.32) 100%);
  }

  .ah-v2-hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .ah-v2-hero-copy {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767.98px) {
  .ah-v2-hero {
    min-height: 72vh;
  }

  .ah-v2-section-title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .ah-v2-hero-title {
    font-size: clamp(1.95rem, 10vw, 3rem);
  }

  .ah-v2-hero-copy {
    font-size: 0.98rem;
  }

  .ah-v2-story-image {
    height: 300px;
  }

  .ah-v2-proof-card {
    padding: 1.05rem 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-v2-hero-video {
    display: none;
  }

  .ah-v2-hero-fallback {
    display: block;
  }
}

/* ============================================================
   11. CONFIRMATION PAGE
   ============================================================ */

.ah-confirm-main {
  min-height: 70vh;
}

.ah-confirm-wrap {
  max-width: 640px;
}

/* Hero checkmark */
.ah-confirm-hero {
  margin-bottom: 2.5rem;
}

.ah-confirm-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--ah-sage);
  color: var(--ah-oat);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ah-confirm-title {
  font-family: var(--ah-font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--ah-espresso);
  margin-bottom: 0.4rem;
}

.ah-confirm-subtitle {
  color: var(--ah-cortado);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.ah-confirm-order-num {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ah-cortado);
  margin-bottom: 0;
}

/* Totals */
.ah-confirm-totals {
  border-top: 1px solid rgba(42, 32, 28, 0.1);
  margin-top: 1.25rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ah-confirm-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--ah-espresso);
}

.ah-confirm-total-final {
  font-family: var(--ah-font-serif);
  font-size: 1rem;
  font-weight: 600;
  border-top: 1px solid rgba(42, 32, 28, 0.14);
  padding-top: 0.6rem;
  margin-top: 0.25rem;
}

/* What's next steps */
.ah-confirm-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ah-confirm-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ah-confirm-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ah-terracotta);
  color: var(--ah-oat);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.ah-confirm-step-title {
  font-family: var(--ah-font-serif);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ah-espresso);
}

.ah-confirm-step-desc {
  font-size: 0.8rem;
  color: var(--ah-cortado);
}

/* Action buttons */
.ah-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 4rem;
}

.ah-confirm-shop-btn,
.ah-confirm-home-btn {
  display: block;
  text-align: center;
  padding: 0.9rem 1rem;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ah-confirm-shop-btn {
  background: var(--ah-terracotta);
  color: var(--ah-oat);
}

.ah-confirm-shop-btn:hover {
  background: var(--ah-terracotta-hover);
  color: var(--ah-oat);
}

.ah-confirm-home-btn {
  background: transparent;
  color: var(--ah-espresso);
  border: 1.5px solid var(--ah-espresso);
}

.ah-confirm-home-btn:hover {
  background: var(--ah-espresso);
  color: var(--ah-oat);
}

@media (max-width: 575.98px) {
  .ah-confirm-actions {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   12. HOME XR (RADICAL RESET)
   ============================================================ */
.ah-shell-xr {
  --xr-bg-deep: #f3eee4;
  --xr-bg-ink: #e7dfd2;
  --xr-bg-mist: #faf7f1;
  --xr-surface: #fcfaf6;
  --xr-accent-flame: #a55232;
  --xr-accent-gold: #7a5c3f;
  --xr-accent-sage: #667863;
  --xr-text-high: #1f1813;
  --xr-text-mid: #42372f;
  --xr-text-dark: #1f1813;
  --xr-text-inverse: #f4eee4;
  --xr-stroke: rgba(31, 24, 19, 0.14);
  --xr-stroke-strong: rgba(31, 24, 19, 0.24);
  background: var(--xr-bg-deep);
  color: var(--xr-text-high);
}

.ah-xr-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ah-xr-skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 2000;
  width: auto;
  height: auto;
  background: var(--xr-accent-flame);
  color: var(--xr-text-high);
  padding: 0.6rem 0.9rem;
  border-radius: 0.4rem;
  text-decoration: none;
}

.ah-xr-home {
  background: var(--xr-bg-deep);
  color: var(--xr-text-dark);
}

.ah-xr-chapter {
  position: relative;
  padding: clamp(3.4rem, 6vw, 5.6rem) 0;
}

.ah-xr-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--xr-accent-gold);
}

.ah-xr-title {
  font-family: "Fraunces", "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--xr-text-high);
}

.ah-xr-heading {
  font-family: "Fraunces", "Playfair Display", serif;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--xr-text-dark);
}

.ah-xr-lead {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.58;
  color: var(--xr-text-mid);
  max-width: 58ch;
}

.ah-xr-hero {
  min-height: clamp(560px, 84vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ah-xr-hero-video,
.ah-xr-hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ah-xr-hero-fallback {
  display: none;
}

.ah-xr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 13, 11, 0.64);
}

.ah-xr-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

.ah-xr-hero .ah-xr-title,
.ah-xr-hero .ah-xr-lead {
  color: #f8f3ea;
}

.ah-xr-hero .ah-xr-kicker {
  color: #e8d6bf;
}

.ah-xr-btn-ghost {
  border-color: rgba(243, 239, 232, 0.75) !important;
  color: #f8f3ea !important;
}

.ah-xr-btn-ghost:hover,
.ah-xr-btn-ghost:focus {
  background: rgba(243, 239, 232, 0.16) !important;
  color: #f8f3ea !important;
}

.ah-xr-hero-actions {
  align-items: center;
}

.ah-xr-problem {
  background: var(--xr-bg-ink);
}

.ah-xr-problem .row p {
  color: var(--xr-text-dark);
}

.ah-xr-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--xr-text-dark);
  display: grid;
  gap: 0.55rem;
}

.ah-xr-problem-image {
  width: 100%;
  height: clamp(360px, 44vw, 560px);
  object-fit: cover;
  border-radius: 0.85rem;
}

.ah-xr-method {
  background-color: var(--xr-bg-mist);
}

.ah-xr-pillar {
  background: var(--xr-surface);
  border: 1px solid var(--xr-stroke);
  border-radius: 0.35rem;
  padding: 1.1rem 1rem;
}

.ah-xr-pillar h3 {
  font-family: "Fraunces", "Playfair Display", serif;
  font-size: 1.55rem;
  color: var(--xr-text-dark);
}

.ah-xr-pillar p {
  color: var(--xr-text-mid);
}

.ah-xr-discovery {
  background-color: var(--xr-bg-mist);
}

.ah-xr-discovery .ah-xr-kicker {
  color: #87653f;
}

.ah-xr-discovery .ah-xr-heading {
  color: var(--xr-text-dark);
}

.ah-xr-quiz {
  background: var(--xr-bg-ink);
}

.ah-xr-quiz-card {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 3.2vw, 2.3rem);
  border-radius: 0.35rem;
  border: 1px solid var(--xr-stroke);
  background: var(--xr-surface);
}

.ah-xr-quiz-card p {
  color: var(--xr-text-mid);
}

.ah-xr-close {
  background-color: var(--xr-bg-mist);
}

.ah-xr-close-card {
  width: min(940px, 100%);
  margin: 0 auto;
  padding: clamp(1.6rem, 3.6vw, 2.8rem);
  border-radius: 0.35rem;
  background: var(--xr-surface);
  border: 1px solid var(--xr-stroke);
}

.ah-xr-close-card p {
  color: var(--xr-text-mid);
}

@media (max-width: 991.98px) {
  .ah-xr-hero-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .ah-xr-chapter {
    padding: 3rem 0;
  }

  .ah-xr-title {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }

  .ah-xr-heading {
    font-size: clamp(1.7rem, 6vw, 2.5rem);
  }
}

@media (max-width: 767.98px) {
  .ah-xr-hero {
    min-height: 66vh;
  }

  .ah-xr-problem-image {
    height: 240px;
  }

  .ah-xr-pillar h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .ah-xr-hero-actions {
    width: 100%;
    justify-content: center !important;
  }

  .ah-xr-hero-actions .btn {
    width: min(320px, 100%);
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-xr-home *,
  .ah-shell-xr * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .ah-xr-hero-video {
    display: none;
  }

  .ah-xr-hero-fallback {
    display: block;
  }
}

