.tc-amazon-selection {
  background: #f7f1e8;
  border: 1px solid #d7c4aa;
  border-left: 5px solid #6a2b2b;
  border-radius: 4px;
  bottom: .7rem;
  box-shadow: 0 12px 36px rgba(32, 22, 18, .22);
  color: #30251f;
  font-family: Arial, Helvetica, sans-serif;
  left: 50%;
  margin: 0;
  max-height: calc(100vh - 2rem);
  max-width: 1050px;
  overflow-y: auto;
  padding: 1.5rem;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  z-index: 2000;
}
.tc-amazon-selection h2 { color: #6a2b2b; font-size: 1.6rem; margin: 0 0 1rem; }
.tc-amazon-selection,
.tc-amazon-selection h2,
.tc-amazon-selection h3,
.tc-amazon-selection p,
.tc-amazon-selection a,
.tc-amazon-selection button { font-family: Arial, Helvetica, sans-serif !important; }
.tc-amazon-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); list-style: none; margin: 0; padding: 0; }
.tc-amazon-carousel { position: relative; }
.tc-amazon-arrow { display: none; }
.tc-amazon-item { background: #fff; border: 1px solid #e3d7c8; border-radius: 4px; display: grid; gap: 1rem; grid-template-columns: 96px minmax(0, 1fr); padding: 1rem; }
.tc-amazon-cover-link { align-self: start; display: block; }
.tc-amazon-cover { aspect-ratio: 2 / 3; border: 1px solid #d7c4aa; border-radius: 2px; display: block; height: auto; width: 100%; }
.tc-amazon-content { min-width: 0; }
.tc-amazon-item--text-only { display: block; }
.tc-amazon-item h3 { color: #43201f; font-size: 1.1rem; margin: 0 0 .35rem; }
.tc-amazon-author { font-style: italic; margin: 0 0 .65rem; }
.tc-amazon-reason { margin: 0 0 .85rem; }
.tc-amazon-link { color: #6a2b2b; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.tc-amazon-link:focus-visible { outline: 3px solid #d18b31; outline-offset: 3px; }
.tc-amazon-disclosure { border-top: 1px solid #d7c4aa; font-size: .645rem; margin: 1rem 0 0; padding-top: .85rem; }
.tc-amazon-close {
  align-items: center;
  background: #6a2b2b;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: 700 1.35rem/1 Arial, Helvetica, sans-serif;
  height: 2rem;
  justify-content: center;
  position: absolute;
  right: .65rem;
  top: .65rem;
  width: 2rem;
}
.tc-amazon-close:hover { background: #431919; }
.tc-amazon-close:focus-visible { outline: 3px solid #d18b31; outline-offset: 2px; }
.tc-amazon-selection[hidden] { display: none !important; }
.tc-amazon-reopen {
  align-items: center;
  background: #f7f1e8;
  border: 2px solid #6a2b2b;
  border-radius: 999px;
  bottom: 1rem;
  box-shadow: 0 8px 24px rgba(32, 22, 18, .28);
  color: #6a2b2b;
  cursor: pointer;
  display: flex;
  font: 700 1.45rem/1 Arial, Helvetica, sans-serif;
  height: 3rem;
  justify-content: center;
  padding: 0;
  position: fixed;
  right: 4.2rem;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
  width: 3rem;
  z-index: 2000;
}
.tc-amazon-reopen:hover { background: #6a2b2b; box-shadow: 0 10px 28px rgba(32, 22, 18, .34); color: #fff; transform: translateY(-2px); }
.tc-amazon-reopen:focus-visible { outline: 3px solid #d18b31; outline-offset: 3px; }
.tc-amazon-reopen[hidden] { display: none !important; }
.tc-amazon-reopen-icon { display: block; fill: none; height: 1.35rem; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 1.35rem; }
@media (max-width: 575px) {
  .tc-amazon-selection { bottom: .5rem; max-height: calc(100vh - 1rem); padding: 1rem; width: calc(100% - 1rem); }
  .tc-amazon-selection h2 { font-size: 1.25rem; padding-right: 2.25rem; }
  .tc-amazon-carousel { padding: 0 2.35rem; }
  .tc-amazon-list {
    display: grid;
    gap: .75rem;
    grid-auto-columns: minmax(82%, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 0 .65rem;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-color: #6a2b2b #e3d7c8;
    scrollbar-width: auto;
  }
  .tc-amazon-list::-webkit-scrollbar { height: .7rem; }
  .tc-amazon-list::-webkit-scrollbar-track { background: #e3d7c8; border-radius: 1rem; }
  .tc-amazon-list::-webkit-scrollbar-thumb { background: #6a2b2b; border-radius: 1rem; }
  .tc-amazon-item {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    scroll-snap-align: start;
    text-align: center;
  }
  .tc-amazon-cover-link { align-self: center; margin: 0 auto; width: min(145px, 70%); }
  .tc-amazon-item h3 { margin-bottom: .35rem; }
  .tc-amazon-author { margin-bottom: .75rem; }
  .tc-amazon-reason { display: none; }
  .tc-amazon-arrow {
    align-items: center;
    background: #6a2b2b;
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 1.35rem;
    height: 2rem;
    justify-content: center;
    padding: 0;
    position: absolute;
    top: calc(50% - 1.35rem);
    width: 2rem;
    z-index: 2;
  }
  .tc-amazon-arrow--previous { left: 0; }
  .tc-amazon-arrow--next { right: 0; }
  .tc-amazon-arrow:hover { background: #431919; }
  .tc-amazon-arrow:focus-visible { outline: 3px solid #d18b31; outline-offset: 2px; }
  .tc-amazon-arrow:disabled { cursor: default; opacity: .35; }
  .tc-amazon-reopen { bottom: .5rem; right: 4rem; }
}
@media (prefers-reduced-motion: reduce) { .tc-amazon-reopen { transition: none; } }
