/* AnaHealings · Healings Farm Collection · 29 Nov 2026 */
.ah-healings-farm {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbf7f0 0%, #fffdf9 54%, #fff 100%);
}
.ah-farm-heading { max-width: 850px; margin-inline: auto; }
.ah-farm-heading .pill {
  background: #f0e4d3;
  color: #755438;
  letter-spacing: .12em;
}
.ah-farm-heading h2 {
  color: #68482f;
  letter-spacing: .015em;
}
.ah-farm-heading > p {
  max-width: 700px;
  margin-inline: auto;
  color: #75614e;
}
.ah-farm-manifesto {
  max-width: 920px;
  margin: clamp(1.5rem, 3vw, 2.6rem) auto clamp(2rem, 4vw, 3rem);
  padding: clamp(1.35rem, 3.2vw, 2.35rem);
  border: 1px solid rgba(132, 96, 62, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 32px rgba(83, 59, 37, .055);
}
.ah-farm-manifesto h3 {
  margin: 0 0 .8rem;
  color: #805a39;
  font-family: 'Gaegu', cursive;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 400;
  text-align: center;
}
.ah-farm-manifesto p {
  max-width: 820px;
  margin: .75rem auto 0;
  color: #6e5b49;
  font-size: .98rem;
  line-height: 1.82;
}
.ah-farm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.1vw, 25px);
  align-items: stretch;
}
.ah-farm-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(132, 96, 62, .15);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(83, 59, 37, .065);
}
.ah-farm-image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 8px;
  background: #f5eee3;
}
.ah-farm-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.ah-farm-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.1rem 1.2rem 1.35rem;
}
.ah-farm-category {
  margin-bottom: .4rem;
  color: #9a795a;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.4;
  text-transform: uppercase;
}
.ah-farm-copy h3 {
  margin: 0 0 .5rem;
  color: #62452f;
  font-size: 1.12rem;
  line-height: 1.32;
}
.ah-farm-copy p {
  margin: 0;
  color: #75614e;
  font-size: .92rem;
  line-height: 1.6;
}
.ah-farm-detail {
  margin-top: .55rem;
  color: #806344;
  font-size: .86rem;
  font-style: italic;
}
.ah-farm-price {
  margin-top: .55rem;
  color: #694a31;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .015em;
}
.ah-farm-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .8rem 1.2rem;
  margin: clamp(1.8rem, 4vw, 2.8rem) auto 0;
  text-align: center;
}
.ah-farm-contact p {
  margin: 0;
  color: #75614e;
  line-height: 1.6;
}
.ah-farm-contact .btn { white-space: nowrap; }
@media (max-width: 900px) {
  .ah-farm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .ah-farm-grid { grid-template-columns: 1fr; gap: 17px; }
  .ah-farm-image { aspect-ratio: 5 / 4; }
  .ah-farm-copy { padding: 1rem 1.1rem 1.2rem; }
  .ah-farm-manifesto { border-radius: 16px; }
  .ah-farm-contact { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .ah-healings-farm * { scroll-behavior: auto !important; }
}


/* Product gallery: same-size frames, full original photographs, no cropping. */
.ah-healings-farm .ah-farm-image {
  position: relative !important;
  display: block !important;
  width: 100%;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box;
  padding: 12px !important;
  overflow: hidden;
  background: #f5eee3;
}
.ah-healings-farm .ah-farm-image > .ah-farm-image-link {
  position: absolute;
  inset: 12px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0;
  min-height: 0;
  border-radius: 10px;
  cursor: zoom-in;
  outline-offset: 4px;
}
.ah-healings-farm .ah-farm-image > .ah-farm-image-link > img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 8px;
}
.ah-farm-zoom-indicator {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(132, 96, 62, .18);
  border-radius: 50%;
  background: rgba(255, 252, 247, .93);
  color: #755438;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(83, 59, 37, .10);
  transition: transform .18s ease, background .18s ease;
  pointer-events: none;
}
.ah-farm-image-link:hover .ah-farm-zoom-indicator,
.ah-farm-image-link:focus-visible .ah-farm-zoom-indicator {
  transform: scale(1.08);
  background: #fff;
}

/* Centered, medium-size product viewer: larger than the cards without filling the screen. */
.ah-farm-lightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  display: none;
  width: fit-content;
  max-width: 84vw;
  max-height: 84vh;
  box-sizing: border-box;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 18px;
  background: #fffaf5;
  color: #62452f;
  box-shadow: 0 22px 70px rgba(31, 27, 23, .24);
}
.ah-farm-lightbox[open] {
  display: block;
}
.ah-farm-lightbox::backdrop {
  background: rgba(39, 34, 29, .58);
  backdrop-filter: blur(2px);
}
.ah-farm-lightbox > img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(80vw, 860px);
  max-height: min(72vh, 740px);
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  border-radius: 10px;
  background: #f5eee3;
}
.ah-farm-lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-width: 94px;
  min-height: 40px;
  margin: 0 0 10px auto;
  padding: 0 15px;
  border: 1px solid rgba(132, 96, 62, .22);
  border-radius: 999px;
  background: #f7e8ed;
  color: #694b52;
  font: 600 .9rem/1.1 system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(83, 59, 37, .08);
  transition: background .18s ease, transform .18s ease;
}
.ah-farm-lightbox-close:hover {
  background: #f1d6df;
  transform: translateY(-1px);
}
.ah-farm-lightbox-close:focus-visible {
  outline: 3px solid rgba(177, 111, 137, .45);
  outline-offset: 3px;
}
@media (max-width: 580px) {
  .ah-farm-lightbox {
    max-width: 92vw;
    max-height: 84vh;
    padding: 9px;
    border-radius: 13px;
  }
  .ah-farm-lightbox > img {
    max-width: 88vw;
    max-height: 69vh;
    border-radius: 8px;
  }
  .ah-farm-lightbox-close {
    min-width: 88px;
    min-height: 38px;
    margin-bottom: 8px;
    font-size: .86rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ah-farm-lightbox-close { transition: none; }
}


/* Final lightbox usability refinement: visible right-aligned close control. */
.ah-farm-lightbox {
  overscroll-behavior: contain;
}
.ah-farm-lightbox-close {
  display: flex !important;
  width: fit-content;
  margin: 0 0 10px auto !important;
  position: relative;
  z-index: 1;
}
.ah-farm-lightbox::backdrop {
  cursor: zoom-out;
}
.ah-farm-lightbox > img {
  max-width: min(calc(84vw - 26px), 860px);
  max-height: min(72vh, calc(84vh - 80px), 740px);
}
@media (max-width: 580px) {
  .ah-farm-lightbox {
    max-width: 94vw;
    max-height: 88vh;
    padding: 8px;
  }
  .ah-farm-lightbox-close {
    min-width: 88px;
    min-height: 38px;
    margin-bottom: 8px !important;
  }
  .ah-farm-lightbox > img {
    max-width: calc(94vw - 18px);
    max-height: min(68vh, calc(88vh - 70px));
  }
}


/* Farm Collection · online purchase actions and payment note. */
.ah-farm-buy {
  display: inline-flex; align-items: center; justify-content: center;
  align-self: flex-start; min-height: 42px; margin-top: .9rem;
  padding: .68rem 1.15rem; border: 1px solid rgba(117, 84, 56, .22);
  border-radius: 999px; background: linear-gradient(135deg, #f7e8ed 0%, #f1dce3 100%);
  color: #684b50 !important; font-size: .88rem; font-weight: 650;
  line-height: 1.2; text-decoration: none !important;
  box-shadow: 0 5px 14px rgba(83, 59, 37, .08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ah-farm-buy:hover, .ah-farm-buy:focus-visible {
  background: #efd5df; box-shadow: 0 8px 18px rgba(83, 59, 37, .12);
  transform: translateY(-1px);
}
.ah-farm-buy:focus-visible { outline: 3px solid rgba(177, 111, 137, .4); outline-offset: 3px; }
.ah-farm-payment-note {
  max-width: 920px; margin: clamp(1.6rem, 3vw, 2.3rem) auto 0;
  padding: 1.25rem clamp(1.1rem, 2.6vw, 1.8rem);
  border: 1px solid rgba(132, 96, 62, .14); border-radius: 17px;
  background: rgba(255, 255, 255, .82); color: #75614e;
  box-shadow: 0 8px 24px rgba(83, 59, 37, .045);
}
.ah-farm-payment-note h3 { margin: 0 0 .55rem; color: #805a39; font-family: 'Gaegu', cursive; font-size: 1.55rem; font-weight: 400; }
.ah-farm-payment-note p { margin: .45rem 0 0; font-size: .9rem; line-height: 1.65; }
.ah-farm-payment-note .ah-farm-payment-small { color: #927d68; font-size: .82rem; }
.ah-farm-copy .ah-farm-buy { margin-top: auto; }
.ah-farm-copy .ah-farm-price { margin-bottom: .1rem; }
@media (prefers-reduced-motion: reduce) { .ah-farm-buy { transition: none; } }
