/* custom.css
   Cleaned, deduplicated, and safer.
   Keeps one theme, one grid system, one CTA system, one discussions system.
   Removes broad form hiding and removes malformed braces.
*/

/* =========================
   THEME
   ========================= */
:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface2:#f8fafc;
  --text:#0f172a;
  --muted:rgba(15,23,42,0.70);
  --stroke:rgba(15,23,42,0.12);
  --shadow:0 10px 24px rgba(2,6,23,0.08);
  --shadow2:0 16px 34px rgba(2,6,23,0.12);
  --max:1120px;
  --radius:16px;

  /* Reviews */
  --review-text:#0f172a;
  --good-bg:rgba(34,197,94,0.14);
  --good-border:rgba(34,197,94,0.40);
  --neutral-bg:rgba(245,158,11,0.16);
  --neutral-border:rgba(245,158,11,0.45);
  --bad-bg:rgba(239,68,68,0.14);
  --bad-border:rgba(239,68,68,0.40);
}

/* Slightly smaller scale */
html{ font-size: 15px; }

*{ box-sizing: border-box; }

body{
  margin:0;
  min-height:100%;
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.55;
  font-size:0.95rem;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(2,6,23,0.05), transparent 60%),
    var(--bg);
}

/* Center page content */
main,
#__nuxt > div,
#__layout > div{
  max-width: var(--max);
  margin-left:auto;
  margin-right:auto;
  padding: 14px 22px 44px;
}

/* =========================
   HEADINGS + TEXT
   ========================= */
h1{
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  letter-spacing:-0.02em;
  line-height:1.06;
  margin: 6px 0 10px;
  color: var(--text);
}

h2{
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 500;
  margin: 10px 0 18px;
}

h3{
  font-size: 1.02rem;
  margin: 18px 0 10px;
  color: var(--text);
}

p{
  color: var(--muted);
  margin: 10px 0;
  font-weight: 400;
}

/* Links */
a{
  color: var(--text);
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
  text-decoration-color: rgba(15,23,42,0.35);
}

/* =========================
   HIDE EMOJIS IN TEXT
   ========================= */
h1, h2, h3, p, a, span, div{
  font-variant-emoji: text;
}
h1::before, h2::before, h3::before, p::before{
  content: none !important;
}
h1, h2, h3, p{
  letter-spacing: normal;
  font-feature-settings: "liga" 1;
}
img[alt*="emoji" i],
img.emoji{
  display: none !important;
}

/* =========================
   INPUTS + BUTTONS
   ========================= */
input{
  background: var(--surface);
  border: 1px solid rgba(15,23,42,0.16);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
}
input::placeholder{
  color: rgba(15,23,42,0.45);
}

button, .btn{
  font-size: 0.92rem;
  border-radius: 12px;
  cursor: pointer;
}

/* =========================
   CATEGORY GRID
   ========================= */
.d-flex.flex-wrap.justify-content-center.mb-4{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: var(--max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-items: stretch !important;
  align-items: stretch !important;
}

.d-flex.flex-wrap.justify-content-center.mb-4 > .mb-2.mx-1.text-center{
  margin: 0 !important;
  width: 100% !important;
}

.d-flex.flex-wrap.justify-content-center.mb-4 > .mb-2.mx-1.text-center > a{
  display: block !important;
  width: 100% !important;
}

/* Swiper safety, but non destructive */
.swiper,
.swiper-container{ overflow: visible !important; }
.swiper-wrapper{ transform: none !important; }
.swiper-slide{
  width: auto !important;
  margin: 0 !important;
  height: auto !important;
}
.swiper-button-prev,
.swiper-button-next,
.swiper-pagination{ display: none !important; }

/* =========================
   CARDS
   ========================= */
.card,
.swiper-slide .card,
.card.category-card{
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 14px;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.card:hover{
  transform: translateY(-3px);
  background: var(--surface2);
  box-shadow: var(--shadow2);
}

.card.category-card{
  min-height: 220px;
}

.card.category-card .card-title,
.card h3,
.card h4{
  font-size: 0.98rem;
  margin: 10px 0 8px;
  color: var(--text) !important;
  font-weight: 650;
}

/* Images */
.card img,
img.category-image,
.category-image[data-v-eeed5d50]{
  width: 100%;
  height: 180px;
  max-height: 170px;
  object-fit: contain !important;
  background: #ffffff !important;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.08);
}

/* =========================
   REQUEST ANALYSIS
   Safe version only
   ========================= */
#requestCategoryModal,
.modal#requestCategoryModal,
#requestCategoryModalLabel,
[aria-labelledby="requestCategoryModalLabel"],
.modal-backdrop{
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

a[data-bs-toggle="modal"][data-bs-target="#requestCategoryModal"],
button[data-bs-toggle="modal"][data-bs-target="#requestCategoryModal"],
*[data-bs-target="#requestCategoryModal"]{
  display: none !important;
}

/* If there is a top corner wrapper for this UI */
.search-wrapper,
.search-container,
.search-container .input-group{
  display: none !important;
}

/* Pull content up slightly */
main{ padding-top: 10px !important; }

/* =========================
   CATEGORY AND LIST PAGES POLISH
   ========================= */
ul, ol{
  padding-left: 0;
  margin: 14px 0;
  list-style: none;
}

li{
  margin: 10px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

li, .discussion, .discussion-item{
  background: var(--surface);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 12px;
  padding: 10px 12px;
}

li a{
  color: var(--text);
  text-decoration: none;
}
li a:hover{
  text-decoration: underline;
  text-decoration-color: rgba(15,23,42,0.35);
}

hr{
  border: 0;
  height: 1px;
  background: rgba(15,23,42,0.10);
  margin: 22px 0;
}

strong, b{ font-weight: 650; }
p strong, p b{ font-weight: 600; }

small, .small, .text-muted{
  color: rgba(15,23,42,0.62) !important;
}

/* Tables */
table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(2,6,23,0.08);
}

th, td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  vertical-align: top;
}

th{
  background: var(--surface2);
  font-weight: 700;
  color: var(--text);
}

tr:last-child td{ border-bottom: 0; }

/* =========================
   REMOVE BROKEN UI
   ========================= */
input.form-control[placeholder^="e.g."],
input.form-control[placeholder="e.g. air fryer"],
input.form-control[aria-label="Search..."]{
  display: none !important;
}

button.btn.btn-outline-dark.fs-7.fw-medium,
.card-body.d-flex.align-items-center.justify-content-center > .btn.btn-outline-dark.fs-7.fw-medium[data-v-4fcee272]{
  display: none !important;
}

/* Hide the request modal trigger area if it is the old wrapper name */
.request-analysis,
#request-analysis,
.sidebar-request,
.requestBox,
aside.request{
  display: none !important;
}

/* =========================
   PROGRESS BARS
   ========================= */
.progress,
.progress-stacked,
.progress-bar,
.progress-bar-striped,
.progress-bar-animated{
  display: none !important;
}

div[style*="height: 6px"],
div[style*="height:6px"],
div[style*="height: 8px"],
div[style*="height:8px"],
div[style*="height: 10px"],
div[style*="height:10px"]{
  display: none !important;
}

/* Stats rows */
.card .d-flex.align-items-center{
  width: 100% !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 2px 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}

.card .d-flex.flex-column,
.card .flex-column{
  align-items: center !important;
}

/* =========================
   CARD CTAS
   ========================= */
.card{
  display: flex;
  flex-direction: column;
}

.card .card-body{
  flex: 1 1 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.card .card-body > :last-child{
  margin-top: auto;
}

.card a.btn,
.card button.btn,
.card .btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(220px, 90%) !important;
  margin: 8px auto 0 !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* If CTAs are plain links, buttonize them */
.card a[href*="amazon"],
.card a[href*="amzn"],
.card a[href*="view-analysis"],
.card a[href*="analysis"]{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(220px, 90%) !important;
  margin: 8px auto 0 !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #111 !important;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12) !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.card a[href*="amazon"]{
  background: #151515 !important;
  border-color: #151515 !important;
  opacity: 0.96;
}

.card a[href*="amazon"]:hover,
.card a[href*="amzn"]:hover,
.card a[href*="view-analysis"]:hover,
.card a[href*="analysis"]:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0,0,0,0.16) !important;
  filter: brightness(1.05);
}

/* =========================
   DISCUSSIONS
   ========================= */

/* All discussions modal */
.modal-body{
  max-height: 70vh !important;
  overflow: auto !important;
  padding-right: 12px !important;
}

a.subm-list{
  display: block !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(15,23,42,0.12) !important;
  border-radius: 12px !important;
  background: #fff !important;
  text-decoration: none !important;
}

.modal-body .mb-2{
  margin-bottom: 10px !important;
}

a.subm-list p{
  margin: 0 !important;
  color: rgba(15,23,42,0.85) !important;
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
}

a.subm-list:hover{
  background: var(--surface2) !important;
  border-color: rgba(15,23,42,0.18) !important;
}

/* Make reddit link lists scrollable when :has is supported */
@supports(selector(:has(*))){
  ul:has(a[href*="reddit.com/r/"]),
  ol:has(a[href*="reddit.com/r/"]){
    max-height: 340px !important;
    overflow: auto !important;
    padding: 10px 12px !important;
    margin: 12px 0 18px !important;
    border: 1px solid rgba(15,23,42,0.12) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(2,6,23,0.06) !important;
  }

  ul:has(a[href*="reddit.com/r/"]) li,
  ol:has(a[href*="reddit.com/r/"]) li{
    margin: 0 !important;
    padding: 10px 8px !important;
    border-bottom: 1px solid rgba(15,23,42,0.08) !important;
  }

  ul:has(a[href*="reddit.com/r/"]) li:last-child,
  ol:has(a[href*="reddit.com/r/"]) li:last-child{
    border-bottom: 0 !important;
  }

  ul:has(a[href*="reddit.com/r/"]) a,
  ol:has(a[href*="reddit.com/r/"]) a{
    display: inline-block !important;
    color: rgba(15,23,42,0.92) !important;
    text-decoration: none !important;
    line-height: 1.35 !important;
  }

  ul:has(a[href*="reddit.com/r/"]) a:hover,
  ol:has(a[href*="reddit.com/r/"]) a:hover{
    text-decoration: underline !important;
    text-decoration-color: rgba(0,0,0,0.25) !important;
  }

  ul:has(a[href*="reddit.com/r/"]) + a,
  ol:has(a[href*="reddit.com/r/"]) + a{
    display: none !important;
  }

  /* Only scroll the specific container that directly holds the rows */
  main :is(div, section):has(> .mb-2 > a.subm-list){
    max-height: 260px !important;
    overflow: auto !important;
    padding-right: 10px !important;
  }
}

/* Remove preview block */
.subm-list-container{
  display: none !important;
}

/* Optional: keep the all discussions container unconstrained */
.all-discussions,
#allDiscussions,
.discussions,
.discussion-list{
  max-height: none !important;
  overflow: visible !important;
}

/* =========================
   SERIES PAGES: REMOVE TOPICS FILTER COLUMN
   Keep one set of rules
   ========================= */
@supports(selector(:has(*))){
  main .row:has(input[data-attr="use-case-filter-checkbox"]) > div.col-md-3{
    display: none !important;
  }

  main .row:has(input[data-attr="use-case-filter-checkbox"]) > div.col-md-9{
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  main h2:has(+ div:has(input[data-attr="use-case-filter-checkbox"])){
    display: none !important;
  }
}

/* Fallback */
input[data-attr="use-case-filter-checkbox"],
label[for^="useCase-"]{
  display: none !important;
}

/* =========================
   REVIEWS
   One consolidated block
   ========================= */

/* Stop the sentiment pill from overlapping content */
.overall-good,
.overall-neutral,
.overall-bad{
  position: static !important;
  top: auto !important;
  margin: 0 0 10px 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
}

/* Larger sentiment scores on View Analysis pages (model detail pages) */
.sentiment-scores:not(.card .sentiment-scores){
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  margin: 16px auto !important;
  flex-wrap: nowrap !important;
}

.sentiment-scores:not(.card .sentiment-scores) .sentiment-row{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  border: 1.5px solid !important;
}

.sentiment-scores:not(.card .sentiment-scores) .sentiment-row.row-positive{
  background: rgba(34,197,94,0.12) !important;
  border-color: rgba(34,197,94,0.35) !important;
}

.sentiment-scores:not(.card .sentiment-scores) .sentiment-row.row-neutral{
  background: rgba(245,158,11,0.12) !important;
  border-color: rgba(245,158,11,0.35) !important;
}

.sentiment-scores:not(.card .sentiment-scores) .sentiment-row.row-negative{
  background: rgba(239,68,68,0.12) !important;
  border-color: rgba(239,68,68,0.35) !important;
}

.sentiment-scores:not(.card .sentiment-scores) .bi{
  font-size: 1.8rem !important;
}

.sentiment-scores:not(.card .sentiment-scores) .sentiment-count span{
  font-size: 1.5rem !important;
  font-weight: 800 !important;
}

/* Ensure View Analysis copy is not inheriting grey */
.opinion-card,
.opinion-card *{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

.opinion-card{
  background: #ffffff !important;
  border: 1px solid rgba(15,23,42,0.12) !important;
  border-radius: 14px !important;
  padding: 14px 14px 12px !important;
  box-shadow: 0 8px 20px rgba(2,6,23,0.06) !important;
  margin: 14px 0 !important;
}

h2.fs-5.fw-bold{
  color: var(--review-text) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  margin-top: 18px !important;
  margin-bottom: 10px !important;
}

hr.mt-1.mb-3{
  border: 0 !important;
  height: 1px !important;
  background: rgba(15,23,42,0.14) !important;
}

.opinion-card .opinion-content,
.opinion-card .opinion-content p,
.opinion-card .opinion-content div{
  color: var(--review-text) !important;
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
}

.opinion-card .opinion-content > div,
.opinion-card .opinion-content > p{
  position: relative !important;
  padding-left: 18px !important;
  margin: 10px 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.opinion-card .opinion-content > div::before,
.opinion-card .opinion-content > p::before{
  content: "•" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.05em !important;
  color: rgba(15,23,42,0.55) !important;
  font-weight: 900 !important;
}

/* Pills with no :has dependency */
.opinion-card .overall-good{
  background: var(--good-bg) !important;
  border: 1px solid var(--good-border) !important;
  color: #166534 !important;
}
.opinion-card .overall-neutral{
  background: var(--neutral-bg) !important;
  border: 1px solid var(--neutral-border) !important;
  color: #92400e !important;
}
.opinion-card .overall-bad{
  background: var(--bad-bg) !important;
  border: 1px solid var(--bad-border) !important;
  color: #991b1b !important;
}

/* Replace long separators inside review blocks */
.opinion-card hr,
.opinion-card .hr,
.opinion-card .border-top{
  border: 0 !important;
  height: 1px !important;
  background: rgba(15,23,42,0.10) !important;
  margin: 12px 0 !important;
}

/* Likes accordion */
#likesAccordion,
.accordion#likesAccordion{
  margin-top: 10px !important;
}

#likesAccordion .accordion-item{
  border: 1px solid rgba(15,23,42,0.12) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 20px rgba(2,6,23,0.06) !important;
  margin: 12px 0 !important;
}

#likesAccordion .accordion-button{
  background: #ffffff !important;
  color: var(--review-text) !important;
  font-weight: 800 !important;
  font-size: 1.10rem !important;
  letter-spacing: -0.01em !important;
  padding: 12px 14px !important;
}

#likesAccordion .accordion-button:not(.collapsed){
  background: rgba(15,23,42,0.04) !important;
}

#likesAccordion .accordion-body,
#likesAccordion .accordion-body p,
#likesAccordion .accordion-body div{
  background: #ffffff !important;
  color: var(--review-text) !important;
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
  padding: 12px 14px !important;
}

#likesAccordion .accordion-body > div,
#likesAccordion .accordion-body > p{
  position: relative !important;
  padding-left: 18px !important;
  margin: 10px 0 !important;
}

#likesAccordion .accordion-body > div::before,
#likesAccordion .accordion-body > p::before{
  content: "•" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.05em !important;
  color: rgba(15,23,42,0.55) !important;
  font-weight: 900 !important;
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 520px){
  main,
  #__nuxt > div,
  #__layout > div{
    padding: 12px 16px 30px;
  }

  .d-flex.flex-wrap.justify-content-center.mb-4{
    grid-template-columns: 1fr !important;
  }

  .card img,
  img.category-image{
    height: 160px;
  }

  h1{
    font-size: clamp(28px, 7vw, 40px);
  }
}
/* =========================
   PATCH: ACCESSIBLE FOCUS
   ========================= */

:where(a, button, input, textarea, select):focus-visible{
  outline: 2px solid rgba(59,130,246,0.85);
  outline-offset: 2px;
  border-radius: 10px;
}

/* =========================
   MODELS: REMOVE SEARCH AND FILTER CONTROLS ONLY
   Keeps the models list, removes the UI bar and dropdown menus.
   ========================= */

/* Hide all filter buttons and search icons */
button.btn:has-text("Price"),
button.btn:has-text("Age & weight category"),
button.btn:has-text("Subreddits"),
button[aria-label="Search products"],
.btn.btn-outline-dark.dropdown-toggle,
button.dropdown-toggle,
svg.bi-search,
i.bi-search,
.bi-search{
  display: none !important;
}

/* Hide search icon button next to Models heading */
h2 + div > button:has(svg.bi-search),
h2 + div > button:has(i.bi-search){
  display: none !important;
}

/* Hide the Models heading and search icon section */
h2:has(+ div button[aria-label="Search products"]),
main h2 + div:has(button.dropdown-toggle){
  display: none !important;
}

/* Alternative: Hide parent containers of filter buttons */
div:has(> button.dropdown-toggle:only-child){
  display: none !important;
}

@supports(selector(:has(*))){

  /* Hide the top controls bar when it contains either:
     - the product search modal trigger, or
     - the filter dropdown trigger */
  :where(main, .modal-content, .modal)
    :where(.d-flex.flex-wrap.gap-2, .d-flex.gap-2, .d-flex.flex-wrap)
    :has(button[aria-label="Search products"]),
  :where(main, .modal-content, .modal)
    :where(.d-flex.flex-wrap.gap-2, .d-flex.gap-2, .d-flex.flex-wrap)
    :has(button[data-bs-target="#productSearchModal"]),
  :where(main, .modal-content, .modal)
    :where(.d-flex.flex-wrap.gap-2, .d-flex.gap-2, .d-flex.flex-wrap)
    :has(button[data-attr="use-case-filter-button"]),
  :where(main, .modal-content, .modal)
    :where(.d-flex.flex-wrap.gap-2, .d-flex.gap-2, .d-flex.flex-wrap)
    :has(button.dropdown-toggle){
      display: none !important;
  }

  /* Hide dropdown menus that contain the filter content */
  :where(main, .modal-content, .modal)
    .dropdown-menu:has(button[data-attr="use-case-filter-button"]),
  :where(main, .modal-content, .modal)
    .dropdown-menu:has(.text-secondary.fs-7),
  :where(main, .modal-content, .modal)
    .dropdown-menu:has(input[type="checkbox"], input[type="number"], input[type="text"]){
      display: none !important;
  }

  /* Hide the "Models" heading that appears with filters */
  h2:has(+ div:has(button.dropdown-toggle)){
    display: none !important;
  }
}

/* Hide the menu that immediately follows the filter button (Bootstrap pattern) */
button[data-attr="use-case-filter-button"] + .dropdown-menu{
  display: none !important;
}

/* =========================
   REMOVE RANK BADGE NUMBER EVERYWHERE
   ========================= */

.index-number[aria-label^="Rank"]{
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* =========================
   MODEL AND PRODUCT CARDS: SENTIMENT COUNTS
   Makes the remaining counts (with progress bars hidden) look readable and sleek.
   Left to right, centered below the product title.
   ========================= */

/* Horizontal, centered strip */
.card .sentiment-scores{
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 10px 0 6px !important;
  width: 100% !important;
}

/* Each sentiment row becomes a compact pill */
.card .sentiment-scores .sentiment-row{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(15,23,42,0.10) !important;
  border-radius: 999px !important;
  background: rgba(15,23,42,0.03) !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

/* Make sure Bootstrap row layout does not force stacking */
.card .sentiment-scores .sentiment-row,
.card .sentiment-scores .sentiment-count{
  width: auto !important;
  margin: 0 !important;
}

/* Make the icon and number readable */
.card .sentiment-scores i{
  font-size: 0.95rem !important;
  line-height: 1 !important;
}

.card .sentiment-scores .sentiment-count{
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.card .sentiment-scores .sentiment-count span{
  font-size: 0.98rem !important;
  font-weight: 750 !important;
  color: rgba(15,23,42,0.85) !important;
}

/* Subtle semantic tinting, still professional */
.card .sentiment-scores .row-positive{
  background: rgba(34,197,94,0.10) !important;
  border-color: rgba(34,197,94,0.22) !important;
}

.card .sentiment-scores .row-neutral{
  background: rgba(245,158,11,0.08) !important;
  border-color: rgba(245,158,11,0.20) !important;
}

.card .sentiment-scores .row-negative{
  background: rgba(239,68,68,0.10) !important;
  border-color: rgba(239,68,68,0.22) !important;
}

/* =========================
   VIEW ANALYSIS PAGES: SENTIMENT SCORES
   Smaller, horizontal layout for model detail pages
   ========================= */
.sentiment-scores:not(.card .sentiment-scores){
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  margin: 16px auto !important;
  flex-wrap: nowrap !important;
}

.sentiment-scores:not(.card .sentiment-scores) .sentiment-row{
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  border: 1.5px solid !important;
  flex-grow: 0 !important;
}

.sentiment-scores:not(.card .sentiment-scores) .sentiment-row.row-positive{
  background: rgba(34,197,94,0.12) !important;
  border-color: rgba(34,197,94,0.35) !important;
}

.sentiment-scores:not(.card .sentiment-scores) .sentiment-row.row-neutral{
  background: rgba(245,158,11,0.12) !important;
  border-color: rgba(245,158,11,0.35) !important;
}

.sentiment-scores:not(.card .sentiment-scores) .sentiment-row.row-negative{
  background: rgba(239,68,68,0.12) !important;
  border-color: rgba(239,68,68,0.35) !important;
}

.sentiment-scores:not(.card .sentiment-scores) .bi{
  font-size: 1rem !important;
}

.sentiment-scores:not(.card .sentiment-scores) .sentiment-count span{
  font-size: 0.95rem !important;
  font-weight: 750 !important;
}

/* =========================
   MODEL PAGES: FULL WIDTH CONTENT
   Make content fill the page width instead of being boxed on left
   ========================= */

/* Model pages use data-v-0dc7e8c9 - expand the main content column */
.row[data-v-0dc7e8c9] .col-12.col-md-9{
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* Hide the empty sidebar column on model pages */
.row[data-v-0dc7e8c9] .col-12.col-md-3{
  display: none !important;
}

/* Expand review columns from 50% to 100% width on model pages */
.row[data-v-0dc7e8c9] .col-12.col-md-6{
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* =========================
   MODEL PAGES: BUY LINKS (Amazon + Store links)
   Consistent styling for all listing links on model detail pages
   ========================= */

/* All listing links on model pages */
a[data-attr="listing-link"].btn.btn-outline-dark{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
  border: 1px solid rgba(15,23,42,0.15) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
  margin-bottom: 8px !important;
  transition: all 0.2s ease !important;
  color: #1a1a1a !important;
  font-weight: 400 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
}

a[data-attr="listing-link"].btn.btn-outline-dark:hover{
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  border-color: rgba(15,23,42,0.25) !important;
  text-decoration: none !important;
}

/* Text inside model page listing links */
a[data-attr="listing-link"].btn.btn-outline-dark span,
a[data-attr="listing-link"].btn.btn-outline-dark div{
  color: #1a1a1a !important;
  font-weight: 400 !important;
}

/* Price text styling */
a[data-attr="listing-link"].btn.btn-outline-dark .flex-shrink-0{
  font-weight: 500 !important;
}

/* =========================
   VIEW ANALYSIS PAGES: TIGHTER REVIEWS SECTION
   Reduced spacing for more compact layout
   ========================= */
.opinion-card{
  padding: 10px 12px 8px !important;
  margin: 10px 0 !important;
}

h2.fs-5.fw-bold{
  margin-top: 12px !important;
  margin-bottom: 8px !important;
}

.opinion-card .opinion-content,
.opinion-card .opinion-content p,
.opinion-card .opinion-content div,
.opinion-card .opinion-content span{
  font-size: 1.12rem !important;
  line-height: 1.8 !important;
  font-weight: 500 !important;
}

.opinion-card .opinion-content > div,
.opinion-card .opinion-content > p{
  margin: 6px 0 !important;
}

/* =========================
   REDDIT REVIEWS: READABLE TEXT COLORS
   Override the harsh bright colors with darker, more readable versions
   ========================= */

/* Override the root color variables */
:root{
  --rr-positive: #1a7f4b !important;   /* Darker green */
  --rr-neutral: #b8860b !important;    /* Dark goldenrod */
  --rr-negative: #c94a35 !important;   /* Darker red-orange */
}

/* Direct overrides for positive text (green) */
.rr-positive,
.text-success,
[style*="color: rgb(45, 178, 107)"],
[style*="color:#2db26b"],
[style*="color: #2db26b"]{
  color: #1a7f4b !important;
}

/* Direct overrides for neutral text (orange/yellow) */
.rr-neutral,
.text-warning,
[style*="color: rgb(243, 172, 33)"],
[style*="color:#f3ac21"],
[style*="color: #f3ac21"]{
  color: #9a7b0a !important;
}

/* Direct overrides for negative text (red) */
.rr-negative,
.text-danger,
[style*="color: rgb(245, 105, 45)"],
[style*="color:#f5692d"],
[style*="color: #f5692d"]{
  color: #c94a35 !important;
}

/* Opinion cards with colored text - make text darker and more readable */
.opinion-card[style*="color"],
.opinion-card p[style*="color"],
.opinion-card div[style*="color"],
.opinion-card span[style*="color"]{
  color: #2d3748 !important;
}

/* Override inline styles on review text spans */
.opinion-content span[style*="color: rgb(45, 178, 107)"],
.opinion-content span[style*="#2db26b"]{
  color: #1a7f4b !important;
}

.opinion-content span[style*="color: rgb(243, 172, 33)"],
.opinion-content span[style*="#f3ac21"]{
  color: #9a7b0a !important;
}

.opinion-content span[style*="color: rgb(245, 105, 45)"],
.opinion-content span[style*="#f5692d"]{
  color: #c94a35 !important;
}

/* Positive/Negative/Neutral badges - keep colored but darker */
.overall-good,
[data-v-7607b329].overall-good,
span.overall-good{
  background-color: #1a7f4b !important;
  color: #ffffff !important;
}

.overall-mixed,
[data-v-7607b329].overall-mixed,
span.overall-mixed{
  background-color: #b8860b !important;
  color: #ffffff !important;
}

.overall-poor,
[data-v-7607b329].overall-poor,
span.overall-poor{
  background-color: #c94a35 !important;
  color: #ffffff !important;
}

/* =========================
   HIDE NON-FUNCTIONAL LOAD MORE BUTTON
   ========================= */
button[data-attr="load-more-opinions"],
button[data-attr*="load-more"],
button.btn-outline-secondary.btn-sm[data-v-0dc7e8c9]{
  display: none !important;
}

/* =========================
   HIDE BLOG LINK
   ========================= */
a[href*="/blog"],
a[href*="blog/"],
a[href$="/blog"]{
  display: none !important;
}

/* =========================
   HIDE DETAILED SUMMARY BUTTON
   ========================= */
button:has(.bi-stars),
button[data-v-0dc7e8c9]:has(svg),
.btn:has(.bi-stars),
a.btn:has(.bi-stars),
button.btn-outline-dark:has(i.bi-stars){
  display: none !important;
}

/* Alternative selector for Detailed Summary */
button.btn.btn-outline-dark.btn-sm[data-v-0dc7e8c9],
.btn.btn-outline-dark.btn-sm:has(i){
  display: none !important;
}

/* =========================
   PROFESSIONAL HEADER IMPROVEMENTS
   ========================= */

/* Site header - more professional */
header{
  background: #ffffff !important;
  border-bottom: 1px solid rgba(15,23,42,0.08) !important;
  padding: 12px 20px !important;
}

.site-header-link{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
}

.site-logo{
  height: 32px !important;
  width: auto !important;
}

.site-header-title{
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: #0f172a !important;
}

/* =========================
   PROFESSIONAL PRODUCT INFO SECTION
   ========================= */

/* Note: Removed title size overrides to keep original sizing */

/* Category breadcrumb link */
.fs-7.d-flex.align-items-center a{
  color: #64748b !important;
  font-weight: 500 !important;
}

/* Ranking text (e.g., "#4 in Action Cameras") */
.rr-gray{
  color: #64748b !important;
  font-size: 0.85rem !important;
}

/* Support text under buy links */
.link-to-reddit,
p.link-to-reddit{
  font-size: 0.8rem !important;
  color: #94a3b8 !important;
  margin-top: 12px !important;
  line-height: 1.4 !important;
}

/* =========================
   PROFESSIONAL DIVIDERS
   ========================= */

hr.mt-1.mb-3,
hr[style*="border-color:var(--rr-gray)"]{
  border: none !important;
  height: 1px !important;
  background: linear-gradient(to right, transparent, rgba(15,23,42,0.12), transparent) !important;
  margin: 20px 0 !important;
}

/* =========================
   PROFESSIONAL REVIEW CARDS
   ========================= */

/* Review cards - cleaner look */
.opinion-card{
  background: #ffffff !important;
  border: 1px solid rgba(15,23,42,0.08) !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin: 12px 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}

/* Sentiment badges - more refined */
.overall-good,
.overall-neutral,
.overall-bad,
span[class*="overall-"]{
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}

/* =========================
   PROFESSIONAL FOOTER AREA
   ========================= */

/* Last updated text */
span[data-bs-toggle="tooltip"]{
  font-size: 0.8rem !important;
  color: #94a3b8 !important;
}

/* =========================
   HIDE FLOATING FIXED HEADER (duplicate content)
   ========================= */

.fixed-top[style*="display:none"],
.fixed-top.bg-white.shadow{
  display: none !important;
}

/* =========================
   CLICKABLE PRODUCT CARDS
   Makes entire card clickable via View Analysis link
   while keeping Amazon link clickable above it
   ========================= */

/* Card needs relative positioning for the stretched link */
.card[data-v-4fcee272]{
  position: relative !important;
}

/* Stretch the View Analysis link over the entire card */
.card[data-v-4fcee272] > .card-body > a.btn.btn-dark[href*="model/"]{
  position: static !important;
}

.card[data-v-4fcee272] > .card-body > a.btn.btn-dark[href*="model/"]::after{
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
}

/* Keep Amazon link clickable above the stretched link */
.card[data-v-4fcee272] a[data-attr="listing-link"],
.card[data-v-4fcee272] .position-relative:has(a[data-attr="listing-link"]){
  position: relative !important;
  z-index: 2 !important;
}

/* Make the image show pointer cursor */
.card[data-v-4fcee272] img.card-img{
  cursor: pointer !important;
}

/* =========================
   SERIES PAGES: FULL WIDTH CONTENT
   Make reviews fill the page width instead of being boxed on left
   ========================= */

/* Series pages use data-v-3067400d - expand the main content column */
.row[data-v-3067400d] .col-12.col-md-9{
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* Hide the empty sidebar column on series pages */
.row[data-v-3067400d] .col-12.col-md-3{
  display: none !important;
}

/* Expand review columns from 50% to 100% width on series pages */
.row[data-v-3067400d] .col-12.col-md-6{
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* Center the series page main container */
main[data-v-3067400d],
.container[data-v-3067400d]{
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* =========================
   HIDE SCORING LINK
   Removes the Scoring info link from all pages
   ========================= */
span[style*="cursor:help"]:has(.bi-info-circle),
span[data-v-3067400d][style*="cursor:help"]{
  display: none !important;
}

/* =========================
   MODEL PAGES: CENTER BUY LINKS
   Keep buy links centered under product image, not stretched full width
   ========================= */
.row.mb-5[data-v-0dc7e8c9] .col-12.col-md-6.mb-2{
  max-width: 300px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Center text inside buy link buttons */
.row.mb-5[data-v-0dc7e8c9] .col-12.col-md-6.mb-2 a[data-attr="listing-link"]{
  justify-content: center !important;
}

.row.mb-5[data-v-0dc7e8c9] .col-12.col-md-6.mb-2 a[data-attr="listing-link"] .d-flex{
  justify-content: center !important;
  gap: 8px !important;
}

/* =========================
   HIDE BUY ME A COFFEE AND @HEYYYJOO
   ========================= */
a[href*="buymeacoffee"],
a[href*="x.com/heyyyjoo"],
a[href*="twitter.com/heyyyjoo"]{
  display: none !important;
}

/* Hide the "Created by" paragraph on about page */
p:has(a[href*="heyyyjoo"]){
  display: none !important;
}

/* Hide the "You can also support by buying me a coffee" text */
p:has(a[href*="buymeacoffee"]){
  display: none !important;
}
