.thoa-affiliate-recommendation {
  --thoa-reco-ink: #20211f;
  --thoa-reco-muted: #696963;
  --thoa-reco-warm: #f4eee6;
  --thoa-reco-featured: #fffaf2;
  --thoa-reco-focus: #007185;
  --thoa-reco-accent: #8a4b20;
  --thoa-reco-teal: #275d5a;
  --thoa-reco-line: #d7d0c6;
  --thoa-reco-serif: Georgia, "Times New Roman", serif;
  --thoa-reco-sans: Lato, Arial, sans-serif;
  width: 100%;
  margin: 42px 0;
  color: var(--thoa-reco-ink);
  font-family: var(--thoa-reco-sans);
  line-height: 1.5;
}

.thoa-affiliate-recommendation *,
.thoa-affiliate-recommendation *::before,
.thoa-affiliate-recommendation *::after {
  box-sizing: border-box;
}

.thoa-affiliate-recommendation a,
.thoa-affiliate-recommendation a * {
  text-decoration: none !important;
}

.thoa-recommendation-ad-free-zone {
  display: flow-root;
}

.thoa-reco-inline {
  overflow: hidden;
  border: 1px solid var(--thoa-reco-line);
  border-radius: 4px;
  background: var(--thoa-reco-warm);
}

.thoa-reco-body {
  display: grid;
  grid-template-columns: minmax(220px, 31%) minmax(0, 1fr);
  min-height: 420px;
}

.thoa-reco-showcase {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 56px 22px 24px;
  color: inherit !important;
  background: var(--thoa-reco-featured);
  cursor: pointer;
  text-decoration: none !important;
  perspective: 900px;
}

.thoa-reco-editor-pick {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 8px 11px;
  border-radius: 2px;
  color: #fff;
  background: var(--thoa-reco-focus);
  box-shadow: 0 3px 8px rgba(32, 33, 31, 0.18);
  font-family: var(--thoa-reco-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.thoa-reco-book {
  position: relative;
  width: min(100%, 228px);
  aspect-ratio: 2 / 3;
  transform: rotateY(-8deg);
  transform-style: preserve-3d;
}

.thoa-reco-book-back,
.thoa-reco-cover {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.22);
}

.thoa-reco-book-back {
  transform: translateZ(-8px);
  background: #244f4a;
  box-shadow: 12px 16px 20px rgba(32, 33, 31, 0.2);
}

.thoa-reco-cover {
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 20px;
  border-left: 7px solid #244f4a;
  color: #203e3b;
  background: #c7d5d0;
  transform: translateZ(6px);
  text-align: center;
}

.thoa-reco-cover.has-image {
  padding: 0;
  border-left-width: 1px;
  background: #fff;
}

.thoa-reco-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
}

.thoa-reco-cover strong {
  font-family: var(--thoa-reco-serif);
  font-size: 18px;
  line-height: 1.1;
}

.thoa-reco-inline.is-attention-entered .thoa-reco-book {
  animation: thoa-reco-book-settle 700ms ease-out both;
}

.thoa-reco-book.is-preview-changing {
  animation: thoa-reco-preview-swap 220ms ease-out both;
}

@keyframes thoa-reco-book-settle {
  from {
    opacity: 0.78;
    transform: translateY(10px) rotateY(-14deg) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateY(-8deg) scale(1);
  }
}

@keyframes thoa-reco-preview-swap {
  from {
    opacity: 0.62;
    transform: rotateY(-8deg) scale(0.97);
  }
  to {
    opacity: 1;
    transform: rotateY(-8deg) scale(1);
  }
}

.thoa-reco-editorial {
  min-width: 0;
  padding: 16px 24px 15px;
}

.thoa-reco-lockup {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 15px;
}

.thoa-reco-lockup img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
}

.thoa-reco-lockup span {
  display: grid;
  line-height: 1.2;
}

.thoa-reco-lockup strong {
  font-size: 13px;
}

.thoa-reco-lockup small {
  color: var(--thoa-reco-muted);
  font-size: 11px;
}

.thoa-reco-heading h2 {
  margin: 5px 0 7px !important;
  padding: 0 !important;
  font-family: var(--thoa-reco-serif) !important;
  font-size: 28px !important;
  line-height: 1.14 !important;
}

.thoa-reco-heading > p {
  margin: 0 !important;
  color: var(--thoa-reco-muted);
  font-family: var(--thoa-reco-sans) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.thoa-reco-product-list {
  margin-top: 20px;
  border-top: 1px solid #d8d3ca;
}

.thoa-reco-product-row {
  display: grid;
  grid-template-columns: 25px 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  color: inherit !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 160ms ease;
}

.thoa-reco-product-row.is-primary {
  margin: 0 -24px;
  padding: 16px 24px;
  align-items: start;
  background: var(--thoa-reco-featured);
}

.thoa-reco-product-row.is-preview-active {
  margin-right: -24px;
  margin-left: -24px;
  padding-right: 24px;
  padding-left: 24px;
  background: var(--thoa-reco-featured);
}

.thoa-reco-product-list.is-previewing .thoa-reco-product-row.is-primary:not(.is-preview-active) {
  background: transparent;
}

.thoa-reco-product-row + .thoa-reco-product-row {
  border-top: 1px solid #e4dfd6;
}

.thoa-reco-rank {
  color: #8c877e;
  font-family: var(--thoa-reco-serif);
  font-size: 14px;
}

.thoa-reco-product-row.is-primary .thoa-reco-rank {
  color: var(--thoa-reco-accent);
  font-weight: 700;
}

.thoa-reco-thumbnail {
  position: relative;
  width: 42px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 5px 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-left: 3px solid #244f4a;
  border-radius: 2px;
  color: #203e3b;
  background: #c7d5d0;
  box-shadow: 2px 3px 5px rgba(32, 33, 31, 0.12);
  font-family: var(--thoa-reco-serif);
  font-size: 6px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.thoa-reco-thumbnail.has-image {
  padding: 0;
  border-left-width: 1px;
  background: #fff;
}

.thoa-reco-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
}

.thoa-reco-product-copy {
  min-width: 0;
}

.thoa-reco-product-copy h3 {
  margin: 0 !important;
  padding: 0 !important;
  overflow-wrap: anywhere;
  font-family: var(--thoa-reco-serif) !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
}

.thoa-reco-product-row.is-primary .thoa-reco-product-copy h3 {
  font-size: 18px !important;
}

.thoa-reco-title-line {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.thoa-reco-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6a6258;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.thoa-reco-stars {
  position: relative;
  display: inline-block;
  color: #d1cbc1;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1;
}

.thoa-reco-stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--thoa-rating-fill);
  overflow: hidden;
  color: #b46426;
  white-space: nowrap;
}

.thoa-reco-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin-top: 3px;
  color: var(--thoa-reco-muted);
  font-size: 10px;
  line-height: 1.35;
}

.thoa-reco-price-band {
  color: var(--thoa-reco-teal);
  font-weight: 700;
}

.thoa-reco-primary-reason {
  max-width: 430px;
  margin: 8px 0 0 !important;
  color: #4f4035;
  font-family: var(--thoa-reco-serif) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.thoa-reco-cta {
  width: 124px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 9px;
  border: 1px solid #0d0d0d;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(to bottom, #373737, #171717);
  box-shadow: inset 0 1px 0 #555, 0 1px 0 #000;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
  white-space: nowrap;
}

.thoa-reco-product-row.is-primary .thoa-reco-cta {
  border-color: #cf4c12;
  background: linear-gradient(to bottom, #f67730, #e15316);
  box-shadow: inset 0 1px 0 #ffa868, 0 1px 0 #a53f12;
  font-weight: 900;
  text-shadow: 1px 1px 0 #a53f12;
}

.thoa-reco-product-row:hover .thoa-reco-cta,
.thoa-reco-product-row:focus-visible .thoa-reco-cta {
  border-color: #000;
  background: linear-gradient(to bottom, #484848, #232323);
}

.thoa-reco-product-row.is-primary:hover .thoa-reco-cta,
.thoa-reco-product-row.is-primary:focus-visible .thoa-reco-cta {
  border-color: #a53f12;
  background: linear-gradient(to bottom, #fb8138, #e85d20);
}

.thoa-reco-disclosure {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 !important;
  padding: 11px 16px;
  border-top: 1px solid var(--thoa-reco-line);
  color: var(--thoa-reco-muted);
  background: rgba(255, 255, 255, 0.65);
  font-family: var(--thoa-reco-sans) !important;
  font-size: 9px !important;
  line-height: 1.45 !important;
}

.thoa-reco-disclosure strong {
  color: #4e4b46;
}

.thoa-reco-footer {
  margin-top: 56px;
  padding: 30px 28px 20px;
  border-top: 4px solid var(--thoa-reco-ink);
  background: var(--thoa-reco-warm);
}

.thoa-reco-footer-heading {
  margin-bottom: 20px;
}

.thoa-reco-eyebrow {
  color: var(--thoa-reco-accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.thoa-reco-footer-heading h2 {
  margin: 4px 0 5px !important;
  padding: 0 !important;
  font-family: var(--thoa-reco-serif) !important;
  font-size: 26px !important;
  line-height: 1.15 !important;
}

.thoa-reco-footer-heading p,
.thoa-reco-footer-disclosure {
  margin: 0 !important;
  color: var(--thoa-reco-muted);
  font-family: var(--thoa-reco-sans) !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
}

.thoa-reco-footer-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #bcc5bc;
  border-bottom: 1px solid #bcc5bc;
}

.thoa-reco-footer-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  padding: 17px 14px 17px 0;
  color: inherit !important;
  cursor: pointer;
  text-decoration: none !important;
}

.thoa-reco-footer-product + .thoa-reco-footer-product {
  padding-left: 16px;
  border-left: 1px solid #bcc5bc;
}

.thoa-reco-mini-cover {
  position: relative;
  width: 54px;
  aspect-ratio: 2 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-left: 4px solid #244f4a;
  color: #203e3b;
  background: #c7d5d0;
  box-shadow: 4px 6px 8px rgba(32, 33, 31, 0.12);
  font-family: var(--thoa-reco-serif);
  font-size: 7px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.thoa-reco-mini-cover.has-image {
  padding: 0;
  border-left-width: 1px;
  background: #fff;
}

.thoa-reco-mini-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
}

.thoa-reco-footer-copy {
  min-width: 0;
}

.thoa-reco-footer-copy h3 {
  margin: 0 0 4px !important;
  padding: 0 !important;
  overflow-wrap: anywhere;
  font-family: var(--thoa-reco-serif) !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

.thoa-reco-footer-copy p {
  margin: 0 0 10px !important;
  color: var(--thoa-reco-muted);
  font-family: var(--thoa-reco-sans) !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
}

.thoa-reco-footer-copy .thoa-reco-cta {
  width: auto;
  min-height: 32px;
  padding: 5px 10px;
}

.thoa-reco-footer-product:hover .thoa-reco-cta,
.thoa-reco-footer-product:focus-visible .thoa-reco-cta {
  background: linear-gradient(to bottom, #484848, #232323);
}

.thoa-reco-footer-disclosure {
  margin-top: 14px !important;
}

.thoa-reco-product-row:focus-visible,
.thoa-reco-showcase:focus-visible,
.thoa-reco-footer-product:focus-visible {
  outline: 3px solid rgba(0, 113, 133, 0.35);
  outline-offset: 2px;
}

@media (max-width: 820px) {
  .thoa-reco-body {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .thoa-reco-editorial {
    padding-right: 18px;
    padding-left: 18px;
  }

  .thoa-reco-product-row.is-primary,
  .thoa-reco-product-row.is-preview-active {
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .thoa-reco-product-row {
    grid-template-columns: 22px 42px minmax(0, 1fr);
  }

  .thoa-reco-cta {
    grid-column: 3;
    width: auto;
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .thoa-affiliate-recommendation {
    margin: 36px 0;
  }

  .thoa-reco-body {
    grid-template-columns: 1fr;
  }

  .thoa-reco-showcase {
    min-height: 430px;
    padding-right: 32px;
    padding-left: 32px;
  }

  .thoa-reco-book {
    width: min(100%, 240px);
  }

  .thoa-reco-footer {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 560px) {
  .thoa-reco-editorial {
    padding: 21px 15px 10px;
  }

  .thoa-reco-heading h2 {
    font-size: 25px !important;
  }

  .thoa-reco-product-row {
    grid-template-columns: 24px 46px minmax(0, 1fr);
    padding: 14px 0;
  }

  .thoa-reco-product-row.is-primary,
  .thoa-reco-product-row.is-preview-active {
    margin-right: -15px;
    margin-left: -15px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .thoa-reco-disclosure {
    flex-direction: column;
    gap: 5px;
  }

  .thoa-reco-footer-products {
    grid-template-columns: 1fr;
  }

  .thoa-reco-footer-product + .thoa-reco-footer-product {
    padding-left: 0;
    border-top: 1px solid #bcc5bc;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thoa-reco-inline.is-attention-entered .thoa-reco-book,
  .thoa-reco-book.is-preview-changing {
    animation: none;
  }
}
