/*
 * Affiliate Comparison Kit
 * Generic scoped CSS.
 *
 * Mount inside a wrapper with class `.affcmp`.
 * Required theme variables:
 * --color-accent, --color-text, --color-text-muted, --color-border,
 * --color-bg, --color-bg-alt.
 */

.affcmp {
  --affcmp-text: var(--color-text, #111827);
  --affcmp-muted: var(--color-text-muted, #4b5563);
  --affcmp-border: var(--color-border, #e5e7eb);
  --affcmp-bg: var(--color-bg, #ffffff);
  --affcmp-bg-alt: var(--color-bg-alt, #f8fafc);
  --affcmp-accent: var(--color-accent, #f97316);
  --affcmp-soft: color-mix(in srgb, var(--affcmp-accent) 8%, var(--affcmp-bg));
  --affcmp-strong: color-mix(in srgb, var(--affcmp-accent) 16%, var(--affcmp-bg));
  --affcmp-positive: var(--color-success, #16a34a);
  --affcmp-negative: var(--color-danger, #dc2626);
  --affcmp-rank-gold-a: var(--rank-gold-a, #f8df88);
  --affcmp-rank-gold-b: var(--rank-gold-b, #d99b21);
  --affcmp-rank-silver-a: var(--rank-silver-a, #eef1f5);
  --affcmp-rank-silver-b: var(--rank-silver-b, #aab3bf);
  --affcmp-rank-bronze-a: var(--rank-bronze-a, #e9bc86);
  --affcmp-rank-bronze-b: var(--rank-bronze-b, #a7612d);
  color: var(--affcmp-text);
}

.affcmp *,
.affcmp *::before,
.affcmp *::after {
  box-sizing: border-box;
}

.affcmp-section {
  margin: 34px 0;
}

.affcmp-section h2 {
  margin: 0 0 10px;
  color: var(--affcmp-text);
}

.affcmp-section p {
  color: var(--affcmp-muted);
  line-height: 1.65;
}

.affcmp-kicker {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--affcmp-accent);
  color: var(--affcmp-bg);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.affcmp-section .affcmp-kicker,
.affcmp-carousel-head .affcmp-kicker {
  color: var(--affcmp-bg);
  line-height: 1.2;
}

.affcmp-head {
  display: grid;
  gap: 8px;
  max-width: 900px;
  margin: 0 0 18px;
}

.affcmp-head p {
  margin: 0;
}

.affcmp-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--affcmp-bg);
  color: var(--affcmp-accent);
  font-size: 1.2rem;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px var(--affcmp-border);
}

.affcmp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.affcmp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--affcmp-accent);
  color: var(--affcmp-bg) !important;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--affcmp-accent) 16%, transparent);
}

.affcmp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--affcmp-accent);
  color: var(--affcmp-bg) !important;
  text-decoration: none !important;
  font-weight: 950;
  text-align: center;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--affcmp-accent) 16%, transparent);
}

.affcmp-cta--ghost {
  background: var(--affcmp-bg);
  color: var(--affcmp-accent) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--affcmp-accent) 35%, var(--affcmp-border));
}

.affcmp-cta--small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: .88rem;
}

.affcmp-quick {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--affcmp-accent) 18%, var(--affcmp-border));
  border-radius: 22px;
  background: var(--affcmp-bg);
  box-shadow: 0 4px 10px rgba(6, 17, 15, .03);
}

.affcmp-quick__body {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: clamp(18px, 3vw, 28px);
}

.affcmp-quick__body h2,
.affcmp-quick__body p {
  margin: 0;
}

.affcmp-quick__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.affcmp-quick__points span {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--affcmp-soft);
  color: var(--affcmp-text);
  font-weight: 850;
  line-height: 1.35;
}

.affcmp-quick__media {
  background: var(--affcmp-soft);
}

.affcmp-quick__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.affcmp-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 12px;
  border: 1px solid var(--affcmp-border);
  border-radius: 18px;
  background: var(--affcmp-bg);
  text-align: center;
}

.affcmp-jump__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 100%;
  margin: 0 0 2px;
  color: var(--affcmp-text);
  font-weight: 950;
  font-size: .92rem;
}

.affcmp-jump__label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--affcmp-accent);
}

.affcmp-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--affcmp-accent) 6%, var(--affcmp-bg));
  color: var(--affcmp-text) !important;
  text-decoration: none;
  font-weight: 850;
  font-size: .88rem;
}

.affcmp-jump a:hover,
.affcmp-jump a:focus-visible {
  background: color-mix(in srgb, var(--affcmp-accent) 12%, var(--affcmp-bg));
  outline: 0;
}

.affcmp-top-picks,
.affcmp-scenarios,
.affcmp-budgets,
.affcmp-reviews,
.affcmp-profiles {
  display: grid;
  gap: 14px;
  padding: 3px 3px 14px;
}

.affcmp-top-picks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.affcmp-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 3px 3px 14px;
}

.affcmp-section-head {
  display: grid;
  gap: 6px;
  max-width: 880px;
  margin: 0 0 18px;
}

.affcmp-section-head h3,
.affcmp-carousel-head h3 {
  margin: 0;
  color: var(--affcmp-text);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.14;
}

.affcmp-scenarios {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.affcmp-budgets,
.affcmp-reviews {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.affcmp-profiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.affcmp-card-link {
  color: inherit !important;
  text-decoration: none !important;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.affcmp-card-link:hover,
.affcmp-card-link:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--affcmp-accent) 34%, var(--affcmp-border));
  box-shadow: 0 5px 12px rgba(6, 17, 15, .045);
  outline: 0;
}

.affcmp-pick {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--affcmp-border);
  border-radius: 18px;
  background: var(--affcmp-bg);
  box-shadow: 0 4px 10px rgba(6, 17, 15, .03);
}

.affcmp-pick__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 11px 14px;
  background: var(--affcmp-accent);
  color: var(--affcmp-bg);
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}

.affcmp-pick__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 11px 14px;
  background: var(--affcmp-accent);
  color: var(--affcmp-bg);
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}

.affcmp-pick__media,
.affcmp-rank-card__media,
.affcmp-product-mini__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--affcmp-bg);
}

.affcmp-pick__media {
  height: 245px;
  padding: 18px;
}

.affcmp-pick__media img,
.affcmp-rank-card__media img,
.affcmp-product-mini__media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.affcmp-media-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 18px;
  background: var(--affcmp-bg);
}

.affcmp-media-box img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.affcmp-pick__body,
.affcmp-card-body {
  display: grid;
  gap: 10px;
  flex: 1;
  padding: 16px;
}

.affcmp-pick__name,
.affcmp-rank-card__name,
.affcmp-product-mini__name {
  display: block;
  margin: 0;
  color: var(--affcmp-text);
  font-weight: 950;
  line-height: 1.18;
}

.affcmp-pick__name {
  padding: 0 18px;
  font-size: 1.2rem;
  text-align: center;
}

.affcmp-pick__text,
.affcmp-rank-card__text,
.affcmp-product-mini__text {
  display: block;
  color: var(--affcmp-text);
  line-height: 1.5;
}

.affcmp-pick__text {
  padding: 0 18px;
  font-size: .86rem;
  line-height: 1.42;
  text-align: center;
}

.affcmp-pick .affcmp-rating,
.affcmp-pick__price {
  margin-right: 18px;
  margin-left: 18px;
  text-align: center;
}

.affcmp-pick .affcmp-rating {
  margin-top: 4px;
}

.affcmp-pick__price {
  margin-top: 2px;
  margin-bottom: 8px;
}

.affcmp-pick .affcmp-button {
  margin-top: auto;
  margin-right: 18px;
  margin-bottom: 18px;
  margin-left: 18px;
  width: calc(100% - 36px);
}

.affcmp-price {
  color: var(--affcmp-accent);
  font-weight: 950;
  font-size: 1.35rem;
  line-height: 1;
}

.affcmp-pick__price {
  display: block;
  color: var(--affcmp-accent);
  font-weight: 950;
  font-size: 1.28rem;
  line-height: 1;
}

.affcmp-product-carousel {
  position: relative;
  display: grid;
  gap: 14px;
}

.affcmp-carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.affcmp-carousel-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.affcmp-carousel-controls.is-hidden {
  display: none;
}

.affcmp-carousel-btn {
  display: inline-grid;
  place-items: center;
  position: relative;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--affcmp-accent) 26%, var(--affcmp-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--affcmp-accent) 7%, var(--affcmp-bg));
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(6, 17, 15, .04);
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.affcmp-carousel-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: var(--affcmp-accent);
}

.affcmp-carousel-btn[data-affcmp-carousel-btn="prev"]::before {
  transform: translate(-42%, -50%) rotate(-135deg);
}

.affcmp-carousel-btn[data-affcmp-carousel-btn="next"]::before {
  transform: translate(-58%, -50%) rotate(45deg);
}

.affcmp-carousel-btn:hover,
.affcmp-carousel-btn:focus-visible {
  background: var(--affcmp-accent);
  border-color: var(--affcmp-accent);
  outline: 0;
}

.affcmp-carousel-btn:hover::before,
.affcmp-carousel-btn:focus-visible::before,
.affcmp-carousel-btn[data-affcmp-carousel-btn="next"]:hover,
.affcmp-carousel-btn[data-affcmp-carousel-btn="next"]:focus-visible {
  color: var(--affcmp-bg);
}

.affcmp-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 315px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  padding: 3px 3px 16px;
}

.affcmp-carousel-track::-webkit-scrollbar {
  display: none;
}

.affcmp-product-mini {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--affcmp-border);
  border-radius: 18px;
  background: var(--affcmp-bg);
  scroll-snap-align: start;
}

.affcmp-product-mini__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 12px;
  background: var(--affcmp-accent);
  color: var(--affcmp-bg);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}

.affcmp-product-mini__media {
  height: 220px;
  padding: 16px;
}

.affcmp-product-mini .affcmp-media-box {
  min-height: 170px;
}

.affcmp-product-mini__body {
  display: grid;
  gap: 12px;
  flex: 1;
  padding: 15px;
}

.affcmp-product-mini h3,
.affcmp-product-mini p {
  margin: 0;
}

.affcmp-product-mini h3 {
  color: var(--affcmp-text);
  font-size: 1.05rem;
  line-height: 1.22;
}

.affcmp-product-mini__reason {
  color: var(--affcmp-text);
  font-size: .86rem;
  line-height: 1.42;
}

.affcmp-product-mini__text {
  font-size: .86rem;
  line-height: 1.42;
}

.affcmp-product-mini__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--affcmp-text);
  font-size: .92rem;
  line-height: 1.35;
}

.affcmp-product-mini__meta strong {
  display: block;
  flex: 0 0 100%;
  color: var(--affcmp-accent);
  font-size: 1.18rem;
  line-height: 1;
}

.affcmp-product-mini__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--affcmp-soft);
  color: var(--affcmp-text);
  font-size: .8rem;
  font-weight: 850;
  line-height: 1;
}

.affcmp-product-mini__meta .affcmp-price {
  font-size: 1.18rem;
}

.affcmp-product-mini__meta .affcmp-stars {
  font-size: 1.08rem;
}

.affcmp-product-mini__facts {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.affcmp-product-mini__facts li {
  display: flex;
  gap: 7px;
  color: var(--affcmp-text);
  font-size: .9rem;
  line-height: 1.4;
}

.affcmp-product-mini__facts li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: .48em;
  border-radius: 999px;
  background: var(--affcmp-accent);
}

.affcmp-product-mini__watch {
  margin-top: auto;
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--affcmp-soft);
  color: var(--affcmp-text);
  font-size: .86rem;
  line-height: 1.4;
}

.affcmp-product-mini > .affcmp-button {
  width: calc(100% - 30px);
  margin: 0 15px 15px;
}

.affcmp-stars {
  color: var(--affcmp-accent);
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: .06em;
}

.affcmp-rating {
  display: block;
  color: var(--affcmp-accent);
  font-size: 1.32rem;
  line-height: 1;
  letter-spacing: .04em;
}

.affcmp-rating--large {
  font-size: 1.55rem;
}

.affcmp-rating span {
  color: color-mix(in srgb, var(--affcmp-accent) 38%, var(--affcmp-border));
}

.affcmp-rank-list {
  display: grid;
  gap: 14px;
  padding: 3px 3px 14px;
}

.affcmp-rank-card {
  display: grid;
  grid-template-columns: 76px 148px minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--affcmp-border);
  border-radius: 18px;
  background: var(--affcmp-bg);
  box-shadow: 0 4px 10px rgba(6, 17, 15, .03);
}

.affcmp-rank-card__pos,
.affcmp-rank {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--affcmp-soft);
  color: var(--affcmp-accent);
  font-weight: 950;
}

.affcmp-rank-card__pos {
  font-size: 1.02rem;
}

.affcmp-rank-card__media {
  height: 130px;
  padding: 10px;
}

.affcmp-rank-card__body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.affcmp-rank-card__label {
  color: var(--affcmp-accent);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.affcmp-rank-card__name {
  font-size: 1.22rem;
}

.affcmp-rank-card__text {
  font-size: .86rem;
  line-height: 1.42;
}

.affcmp-rank-card__side {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.affcmp-rank--gold .affcmp-rank {
  background: linear-gradient(135deg, var(--affcmp-rank-gold-a), var(--affcmp-rank-gold-b));
  color: var(--affcmp-text);
}

.affcmp-rank--gold .affcmp-rank-card__pos {
  background: linear-gradient(135deg, var(--affcmp-rank-gold-a), var(--affcmp-rank-gold-b));
  color: var(--affcmp-text);
}

.affcmp-rank--silver .affcmp-rank {
  background: linear-gradient(135deg, var(--affcmp-rank-silver-a), var(--affcmp-rank-silver-b));
  color: var(--affcmp-text);
}

.affcmp-rank--silver .affcmp-rank-card__pos {
  background: linear-gradient(135deg, var(--affcmp-rank-silver-a), var(--affcmp-rank-silver-b));
  color: var(--affcmp-text);
}

.affcmp-rank--bronze .affcmp-rank {
  background: linear-gradient(135deg, var(--affcmp-rank-bronze-a), var(--affcmp-rank-bronze-b));
  color: var(--affcmp-text);
}

.affcmp-rank--bronze .affcmp-rank-card__pos {
  background: linear-gradient(135deg, var(--affcmp-rank-bronze-a), var(--affcmp-rank-bronze-b));
  color: var(--affcmp-text);
}

.affcmp-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.affcmp-tag-list span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--affcmp-soft);
  color: var(--affcmp-text);
  font-size: .75rem;
  font-weight: 850;
}

.affcmp-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--affcmp-border);
  border-radius: 18px;
  background: var(--affcmp-bg);
}

.affcmp-card h3,
.affcmp-card p {
  margin: 0;
}

.affcmp-pick-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--affcmp-soft);
  color: var(--affcmp-text);
  font-weight: 950;
}

.affcmp-product {
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  gap: 26px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--affcmp-border);
  border-radius: 22px;
  background: var(--affcmp-bg);
  box-shadow: 0 4px 12px rgba(6, 17, 15, .032);
}

.affcmp-product__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: start;
}

.affcmp-product__shot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--affcmp-border);
  border-radius: 16px;
  background: var(--affcmp-bg);
}

.affcmp-product__shot:first-child {
  grid-column: 1 / -1;
  min-height: 205px;
}

.affcmp-product__shot img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.affcmp-product__content {
  display: grid;
  gap: 14px;
}

.affcmp-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.affcmp-spec-grid li {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--affcmp-border);
  border-radius: 14px;
  background: var(--affcmp-bg);
}

.affcmp-spec-grid b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--affcmp-text);
  font-size: .84rem;
}

.affcmp-proscons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.affcmp-pc {
  padding: 15px;
  border-radius: 16px;
  color: var(--affcmp-text);
}

.affcmp-pc--pro {
  background: color-mix(in srgb, var(--affcmp-positive) 16%, var(--affcmp-bg));
  border: 1px solid color-mix(in srgb, var(--affcmp-positive) 38%, var(--affcmp-border));
}

.affcmp-pc--con {
  background: color-mix(in srgb, var(--affcmp-negative) 13%, var(--affcmp-bg));
  border: 1px solid color-mix(in srgb, var(--affcmp-negative) 34%, var(--affcmp-border));
}

.affcmp-pc ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.1rem;
}

.affcmp-verdict {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--affcmp-accent) 12%, var(--affcmp-bg)), var(--affcmp-bg));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--affcmp-accent) 18%, var(--affcmp-border));
}

.affcmp-profile {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--affcmp-accent) 16%, var(--affcmp-border));
  border-radius: 22px;
  background: var(--affcmp-bg);
  box-shadow: 0 4px 10px rgba(6, 17, 15, .03);
}

.affcmp-profile__media {
  display: block;
  height: 190px;
  background: var(--affcmp-soft);
}

.affcmp-profile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.affcmp-profile h3 {
  display: grid;
  gap: 4px;
  margin: 0;
  text-align: center;
}

.affcmp-profile__from,
.affcmp-profile__to {
  display: block;
  color: var(--affcmp-text);
}

.affcmp-profile__arrow {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 2px auto;
  border-radius: 999px;
  background: var(--affcmp-soft);
  color: var(--affcmp-text);
  font-weight: 950;
}

.affcmp-focus {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 1.05fr);
  gap: 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--affcmp-accent) 18%, var(--affcmp-border));
  border-radius: 22px;
  background: var(--affcmp-bg);
  box-shadow: 0 4px 10px rgba(6, 17, 15, .03);
}

.affcmp-focus__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.affcmp-focus__body {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
}

@media (max-width: 1100px) {
  .affcmp-budgets,
  .affcmp-reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .affcmp-scenarios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .affcmp-quick,
  .affcmp-product,
  .affcmp-focus {
    grid-template-columns: 1fr;
  }

  .affcmp-top-picks,
  .affcmp-picks-grid,
  .affcmp-scenarios,
  .affcmp-budgets,
  .affcmp-reviews,
  .affcmp-profiles,
  .affcmp-spec-grid,
  .affcmp-proscons {
    grid-template-columns: 1fr;
  }

  .affcmp-rank-card {
    grid-template-columns: 1fr;
  }

  .affcmp-rank-card__pos,
  .affcmp-rank-card__side {
    justify-self: stretch;
  }

  .affcmp-rank-card__media {
    min-height: 170px;
  }

  .affcmp-carousel-head {
    display: grid;
  }

  .affcmp-product__media {
    grid-template-columns: 1fr 1fr;
  }

  .affcmp-product__shot:first-child {
    grid-column: 1 / -1;
  }
}

/* AFFILIATE_ARTICLE_LINE_PICK_20260604: one-line article recommendation variants. */
.affcmp-line-pick {
  display: grid;
  grid-template-columns: minmax(92px, 128px) minmax(0, 1fr) minmax(140px, auto);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--affcmp-border);
  border-radius: 18px;
  background: var(--affcmp-bg);
  color: inherit !important;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(6, 17, 15, .03);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.affcmp-line-pick:hover,
.affcmp-line-pick:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--affcmp-accent) 34%, var(--affcmp-border));
  box-shadow: 0 5px 12px rgba(6, 17, 15, .045);
  outline: 0;
}

.affcmp-line-pick__media {
  display: grid;
  place-items: center;
  height: 112px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--affcmp-accent) 12%, var(--affcmp-border));
  border-radius: 14px;
  background: #fff;
}

.affcmp-line-pick__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.affcmp-line-pick__body {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.affcmp-line-pick__body h3 {
  margin: 0;
  color: var(--affcmp-text);
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
  line-height: 1.16;
}

.affcmp-line-pick__stars {
  color: var(--affcmp-accent);
  font-size: 1.04rem;
  line-height: 1;
  letter-spacing: .08em;
}

.affcmp-line-pick__text {
  margin: 0;
  color: var(--affcmp-text);
  font-size: .88rem;
  line-height: 1.42;
}

.affcmp-line-pick__tags,
.affcmp-line-pick__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.affcmp-line-pick__tags span,
.affcmp-line-pick__checks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--affcmp-accent) 16%, var(--affcmp-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--affcmp-accent) 5%, var(--affcmp-bg));
  color: var(--affcmp-text);
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.12;
}

.affcmp-line-pick__checks span::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  background: var(--affcmp-accent);
  color: var(--affcmp-bg);
  font-size: .72rem;
  font-weight: 950;
  line-height: 1;
}

.affcmp-line-pick__side {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.affcmp-line-pick__price {
  display: block;
  color: var(--affcmp-accent);
  font: 950 1.18rem/1 var(--font-heading, var(--cms-font-heading));
  white-space: nowrap;
}

.affcmp-line-pick__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  border-radius: 0;
  background: var(--affcmp-accent);
  color: var(--affcmp-bg);
  font-size: .82rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .affcmp-line-pick {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }

  .affcmp-line-pick__media {
    height: 96px;
  }

  .affcmp-line-pick__side {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .affcmp-line-pick__price {
    text-align: left;
  }

  .affcmp-line-pick__cta {
    width: 100%;
  }
}
