
  /* ============================================
     Theme tokens — change these to re-brand
     ============================================ */
  :root {
    --color-tab-blue: #0F6E7E;
    --color-tab-purple: #C9912E;
    --color-number-badge: #0F6E7E;
    --color-link: #1B6BB8;
    --color-cta: #F18820;
    --color-cta-hover: #D9760E;
    --color-star: #F5B400;
    --color-check: #2E7D32;

    --color-badge-ada-bg: #EFEFEF;
    --color-badge-ada-text: #1A1A1A;
    --color-badge-psi-bg: #EFEFEF;
    --color-badge-psi-text: #1A1A1A;
    --color-badge-amber-bg: #EFEFEF;
    --color-badge-amber-text: #1A1A1A;
    --color-badge-purple-bg: #EFEFEF;
    --color-badge-purple-text: #1A1A1A;
    --color-badge-teal-bg: #EFEFEF;
    --color-badge-teal-text: #1A1A1A;

    --color-text: #1A1A1A;
    --color-text-body: #2A2A2A;
    --color-text-muted: #6B6B6B;
    --color-surface: #FFFFFF;
    --color-border-subtle: #E2E2E2;

    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;

    /* Font stack — Inter primary, system fallbacks if not loaded */
    --wfl-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --wfl-font-feature-settings: 'cv11', 'ss01', 'ss03';
  }

  .wfl-listicle, .wfl-listicle *, .wfl-listicle *::before, .wfl-listicle *::after { box-sizing: border-box; margin: 0; padding: 0; }

  /* Apply font + container shadow */
  .wfl-listicle {
    font-family: var(--wfl-font);
    font-feature-settings: var(--wfl-font-feature-settings);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    max-width: 1125px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
    border: 1px solid #E2E2E2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .wfl-listicle .wfl-product-card-wrapper {
    background: var(--color-surface);
  }
  .wfl-listicle .wfl-product-card-wrapper:first-of-type {
    border-top-left-radius: var(--radius-sm);
    border-top-right-radius: var(--radius-sm);
  }
  .wfl-listicle .wfl-product-card-wrapper:last-of-type {
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
  }

  /* ============================================
     Page heading
     ============================================ */
  .wfl-page-header {
    max-width: 1125px;
    margin: 0 auto 32px;
    text-align: center;
  }
  .wfl-page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.5px;
  }
  .wfl-page-subtitle {
    margin-top: 6px;
    font-size: 14px;
    color: var(--color-text-muted);
  }

  /* ============================================
     Card wrapper — stacks vertically
     ============================================ */
  .wfl-product-card-wrapper {
    max-width: 1125px;
    margin: 0 auto;
  }

  .wfl-product-card-wrapper + .wfl-product-card-wrapper {
    border-top: 1px solid #E2E2E2;
  }

  /* ============================================
     Top tabs
     ============================================ */
  .wfl-tab-row {
    display: flex;
    position: relative;
    z-index: 2;
    margin-bottom: -2px;
  }

  .wfl-tab {
    padding: 5px 18px;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.2px;
  }

  .wfl-tab-best {
    background: var(--color-tab-blue);
    border-top-left-radius: var(--radius-sm);
  }
  .wfl-tab-popular {
    background: var(--color-tab-purple);
    padding-right: 22px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  }

  /* ============================================
     Main product card
     ============================================ */
  .wfl-product-card {
    position: relative;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    padding: 7px 20px 13px;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 20px;
    align-items: start;
    cursor: pointer;
    transition: box-shadow 0.15s ease;
  }

  .wfl-product-card:hover {
    box-shadow: inset 0 0 0 1px #64B5F6;
  }

  .wfl-product-card:has(.wfl-product-badge) {
    padding-top: 14px;
  }

  .wfl-product-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    background: var(--color-tab-blue);
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    padding: 4px 16px 4px 10px;
    letter-spacing: 0.2px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  }

  .wfl-product-badge--gold { background: var(--color-tab-purple); }

  /* ============================================
     LEFT — image column
     ============================================ */
  .wfl-left-col {
    position: relative;
    align-self: center;
  }

  .wfl-number-badge {
    position: absolute;
    left: -37px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--color-number-badge);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 17px;
    z-index: 3;
    border: 2px solid var(--color-number-badge);
  }

  .wfl-main-image {
    width: 200px;
    height: 200px;
    background: #F6F6F6;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .wfl-main-image img { width: 100%; height: 100%; object-fit: cover; }

  .wfl-img-placeholder {
    width: 80%;
    height: 80%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .wfl-img-placeholder svg { width: 100%; height: 100%; }

  /* ============================================
     MIDDLE — content column
     ============================================ */
  .wfl-middle-col { padding-top: 2px; }

  .wfl-product-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
    letter-spacing: -0.015em;
    margin-top: 0;
  }

  .wfl-title-divider {
    border-bottom: 1px solid #CCCCCC;
    margin: 3px 0 14px;
  }

  /* Trust badges row */
  .wfl-badges-row {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    align-items: center;
  }

  .wfl-badge-pill {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.4;
  }

  .wfl-badge-ada    { background: var(--color-badge-ada-bg);    color: var(--color-badge-ada-text); }
  .wfl-badge-psi    { background: var(--color-badge-psi-bg);    color: var(--color-badge-psi-text); }
  .wfl-badge-amber  { background: var(--color-badge-amber-bg);  color: var(--color-badge-amber-text); }
  .wfl-badge-purple { background: var(--color-badge-purple-bg); color: var(--color-badge-purple-text); }
  .wfl-badge-teal   { background: var(--color-badge-teal-bg);   color: var(--color-badge-teal-text); }

  .wfl-badge-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  /* Spec / bullet list */
  .wfl-spec-list {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
  }

  .wfl-spec-list li {
    padding: 0 0 0 24px;
    position: relative;
    font-size: 15px;
    color: #2A2A2A;
    line-height: 1.4;
  }

  .wfl-spec-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D32' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12.5 9.5 18 20 5.5'/></svg>");
    background-repeat: no-repeat;
    background-size: 18px 18px;
  }

  .wfl-spec-label {
    font-weight: 700;
    color: var(--color-text);
  }

  /* Cons list — same compact pattern as spec-list, red X icon */
  .wfl-cons-list {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
  }

  .wfl-cons-list li {
    padding: 0 0 0 24px;
    position: relative;
    font-size: 15px;
    color: #2A2A2A;
    line-height: 1.4;
  }

  .wfl-cons-list li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 6px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3.5 1 L12 9.5 L20.5 1 L23 3.5 L14.5 12 L23 20.5 L20.5 23 L12 14.5 L3.5 23 L1 20.5 L9.5 12 L1 3.5 Z' fill='%23C62828'/></svg>");
    background-repeat: no-repeat;
  }

  .wfl-full-review-link {
    display: inline-block;
    margin-left: auto;
    color: var(--color-link);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    z-index: 2;
  }

  .wfl-full-review-link:hover { text-decoration: underline; }

  /* ============================================
     RIGHT — CTA column
     ============================================ */
  .wfl-right-col {
    text-align: center;
    align-self: center;
  }

  .wfl-price-card {
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    background: var(--color-surface);
    width: 100%;
    box-sizing: border-box;
  }

  .wfl-score-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
  }

  .wfl-score-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.6px;
    line-height: 1;
  }

  .wfl-score-stars {
    font-size: 17px;
    letter-spacing: 2px;
    margin-right: -2px;
    background: linear-gradient(
      90deg,
      var(--color-star) 0,
      var(--color-star) var(--rating-percent, 100%),
      #D8D8D8 var(--rating-percent, 100%),
      #D8D8D8 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
  }

  .wfl-check-price-btn {
    background: var(--color-cta);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--radius-md);
    width: 100%;
    cursor: pointer;
    display: block;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
    transition: background 0.15s, transform 0.08s;
  }

  .wfl-check-price-btn:hover { background: var(--color-cta-hover); color: #FFFFFF; }
  .wfl-check-price-btn:active { transform: scale(0.99); }

  /* Card-link pattern: extend the Check Price link's clickable area to cover the entire card */
  .wfl-check-price-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }

  .wfl-amazon-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
  }

  .wfl-bought-info {
    margin-top: 14px;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.45;
  }

  /* ============================================
     Responsive
     ============================================ */
  @media (max-width: 960px) {
    .wfl-product-card {
      grid-template-columns: 200px 1fr;
    }
    .wfl-right-col {
      grid-column: 1 / -1;
      max-width: 320px;
      margin: 0 auto;
      width: 100%;
    }
  }

  @media (max-width: 640px) {
    
    .wfl-product-card {
      grid-template-columns: 1fr;
      padding: 18px;
      gap: 20px;
    }
    .wfl-left-col {
      max-width: none;
      margin: 0;
      width: auto;
    }
    .wfl-number-badge {
      top: 50%;
      transform: translateY(-50%);
      left: -35px;
    }
    .wfl-tab { padding: 4px 14px; font-size: 11px; }
    .wfl-page-title { font-size: 22px; }
  }



  /* =====================================================
     COMPARISON BLOCK (.wflc-) — Rehub "More Offers" style
     Blue header bar + 4-column grid + orange Check Price.
     ===================================================== */

  /* =====================================================
     COMPARISON BLOCK — Compact Professional Design
     ===================================================== */

  .wflc-compare {
    --wflc-header-bg: #1A1A1A;
    --wflc-border: #E8E8E8;
    --wflc-text: #1A1A1A;
    --wflc-muted: #6B6B6B;
    --wflc-cta: #F18820;
    --wflc-cta-hover: #D9760E;

    background: #FFFFFF;
    border: 1px solid var(--wflc-border);
    border-radius: 8px;
    margin: 28px auto;
    max-width: 1125px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }

  .wflc-header {
    background: var(--wflc-header-bg);
    padding: 8px 20px;
    text-align: center;
  }
  .wflc-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }
  .wflc-section-subtitle { display: none; }

  .wflc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .wflc-card {
    position: relative;
    background: #FFFFFF;
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--wflc-border);
    text-align: center;
    cursor: pointer;
    transition: background 0.15s;
  }
  .wflc-card:hover {
    background: #FAFAFA;
  }
  .wflc-card-cta {
    margin-top: auto !important;
  }
  .wflc-card:last-child { border-right: none; }

  .wflc-accent-stripe { display: none; }
  .wflc-card-badge { display: none; }

  .wflc-card-image {
    width: 100px;
    height: 100px;
    background: #F8F8F8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
  }
  .wflc-card-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
  }
  .wflc-card-image .wflc-img-placeholder svg {
    width: 40px;
    height: 40px;
  }

  .wflc-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--wflc-text);
    line-height: 1.3;
    margin: 0 0 8px;
    min-height: auto;
  }

  .wflc-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
  }
  .wflc-stars {
    font-size: 15px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #F5B400 var(--rating-percent, 90%), #D8D8D8 var(--rating-percent, 90%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .wflc-rating-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--wflc-text);
  }

  /* Compact pros / cons for comparison cards */
  .wflc-pros, .wflc-cons {
    list-style: none;
    width: 100%;
    text-align: left;
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-size: 12.5px;
    line-height: 1.4;
    color: #333;
  }
  .wflc-pros li, .wflc-cons li {
    position: relative;
    padding: 2px 0 2px 20px;
  }
  .wflc-pros li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D32' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .wflc-cons li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C62828' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .wflc-pc-label { font-weight: 700; color: #1A1A1A; }

  .wflc-specs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 12px;
    color: var(--wflc-muted);
    line-height: 1.4;
  }
  .wflc-specs li {
    position: relative;
    padding: 0 6px 0 10px;
  }
  .wflc-specs li::before {
    content: "·" !important;
    position: absolute;
    left: 3px;
    color: #999;
    font-weight: 900;
    font-size: 16px;
    background: none !important;
  }

  .wflc-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wflc-cta);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
    width: auto;
  }
  .wflc-card-cta:hover {
    background: var(--wflc-cta-hover);
    color: #fff;
  }
  .wflc-card-cta span[aria-hidden="true"] { display: none; }

  @media (max-width: 768px) {
    .wflc-grid { grid-template-columns: repeat(2, 1fr); }
    .wflc-card:nth-child(2) { border-right: none; }
    .wflc-card:nth-child(1), .wflc-card:nth-child(2) { border-bottom: 1px solid var(--wflc-border); }
  }
  @media (max-width: 480px) {
    .wflc-grid { grid-template-columns: 1fr; }
    .wflc-card { border-right: none; border-bottom: 1px solid var(--wflc-border); flex-direction: row; gap: 12px; text-align: left; padding: 12px 16px; }
    .wflc-card:last-child { border-bottom: none; }
    .wflc-card-image { width: 50px; height: 50px; margin-bottom: 0; flex-shrink: 0; }
    .wflc-card-title { font-size: 13px; margin: 0 0 4px; }
    .wflc-specs { justify-content: flex-start; margin: 0 0 6px !important; }
    .wflc-card-cta { padding: 6px 14px; font-size: 12px; }
  }

  /* Check Price CTA — cleaned up, uses rule above */
  }

  /* Responsive */
  @media (max-width: 900px) {
    .wflc-grid-3,
    .wflc-grid-4 {
      grid-template-columns: repeat(2, 1fr);
    }
    .wflc-card:nth-child(2) {
      border-right: none;
    }
    .wflc-card:nth-child(1),
    .wflc-card:nth-child(2) {
      border-bottom: 1px solid var(--wflc-border);
    }
  }

  @media (max-width: 560px) {
    .wflc-grid-2,
    .wflc-grid-3,
    .wflc-grid-4 {
      grid-template-columns: 1fr;
    }
    .wflc-card {
      border-right: none;
      border-bottom: 1px solid var(--wflc-border);
    }
    .wflc-card:last-child {
      border-bottom: none;
    }
    .wflc-card-image {
      height: 220px;
    }
  }

  /* Full-card clickable overlay — affiliate link covers entire card */
  .wflc-card-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  /* =====================================================
     ALIGNMENT NORMALIZATION (v2 fix)
     Force listicle + comparison to identical width and
     centering regardless of any block alignment wrapper.
     ===================================================== */
  .wfl-listicle,
  .wflc-compare {
    max-width: 1125px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .alignwide > .wfl-listicle,
  .alignfull > .wfl-listicle,
  .alignwide > .wflc-compare,
  .alignfull > .wflc-compare,
  .wp-block-listicle-builder,
  .wp-block-listicle-comparison {
    max-width: 1125px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* =====================================================
     BADGE GUTTER FIX (v3): keep number badge OUTSIDE the
     card (original look) but give the listicle an internal
     left gutter so the badge sits in the margin and is never
     clipped by the theme container. Comparison excluded.
     ===================================================== */
  /* Badge floats half on the card, half on the page background.
     EVERY ancestor must allow overflow so the overhanging half is never clipped. */
  .wfl-listicle,
  .wfl-listicle .wfl-product-card-wrapper,
  .wfl-listicle .wfl-product-card,
  .wfl-listicle .wfl-left-col,
  .wp-block-listicle-builder,
  .wp-block-listicle-builder > .wfl-listicle {
    overflow: visible !important;
  }


/* ============================================================
   listicle/reviews block — in-depth review cards (.lh-review)
   ============================================================ */
.lh-reviews{max-width:1120px;margin:0 auto}
.lh-reviews-title{font-size:26px;font-weight:800;letter-spacing:-0.3px;margin:48px 0 8px;color:#1A1A1A}
.lh-reviews-intro{font-size:15px;color:#6B6B6B;margin:0 auto 12px;line-height:1.6}
.lh-review{max-width:1120px;margin:0 auto;padding:32px 0;border-top:1px solid #E2E2E2}
.lh-review:first-of-type{margin-top:24px}
.lh-review-badge{font-size:14px;color:#6B6B6B;margin-bottom:6px;font-style:italic}
.lh-review h3{font-size:22px;font-weight:800;letter-spacing:-0.2px;margin-bottom:20px;color:#1A1A1A}
.lh-review-grid{display:grid;grid-template-columns:280px 1fr;gap:28px;align-items:start}
.lh-review-img{background:#F6F6F6;border-radius:8px;overflow:hidden;text-align:center;padding:16px}
.lh-review-img img{max-width:100%;height:auto;border-radius:4px}
.lh-review-img figcaption{font-size:11px;color:#999;margin-top:8px;font-style:italic}
.lh-review-specs{font-family:'Courier New',monospace;font-size:13px;color:#333;margin-bottom:14px;padding-bottom:12px;border-bottom:1px dotted #ccc}
.lh-review-specs strong{font-weight:700}
.lh-review-body p{font-size:16px;line-height:1.75;color:#333;margin-bottom:12px}
.lh-review-verdict{font-size:16px;line-height:1.75;color:#333;margin-top:16px}
.lh-review-verdict strong{color:#1A1A1A}
@media(max-width:700px){.lh-review-grid{grid-template-columns:1fr}.lh-review-img{max-width:280px;margin:0 auto}}
