/**
 * Lens Recommendation Plugin — Public Styles
 * ============================================
 * Design system: clean editorial / Wirecutter-inspired
 * Palette: Slate + Blue accent
 */

/* =============================================
   0. CSS CUSTOM PROPERTIES
   ============================================= */
:root {
    --lr-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --lr-bg: #f7f8fa;
    --lr-surface: #ffffff;
    --lr-border: #e4e7ec;
    --lr-border-light: #f0f2f5;
    --lr-text: #1e293b;
    --lr-text-secondary: #64748b;
    --lr-text-muted: #94a3b8;
    --lr-accent: #2563eb;
    --lr-accent-hover: #1d4ed8;
    --lr-accent-soft: #eff6ff;
    --lr-green: #059669;
    --lr-amber: #d97706;
    --lr-amber-soft: #fffbeb;
    --lr-radius: 10px;
    --lr-radius-sm: 6px;
    --lr-radius-lg: 16px;
    --lr-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --lr-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --lr-shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --lr-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
    --lr-max-w: 960px;
}

/* =============================================
   1. FORM STYLES (kept from original)
   ============================================= */
.lens-recommendation-form-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: var(--lr-font);
    padding: 30px;
    line-height: 1.6;
}

.lens-recommendation-form {
    background-color: var(--lr-surface);
    border: none;
    border-radius: var(--lr-radius);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--lr-shadow);
    margin-top: 30px;
}

.lens-recommendation-form h2 {
    margin-top: 0;
    color: var(--lr-text);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
}

.lens-recommendation-form h2:before {
    content: "\f128";
    font-family: dashicons;
    width: 38px;
    height: 38px;
    margin-right: 15px;
    background: var(--lr-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.lens-recommendation-form h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--lr-accent);
    border-radius: 2px;
}

.lens-recommendation-form .form-group { margin-bottom: 20px; }

.lens-recommendation-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--lr-text);
}

.lens-recommendation-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius-sm);
    background-color: var(--lr-surface);
    font-size: 16px;
    color: var(--lr-text);
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

.lens-recommendation-form select:focus {
    outline: none;
    border-color: var(--lr-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.lens-recommendation-submit {
    background: var(--lr-accent);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .25);
    display: inline-block;
    text-align: center;
}

.lens-recommendation-submit:hover {
    background: var(--lr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
}

/* Budget / Brand selects */
#budget-select,
#lens-brand-preference {
    background-color: #f8fafd;
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius-sm);
    padding: 12px 15px;
    width: 100%;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--lr-text-secondary);
    transition: all .2s;
}

#budget-select:focus,
#lens-brand-preference:focus {
    border-color: var(--lr-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.budget-info,
.brand-info {
    font-size: 14px;
    color: var(--lr-text-muted);
    margin-top: 8px;
    line-height: 1.5;
    padding-left: 2px;
}

/* =============================================
   1b. LOADING ANIMATION
   ============================================= */
.lens-recommendation-results { margin-top: 40px; }

.lens-recommendation-loading {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--lr-bg);
    border-radius: var(--lr-radius);
    box-shadow: var(--lr-shadow);
    color: var(--lr-text);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.lens-recommendation-loading:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 3px;
    background: var(--lr-accent);
    border-radius: 0 0 2px 2px;
    animation: lr-progress 2.5s ease infinite;
}

@keyframes lr-progress {
    0%   { width: 0; left: 0; }
    50%  { width: 70%; left: 0; }
    70%  { width: 50%; left: 50%; }
    100% { width: 10%; left: 100%; }
}

.loading-animation {
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.loading-animation .dot {
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--lr-accent);
    border-radius: 50%;
    animation: lr-dot 1.5s infinite ease-in-out;
}

.loading-animation .dot:nth-child(1) { animation-delay: 0s; }
.loading-animation .dot:nth-child(2) { animation-delay: .3s; }
.loading-animation .dot:nth-child(3) { animation-delay: .6s; }

@keyframes lr-dot {
    0%, 100% { transform: scale(.8); opacity: .5; }
    50%      { transform: scale(1.2); opacity: 1; }
}

.processing-status {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--lr-text);
}

.processing-steps {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.processing-steps:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--lr-border);
    z-index: 0;
    transform: translateY(-50%);
}

.processing-steps .step {
    position: relative;
    background-color: var(--lr-bg);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    color: var(--lr-text-muted);
    z-index: 1;
    transition: all .2s;
}

.processing-steps .step.active {
    background-color: var(--lr-accent-soft);
    color: var(--lr-accent);
    font-weight: 600;
}

/* No results / error */
.lens-recommendation-no-results {
    padding: 30px;
    background-color: var(--lr-bg);
    border-radius: var(--lr-radius);
    box-shadow: var(--lr-shadow);
    text-align: center;
    color: var(--lr-text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.lens-recommendation-error {
    padding: 20px;
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    border-radius: var(--lr-radius-sm);
    color: #991b1b;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

/* Camera search autocomplete */
.camera-search-container { position: relative; }

#camera-search {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius-sm);
    background-color: var(--lr-surface);
    font-size: 16px;
    color: var(--lr-text);
    transition: border-color .2s, box-shadow .2s;
}

#camera-search:focus {
    outline: none;
    border-color: var(--lr-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.camera-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: 0 0 var(--lr-radius-sm) var(--lr-radius-sm);
    box-shadow: var(--lr-shadow-lg);
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.camera-result-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color .15s;
    border-bottom: 1px solid var(--lr-border-light);
}

.camera-result-item:last-child { border-bottom: none; }
.camera-result-item:hover { background-color: var(--lr-accent-soft); }

.camera-name { font-weight: 500; color: var(--lr-text); }
.camera-mount { color: var(--lr-text-muted); font-size: .9em; margin-left: 5px; }
.no-results { padding: 12px 15px; color: var(--lr-text-muted); font-style: italic; text-align: center; }

.selected-camera { margin-top: 10px; display: none; }

.selected-camera-item {
    display: flex;
    align-items: center;
    background-color: var(--lr-accent-soft);
    border: 1px solid #bfdbfe;
    border-radius: var(--lr-radius-sm);
    padding: 10px 15px;
    font-size: 15px;
}

.selected-camera-name { font-weight: 600; color: var(--lr-accent); }
.selected-camera-mount { margin-left: 5px; color: var(--lr-text-muted); }

.remove-camera {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--lr-text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
}

.remove-camera:hover { color: #ef4444; }

/* =============================================
   1c. DISCOVER SECTION (homepage)
   ============================================= */
.lens-discover-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--lr-border);
}

.lens-discover-heading {
    font-size: 24px;
    color: var(--lr-text);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.lens-discover-heading:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--lr-accent);
    border-radius: 2px;
}

.lens-discover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.lens-discover-card {
    display: block;
    text-decoration: none;
    background-color: var(--lr-surface);
    border-radius: var(--lr-radius);
    overflow: hidden;
    box-shadow: var(--lr-shadow);
    transition: transform .2s, box-shadow .2s;
    color: inherit;
}

.lens-discover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lr-shadow-lg);
}

.lens-discover-card-inner {
    padding: 20px;
    border-left: 3px solid var(--lr-accent);
}

.lens-discover-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--lr-text);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.lens-discover-details { font-size: 14px; color: var(--lr-text-muted); }
.lens-discover-style { color: var(--lr-accent); font-weight: 500; }
.lens-discover-camera { font-weight: 500; }
.lens-discover-separator { margin: 0 5px; color: var(--lr-border); }

/* Card-style selectors */
.lens-recommendation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.lens-recommendation-card {
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    padding: 20px;
    cursor: pointer;
    transition: all .2s;
    background-color: var(--lr-surface);
    box-shadow: var(--lr-shadow-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lens-recommendation-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--lr-shadow-md);
    border-color: #cbd5e1;
}

.lens-recommendation-card.selected {
    border-color: var(--lr-accent);
    background-color: var(--lr-accent-soft);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .15);
}

.lens-recommendation-card.selected:before {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--lr-accent);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}

.lens-recommendation-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: var(--lr-radius-sm);
    transition: transform .2s;
}

.lens-recommendation-card:hover img { transform: scale(1.03); }

.lens-recommendation-card h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: var(--lr-text);
    font-weight: 600;
}

.lens-recommendation-card p {
    margin: 0;
    font-size: 14px;
    color: var(--lr-text-muted);
    line-height: 1.4;
}

.lens-recommendation-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--lr-accent);
    color: white;
    border: none;
    border-radius: var(--lr-radius-sm);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s, transform .15s;
    text-align: center;
    text-decoration: none;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
}

.lens-recommendation-btn:hover {
    background-color: var(--lr-accent-hover);
    transform: translateY(-2px);
}

.lens-recommendation-btn:active { transform: translateY(0); }

.lens-recommendation-btn-secondary {
    background-color: var(--lr-bg);
    color: var(--lr-text);
    border: 1px solid var(--lr-border);
}

.lens-recommendation-btn-secondary:hover { background-color: #e2e8f0; }

/* =============================================
   2. RESULTS PAGE — LAYOUT
   ============================================= */

/* Override WP theme titles — hide the theme's page title/header
   so it doesn't duplicate our hero section.
   Covers: Classic themes, Block themes, GeneratePress, Astra, OceanWP, Flavor, Flavor theme, Flavor, Kadence, etc. */

/* Titles inside the plugin content area */
.lr-page h1.entry-title,
.lr-page .page-title,
.lr-page .entry-header,
.lr-page .page-header,
.lr-page article header {
    display: none !important;
}

/* Page-level titles rendered by WP themes OUTSIDE plugin container */
body.page .entry-title,
body.page h1.entry-title,
body.page .page-title,
body.page h1.page-title,
body.page .entry-header,
body.page .page-header,
body.page .wp-block-post-title,
body.page h1.wp-block-post-title,
body.page h2.wp-block-post-title,
/* GeneratePress */
body.page .page-hero,
body.page .page-header-content,
/* Flavor / flavor theme */
body.page .flavor-page-header,
body.page .flavor-page-title,
/* Astra / popular themes */
body.page .ast-archive-description,
body.page .entry-header,
/* OceanWP */
body.page .page-header,
/* Kadence */
body.page .entry-hero,
/* Generic patterns */
body.page article > header,
body.page article > .entry-header,
body.page .site-main > header,
body.page .content-area > header,
body.page #primary > header {
    display: none !important;
}

body.page .site-content,
body.page #primary,
body.page main,
body.page .content-area,
body.page article,
body.page .entry-content,
body.page .site-main,
body.page #content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.lr-page {
    max-width: var(--lr-max-w);
    margin: 0 auto !important;
    padding: 0 20px 40px !important;
    font-family: var(--lr-font);
    line-height: 1.7;
    color: var(--lr-text);
    -webkit-font-smoothing: antialiased;
}

/* =============================================
   2a. BREADCRUMB
   ============================================= */
.lr-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 10px 0;
    font-size: 13px;
    color: var(--lr-text-muted);
    margin: 0 0 4px !important;
}

.lr-breadcrumb a {
    color: var(--lr-text-muted);
    text-decoration: none;
    transition: color .15s;
}

.lr-breadcrumb a:hover { color: var(--lr-accent); }

.lr-sep {
    margin: 0 8px;
    color: var(--lr-border);
    font-weight: 300;
}

.lr-current {
    color: var(--lr-text-secondary);
    font-weight: 500;
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =============================================
   2b. HERO (compact two-column)
   ============================================= */
.lr-hero {
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius-lg);
    padding: 28px 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

/* Subtle accent stripe at top */
.lr-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lr-accent) 0%, #60a5fa 100%);
}

.lr-hero-row {
    display: flex;
    align-items: center;
    gap: 32px;
}

.lr-hero-content {
    flex: 1;
    min-width: 0;
}

.lr-hero-topline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.lr-hero-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--lr-accent);
    padding: 3px 10px;
    background: var(--lr-accent-soft);
    border-radius: 4px;
    line-height: 1.4;
}

.lr-hero-date {
    font-size: 12px;
    color: var(--lr-text-muted);
    font-weight: 500;
}

.lr-hero-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--lr-text);
    margin: 0 0 6px;
    letter-spacing: -.02em;
}

.lr-hero-title span { color: var(--lr-accent); }

.lr-hero-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--lr-text-secondary);
    margin: 0;
}

.lr-hero-desc strong { color: var(--lr-text); font-weight: 600; }

/* Right-side spec pills */
.lr-hero-specs {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.lr-hero-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--lr-bg);
    border: 1px solid var(--lr-border-light);
    border-radius: var(--lr-radius);
    padding: 12px 18px;
    min-width: 72px;
    text-align: center;
}

.lr-hero-spec-val {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--lr-text);
    line-height: 1.2;
    white-space: nowrap;
}

.lr-hero-spec-lbl {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--lr-text-muted);
    margin-top: 2px;
}

/* =============================================
   2d. TABLE OF CONTENTS
   ============================================= */
.lr-toc {
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    padding: 20px 24px;
    margin-bottom: 36px;
}

.lr-toc-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lr-text-muted);
    margin: 0 0 12px;
}

.lr-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    counter-reset: toc;
}

.lr-toc-list > li {
    counter-increment: toc;
    margin: 0;
}

.lr-toc-list > li.lr-toc-has-sub {
    flex: 1 0 100%;
    width: 100%;
}

.lr-toc-has-sub > a {
    margin-bottom: 0;
}

.lr-toc-sublist {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lr-toc-sublist li {
    margin: 0;
}

.lr-toc-sublist a {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid var(--lr-border-light);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--lr-text-secondary);
    text-decoration: none;
    transition: all .15s;
}

.lr-toc-sublist a::before {
    content: none !important;
    display: none !important;
}

.lr-toc-sublist a:hover {
    background: var(--lr-accent-soft);
    border-color: #bfdbfe;
    color: var(--lr-accent);
}

.lr-toc-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--lr-bg);
    border: 1px solid var(--lr-border-light);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--lr-text-secondary);
    text-decoration: none;
    transition: all .15s;
}

.lr-toc-list > li > a::before {
    content: counter(toc);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--lr-accent);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.lr-toc-list > li > a:hover {
    background: var(--lr-accent-soft);
    border-color: #bfdbfe;
    color: var(--lr-accent);
}

/* =============================================
   3. SECTIONS
   ============================================= */
.lr-section {
    margin-bottom: 36px;
}

.lr-section-alt {
    background: var(--lr-bg);
    border-radius: var(--lr-radius-lg);
    padding: 32px;
    margin-left: -12px;
    margin-right: -12px;
}

.lr-section-head {
    margin-bottom: 28px;
}

.lr-section-head h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--lr-text);
    margin: 0 0 8px;
    letter-spacing: -.015em;
    line-height: 1.2;
}

.lr-section-head p {
    font-size: 16px;
    color: var(--lr-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* =============================================
   3b. AFFILIATE DISCLOSURE
   ============================================= */
.lr-affiliate-note {
    font-size: 12px;
    line-height: 1.5;
    color: var(--lr-text-muted);
    background: var(--lr-bg);
    border: 1px solid var(--lr-border-light);
    border-radius: var(--lr-radius-sm);
    padding: 10px 16px;
    margin-bottom: 12px;
}

/* =============================================
   3c. QUICK PICKS SUMMARY STRIP
   ============================================= */
.lr-quick-picks {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
    background: var(--lr-surface);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

/* Header bar */
.lr-qp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    background: linear-gradient(90deg, #0f1111 0%, #232f3e 100%);
    gap: 8px;
}

.lr-qp-header-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .3px;
}

.lr-qp-header-sub {
    font-size: 11px;
    color: rgba(255,255,255,.45);
    white-space: nowrap;
}

/* Each row — compact two-line layout */
.lr-qp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    text-decoration: none;
    color: var(--lr-text);
    border-bottom: 1px solid #f1f5f9;
    transition: background .12s;
    min-height: 0;
}

.lr-qp-row:last-child { border-bottom: none; }

.lr-qp-row:hover {
    background: #fffbeb;
    text-decoration: none;
    color: var(--lr-text);
}

.lr-qp-row:hover .lr-qp-go {
    background: #FF9900;
    color: #0f1111;
    border-color: #e88b00;
}

/* Top Pick row */
.lr-qp-row[data-rank="1"] {
    background: linear-gradient(90deg, #fffbeb 0%, #fff 70%);
    border-left: 3px solid #f59e0b;
}

.lr-qp-row[data-rank="1"]:hover {
    background: linear-gradient(90deg, #fef3c7 0%, #fffbeb 70%);
}

/* Rank number — compact pill */
.lr-qp-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
    background: #e2e8f0;
    color: #64748b;
}

.lr-qp-row[data-rank="1"] .lr-qp-rank {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}
.lr-qp-row[data-rank="2"] .lr-qp-rank { background: #94a3b8; color: #fff; }
.lr-qp-row[data-rank="3"] .lr-qp-rank { background: #b45309; color: #fff; }

/* Info block — two-line layout */
.lr-qp-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow: hidden;
}

.lr-qp-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--lr-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.lr-qp-sub-line {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    overflow: hidden;
    line-height: 1.2;
}

.lr-qp-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #94a3b8;
    white-space: nowrap;
    flex-shrink: 0;
}

.lr-qp-row[data-rank="1"] .lr-qp-badge { color: #d97706; }

.lr-qp-meta {
    font-size: 11px;
    color: #b0bec5;
    white-space: nowrap;
    flex-shrink: 0;
}

.lr-qp-price {
    font-size: 11px;
    font-weight: 700;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 4px;
    padding: 1px 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* CTA — icon-only arrow pill */
.lr-qp-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #64748b;
    flex-shrink: 0;
    transition: all .12s;
}

.lr-qp-row[data-rank="1"] .lr-qp-go {
    background: #FF9900;
    border-color: #e88b00;
    color: #0f1111;
}

.lr-qp-go-text { display: none; }

/* =============================================
   3.5 QUICK COMPARISON (CARD GRID STYLE)
   ============================================= */
.lr-qc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin: 20px 0 26px;
}

.lr-qc-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
    border: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}

.lr-qc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
}

.lr-qc-card.lr-qc-top {
    border-color: #f59e0b;
    box-shadow: 0 4px 20px rgba(245, 158, 11, .2);
}

.lr-qc-badge {
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .8px;
    text-align: center;
}

.lr-qc-head {
    padding: 18px 18px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lr-qc-rank {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.lr-qc-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lr-qc-body {
    padding: 14px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lr-qc-stats {
    display: flex;
    gap: 12px;
}

.lr-qc-stat {
    flex: 1;
    text-align: center;
    padding: 9px 6px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

.lr-qc-stat-label {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.lr-qc-stat-val {
    font-weight: 800;
    font-size: 14px;
    line-height: 1.25;
}

.lr-qc-specs {
    color: #334155;
}

.lr-qc-price {
    color: #059669;
}

.lr-qc-feat {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lr-qc-cta {
    display: block;
    text-align: center;
    padding: 12px 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    margin: 0 18px 18px;
    transition: opacity .2s;
}

.lr-qc-cta:hover {
    opacity: .92;
    color: #fff;
    text-decoration: none;
}

/* —— Our Top Lens Picks: panel + jump to full review —— */
.lr-top-picks-section .lr-top-picks-head {
    margin-bottom: 22px;
}

.lr-top-picks-lead {
    font-size: 15px;
    line-height: 1.65;
    color: var(--lr-text-secondary);
    margin: 0;
    max-width: 46rem;
}

.lr-top-picks-lead a {
    font-weight: 600;
    color: var(--lr-accent);
    text-decoration: none;
}

.lr-top-picks-lead a:hover {
    text-decoration: underline;
}

.lr-top-picks-panel {
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 23, 42, .06);
}

.lr-top-picks-panel-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}

.lr-top-picks-panel-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lr-top-picks-panel-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    font-weight: 500;
}

.lr-qc-grid--top-picks {
    margin: 18px 18px 22px;
}

.lr-qc-body--compact {
    gap: 8px;
    padding-top: 10px;
}

.lr-qc-jump {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.lr-qc-jump:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

/* —— In-depth reviews stack —— */
.lr-lens-reviews-section .lr-section-head p {
    max-width: 46rem;
    line-height: 1.65;
}

.lr-inline-back {
    font-weight: 600;
    color: var(--lr-accent);
    text-decoration: none;
    white-space: nowrap;
}

.lr-inline-back:hover {
    text-decoration: underline;
}

.lr-lens-detail-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lens-detail-card {
    scroll-margin-top: 96px;
}

/* =============================================
   4. LENS CARDS — THE GRID
   ============================================= */
/* =============================================
   LENS GRID & CARDS — redesigned (no Amazon images)
   ============================================= */

.lr-lens-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ── Base card ── */
.lens-card-item {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-left: 4px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform .18s, box-shadow .18s, border-color .18s;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.lens-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .11);
}

/* ── Rank-based left border color ── */
.lens-card-item[data-rank="1"] { border-left-color: #f59e0b; }
.lens-card-item[data-rank="2"] { border-left-color: #64748b; }
.lens-card-item[data-rank="3"] { border-left-color: #b45309; }
.lens-card-item[data-rank="4"] { border-left-color: #2563eb; }
.lens-card-item[data-rank="5"] { border-left-color: #7c3aed; }

/* ── Top Pick: full-width featured card ── */
.lr-lens-grid .lens-card-item:first-child,
.lr-lens-grid .lens-card-top-pick {
    grid-column: 1 / -1;
    border: 2px solid #f59e0b;
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fff 60%);
    padding: 0;
    overflow: hidden;
}

/* Top Pick banner strip */
.lens-top-pick-banner {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 24px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.lens-crown-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Restore inner padding for top pick card content */
.lens-card-top-pick .lens-card-header,
.lens-card-top-pick .lens-card-title,
.lens-card-top-pick .lens-card-stats,
.lens-card-top-pick .lens-card-reasons-section,
.lens-card-top-pick .lens-card-key-specs,
.lens-card-top-pick .lens-card-description,
.lens-card-top-pick .lens-card-cta-row {
    padding-left: 24px;
    padding-right: 24px;
}

.lens-card-top-pick .lens-card-header { padding-top: 18px; }
.lens-card-top-pick .lens-card-cta-row { padding-bottom: 22px; }

/* ── Card header row (badge + brand) ── */
.lens-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

/* ── Rank badge ── */
.lens-rank-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    white-space: nowrap;
    background: #1e293b;
    color: #fff;
    flex-shrink: 0;
}

.lens-rank-badge[data-rank="1"] { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 2px 8px rgba(217,119,6,.25); }
.lens-rank-badge[data-rank="2"] { background: linear-gradient(135deg, #64748b, #475569); }
.lens-rank-badge[data-rank="3"] { background: linear-gradient(135deg, #b45309, #92400e); }
.lens-rank-badge[data-rank="4"] { background: linear-gradient(135deg, #2563eb, #1e40af); }
.lens-rank-badge[data-rank="5"] { background: linear-gradient(135deg, #7c3aed, #6d28d9); }

/* ── Brand label ── */
.lens-card-brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--lr-accent);
}

/* ── Title ── */
.lens-card-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px;
    line-height: 1.25;
}

/* ── Specs stat boxes ── */
.lens-card-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.lens-stat-box {
    flex: 1;
    min-width: 80px;
    padding: 9px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
}

.lens-stat-val {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 3px;
}

.lens-stat-lbl {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
}

.lens-stat-price .lens-stat-val { color: #059669; }
.lens-stat-price { border-color: #a7f3d0; background: #f0fdf4; }

.lens-stat-keyspec .lens-stat-val { color: #6d28d9; font-size: 13px; }
.lens-stat-keyspec { border-color: #ddd6fe; background: #f5f3ff; }

/* ── Section label (small caps heading) ── */
.lens-card-section-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #94a3b8;
    margin: 0 0 8px;
}

/* ── Why This Lens (reasons) ── */
.lens-card-reasons-section {
    margin-bottom: 14px;
}

.lens-card-reasons {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lens-card-reasons li {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
}

.lens-card-reasons li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--lr-accent, #2563eb);
    font-weight: 700;
    font-size: 12px;
    top: 2px;
}

/* ── Key specs list ── */
.lens-card-key-specs {
    margin-bottom: 14px;
}

.lens-card-key-specs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lens-card-key-specs li {
    font-size: 13px;
    color: #475569;
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
}

.lens-card-key-specs li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: #94a3b8;
    font-weight: 900;
}

/* ── Description fallback ── */
.lens-card-description {
    margin-bottom: 14px;
}

.lens-card-description p {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* ── CTA row ── */
.lens-card-cta-row {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.lens-card-cta {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .15s;
    cursor: pointer;
    white-space: nowrap;
}

/* Amazon — orange */
.lens-cta-amazon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border: none;
}

.lens-cta-amazon:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, .35);
}

/* B&H — blue */
.lens-cta-bh {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
}

.lens-cta-bh:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, .35);
}

/* Featured card context overrides */
.lr-reco-featured-card .lens-card-title {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.lr-reco-featured-card .lens-stat-box {
    padding: 11px 14px;
}

.lr-reco-featured-card .lens-stat-val {
    font-size: 17px;
}

.lr-reco-featured-card .lens-card-reasons li {
    font-size: 15px;
    margin-bottom: 8px;
}

.lr-reco-featured-card .lens-card-section-label {
    font-size: 11px;
    margin-bottom: 10px;
}


/* =============================================
   5. METHODOLOGY
   ============================================= */
.lr-method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.lr-method-card {
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    padding: 24px;
    position: relative;
}

.lr-method-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--lr-accent);
    opacity: .15;
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.lr-method-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--lr-text);
    margin: 0 0 8px;
}

.lr-method-card p {
    font-size: 14px;
    color: var(--lr-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* =============================================
   6. BUYING GUIDE CHECKLIST
   ============================================= */
.lr-checklist {
    display: grid;
    gap: 12px;
}

.lr-check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    transition: border-color .15s;
}

.lr-check-item:hover { border-color: #a7f3d0; }

.lr-check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #ecfdf5;
    color: var(--lr-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-top: 1px;
}

.lr-check-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--lr-text);
    margin-bottom: 2px;
}

.lr-check-item p {
    font-size: 14px;
    color: var(--lr-text-secondary);
    margin: 0;
    line-height: 1.55;
}

/* =============================================
   7. PRO TIPS (numbered list style)
   ============================================= */
.lr-tips-list {
    display: grid;
    gap: 20px;
}

.lr-tip-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.lr-tip-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--lr-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    margin-top: 2px;
}

.lr-tip-body { flex: 1; min-width: 0; }

.lr-tip-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--lr-text);
    margin: 0 0 8px;
}

.lr-tip-text {
    font-size: 15px;
    color: var(--lr-text-secondary);
    line-height: 1.65;
}

.lr-tip-text ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.lr-tip-text li {
    margin-bottom: 6px;
    line-height: 1.55;
}

.lr-tip-text p {
    margin: 0 0 10px;
}

.lr-tip-text p:last-child { margin-bottom: 0; }

/* =============================================
   8. COMPOSITION IDEAS
   ============================================= */
.lr-composition-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.lr-comp-card {
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    padding: 24px;
    border-top: 3px solid var(--lr-accent);
}

.lr-comp-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--lr-text);
    margin: 0 0 10px;
}

.lr-comp-text {
    font-size: 14px;
    color: var(--lr-text-secondary);
    line-height: 1.65;
}

.lr-comp-text p { margin: 0 0 10px; }
.lr-comp-text p:last-child { margin-bottom: 0; }

.lr-comp-text ul {
    margin: 8px 0;
    padding-left: 20px;
}

.lr-comp-text li {
    margin-bottom: 6px;
}

/* =============================================
   9. COMPARISON TABLE
   ============================================= */
.lr-comparison-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lr-comparison-table table {
        width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.lr-comparison-table th {
    background: var(--lr-bg);
    text-align: left;
    padding: 12px 14px;
    border: 1px solid var(--lr-border);
    font-weight: 600;
    color: var(--lr-text);
}

.lr-comparison-table td {
    padding: 12px 14px;
    border: 1px solid var(--lr-border);
    color: var(--lr-text-secondary);
}

.lr-comparison-table tr:nth-child(even) { background: var(--lr-bg); }

/* =============================================
   10. CAMERA INFO
   ============================================= */
.lr-camera-info {
    font-size: 16px;
    line-height: 1.7;
    color: var(--lr-text-secondary);
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    padding: 28px;
}

.lr-camera-info p { margin: 0 0 14px; }
.lr-camera-info p:last-child { margin-bottom: 0; }
.lr-camera-info strong { color: var(--lr-text); font-weight: 600; }

/* =============================================
   11. FAQ
   ============================================= */
.lr-faq-list {
    display: grid;
    gap: 10px;
}

.lr-faq {
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    background: var(--lr-surface);
    overflow: hidden;
    transition: border-color .15s;
}

.lr-faq[open] { border-color: #bfdbfe; }

.lr-faq summary {
    cursor: pointer;
    padding: 16px 48px 16px 20px;
    font-weight: 600;
    font-size: 15px;
    color: var(--lr-text);
    list-style: none;
    position: relative;
    transition: background .15s;
}

.lr-faq summary::-webkit-details-marker { display: none; }

.lr-faq summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--lr-accent);
    font-weight: 400;
    transition: transform .15s;
}

.lr-faq[open] summary::after {
    content: "−";
}

.lr-faq summary:hover { background: var(--lr-bg); }

.lr-faq-body {
    padding: 0 20px 18px;
}

.lr-faq-body p {
    margin: 0;
    font-size: 15px;
    color: var(--lr-text-secondary);
    line-height: 1.65;
}

/* =============================================
   12. RELATED GUIDES
   ============================================= */
.lr-related-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lr-related-col {
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    padding: 24px;
}

.lr-related-col h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--lr-text);
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--lr-border-light);
}

.lr-related-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lr-related-col li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--lr-border-light);
}

.lr-related-col li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.lr-related-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--lr-accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .15s;
    line-height: 1.4;
}

.lr-related-col a::before {
    content: "→";
    flex-shrink: 0;
    color: var(--lr-text-muted);
    transition: transform .15s, color .15s;
}

.lr-related-col a:hover { color: var(--lr-accent-hover); }
.lr-related-col a:hover::before { transform: translateX(3px); color: var(--lr-accent); }

/* =============================================
   13. FOOTER
   ============================================= */
.lr-footer {
    text-align: center;
    padding-top: 36px;
    margin-top: 12px;
    border-top: 1px solid var(--lr-border);
}

.lr-footer-cta {
    margin-bottom: 24px;
}

.lr-footer-cta p {
    font-size: 16px;
    color: var(--lr-text-secondary);
    margin: 0 0 12px;
}

.lr-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--lr-accent);
    color: white;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .2);
}

.lr-btn-primary:hover {
    background: var(--lr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, .3);
    color: white;
    text-decoration: none;
}

/* Amazon price disclaimer — TOS §i required text */
.lr-price-disclaimer {
    background: var(--lr-bg, #f8f9fa);
    border: 1px solid var(--lr-border-light, #e5e7eb);
    border-radius: var(--lr-radius-sm, 6px);
    padding: 12px 16px;
    margin-bottom: 12px;
}

.lr-price-disclaimer p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--lr-text-secondary, #555);
    margin: 0;
}

.lr-price-disclaimer a {
    color: var(--lr-accent, #007185);
}

/* Quick-picks price note */
.lr-qp-price-note {
    font-size: 11px;
    color: var(--lr-text-muted);
    margin: 6px 0 16px;
    padding: 0 4px;
}

.lr-qp-price-note a {
    color: var(--lr-text-muted);
    text-decoration: underline;
}

.lr-disclaimer {
    font-size: 13px;
    color: var(--lr-text-muted);
    margin: 0;
}

/* =============================================
   14. GROUNDING SOURCES (Google Search)
   ============================================= */
.lr-grounding {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #7dd3fc;
    border-radius: var(--lr-radius);
    padding: 24px;
    margin-bottom: 28px;
}

.lr-grounding h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0369a1;
    margin: 0 0 12px;
}

.lr-grounding ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 8px;
}

.lr-grounding li a {
    display: block;
        padding: 10px 14px;
    background: white;
    border-radius: var(--lr-radius-sm);
    color: #0369a1;
    text-decoration: none;
        font-size: 13px;
    font-weight: 500;
    transition: all .15s;
    box-shadow: var(--lr-shadow-sm);
}

.lr-grounding li a:hover {
    background: #f0f9ff;
    transform: translateY(-1px);
    box-shadow: var(--lr-shadow);
}

/* =============================================
   15. MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .lr-page {
        padding: 0 16px 32px !important;
    }

    .lr-hero {
        padding: 22px 20px;
    }

    .lr-hero-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .lr-hero-title {
        font-size: 20px;
    }

    .lr-hero-specs {
        justify-content: center;
    }

    .lr-hero-spec {
        flex: 1;
        padding: 10px 12px;
        min-width: 0;
    }

    .lr-toc-list {
        gap: 6px;
    }

    .lr-toc-list > li > a {
        font-size: 12px;
        padding: 5px 10px;
    }

    .lr-toc-sublist a {
        font-size: 11px;
        padding: 4px 10px;
    }

    .lr-qc-grid--top-picks {
        margin: 14px 14px 18px;
    }

    .lr-top-picks-panel-hd {
        padding: 12px 14px;
    }

    .lens-detail-card {
        scroll-margin-top: 72px;
    }

    /* Quick picks strip — mobile */
    .lr-qp-header-sub { display: none; }

    .lr-qp-row {
        gap: 10px;
        padding: 9px 12px;
    }

    .lr-qp-sub-line {
        flex-wrap: wrap;
        gap: 4px;
    }

    .lr-qp-go {
        width: 22px;
        height: 22px;
    }

    .lr-qc-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 16px 0 22px;
    }

    .lr-qc-head {
        padding: 14px 14px 0;
    }

    .lr-qc-body {
        padding: 12px 14px;
    }

    .lr-qc-stats {
        gap: 8px;
    }

    .lr-qc-cta {
        margin: 0 14px 14px;
        padding: 12px 12px;
        font-size: 13px;
    }

    .lr-lens-grid {
        grid-template-columns: 1fr;
    }

    .lr-lens-grid .lens-card-item:first-child,
    .lr-lens-grid .lens-card-top-pick {
        grid-column: 1;
    }

    .lens-top-pick-body {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
    }

    .lr-reco-featured-card .lens-card-top-pick .lens-card-title {
        font-size: 20px;
    }

    .lens-card-top-pick .lens-card-header,
    .lens-card-top-pick .lens-card-title,
    .lens-card-top-pick .lens-card-specs-bar,
    .lens-card-top-pick .lens-top-pick-body,
    .lens-card-top-pick .lens-card-cta-row {
        padding-left: 18px;
        padding-right: 18px;
    }

    .lens-top-pick-banner {
        padding: 7px 18px;
    }

    .lr-lens-grid .lens-card-item:first-child .lens-card-title {
        font-size: 18px;
    }

    .lens-card-proscons {
        grid-template-columns: 1fr;
    }

    .lens-card-cta-row {
        flex-direction: column;
    }

    .lr-section-alt {
        margin-left: -8px;
        margin-right: -8px;
        padding: 24px 20px;
    }

    .lr-section-head h2 {
        font-size: 22px;
    }

    .lr-method-grid {
        grid-template-columns: 1fr;
    }

    .lr-composition-list {
        grid-template-columns: 1fr;
    }

    .lr-related-cols {
        grid-template-columns: 1fr;
    }

    .lr-tip-item {
        gap: 14px;
    }

    .lr-tip-num {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .lr-hero {
        padding: 18px 16px;
    }

    .lr-hero-title {
        font-size: 18px;
    }

    .lr-hero-label {
        font-size: 10px;
    }

    .lr-hero-desc {
        font-size: 13px;
    }

    .lr-hero-spec {
        padding: 8px 10px;
    }

    .lr-hero-spec-val {
        font-size: 13px;
    }

    .lens-card-item {
        padding: 18px;
    }

    .lens-card-title {
        font-size: 15px;
    }

    .lens-card-cta {
        font-size: 13px;
        padding: 10px 12px;
    }
}

/* Discover section responsive */
@media (max-width: 768px) {
    .lens-discover-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 12px;
    }

    .lens-discover-section {
        margin-top: 30px;
        padding-top: 25px;
    }

    .lens-discover-heading {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .lens-recommendation-cards {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .lens-recommendation-card { padding: 15px; }

    .lens-recommendation-btn {
        width: 100%;
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* =============================================
   16. PRINT STYLES
   ============================================= */
@media print {
    .lr-page { max-width: 100%; padding: 0 !important; }
    .lr-hero { background: none !important; border: 1px solid #ddd; }
    .lr-toc, .lr-footer-cta, .lens-card-cta, .lens-card-cta-row, .lr-quick-picks, .lr-affiliate-note { display: none; }
    .lens-card-item { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
    .lr-section-alt { background: none; margin: 0; padding: 20px 0; }
}

/* =============================================
   17. REDESIGNED PRODUCT-FOCUSED PAGE (lr-reco-*)
   ============================================= */

.lr-reco-hero {
    background: linear-gradient(135deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.75) 40%, rgba(255,255,255,.65) 100%);
    border: 1px solid var(--lr-border-light, rgba(226,232,240,.9));
    border-radius: 18px;
    padding: 36px 40px;
    margin-bottom: 26px;
    text-align: center;
}

.lr-reco-hero-topline {
    justify-content: center;
}

.lr-reco-hero-sub {
    margin-left: auto;
    margin-right: auto;
}

.lr-reco-hero-chips {
    justify-content: center;
}

.lr-reco-jump-wrap {
    text-align: left;
}

.lr-reco-hero-row {
    display: block;
}

.lr-reco-hero-main {
    width: 100%;
}

.lr-reco-hero-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .18);
    color: var(--lr-accent, #2563eb);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lr-reco-hero-date {
    color: var(--lr-text-muted, #64748b);
    font-weight: 700;
    font-size: 12px;
}

.lr-reco-hero-title {
    font-size: 30px;
    font-weight: 900;
    margin: 0 0 10px;
    color: #0f172a;
    line-height: 1.15;
}

.lr-reco-hero-title span { color: var(--lr-accent, #2563eb); }

.lr-reco-hero-sub {
    margin: 0 0 16px;
    color: var(--lr-text-secondary, #475569);
    line-height: 1.7;
    font-size: 15px;
    max-width: 54ch;
    margin-left: auto;
    margin-right: auto;
}

/* Chips: inline pill row, sits below the subtitle */
.lr-reco-hero-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.lr-reco-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.lr-reco-chip-val {
    font-weight: 800;
    color: #0f172a;
    font-size: 14px;
}

.lr-reco-chip-lbl {
    color: var(--lr-text-muted, #64748b);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.lr-reco-jump-wrap {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(226,232,240,.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.lr-reco-jump-label {
    font-weight: 800;
    color: #0f172a;
    font-size: 13px;
}

.lr-reco-jump-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lr-reco-jump-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(226,232,240,.9);
    text-decoration: none;
    color: var(--lr-accent, #2563eb);
    font-weight: 800;
    font-size: 12px;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}

.lr-reco-jump-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(191,219,254,.9);
    box-shadow: 0 8px 22px rgba(37,99,235,.08);
    text-decoration: none;
}

.lr-reco-jump-rank {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37,99,235,.08);
    border: 1px solid rgba(37,99,235,.18);
    color: var(--lr-accent, #2563eb);
}

.lr-reco-jump-badge {
    color: #64748b;
    font-weight: 800;
    white-space: nowrap;
}

.lr-affiliate-disclaimer {
    font-size: 12px;
    color: #b0b8c4;
    margin: 0 0 18px;
    line-height: 1.5;
}

.lr-reco-section {
    margin-bottom: 36px;
}

.lr-reco-section-head {
    margin-bottom: 18px;
}

.lr-reco-section-head h2 {
    font-size: 26px;
    margin: 0 0 10px;
    color: #0f172a;
    font-weight: 900;
}

.lr-reco-section-head p {
    margin: 0;
    color: var(--lr-text-secondary, #475569);
    line-height: 1.7;
    font-size: 15px;
    max-width: 62ch;
}

.lr-reco-featured-card .lens-card-item {
    width: 100%;
}

.lr-reco-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lr-reco-decision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lr-reco-decision-card {
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    padding: 22px 20px;
    position: relative;
    overflow: hidden;
}

.lr-reco-decision-num {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 30px;
    font-weight: 900;
    opacity: .13;
    color: var(--lr-accent);
}

.lr-reco-decision-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.lr-reco-decision-card p {
    margin: 0;
    color: var(--lr-text-secondary);
    line-height: 1.65;
    font-size: 14px;
}

.lr-reco-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.lr-reco-check-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 18px;
    border-radius: var(--lr-radius);
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
}

.lr-reco-check-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.lr-reco-check-item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
    color: #0f172a;
}

.lr-reco-check-item span {
    display: block;
    color: var(--lr-text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.lr-reco-tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.lr-reco-tip-card {
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    padding: 22px 20px;
    display: flex;
    gap: 16px;
}

.lr-reco-tip-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(37,99,235,.1);
    border: 1px solid rgba(37,99,235,.18);
    color: var(--lr-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.lr-reco-tip-body h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
}

.lr-reco-tip-text {
    color: var(--lr-text-secondary);
    line-height: 1.65;
    font-size: 14px;
}

.lr-reco-camera-card {
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    padding: 26px 22px;
    color: var(--lr-text-secondary);
    line-height: 1.75;
}

.lr-reco-comp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.lr-reco-comp-card {
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    padding: 22px 20px;
}

.lr-reco-comp-card h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
}

.lr-reco-comp-text {
    color: var(--lr-text-secondary);
    line-height: 1.7;
    font-size: 14px;
}

.lr-reco-comparison-card {
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    padding: 20px 18px;
    overflow-x: auto;
}

.lr-reco-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lr-reco-related-col {
    background: var(--lr-surface);
    border: 1px solid var(--lr-border);
    border-radius: var(--lr-radius);
    padding: 22px 20px;
}

.lr-reco-related-col h3 {
    margin: 0 0 14px;
    font-weight: 900;
    color: #0f172a;
    font-size: 16px;
}

.lr-reco-related-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lr-reco-related-col li { margin-bottom: 8px; }
.lr-reco-related-col li:last-child { margin-bottom: 0; }

.lr-reco-related-col a {
    color: var(--lr-accent);
    text-decoration: none;
    font-weight: 700;
}

.lr-reco-related-col a:hover { text-decoration: underline; }

.lr-reco-footer {
    margin-top: 18px;
    border-top: 1px solid var(--lr-border);
    padding-top: 26px;
}

.lr-reco-footer-cta p {
    margin: 0 0 12px;
    color: var(--lr-text-secondary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .lr-reco-hero { padding: 22px 16px; }
    .lr-reco-hero-title { font-size: 22px; }
    .lr-reco-grid { grid-template-columns: 1fr; }
    .lr-reco-decision-grid { grid-template-columns: 1fr; }
    .lr-reco-checklist { grid-template-columns: 1fr; }
    .lr-reco-tips-grid { grid-template-columns: 1fr; }
    .lr-reco-comp-grid { grid-template-columns: 1fr; }
    .lr-reco-related-grid { grid-template-columns: 1fr; }
}
