/* Tablets and capsules catalogue */
.capsule-page { background: #faf9f4; color: #1a3d2d; }
.capsule-wrap { width: min(1360px, 88%); margin-inline: auto; }
.capsule-page main { background: #faf9f4; }
.capsule-hero { padding: 90px 0 84px; background: radial-gradient(ellipse at top right, #dde7d7 0%, transparent 58%), linear-gradient(115deg, #f0ede2, #fbfaf5 65%); border-bottom: 1px solid #e0dac9; }
.capsule-eyebrow { margin: 0 0 18px; color: #795a27; font: 700 11px/1.5 Arial, sans-serif; letter-spacing: 2.4px; }
.capsule-hero h1 { margin: 0; font: 400 clamp(46px, 6vw, 86px)/.98 Georgia, 'Times New Roman', serif; letter-spacing: -3px; color: #1e4734; }
.capsule-hero h1 em, .capsule-section-heading em { color: #966e32; font-weight: 400; }
.capsule-lede { max-width: 580px; margin: 29px 0 0; color: #526151; font-size: 17px; line-height: 1.8; }
.capsule-count { display: inline-block; margin: 28px 0 0; padding: 9px 14px; border: 1px solid #d7c9a9; border-radius: 999px; color: #28513a; background: #fffdf7; font: 700 12px/1 Arial, sans-serif; letter-spacing: .5px; }
.capsule-catalogue { padding: 82px 0 110px; }
.capsule-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.capsule-section-heading h2 { margin: 0; font: 400 clamp(34px, 4vw, 55px)/1.1 Georgia, 'Times New Roman', serif; letter-spacing: -1.7px; }
.capsule-section-heading .capsule-eyebrow { margin-bottom: 14px; }
.capsule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.capsule-card { min-width: 0; overflow: hidden; border: 1px solid #e3dece; border-radius: 14px; background: #fffef9; box-shadow: 0 15px 34px -27px #173d304d; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.capsule-image { display: block; position: relative; width: 100%; aspect-ratio: 1 / .94; margin: 0; padding: 18px; overflow: hidden; border: 0; border-bottom: 1px solid #e9e3d4; background: linear-gradient(145deg, #f3f0e7, #fcfbf7); cursor: zoom-in; }
.capsule-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.zoom-cue { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #d5c398; border-radius: 999px; background: #fffef9e8; color: #31523c; font: 700 10px/1 Arial, sans-serif; opacity: 0; transform: translateY(5px); transition: opacity .22s ease, transform .22s ease; }
.zoom-cue b { font-size: 16px; font-weight: 400; }
.capsule-card-body { position: relative; padding: 24px 21px 22px; }
.capsule-number { display: block; margin-bottom: 14px; color: #a07a3d; font: italic 18px/1 Georgia, 'Times New Roman', serif; }
.capsule-card h2 { min-height: 2.55em; margin: 0 0 20px; color: #214833; font: 400 clamp(21px, 1.7vw, 26px)/1.22 Georgia, 'Times New Roman', serif; letter-spacing: -.55px; }
.capsule-card dl { margin: 0; }
.capsule-card dl > div { padding: 13px 0; border-top: 1px solid #e9e3d3; }
.capsule-card dt { margin: 0 0 7px; color: #7b5e2c; font: 700 9px/1 Arial, sans-serif; letter-spacing: 1.3px; text-transform: uppercase; }
.capsule-card dd { margin: 0; color: #536251; font: 14px/1.68 Arial, sans-serif; }
.capsule-card dl > div:last-child dd { color: #254a35; font-weight: 700; }
.capsule-card:focus-within { outline: 3px solid #b68a42; outline-offset: 4px; }
.image-lightbox { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 30px; background: #061d16e8; }
.image-lightbox[hidden] { display: none; }
.image-lightbox img { max-width: min(88vw, 840px); max-height: 84vh; object-fit: contain; border-radius: 10px; background: #fffef9; box-shadow: 0 28px 70px #0000007a; }
.lightbox-close { position: absolute; top: 18px; right: 24px; width: 46px; height: 46px; border: 1px solid #f5e7c6; border-radius: 50%; background: #fffef91c; color: #fff8e7; font: 34px/1 Arial, sans-serif; cursor: pointer; }
.lightbox-close:hover, .lightbox-close:focus-visible { background: #fffef948; outline: none; }
@media (hover: hover) {
  .capsule-card:hover { transform: translateY(-5px); border-color: #c9b07a; box-shadow: 0 21px 42px -27px #173d3055; }
  .capsule-card:hover .capsule-image img { transform: scale(1.055); }
  .capsule-image:hover .zoom-cue, .capsule-image:focus-visible .zoom-cue { opacity: 1; transform: none; }
}
@media (max-width: 1120px) {
  .capsule-wrap { width: 90%; }
  .capsule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 820px) {
  .capsule-hero { padding: 70px 0 62px; }
  .capsule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .capsule-wrap { width: calc(100% - 36px); }
  .capsule-hero { padding: 45px 0 47px; }
  .capsule-eyebrow { margin-bottom: 13px; font-size: 10px; letter-spacing: 1.6px; }
  .capsule-hero h1 { font-size: clamp(41px, 12vw, 54px); letter-spacing: -1.9px; }
  .capsule-lede { margin-top: 21px; font-size: 15px; line-height: 1.75; }
  .capsule-count { margin-top: 23px; }
  .capsule-catalogue { padding: 51px 0 74px; }
  .capsule-section-heading { display: block; margin-bottom: 27px; }
  .capsule-section-heading h2 { font-size: 34px; letter-spacing: -1px; }
  .capsule-grid { grid-template-columns: 1fr; gap: 16px; }
  .capsule-card { border-radius: 12px; }
  .capsule-image { aspect-ratio: 1.35 / 1; padding: 18px 30px; }
  .zoom-cue { opacity: 1; transform: none; }
  .capsule-card-body { padding: 21px 19px 19px; }
  .capsule-number { margin-bottom: 11px; }
  .capsule-card h2 { min-height: 0; margin-bottom: 17px; font-size: 25px; }
  .capsule-card dd { font-size: 14px; }
  .image-lightbox { padding: 20px; }
  .image-lightbox img { max-width: 100%; max-height: 78vh; }
  .lightbox-close { top: 12px; right: 13px; }
}
@media (max-width: 359px) {
  .capsule-wrap { width: calc(100% - 28px); }
  .capsule-hero h1 { font-size: 39px; }
}
@media (prefers-reduced-motion: reduce) {
  .capsule-card, .capsule-image img, .zoom-cue { transition: none; }
}
/* Product-led hero treatment and count-free cards. */
.capsule-count,
.capsule-number { display: none !important; }
.capsule-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, #0a2d22 0%, #123b2c 50%, #173f3099 69%, #f1ecdfa6 100%),
    url('../tablets/Ashvagandha%20plus.png');
  background-repeat: no-repeat, no-repeat;
  background-position: center, right 10% center;
  background-size: cover, min(390px, 30vw) auto;
  border-bottom: 0;
}
.capsule-hero:before {
  width: 420px;
  height: 420px;
  right: 3%;
  top: -195px;
  border-color: #efd8a74d;
}
.capsule-hero:after {
  width: 230px;
  height: 230px;
  right: 17%;
  bottom: -155px;
  border-color: #f6dfad35;
}
.capsule-hero .capsule-eyebrow { color: #f0cf8c; }
.capsule-hero h1 { color: #fff8e8; }
.capsule-hero h1 em { color: #efce8a; }
.capsule-lede { color: #e1eadd; max-width: 505px; }
.capsule-card-body { padding-top: 25px; }
.capsule-card h2 { min-height: 0; }
@media (max-width: 575px) {
  .capsule-hero {
    min-height: 450px;
    align-items: flex-start;
    padding-top: 49px;
    background-position: center, right -42px bottom 21px;
    background-size: cover, 255px auto;
  }
  .capsule-hero:before { width: 230px; height: 230px; right: -92px; top: -100px; }
  .capsule-hero:after { width: 150px; height: 150px; right: 30px; bottom: -99px; }
  .capsule-hero h1 { max-width: 300px; }
  .capsule-lede { max-width: 265px; color: #e6eee2; }
  .capsule-card-body { padding-top: 21px; }
}
/* Premium catalogue finish */
.capsule-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 24%, #dfead7 0 3%, transparent 3.3%),
    radial-gradient(circle at 86% 51%, #ecd9af 0 7%, transparent 7.4%),
    radial-gradient(circle at 74% 78%, #dce8d5 0 12%, transparent 12.4%),
    linear-gradient(115deg, #f1eee2, #fbfaf5 65%);
}
.capsule-hero:before,
.capsule-hero:after {
  content: '';
  position: absolute;
  z-index: -1;
  border: 1px solid #b99a5b45;
  border-radius: 50%;
  pointer-events: none;
}
.capsule-hero:before { width: 310px; height: 310px; right: 8%; top: -150px; }
.capsule-hero:after { width: 190px; height: 190px; right: 17%; bottom: -120px; border-color: #37604735; }
.capsule-count { box-shadow: 0 7px 16px -13px #183d304d; }
.capsule-catalogue {
  position: relative;
  background:
    linear-gradient(90deg, transparent 49.9%, #d9d2bd22 50%, transparent 50.1%),
    #faf9f4;
}
.capsule-grid { gap: 24px; }
.capsule-card {
  position: relative;
  border-color: #e6e0cf;
  box-shadow: 0 18px 38px -31px #173d305c, inset 0 1px 0 #ffffff;
}
.capsule-card:before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, #bd8740, #e9d5a4 45%, #29533c);
  opacity: .8;
}
.capsule-image {
  background:
    radial-gradient(circle at 50% 90%, #e7efdf 0, transparent 48%),
    linear-gradient(145deg, #f7f4eb, #fffefa);
}
.capsule-image:before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid #d8c9a745;
  border-radius: 8px;
  pointer-events: none;
}
.capsule-image img { position: relative; z-index: 1; filter: drop-shadow(0 14px 11px #173d301a); }
.capsule-card-body { padding: 26px 22px 23px; }
.capsule-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 35px;
  height: 25px;
  margin-bottom: 16px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f5eddb;
  color: #8a6630;
  font-size: 15px;
}
.capsule-card h2 { margin-bottom: 23px; }
.capsule-card dl > div:last-child {
  margin-top: 8px;
  padding: 12px 13px;
  border: 1px solid #dfd5bc;
  border-radius: 6px;
  background: #f8f6ec;
}
.capsule-card dl > div:last-child dt { color: #32533d; }
.capsule-card dl > div:last-child dd { color: #1d4933; }
@media (hover: hover) {
  .capsule-card:hover { border-color: #c7a66b; }
  .capsule-card:hover:before { opacity: 1; }
}
@media (max-width: 1120px) { .capsule-grid { gap: 20px; } }
@media (max-width: 575px) {
  .capsule-hero:before { width: 190px; height: 190px; right: -70px; top: -100px; }
  .capsule-hero:after { width: 120px; height: 120px; right: 27px; bottom: -78px; }
  .capsule-catalogue { background: #faf9f4; }
  .capsule-grid { gap: 18px; }
  .capsule-card-body { padding: 22px 19px 19px; }
  .capsule-number { margin-bottom: 13px; }
  .capsule-card h2 { margin-bottom: 18px; }
}
/* Keep the product-led hero background above earlier theme layers. */
.capsule-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, #082e22ec 0%, #103a2cd9 49%, #143b2c96 73%, #163e2a5e 100%),
    url('../img/tables.png') !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center, center !important;
  background-size: cover, cover !important;
  border-bottom: 0;
}
.capsule-hero:before {
  width: 420px;
  height: 420px;
  right: 3%;
  top: -195px;
  border-color: #efd8a74d;
}
.capsule-hero:after {
  width: 230px;
  height: 230px;
  right: 17%;
  bottom: -155px;
  border-color: #f6dfad35;
}
.capsule-hero .capsule-eyebrow { color: #f0cf8c; }
.capsule-hero h1 { color: #fff8e8; }
.capsule-hero h1 em { color: #efce8a; }
.capsule-lede { color: #e1eadd; max-width: 505px; }
@media (max-width: 575px) {
  .capsule-hero {
    min-height: 450px;
    align-items: flex-start;
    padding-top: 49px;
    background-position: center, center !important;
    background-size: cover, cover !important;
  }
  .capsule-hero:before { width: 230px; height: 230px; right: -92px; top: -100px; }
  .capsule-hero:after { width: 150px; height: 150px; right: 30px; bottom: -99px; }
  .capsule-hero h1 { max-width: 300px; }
  .capsule-lede { max-width: 265px; color: #e6eee2; }
}

/* Consistent product imagery and clear dosage-form filters. */
.capsule-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -14px 0 30px; }
.capsule-filters button { min-width: 116px; padding: 12px 18px; border: 1px solid #c9b78a; border-radius: 999px; background: #fffdf6; color: #244a35; font: 700 12px/1 Arial, sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.capsule-filters button:hover, .capsule-filters button[aria-pressed="true"] { border-color: #1c4934; background: #1c4934; color: #fff8e9; }
.capsule-filters button:focus-visible { outline: 3px solid #c28a3f; outline-offset: 3px; }
.capsule-card { border: 0; box-shadow: 0 15px 34px -26px #173d3040; }
.capsule-card:before { left: 20px; right: 20px; }
.capsule-image { padding: 24px; border-bottom: 0; background: #f3f1e8; }
.capsule-image:before { display: none; }
.capsule-image img { width: 100%; height: 100%; object-fit: contain; object-position: center center; mix-blend-mode: multiply; }
.capsule-card-body { border-top: 1px solid #ece6d7; }
@media (max-width: 575px) {
  .capsule-filters { margin: -5px 0 23px; gap: 8px; }
  .capsule-filters button { flex: 1; min-width: 0; padding: 12px 10px; }
  .capsule-image { padding: 24px 32px; }
}

/* Refined catalogue presentation */
.capsule-catalogue {
  padding-top: 94px;
  background:
    radial-gradient(circle at 8% 14%, #dbe9dc80 0, transparent 21%),
    radial-gradient(circle at 92% 7%, #ecd8ac52 0, transparent 20%),
    #faf9f4;
}
.capsule-section-heading {
  position: relative;
  align-items: flex-end;
  margin-bottom: 28px;
  padding-bottom: 27px;
  border-bottom: 1px solid #d7d8cb;
}
.capsule-section-heading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: min(180px, 34%);
  height: 2px;
  background: linear-gradient(90deg, #b7792e, #dfbd75, transparent);
}
.capsule-section-heading h2 {
  color: #173d2c;
  text-shadow: 0 1px #fff;
}
.capsule-filters {
  position: relative;
  display: inline-flex;
  gap: 0;
  margin: 0 0 37px;
  padding: 5px;
  border: 1px solid #ded6bf;
  border-radius: 999px;
  background: #eeece2;
  box-shadow: inset 0 1px 1px #b9b39f25, 0 13px 20px -20px #183d305c;
}
.capsule-filters button {
  min-width: 104px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4b604f;
  font-size: 11px;
  letter-spacing: .45px;
}
.capsule-filters button:hover,
.capsule-filters button[aria-pressed="true"] {
  border: 0;
  background: linear-gradient(135deg, #1d513a, #2d684b);
  color: #fffdf5;
  box-shadow: 0 7px 14px -9px #173d30;
}
.capsule-grid { gap: 25px; }
.capsule-card {
  border-radius: 16px;
  background: #fffefa;
  box-shadow: 0 20px 42px -34px #0b322668, 0 1px 0 #fff;
}
.capsule-card::before {
  left: 24px;
  right: 24px;
  height: 3px;
  opacity: .95;
}
.capsule-image {
  aspect-ratio: 1 / .9;
  padding: 25px;
  background:
    radial-gradient(ellipse at 50% 100%, #d9e7d648 0, transparent 55%),
    linear-gradient(135deg, #f6f3e9 0%, #efede2 100%);
}
.capsule-image::after {
  content: '';
  position: absolute;
  width: 64%;
  height: 13px;
  left: 18%;
  bottom: 19px;
  z-index: 0;
  border-radius: 50%;
  background: #1a48301c;
  filter: blur(7px);
}
.capsule-image img { z-index: 1; filter: drop-shadow(0 17px 11px #163d3022); }
.zoom-cue {
  z-index: 2;
  right: 14px;
  bottom: 14px;
  border-color: #d5bc85;
  box-shadow: 0 8px 17px -13px #163d307a;
}
.capsule-card-body { padding: 25px 22px 23px; }
.product-details-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: calc(100% - 44px);
  margin: 0 22px;
  padding: 11px 0 13px;
  border-top: 1px solid #e6dfcf;
  color: #1d5139;
  font: 700 10px/1 Arial, sans-serif;
  letter-spacing: 1.1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, letter-spacing .2s ease;
}
.product-details-link span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #e8efe3;
  color: #a7732e;
  font-size: 15px;
  letter-spacing: 0;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.product-details-link:hover,
.product-details-link:focus-visible { color: #a46f28; letter-spacing: 1.35px; }
.product-details-link:hover span,
.product-details-link:focus-visible span { background: #1d5139; color: #fffdf5; transform: translateX(3px); }
.product-details-link:focus-visible { outline: 2px solid #be883c; outline-offset: 3px; }
.capsule-card h2 {
  color: #153e2b;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.18;
}
.capsule-card dl > div { border-color: #e7e1d1; }
.capsule-card dt { color: #986d2d; }
.capsule-card dl > div:last-child {
  border-color: #e2d6b8;
  background: linear-gradient(110deg, #fbf8ed, #f3f0e5);
}
@media (hover: hover) {
  .capsule-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 27px 48px -33px #0b322687, 0 1px 0 #fff;
  }
  .capsule-card:hover .capsule-image img { transform: scale(1.065) translateY(-2px); }
}
@media (max-width: 820px) {
  .capsule-catalogue { padding-top: 72px; }
  .capsule-grid { gap: 19px; }
}
@media (max-width: 575px) {
  .capsule-catalogue { padding-top: 56px; }
  .capsule-section-heading { margin-bottom: 22px; padding-bottom: 21px; }
  .capsule-filters { display: flex; width: 100%; margin-bottom: 27px; }
  .capsule-filters button { flex: 1; padding: 11px 6px; font-size: 10px; }
  .capsule-card { border-radius: 14px; }
  .capsule-image { aspect-ratio: 1.28 / 1; padding: 25px 34px; }
  .capsule-card-body { padding: 22px 19px 20px; }
  .product-details-link { width: calc(100% - 38px); margin: 0 19px; }
}

/* Keep the product action after the packing information. */
.capsule-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.capsule-image { order: 1; }
.capsule-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  order: 2;
}
.capsule-card-body dl { margin-top: auto; }
.product-details-link {
  order: 3;
  width: calc(100% - 44px);
  margin: 0 22px 22px;
  padding: 13px 16px;
  border: 1px solid #24543b;
  border-radius: 8px;
  background: linear-gradient(135deg, #174631 0%, #2f6c4a 100%);
  box-shadow: 0 10px 18px -14px #0d332484, inset 0 1px 0 #ffffff2e;
  color: #fffdf4;
  font-size: 10px;
  letter-spacing: 1.05px;
}
.product-details-link span {
  width: 24px;
  height: 24px;
  background: #f0c66e;
  color: #174631;
  box-shadow: 0 2px 5px #1236232b;
}
.product-details-link:hover,
.product-details-link:focus-visible {
  border-color: #a9772e;
  background: linear-gradient(135deg, #a7732e, #c79242);
  color: #fffdf4;
  letter-spacing: 1.22px;
}
.product-details-link:hover span,
.product-details-link:focus-visible span {
  background: #fffaf0;
  color: #a7732e;
  transform: translateX(3px);
}
@media (max-width: 575px) {
  .product-details-link { width: calc(100% - 38px); margin: 0 19px 19px; }
}


