/* Product card presentation. Issued affiliate markup is never altered here.
   Only a direct-child product image is sized; nested tracking images stay intact. */
.shopping-section .offer-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.shopping-section .offer-card > img {
  display: block;
  width: 100%;
  height: 180px;
  padding: 20px;
  object-fit: contain;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.shopping-section .offer-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px 24px;
  background: var(--bg);
  color: var(--primary);
  border-bottom: 1px solid var(--line);
}

.shopping-section .offer-visual-caption {
  min-width: 0;
  color: var(--muted);
  line-height: 1.6;
}

.shopping-section .offer-category-name {
  font-size: 13px;
  font-weight: 400;
}

.shopping-section .offer-visual > svg {
  order: -1;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
}

.shopping-section .offer-heading {
  padding: 24px 24px 16px;
}

.shopping-section .offer-heading h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.shopping-section .offer-heading .offer-model {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.shopping-section .offer-reason {
  margin: 0 24px 24px;
  padding: 0;
}

.shopping-section .offer-card .offer-caption {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.shopping-section .offer-reason p:not(.offer-caption) {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.shopping-section .offer-checks {
  margin: 0 24px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.shopping-section .offer-checks .points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shopping-section .offer-checks .points li {
  position: relative;
  margin: 0;
  padding: 0 0 0 16px;
  border: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
}

.shopping-section .offer-checks .points li::before {
  content: "";
  position: absolute;
  top: .8em;
  left: 1px;
  width: 4px;
  height: 4px;
  background: var(--line-strong);
  border: 0;
  border-radius: 1px;
}

.shopping-section .offer-card > .offer-price {
  margin: 0 24px 4px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.shopping-section .offer-card > .offer-price + p {
  margin: 0 24px 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.shopping-section .offer-card .offer-link {
  margin: auto 24px 24px;
  padding-top: 8px;
}

.shopping-section .offer-card .offer-link > a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 14px 18px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--surface);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  text-align: left;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: normal;
}

.shopping-section .offer-card .offer-link > a:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.shopping-section .offer-card .offer-link > a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.shopping-section .offer-card .offer-link .small-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
}

@media (max-width: 760px) {
  .shopping-section .offer-visual { padding-inline: 20px; }
  .shopping-section .offer-heading { padding: 20px 20px 14px; }
  .shopping-section .offer-heading h4 { font-size: 20px; }
  .shopping-section .offer-reason,
  .shopping-section .offer-checks { margin-inline: 20px; }
  .shopping-section .offer-card > .offer-price,
  .shopping-section .offer-card > .offer-price + p { margin-inline: 20px; }
  .shopping-section .offer-card .offer-link { margin-inline: 20px; }
  .shopping-section .offer-card .offer-link > a { padding: 13px 16px; }
}
