.mcf-aff-section {
  container-type: inline-size;
  container-name: mcf-boutique;
  width: 100%;
  min-width: 0;
  margin: 32px 0;
  color: var(--mcf-text, #f7f4ea);
  font-family: var(--mcf-font-sans, system-ui, sans-serif);
  overflow-wrap: anywhere;
}
.mcf-aff-section *, .mcf-aff-section *::before, .mcf-aff-section *::after { box-sizing: border-box; }
.mcf-aff-section > h2 { margin: 0 0 20px; color: var(--mcf-text, #f7f4ea); }
.mcf-aff-section .mcf-aff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
  align-items: stretch;
}
.mcf-aff-section .mcf-aff-card {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--mcf-surface, #141d1f);
  border: 1px solid var(--mcf-border, #334044);
  border-radius: 3px;
  color: var(--mcf-text, #f7f4ea);
}
.mcf-aff-section .mcf-aff-media {
  display: block;
  width: 100%;
  height: 260px;
  flex-shrink: 0;
  place-items: center;
  background: var(--mcf-surface-2, #192527);
}
.mcf-aff-section .mcf-aff-media img.mcf-aff-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  margin: 0;
  padding: 4px;
  object-fit: contain;
}
.mcf-aff-section .mcf-aff-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
  padding: 16px;
}
.mcf-aff-section .mcf-aff-body h3 {
  margin: 0;
  color: var(--mcf-text, #f7f4ea);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.mcf-aff-section .mcf-aff-body .mcf-aff-copy {
  margin: 0;
  color: var(--mcf-muted, #aeb5b2);
  font-size: 14px;
  line-height: 1.5;
}
.mcf-aff-section .mcf-aff-body .mcf-aff-copy strong { color: var(--mcf-text, #f7f4ea); }
.mcf-aff-section .mcf-aff-body .mcf-aff-facts {
  color: var(--mcf-green, #8bda4b);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
}
.mcf-aff-section .mcf-aff-body details.mcf-aff-details {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.mcf-aff-section .mcf-aff-body details.mcf-aff-details > summary {
  padding: 3px 0;
  color: var(--mcf-muted, #aeb5b2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}
.mcf-aff-section .mcf-aff-details > summary:focus-visible {
  outline: 2px solid var(--mcf-green, #8bda4b);
  outline-offset: 3px;
}
.mcf-aff-section .mcf-aff-details-content { display: grid; gap: 8px; padding-top: 8px; }
.mcf-aff-section .mcf-aff-purchase { display: grid; gap: 8px; margin-top: auto; }
.mcf-aff-section .mcf-aff-price { color: var(--mcf-text, #f7f4ea); line-height: 1.4; }
.mcf-aff-section .mcf-aff-price span { color: var(--mcf-muted, #aeb5b2); font-size: 12px; }
.mcf-aff-section .mcf-aff-price strong { font-size: 20px; white-space: nowrap; }
.mcf-aff-section .mcf-aff-body a.mcf-aff-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 15px;
  border: 1px solid var(--mcf-green, #8bda4b);
  border-radius: 2px;
  background: transparent;
  color: var(--mcf-text, #f7f4ea);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.mcf-aff-section .mcf-aff-body a.mcf-aff-cta:hover,
.mcf-aff-section .mcf-aff-body a.mcf-aff-cta:focus-visible {
  background: var(--mcf-green, #8bda4b);
  color: #10200d;
  text-decoration: none;
}
.mcf-aff-section .mcf-aff-body a.mcf-aff-cta:focus-visible {
  outline: 2px solid var(--mcf-green, #8bda4b);
  outline-offset: 3px;
}
.mcf-aff-section .mcf-aff-disclosure {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--mcf-border, #334044);
  color: var(--mcf-muted, #aeb5b2);
  font-size: 12px;
  line-height: 1.6;
}
@supports (container-type: inline-size) {
  .mcf-aff-section .mcf-aff-grid { grid-template-columns: minmax(0, 1fr); }
  @container mcf-boutique (min-width: 580px) {
    .mcf-aff-section .mcf-aff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @container mcf-boutique (min-width: 900px) {
    .mcf-aff-section .mcf-aff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
}
.mcf-aff-section .mcf-aff-card[hidden], .mcf-aff-section .mcf-aff-tools[hidden] { display: none; }
.mcf-aff-section .mcf-aff-tools { margin-bottom: 18px; }
.mcf-aff-section .mcf-aff-controls { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 14px; }
.mcf-aff-section .mcf-aff-controls label { display: grid; gap: 7px; min-width: 0; line-height: 18px; color: var(--mcf-muted, #aeb5b2); font-size: 12px; }
.mcf-aff-section .mcf-aff-controls select,
.mcf-aff-section .mcf-aff-controls input,
.mcf-aff-section .mcf-aff-reset {
  box-sizing: border-box; width: auto; max-width: 100%; height: 44px; min-height: 44px; margin: 0; padding: 9px 10px;
  border: 1px solid var(--mcf-border, #334044); border-radius: 2px;
  background: var(--mcf-surface, #141d1f); color: var(--mcf-text, #f7f4ea);
  font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.4; text-transform: none; letter-spacing: normal;
}
.mcf-aff-section .mcf-aff-controls input { width: 105px; }
.mcf-aff-section .mcf-aff-controls [aria-invalid="true"] { border-color: #e89191; }
.mcf-aff-section .mcf-aff-controls :is(input, select, button):focus-visible { outline: 2px solid var(--mcf-green, #8bda4b); outline-offset: 2px; }
.mcf-aff-section .mcf-aff-reset { align-self: end; width: 100%; font-weight: 650; cursor: pointer; }
.mcf-aff-section .mcf-aff-reset:hover { border-color: var(--mcf-green, #8bda4b); }
.mcf-aff-section .mcf-aff-results { margin-top: 10px; color: var(--mcf-muted, #aeb5b2); font-size: 12px; line-height: 1.5; }
.mcf-aff-section .mcf-aff-votes { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; }
.mcf-aff-section .mcf-aff-vote-score { order: 2; color: var(--mcf-muted, #aeb5b2); font-size: 12px; line-height: 1.5; }
.mcf-aff-section .mcf-aff-vote-buttons { display: flex; align-items: center; gap: 0; margin: 0; order: 1; }
.mcf-aff-section .mcf-aff-vote-buttons[hidden] { display: none; }
.mcf-aff-section .mcf-aff-vote-buttons button {
  display: inline-grid; place-items: center; width: 28px; min-width: 0; height: 28px;
  margin: 0; padding: 0; background: transparent; border: 1px solid transparent; border-radius: 2px;
  color: var(--mcf-muted, #aeb5b2); font-size: 20px; line-height: 1; cursor: pointer;
}
.mcf-aff-section .mcf-aff-vote-buttons button.is-selected { background: transparent; border-color: transparent; color: var(--mcf-green, #8bda4b); }
.mcf-aff-section .mcf-aff-vote-buttons button:focus-visible { outline: 2px solid var(--mcf-green, #8bda4b); outline-offset: 1px; }
.mcf-aff-section .mcf-aff-vote-buttons button:disabled { opacity: .5; cursor: wait; }
.mcf-aff-section .mcf-aff-vote-buttons button:hover { background: transparent; border-color: transparent; }
.mcf-aff-section .mcf-aff-vote-preview { width: 32px; margin-left: 3px; color: var(--mcf-muted, #aeb5b2); font-size: 11px; line-height: 1; }
.mcf-aff-section .mcf-aff-vote-message:empty { display: none; }
.mcf-aff-section .mcf-aff-vote-message { flex-basis: 100%; order: 3; color: var(--mcf-muted, #aeb5b2); font-size: 11px; line-height: 1.5; }
.mcf-aff-section .mcf-aff-media a.mcf-aff-zoom { display: block; position: relative; width: 100%; height: 100%; text-decoration: none; cursor: zoom-in; }
.mcf-aff-section .mcf-aff-zoom > span { position: absolute; right: 7px; bottom: 7px; padding: 3px 7px; background: var(--mcf-surface, #141d1f); color: var(--mcf-text, #f7f4ea); border: 1px solid var(--mcf-border, #334044); font-size: 11px; line-height: 1.5; }
.mcf-aff-section .mcf-aff-zoom:focus-visible { outline: 2px solid var(--mcf-green, #8bda4b); outline-offset: -2px; }
dialog.mcf-aff-preview { box-sizing: border-box; width: min(94vw, 1100px); max-width: calc(100vw - 24px); max-height: 92vh; max-height: 92dvh; margin: auto; padding: 12px; border: 1px solid var(--mcf-border, #334044); background: var(--mcf-surface, #141d1f); color: var(--mcf-text, #f7f4ea); font-family: var(--mcf-font-sans, system-ui, sans-serif); }
dialog.mcf-aff-preview::backdrop { background: rgb(0 0 0 / 85%); }
dialog.mcf-aff-preview .mcf-aff-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; font-size: 14px; }
dialog.mcf-aff-preview .mcf-aff-preview-header > span { overflow-wrap: anywhere; }
dialog.mcf-aff-preview button { flex-shrink: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--mcf-border, #334044); background: transparent; color: var(--mcf-text, #f7f4ea); font: inherit; cursor: pointer; }
dialog.mcf-aff-preview button:focus-visible { outline: 2px solid var(--mcf-green, #8bda4b); outline-offset: 2px; }
dialog.mcf-aff-preview > img { display: block; width: 100%; height: auto; max-height: 72vh; max-height: 72dvh; object-fit: contain; }
.mcf-aff-section .mcf-aff-controls .mcf-aff-search-label { flex: 1 1 220px; }
.mcf-aff-section .mcf-aff-controls input.mcf-aff-search { width: 100%; }
.mcf-aff-section .mcf-aff-budget { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.mcf-aff-section .mcf-aff-budget legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mcf-aff-section .mcf-aff-budget-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mcf-aff-section .mcf-aff-budget-controls label { gap: 7px; }
.mcf-aff-section .mcf-aff-range-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 18px; }
.mcf-aff-section .mcf-aff-budget output { color: var(--mcf-text, #f7f4ea); font-size: 13px; font-weight: 650; }
.mcf-aff-section .mcf-aff-controls input[type="range"] { display: block; width: 100%; min-width: 0; min-height: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; accent-color: var(--mcf-green, #8bda4b); cursor: pointer; }
.mcf-aff-section .mcf-aff-controls input[type="range"]:disabled { opacity: .45; cursor: default; }

.mcf-aff-section .mcf-aff-controls select { width: 100%; }
.mcf-aff-section .mcf-aff-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--mcf-border, #334044); }
.mcf-aff-section .mcf-aff-categories a { display: inline-flex; align-items: center; min-height: 42px; margin: 0; padding: 9px 16px; border: 1px solid var(--mcf-border, #334044); border-radius: 2px; background: var(--mcf-surface, #141d1f); color: var(--mcf-text, #f7f4ea); font-size: 14px; font-weight: 650; line-height: 1.4; text-decoration: none; }
.mcf-aff-section .mcf-aff-categories a:is(:hover, [aria-current="page"]) { border-color: var(--mcf-green, #8bda4b); color: var(--mcf-green, #8bda4b); text-decoration: none; }
.mcf-aff-section .mcf-aff-categories a:focus-visible { outline: 2px solid var(--mcf-green, #8bda4b); outline-offset: 2px; }
@container mcf-boutique (min-width: 580px) {
  .mcf-aff-section .mcf-aff-controls { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .mcf-aff-section .mcf-aff-reset { width: auto; }
}
@container mcf-boutique (min-width: 1080px) {
  .mcf-aff-section .mcf-aff-controls { grid-template-columns: minmax(180px, 1.5fr) minmax(160px, 1fr) minmax(290px, 1.6fr) minmax(120px, .65fr) 130px; }
  .mcf-aff-section .mcf-aff-budget { grid-column: auto; }
}
