body {
  font-family: Arial, sans-serif;
  margin: 20px;
  background: #f2f2f2;
  padding-top: 145px;
  line-height: 1.5;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body.hide-until-header {
  visibility: hidden;
}

  #siteHeader {
    background: linear-gradient(to right, #e5e5e5, #ffffff);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    width: 100%;
  }

  #siteHeader img.flag {
    width: 90px;
    height: auto;
    margin-bottom: 10px;
  }

  #siteHeader h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0;
    color: #cc0000;
  }

  #siteHeader h1 span {
    color: #000;
    letter-spacing: 2px;
  }

  #siteHeader .subtitle {
    font-size: 1.1em;
    color: #555;
    font-style: italic;
    margin-top: 5px;
  }

  .centered-block {
    max-width: 760px;
    margin: 40px auto;
    text-align: left;
  }

/*HEADER LINKS*/

/* Ensure the header is relatively positioned for absolute children */
#siteHeader {
  position: relative;
}

/* DESKTOP: Absolutely positioned in top-right, right-aligned text */
.header-links {
  position: absolute;
  top: 115px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right; 
  align-items: flex-end; 
}

.header-links a {
  font-size: 0.9em;
  color: #0077cc;
  text-decoration: none;
  display: inline-block;
  text-align: right; 
}

.globe-byline {
  position: absolute;
  top: 25px;
  left: 20px;
  display: flex;
  flex-direction: column;    /* <--- Stack items vertically */
  align-items: center;   /* <--- Keep left-aligned */
  gap: 4px;
  padding: 0px 18px;
  border-radius: 22px;
  font-size: 1.2em;
  font-weight: 500;
  color: #333;
  z-index: 3;

}

.globe-byline .globe-logo {
  height: 34px;
  width: auto;
  display: inline-block;
  margin-right: 8px;
}

.globe-byline .globe-name {
  font-family: 'Georgia', serif;
  font-weight: bold;
  color: #bf2020;
  font-size: 1.2em;
  letter-spacing: .02em;
}
@media (max-width: 1000px) {
  .globe-byline {
    position: static;
    margin: 44px auto -10px auto;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 1000px) {
  .globe-logo {
    height: 10px;
  }
}

/* Mobile: move below header and center */
@media (max-width: 1000px) {
  .header-links {
    position: static;
    margin: 30px auto 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-links a {
    display: block;
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
    max-width: 400px;
  }
}

  /* Controls */
  #controls {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
  }

  #filtersContainer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  input, select, textarea {
  padding: 8px;
  margin: 5px;
  font-size: 16px;
  font-family: inherit;
  }

  label {
    font-size: 16px;
    margin-left: 0;
  }

  /* Table */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: auto;
    background: #fff;
    table-layout: fixed;
  }

  th, td {
    text-align: left;
    padding: 10px;
    border: 1px solid #ccc;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
  }

  th {
    background: #ddd;
    cursor: pointer;
    position: relative;
  }

  .arrow {
    display: inline-block;
    margin-left: 5px;
    font-size: 0.8em;
  }

  .arrow span {
    color: #ccc;
  }

  th.active-asc .arrow .up,
  th.active-desc .arrow .down {
    color: #000;
  }

  tr:nth-child(even) {
    background: #f9f9f9;
  }

  .highlight {
    color: #cc0000;
  }
  
  #productTable th#th-CANADIAN\ Score\ \(out\ of\ 10\),
#productTable td:nth-child(3) {
  white-space: nowrap;     /* ensures single-line */
  width: auto;             /* allow auto-sizing */
  text-align: center;
  font-weight: bold;
  max-width: 220px;
}

@media only screen and (max-width: 768px) {
  .parent-category {
    font-weight: bold !important;
  }
}


  /* Nav bar base */

  .full-width-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
  }

  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
    padding-top: 10px;
    list-style: none;
  }

  .nav-links a {
    text-decoration: none;
    font-weight: bold;
    color: black;
    font-family: inherit;opacity: 0.75;
    transition: color 0.2s, opacity 0.2s, transform 0.2s;
  }
  .nav-links a:hover {
    color: #cc0000;
    opacity: 1;
    transform: scale(1.10); /* slightly less pop than icons, looks clean */
  }

  .menu-toggle {
    display: none;
    font-size: 1.8em;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 1000;
  }

  .nav-right-tip {
    margin-right: 20px;
    margin-top: 8px;
    font-weight: bold;
  }
  
  .nav-right-tip a {
    color: #000000;
    text-decoration: none;
    font-size: 0.95em;
    white-space: nowrap;
    border: .5mm solid #a36666bb;
    padding: 6px 10px;
    border-radius: 6px;
    background-color: white;
  }
  
  .nav-left-spacer {
    width: 20px; /* prevents left collapse on wide screens */
  }

  @media (max-width: 1200px) {
    .nav-container {
      flex-direction: column;
      align-items: flex-start;
      padding-left: 20px;
    }
  
    .nav-links {
      position: static;
      transform: none;
      width: 100%;
      display: none;
      flex-direction: column;
      align-items: flex-start;
      background-color: white;
      padding: 10px 0;
      border-top: 1px solid #ccc;
    }
  
    .top-nav.mobile-nav-open .nav-links {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
      position: absolute;
      top: 6px;
      left: 20px;
      font-size: 1.8em;
      z-index: 1100;
      background: none;
      border: none;
      cursor: pointer;
    }
  }
  
  @media (max-width: 1200px) {
    .nav-right-tip {
      display: none !important;
    }
  }
  

  /* Pagination */
  #paginationControls {
    text-align: center;
    margin-top: 10px;
  }

  #paginationInfo {
    font-size: 16px;
    margin-right: 10px;
  }

  #nextLink, #prevLink {
    color: #0066cc;
    cursor: pointer;
    text-decoration: underline;
  }

  #nextLink.disabled, #prevLink.disabled {
    color: #999;
    cursor: default;
    text-decoration: none;
  }

  /* Responsive Tweaks */
  @media screen {
    html {
      scroll-behavior: smooth;
    }
  }

  @media (max-width: 600px) {
    .menu-toggle {
      display: block;
    }

  @media (max-width: 900px) {
    select, #productTypeFilter {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      }
    }
    
    #controls > div {
      width: 100%;
      }
        
    .nav-links {
      display: none;
      flex-direction: column;
      align-items: flex-start;
      background-color: white;
      position: absolute;
      top: 50px;
      left: 0;
      width: 100%;
      padding: 10px 20px;
      border-bottom: 1px solid #ccc;
    }

    .top-nav ul {
      flex-direction: column;
      gap: 15px;
      margin-left: 0;
    }

    #siteHeader h1 {
      font-size: 1.8em;
      text-align: center;
    }

    #siteHeader .subtitle {
      font-size: 1em;
      text-align: center;
    }

    input,
    select,
    label {
      font-size: 15px;
    }

    table {
      display: block;
      width: 100%;
      overflow-x: auto;
      border-spacing: 0;
    }

    th, td {
      font-size: 14px;
      padding: 8px;
      min-width: 100px;
    }

    #controls {
      flex-direction: row;
      align-items: center;
      gap: 15px;
      width: 100%;
    }

    #filtersContainer {
      align-items: center;
    }
  }

  @media (max-width: 600px) {
    .cta-form {
      flex-direction: column;
      align-items: center;
      flex-wrap: nowrap;
    }
  
   .cta-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-form {
    justify-content: center;
  }
}


 
  /* FORM STYLES*/

  .form-section {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-section h1 {
  text-align: center;
  font-size: 2em;
  color: #cc0000;
  margin-bottom: 10px;
}

.form-section p {
  text-align: center;
  color: #555;
  margin-bottom: 25px;
}

#product-form > div,
#product-form > fieldset {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

input[type="text"],
input[type="file"],
select,
textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fafafa;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
  border-color: #cc0000;
  outline: none;
  background: #fff;
}

fieldset {
  border: none;
  padding: 0;
}

fieldset legend {
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

fieldset label {
  font-weight: normal;
  margin-bottom: 0;
}

#credit-name-container {
  margin-top: 10px;
}

button[type="submit"] {
  background-color: #cc0000;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 30px auto 0 auto;
}


button[type="submit"]:hover {
  background-color: #a60000;
}

.form-section h3 {
  margin-top: 40px;
  font-size: 1.3em;
  color: #333;
  text-align: center;
}

.form-section p:last-of-type {
  text-align: center;
}

/* SUPPORT PAGE STYLES*/

/* Support Page Styles */
.support-content {
  background: white;
  padding: 30px;
  max-width: 900px;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.support-content h2 {
  color: #cc0000;
  margin-bottom: 20px;
}

.support-content p {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 30px;
}

.donation-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0 30px 0;
}

.donation-row button,
.custom-donation button {
  background-color: #cc0000;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.donation-row button:hover,
.custom-donation button:hover {
  background-color: #a60000;
}

.custom-donation {
  margin-top: 20px;
}

.custom-donation input {
  padding: 8px;
  width: 100px;
  font-size: 1em;
  margin-right: 10px;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.8em;
  color: #555;
}

footer a {
  color: #0077cc;
  text-decoration: none;
  margin: 0 10px;
}

/*CALL TO ACTION BAR*/

.cta-bar {
  position: static;
  top: 0;
  left: 0;
  right: 0;
  background-color: #f4dfdc !important;
  color: #333;
  font-weight: bold;
  padding: 12px 20px;
  z-index: 10000 !important;
  border-bottom: 1px solid #ccc;
  text-align: center;
}

.cta-form {
  flex-shrink: 0;
  display: flex;
  align-items: center;  
  gap: 10px;
  flex-wrap: nowrap !important;
  font-size: 15px;
}

.cta-form input[type="email"] {
  flex: 1 1 120px;
  min-width: 60px;
  max-width: 100%;
  font-size: clamp(12px, 1.5vw, 16px);
  padding: 8px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.cta-form button {
  background-color: #cc0000;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;    
  font-size: clamp(12px, 1.6vw, 16px);   
  flex: 0 0 auto;
}

.cta-form input[type="email"],
.cta-form button {
  margin: 0;
  height: 34px;
  padding: 0 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-form button:hover {
  background-color: #a10000;
}

.cta-form label {
  margin: 0;
  white-space: nowrap;
}

.cta-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;            
  align-items: center;     
  justify-content: center;   
  gap: 15px;                 
  flex-wrap: nowrap !important;           
}

.cta-content span {
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
  font-size: clamp(14px, 2vw, 16px);
}

#closeCTA {
  position: absolute;
  right: 15px;
  top: 20px;
  background: none;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  line-height: 1;
  font-weight: normal;
  appearance: none;
  z-index: 1;
  -webkit-appearance: none; /* for Safari */
  -moz-appearance: none;  
}

#closeCTA:hover {
  color: #cc0000;
}

@media (max-width: 600px) {
  #closeCTA {
    position: absolute;
    top: 40px;
    right: 10px;
  }
}


@media (max-width: 600px) {
  .cta-content span {
    font-size: clamp(12px, 3vw, 20px);
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .cta-bar {
    z-index: 800;
  }

  .menu-toggle {
    z-index: 1001;
  }

  .cta-form {
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .cta-form input[type="email"] {
  flex: 1 1 140px;
  min-width: 60px;
  font-size: clamp(12px, 3vw, 15px);
  padding: 6px 10px;
  }

.cta-form button {
  flex: 0 0 auto;
  font-size: clamp(12px, 3vw, 15px);
  padding: 6px 10px;
  }
}

/* BLOG FRONT PAGE*/

.blog-grid-main {
  max-width: 900px;   
  width: 100%;        
  margin: 20px auto;
  padding: 0 15px;
  min-height: 600px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.blog-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.blog-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #cc0000;
  flex: 1;
  margin-right: 10px;
}

.blog-heading {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
  color: #000000;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card {
  background: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border-left: 6px solid #cc0000;
}

.blog-card p {
  margin-top: -10px; /* reduce from browser default (~16px) */
}

.blog-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.blog-card h3 {
  margin: 0;
  font-size: 1.3em;
  color: #9c3838;
}

.blog-date {
  font-size: 0.9em;
  color: #666;
  margin: 6px 0 12px 0;
}

/* Blog Sidebar */

.blog-layout {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto 20px auto;
  align-items: flex-start;
  position: relative;
}

.blog-sidebar {
  flex: 0 0 240px;
  max-width: 240px;
  margin-right: 0;
  margin-left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  min-height: 400px;
  font-size: 1.05em;
  margin-top: 25px;
  padding-top: 10px;
  z-index: 2;
}

@media (max-width: 900px) {
  .blog-sidebar,
  #sidebar-container {
    display: none !important;
  }
}

.category-group { margin-bottom: 15px; }
.category-toggle {
  background: none;
  border: none;
  font-weight: bold;
  color: #333;
  width: 100%;
  text-align: left;
  font-size: 1em;
  padding: 7px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.category-toggle:hover { color: #cc0000; }
.category-list {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0 0 0 18px;
}
.category-list li { margin: 8px 0; }
.category-list a { color: #cc0000; text-decoration: none;}
.category-list a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .blog-layout { flex-direction: column; }
  .blog-sidebar { width: 100%; margin-bottom: 30px; }
}

/* Blog Posts */

.blog-main {
  flex: 1 1 0;        /* <--- FORCE this */
  max-width: 900px;
  margin-top: 20px;
  margin-left: 0;
  padding: 0 35px;
  min-height: 600px;
  box-sizing: border-box;
  color: #232323;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .blog-main,
  .blog-grid-main {
    width: 97vw;
    min-width: 0;
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
    padding: 0 2vw;
    box-sizing: border-box;
    display: block;
  }
  .blog-layout {
    display: block;
    max-width: 100vw;
    width: 100vw;
    min-width: 0;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
}

.blog-main h2, .blog-main h3, .blog-main h4 {
  margin-top: 1em;
  margin-bottom: 0.7em;
  font-weight: bold;
  line-height: 1.2;
  color: #232323;
}

.blog-main h2 { font-size: 1.8em; margin-top: 0; }
.blog-main h3 { font-size: 1.25em; }
.blog-main h4 { font-size: 1.1em; }

.blog-main p {
  margin-top: 0;
  margin-bottom: 1em;
}

.blog-main ul, .blog-main ol {
  margin-top: 0;
  margin-bottom: 1.25em;
  padding-left: 2em;
}

.blog-main li {
  margin-bottom: 0.4em;
  font-size: 1em;
  line-height: 1.6;
}

.blog-main a {
  color: #0077cc;
  text-decoration: underline;
}

.blog-main em { color: #3a3a3a; }

.blog-main hr {
  border: none;
  border-top: 2px solid #c1bcbc;
  margin: 1em 0 2em 0;
  width: 100%;
  opacity: 1;
  background: none;
}

/* FILTER OPTIONS */

#controls {
  width: 100%;
}

#controlsRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px; /* optional, for spacing between elements */
  text-align: center;
}

#filtersContainer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-icon {
  height: 30px;
  width: 30px;
  cursor: pointer;
  fill: black;
  transition: fill 0.2s ease-in-out;
}

.filter-icon:hover {
  fill: red;
}

.filter-wrapper {
  position: relative;
  display: inline-block;
}

.modal {
  position: absolute;
  top: 36px;
  left: 100px;
  left: auto;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media (max-width: 600px) {
  .modal {
    left: 50% !important;
    transform: translateX(-50%);
    width: 90vw;
    max-height: 150vh;
    overflow-y: visible !important;
  }
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: #fff;
  padding: 24px;
  width: 250px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: top center;
  font-size: 15px;
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover {
  color: red;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: center;
}

.pill {
  background-color: #e8e7e7;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.pill:hover {
  background-color: #e0e0e0;
}

.pill-dropdown-wrapper {
  position: relative;
  display: inline-block;
  width: auto;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #f2f2f2; /* match pill */
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-menu.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu label {
  font-size: 13px;
  font-weight: normal;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: flex-start;
  font-size: 14px;
  margin-bottom: 10px;
}

.filter-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.pill-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 200px;
}

.checkbox-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.checkbox-column label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-dropdown-wrapper {
  width: 100%;
}

.pill-dropdown-wrapper .pill {
  width: 100%;
}

.dropdown-menu .dropdown-search {
  display: block;
  width: 100%; 
  padding: 6px 10px; 
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 13px;
  background-color: #fff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease;
}

.dropdown-search:focus {
  border-color: #999;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 equal columns */
  gap: 1px 3px;
  justify-items: center;
  padding: 4px 0;
  justify-items: start;
}

.score-grid label {
  font-size: 12px;
  width: 25px;
  white-space: nowrap;
  text-align: center;
}

.score-grid label input {
  margin-right: -1px; /* default is ~4px–6px, so we're shrinking it */
}

/* Score Slider */

/* slider in the score dropdown */

.slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  width: 190px;        /* keeps the pill width tidy */
}
.slider-wrapper input[type="range"] {
  width: 100%;
}

/* === noUiSlider Custom Colors === */

/* Color of the filled-in range (the connect bar) */
.noUi-connect {
  background: #dea3a3;  
}

/* Color of the handles (circles you drag) */
.noUi-handle {
  width: 12px !important;
  height: 20px !important;
  background: white;
  border: 2px solid #c07575;
  border-radius: 4px;         /* ← rectangular instead of round */
  box-shadow: none;
  cursor: pointer;
  top: -10px;  
  transform: translateX(-7px);
}

/* Hover effect (optional) */
.noUi-handle:hover {
  background: #ffe5e5;
}

/* Color of the overall slider track */
.noUi-target {
  background: #eee;
  border-radius: 2px;
  border: none;
  box-shadow: none;
  height: 6px;
}

/* FILTER ICON*/

.icon-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  margin-left: 30px;
}

.filter-label {
  font-size: 14px;
  color: black;
  user-select: none;
}

/* Pagination */

#indexPaginationWrapper {
  display: block;
  width: 100%;
  clear: both;
  margin-bottom: 30px;
  text-align: center;
}

@media (max-width: 600px) {
  #categoryDropdown {
    width: 100% !important;
    font-size: 14px !important;
    max-height: 300px;
    overflow-y: auto;
  }
  
/* Polls*/

 .poll-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .category-item {
    font-size: 14px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
  }

  .category-item:hover {
    background-color: #f7f7f7;
  }

  .category-group,
  .category-subgroup {
    font-size: 13px;
    font-weight: bold;
    padding: 6px 10px;
    background-color: #fafafa;
  }
}

  .poll-option input[type="radio"] {
    margin-top: 2px;
    flex-shrink: 0;
  }
/* SUPER-HEADER = CTA + NAV together */
#fixedHeader {
  position: fixed;      /* tape the whole stack to the top   */
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;   /* CTA first, nav second          */
  z-index: 10000;
}

/* Nav no longer needs a ‘top’ value */
.top-nav {
  position: relative;   /* lives inside fixedHeader, so static is fine */
  padding: 25px 20px; /* keep your existing visual styles */
  background-color: white;
  padding-top: 15px;
  width: 100%;
  left: 0;
  z-index: 999;
  border-bottom: 1px solid #ccc;
}

 .highlight-box {
  background: #ece6e6;
  border-left: 4px solid #c07575;
  padding: 18px 22px;
  margin: 22px 0;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.highlight-box a {
  color: #0077cc;
  font-weight: 600;
  text-decoration: none;
}

/* Annoucement Text*/

.highlighted-message {
  background: #ccccdeee;
  border-left: 5px solid #5739b2;
  border-radius: 70px;
  padding: 10px 10px;
  margin: 5px auto 30px auto;
  font-size: .8em;
  max-width: 1000px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  color: #523300;
  line-height: 1.2;
  text-align: center;
  
}
@media (max-width: 700px) {
  .highlighted-message {
    padding: 5px 30px 5px 30px;
    font-size: .9em;
    line-height: 1.1;
    max-width: 98vw;
    margin-left: 2vw;
    margin-right: 2vw;
    border-left: 6px solid #8f98c3; /* slightly stronger accent for mobile */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* a touch more shadow for pop */
    text-align: center;
  }
}

/* Social Media Icons */

.footer-bar {
  padding: 20px;
  font-size: 0.8em;
  color: #555;
  background: #f9f9f9;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.social-icon i {
  font-size: 2.2rem;
  color: #555;
  transition: color 0.2s;
  vertical-align: middle;
}
.social-icon:hover i {
  color: #ad2111; /* Change to your hover color */
}

/* Optional: tweak spacing or add border-radius if you like */
.footer-social-icons a {
  border-radius: 50%;
  padding: 8px;
  transition: background 0.2s;
}

/* New Features Highlighting */

.filter-label-standard {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
}

.new-features {
    color: #000000;
    border: .5mm solid #a36666bb;
    padding: 6px 6px 0;
    border-radius: 6px;
    display: inline-block;
    margin-top: -5px;
    margin-left: -6px;
  }

/* Status Tags */

.status-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 5px;
  font-family: 'Inter', sans-serif;
  font-size: 0.42em;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Specific status types */
.status-new {
  background-color: #0077cc;
  color: white;
}

.status-updated {
  background-color: #f0ad4e;
  color: white;
}

.status-under-review {
  background-color: #cc0000;
  color: white;
}

.status-reassessed {
  background-color: #7f8383;
  color: white;
}

.status-generic {
  background-color: #e0e0e0;
  color: black;
}

@media (max-width: 700px) {
  .status-tag {
    font-size: 0.55em;
  }
}

#productTable td {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* FAQ Page */

/* --- FAQ PAGE STYLES --- */
.faq-section {

  border-radius: 10px;
  background-color: #e4e4e4;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  padding: 5px 28px 35px 28px;
  max-width: 950px;
  margin: 35px auto 40px auto;
}

.faq-section h2 {
  font-size: 1.8em;
  margin: 36px 0 16px 0;
  color: #000000;
  font-weight: bold;
  border-bottom: 1.5px solid #eee;
  padding-bottom: 5px;
}

.faq-section details {
  margin: 20px 0 16px 0;
  border-radius: 7px;

  box-shadow: 0 1px 3px rgba(180,0,0,0.05);
  padding: 0;
  border: 1px solid #eee;
  transition: box-shadow 0.2s;
}

.faq-section details[open] {
  box-shadow: 0 3px 12px rgba(220,20,60,0.05);
  background: #f7f3f3;
}

.faq-section summary {
  cursor: pointer;
  padding: 16px 26px 16px 22px;
  font-size: 1.15em;
  font-weight: 600;
  color: #000000;
  outline: none;
  transition: background 0.2s;
  border-radius: 7px;
}

.faq-section details[open] summary {
  color: #c14343;
  background: #f0eded;
}

.faq-section p {
  padding: 0 22px 18px 22px;
  margin: 0;
  font-size: 1.09em;
  color: #282828;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .faq-section {
    padding: 10px 4vw;
  }
  .faq-section summary {
    font-size: 1em;
    padding: 12px 10px 12px 10px;
  }
  .faq-section p {
    font-size: 1em;
    padding: 0 8px 12px 8px;
  }
  .faq-section h2 {
    font-size: 1.15em;
    padding-bottom: 2px;
    margin: 28px 0 9px 0;
  }
}

/* Blog Reaction and Share Buttons */

@media (max-width: 600px) {
  #mini-cta-form {
    flex-direction: column !important;
    gap: 8px !important;
  }
  #mini-cta-form input,
  #mini-cta-form button {
    width: 75% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0  !important;
  }
  #mini-cta-form label,
  #mini-cta-form span {
    margin-bottom: 4px !important;
    white-space: normal !important;
  }
}

/* Search DropDown Suggestion Box */

#controlsRow {
  display: flex;
  position: relative;
  z-index: 2;
}

.search-wrapper {
  position: relative;
  width: 230px; 
}

.dropdown-header {
  font-weight: bold;
  font-size: 15px;
  padding: 6px 12px;
  background-color: #fafafa;
  color: #555;
  border-bottom: 1px solid #eee;
  pointer-events: none;
  text-align: left;
}

.autocomplete-dropdown {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  z-index: 9999;
  width: 100%;
  font-size: 14px;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.autocomplete-dropdown div {
  padding: 8px 12px;
  cursor: pointer;
}

.autocomplete-dropdown div:hover {
  background-color: #f0f0f0;
}

.autocomplete-dropdown:empty {
  display: none;
}

/* Buy Product Column */
.buy-btn {
  display: inline-block;
  background-color: #cc0000;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #a60000;
  transition: background-color .15s ease, transform .05s ease;
  white-space: nowrap;
}
.buy-btn:hover { background-color: #a60000; }
.buy-btn:active { transform: translateY(1px); }

/* New wrapper: stack buttons vertically */
.table-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;           /* space between More Info and Buy Now */
  align-items: center;
}

/* More Info button (lighter style, complements Buy Now) */
.more-info-btn {
  display: inline-block;
  background-color: #f2f2f2;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: background-color .15s ease, transform .05s ease;
  white-space: nowrap;
}
.more-info-btn:hover { background-color: #e0e0e0; }
.more-info-btn:active { transform: translateY(1px); }

/* Keep Actions column centered */
#productTable th:last-child,
#productTable td:last-child {
  text-align: center;
  vertical-align: middle;
}

/* Affiliate disclaimer above product table */
.affiliate-disclaimer {
  text-align: right;
  margin: 8px 12px;
  font-size: 0.85em;
  color: #555;
  font-style: italic;
}
